@byteluck-fe/model-driven-controls 7.0.0-props.35 → 7.0.0-props.36

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 cI=Object.defineProperty,sI=Object.defineProperties;var dI=Object.getOwnPropertyDescriptors;var rh=Object.getOwnPropertySymbols,hI=Object.getPrototypeOf,fI=Object.prototype.hasOwnProperty,yI=Object.prototype.propertyIsEnumerable,mI=Reflect.get;var oh=(m,r,K)=>r in m?cI(m,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[r]=K,it=(m,r)=>{for(var K in r||(r={}))fI.call(r,K)&&oh(m,K,r[K]);if(rh)for(var K of rh(r))yI.call(r,K)&&oh(m,K,r[K]);return m},or=(m,r)=>sI(m,dI(r));var cr=(m,r,K)=>mI(hI(m),K,r);var sr=(m,r,K)=>new Promise((Pu,Nn)=>{var Ru=ye=>{try{kt(K.next(ye))}catch(Ot){Nn(Ot)}},ku=ye=>{try{kt(K.throw(ye))}catch(Ot){Nn(Ot)}},kt=ye=>ye.done?Pu(ye.value):Promise.resolve(ye.value).then(Ru,ku);kt((K=K.apply(m,r)).next())});(function(m,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(m=typeof globalThis!="undefined"?globalThis:m||self,r(m.modelDrivenControls={}))})(this,function(m){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const s=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),a||(n?a=n:a=t),a};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Pu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Nn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ru="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ku="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",kt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ch="\u8BF7\u8F93\u5165\u884C\u6807\u9898",sh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hh="\u8BF7\u7ED1\u5B9A\u8868\u5355",fh="\u8BF7\u7ED1\u5B9A\u5217\u8868",yh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ch="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Eh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_h="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Bh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ih="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ah="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Sh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Th="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ph="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Oh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",xh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Mh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$h="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Nh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hh="\u8BF7\u9009\u62E9\u7701",Vh="\u8BF7\u9009\u62E9\u5E02",jh="\u8BF7\u9009\u62E9\u533A",qh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Uh="\u8BF7\u8F93\u5165\u5217\u5BBD",zh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gh="\u8BF7\u9009\u62E9\u63A7\u4EF6",Zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Qh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Xh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Yh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ph="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ff="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",vf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",gf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",bf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Cf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ef="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",_f="\u6279\u91CF\u5220\u9664",Df="\u6279\u91CF\u6253\u5370",Bf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wf="\u6309\u94AE",If="\u521B\u5EFA\u5355\u636E",Af="\u4EEA\u8868\u76D8",Ff="\u5206\u5272\u7EBF",Sf="\u5BFC\u51FA",Tf="\u8868\u5355\u64CD\u4F5C",Pf="\u5BFC\u5165",Rf="\u53D1\u7968\u8BC6\u522B",kf="\u94FE\u63A5",Of="\u5217\u8868\u9009\u62E9",xf="\u5217\u8868\u89C6\u56FE",Mf="\u64CD\u4F5C\u6309\u94AE",Lf="\u5206\u9875",$f="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Nf="\u8BF4\u660E\u6587\u5B57",Hf="\u6587\u5B57\u8BC6\u522B",Vf="\u6807\u9898\u7EC4\u4EF6",jf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",qf="\u6570\u7EC4",Wf="\u81EA\u52A8\u7F16\u53F7",Uf="\u81EA\u5B9A\u4E49",zf="\u6570\u503C",Kf="\u90E8\u95E8",Gf="\u4EBA\u5458",Zf="\u9644\u4EF6",Qf="\u56FE\u7247",Xf="\u5730\u5740",Jf="\u64CD\u4F5C",Yf="\u5E8F\u53F7",pf="\u4EBA\u5458",ey="\u957F\u6587\u672C",ty="\u65E5\u671F\u533A\u95F4",ny="\u65E5\u671F",iy="\u77ED\u6587\u672C",uy="\u6362\u884C\u5BB9\u5668Wrap",ly="\u8868\u683C",ay="\u660E\u7EC6\u5B50\u8868",ry="\u5730\u5740",oy="\u91D1\u989D",cy="\u8BA1\u7B97\u516C\u5F0F",sy="\u591A\u9009",dy="\u7535\u5B50\u7B7E\u7AE0",hy="\u5355\u884C\u6587\u672C",fy="\u6570\u5B57",yy="\u4E1A\u52A1\u7EC4\u7EC7",my="\u5355\u9009",vy="\u5BCC\u6587\u672C",gy="\u8BC4\u5206",by="\u6570\u5B57\u533A\u95F4",Cy="\u4E0B\u62C9\u5355\u9009",Ey="\u4E0B\u62C9\u591A\u9009",_y="\u5173\u8054\u5355\u9009",Dy="\u591A\u884C\u6587\u672C",By="\u6811",wy="Vue\u5BB9\u5668",Iy="Vue\u9875\u9762",Ay="\u5728\u7EBF\u6587\u6863",Fy="\u6309\u94AE\u64CD\u4F5C\u680F",Sy="\u9AD8\u7EA7\u5BB9\u5668",Ty="\u5206\u7EC4",Py="\u6805\u683C\u5217",Ry="\u6570\u636E\u5BB9\u5668",ky="\u753B\u5E03",Oy="\u6362\u884C\u5BB9\u5668",xy="\u6805\u683C\u7B49\u5206\u884C",My="\u5217\u8868\u5BB9\u5668",Ly="\u81EA\u7531\u9875\u9762",$y="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Ny="\u5B9A\u4F4D\u5BB9\u5668",Hy="\u6805\u683C\u5E03\u5C40",Vy="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",jy="\u660E\u7EC6\u5B50\u8868\u884C",qy="\u6807\u7B7E\u9875",Wy="\u6807\u7B7E\u5355\u5143",Uy="\u5DE5\u5177\u680F",zy="\u6279\u91CF\u63D0\u4EA4",Ky="\u5BFC\u51FA\u8BB0\u5F55",Gy="\u5217\u8868\u89C6\u56FE",Zy="\u7ED3\u675F\u65F6\u95F4",Qy="\u5F00\u59CB\u65F6\u95F4",Xy="\u5355\u4F4D",Jy="\u7ED3\u679C",Yy="\u5E01\u79CD",py="\u7ED3\u675F\u65E5\u671F",em="\u5F00\u59CB\u65E5\u671F",tm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",nm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",im="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",um="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",lm="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",am="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",rm="\u8BF7\u9009\u62E9",om="\u8BF7\u9009\u62E9\u7EC4\u7EC7",cm="\u8BF7\u9009\u62E9\u90E8\u95E8",sm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",dm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",hm="\u8BF7\u9009\u62E9\u5730\u5740",fm="\u5F39\u7A97\u786E\u8BA4\u65F6",ym="\u6807\u7B7E\u9875\u5207\u6362\u65F6",mm="\u884C\u9009\u4E2D\u65F6",vm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",gm="\u884C\u5220\u9664\u524D",bm="\u884C\u70B9\u51FB\u65F6",Cm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Em="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_m="\u91CD\u547D\u540D\u65F6",Dm="\u4FDD\u5B58\u6587\u4EF6\u65F6",Bm="\u6253\u5F00\u6587\u4EF6\u65F6",wm="\u83B7\u53D6\u7126\u70B9\u65F6",Im="\u5931\u53BB\u7126\u70B9\u65F6",Am="\u7528\u6237\u8F93\u5165\u65F6",Fm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Sm="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Tm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Pm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Rm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",km="\u641C\u7D22\u65F6",Om="\u503C\u53D1\u751F\u53D8\u5316\u65F6",xm="\u6267\u884C\u5B8C\u6210\u65F6",Mm="\u70B9\u51FB\u65F6",Lm="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",$m="\u8BF7\u8F93\u5165\u65E5\u671F",Nm="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Hm="\u8BF7\u8F93\u5165",Vm="\u9ED8\u8BA4\u6A21\u7248",jm="\u5DE6\u53F3\u5E03\u5C40",qm="\u4E0A\u4E0B\u5E03\u5C40",Wm="\u53EA\u8BFB",Um="\u5FC5\u586B",zm="\u63D0\u793A\u6587\u5B57",Km="\u9690\u85CF\u6807\u9898",Gm="\u6807\u9898\u5FC5\u586B",Zm="\u7EC4\u7EC7\u5F62\u6001",Qm="\u4E1A\u52A1\u7C7B\u578B",Xm="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Jm="\u9690\u85CF",Ym="\u6D41\u7A0B\u72B6\u6001",pm="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ev="\u5220\u9664",tv="\u7F16\u8F91",nv="\u67E5\u770B",iv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",uv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",lv="\u5145\u6EE1\u6574\u884C",av="\u6700\u5C0F\u503C",rv="\u6700\u5927\u503C",ov="\u65B0\u5EFA\u6587\u6863",cv="\u91CD\u7F6E",sv="\u67E5\u8BE2",dv="\u660E\u7EC6",hv="\u6253\u5370",fv="\u4FDD\u5B58\u8349\u7A3F",yv="\u4FDD\u5B58",mv="\u53D6\u6D88",vv="\u4E0A\u4F20\u56FE\u7247",gv="\u53D1\u8D77\u7B7E\u7F72",bv="\u4E0A\u4F20\u9644\u4EF6",Cv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Ev="\u5F15\u7528\u5217\u8868",_v="\u9009\u9879\u4E00",Dv="\u9009\u9879\u4E8C",Bv="\u9009\u9879\u4E09",wv={isNotNumber:K,isNotString:Pu,isNotObject:Nn,isNotArray:Ru,isNotBoolean:ku,runtimeRequired:kt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:ch,pleaseEnterPlaceholder:sh,pleaseEnterFieldCode:dh,pleaseEnterForm:hh,pleaseEnterList:fh,pleaseEnterProcess:yh,pleaseEnterLabel:mh,pleaseEnterValue:vh,bizKeyNotBindFiled:gh,pleaseSelectOneField:bh,pleaseEnterNumberRange:Ch,pleaseEnterAValueGreaterThanMin:Eh,pleaseEnterAValueLessThanMax:_h,numberRangeSetError:Dh,stringRangeError:Bh,attachmentMaxSize:wh,pleaseEnterTotalScoreSetting:Ih,theTotalScoreMustNotBeLessThan1:Ah,scoreDefaultValueRange:Fh,attachmentLimitError:Sh,PleaseReselectTheOptionalQuantity:Th,TheMaximumLengthIsGreaterThanTheMinimumLength:Ph,TheMinimumLengthIsGreaterThanTheMaximumLength:Rh,PleaseSelectTheCorrectOptionSettings:kh,optionIdIsRepeat:Oh,optionIsRequired:xh,pleaseEnterDataCode:Mh,pleaseEnterValueFieldCode:Lh,pleaseEnterSvcCode:$h,pleaseBindAtLeastOneDisplayValue:Nh,pleaseSelectProvince:Hh,pleaseSelectCity:Vh,pleaseSelectDistrict:jh,limitRowsCannotBeLessThan0:qh,TheNumberOfRowsCannotBeLessThanMinRows:Wh,pleaseEnterColumnWidth:Uh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zh,pleaseCompleteAllRulesAndConditions:Kh,pleaseSelectControl:Gh,pleaseSelectAtLeastOneColumn:Zh,pleaseSelectFillBackMode:Qh,pleaseSelectDashboard:Xh,rootNodeIsRequired:Jh,theViewNameCannotBeEmpty:Yh,pleaseSelectOcrType:ph,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:lf,pleaseEnterSvcCodeInDataSetting:af,pleaseBindAtLeastOneDisplayValueInDataSetting:rf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnterWatermark:sf,pleaseEnterFileName:df,pleaseUploadAtLeastOnePrintTemplate:hf,pleaseAssignBusiness:ff,pleaseAssignExternal:yf,pleaseEnterAliasCode:mf,pleaseSelectDataCode:vf,pleaseSelectSvcCode:gf,pleaseSelectJoinFieldCode:bf,pleaseSelectMainFieldCode:Cf,pleaseSelectSortFieldCode:Ef,batchDeleteButton:_f,batchPrintListButton:Df,batchPrintRecordList:Bf,button:wf,createFormListButton:If,dashboard:Af,divider:Ff,exportListButton:Sf,formSelectButton:Tf,importRecordListButton:Pf,invoiceCheckButton:Rf,link:kf,listSelectButton:Of,ListViewSelect:xf,operationButton:Mf,pagination:Lf,submissionRecordListButton:$f,text:Nf,textOcrButton:Hf,title:Vf,approvalStatusColumn:jf,array:qf,autoNumber:Wf,custom:Uf,decimal:zf,department:Kf,employee:Gf,file:Zf,image:Qf,location:Xf,operation:Jf,order:Yf,people:pf,long:ey,timescope:ty,timestamp:ny,varchar:iy,gridLayoutWrap:uy,gridTable:ly,subTable:ay,address:ry,amount:oy,calc:cy,checkBox:sy,electronicSignature:dy,input:hy,number:fy,organizationSelection:yy,radio:my,richText:vy,score:gy,searchNumberRange:by,select:Cy,selectMultiple:Ey,selectRelation:_y,textarea:Dy,tree:By,vueFormItem:wy,vuePage:Iy,WPS:Ay,actionBar:Fy,advancedContainer:Sy,cardGroup:Ty,col:Py,dataView:Ry,grid:ky,gridLayoutContainer:Oy,gridRow:xy,listView:My,page:Ly,position:$y,positioningContainer:Ny,row:Hy,subtableColumn:Vy,subtableRow:jy,tab:qy,tabPane:Wy,toolbox:Uy,batchSubmissionListButton:zy,exportRecordListButton:Ky,listViewSelect:Gy,endTime:Zy,startTime:Qy,unit:Xy,result:Jy,currency:Yy,endDate:py,startDate:em,pleaseSelectCompanyName:tm,pleaseSelectPhoneOrEmail:nm,pleaseSelectSignType:im,pleaseSelectSigner:um,pleaseSelectOnlyOne:lm,pleaseSelectSignFile:am,pleaseSelect:rm,pleaseSelectOrg:om,pleaseSelectDept:cm,pleaseSelectEndDate:sm,pleaseSelectStartDate:dm,pleaseChooseAddress:hm,modalConfirm:fm,tabChange:ym,rowSelected:mm,listDataImport:vm,rowDelete:gm,rowClick:bm,cellRender:Cm,onClickBtn:Em,rename:_m,onSaveFile:Dm,onOpenFile:Bm,onFocus:wm,onBlur:Im,onInput:Am,listDataAdd:Fm,listDataDelete:Sm,listDataBack:Tm,listDataCreate:Pm,listDataChange:Rm,search:km,valueChange:Om,finished:xm,click:Mm,pleaseEnterNameorEmail:Lm,pleaseEnterDate:$m,pleaseEnterAutonumber:Nm,pleaseEnter:Hm,defaultTemplate:Vm,left:jm,top:qm,default:"\u666E\u901A",readonly:Wm,required:Um,textTip:zm,hideCaption:Km,titleRequired:Gm,organizationalForm:Zm,businessType:Qm,deleteConfirm:Xm,hide:Jm,processStatus:Ym,approvedDocuments:pm,delete:ev,edit:tv,view:nv,loadCtrlErrorTip:iv,loadCtrlError:uv,fullLine:lv,min:av,max:rv,createWPS:ov,reset:cv,query:sv,detailed:dv,print:hv,draft:fv,save:yv,cancel:mv,uploadImg:vv,signature:gv,uploadFile:bv,linkContent:Cv,referenceList:Ev,optionOne:_v,optionTwo:Dv,optionThird:Bv},Iv="Please enter a number",Av="Please enter a string",Fv="Please enter an object",Sv="Please enter an array",Tv="Please enter a boolean",Pv="{caption} Required",Rv="Please enter the title",kv="Please enter the bubble prompt",Ov="Please enter the row title",xv="Please enter the prompt text",Mv="Please bind data items",Lv="Please bind the form",$v="Please bind the list",Nv="Please bind the process",Hv="Please enter the displayed value",Vv="Please enter the stored value",jv="The document number is not bound to the data item",qv="Please select at least one display field",Wv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",zv="Please enter a value less than or equal to {max}",Kv="The value range is set incorrectly",Gv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Zv="The attachment size must be between 0MB and 1000MB",Qv="Please fill in the total score setting",Xv="The total score cannot be less than 1",Jv="The default value must be between {min} and {max}",Yv="The number of attachment uploads exceeds the limit",pv="Please re-select the optional quantity",e0="The maximum length of the control must be greater than the minimum length",t0="The minimum length of the control must be less than the maximum length",n0="Please select the correct option setting",i0="Option ID cannot be repeated",u0="Please enter at least one option",l0="Please bind the data source",a0="Please bind the stored value",r0="Please bind the service",o0="At least one display value must be bound",c0="Please select a province",s0="Please select a city",d0="Please select a district",h0="The minimum number of lines to fill in cannot be less than 0",f0="The number of rows cannot be less than {min} rows",y0="Please enter the column width",m0="Please set the logical relationship of all rule conditions",v0="Please complete all rules and conditions",g0="please select control",b0="Please select the dashboard",C0="View name cannot be empty",E0="Please select recognition type",_0="Please select at least one field to fill in",D0="Please select at least one",B0="Please enter the button title",w0="Please bind the business model in the data settings",I0="Please bind storage values in data settings",A0="Please bind the service in the data settings",F0="Please bind at least one display value in the data settings",S0="Please select the root node in the data settings",T0="Please enter the maximum height",P0="The input content cannot be empty",R0="Watermark cannot be empty",k0="File name cannot be empty",O0="Please upload at least one printing template!\uFF01",x0="Please select a specific business department",M0="Please select a specified external organization",L0="Please enter a sub table alias",$0="Please select the associated table to set the business model",N0="Please select the association table to set the binding service",H0="Select associated sub table fields",V0="Please select the associated main table field",j0="Please select the sort field",q0="\u6279\u91CF\u5220\u9664",W0="\u6279\u91CF\u6253\u5370",U0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",z0="\u6309\u94AE",K0="\u521B\u5EFA\u5355\u636E",G0="\u4EEA\u8868\u76D8",Z0="\u5206\u5272\u7EBF",Q0="\u5BFC\u51FA",X0="\u8868\u5355\u64CD\u4F5C",J0="\u5BFC\u5165",Y0="\u53D1\u7968\u8BC6\u522B",p0="\u94FE\u63A5",eg="\u5217\u8868\u9009\u62E9",tg="\u5217\u8868\u89C6\u56FE",ng="\u64CD\u4F5C\u6309\u94AE",ig="\u5206\u9875",ug="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",lg="\u8BF4\u660E\u6587\u5B57",ag="\u6587\u5B57\u8BC6\u522B",rg="\u6807\u9898\u7EC4\u4EF6",og="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",cg="\u6570\u7EC4",sg="\u81EA\u52A8\u7F16\u53F7",dg="\u81EA\u5B9A\u4E49",hg="\u6570\u503C",fg="\u90E8\u95E8",yg="\u4EBA\u5458",mg="\u9644\u4EF6",vg="\u56FE\u7247",gg="\u5730\u5740",bg="\u64CD\u4F5C",Cg="\u5E8F\u53F7",Eg="\u4EBA\u5458",_g="\u957F\u6587\u672C",Dg="\u65E5\u671F\u533A\u95F4",Bg="\u65E5\u671F",wg="\u77ED\u6587\u672C",Ig="\u6362\u884C\u5BB9\u5668Wrap",Ag="\u8868\u683C",Fg="\u660E\u7EC6\u5B50\u8868",Sg="\u5730\u5740",Tg="\u91D1\u989D",Pg="\u8BA1\u7B97\u516C\u5F0F",Rg="\u591A\u9009",kg="\u7535\u5B50\u7B7E\u7AE0",Og="\u5355\u884C\u6587\u672C",xg="\u6570\u5B57",Mg="\u4E1A\u52A1\u7EC4\u7EC7",Lg="\u5355\u9009",$g="\u5BCC\u6587\u672C",Ng="\u8BC4\u5206",Hg="\u6570\u5B57\u533A\u95F4",Vg="\u4E0B\u62C9\u5355\u9009",jg="\u4E0B\u62C9\u591A\u9009",qg="\u5173\u8054\u5355\u9009",Wg="\u591A\u884C\u6587\u672C",Ug="\u6811",zg="Vue\u5BB9\u5668",Kg="Vue\u9875\u9762",Gg="\u5728\u7EBF\u6587\u6863",Zg="\u6309\u94AE\u64CD\u4F5C\u680F",Qg="\u9AD8\u7EA7\u5BB9\u5668",Xg="\u5206\u7EC4",Jg="\u6805\u683C\u5217",Yg="\u6570\u636E\u5BB9\u5668",pg="\u753B\u5E03",eb="\u6362\u884C\u5BB9\u5668",tb="\u6805\u683C\u7B49\u5206\u884C",nb="\u5217\u8868\u5BB9\u5668",ib="\u81EA\u7531\u9875\u9762",ub="\u5B9A\u4F4D\u5B50\u5BB9\u5668",lb="\u5B9A\u4F4D\u5BB9\u5668",ab="\u6805\u683C\u5E03\u5C40",rb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ob="\u660E\u7EC6\u5B50\u8868\u884C",cb="\u6807\u7B7E\u9875",sb="\u6807\u7B7E\u5355\u5143",db="\u5DE5\u5177\u680F",hb="\u6279\u91CF\u63D0\u4EA4",fb="\u5BFC\u51FA\u8BB0\u5F55",yb="\u5217\u8868\u89C6\u56FE",mb="\u5F15\u7528\u5217\u8868",vb="\u9009\u9879\u4E00",gb="\u9009\u9879\u4E8C",bb="\u9009\u9879\u4E09",Cb={isNotNumber:Iv,isNotString:Av,isNotObject:Fv,isNotArray:Sv,isNotBoolean:Tv,runtimeRequired:Pv,pleaseEnterCaption:Rv,pleaseEnterCaptionTip:kv,pleaseEnterRowCaption:Ov,pleaseEnterPlaceholder:xv,pleaseEnterFieldCode:Mv,pleaseEnterForm:Lv,pleaseEnterList:$v,pleaseEnterProcess:Nv,pleaseEnterLabel:Hv,pleaseEnterValue:Vv,bizKeyNotBindFiled:jv,pleaseSelectOneField:qv,pleaseEnterNumberRange:Wv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:zv,numberRangeSetError:Kv,stringRangeError:Gv,attachmentMaxSize:Zv,pleaseEnterTotalScoreSetting:Qv,theTotalScoreMustNotBeLessThan1:Xv,scoreDefaultValueRange:Jv,attachmentLimitError:Yv,PleaseReselectTheOptionalQuantity:pv,TheMaximumLengthIsGreaterThanTheMinimumLength:e0,TheMinimumLengthIsGreaterThanTheMaximumLength:t0,PleaseSelectTheCorrectOptionSettings:n0,optionIdIsRepeat:i0,optionIsRequired:u0,pleaseEnterDataCode:l0,pleaseEnterValueFieldCode:a0,pleaseEnterSvcCode:r0,pleaseBindAtLeastOneDisplayValue:o0,pleaseSelectProvince:c0,pleaseSelectCity:s0,pleaseSelectDistrict:d0,limitRowsCannotBeLessThan0:h0,TheNumberOfRowsCannotBeLessThanMinRows:f0,pleaseEnterColumnWidth:y0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:m0,pleaseCompleteAllRulesAndConditions:v0,pleaseSelectControl:g0,pleaseSelectDashboard:b0,theViewNameCannotBeEmpty:C0,pleaseSelectOcrType:E0,pleaseSelectAtLeastOneFieldToFillIn:_0,pleaseChooseAtLeastOne:D0,pleaseEnterButtonContent:B0,pleaseEnterDataCodeInDataSetting:w0,pleaseEnterValueFieldCodeInDataSetting:I0,pleaseEnterSvcCodeInDataSetting:A0,pleaseBindAtLeastOneDisplayValueInDataSetting:F0,rootNodeIsRequiredInDataSetting:S0,pleaseEnterMaxHeight:T0,pleaseEnter:P0,pleaseEnterWatermark:R0,pleaseEnterFileName:k0,pleaseUploadAtLeastOnePrintTemplate:O0,pleaseAssignBusiness:x0,pleaseAssignExternal:M0,pleaseEnterAliasCode:L0,pleaseSelectDataCode:$0,pleaseSelectSvcCode:N0,pleaseSelectJoinFieldCode:H0,pleaseSelectMainFieldCode:V0,pleaseSelectSortFieldCode:j0,batchDeleteButton:q0,batchPrintListButton:W0,batchPrintRecordList:U0,button:z0,createFormListButton:K0,dashboard:G0,divider:Z0,exportListButton:Q0,formSelectButton:X0,importRecordListButton:J0,invoiceCheckButton:Y0,link:p0,listSelectButton:eg,ListViewSelect:tg,operationButton:ng,pagination:ig,submissionRecordListButton:ug,text:lg,textOcrButton:ag,title:rg,approvalStatusColumn:og,array:cg,autoNumber:sg,custom:dg,decimal:hg,department:fg,employee:yg,file:mg,image:vg,location:gg,operation:bg,order:Cg,people:Eg,long:_g,timescope:Dg,timestamp:Bg,varchar:wg,gridLayoutWrap:Ig,gridTable:Ag,subTable:Fg,address:Sg,amount:Tg,calc:Pg,checkBox:Rg,electronicSignature:kg,input:Og,number:xg,organizationSelection:Mg,radio:Lg,richText:$g,score:Ng,searchNumberRange:Hg,select:Vg,selectMultiple:jg,selectRelation:qg,textarea:Wg,tree:Ug,vueFormItem:zg,vuePage:Kg,WPS:Gg,actionBar:Zg,advancedContainer:Qg,cardGroup:Xg,col:Jg,dataView:Yg,grid:pg,gridLayoutContainer:eb,gridRow:tb,listView:nb,page:ib,position:ub,positioningContainer:lb,row:ab,subtableColumn:rb,subtableRow:ob,tab:cb,tabPane:sb,toolbox:db,batchSubmissionListButton:hb,exportRecordListButton:fb,listViewSelect:yb,referenceList:mb,optionOne:vb,optionTwo:gb,optionThird:bb},Eb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_b="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Db="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ib="{caption}\u5FC5\u9808",Ab="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ob="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$b="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ub="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Zb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qb="\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",Xb="\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",Jb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",hC="please select control",fC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vC="\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",gC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",DC="\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",BC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",IC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",AC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",SC="\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",TC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",OC="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",MC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",LC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$C="\u6279\u91CF\u5220\u9664",NC="\u6279\u91CF\u6253\u5370",HC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",VC="\u6309\u94AE",jC="\u521B\u5EFA\u5355\u636E",qC="\u4EEA\u8868\u76D8",WC="\u5206\u5272\u7EBF",UC="\u5BFC\u51FA",zC="\u8868\u5355\u64CD\u4F5C",KC="\u5BFC\u5165",GC="\u53D1\u7968\u8BC6\u522B",ZC="\u94FE\u63A5",QC="\u5217\u8868\u9009\u62E9",XC="\u5217\u8868\u89C6\u56FE",JC="\u64CD\u4F5C\u6309\u94AE",YC="\u5206\u9875",pC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",e5="\u8BF4\u660E\u6587\u5B57",t5="\u6587\u5B57\u8BC6\u522B",n5="\u6807\u9898\u7EC4\u4EF6",i5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u5="\u6570\u7EC4",l5="\u81EA\u52A8\u7F16\u53F7",a5="\u81EA\u5B9A\u4E49",r5="\u6570\u503C",o5="\u90E8\u95E8",c5="\u4EBA\u5458",s5="\u9644\u4EF6",d5="\u56FE\u7247",h5="\u5730\u5740",f5="\u64CD\u4F5C",y5="\u5E8F\u53F7",m5="\u4EBA\u5458",v5="\u957F\u6587\u672C",g5="\u65E5\u671F\u533A\u95F4",b5="\u65E5\u671F",C5="\u77ED\u6587\u672C",E5="\u6362\u884C\u5BB9\u5668Wrap",_5="\u8868\u683C",D5="\u660E\u7EC6\u5B50\u8868",B5="\u5730\u5740",w5="\u91D1\u989D",I5="\u8BA1\u7B97\u516C\u5F0F",A5="\u591A\u9009",F5="\u7535\u5B50\u7B7E\u7AE0",S5="\u5355\u884C\u6587\u672C",T5="\u6570\u5B57",P5="\u4E1A\u52A1\u7EC4\u7EC7",R5="\u5355\u9009",k5="\u5BCC\u6587\u672C",O5="\u8BC4\u5206",x5="\u6570\u5B57\u533A\u95F4",M5="\u4E0B\u62C9\u5355\u9009",L5="\u4E0B\u62C9\u591A\u9009",$5="\u5173\u8054\u5355\u9009",N5="\u591A\u884C\u6587\u672C",H5="\u6811",V5="Vue\u5BB9\u5668",j5="Vue\u9875\u9762",q5="\u5728\u7EBF\u6587\u6863",W5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",z5="\u5206\u7EC4",K5="\u6805\u683C\u5217",G5="\u6570\u636E\u5BB9\u5668",Z5="\u753B\u5E03",Q5="\u6362\u884C\u5BB9\u5668",X5="\u6805\u683C\u7B49\u5206\u884C",J5="\u5217\u8868\u5BB9\u5668",Y5="\u81EA\u7531\u9875\u9762",p5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",eE="\u5B9A\u4F4D\u5BB9\u5668",tE="\u6805\u683C\u5E03\u5C40",nE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",iE="\u660E\u7EC6\u5B50\u8868\u884C",uE="\u6807\u7B7E\u9875",lE="\u6807\u7B7E\u5355\u5143",aE="\u5DE5\u5177\u680F",rE="\u6279\u91CF\u63D0\u4EA4",oE="\u5BFC\u51FA\u8BB0\u5F55",cE="\u5217\u8868\u89C6\u56FE",sE="\u5F15\u7528\u5217\u8868",dE="\u9009\u9879\u4E00",hE="\u9009\u9879\u4E8C",fE="\u9009\u9879\u4E09",yE={isNotNumber:Eb,isNotString:_b,isNotObject:Db,isNotArray:Bb,isNotBoolean:wb,runtimeRequired:Ib,pleaseEnterCaption:Ab,pleaseEnterCaptionTip:Fb,pleaseEnterRowCaption:Sb,pleaseEnterPlaceholder:Tb,pleaseEnterFieldCode:Pb,pleaseEnterForm:Rb,pleaseEnterList:kb,pleaseEnterProcess:Ob,pleaseEnterLabel:xb,pleaseEnterValue:Mb,bizKeyNotBindFiled:Lb,pleaseSelectOneField:$b,pleaseEnterNumberRange:Nb,pleaseEnterAValueGreaterThanMin:Hb,pleaseEnterAValueLessThanMax:Vb,numberRangeSetError:jb,stringRangeError:qb,attachmentMaxSize:Wb,pleaseEnterTotalScoreSetting:Ub,theTotalScoreMustNotBeLessThan1:zb,scoreDefaultValueRange:Kb,attachmentLimitError:Gb,PleaseReselectTheOptionalQuantity:Zb,TheMaximumLengthIsGreaterThanTheMinimumLength:Qb,TheMinimumLengthIsGreaterThanTheMaximumLength:Xb,PleaseSelectTheCorrectOptionSettings:Jb,optionIdIsRepeat:Yb,optionIsRequired:pb,pleaseEnterDataCode:eC,pleaseEnterValueFieldCode:tC,pleaseEnterSvcCode:nC,pleaseBindAtLeastOneDisplayValue:iC,pleaseSelectProvince:uC,pleaseSelectCity:lC,pleaseSelectDistrict:aC,limitRowsCannotBeLessThan0:rC,TheNumberOfRowsCannotBeLessThanMinRows:oC,pleaseEnterColumnWidth:cC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sC,pleaseCompleteAllRulesAndConditions:dC,pleaseSelectControl:hC,pleaseSelectDashboard:fC,theViewNameCannotBeEmpty:yC,pleaseSelectOcrType:mC,pleaseSelectAtLeastOneFieldToFillIn:vC,pleaseChooseAtLeastOne:gC,pleaseEnterButtonContent:bC,pleaseEnterDataCodeInDataSetting:CC,pleaseEnterValueFieldCodeInDataSetting:EC,pleaseEnterSvcCodeInDataSetting:_C,pleaseBindAtLeastOneDisplayValueInDataSetting:DC,rootNodeIsRequiredInDataSetting:BC,pleaseEnterMaxHeight:wC,pleaseEnter:IC,pleaseEnterWatermark:AC,pleaseEnterFileName:FC,pleaseUploadAtLeastOnePrintTemplate:SC,pleaseAssignBusiness:TC,pleaseAssignExternal:PC,pleaseEnterAliasCode:RC,pleaseSelectDataCode:kC,pleaseSelectSvcCode:OC,pleaseSelectJoinFieldCode:xC,pleaseSelectMainFieldCode:MC,pleaseSelectSortFieldCode:LC,batchDeleteButton:$C,batchPrintListButton:NC,batchPrintRecordList:HC,button:VC,createFormListButton:jC,dashboard:qC,divider:WC,exportListButton:UC,formSelectButton:zC,importRecordListButton:KC,invoiceCheckButton:GC,link:ZC,listSelectButton:QC,ListViewSelect:XC,operationButton:JC,pagination:YC,submissionRecordListButton:pC,text:e5,textOcrButton:t5,title:n5,approvalStatusColumn:i5,array:u5,autoNumber:l5,custom:a5,decimal:r5,department:o5,employee:c5,file:s5,image:d5,location:h5,operation:f5,order:y5,people:m5,long:v5,timescope:g5,timestamp:b5,varchar:C5,gridLayoutWrap:E5,gridTable:_5,subTable:D5,address:B5,amount:w5,calc:I5,checkBox:A5,electronicSignature:F5,input:S5,number:T5,organizationSelection:P5,radio:R5,richText:k5,score:O5,searchNumberRange:x5,select:M5,selectMultiple:L5,selectRelation:$5,textarea:N5,tree:H5,vueFormItem:V5,vuePage:j5,WPS:q5,actionBar:W5,advancedContainer:U5,cardGroup:z5,col:K5,dataView:G5,grid:Z5,gridLayoutContainer:Q5,gridRow:X5,listView:J5,page:Y5,position:p5,positioningContainer:eE,row:tE,subtableColumn:nE,subtableRow:iE,tab:uE,tabPane:lE,toolbox:aE,batchSubmissionListButton:rE,exportRecordListButton:oE,listViewSelect:cE,referenceList:sE,optionOne:dE,optionTwo:hE,optionThird:fE},Ou={zhCN:wv,enUS:Cb,jaJP:yE},xu,mE=(xu=window.localStorage.getItem("locale"))!==null&&xu!==void 0?xu:"zh-CN",Hn=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.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}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ut=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}({}),dr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),hr={DEFAULT:"default"},fr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vE=fr+"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?fr:vE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Mu(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 gE(t){if(Array.isArray(t))return Mu(t)}function bE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yr(t,e,n){return e=xt(e),DE(t,$u()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return $u()?Vn=Reflect.construct:Vn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Mt(h,a.prototype),h},Vn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function vr(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 CE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function EE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _E(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function DE(t,e){return e&&(BE(e)==="object"||typeof e=="function")?e:bE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function gr(t){return gE(t)||EE(t)||wE(t)||_E()}function BE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(t,e){if(!!t){if(typeof t=="string")return Mu(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 Mu(t,e)}}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!CE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Lu(t)}function $u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($u=function(){return!!t})()}var Nu=console;function Hu(){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=Nu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(gr(u)))}function br(){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=Nu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(gr(u)))}function IE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Vu=function(t){vr(e,t);function e(n){mr(this,e);var i;return i=yr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?IE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Lu(Error)),AE=function(t){vr(e,t);function e(n){mr(this,e);var i;return i=yr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Vu);function Lt(t){throw new Vu(t)}function Cr(t){throw new AE(t)}function FE(t){Nu.error(new Vu(t))}function SE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TE(t,e,n){return e&&Er(t.prototype,e),n&&Er(t,n),t}function PE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _r=function(){function t(){SE(this,t)}return TE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Ou==null||(u=Ou[mE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();PE(_r,"$i18n",_r.resetI18n());function RE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Hu("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var kE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},OE={exports:{}};(function(t){(function(e){var n=function(v,D,R){if(!h(D)||y(D)||g(D)||E(D)||s(D))return D;var T,k=0,te=0;if(d(D))for(T=[],te=D.length;k<te;k++)T.push(n(v,D[k],R));else{T={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(T[v(H,R)]=n(v,D[H],R))}return T},i=function(v,D){D=D||{};var R=D.separator||"_",T=D.split||/(?=[A-Z])/;return v.split(T).join(R)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},a=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},y=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},b=function(v,D){var R=D&&"process"in D?D.process:D;return typeof R!="function"?v:function(T,k){return R(T,v,k)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(v,D){return n(b(u,D),v)},decamelizeKeys:function(v,D){return n(b(a,D),v,D)},pascalizeKeys:function(v,D){return n(b(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(kE)})(OE);var Dr={};Object.defineProperty(Dr,"__esModule",{value:!0});function ju(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ju(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:ju(i)}return e}}var xE=Dr.default=ju;function ME(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":ME(t))==="object"?xE(t):t}function LE(t){return Object.prototype.toString.call(t)==="[object Object]"}function jn(t){return Array.isArray(t)}function $E(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function qu(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 NE(t){if(Array.isArray(t))return qu(t)}function Br(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function HE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Br(l,i,u,a,o,"next",s)}function o(s){Br(l,i,u,a,o,"throw",s)}a(void 0)})}}function VE(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 jE(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function Ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WE(){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 Wu(t){return NE(t)||qE(t)||UE(t)||WE()}function UE(t,e){if(!!t){if(typeof t=="string")return qu(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 qu(t,e)}}function zE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var KE=function(){function t(){VE(this,t),Ir(this,"_events",new Map),Ir(this,"debug",!1)}return jE(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 HE(function(){var a,o,s,h,d,y,g,E,_,b,B,v;return zE(this,function(D){switch(D.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,y=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&br.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(Wu(u))),[4,_.apply(null,Wu(u))];case 4:return b=D.sent(),this.debug&&br.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(Wu(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return B=D.sent(),FE(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,y=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw y}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 GE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ZE(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function QE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var XE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],JE=function(){function t(){GE(this,t)}return ZE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();QE(JE,"events",XE);function Uu(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 YE(t){if(Array.isArray(t))return Uu(t)}function pE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function e_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(t){return YE(t)||pE(t)||t_(t)||e_()}function t_(t,e){if(!!t){if(typeof t=="string")return Uu(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 Uu(t,e)}}function zu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Sr(t,e,n){n!=="Runtime"&&(t.parent=e,zu(t,"parent"))}function n_(t,e,n){t.forEach(function(i){Sr(i,e,n)})}var Tr=Symbol("targetKey");function Pr(t){var e;return(e=t[Tr])!==null&&e!==void 0?e:t}function Rr(t,e,n){return n_(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];var h;return l===Tr?u:(h=Reflect).get.apply(h,[u,l].concat(Fr(o)))},set:function(u,l,a){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(jn(t)&&l==="length"&&a===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,l,a].concat(Fr(s)));return LE(a)&&Sr(a,e,n),y}})}function se(t,e,n,i,u){var l=i!=null?i:t,a=Rr(Pr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Rr(Pr(s),l,u)},enumerable:!0})}function i_(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 u_(t,e,n){return e&&kr(t.prototype,e),n&&kr(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 Or=[],qn=function(){function t(e){i_(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 u_(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&&(Hu("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===Hn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Hn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Hn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Hn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Lt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),zu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var s=a[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),y=o[s]||[],g;return y.length!==h.length?g=y[0]:g=y[d],g}}}}),zu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var a=new u(i);l=Array.from(a)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,a=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Hu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();Be(qn,"staticControlsRuntimeRules",new Map),Be(qn,"staticControls",Or),Be(qn,"staticRegisteredTypes",new Set(Or.map(function(t){return t.Designer.controlType}))),Be(qn,"staticRegisteredConfigs",new Map);function l_(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=Wn(e),a_(t,xr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(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&&Ku(t,e)}function a_(t,e){return e&&(r_(e)==="object"||typeof e=="function")?e:l_(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function r_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var he=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Mr=function t(e){w(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Lr=function t(e){w(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},o_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Lr(e==null?void 0:e.pc),this.mobile=new Lr(e==null?void 0:e.mobile)},Gu=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Mr),c_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Gu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Gu(e==null?void 0:e.mobile):new Gu({width:130,minWidth:180})},s_=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lt=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},d_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(lt),$r=function t(e){w(this,t);var n,i;f(this,"fieldCode",void 0),f(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Zu=function t(e){w(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new $r(a)}))!==null&&u!==void 0?u:[]},h_=function t(e){w(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},f_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(lt),y_=function t(e){w(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new lt(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new h_(a)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new f_(a)}))!==null&&i!==void 0?i:[]},m_=function t(e){w(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Un=function t(e){var n=this;w(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,y=new $t(o);(d=n.children)===null||d===void 0||d.push(y)}}))},$t=function t(e){w(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new m_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},v_=function t(e){w(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},p=function t(e){w(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},Qu=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},g_=function t(e){w(this,t);var n,i;f(this,"columnName",void 0),f(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Xu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Un(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 Un(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new g_(o)}))!==null&&i!==void 0?i:[]}var X=function t(e){var n=this;w(this,t);var i,u,l,a,o,s,h,d;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(y){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Qu(y))})),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,Xu.call(this,e)},Ju=function t(e){w(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){w(this,t);var n,i,u,l,a,o,s,h,d,y;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(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=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},Nr=function t(e){w(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new Qu(a)}))!==null&&u!==void 0?u:[]},zn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new Nr(a)}))!==null&&u!==void 0?u:[],i}return e}(X),b_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new Nr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(X),Kn=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(zn),Hr=function t(e){w(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new p(a)}))!==null&&u!==void 0?u:[]},Vr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Xu.call(i,n),i}return e}(Hr),jr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Hr),qr=function t(e){w(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Wr=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),f(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:""},C_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Wr);function ve(t){var e;return(e=t==null?void 0:t.map(function(n){return new Wr(n)}))!==null&&e!==void 0?e:[]}function Ur(t){var e;return(e=t==null?void 0:t.map(function(n){return new C_(n)}))!==null&&e!==void 0?e:[]}var Yu=function t(){w(this,t)},E_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Yu),__=function t(e){w(this,t);var n,i;f(this,"amount",void 0),f(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},zr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Yu),Kr=function t(e){w(this,t);var n,i;f(this,"min",void 0),f(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},D_=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},B_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Yu),w_=function t(e){w(this,t);var n,i;f(this,"result",void 0),f(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},I_=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}({}),A_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},F_=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new $r(a)}))!==null&&u!==void 0?u:[],Xu.call(this,e)},S_=function t(e){w(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},T_=function t(e){w(this,t);var n,i;f(this,"optCode",void 0),f(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},P_=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new Un(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 R_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},R_=function t(e){w(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},k_=function t(e){w(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new P_(a)}))!==null&&u!==void 0?u:[]:[]},O_=function t(e){w(this,t);var n,i,u,l,a;f(this,"groupDefaultExpanded",void 0),f(this,"suppressCount",void 0),f(this,"groupFields",void 0),f(this,"groupHeaderName",void 0),f(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(a=e==null?void 0:e.showFooterStatistics)!==null&&a!==void 0?a:!1},x_=function t(e){w(this,t);var n;f(this,"datasourceBind",void 0),f(this,"headers",void 0),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},M_=function t(e){w(this,t);var n,i,u,l;f(this,"marginTop",void 0),f(this,"marginRight",void 0),f(this,"marginBottom",void 0),f(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:""},L_=function t(e){w(this,t);var n,i,u,l;f(this,"paddingTop",void 0),f(this,"paddingRight",void 0),f(this,"paddingBottom",void 0),f(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:""},$_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.09bf1774579034724")},N_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.39131774579036296")},H_=function t(e){w(this,t),f(this,"prev",void 0),f(this,"next",void 0),this.prev=new $_(e==null?void 0:e.prev),this.next=new N_(e==null?void 0:e.next)};function V_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j_(t,e,n){return e=Nt(e),U_(t,tl()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e,n){return tl()?Gn=Reflect.construct:Gn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Ht(h,a.prototype),h},Gn.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 q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function W_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function U_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:V_(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function el(t){var e=typeof Map=="function"?new Map:void 0;return el=function(i){if(i===null||!W_(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 Gn(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},el(t)}function tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!t})()}var U=function t(e){pu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){q_(e,t);function e(n){return pu(this,e),j_(this,e)}return e}(el(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";pu(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 S_(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",U),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 K_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function Zn(t,e){return Zn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zn(t,e)}function G_(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Qn(t,e,n){return G_()?Qn=Reflect.construct:Qn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Zn(h,a.prototype),h},Qn.apply(null,arguments)}function Z_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function il(t){var e=typeof Map=="function"?new Map:void 0;return il=function(i){if(i===null||!Z_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Qn(i,arguments,nl(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Zn(u,i)},il(t)}var Q_=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ul(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Q_,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return a}return u}function X_(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||X_(e)&&typeof t=="string"&&!t)}function J_(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Zr(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function Y_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){K_(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}(il(Error));function p_(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var E=function(B){return i(B),B.length?g(new Qr(B,ul(B))):y()},_=Y_(t);Zr(_,n,E)});return u.catch(function(y){return y}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,s=0,h=[],d=new Promise(function(y,g){var E=function(b){if(h.push.apply(h,b),s++,s===o)return i(h),h.length?g(new Qr(h,ul(h))):y()};a.length||(i(h),y()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?Zr(b,n,E):J_(b,n,E)})});return d.catch(function(y){return y}),d}function Xr(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 Jr(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 Yr(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 e7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var ll={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(ll.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ll.url)},hex:function(e){return typeof e=="string"&&!!e.match(ll.hex)}};function t7(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?Vt[a](e)||i.push(ne(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ne(u.messages.types[a],t.fullField,t.type))}function n7(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,y=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(y?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var at="enum";function i7(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(ne(u.messages[at],t.fullField,t[at].join(", ")))}function u7(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 F={required:Yr,whitespace:e7,type:t7,range:n7,enum:i7,pattern:u7};function l7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();F.required(t,e,i,l,u,"string"),G(e,"string")||(F.type(t,e,i,l,u),F.range(t,e,i,l,u),F.pattern(t,e,i,l,u),t.whitespace===!0&&F.whitespace(t,e,i,l,u))}n(l)}function a7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}function r7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function o7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}function c7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),G(e)||F.type(t,e,i,l,u)}n(l)}function s7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function d7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function h7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();F.required(t,e,i,l,u,"array"),e!=null&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function f7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}var y7="enum";function m7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F[y7](t,e,i,l,u)}n(l)}function v7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();F.required(t,e,i,l,u),G(e,"string")||F.pattern(t,e,i,l,u)}n(l)}function g7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"date")&&!t.required)return n();if(F.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),F.type(t,o,i,l,u),o&&F.range(t,o.getTime(),i,l,u)}}n(l)}function b7(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;F.required(t,e,i,l,u,a),n(l)}function al(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();F.required(t,e,i,a,u,l),G(e,l)||F.type(t,e,i,a,u)}n(a)}function C7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u)}n(l)}var jt={string:l7,method:a7,number:r7,boolean:o7,regexp:c7,integer:s7,float:d7,array:h7,object:f7,enum:m7,pattern:v7,date:g7,url:al,hex:al,email:al,required:b7,any:C7};function rl(){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 ol=rl();function Ae(t){this.rules=null,this._messages=ol,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=Jr(rl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(b){var B,v=[],D={};function R(T){if(Array.isArray(T)){var k;v=(k=v).concat.apply(k,T)}else v.push(T)}for(B=0;B<b.length;B++)R(b[B]);v.length?D=ul(v):(v=null,D=null),o(v,D)}if(a.messages){var h=this.messages();h===ol&&(h=rl()),Jr(h,a.messages),a.messages=h}else a.messages=this.messages();var d,y,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],y=l[b],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),y=l[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=u.getType(v),v.validator&&(g[b]=g[b]||[],g[b].push({rule:v,value:y,source:l,field:b}))})});var _={};return p_(g,a,function(b,B){var v=b.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&b.value),v.field=b.field;function R(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function T(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!a.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(Xr(v)),a.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!b.value)return v.message!==void 0?H=[].concat(v.message).map(Xr(v)):a.error&&(H=[a.error(v,ne(a.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Ln in b.value)b.value.hasOwnProperty(Ln)&&(le[Ln]=v.defaultField);le=fe(fe({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Tu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Tu.map(R.bind(null,_e))}var $n=new Ae(le);$n.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),$n.validate(b.value,b.rule.options||a,function(Rt){var De=[];H&&H.length&&De.push.apply(De,H),Rt&&Rt.length&&De.push.apply(De,Rt),B(De.length?De:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,b.value,T,b.source,a):v.validator&&(k=v.validator(v,b.value,T,b.source,a),k===!0?T():k===!1?T(v.message||v.field+" fails"):k instanceof Array?T(k):k instanceof Error&&T(k.message)),k&&k.then&&k.then(function(){return T()},function(te){return T(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!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=Gr,Ae.messages=ol,Ae.validators=jt;var E7={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function _7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(E7,e)),n}var D7=new KE;function cl(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 B7(t){if(Array.isArray(t))return t}function w7(t){if(Array.isArray(t))return cl(t)}function pr(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function eo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){pr(l,i,u,a,o,"next",s)}function o(s){pr(l,i,u,a,o,"throw",s)}a(void 0)})}}function I7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(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 A7(t,e,n){return e&&to(t.prototype,e),n&&to(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 no(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function io(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F7(){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 S7(){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 uo(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 T7(t){return B7(t)||io(t)||lo(t)||F7()}function sl(t){return w7(t)||io(t)||lo(t)||S7()}function P7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(t,e){if(!!t){if(typeof t=="string")return cl(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 cl(t,e)}}function ao(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],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;I7(this,e);var u,l,a,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",oo),M(this,"removeSetting",ro),this._callControlHooks("preInstance",n);var s=no(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,y=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&y||Cr("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:y,this.props=new j(n==null?void 0:n.props,(no(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return A7(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var a,o=T7(u),s=o[0],h=o.slice(1);return(a=D7).emit.apply(a,[s,this].concat(sl(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),RE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return eo(function(){var i,u,l;return ao(this,function(a){switch(a.label){case 0:return i=uo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return eo(function(){var l,a,o,s;return ao(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:uo({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),o=_7(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,y=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:y,type:a,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),b!==void 0&&(v.encrypted=b),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,sl(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",r("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",ro),M(L,"updateSettingItem",oo);function ro(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,s;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((s=e.setting[a].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(a,1)}})}function oo(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":P7(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,sl(e.showItems))}}}})}function R7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function k7(t,e,n){return e&&co(t.prototype,e),n&&co(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 O7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){R7(this,e);var i,u,l,a,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=O7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,y=s.name,g=s.controlCustomEvents;h||Cr("The ".concat(y," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:A_.UNKNOWN}return k7(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 dl(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),a=$E(l);l.length!==a.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,a){l.length===0&&a(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function x7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function M7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jn(t,e,n){return e=pn(e),L7(t,so()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function Yn(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 pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function ei(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 L7(t,e){return e&&($7(e)==="object"||typeof e=="function")?e:M7(t)}function hl(t,e){return hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hl(t,e)}function $7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var z=function(t){ei(e,t);function e(n){Yn(this,e);var i;i=Jn(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(x7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),N=function(t){ei(e,t);function e(n){Yn(this,e);var i;i=Jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){ei(e,t);function e(n){Yn(this,e);var i,u,l,a,o,s,h,d,y,g,E,_,b,B;return i=Jn(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(a=n==null?void 0:n.captionColor)!==null&&a!==void 0?a:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"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=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(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",z),V(A,"RuntimeRules",N);var rt=function(t){ei(e,t);function e(n){Yn(this,e);var i;return i=Jn(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),dl.call(i,n),i}return e}(z);function N7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H7(t,e,n){return e=ni(e),q7(t,ho()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function V7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function j7(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 q7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:N7(t)}function fl(t,e){return fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fl(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var S=function(t){j7(e,t);function e(n){V7(this,e);var i;return i=H7(this,e,[n]),ti(i,"controlType","form"),ti(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(L);ti(S,"controlEventKeys",["on_change","on_focus","on_blur"]),ti(S,"controlCustomAttributes",void 0);function U7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=ii(e),Z7(t,fo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function K7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function G7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ml(t,e)}function Z7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:U7(t)}function ml(t,e){return ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ml(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var P=function(t){G7(e,t);function e(n){K7(this,e);var i;return i=z7(this,e,[n]),yl(i,"controlType","form"),yl(i,"props",void 0),yl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(q);function X7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J7(t,e,n){return e=ui(e),e6(t,yo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function Y7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function p7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vl(t,e)}function e6(t,e){return e&&(t6(e)==="object"||typeof e=="function")?e:X7(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function t6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var O=function(t){p7(e,t);function e(n){return Y7(this,e),J7(this,e,[n])}return e}(j);function gl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function n6(t){if(Array.isArray(t))return gl(t)}function i6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mo(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function u6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){mo(l,i,u,a,o,"next",s)}function o(s){mo(l,i,u,a,o,"throw",s)}a(void 0)})}}function l6(t,e,n){return e=Se(e),m6(t,bo()?Reflect.construct(e,n||[],Se(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 vo(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 r6(t,e,n){return e&&vo(t.prototype,e),n&&vo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,a){var o=v6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function o6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bl(t,e)}function c6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function s6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d6(){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 h6(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 f6(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 y6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function m6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:i6(t)}function bl(t,e){return bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bl(t,e)}function v6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function go(t){return n6(t)||s6(t)||b6(t)||d6()}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b6(t,e){if(!!t){if(typeof t=="string")return gl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(t,e)}}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}function C6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var E6=1e4,x=function(e){o6(n,e);function n(i){a6(this,n);var u;u=l6(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=c6(this,n)?this.constructor:void 0,a=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(a),u.childrenMaxLength=o,u}return r6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,s=function(){return ot(Se(n.prototype),"validate",a)};return u6(function(){return C6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(y){return!!y});return go(o).concat(go(d))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return y6(h6({},u),{children:l})}}]),n}(L);Fe(x,"excludes",!1),Fe(x,"childrenMaxLength",E6);function _6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D6(t,e,n){return e=li(e),I6(t,Co()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function B6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function w6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&El(t,e)}function I6(t,e){return e&&(A6(e)==="object"||typeof e=="function")?e:_6(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function A6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Co=function(){return!!t})()}var $=function(t){w6(e,t);function e(n){B6(this,e);var i;return i=D6(this,e,[n]),Cl(i,"controlType","layout"),Cl(i,"children",void 0),Cl(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 F6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S6(t,e,n){return e=ai(e),R6(t,Eo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function T6(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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function P6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_l(t,e)}function R6(t,e){return e&&(k6(e)==="object"||typeof e=="function")?e:F6(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function k6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}var ri=function(t){P6(e,t);function e(n,i,u){T6(this,e);var l,a,o,s,h;return l=S6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Dl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function O6(t){if(Array.isArray(t))return Dl(t)}function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _o(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function M6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){_o(l,i,u,a,o,"next",s)}function o(s){_o(l,i,u,a,o,"throw",s)}a(void 0)})}}function L6(t,e,n){return e=Te(e),W6(t,Ao()?Reflect.construct(e,n||[],Te(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 Do(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 N6(t,e,n){return e&&Do(t.prototype,e),n&&Do(t,n),t}function oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,a){var o=U6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function H6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bl(t,e)}function V6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function j6(){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 Bo(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){oi(t,u,n[u])})}return t}function q6(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 wo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):q6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function W6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:x6(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function U6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Io(t){return O6(t)||V6(t)||K6(t)||j6()}function z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K6(t,e){if(!!t){if(typeof t=="string")return Dl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dl(t,e)}}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}function G6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var wl=function(t){H6(e,t);function e(n){$6(this,e);var i;return i=L6(this,e,[n]),oi(i,"controlType","list"),oi(i,"props",void 0),i.props=new ri(i,n==null?void 0:n.props,"Designer"),i}return N6(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return st(Te(e.prototype),"validate",l)};return M6(function(){return G6(this,function(s){switch(s.label){case 0:return[4,o().call(a,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Io(a).concat(Io(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return wo(Bo({},i),{props:wo(Bo({},this.props),{headers:u})})}}]),e}(L);oi(wl,"controlFieldType",C.LIST);function Z6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q6(t,e,n){return e=ci(e),p6(t,So()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function X6(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 J6(t,e,n){return e&&Fo(t.prototype,e),n&&Fo(t,n),t}function Il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function Y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Al(t,e)}function p6(t,e){return e&&(eD(e)==="object"||typeof e=="function")?e:Z6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function eD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(So=function(){return!!t})()}var To=function(t){Y6(e,t);function e(n){X6(this,e);var i;return i=Q6(this,e,[n]),Il(i,"controlType","list"),Il(i,"children",void 0),Il(i,"props",void 0),i.props=new ri(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return J6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function tD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fl(t,e,n){return e=si(e),nD(t,Po()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function Sl(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function Tl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function nD(t,e){return e&&(iD(e)==="object"||typeof e=="function")?e:tD(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function iD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var be=function(t){Tl(e,t);function e(n){Sl(this,e);var i;return i=Fl(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){Tl(e,t);function e(n){Sl(this,e);var i,u,l,a,o,s;return i=Fl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",i.autoWidth=new Mr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(W,"Rules",be);var Rl=function(t){Tl(e,t);function e(n){Sl(this,e);var i;return i=Fl(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),dl.call(i,n),i}return e}(be);function uD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lD(t,e,n){return e=dt(e),hD(t,ko()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function aD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function rD(t,e,n){return e&&Ro(t.prototype,e),n&&Ro(t,n),t}function di(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(u,l,a){var o=fD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},hi(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(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&&kl(t,e)}function cD(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){di(t,u,n[u])})}return t}function sD(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 dD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function hD(t,e){return e&&(yD(e)==="object"||typeof e=="function")?e:uD(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kl(t,e)}function fD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function yD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var Z=function(t){oD(e,t);function e(n){aD(this,e);var i;return i=lD(this,e,[n]),di(i,"controlType","column"),di(i,"props",void 0),di(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return rD(e,[{key:"toSchema",value:function(){var i=hi(dt(e.prototype),"toSchema",this).call(this);return dD(cD({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(L);function mD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vD(t,e,n){return e=fi(e),CD(t,Oo()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function gD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function bD(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 CD(t,e){return e&&(ED(e)==="object"||typeof e=="function")?e:mD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function ED(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var Q=function(t){bD(e,t);function e(n){gD(this,e);var i;return i=vD(this,e,[n]),Ol(i,"controlType","column"),Ol(i,"props",void 0),Ol(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function _D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DD(t,e,n){return e=yi(e),AD(t,xo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function BD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wD(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 ID(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ml(t,e)}function AD(t,e){return e&&(FD(e)==="object"||typeof e=="function")?e:_D(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ml(t,e)}function FD(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 Ll=function(t){ID(e,t);function e(n){BD(this,e);var i;return i=DD(this,e,[n]),wD(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(O);function SD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TD(t,e,n){return e=mi(e),kD(t,Lo()?Reflect.construct(e,n||[],mi(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 Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function RD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$l(t,e)}function kD(t,e){return e&&(OD(e)==="object"||typeof e=="function")?e:SD(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$l(t,e)}function OD(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 xD=function(t){RD(e,t);function e(n){PD(this,e);var i;return i=TD(this,e,[n]),Mo(i,"controlType","search"),Mo(i,"props",void 0),i.props=new Ll(n==null?void 0:n.props),i}return e}(x);function MD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LD(t,e,n){return e=vi(e),HD(t,No()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function $D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(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){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function ND(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 HD(t,e){return e&&(VD(e)==="object"||typeof e=="function")?e:MD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function VD(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 jD=function(t){ND(e,t);function e(n){$D(this,e);var i;return i=LD(this,e,[n]),$o(i,"controlType","search"),$o(i,"props",void 0),i.props=new Ll(n==null?void 0:n.props),i}return e}($);function qD(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),KD(t,Ho()?Reflect.construct(e,n||[],gi(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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function zD(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 KD(t,e){return e&&(GD(e)==="object"||typeof e=="function")?e:qD(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hl(t,e)}function GD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}var Vl=function(t){zD(e,t);function e(n){return UD(this,e),WD(this,e,[n])}return e}(O);function ZD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QD(t,e,n){return e=bi(e),YD(t,jo()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function XD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vo(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 JD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jl(t,e)}function YD(t,e){return e&&(pD(e)==="object"||typeof e=="function")?e:ZD(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jl(t,e)}function pD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jo=function(){return!!t})()}var eB=function(t){JD(e,t);function e(n){XD(this,e);var i;return i=QD(this,e,[n]),Vo(i,"controlType","wrap"),Vo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(x);function tB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nB(t,e,n){return e=Ci(e),lB(t,Wo()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function iB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function uB(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 lB(t,e){return e&&(aB(e)==="object"||typeof e=="function")?e:tB(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function aB(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 rB=function(t){uB(e,t);function e(n){iB(this,e);var i;return i=nB(this,e,[n]),qo(i,"controlType","wrap"),qo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Wl extends j{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(a=e==null?void 0:e.aiContentSearch)!=null?a:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class Uo extends L{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Uo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class oB extends q{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}static get controlType(){return"text"}}var zo={Designer:Uo,Runtime:oB,Property:Wl};class Ul extends j{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class zl extends L{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}zl.controlEventKeys=["on_click"],zl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.90741774578992730"),default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:r("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:r("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class cB extends q{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ko={Designer:zl,Runtime:cB,Property:Ul};class ee extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new T_((d=e==null?void 0:e.optObj)!=null?d:{})}}class Y extends L{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",hr.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[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 Go={Designer:Y,Runtime:ue,Property:ee},Re=(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))(Re||{}),Zo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Zo||{}),Qo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Qo||{});class Ei{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 Kl{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 Gl=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Gl||{});class _i{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 Zl=(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))(Zl||{}),Ql=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(Ql||{});class Xl{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(y=e==null?void 0:e.signaturePosition)!=null?y:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class Xo{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Xl(s)))!=null?u:[new Xl],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,a,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Jl{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 Jo{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 Jl(e==null?void 0:e.watermark),this.autoRename=new Jl(e==null?void 0:e.autoRename)}}class Yl{constructor(e){var n,i,u,l,a,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class pl{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 Yo{constructor(e){this.dataCode=e.dataCode}}class po{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 Yo(l)))!=null?u:[]}}class ec{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new qt(l)))!=null?u:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const tc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class nc{constructor(e){var n,i,u,l,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class ic{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 uc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(uc||{}),ea=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ea||{}),Di=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Di||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),ta=(t=>(t.ALL="all",t.ADMIN="admin",t))(ta||{}),na=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(na||{});class ia extends j{constructor(e){var n,i,u,l,a,o;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Zl.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(a=e==null?void 0:e.captionFontWeight)!=null?a:Ql.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class lc extends L{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}lc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.30971774578990996"),default:"left",options:[{value:"left",label:r("CMD.77f61774579023852")},{value:"center",label:r("CMD.c2061774579037651")},{value:"right",label:r("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:r("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:r("CMD.2bfb1774579038746")},{value:"middle",label:r("CMD.9e231774579040279")},{value:"bottom",label:r("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class sB extends q{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ac={Designer:lc,Runtime:sB,Property:ia};class dB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Bi extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.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"}}Bi.Rules=dB;class ht extends L{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=C.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 hB extends q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"title"}}var rc={Designer:ht,Runtime:hB,Property:Bi};class fB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class wi extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}wi.Rules=fB;class ft extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yB extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var oc={Designer:ft,Runtime:yB,Property:wi};class mB extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ii extends ee{constructor(e){var n,i,u,l,a,o;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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ii.Rules=mB;class yt extends Y{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 vB extends ue{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var cc={Designer:yt,Runtime:vB,Property:Ii};class ua 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 Y{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class gB extends ue{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var sc={Designer:mt,Runtime:gB,Property:ua};class la extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?a:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class bB extends ue{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var dc={Designer:vt,Runtime:bB,Property:la};class aa 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 Y{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class CB extends ue{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var hc={Designer:gt,Runtime:CB,Property:aa};class EB{constructor(e){this.dataCode=e.dataCode}}class ra extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new EB(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class bt extends Y{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class _B extends ue{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var fc={Designer:bt,Runtime:_B,Property:ra};function Ai(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class DB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ai())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ai())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Fi 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 Vr(e==null?void 0:e.fillPayload),this.formBind=new d_(e==null?void 0:e.formBind),this.fillBack=new jr(e==null?void 0:e.fillBack)}}Fi.Rules=DB;class Ut extends Y{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class BB extends ue{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var yc={Designer:Ut,Runtime:BB,Property:Fi};class wB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ai())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ai())}}}class Si extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Vr(e==null?void 0:e.fillPayload),this.listPageBind=new Zu(e==null?void 0:e.listPageBind),this.fillBack=new jr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ju(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Si.Rules=wB;class zt extends Y{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class IB extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var mc={Designer:zt,Runtime:IB,Property:Si};class AB extends U{constructor(e){super(e)}}class FB extends Me{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=AB,Kt.RuntimeRules=FB;class vc extends L{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}vc.setting=[];class SB extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var gc={Designer:vc,Runtime:SB,Property:Kt};class TB extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends j{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Ti.Rules=TB;class bc extends L{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}bc.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 PB extends q{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Cc={Designer:bc,Runtime:PB,Property:Ti};class RB extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Pi 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 F_(l)))!=null?u:[]}}Pi.Rules=RB;class Ec extends L{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Ec.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kB extends q{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var _c={Designer:Ec,Runtime:kB,Property:Pi};class OB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new p(g)))!=null?y:[]}}Ri.Rules=OB;class Ct extends Y{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Dc={Designer:Ct,Runtime:xB,Property:Ri};class MB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new p(g)))!=null?y:[]}}ki.Rules=MB;class Et extends Y{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class LB extends ue{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Bc={Designer:Et,Runtime:LB,Property:ki};class $B extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Oi extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new nc(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Oi.Rules=$B;class _t extends Y{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class NB extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var wc={Designer:_t,Runtime:NB,Property:Oi};class oa 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 Y{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class HB extends ue{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ic={Designer:Dt,Runtime:HB,Property:oa};class VB extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class xi extends j{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}xi.Rules=VB;class Mi extends L{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Mi.controlEventKeys=["on_click"],Mi.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 jB extends q{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ac={Designer:Mi,Runtime:jB,Property:xi};class ca extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends L{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class qB extends q{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Fc={Designer:Bt,Runtime:qB,Property:ca};class WB extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Li extends j{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$i.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new Yl(e==null?void 0:e.actionSetting))!=null?a:new Yl,this.listHeightSetting=(o=new pl(e==null?void 0:e.listHeightSetting))!=null?o:new pl}}Li.Rules=WB;class $i extends L{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}$i.controlEventKeys=["on_list_rowclick"],$i.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 UB extends q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Sc={Designer:$i,Runtime:UB,Property:Li};class sa 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 Tc extends L{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Tc.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 zB extends q{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Pc={Designer:Tc,Runtime:zB,Property:sa},KB=Object.freeze({__proto__:null,Text:zo,Link:Ko,Button:Go,Divider:ac,Title:rc,CreateFormListButton:oc,BatchSubmissionListButton:cc,SubmissionRecordListButton:sc,ExportListButton:dc,ExportRecordListButton:hc,ImportRecordListButton:fc,FormSelectButton:yc,ListSelectButton:mc,Pagination:gc,Dashboard:Cc,ListViewSelect:_c,TextOcrButton:Dc,InvoiceCheckButton:Bc,BatchPrintListButton:wc,BatchPrintRecordListButton:Ic,OperationButton:Ac,BatchDeleteButton:Fc,ReferenceList:Sc,CommentControl:Pc});class GB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ZB extends N{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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 qr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}wt.Rules=GB,wt.RuntimeRules=ZB;class It extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.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 Rc extends P{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Rc.controlFieldType=C.VARCHAR;var kc={Designer:It,Runtime:Rc,Property:wt};class QB extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class XB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new X(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=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new p(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=QB,Gt.RuntimeRules=XB;class Zt extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.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 Oc extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Oc.controlFieldType=C.ARRAY;var xc={Designer:Zt,Runtime:Oc,Property:Gt};class da extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(a=e==null?void 0:e.expandTrigger)!=null?a:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(y=e==null?void 0:e.optionConfig)!=null?y:"custom",this.datasourceBind=new Kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new Kn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new p(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class Le extends S{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return r("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Le.controlEventKeys=["on_change","on_focus","on_blur"],Le.controlFieldType=C.ARRAY,Le.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 Mc extends P{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Mc.controlFieldType=C.VARCHAR;var Lc={Designer:Le,Runtime:Mc,Property:da};class JB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.max={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class YB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Qt extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(a=e==null?void 0:e.max)!=null?a:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Qt.Rules=JB,Qt.RuntimeRules=YB;class Xt extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.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 $c extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"counter"}}$c.controlFieldType=C.DECIMAL;var Nc={Designer:Xt,Runtime:$c,Property:Qt};class pB extends rt{constructor(e){super(e)}}class Ni extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new X(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=(y=e==null?void 0:e.defaultValue)!=null?y:"",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 p(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Ni.Rules=pB;class Jt extends S{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=C.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:r("CMD.a1171774579045618")},{value:"button",label:r("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"radio"}}Hc.controlFieldType=C.VARCHAR;var Vc={Designer:Jt,Runtime:Hc,Property:Ni};class ew extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(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=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new qr(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=ew,Yt.RuntimeRules=tw;class pt extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=C.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 jc extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}jc.controlFieldType=C.DECIMAL;var qc={Designer:pt,Runtime:jc,Property:Yt};class nw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class iw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?r("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?r("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):r("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,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(a=e==null?void 0:e.step)!=null?a:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.controls=(s=e==null?void 0:e.controls)!=null?s:!0}}en.Rules=nw,en.RuntimeRules=iw;class tn extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("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=C.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:"counter-setting",visible:!0},{key:"common-switch",visible:!0,name:"showTooltip",label:r("CMD.showPromptLabel",null,"\u662F\u5426\u663E\u793A\u63D0\u793A\u6807\u7B7E"),default:!0},{key:"super-setting",visible:!0}];class Wc extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Wc.controlFieldType=C.DECIMAL;var Uc={Designer:tn,Runtime:Wc,Property:en};class ha extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Hi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Ei(B)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Hi extends S{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Hi.controlFieldType=C.TIMESTAMP,Hi.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 zc extends P{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}zc.controlFieldType=C.TIMESTAMP;var Kc={Designer:Hi,Runtime:zc,Property:ha};class uw extends N{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 Vi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.dataBind=new zr(e==null?void 0:e.dataBind),this.defaultValue=new Kr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:ji.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Ei(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Vi.RuntimeRules=uw;class ji extends S{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}ji.controlFieldType=C.TIMESCOPE,ji.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 Gc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Gc.controlFieldType=C.TIMESCOPE;var Zc={Designer:ji,Runtime:Gc,Property:Vi};class fa extends A{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:dr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:qi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.c9dc1774578987545"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new Kl(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class qi extends S{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}qi.controlFieldType=C.TIMESTAMP,qi.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 Qc extends P{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Qc.controlFieldType=C.TIMESTAMP;var Xc={Designer:qi,Runtime:Qc,Property:fa};class lw extends N{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 Wi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.dataBind=new zr(e==null?void 0:e.dataBind),this.defaultValue=new Kr(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:dr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Ui.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new Kl(g)))!=null?d:[],this.isInternational=(y=e==null?void 0:e.isInternational)!=null?y:!1}}Wi.RuntimeRules=lw;class Ui extends S{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Ui.controlFieldType=C.TIMESCOPE,Ui.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:r("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:r("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Jc.controlFieldType=C.TIMESCOPE;var Yc={Designer:Ui,Runtime:Jc,Property:Wi};class aw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class rw extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class nn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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:un.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new o_(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=Ur((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}nn.Rules=aw,nn.RuntimeRules=rw;class un extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=C.TEXT,un.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 pc extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}pc.controlFieldType=C.TEXT;var es={Designer:un,Runtime:pc,Property:nn};class ow extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class cw extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class ln extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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:an.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Ur((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}ln.Rules=ow,ln.RuntimeRules=cw;class an extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=C.TEXT,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:"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 ts extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ts.controlFieldType=C.TEXT;var ns={Designer:an,Runtime:ts,Property:ln};class sw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ki.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new p(_))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}zi.Rules=sw;class Ki extends S{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Ki.controlFieldType=C.VARCHAR,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:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.de501774578997633"),default:"default",options:[{value:"default",label:r("CMD.10a31774579045620")},{value:"button",label:r("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select"}}is.controlFieldType=C.VARCHAR;var us={Designer:Ki,Runtime:is,Property:zi};class dw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class hw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class rn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Gi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}rn.Rules=dw,rn.RuntimeRules=hw;class Gi extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Gi.controlFieldType=C.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:r("CMD.6e971774579045621")},{value:"button",label:r("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ls extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ls.controlFieldType=C.ARRAY;var as={Designer:Gi,Runtime:ls,Property:rn};class fw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zi extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Qi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new p(y))}))}}Zi.RuntimeRules=fw;class Qi extends S{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qi.controlFieldType=C.EMPLOYEES,Qi.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 rs extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"employee"}}rs.controlFieldType=C.EMPLOYEES;var os={Designer:Qi,Runtime:rs,Property:Zi};const yw=10485760,mw=104857600,vw=1048576e3;class gw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:vw,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class bw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:mw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(y=e==null?void 0:e.isShowWatermark)!=null?y:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=gw,At.RuntimeRules=bw;class Ft extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.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 ya extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ya.controlFieldType=C.FILE;var cs={Designer:Ft,Runtime:ya,Property:At};const Cw=10485760,Ew=31457280;class _w extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Ew,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class Xi extends At{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ji.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:na.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:Cw}}Xi.Rules=_w;class Ji extends Ft{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ji.controlFieldType=C.IMAGE,Ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Dw extends ya{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"image"}}var ss={Designer:Ji,Runtime:Dw,Property:Xi};class Bw extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class ww extends N{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:[or(it({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class on extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new E_(e==null?void 0:e.dataBind),this.datasourceBind=new X((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Qu({value:"name"})]}),this.defaultValue=new __((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:I_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=ve(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:cn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}on.Rules=Bw,on.RuntimeRules=ww;class cn extends S{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=C.MONEY,cn.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 ds extends P{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}ds.controlFieldType=C.MONEY;var hs={Designer:cn,Runtime:ds,Property:on};class Iw extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Aw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class sn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Gl.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(y=>new _i(y)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new _i),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:dn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}sn.Rules=Iw,sn.RuntimeRules=Aw;class dn extends S{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new _i);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=C.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:r("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:r("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fs extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}fs.controlFieldType=C.DECIMAL;var ys={Designer:dn,Runtime:fs,Property:sn};class Fw extends N{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Yi extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pi.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 D_((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Yi.RuntimeRules=Fw;class pi extends S{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}pi.controlFieldType=C.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ms extends P{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}ms.controlFieldType=C.ADDRESS;var vs={Designer:pi,Runtime:ms,Property:Yi};class Sw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class eu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:hn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}eu.RuntimeRules=Sw;class hn extends S{constructor(e){super(e),this.props=new eu(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}}hn.controlName=r("CMD.department",null,"\u90E8\u95E8"),hn.controlFieldType=C.DEPARTMENTS,hn.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 gs extends P{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"department"}}gs.controlFieldType=C.DEPARTMENTS;var bs={Designer:hn,Runtime:gs,Property:eu};class ma 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:fn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class fn extends S{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}fn.controlEventKeys=["on_change"],fn.controlFieldType=C.AUTO_NUMBER,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[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 Cs extends P{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Cs.controlFieldType=C.AUTO_NUMBER;var Es={Designer:fn,Runtime:Cs,Property:ma};class Tw extends z{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 Pw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class yn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new B_(e==null?void 0:e.dataBind),this.defaultValue=new w_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:mn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}yn.Rules=Tw,yn.RuntimeRules=Pw;class mn extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}mn.controlEventKeys=["on_change"],mn.controlFieldType=C.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _s extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}_s.controlFieldType=C.CALC;var Ds={Designer:mn,Runtime:_s,Property:yn};class Rw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class tu extends A{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:nu.controlName}}tu.RuntimeRules=Rw;class nu extends S{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}nu.controlFieldType=C.DECIMAL_RANGE,nu.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 Bs extends P{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Bs.controlFieldType=C.DECIMAL_RANGE;var ws={Designer:nu,Runtime:Bs,Property:tu};class kw extends N{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 iu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,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:ut.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(y=e==null?void 0:e.caption)!=null?y:uu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Ei(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}iu.RuntimeRules=kw;class uu extends S{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}uu.controlFieldType=C.ARRAY,uu.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 Is extends P{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Is.controlFieldType=C.ARRAY;var As={Designer:uu,Runtime:Is,Property:iu};class Ow extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class xw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class vn extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}vn.Rules=Ow,vn.RuntimeRules=xw;class St extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",hr.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 Fs extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Fs.controlFieldType=C.ANY;var Ss={Designer:St,Runtime:Fs,Property:vn};class Mw extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class lu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Zu(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:gn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Ju(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new p(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.optionDisplayConfig=(y=e==null?void 0:e.optionDisplayConfig)!=null?y:[],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}}lu.Rules=Mw;class gn extends S{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}gn.controlFieldType=C.VARCHAR,gn.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}],gn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ts extends P{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ts.controlFieldType=C.VARCHAR;var Ps={Designer:gn,Runtime:Ts,Property:lu};class va extends wt{constructor(e){super(e)}}class Rs extends It{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Rs.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 ks extends P{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ks.controlFieldType=C.VARCHAR;var Os={Designer:Rs,Runtime:ks,Property:va};class Lw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Xn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class $w extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R,T,k;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!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 Kn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new Kn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{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=(R=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new p(te)))!=null?R:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[],this.treeQuery=(k=e==null?void 0:e.treeQuery)!=null?k:[]}}bn.Rules=Lw,bn.RuntimeRules=$w;class Oe extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=C.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xs extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"tree"}}xs.controlFieldType=C.ARRAY;var Ms={Designer:Oe,Runtime:xs,Property:bn};class Nw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Xn.call(this,e,$e.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Hw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new zn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:$e.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:ea.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ta.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var R;(R=this.multistageFilling)==null||R.push(new p(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Cn.Rules=Nw,Cn.RuntimeRules=Hw;class $e extends S{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.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 Ls extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ls.controlFieldType=C.EMPLOYEES;var $s={Designer:$e,Runtime:Ls,Property:Cn};class Vw extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class au extends A{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Xo(e==null?void 0:e.signatureConfig)}}au.Rules=Vw;class En extends S{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}En.controlEventKeys=["on_click","on_click_finish"],En.controlFieldType=C.VARCHAR,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Ns extends P{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ns.controlFieldType=C.VARCHAR;var Hs={Designer:En,Runtime:Ns,Property:au};class jw extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class qw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:yw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Jo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}_n.Rules=jw,_n.RuntimeRules=qw;class Dn extends S{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Dn.controlEventKeys=["on_change","on_wps_open"],Dn.controlFieldType=C.FILE,Dn.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 Vs extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"wps"}}Vs.controlFieldType=C.FILE;var js={Designer:Dn,Runtime:Vs,Property:_n};class Ww extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,Ne.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Uw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ne.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Di.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var k;(k=this.multistageFilling)==null||k.push(new p(T))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(R=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(T=>T.children!==void 0?new Un(T):new $t(T)))!=null?R:[]}}Bn.Rules=Ww,Bn.RuntimeRules=Uw;class Ne extends S{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ne.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=C.DEPARTMENTS,Ne.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 qs extends P{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}qs.controlFieldType=C.DEPARTMENTS;var Ws={Designer:Ne,Runtime:qs,Property:Bn};class zw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Kw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class wn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;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 Zu(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new b_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Di.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.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 Ju(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var k;(k=this.multistageFilling)==null||k.push(new p(T))}))}}wn.Rules=zw,wn.RuntimeRules=Kw;class Tt extends S{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=C.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 Us extends P{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Us.controlFieldType=C.DEPARTMENTS;var zs={Designer:Tt,Runtime:Us,Property:wn};class Gw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Zw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class In extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}In.Rules=Gw,In.RuntimeRules=Zw;class An extends S{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}An.controlFieldType=C.ANY,An.controlEventKeys=[],An.setting=[];class Ks extends P{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Ks.controlFieldType=C.ANY;var Gs={Designer:An,Runtime:Ks,Property:In},Qw=Object.freeze({__proto__:null,Input:kc,Checkbox:xc,Cascader:Lc,Counter:Nc,Radio:Vc,Number:qc,Slider:Uc,DatePicker:Kc,DateRange:Zc,TimePicker:Xc,TimeRange:Yc,Textarea:es,RichText:ns,Select:us,SelectMultiple:as,Employee:os,Image:ss,Attachment:cs,Amount:hs,Score:ys,Address:vs,Department:bs,AutoNumber:Es,Calc:Ds,SearchNumberRange:ws,SearchDateRange:As,VueFormItem:Ss,SelectRelation:Ps,SearchInput:Os,Tree:Ms,Employee2:$s,ElectronicSignature:Hs,WPS:js,Department2:Ws,OrganizationSelection:zs,VuePage:Gs});class Zs extends x{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zs.excludes=[I.GRID];class Xw extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class Jw extends O{constructor(e){super(e)}}var Qs={Designer:Zs,Runtime:Xw,Property:Jw};const Yw=24;class He extends O{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Yw,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 Fn extends x{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Fn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Fn.childrenMaxLength=1;class ga extends ${constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var Xs={Designer:Fn,Runtime:ga,Property:He};class ru extends O{constructor(e){var n,i,u,l,a;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new L_(e==null?void 0:e.padding),this.margin=new M_(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class ou extends x{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ou.excludes=[I.ROW],ou.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Js extends ${constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ys={Designer:ou,Runtime:Js,Property:ru};const pw=4;class cu extends ou{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}cu.excludes=[I.GRID_ROW],cu.setting=[],cu.childrenMaxLength=pw;class e8 extends Js{static get controlType(){return"grid-row"}constructor(e){super(e)}}class t8 extends ru{constructor(e){super(e)}}var ps={Designer:cu,Runtime:e8,Property:t8};class n8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class su extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(y=e==null?void 0:e.type)!=null?y:"default"}}su.Rules=n8;class ba extends x{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ba.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:r("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:r("CMD.6a321774579067900")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}],tip:r("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"card",label:r("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:r("CMD.23f71774579023855")},{value:"center",label:r("CMD.ecb71774579037654")},{value:"right",label:r("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:r("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"warning",label:r("CMD.80581774579050943")},{value:"success",label:r("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:r("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:r("CMD.83e11774579028684")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:r("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:r("CMD.16b21774579011405")},{value:"hover",label:r("CMD.cef21774578966959")},{value:"always",label:r("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],ba.excludes=[I.CARD_GROUP];class i8 extends ${constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ed={Designer:ba,Runtime:i8,Property:su};class u8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class du extends O{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new c_(e==null?void 0:e.metaAutoWidth)}}du.Rules=u8;class de extends x{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}de.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),de.controlType="subtable-column",de.controlIcon="subtable-column",de.childrenMaxLength=1,de.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],de.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 td extends ${constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}td.controlType="subtable-column";var nd={Designer:de,Runtime:td,Property:du};class Ca extends O{constructor(e){super(e)}}class Ve extends x{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class l8 extends ${constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var id={Designer:Ve,Runtime:l8,Property:Ca};class Ea extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new X(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:ut.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class je extends x{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}je.controlName=r("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ud extends ${constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}ud.controlType="gridtable-column";var ld={Designer:je,Runtime:ud,Property:Ea};class _a 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 Da extends x{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Da.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],Da.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class a8 extends ${constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ad={Designer:Da,Runtime:a8,Property:_a};class Ba extends O{constructor(e){var n,i,u,l,a;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(a=e==null?void 0:e.isDelay)!=null?a:!1}}class r8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class hu extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}hu.Rules=r8;class Sn extends x{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Sn.excludes=[I.TAB],Sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class o8 extends ${constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var rd={Designer:Sn,Runtime:o8,Property:hu};class Tn extends x{constructor(e){var n;super(e),this.props=new Ba(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Sn,new Sn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Tn.excludes=[I.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:r("CMD.4b041774579045624")},{value:"card",label:r("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:r("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:r("CMD.1efb1774579069467")},{value:"bottom",label:r("CMD.24c01774579070698")},{value:"left",label:r("CMD.13f41774579072043")},{value:"right",label:r("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:r("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:r("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class c8 extends ${constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"tab"}}var od={Designer:Tn,Runtime:c8,Property:Ba};class cd extends O{constructor(e){super(e)}}class sd extends x{constructor(e){super(e),this.props=new cd({}),this.children=(e==null?void 0:e.children)||[new Fn({props:new He({span:12})}),new Fn({props:new He({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}sd.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class s8 extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ga({props:new He({span:12})}),new ga({props:new He({span:12})})]}}var dd={Designer:sd,Runtime:s8,Property:cd};class d8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class h8 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),dl.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 Pn extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.datasourceBind=new X(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 y_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new v_(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=(y=e==null?void 0:e.isShowSelection)!=null?y:!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 k_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new O_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new x_(e==null?void 0:e.masterDetail)}}Pn.Rules=h8,Pn.RuntimeRules=d8;class Rn extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Rn.slotPosition={left:"list-view-left-slot"},Rn.excludes=[I.ROW],Rn.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"],Rn.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 f8 extends ${constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var hd={Designer:Rn,Runtime:f8,Property:Pn};class y8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends O{constructor(e){var n,i,u,l,a,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}fu.RuntimeRules=y8;class fd extends x{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}fd.excludes=[];class m8 extends ${constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var yd={Designer:fd,Runtime:m8,Property:fu};class v8 extends x{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class g8 extends ${static get controlType(){return"page"}constructor(e){super(e)}}class b8 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 md={Designer:v8,Runtime:g8,Property:b8};class C8 extends x{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class E8 extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class _8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ic(e==null?void 0:e.flexConfig)}}var vd={Designer:C8,Runtime:E8,Property:_8};class D8 extends x{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class B8 extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class w8 extends O{constructor(e){super(e)}}var gd={Designer:D8,Runtime:B8,Property:w8};class I8 extends x{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class A8 extends ${static get controlType(){return"position"}constructor(e){super(e)}}class F8 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 bd={Designer:I8,Runtime:A8,Property:F8};class wa 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 yu extends x{constructor(e){var n;super(e),this.props=new wa((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}yu.slotPosition={default:"action-bar-slot"},yu.excludes=[],yu.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 S8 extends ${constructor(e){var n;super(e),this.props=new wa((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Cd={Designer:yu,Runtime:S8,Property:wa};class Ia extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(y=e==null?void 0:e.stopStatus)!=null?y:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new H_(e==null?void 0:e.stepButtons)}}class Aa extends O{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Pt extends x{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Pt.excludes=[I.TAB],Pt.setting=[];class T8 extends ${constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ed={Designer:Pt,Runtime:T8,Property:Aa};class mu extends x{constructor(e){var n;super(e),this.props=new Ia(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}mu.excludes=[],mu.controlEventKeys=["on_change_steps"],mu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:r("CMD.924f1774579018766"),default:!1,tip:r("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:r("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:r("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:r("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class P8 extends ${constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"step"}}var _d={Designer:mu,Runtime:P8,Property:Ia};class Fa extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(a=e==null?void 0:e.colWidth)!=null?a:"12:12",this.isLabelBold=(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=(y=e==null?void 0:e.padding)!=null?y:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Sa extends x{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Sa.excludes=[],Sa.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 R8 extends ${constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Dd={Designer:Sa,Runtime:R8,Property:Fa};class Ta 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 Pa extends x{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Pa.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Pa.setting=[{key:"col-setting",visible:!0}];class k8 extends ${constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Bd={Designer:Pa,Runtime:k8,Property:Ta};const O8=24;class Ra extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:O8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(a=e==null?void 0:e.layout)!=null?a:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(y=e==null?void 0:e.isLabelCol)!=null?y:!1}}class ka extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}ka.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],ka.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 x8 extends ${constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var wd={Designer:ka,Runtime:x8,Property:Ra};class Oa 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 xa extends x{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}xa.excludes=[],xa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class M8 extends ${constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Id={Designer:xa,Runtime:M8,Property:Oa};class Ma 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 La extends O{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:r("CMD.08411774579056771")}}class kn extends x{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}kn.excludes=[I.TAB],kn.setting=[];class L8 extends ${constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var Ad={Designer:kn,Runtime:L8,Property:La};class vu extends x{constructor(e){var n;super(e),this.props=new Ma(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kn,new kn]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}vu.excludes=[],vu.controlEventKeys=["on_change_collapse"],vu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:r("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:r("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:r("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class $8 extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Fd={Designer:vu,Runtime:$8,Property:Ma},N8=Object.freeze({__proto__:null,Grid:Qs,Col:Xs,Row:Ys,GridRow:ps,CardGroup:ed,SubTableColumn:nd,SubTableRow:id,GridTableColumn:ld,GridLayoutContainer:ad,Tab:od,TabPane:rd,Toolbox:dd,ListView:hd,DataView:yd,Page:md,AdvancedContainer:vd,PositioningContainer:gd,Position:bd,ActionBar:Cd,Step:_d,StepPane:Ed,TableLayout:Dd,TableLayoutRow:Bd,TableLayoutCol:wd,TableLayoutWrapper:Id,Collapse:Fd,CollapsePane:Ad});class H8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class V8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Sd=class extends ri{constructor(t,e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R,T,k,te,H,le,Ln,_e,Tu,$n,Rt,De,th,nh,ih,uh,lh,ah;super(t,e,Sd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:tc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(y=e==null?void 0:e.limitRows)!=null?y: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 X(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!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=(Ln=e==null?void 0:e.mobileDefaultNum)!=null?Ln:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new s_,this.fixedColumn=(Tu=e==null?void 0:e.fixedColumn)!=null?Tu:[],this.mobileRowCaption=($n=e==null?void 0:e.mobileRowCaption)!=null?$n:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(th=e==null?void 0:e.pageSize)!=null?th:10,this.pageSizeOptions=(nh=e==null?void 0:e.pageSizeOptions)!=null?nh:[10,20,50,100],this.importConfig=new po(e==null?void 0:e.importConfig),this.exportConfig=new ec(e==null?void 0:e.exportConfig),this.sortable=(ih=e==null?void 0:e.sortable)!=null?ih:!1,this.sortKey=(uh=e==null?void 0:e.sortKey)!=null?uh:{},this.showTableIndex=(lh=e==null?void 0:e.showTableIndex)!=null?lh:!0,this.triggerEdit=(ah=e==null?void 0:e.triggerEdit)!=null?ah:"single"}};let On=Sd;On.Rules=H8,On.RuntimeRules=V8;class xn extends wl{constructor(e){var n;super(e),this.props=new On(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 de,new de,new de])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new de,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}xn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],xn.slotPosition={toolbar:"subtable-toolbar-slot"},xn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:r("CMD.65531774578985876"),default:"single",options:[{value:"single",label:r("CMD.315e1774579064681")},{value:"double",label:r("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class j8 extends To{constructor(e){super(e),this.props=new On(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var Td={Designer:xn,Runtime:j8,Property:On};class $a extends ri{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class q8 extends be{constructor(e){super(e),this.caption.required=!1}}class gu extends W{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}gu.Rules=q8;class qe extends Z{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=r("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Na extends Q{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Na.controlType="order-column",Na.controlFieldType=C.DECIMAL;var Pd={Designer:qe,Runtime:Na,Property:gu};class Ha extends W{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Mi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return sr(this,null,function*(){return yield cr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Va extends Q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}Va.controlType="operation-column",Va.controlFieldType=C.FILE;var Rd={Designer:Ce,Runtime:Va,Property:Ha};const W8=1e4;class We extends wl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new $a(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 qe,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return or(it({},e),{children:n})}validate(e,n){return sr(this,null,function*(){return yield cr(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=W8;class U8 extends To{constructor(e){super(e),this.props=new $a(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var kd={Designer:We,Runtime:U8,Property:$a},z8=Object.freeze({__proto__:null,SubTable:Td,GridTable:kd});class K8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class bu extends W{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ve((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}bu.Rules=K8;class Ue extends Z{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=C.VARCHAR,Ue.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 ja extends Q{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}ja.controlType="varchar-column",ja.controlFieldType=C.VARCHAR;var Od={Designer:Ue,Runtime:ja,Property:bu};class G8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Cu extends W{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:ze.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 me(e==null?void 0:e.linkOperationOption)}}Cu.Rules=G8;class ze extends Z{constructor(e){super(e),this.props=new Cu(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}}ze.controlType="text-column",ze.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=C.TEXT,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-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 qa extends Q{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}qa.controlType="text-column",qa.controlFieldType=C.TEXT;var xd={Designer:ze,Runtime:qa,Property:Cu};class Z8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class Eu extends W{constructor(e){var n,i,u,l,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ve((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Eu.Rules=Z8;class Ke extends Z{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=C.DECIMAL,Ke.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 Wa extends Q{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}}Wa.controlType="decimal-column",Wa.controlFieldType=C.DECIMAL;var Md={Designer:Ke,Runtime:Wa,Property:Eu};class Q8 extends be{constructor(e){super(e),Pe.call(this,e)}}class _u extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}_u.Rules=Q8;class Ge extends Z{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timescope-column",Ge.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=C.TIMESCOPE,Ge.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 Ua extends Q{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Ua.controlType="timescope-column",Ua.controlFieldType=C.TIMESCOPE;var Ld={Designer:Ge,Runtime:Ua,Property:_u};class X8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Du extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(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}}Du.Rules=X8;class Ze extends Z{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=C.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class za extends Q{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}za.controlType="timestamp-column",za.controlFieldType=C.TIMESTAMP;var $d={Designer:Ze,Runtime:za,Property:Du};class J8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class Bu extends W{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ve((l=e==null?void 0:e.options)!=null?l:[{}])}}Bu.Rules=J8;class Qe extends Z{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=C.ARRAY,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-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 Ka extends Q{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Ka.controlType="array-column",Ka.controlFieldType=C.ARRAY;var Nd={Designer:Qe,Runtime:Ka,Property:Bu};class Ga extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=C.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Za extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}Za.controlType="department-column",Za.controlFieldType=C.DEPARTMENTS;var Hd={Designer:Xe,Runtime:Za,Property:Ga};class Y8 extends be{constructor(e){super(e),Pe.call(this,e)}}class wu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}wu.Rules=Y8;class Je extends Z{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=C.AUTO_NUMBER,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:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Qa extends Q{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Qa.controlType="auto-number-column",Qa.controlFieldType=C.AUTO_NUMBER;var Vd={Designer:Je,Runtime:Qa,Property:wu};class Xa extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends Z{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=C.FILE,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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ja extends Q{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}}Ja.controlType="file-column",Ja.controlFieldType=C.FILE;var jd={Designer:Ye,Runtime:Ja,Property:Xa};class Ya extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Z{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=r("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=C.IMAGE,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:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class pa extends Q{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pa.controlType="image-column",pa.controlFieldType=C.IMAGE;var qd={Designer:pe,Runtime:pa,Property:Ya};class er extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Z{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=r("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=C.EMPLOYEES,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 tr extends Q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="people-column",tr.controlFieldType=C.EMPLOYEES;var Wd={Designer:et,Runtime:tr,Property:er};class p8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Iu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Iu.Rules=p8;class tt extends Z{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=r("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=C.ADDRESS,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-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class nr extends Q{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}nr.controlType="location-column",nr.controlFieldType=C.ADDRESS;var Ud={Designer:tt,Runtime:nr,Property:Iu};class eI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Au extends W{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:""}}Au.Rules=eI;const tI=1;class Ee extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Au(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=tI,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 zd extends Q{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}zd.controlType="custom-column";var Kd={Designer:Ee,Runtime:zd,Property:Au};class ir extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new zn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.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 ur extends Q{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}ur.controlType="employee-column",ur.controlFieldType=C.EMPLOYEES;var Gd={Designer:xe,Runtime:ur,Property:ir};class lr extends W{constructor(e){var n,i,u;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 me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class nt extends Z{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.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 Zd extends Q{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}Zd.controlType="approval-status-column";var Qd={Designer:nt,Runtime:Zd,Property:lr};class ar extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Mn extends Z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Mn.controlType="group-column",Mn.controlName=r("CMD.43541769566517351"),Mn.controlIcon="group-column",Mn.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 Xd extends Q{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Xd.controlType="group-column";var Jd={Designer:Mn,Runtime:Xd,Property:ar},nI=Object.freeze({__proto__:null,VarcharColumn:Od,TextColumn:xd,DecimalColumn:Md,TimescopeColumn:Ld,TimestampColumn:$d,ArrayColumn:Nd,DepartmentColumn:Hd,AutoNumberColumn:Vd,FileColumn:jd,ImageColumn:qd,PeopleColumn:Wd,LocationColumn:Ud,CustomColumn:Kd,OrderColumn:Pd,OperationColumn:Rd,EmployeeColumn:Gd,ApprovalStatusColumn:Qd,GroupColumn:Jd});class iI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Fu extends Ll{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(y=e==null?void 0:e.colGap)!=null?y:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Fu.RuntimeRules=iI;class Su extends xD{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Su.controlType="simple-search",Su.slotPosition={default:"search"},Su.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 Yd extends jD{constructor(e){var n;super(e),this.props=new Fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Yd.controlType="simple-search";var pd={Designer:Su,Runtime:Yd,Property:Fu},uI=Object.freeze({__proto__:null,SimpleSearch:pd});class rr extends Vl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class lI extends eB{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class aI extends rB{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function vI(t){return t}var rI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},eh={Designer:lI,Runtime:aI,Property:rr,Setting:rI},oI=Object.freeze({__proto__:null,GridLayoutWrap:eh});m.ActionBar=Cd,m.ActionSetting=Yl,m.Address=vs,m.AdvancedContainer=vd,m.Amount=hs,m.ApprovalStatusColumn=Qd,m.ArrayColumn=Nd,m.AssignType=ke,m.Attachment=cs,m.AutoNumber=Es,m.AutoNumberColumn=Vd,m.BatchDeleteButton=Fc,m.BatchPrintListButton=wc,m.BatchPrintRecordListButton=Ic,m.BatchSubmissionListButton=cc,m.Button=Go,m.Calc=Ds,m.CardGroup=ed,m.Cascader=Lc,m.Checkbox=xc,m.Col=Xs,m.Collapse=Fd,m.CollapsePane=Ad,m.CommentControl=Pc,m.Counter=Nc,m.CreateFormListButton=oc,m.CustomColumn=Kd,m.DATE_CONFIG_TYPE=Zo,m.DATE_LIMIT_TYPE=Qo,m.Dashboard=Cc,m.DataView=yd,m.DatePicker=Kc,m.DateRange=Zc,m.DecimalColumn=Md,m.Department=bs,m.Department2=Ws,m.DepartmentColumn=Hd,m.DepartmentType=Di,m.Divider=ac,m.ElectronicSignature=Hs,m.ElectronicSignatureConfig=Xo,m.Employee=os,m.Employee2=$s,m.EmployeeColumn=Gd,m.EncryptTypeEnum=uc,m.Explain=_i,m.ExportConfig=ec,m.ExportListButton=dc,m.ExportRecordListButton=hc,m.ExportTemplate=qt,m.FONT_WEIGHT=Ql,m.FileColumn=jd,m.FlexStyleConfig=ic,m.FormSelectButton=yc,m.Grid=Qs,m.GridLayoutContainer=ad,m.GridLayoutWrap=eh,m.GridRow=ps,m.GridTable=kd,m.GridTableColumn=ld,m.GroupColumn=Jd,m.Image=ss,m.ImageColumn=qd,m.ImageCompressType=na,m.ImportConfig=po,m.ImportListBind=Yo,m.ImportRecordListButton=fc,m.Input=kc,m.InternalType=ta,m.InvoiceCheckButton=Bc,m.LINE_STYLE=Zl,m.LimitDate=Ei,m.LimitTime=Kl,m.Link=Ko,m.ListHeightSetting=pl,m.ListSelectButton=mc,m.ListView=hd,m.ListViewSelect=_c,m.LocationColumn=Ud,m.Number=qc,m.OperationButton=Ac,m.OperationColumn=Rd,m.OrderColumn=Pd,m.OrganizationSelection=zs,m.OrganizeType=ea,m.Page=md,m.Pagination=gc,m.PeopleColumn=Wd,m.Position=bd,m.PositioningContainer=gd,m.PrintTemplate=nc,m.Radio=Vc,m.ReferenceList=Sc,m.RichText=ns,m.Row=Ys,m.SCORE_TYPE=Gl,m.SUBTABLE_DEFAULT_MAX_HEIGHT=tc,m.Score=ys,m.SearchDateRange=As,m.SearchInput=Os,m.SearchNumberRange=ws,m.Select=us,m.SelectMultiple=as,m.SelectRelation=Ps,m.SimpleSearch=pd,m.Slider=Uc,m.Step=_d,m.StepPane=Ed,m.SubTable=Td,m.SubTableColumn=nd,m.SubTableRow=id,m.SubmissionRecordListButton=sc,m.Tab=od,m.TabPane=rd,m.TableLayout=Dd,m.TableLayoutCol=wd,m.TableLayoutRow=Bd,m.TableLayoutWrapper=Id,m.Text=zo,m.TextColumn=xd,m.TextOcrButton=Dc,m.Textarea=es,m.TimePicker=Xc,m.TimeRange=Yc,m.TimescopeColumn=Ld,m.TimestampColumn=$d,m.Title=rc,m.TitleConfigEnum=Re,m.Toolbox=dd,m.Tree=Ms,m.UndersignedPerson=Xl,m.VarcharColumn=Od,m.VueFormItem=Ss,m.VuePage=Gs,m.WPS=js,m.WPSSetting=Jo,m.WpsOperationItem=Jl,m.baseControls=KB,m.columnControls=nI,m.formControls=Qw,m.initExpression=Wt,m.layoutControls=N8,m.listControls=z8,m.searchControls=uI,m.wrapControls=oI,Object.defineProperty(m,"__esModule",{value:!0})});
1
+ var cI=Object.defineProperty,sI=Object.defineProperties;var dI=Object.getOwnPropertyDescriptors;var rh=Object.getOwnPropertySymbols,hI=Object.getPrototypeOf,fI=Object.prototype.hasOwnProperty,yI=Object.prototype.propertyIsEnumerable,mI=Reflect.get;var oh=(m,r,K)=>r in m?cI(m,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[r]=K,it=(m,r)=>{for(var K in r||(r={}))fI.call(r,K)&&oh(m,K,r[K]);if(rh)for(var K of rh(r))yI.call(r,K)&&oh(m,K,r[K]);return m},or=(m,r)=>sI(m,dI(r));var cr=(m,r,K)=>mI(hI(m),K,r);var sr=(m,r,K)=>new Promise((Pu,Nn)=>{var Ru=ye=>{try{kt(K.next(ye))}catch(Ot){Nn(Ot)}},ku=ye=>{try{kt(K.throw(ye))}catch(Ot){Nn(Ot)}},kt=ye=>ye.done?Pu(ye.value):Promise.resolve(ye.value).then(Ru,ku);kt((K=K.apply(m,r)).next())});(function(m,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(m=typeof globalThis!="undefined"?globalThis:m||self,r(m.modelDrivenControls={}))})(this,function(m){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const s=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),a||(n?a=n:a=t),a};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Pu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Nn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ru="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ku="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",kt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ch="\u8BF7\u8F93\u5165\u884C\u6807\u9898",sh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hh="\u8BF7\u7ED1\u5B9A\u8868\u5355",fh="\u8BF7\u7ED1\u5B9A\u5217\u8868",yh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ch="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Eh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_h="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Bh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ih="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ah="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Sh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Th="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ph="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Oh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",xh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Mh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$h="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Nh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hh="\u8BF7\u9009\u62E9\u7701",Vh="\u8BF7\u9009\u62E9\u5E02",jh="\u8BF7\u9009\u62E9\u533A",qh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Uh="\u8BF7\u8F93\u5165\u5217\u5BBD",zh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gh="\u8BF7\u9009\u62E9\u63A7\u4EF6",Zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Qh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Xh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Yh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ph="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ff="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",vf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",gf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",bf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Cf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ef="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",_f="\u6279\u91CF\u5220\u9664",Df="\u6279\u91CF\u6253\u5370",Bf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wf="\u6309\u94AE",If="\u521B\u5EFA\u5355\u636E",Af="\u4EEA\u8868\u76D8",Ff="\u5206\u5272\u7EBF",Sf="\u5BFC\u51FA",Tf="\u8868\u5355\u64CD\u4F5C",Pf="\u5BFC\u5165",Rf="\u53D1\u7968\u8BC6\u522B",kf="\u94FE\u63A5",Of="\u5217\u8868\u9009\u62E9",xf="\u5217\u8868\u89C6\u56FE",Mf="\u64CD\u4F5C\u6309\u94AE",Lf="\u5206\u9875",$f="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Nf="\u8BF4\u660E\u6587\u5B57",Hf="\u6587\u5B57\u8BC6\u522B",Vf="\u6807\u9898\u7EC4\u4EF6",jf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",qf="\u6570\u7EC4",Wf="\u81EA\u52A8\u7F16\u53F7",Uf="\u81EA\u5B9A\u4E49",zf="\u6570\u503C",Kf="\u90E8\u95E8",Gf="\u4EBA\u5458",Zf="\u9644\u4EF6",Qf="\u56FE\u7247",Xf="\u5730\u5740",Jf="\u64CD\u4F5C",Yf="\u5E8F\u53F7",pf="\u4EBA\u5458",ey="\u957F\u6587\u672C",ty="\u65E5\u671F\u533A\u95F4",ny="\u65E5\u671F",iy="\u77ED\u6587\u672C",uy="\u6362\u884C\u5BB9\u5668Wrap",ly="\u8868\u683C",ay="\u660E\u7EC6\u5B50\u8868",ry="\u5730\u5740",oy="\u91D1\u989D",cy="\u8BA1\u7B97\u516C\u5F0F",sy="\u591A\u9009",dy="\u7535\u5B50\u7B7E\u7AE0",hy="\u5355\u884C\u6587\u672C",fy="\u6570\u5B57",yy="\u4E1A\u52A1\u7EC4\u7EC7",my="\u5355\u9009",vy="\u5BCC\u6587\u672C",gy="\u8BC4\u5206",by="\u6570\u5B57\u533A\u95F4",Cy="\u4E0B\u62C9\u5355\u9009",Ey="\u4E0B\u62C9\u591A\u9009",_y="\u5173\u8054\u5355\u9009",Dy="\u591A\u884C\u6587\u672C",By="\u6811",wy="Vue\u5BB9\u5668",Iy="Vue\u9875\u9762",Ay="\u5728\u7EBF\u6587\u6863",Fy="\u6309\u94AE\u64CD\u4F5C\u680F",Sy="\u9AD8\u7EA7\u5BB9\u5668",Ty="\u5206\u7EC4",Py="\u6805\u683C\u5217",Ry="\u6570\u636E\u5BB9\u5668",ky="\u753B\u5E03",Oy="\u6362\u884C\u5BB9\u5668",xy="\u6805\u683C\u7B49\u5206\u884C",My="\u5217\u8868\u5BB9\u5668",Ly="\u81EA\u7531\u9875\u9762",$y="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Ny="\u5B9A\u4F4D\u5BB9\u5668",Hy="\u6805\u683C\u5E03\u5C40",Vy="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",jy="\u660E\u7EC6\u5B50\u8868\u884C",qy="\u6807\u7B7E\u9875",Wy="\u6807\u7B7E\u5355\u5143",Uy="\u5DE5\u5177\u680F",zy="\u6279\u91CF\u63D0\u4EA4",Ky="\u5BFC\u51FA\u8BB0\u5F55",Gy="\u5217\u8868\u89C6\u56FE",Zy="\u7ED3\u675F\u65F6\u95F4",Qy="\u5F00\u59CB\u65F6\u95F4",Xy="\u5355\u4F4D",Jy="\u7ED3\u679C",Yy="\u5E01\u79CD",py="\u7ED3\u675F\u65E5\u671F",em="\u5F00\u59CB\u65E5\u671F",tm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",nm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",im="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",um="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",lm="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",am="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",rm="\u8BF7\u9009\u62E9",om="\u8BF7\u9009\u62E9\u7EC4\u7EC7",cm="\u8BF7\u9009\u62E9\u90E8\u95E8",sm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",dm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",hm="\u8BF7\u9009\u62E9\u5730\u5740",fm="\u5F39\u7A97\u786E\u8BA4\u65F6",ym="\u6807\u7B7E\u9875\u5207\u6362\u65F6",mm="\u884C\u9009\u4E2D\u65F6",vm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",gm="\u884C\u5220\u9664\u524D",bm="\u884C\u70B9\u51FB\u65F6",Cm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Em="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_m="\u91CD\u547D\u540D\u65F6",Dm="\u4FDD\u5B58\u6587\u4EF6\u65F6",Bm="\u6253\u5F00\u6587\u4EF6\u65F6",wm="\u83B7\u53D6\u7126\u70B9\u65F6",Im="\u5931\u53BB\u7126\u70B9\u65F6",Am="\u7528\u6237\u8F93\u5165\u65F6",Fm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Sm="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Tm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Pm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Rm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",km="\u641C\u7D22\u65F6",Om="\u503C\u53D1\u751F\u53D8\u5316\u65F6",xm="\u6267\u884C\u5B8C\u6210\u65F6",Mm="\u70B9\u51FB\u65F6",Lm="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",$m="\u8BF7\u8F93\u5165\u65E5\u671F",Nm="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Hm="\u8BF7\u8F93\u5165",Vm="\u9ED8\u8BA4\u6A21\u7248",jm="\u5DE6\u53F3\u5E03\u5C40",qm="\u4E0A\u4E0B\u5E03\u5C40",Wm="\u53EA\u8BFB",Um="\u5FC5\u586B",zm="\u63D0\u793A\u6587\u5B57",Km="\u9690\u85CF\u6807\u9898",Gm="\u6807\u9898\u5FC5\u586B",Zm="\u7EC4\u7EC7\u5F62\u6001",Qm="\u4E1A\u52A1\u7C7B\u578B",Xm="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Jm="\u9690\u85CF",Ym="\u6D41\u7A0B\u72B6\u6001",pm="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ev="\u5220\u9664",tv="\u7F16\u8F91",nv="\u67E5\u770B",iv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",uv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",lv="\u5145\u6EE1\u6574\u884C",av="\u6700\u5C0F\u503C",rv="\u6700\u5927\u503C",ov="\u65B0\u5EFA\u6587\u6863",cv="\u91CD\u7F6E",sv="\u67E5\u8BE2",dv="\u660E\u7EC6",hv="\u6253\u5370",fv="\u4FDD\u5B58\u8349\u7A3F",yv="\u4FDD\u5B58",mv="\u53D6\u6D88",vv="\u4E0A\u4F20\u56FE\u7247",gv="\u53D1\u8D77\u7B7E\u7F72",bv="\u4E0A\u4F20\u9644\u4EF6",Cv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Ev="\u5F15\u7528\u5217\u8868",_v="\u9009\u9879\u4E00",Dv="\u9009\u9879\u4E8C",Bv="\u9009\u9879\u4E09",wv={isNotNumber:K,isNotString:Pu,isNotObject:Nn,isNotArray:Ru,isNotBoolean:ku,runtimeRequired:kt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:ch,pleaseEnterPlaceholder:sh,pleaseEnterFieldCode:dh,pleaseEnterForm:hh,pleaseEnterList:fh,pleaseEnterProcess:yh,pleaseEnterLabel:mh,pleaseEnterValue:vh,bizKeyNotBindFiled:gh,pleaseSelectOneField:bh,pleaseEnterNumberRange:Ch,pleaseEnterAValueGreaterThanMin:Eh,pleaseEnterAValueLessThanMax:_h,numberRangeSetError:Dh,stringRangeError:Bh,attachmentMaxSize:wh,pleaseEnterTotalScoreSetting:Ih,theTotalScoreMustNotBeLessThan1:Ah,scoreDefaultValueRange:Fh,attachmentLimitError:Sh,PleaseReselectTheOptionalQuantity:Th,TheMaximumLengthIsGreaterThanTheMinimumLength:Ph,TheMinimumLengthIsGreaterThanTheMaximumLength:Rh,PleaseSelectTheCorrectOptionSettings:kh,optionIdIsRepeat:Oh,optionIsRequired:xh,pleaseEnterDataCode:Mh,pleaseEnterValueFieldCode:Lh,pleaseEnterSvcCode:$h,pleaseBindAtLeastOneDisplayValue:Nh,pleaseSelectProvince:Hh,pleaseSelectCity:Vh,pleaseSelectDistrict:jh,limitRowsCannotBeLessThan0:qh,TheNumberOfRowsCannotBeLessThanMinRows:Wh,pleaseEnterColumnWidth:Uh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zh,pleaseCompleteAllRulesAndConditions:Kh,pleaseSelectControl:Gh,pleaseSelectAtLeastOneColumn:Zh,pleaseSelectFillBackMode:Qh,pleaseSelectDashboard:Xh,rootNodeIsRequired:Jh,theViewNameCannotBeEmpty:Yh,pleaseSelectOcrType:ph,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:lf,pleaseEnterSvcCodeInDataSetting:af,pleaseBindAtLeastOneDisplayValueInDataSetting:rf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnterWatermark:sf,pleaseEnterFileName:df,pleaseUploadAtLeastOnePrintTemplate:hf,pleaseAssignBusiness:ff,pleaseAssignExternal:yf,pleaseEnterAliasCode:mf,pleaseSelectDataCode:vf,pleaseSelectSvcCode:gf,pleaseSelectJoinFieldCode:bf,pleaseSelectMainFieldCode:Cf,pleaseSelectSortFieldCode:Ef,batchDeleteButton:_f,batchPrintListButton:Df,batchPrintRecordList:Bf,button:wf,createFormListButton:If,dashboard:Af,divider:Ff,exportListButton:Sf,formSelectButton:Tf,importRecordListButton:Pf,invoiceCheckButton:Rf,link:kf,listSelectButton:Of,ListViewSelect:xf,operationButton:Mf,pagination:Lf,submissionRecordListButton:$f,text:Nf,textOcrButton:Hf,title:Vf,approvalStatusColumn:jf,array:qf,autoNumber:Wf,custom:Uf,decimal:zf,department:Kf,employee:Gf,file:Zf,image:Qf,location:Xf,operation:Jf,order:Yf,people:pf,long:ey,timescope:ty,timestamp:ny,varchar:iy,gridLayoutWrap:uy,gridTable:ly,subTable:ay,address:ry,amount:oy,calc:cy,checkBox:sy,electronicSignature:dy,input:hy,number:fy,organizationSelection:yy,radio:my,richText:vy,score:gy,searchNumberRange:by,select:Cy,selectMultiple:Ey,selectRelation:_y,textarea:Dy,tree:By,vueFormItem:wy,vuePage:Iy,WPS:Ay,actionBar:Fy,advancedContainer:Sy,cardGroup:Ty,col:Py,dataView:Ry,grid:ky,gridLayoutContainer:Oy,gridRow:xy,listView:My,page:Ly,position:$y,positioningContainer:Ny,row:Hy,subtableColumn:Vy,subtableRow:jy,tab:qy,tabPane:Wy,toolbox:Uy,batchSubmissionListButton:zy,exportRecordListButton:Ky,listViewSelect:Gy,endTime:Zy,startTime:Qy,unit:Xy,result:Jy,currency:Yy,endDate:py,startDate:em,pleaseSelectCompanyName:tm,pleaseSelectPhoneOrEmail:nm,pleaseSelectSignType:im,pleaseSelectSigner:um,pleaseSelectOnlyOne:lm,pleaseSelectSignFile:am,pleaseSelect:rm,pleaseSelectOrg:om,pleaseSelectDept:cm,pleaseSelectEndDate:sm,pleaseSelectStartDate:dm,pleaseChooseAddress:hm,modalConfirm:fm,tabChange:ym,rowSelected:mm,listDataImport:vm,rowDelete:gm,rowClick:bm,cellRender:Cm,onClickBtn:Em,rename:_m,onSaveFile:Dm,onOpenFile:Bm,onFocus:wm,onBlur:Im,onInput:Am,listDataAdd:Fm,listDataDelete:Sm,listDataBack:Tm,listDataCreate:Pm,listDataChange:Rm,search:km,valueChange:Om,finished:xm,click:Mm,pleaseEnterNameorEmail:Lm,pleaseEnterDate:$m,pleaseEnterAutonumber:Nm,pleaseEnter:Hm,defaultTemplate:Vm,left:jm,top:qm,default:"\u666E\u901A",readonly:Wm,required:Um,textTip:zm,hideCaption:Km,titleRequired:Gm,organizationalForm:Zm,businessType:Qm,deleteConfirm:Xm,hide:Jm,processStatus:Ym,approvedDocuments:pm,delete:ev,edit:tv,view:nv,loadCtrlErrorTip:iv,loadCtrlError:uv,fullLine:lv,min:av,max:rv,createWPS:ov,reset:cv,query:sv,detailed:dv,print:hv,draft:fv,save:yv,cancel:mv,uploadImg:vv,signature:gv,uploadFile:bv,linkContent:Cv,referenceList:Ev,optionOne:_v,optionTwo:Dv,optionThird:Bv},Iv="Please enter a number",Av="Please enter a string",Fv="Please enter an object",Sv="Please enter an array",Tv="Please enter a boolean",Pv="{caption} Required",Rv="Please enter the title",kv="Please enter the bubble prompt",Ov="Please enter the row title",xv="Please enter the prompt text",Mv="Please bind data items",Lv="Please bind the form",$v="Please bind the list",Nv="Please bind the process",Hv="Please enter the displayed value",Vv="Please enter the stored value",jv="The document number is not bound to the data item",qv="Please select at least one display field",Wv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",zv="Please enter a value less than or equal to {max}",Kv="The value range is set incorrectly",Gv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Zv="The attachment size must be between 0MB and 1000MB",Qv="Please fill in the total score setting",Xv="The total score cannot be less than 1",Jv="The default value must be between {min} and {max}",Yv="The number of attachment uploads exceeds the limit",pv="Please re-select the optional quantity",e0="The maximum length of the control must be greater than the minimum length",t0="The minimum length of the control must be less than the maximum length",n0="Please select the correct option setting",i0="Option ID cannot be repeated",u0="Please enter at least one option",l0="Please bind the data source",a0="Please bind the stored value",r0="Please bind the service",o0="At least one display value must be bound",c0="Please select a province",s0="Please select a city",d0="Please select a district",h0="The minimum number of lines to fill in cannot be less than 0",f0="The number of rows cannot be less than {min} rows",y0="Please enter the column width",m0="Please set the logical relationship of all rule conditions",v0="Please complete all rules and conditions",g0="please select control",b0="Please select the dashboard",C0="View name cannot be empty",E0="Please select recognition type",_0="Please select at least one field to fill in",D0="Please select at least one",B0="Please enter the button title",w0="Please bind the business model in the data settings",I0="Please bind storage values in data settings",A0="Please bind the service in the data settings",F0="Please bind at least one display value in the data settings",S0="Please select the root node in the data settings",T0="Please enter the maximum height",P0="The input content cannot be empty",R0="Watermark cannot be empty",k0="File name cannot be empty",O0="Please upload at least one printing template!\uFF01",x0="Please select a specific business department",M0="Please select a specified external organization",L0="Please enter a sub table alias",$0="Please select the associated table to set the business model",N0="Please select the association table to set the binding service",H0="Select associated sub table fields",V0="Please select the associated main table field",j0="Please select the sort field",q0="\u6279\u91CF\u5220\u9664",W0="\u6279\u91CF\u6253\u5370",U0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",z0="\u6309\u94AE",K0="\u521B\u5EFA\u5355\u636E",G0="\u4EEA\u8868\u76D8",Z0="\u5206\u5272\u7EBF",Q0="\u5BFC\u51FA",X0="\u8868\u5355\u64CD\u4F5C",J0="\u5BFC\u5165",Y0="\u53D1\u7968\u8BC6\u522B",p0="\u94FE\u63A5",eg="\u5217\u8868\u9009\u62E9",tg="\u5217\u8868\u89C6\u56FE",ng="\u64CD\u4F5C\u6309\u94AE",ig="\u5206\u9875",ug="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",lg="\u8BF4\u660E\u6587\u5B57",ag="\u6587\u5B57\u8BC6\u522B",rg="\u6807\u9898\u7EC4\u4EF6",og="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",cg="\u6570\u7EC4",sg="\u81EA\u52A8\u7F16\u53F7",dg="\u81EA\u5B9A\u4E49",hg="\u6570\u503C",fg="\u90E8\u95E8",yg="\u4EBA\u5458",mg="\u9644\u4EF6",vg="\u56FE\u7247",gg="\u5730\u5740",bg="\u64CD\u4F5C",Cg="\u5E8F\u53F7",Eg="\u4EBA\u5458",_g="\u957F\u6587\u672C",Dg="\u65E5\u671F\u533A\u95F4",Bg="\u65E5\u671F",wg="\u77ED\u6587\u672C",Ig="\u6362\u884C\u5BB9\u5668Wrap",Ag="\u8868\u683C",Fg="\u660E\u7EC6\u5B50\u8868",Sg="\u5730\u5740",Tg="\u91D1\u989D",Pg="\u8BA1\u7B97\u516C\u5F0F",Rg="\u591A\u9009",kg="\u7535\u5B50\u7B7E\u7AE0",Og="\u5355\u884C\u6587\u672C",xg="\u6570\u5B57",Mg="\u4E1A\u52A1\u7EC4\u7EC7",Lg="\u5355\u9009",$g="\u5BCC\u6587\u672C",Ng="\u8BC4\u5206",Hg="\u6570\u5B57\u533A\u95F4",Vg="\u4E0B\u62C9\u5355\u9009",jg="\u4E0B\u62C9\u591A\u9009",qg="\u5173\u8054\u5355\u9009",Wg="\u591A\u884C\u6587\u672C",Ug="\u6811",zg="Vue\u5BB9\u5668",Kg="Vue\u9875\u9762",Gg="\u5728\u7EBF\u6587\u6863",Zg="\u6309\u94AE\u64CD\u4F5C\u680F",Qg="\u9AD8\u7EA7\u5BB9\u5668",Xg="\u5206\u7EC4",Jg="\u6805\u683C\u5217",Yg="\u6570\u636E\u5BB9\u5668",pg="\u753B\u5E03",eb="\u6362\u884C\u5BB9\u5668",tb="\u6805\u683C\u7B49\u5206\u884C",nb="\u5217\u8868\u5BB9\u5668",ib="\u81EA\u7531\u9875\u9762",ub="\u5B9A\u4F4D\u5B50\u5BB9\u5668",lb="\u5B9A\u4F4D\u5BB9\u5668",ab="\u6805\u683C\u5E03\u5C40",rb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ob="\u660E\u7EC6\u5B50\u8868\u884C",cb="\u6807\u7B7E\u9875",sb="\u6807\u7B7E\u5355\u5143",db="\u5DE5\u5177\u680F",hb="\u6279\u91CF\u63D0\u4EA4",fb="\u5BFC\u51FA\u8BB0\u5F55",yb="\u5217\u8868\u89C6\u56FE",mb="\u5F15\u7528\u5217\u8868",vb="\u9009\u9879\u4E00",gb="\u9009\u9879\u4E8C",bb="\u9009\u9879\u4E09",Cb={isNotNumber:Iv,isNotString:Av,isNotObject:Fv,isNotArray:Sv,isNotBoolean:Tv,runtimeRequired:Pv,pleaseEnterCaption:Rv,pleaseEnterCaptionTip:kv,pleaseEnterRowCaption:Ov,pleaseEnterPlaceholder:xv,pleaseEnterFieldCode:Mv,pleaseEnterForm:Lv,pleaseEnterList:$v,pleaseEnterProcess:Nv,pleaseEnterLabel:Hv,pleaseEnterValue:Vv,bizKeyNotBindFiled:jv,pleaseSelectOneField:qv,pleaseEnterNumberRange:Wv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:zv,numberRangeSetError:Kv,stringRangeError:Gv,attachmentMaxSize:Zv,pleaseEnterTotalScoreSetting:Qv,theTotalScoreMustNotBeLessThan1:Xv,scoreDefaultValueRange:Jv,attachmentLimitError:Yv,PleaseReselectTheOptionalQuantity:pv,TheMaximumLengthIsGreaterThanTheMinimumLength:e0,TheMinimumLengthIsGreaterThanTheMaximumLength:t0,PleaseSelectTheCorrectOptionSettings:n0,optionIdIsRepeat:i0,optionIsRequired:u0,pleaseEnterDataCode:l0,pleaseEnterValueFieldCode:a0,pleaseEnterSvcCode:r0,pleaseBindAtLeastOneDisplayValue:o0,pleaseSelectProvince:c0,pleaseSelectCity:s0,pleaseSelectDistrict:d0,limitRowsCannotBeLessThan0:h0,TheNumberOfRowsCannotBeLessThanMinRows:f0,pleaseEnterColumnWidth:y0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:m0,pleaseCompleteAllRulesAndConditions:v0,pleaseSelectControl:g0,pleaseSelectDashboard:b0,theViewNameCannotBeEmpty:C0,pleaseSelectOcrType:E0,pleaseSelectAtLeastOneFieldToFillIn:_0,pleaseChooseAtLeastOne:D0,pleaseEnterButtonContent:B0,pleaseEnterDataCodeInDataSetting:w0,pleaseEnterValueFieldCodeInDataSetting:I0,pleaseEnterSvcCodeInDataSetting:A0,pleaseBindAtLeastOneDisplayValueInDataSetting:F0,rootNodeIsRequiredInDataSetting:S0,pleaseEnterMaxHeight:T0,pleaseEnter:P0,pleaseEnterWatermark:R0,pleaseEnterFileName:k0,pleaseUploadAtLeastOnePrintTemplate:O0,pleaseAssignBusiness:x0,pleaseAssignExternal:M0,pleaseEnterAliasCode:L0,pleaseSelectDataCode:$0,pleaseSelectSvcCode:N0,pleaseSelectJoinFieldCode:H0,pleaseSelectMainFieldCode:V0,pleaseSelectSortFieldCode:j0,batchDeleteButton:q0,batchPrintListButton:W0,batchPrintRecordList:U0,button:z0,createFormListButton:K0,dashboard:G0,divider:Z0,exportListButton:Q0,formSelectButton:X0,importRecordListButton:J0,invoiceCheckButton:Y0,link:p0,listSelectButton:eg,ListViewSelect:tg,operationButton:ng,pagination:ig,submissionRecordListButton:ug,text:lg,textOcrButton:ag,title:rg,approvalStatusColumn:og,array:cg,autoNumber:sg,custom:dg,decimal:hg,department:fg,employee:yg,file:mg,image:vg,location:gg,operation:bg,order:Cg,people:Eg,long:_g,timescope:Dg,timestamp:Bg,varchar:wg,gridLayoutWrap:Ig,gridTable:Ag,subTable:Fg,address:Sg,amount:Tg,calc:Pg,checkBox:Rg,electronicSignature:kg,input:Og,number:xg,organizationSelection:Mg,radio:Lg,richText:$g,score:Ng,searchNumberRange:Hg,select:Vg,selectMultiple:jg,selectRelation:qg,textarea:Wg,tree:Ug,vueFormItem:zg,vuePage:Kg,WPS:Gg,actionBar:Zg,advancedContainer:Qg,cardGroup:Xg,col:Jg,dataView:Yg,grid:pg,gridLayoutContainer:eb,gridRow:tb,listView:nb,page:ib,position:ub,positioningContainer:lb,row:ab,subtableColumn:rb,subtableRow:ob,tab:cb,tabPane:sb,toolbox:db,batchSubmissionListButton:hb,exportRecordListButton:fb,listViewSelect:yb,referenceList:mb,optionOne:vb,optionTwo:gb,optionThird:bb},Eb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_b="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Db="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ib="{caption}\u5FC5\u9808",Ab="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ob="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$b="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ub="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Zb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qb="\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",Xb="\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",Jb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",hC="please select control",fC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vC="\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",gC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",DC="\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",BC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",IC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",AC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",SC="\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",TC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",OC="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",MC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",LC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$C="\u6279\u91CF\u5220\u9664",NC="\u6279\u91CF\u6253\u5370",HC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",VC="\u6309\u94AE",jC="\u521B\u5EFA\u5355\u636E",qC="\u4EEA\u8868\u76D8",WC="\u5206\u5272\u7EBF",UC="\u5BFC\u51FA",zC="\u8868\u5355\u64CD\u4F5C",KC="\u5BFC\u5165",GC="\u53D1\u7968\u8BC6\u522B",ZC="\u94FE\u63A5",QC="\u5217\u8868\u9009\u62E9",XC="\u5217\u8868\u89C6\u56FE",JC="\u64CD\u4F5C\u6309\u94AE",YC="\u5206\u9875",pC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",e5="\u8BF4\u660E\u6587\u5B57",t5="\u6587\u5B57\u8BC6\u522B",n5="\u6807\u9898\u7EC4\u4EF6",i5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u5="\u6570\u7EC4",l5="\u81EA\u52A8\u7F16\u53F7",a5="\u81EA\u5B9A\u4E49",r5="\u6570\u503C",o5="\u90E8\u95E8",c5="\u4EBA\u5458",s5="\u9644\u4EF6",d5="\u56FE\u7247",h5="\u5730\u5740",f5="\u64CD\u4F5C",y5="\u5E8F\u53F7",m5="\u4EBA\u5458",v5="\u957F\u6587\u672C",g5="\u65E5\u671F\u533A\u95F4",b5="\u65E5\u671F",C5="\u77ED\u6587\u672C",E5="\u6362\u884C\u5BB9\u5668Wrap",_5="\u8868\u683C",D5="\u660E\u7EC6\u5B50\u8868",B5="\u5730\u5740",w5="\u91D1\u989D",I5="\u8BA1\u7B97\u516C\u5F0F",A5="\u591A\u9009",F5="\u7535\u5B50\u7B7E\u7AE0",S5="\u5355\u884C\u6587\u672C",T5="\u6570\u5B57",P5="\u4E1A\u52A1\u7EC4\u7EC7",R5="\u5355\u9009",k5="\u5BCC\u6587\u672C",O5="\u8BC4\u5206",x5="\u6570\u5B57\u533A\u95F4",M5="\u4E0B\u62C9\u5355\u9009",L5="\u4E0B\u62C9\u591A\u9009",$5="\u5173\u8054\u5355\u9009",N5="\u591A\u884C\u6587\u672C",H5="\u6811",V5="Vue\u5BB9\u5668",j5="Vue\u9875\u9762",q5="\u5728\u7EBF\u6587\u6863",W5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",z5="\u5206\u7EC4",K5="\u6805\u683C\u5217",G5="\u6570\u636E\u5BB9\u5668",Z5="\u753B\u5E03",Q5="\u6362\u884C\u5BB9\u5668",X5="\u6805\u683C\u7B49\u5206\u884C",J5="\u5217\u8868\u5BB9\u5668",Y5="\u81EA\u7531\u9875\u9762",p5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",eE="\u5B9A\u4F4D\u5BB9\u5668",tE="\u6805\u683C\u5E03\u5C40",nE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",iE="\u660E\u7EC6\u5B50\u8868\u884C",uE="\u6807\u7B7E\u9875",lE="\u6807\u7B7E\u5355\u5143",aE="\u5DE5\u5177\u680F",rE="\u6279\u91CF\u63D0\u4EA4",oE="\u5BFC\u51FA\u8BB0\u5F55",cE="\u5217\u8868\u89C6\u56FE",sE="\u5F15\u7528\u5217\u8868",dE="\u9009\u9879\u4E00",hE="\u9009\u9879\u4E8C",fE="\u9009\u9879\u4E09",yE={isNotNumber:Eb,isNotString:_b,isNotObject:Db,isNotArray:Bb,isNotBoolean:wb,runtimeRequired:Ib,pleaseEnterCaption:Ab,pleaseEnterCaptionTip:Fb,pleaseEnterRowCaption:Sb,pleaseEnterPlaceholder:Tb,pleaseEnterFieldCode:Pb,pleaseEnterForm:Rb,pleaseEnterList:kb,pleaseEnterProcess:Ob,pleaseEnterLabel:xb,pleaseEnterValue:Mb,bizKeyNotBindFiled:Lb,pleaseSelectOneField:$b,pleaseEnterNumberRange:Nb,pleaseEnterAValueGreaterThanMin:Hb,pleaseEnterAValueLessThanMax:Vb,numberRangeSetError:jb,stringRangeError:qb,attachmentMaxSize:Wb,pleaseEnterTotalScoreSetting:Ub,theTotalScoreMustNotBeLessThan1:zb,scoreDefaultValueRange:Kb,attachmentLimitError:Gb,PleaseReselectTheOptionalQuantity:Zb,TheMaximumLengthIsGreaterThanTheMinimumLength:Qb,TheMinimumLengthIsGreaterThanTheMaximumLength:Xb,PleaseSelectTheCorrectOptionSettings:Jb,optionIdIsRepeat:Yb,optionIsRequired:pb,pleaseEnterDataCode:eC,pleaseEnterValueFieldCode:tC,pleaseEnterSvcCode:nC,pleaseBindAtLeastOneDisplayValue:iC,pleaseSelectProvince:uC,pleaseSelectCity:lC,pleaseSelectDistrict:aC,limitRowsCannotBeLessThan0:rC,TheNumberOfRowsCannotBeLessThanMinRows:oC,pleaseEnterColumnWidth:cC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sC,pleaseCompleteAllRulesAndConditions:dC,pleaseSelectControl:hC,pleaseSelectDashboard:fC,theViewNameCannotBeEmpty:yC,pleaseSelectOcrType:mC,pleaseSelectAtLeastOneFieldToFillIn:vC,pleaseChooseAtLeastOne:gC,pleaseEnterButtonContent:bC,pleaseEnterDataCodeInDataSetting:CC,pleaseEnterValueFieldCodeInDataSetting:EC,pleaseEnterSvcCodeInDataSetting:_C,pleaseBindAtLeastOneDisplayValueInDataSetting:DC,rootNodeIsRequiredInDataSetting:BC,pleaseEnterMaxHeight:wC,pleaseEnter:IC,pleaseEnterWatermark:AC,pleaseEnterFileName:FC,pleaseUploadAtLeastOnePrintTemplate:SC,pleaseAssignBusiness:TC,pleaseAssignExternal:PC,pleaseEnterAliasCode:RC,pleaseSelectDataCode:kC,pleaseSelectSvcCode:OC,pleaseSelectJoinFieldCode:xC,pleaseSelectMainFieldCode:MC,pleaseSelectSortFieldCode:LC,batchDeleteButton:$C,batchPrintListButton:NC,batchPrintRecordList:HC,button:VC,createFormListButton:jC,dashboard:qC,divider:WC,exportListButton:UC,formSelectButton:zC,importRecordListButton:KC,invoiceCheckButton:GC,link:ZC,listSelectButton:QC,ListViewSelect:XC,operationButton:JC,pagination:YC,submissionRecordListButton:pC,text:e5,textOcrButton:t5,title:n5,approvalStatusColumn:i5,array:u5,autoNumber:l5,custom:a5,decimal:r5,department:o5,employee:c5,file:s5,image:d5,location:h5,operation:f5,order:y5,people:m5,long:v5,timescope:g5,timestamp:b5,varchar:C5,gridLayoutWrap:E5,gridTable:_5,subTable:D5,address:B5,amount:w5,calc:I5,checkBox:A5,electronicSignature:F5,input:S5,number:T5,organizationSelection:P5,radio:R5,richText:k5,score:O5,searchNumberRange:x5,select:M5,selectMultiple:L5,selectRelation:$5,textarea:N5,tree:H5,vueFormItem:V5,vuePage:j5,WPS:q5,actionBar:W5,advancedContainer:U5,cardGroup:z5,col:K5,dataView:G5,grid:Z5,gridLayoutContainer:Q5,gridRow:X5,listView:J5,page:Y5,position:p5,positioningContainer:eE,row:tE,subtableColumn:nE,subtableRow:iE,tab:uE,tabPane:lE,toolbox:aE,batchSubmissionListButton:rE,exportRecordListButton:oE,listViewSelect:cE,referenceList:sE,optionOne:dE,optionTwo:hE,optionThird:fE},Ou={zhCN:wv,enUS:Cb,jaJP:yE},xu,mE=(xu=window.localStorage.getItem("locale"))!==null&&xu!==void 0?xu:"zh-CN",Hn=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.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}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ut=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}({}),dr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),hr={DEFAULT:"default"},fr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vE=fr+"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?fr:vE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Mu(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 gE(t){if(Array.isArray(t))return Mu(t)}function bE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yr(t,e,n){return e=xt(e),DE(t,$u()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return $u()?Vn=Reflect.construct:Vn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Mt(h,a.prototype),h},Vn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function vr(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 CE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function EE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _E(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function DE(t,e){return e&&(BE(e)==="object"||typeof e=="function")?e:bE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function gr(t){return gE(t)||EE(t)||wE(t)||_E()}function BE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(t,e){if(!!t){if(typeof t=="string")return Mu(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 Mu(t,e)}}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!CE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Lu(t)}function $u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($u=function(){return!!t})()}var Nu=console;function Hu(){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=Nu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(gr(u)))}function br(){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=Nu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(gr(u)))}function IE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Vu=function(t){vr(e,t);function e(n){mr(this,e);var i;return i=yr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?IE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Lu(Error)),AE=function(t){vr(e,t);function e(n){mr(this,e);var i;return i=yr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Vu);function Lt(t){throw new Vu(t)}function Cr(t){throw new AE(t)}function FE(t){Nu.error(new Vu(t))}function SE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TE(t,e,n){return e&&Er(t.prototype,e),n&&Er(t,n),t}function PE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _r=function(){function t(){SE(this,t)}return TE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Ou==null||(u=Ou[mE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();PE(_r,"$i18n",_r.resetI18n());function RE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Hu("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var kE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},OE={exports:{}};(function(t){(function(e){var n=function(v,D,R){if(!h(D)||y(D)||g(D)||E(D)||s(D))return D;var T,k=0,te=0;if(d(D))for(T=[],te=D.length;k<te;k++)T.push(n(v,D[k],R));else{T={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(T[v(H,R)]=n(v,D[H],R))}return T},i=function(v,D){D=D||{};var R=D.separator||"_",T=D.split||/(?=[A-Z])/;return v.split(T).join(R)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},a=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},y=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},b=function(v,D){var R=D&&"process"in D?D.process:D;return typeof R!="function"?v:function(T,k){return R(T,v,k)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(v,D){return n(b(u,D),v)},decamelizeKeys:function(v,D){return n(b(a,D),v,D)},pascalizeKeys:function(v,D){return n(b(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(kE)})(OE);var Dr={};Object.defineProperty(Dr,"__esModule",{value:!0});function ju(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ju(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:ju(i)}return e}}var xE=Dr.default=ju;function ME(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":ME(t))==="object"?xE(t):t}function LE(t){return Object.prototype.toString.call(t)==="[object Object]"}function jn(t){return Array.isArray(t)}function $E(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function qu(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 NE(t){if(Array.isArray(t))return qu(t)}function Br(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function HE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Br(l,i,u,a,o,"next",s)}function o(s){Br(l,i,u,a,o,"throw",s)}a(void 0)})}}function VE(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 jE(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function Ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WE(){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 Wu(t){return NE(t)||qE(t)||UE(t)||WE()}function UE(t,e){if(!!t){if(typeof t=="string")return qu(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 qu(t,e)}}function zE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var KE=function(){function t(){VE(this,t),Ir(this,"_events",new Map),Ir(this,"debug",!1)}return jE(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 HE(function(){var a,o,s,h,d,y,g,E,_,b,B,v;return zE(this,function(D){switch(D.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,y=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&br.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(Wu(u))),[4,_.apply(null,Wu(u))];case 4:return b=D.sent(),this.debug&&br.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(Wu(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return B=D.sent(),FE(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,y=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw y}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 GE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ZE(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function QE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var XE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],JE=function(){function t(){GE(this,t)}return ZE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();QE(JE,"events",XE);function Uu(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 YE(t){if(Array.isArray(t))return Uu(t)}function pE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function e_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(t){return YE(t)||pE(t)||t_(t)||e_()}function t_(t,e){if(!!t){if(typeof t=="string")return Uu(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 Uu(t,e)}}function zu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Sr(t,e,n){n!=="Runtime"&&(t.parent=e,zu(t,"parent"))}function n_(t,e,n){t.forEach(function(i){Sr(i,e,n)})}var Tr=Symbol("targetKey");function Pr(t){var e;return(e=t[Tr])!==null&&e!==void 0?e:t}function Rr(t,e,n){return n_(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];var h;return l===Tr?u:(h=Reflect).get.apply(h,[u,l].concat(Fr(o)))},set:function(u,l,a){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(jn(t)&&l==="length"&&a===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,l,a].concat(Fr(s)));return LE(a)&&Sr(a,e,n),y}})}function se(t,e,n,i,u){var l=i!=null?i:t,a=Rr(Pr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Rr(Pr(s),l,u)},enumerable:!0})}function i_(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 u_(t,e,n){return e&&kr(t.prototype,e),n&&kr(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 Or=[],qn=function(){function t(e){i_(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 u_(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&&(Hu("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===Hn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Hn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Hn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Hn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Lt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),zu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var s=a[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),y=o[s]||[],g;return y.length!==h.length?g=y[0]:g=y[d],g}}}}),zu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var a=new u(i);l=Array.from(a)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,a=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Hu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();Be(qn,"staticControlsRuntimeRules",new Map),Be(qn,"staticControls",Or),Be(qn,"staticRegisteredTypes",new Set(Or.map(function(t){return t.Designer.controlType}))),Be(qn,"staticRegisteredConfigs",new Map);function l_(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=Wn(e),a_(t,xr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(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&&Ku(t,e)}function a_(t,e){return e&&(r_(e)==="object"||typeof e=="function")?e:l_(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function r_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var he=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Mr=function t(e){w(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Lr=function t(e){w(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},o_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Lr(e==null?void 0:e.pc),this.mobile=new Lr(e==null?void 0:e.mobile)},Gu=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Mr),c_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Gu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Gu(e==null?void 0:e.mobile):new Gu({width:130,minWidth:180})},s_=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lt=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},d_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(lt),$r=function t(e){w(this,t);var n,i;f(this,"fieldCode",void 0),f(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Zu=function t(e){w(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new $r(a)}))!==null&&u!==void 0?u:[]},h_=function t(e){w(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},f_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(lt),y_=function t(e){w(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new lt(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new h_(a)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new f_(a)}))!==null&&i!==void 0?i:[]},m_=function t(e){w(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Un=function t(e){var n=this;w(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,y=new $t(o);(d=n.children)===null||d===void 0||d.push(y)}}))},$t=function t(e){w(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new m_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},v_=function t(e){w(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},p=function t(e){w(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},Qu=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},g_=function t(e){w(this,t);var n,i;f(this,"columnName",void 0),f(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Xu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Un(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 Un(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new g_(o)}))!==null&&i!==void 0?i:[]}var X=function t(e){var n=this;w(this,t);var i,u,l,a,o,s,h,d;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(y){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Qu(y))})),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,Xu.call(this,e)},Ju=function t(e){w(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){w(this,t);var n,i,u,l,a,o,s,h,d,y;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(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=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},Nr=function t(e){w(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new Qu(a)}))!==null&&u!==void 0?u:[]},zn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new Nr(a)}))!==null&&u!==void 0?u:[],i}return e}(X),b_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new Nr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(X),Kn=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(zn),Hr=function t(e){w(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new p(a)}))!==null&&u!==void 0?u:[]},Vr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Xu.call(i,n),i}return e}(Hr),jr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Hr),qr=function t(e){w(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Wr=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),f(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:""},C_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Wr);function ve(t){var e;return(e=t==null?void 0:t.map(function(n){return new Wr(n)}))!==null&&e!==void 0?e:[]}function Ur(t){var e;return(e=t==null?void 0:t.map(function(n){return new C_(n)}))!==null&&e!==void 0?e:[]}var Yu=function t(){w(this,t)},E_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Yu),__=function t(e){w(this,t);var n,i;f(this,"amount",void 0),f(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},zr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Yu),Kr=function t(e){w(this,t);var n,i;f(this,"min",void 0),f(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},D_=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},B_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Yu),w_=function t(e){w(this,t);var n,i;f(this,"result",void 0),f(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},I_=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}({}),A_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},F_=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new $r(a)}))!==null&&u!==void 0?u:[],Xu.call(this,e)},S_=function t(e){w(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},T_=function t(e){w(this,t);var n,i;f(this,"optCode",void 0),f(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},P_=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new Un(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 R_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},R_=function t(e){w(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},k_=function t(e){w(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new P_(a)}))!==null&&u!==void 0?u:[]:[]},O_=function t(e){w(this,t);var n,i,u,l,a;f(this,"groupDefaultExpanded",void 0),f(this,"suppressCount",void 0),f(this,"groupFields",void 0),f(this,"groupHeaderName",void 0),f(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(a=e==null?void 0:e.showFooterStatistics)!==null&&a!==void 0?a:!1},x_=function t(e){w(this,t);var n;f(this,"datasourceBind",void 0),f(this,"headers",void 0),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},M_=function t(e){w(this,t);var n,i,u,l;f(this,"marginTop",void 0),f(this,"marginRight",void 0),f(this,"marginBottom",void 0),f(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:""},L_=function t(e){w(this,t);var n,i,u,l;f(this,"paddingTop",void 0),f(this,"paddingRight",void 0),f(this,"paddingBottom",void 0),f(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:""},$_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.09bf1774579034724")},N_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.39131774579036296")},H_=function t(e){w(this,t),f(this,"prev",void 0),f(this,"next",void 0),this.prev=new $_(e==null?void 0:e.prev),this.next=new N_(e==null?void 0:e.next)};function V_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j_(t,e,n){return e=Nt(e),U_(t,tl()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e,n){return tl()?Gn=Reflect.construct:Gn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Ht(h,a.prototype),h},Gn.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 q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function W_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function U_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:V_(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function el(t){var e=typeof Map=="function"?new Map:void 0;return el=function(i){if(i===null||!W_(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 Gn(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},el(t)}function tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!t})()}var U=function t(e){pu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){q_(e,t);function e(n){return pu(this,e),j_(this,e)}return e}(el(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";pu(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 S_(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",U),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 K_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function Zn(t,e){return Zn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zn(t,e)}function G_(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Qn(t,e,n){return G_()?Qn=Reflect.construct:Qn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Zn(h,a.prototype),h},Qn.apply(null,arguments)}function Z_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function il(t){var e=typeof Map=="function"?new Map:void 0;return il=function(i){if(i===null||!Z_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Qn(i,arguments,nl(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Zn(u,i)},il(t)}var Q_=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ul(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Q_,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return a}return u}function X_(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||X_(e)&&typeof t=="string"&&!t)}function J_(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Zr(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function Y_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){K_(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}(il(Error));function p_(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var E=function(B){return i(B),B.length?g(new Qr(B,ul(B))):y()},_=Y_(t);Zr(_,n,E)});return u.catch(function(y){return y}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,s=0,h=[],d=new Promise(function(y,g){var E=function(b){if(h.push.apply(h,b),s++,s===o)return i(h),h.length?g(new Qr(h,ul(h))):y()};a.length||(i(h),y()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?Zr(b,n,E):J_(b,n,E)})});return d.catch(function(y){return y}),d}function Xr(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 Jr(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 Yr(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 e7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var ll={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(ll.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ll.url)},hex:function(e){return typeof e=="string"&&!!e.match(ll.hex)}};function t7(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?Vt[a](e)||i.push(ne(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ne(u.messages.types[a],t.fullField,t.type))}function n7(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,y=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(y?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var at="enum";function i7(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(ne(u.messages[at],t.fullField,t[at].join(", ")))}function u7(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 F={required:Yr,whitespace:e7,type:t7,range:n7,enum:i7,pattern:u7};function l7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();F.required(t,e,i,l,u,"string"),G(e,"string")||(F.type(t,e,i,l,u),F.range(t,e,i,l,u),F.pattern(t,e,i,l,u),t.whitespace===!0&&F.whitespace(t,e,i,l,u))}n(l)}function a7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}function r7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function o7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}function c7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),G(e)||F.type(t,e,i,l,u)}n(l)}function s7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function d7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function h7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();F.required(t,e,i,l,u,"array"),e!=null&&(F.type(t,e,i,l,u),F.range(t,e,i,l,u))}n(l)}function f7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F.type(t,e,i,l,u)}n(l)}var y7="enum";function m7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u),e!==void 0&&F[y7](t,e,i,l,u)}n(l)}function v7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();F.required(t,e,i,l,u),G(e,"string")||F.pattern(t,e,i,l,u)}n(l)}function g7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"date")&&!t.required)return n();if(F.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),F.type(t,o,i,l,u),o&&F.range(t,o.getTime(),i,l,u)}}n(l)}function b7(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;F.required(t,e,i,l,u,a),n(l)}function al(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();F.required(t,e,i,a,u,l),G(e,l)||F.type(t,e,i,a,u)}n(a)}function C7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();F.required(t,e,i,l,u)}n(l)}var jt={string:l7,method:a7,number:r7,boolean:o7,regexp:c7,integer:s7,float:d7,array:h7,object:f7,enum:m7,pattern:v7,date:g7,url:al,hex:al,email:al,required:b7,any:C7};function rl(){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 ol=rl();function Ae(t){this.rules=null,this._messages=ol,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=Jr(rl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(b){var B,v=[],D={};function R(T){if(Array.isArray(T)){var k;v=(k=v).concat.apply(k,T)}else v.push(T)}for(B=0;B<b.length;B++)R(b[B]);v.length?D=ul(v):(v=null,D=null),o(v,D)}if(a.messages){var h=this.messages();h===ol&&(h=rl()),Jr(h,a.messages),a.messages=h}else a.messages=this.messages();var d,y,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],y=l[b],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),y=l[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=u.getType(v),v.validator&&(g[b]=g[b]||[],g[b].push({rule:v,value:y,source:l,field:b}))})});var _={};return p_(g,a,function(b,B){var v=b.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&b.value),v.field=b.field;function R(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function T(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!a.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(Xr(v)),a.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!b.value)return v.message!==void 0?H=[].concat(v.message).map(Xr(v)):a.error&&(H=[a.error(v,ne(a.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Ln in b.value)b.value.hasOwnProperty(Ln)&&(le[Ln]=v.defaultField);le=fe(fe({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Tu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Tu.map(R.bind(null,_e))}var $n=new Ae(le);$n.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),$n.validate(b.value,b.rule.options||a,function(Rt){var De=[];H&&H.length&&De.push.apply(De,H),Rt&&Rt.length&&De.push.apply(De,Rt),B(De.length?De:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,b.value,T,b.source,a):v.validator&&(k=v.validator(v,b.value,T,b.source,a),k===!0?T():k===!1?T(v.message||v.field+" fails"):k instanceof Array?T(k):k instanceof Error&&T(k.message)),k&&k.then&&k.then(function(){return T()},function(te){return T(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!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=Gr,Ae.messages=ol,Ae.validators=jt;var E7={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function _7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(E7,e)),n}var D7=new KE;function cl(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 B7(t){if(Array.isArray(t))return t}function w7(t){if(Array.isArray(t))return cl(t)}function pr(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function eo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){pr(l,i,u,a,o,"next",s)}function o(s){pr(l,i,u,a,o,"throw",s)}a(void 0)})}}function I7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(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 A7(t,e,n){return e&&to(t.prototype,e),n&&to(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 no(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function io(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F7(){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 S7(){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 uo(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 T7(t){return B7(t)||io(t)||lo(t)||F7()}function sl(t){return w7(t)||io(t)||lo(t)||S7()}function P7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(t,e){if(!!t){if(typeof t=="string")return cl(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 cl(t,e)}}function ao(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],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;I7(this,e);var u,l,a,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",oo),M(this,"removeSetting",ro),this._callControlHooks("preInstance",n);var s=no(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,y=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&y||Cr("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:y,this.props=new j(n==null?void 0:n.props,(no(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return A7(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var a,o=T7(u),s=o[0],h=o.slice(1);return(a=D7).emit.apply(a,[s,this].concat(sl(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),RE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return eo(function(){var i,u,l;return ao(this,function(a){switch(a.label){case 0:return i=uo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return eo(function(){var l,a,o,s;return ao(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:uo({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),o=_7(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,y=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:y,type:a,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),b!==void 0&&(v.encrypted=b),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,sl(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",r("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",ro),M(L,"updateSettingItem",oo);function ro(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,s;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((s=e.setting[a].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(a,1)}})}function oo(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":P7(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,sl(e.showItems))}}}})}function R7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function k7(t,e,n){return e&&co(t.prototype,e),n&&co(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 O7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){R7(this,e);var i,u,l,a,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=O7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,y=s.name,g=s.controlCustomEvents;h||Cr("The ".concat(y," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:A_.UNKNOWN}return k7(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 dl(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),a=$E(l);l.length!==a.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,a){l.length===0&&a(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function x7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function M7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jn(t,e,n){return e=pn(e),L7(t,so()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function Yn(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 pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function ei(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 L7(t,e){return e&&($7(e)==="object"||typeof e=="function")?e:M7(t)}function hl(t,e){return hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hl(t,e)}function $7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var z=function(t){ei(e,t);function e(n){Yn(this,e);var i;i=Jn(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(x7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),N=function(t){ei(e,t);function e(n){Yn(this,e);var i;i=Jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){ei(e,t);function e(n){Yn(this,e);var i,u,l,a,o,s,h,d,y,g,E,_,b,B;return i=Jn(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(a=n==null?void 0:n.captionColor)!==null&&a!==void 0?a:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"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=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(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",z),V(A,"RuntimeRules",N);var rt=function(t){ei(e,t);function e(n){Yn(this,e);var i;return i=Jn(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),dl.call(i,n),i}return e}(z);function N7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H7(t,e,n){return e=ni(e),q7(t,ho()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function V7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function j7(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 q7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:N7(t)}function fl(t,e){return fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fl(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var S=function(t){j7(e,t);function e(n){V7(this,e);var i;return i=H7(this,e,[n]),ti(i,"controlType","form"),ti(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(L);ti(S,"controlEventKeys",["on_change","on_focus","on_blur"]),ti(S,"controlCustomAttributes",void 0);function U7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=ii(e),Z7(t,fo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function K7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function G7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ml(t,e)}function Z7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:U7(t)}function ml(t,e){return ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ml(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var P=function(t){G7(e,t);function e(n){K7(this,e);var i;return i=z7(this,e,[n]),yl(i,"controlType","form"),yl(i,"props",void 0),yl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(q);function X7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J7(t,e,n){return e=ui(e),e6(t,yo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function Y7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function p7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vl(t,e)}function e6(t,e){return e&&(t6(e)==="object"||typeof e=="function")?e:X7(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function t6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var O=function(t){p7(e,t);function e(n){return Y7(this,e),J7(this,e,[n])}return e}(j);function gl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function n6(t){if(Array.isArray(t))return gl(t)}function i6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mo(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function u6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){mo(l,i,u,a,o,"next",s)}function o(s){mo(l,i,u,a,o,"throw",s)}a(void 0)})}}function l6(t,e,n){return e=Se(e),m6(t,bo()?Reflect.construct(e,n||[],Se(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 vo(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 r6(t,e,n){return e&&vo(t.prototype,e),n&&vo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,a){var o=v6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function o6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bl(t,e)}function c6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function s6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d6(){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 h6(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 f6(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 y6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function m6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:i6(t)}function bl(t,e){return bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bl(t,e)}function v6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function go(t){return n6(t)||s6(t)||b6(t)||d6()}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b6(t,e){if(!!t){if(typeof t=="string")return gl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(t,e)}}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}function C6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var E6=1e4,x=function(e){o6(n,e);function n(i){a6(this,n);var u;u=l6(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=c6(this,n)?this.constructor:void 0,a=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(a),u.childrenMaxLength=o,u}return r6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,s=function(){return ot(Se(n.prototype),"validate",a)};return u6(function(){return C6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(y){return!!y});return go(o).concat(go(d))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return y6(h6({},u),{children:l})}}]),n}(L);Fe(x,"excludes",!1),Fe(x,"childrenMaxLength",E6);function _6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D6(t,e,n){return e=li(e),I6(t,Co()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function B6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function w6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&El(t,e)}function I6(t,e){return e&&(A6(e)==="object"||typeof e=="function")?e:_6(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function A6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Co=function(){return!!t})()}var $=function(t){w6(e,t);function e(n){B6(this,e);var i;return i=D6(this,e,[n]),Cl(i,"controlType","layout"),Cl(i,"children",void 0),Cl(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 F6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S6(t,e,n){return e=ai(e),R6(t,Eo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function T6(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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function P6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_l(t,e)}function R6(t,e){return e&&(k6(e)==="object"||typeof e=="function")?e:F6(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function k6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}var ri=function(t){P6(e,t);function e(n,i,u){T6(this,e);var l,a,o,s,h;return l=S6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Dl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function O6(t){if(Array.isArray(t))return Dl(t)}function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _o(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function M6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){_o(l,i,u,a,o,"next",s)}function o(s){_o(l,i,u,a,o,"throw",s)}a(void 0)})}}function L6(t,e,n){return e=Te(e),W6(t,Ao()?Reflect.construct(e,n||[],Te(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 Do(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 N6(t,e,n){return e&&Do(t.prototype,e),n&&Do(t,n),t}function oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,a){var o=U6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function H6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bl(t,e)}function V6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function j6(){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 Bo(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){oi(t,u,n[u])})}return t}function q6(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 wo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):q6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function W6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:x6(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function U6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Io(t){return O6(t)||V6(t)||K6(t)||j6()}function z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K6(t,e){if(!!t){if(typeof t=="string")return Dl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dl(t,e)}}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}function G6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var wl=function(t){H6(e,t);function e(n){$6(this,e);var i;return i=L6(this,e,[n]),oi(i,"controlType","list"),oi(i,"props",void 0),i.props=new ri(i,n==null?void 0:n.props,"Designer"),i}return N6(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return st(Te(e.prototype),"validate",l)};return M6(function(){return G6(this,function(s){switch(s.label){case 0:return[4,o().call(a,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Io(a).concat(Io(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return wo(Bo({},i),{props:wo(Bo({},this.props),{headers:u})})}}]),e}(L);oi(wl,"controlFieldType",C.LIST);function Z6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q6(t,e,n){return e=ci(e),p6(t,So()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function X6(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 J6(t,e,n){return e&&Fo(t.prototype,e),n&&Fo(t,n),t}function Il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function Y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Al(t,e)}function p6(t,e){return e&&(eD(e)==="object"||typeof e=="function")?e:Z6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function eD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(So=function(){return!!t})()}var To=function(t){Y6(e,t);function e(n){X6(this,e);var i;return i=Q6(this,e,[n]),Il(i,"controlType","list"),Il(i,"children",void 0),Il(i,"props",void 0),i.props=new ri(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return J6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function tD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fl(t,e,n){return e=si(e),nD(t,Po()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function Sl(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function Tl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function nD(t,e){return e&&(iD(e)==="object"||typeof e=="function")?e:tD(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function iD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var be=function(t){Tl(e,t);function e(n){Sl(this,e);var i;return i=Fl(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){Tl(e,t);function e(n){Sl(this,e);var i,u,l,a,o,s;return i=Fl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",i.autoWidth=new Mr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(W,"Rules",be);var Rl=function(t){Tl(e,t);function e(n){Sl(this,e);var i;return i=Fl(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),dl.call(i,n),i}return e}(be);function uD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lD(t,e,n){return e=dt(e),hD(t,ko()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function aD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function rD(t,e,n){return e&&Ro(t.prototype,e),n&&Ro(t,n),t}function di(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(u,l,a){var o=fD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},hi(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(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&&kl(t,e)}function cD(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){di(t,u,n[u])})}return t}function sD(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 dD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function hD(t,e){return e&&(yD(e)==="object"||typeof e=="function")?e:uD(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kl(t,e)}function fD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function yD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var Z=function(t){oD(e,t);function e(n){aD(this,e);var i;return i=lD(this,e,[n]),di(i,"controlType","column"),di(i,"props",void 0),di(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return rD(e,[{key:"toSchema",value:function(){var i=hi(dt(e.prototype),"toSchema",this).call(this);return dD(cD({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(L);function mD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vD(t,e,n){return e=fi(e),CD(t,Oo()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function gD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function bD(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 CD(t,e){return e&&(ED(e)==="object"||typeof e=="function")?e:mD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function ED(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var Q=function(t){bD(e,t);function e(n){gD(this,e);var i;return i=vD(this,e,[n]),Ol(i,"controlType","column"),Ol(i,"props",void 0),Ol(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function _D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DD(t,e,n){return e=yi(e),AD(t,xo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function BD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wD(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 ID(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ml(t,e)}function AD(t,e){return e&&(FD(e)==="object"||typeof e=="function")?e:_D(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ml(t,e)}function FD(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 Ll=function(t){ID(e,t);function e(n){BD(this,e);var i;return i=DD(this,e,[n]),wD(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(O);function SD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TD(t,e,n){return e=mi(e),kD(t,Lo()?Reflect.construct(e,n||[],mi(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 Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function RD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$l(t,e)}function kD(t,e){return e&&(OD(e)==="object"||typeof e=="function")?e:SD(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$l(t,e)}function OD(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 xD=function(t){RD(e,t);function e(n){PD(this,e);var i;return i=TD(this,e,[n]),Mo(i,"controlType","search"),Mo(i,"props",void 0),i.props=new Ll(n==null?void 0:n.props),i}return e}(x);function MD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LD(t,e,n){return e=vi(e),HD(t,No()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function $D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(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){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function ND(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 HD(t,e){return e&&(VD(e)==="object"||typeof e=="function")?e:MD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function VD(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 jD=function(t){ND(e,t);function e(n){$D(this,e);var i;return i=LD(this,e,[n]),$o(i,"controlType","search"),$o(i,"props",void 0),i.props=new Ll(n==null?void 0:n.props),i}return e}($);function qD(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),KD(t,Ho()?Reflect.construct(e,n||[],gi(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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function zD(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 KD(t,e){return e&&(GD(e)==="object"||typeof e=="function")?e:qD(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hl(t,e)}function GD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}var Vl=function(t){zD(e,t);function e(n){return UD(this,e),WD(this,e,[n])}return e}(O);function ZD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QD(t,e,n){return e=bi(e),YD(t,jo()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function XD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vo(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 JD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jl(t,e)}function YD(t,e){return e&&(pD(e)==="object"||typeof e=="function")?e:ZD(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jl(t,e)}function pD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jo=function(){return!!t})()}var eB=function(t){JD(e,t);function e(n){XD(this,e);var i;return i=QD(this,e,[n]),Vo(i,"controlType","wrap"),Vo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(x);function tB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nB(t,e,n){return e=Ci(e),lB(t,Wo()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function iB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function uB(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 lB(t,e){return e&&(aB(e)==="object"||typeof e=="function")?e:tB(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function aB(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 rB=function(t){uB(e,t);function e(n){iB(this,e);var i;return i=nB(this,e,[n]),qo(i,"controlType","wrap"),qo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Wl extends j{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(a=e==null?void 0:e.aiContentSearch)!=null?a:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class Uo extends L{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Uo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class oB extends q{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}static get controlType(){return"text"}}var zo={Designer:Uo,Runtime:oB,Property:Wl};class Ul extends j{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class zl extends L{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}zl.controlEventKeys=["on_click"],zl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.90741774578992730"),default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:r("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:r("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class cB extends q{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ko={Designer:zl,Runtime:cB,Property:Ul};class ee extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new T_((d=e==null?void 0:e.optObj)!=null?d:{})}}class Y extends L{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",hr.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[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 Go={Designer:Y,Runtime:ue,Property:ee},Re=(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))(Re||{}),Zo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Zo||{}),Qo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Qo||{});class Ei{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 Kl{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 Gl=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Gl||{});class _i{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 Zl=(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))(Zl||{}),Ql=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(Ql||{});class Xl{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(y=e==null?void 0:e.signaturePosition)!=null?y:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class Xo{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Xl(s)))!=null?u:[new Xl],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,a,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Jl{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 Jo{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 Jl(e==null?void 0:e.watermark),this.autoRename=new Jl(e==null?void 0:e.autoRename)}}class Yl{constructor(e){var n,i,u,l,a,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class pl{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 Yo{constructor(e){this.dataCode=e.dataCode}}class po{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 Yo(l)))!=null?u:[]}}class ec{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new qt(l)))!=null?u:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const tc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class nc{constructor(e){var n,i,u,l,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class ic{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 uc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(uc||{}),ea=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ea||{}),Di=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Di||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),ta=(t=>(t.ALL="all",t.ADMIN="admin",t))(ta||{}),na=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(na||{});class ia extends j{constructor(e){var n,i,u,l,a,o;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Zl.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(a=e==null?void 0:e.captionFontWeight)!=null?a:Ql.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class lc extends L{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}lc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.30971774578990996"),default:"left",options:[{value:"left",label:r("CMD.77f61774579023852")},{value:"center",label:r("CMD.c2061774579037651")},{value:"right",label:r("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:r("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:r("CMD.2bfb1774579038746")},{value:"middle",label:r("CMD.9e231774579040279")},{value:"bottom",label:r("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class sB extends q{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ac={Designer:lc,Runtime:sB,Property:ia};class dB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Bi extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.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"}}Bi.Rules=dB;class ht extends L{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=C.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 hB extends q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"title"}}var rc={Designer:ht,Runtime:hB,Property:Bi};class fB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class wi extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}wi.Rules=fB;class ft extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yB extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var oc={Designer:ft,Runtime:yB,Property:wi};class mB extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ii extends ee{constructor(e){var n,i,u,l,a,o;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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ii.Rules=mB;class yt extends Y{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 vB extends ue{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var cc={Designer:yt,Runtime:vB,Property:Ii};class ua 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 Y{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class gB extends ue{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var sc={Designer:mt,Runtime:gB,Property:ua};class la extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?a:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class bB extends ue{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var dc={Designer:vt,Runtime:bB,Property:la};class aa 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 Y{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class CB extends ue{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var hc={Designer:gt,Runtime:CB,Property:aa};class EB{constructor(e){this.dataCode=e.dataCode}}class ra extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new EB(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class bt extends Y{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class _B extends ue{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var fc={Designer:bt,Runtime:_B,Property:ra};function Ai(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class DB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ai())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ai())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Fi 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 Vr(e==null?void 0:e.fillPayload),this.formBind=new d_(e==null?void 0:e.formBind),this.fillBack=new jr(e==null?void 0:e.fillBack)}}Fi.Rules=DB;class Ut extends Y{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class BB extends ue{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var yc={Designer:Ut,Runtime:BB,Property:Fi};class wB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ai())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ai())}}}class Si extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Vr(e==null?void 0:e.fillPayload),this.listPageBind=new Zu(e==null?void 0:e.listPageBind),this.fillBack=new jr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ju(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Si.Rules=wB;class zt extends Y{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class IB extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var mc={Designer:zt,Runtime:IB,Property:Si};class AB extends U{constructor(e){super(e)}}class FB extends Me{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=AB,Kt.RuntimeRules=FB;class vc extends L{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}vc.setting=[];class SB extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var gc={Designer:vc,Runtime:SB,Property:Kt};class TB extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends j{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Ti.Rules=TB;class bc extends L{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}bc.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 PB extends q{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Cc={Designer:bc,Runtime:PB,Property:Ti};class RB extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Pi 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 F_(l)))!=null?u:[]}}Pi.Rules=RB;class Ec extends L{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Ec.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kB extends q{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var _c={Designer:Ec,Runtime:kB,Property:Pi};class OB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new p(g)))!=null?y:[]}}Ri.Rules=OB;class Ct extends Y{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Dc={Designer:Ct,Runtime:xB,Property:Ri};class MB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new p(g)))!=null?y:[]}}ki.Rules=MB;class Et extends Y{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class LB extends ue{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Bc={Designer:Et,Runtime:LB,Property:ki};class $B extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Oi extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new nc(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Oi.Rules=$B;class _t extends Y{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class NB extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var wc={Designer:_t,Runtime:NB,Property:Oi};class oa 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 Y{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class HB extends ue{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ic={Designer:Dt,Runtime:HB,Property:oa};class VB extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class xi extends j{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}xi.Rules=VB;class Mi extends L{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Mi.controlEventKeys=["on_click"],Mi.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 jB extends q{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ac={Designer:Mi,Runtime:jB,Property:xi};class ca extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends L{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class qB extends q{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Fc={Designer:Bt,Runtime:qB,Property:ca};class WB extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Li extends j{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$i.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new Yl(e==null?void 0:e.actionSetting))!=null?a:new Yl,this.listHeightSetting=(o=new pl(e==null?void 0:e.listHeightSetting))!=null?o:new pl}}Li.Rules=WB;class $i extends L{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}$i.controlEventKeys=["on_list_rowclick"],$i.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 UB extends q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Sc={Designer:$i,Runtime:UB,Property:Li};class sa 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 Tc extends L{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Tc.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 zB extends q{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Pc={Designer:Tc,Runtime:zB,Property:sa},KB=Object.freeze({__proto__:null,Text:zo,Link:Ko,Button:Go,Divider:ac,Title:rc,CreateFormListButton:oc,BatchSubmissionListButton:cc,SubmissionRecordListButton:sc,ExportListButton:dc,ExportRecordListButton:hc,ImportRecordListButton:fc,FormSelectButton:yc,ListSelectButton:mc,Pagination:gc,Dashboard:Cc,ListViewSelect:_c,TextOcrButton:Dc,InvoiceCheckButton:Bc,BatchPrintListButton:wc,BatchPrintRecordListButton:Ic,OperationButton:Ac,BatchDeleteButton:Fc,ReferenceList:Sc,CommentControl:Pc});class GB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ZB extends N{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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 qr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}wt.Rules=GB,wt.RuntimeRules=ZB;class It extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.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 Rc extends P{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Rc.controlFieldType=C.VARCHAR;var kc={Designer:It,Runtime:Rc,Property:wt};class QB extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class XB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new X(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=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new p(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=QB,Gt.RuntimeRules=XB;class Zt extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.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 Oc extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Oc.controlFieldType=C.ARRAY;var xc={Designer:Zt,Runtime:Oc,Property:Gt};class da extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(a=e==null?void 0:e.expandTrigger)!=null?a:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(y=e==null?void 0:e.optionConfig)!=null?y:"custom",this.datasourceBind=new Kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new Kn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new p(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class Le extends S{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return r("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Le.controlEventKeys=["on_change","on_focus","on_blur"],Le.controlFieldType=C.ARRAY,Le.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 Mc extends P{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Mc.controlFieldType=C.VARCHAR;var Lc={Designer:Le,Runtime:Mc,Property:da};class JB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.max={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class YB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Qt extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(a=e==null?void 0:e.max)!=null?a:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Qt.Rules=JB,Qt.RuntimeRules=YB;class Xt extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.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 $c extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"counter"}}$c.controlFieldType=C.DECIMAL;var Nc={Designer:Xt,Runtime:$c,Property:Qt};class pB extends rt{constructor(e){super(e)}}class Ni extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new X(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=(y=e==null?void 0:e.defaultValue)!=null?y:"",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 p(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Ni.Rules=pB;class Jt extends S{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=C.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:r("CMD.a1171774579045618")},{value:"button",label:r("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"radio"}}Hc.controlFieldType=C.VARCHAR;var Vc={Designer:Jt,Runtime:Hc,Property:Ni};class ew extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(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=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new qr(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=ew,Yt.RuntimeRules=tw;class pt extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=C.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 jc extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}jc.controlFieldType=C.DECIMAL;var qc={Designer:pt,Runtime:jc,Property:Yt};class nw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class iw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?r("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?r("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):r("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,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(a=e==null?void 0:e.step)!=null?a:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.controls=(s=e==null?void 0:e.controls)!=null?s:!0}}en.Rules=nw,en.RuntimeRules=iw;class tn extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("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=C.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:"common-switch",visible:!0,name:"showTooltip",label:r("CMD.showPromptLabel",null,"\u662F\u5426\u663E\u793A\u63D0\u793A\u6807\u7B7E"),default:!0},{key:"super-setting",visible:!0}];class Wc extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Wc.controlFieldType=C.DECIMAL;var Uc={Designer:tn,Runtime:Wc,Property:en};class ha extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Hi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Ei(B)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Hi extends S{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Hi.controlFieldType=C.TIMESTAMP,Hi.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 zc extends P{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}zc.controlFieldType=C.TIMESTAMP;var Kc={Designer:Hi,Runtime:zc,Property:ha};class uw extends N{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 Vi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.dataBind=new zr(e==null?void 0:e.dataBind),this.defaultValue=new Kr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:ji.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Ei(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Vi.RuntimeRules=uw;class ji extends S{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}ji.controlFieldType=C.TIMESCOPE,ji.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 Gc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Gc.controlFieldType=C.TIMESCOPE;var Zc={Designer:ji,Runtime:Gc,Property:Vi};class fa extends A{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:dr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:qi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.c9dc1774578987545"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new Kl(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class qi extends S{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}qi.controlFieldType=C.TIMESTAMP,qi.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 Qc extends P{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Qc.controlFieldType=C.TIMESTAMP;var Xc={Designer:qi,Runtime:Qc,Property:fa};class lw extends N{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 Wi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.dataBind=new zr(e==null?void 0:e.dataBind),this.defaultValue=new Kr(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:dr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Ui.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new Kl(g)))!=null?d:[],this.isInternational=(y=e==null?void 0:e.isInternational)!=null?y:!1}}Wi.RuntimeRules=lw;class Ui extends S{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Ui.controlFieldType=C.TIMESCOPE,Ui.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:r("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:r("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Jc.controlFieldType=C.TIMESCOPE;var Yc={Designer:Ui,Runtime:Jc,Property:Wi};class aw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class rw extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class nn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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:un.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new o_(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=Ur((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}nn.Rules=aw,nn.RuntimeRules=rw;class un extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=C.TEXT,un.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 pc extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}pc.controlFieldType=C.TEXT;var es={Designer:un,Runtime:pc,Property:nn};class ow extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class cw extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class ln extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y;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:an.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Ur((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}ln.Rules=ow,ln.RuntimeRules=cw;class an extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=C.TEXT,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:"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 ts extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ts.controlFieldType=C.TEXT;var ns={Designer:an,Runtime:ts,Property:ln};class sw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ki.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new p(_))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}zi.Rules=sw;class Ki extends S{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Ki.controlFieldType=C.VARCHAR,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:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.de501774578997633"),default:"default",options:[{value:"default",label:r("CMD.10a31774579045620")},{value:"button",label:r("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select"}}is.controlFieldType=C.VARCHAR;var us={Designer:Ki,Runtime:is,Property:zi};class dw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class hw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class rn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Gi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}rn.Rules=dw,rn.RuntimeRules=hw;class Gi extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Gi.controlFieldType=C.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:r("CMD.6e971774579045621")},{value:"button",label:r("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ls extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ls.controlFieldType=C.ARRAY;var as={Designer:Gi,Runtime:ls,Property:rn};class fw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zi extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Qi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new p(y))}))}}Zi.RuntimeRules=fw;class Qi extends S{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qi.controlFieldType=C.EMPLOYEES,Qi.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 rs extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"employee"}}rs.controlFieldType=C.EMPLOYEES;var os={Designer:Qi,Runtime:rs,Property:Zi};const yw=10485760,mw=104857600,vw=1048576e3;class gw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:vw,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class bw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:mw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(y=e==null?void 0:e.isShowWatermark)!=null?y:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=gw,At.RuntimeRules=bw;class Ft extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.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 ya extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ya.controlFieldType=C.FILE;var cs={Designer:Ft,Runtime:ya,Property:At};const Cw=10485760,Ew=31457280;class _w extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Ew,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class Xi extends At{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ji.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:na.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:Cw}}Xi.Rules=_w;class Ji extends Ft{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ji.controlFieldType=C.IMAGE,Ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Dw extends ya{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"image"}}var ss={Designer:Ji,Runtime:Dw,Property:Xi};class Bw extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class ww extends N{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:[or(it({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class on extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new E_(e==null?void 0:e.dataBind),this.datasourceBind=new X((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Qu({value:"name"})]}),this.defaultValue=new __((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:I_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=ve(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:cn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}on.Rules=Bw,on.RuntimeRules=ww;class cn extends S{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=C.MONEY,cn.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 ds extends P{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}ds.controlFieldType=C.MONEY;var hs={Designer:cn,Runtime:ds,Property:on};class Iw extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Aw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class sn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Gl.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(y=>new _i(y)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new _i),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:dn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}sn.Rules=Iw,sn.RuntimeRules=Aw;class dn extends S{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new _i);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=C.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:r("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:r("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fs extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}fs.controlFieldType=C.DECIMAL;var ys={Designer:dn,Runtime:fs,Property:sn};class Fw extends N{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Yi extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pi.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 D_((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Yi.RuntimeRules=Fw;class pi extends S{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}pi.controlFieldType=C.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ms extends P{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}ms.controlFieldType=C.ADDRESS;var vs={Designer:pi,Runtime:ms,Property:Yi};class Sw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class eu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:hn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}eu.RuntimeRules=Sw;class hn extends S{constructor(e){super(e),this.props=new eu(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}}hn.controlName=r("CMD.department",null,"\u90E8\u95E8"),hn.controlFieldType=C.DEPARTMENTS,hn.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 gs extends P{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"department"}}gs.controlFieldType=C.DEPARTMENTS;var bs={Designer:hn,Runtime:gs,Property:eu};class ma 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:fn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class fn extends S{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}fn.controlEventKeys=["on_change"],fn.controlFieldType=C.AUTO_NUMBER,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[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 Cs extends P{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Cs.controlFieldType=C.AUTO_NUMBER;var Es={Designer:fn,Runtime:Cs,Property:ma};class Tw extends z{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 Pw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class yn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new B_(e==null?void 0:e.dataBind),this.defaultValue=new w_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:mn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}yn.Rules=Tw,yn.RuntimeRules=Pw;class mn extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}mn.controlEventKeys=["on_change"],mn.controlFieldType=C.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _s extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}_s.controlFieldType=C.CALC;var Ds={Designer:mn,Runtime:_s,Property:yn};class Rw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class tu extends A{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:nu.controlName}}tu.RuntimeRules=Rw;class nu extends S{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}nu.controlFieldType=C.DECIMAL_RANGE,nu.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 Bs extends P{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Bs.controlFieldType=C.DECIMAL_RANGE;var ws={Designer:nu,Runtime:Bs,Property:tu};class kw extends N{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 iu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,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:ut.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(y=e==null?void 0:e.caption)!=null?y:uu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Ei(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}iu.RuntimeRules=kw;class uu extends S{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}uu.controlFieldType=C.ARRAY,uu.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 Is extends P{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Is.controlFieldType=C.ARRAY;var As={Designer:uu,Runtime:Is,Property:iu};class Ow extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class xw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class vn extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}vn.Rules=Ow,vn.RuntimeRules=xw;class St extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",hr.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 Fs extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Fs.controlFieldType=C.ANY;var Ss={Designer:St,Runtime:Fs,Property:vn};class Mw extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class lu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_;super(e),this.options=ve((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Zu(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:gn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Ju(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new p(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new lt(e==null?void 0:e.formBind),this.optionDisplayConfig=(y=e==null?void 0:e.optionDisplayConfig)!=null?y:[],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}}lu.Rules=Mw;class gn extends S{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}gn.controlFieldType=C.VARCHAR,gn.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}],gn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ts extends P{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ts.controlFieldType=C.VARCHAR;var Ps={Designer:gn,Runtime:Ts,Property:lu};class va extends wt{constructor(e){super(e)}}class Rs extends It{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Rs.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 ks extends P{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ks.controlFieldType=C.VARCHAR;var Os={Designer:Rs,Runtime:ks,Property:va};class Lw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Xn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class $w extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R,T,k;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!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 Kn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new Kn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{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=(R=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new p(te)))!=null?R:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[],this.treeQuery=(k=e==null?void 0:e.treeQuery)!=null?k:[]}}bn.Rules=Lw,bn.RuntimeRules=$w;class Oe extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=C.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xs extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"tree"}}xs.controlFieldType=C.ARRAY;var Ms={Designer:Oe,Runtime:xs,Property:bn};class Nw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Xn.call(this,e,$e.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Hw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new zn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:$e.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:ea.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ta.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var R;(R=this.multistageFilling)==null||R.push(new p(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Cn.Rules=Nw,Cn.RuntimeRules=Hw;class $e extends S{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.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 Ls extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ls.controlFieldType=C.EMPLOYEES;var $s={Designer:$e,Runtime:Ls,Property:Cn};class Vw extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&jn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class au extends A{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Xo(e==null?void 0:e.signatureConfig)}}au.Rules=Vw;class En extends S{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}En.controlEventKeys=["on_click","on_click_finish"],En.controlFieldType=C.VARCHAR,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Ns extends P{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ns.controlFieldType=C.VARCHAR;var Hs={Designer:En,Runtime:Ns,Property:au};class jw extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class qw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:yw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Jo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}_n.Rules=jw,_n.RuntimeRules=qw;class Dn extends S{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Dn.controlEventKeys=["on_change","on_wps_open"],Dn.controlFieldType=C.FILE,Dn.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 Vs extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"wps"}}Vs.controlFieldType=C.FILE;var js={Designer:Dn,Runtime:Vs,Property:_n};class Ww extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,Ne.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Uw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ne.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Di.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var k;(k=this.multistageFilling)==null||k.push(new p(T))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(R=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(T=>T.children!==void 0?new Un(T):new $t(T)))!=null?R:[]}}Bn.Rules=Ww,Bn.RuntimeRules=Uw;class Ne extends S{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ne.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=C.DEPARTMENTS,Ne.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 qs extends P{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}qs.controlFieldType=C.DEPARTMENTS;var Ws={Designer:Ne,Runtime:qs,Property:Bn};class zw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Kw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class wn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R;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 Zu(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new b_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Di.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.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 Ju(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var k;(k=this.multistageFilling)==null||k.push(new p(T))}))}}wn.Rules=zw,wn.RuntimeRules=Kw;class Tt extends S{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=C.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 Us extends P{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Us.controlFieldType=C.DEPARTMENTS;var zs={Designer:Tt,Runtime:Us,Property:wn};class Gw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Zw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class In extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}In.Rules=Gw,In.RuntimeRules=Zw;class An extends S{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}An.controlFieldType=C.ANY,An.controlEventKeys=[],An.setting=[];class Ks extends P{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Ks.controlFieldType=C.ANY;var Gs={Designer:An,Runtime:Ks,Property:In},Qw=Object.freeze({__proto__:null,Input:kc,Checkbox:xc,Cascader:Lc,Counter:Nc,Radio:Vc,Number:qc,Slider:Uc,DatePicker:Kc,DateRange:Zc,TimePicker:Xc,TimeRange:Yc,Textarea:es,RichText:ns,Select:us,SelectMultiple:as,Employee:os,Image:ss,Attachment:cs,Amount:hs,Score:ys,Address:vs,Department:bs,AutoNumber:Es,Calc:Ds,SearchNumberRange:ws,SearchDateRange:As,VueFormItem:Ss,SelectRelation:Ps,SearchInput:Os,Tree:Ms,Employee2:$s,ElectronicSignature:Hs,WPS:js,Department2:Ws,OrganizationSelection:zs,VuePage:Gs});class Zs extends x{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zs.excludes=[I.GRID];class Xw extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class Jw extends O{constructor(e){super(e)}}var Qs={Designer:Zs,Runtime:Xw,Property:Jw};const Yw=24;class He extends O{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Yw,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 Fn extends x{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Fn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Fn.childrenMaxLength=1;class ga extends ${constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var Xs={Designer:Fn,Runtime:ga,Property:He};class ru extends O{constructor(e){var n,i,u,l,a;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new L_(e==null?void 0:e.padding),this.margin=new M_(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class ou extends x{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ou.excludes=[I.ROW],ou.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Js extends ${constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ys={Designer:ou,Runtime:Js,Property:ru};const pw=4;class cu extends ou{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}cu.excludes=[I.GRID_ROW],cu.setting=[],cu.childrenMaxLength=pw;class e8 extends Js{static get controlType(){return"grid-row"}constructor(e){super(e)}}class t8 extends ru{constructor(e){super(e)}}var ps={Designer:cu,Runtime:e8,Property:t8};class n8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class su extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(y=e==null?void 0:e.type)!=null?y:"default"}}su.Rules=n8;class ba extends x{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ba.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:r("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:r("CMD.6a321774579067900")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}],tip:r("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"card",label:r("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:r("CMD.23f71774579023855")},{value:"center",label:r("CMD.ecb71774579037654")},{value:"right",label:r("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:r("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"warning",label:r("CMD.80581774579050943")},{value:"success",label:r("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:r("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:r("CMD.83e11774579028684")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:r("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:r("CMD.16b21774579011405")},{value:"hover",label:r("CMD.cef21774578966959")},{value:"always",label:r("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],ba.excludes=[I.CARD_GROUP];class i8 extends ${constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ed={Designer:ba,Runtime:i8,Property:su};class u8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class du extends O{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new c_(e==null?void 0:e.metaAutoWidth)}}du.Rules=u8;class de extends x{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}de.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),de.controlType="subtable-column",de.controlIcon="subtable-column",de.childrenMaxLength=1,de.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],de.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 td extends ${constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}td.controlType="subtable-column";var nd={Designer:de,Runtime:td,Property:du};class Ca extends O{constructor(e){super(e)}}class Ve extends x{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class l8 extends ${constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var id={Designer:Ve,Runtime:l8,Property:Ca};class Ea extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new X(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:ut.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class je extends x{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}je.controlName=r("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ud extends ${constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}ud.controlType="gridtable-column";var ld={Designer:je,Runtime:ud,Property:Ea};class _a 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 Da extends x{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Da.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],Da.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class a8 extends ${constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ad={Designer:Da,Runtime:a8,Property:_a};class Ba extends O{constructor(e){var n,i,u,l,a;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(a=e==null?void 0:e.isDelay)!=null?a:!1}}class r8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class hu extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}hu.Rules=r8;class Sn extends x{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Sn.excludes=[I.TAB],Sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class o8 extends ${constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var rd={Designer:Sn,Runtime:o8,Property:hu};class Tn extends x{constructor(e){var n;super(e),this.props=new Ba(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Sn,new Sn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Tn.excludes=[I.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:r("CMD.4b041774579045624")},{value:"card",label:r("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:r("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:r("CMD.1efb1774579069467")},{value:"bottom",label:r("CMD.24c01774579070698")},{value:"left",label:r("CMD.13f41774579072043")},{value:"right",label:r("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:r("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:r("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class c8 extends ${constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"tab"}}var od={Designer:Tn,Runtime:c8,Property:Ba};class cd extends O{constructor(e){super(e)}}class sd extends x{constructor(e){super(e),this.props=new cd({}),this.children=(e==null?void 0:e.children)||[new Fn({props:new He({span:12})}),new Fn({props:new He({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}sd.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class s8 extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ga({props:new He({span:12})}),new ga({props:new He({span:12})})]}}var dd={Designer:sd,Runtime:s8,Property:cd};class d8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class h8 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),dl.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 Pn extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b;super(e),this.datasourceBind=new X(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 y_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new v_(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=(y=e==null?void 0:e.isShowSelection)!=null?y:!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 k_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new O_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new x_(e==null?void 0:e.masterDetail)}}Pn.Rules=h8,Pn.RuntimeRules=d8;class Rn extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Rn.slotPosition={left:"list-view-left-slot"},Rn.excludes=[I.ROW],Rn.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"],Rn.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 f8 extends ${constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var hd={Designer:Rn,Runtime:f8,Property:Pn};class y8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends O{constructor(e){var n,i,u,l,a,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}fu.RuntimeRules=y8;class fd extends x{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}fd.excludes=[];class m8 extends ${constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var yd={Designer:fd,Runtime:m8,Property:fu};class v8 extends x{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class g8 extends ${static get controlType(){return"page"}constructor(e){super(e)}}class b8 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 md={Designer:v8,Runtime:g8,Property:b8};class C8 extends x{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class E8 extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class _8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ic(e==null?void 0:e.flexConfig)}}var vd={Designer:C8,Runtime:E8,Property:_8};class D8 extends x{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class B8 extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class w8 extends O{constructor(e){super(e)}}var gd={Designer:D8,Runtime:B8,Property:w8};class I8 extends x{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class A8 extends ${static get controlType(){return"position"}constructor(e){super(e)}}class F8 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 bd={Designer:I8,Runtime:A8,Property:F8};class wa 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 yu extends x{constructor(e){var n;super(e),this.props=new wa((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}yu.slotPosition={default:"action-bar-slot"},yu.excludes=[],yu.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 S8 extends ${constructor(e){var n;super(e),this.props=new wa((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Cd={Designer:yu,Runtime:S8,Property:wa};class Ia extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(y=e==null?void 0:e.stopStatus)!=null?y:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new H_(e==null?void 0:e.stepButtons)}}class Aa extends O{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Pt extends x{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Pt.excludes=[I.TAB],Pt.setting=[];class T8 extends ${constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ed={Designer:Pt,Runtime:T8,Property:Aa};class mu extends x{constructor(e){var n;super(e),this.props=new Ia(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}mu.excludes=[],mu.controlEventKeys=["on_change_steps"],mu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:r("CMD.924f1774579018766"),default:!1,tip:r("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:r("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:r("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:r("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class P8 extends ${constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"step"}}var _d={Designer:mu,Runtime:P8,Property:Ia};class Fa extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(a=e==null?void 0:e.colWidth)!=null?a:"12:12",this.isLabelBold=(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=(y=e==null?void 0:e.padding)!=null?y:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Sa extends x{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Sa.excludes=[],Sa.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 R8 extends ${constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Dd={Designer:Sa,Runtime:R8,Property:Fa};class Ta 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 Pa extends x{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Pa.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Pa.setting=[{key:"col-setting",visible:!0}];class k8 extends ${constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Bd={Designer:Pa,Runtime:k8,Property:Ta};const O8=24;class Ra extends O{constructor(e){var n,i,u,l,a,o,s,h,d,y;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:O8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(a=e==null?void 0:e.layout)!=null?a:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(y=e==null?void 0:e.isLabelCol)!=null?y:!1}}class ka extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}ka.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],ka.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 x8 extends ${constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var wd={Designer:ka,Runtime:x8,Property:Ra};class Oa 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 xa extends x{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}xa.excludes=[],xa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class M8 extends ${constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Id={Designer:xa,Runtime:M8,Property:Oa};class Ma 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 La extends O{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:r("CMD.08411774579056771")}}class kn extends x{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}kn.excludes=[I.TAB],kn.setting=[];class L8 extends ${constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var Ad={Designer:kn,Runtime:L8,Property:La};class vu extends x{constructor(e){var n;super(e),this.props=new Ma(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kn,new kn]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}vu.excludes=[],vu.controlEventKeys=["on_change_collapse"],vu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:r("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:r("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:r("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class $8 extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Fd={Designer:vu,Runtime:$8,Property:Ma},N8=Object.freeze({__proto__:null,Grid:Qs,Col:Xs,Row:Ys,GridRow:ps,CardGroup:ed,SubTableColumn:nd,SubTableRow:id,GridTableColumn:ld,GridLayoutContainer:ad,Tab:od,TabPane:rd,Toolbox:dd,ListView:hd,DataView:yd,Page:md,AdvancedContainer:vd,PositioningContainer:gd,Position:bd,ActionBar:Cd,Step:_d,StepPane:Ed,TableLayout:Dd,TableLayoutRow:Bd,TableLayoutCol:wd,TableLayoutWrapper:Id,Collapse:Fd,CollapsePane:Ad});class H8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class V8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Sd=class extends ri{constructor(t,e){var n,i,u,l,a,o,s,h,d,y,g,E,_,b,B,v,D,R,T,k,te,H,le,Ln,_e,Tu,$n,Rt,De,th,nh,ih,uh,lh,ah;super(t,e,Sd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:tc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(y=e==null?void 0:e.limitRows)!=null?y: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 X(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!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=(Ln=e==null?void 0:e.mobileDefaultNum)!=null?Ln:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new s_,this.fixedColumn=(Tu=e==null?void 0:e.fixedColumn)!=null?Tu:[],this.mobileRowCaption=($n=e==null?void 0:e.mobileRowCaption)!=null?$n:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(th=e==null?void 0:e.pageSize)!=null?th:10,this.pageSizeOptions=(nh=e==null?void 0:e.pageSizeOptions)!=null?nh:[10,20,50,100],this.importConfig=new po(e==null?void 0:e.importConfig),this.exportConfig=new ec(e==null?void 0:e.exportConfig),this.sortable=(ih=e==null?void 0:e.sortable)!=null?ih:!1,this.sortKey=(uh=e==null?void 0:e.sortKey)!=null?uh:{},this.showTableIndex=(lh=e==null?void 0:e.showTableIndex)!=null?lh:!0,this.triggerEdit=(ah=e==null?void 0:e.triggerEdit)!=null?ah:"single"}};let On=Sd;On.Rules=H8,On.RuntimeRules=V8;class xn extends wl{constructor(e){var n;super(e),this.props=new On(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 de,new de,new de])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new de,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}xn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],xn.slotPosition={toolbar:"subtable-toolbar-slot"},xn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:r("CMD.65531774578985876"),default:"single",options:[{value:"single",label:r("CMD.315e1774579064681")},{value:"double",label:r("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class j8 extends To{constructor(e){super(e),this.props=new On(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var Td={Designer:xn,Runtime:j8,Property:On};class $a extends ri{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class q8 extends be{constructor(e){super(e),this.caption.required=!1}}class gu extends W{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}gu.Rules=q8;class qe extends Z{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=r("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Na extends Q{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Na.controlType="order-column",Na.controlFieldType=C.DECIMAL;var Pd={Designer:qe,Runtime:Na,Property:gu};class Ha extends W{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Mi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return sr(this,null,function*(){return yield cr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Va extends Q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}Va.controlType="operation-column",Va.controlFieldType=C.FILE;var Rd={Designer:Ce,Runtime:Va,Property:Ha};const W8=1e4;class We extends wl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new $a(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 qe,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return or(it({},e),{children:n})}validate(e,n){return sr(this,null,function*(){return yield cr(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=W8;class U8 extends To{constructor(e){super(e),this.props=new $a(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var kd={Designer:We,Runtime:U8,Property:$a},z8=Object.freeze({__proto__:null,SubTable:Td,GridTable:kd});class K8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class bu extends W{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ve((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}bu.Rules=K8;class Ue extends Z{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=C.VARCHAR,Ue.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 ja extends Q{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}ja.controlType="varchar-column",ja.controlFieldType=C.VARCHAR;var Od={Designer:Ue,Runtime:ja,Property:bu};class G8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Cu extends W{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:ze.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 me(e==null?void 0:e.linkOperationOption)}}Cu.Rules=G8;class ze extends Z{constructor(e){super(e),this.props=new Cu(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}}ze.controlType="text-column",ze.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=C.TEXT,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-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 qa extends Q{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}qa.controlType="text-column",qa.controlFieldType=C.TEXT;var xd={Designer:ze,Runtime:qa,Property:Cu};class Z8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class Eu extends W{constructor(e){var n,i,u,l,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ve((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Eu.Rules=Z8;class Ke extends Z{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=C.DECIMAL,Ke.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 Wa extends Q{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}}Wa.controlType="decimal-column",Wa.controlFieldType=C.DECIMAL;var Md={Designer:Ke,Runtime:Wa,Property:Eu};class Q8 extends be{constructor(e){super(e),Pe.call(this,e)}}class _u extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}_u.Rules=Q8;class Ge extends Z{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timescope-column",Ge.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=C.TIMESCOPE,Ge.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 Ua extends Q{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Ua.controlType="timescope-column",Ua.controlFieldType=C.TIMESCOPE;var Ld={Designer:Ge,Runtime:Ua,Property:_u};class X8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Du extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(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}}Du.Rules=X8;class Ze extends Z{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=C.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class za extends Q{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}za.controlType="timestamp-column",za.controlFieldType=C.TIMESTAMP;var $d={Designer:Ze,Runtime:za,Property:Du};class J8 extends Rl{constructor(e){super(e),Pe.call(this,e)}}class Bu extends W{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ve((l=e==null?void 0:e.options)!=null?l:[{}])}}Bu.Rules=J8;class Qe extends Z{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=C.ARRAY,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-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 Ka extends Q{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Ka.controlType="array-column",Ka.controlFieldType=C.ARRAY;var Nd={Designer:Qe,Runtime:Ka,Property:Bu};class Ga extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=C.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Za extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}Za.controlType="department-column",Za.controlFieldType=C.DEPARTMENTS;var Hd={Designer:Xe,Runtime:Za,Property:Ga};class Y8 extends be{constructor(e){super(e),Pe.call(this,e)}}class wu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}wu.Rules=Y8;class Je extends Z{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=C.AUTO_NUMBER,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:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Qa extends Q{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Qa.controlType="auto-number-column",Qa.controlFieldType=C.AUTO_NUMBER;var Vd={Designer:Je,Runtime:Qa,Property:wu};class Xa extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends Z{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=C.FILE,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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ja extends Q{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}}Ja.controlType="file-column",Ja.controlFieldType=C.FILE;var jd={Designer:Ye,Runtime:Ja,Property:Xa};class Ya extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Z{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=r("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=C.IMAGE,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:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class pa extends Q{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pa.controlType="image-column",pa.controlFieldType=C.IMAGE;var qd={Designer:pe,Runtime:pa,Property:Ya};class er extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Z{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=r("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=C.EMPLOYEES,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 tr extends Q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="people-column",tr.controlFieldType=C.EMPLOYEES;var Wd={Designer:et,Runtime:tr,Property:er};class p8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Iu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Iu.Rules=p8;class tt extends Z{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=r("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=C.ADDRESS,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-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class nr extends Q{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}nr.controlType="location-column",nr.controlFieldType=C.ADDRESS;var Ud={Designer:tt,Runtime:nr,Property:Iu};class eI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Au extends W{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:""}}Au.Rules=eI;const tI=1;class Ee extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Au(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=tI,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 zd extends Q{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}zd.controlType="custom-column";var Kd={Designer:Ee,Runtime:zd,Property:Au};class ir extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new zn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.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 ur extends Q{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}ur.controlType="employee-column",ur.controlFieldType=C.EMPLOYEES;var Gd={Designer:xe,Runtime:ur,Property:ir};class lr extends W{constructor(e){var n,i,u;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 me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class nt extends Z{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.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 Zd extends Q{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}Zd.controlType="approval-status-column";var Qd={Designer:nt,Runtime:Zd,Property:lr};class ar extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Mn extends Z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Mn.controlType="group-column",Mn.controlName=r("CMD.43541769566517351"),Mn.controlIcon="group-column",Mn.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 Xd extends Q{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Xd.controlType="group-column";var Jd={Designer:Mn,Runtime:Xd,Property:ar},nI=Object.freeze({__proto__:null,VarcharColumn:Od,TextColumn:xd,DecimalColumn:Md,TimescopeColumn:Ld,TimestampColumn:$d,ArrayColumn:Nd,DepartmentColumn:Hd,AutoNumberColumn:Vd,FileColumn:jd,ImageColumn:qd,PeopleColumn:Wd,LocationColumn:Ud,CustomColumn:Kd,OrderColumn:Pd,OperationColumn:Rd,EmployeeColumn:Gd,ApprovalStatusColumn:Qd,GroupColumn:Jd});class iI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Fu extends Ll{constructor(e){var n,i,u,l,a,o,s,h,d,y,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(y=e==null?void 0:e.colGap)!=null?y:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Fu.RuntimeRules=iI;class Su extends xD{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Su.controlType="simple-search",Su.slotPosition={default:"search"},Su.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 Yd extends jD{constructor(e){var n;super(e),this.props=new Fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Yd.controlType="simple-search";var pd={Designer:Su,Runtime:Yd,Property:Fu},uI=Object.freeze({__proto__:null,SimpleSearch:pd});class rr extends Vl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class lI extends eB{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class aI extends rB{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function vI(t){return t}var rI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},eh={Designer:lI,Runtime:aI,Property:rr,Setting:rI},oI=Object.freeze({__proto__:null,GridLayoutWrap:eh});m.ActionBar=Cd,m.ActionSetting=Yl,m.Address=vs,m.AdvancedContainer=vd,m.Amount=hs,m.ApprovalStatusColumn=Qd,m.ArrayColumn=Nd,m.AssignType=ke,m.Attachment=cs,m.AutoNumber=Es,m.AutoNumberColumn=Vd,m.BatchDeleteButton=Fc,m.BatchPrintListButton=wc,m.BatchPrintRecordListButton=Ic,m.BatchSubmissionListButton=cc,m.Button=Go,m.Calc=Ds,m.CardGroup=ed,m.Cascader=Lc,m.Checkbox=xc,m.Col=Xs,m.Collapse=Fd,m.CollapsePane=Ad,m.CommentControl=Pc,m.Counter=Nc,m.CreateFormListButton=oc,m.CustomColumn=Kd,m.DATE_CONFIG_TYPE=Zo,m.DATE_LIMIT_TYPE=Qo,m.Dashboard=Cc,m.DataView=yd,m.DatePicker=Kc,m.DateRange=Zc,m.DecimalColumn=Md,m.Department=bs,m.Department2=Ws,m.DepartmentColumn=Hd,m.DepartmentType=Di,m.Divider=ac,m.ElectronicSignature=Hs,m.ElectronicSignatureConfig=Xo,m.Employee=os,m.Employee2=$s,m.EmployeeColumn=Gd,m.EncryptTypeEnum=uc,m.Explain=_i,m.ExportConfig=ec,m.ExportListButton=dc,m.ExportRecordListButton=hc,m.ExportTemplate=qt,m.FONT_WEIGHT=Ql,m.FileColumn=jd,m.FlexStyleConfig=ic,m.FormSelectButton=yc,m.Grid=Qs,m.GridLayoutContainer=ad,m.GridLayoutWrap=eh,m.GridRow=ps,m.GridTable=kd,m.GridTableColumn=ld,m.GroupColumn=Jd,m.Image=ss,m.ImageColumn=qd,m.ImageCompressType=na,m.ImportConfig=po,m.ImportListBind=Yo,m.ImportRecordListButton=fc,m.Input=kc,m.InternalType=ta,m.InvoiceCheckButton=Bc,m.LINE_STYLE=Zl,m.LimitDate=Ei,m.LimitTime=Kl,m.Link=Ko,m.ListHeightSetting=pl,m.ListSelectButton=mc,m.ListView=hd,m.ListViewSelect=_c,m.LocationColumn=Ud,m.Number=qc,m.OperationButton=Ac,m.OperationColumn=Rd,m.OrderColumn=Pd,m.OrganizationSelection=zs,m.OrganizeType=ea,m.Page=md,m.Pagination=gc,m.PeopleColumn=Wd,m.Position=bd,m.PositioningContainer=gd,m.PrintTemplate=nc,m.Radio=Vc,m.ReferenceList=Sc,m.RichText=ns,m.Row=Ys,m.SCORE_TYPE=Gl,m.SUBTABLE_DEFAULT_MAX_HEIGHT=tc,m.Score=ys,m.SearchDateRange=As,m.SearchInput=Os,m.SearchNumberRange=ws,m.Select=us,m.SelectMultiple=as,m.SelectRelation=Ps,m.SimpleSearch=pd,m.Slider=Uc,m.Step=_d,m.StepPane=Ed,m.SubTable=Td,m.SubTableColumn=nd,m.SubTableRow=id,m.SubmissionRecordListButton=sc,m.Tab=od,m.TabPane=rd,m.TableLayout=Dd,m.TableLayoutCol=wd,m.TableLayoutRow=Bd,m.TableLayoutWrapper=Id,m.Text=zo,m.TextColumn=xd,m.TextOcrButton=Dc,m.Textarea=es,m.TimePicker=Xc,m.TimeRange=Yc,m.TimescopeColumn=Ld,m.TimestampColumn=$d,m.Title=rc,m.TitleConfigEnum=Re,m.Toolbox=dd,m.Tree=Ms,m.UndersignedPerson=Xl,m.VarcharColumn=Od,m.VueFormItem=Ss,m.VuePage=Gs,m.WPS=js,m.WPSSetting=Jo,m.WpsOperationItem=Jl,m.baseControls=KB,m.columnControls=nI,m.formControls=Qw,m.initExpression=Wt,m.layoutControls=N8,m.listControls=z8,m.searchControls=uI,m.wrapControls=oI,Object.defineProperty(m,"__esModule",{value:!0})});