@byteluck-fe/model-driven-controls 2.22.3-beta.2 → 2.22.3-beta.3

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 FI=Object.defineProperty,RI=Object.defineProperties;var DI=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,xI=Object.getPrototypeOf,PI=Object.prototype.hasOwnProperty,kI=Object.prototype.propertyIsEnumerable,OI=Reflect.get;var ld=(y,V,K)=>V in y?FI(y,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[V]=K,nt=(y,V)=>{for(var K in V||(V={}))PI.call(V,K)&&ld(y,K,V[K]);if(rd)for(var K of rd(V))kI.call(V,K)&&ld(y,K,V[K]);return y},Fr=(y,V)=>RI(y,DI(V));var Rr=(y,V,K)=>OI(xI(y),K,V);var Dr=(y,V,K)=>new Promise((fu,xn)=>{var yu=me=>{try{xt(K.next(me))}catch(Pt){xn(Pt)}},vu=me=>{try{xt(K.throw(me))}catch(Pt){xn(Pt)}},xt=me=>me.done?fu(me.value):Promise.resolve(me.value).then(yu,vu);xt((K=K.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",xt="\u8BF7\u8F93\u5165\u6807\u9898",me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Pt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",od="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",cd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",sd="\u8BF7\u7ED1\u5B9A\u8868\u5355",dd="\u8BF7\u7ED1\u5B9A\u5217\u8868",hd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",fd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",yd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",vd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",gd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_d="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ed="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Id="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ad="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Dd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",xd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Od="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Md="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$d="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ld="\u8BF7\u9009\u62E9\u7701",Nd="\u8BF7\u9009\u62E9\u5E02",Vd="\u8BF7\u9009\u62E9\u533A",Hd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",jd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",qd="\u8BF7\u8F93\u5165\u5217\u5BBD",Ud="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Wd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",zd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Gd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Xd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Jd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Yd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",pd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",eh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ch="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",sh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",hh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",fh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",vh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",gh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",bh="\u6279\u91CF\u5220\u9664",_h="\u6279\u91CF\u6253\u5370",Ch="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Eh="\u6309\u94AE",wh="\u521B\u5EFA\u5355\u636E",Bh="\u4EEA\u8868\u76D8",Sh="\u5206\u5272\u7EBF",Ih="\u5BFC\u51FA",Ah="\u8868\u5355\u64CD\u4F5C",Th="\u5BFC\u5165",Fh="\u53D1\u7968\u8BC6\u522B",Rh="\u94FE\u63A5",Dh="\u5217\u8868\u9009\u62E9",xh="\u5217\u8868\u89C6\u56FE",Ph="\u64CD\u4F5C\u6309\u94AE",kh="\u5206\u9875",Oh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Mh="\u8BF4\u660E\u6587\u5B57",$h="\u6587\u5B57\u8BC6\u522B",Lh="\u6807\u9898\u7EC4\u4EF6",Nh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Vh="\u6570\u7EC4",Hh="\u81EA\u52A8\u7F16\u53F7",jh="\u81EA\u5B9A\u4E49",qh="\u6570\u503C",Uh="\u90E8\u95E8",Wh="\u4EBA\u5458",zh="\u9644\u4EF6",Kh="\u56FE\u7247",Gh="\u5730\u5740",Qh="\u64CD\u4F5C",Xh="\u5E8F\u53F7",Jh="\u4EBA\u5458",Zh="\u957F\u6587\u672C",Yh="\u65E5\u671F\u533A\u95F4",ph="\u65E5\u671F",ef="\u77ED\u6587\u672C",tf="\u6362\u884C\u5BB9\u5668Wrap",nf="\u8868\u683C",uf="\u660E\u7EC6\u5B50\u8868",af="\u5730\u5740",rf="\u91D1\u989D",lf="\u8BA1\u7B97\u516C\u5F0F",of="\u591A\u9009",cf="\u7535\u5B50\u7B7E\u7AE0",sf="\u5355\u884C\u6587\u672C",df="\u6570\u5B57",hf="\u4E1A\u52A1\u7EC4\u7EC7",ff="\u5355\u9009",yf="\u5BCC\u6587\u672C",vf="\u8BC4\u5206",mf="\u6570\u5B57\u533A\u95F4",gf="\u4E0B\u62C9\u5355\u9009",bf="\u4E0B\u62C9\u591A\u9009",_f="\u5173\u8054\u5355\u9009",Cf="\u591A\u884C\u6587\u672C",Ef="\u6811",wf="Vue\u5BB9\u5668",Bf="Vue\u9875\u9762",Sf="\u5728\u7EBF\u6587\u6863",If="\u6309\u94AE\u64CD\u4F5C\u680F",Af="\u9AD8\u7EA7\u5BB9\u5668",Tf="\u5206\u7EC4",Ff="\u6805\u683C\u5217",Rf="\u6570\u636E\u5BB9\u5668",Df="\u753B\u5E03",xf="\u6362\u884C\u5BB9\u5668",Pf="\u6805\u683C\u7B49\u5206\u884C",kf="\u5217\u8868\u5BB9\u5668",Of="\u81EA\u7531\u9875\u9762",Mf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",$f="\u5B9A\u4F4D\u5BB9\u5668",Lf="\u6805\u683C\u5E03\u5C40",Nf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Vf="\u660E\u7EC6\u5B50\u8868\u884C",Hf="\u6807\u7B7E\u9875",jf="\u6807\u7B7E\u5355\u5143",qf="\u5DE5\u5177\u680F",Uf="\u6279\u91CF\u63D0\u4EA4",Wf="\u5BFC\u51FA\u8BB0\u5F55",zf="\u5217\u8868\u89C6\u56FE",Kf="\u7ED3\u675F\u65F6\u95F4",Gf="\u5F00\u59CB\u65F6\u95F4",Qf="\u5355\u4F4D",Xf="\u7ED3\u679C",Jf="\u5E01\u79CD",Zf="\u7ED3\u675F\u65E5\u671F",Yf="\u5F00\u59CB\u65E5\u671F",pf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ey="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ty="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ny="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",iy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",uy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ay="\u8BF7\u9009\u62E9",ry="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ly="\u8BF7\u9009\u62E9\u90E8\u95E8",oy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",cy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",sy="\u8BF7\u9009\u62E9\u5730\u5740",dy="\u5F39\u7A97\u786E\u8BA4\u65F6",hy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",fy="\u884C\u9009\u4E2D\u65F6",yy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",vy="\u884C\u5220\u9664\u524D",my="\u884C\u70B9\u51FB\u65F6",gy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",by="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_y="\u91CD\u547D\u540D\u65F6",Cy="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ey="\u6253\u5F00\u6587\u4EF6\u65F6",wy="\u83B7\u53D6\u7126\u70B9\u65F6",By="\u5931\u53BB\u7126\u70B9\u65F6",Sy="\u7528\u6237\u8F93\u5165\u65F6",Iy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ay="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ty="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Fy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ry="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Dy="\u641C\u7D22\u65F6",xy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Py="\u6267\u884C\u5B8C\u6210\u65F6",ky="\u70B9\u51FB\u65F6",Oy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",My="\u8BF7\u8F93\u5165\u65E5\u671F",$y="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ly="\u8BF7\u8F93\u5165",Ny="\u9ED8\u8BA4\u6A21\u7248",Vy="\u5DE6\u53F3\u5E03\u5C40",Hy="\u4E0A\u4E0B\u5E03\u5C40",jy="\u53EA\u8BFB",qy="\u5FC5\u586B",Uy="\u63D0\u793A\u6587\u5B57",Wy="\u9690\u85CF\u6807\u9898",zy="\u6807\u9898\u5FC5\u586B",Ky="\u7EC4\u7EC7\u5F62\u6001",Gy="\u4E1A\u52A1\u7C7B\u578B",Qy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Xy="\u9690\u85CF",Jy="\u6D41\u7A0B\u72B6\u6001",Zy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Yy="\u5220\u9664",py="\u7F16\u8F91",ev="\u67E5\u770B",tv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",nv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",iv="\u5145\u6EE1\u6574\u884C",uv="\u6700\u5C0F\u503C",av="\u6700\u5927\u503C",rv="\u65B0\u5EFA\u6587\u6863",lv="\u91CD\u7F6E",ov="\u67E5\u8BE2",cv="\u660E\u7EC6",sv="\u6253\u5370",dv="\u4FDD\u5B58\u8349\u7A3F",hv="\u4FDD\u5B58",fv="\u53D6\u6D88",yv="\u4E0A\u4F20\u56FE\u7247",vv="\u53D1\u8D77\u7B7E\u7F72",mv="\u4E0A\u4F20\u9644\u4EF6",gv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",bv="\u5F15\u7528\u5217\u8868",_v={isNotNumber:V,isNotString:K,isNotObject:fu,isNotArray:xn,isNotBoolean:yu,runtimeRequired:vu,pleaseEnterCaption:xt,pleaseEnterCaptionTip:me,pleaseEnterRowCaption:Pt,pleaseEnterPlaceholder:od,pleaseEnterFieldCode:cd,pleaseEnterForm:sd,pleaseEnterList:dd,pleaseEnterProcess:hd,pleaseEnterLabel:fd,pleaseEnterValue:yd,bizKeyNotBindFiled:vd,pleaseSelectOneField:md,pleaseEnterNumberRange:gd,pleaseEnterAValueGreaterThanMin:bd,pleaseEnterAValueLessThanMax:_d,numberRangeSetError:Cd,stringRangeError:Ed,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:Sd,scoreDefaultValueRange:Id,attachmentLimitError:Ad,PleaseReselectTheOptionalQuantity:Td,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:Rd,PleaseSelectTheCorrectOptionSettings:Dd,optionIdIsRepeat:xd,optionIsRequired:Pd,pleaseEnterDataCode:kd,pleaseEnterValueFieldCode:Od,pleaseEnterSvcCode:Md,pleaseBindAtLeastOneDisplayValue:$d,pleaseSelectProvince:Ld,pleaseSelectCity:Nd,pleaseSelectDistrict:Vd,limitRowsCannotBeLessThan0:Hd,TheNumberOfRowsCannotBeLessThanMinRows:jd,pleaseEnterColumnWidth:qd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ud,pleaseCompleteAllRulesAndConditions:Wd,pleaseSelectControl:zd,pleaseSelectAtLeastOneColumn:Kd,pleaseSelectFillBackMode:Gd,pleaseSelectDashboard:Qd,rootNodeIsRequired:Xd,theViewNameCannotBeEmpty:Jd,pleaseSelectOcrType:Zd,pleaseSelectAtLeastOneFieldToFillIn:Yd,pleaseChooseAtLeastOne:pd,pleaseEnterButtonContent:eh,pleaseEnterDataCodeInDataSetting:th,pleaseEnterValueFieldCodeInDataSetting:nh,pleaseEnterSvcCodeInDataSetting:ih,pleaseBindAtLeastOneDisplayValueInDataSetting:uh,rootNodeIsRequiredInDataSetting:ah,pleaseEnterMaxHeight:rh,pleaseEnterWatermark:lh,pleaseEnterFileName:oh,pleaseUploadAtLeastOnePrintTemplate:ch,pleaseAssignBusiness:sh,pleaseAssignExternal:dh,pleaseEnterAliasCode:hh,pleaseSelectDataCode:fh,pleaseSelectSvcCode:yh,pleaseSelectJoinFieldCode:vh,pleaseSelectMainFieldCode:mh,pleaseSelectSortFieldCode:gh,batchDeleteButton:bh,batchPrintListButton:_h,batchPrintRecordList:Ch,button:Eh,createFormListButton:wh,dashboard:Bh,divider:Sh,exportListButton:Ih,formSelectButton:Ah,importRecordListButton:Th,invoiceCheckButton:Fh,link:Rh,listSelectButton:Dh,ListViewSelect:xh,operationButton:Ph,pagination:kh,submissionRecordListButton:Oh,text:Mh,textOcrButton:$h,title:Lh,approvalStatusColumn:Nh,array:Vh,autoNumber:Hh,custom:jh,decimal:qh,department:Uh,employee:Wh,file:zh,image:Kh,location:Gh,operation:Qh,order:Xh,people:Jh,long:Zh,timescope:Yh,timestamp:ph,varchar:ef,gridLayoutWrap:tf,gridTable:nf,subTable:uf,address:af,amount:rf,calc:lf,checkBox:of,electronicSignature:cf,input:sf,number:df,organizationSelection:hf,radio:ff,richText:yf,score:vf,searchNumberRange:mf,select:gf,selectMultiple:bf,selectRelation:_f,textarea:Cf,tree:Ef,vueFormItem:wf,vuePage:Bf,WPS:Sf,actionBar:If,advancedContainer:Af,cardGroup:Tf,col:Ff,dataView:Rf,grid:Df,gridLayoutContainer:xf,gridRow:Pf,listView:kf,page:Of,position:Mf,positioningContainer:$f,row:Lf,subtableColumn:Nf,subtableRow:Vf,tab:Hf,tabPane:jf,toolbox:qf,batchSubmissionListButton:Uf,exportRecordListButton:Wf,listViewSelect:zf,endTime:Kf,startTime:Gf,unit:Qf,result:Xf,currency:Jf,endDate:Zf,startDate:Yf,pleaseSelectCompanyName:pf,pleaseSelectPhoneOrEmail:ey,pleaseSelectSignType:ty,pleaseSelectSigner:ny,pleaseSelectOnlyOne:iy,pleaseSelectSignFile:uy,pleaseSelect:ay,pleaseSelectOrg:ry,pleaseSelectDept:ly,pleaseSelectEndDate:oy,pleaseSelectStartDate:cy,pleaseChooseAddress:sy,modalConfirm:dy,tabChange:hy,rowSelected:fy,listDataImport:yy,rowDelete:vy,rowClick:my,cellRender:gy,onClickBtn:by,rename:_y,onSaveFile:Cy,onOpenFile:Ey,onFocus:wy,onBlur:By,onInput:Sy,listDataAdd:Iy,listDataDelete:Ay,listDataBack:Ty,listDataCreate:Fy,listDataChange:Ry,search:Dy,valueChange:xy,finished:Py,click:ky,pleaseEnterNameorEmail:Oy,pleaseEnterDate:My,pleaseEnterAutonumber:$y,pleaseEnter:Ly,defaultTemplate:Ny,left:Vy,top:Hy,default:"\u666E\u901A",readonly:jy,required:qy,textTip:Uy,hideCaption:Wy,titleRequired:zy,organizationalForm:Ky,businessType:Gy,deleteConfirm:Qy,hide:Xy,processStatus:Jy,approvedDocuments:Zy,delete:Yy,edit:py,view:ev,loadCtrlErrorTip:tv,loadCtrlError:nv,fullLine:iv,min:uv,max:av,createWPS:rv,reset:lv,query:ov,detailed:cv,print:sv,draft:dv,save:hv,cancel:fv,uploadImg:yv,signature:vv,uploadFile:mv,linkContent:gv,referenceList:bv},Cv="Please enter a number",Ev="Please enter a string",wv="Please enter an object",Bv="Please enter an array",Sv="Please enter a boolean",Iv="{caption} Required",Av="Please enter the title",Tv="Please enter the bubble prompt",Fv="Please enter the row title",Rv="Please enter the prompt text",Dv="Please bind data items",xv="Please bind the form",Pv="Please bind the list",kv="Please bind the process",Ov="Please enter the displayed value",Mv="Please enter the stored value",$v="The document number is not bound to the data item",Lv="Please select at least one display field",Nv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Vv="Please enter a value greater than or equal to {min}",Hv="Please enter a value less than or equal to {max}",jv="The value range is set incorrectly",qv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uv="The attachment size must be between 0MB and 1000MB",Wv="Please fill in the total score setting",zv="The total score cannot be less than 1",Kv="The default value must be between {min} and {max}",Gv="The number of attachment uploads exceeds the limit",Qv="Please re-select the optional quantity",Xv="The maximum length of the control must be greater than the minimum length",Jv="The minimum length of the control must be less than the maximum length",Zv="Please select the correct option setting",Yv="Option ID cannot be repeated",pv="Please enter at least one option",em="Please bind the data source",tm="Please bind the stored value",nm="Please bind the service",im="At least one display value must be bound",um="Please select a province",am="Please select a city",rm="Please select a district",lm="The minimum number of lines to fill in cannot be less than 0",om="The number of rows cannot be less than {min} rows",cm="Please enter the column width",sm="Please set the logical relationship of all rule conditions",dm="Please complete all rules and conditions",hm="please select control",fm="Please select the dashboard",ym="View name cannot be empty",vm="Please select recognition type",mm="Please select at least one field to fill in",gm="Please select at least one",bm="Please enter the button title",_m="Please bind the business model in the data settings",Cm="Please bind storage values in data settings",Em="Please bind the service in the data settings",wm="Please bind at least one display value in the data settings",Bm="Please select the root node in the data settings",Sm="Please enter the maximum height",Im="The input content cannot be empty",Am="Watermark cannot be empty",Tm="File name cannot be empty",Fm="Please upload at least one printing template!\uFF01",Rm="Please select a specific business department",Dm="Please select a specified external organization",xm="Please enter a sub table alias",Pm="Please select the associated table to set the business model",km="Please select the association table to set the binding service",Om="Select associated sub table fields",Mm="Please select the associated main table field",$m="Please select the sort field",Lm="\u6279\u91CF\u5220\u9664",Nm="\u6279\u91CF\u6253\u5370",Vm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hm="\u6309\u94AE",jm="\u521B\u5EFA\u5355\u636E",qm="\u4EEA\u8868\u76D8",Um="\u5206\u5272\u7EBF",Wm="\u5BFC\u51FA",zm="\u8868\u5355\u64CD\u4F5C",Km="\u5BFC\u5165",Gm="\u53D1\u7968\u8BC6\u522B",Qm="\u94FE\u63A5",Xm="\u5217\u8868\u9009\u62E9",Jm="\u5217\u8868\u89C6\u56FE",Zm="\u64CD\u4F5C\u6309\u94AE",Ym="\u5206\u9875",pm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",eg="\u8BF4\u660E\u6587\u5B57",tg="\u6587\u5B57\u8BC6\u522B",ng="\u6807\u9898\u7EC4\u4EF6",ig="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ug="\u6570\u7EC4",ag="\u81EA\u52A8\u7F16\u53F7",rg="\u81EA\u5B9A\u4E49",lg="\u6570\u503C",og="\u90E8\u95E8",cg="\u4EBA\u5458",sg="\u9644\u4EF6",dg="\u56FE\u7247",hg="\u5730\u5740",fg="\u64CD\u4F5C",yg="\u5E8F\u53F7",vg="\u4EBA\u5458",mg="\u957F\u6587\u672C",gg="\u65E5\u671F\u533A\u95F4",bg="\u65E5\u671F",_g="\u77ED\u6587\u672C",Cg="\u6362\u884C\u5BB9\u5668Wrap",Eg="\u8868\u683C",wg="\u660E\u7EC6\u5B50\u8868",Bg="\u5730\u5740",Sg="\u91D1\u989D",Ig="\u8BA1\u7B97\u516C\u5F0F",Ag="\u591A\u9009",Tg="\u7535\u5B50\u7B7E\u7AE0",Fg="\u5355\u884C\u6587\u672C",Rg="\u6570\u5B57",Dg="\u4E1A\u52A1\u7EC4\u7EC7",xg="\u5355\u9009",Pg="\u5BCC\u6587\u672C",kg="\u8BC4\u5206",Og="\u6570\u5B57\u533A\u95F4",Mg="\u4E0B\u62C9\u5355\u9009",$g="\u4E0B\u62C9\u591A\u9009",Lg="\u5173\u8054\u5355\u9009",Ng="\u591A\u884C\u6587\u672C",Vg="\u6811",Hg="Vue\u5BB9\u5668",jg="Vue\u9875\u9762",qg="\u5728\u7EBF\u6587\u6863",Ug="\u6309\u94AE\u64CD\u4F5C\u680F",Wg="\u9AD8\u7EA7\u5BB9\u5668",zg="\u5206\u7EC4",Kg="\u6805\u683C\u5217",Gg="\u6570\u636E\u5BB9\u5668",Qg="\u753B\u5E03",Xg="\u6362\u884C\u5BB9\u5668",Jg="\u6805\u683C\u7B49\u5206\u884C",Zg="\u5217\u8868\u5BB9\u5668",Yg="\u81EA\u7531\u9875\u9762",pg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",e0="\u5B9A\u4F4D\u5BB9\u5668",t0="\u6805\u683C\u5E03\u5C40",n0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",i0="\u660E\u7EC6\u5B50\u8868\u884C",u0="\u6807\u7B7E\u9875",a0="\u6807\u7B7E\u5355\u5143",r0="\u5DE5\u5177\u680F",l0="\u6279\u91CF\u63D0\u4EA4",o0="\u5BFC\u51FA\u8BB0\u5F55",c0="\u5217\u8868\u89C6\u56FE",s0="\u5F15\u7528\u5217\u8868",d0={isNotNumber:Cv,isNotString:Ev,isNotObject:wv,isNotArray:Bv,isNotBoolean:Sv,runtimeRequired:Iv,pleaseEnterCaption:Av,pleaseEnterCaptionTip:Tv,pleaseEnterRowCaption:Fv,pleaseEnterPlaceholder:Rv,pleaseEnterFieldCode:Dv,pleaseEnterForm:xv,pleaseEnterList:Pv,pleaseEnterProcess:kv,pleaseEnterLabel:Ov,pleaseEnterValue:Mv,bizKeyNotBindFiled:$v,pleaseSelectOneField:Lv,pleaseEnterNumberRange:Nv,pleaseEnterAValueGreaterThanMin:Vv,pleaseEnterAValueLessThanMax:Hv,numberRangeSetError:jv,stringRangeError:qv,attachmentMaxSize:Uv,pleaseEnterTotalScoreSetting:Wv,theTotalScoreMustNotBeLessThan1:zv,scoreDefaultValueRange:Kv,attachmentLimitError:Gv,PleaseReselectTheOptionalQuantity:Qv,TheMaximumLengthIsGreaterThanTheMinimumLength:Xv,TheMinimumLengthIsGreaterThanTheMaximumLength:Jv,PleaseSelectTheCorrectOptionSettings:Zv,optionIdIsRepeat:Yv,optionIsRequired:pv,pleaseEnterDataCode:em,pleaseEnterValueFieldCode:tm,pleaseEnterSvcCode:nm,pleaseBindAtLeastOneDisplayValue:im,pleaseSelectProvince:um,pleaseSelectCity:am,pleaseSelectDistrict:rm,limitRowsCannotBeLessThan0:lm,TheNumberOfRowsCannotBeLessThanMinRows:om,pleaseEnterColumnWidth:cm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sm,pleaseCompleteAllRulesAndConditions:dm,pleaseSelectControl:hm,pleaseSelectDashboard:fm,theViewNameCannotBeEmpty:ym,pleaseSelectOcrType:vm,pleaseSelectAtLeastOneFieldToFillIn:mm,pleaseChooseAtLeastOne:gm,pleaseEnterButtonContent:bm,pleaseEnterDataCodeInDataSetting:_m,pleaseEnterValueFieldCodeInDataSetting:Cm,pleaseEnterSvcCodeInDataSetting:Em,pleaseBindAtLeastOneDisplayValueInDataSetting:wm,rootNodeIsRequiredInDataSetting:Bm,pleaseEnterMaxHeight:Sm,pleaseEnter:Im,pleaseEnterWatermark:Am,pleaseEnterFileName:Tm,pleaseUploadAtLeastOnePrintTemplate:Fm,pleaseAssignBusiness:Rm,pleaseAssignExternal:Dm,pleaseEnterAliasCode:xm,pleaseSelectDataCode:Pm,pleaseSelectSvcCode:km,pleaseSelectJoinFieldCode:Om,pleaseSelectMainFieldCode:Mm,pleaseSelectSortFieldCode:$m,batchDeleteButton:Lm,batchPrintListButton:Nm,batchPrintRecordList:Vm,button:Hm,createFormListButton:jm,dashboard:qm,divider:Um,exportListButton:Wm,formSelectButton:zm,importRecordListButton:Km,invoiceCheckButton:Gm,link:Qm,listSelectButton:Xm,ListViewSelect:Jm,operationButton:Zm,pagination:Ym,submissionRecordListButton:pm,text:eg,textOcrButton:tg,title:ng,approvalStatusColumn:ig,array:ug,autoNumber:ag,custom:rg,decimal:lg,department:og,employee:cg,file:sg,image:dg,location:hg,operation:fg,order:yg,people:vg,long:mg,timescope:gg,timestamp:bg,varchar:_g,gridLayoutWrap:Cg,gridTable:Eg,subTable:wg,address:Bg,amount:Sg,calc:Ig,checkBox:Ag,electronicSignature:Tg,input:Fg,number:Rg,organizationSelection:Dg,radio:xg,richText:Pg,score:kg,searchNumberRange:Og,select:Mg,selectMultiple:$g,selectRelation:Lg,textarea:Ng,tree:Vg,vueFormItem:Hg,vuePage:jg,WPS:qg,actionBar:Ug,advancedContainer:Wg,cardGroup:zg,col:Kg,dataView:Gg,grid:Qg,gridLayoutContainer:Xg,gridRow:Jg,listView:Zg,page:Yg,position:pg,positioningContainer:e0,row:t0,subtableColumn:n0,subtableRow:i0,tab:u0,tabPane:a0,toolbox:r0,batchSubmissionListButton:l0,exportRecordListButton:o0,listViewSelect:c0,referenceList:s0},h0="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",f0="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",y0="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v0="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",m0="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",g0="{caption}\u5FC5\u9808",b0="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_0="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",C0="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",E0="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",w0="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",B0="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",S0="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",I0="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A0="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",T0="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",F0="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",R0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",P0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",O0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",M0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",L0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",N0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",V0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",H0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",j0="\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",q0="\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",U0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",W0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",z0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",K0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",G0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Q0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",X0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",J0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Z0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Y0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",p0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",eb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ib="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ub="please select control",ab="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",lb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ob="\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",cb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",db="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",yb="\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",vb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_b="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Cb="\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",Eb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Tb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u6279\u91CF\u5220\u9664",Db="\u6279\u91CF\u6253\u5370",xb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Pb="\u6309\u94AE",kb="\u521B\u5EFA\u5355\u636E",Ob="\u4EEA\u8868\u76D8",Mb="\u5206\u5272\u7EBF",$b="\u5BFC\u51FA",Lb="\u8868\u5355\u64CD\u4F5C",Nb="\u5BFC\u5165",Vb="\u53D1\u7968\u8BC6\u522B",Hb="\u94FE\u63A5",jb="\u5217\u8868\u9009\u62E9",qb="\u5217\u8868\u89C6\u56FE",Ub="\u64CD\u4F5C\u6309\u94AE",Wb="\u5206\u9875",zb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Kb="\u8BF4\u660E\u6587\u5B57",Gb="\u6587\u5B57\u8BC6\u522B",Qb="\u6807\u9898\u7EC4\u4EF6",Xb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Jb="\u6570\u7EC4",Zb="\u81EA\u52A8\u7F16\u53F7",Yb="\u81EA\u5B9A\u4E49",pb="\u6570\u503C",e_="\u90E8\u95E8",t_="\u4EBA\u5458",n_="\u9644\u4EF6",i_="\u56FE\u7247",u_="\u5730\u5740",a_="\u64CD\u4F5C",r_="\u5E8F\u53F7",l_="\u4EBA\u5458",o_="\u957F\u6587\u672C",c_="\u65E5\u671F\u533A\u95F4",s_="\u65E5\u671F",d_="\u77ED\u6587\u672C",h_="\u6362\u884C\u5BB9\u5668Wrap",f_="\u8868\u683C",y_="\u660E\u7EC6\u5B50\u8868",v_="\u5730\u5740",m_="\u91D1\u989D",g_="\u8BA1\u7B97\u516C\u5F0F",b_="\u591A\u9009",__="\u7535\u5B50\u7B7E\u7AE0",C_="\u5355\u884C\u6587\u672C",E_="\u6570\u5B57",w_="\u4E1A\u52A1\u7EC4\u7EC7",B_="\u5355\u9009",S_="\u5BCC\u6587\u672C",I_="\u8BC4\u5206",A_="\u6570\u5B57\u533A\u95F4",T_="\u4E0B\u62C9\u5355\u9009",F_="\u4E0B\u62C9\u591A\u9009",R_="\u5173\u8054\u5355\u9009",D_="\u591A\u884C\u6587\u672C",x_="\u6811",P_="Vue\u5BB9\u5668",k_="Vue\u9875\u9762",O_="\u5728\u7EBF\u6587\u6863",M_="\u6309\u94AE\u64CD\u4F5C\u680F",$_="\u9AD8\u7EA7\u5BB9\u5668",L_="\u5206\u7EC4",N_="\u6805\u683C\u5217",V_="\u6570\u636E\u5BB9\u5668",H_="\u753B\u5E03",j_="\u6362\u884C\u5BB9\u5668",q_="\u6805\u683C\u7B49\u5206\u884C",U_="\u5217\u8868\u5BB9\u5668",W_="\u81EA\u7531\u9875\u9762",z_="\u5B9A\u4F4D\u5B50\u5BB9\u5668",K_="\u5B9A\u4F4D\u5BB9\u5668",G_="\u6805\u683C\u5E03\u5C40",Q_="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",X_="\u660E\u7EC6\u5B50\u8868\u884C",J_="\u6807\u7B7E\u9875",Z_="\u6807\u7B7E\u5355\u5143",Y_="\u5DE5\u5177\u680F",p_="\u6279\u91CF\u63D0\u4EA4",eC="\u5BFC\u51FA\u8BB0\u5F55",tC="\u5217\u8868\u89C6\u56FE",nC="\u5F15\u7528\u5217\u8868",iC={isNotNumber:h0,isNotString:f0,isNotObject:y0,isNotArray:v0,isNotBoolean:m0,runtimeRequired:g0,pleaseEnterCaption:b0,pleaseEnterCaptionTip:_0,pleaseEnterRowCaption:C0,pleaseEnterPlaceholder:E0,pleaseEnterFieldCode:w0,pleaseEnterForm:B0,pleaseEnterList:S0,pleaseEnterProcess:I0,pleaseEnterLabel:A0,pleaseEnterValue:T0,bizKeyNotBindFiled:F0,pleaseSelectOneField:R0,pleaseEnterNumberRange:D0,pleaseEnterAValueGreaterThanMin:x0,pleaseEnterAValueLessThanMax:P0,numberRangeSetError:k0,stringRangeError:O0,attachmentMaxSize:M0,pleaseEnterTotalScoreSetting:$0,theTotalScoreMustNotBeLessThan1:L0,scoreDefaultValueRange:N0,attachmentLimitError:V0,PleaseReselectTheOptionalQuantity:H0,TheMaximumLengthIsGreaterThanTheMinimumLength:j0,TheMinimumLengthIsGreaterThanTheMaximumLength:q0,PleaseSelectTheCorrectOptionSettings:U0,optionIdIsRepeat:W0,optionIsRequired:z0,pleaseEnterDataCode:K0,pleaseEnterValueFieldCode:G0,pleaseEnterSvcCode:Q0,pleaseBindAtLeastOneDisplayValue:X0,pleaseSelectProvince:J0,pleaseSelectCity:Z0,pleaseSelectDistrict:Y0,limitRowsCannotBeLessThan0:p0,TheNumberOfRowsCannotBeLessThanMinRows:eb,pleaseEnterColumnWidth:tb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nb,pleaseCompleteAllRulesAndConditions:ib,pleaseSelectControl:ub,pleaseSelectDashboard:ab,theViewNameCannotBeEmpty:rb,pleaseSelectOcrType:lb,pleaseSelectAtLeastOneFieldToFillIn:ob,pleaseChooseAtLeastOne:cb,pleaseEnterButtonContent:sb,pleaseEnterDataCodeInDataSetting:db,pleaseEnterValueFieldCodeInDataSetting:hb,pleaseEnterSvcCodeInDataSetting:fb,pleaseBindAtLeastOneDisplayValueInDataSetting:yb,rootNodeIsRequiredInDataSetting:vb,pleaseEnterMaxHeight:mb,pleaseEnter:gb,pleaseEnterWatermark:bb,pleaseEnterFileName:_b,pleaseUploadAtLeastOnePrintTemplate:Cb,pleaseAssignBusiness:Eb,pleaseAssignExternal:wb,pleaseEnterAliasCode:Bb,pleaseSelectDataCode:Sb,pleaseSelectSvcCode:Ib,pleaseSelectJoinFieldCode:Ab,pleaseSelectMainFieldCode:Tb,pleaseSelectSortFieldCode:Fb,batchDeleteButton:Rb,batchPrintListButton:Db,batchPrintRecordList:xb,button:Pb,createFormListButton:kb,dashboard:Ob,divider:Mb,exportListButton:$b,formSelectButton:Lb,importRecordListButton:Nb,invoiceCheckButton:Vb,link:Hb,listSelectButton:jb,ListViewSelect:qb,operationButton:Ub,pagination:Wb,submissionRecordListButton:zb,text:Kb,textOcrButton:Gb,title:Qb,approvalStatusColumn:Xb,array:Jb,autoNumber:Zb,custom:Yb,decimal:pb,department:e_,employee:t_,file:n_,image:i_,location:u_,operation:a_,order:r_,people:l_,long:o_,timescope:c_,timestamp:s_,varchar:d_,gridLayoutWrap:h_,gridTable:f_,subTable:y_,address:v_,amount:m_,calc:g_,checkBox:b_,electronicSignature:__,input:C_,number:E_,organizationSelection:w_,radio:B_,richText:S_,score:I_,searchNumberRange:A_,select:T_,selectMultiple:F_,selectRelation:R_,textarea:D_,tree:x_,vueFormItem:P_,vuePage:k_,WPS:O_,actionBar:M_,advancedContainer:$_,cardGroup:L_,col:N_,dataView:V_,grid:H_,gridLayoutContainer:j_,gridRow:q_,listView:U_,page:W_,position:z_,positioningContainer:K_,row:G_,subtableColumn:Q_,subtableRow:X_,tab:J_,tabPane:Z_,toolbox:Y_,batchSubmissionListButton:p_,exportRecordListButton:eC,listViewSelect:tC,referenceList:nC},mu={zhCN:_v,enUS:d0,jaJP:iC},xr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(xr||(xr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var gu,uC=(gu=window.localStorage.getItem("locale"))!==null&&gu!==void 0?gu:"zh-CN",it;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(it||(it={}));var kr;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(kr||(kr={}));var I;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list"})(I||(I={}));var Or;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Or||(Or={}));var b;(function(t){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"})(b||(b={}));var Se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Se||(Se={}));var Mr={DEFAULT:"default"},$r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",aC=$r+"0123456789";function de(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?$r:aC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function rC(t){if(Array.isArray(t))return bu(t)}function lC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e,n){return e=kt(e),dC(t,Cu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function Nr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return Cu()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Ot(c,r.prototype),c},Pn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(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&&Ot(t,e)}function oC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function cC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sC(){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 dC(t,e){return e&&(hC(e)==="object"||typeof e=="function")?e:lC(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Hr(t){return rC(t)||cC(t)||fC(t)||sC()}function hC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fC(t,e){if(!!t){if(typeof t=="string")return bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(t,e)}}function _u(t){var e=typeof Map=="function"?new Map:void 0;return _u=function(i){if(i===null||!oC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},_u(t)}function Cu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cu=function(){return!!t})()}var Eu=console;function wu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Eu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Hr(u)))}function jr(){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=Eu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Hr(u)))}function yC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bu=function(t){Vr(e,t);function e(n){Nr(this,e);var i;return i=Lr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?yC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(_u(Error)),vC=function(t){Vr(e,t);function e(n){Nr(this,e);var i;return i=Lr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Bu);function Mt(t){throw new Bu(t)}function qr(t){throw new vC(t)}function mC(t){Eu.error(new Bu(t))}const gC=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((l,d)=>{d===0?u=a[l]:u&&(u=u[l])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(l=>{const d=e[l];r=r.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),d)}),r||(n?r=n:r=t),r};function bC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _C(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function CC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=function(){function t(){bC(this,t)}return _C(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return gC("CMD."+n,i,mu==null||(u=mu[uC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();CC(o,"$i18n",o.resetI18n());function EC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){wu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,u=!0),c[r]}},t),u}var wC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},BC={exports:{}};(function(t){(function(e){var n=function(v,E,T){if(!c(E)||m(E)||g(E)||_(E)||d(E))return E;var x,O=0,ae=0;if(f(E))for(x=[],ae=E.length;O<ae;O++)x.push(n(v,E[O],T));else{x={};for(var M in E)Object.prototype.hasOwnProperty.call(E,M)&&(x[v(M,T)]=n(v,E[M],T))}return x},i=function(v,E){E=E||{};var T=E.separator||"_",x=E.split||/(?=[A-Z])/;return v.split(x).join(T)},u=function(v){return w(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(E,T){return T?T.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var E=u(v);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(v,E){return i(v,E).toLowerCase()},l=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},_=function(v){return l.call(v)=="[object Boolean]"},w=function(v){return v=v-0,v===v},C=function(v,E){var T=E&&"process"in E?E.process:E;return typeof T!="function"?v:function(x,O){return T(x,v,O)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,E){return n(C(u,E),v)},decamelizeKeys:function(v,E){return n(C(r,E),v,E)},pascalizeKeys:function(v,E){return n(C(a,E),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(wC)})(BC);var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var SC=Wr.default=Su;function IC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function le(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":IC(t))==="object"?SC(t):t}function AC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Iu(t){return Array.isArray(t)}function TC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Au(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 FC(t){if(Array.isArray(t))return Au(t)}function zr(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function RC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){zr(a,i,u,r,l,"next",d)}function l(d){zr(a,i,u,r,l,"throw",d)}r(void 0)})}}function DC(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 xC(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function PC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kC(){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 Tu(t){return FC(t)||PC(t)||OC(t)||kC()}function OC(t,e){if(!!t){if(typeof t=="string")return Au(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 Au(t,e)}}function MC(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var $C=function(){function t(){DC(this,t),Gr(this,"_events",new Map),Gr(this,"debug",!1)}return xC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return RC(function(){var l,d,c,f,m,g,_,w,C,S,v,E;return MC(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),d=[],!l)return[3,10];c=l.slice(),f=!0,m=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),_=c[Symbol.iterator](),T.label=2;case 2:if(f=(w=_.next()).done)return[3,7];if(C=w.value,!l.includes(C))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&jr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,C.apply(null,Tu(u))];case 4:return S=T.sent(),r.debug&&jr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.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(Tu(u),[S])),d.push(S),S===!1?[3,7]:[3,6];case 5:return v=T.sent(),mC(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return E=T.sent(),m=!0,g=E,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(m)throw g}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function LC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function NC(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function VC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var HC=[{key:"on_click",name:o.getMessage("click"),code:"click"},{key:"on_click_finish",name:o.getMessage("finished"),code:"click-finish"},{key:"on_change",name:o.getMessage("valueChange"),code:"change"},{key:"on_search",name:o.getMessage("search"),code:"search"},{key:"on_list_change",name:o.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:o.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:o.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:o.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:o.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:o.getMessage("onInput"),code:"input"},{key:"on_blur",name:o.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:o.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:o.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:o.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:o.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:o.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:o.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:o.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:o.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:o.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:o.getMessage("modalConfirm"),code:"modal-ok"}],jC=function(){function t(){LC(this,t)}return NC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();VC(jC,"events",HC);function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function qC(t){if(Array.isArray(t))return Fu(t)}function UC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xr(t){return qC(t)||UC(t)||zC(t)||WC()}function zC(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Ru(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Jr(t,e,n){n!=="Runtime"&&(t.parent=e,Ru(t,"parent"))}function KC(t,e,n){t.forEach(function(i){Jr(i,e,n)})}var Zr=Symbol("targetKey");function Yr(t){var e;return(e=t[Zr])!==null&&e!==void 0?e:t}function pr(t,e,n){return KC(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),d=2;d<r;d++)l[d-2]=arguments[d];var c;return a===Zr?u:(c=Reflect).get.apply(c,[u,a].concat(Xr(l)))},set:function(u,a,r){for(var l=arguments.length,d=new Array(l>3?l-3:0),c=3;c<l;c++)d[c-3]=arguments[c];var f;if(Iu(t)&&a==="length"&&r===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,r].concat(Xr(d)));return AC(r)&&Jr(r,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,r=pr(Yr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(d){r=pr(Yr(d),a,u)},enumerable:!0})}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(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 QC(t,e,n){return e&&el(t.prototype,e),n&&el(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}var tl=[],kn=function(){function t(e){GC(this,t),Ie(this,"registeredControlTypes",new Set),Ie(this,"controlConfigMap",new Map),Ie(this,"_controls",[]),Ie(this,"_type",void 0),this._type=e,this._initControls(e)}return QC(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(wu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===it.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===it.FORM}},{key:"isListControl",value:function(n){return n.controlType===it.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===it.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var d=i(l);d&&(l=d)}var c;return r.mode==="Runtime"?(c=l,c.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new r(l),c}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Ru(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var d=r[a],c=l[a];if(!(!d&&!c)){var f=c.findIndex(function(_){return _==n}),m=l[d]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Ru(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return l>-1&&(wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Ie(kn,"staticControlsRuntimeRules",new Map),Ie(kn,"staticControls",tl),Ie(kn,"staticRegisteredTypes",new Set(tl.map(function(t){return t.Designer.controlType}))),Ie(kn,"staticRegisteredConfigs",new Map);function XC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oe(t,e,n){return e=On(e),JC(t,nl()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function ce(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&&Du(t,e)}function JC(t,e){return e&&(ZC(e)==="object"||typeof e=="function")?e:XC(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}function ZC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nl=function(){return!!t})()}var fe=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},il=function t(e){B(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ul=function t(e){B(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},YC=function t(e){B(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ul(e==null?void 0:e.pc),this.mobile=new ul(e==null?void 0:e.mobile)},xu=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(il),pC=function t(e){B(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},eE=function t(e){B(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},tE=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),al=function t(e){B(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Pu=function t(e){B(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new al(r)}))!==null&&a!==void 0?a:[]},nE=function t(e){B(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},iE=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var r;i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1;var l;return i.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],i}return e}(ut),uE=function t(e){B(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new nE(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new iE(r)}))!==null&&a!==void 0?a:[]},aE=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},$t=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;B(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var d,c=new t(l);(d=n.children)===null||d===void 0||d.push(c)}else{var f,m=new Mn(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){B(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new aE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new $t(e==null?void 0:e.rightVariableBo)},rE=function t(e){B(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){B(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},lE=function t(e){B(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new ku(l):new Mn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Mn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new lE(l)}))!==null&&r!==void 0?r:[]}var Y=function t(e){var n=this;B(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Ou(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Mu.call(this,e)},$u=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ge=function t(e){B(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},rl=function t(e){B(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Ou(r)}))!==null&&a!==void 0?a:[]},$n=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new rl(r)}))!==null&&a!==void 0?a:[],i}return e}(Y),oE=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new rl(l)}))!==null&&a!==void 0?a:[];var r;return i.formCode=(r=n==null?void 0:n.formCode)!==null&&r!==void 0?r:"",i}return e}(Y),ll=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new $t(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),ol=function t(e){B(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new te(r)}))!==null&&a!==void 0?a:[]},cl=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Mu.call(i,n),i}return e}(ol),sl=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(ol),dl=function t(e){B(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},cE=function t(e){B(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function be(t){var e;return(e=t==null?void 0:t.map(function(n){return new cE(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){B(this,t)},sE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(Lu),dE=function t(e){B(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},hE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(Lu),fE=function t(e){B(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},yE=function t(e){B(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},vE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(Lu),mE=function t(e){B(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(function(t){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"})(Nu||(Nu={}));var s;(function(t){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"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var Ae=function t(e){B(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},gE=function t(e){B(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new al(r)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},bE=function t(e){B(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},_E=function t(e){B(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},CE=function t(e){B(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new ku(d):new Mn(d)}))!==null&&r!==void 0?r:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new EE(d)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},EE=function t(e){B(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},wE=function t(e){B(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(r){return new CE(r)}))!==null&&a!==void 0?a:[]:[]};function BE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SE(t,e,n){return e=Lt(e),TE(t,qu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return qu()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nt(c,r.prototype),c},Ln.apply(null,arguments)}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function IE(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&&Nt(t,e)}function AE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function TE(t,e){return e&&(FE(e)==="object"||typeof e=="function")?e:BE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function FE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!AE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),_e(this,"isHide",{type:"boolean"})},$e=function(t){IE(e,t);function e(n){return Hu(this,e),SE(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),_e(this,"isHide",void 0),_e(this,"className",void 0),_e(this,"style",void 0),_e(this,"caption",void 0),_e(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new bE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};_e(q,"mode",void 0),_e(q,"Rules",j),_e(q,"RuntimeRules",$e);function ye(){return ye=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},ye.apply(this,arguments)}function RE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function DE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Vn(t,e,n){return DE()?Vn=Reflect.construct:Vn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nn(c,r.prototype),c},Vn.apply(null,arguments)}function xE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!xE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},Wu(t)}var PE=/%[sdj%]/g,hl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(hl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(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],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(PE,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return l}});return r}return u}function kE(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||kE(e)&&typeof t=="string"&&!t)}function OE(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function fl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function ME(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var yl=function(t){RE(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}(Wu(Error));function $E(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(S){return i(S),S.length?g(new yl(S,zu(S))):m()},w=ME(t);fl(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,d=0,c=[],f=new Promise(function(m,g){var _=function(C){if(c.push.apply(c,C),d++,d===l)return i(c),c.length?g(new yl(c,zu(c))):m()};r.length||(i(c),m()),r.forEach(function(w){var C=t[w];a.indexOf(w)!==-1?fl(C,n,_):OE(C,n,_)})});return f.catch(function(m){return m}),f}function vl(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 ml(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]=ye(ye({},t[n]),i):t[n]=i}}return t}function gl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function LE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Ku={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(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function NE(t,e,n,i,u){if(t.required&&e===void 0){gl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function VE(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[f].len,t.fullField,t.len)):r&&!l&&c<t.min?i.push(ne(u.messages[f].min,t.fullField,t.min)):l&&!r&&c>t.max?i.push(ne(u.messages[f].max,t.fullField,t.max)):r&&l&&(c<t.min||c>t.max)&&i.push(ne(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function HE(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 jE(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 a=new RegExp(t.pattern);a.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:gl,whitespace:LE,type:NE,range:VE,enum:HE,pattern:jE};function qE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function UE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function WE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function zE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function KE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(t,e,i,a,u)}n(a)}function GE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function QE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function XE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function JE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var ZE="enum";function YE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[ZE](t,e,i,a,u)}n(a)}function pE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function ew(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,a,u),l&&A.range(t,l.getTime(),i,a,u)}}n(a)}function tw(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,r),n(a)}function Gu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,a)&&!t.required)return n();A.required(t,e,i,r,u,a),G(e,a)||A.type(t,e,i,r,u)}n(r)}function nw(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:qE,method:UE,number:WE,boolean:zE,regexp:KE,integer:GE,float:QE,array:XE,object:JE,enum:YE,pattern:pE,date:ew,url:Gu,hex:Gu,email:Gu,required:tw,any:nw};function Qu(){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 Xu=Qu();function Te(t){this.rules=null,this._messages=Xu,this.define(t)}Te.prototype={messages:function(e){return e&&(this._messages=ml(Qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function d(C){var S,v=[],E={};function T(x){if(Array.isArray(x)){var O;v=(O=v).concat.apply(O,x)}else v.push(x)}for(S=0;S<C.length;S++)T(C[S]);v.length?E=zu(v):(v=null,E=null),l(v,E)}if(r.messages){var c=this.messages();c===Xu&&(c=Qu()),ml(c,r.messages),r.messages=c}else r.messages=this.messages();var f,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(S){var v=S;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var w={};return $E(g,r,function(C,S){var v=C.rule,E=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");E=E&&(v.required||!v.required&&C.value),v.field=C.field;function T(ae,M){return ye(ye({},M),{},{fullField:v.fullField+"."+ae})}function x(ae){ae===void 0&&(ae=[]);var M=ae;if(Array.isArray(M)||(M=[M]),!r.suppressWarning&&M.length&&Te.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(vl(v)),r.first&&M.length)return w[v.field]=1,S(M);if(!E)S(M);else{if(v.required&&!C.value)return v.message!==void 0?M=[].concat(v.message).map(vl(v)):r.error&&(M=[r.error(v,ne(r.messages.required,v.field))]),S(M);var re={};if(v.defaultField)for(var Rn in C.value)C.value.hasOwnProperty(Rn)&&(re[Rn]=v.defaultField);re=ye(ye({},re),C.rule.fields);for(var we in re)if(re.hasOwnProperty(we)){var hu=Array.isArray(re[we])?re[we]:[re[we]];re[we]=hu.map(T.bind(null,we))}var Dn=new Te(re);Dn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Dn.validate(C.value,C.rule.options||r,function(Dt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Dt&&Dt.length&&Be.push.apply(Be,Dt),S(Be.length?Be:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,x,C.source,r):v.validator&&(O=v.validator(v,C.value,x,C.source,r),O===!0?x():O===!1?x(v.message||v.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(ae){return x(ae)})},function(C){d(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.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"?Ht.required:Ht[this.getType(e)]||!1}},Te.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Te.warning=hl,Te.messages=Xu,Te.validators=Ht;var iw={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function uw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Te(t);return n.messages(Object.assign(iw,e)),n}var aw=new $C;function Ju(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 rw(t){if(Array.isArray(t))return t}function lw(t){if(Array.isArray(t))return Ju(t)}function bl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function _l(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){bl(a,i,u,r,l,"next",d)}function l(d){bl(a,i,u,r,l,"throw",d)}r(void 0)})}}function ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(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 cw(t,e,n){return e&&Cl(t.prototype,e),n&&Cl(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function wl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sw(){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 dw(){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 Bl(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){P(t,u,n[u])})}return t}function hw(t){return rw(t)||wl(t)||Sl(t)||sw()}function Zu(t){return lw(t)||wl(t)||Sl(t)||dw()}function fw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sl(t,e){if(!!t){if(typeof t=="string")return Ju(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 Ju(t,e)}}function Il(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;ow(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Tl),P(this,"removeSetting",Al),this._callControlHooks("preInstance",n);var u=El(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,w=u.slotPosition;a&&r&&l||qr("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:de(10),this.name=a,this.icon=r;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:l,this.props=new q(n==null?void 0:n.props,(El(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=le(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:d,this.eventKeys=le(c),this.customEvents=le(f),this.slots=le(_),this.slotPosition=le(w),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return cw(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=hw(u),d=l[0],c=l.slice(1);return(r=aw).emit.apply(r,[d,this].concat(Zu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),EC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return _l(function(){var u,a,r;return Il(this,function(l){switch(l.label){case 0:return u=Bl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return _l(function(){var r,l,d,c;return Il(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:Bl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),d=uw(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,d=l.dataBind,c=l.datasourceBind,f=l.optionConfig,m=l.caption,g=l.required,_=l.maxLength,w=l.options,C=l.encrypted,S=l.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(d&&(v.dataBind=d),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=w;break}return g!==void 0&&(v.required=g),_!==void 0&&(v.maxLength=_),C!==void 0&&(v.encrypted=C),S!==void 0&&(v.encryptedMode=S),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:le(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Al),P(k,"updateSettingItem",Tl);function Al(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(r!==-1){var l,d;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(r,1),a&&!(!((d=e.setting[r].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(r,1)}})}function Tl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":fw(e))==="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Zu(e.showItems))}}}})}function yw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(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 vw(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(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 mw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){yw(this,e),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 i=mw(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||qr("The ".concat(r," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:de(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return vw(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(U,"mode","Runtime"),ie(U,"controlType","control"),ie(U,"controlFieldType",void 0),ie(U,"__is_control__",!0),ie(U,"controlCustomEvents",[]);function Yu(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:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:o.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=TC(a);a.length!==r.length?u(o.getMessage("optionIdIsRepeat")):u()},message:o.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:o.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o.getMessage("isNotString")},key:{type:"string",required:!0,message:o.getMessage("isNotString")},value:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}]}function gw(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function bw(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=Un(e),_w(t,Rl()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function _w(t,e){return e&&(Cw(e)==="object"||typeof e=="function")?e:bw(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Cw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rl=function(){return!!t})()}var Q=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(i,"captionTip",{type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}};if(gw(n.dataBind))i.dataBind={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:o.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(r){a.fields[r]={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}($e),F=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var r;i.isShowCaptionTip=(r=n==null?void 0:n.isShowCaptionTip)!==null&&r!==void 0?r:!1;var l;i.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new fe(n==null?void 0:n.dataBind);var _;return i.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",i}return e}(q);L(F,"Rules",Q),L(F,"RuntimeRules",$);var rt=function(t){Wn(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),L(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Yu.call(i,n),i}return e}(Q);function Ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ww(t,e,n){return e=Kn(e),Iw(t,Dl()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function Bw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Sw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function Iw(t,e){return e&&(Aw(e)==="object"||typeof e=="function")?e:Ew(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function Aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dl=function(){return!!t})()}var R=function(t){Sw(e,t);function e(n){Bw(this,e);var i;return i=ww(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(k);zn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(R,"controlCustomAttributes",void 0);function Tw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fw(t,e,n){return e=Gn(e),xw(t,xl()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Rw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Dw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function xw(t,e){return e&&(Pw(e)==="object"||typeof e=="function")?e:Tw(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function Pw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xl=function(){return!!t})()}var D=function(t){Dw(e,t);function e(n){Rw(this,e);var i;return i=Fw(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(U);function kw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,n){return e=Qn(e),Lw(t,Pl()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function Mw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function $w(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function Lw(t,e){return e&&(Nw(e)==="object"||typeof e=="function")?e:kw(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function Nw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pl=function(){return!!t})()}var N=function(t){$w(e,t);function e(n){return Mw(this,e),Ow(this,e,[n])}return e}(q);function ua(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 Vw(t){if(Array.isArray(t))return ua(t)}function Hw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function jw(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){kl(a,i,u,r,l,"next",d)}function l(d){kl(a,i,u,r,l,"throw",d)}r(void 0)})}}function qw(t,e,n){return e=Re(e),Yw(t,$l()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function Uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(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 Ww(t,e,n){return e&&Ol(t.prototype,e),n&&Ol(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 lt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?lt=Reflect.get:lt=function(u,a,r){var l=pw(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},lt(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function zw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function Kw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Gw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qw(){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 Xw(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 Jw(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 Zw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Jw(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Yw(t,e){return e&&(e5(e)==="object"||typeof e=="function")?e:Hw(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function pw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function Ml(t){return Vw(t)||Gw(t)||t5(t)||Qw()}function e5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t5(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function $l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($l=function(){return!!t})()}function n5(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var i5=1e4,H=function(e){zw(n,e);function n(i){Uw(this,n);var u;u=qw(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 a=Kw(this,n)?this.constructor:void 0,r=a.excludes,l=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),he(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=le(r),u.childrenMaxLength=l,u}return Ww(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var r=this,l=this,d=function(){return lt(Re(n.prototype),"validate",r)};return jw(function(){return n5(this,function(c){switch(c.label){case 0:return[4,d().call(l,u,a)];case 1:return c.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=lt(Re(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[];return this.children.reduce(function(l,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Ml(l).concat(Ml(f))}return c&&l.push(c),l},r)}},{key:"toSchema",value:function(){var u=lt(Re(n.prototype),"toSchema",this).call(this),a=this.children.map(function(r){var l=r.toSchema();return l});return Zw(Xw({},u),{children:a})}}]),n}(k);Fe(H,"excludes",!1),Fe(H,"childrenMaxLength",i5);function u5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a5(t,e,n){return e=Xn(e),o5(t,Ll()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function r5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function l5(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&&la(t,e)}function o5(t,e){return e&&(c5(e)==="object"||typeof e=="function")?e:u5(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function c5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ll=function(){return!!t})()}var W=function(t){l5(e,t);function e(n){r5(this,e);var i;return i=a5(this,e,[n]),ra(i,"controlType","layout"),ra(i,"children",void 0),ra(i,"props",void 0),i.props=new N(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function s5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d5(t,e,n){return e=Jn(e),y5(t,Nl()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function f5(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&&oa(t,e)}function y5(t,e){return e&&(v5(e)==="object"||typeof e=="function")?e:s5(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function v5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nl=function(){return!!t})()}var Zn=function(t){f5(e,t);function e(n,i,u){h5(this,e);var a;a=d5(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),he(a,"headers",i==null?void 0:i.headers,n,u),he(a,"footers",i==null?void 0:i.footers,n);var r;a.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1;var l;a.pageSize=(l=i==null?void 0:i.pageSize)!==null&&l!==void 0?l:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);function ca(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 m5(t){if(Array.isArray(t))return ca(t)}function g5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function b5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){Vl(a,i,u,r,l,"next",d)}function l(d){Vl(a,i,u,r,l,"throw",d)}r(void 0)})}}function _5(t,e,n){return e=De(e),A5(t,Wl()?Reflect.construct(e,n||[],De(t).constructor):e.apply(t,n))}function C5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(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 E5(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,r){var l=T5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ct(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function w5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function B5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function S5(){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 jl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function I5(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 ql(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):I5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function A5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:g5(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function T5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function Ul(t){return m5(t)||B5(t)||R5(t)||S5()}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R5(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function Wl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wl=function(){return!!t})()}function D5(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){w5(e,t);function e(n){C5(this,e);var i;return i=_5(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return E5(e,[{key:"validate",value:function(i,u){var a=this,r=this,l=function(){return ct(De(e.prototype),"validate",a)};return b5(function(){return D5(this,function(d){switch(d.label){case 0:return[4,l().call(r,i)];case 1:return d.sent(),[4,Promise.all(r.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=ct(De(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(r,l){var d=l.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(f){return!!f});return Ul(r).concat(Ul(c))}return d&&r.push(d),r},u)}},{key:"toSchema",value:function(){var i=ct(De(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return ql(jl({},i),{props:ql(jl({},this.props),{headers:u})})}}]),e}(k);Yn(da,"controlFieldType",b.LIST);function x5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P5(t,e,n){return e=pn(e),$5(t,Kl()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function k5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function O5(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function ha(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 M5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function $5(t,e){return e&&(L5(e)==="object"||typeof e=="function")?e:x5(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function L5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kl=function(){return!!t})()}var Gl=function(t){M5(e,t);function e(n){k5(this,e);var i;return i=P5(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return O5(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function N5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ei(e),V5(t,Ql()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ma(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&&ga(t,e)}function V5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:N5(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ql(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ql=function(){return!!t})()}var ve=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),X(i,"width",{type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(j),z=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var r;i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new il(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var l;i.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(q);X(z,"Rules",ve);var Xl=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),X(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Yu.call(i,n),i}return e}(ve);function j5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q5(t,e,n){return e=st(e),X5(t,Zl()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function U5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function W5(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,r){var l=J5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function z5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function K5(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function G5(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 Q5(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):G5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function X5(t,e){return e&&(Z5(e)==="object"||typeof e=="function")?e:j5(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function J5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function Z5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zl=function(){return!!t})()}var J=function(t){z5(e,t);function e(n){U5(this,e);var i;return i=q5(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return W5(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return Q5(K5({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function Y5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p5(t,e,n){return e=ii(e),nB(t,Yl()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function eB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _a(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 tB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function nB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:Y5(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function iB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yl=function(){return!!t})()}var Z=function(t){tB(e,t);function e(n){eB(this,e);var i;return i=p5(this,e,[n]),_a(i,"controlType","column"),_a(i,"props",void 0),_a(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function uB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aB(t,e,n){return e=ui(e),cB(t,pl()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function oB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:uB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pl=function(){return!!t})()}var wa=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=aB(this,e,[n]),lB(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function dB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hB(t,e,n){return e=ai(e),vB(t,to()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function fB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function yB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function vB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:dB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var gB=function(t){yB(e,t);function e(n){fB(this,e);var i;return i=hB(this,e,[n]),eo(i,"controlType","search"),eo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(H);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _B(t,e,n){return e=ri(e),wB(t,io()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function wB(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:bB(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var SB=function(t){EB(e,t);function e(n){CB(this,e);var i;return i=_B(this,e,[n]),no(i,"controlType","search"),no(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(W);function IB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AB(t,e,n){return e=li(e),RB(t,uo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function TB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function FB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function RB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:IB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var Aa=function(t){FB(e,t);function e(n){return TB(this,e),AB(this,e,[n])}return e}(N);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=oi(e),MB(t,ro()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function kB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function OB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function MB(t,e){return e&&($B(e)==="object"||typeof e=="function")?e:xB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function $B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var LB=function(t){OB(e,t);function e(n){kB(this,e);var i;return i=PB(this,e,[n]),ao(i,"controlType","wrap"),ao(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(H);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VB(t,e,n){return e=ci(e),qB(t,oo()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function HB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(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 jB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function qB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:NB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function UB(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 WB=function(t){jB(e,t);function e(n){HB(this,e);var i;return i=VB(this,e,[n]),lo(i,"controlType","wrap"),lo(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}])}class Ra extends q{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:o.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class co extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return o.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}co.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class zB extends U{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var so={Designer:co,Runtime:zB,Property:Ra};class Da extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class xa extends k{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return o.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}xa.controlEventKeys=["on_click"],xa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class KB extends U{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"link"}}var ho={Designer:xa,Runtime:KB,Property:Da};class ee extends q{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new _E((f=e==null?void 0:e.optObj)!=null?f:{})}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Mr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends U{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var fo={Designer:p,Runtime:ue,Property:ee},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),yo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(yo||{}),vo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(vo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:de(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Pa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Pa||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Oa{constructor(e){var n,i,u,a,r,l,d,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new $t((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new $t((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new $t((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class mo{constructor(e){var n,i,u,a,r,l;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(d=>new Oa(d)))!=null?u:[new Oa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class jt{constructor(e){var n,i,u,a,r,l,d;this.id=(n=e==null?void 0:e.id)!=null?n:de(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class Ma{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 go{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ma(e==null?void 0:e.watermark),this.autoRename=new Ma(e==null?void 0:e.autoRename)}}class bo{constructor(e){var n,i,u,a,r,l;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(l=e==null?void 0:e.isRelation)!=null?l:!1}}class _o{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.line=(i=e==null?void 0:e.line)!=null?i:20,this.height=e==null?void 0:e.height}}class Co{constructor(e){this.dataCode=e.dataCode}}class Eo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Co(a)))!=null?u:[]}}class wo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Bo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class So{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class Io{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 Ao=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ao||{}),$a=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))($a||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),La=(t=>(t.ALL="all",t.ADMIN="admin",t))(La||{});class Na extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ka.SOLID}}class To extends k{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return o.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}To.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class GB extends U{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Fo={Designer:To,Runtime:GB,Property:Na};class QB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")}},message:o.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o.getMessage("pleaseSelectOneField")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=QB;class dt extends k{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class XB extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ro={Designer:dt,Runtime:XB,Property:fi};class JB extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}class yi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=JB;class ht extends p{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ZB extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Do={Designer:ht,Runtime:ZB,Property:yi};class YB extends j{constructor(e){super(e),this.processKey=[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterProcess")}]}}class vi extends ee{constructor(e){var n,i,u,a,r,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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}vi.Rules=YB;class ft extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pB extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var xo={Designer:ft,Runtime:pB,Property:vi};class Va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends p{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return o.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class eS extends ue{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Po={Designer:yt,Runtime:eS,Property:Va};class Ha extends ee{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new jt(l)))!=null?r:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportListButton")}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 tS extends ue{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ko={Designer:vt,Runtime:tS,Property:Ha};class ja extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nS extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Oo={Designer:mt,Runtime:nS,Property:ja};class iS{constructor(e){this.dataCode=e.dataCode}}class qa extends ee{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new iS(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class gt extends p{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class uS extends ue{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mo={Designer:gt,Runtime:uS,Property:qa};function mi(){return{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:o.getMessage("pleaseSelectControl")}}}}}}class aS extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o.getMessage("pleaseSelectControl")})}}class gi 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 cl(e==null?void 0:e.fillPayload),this.formBind=new tE(e==null?void 0:e.formBind),this.fillBack=new sl(e==null?void 0:e.fillBack)}}gi.Rules=aS;class Ut extends p{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("formSelectButton")}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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class rS extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var $o={Designer:Ut,Runtime:rS,Property:gi};class lS extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())}}}class bi extends ee{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new cl(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new sl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}bi.Rules=lS;class Wt extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class oS extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lo={Designer:Wt,Runtime:oS,Property:bi};class cS extends j{constructor(e){super(e)}}class sS extends $e{constructor(e){super(e)}}class zt extends q{constructor(e){super(e)}}zt.Rules=cS,zt.RuntimeRules=sS;class No extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}No.setting=[];class dS extends U{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Vo={Designer:No,Runtime:dS,Property:zt};class hS extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}_i.Rules=hS;class Ho extends k{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ho.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fS extends U{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jo={Designer:Ho,Runtime:fS,Property:_i};class yS extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ci extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new gE(a)))!=null?u:[]}}Ci.Rules=yS;class qo extends k{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}qo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class vS extends U{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Uo={Designer:qo,Runtime:vS,Property:Ci};class mS extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}Ei.Rules=mS;class bt extends p{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class gS extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Wo={Designer:bt,Runtime:gS,Property:Ei};class bS extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:_t.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}wi.Rules=bS;class _t extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class _S extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zo={Designer:_t,Runtime:_S,Property:wi};class CS extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bi extends ee{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new So(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Bi.Rules=CS;class Ct extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 ES extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ko={Designer:Ct,Runtime:ES,Property:Bi};class Ua extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends p{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wS extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Go={Designer:Et,Runtime:wS,Property:Ua};class BS extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")})}}class Si extends q{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Si.Rules=BS;class Ii extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return o.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class SS extends U{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Ii,Runtime:SS,Property:Si};class Wa extends q{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class wt extends k{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class IS extends U{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Xo={Designer:wt,Runtime:IS,Property:Wa};class AS extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}}}}}class Ai extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ti.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.actionSetting=(a=e==null?void 0:e.actionSetting)!=null?a:new bo,this.listHeightSetting=(r=e==null?void 0:e.listHeightSetting)!=null?r:new _o}}Ai.Rules=AS;class Ti extends k{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o.getMessage("referenceList")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ti.controlEventKeys=["on_list_rowclick"],Ti.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class TS extends U{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Jo={Designer:Ti,Runtime:TS,Property:Ai},FS=Object.freeze({__proto__:null,Text:so,Link:ho,Button:fo,Divider:Fo,Title:Ro,CreateFormListButton:Do,BatchSubmissionListButton:xo,SubmissionRecordListButton:Po,ExportListButton:ko,ExportRecordListButton:Oo,ImportRecordListButton:Mo,FormSelectButton:$o,ListSelectButton:Lo,Pagination:Vo,Dashboard:jo,ListViewSelect:Uo,TextOcrButton:Wo,InvoiceCheckButton:zo,BatchPrintListButton:Ko,BatchPrintRecordListButton:Go,OperationButton:Qo,BatchDeleteButton:Xo,ReferenceList:Jo});class RS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},{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=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class DS extends ${constructor(e){super(e),this.push({type:"string",message:o.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends F{constructor(e){var n,i,u,a,r,l,d;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 dl(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:St.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}Bt.Rules=RS,Bt.RuntimeRules=DS;class St extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=b.VARCHAR,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"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 Zo extends D{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"input"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:St,Runtime:Zo,Property:Bt};class xS extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class PS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Kt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var S;(S=this.multistageFilling)==null||S.push(new te(C))}))}}Kt.Rules=xS,Kt.RuntimeRules=PS;class Gt extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"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 po extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}po.controlFieldType=b.ARRAY;var ec={Designer:Gt,Runtime:po,Property:Kt};class kS extends rt{constructor(e){super(e)}}class Fi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))}))}}Fi.Rules=kS;class Qt extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends D{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"radio"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:Qt,Runtime:tc,Property:Fi};class OS extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o.getMessage("pleaseEnterNumberRange")},{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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class MS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Jt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:o.getMessage("pleaseEnter"),this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new dl(e==null?void 0:e.regularRules)}}Xt.Rules=OS,Xt.RuntimeRules=MS;class Jt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("number")}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}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ic extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}ic.controlFieldType=b.DECIMAL;var uc={Designer:Jt,Runtime:ic,Property:Xt};class za extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ri.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnterDate"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(_=>new si(_)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ri extends R{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends D{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ac.controlFieldType=b.TIMESTAMP;var rc={Designer:Ri,Runtime:ac,Property:za};class $S extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Di extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dataBind=new hE(e==null?void 0:e.dataBind),this.defaultValue=new fE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:o.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(_=>new si(_)))!=null?g:[]}}Di.RuntimeRules=$S;class xi extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"date-range"}}lc.controlFieldType=b.TIMESCOPE;var oc={Designer:xi,Runtime:lc,Property:Di};class LS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class NS extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Zt extends F{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.rowHeightSetting=new YC(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=LS,Zt.RuntimeRules=NS;class Yt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"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 cc extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}cc.controlFieldType=b.TEXT;var sc={Designer:Yt,Runtime:cc,Property:Zt};class VS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class HS extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class pt extends F{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter")}}pt.Rules=VS,pt.RuntimeRules=HS;class en extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class dc extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}dc.controlFieldType=b.TEXT;var hc={Designer:en,Runtime:dc,Property:pt};class jS extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Pi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new te(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}Pi.Rules=jS;class ki extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select"}}fc.controlFieldType=b.VARCHAR;var yc={Designer:ki,Runtime:fc,Property:Pi};class qS extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class US extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}tn.Rules=qS,tn.RuntimeRules=US;class Oi extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}vc.controlFieldType=b.ARRAY;var mc={Designer:Oi,Runtime:vc,Property:tn};class WS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))}))}}Mi.RuntimeRules=WS;class $i extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class gc extends D{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}gc.controlFieldType=b.EMPLOYEES;var bc={Designer:$i,Runtime:gc,Property:Mi};const zS=10485760,KS=104857600,GS=1048576e3;class QS extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:GS,message:o.getMessage("attachmentMaxSize")}}}class XS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:KS,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o.getMessage("uploadFile"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=QS,It.RuntimeRules=XS;class At extends R{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return o.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ka extends D{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ka.controlFieldType=b.FILE;var _c={Designer:At,Runtime:Ka,Property:It};const Cc=class extends At{static get controlName(){return o.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Cc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o.getMessage("uploadImg")}};let Ga=Cc;Ga.controlFieldType=b.IMAGE,Ga.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class JS extends Ka{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:o.getMessage("image"),this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:o.getMessage("uploadImg")}}class ZS extends It{constructor(e){super(e)}}var Ec={Designer:Ga,Runtime:JS,Property:ZS};class YS extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o.getMessage("pleaseEnterNumberRange")}]}},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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")})}}class pS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Fr(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class nn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new sE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new dE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:Nu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=be(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseEnter"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}nn.Rules=YS,nn.RuntimeRules=pS;class un extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("amount")}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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class wc extends D{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}wc.controlFieldType=b.MONEY;var Bc={Designer:un,Runtime:wc,Property:nn};class e3 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:o.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:o.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class t3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class an extends F{constructor(e){var n,i,u,a,r,l,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:Pa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:rn.controlName}}an.Rules=e3,an.RuntimeRules=t3;class rn extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o.getMessage("score")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}rn.controlEventKeys=["on_change","on_click"],rn.controlFieldType=b.DECIMAL,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:rn,Runtime:Sc,Property:an};class n3 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Li extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new yE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseChooseAddress")}}Li.RuntimeRules=n3;class Ni extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return o.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ni.controlFieldType=b.ADDRESS,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ac extends D{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Ac.controlFieldType=b.ADDRESS;var Tc={Designer:Ni,Runtime:Ac,Property:Li};class i3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),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(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))}))}}Vi.RuntimeRules=i3;class ln extends R{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=o.getMessage("department"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Fc extends D{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}Fc.controlFieldType=b.DEPARTMENTS;var Rc={Designer:ln,Runtime:Fc,Property:Vi};class Qa extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o.getMessage("pleaseEnterAutonumber")}}class on extends R{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=b.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Dc extends D{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Dc.controlFieldType=b.AUTO_NUMBER;var xc={Designer:on,Runtime:Dc,Property:Qa};class u3 extends Q{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 a3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o.getMessage("isNotObject"),fields:{result:[{type:"number",message:o.getMessage("isNotNumber")}],unit:{type:"string",message:o.getMessage("isNotString")}}})}}class cn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new vE(e==null?void 0:e.dataBind),this.defaultValue=new mE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnter"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}cn.Rules=u3,cn.RuntimeRules=a3;class sn extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("calc")}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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=b.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Pc extends D{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Pc.controlFieldType=b.CALC;var kc={Designer:sn,Runtime:Pc,Property:cn};class r3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Hi extends F{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:o.getMessage("min"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:o.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:ji.controlName}}Hi.RuntimeRules=r3;class ji extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Oc extends D{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Oc.controlFieldType=b.DECIMAL_RANGE;var Mc={Designer:ji,Runtime:Oc,Property:Hi};class l3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class qi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Se.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o.getMessage("endDate"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Ui.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new si(w)))!=null?_:[]}}qi.RuntimeRules=l3;class Ui extends R{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends D{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}$c.controlFieldType=b.ARRAY;var Lc={Designer:Ui,Runtime:$c,Property:qi};class o3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class c3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}dn.Rules=o3,dn.RuntimeRules=c3;class Tt extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Tt.controlFieldType=b.ANY,Tt.controlEventKeys=[],Tt.slots=["grid-table-toolbar-slot",Mr.DEFAULT],Tt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Nc extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Nc.controlFieldType=b.ANY;var Vc={Designer:Tt,Runtime:Nc,Property:dn};class s3 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Wi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o.getMessage("pleaseSelect"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}Wi.Rules=s3;class hn extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectRelation")}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}}hn.controlFieldType=b.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Hc extends D{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Hc.controlFieldType=b.VARCHAR;var jc={Designer:hn,Runtime:Hc,Property:Wi};class Xa extends Bt{constructor(e){super(e)}}class qc extends St{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlType(){return"search-input"}}qc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Uc extends D{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Uc.controlFieldType=b.VARCHAR;var Wc={Designer:qc,Runtime:Uc,Property:Xa};class d3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],Hn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o.getMessage("rootNodeIsRequired")}}}])}}class h3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T,x;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:o.getMessage("pleaseSelect"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new ll((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new ll((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(T=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(O=>new te(O)))!=null?T:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=d3,fn.RuntimeRules=h3;class Oe extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zc extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}zc.controlFieldType=b.ARRAY;var Kc={Designer:Oe,Runtime:zc,Property:fn};class f3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.externalScope={type:"any"},Hn.call(this,e,Ft.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o.getMessage("pleaseAssignExternal")})}}class y3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ft.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Ft.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:$a.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:La.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ke.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var v;(v=this.multistageFilling)==null||v.push(new te(S))}))}}yn.Rules=f3,yn.RuntimeRules=y3;class Ft extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ft.controlFieldType=b.EMPLOYEES,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-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 Gc extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Gc.controlFieldType=b.EMPLOYEES;var Qc={Designer:Ft,Runtime:Gc,Property:yn};class v3 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectOnlyOne"),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:o.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Iu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Iu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class zi extends F{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("signature"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new mo(e==null?void 0:e.signatureConfig)}}zi.Rules=v3;class vn extends R{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=b.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Xc extends D{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Xc.controlFieldType=b.VARCHAR;var Jc={Designer:vn,Runtime:Xc,Property:zi};class m3 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:o.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class g3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("createWPS"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:zS,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new go(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}mn.Rules=m3,mn.RuntimeRules=g3;class gn extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=b.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Zc extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Zc.controlFieldType=b.FILE;var Yc={Designer:gn,Runtime:Zc,Property:mn};class b3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class _3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var E;(E=this.multistageFilling)==null||E.push(new te(v))}))}}bn.Rules=b3,bn.RuntimeRules=_3;class Le extends R{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:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=o.getMessage("department"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class pc extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}pc.controlFieldType=b.DEPARTMENTS;var es={Designer:Le,Runtime:pc,Property:bn};class C3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Rt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class E3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T;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 Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectOrg"),this.datasourceBind=new oE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var O;(O=this.multistageFilling)==null||O.push(new te(x))}))}}_n.Rules=C3,_n.RuntimeRules=E3;class Rt extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return o.getMessage("organizationSelection")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Rt.controlFieldType=b.DEPARTMENTS,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ts extends D{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ts.controlFieldType=b.DEPARTMENTS;var ns={Designer:Rt,Runtime:ts,Property:_n};class w3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class B3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Cn.Rules=w3,Cn.RuntimeRules=B3;class En extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class is extends D{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}is.controlFieldType=b.ANY;var us={Designer:En,Runtime:is,Property:Cn},S3=Object.freeze({__proto__:null,Input:Yo,Checkbox:ec,Radio:nc,Number:uc,DatePicker:rc,DateRange:oc,Textarea:sc,RichText:hc,Select:yc,SelectMultiple:mc,Employee:bc,Image:Ec,Attachment:_c,Amount:Bc,Score:Ic,Address:Tc,Department:Rc,AutoNumber:xc,Calc:kc,SearchNumberRange:Mc,SearchDateRange:Lc,VueFormItem:Vc,SelectRelation:jc,SearchInput:Wc,Tree:Kc,Employee2:Qc,ElectronicSignature:Jc,WPS:Yc,Department2:es,OrganizationSelection:ns,VuePage:us});class as extends H{static get controlName(){return o.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}as.excludes=[I.GRID];class I3 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var rs={Designer:as,Runtime:I3,Property:N};const A3=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:A3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return o.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],wn.childrenMaxLength=1;class Ja extends W{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var ls={Designer:wn,Runtime:Ja,Property:Ne};class Ki extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Gi extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[I.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class os extends W{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"row"}}var cs={Designer:Gi,Runtime:os,Property:Ki};const T3=4;class Qi extends Gi{static get controlName(){return o.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[I.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=T3;class F3 extends os{static get controlType(){return"grid-row"}constructor(e){super(e)}}class R3 extends Ki{constructor(e){super(e)}}var ss={Designer:Qi,Runtime:F3,Property:R3};class D3 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Xi extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Xi.Rules=D3;class Za extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Za.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Za.excludes=[I.CARD_GROUP];class x3 extends W{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ds={Designer:Za,Runtime:x3,Property:Xi};class P3 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ji extends N{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new pC(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=P3;class se extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}se.controlName=o.getMessage("subtableColumn"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class hs extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}hs.controlType="subtable-column";var fs={Designer:se,Runtime:hs,Property:Ji};class Ya extends N{constructor(e){super(e)}}class Ve extends H{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Ve.controlName=o.getMessage("subtableRow"),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:[s.CAPTION],visible:!0}];class k3 extends W{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ys={Designer:Ve,Runtime:k3,Property:Ya};class pa extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Se.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends H{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class vs extends W{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}vs.controlType="gridtable-column";var ms={Designer:He,Runtime:vs,Property:pa};class er extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class tr extends H{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}tr.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],tr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class O3 extends W{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var gs={Designer:tr,Runtime:O3,Property:er};class nr extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class M3 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Zi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Zi.Rules=M3;class Bn extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[I.TAB],Bn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class $3 extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var bs={Designer:Bn,Runtime:$3,Property:Zi};class Sn extends H{constructor(e){var n;super(e),this.props=new nr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return o.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[I.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class L3 extends W{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var _s={Designer:Sn,Runtime:L3,Property:nr};class Cs extends N{constructor(e){super(e)}}class Es extends H{constructor(e){super(e),this.props=new Cs({}),this.children=(e==null?void 0:e.children)||[new wn({props:new Ne({span:12})}),new wn({props:new Ne({span:12})})]}static get controlName(){return o.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Es.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class N3 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ja({props:new Ne({span:12})}),new Ja({props:new Ne({span:12})})]}}var ws={Designer:Es,Runtime:N3,Property:Cs};class V3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class H3 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Yu.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 In extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new uE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new rE(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new wE(e==null?void 0:e.rowStyle)}}In.Rules=H3,In.RuntimeRules=V3;class An extends H{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[I.ROW],An.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"],An.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class j3 extends W{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bs={Designer:An,Runtime:j3,Property:In};class q3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Yi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:o.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:o.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:o.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:o.getMessage("print"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(d=>new Ae(d)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Yi.RuntimeRules=q3;class Ss extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dataView")}static get controlType(){return"data-view"}}Ss.excludes=[];class U3 extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Is={Designer:Ss,Runtime:U3,Property:Yi};class W3 extends H{static get controlName(){return o.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class z3 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class K3 extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var As={Designer:W3,Runtime:z3,Property:K3};class G3 extends H{static get controlName(){return o.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Q3 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class X3 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Io(e==null?void 0:e.flexConfig)}}var Ts={Designer:G3,Runtime:Q3,Property:X3};class J3 extends H{static get controlName(){return o.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Z3 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Y3 extends N{constructor(e){super(e)}}var Fs={Designer:J3,Runtime:Z3,Property:Y3};class p3 extends H{static get controlName(){return o.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class eI extends W{static get controlType(){return"position"}constructor(e){super(e)}}class tI extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Rs={Designer:p3,Runtime:eI,Property:tI};class ir extends N{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class pi extends H{constructor(e){var n;super(e),this.props=new ir((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}pi.slotPosition={default:"action-bar-slot"},pi.excludes=[],pi.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nI extends W{constructor(e){var n;super(e),this.props=new ir((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ds={Designer:pi,Runtime:nI,Property:ir},iI=Object.freeze({__proto__:null,Grid:rs,Col:ls,Row:cs,GridRow:ss,CardGroup:ds,SubTableColumn:fs,SubTableRow:ys,GridTableColumn:ms,GridLayoutContainer:gs,Tab:_s,TabPane:bs,Toolbox:ws,ListView:Bs,DataView:Is,Page:As,AdvancedContainer:Ts,PositioningContainer:Fs,Position:Rs,ActionBar:Ds});class uI extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:o.getMessage("isNotNumber")},{type:"number",min:0,message:o.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:o.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:o.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:o.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class aI extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const xs=class extends Zn{constructor(t,e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T,x,O,ae,M,re,Rn,we,hu,Dn,Dt,Be,nd,id,ud,ad;super(t,e,xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Bo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(w=e==null?void 0:e.canAdd)!=null?w:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(S=e==null?void 0:e.canCheck)!=null?S:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(E=e==null?void 0:e.canImport)!=null?E:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ae=e==null?void 0:e.isShowCaptionTip)!=null?ae:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(re=e==null?void 0:e.mobileShowType)!=null?re:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(we=e==null?void 0:e.dataStorageDoc)!=null?we:new eE,this.fixedColumn=(hu=e==null?void 0:e.fixedColumn)!=null?hu:[],this.mobileRowCaption=(Dn=e==null?void 0:e.mobileRowCaption)!=null?Dn:o.getMessage("detailed"),this.mobileIsTile=(Dt=e==null?void 0:e.mobileIsTile)!=null?Dt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(nd=e==null?void 0:e.pageSize)!=null?nd:10,this.pageSizeOptions=(id=e==null?void 0:e.pageSizeOptions)!=null?id:[10,20,50,100],this.importConfig=new Eo(e==null?void 0:e.importConfig),this.exportConfig=new wo(e==null?void 0:e.exportConfig),this.sortable=(ud=e==null?void 0:e.sortable)!=null?ud:!1,this.sortKey=(ad=e==null?void 0:e.sortKey)!=null?ad:{}}};let Tn=xs;Tn.Rules=uI,Tn.RuntimeRules=aI;class Fn extends da{constructor(e){var n;super(e),this.props=new Tn(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 se,new se,new se])}static get controlName(){return o.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fn.slotPosition={toolbar:"subtable-toolbar-slot"},Fn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class rI extends Gl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ps={Designer:Fn,Runtime:rI,Property:Tn};class ur extends Zn{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class lI extends ve{constructor(e){super(e),this.caption.required=!1}}class eu extends z{constructor(e){var n,i,u,a,r,l,d,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(d=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}eu.Rules=lI;class je extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=o.getMessage("order"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class ar extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ar.controlType="order-column",ar.controlFieldType=b.DECIMAL;var ks={Designer:je,Runtime:ar,Property:eu};class rr extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends J{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Dr(this,null,function*(){return yield Rr(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=o.getMessage("operation"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends Z{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=b.FILE;var Os={Designer:Ce,Runtime:lr,Property:rr};const oI=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ur(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=le(n),this.childrenMaxLength=i}static get controlName(){return o.getMessage("gridTable")}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 Fr(nt({},e),{children:n})}validate(e,n){return Dr(this,null,function*(){return yield Rr(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=oI;class cI extends Gl{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ms={Designer:qe,Runtime:cI,Property:ur},sI=Object.freeze({__proto__:null,SubTable:Ps,GridTable:Ms});class dI extends Xl{constructor(e){super(e),xe.call(this,e)}}class tu extends z{constructor(e){var n,i,u,a,r,l;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 Y(e==null?void 0:e.datasourceBind),this.options=be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}tu.Rules=dI;class Ue extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=o.getMessage("varchar"),Ue.controlIcon="varchar-column",Ue.controlFieldType=b.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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}];class or extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}or.controlType="varchar-column",or.controlFieldType=b.VARCHAR;var $s={Designer:Ue,Runtime:or,Property:tu};class hI extends ve{constructor(e){super(e),xe.call(this,e)}}class nu extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}nu.Rules=hI;class We extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}We.controlType="text-column",We.controlName=o.getMessage("long"),We.controlIcon="text-column",We.controlFieldType=b.TEXT,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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}];class cr extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cr.controlType="text-column",cr.controlFieldType=b.TEXT;var Ls={Designer:We,Runtime:cr,Property:nu};class fI extends ve{constructor(e){super(e),xe.call(this,e)}}class iu extends z{constructor(e){var n,i,u,a,r,l,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}iu.Rules=fI;class ze extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=o.getMessage("decimal"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class sr extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sr.controlType="decimal-column",sr.controlFieldType=b.DECIMAL;var Ns={Designer:ze,Runtime:sr,Property:iu};class yI extends ve{constructor(e){super(e),xe.call(this,e)}}class uu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName}}uu.Rules=yI;class Ke extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ke.controlType="timescope-column",Ke.controlName=o.getMessage("timescope"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class dr extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dr.controlType="timescope-column",dr.controlFieldType=b.TIMESCOPE;var Vs={Designer:Ke,Runtime:dr,Property:uu};class vI extends ve{constructor(e){super(e),xe.call(this,e)}}class au extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}au.Rules=vI;class Ge extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName=o.getMessage("timestamp"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class hr extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hr.controlType="timestamp-column",hr.controlFieldType=b.TIMESTAMP;var Hs={Designer:Ge,Runtime:hr,Property:au};class mI extends Xl{constructor(e){super(e),xe.call(this,e)}}class ru extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=be((a=e==null?void 0:e.options)!=null?a:[{}])}}ru.Rules=mI;class Qe extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o.getMessage("array"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class fr extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}fr.controlType="array-column",fr.controlFieldType=b.ARRAY;var js={Designer:Qe,Runtime:fr,Property:ru};class yr extends z{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 J{constructor(e){super(e),this.props=new yr(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=o.getMessage("department"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class vr extends Z{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}vr.controlType="department-column",vr.controlFieldType=b.DEPARTMENTS;var qs={Designer:Xe,Runtime:vr,Property:yr};class gI extends ve{constructor(e){super(e),xe.call(this,e)}}class lu extends z{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 ge(e==null?void 0:e.linkOperationOption)}}lu.Rules=gI;class Je extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=o.getMessage("autoNumber"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class mr extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}mr.controlType="auto-number-column",mr.controlFieldType=b.AUTO_NUMBER;var Us={Designer:Je,Runtime:mr,Property:lu};class gr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=o.getMessage("file"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends Z{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="file-column",br.controlFieldType=b.FILE;var Ws={Designer:Ze,Runtime:br,Property:gr};class _r extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends J{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=o.getMessage("image"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends Z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=b.IMAGE;var zs={Designer:Ye,Runtime:Cr,Property:_r};class Er extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends J{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=o.getMessage("people"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wr extends Z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}wr.controlType="people-column",wr.controlFieldType=b.EMPLOYEES;var Ks={Designer:pe,Runtime:wr,Property:Er};class bI extends ve{constructor(e){super(e),xe.call(this,e)}}class ou extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}ou.Rules=bI;class et extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=o.getMessage("location"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Br extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Br.controlType="location-column",Br.controlFieldType=b.ADDRESS;var Gs={Designer:et,Runtime:Br,Property:ou};class _I extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:o.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class cu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}cu.Rules=_I;const CI=1;class Ee extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=le(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=o.getMessage("custom"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=CI,Ee.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Qs extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Qs.controlType="custom-column";var Xs={Designer:Ee,Runtime:Qs,Property:cu};class Sr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends J{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Me.controlType="employee-column",Me.controlName=o.getMessage("employee"),Me.controlIcon="employee-column",Me.controlFieldType=b.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ir.controlType="employee-column",Ir.controlFieldType=b.EMPLOYEES;var Js={Designer:Me,Runtime:Ir,Property:Sr};class Ar extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends J{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=o.getMessage("approvalStatusColumn"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Zs extends Z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Zs.controlType="approval-status-column";var Ys={Designer:tt,Runtime:Zs,Property:Ar},EI=Object.freeze({__proto__:null,VarcharColumn:$s,TextColumn:Ls,DecimalColumn:Ns,TimescopeColumn:Vs,TimestampColumn:Hs,ArrayColumn:js,DepartmentColumn:qs,AutoNumberColumn:Us,FileColumn:Ws,ImageColumn:zs,PeopleColumn:Ks,LocationColumn:Gs,CustomColumn:Xs,OrderColumn:ks,OperationColumn:Os,EmployeeColumn:Js,ApprovalStatusColumn:Ys});class wI extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class su extends wa{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;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 Ae((a=e==null?void 0:e.search)!=null?a:{content:o.getMessage("query"),isShow:!0}),this.cancel=new Ae((r=e==null?void 0:e.cancel)!=null?r:{content:o.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(w=>new Ae(w)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}su.RuntimeRules=wI;class du extends gB{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}du.controlType="simple-search",du.slotPosition={default:"search"},du.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class ps extends SB{constructor(e){var n;super(e),this.props=new su(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ps.controlType="simple-search";var ed={Designer:du,Runtime:ps,Property:su},BI=Object.freeze({__proto__:null,SimpleSearch:ed});class Tr extends Aa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class SI extends LB{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class II extends WB{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function MI(t){return t}var AI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},td={Designer:SI,Runtime:II,Property:Tr,Setting:AI},TI=Object.freeze({__proto__:null,GridLayoutWrap:td});y.ActionBar=Ds,y.ActionSetting=bo,y.Address=Tc,y.AdvancedContainer=Ts,y.Amount=Bc,y.ApprovalStatusColumn=Ys,y.ArrayColumn=js,y.AssignType=ke,y.Attachment=_c,y.AutoNumber=xc,y.AutoNumberColumn=Us,y.BatchDeleteButton=Xo,y.BatchPrintListButton=Ko,y.BatchPrintRecordListButton=Go,y.BatchSubmissionListButton=xo,y.Button=fo,y.Calc=kc,y.CardGroup=ds,y.Checkbox=ec,y.Col=ls,y.CreateFormListButton=Do,y.CustomColumn=Xs,y.DATE_CONFIG_TYPE=yo,y.DATE_LIMIT_TYPE=vo,y.Dashboard=jo,y.DataView=Is,y.DatePicker=rc,y.DateRange=oc,y.DecimalColumn=Ns,y.Department=Rc,y.Department2=es,y.DepartmentColumn=qs,y.DepartmentType=hi,y.Divider=Fo,y.ElectronicSignature=Jc,y.ElectronicSignatureConfig=mo,y.Employee=bc,y.Employee2=Qc,y.EmployeeColumn=Js,y.EncryptTypeEnum=Ao,y.Explain=di,y.ExportConfig=wo,y.ExportListButton=ko,y.ExportRecordListButton=Oo,y.ExportTemplate=jt,y.FileColumn=Ws,y.FlexStyleConfig=Io,y.FormSelectButton=$o,y.Grid=rs,y.GridLayoutContainer=gs,y.GridLayoutWrap=td,y.GridRow=ss,y.GridTable=Ms,y.GridTableColumn=ms,y.Image=Ec,y.ImageColumn=zs,y.ImportConfig=Eo,y.ImportListBind=Co,y.ImportRecordListButton=Mo,y.Input=Yo,y.InternalType=La,y.InvoiceCheckButton=zo,y.LINE_STYLE=ka,y.LimitDate=si,y.Link=ho,y.ListHeightSetting=_o,y.ListSelectButton=Lo,y.ListView=Bs,y.ListViewSelect=Uo,y.LocationColumn=Gs,y.Number=uc,y.OperationButton=Qo,y.OperationColumn=Os,y.OrderColumn=ks,y.OrganizationSelection=ns,y.OrganizeType=$a,y.Page=As,y.Pagination=Vo,y.PeopleColumn=Ks,y.Position=Rs,y.PositioningContainer=Fs,y.PrintTemplate=So,y.Radio=nc,y.ReferenceList=Jo,y.RichText=hc,y.Row=cs,y.SCORE_TYPE=Pa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Bo,y.Score=Ic,y.SearchDateRange=Lc,y.SearchInput=Wc,y.SearchNumberRange=Mc,y.Select=yc,y.SelectMultiple=mc,y.SelectRelation=jc,y.SimpleSearch=ed,y.SubTable=Ps,y.SubTableColumn=fs,y.SubTableRow=ys,y.SubmissionRecordListButton=Po,y.Tab=_s,y.TabPane=bs,y.Text=so,y.TextColumn=Ls,y.TextOcrButton=Wo,y.Textarea=sc,y.TimescopeColumn=Vs,y.TimestampColumn=Hs,y.Title=Ro,y.TitleConfigEnum=Pe,y.Toolbox=ws,y.Tree=Kc,y.UndersignedPerson=Oa,y.VarcharColumn=$s,y.VueFormItem=Vc,y.VuePage=us,y.WPS=Yc,y.WPSSetting=go,y.WpsOperationItem=Ma,y.baseControls=FS,y.columnControls=EI,y.formControls=S3,y.initExpression=qt,y.layoutControls=iI,y.listControls=sI,y.searchControls=BI,y.wrapControls=TI,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var FI=Object.defineProperty,RI=Object.defineProperties;var DI=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,xI=Object.getPrototypeOf,PI=Object.prototype.hasOwnProperty,kI=Object.prototype.propertyIsEnumerable,OI=Reflect.get;var ld=(y,V,K)=>V in y?FI(y,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[V]=K,nt=(y,V)=>{for(var K in V||(V={}))PI.call(V,K)&&ld(y,K,V[K]);if(rd)for(var K of rd(V))kI.call(V,K)&&ld(y,K,V[K]);return y},Fr=(y,V)=>RI(y,DI(V));var Rr=(y,V,K)=>OI(xI(y),K,V);var Dr=(y,V,K)=>new Promise((fu,xn)=>{var yu=me=>{try{xt(K.next(me))}catch(Pt){xn(Pt)}},vu=me=>{try{xt(K.throw(me))}catch(Pt){xn(Pt)}},xt=me=>me.done?fu(me.value):Promise.resolve(me.value).then(yu,vu);xt((K=K.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",xt="\u8BF7\u8F93\u5165\u6807\u9898",me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Pt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",od="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",cd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",sd="\u8BF7\u7ED1\u5B9A\u8868\u5355",dd="\u8BF7\u7ED1\u5B9A\u5217\u8868",hd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",fd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",yd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",vd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",gd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_d="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ed="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Id="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ad="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Dd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",xd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Od="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Md="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$d="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ld="\u8BF7\u9009\u62E9\u7701",Nd="\u8BF7\u9009\u62E9\u5E02",Vd="\u8BF7\u9009\u62E9\u533A",Hd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",jd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",qd="\u8BF7\u8F93\u5165\u5217\u5BBD",Ud="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Wd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",zd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Gd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Xd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Jd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Yd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",pd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",eh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ch="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",sh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",hh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",fh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",vh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",gh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",bh="\u6279\u91CF\u5220\u9664",_h="\u6279\u91CF\u6253\u5370",Ch="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Eh="\u6309\u94AE",wh="\u521B\u5EFA\u5355\u636E",Bh="\u4EEA\u8868\u76D8",Sh="\u5206\u5272\u7EBF",Ih="\u5BFC\u51FA",Ah="\u8868\u5355\u64CD\u4F5C",Th="\u5BFC\u5165",Fh="\u53D1\u7968\u8BC6\u522B",Rh="\u94FE\u63A5",Dh="\u5217\u8868\u9009\u62E9",xh="\u5217\u8868\u89C6\u56FE",Ph="\u64CD\u4F5C\u6309\u94AE",kh="\u5206\u9875",Oh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Mh="\u8BF4\u660E\u6587\u5B57",$h="\u6587\u5B57\u8BC6\u522B",Lh="\u6807\u9898\u7EC4\u4EF6",Nh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Vh="\u6570\u7EC4",Hh="\u81EA\u52A8\u7F16\u53F7",jh="\u81EA\u5B9A\u4E49",qh="\u6570\u503C",Uh="\u90E8\u95E8",Wh="\u4EBA\u5458",zh="\u9644\u4EF6",Kh="\u56FE\u7247",Gh="\u5730\u5740",Qh="\u64CD\u4F5C",Xh="\u5E8F\u53F7",Jh="\u4EBA\u5458",Zh="\u957F\u6587\u672C",Yh="\u65E5\u671F\u533A\u95F4",ph="\u65E5\u671F",ef="\u77ED\u6587\u672C",tf="\u6362\u884C\u5BB9\u5668Wrap",nf="\u8868\u683C",uf="\u660E\u7EC6\u5B50\u8868",af="\u5730\u5740",rf="\u91D1\u989D",lf="\u8BA1\u7B97\u516C\u5F0F",of="\u591A\u9009",cf="\u7535\u5B50\u7B7E\u7AE0",sf="\u5355\u884C\u6587\u672C",df="\u6570\u5B57",hf="\u4E1A\u52A1\u7EC4\u7EC7",ff="\u5355\u9009",yf="\u5BCC\u6587\u672C",vf="\u8BC4\u5206",mf="\u6570\u5B57\u533A\u95F4",gf="\u4E0B\u62C9\u5355\u9009",bf="\u4E0B\u62C9\u591A\u9009",_f="\u5173\u8054\u5355\u9009",Cf="\u591A\u884C\u6587\u672C",Ef="\u6811",wf="Vue\u5BB9\u5668",Bf="Vue\u9875\u9762",Sf="\u5728\u7EBF\u6587\u6863",If="\u6309\u94AE\u64CD\u4F5C\u680F",Af="\u9AD8\u7EA7\u5BB9\u5668",Tf="\u5206\u7EC4",Ff="\u6805\u683C\u5217",Rf="\u6570\u636E\u5BB9\u5668",Df="\u753B\u5E03",xf="\u6362\u884C\u5BB9\u5668",Pf="\u6805\u683C\u7B49\u5206\u884C",kf="\u5217\u8868\u5BB9\u5668",Of="\u81EA\u7531\u9875\u9762",Mf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",$f="\u5B9A\u4F4D\u5BB9\u5668",Lf="\u6805\u683C\u5E03\u5C40",Nf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Vf="\u660E\u7EC6\u5B50\u8868\u884C",Hf="\u6807\u7B7E\u9875",jf="\u6807\u7B7E\u5355\u5143",qf="\u5DE5\u5177\u680F",Uf="\u6279\u91CF\u63D0\u4EA4",Wf="\u5BFC\u51FA\u8BB0\u5F55",zf="\u5217\u8868\u89C6\u56FE",Kf="\u7ED3\u675F\u65F6\u95F4",Gf="\u5F00\u59CB\u65F6\u95F4",Qf="\u5355\u4F4D",Xf="\u7ED3\u679C",Jf="\u5E01\u79CD",Zf="\u7ED3\u675F\u65E5\u671F",Yf="\u5F00\u59CB\u65E5\u671F",pf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ey="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ty="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ny="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",iy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",uy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ay="\u8BF7\u9009\u62E9",ry="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ly="\u8BF7\u9009\u62E9\u90E8\u95E8",oy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",cy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",sy="\u8BF7\u9009\u62E9\u5730\u5740",dy="\u5F39\u7A97\u786E\u8BA4\u65F6",hy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",fy="\u884C\u9009\u4E2D\u65F6",yy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",vy="\u884C\u5220\u9664\u524D",my="\u884C\u70B9\u51FB\u65F6",gy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",by="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_y="\u91CD\u547D\u540D\u65F6",Cy="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ey="\u6253\u5F00\u6587\u4EF6\u65F6",wy="\u83B7\u53D6\u7126\u70B9\u65F6",By="\u5931\u53BB\u7126\u70B9\u65F6",Sy="\u7528\u6237\u8F93\u5165\u65F6",Iy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ay="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ty="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Fy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ry="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Dy="\u641C\u7D22\u65F6",xy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Py="\u6267\u884C\u5B8C\u6210\u65F6",ky="\u70B9\u51FB\u65F6",Oy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",My="\u8BF7\u8F93\u5165\u65E5\u671F",$y="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ly="\u8BF7\u8F93\u5165",Ny="\u9ED8\u8BA4\u6A21\u7248",Vy="\u5DE6\u53F3\u5E03\u5C40",Hy="\u4E0A\u4E0B\u5E03\u5C40",jy="\u53EA\u8BFB",qy="\u5FC5\u586B",Uy="\u63D0\u793A\u6587\u5B57",Wy="\u9690\u85CF\u6807\u9898",zy="\u6807\u9898\u5FC5\u586B",Ky="\u7EC4\u7EC7\u5F62\u6001",Gy="\u4E1A\u52A1\u7C7B\u578B",Qy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Xy="\u9690\u85CF",Jy="\u6D41\u7A0B\u72B6\u6001",Zy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Yy="\u5220\u9664",py="\u7F16\u8F91",ev="\u67E5\u770B",tv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",nv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",iv="\u5145\u6EE1\u6574\u884C",uv="\u6700\u5C0F\u503C",av="\u6700\u5927\u503C",rv="\u65B0\u5EFA\u6587\u6863",lv="\u91CD\u7F6E",ov="\u67E5\u8BE2",cv="\u660E\u7EC6",sv="\u6253\u5370",dv="\u4FDD\u5B58\u8349\u7A3F",hv="\u4FDD\u5B58",fv="\u53D6\u6D88",yv="\u4E0A\u4F20\u56FE\u7247",vv="\u53D1\u8D77\u7B7E\u7F72",mv="\u4E0A\u4F20\u9644\u4EF6",gv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",bv="\u5F15\u7528\u5217\u8868",_v={isNotNumber:V,isNotString:K,isNotObject:fu,isNotArray:xn,isNotBoolean:yu,runtimeRequired:vu,pleaseEnterCaption:xt,pleaseEnterCaptionTip:me,pleaseEnterRowCaption:Pt,pleaseEnterPlaceholder:od,pleaseEnterFieldCode:cd,pleaseEnterForm:sd,pleaseEnterList:dd,pleaseEnterProcess:hd,pleaseEnterLabel:fd,pleaseEnterValue:yd,bizKeyNotBindFiled:vd,pleaseSelectOneField:md,pleaseEnterNumberRange:gd,pleaseEnterAValueGreaterThanMin:bd,pleaseEnterAValueLessThanMax:_d,numberRangeSetError:Cd,stringRangeError:Ed,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:Sd,scoreDefaultValueRange:Id,attachmentLimitError:Ad,PleaseReselectTheOptionalQuantity:Td,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:Rd,PleaseSelectTheCorrectOptionSettings:Dd,optionIdIsRepeat:xd,optionIsRequired:Pd,pleaseEnterDataCode:kd,pleaseEnterValueFieldCode:Od,pleaseEnterSvcCode:Md,pleaseBindAtLeastOneDisplayValue:$d,pleaseSelectProvince:Ld,pleaseSelectCity:Nd,pleaseSelectDistrict:Vd,limitRowsCannotBeLessThan0:Hd,TheNumberOfRowsCannotBeLessThanMinRows:jd,pleaseEnterColumnWidth:qd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ud,pleaseCompleteAllRulesAndConditions:Wd,pleaseSelectControl:zd,pleaseSelectAtLeastOneColumn:Kd,pleaseSelectFillBackMode:Gd,pleaseSelectDashboard:Qd,rootNodeIsRequired:Xd,theViewNameCannotBeEmpty:Jd,pleaseSelectOcrType:Zd,pleaseSelectAtLeastOneFieldToFillIn:Yd,pleaseChooseAtLeastOne:pd,pleaseEnterButtonContent:eh,pleaseEnterDataCodeInDataSetting:th,pleaseEnterValueFieldCodeInDataSetting:nh,pleaseEnterSvcCodeInDataSetting:ih,pleaseBindAtLeastOneDisplayValueInDataSetting:uh,rootNodeIsRequiredInDataSetting:ah,pleaseEnterMaxHeight:rh,pleaseEnterWatermark:lh,pleaseEnterFileName:oh,pleaseUploadAtLeastOnePrintTemplate:ch,pleaseAssignBusiness:sh,pleaseAssignExternal:dh,pleaseEnterAliasCode:hh,pleaseSelectDataCode:fh,pleaseSelectSvcCode:yh,pleaseSelectJoinFieldCode:vh,pleaseSelectMainFieldCode:mh,pleaseSelectSortFieldCode:gh,batchDeleteButton:bh,batchPrintListButton:_h,batchPrintRecordList:Ch,button:Eh,createFormListButton:wh,dashboard:Bh,divider:Sh,exportListButton:Ih,formSelectButton:Ah,importRecordListButton:Th,invoiceCheckButton:Fh,link:Rh,listSelectButton:Dh,ListViewSelect:xh,operationButton:Ph,pagination:kh,submissionRecordListButton:Oh,text:Mh,textOcrButton:$h,title:Lh,approvalStatusColumn:Nh,array:Vh,autoNumber:Hh,custom:jh,decimal:qh,department:Uh,employee:Wh,file:zh,image:Kh,location:Gh,operation:Qh,order:Xh,people:Jh,long:Zh,timescope:Yh,timestamp:ph,varchar:ef,gridLayoutWrap:tf,gridTable:nf,subTable:uf,address:af,amount:rf,calc:lf,checkBox:of,electronicSignature:cf,input:sf,number:df,organizationSelection:hf,radio:ff,richText:yf,score:vf,searchNumberRange:mf,select:gf,selectMultiple:bf,selectRelation:_f,textarea:Cf,tree:Ef,vueFormItem:wf,vuePage:Bf,WPS:Sf,actionBar:If,advancedContainer:Af,cardGroup:Tf,col:Ff,dataView:Rf,grid:Df,gridLayoutContainer:xf,gridRow:Pf,listView:kf,page:Of,position:Mf,positioningContainer:$f,row:Lf,subtableColumn:Nf,subtableRow:Vf,tab:Hf,tabPane:jf,toolbox:qf,batchSubmissionListButton:Uf,exportRecordListButton:Wf,listViewSelect:zf,endTime:Kf,startTime:Gf,unit:Qf,result:Xf,currency:Jf,endDate:Zf,startDate:Yf,pleaseSelectCompanyName:pf,pleaseSelectPhoneOrEmail:ey,pleaseSelectSignType:ty,pleaseSelectSigner:ny,pleaseSelectOnlyOne:iy,pleaseSelectSignFile:uy,pleaseSelect:ay,pleaseSelectOrg:ry,pleaseSelectDept:ly,pleaseSelectEndDate:oy,pleaseSelectStartDate:cy,pleaseChooseAddress:sy,modalConfirm:dy,tabChange:hy,rowSelected:fy,listDataImport:yy,rowDelete:vy,rowClick:my,cellRender:gy,onClickBtn:by,rename:_y,onSaveFile:Cy,onOpenFile:Ey,onFocus:wy,onBlur:By,onInput:Sy,listDataAdd:Iy,listDataDelete:Ay,listDataBack:Ty,listDataCreate:Fy,listDataChange:Ry,search:Dy,valueChange:xy,finished:Py,click:ky,pleaseEnterNameorEmail:Oy,pleaseEnterDate:My,pleaseEnterAutonumber:$y,pleaseEnter:Ly,defaultTemplate:Ny,left:Vy,top:Hy,default:"\u666E\u901A",readonly:jy,required:qy,textTip:Uy,hideCaption:Wy,titleRequired:zy,organizationalForm:Ky,businessType:Gy,deleteConfirm:Qy,hide:Xy,processStatus:Jy,approvedDocuments:Zy,delete:Yy,edit:py,view:ev,loadCtrlErrorTip:tv,loadCtrlError:nv,fullLine:iv,min:uv,max:av,createWPS:rv,reset:lv,query:ov,detailed:cv,print:sv,draft:dv,save:hv,cancel:fv,uploadImg:yv,signature:vv,uploadFile:mv,linkContent:gv,referenceList:bv},Cv="Please enter a number",Ev="Please enter a string",wv="Please enter an object",Bv="Please enter an array",Sv="Please enter a boolean",Iv="{caption} Required",Av="Please enter the title",Tv="Please enter the bubble prompt",Fv="Please enter the row title",Rv="Please enter the prompt text",Dv="Please bind data items",xv="Please bind the form",Pv="Please bind the list",kv="Please bind the process",Ov="Please enter the displayed value",Mv="Please enter the stored value",$v="The document number is not bound to the data item",Lv="Please select at least one display field",Nv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Vv="Please enter a value greater than or equal to {min}",Hv="Please enter a value less than or equal to {max}",jv="The value range is set incorrectly",qv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uv="The attachment size must be between 0MB and 1000MB",Wv="Please fill in the total score setting",zv="The total score cannot be less than 1",Kv="The default value must be between {min} and {max}",Gv="The number of attachment uploads exceeds the limit",Qv="Please re-select the optional quantity",Xv="The maximum length of the control must be greater than the minimum length",Jv="The minimum length of the control must be less than the maximum length",Zv="Please select the correct option setting",Yv="Option ID cannot be repeated",pv="Please enter at least one option",em="Please bind the data source",tm="Please bind the stored value",nm="Please bind the service",im="At least one display value must be bound",um="Please select a province",am="Please select a city",rm="Please select a district",lm="The minimum number of lines to fill in cannot be less than 0",om="The number of rows cannot be less than {min} rows",cm="Please enter the column width",sm="Please set the logical relationship of all rule conditions",dm="Please complete all rules and conditions",hm="please select control",fm="Please select the dashboard",ym="View name cannot be empty",vm="Please select recognition type",mm="Please select at least one field to fill in",gm="Please select at least one",bm="Please enter the button title",_m="Please bind the business model in the data settings",Cm="Please bind storage values in data settings",Em="Please bind the service in the data settings",wm="Please bind at least one display value in the data settings",Bm="Please select the root node in the data settings",Sm="Please enter the maximum height",Im="The input content cannot be empty",Am="Watermark cannot be empty",Tm="File name cannot be empty",Fm="Please upload at least one printing template!\uFF01",Rm="Please select a specific business department",Dm="Please select a specified external organization",xm="Please enter a sub table alias",Pm="Please select the associated table to set the business model",km="Please select the association table to set the binding service",Om="Select associated sub table fields",Mm="Please select the associated main table field",$m="Please select the sort field",Lm="\u6279\u91CF\u5220\u9664",Nm="\u6279\u91CF\u6253\u5370",Vm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hm="\u6309\u94AE",jm="\u521B\u5EFA\u5355\u636E",qm="\u4EEA\u8868\u76D8",Um="\u5206\u5272\u7EBF",Wm="\u5BFC\u51FA",zm="\u8868\u5355\u64CD\u4F5C",Km="\u5BFC\u5165",Gm="\u53D1\u7968\u8BC6\u522B",Qm="\u94FE\u63A5",Xm="\u5217\u8868\u9009\u62E9",Jm="\u5217\u8868\u89C6\u56FE",Zm="\u64CD\u4F5C\u6309\u94AE",Ym="\u5206\u9875",pm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",eg="\u8BF4\u660E\u6587\u5B57",tg="\u6587\u5B57\u8BC6\u522B",ng="\u6807\u9898\u7EC4\u4EF6",ig="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ug="\u6570\u7EC4",ag="\u81EA\u52A8\u7F16\u53F7",rg="\u81EA\u5B9A\u4E49",lg="\u6570\u503C",og="\u90E8\u95E8",cg="\u4EBA\u5458",sg="\u9644\u4EF6",dg="\u56FE\u7247",hg="\u5730\u5740",fg="\u64CD\u4F5C",yg="\u5E8F\u53F7",vg="\u4EBA\u5458",mg="\u957F\u6587\u672C",gg="\u65E5\u671F\u533A\u95F4",bg="\u65E5\u671F",_g="\u77ED\u6587\u672C",Cg="\u6362\u884C\u5BB9\u5668Wrap",Eg="\u8868\u683C",wg="\u660E\u7EC6\u5B50\u8868",Bg="\u5730\u5740",Sg="\u91D1\u989D",Ig="\u8BA1\u7B97\u516C\u5F0F",Ag="\u591A\u9009",Tg="\u7535\u5B50\u7B7E\u7AE0",Fg="\u5355\u884C\u6587\u672C",Rg="\u6570\u5B57",Dg="\u4E1A\u52A1\u7EC4\u7EC7",xg="\u5355\u9009",Pg="\u5BCC\u6587\u672C",kg="\u8BC4\u5206",Og="\u6570\u5B57\u533A\u95F4",Mg="\u4E0B\u62C9\u5355\u9009",$g="\u4E0B\u62C9\u591A\u9009",Lg="\u5173\u8054\u5355\u9009",Ng="\u591A\u884C\u6587\u672C",Vg="\u6811",Hg="Vue\u5BB9\u5668",jg="Vue\u9875\u9762",qg="\u5728\u7EBF\u6587\u6863",Ug="\u6309\u94AE\u64CD\u4F5C\u680F",Wg="\u9AD8\u7EA7\u5BB9\u5668",zg="\u5206\u7EC4",Kg="\u6805\u683C\u5217",Gg="\u6570\u636E\u5BB9\u5668",Qg="\u753B\u5E03",Xg="\u6362\u884C\u5BB9\u5668",Jg="\u6805\u683C\u7B49\u5206\u884C",Zg="\u5217\u8868\u5BB9\u5668",Yg="\u81EA\u7531\u9875\u9762",pg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",e0="\u5B9A\u4F4D\u5BB9\u5668",t0="\u6805\u683C\u5E03\u5C40",n0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",i0="\u660E\u7EC6\u5B50\u8868\u884C",u0="\u6807\u7B7E\u9875",a0="\u6807\u7B7E\u5355\u5143",r0="\u5DE5\u5177\u680F",l0="\u6279\u91CF\u63D0\u4EA4",o0="\u5BFC\u51FA\u8BB0\u5F55",c0="\u5217\u8868\u89C6\u56FE",s0="\u5F15\u7528\u5217\u8868",d0={isNotNumber:Cv,isNotString:Ev,isNotObject:wv,isNotArray:Bv,isNotBoolean:Sv,runtimeRequired:Iv,pleaseEnterCaption:Av,pleaseEnterCaptionTip:Tv,pleaseEnterRowCaption:Fv,pleaseEnterPlaceholder:Rv,pleaseEnterFieldCode:Dv,pleaseEnterForm:xv,pleaseEnterList:Pv,pleaseEnterProcess:kv,pleaseEnterLabel:Ov,pleaseEnterValue:Mv,bizKeyNotBindFiled:$v,pleaseSelectOneField:Lv,pleaseEnterNumberRange:Nv,pleaseEnterAValueGreaterThanMin:Vv,pleaseEnterAValueLessThanMax:Hv,numberRangeSetError:jv,stringRangeError:qv,attachmentMaxSize:Uv,pleaseEnterTotalScoreSetting:Wv,theTotalScoreMustNotBeLessThan1:zv,scoreDefaultValueRange:Kv,attachmentLimitError:Gv,PleaseReselectTheOptionalQuantity:Qv,TheMaximumLengthIsGreaterThanTheMinimumLength:Xv,TheMinimumLengthIsGreaterThanTheMaximumLength:Jv,PleaseSelectTheCorrectOptionSettings:Zv,optionIdIsRepeat:Yv,optionIsRequired:pv,pleaseEnterDataCode:em,pleaseEnterValueFieldCode:tm,pleaseEnterSvcCode:nm,pleaseBindAtLeastOneDisplayValue:im,pleaseSelectProvince:um,pleaseSelectCity:am,pleaseSelectDistrict:rm,limitRowsCannotBeLessThan0:lm,TheNumberOfRowsCannotBeLessThanMinRows:om,pleaseEnterColumnWidth:cm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sm,pleaseCompleteAllRulesAndConditions:dm,pleaseSelectControl:hm,pleaseSelectDashboard:fm,theViewNameCannotBeEmpty:ym,pleaseSelectOcrType:vm,pleaseSelectAtLeastOneFieldToFillIn:mm,pleaseChooseAtLeastOne:gm,pleaseEnterButtonContent:bm,pleaseEnterDataCodeInDataSetting:_m,pleaseEnterValueFieldCodeInDataSetting:Cm,pleaseEnterSvcCodeInDataSetting:Em,pleaseBindAtLeastOneDisplayValueInDataSetting:wm,rootNodeIsRequiredInDataSetting:Bm,pleaseEnterMaxHeight:Sm,pleaseEnter:Im,pleaseEnterWatermark:Am,pleaseEnterFileName:Tm,pleaseUploadAtLeastOnePrintTemplate:Fm,pleaseAssignBusiness:Rm,pleaseAssignExternal:Dm,pleaseEnterAliasCode:xm,pleaseSelectDataCode:Pm,pleaseSelectSvcCode:km,pleaseSelectJoinFieldCode:Om,pleaseSelectMainFieldCode:Mm,pleaseSelectSortFieldCode:$m,batchDeleteButton:Lm,batchPrintListButton:Nm,batchPrintRecordList:Vm,button:Hm,createFormListButton:jm,dashboard:qm,divider:Um,exportListButton:Wm,formSelectButton:zm,importRecordListButton:Km,invoiceCheckButton:Gm,link:Qm,listSelectButton:Xm,ListViewSelect:Jm,operationButton:Zm,pagination:Ym,submissionRecordListButton:pm,text:eg,textOcrButton:tg,title:ng,approvalStatusColumn:ig,array:ug,autoNumber:ag,custom:rg,decimal:lg,department:og,employee:cg,file:sg,image:dg,location:hg,operation:fg,order:yg,people:vg,long:mg,timescope:gg,timestamp:bg,varchar:_g,gridLayoutWrap:Cg,gridTable:Eg,subTable:wg,address:Bg,amount:Sg,calc:Ig,checkBox:Ag,electronicSignature:Tg,input:Fg,number:Rg,organizationSelection:Dg,radio:xg,richText:Pg,score:kg,searchNumberRange:Og,select:Mg,selectMultiple:$g,selectRelation:Lg,textarea:Ng,tree:Vg,vueFormItem:Hg,vuePage:jg,WPS:qg,actionBar:Ug,advancedContainer:Wg,cardGroup:zg,col:Kg,dataView:Gg,grid:Qg,gridLayoutContainer:Xg,gridRow:Jg,listView:Zg,page:Yg,position:pg,positioningContainer:e0,row:t0,subtableColumn:n0,subtableRow:i0,tab:u0,tabPane:a0,toolbox:r0,batchSubmissionListButton:l0,exportRecordListButton:o0,listViewSelect:c0,referenceList:s0},h0="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",f0="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",y0="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v0="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",m0="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",g0="{caption}\u5FC5\u9808",b0="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_0="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",C0="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",E0="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",w0="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",B0="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",S0="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",I0="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A0="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",T0="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",F0="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",R0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",P0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",O0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",M0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",L0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",N0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",V0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",H0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",j0="\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",q0="\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",U0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",W0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",z0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",K0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",G0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Q0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",X0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",J0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Z0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Y0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",p0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",eb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ib="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ub="please select control",ab="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",lb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ob="\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",cb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",db="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",yb="\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",vb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_b="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Cb="\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",Eb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Tb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u6279\u91CF\u5220\u9664",Db="\u6279\u91CF\u6253\u5370",xb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Pb="\u6309\u94AE",kb="\u521B\u5EFA\u5355\u636E",Ob="\u4EEA\u8868\u76D8",Mb="\u5206\u5272\u7EBF",$b="\u5BFC\u51FA",Lb="\u8868\u5355\u64CD\u4F5C",Nb="\u5BFC\u5165",Vb="\u53D1\u7968\u8BC6\u522B",Hb="\u94FE\u63A5",jb="\u5217\u8868\u9009\u62E9",qb="\u5217\u8868\u89C6\u56FE",Ub="\u64CD\u4F5C\u6309\u94AE",Wb="\u5206\u9875",zb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Kb="\u8BF4\u660E\u6587\u5B57",Gb="\u6587\u5B57\u8BC6\u522B",Qb="\u6807\u9898\u7EC4\u4EF6",Xb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Jb="\u6570\u7EC4",Zb="\u81EA\u52A8\u7F16\u53F7",Yb="\u81EA\u5B9A\u4E49",pb="\u6570\u503C",e_="\u90E8\u95E8",t_="\u4EBA\u5458",n_="\u9644\u4EF6",i_="\u56FE\u7247",u_="\u5730\u5740",a_="\u64CD\u4F5C",r_="\u5E8F\u53F7",l_="\u4EBA\u5458",o_="\u957F\u6587\u672C",c_="\u65E5\u671F\u533A\u95F4",s_="\u65E5\u671F",d_="\u77ED\u6587\u672C",h_="\u6362\u884C\u5BB9\u5668Wrap",f_="\u8868\u683C",y_="\u660E\u7EC6\u5B50\u8868",v_="\u5730\u5740",m_="\u91D1\u989D",g_="\u8BA1\u7B97\u516C\u5F0F",b_="\u591A\u9009",__="\u7535\u5B50\u7B7E\u7AE0",C_="\u5355\u884C\u6587\u672C",E_="\u6570\u5B57",w_="\u4E1A\u52A1\u7EC4\u7EC7",B_="\u5355\u9009",S_="\u5BCC\u6587\u672C",I_="\u8BC4\u5206",A_="\u6570\u5B57\u533A\u95F4",T_="\u4E0B\u62C9\u5355\u9009",F_="\u4E0B\u62C9\u591A\u9009",R_="\u5173\u8054\u5355\u9009",D_="\u591A\u884C\u6587\u672C",x_="\u6811",P_="Vue\u5BB9\u5668",k_="Vue\u9875\u9762",O_="\u5728\u7EBF\u6587\u6863",M_="\u6309\u94AE\u64CD\u4F5C\u680F",$_="\u9AD8\u7EA7\u5BB9\u5668",L_="\u5206\u7EC4",N_="\u6805\u683C\u5217",V_="\u6570\u636E\u5BB9\u5668",H_="\u753B\u5E03",j_="\u6362\u884C\u5BB9\u5668",q_="\u6805\u683C\u7B49\u5206\u884C",U_="\u5217\u8868\u5BB9\u5668",W_="\u81EA\u7531\u9875\u9762",z_="\u5B9A\u4F4D\u5B50\u5BB9\u5668",K_="\u5B9A\u4F4D\u5BB9\u5668",G_="\u6805\u683C\u5E03\u5C40",Q_="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",X_="\u660E\u7EC6\u5B50\u8868\u884C",J_="\u6807\u7B7E\u9875",Z_="\u6807\u7B7E\u5355\u5143",Y_="\u5DE5\u5177\u680F",p_="\u6279\u91CF\u63D0\u4EA4",eC="\u5BFC\u51FA\u8BB0\u5F55",tC="\u5217\u8868\u89C6\u56FE",nC="\u5F15\u7528\u5217\u8868",iC={isNotNumber:h0,isNotString:f0,isNotObject:y0,isNotArray:v0,isNotBoolean:m0,runtimeRequired:g0,pleaseEnterCaption:b0,pleaseEnterCaptionTip:_0,pleaseEnterRowCaption:C0,pleaseEnterPlaceholder:E0,pleaseEnterFieldCode:w0,pleaseEnterForm:B0,pleaseEnterList:S0,pleaseEnterProcess:I0,pleaseEnterLabel:A0,pleaseEnterValue:T0,bizKeyNotBindFiled:F0,pleaseSelectOneField:R0,pleaseEnterNumberRange:D0,pleaseEnterAValueGreaterThanMin:x0,pleaseEnterAValueLessThanMax:P0,numberRangeSetError:k0,stringRangeError:O0,attachmentMaxSize:M0,pleaseEnterTotalScoreSetting:$0,theTotalScoreMustNotBeLessThan1:L0,scoreDefaultValueRange:N0,attachmentLimitError:V0,PleaseReselectTheOptionalQuantity:H0,TheMaximumLengthIsGreaterThanTheMinimumLength:j0,TheMinimumLengthIsGreaterThanTheMaximumLength:q0,PleaseSelectTheCorrectOptionSettings:U0,optionIdIsRepeat:W0,optionIsRequired:z0,pleaseEnterDataCode:K0,pleaseEnterValueFieldCode:G0,pleaseEnterSvcCode:Q0,pleaseBindAtLeastOneDisplayValue:X0,pleaseSelectProvince:J0,pleaseSelectCity:Z0,pleaseSelectDistrict:Y0,limitRowsCannotBeLessThan0:p0,TheNumberOfRowsCannotBeLessThanMinRows:eb,pleaseEnterColumnWidth:tb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nb,pleaseCompleteAllRulesAndConditions:ib,pleaseSelectControl:ub,pleaseSelectDashboard:ab,theViewNameCannotBeEmpty:rb,pleaseSelectOcrType:lb,pleaseSelectAtLeastOneFieldToFillIn:ob,pleaseChooseAtLeastOne:cb,pleaseEnterButtonContent:sb,pleaseEnterDataCodeInDataSetting:db,pleaseEnterValueFieldCodeInDataSetting:hb,pleaseEnterSvcCodeInDataSetting:fb,pleaseBindAtLeastOneDisplayValueInDataSetting:yb,rootNodeIsRequiredInDataSetting:vb,pleaseEnterMaxHeight:mb,pleaseEnter:gb,pleaseEnterWatermark:bb,pleaseEnterFileName:_b,pleaseUploadAtLeastOnePrintTemplate:Cb,pleaseAssignBusiness:Eb,pleaseAssignExternal:wb,pleaseEnterAliasCode:Bb,pleaseSelectDataCode:Sb,pleaseSelectSvcCode:Ib,pleaseSelectJoinFieldCode:Ab,pleaseSelectMainFieldCode:Tb,pleaseSelectSortFieldCode:Fb,batchDeleteButton:Rb,batchPrintListButton:Db,batchPrintRecordList:xb,button:Pb,createFormListButton:kb,dashboard:Ob,divider:Mb,exportListButton:$b,formSelectButton:Lb,importRecordListButton:Nb,invoiceCheckButton:Vb,link:Hb,listSelectButton:jb,ListViewSelect:qb,operationButton:Ub,pagination:Wb,submissionRecordListButton:zb,text:Kb,textOcrButton:Gb,title:Qb,approvalStatusColumn:Xb,array:Jb,autoNumber:Zb,custom:Yb,decimal:pb,department:e_,employee:t_,file:n_,image:i_,location:u_,operation:a_,order:r_,people:l_,long:o_,timescope:c_,timestamp:s_,varchar:d_,gridLayoutWrap:h_,gridTable:f_,subTable:y_,address:v_,amount:m_,calc:g_,checkBox:b_,electronicSignature:__,input:C_,number:E_,organizationSelection:w_,radio:B_,richText:S_,score:I_,searchNumberRange:A_,select:T_,selectMultiple:F_,selectRelation:R_,textarea:D_,tree:x_,vueFormItem:P_,vuePage:k_,WPS:O_,actionBar:M_,advancedContainer:$_,cardGroup:L_,col:N_,dataView:V_,grid:H_,gridLayoutContainer:j_,gridRow:q_,listView:U_,page:W_,position:z_,positioningContainer:K_,row:G_,subtableColumn:Q_,subtableRow:X_,tab:J_,tabPane:Z_,toolbox:Y_,batchSubmissionListButton:p_,exportRecordListButton:eC,listViewSelect:tC,referenceList:nC},mu={zhCN:_v,enUS:d0,jaJP:iC},xr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(xr||(xr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var gu,uC=(gu=window.localStorage.getItem("locale"))!==null&&gu!==void 0?gu:"zh-CN",it;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(it||(it={}));var kr;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(kr||(kr={}));var I;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list"})(I||(I={}));var Or;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Or||(Or={}));var b;(function(t){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"})(b||(b={}));var Se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Se||(Se={}));var Mr={DEFAULT:"default"},$r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",aC=$r+"0123456789";function de(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?$r:aC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function rC(t){if(Array.isArray(t))return bu(t)}function lC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e,n){return e=kt(e),dC(t,Cu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function Nr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return Cu()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Ot(c,r.prototype),c},Pn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(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&&Ot(t,e)}function oC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function cC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sC(){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 dC(t,e){return e&&(hC(e)==="object"||typeof e=="function")?e:lC(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Hr(t){return rC(t)||cC(t)||fC(t)||sC()}function hC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fC(t,e){if(!!t){if(typeof t=="string")return bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(t,e)}}function _u(t){var e=typeof Map=="function"?new Map:void 0;return _u=function(i){if(i===null||!oC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},_u(t)}function Cu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cu=function(){return!!t})()}var Eu=console;function wu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Eu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Hr(u)))}function jr(){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=Eu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Hr(u)))}function yC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bu=function(t){Vr(e,t);function e(n){Nr(this,e);var i;return i=Lr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?yC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(_u(Error)),vC=function(t){Vr(e,t);function e(n){Nr(this,e);var i;return i=Lr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Bu);function Mt(t){throw new Bu(t)}function qr(t){throw new vC(t)}function mC(t){Eu.error(new Bu(t))}const gC=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((l,d)=>{d===0?u=a[l]:u&&(u=u[l])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(l=>{const d=e[l];r=r.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),d)}),r||(n?r=n:r=t),r};function bC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _C(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function CC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=function(){function t(){bC(this,t)}return _C(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return gC("CMD."+n,i,mu==null||(u=mu[uC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();CC(o,"$i18n",o.resetI18n());function EC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){wu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,u=!0),c[r]}},t),u}var wC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},BC={exports:{}};(function(t){(function(e){var n=function(v,E,T){if(!c(E)||m(E)||g(E)||_(E)||d(E))return E;var x,O=0,ae=0;if(f(E))for(x=[],ae=E.length;O<ae;O++)x.push(n(v,E[O],T));else{x={};for(var M in E)Object.prototype.hasOwnProperty.call(E,M)&&(x[v(M,T)]=n(v,E[M],T))}return x},i=function(v,E){E=E||{};var T=E.separator||"_",x=E.split||/(?=[A-Z])/;return v.split(x).join(T)},u=function(v){return w(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(E,T){return T?T.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var E=u(v);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(v,E){return i(v,E).toLowerCase()},l=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},_=function(v){return l.call(v)=="[object Boolean]"},w=function(v){return v=v-0,v===v},C=function(v,E){var T=E&&"process"in E?E.process:E;return typeof T!="function"?v:function(x,O){return T(x,v,O)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,E){return n(C(u,E),v)},decamelizeKeys:function(v,E){return n(C(r,E),v,E)},pascalizeKeys:function(v,E){return n(C(a,E),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(wC)})(BC);var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var SC=Wr.default=Su;function IC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function le(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":IC(t))==="object"?SC(t):t}function AC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Iu(t){return Array.isArray(t)}function TC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Au(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 FC(t){if(Array.isArray(t))return Au(t)}function zr(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function RC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){zr(a,i,u,r,l,"next",d)}function l(d){zr(a,i,u,r,l,"throw",d)}r(void 0)})}}function DC(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 xC(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function PC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kC(){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 Tu(t){return FC(t)||PC(t)||OC(t)||kC()}function OC(t,e){if(!!t){if(typeof t=="string")return Au(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 Au(t,e)}}function MC(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var $C=function(){function t(){DC(this,t),Gr(this,"_events",new Map),Gr(this,"debug",!1)}return xC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return RC(function(){var l,d,c,f,m,g,_,w,C,S,v,E;return MC(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),d=[],!l)return[3,10];c=l.slice(),f=!0,m=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),_=c[Symbol.iterator](),T.label=2;case 2:if(f=(w=_.next()).done)return[3,7];if(C=w.value,!l.includes(C))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&jr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,C.apply(null,Tu(u))];case 4:return S=T.sent(),r.debug&&jr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.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(Tu(u),[S])),d.push(S),S===!1?[3,7]:[3,6];case 5:return v=T.sent(),mC(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return E=T.sent(),m=!0,g=E,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(m)throw g}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function LC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function NC(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function VC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var HC=[{key:"on_click",name:o.getMessage("click"),code:"click"},{key:"on_click_finish",name:o.getMessage("finished"),code:"click-finish"},{key:"on_change",name:o.getMessage("valueChange"),code:"change"},{key:"on_search",name:o.getMessage("search"),code:"search"},{key:"on_list_change",name:o.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:o.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:o.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:o.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:o.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:o.getMessage("onInput"),code:"input"},{key:"on_blur",name:o.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:o.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:o.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:o.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:o.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:o.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:o.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:o.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:o.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:o.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:o.getMessage("modalConfirm"),code:"modal-ok"}],jC=function(){function t(){LC(this,t)}return NC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();VC(jC,"events",HC);function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function qC(t){if(Array.isArray(t))return Fu(t)}function UC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xr(t){return qC(t)||UC(t)||zC(t)||WC()}function zC(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Ru(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Jr(t,e,n){n!=="Runtime"&&(t.parent=e,Ru(t,"parent"))}function KC(t,e,n){t.forEach(function(i){Jr(i,e,n)})}var Zr=Symbol("targetKey");function Yr(t){var e;return(e=t[Zr])!==null&&e!==void 0?e:t}function pr(t,e,n){return KC(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),d=2;d<r;d++)l[d-2]=arguments[d];var c;return a===Zr?u:(c=Reflect).get.apply(c,[u,a].concat(Xr(l)))},set:function(u,a,r){for(var l=arguments.length,d=new Array(l>3?l-3:0),c=3;c<l;c++)d[c-3]=arguments[c];var f;if(Iu(t)&&a==="length"&&r===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,r].concat(Xr(d)));return AC(r)&&Jr(r,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,r=pr(Yr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(d){r=pr(Yr(d),a,u)},enumerable:!0})}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(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 QC(t,e,n){return e&&el(t.prototype,e),n&&el(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}var tl=[],kn=function(){function t(e){GC(this,t),Ie(this,"registeredControlTypes",new Set),Ie(this,"controlConfigMap",new Map),Ie(this,"_controls",[]),Ie(this,"_type",void 0),this._type=e,this._initControls(e)}return QC(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(wu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===it.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===it.FORM}},{key:"isListControl",value:function(n){return n.controlType===it.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===it.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var d=i(l);d&&(l=d)}var c;return r.mode==="Runtime"?(c=l,c.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new r(l),c}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Ru(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var d=r[a],c=l[a];if(!(!d&&!c)){var f=c.findIndex(function(_){return _==n}),m=l[d]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Ru(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return l>-1&&(wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Ie(kn,"staticControlsRuntimeRules",new Map),Ie(kn,"staticControls",tl),Ie(kn,"staticRegisteredTypes",new Set(tl.map(function(t){return t.Designer.controlType}))),Ie(kn,"staticRegisteredConfigs",new Map);function XC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oe(t,e,n){return e=On(e),JC(t,nl()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function ce(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&&Du(t,e)}function JC(t,e){return e&&(ZC(e)==="object"||typeof e=="function")?e:XC(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}function ZC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nl=function(){return!!t})()}var fe=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},il=function t(e){B(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ul=function t(e){B(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},YC=function t(e){B(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ul(e==null?void 0:e.pc),this.mobile=new ul(e==null?void 0:e.mobile)},xu=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(il),pC=function t(e){B(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},eE=function t(e){B(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},tE=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),al=function t(e){B(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Pu=function t(e){B(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new al(r)}))!==null&&a!==void 0?a:[]},nE=function t(e){B(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},iE=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var r;i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1;var l;return i.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],i}return e}(ut),uE=function t(e){B(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new nE(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new iE(r)}))!==null&&a!==void 0?a:[]},aE=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},$t=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;B(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var d,c=new t(l);(d=n.children)===null||d===void 0||d.push(c)}else{var f,m=new Mn(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){B(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new aE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new $t(e==null?void 0:e.rightVariableBo)},rE=function t(e){B(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){B(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},lE=function t(e){B(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new ku(l):new Mn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Mn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new lE(l)}))!==null&&r!==void 0?r:[]}var Y=function t(e){var n=this;B(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Ou(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Mu.call(this,e)},$u=function t(e){B(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ge=function t(e){B(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},rl=function t(e){B(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Ou(r)}))!==null&&a!==void 0?a:[]},$n=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new rl(r)}))!==null&&a!==void 0?a:[],i}return e}(Y),oE=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new rl(l)}))!==null&&a!==void 0?a:[];var r;return i.formCode=(r=n==null?void 0:n.formCode)!==null&&r!==void 0?r:"",i}return e}(Y),ll=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new $t(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),ol=function t(e){B(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new te(r)}))!==null&&a!==void 0?a:[]},cl=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Mu.call(i,n),i}return e}(ol),sl=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(ol),dl=function t(e){B(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},cE=function t(e){B(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function be(t){var e;return(e=t==null?void 0:t.map(function(n){return new cE(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){B(this,t)},sE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(Lu),dE=function t(e){B(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},hE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(Lu),fE=function t(e){B(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},yE=function t(e){B(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},vE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(Lu),mE=function t(e){B(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(function(t){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"})(Nu||(Nu={}));var s;(function(t){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"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var Ae=function t(e){B(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},gE=function t(e){B(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new al(r)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},bE=function t(e){B(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},_E=function t(e){B(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},CE=function t(e){B(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new ku(d):new Mn(d)}))!==null&&r!==void 0?r:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new EE(d)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},EE=function t(e){B(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},wE=function t(e){B(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(r){return new CE(r)}))!==null&&a!==void 0?a:[]:[]};function BE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SE(t,e,n){return e=Lt(e),TE(t,qu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return qu()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nt(c,r.prototype),c},Ln.apply(null,arguments)}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function IE(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&&Nt(t,e)}function AE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function TE(t,e){return e&&(FE(e)==="object"||typeof e=="function")?e:BE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function FE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!AE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),_e(this,"isHide",{type:"boolean"})},$e=function(t){IE(e,t);function e(n){return Hu(this,e),SE(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),_e(this,"isHide",void 0),_e(this,"className",void 0),_e(this,"style",void 0),_e(this,"caption",void 0),_e(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new bE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};_e(q,"mode",void 0),_e(q,"Rules",j),_e(q,"RuntimeRules",$e);function ye(){return ye=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},ye.apply(this,arguments)}function RE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function DE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Vn(t,e,n){return DE()?Vn=Reflect.construct:Vn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nn(c,r.prototype),c},Vn.apply(null,arguments)}function xE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!xE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},Wu(t)}var PE=/%[sdj%]/g,hl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(hl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(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],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(PE,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return l}});return r}return u}function kE(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||kE(e)&&typeof t=="string"&&!t)}function OE(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function fl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function ME(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var yl=function(t){RE(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}(Wu(Error));function $E(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(S){return i(S),S.length?g(new yl(S,zu(S))):m()},w=ME(t);fl(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,d=0,c=[],f=new Promise(function(m,g){var _=function(C){if(c.push.apply(c,C),d++,d===l)return i(c),c.length?g(new yl(c,zu(c))):m()};r.length||(i(c),m()),r.forEach(function(w){var C=t[w];a.indexOf(w)!==-1?fl(C,n,_):OE(C,n,_)})});return f.catch(function(m){return m}),f}function vl(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 ml(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]=ye(ye({},t[n]),i):t[n]=i}}return t}function gl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function LE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Ku={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(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function NE(t,e,n,i,u){if(t.required&&e===void 0){gl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function VE(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[f].len,t.fullField,t.len)):r&&!l&&c<t.min?i.push(ne(u.messages[f].min,t.fullField,t.min)):l&&!r&&c>t.max?i.push(ne(u.messages[f].max,t.fullField,t.max)):r&&l&&(c<t.min||c>t.max)&&i.push(ne(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function HE(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 jE(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 a=new RegExp(t.pattern);a.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:gl,whitespace:LE,type:NE,range:VE,enum:HE,pattern:jE};function qE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function UE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function WE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function zE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function KE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(t,e,i,a,u)}n(a)}function GE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function QE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function XE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function JE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var ZE="enum";function YE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[ZE](t,e,i,a,u)}n(a)}function pE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function ew(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,a,u),l&&A.range(t,l.getTime(),i,a,u)}}n(a)}function tw(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,r),n(a)}function Gu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,a)&&!t.required)return n();A.required(t,e,i,r,u,a),G(e,a)||A.type(t,e,i,r,u)}n(r)}function nw(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:qE,method:UE,number:WE,boolean:zE,regexp:KE,integer:GE,float:QE,array:XE,object:JE,enum:YE,pattern:pE,date:ew,url:Gu,hex:Gu,email:Gu,required:tw,any:nw};function Qu(){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 Xu=Qu();function Te(t){this.rules=null,this._messages=Xu,this.define(t)}Te.prototype={messages:function(e){return e&&(this._messages=ml(Qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function d(C){var S,v=[],E={};function T(x){if(Array.isArray(x)){var O;v=(O=v).concat.apply(O,x)}else v.push(x)}for(S=0;S<C.length;S++)T(C[S]);v.length?E=zu(v):(v=null,E=null),l(v,E)}if(r.messages){var c=this.messages();c===Xu&&(c=Qu()),ml(c,r.messages),r.messages=c}else r.messages=this.messages();var f,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(S){var v=S;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var w={};return $E(g,r,function(C,S){var v=C.rule,E=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");E=E&&(v.required||!v.required&&C.value),v.field=C.field;function T(ae,M){return ye(ye({},M),{},{fullField:v.fullField+"."+ae})}function x(ae){ae===void 0&&(ae=[]);var M=ae;if(Array.isArray(M)||(M=[M]),!r.suppressWarning&&M.length&&Te.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(vl(v)),r.first&&M.length)return w[v.field]=1,S(M);if(!E)S(M);else{if(v.required&&!C.value)return v.message!==void 0?M=[].concat(v.message).map(vl(v)):r.error&&(M=[r.error(v,ne(r.messages.required,v.field))]),S(M);var re={};if(v.defaultField)for(var Rn in C.value)C.value.hasOwnProperty(Rn)&&(re[Rn]=v.defaultField);re=ye(ye({},re),C.rule.fields);for(var we in re)if(re.hasOwnProperty(we)){var hu=Array.isArray(re[we])?re[we]:[re[we]];re[we]=hu.map(T.bind(null,we))}var Dn=new Te(re);Dn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Dn.validate(C.value,C.rule.options||r,function(Dt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Dt&&Dt.length&&Be.push.apply(Be,Dt),S(Be.length?Be:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,x,C.source,r):v.validator&&(O=v.validator(v,C.value,x,C.source,r),O===!0?x():O===!1?x(v.message||v.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(ae){return x(ae)})},function(C){d(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.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"?Ht.required:Ht[this.getType(e)]||!1}},Te.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Te.warning=hl,Te.messages=Xu,Te.validators=Ht;var iw={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function uw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Te(t);return n.messages(Object.assign(iw,e)),n}var aw=new $C;function Ju(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 rw(t){if(Array.isArray(t))return t}function lw(t){if(Array.isArray(t))return Ju(t)}function bl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function _l(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){bl(a,i,u,r,l,"next",d)}function l(d){bl(a,i,u,r,l,"throw",d)}r(void 0)})}}function ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(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 cw(t,e,n){return e&&Cl(t.prototype,e),n&&Cl(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function wl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sw(){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 dw(){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 Bl(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){P(t,u,n[u])})}return t}function hw(t){return rw(t)||wl(t)||Sl(t)||sw()}function Zu(t){return lw(t)||wl(t)||Sl(t)||dw()}function fw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sl(t,e){if(!!t){if(typeof t=="string")return Ju(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 Ju(t,e)}}function Il(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;ow(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Tl),P(this,"removeSetting",Al),this._callControlHooks("preInstance",n);var u=El(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,w=u.slotPosition;a&&r&&l||qr("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:de(10),this.name=a,this.icon=r;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:l,this.props=new q(n==null?void 0:n.props,(El(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=le(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:d,this.eventKeys=le(c),this.customEvents=le(f),this.slots=le(_),this.slotPosition=le(w),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return cw(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=hw(u),d=l[0],c=l.slice(1);return(r=aw).emit.apply(r,[d,this].concat(Zu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),EC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return _l(function(){var u,a,r;return Il(this,function(l){switch(l.label){case 0:return u=Bl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return _l(function(){var r,l,d,c;return Il(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:Bl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),d=uw(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,d=l.dataBind,c=l.datasourceBind,f=l.optionConfig,m=l.caption,g=l.required,_=l.maxLength,w=l.options,C=l.encrypted,S=l.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(d&&(v.dataBind=d),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=w;break}return g!==void 0&&(v.required=g),_!==void 0&&(v.maxLength=_),C!==void 0&&(v.encrypted=C),S!==void 0&&(v.encryptedMode=S),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:le(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Al),P(k,"updateSettingItem",Tl);function Al(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(r!==-1){var l,d;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(r,1),a&&!(!((d=e.setting[r].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(r,1)}})}function Tl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":fw(e))==="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Zu(e.showItems))}}}})}function yw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(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 vw(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(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 mw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){yw(this,e),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 i=mw(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||qr("The ".concat(r," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:de(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return vw(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(U,"mode","Runtime"),ie(U,"controlType","control"),ie(U,"controlFieldType",void 0),ie(U,"__is_control__",!0),ie(U,"controlCustomEvents",[]);function Yu(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:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:o.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=TC(a);a.length!==r.length?u(o.getMessage("optionIdIsRepeat")):u()},message:o.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:o.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o.getMessage("isNotString")},key:{type:"string",required:!0,message:o.getMessage("isNotString")},value:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}]}function gw(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function bw(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=Un(e),_w(t,Rl()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function _w(t,e){return e&&(Cw(e)==="object"||typeof e=="function")?e:bw(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Cw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rl=function(){return!!t})()}var Q=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(i,"captionTip",{type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}};if(gw(n.dataBind))i.dataBind={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:o.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(r){a.fields[r]={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}($e),F=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var r;i.isShowCaptionTip=(r=n==null?void 0:n.isShowCaptionTip)!==null&&r!==void 0?r:!1;var l;i.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new fe(n==null?void 0:n.dataBind);var _;return i.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",i}return e}(q);L(F,"Rules",Q),L(F,"RuntimeRules",$);var rt=function(t){Wn(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),L(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Yu.call(i,n),i}return e}(Q);function Ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ww(t,e,n){return e=Kn(e),Iw(t,Dl()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function Bw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Sw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function Iw(t,e){return e&&(Aw(e)==="object"||typeof e=="function")?e:Ew(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function Aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dl=function(){return!!t})()}var R=function(t){Sw(e,t);function e(n){Bw(this,e);var i;return i=ww(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(k);zn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(R,"controlCustomAttributes",void 0);function Tw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fw(t,e,n){return e=Gn(e),xw(t,xl()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Rw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Dw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function xw(t,e){return e&&(Pw(e)==="object"||typeof e=="function")?e:Tw(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function Pw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xl=function(){return!!t})()}var D=function(t){Dw(e,t);function e(n){Rw(this,e);var i;return i=Fw(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(U);function kw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,n){return e=Qn(e),Lw(t,Pl()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function Mw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function $w(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function Lw(t,e){return e&&(Nw(e)==="object"||typeof e=="function")?e:kw(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function Nw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pl=function(){return!!t})()}var N=function(t){$w(e,t);function e(n){return Mw(this,e),Ow(this,e,[n])}return e}(q);function ua(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 Vw(t){if(Array.isArray(t))return ua(t)}function Hw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function jw(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){kl(a,i,u,r,l,"next",d)}function l(d){kl(a,i,u,r,l,"throw",d)}r(void 0)})}}function qw(t,e,n){return e=Re(e),Yw(t,$l()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function Uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(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 Ww(t,e,n){return e&&Ol(t.prototype,e),n&&Ol(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 lt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?lt=Reflect.get:lt=function(u,a,r){var l=pw(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},lt(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function zw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function Kw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Gw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qw(){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 Xw(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 Jw(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 Zw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Jw(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Yw(t,e){return e&&(e5(e)==="object"||typeof e=="function")?e:Hw(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function pw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function Ml(t){return Vw(t)||Gw(t)||t5(t)||Qw()}function e5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t5(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function $l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($l=function(){return!!t})()}function n5(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var i5=1e4,H=function(e){zw(n,e);function n(i){Uw(this,n);var u;u=qw(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 a=Kw(this,n)?this.constructor:void 0,r=a.excludes,l=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),he(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=le(r),u.childrenMaxLength=l,u}return Ww(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var r=this,l=this,d=function(){return lt(Re(n.prototype),"validate",r)};return jw(function(){return n5(this,function(c){switch(c.label){case 0:return[4,d().call(l,u,a)];case 1:return c.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=lt(Re(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[];return this.children.reduce(function(l,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Ml(l).concat(Ml(f))}return c&&l.push(c),l},r)}},{key:"toSchema",value:function(){var u=lt(Re(n.prototype),"toSchema",this).call(this),a=this.children.map(function(r){var l=r.toSchema();return l});return Zw(Xw({},u),{children:a})}}]),n}(k);Fe(H,"excludes",!1),Fe(H,"childrenMaxLength",i5);function u5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a5(t,e,n){return e=Xn(e),o5(t,Ll()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function r5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function l5(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&&la(t,e)}function o5(t,e){return e&&(c5(e)==="object"||typeof e=="function")?e:u5(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function c5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ll=function(){return!!t})()}var W=function(t){l5(e,t);function e(n){r5(this,e);var i;return i=a5(this,e,[n]),ra(i,"controlType","layout"),ra(i,"children",void 0),ra(i,"props",void 0),i.props=new N(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function s5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d5(t,e,n){return e=Jn(e),y5(t,Nl()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function f5(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&&oa(t,e)}function y5(t,e){return e&&(v5(e)==="object"||typeof e=="function")?e:s5(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function v5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nl=function(){return!!t})()}var Zn=function(t){f5(e,t);function e(n,i,u){h5(this,e);var a;a=d5(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),he(a,"headers",i==null?void 0:i.headers,n,u),he(a,"footers",i==null?void 0:i.footers,n);var r;a.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1;var l;a.pageSize=(l=i==null?void 0:i.pageSize)!==null&&l!==void 0?l:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);function ca(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 m5(t){if(Array.isArray(t))return ca(t)}function g5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function b5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){Vl(a,i,u,r,l,"next",d)}function l(d){Vl(a,i,u,r,l,"throw",d)}r(void 0)})}}function _5(t,e,n){return e=De(e),A5(t,Wl()?Reflect.construct(e,n||[],De(t).constructor):e.apply(t,n))}function C5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(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 E5(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,r){var l=T5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ct(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function w5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function B5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function S5(){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 jl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function I5(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 ql(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):I5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function A5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:g5(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function T5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function Ul(t){return m5(t)||B5(t)||R5(t)||S5()}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R5(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function Wl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wl=function(){return!!t})()}function D5(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){w5(e,t);function e(n){C5(this,e);var i;return i=_5(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return E5(e,[{key:"validate",value:function(i,u){var a=this,r=this,l=function(){return ct(De(e.prototype),"validate",a)};return b5(function(){return D5(this,function(d){switch(d.label){case 0:return[4,l().call(r,i)];case 1:return d.sent(),[4,Promise.all(r.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=ct(De(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(r,l){var d=l.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(f){return!!f});return Ul(r).concat(Ul(c))}return d&&r.push(d),r},u)}},{key:"toSchema",value:function(){var i=ct(De(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return ql(jl({},i),{props:ql(jl({},this.props),{headers:u})})}}]),e}(k);Yn(da,"controlFieldType",b.LIST);function x5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P5(t,e,n){return e=pn(e),$5(t,Kl()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function k5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function O5(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function ha(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 M5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function $5(t,e){return e&&(L5(e)==="object"||typeof e=="function")?e:x5(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function L5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kl=function(){return!!t})()}var Gl=function(t){M5(e,t);function e(n){k5(this,e);var i;return i=P5(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return O5(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function N5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ei(e),V5(t,Ql()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ma(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&&ga(t,e)}function V5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:N5(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ql(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ql=function(){return!!t})()}var ve=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),X(i,"width",{type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(j),z=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var r;i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new il(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var l;i.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(q);X(z,"Rules",ve);var Xl=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),X(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Yu.call(i,n),i}return e}(ve);function j5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q5(t,e,n){return e=st(e),X5(t,Zl()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function U5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function W5(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,r){var l=J5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function z5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function K5(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function G5(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 Q5(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):G5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function X5(t,e){return e&&(Z5(e)==="object"||typeof e=="function")?e:j5(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function J5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function Z5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zl=function(){return!!t})()}var J=function(t){z5(e,t);function e(n){U5(this,e);var i;return i=q5(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return W5(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return Q5(K5({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function Y5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p5(t,e,n){return e=ii(e),nB(t,Yl()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function eB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _a(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 tB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function nB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:Y5(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function iB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yl=function(){return!!t})()}var Z=function(t){tB(e,t);function e(n){eB(this,e);var i;return i=p5(this,e,[n]),_a(i,"controlType","column"),_a(i,"props",void 0),_a(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function uB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aB(t,e,n){return e=ui(e),cB(t,pl()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function oB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:uB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pl=function(){return!!t})()}var wa=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=aB(this,e,[n]),lB(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function dB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hB(t,e,n){return e=ai(e),vB(t,to()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function fB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function yB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function vB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:dB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var gB=function(t){yB(e,t);function e(n){fB(this,e);var i;return i=hB(this,e,[n]),eo(i,"controlType","search"),eo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(H);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _B(t,e,n){return e=ri(e),wB(t,io()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function wB(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:bB(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var SB=function(t){EB(e,t);function e(n){CB(this,e);var i;return i=_B(this,e,[n]),no(i,"controlType","search"),no(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(W);function IB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AB(t,e,n){return e=li(e),RB(t,uo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function TB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function FB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function RB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:IB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var Aa=function(t){FB(e,t);function e(n){return TB(this,e),AB(this,e,[n])}return e}(N);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=oi(e),MB(t,ro()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function kB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function OB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function MB(t,e){return e&&($B(e)==="object"||typeof e=="function")?e:xB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function $B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var LB=function(t){OB(e,t);function e(n){kB(this,e);var i;return i=PB(this,e,[n]),ao(i,"controlType","wrap"),ao(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(H);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VB(t,e,n){return e=ci(e),qB(t,oo()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function HB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(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 jB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function qB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:NB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function UB(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 WB=function(t){jB(e,t);function e(n){HB(this,e);var i;return i=VB(this,e,[n]),lo(i,"controlType","wrap"),lo(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}])}class Ra extends q{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:o.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class co extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return o.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}co.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class zB extends U{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var so={Designer:co,Runtime:zB,Property:Ra};class Da extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class xa extends k{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return o.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}xa.controlEventKeys=["on_click"],xa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class KB extends U{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"link"}}var ho={Designer:xa,Runtime:KB,Property:Da};class ee extends q{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new _E((f=e==null?void 0:e.optObj)!=null?f:{})}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Mr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends U{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var fo={Designer:p,Runtime:ue,Property:ee},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),yo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(yo||{}),vo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(vo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:de(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Pa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Pa||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Oa{constructor(e){var n,i,u,a,r,l,d,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new $t((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new $t((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new $t((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class mo{constructor(e){var n,i,u,a,r,l;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(d=>new Oa(d)))!=null?u:[new Oa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class jt{constructor(e){var n,i,u,a,r,l,d;this.id=(n=e==null?void 0:e.id)!=null?n:de(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class Ma{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 go{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ma(e==null?void 0:e.watermark),this.autoRename=new Ma(e==null?void 0:e.autoRename)}}class bo{constructor(e){var n,i,u,a,r,l;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(l=e==null?void 0:e.isRelation)!=null?l:!1}}class _o{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 Co{constructor(e){this.dataCode=e.dataCode}}class Eo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Co(a)))!=null?u:[]}}class wo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Bo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class So{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class Io{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 Ao=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ao||{}),$a=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))($a||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),La=(t=>(t.ALL="all",t.ADMIN="admin",t))(La||{});class Na extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ka.SOLID}}class To extends k{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return o.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}To.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class GB extends U{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Fo={Designer:To,Runtime:GB,Property:Na};class QB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")}},message:o.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o.getMessage("pleaseSelectOneField")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=QB;class dt extends k{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class XB extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ro={Designer:dt,Runtime:XB,Property:fi};class JB extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}class yi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=JB;class ht extends p{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ZB extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Do={Designer:ht,Runtime:ZB,Property:yi};class YB extends j{constructor(e){super(e),this.processKey=[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterProcess")}]}}class vi extends ee{constructor(e){var n,i,u,a,r,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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}vi.Rules=YB;class ft extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pB extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var xo={Designer:ft,Runtime:pB,Property:vi};class Va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends p{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return o.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class eS extends ue{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Po={Designer:yt,Runtime:eS,Property:Va};class Ha extends ee{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new jt(l)))!=null?r:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportListButton")}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 tS extends ue{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ko={Designer:vt,Runtime:tS,Property:Ha};class ja extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nS extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Oo={Designer:mt,Runtime:nS,Property:ja};class iS{constructor(e){this.dataCode=e.dataCode}}class qa extends ee{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new iS(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class gt extends p{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class uS extends ue{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mo={Designer:gt,Runtime:uS,Property:qa};function mi(){return{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:o.getMessage("pleaseSelectControl")}}}}}}class aS extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o.getMessage("pleaseSelectControl")})}}class gi 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 cl(e==null?void 0:e.fillPayload),this.formBind=new tE(e==null?void 0:e.formBind),this.fillBack=new sl(e==null?void 0:e.fillBack)}}gi.Rules=aS;class Ut extends p{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("formSelectButton")}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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class rS extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var $o={Designer:Ut,Runtime:rS,Property:gi};class lS extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())}}}class bi extends ee{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new cl(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new sl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}bi.Rules=lS;class Wt extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class oS extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lo={Designer:Wt,Runtime:oS,Property:bi};class cS extends j{constructor(e){super(e)}}class sS extends $e{constructor(e){super(e)}}class zt extends q{constructor(e){super(e)}}zt.Rules=cS,zt.RuntimeRules=sS;class No extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}No.setting=[];class dS extends U{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Vo={Designer:No,Runtime:dS,Property:zt};class hS extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}_i.Rules=hS;class Ho extends k{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ho.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fS extends U{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jo={Designer:Ho,Runtime:fS,Property:_i};class yS extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ci extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new gE(a)))!=null?u:[]}}Ci.Rules=yS;class qo extends k{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}qo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class vS extends U{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Uo={Designer:qo,Runtime:vS,Property:Ci};class mS extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}Ei.Rules=mS;class bt extends p{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class gS extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Wo={Designer:bt,Runtime:gS,Property:Ei};class bS extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:_t.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}wi.Rules=bS;class _t extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class _S extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zo={Designer:_t,Runtime:_S,Property:wi};class CS extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bi extends ee{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new So(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Bi.Rules=CS;class Ct extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 ES extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ko={Designer:Ct,Runtime:ES,Property:Bi};class Ua extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends p{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wS extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Go={Designer:Et,Runtime:wS,Property:Ua};class BS extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")})}}class Si extends q{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Si.Rules=BS;class Ii extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return o.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class SS extends U{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Ii,Runtime:SS,Property:Si};class Wa extends q{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class wt extends k{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class IS extends U{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Xo={Designer:wt,Runtime:IS,Property:Wa};class AS extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}}}}}class Ai extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ti.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.actionSetting=(a=e==null?void 0:e.actionSetting)!=null?a:new bo,this.listHeightSetting=(r=e==null?void 0:e.listHeightSetting)!=null?r:new _o}}Ai.Rules=AS;class Ti extends k{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o.getMessage("referenceList")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ti.controlEventKeys=["on_list_rowclick"],Ti.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class TS extends U{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Jo={Designer:Ti,Runtime:TS,Property:Ai},FS=Object.freeze({__proto__:null,Text:so,Link:ho,Button:fo,Divider:Fo,Title:Ro,CreateFormListButton:Do,BatchSubmissionListButton:xo,SubmissionRecordListButton:Po,ExportListButton:ko,ExportRecordListButton:Oo,ImportRecordListButton:Mo,FormSelectButton:$o,ListSelectButton:Lo,Pagination:Vo,Dashboard:jo,ListViewSelect:Uo,TextOcrButton:Wo,InvoiceCheckButton:zo,BatchPrintListButton:Ko,BatchPrintRecordListButton:Go,OperationButton:Qo,BatchDeleteButton:Xo,ReferenceList:Jo});class RS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},{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=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class DS extends ${constructor(e){super(e),this.push({type:"string",message:o.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends F{constructor(e){var n,i,u,a,r,l,d;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 dl(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:St.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}Bt.Rules=RS,Bt.RuntimeRules=DS;class St extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=b.VARCHAR,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"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 Zo extends D{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"input"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:St,Runtime:Zo,Property:Bt};class xS extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class PS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Kt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var S;(S=this.multistageFilling)==null||S.push(new te(C))}))}}Kt.Rules=xS,Kt.RuntimeRules=PS;class Gt extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"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 po extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}po.controlFieldType=b.ARRAY;var ec={Designer:Gt,Runtime:po,Property:Kt};class kS extends rt{constructor(e){super(e)}}class Fi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))}))}}Fi.Rules=kS;class Qt extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends D{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"radio"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:Qt,Runtime:tc,Property:Fi};class OS extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o.getMessage("pleaseEnterNumberRange")},{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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class MS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Jt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:o.getMessage("pleaseEnter"),this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new dl(e==null?void 0:e.regularRules)}}Xt.Rules=OS,Xt.RuntimeRules=MS;class Jt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("number")}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}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ic extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}ic.controlFieldType=b.DECIMAL;var uc={Designer:Jt,Runtime:ic,Property:Xt};class za extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ri.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnterDate"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(_=>new si(_)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ri extends R{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends D{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ac.controlFieldType=b.TIMESTAMP;var rc={Designer:Ri,Runtime:ac,Property:za};class $S extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Di extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dataBind=new hE(e==null?void 0:e.dataBind),this.defaultValue=new fE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:o.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(_=>new si(_)))!=null?g:[]}}Di.RuntimeRules=$S;class xi extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"date-range"}}lc.controlFieldType=b.TIMESCOPE;var oc={Designer:xi,Runtime:lc,Property:Di};class LS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class NS extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Zt extends F{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.rowHeightSetting=new YC(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=LS,Zt.RuntimeRules=NS;class Yt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"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 cc extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}cc.controlFieldType=b.TEXT;var sc={Designer:Yt,Runtime:cc,Property:Zt};class VS extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class HS extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class pt extends F{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter")}}pt.Rules=VS,pt.RuntimeRules=HS;class en extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class dc extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}dc.controlFieldType=b.TEXT;var hc={Designer:en,Runtime:dc,Property:pt};class jS extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Pi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new te(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}Pi.Rules=jS;class ki extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select"}}fc.controlFieldType=b.VARCHAR;var yc={Designer:ki,Runtime:fc,Property:Pi};class qS extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class US extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}tn.Rules=qS,tn.RuntimeRules=US;class Oi extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}vc.controlFieldType=b.ARRAY;var mc={Designer:Oi,Runtime:vc,Property:tn};class WS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))}))}}Mi.RuntimeRules=WS;class $i extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class gc extends D{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}gc.controlFieldType=b.EMPLOYEES;var bc={Designer:$i,Runtime:gc,Property:Mi};const zS=10485760,KS=104857600,GS=1048576e3;class QS extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:GS,message:o.getMessage("attachmentMaxSize")}}}class XS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:KS,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o.getMessage("uploadFile"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=QS,It.RuntimeRules=XS;class At extends R{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return o.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ka extends D{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ka.controlFieldType=b.FILE;var _c={Designer:At,Runtime:Ka,Property:It};const Cc=class extends At{static get controlName(){return o.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Cc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o.getMessage("uploadImg")}};let Ga=Cc;Ga.controlFieldType=b.IMAGE,Ga.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class JS extends Ka{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:o.getMessage("image"),this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:o.getMessage("uploadImg")}}class ZS extends It{constructor(e){super(e)}}var Ec={Designer:Ga,Runtime:JS,Property:ZS};class YS extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o.getMessage("pleaseEnterNumberRange")}]}},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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")})}}class pS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Fr(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class nn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new sE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new dE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:Nu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=be(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseEnter"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}nn.Rules=YS,nn.RuntimeRules=pS;class un extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("amount")}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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class wc extends D{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}wc.controlFieldType=b.MONEY;var Bc={Designer:un,Runtime:wc,Property:nn};class e3 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:o.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:o.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class t3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class an extends F{constructor(e){var n,i,u,a,r,l,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:Pa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:rn.controlName}}an.Rules=e3,an.RuntimeRules=t3;class rn extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o.getMessage("score")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}rn.controlEventKeys=["on_change","on_click"],rn.controlFieldType=b.DECIMAL,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:rn,Runtime:Sc,Property:an};class n3 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Li extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new yE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseChooseAddress")}}Li.RuntimeRules=n3;class Ni extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return o.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ni.controlFieldType=b.ADDRESS,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ac extends D{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Ac.controlFieldType=b.ADDRESS;var Tc={Designer:Ni,Runtime:Ac,Property:Li};class i3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),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(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))}))}}Vi.RuntimeRules=i3;class ln extends R{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=o.getMessage("department"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Fc extends D{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}Fc.controlFieldType=b.DEPARTMENTS;var Rc={Designer:ln,Runtime:Fc,Property:Vi};class Qa extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o.getMessage("pleaseEnterAutonumber")}}class on extends R{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=b.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Dc extends D{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Dc.controlFieldType=b.AUTO_NUMBER;var xc={Designer:on,Runtime:Dc,Property:Qa};class u3 extends Q{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 a3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o.getMessage("isNotObject"),fields:{result:[{type:"number",message:o.getMessage("isNotNumber")}],unit:{type:"string",message:o.getMessage("isNotString")}}})}}class cn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new vE(e==null?void 0:e.dataBind),this.defaultValue=new mE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnter"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}cn.Rules=u3,cn.RuntimeRules=a3;class sn extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("calc")}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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=b.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Pc extends D{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Pc.controlFieldType=b.CALC;var kc={Designer:sn,Runtime:Pc,Property:cn};class r3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Hi extends F{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:o.getMessage("min"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:o.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:ji.controlName}}Hi.RuntimeRules=r3;class ji extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Oc extends D{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Oc.controlFieldType=b.DECIMAL_RANGE;var Mc={Designer:ji,Runtime:Oc,Property:Hi};class l3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class qi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Se.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o.getMessage("endDate"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Ui.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new si(w)))!=null?_:[]}}qi.RuntimeRules=l3;class Ui extends R{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends D{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}$c.controlFieldType=b.ARRAY;var Lc={Designer:Ui,Runtime:$c,Property:qi};class o3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class c3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}dn.Rules=o3,dn.RuntimeRules=c3;class Tt extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Tt.controlFieldType=b.ANY,Tt.controlEventKeys=[],Tt.slots=["grid-table-toolbar-slot",Mr.DEFAULT],Tt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Nc extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Nc.controlFieldType=b.ANY;var Vc={Designer:Tt,Runtime:Nc,Property:dn};class s3 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Wi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o.getMessage("pleaseSelect"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}Wi.Rules=s3;class hn extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectRelation")}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}}hn.controlFieldType=b.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Hc extends D{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Hc.controlFieldType=b.VARCHAR;var jc={Designer:hn,Runtime:Hc,Property:Wi};class Xa extends Bt{constructor(e){super(e)}}class qc extends St{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlType(){return"search-input"}}qc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Uc extends D{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Uc.controlFieldType=b.VARCHAR;var Wc={Designer:qc,Runtime:Uc,Property:Xa};class d3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],Hn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o.getMessage("rootNodeIsRequired")}}}])}}class h3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T,x;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:o.getMessage("pleaseSelect"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new ll((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new ll((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(T=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(O=>new te(O)))!=null?T:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=d3,fn.RuntimeRules=h3;class Oe extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zc extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}zc.controlFieldType=b.ARRAY;var Kc={Designer:Oe,Runtime:zc,Property:fn};class f3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.externalScope={type:"any"},Hn.call(this,e,Ft.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o.getMessage("pleaseAssignExternal")})}}class y3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ft.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Ft.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:$a.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:La.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ke.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var v;(v=this.multistageFilling)==null||v.push(new te(S))}))}}yn.Rules=f3,yn.RuntimeRules=y3;class Ft extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ft.controlFieldType=b.EMPLOYEES,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-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 Gc extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Gc.controlFieldType=b.EMPLOYEES;var Qc={Designer:Ft,Runtime:Gc,Property:yn};class v3 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectOnlyOne"),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:o.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Iu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Iu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class zi extends F{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("signature"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new mo(e==null?void 0:e.signatureConfig)}}zi.Rules=v3;class vn extends R{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=b.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Xc extends D{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Xc.controlFieldType=b.VARCHAR;var Jc={Designer:vn,Runtime:Xc,Property:zi};class m3 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:o.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class g3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("createWPS"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:zS,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new go(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}mn.Rules=m3,mn.RuntimeRules=g3;class gn extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=b.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Zc extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Zc.controlFieldType=b.FILE;var Yc={Designer:gn,Runtime:Zc,Property:mn};class b3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class _3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var E;(E=this.multistageFilling)==null||E.push(new te(v))}))}}bn.Rules=b3,bn.RuntimeRules=_3;class Le extends R{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:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=o.getMessage("department"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class pc extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}pc.controlFieldType=b.DEPARTMENTS;var es={Designer:Le,Runtime:pc,Property:bn};class C3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Rt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class E3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T;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 Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectOrg"),this.datasourceBind=new oE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var O;(O=this.multistageFilling)==null||O.push(new te(x))}))}}_n.Rules=C3,_n.RuntimeRules=E3;class Rt extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return o.getMessage("organizationSelection")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Rt.controlFieldType=b.DEPARTMENTS,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ts extends D{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ts.controlFieldType=b.DEPARTMENTS;var ns={Designer:Rt,Runtime:ts,Property:_n};class w3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class B3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Cn.Rules=w3,Cn.RuntimeRules=B3;class En extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class is extends D{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}is.controlFieldType=b.ANY;var us={Designer:En,Runtime:is,Property:Cn},S3=Object.freeze({__proto__:null,Input:Yo,Checkbox:ec,Radio:nc,Number:uc,DatePicker:rc,DateRange:oc,Textarea:sc,RichText:hc,Select:yc,SelectMultiple:mc,Employee:bc,Image:Ec,Attachment:_c,Amount:Bc,Score:Ic,Address:Tc,Department:Rc,AutoNumber:xc,Calc:kc,SearchNumberRange:Mc,SearchDateRange:Lc,VueFormItem:Vc,SelectRelation:jc,SearchInput:Wc,Tree:Kc,Employee2:Qc,ElectronicSignature:Jc,WPS:Yc,Department2:es,OrganizationSelection:ns,VuePage:us});class as extends H{static get controlName(){return o.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}as.excludes=[I.GRID];class I3 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var rs={Designer:as,Runtime:I3,Property:N};const A3=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:A3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return o.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],wn.childrenMaxLength=1;class Ja extends W{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var ls={Designer:wn,Runtime:Ja,Property:Ne};class Ki extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Gi extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[I.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class os extends W{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"row"}}var cs={Designer:Gi,Runtime:os,Property:Ki};const T3=4;class Qi extends Gi{static get controlName(){return o.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[I.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=T3;class F3 extends os{static get controlType(){return"grid-row"}constructor(e){super(e)}}class R3 extends Ki{constructor(e){super(e)}}var ss={Designer:Qi,Runtime:F3,Property:R3};class D3 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Xi extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Xi.Rules=D3;class Za extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Za.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Za.excludes=[I.CARD_GROUP];class x3 extends W{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ds={Designer:Za,Runtime:x3,Property:Xi};class P3 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ji extends N{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new pC(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=P3;class se extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}se.controlName=o.getMessage("subtableColumn"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class hs extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}hs.controlType="subtable-column";var fs={Designer:se,Runtime:hs,Property:Ji};class Ya extends N{constructor(e){super(e)}}class Ve extends H{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Ve.controlName=o.getMessage("subtableRow"),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:[s.CAPTION],visible:!0}];class k3 extends W{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ys={Designer:Ve,Runtime:k3,Property:Ya};class pa extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Se.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends H{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class vs extends W{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}vs.controlType="gridtable-column";var ms={Designer:He,Runtime:vs,Property:pa};class er extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class tr extends H{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}tr.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],tr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class O3 extends W{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var gs={Designer:tr,Runtime:O3,Property:er};class nr extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class M3 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Zi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Zi.Rules=M3;class Bn extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[I.TAB],Bn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class $3 extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var bs={Designer:Bn,Runtime:$3,Property:Zi};class Sn extends H{constructor(e){var n;super(e),this.props=new nr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return o.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[I.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class L3 extends W{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var _s={Designer:Sn,Runtime:L3,Property:nr};class Cs extends N{constructor(e){super(e)}}class Es extends H{constructor(e){super(e),this.props=new Cs({}),this.children=(e==null?void 0:e.children)||[new wn({props:new Ne({span:12})}),new wn({props:new Ne({span:12})})]}static get controlName(){return o.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Es.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class N3 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ja({props:new Ne({span:12})}),new Ja({props:new Ne({span:12})})]}}var ws={Designer:Es,Runtime:N3,Property:Cs};class V3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class H3 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Yu.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 In extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new uE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new rE(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new wE(e==null?void 0:e.rowStyle)}}In.Rules=H3,In.RuntimeRules=V3;class An extends H{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[I.ROW],An.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"],An.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class j3 extends W{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bs={Designer:An,Runtime:j3,Property:In};class q3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Yi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:o.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:o.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:o.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:o.getMessage("print"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(d=>new Ae(d)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Yi.RuntimeRules=q3;class Ss extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dataView")}static get controlType(){return"data-view"}}Ss.excludes=[];class U3 extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Is={Designer:Ss,Runtime:U3,Property:Yi};class W3 extends H{static get controlName(){return o.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class z3 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class K3 extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var As={Designer:W3,Runtime:z3,Property:K3};class G3 extends H{static get controlName(){return o.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Q3 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class X3 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Io(e==null?void 0:e.flexConfig)}}var Ts={Designer:G3,Runtime:Q3,Property:X3};class J3 extends H{static get controlName(){return o.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Z3 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Y3 extends N{constructor(e){super(e)}}var Fs={Designer:J3,Runtime:Z3,Property:Y3};class p3 extends H{static get controlName(){return o.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class eI extends W{static get controlType(){return"position"}constructor(e){super(e)}}class tI extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Rs={Designer:p3,Runtime:eI,Property:tI};class ir extends N{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class pi extends H{constructor(e){var n;super(e),this.props=new ir((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}pi.slotPosition={default:"action-bar-slot"},pi.excludes=[],pi.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nI extends W{constructor(e){var n;super(e),this.props=new ir((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ds={Designer:pi,Runtime:nI,Property:ir},iI=Object.freeze({__proto__:null,Grid:rs,Col:ls,Row:cs,GridRow:ss,CardGroup:ds,SubTableColumn:fs,SubTableRow:ys,GridTableColumn:ms,GridLayoutContainer:gs,Tab:_s,TabPane:bs,Toolbox:ws,ListView:Bs,DataView:Is,Page:As,AdvancedContainer:Ts,PositioningContainer:Fs,Position:Rs,ActionBar:Ds});class uI extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:o.getMessage("isNotNumber")},{type:"number",min:0,message:o.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:o.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:o.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:o.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class aI extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const xs=class extends Zn{constructor(t,e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,S,v,E,T,x,O,ae,M,re,Rn,we,hu,Dn,Dt,Be,nd,id,ud,ad;super(t,e,xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Bo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(w=e==null?void 0:e.canAdd)!=null?w:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(S=e==null?void 0:e.canCheck)!=null?S:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(E=e==null?void 0:e.canImport)!=null?E:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ae=e==null?void 0:e.isShowCaptionTip)!=null?ae:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(re=e==null?void 0:e.mobileShowType)!=null?re:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(we=e==null?void 0:e.dataStorageDoc)!=null?we:new eE,this.fixedColumn=(hu=e==null?void 0:e.fixedColumn)!=null?hu:[],this.mobileRowCaption=(Dn=e==null?void 0:e.mobileRowCaption)!=null?Dn:o.getMessage("detailed"),this.mobileIsTile=(Dt=e==null?void 0:e.mobileIsTile)!=null?Dt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(nd=e==null?void 0:e.pageSize)!=null?nd:10,this.pageSizeOptions=(id=e==null?void 0:e.pageSizeOptions)!=null?id:[10,20,50,100],this.importConfig=new Eo(e==null?void 0:e.importConfig),this.exportConfig=new wo(e==null?void 0:e.exportConfig),this.sortable=(ud=e==null?void 0:e.sortable)!=null?ud:!1,this.sortKey=(ad=e==null?void 0:e.sortKey)!=null?ad:{}}};let Tn=xs;Tn.Rules=uI,Tn.RuntimeRules=aI;class Fn extends da{constructor(e){var n;super(e),this.props=new Tn(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 se,new se,new se])}static get controlName(){return o.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fn.slotPosition={toolbar:"subtable-toolbar-slot"},Fn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class rI extends Gl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ps={Designer:Fn,Runtime:rI,Property:Tn};class ur extends Zn{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class lI extends ve{constructor(e){super(e),this.caption.required=!1}}class eu extends z{constructor(e){var n,i,u,a,r,l,d,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(d=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}eu.Rules=lI;class je extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=o.getMessage("order"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class ar extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ar.controlType="order-column",ar.controlFieldType=b.DECIMAL;var ks={Designer:je,Runtime:ar,Property:eu};class rr extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends J{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Dr(this,null,function*(){return yield Rr(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=o.getMessage("operation"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends Z{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=b.FILE;var Os={Designer:Ce,Runtime:lr,Property:rr};const oI=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ur(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=le(n),this.childrenMaxLength=i}static get controlName(){return o.getMessage("gridTable")}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 Fr(nt({},e),{children:n})}validate(e,n){return Dr(this,null,function*(){return yield Rr(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=oI;class cI extends Gl{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ms={Designer:qe,Runtime:cI,Property:ur},sI=Object.freeze({__proto__:null,SubTable:Ps,GridTable:Ms});class dI extends Xl{constructor(e){super(e),xe.call(this,e)}}class tu extends z{constructor(e){var n,i,u,a,r,l;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 Y(e==null?void 0:e.datasourceBind),this.options=be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}tu.Rules=dI;class Ue extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=o.getMessage("varchar"),Ue.controlIcon="varchar-column",Ue.controlFieldType=b.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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}];class or extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}or.controlType="varchar-column",or.controlFieldType=b.VARCHAR;var $s={Designer:Ue,Runtime:or,Property:tu};class hI extends ve{constructor(e){super(e),xe.call(this,e)}}class nu extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}nu.Rules=hI;class We extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}We.controlType="text-column",We.controlName=o.getMessage("long"),We.controlIcon="text-column",We.controlFieldType=b.TEXT,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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}];class cr extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cr.controlType="text-column",cr.controlFieldType=b.TEXT;var Ls={Designer:We,Runtime:cr,Property:nu};class fI extends ve{constructor(e){super(e),xe.call(this,e)}}class iu extends z{constructor(e){var n,i,u,a,r,l,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}iu.Rules=fI;class ze extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=o.getMessage("decimal"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class sr extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sr.controlType="decimal-column",sr.controlFieldType=b.DECIMAL;var Ns={Designer:ze,Runtime:sr,Property:iu};class yI extends ve{constructor(e){super(e),xe.call(this,e)}}class uu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName}}uu.Rules=yI;class Ke extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ke.controlType="timescope-column",Ke.controlName=o.getMessage("timescope"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class dr extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dr.controlType="timescope-column",dr.controlFieldType=b.TIMESCOPE;var Vs={Designer:Ke,Runtime:dr,Property:uu};class vI extends ve{constructor(e){super(e),xe.call(this,e)}}class au extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}au.Rules=vI;class Ge extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName=o.getMessage("timestamp"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class hr extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hr.controlType="timestamp-column",hr.controlFieldType=b.TIMESTAMP;var Hs={Designer:Ge,Runtime:hr,Property:au};class mI extends Xl{constructor(e){super(e),xe.call(this,e)}}class ru extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=be((a=e==null?void 0:e.options)!=null?a:[{}])}}ru.Rules=mI;class Qe extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o.getMessage("array"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class fr extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}fr.controlType="array-column",fr.controlFieldType=b.ARRAY;var js={Designer:Qe,Runtime:fr,Property:ru};class yr extends z{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 J{constructor(e){super(e),this.props=new yr(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=o.getMessage("department"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class vr extends Z{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}vr.controlType="department-column",vr.controlFieldType=b.DEPARTMENTS;var qs={Designer:Xe,Runtime:vr,Property:yr};class gI extends ve{constructor(e){super(e),xe.call(this,e)}}class lu extends z{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 ge(e==null?void 0:e.linkOperationOption)}}lu.Rules=gI;class Je extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=o.getMessage("autoNumber"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class mr extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}mr.controlType="auto-number-column",mr.controlFieldType=b.AUTO_NUMBER;var Us={Designer:Je,Runtime:mr,Property:lu};class gr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=o.getMessage("file"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends Z{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="file-column",br.controlFieldType=b.FILE;var Ws={Designer:Ze,Runtime:br,Property:gr};class _r extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends J{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=o.getMessage("image"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends Z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=b.IMAGE;var zs={Designer:Ye,Runtime:Cr,Property:_r};class Er extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends J{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=o.getMessage("people"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wr extends Z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}wr.controlType="people-column",wr.controlFieldType=b.EMPLOYEES;var Ks={Designer:pe,Runtime:wr,Property:Er};class bI extends ve{constructor(e){super(e),xe.call(this,e)}}class ou extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}ou.Rules=bI;class et extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=o.getMessage("location"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Br extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Br.controlType="location-column",Br.controlFieldType=b.ADDRESS;var Gs={Designer:et,Runtime:Br,Property:ou};class _I extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:o.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class cu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}cu.Rules=_I;const CI=1;class Ee extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=le(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=o.getMessage("custom"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=CI,Ee.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Qs extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Qs.controlType="custom-column";var Xs={Designer:Ee,Runtime:Qs,Property:cu};class Sr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends J{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Me.controlType="employee-column",Me.controlName=o.getMessage("employee"),Me.controlIcon="employee-column",Me.controlFieldType=b.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ir.controlType="employee-column",Ir.controlFieldType=b.EMPLOYEES;var Js={Designer:Me,Runtime:Ir,Property:Sr};class Ar extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends J{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=o.getMessage("approvalStatusColumn"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Zs extends Z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Zs.controlType="approval-status-column";var Ys={Designer:tt,Runtime:Zs,Property:Ar},EI=Object.freeze({__proto__:null,VarcharColumn:$s,TextColumn:Ls,DecimalColumn:Ns,TimescopeColumn:Vs,TimestampColumn:Hs,ArrayColumn:js,DepartmentColumn:qs,AutoNumberColumn:Us,FileColumn:Ws,ImageColumn:zs,PeopleColumn:Ks,LocationColumn:Gs,CustomColumn:Xs,OrderColumn:ks,OperationColumn:Os,EmployeeColumn:Js,ApprovalStatusColumn:Ys});class wI extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class su extends wa{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;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 Ae((a=e==null?void 0:e.search)!=null?a:{content:o.getMessage("query"),isShow:!0}),this.cancel=new Ae((r=e==null?void 0:e.cancel)!=null?r:{content:o.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(w=>new Ae(w)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}su.RuntimeRules=wI;class du extends gB{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}du.controlType="simple-search",du.slotPosition={default:"search"},du.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class ps extends SB{constructor(e){var n;super(e),this.props=new su(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ps.controlType="simple-search";var ed={Designer:du,Runtime:ps,Property:su},BI=Object.freeze({__proto__:null,SimpleSearch:ed});class Tr extends Aa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class SI extends LB{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class II extends WB{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function MI(t){return t}var AI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},td={Designer:SI,Runtime:II,Property:Tr,Setting:AI},TI=Object.freeze({__proto__:null,GridLayoutWrap:td});y.ActionBar=Ds,y.ActionSetting=bo,y.Address=Tc,y.AdvancedContainer=Ts,y.Amount=Bc,y.ApprovalStatusColumn=Ys,y.ArrayColumn=js,y.AssignType=ke,y.Attachment=_c,y.AutoNumber=xc,y.AutoNumberColumn=Us,y.BatchDeleteButton=Xo,y.BatchPrintListButton=Ko,y.BatchPrintRecordListButton=Go,y.BatchSubmissionListButton=xo,y.Button=fo,y.Calc=kc,y.CardGroup=ds,y.Checkbox=ec,y.Col=ls,y.CreateFormListButton=Do,y.CustomColumn=Xs,y.DATE_CONFIG_TYPE=yo,y.DATE_LIMIT_TYPE=vo,y.Dashboard=jo,y.DataView=Is,y.DatePicker=rc,y.DateRange=oc,y.DecimalColumn=Ns,y.Department=Rc,y.Department2=es,y.DepartmentColumn=qs,y.DepartmentType=hi,y.Divider=Fo,y.ElectronicSignature=Jc,y.ElectronicSignatureConfig=mo,y.Employee=bc,y.Employee2=Qc,y.EmployeeColumn=Js,y.EncryptTypeEnum=Ao,y.Explain=di,y.ExportConfig=wo,y.ExportListButton=ko,y.ExportRecordListButton=Oo,y.ExportTemplate=jt,y.FileColumn=Ws,y.FlexStyleConfig=Io,y.FormSelectButton=$o,y.Grid=rs,y.GridLayoutContainer=gs,y.GridLayoutWrap=td,y.GridRow=ss,y.GridTable=Ms,y.GridTableColumn=ms,y.Image=Ec,y.ImageColumn=zs,y.ImportConfig=Eo,y.ImportListBind=Co,y.ImportRecordListButton=Mo,y.Input=Yo,y.InternalType=La,y.InvoiceCheckButton=zo,y.LINE_STYLE=ka,y.LimitDate=si,y.Link=ho,y.ListHeightSetting=_o,y.ListSelectButton=Lo,y.ListView=Bs,y.ListViewSelect=Uo,y.LocationColumn=Gs,y.Number=uc,y.OperationButton=Qo,y.OperationColumn=Os,y.OrderColumn=ks,y.OrganizationSelection=ns,y.OrganizeType=$a,y.Page=As,y.Pagination=Vo,y.PeopleColumn=Ks,y.Position=Rs,y.PositioningContainer=Fs,y.PrintTemplate=So,y.Radio=nc,y.ReferenceList=Jo,y.RichText=hc,y.Row=cs,y.SCORE_TYPE=Pa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Bo,y.Score=Ic,y.SearchDateRange=Lc,y.SearchInput=Wc,y.SearchNumberRange=Mc,y.Select=yc,y.SelectMultiple=mc,y.SelectRelation=jc,y.SimpleSearch=ed,y.SubTable=Ps,y.SubTableColumn=fs,y.SubTableRow=ys,y.SubmissionRecordListButton=Po,y.Tab=_s,y.TabPane=bs,y.Text=so,y.TextColumn=Ls,y.TextOcrButton=Wo,y.Textarea=sc,y.TimescopeColumn=Vs,y.TimestampColumn=Hs,y.Title=Ro,y.TitleConfigEnum=Pe,y.Toolbox=ws,y.Tree=Kc,y.UndersignedPerson=Oa,y.VarcharColumn=$s,y.VueFormItem=Vc,y.VuePage=us,y.WPS=Yc,y.WPSSetting=go,y.WpsOperationItem=Ma,y.baseControls=FS,y.columnControls=EI,y.formControls=S3,y.initExpression=qt,y.layoutControls=iI,y.listControls=sI,y.searchControls=BI,y.wrapControls=TI,Object.defineProperty(y,"__esModule",{value:!0})});