@byteluck-fe/model-driven-controls 6.2.0-2-beta.2 → 7.0.0-1-bate1

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.
Files changed (103) hide show
  1. package/dist/esm/formControls/Address/property.js +1 -1
  2. package/dist/esm/formControls/Attachment/property.js +6 -1
  3. package/dist/esm/formControls/Cascader/designer.js +231 -0
  4. package/dist/esm/formControls/Cascader/index.js +11 -0
  5. package/dist/esm/formControls/Cascader/property.js +166 -0
  6. package/dist/esm/formControls/Cascader/runtime.js +114 -0
  7. package/dist/esm/formControls/Cascader/types.js +0 -0
  8. package/dist/esm/formControls/Checkbox/designer.js +17 -0
  9. package/dist/esm/formControls/Checkbox/property.js +11 -1
  10. package/dist/esm/formControls/Image/designer.js +14 -0
  11. package/dist/esm/formControls/Image/property.js +6 -1
  12. package/dist/esm/formControls/Number/designer.js +4 -0
  13. package/dist/esm/formControls/Number/property.js +16 -1
  14. package/dist/esm/formControls/Radio/designer.js +17 -0
  15. package/dist/esm/formControls/Radio/property.js +11 -1
  16. package/dist/esm/formControls/Score/designer.js +11 -0
  17. package/dist/esm/formControls/Score/property.js +16 -1
  18. package/dist/esm/formControls/Select/designer.js +17 -0
  19. package/dist/esm/formControls/Select/property.js +11 -1
  20. package/dist/esm/formControls/SelectMultiple/designer.js +17 -0
  21. package/dist/esm/formControls/SelectMultiple/property.js +11 -1
  22. package/dist/esm/formControls/TimePicker/designer.js +193 -0
  23. package/dist/esm/formControls/TimePicker/index.js +11 -0
  24. package/dist/esm/formControls/TimePicker/property.js +108 -0
  25. package/dist/esm/formControls/TimePicker/runtime.js +114 -0
  26. package/dist/esm/formControls/TimePicker/types.js +0 -0
  27. package/dist/esm/formControls/TimeRange/designer.js +197 -0
  28. package/dist/esm/formControls/TimeRange/index.js +11 -0
  29. package/dist/esm/formControls/TimeRange/property.js +179 -0
  30. package/dist/esm/formControls/TimeRange/runtime.js +114 -0
  31. package/dist/esm/formControls/TimeRange/types.js +0 -0
  32. package/dist/esm/formControls/index.js +3 -0
  33. package/dist/esm/framework.js +16 -0
  34. package/dist/esm/layoutControls/CardGroup/designer.js +128 -0
  35. package/dist/esm/layoutControls/CardGroup/property.js +39 -4
  36. package/dist/esm/layoutControls/Col/property.js +3 -7
  37. package/dist/esm/layoutControls/CollapsePane/designer.js +129 -0
  38. package/dist/esm/layoutControls/CollapsePane/index.js +11 -0
  39. package/dist/esm/layoutControls/CollapsePane/property.js +93 -0
  40. package/dist/esm/layoutControls/CollapsePane/runtime.js +112 -0
  41. package/dist/esm/layoutControls/CollapsePane/types.js +0 -0
  42. package/dist/esm/layoutControls/Row/designer.js +16 -0
  43. package/dist/esm/layoutControls/Row/property.js +10 -2
  44. package/dist/esm/layoutControls/Step/designer.js +72 -0
  45. package/dist/esm/layoutControls/Step/property.js +51 -7
  46. package/dist/esm/layoutControls/Tab/designer.js +56 -0
  47. package/dist/esm/layoutControls/Tab/property.js +24 -1
  48. package/dist/esm/layoutControls/TableLayoutCol/property.js +2 -2
  49. package/dist/esm/layoutControls/collapse/designer.js +173 -0
  50. package/dist/esm/layoutControls/collapse/index.js +11 -0
  51. package/dist/esm/layoutControls/collapse/property.js +107 -0
  52. package/dist/esm/layoutControls/collapse/runtime.js +112 -0
  53. package/dist/esm/layoutControls/collapse/types.js +0 -0
  54. package/dist/esm/listControls/SubTable/designer.js +17 -0
  55. package/dist/esm/listControls/SubTable/property.js +6 -1
  56. package/dist/index.umd.js +1 -1
  57. package/dist/types/formControls/Address/property.d.ts +2 -2
  58. package/dist/types/formControls/Attachment/property.d.ts +5 -0
  59. package/dist/types/formControls/Cascader/designer.d.ts +20 -0
  60. package/dist/types/formControls/Cascader/index.d.ts +12 -0
  61. package/dist/types/formControls/Cascader/property.d.ts +72 -0
  62. package/dist/types/formControls/Cascader/runtime.d.ts +12 -0
  63. package/dist/types/formControls/Cascader/types.d.ts +0 -0
  64. package/dist/types/formControls/Checkbox/property.d.ts +10 -0
  65. package/dist/types/formControls/Image/property.d.ts +5 -0
  66. package/dist/types/formControls/Number/property.d.ts +15 -0
  67. package/dist/types/formControls/Radio/property.d.ts +10 -0
  68. package/dist/types/formControls/Score/property.d.ts +15 -0
  69. package/dist/types/formControls/Select/property.d.ts +10 -0
  70. package/dist/types/formControls/SelectMultiple/property.d.ts +10 -0
  71. package/dist/types/formControls/TimePicker/designer.d.ts +14 -0
  72. package/dist/types/formControls/TimePicker/index.d.ts +12 -0
  73. package/dist/types/formControls/TimePicker/property.d.ts +11 -0
  74. package/dist/types/formControls/TimePicker/runtime.d.ts +12 -0
  75. package/dist/types/formControls/TimePicker/types.d.ts +0 -0
  76. package/dist/types/formControls/TimeRange/designer.d.ts +14 -0
  77. package/dist/types/formControls/TimeRange/index.d.ts +12 -0
  78. package/dist/types/formControls/TimeRange/property.d.ts +62 -0
  79. package/dist/types/formControls/TimeRange/runtime.d.ts +12 -0
  80. package/dist/types/formControls/TimeRange/types.d.ts +0 -0
  81. package/dist/types/formControls/index.d.ts +3 -0
  82. package/dist/types/framework.d.ts +26 -19
  83. package/dist/types/layoutControls/CardGroup/property.d.ts +39 -0
  84. package/dist/types/layoutControls/Col/property.d.ts +1 -2
  85. package/dist/types/layoutControls/CollapsePane/designer.d.ts +14 -0
  86. package/dist/types/layoutControls/CollapsePane/index.d.ts +12 -0
  87. package/dist/types/layoutControls/CollapsePane/property.d.ts +11 -0
  88. package/dist/types/layoutControls/CollapsePane/runtime.d.ts +9 -0
  89. package/dist/types/layoutControls/CollapsePane/types.d.ts +0 -0
  90. package/dist/types/layoutControls/Row/property.d.ts +6 -1
  91. package/dist/types/layoutControls/Step/property.d.ts +56 -1
  92. package/dist/types/layoutControls/Tab/property.d.ts +24 -0
  93. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +3 -3
  94. package/dist/types/layoutControls/collapse/designer.d.ts +14 -0
  95. package/dist/types/layoutControls/collapse/index.d.ts +12 -0
  96. package/dist/types/layoutControls/collapse/property.d.ts +26 -0
  97. package/dist/types/layoutControls/collapse/runtime.d.ts +9 -0
  98. package/dist/types/layoutControls/collapse/types.d.ts +0 -0
  99. package/dist/types/listControls/SubTable/designer.d.ts +19 -0
  100. package/dist/types/listControls/SubTable/property.d.ts +5 -0
  101. package/dist/types/type.d.ts +4 -1
  102. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  103. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var g7=Object.defineProperty,b7=Object.defineProperties;var C7=Object.getOwnPropertyDescriptors;var Td=Object.getOwnPropertySymbols,_7=Object.getPrototypeOf,E7=Object.prototype.hasOwnProperty,B7=Object.prototype.propertyIsEnumerable,w7=Reflect.get;var Pd=(f,r,z)=>r in f?g7(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,nt=(f,r)=>{for(var z in r||(r={}))E7.call(r,z)&&Pd(f,z,r[z]);if(Td)for(var z of Td(r))B7.call(r,z)&&Pd(f,z,r[z]);return f},zl=(f,r)=>b7(f,C7(r));var Kl=(f,r,z)=>w7(_7(f),z,r);var Gl=(f,r,z)=>new Promise((gu,Rn)=>{var bu=fe=>{try{Rt(z.next(fe))}catch(Ot){Rn(Ot)}},Cu=fe=>{try{Rt(z.throw(fe))}catch(Ot){Rn(Ot)}},Rt=fe=>fe.done?gu(fe.value):Promise.resolve(fe.value).then(bu,Cu);Rt((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Rd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Od="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",kd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",xd="\u8BF7\u7ED1\u5B9A\u8868\u5355",Md="\u8BF7\u7ED1\u5B9A\u5217\u8868",$d="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ld="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Nd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Vd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",jd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Wd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ud="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Kd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Gd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Xd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Zd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Jd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Yd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",pd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",eh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",th="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",nh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ih="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ah="\u8BF7\u7ED1\u5B9A\u670D\u52A1",lh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rh="\u8BF7\u9009\u62E9\u7701",oh="\u8BF7\u9009\u62E9\u5E02",ch="\u8BF7\u9009\u62E9\u533A",sh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",dh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",hh="\u8BF7\u8F93\u5165\u5217\u5BBD",yh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",fh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",vh="\u8BF7\u9009\u62E9\u63A7\u4EF6",mh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",gh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",bh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ch="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_h="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Eh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Bh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Dh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ph="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Oh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Mh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$h="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Lh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Nh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Vh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Hh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",jh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",qh="\u6279\u91CF\u5220\u9664",Wh="\u6279\u91CF\u6253\u5370",Uh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",zh="\u6309\u94AE",Kh="\u521B\u5EFA\u5355\u636E",Gh="\u4EEA\u8868\u76D8",Xh="\u5206\u5272\u7EBF",Zh="\u5BFC\u51FA",Qh="\u8868\u5355\u64CD\u4F5C",Jh="\u5BFC\u5165",Yh="\u53D1\u7968\u8BC6\u522B",ph="\u94FE\u63A5",ey="\u5217\u8868\u9009\u62E9",ty="\u5217\u8868\u89C6\u56FE",ny="\u64CD\u4F5C\u6309\u94AE",iy="\u5206\u9875",uy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ay="\u8BF4\u660E\u6587\u5B57",ly="\u6587\u5B57\u8BC6\u522B",ry="\u6807\u9898\u7EC4\u4EF6",oy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",cy="\u6570\u7EC4",sy="\u81EA\u52A8\u7F16\u53F7",dy="\u81EA\u5B9A\u4E49",hy="\u6570\u503C",yy="\u90E8\u95E8",fy="\u4EBA\u5458",vy="\u9644\u4EF6",my="\u56FE\u7247",gy="\u5730\u5740",by="\u64CD\u4F5C",Cy="\u5E8F\u53F7",_y="\u4EBA\u5458",Ey="\u957F\u6587\u672C",By="\u65E5\u671F\u533A\u95F4",wy="\u65E5\u671F",Dy="\u77ED\u6587\u672C",Ay="\u6362\u884C\u5BB9\u5668Wrap",Iy="\u8868\u683C",Fy="\u660E\u7EC6\u5B50\u8868",Sy="\u5730\u5740",Ty="\u91D1\u989D",Py="\u8BA1\u7B97\u516C\u5F0F",Ry="\u591A\u9009",Oy="\u7535\u5B50\u7B7E\u7AE0",ky="\u5355\u884C\u6587\u672C",xy="\u6570\u5B57",My="\u4E1A\u52A1\u7EC4\u7EC7",$y="\u5355\u9009",Ly="\u5BCC\u6587\u672C",Ny="\u8BC4\u5206",Vy="\u6570\u5B57\u533A\u95F4",Hy="\u4E0B\u62C9\u5355\u9009",jy="\u4E0B\u62C9\u591A\u9009",qy="\u5173\u8054\u5355\u9009",Wy="\u591A\u884C\u6587\u672C",Uy="\u6811",zy="Vue\u5BB9\u5668",Ky="Vue\u9875\u9762",Gy="\u5728\u7EBF\u6587\u6863",Xy="\u6309\u94AE\u64CD\u4F5C\u680F",Zy="\u9AD8\u7EA7\u5BB9\u5668",Qy="\u5206\u7EC4",Jy="\u6805\u683C\u5217",Yy="\u6570\u636E\u5BB9\u5668",py="\u753B\u5E03",ef="\u6362\u884C\u5BB9\u5668",tf="\u6805\u683C\u7B49\u5206\u884C",nf="\u5217\u8868\u5BB9\u5668",uf="\u81EA\u7531\u9875\u9762",af="\u5B9A\u4F4D\u5B50\u5BB9\u5668",lf="\u5B9A\u4F4D\u5BB9\u5668",rf="\u6805\u683C\u5E03\u5C40",of="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",cf="\u660E\u7EC6\u5B50\u8868\u884C",sf="\u6807\u7B7E\u9875",df="\u6807\u7B7E\u5355\u5143",hf="\u5DE5\u5177\u680F",yf="\u6279\u91CF\u63D0\u4EA4",ff="\u5BFC\u51FA\u8BB0\u5F55",vf="\u5217\u8868\u89C6\u56FE",mf="\u7ED3\u675F\u65F6\u95F4",gf="\u5F00\u59CB\u65F6\u95F4",bf="\u5355\u4F4D",Cf="\u7ED3\u679C",_f="\u5E01\u79CD",Ef="\u7ED3\u675F\u65E5\u671F",Bf="\u5F00\u59CB\u65E5\u671F",wf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Df="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Af="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",If="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Ff="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Sf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Tf="\u8BF7\u9009\u62E9",Pf="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Rf="\u8BF7\u9009\u62E9\u90E8\u95E8",Of="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",kf="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",xf="\u8BF7\u9009\u62E9\u5730\u5740",Mf="\u5F39\u7A97\u786E\u8BA4\u65F6",$f="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Lf="\u884C\u9009\u4E2D\u65F6",Nf="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Vf="\u884C\u5220\u9664\u524D",Hf="\u884C\u70B9\u51FB\u65F6",jf="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",qf="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Wf="\u91CD\u547D\u540D\u65F6",Uf="\u4FDD\u5B58\u6587\u4EF6\u65F6",zf="\u6253\u5F00\u6587\u4EF6\u65F6",Kf="\u83B7\u53D6\u7126\u70B9\u65F6",Gf="\u5931\u53BB\u7126\u70B9\u65F6",Xf="\u7528\u6237\u8F93\u5165\u65F6",Zf="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Qf="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Jf="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Yf="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",pf="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",ev="\u641C\u7D22\u65F6",tv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",nv="\u6267\u884C\u5B8C\u6210\u65F6",iv="\u70B9\u51FB\u65F6",uv="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",av="\u8BF7\u8F93\u5165\u65E5\u671F",lv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",rv="\u8BF7\u8F93\u5165",ov="\u9ED8\u8BA4\u6A21\u7248",cv="\u5DE6\u53F3\u5E03\u5C40",sv="\u4E0A\u4E0B\u5E03\u5C40",dv="\u53EA\u8BFB",hv="\u5FC5\u586B",yv="\u63D0\u793A\u6587\u5B57",fv="\u9690\u85CF\u6807\u9898",vv="\u6807\u9898\u5FC5\u586B",mv="\u7EC4\u7EC7\u5F62\u6001",gv="\u4E1A\u52A1\u7C7B\u578B",bv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Cv="\u9690\u85CF",_v="\u6D41\u7A0B\u72B6\u6001",Ev="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Bv="\u5220\u9664",wv="\u7F16\u8F91",Dv="\u67E5\u770B",Av="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Iv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Fv="\u5145\u6EE1\u6574\u884C",Sv="\u6700\u5C0F\u503C",Tv="\u6700\u5927\u503C",Pv="\u65B0\u5EFA\u6587\u6863",Rv="\u91CD\u7F6E",Ov="\u67E5\u8BE2",kv="\u660E\u7EC6",xv="\u6253\u5370",Mv="\u4FDD\u5B58\u8349\u7A3F",$v="\u4FDD\u5B58",Lv="\u53D6\u6D88",Nv="\u4E0A\u4F20\u56FE\u7247",Vv="\u53D1\u8D77\u7B7E\u7F72",Hv="\u4E0A\u4F20\u9644\u4EF6",jv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",qv="\u5F15\u7528\u5217\u8868",Wv="\u9009\u9879\u4E00",Uv="\u9009\u9879\u4E8C",zv="\u9009\u9879\u4E09",Kv={isNotNumber:z,isNotString:gu,isNotObject:Rn,isNotArray:bu,isNotBoolean:Cu,runtimeRequired:Rt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Rd,pleaseEnterPlaceholder:Od,pleaseEnterFieldCode:kd,pleaseEnterForm:xd,pleaseEnterList:Md,pleaseEnterProcess:$d,pleaseEnterLabel:Ld,pleaseEnterValue:Nd,bizKeyNotBindFiled:Vd,pleaseSelectOneField:Hd,pleaseEnterNumberRange:jd,pleaseEnterAValueGreaterThanMin:qd,pleaseEnterAValueLessThanMax:Wd,numberRangeSetError:Ud,stringRangeError:zd,attachmentMaxSize:Kd,pleaseEnterTotalScoreSetting:Gd,theTotalScoreMustNotBeLessThan1:Xd,scoreDefaultValueRange:Zd,attachmentLimitError:Qd,PleaseReselectTheOptionalQuantity:Jd,TheMaximumLengthIsGreaterThanTheMinimumLength:Yd,TheMinimumLengthIsGreaterThanTheMaximumLength:pd,PleaseSelectTheCorrectOptionSettings:eh,optionIdIsRepeat:th,optionIsRequired:nh,pleaseEnterDataCode:ih,pleaseEnterValueFieldCode:uh,pleaseEnterSvcCode:ah,pleaseBindAtLeastOneDisplayValue:lh,pleaseSelectProvince:rh,pleaseSelectCity:oh,pleaseSelectDistrict:ch,limitRowsCannotBeLessThan0:sh,TheNumberOfRowsCannotBeLessThanMinRows:dh,pleaseEnterColumnWidth:hh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yh,pleaseCompleteAllRulesAndConditions:fh,pleaseSelectControl:vh,pleaseSelectAtLeastOneColumn:mh,pleaseSelectFillBackMode:gh,pleaseSelectDashboard:bh,rootNodeIsRequired:Ch,theViewNameCannotBeEmpty:_h,pleaseSelectOcrType:Eh,pleaseSelectAtLeastOneFieldToFillIn:Bh,pleaseChooseAtLeastOne:wh,pleaseEnterButtonContent:Dh,pleaseEnterDataCodeInDataSetting:Ah,pleaseEnterValueFieldCodeInDataSetting:Ih,pleaseEnterSvcCodeInDataSetting:Fh,pleaseBindAtLeastOneDisplayValueInDataSetting:Sh,rootNodeIsRequiredInDataSetting:Th,pleaseEnterMaxHeight:Ph,pleaseEnterWatermark:Rh,pleaseEnterFileName:Oh,pleaseUploadAtLeastOnePrintTemplate:kh,pleaseAssignBusiness:xh,pleaseAssignExternal:Mh,pleaseEnterAliasCode:$h,pleaseSelectDataCode:Lh,pleaseSelectSvcCode:Nh,pleaseSelectJoinFieldCode:Vh,pleaseSelectMainFieldCode:Hh,pleaseSelectSortFieldCode:jh,batchDeleteButton:qh,batchPrintListButton:Wh,batchPrintRecordList:Uh,button:zh,createFormListButton:Kh,dashboard:Gh,divider:Xh,exportListButton:Zh,formSelectButton:Qh,importRecordListButton:Jh,invoiceCheckButton:Yh,link:ph,listSelectButton:ey,ListViewSelect:ty,operationButton:ny,pagination:iy,submissionRecordListButton:uy,text:ay,textOcrButton:ly,title:ry,approvalStatusColumn:oy,array:cy,autoNumber:sy,custom:dy,decimal:hy,department:yy,employee:fy,file:vy,image:my,location:gy,operation:by,order:Cy,people:_y,long:Ey,timescope:By,timestamp:wy,varchar:Dy,gridLayoutWrap:Ay,gridTable:Iy,subTable:Fy,address:Sy,amount:Ty,calc:Py,checkBox:Ry,electronicSignature:Oy,input:ky,number:xy,organizationSelection:My,radio:$y,richText:Ly,score:Ny,searchNumberRange:Vy,select:Hy,selectMultiple:jy,selectRelation:qy,textarea:Wy,tree:Uy,vueFormItem:zy,vuePage:Ky,WPS:Gy,actionBar:Xy,advancedContainer:Zy,cardGroup:Qy,col:Jy,dataView:Yy,grid:py,gridLayoutContainer:ef,gridRow:tf,listView:nf,page:uf,position:af,positioningContainer:lf,row:rf,subtableColumn:of,subtableRow:cf,tab:sf,tabPane:df,toolbox:hf,batchSubmissionListButton:yf,exportRecordListButton:ff,listViewSelect:vf,endTime:mf,startTime:gf,unit:bf,result:Cf,currency:_f,endDate:Ef,startDate:Bf,pleaseSelectCompanyName:wf,pleaseSelectPhoneOrEmail:Df,pleaseSelectSignType:Af,pleaseSelectSigner:If,pleaseSelectOnlyOne:Ff,pleaseSelectSignFile:Sf,pleaseSelect:Tf,pleaseSelectOrg:Pf,pleaseSelectDept:Rf,pleaseSelectEndDate:Of,pleaseSelectStartDate:kf,pleaseChooseAddress:xf,modalConfirm:Mf,tabChange:$f,rowSelected:Lf,listDataImport:Nf,rowDelete:Vf,rowClick:Hf,cellRender:jf,onClickBtn:qf,rename:Wf,onSaveFile:Uf,onOpenFile:zf,onFocus:Kf,onBlur:Gf,onInput:Xf,listDataAdd:Zf,listDataDelete:Qf,listDataBack:Jf,listDataCreate:Yf,listDataChange:pf,search:ev,valueChange:tv,finished:nv,click:iv,pleaseEnterNameorEmail:uv,pleaseEnterDate:av,pleaseEnterAutonumber:lv,pleaseEnter:rv,defaultTemplate:ov,left:cv,top:sv,default:"\u666E\u901A",readonly:dv,required:hv,textTip:yv,hideCaption:fv,titleRequired:vv,organizationalForm:mv,businessType:gv,deleteConfirm:bv,hide:Cv,processStatus:_v,approvedDocuments:Ev,delete:Bv,edit:wv,view:Dv,loadCtrlErrorTip:Av,loadCtrlError:Iv,fullLine:Fv,min:Sv,max:Tv,createWPS:Pv,reset:Rv,query:Ov,detailed:kv,print:xv,draft:Mv,save:$v,cancel:Lv,uploadImg:Nv,signature:Vv,uploadFile:Hv,linkContent:jv,referenceList:qv,optionOne:Wv,optionTwo:Uv,optionThird:zv},Gv="Please enter a number",Xv="Please enter a string",Zv="Please enter an object",Qv="Please enter an array",Jv="Please enter a boolean",Yv="{caption} Required",pv="Please enter the title",em="Please enter the bubble prompt",tm="Please enter the row title",nm="Please enter the prompt text",im="Please bind data items",um="Please bind the form",am="Please bind the list",lm="Please bind the process",rm="Please enter the displayed value",om="Please enter the stored value",cm="The document number is not bound to the data item",sm="Please select at least one display field",dm="Please enter a value greater than or equal to {min} and less than or equal to {max}",hm="Please enter a value greater than or equal to {min}",ym="Please enter a value less than or equal to {max}",fm="The value range is set incorrectly",vm="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",mm="The attachment size must be between 0MB and 1000MB",gm="Please fill in the total score setting",bm="The total score cannot be less than 1",Cm="The default value must be between {min} and {max}",_m="The number of attachment uploads exceeds the limit",Em="Please re-select the optional quantity",Bm="The maximum length of the control must be greater than the minimum length",wm="The minimum length of the control must be less than the maximum length",Dm="Please select the correct option setting",Am="Option ID cannot be repeated",Im="Please enter at least one option",Fm="Please bind the data source",Sm="Please bind the stored value",Tm="Please bind the service",Pm="At least one display value must be bound",Rm="Please select a province",Om="Please select a city",km="Please select a district",xm="The minimum number of lines to fill in cannot be less than 0",Mm="The number of rows cannot be less than {min} rows",$m="Please enter the column width",Lm="Please set the logical relationship of all rule conditions",Nm="Please complete all rules and conditions",Vm="please select control",Hm="Please select the dashboard",jm="View name cannot be empty",qm="Please select recognition type",Wm="Please select at least one field to fill in",Um="Please select at least one",zm="Please enter the button title",Km="Please bind the business model in the data settings",Gm="Please bind storage values in data settings",Xm="Please bind the service in the data settings",Zm="Please bind at least one display value in the data settings",Qm="Please select the root node in the data settings",Jm="Please enter the maximum height",Ym="The input content cannot be empty",pm="Watermark cannot be empty",e0="File name cannot be empty",t0="Please upload at least one printing template!\uFF01",n0="Please select a specific business department",i0="Please select a specified external organization",u0="Please enter a sub table alias",a0="Please select the associated table to set the business model",l0="Please select the association table to set the binding service",r0="Select associated sub table fields",o0="Please select the associated main table field",c0="Please select the sort field",s0="\u6279\u91CF\u5220\u9664",d0="\u6279\u91CF\u6253\u5370",h0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",y0="\u6309\u94AE",f0="\u521B\u5EFA\u5355\u636E",v0="\u4EEA\u8868\u76D8",m0="\u5206\u5272\u7EBF",g0="\u5BFC\u51FA",b0="\u8868\u5355\u64CD\u4F5C",C0="\u5BFC\u5165",_0="\u53D1\u7968\u8BC6\u522B",E0="\u94FE\u63A5",B0="\u5217\u8868\u9009\u62E9",w0="\u5217\u8868\u89C6\u56FE",D0="\u64CD\u4F5C\u6309\u94AE",A0="\u5206\u9875",I0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",F0="\u8BF4\u660E\u6587\u5B57",S0="\u6587\u5B57\u8BC6\u522B",T0="\u6807\u9898\u7EC4\u4EF6",P0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",R0="\u6570\u7EC4",O0="\u81EA\u52A8\u7F16\u53F7",k0="\u81EA\u5B9A\u4E49",x0="\u6570\u503C",M0="\u90E8\u95E8",$0="\u4EBA\u5458",L0="\u9644\u4EF6",N0="\u56FE\u7247",V0="\u5730\u5740",H0="\u64CD\u4F5C",j0="\u5E8F\u53F7",q0="\u4EBA\u5458",W0="\u957F\u6587\u672C",U0="\u65E5\u671F\u533A\u95F4",z0="\u65E5\u671F",K0="\u77ED\u6587\u672C",G0="\u6362\u884C\u5BB9\u5668Wrap",X0="\u8868\u683C",Z0="\u660E\u7EC6\u5B50\u8868",Q0="\u5730\u5740",J0="\u91D1\u989D",Y0="\u8BA1\u7B97\u516C\u5F0F",p0="\u591A\u9009",eg="\u7535\u5B50\u7B7E\u7AE0",tg="\u5355\u884C\u6587\u672C",ng="\u6570\u5B57",ig="\u4E1A\u52A1\u7EC4\u7EC7",ug="\u5355\u9009",ag="\u5BCC\u6587\u672C",lg="\u8BC4\u5206",rg="\u6570\u5B57\u533A\u95F4",og="\u4E0B\u62C9\u5355\u9009",cg="\u4E0B\u62C9\u591A\u9009",sg="\u5173\u8054\u5355\u9009",dg="\u591A\u884C\u6587\u672C",hg="\u6811",yg="Vue\u5BB9\u5668",fg="Vue\u9875\u9762",vg="\u5728\u7EBF\u6587\u6863",mg="\u6309\u94AE\u64CD\u4F5C\u680F",gg="\u9AD8\u7EA7\u5BB9\u5668",bg="\u5206\u7EC4",Cg="\u6805\u683C\u5217",_g="\u6570\u636E\u5BB9\u5668",Eg="\u753B\u5E03",Bg="\u6362\u884C\u5BB9\u5668",wg="\u6805\u683C\u7B49\u5206\u884C",Dg="\u5217\u8868\u5BB9\u5668",Ag="\u81EA\u7531\u9875\u9762",Ig="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Fg="\u5B9A\u4F4D\u5BB9\u5668",Sg="\u6805\u683C\u5E03\u5C40",Tg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Pg="\u660E\u7EC6\u5B50\u8868\u884C",Rg="\u6807\u7B7E\u9875",Og="\u6807\u7B7E\u5355\u5143",kg="\u5DE5\u5177\u680F",xg="\u6279\u91CF\u63D0\u4EA4",Mg="\u5BFC\u51FA\u8BB0\u5F55",$g="\u5217\u8868\u89C6\u56FE",Lg="\u5F15\u7528\u5217\u8868",Ng="\u9009\u9879\u4E00",Vg="\u9009\u9879\u4E8C",Hg="\u9009\u9879\u4E09",jg={isNotNumber:Gv,isNotString:Xv,isNotObject:Zv,isNotArray:Qv,isNotBoolean:Jv,runtimeRequired:Yv,pleaseEnterCaption:pv,pleaseEnterCaptionTip:em,pleaseEnterRowCaption:tm,pleaseEnterPlaceholder:nm,pleaseEnterFieldCode:im,pleaseEnterForm:um,pleaseEnterList:am,pleaseEnterProcess:lm,pleaseEnterLabel:rm,pleaseEnterValue:om,bizKeyNotBindFiled:cm,pleaseSelectOneField:sm,pleaseEnterNumberRange:dm,pleaseEnterAValueGreaterThanMin:hm,pleaseEnterAValueLessThanMax:ym,numberRangeSetError:fm,stringRangeError:vm,attachmentMaxSize:mm,pleaseEnterTotalScoreSetting:gm,theTotalScoreMustNotBeLessThan1:bm,scoreDefaultValueRange:Cm,attachmentLimitError:_m,PleaseReselectTheOptionalQuantity:Em,TheMaximumLengthIsGreaterThanTheMinimumLength:Bm,TheMinimumLengthIsGreaterThanTheMaximumLength:wm,PleaseSelectTheCorrectOptionSettings:Dm,optionIdIsRepeat:Am,optionIsRequired:Im,pleaseEnterDataCode:Fm,pleaseEnterValueFieldCode:Sm,pleaseEnterSvcCode:Tm,pleaseBindAtLeastOneDisplayValue:Pm,pleaseSelectProvince:Rm,pleaseSelectCity:Om,pleaseSelectDistrict:km,limitRowsCannotBeLessThan0:xm,TheNumberOfRowsCannotBeLessThanMinRows:Mm,pleaseEnterColumnWidth:$m,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lm,pleaseCompleteAllRulesAndConditions:Nm,pleaseSelectControl:Vm,pleaseSelectDashboard:Hm,theViewNameCannotBeEmpty:jm,pleaseSelectOcrType:qm,pleaseSelectAtLeastOneFieldToFillIn:Wm,pleaseChooseAtLeastOne:Um,pleaseEnterButtonContent:zm,pleaseEnterDataCodeInDataSetting:Km,pleaseEnterValueFieldCodeInDataSetting:Gm,pleaseEnterSvcCodeInDataSetting:Xm,pleaseBindAtLeastOneDisplayValueInDataSetting:Zm,rootNodeIsRequiredInDataSetting:Qm,pleaseEnterMaxHeight:Jm,pleaseEnter:Ym,pleaseEnterWatermark:pm,pleaseEnterFileName:e0,pleaseUploadAtLeastOnePrintTemplate:t0,pleaseAssignBusiness:n0,pleaseAssignExternal:i0,pleaseEnterAliasCode:u0,pleaseSelectDataCode:a0,pleaseSelectSvcCode:l0,pleaseSelectJoinFieldCode:r0,pleaseSelectMainFieldCode:o0,pleaseSelectSortFieldCode:c0,batchDeleteButton:s0,batchPrintListButton:d0,batchPrintRecordList:h0,button:y0,createFormListButton:f0,dashboard:v0,divider:m0,exportListButton:g0,formSelectButton:b0,importRecordListButton:C0,invoiceCheckButton:_0,link:E0,listSelectButton:B0,ListViewSelect:w0,operationButton:D0,pagination:A0,submissionRecordListButton:I0,text:F0,textOcrButton:S0,title:T0,approvalStatusColumn:P0,array:R0,autoNumber:O0,custom:k0,decimal:x0,department:M0,employee:$0,file:L0,image:N0,location:V0,operation:H0,order:j0,people:q0,long:W0,timescope:U0,timestamp:z0,varchar:K0,gridLayoutWrap:G0,gridTable:X0,subTable:Z0,address:Q0,amount:J0,calc:Y0,checkBox:p0,electronicSignature:eg,input:tg,number:ng,organizationSelection:ig,radio:ug,richText:ag,score:lg,searchNumberRange:rg,select:og,selectMultiple:cg,selectRelation:sg,textarea:dg,tree:hg,vueFormItem:yg,vuePage:fg,WPS:vg,actionBar:mg,advancedContainer:gg,cardGroup:bg,col:Cg,dataView:_g,grid:Eg,gridLayoutContainer:Bg,gridRow:wg,listView:Dg,page:Ag,position:Ig,positioningContainer:Fg,row:Sg,subtableColumn:Tg,subtableRow:Pg,tab:Rg,tabPane:Og,toolbox:kg,batchSubmissionListButton:xg,exportRecordListButton:Mg,listViewSelect:$g,referenceList:Lg,optionOne:Ng,optionTwo:Vg,optionThird:Hg},qg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ug="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gg="{caption}\u5FC5\u9808",Xg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ib="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ub="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ab="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ob="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",db="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",hb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",mb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gb="\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",bb="\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",Cb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_b="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Eb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Bb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Db="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ab="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ib="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Rb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ob="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",xb="please select control",Mb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Lb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\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",Vb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",qb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\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",zb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Kb="\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",Xb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Zb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Qb="\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",Jb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",tC="\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",nC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",iC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",aC="\u6279\u91CF\u5220\u9664",lC="\u6279\u91CF\u6253\u5370",rC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",oC="\u6309\u94AE",cC="\u521B\u5EFA\u5355\u636E",sC="\u4EEA\u8868\u76D8",dC="\u5206\u5272\u7EBF",hC="\u5BFC\u51FA",yC="\u8868\u5355\u64CD\u4F5C",fC="\u5BFC\u5165",vC="\u53D1\u7968\u8BC6\u522B",mC="\u94FE\u63A5",gC="\u5217\u8868\u9009\u62E9",bC="\u5217\u8868\u89C6\u56FE",CC="\u64CD\u4F5C\u6309\u94AE",_C="\u5206\u9875",EC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",BC="\u8BF4\u660E\u6587\u5B57",wC="\u6587\u5B57\u8BC6\u522B",DC="\u6807\u9898\u7EC4\u4EF6",AC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",IC="\u6570\u7EC4",FC="\u81EA\u52A8\u7F16\u53F7",SC="\u81EA\u5B9A\u4E49",TC="\u6570\u503C",PC="\u90E8\u95E8",RC="\u4EBA\u5458",OC="\u9644\u4EF6",kC="\u56FE\u7247",xC="\u5730\u5740",MC="\u64CD\u4F5C",$C="\u5E8F\u53F7",LC="\u4EBA\u5458",NC="\u957F\u6587\u672C",VC="\u65E5\u671F\u533A\u95F4",HC="\u65E5\u671F",jC="\u77ED\u6587\u672C",qC="\u6362\u884C\u5BB9\u5668Wrap",WC="\u8868\u683C",UC="\u660E\u7EC6\u5B50\u8868",zC="\u5730\u5740",KC="\u91D1\u989D",GC="\u8BA1\u7B97\u516C\u5F0F",XC="\u591A\u9009",ZC="\u7535\u5B50\u7B7E\u7AE0",QC="\u5355\u884C\u6587\u672C",JC="\u6570\u5B57",YC="\u4E1A\u52A1\u7EC4\u7EC7",pC="\u5355\u9009",e5="\u5BCC\u6587\u672C",t5="\u8BC4\u5206",n5="\u6570\u5B57\u533A\u95F4",i5="\u4E0B\u62C9\u5355\u9009",u5="\u4E0B\u62C9\u591A\u9009",a5="\u5173\u8054\u5355\u9009",l5="\u591A\u884C\u6587\u672C",r5="\u6811",o5="Vue\u5BB9\u5668",c5="Vue\u9875\u9762",s5="\u5728\u7EBF\u6587\u6863",d5="\u6309\u94AE\u64CD\u4F5C\u680F",h5="\u9AD8\u7EA7\u5BB9\u5668",y5="\u5206\u7EC4",f5="\u6805\u683C\u5217",v5="\u6570\u636E\u5BB9\u5668",m5="\u753B\u5E03",g5="\u6362\u884C\u5BB9\u5668",b5="\u6805\u683C\u7B49\u5206\u884C",C5="\u5217\u8868\u5BB9\u5668",_5="\u81EA\u7531\u9875\u9762",E5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",B5="\u5B9A\u4F4D\u5BB9\u5668",w5="\u6805\u683C\u5E03\u5C40",D5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",A5="\u660E\u7EC6\u5B50\u8868\u884C",I5="\u6807\u7B7E\u9875",F5="\u6807\u7B7E\u5355\u5143",S5="\u5DE5\u5177\u680F",T5="\u6279\u91CF\u63D0\u4EA4",P5="\u5BFC\u51FA\u8BB0\u5F55",R5="\u5217\u8868\u89C6\u56FE",O5="\u5F15\u7528\u5217\u8868",k5="\u9009\u9879\u4E00",x5="\u9009\u9879\u4E8C",M5="\u9009\u9879\u4E09",$5={isNotNumber:qg,isNotString:Wg,isNotObject:Ug,isNotArray:zg,isNotBoolean:Kg,runtimeRequired:Gg,pleaseEnterCaption:Xg,pleaseEnterCaptionTip:Zg,pleaseEnterRowCaption:Qg,pleaseEnterPlaceholder:Jg,pleaseEnterFieldCode:Yg,pleaseEnterForm:pg,pleaseEnterList:eb,pleaseEnterProcess:tb,pleaseEnterLabel:nb,pleaseEnterValue:ib,bizKeyNotBindFiled:ub,pleaseSelectOneField:ab,pleaseEnterNumberRange:lb,pleaseEnterAValueGreaterThanMin:rb,pleaseEnterAValueLessThanMax:ob,numberRangeSetError:cb,stringRangeError:sb,attachmentMaxSize:db,pleaseEnterTotalScoreSetting:hb,theTotalScoreMustNotBeLessThan1:yb,scoreDefaultValueRange:fb,attachmentLimitError:vb,PleaseReselectTheOptionalQuantity:mb,TheMaximumLengthIsGreaterThanTheMinimumLength:gb,TheMinimumLengthIsGreaterThanTheMaximumLength:bb,PleaseSelectTheCorrectOptionSettings:Cb,optionIdIsRepeat:_b,optionIsRequired:Eb,pleaseEnterDataCode:Bb,pleaseEnterValueFieldCode:wb,pleaseEnterSvcCode:Db,pleaseBindAtLeastOneDisplayValue:Ab,pleaseSelectProvince:Ib,pleaseSelectCity:Fb,pleaseSelectDistrict:Sb,limitRowsCannotBeLessThan0:Tb,TheNumberOfRowsCannotBeLessThanMinRows:Pb,pleaseEnterColumnWidth:Rb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ob,pleaseCompleteAllRulesAndConditions:kb,pleaseSelectControl:xb,pleaseSelectDashboard:Mb,theViewNameCannotBeEmpty:$b,pleaseSelectOcrType:Lb,pleaseSelectAtLeastOneFieldToFillIn:Nb,pleaseChooseAtLeastOne:Vb,pleaseEnterButtonContent:Hb,pleaseEnterDataCodeInDataSetting:jb,pleaseEnterValueFieldCodeInDataSetting:qb,pleaseEnterSvcCodeInDataSetting:Wb,pleaseBindAtLeastOneDisplayValueInDataSetting:Ub,rootNodeIsRequiredInDataSetting:zb,pleaseEnterMaxHeight:Kb,pleaseEnter:Gb,pleaseEnterWatermark:Xb,pleaseEnterFileName:Zb,pleaseUploadAtLeastOnePrintTemplate:Qb,pleaseAssignBusiness:Jb,pleaseAssignExternal:Yb,pleaseEnterAliasCode:pb,pleaseSelectDataCode:eC,pleaseSelectSvcCode:tC,pleaseSelectJoinFieldCode:nC,pleaseSelectMainFieldCode:iC,pleaseSelectSortFieldCode:uC,batchDeleteButton:aC,batchPrintListButton:lC,batchPrintRecordList:rC,button:oC,createFormListButton:cC,dashboard:sC,divider:dC,exportListButton:hC,formSelectButton:yC,importRecordListButton:fC,invoiceCheckButton:vC,link:mC,listSelectButton:gC,ListViewSelect:bC,operationButton:CC,pagination:_C,submissionRecordListButton:EC,text:BC,textOcrButton:wC,title:DC,approvalStatusColumn:AC,array:IC,autoNumber:FC,custom:SC,decimal:TC,department:PC,employee:RC,file:OC,image:kC,location:xC,operation:MC,order:$C,people:LC,long:NC,timescope:VC,timestamp:HC,varchar:jC,gridLayoutWrap:qC,gridTable:WC,subTable:UC,address:zC,amount:KC,calc:GC,checkBox:XC,electronicSignature:ZC,input:QC,number:JC,organizationSelection:YC,radio:pC,richText:e5,score:t5,searchNumberRange:n5,select:i5,selectMultiple:u5,selectRelation:a5,textarea:l5,tree:r5,vueFormItem:o5,vuePage:c5,WPS:s5,actionBar:d5,advancedContainer:h5,cardGroup:y5,col:f5,dataView:v5,grid:m5,gridLayoutContainer:g5,gridRow:b5,listView:C5,page:_5,position:E5,positioningContainer:B5,row:w5,subtableColumn:D5,subtableRow:A5,tab:I5,tabPane:F5,toolbox:S5,batchSubmissionListButton:T5,exportRecordListButton:P5,listViewSelect:R5,referenceList:O5,optionOne:k5,optionTwo:x5,optionThird:M5},_u={zhCN:Kv,enUS:jg,jaJP:$5},Eu,L5=(Eu=window.localStorage.getItem("locale"))!==null&&Eu!==void 0?Eu:"zh-CN",On=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),D=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Xl={DEFAULT:"default"},Zl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",N5=Zl+"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?Zl:N5,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 V5(t){if(Array.isArray(t))return Bu(t)}function H5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ql(t,e,n){return e=kt(e),U5(t,Du()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function Jl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t,e,n){return Du()?kn=Reflect.construct:kn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&xt(s,l.prototype),s},kn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Yl(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&&xt(t,e)}function j5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function q5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W5(){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 U5(t,e){return e&&(z5(e)==="object"||typeof e=="function")?e:H5(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function pl(t){return V5(t)||q5(t)||K5(t)||W5()}function z5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K5(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 wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(i){if(i===null||!j5(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 kn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},wu(t)}function Du(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Du=function(){return!!t})()}var Au=console;function Iu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(pl(u)))}function er(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(pl(u)))}function G5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fu=function(t){Yl(e,t);function e(n){Jl(this,e);var i;return i=Ql(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?G5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(wu(Error)),X5=function(t){Yl(e,t);function e(n){Jl(this,e);var i;return i=Ql(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Fu);function Mt(t){throw new Fu(t)}function tr(t){throw new X5(t)}function Z5(t){Au.error(new Fu(t))}function Q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nr(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 J5(t,e,n){return e&&nr(t.prototype,e),n&&nr(t,n),t}function Y5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ir=function(){function t(){Q5(this,t)}return J5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,_u==null||(u=_u[L5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();Y5(ir,"$i18n",ir.resetI18n());function p5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Iu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var e_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},t_={exports:{}};(function(t){(function(e){var n=function(m,B,S){if(!s(B)||v(B)||g(B)||_(B)||d(B))return B;var R,$=0,ue=0;if(h(B))for(R=[],ue=B.length;$<ue;$++)R.push(n(m,B[$],S));else{R={};for(var L in B)Object.prototype.hasOwnProperty.call(B,L)&&(R[m(L,S)]=n(m,B[L],S))}return R},i=function(m,B){B=B||{};var S=B.separator||"_",R=B.split||/(?=[A-Z])/;return m.split(R).join(S)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,S){return S?S.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var B=u(m);return B.substr(0,1).toUpperCase()+B.substr(1)},l=function(m,B){return i(m,B).toLowerCase()},o=Object.prototype.toString,d=function(m){return typeof m=="function"},s=function(m){return m===Object(m)},h=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},_=function(m){return o.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},b=function(m,B){var S=B&&"process"in B?B.process:B;return typeof S!="function"?m:function(R,$){return S(R,m,$)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,B){return n(b(u,B),m)},decamelizeKeys:function(m,B){return n(b(l,B),m,B)},pascalizeKeys:function(m,B){return n(b(a,B),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(e_)})(t_);var ur={};Object.defineProperty(ur,"__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 n_=ur.default=Su;function i_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":i_(t))==="object"?n_(t):t}function u_(t){return Object.prototype.toString.call(t)==="[object Object]"}function xn(t){return Array.isArray(t)}function a_(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Tu(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 l_(t){if(Array.isArray(t))return Tu(t)}function ar(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function r_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){ar(a,i,u,l,o,"next",d)}function o(d){ar(a,i,u,l,o,"throw",d)}l(void 0)})}}function o_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c_(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pu(t){return l_(t)||s_(t)||h_(t)||d_()}function h_(t,e){if(!!t){if(typeof t=="string")return Tu(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 Tu(t,e)}}function y_(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var f_=function(){function t(){o_(this,t),rr(this,"_events",new Map),rr(this,"debug",!1)}return c_(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return r_(function(){var l,o,d,s,h,v,g,_,E,b,w,m;return y_(this,function(B){switch(B.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,h=!1,v=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),g=d[Symbol.iterator](),B.label=2;case 2:if(s=(_=g.next()).done)return[3,7];if(E=_.value,!l.includes(E))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),this.debug&&er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Pu(u))),[4,E.apply(null,Pu(u))];case 4:return b=B.sent(),this.debug&&er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Pu(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return w=B.sent(),Z5(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=B.sent(),h=!0,v=m,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(h)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),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 v_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function or(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m_(t,e,n){return e&&or(t.prototype,e),n&&or(t,n),t}function g_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b_=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],C_=function(){function t(){v_(this,t)}return m_(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();g_(C_,"events",b_);function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function __(t){if(Array.isArray(t))return Ru(t)}function E_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function B_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cr(t){return __(t)||E_(t)||w_(t)||B_()}function w_(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function Ou(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function sr(t,e,n){n!=="Runtime"&&(t.parent=e,Ou(t,"parent"))}function D_(t,e,n){t.forEach(function(i){sr(i,e,n)})}var dr=Symbol("targetKey");function hr(t){var e;return(e=t[dr])!==null&&e!==void 0?e:t}function yr(t,e,n){return D_(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===dr?u:(s=Reflect).get.apply(s,[u,a].concat(cr(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var h;if(xn(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(cr(d)));return u_(l)&&sr(l,e,n),v}})}function ce(t,e,n,i,u){var a=i!=null?i:t,l=yr(hr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=yr(hr(d),a,u)},enumerable:!0})}function A_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I_(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vr=[],Mn=function(){function t(e){A_(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return I_(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&&(Iu("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===On.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===On.FORM}},{key:"isListControl",value:function(n){return n.controlType===On.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===On.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}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}}),Ou(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var d=l[a],s=o[a];if(!(!d&&!s)){var h=s.findIndex(function(_){return _==n}),v=o[d]||[],g;return v.length!==s.length?g=v[0]:g=v[h],g}}}}),Ou(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Iu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(Mn,"staticControlsRuntimeRules",new Map),we(Mn,"staticControls",vr),we(Mn,"staticRegisteredTypes",new Set(vr.map(function(t){return t.Designer.controlType}))),we(Mn,"staticRegisteredConfigs",new Map);function F_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=$n(e),S_(t,mr()?Reflect.construct(e,n||[],$n(t).constructor):e.apply(t,n))}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function S_(t,e){return e&&(T_(e)==="object"||typeof e=="function")?e:F_(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}function T_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mr=function(){return!!t})()}var he=function t(e){A(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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},gr=function t(e){A(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(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},br=function t(e){A(this,t),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(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},P_=function t(e){A(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new br(e==null?void 0:e.pc),this.mobile=new br(e==null?void 0:e.mobile)},xu=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(i,"width",void 0),y(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}(gr),R_=function t(e){A(this,t),y(this,"pc",void 0),y(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})},O_=function t(e){A(this,t),y(this,"type",void 0),y(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){A(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(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:""},k_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(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),Cr=function t(e){A(this,t),y(this,"fieldCode",void 0),y(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:""},Mu=function t(e){A(this,t);var n;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Cr(l)}))!==null&&a!==void 0?a:[]},x_=function t(e){A(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(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:C.VARCHAR},M_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),$_=function t(e){A(this,t);var n,i;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new x_(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new M_(l)}))!==null&&a!==void 0?a:[]},L_=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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:[]},$u=function t(e){var n=this;A(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);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 l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var h,v=new Ln(o);(h=n.children)===null||h===void 0||h.push(v)}}))},Ln=function t(e){A(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);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 l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new L_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},N_=function t(e){A(this,t),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){A(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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:""},Lu=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},V_=function t(e){A(this,t),y(this,"columnName",void 0),y(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 Nu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new $u(o):new Ln(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new $u(o):new Ln(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new V_(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;A(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Lu(v))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,Nu.call(this,e)},Vu=function t(e){A(this,t),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){A(this,t),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},_r=function t(e){A(this,t);var n;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Lu(l)}))!==null&&a!==void 0?a:[]},Nn=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new _r(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),H_=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new _r(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),Er=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Nn),Br=function t(e){A(this,t);var n;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},wr=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),Nu.call(i,n),i}return e}(Br),Dr=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(i,"mode",void 0),y(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}(Br),Ar=function t(e){A(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(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:""},Ir=function t(e){A(this,t),y(this,"id",void 0),y(this,"label",void 0),y(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},j_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(Ir);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new Ir(n)}))!==null&&e!==void 0?e:[]}function Fr(t){var e;return(e=t==null?void 0:t.map(function(n){return new j_(n)}))!==null&&e!==void 0?e:[]}var Hu=function t(){A(this,t)},q_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Hu),W_=function t(e){A(this,t),y(this,"amount",void 0),y(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"},U_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Hu),z_=function t(e){A(this,t),y(this,"min",void 0),y(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:""},K_=function t(e){A(this,t),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},G_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Hu),X_=function t(e){A(this,t),y(this,"result",void 0),y(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:""},Z_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),c=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),Q_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ae=function t(e){A(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},J_=function t(e){A(this,t);var n;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);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(l){return new Cr(l)}))!==null&&a!==void 0?a:[],Nu.call(this,e)},Y_=function t(e){A(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(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"},p_=function t(e){A(this,t),y(this,"optCode",void 0),y(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:""},eE=function t(e){A(this,t);var n,i;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);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 l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new $u(d):new Ln(d)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new tE(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},tE=function t(e){A(this,t),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(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"},nE=function t(e){A(this,t);var n;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new eE(l)}))!==null&&a!==void 0?a:[]:[]},iE=function t(e){A(this,t),y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0);var n;this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1;var i;this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1;var u;this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[];var a;this.groupHeaderName=(a=e==null?void 0:e.groupHeaderName)!==null&&a!==void 0?a:"";var l;this.showFooterStatistics=(l=e==null?void 0:e.showFooterStatistics)!==null&&l!==void 0?l:!1},uE=function t(e){A(this,t),y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var n;this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]};function aE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lE(t,e,n){return e=$t(e),cE(t,Wu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function ju(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return Wu()?Vn=Reflect.construct:Vn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Lt(s,l.prototype),s},Vn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function rE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}function oE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function cE(t,e){return e&&(sE(e)==="object"||typeof e=="function")?e:aE(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function sE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qu(t){var e=typeof Map=="function"?new Map:void 0;return qu=function(i){if(i===null||!oE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},qu(t)}function Wu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wu=function(){return!!t})()}var U=function t(e){ju(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){rE(e,t);function e(n){return ju(this,e),lE(this,e)}return e}(qu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ju(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Y_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);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 dE(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 Hn(t,e){return Hn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hn(t,e)}function hE(){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 jn(t,e,n){return hE()?jn=Reflect.construct:jn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Hn(s,l.prototype),s},jn.apply(null,arguments)}function yE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zu(t){var e=typeof Map=="function"?new Map:void 0;return zu=function(i){if(i===null||!yE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return jn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Hn(u,i)},zu(t)}var fE=/%[sdj%]/g,Sr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Sr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ku(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(fE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return o}});return l}return u}function vE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||vE(e)&&typeof t=="string"&&!t)}function mE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function Tr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function gE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Pr=function(t){dE(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}(zu(Error));function bE(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var _=function(w){return i(w),w.length?g(new Pr(w,Ku(w))):v()},E=gE(t);Tr(E,n,_)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],h=new Promise(function(v,g){var _=function(b){if(s.push.apply(s,b),d++,d===o)return i(s),s.length?g(new Pr(s,Ku(s))):v()};l.length||(i(s),v()),l.forEach(function(E){var b=t[E];a.indexOf(E)!==-1?Tr(b,n,_):mE(b,n,_)})});return h.catch(function(v){return v}),h}function Rr(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 Or(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 kr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function CE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Gu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Gu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Gu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Gu.hex)}};function _E(t,e,n,i,u){if(t.required&&e===void 0){kr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function EE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,h=null,v=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(v?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[h].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[h].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[h].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[h].range,t.fullField,t.min,t.max))}var at="enum";function BE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function wE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var I={required:kr,whitespace:CE,type:_E,range:EE,enum:BE,pattern:wE};function DE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u,"string"),K(e,"string")||(I.type(t,e,i,a,u),I.range(t,e,i,a,u),I.pattern(t,e,i,a,u),t.whitespace===!0&&I.whitespace(t,e,i,a,u))}n(a)}function AE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function IE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function FE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function SE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),K(e)||I.type(t,e,i,a,u)}n(a)}function TE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function PE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function RE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();I.required(t,e,i,a,u,"array"),e!=null&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function OE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}var kE="enum";function xE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I[kE](t,e,i,a,u)}n(a)}function ME(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u),K(e,"string")||I.pattern(t,e,i,a,u)}n(a)}function $E(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(I.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),I.type(t,o,i,a,u),o&&I.range(t,o.getTime(),i,a,u)}}n(a)}function LE(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;I.required(t,e,i,a,u,l),n(a)}function Xu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();I.required(t,e,i,l,u,a),K(e,a)||I.type(t,e,i,l,u)}n(l)}function NE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u)}n(a)}var Vt={string:DE,method:AE,number:IE,boolean:FE,regexp:SE,integer:TE,float:PE,array:RE,object:OE,enum:xE,pattern:ME,date:$E,url:Xu,hex:Xu,email:Xu,required:LE,any:NE};function Zu(){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 Qu=Zu();function Ie(t){this.rules=null,this._messages=Qu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Or(Zu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(b){var w,m=[],B={};function S(R){if(Array.isArray(R)){var $;m=($=m).concat.apply($,R)}else m.push(R)}for(w=0;w<b.length;w++)S(b[w]);m.length?B=Ku(m):(m=null,B=null),o(m,B)}if(l.messages){var s=this.messages();s===Qu&&(s=Zu()),Or(s,l.messages),l.messages=s}else l.messages=this.messages();var h,v,g={},_=l.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],v=a[b],h.forEach(function(w){var m=w;typeof m.transform=="function"&&(a===e&&(a=ye({},a)),v=a[b]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ye({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:v,source:a,field:b}))})});var E={};return bE(g,l,function(b,w){var m=b.rule,B=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");B=B&&(m.required||!m.required&&b.value),m.field=b.field;function S(ue,L){return ye(ye({},L),{},{fullField:m.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var L=ue;if(Array.isArray(L)||(L=[L]),!l.suppressWarning&&L.length&&Ie.warning("async-validator:",L),L.length&&m.message!==void 0&&(L=[].concat(m.message)),L=L.map(Rr(m)),l.first&&L.length)return E[m.field]=1,w(L);if(!B)w(L);else{if(m.required&&!b.value)return m.message!==void 0?L=[].concat(m.message).map(Rr(m)):l.error&&(L=[l.error(m,te(l.messages.required,m.field))]),w(L);var ae={};if(m.defaultField)for(var Tn in b.value)b.value.hasOwnProperty(Tn)&&(ae[Tn]=m.defaultField);ae=ye(ye({},ae),b.rule.fields);for(var Ee in ae)if(ae.hasOwnProperty(Ee)){var mu=Array.isArray(ae[Ee])?ae[Ee]:[ae[Ee]];ae[Ee]=mu.map(S.bind(null,Ee))}var Pn=new Ie(ae);Pn.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),Pn.validate(b.value,b.rule.options||l,function(Pt){var Be=[];L&&L.length&&Be.push.apply(Be,L),Pt&&Pt.length&&Be.push.apply(Be,Pt),w(Be.length?Be:null)})}}var $;m.asyncValidator?$=m.asyncValidator(m,b.value,R,b.source,l):m.validator&&($=m.validator(m,b.value,R,b.source,l),$===!0?R():$===!1?R(m.message||m.field+" fails"):$ instanceof Array?R($):$ instanceof Error&&R($.message)),$&&$.then&&$.then(function(){return R()},function(ue){return R(ue)})},function(b){d(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ie.warning=Sr,Ie.messages=Qu,Ie.validators=Vt;var VE={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function HE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(VE,e)),n}var jE=new f_;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 qE(t){if(Array.isArray(t))return t}function WE(t){if(Array.isArray(t))return Ju(t)}function xr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Mr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){xr(a,i,u,l,o,"next",d)}function o(d){xr(a,i,u,l,o,"throw",d)}l(void 0)})}}function UE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function zE(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Nr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function KE(){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 GE(){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 Vr(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){O(t,u,n[u])})}return t}function XE(t){return qE(t)||Nr(t)||Hr(t)||KE()}function Yu(t){return WE(t)||Nr(t)||Hr(t)||GE()}function ZE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hr(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 jr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;UE(this,e),O(this,"id",void 0),O(this,"name",void 0),O(this,"icon",void 0),O(this,"type",void 0),O(this,"controlType",void 0),O(this,"props",void 0),O(this,"setting",[]),O(this,"fieldType",void 0),O(this,"eventKeys",[]),O(this,"customEvents",[]),O(this,"parent",null),O(this,"slots",void 0),O(this,"slotPosition",void 0),O(this,"updateSetting",Wr),O(this,"removeSetting",qr),this._callControlHooks("preInstance",n);var u=Lr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting,_=u.slots,E=u.slotPosition;a&&l&&o||tr("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:de(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new j(n==null?void 0:n.props,(Lr(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=oe(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:d,this.eventKeys=oe(s),this.customEvents=oe(h),this.slots=oe(_),this.slotPosition=oe(E),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return zE(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=XE(u),d=o[0],s=o.slice(1);return(l=jE).emit.apply(l,[d,this].concat(Yu(s)))}},{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),p5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Mr(function(){var i,u,a;return jr(this,function(l){switch(l.label){case 0:return i=Vr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return Mr(function(){var a,l,o,d;return jr(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Vr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),o=HE(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,d=o.dataBind,s=o.datasourceBind,h=o.optionConfig,v=o.caption,g=o.required,_=o.maxLength,E=o.options,b=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(d&&(m.dataBind=d),h){case"datasource":case void 0:s&&(m.datasourceBind=s);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),_!==void 0&&(m.maxLength=_),b!==void 0&&(m.encrypted=b),w!==void 0&&(m.encryptedMode=w),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Yu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();O(k,"mode","Designer"),O(k,"slots",void 0),O(k,"slotPosition",void 0),O(k,"controlName",r("CMD.7baf1751712168384")),O(k,"controlIcon","icon"),O(k,"controlType","control"),O(k,"controlFieldType",void 0),O(k,"controlEventKeys",[]),O(k,"controlCustomEvents",[]),O(k,"setting",[]),O(k,"__is_control__",!0),O(k,"removeSettingItem",qr),O(k,"updateSettingItem",Wr);function qr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function Wr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":ZE(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Yu(e.showItems))}}}})}function QE(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 JE(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function YE(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){QE(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=YE(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||tr("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:de(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Q_.UNKNOWN}return JE(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function pu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=a_(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function qn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function pE(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wn(t,e,n){return e=zn(e),t6(t,zr()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function Un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Kn(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 t6(t,e){return e&&(n6(e)==="object"||typeof e=="function")?e:e6(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function n6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var Q=function(t){Kn(e,t);function e(n){Un(this,e);var i;i=Wn(this,e,[n]),N(i,"dataBind",{}),N(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(i,"isHideCaption",{type:"boolean"}),N(i,"labelPosition",{type:"enum",enum:["top","left"]}),N(i,"defaultState",{type:"enum",enum:["default","readonly"]}),N(i,"required",{type:"boolean"}),N(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(pE(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),H=function(t){Kn(e,t);function e(n){Un(this,e);var i;i=Wn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),F=function(t){Kn(e,t);function e(n){Un(this,e);var i;i=Wn(this,e,[n]),N(i,"caption",void 0),N(i,"captionSize",void 0),N(i,"captionColor",void 0),N(i,"isCaptionItalic",void 0),N(i,"isHideCaption",void 0),N(i,"isShowCaptionTip",void 0),N(i,"captionTip",void 0),N(i,"labelPosition",void 0),N(i,"dataBind",void 0),N(i,"defaultValue",void 0),N(i,"placeholder",void 0),N(i,"defaultState",void 0),N(i,"required",void 0),N(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var _;i.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var E;i.required=(E=n==null?void 0:n.required)!==null&&E!==void 0?E:!1;var b;i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(j);N(F,"Rules",Q),N(F,"RuntimeRules",H);var lt=function(t){Kn(e,t);function e(n){Un(this,e);var i;return i=Wn(this,e,[n]),N(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),pu.call(i,n),i}return e}(Q);function i6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u6(t,e,n){return e=Xn(e),r6(t,Kr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function a6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(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 l6(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 r6(t,e){return e&&(o6(e)==="object"||typeof e=="function")?e:i6(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function o6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kr=function(){return!!t})()}var T=function(t){l6(e,t);function e(n){a6(this,e);var i;return i=u6(this,e,[n]),Gn(i,"controlType","form"),Gn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(k);Gn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Gn(T,"controlCustomAttributes",void 0);function c6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s6(t,e,n){return e=Zn(e),y6(t,Gr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function d6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function na(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function h6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function y6(t,e){return e&&(f6(e)==="object"||typeof e=="function")?e:c6(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function f6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gr=function(){return!!t})()}var P=function(t){h6(e,t);function e(n){d6(this,e);var i;return i=s6(this,e,[n]),na(i,"controlType","form"),na(i,"props",void 0),na(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(q);function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m6(t,e,n){return e=Qn(e),C6(t,Xr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function g6(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 b6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function C6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:v6(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xr=function(){return!!t})()}var x=function(t){b6(e,t);function e(n){return g6(this,e),m6(this,e,[n])}return e}(j);function aa(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 E6(t){if(Array.isArray(t))return aa(t)}function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function w6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Zr(a,i,u,l,o,"next",d)}function o(d){Zr(a,i,u,l,o,"throw",d)}l(void 0)})}}function D6(t,e,n){return e=Se(e),x6(t,Yr()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function A6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 I6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(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 rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var o=M6(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},rt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function F6(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 S6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function T6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function P6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R6(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 O6(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 k6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):O6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function x6(t,e){return e&&($6(e)==="object"||typeof e=="function")?e:B6(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function M6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Jr(t){return E6(t)||T6(t)||L6(t)||P6()}function $6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L6(t,e){if(!!t){if(typeof t=="string")return aa(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 aa(t,e)}}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}function N6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var V6=1e4,M=function(e){F6(n,e);function n(i){A6(this,n);var u;u=D6(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=S6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new x(i==null?void 0:i.props),ce(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return I6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,d=function(){return rt(Se(n.prototype),"validate",l)};return w6(function(){return N6(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var h=s.filter(function(v){return!!v});return Jr(o).concat(Jr(h))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=rt(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return k6(R6({},u),{children:a})}}]),n}(k);Fe(M,"excludes",!1),Fe(M,"childrenMaxLength",V6);function H6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j6(t,e,n){return e=Jn(e),U6(t,pr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function q6(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function U6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:H6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var V=function(t){W6(e,t);function e(n){q6(this,e);var i;return i=j6(this,e,[n]),ra(i,"controlType","layout"),ra(i,"children",void 0),ra(i,"props",void 0),i.props=new x(n==null?void 0:n.props),ce(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function K6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G6(t,e,n){return e=Yn(e),Q6(t,eo()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function X6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Z6(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 Q6(t,e){return e&&(J6(e)==="object"||typeof e=="function")?e:K6(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function J6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var pn=function(t){Z6(e,t);function e(n,i,u){X6(this,e);var a;a=G6(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),ce(a,"headers",i==null?void 0:i.headers,n,u),ce(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,a}return e}(j);function sa(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 Y6(t){if(Array.isArray(t))return sa(t)}function p6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function to(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function eB(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){to(a,i,u,l,o,"next",d)}function o(d){to(a,i,u,l,o,"throw",d)}l(void 0)})}}function tB(t,e,n){return e=Te(e),oB(t,lo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function nB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function iB(t,e,n){return e&&no(t.prototype,e),n&&no(t,n),t}function ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var o=cB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function uB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function aB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lB(){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 io(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){ei(t,u,n[u])})}return t}function rB(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 uo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):rB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function oB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:p6(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function cB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function ao(t){return Y6(t)||aB(t)||dB(t)||lB()}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dB(t,e){if(!!t){if(typeof t=="string")return sa(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 sa(t,e)}}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}function hB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var ha=function(t){uB(e,t);function e(n){nB(this,e);var i;return i=tB(this,e,[n]),ei(i,"controlType","list"),ei(i,"props",void 0),i.props=new pn(i,n==null?void 0:n.props,"Designer"),i}return iB(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return eB(function(){return hB(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return ao(l).concat(ao(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return uo(io({},i),{props:uo(io({},this.props),{headers:u})})}}]),e}(k);ei(ha,"controlFieldType",C.LIST);function yB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fB(t,e,n){return e=ti(e),bB(t,oo()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function vB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function mB(t,e,n){return e&&ro(t.prototype,e),n&&ro(t,n),t}function ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function gB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function bB(t,e){return e&&(CB(e)==="object"||typeof e=="function")?e:yB(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function CB(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 co=function(t){gB(e,t);function e(n){vB(this,e);var i;return i=fB(this,e,[n]),ya(i,"controlType","list"),ya(i,"children",void 0),ya(i,"props",void 0),i.props=new pn(i,n==null?void 0:n.props,"Runtime"),ce(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return mB(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function _B(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e,n){return e=ni(e),EB(t,so()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function ma(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function ga(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 EB(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:_B(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var be=function(t){ga(e,t);function e(n){ma(this,e);var i;return i=va(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){ga(e,t);function e(n){ma(this,e);var i;i=va(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new gr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(j);J(W,"Rules",be);var Ca=function(t){ga(e,t);function e(n){ma(this,e);var i;return i=va(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),pu.call(i,n),i}return e}(be);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e,n){return e=st(e),RB(t,yo()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function AB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(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 IB(t,e,n){return e&&ho(t.prototype,e),n&&ho(t,n),t}function ii(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ui=Reflect.get:ui=function(u,a,l){var o=OB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ui(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(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&&_a(t,e)}function SB(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){ii(t,u,n[u])})}return t}function TB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function PB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):TB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function RB(t,e){return e&&(kB(e)==="object"||typeof e=="function")?e:wB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function OB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function kB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var G=function(t){FB(e,t);function e(n){AB(this,e);var i;return i=DB(this,e,[n]),ii(i,"controlType","column"),ii(i,"props",void 0),ii(i,"children",void 0),i.props=new W(n==null?void 0:n.props),ce(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return IB(e,[{key:"toSchema",value:function(){var i=ui(st(e.prototype),"toSchema",this).call(this);return PB(SB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MB(t,e,n){return e=ai(e),NB(t,fo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function $B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(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 LB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:xB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function VB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var X=function(t){LB(e,t);function e(n){$B(this,e);var i;return i=MB(this,e,[n]),Ea(i,"controlType","column"),Ea(i,"props",void 0),Ea(i,"children",void 0),i.props=new W(n==null?void 0:n.props),ce(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function HB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jB(t,e,n){return e=li(e),zB(t,vo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function qB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function WB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function UB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function zB(t,e){return e&&(KB(e)==="object"||typeof e=="function")?e:HB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function KB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var Da=function(t){UB(e,t);function e(n){qB(this,e);var i;return i=jB(this,e,[n]),WB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(x);function GB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XB(t,e,n){return e=ri(e),JB(t,go()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function ZB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function QB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function JB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(go=function(){return!!t})()}var pB=function(t){QB(e,t);function e(n){ZB(this,e);var i;return i=XB(this,e,[n]),mo(i,"controlType","search"),mo(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(M);function ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tw(t,e,n){return e=oi(e),uw(t,Co()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function nw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bo(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 iw(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 uw(t,e){return e&&(aw(e)==="object"||typeof e=="function")?e:ew(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Co=function(){return!!t})()}var lw=function(t){iw(e,t);function e(n){nw(this,e);var i;return i=tw(this,e,[n]),bo(i,"controlType","search"),bo(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(V);function rw(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=ci(e),dw(t,_o()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function cw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&Fa(t,e)}function dw(t,e){return e&&(hw(e)==="object"||typeof e=="function")?e:rw(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function hw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var Sa=function(t){sw(e,t);function e(n){return cw(this,e),ow(this,e,[n])}return e}(x);function yw(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=si(e),gw(t,Bo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function vw(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function mw(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 gw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:yw(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var Cw=function(t){mw(e,t);function e(n){vw(this,e);var i;return i=fw(this,e,[n]),Eo(i,"controlType","wrap"),Eo(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(M);function _w(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ew(t,e,n){return e=di(e),Dw(t,Do()?Reflect.construct(e,n||[],di(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 wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function ww(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&&Pa(t,e)}function Dw(t,e){return e&&(Aw(e)==="object"||typeof e=="function")?e:_w(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function Aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var Iw=function(t){ww(e,t);function e(n){Bw(this,e);var i;return i=Ew(this,e,[n]),wo(i,"controlType","wrap"),wo(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(V);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends j{constructor(e){var n,i,u,a,l,o;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(l=e==null?void 0:e.aiContentSearch)!=null?l:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1}}class Ao extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ao.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Fw extends q{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var Io={Designer:Ao,Runtime:Fw,Property:Ra};class Oa extends j{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class ka extends k{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ka.controlEventKeys=["on_click"],ka.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sw extends q{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fo={Designer:ka,Runtime:Sw,Property:Oa};class p extends j{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new p_((h=e==null?void 0:e.optObj)!=null?h:{})}}class Y extends k{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Xl.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends q{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var So={Designer:Y,Runtime:ie,Property:p},Re=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Re||{}),To=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(To||{}),Po=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Po||{});class hi{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 xa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xa||{});class yi{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 Ma=(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))(Ma||{});class $a{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,S;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(_=e==null?void 0:e.platformAutoSign)!=null?_:!1,this.signDateBeanType=(E=e==null?void 0:e.signDateBeanType)!=null?E:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(B=e==null?void 0:e.posY)!=null?B:0,this.remark=(S=e==null?void 0:e.remark)!=null?S:""}}class Ro{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(d=>new $a(d)))!=null?u:[new $a],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,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=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class La{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 Oo{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 La(e==null?void 0:e.watermark),this.autoRename=new La(e==null?void 0:e.autoRename)}}class Na{constructor(e){var n,i,u,a,l,o,d;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class Va{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 ko{constructor(e){this.dataCode=e.dataCode}}class xo{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 ko(a)))!=null?u:[]}}class Mo{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 Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const $o=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Lo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class No{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 Vo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Vo||{}),Ha=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ha||{}),fi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(fi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),ja=(t=>(t.ALL="all",t.ADMIN="admin",t))(ja||{}),qa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(qa||{});class Wa extends j{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Ma.SOLID}}class Ho extends k{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ho.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Tw extends q{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var jo={Designer:Ho,Runtime:Tw,Property:Wa};class Pw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class vi extends j{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.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"}}vi.Rules=Pw;class dt extends k{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=C.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Rw extends q{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"title"}}var qo={Designer:dt,Runtime:Rw,Property:vi};class Ow extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class mi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}mi.Rules=Ow;class ht extends Y{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kw extends ie{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Wo={Designer:ht,Runtime:kw,Property:mi};class xw extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class gi extends p{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}gi.Rules=xw;class yt extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Mw extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Uo={Designer:yt,Runtime:Mw,Property:gi};class Ua extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon}}class ft extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click"],ft.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 $w extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var zo={Designer:ft,Runtime:$w,Property:Ua};class za extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Lw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ko={Designer:vt,Runtime:Lw,Property:za};class Ka extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Nw extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Go={Designer:mt,Runtime:Nw,Property:Ka};class Vw{constructor(e){this.dataCode=e.dataCode}}class Ga extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new Vw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Hw extends ie{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Xo={Designer:gt,Runtime:Hw,Property:Ga};function bi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class jw extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},bi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},bi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Ci extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new wr(e==null?void 0:e.fillPayload),this.formBind=new k_(e==null?void 0:e.formBind),this.fillBack=new Dr(e==null?void 0:e.fillBack)}}Ci.Rules=jw;class qt extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class qw extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Zo={Designer:qt,Runtime:qw,Property:Ci};class Ww extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},bi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},bi())}}}class _i extends p{constructor(e){var n,i,u,a,l;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 wr(e==null?void 0:e.fillPayload),this.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.fillBack=new Dr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}_i.Rules=Ww;class Wt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Uw extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Qo={Designer:Wt,Runtime:Uw,Property:_i};class zw extends U{constructor(e){super(e)}}class Kw extends Me{constructor(e){super(e)}}class Ut extends j{constructor(e){super(e)}}Ut.Rules=zw,Ut.RuntimeRules=Kw;class Jo extends k{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Jo.setting=[];class Gw extends q{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Yo={Designer:Jo,Runtime:Gw,Property:Ut};class Xw extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends j{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}Ei.Rules=Xw;class po extends k{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}po.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Zw extends q{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ec={Designer:po,Runtime:Zw,Property:Ei};class Qw extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Bi extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new J_(a)))!=null?u:[]}}Bi.Rules=Qw;class tc extends k{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}tc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Jw extends q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var nc={Designer:tc,Runtime:Jw,Property:Bi};class Yw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends p{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ee(g)))!=null?v:[]}}wi.Rules=Yw;class bt extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class pw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ic={Designer:bt,Runtime:pw,Property:wi};class eD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends p{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ee(g)))!=null?v:[]}}Di.Rules=eD;class Ct extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class tD extends ie{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var uc={Designer:Ct,Runtime:tD,Property:Di};class nD extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Ai extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Lo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Ai.Rules=nD;class _t extends Y{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class iD extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ac={Designer:_t,Runtime:iD,Property:Ai};class Xa extends p{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 Y{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}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 uD extends ie{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var lc={Designer:Et,Runtime:uD,Property:Xa};class aD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ii extends j{constructor(e){var n,i,u,a,l,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Ii.Rules=aD;class Fi extends k{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class lD extends q{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var rc={Designer:Fi,Runtime:lD,Property:Ii};class Za extends j{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class Bt extends k{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class rD extends q{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var oc={Designer:Bt,Runtime:rD,Property:Za};class oD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Si extends j{constructor(e){var n,i,u,a,l,o;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.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Na(e==null?void 0:e.actionSetting))!=null?l:new Na,this.listHeightSetting=(o=new Va(e==null?void 0:e.listHeightSetting))!=null?o:new Va}}Si.Rules=oD;class Ti extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ti.controlEventKeys=["on_list_rowclick"],Ti.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class cD extends q{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var cc={Designer:Ti,Runtime:cD,Property:Si};class Qa extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class sc extends k{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}sc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class sD extends q{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var dc={Designer:sc,Runtime:sD,Property:Qa},dD=Object.freeze({__proto__:null,Text:Io,Link:Fo,Button:So,Divider:jo,Title:qo,CreateFormListButton:Wo,BatchSubmissionListButton:Uo,SubmissionRecordListButton:zo,ExportListButton:Ko,ExportRecordListButton:Go,ImportRecordListButton:Xo,FormSelectButton:Zo,ListSelectButton:Qo,Pagination:Yo,Dashboard:ec,ListViewSelect:nc,TextOcrButton:ic,InvoiceCheckButton:uc,BatchPrintListButton:ac,BatchPrintRecordListButton:lc,OperationButton:rc,BatchDeleteButton:oc,ReferenceList:cc,CommentControl:dc});class hD extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class yD extends H{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Ar(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}wt.Rules=hD,wt.RuntimeRules=yD;class Dt extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=C.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hc extends P{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}hc.controlFieldType=C.VARCHAR;var yc={Designer:Dt,Runtime:hc,Property:wt};class fD extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class vD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new ee(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}zt.Rules=fD,zt.RuntimeRules=vD;class Kt extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=C.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}fc.controlFieldType=C.ARRAY;var vc={Designer:Kt,Runtime:fc,Property:zt};class mD extends lt{constructor(e){super(e)}}class Pi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var b;(b=this.multistageFilling)==null||b.push(new ee(E))})),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Pi.Rules=mD;class Gt extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=C.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mc extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}mc.controlFieldType=C.VARCHAR;var gc={Designer:Gt,Runtime:mc,Property:Pi};class gD extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class bD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Zt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new Ar(e==null?void 0:e.regularRules)}}Xt.Rules=gD,Xt.RuntimeRules=bD;class Zt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=C.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class bc extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}bc.controlFieldType=C.DECIMAL;var Cc={Designer:Zt,Runtime:bc,Property:Xt};class Ja extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ri.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(E=>new hi(E)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}class Ri extends T{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ri.controlFieldType=C.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends P{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}_c.controlFieldType=C.TIMESTAMP;var Ec={Designer:Ri,Runtime:_c,Property:Ja};class CD extends H{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 Oi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_;super(e),this.dataBind=new U_(e==null?void 0:e.dataBind),this.defaultValue=new z_(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:ki.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new hi(E)))!=null?g:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Oi.RuntimeRules=CD;class ki extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}ki.controlFieldType=C.TIMESCOPE,ki.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bc extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Bc.controlFieldType=C.TIMESCOPE;var wc={Designer:ki,Runtime:Bc,Property:Oi};class _D extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class ED extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Qt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new P_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Fr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Qt.Rules=_D,Qt.RuntimeRules=ED;class Jt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.TEXT,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Dc extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Dc.controlFieldType=C.TEXT;var Ac={Designer:Jt,Runtime:Dc,Property:Qt};class BD extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class wD extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Fr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Yt.Rules=BD,Yt.RuntimeRules=wD;class pt extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=C.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ic extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ic.controlFieldType=C.TEXT;var Fc={Designer:pt,Runtime:Ic,Property:Yt};class DD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class xi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,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(_=>{var E;(E=this.multistageFilling)==null||E.push(new ee(_))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}xi.Rules=DD;class Mi extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Mi.controlFieldType=C.VARCHAR,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends P{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select"}}Sc.controlFieldType=C.VARCHAR;var Tc={Designer:Mi,Runtime:Sc,Property:xi};class AD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ID extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(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(g=>{var _;(_=this.multistageFilling)==null||_.push(new ee(g))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(v=e==null?void 0:e.aiContentSearch)!=null?v:!1}}en.Rules=AD,en.RuntimeRules=ID;class $i extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}$i.controlFieldType=C.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pc extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Pc.controlFieldType=C.ARRAY;var Rc={Designer:$i,Runtime:Pc,Property:en};class FD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ni.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ee(v))}))}}Li.RuntimeRules=FD;class Ni extends T{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=C.EMPLOYEES,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Oc extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"employee"}}Oc.controlFieldType=C.EMPLOYEES;var kc={Designer:Ni,Runtime:Oc,Property:Li};const SD=10485760,TD=104857600,PD=1048576e3;class RD extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:PD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class OD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:TD,this.caption=(s=e==null?void 0:e.caption)!=null?s:It.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(_=e==null?void 0:e.operation)!=null?_:["info","preview","download"],this.aiExplanation=(E=e==null?void 0:e.aiExplanation)!=null?E:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[]}}At.Rules=RD,At.RuntimeRules=OD;class It extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change","on_file_actions"],It.controlFieldType=C.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ya extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ya.controlFieldType=C.FILE;var xc={Designer:It,Runtime:Ya,Property:At};class pa extends At{constructor(e){var n,i,u,a,l,o,d;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Vi.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:qa.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080}}class Vi extends It{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Vi.controlFieldType=C.IMAGE,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class kD extends Ya{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"image"}}var Mc={Designer:Vi,Runtime:kD,Property:pa};class xD extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class MD extends H{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:[zl(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,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=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new q_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Lu({value:"name"})]}),this.defaultValue=new W_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:Z_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:nn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}tn.Rules=xD,tn.RuntimeRules=MD;class nn extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=C.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class $c extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}$c.controlFieldType=C.MONEY;var Lc={Designer:nn,Runtime:$c,Property:tn};class $D extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class LD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends F{constructor(e){var n,i,u,a,l,o,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:xa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(s=>new yi(s)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:an.controlName}}un.Rules=$D,un.RuntimeRules=LD;class an extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=C.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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 Nc extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}Nc.controlFieldType=C.DECIMAL;var Vc={Designer:an,Runtime:Nc,Property:un};class ND extends H{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Hi extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ji.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new K_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Hi.RuntimeRules=ND;class ji extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ji.controlFieldType=C.ADDRESS,ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Hc.controlFieldType=C.ADDRESS;var jc={Designer:ji,Runtime:Hc,Property:Hi};class VD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:ln.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ee(_))}))}}qi.RuntimeRules=VD;class ln extends T{constructor(e){super(e),this.props=new qi(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=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=C.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class qc extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"department"}}qc.controlFieldType=C.DEPARTMENTS;var Wc={Designer:ln,Runtime:qc,Property:qi};class el 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:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends T{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=C.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Uc extends P{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Uc.controlFieldType=C.AUTO_NUMBER;var zc={Designer:rn,Runtime:Uc,Property:el};class HD 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 jD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends F{constructor(e){var n,i,u,a,l,o,d,s,h;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 G_(e==null?void 0:e.dataBind),this.defaultValue=new X_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}on.Rules=HD,on.RuntimeRules=jD;class cn extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=C.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Kc extends P{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Kc.controlFieldType=C.CALC;var Gc={Designer:cn,Runtime:Kc,Property:on};class qD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Wi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Ui.controlName}}Wi.RuntimeRules=qD;class Ui extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ui.controlFieldType=C.DECIMAL_RANGE,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xc extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Xc.controlFieldType=C.DECIMAL_RANGE;var Zc={Designer:Ui,Runtime:Xc,Property:Wi};class WD extends H{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 zi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Ki.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new hi(b)))!=null?_:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}zi.RuntimeRules=WD;class Ki extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ki.controlFieldType=C.ARRAY,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qc extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Qc.controlFieldType=C.ARRAY;var Jc={Designer:Ki,Runtime:Qc,Property:zi};class UD extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class zD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}sn.Rules=UD,sn.RuntimeRules=zD;class Ft extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ft.controlFieldType=C.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",Xl.DEFAULT],Ft.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Yc extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Yc.controlFieldType=C.ANY;var pc={Designer:Ft,Runtime:Yc,Property:sn};class KD extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Gi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new ee(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1,this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!1}}Gi.Rules=KD;class dn extends T{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=C.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class es extends P{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}es.controlFieldType=C.VARCHAR;var ts={Designer:dn,Runtime:es,Property:Gi};class tl extends wt{constructor(e){super(e)}}class ns extends Dt{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}ns.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}is.controlFieldType=C.VARCHAR;var us={Designer:ns,Runtime:is,Property:tl};class GD extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],qn.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class XD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,S,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new Er((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new Er((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(S=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map($=>new ee($)))!=null?S:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=GD,hn.RuntimeRules=XD;class ke extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=C.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class as extends P{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}as.controlFieldType=C.ARRAY;var ls={Designer:ke,Runtime:as,Property:hn};class ZD extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},qn.call(this,e,$e.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class QD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Nn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ha.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ja.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Oe.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new ee(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}yn.Rules=ZD,yn.RuntimeRules=QD;class $e extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class rs extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}rs.controlFieldType=C.EMPLOYEES;var os={Designer:$e,Runtime:rs,Property:yn};class JD extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Xi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Ro(e==null?void 0:e.signatureConfig)}}Xi.Rules=JD;class fn extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=C.VARCHAR,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class cs extends P{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}cs.controlFieldType=C.VARCHAR;var ss={Designer:fn,Runtime:cs,Property:Xi};class YD extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class pD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:SD,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Oo(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}vn.Rules=YD,vn.RuntimeRules=pD;class mn extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=C.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}ds.controlFieldType=C.FILE;var hs={Designer:mn,Runtime:ds,Property:vn};class e8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},qn.call(this,e,Le.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class t8 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Le.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Nn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:fi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Oe.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new ee(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}gn.Rules=e8,gn.RuntimeRules=t8;class Le extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=C.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-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 ys extends P{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ys.controlFieldType=C.DEPARTMENTS;var fs={Designer:Le,Runtime:ys,Property:gn};class n8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},qn.call(this,e,St.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class i8 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,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.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:St.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new H_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:fi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Oe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(B=e==null?void 0:e.showSelectedDetail)!=null?B:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),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(R=>{var $;($=this.multistageFilling)==null||$.push(new ee(R))}))}}bn.Rules=n8,bn.RuntimeRules=i8;class St extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}St.controlFieldType=C.DEPARTMENTS,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class vs extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}vs.controlFieldType=C.DEPARTMENTS;var ms={Designer:St,Runtime:vs,Property:bn};class u8 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class a8 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Cn.Rules=u8,Cn.RuntimeRules=a8;class _n extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return D.VUE_PAGE}}_n.controlFieldType=C.ANY,_n.controlEventKeys=[],_n.setting=[];class gs extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}gs.controlFieldType=C.ANY;var bs={Designer:_n,Runtime:gs,Property:Cn},l8=Object.freeze({__proto__:null,Input:yc,Checkbox:vc,Radio:gc,Number:Cc,DatePicker:Ec,DateRange:wc,Textarea:Ac,RichText:Fc,Select:Tc,SelectMultiple:Rc,Employee:kc,Image:Mc,Attachment:xc,Amount:Lc,Score:Vc,Address:jc,Department:Wc,AutoNumber:zc,Calc:Gc,SearchNumberRange:Zc,SearchDateRange:Jc,VueFormItem:pc,SelectRelation:ts,SearchInput:us,Tree:ls,Employee2:os,ElectronicSignature:ss,WPS:hs,Department2:fs,OrganizationSelection:ms,VuePage:bs});class Cs extends M{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Cs.excludes=[D.GRID];class r8 extends V{static get controlType(){return"grid"}constructor(e){super(e)}}var _s={Designer:Cs,Runtime:r8,Property:x};const o8=24;class Ne extends x{constructor(e){var n,i,u,a;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:o8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:""}}class En extends M{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}En.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER],En.childrenMaxLength=1;class nl extends V{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var Es={Designer:En,Runtime:nl,Property:Ne};class Zi extends x{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 Qi extends M{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Qi.excludes=[D.ROW],Qi.setting=[{key:"col-setting",visible:!0}];class Bs extends V{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ws={Designer:Qi,Runtime:Bs,Property:Zi};const c8=4;class Ji extends Qi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ji.excludes=[D.GRID_ROW],Ji.setting=[],Ji.childrenMaxLength=c8;class s8 extends Bs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class d8 extends Zi{constructor(e){super(e)}}var Ds={Designer:Ji,Runtime:s8,Property:d8};class h8 extends x.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Yi extends x{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Yi.Rules=h8;class il extends M{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}il.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],il.excludes=[D.CARD_GROUP];class y8 extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var As={Designer:il,Runtime:y8,Property:Yi};class f8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class pi extends x{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new R_(e==null?void 0:e.metaAutoWidth)}}pi.Rules=f8;class se extends M{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}se.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT,D.GRID_LAYOUT_CONTAINER],se.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Is extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Is.controlType="subtable-column";var Fs={Designer:se,Runtime:Is,Property:pi};class ul extends x{constructor(e){super(e)}}class Ve extends M{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.SUBTABLE_ROW,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class v8 extends V{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ss={Designer:Ve,Runtime:v8,Property:ul};class al extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:it.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class He extends M{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[D.GRID_TABLE,D.GRID_TABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ts extends V{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}}Ts.controlType="gridtable-column";var Ps={Designer:He,Runtime:Ts,Property:al};class ll extends x{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 rl extends M{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}rl.excludes=[D.GRID_LAYOUT_CONTAINER,D.CARD_GROUP,D.TAB],rl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class m8 extends V{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Rs={Designer:rl,Runtime:m8,Property:ll};class ol extends x{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class g8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class eu extends x{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}eu.Rules=g8;class Bn extends M{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[D.TAB],Bn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class b8 extends V{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Os={Designer:Bn,Runtime:b8,Property:eu};class wn extends M{constructor(e){var n;super(e),this.props=new ol(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 r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[D.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class C8 extends V{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ks={Designer:wn,Runtime:C8,Property:ol};class xs extends x{constructor(e){super(e)}}class Ms extends M{constructor(e){super(e),this.props=new xs({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ne({span:12})}),new En({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ms.excludes=[D.GRID_ROW,D.ROW,D.GRID,D.SUBTABLE,D.TAB,D.TOOLBOX];class _8 extends V{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new nl({props:new Ne({span:12})}),new nl({props:new Ne({span:12})})]}}var $s={Designer:Ms,Runtime:_8,Property:xs};class E8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class B8 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),pu.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 Dn extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new $_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new N_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new nE(e==null?void 0:e.rowStyle),this.isTreeData=(E=e==null?void 0:e.isTreeData)!=null?E:!1,this.treeData=new iE(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new uE(e==null?void 0:e.masterDetail)}}Dn.Rules=B8,Dn.RuntimeRules=E8;class An extends M{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[D.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class w8 extends V{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ls={Designer:An,Runtime:w8,Property:Dn};class D8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class tu extends x{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ae(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}tu.RuntimeRules=D8;class Ns extends M{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ns.excludes=[];class A8 extends V{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Vs={Designer:Ns,Runtime:A8,Property:tu};class I8 extends M{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class F8 extends V{static get controlType(){return"page"}constructor(e){super(e)}}class S8 extends x{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 Hs={Designer:I8,Runtime:F8,Property:S8};class T8 extends M{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class P8 extends V{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R8 extends x{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new No(e==null?void 0:e.flexConfig)}}var js={Designer:T8,Runtime:P8,Property:R8};class O8 extends M{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class k8 extends V{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class x8 extends x{constructor(e){super(e)}}var qs={Designer:O8,Runtime:k8,Property:x8};class M8 extends M{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class $8 extends V{static get controlType(){return"position"}constructor(e){super(e)}}class L8 extends x{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 Ws={Designer:M8,Runtime:$8,Property:L8};class cl extends x{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 nu extends M{constructor(e){var n;super(e),this.props=new cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}nu.slotPosition={default:"action-bar-slot"},nu.excludes=[],nu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class N8 extends V{constructor(e){var n;super(e),this.props=new cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Us={Designer:nu,Runtime:N8,Property:cl};class sl extends x{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class dl extends x{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Tt extends M{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Tt.excludes=[D.TAB],Tt.setting=[];class V8 extends V{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var zs={Designer:Tt,Runtime:V8,Property:dl};class iu extends M{constructor(e){var n;super(e),this.props=new sl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}iu.excludes=[],iu.controlEventKeys=["on_change_steps"],iu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class H8 extends V{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ks={Designer:iu,Runtime:H8,Property:sl};class hl extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.align=(d=e==null?void 0:e.align)!=null?d:"",this.verticalAlign=(s=e==null?void 0:e.verticalAlign)!=null?s:"center",this.padding=(h=e==null?void 0:e.padding)!=null?h:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(v=e==null?void 0:e.margin)!=null?v:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(g=e==null?void 0:e.border)!=null?g:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(E=e==null?void 0:e.background)!=null?E:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(b=e==null?void 0:e.innerBorder)!=null?b:{borderWidth:1,borderColor:"",borderType:"solid"}}}class yl extends M{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}yl.excludes=[],yl.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class j8 extends V{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Gs={Designer:yl,Runtime:j8,Property:hl};class fl extends x{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 vl extends M{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}vl.excludes=[D.ROW,D.TABLE_LAYOUT_ROW],vl.setting=[{key:"col-setting",visible:!0}];class q8 extends V{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Xs={Designer:vl,Runtime:q8,Property:fl};const W8=24;class ml extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:W8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"",this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(v=e==null?void 0:e.isLabelCol)!=null?v:!1}}class gl extends M{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}gl.excludes=[D.COL,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.TABLE_LAYOUT_COL],gl.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class U8 extends V{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Zs={Designer:gl,Runtime:U8,Property:ml};class bl extends x{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Cl extends M{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Cl.excludes=[],Cl.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class z8 extends V{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Qs={Designer:Cl,Runtime:z8,Property:bl},K8=Object.freeze({__proto__:null,Grid:_s,Col:Es,Row:ws,GridRow:Ds,CardGroup:As,SubTableColumn:Fs,SubTableRow:Ss,GridTableColumn:Ps,GridLayoutContainer:Rs,Tab:ks,TabPane:Os,Toolbox:$s,ListView:Ls,DataView:Vs,Page:Hs,AdvancedContainer:js,PositioningContainer:qs,Position:Ws,ActionBar:Us,Step:Ks,StepPane:zs,TableLayout:Gs,TableLayoutRow:Xs,TableLayoutCol:Zs,TableLayoutWrapper:Qs});class G8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class X8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Js=class extends pn{constructor(t,e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,S,R,$,ue,L,ae,Tn,Ee,mu,Pn,Pt,Be,Dd,Ad,Id,Fd,Sd;super(t,e,Js.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=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:$o,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(B=e==null?void 0:e.canImport)!=null?B:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=($=e==null?void 0:e.serverPagination)!=null?$:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(L=e==null?void 0:e.captionTip)!=null?L:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(Ee=e==null?void 0:e.dataStorageDoc)!=null?Ee:new O_,this.fixedColumn=(mu=e==null?void 0:e.fixedColumn)!=null?mu:[],this.mobileRowCaption=(Pn=e==null?void 0:e.mobileRowCaption)!=null?Pn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Pt=e==null?void 0:e.mobileIsTile)!=null?Pt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Dd=e==null?void 0:e.pageSize)!=null?Dd:10,this.pageSizeOptions=(Ad=e==null?void 0:e.pageSizeOptions)!=null?Ad:[10,20,50,100],this.importConfig=new xo(e==null?void 0:e.importConfig),this.exportConfig=new Mo(e==null?void 0:e.exportConfig),this.sortable=(Id=e==null?void 0:e.sortable)!=null?Id:!1,this.sortKey=(Fd=e==null?void 0:e.sortKey)!=null?Fd:{},this.showTableIndex=(Sd=e==null?void 0:e.showTableIndex)!=null?Sd:!0}};let In=Js;In.Rules=G8,In.RuntimeRules=X8;class Fn extends ha{constructor(e){var n;super(e),this.props=new In(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new se,new se,new se])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new 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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"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 Z8 extends co{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ys={Designer:Fn,Runtime:Z8,Property:In};class _l extends pn{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class Q8 extends be{constructor(e){super(e),this.caption.required=!1}}class uu extends W{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}uu.Rules=Q8;class je extends G{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class El extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}El.controlType="order-column",El.controlFieldType=C.DECIMAL;var ps={Designer:je,Runtime:El,Property:uu};class Bl extends W{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends G{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Gl(this,null,function*(){return yield Kl(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class wl extends X{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="operation-column",wl.controlFieldType=C.FILE;var ed={Designer:Ce,Runtime:wl,Property:Bl};const J8=1e4;class qe extends ha{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new _l(this,e==null?void 0:e.props),ce(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return zl(nt({},e),{children:n})}validate(e,n){return Gl(this,null,function*(){return yield Kl(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=J8;class Y8 extends co{constructor(e){super(e),this.props=new _l(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var td={Designer:qe,Runtime:Y8,Property:_l},p8=Object.freeze({__proto__:null,SubTable:Ys,GridTable:td});class e7 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}au.Rules=e7;class We extends G{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=C.VARCHAR,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Dl extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Dl.controlType="varchar-column",Dl.controlFieldType=C.VARCHAR;var nd={Designer:We,Runtime:Dl,Property:au};class t7 extends be{constructor(e){super(e),Pe.call(this,e)}}class lu extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}lu.Rules=t7;class Ue extends G{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=C.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Al extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Al.controlType="text-column",Al.controlFieldType=C.TEXT;var id={Designer:Ue,Runtime:Al,Property:lu};class n7 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class ru extends W{constructor(e){var n,i,u,a,l,o,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=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=n7;class ze extends G{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=C.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Il extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Il.controlType="decimal-column",Il.controlFieldType=C.DECIMAL;var ud={Designer:ze,Runtime:Il,Property:ru};class i7 extends be{constructor(e){super(e),Pe.call(this,e)}}class ou extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ou.Rules=i7;class Ke extends G{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=C.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Fl extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Fl.controlType="timescope-column",Fl.controlFieldType=C.TIMESCOPE;var ad={Designer:Ke,Runtime:Fl,Property:ou};class u7 extends be{constructor(e){super(e),Pe.call(this,e)}}class cu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}cu.Rules=u7;class Ge extends G{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=C.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Sl extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Sl.controlType="timestamp-column",Sl.controlFieldType=C.TIMESTAMP;var ld={Designer:Ge,Runtime:Sl,Property:cu};class a7 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class su extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}su.Rules=a7;class Xe extends G{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=C.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Tl extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Tl.controlType="array-column",Tl.controlFieldType=C.ARRAY;var rd={Designer:Xe,Runtime:Tl,Property:su};class Pl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ze extends G{constructor(e){super(e),this.props=new Pl(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}}Ze.controlType="department-column",Ze.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ze.controlIcon="department-column",Ze.controlFieldType=C.DEPARTMENTS,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Rl extends X{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}Rl.controlType="department-column",Rl.controlFieldType=C.DEPARTMENTS;var od={Designer:Ze,Runtime:Rl,Property:Pl};class l7 extends be{constructor(e){super(e),Pe.call(this,e)}}class du extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}du.Rules=l7;class Qe extends G{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Qe.controlIcon="auto-number-column",Qe.controlFieldType=C.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ol extends X{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ol.controlType="auto-number-column",Ol.controlFieldType=C.AUTO_NUMBER;var cd={Designer:Qe,Runtime:Ol,Property:du};class kl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Je extends G{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Je.controlType="file-column",Je.controlName=r("CMD.file",null,"\u9644\u4EF6"),Je.controlIcon="file-column",Je.controlFieldType=C.FILE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class xl extends X{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}xl.controlType="file-column",xl.controlFieldType=C.FILE;var sd={Designer:Je,Runtime:xl,Property:kl};class Ml extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends G{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=C.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class $l extends X{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}$l.controlType="image-column",$l.controlFieldType=C.IMAGE;var dd={Designer:Ye,Runtime:$l,Property:Ml};class Ll extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends G{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=C.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Nl extends X{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}}Nl.controlType="people-column",Nl.controlFieldType=C.EMPLOYEES;var hd={Designer:pe,Runtime:Nl,Property:Ll};class r7 extends be{constructor(e){super(e),Pe.call(this,e)}}class hu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}hu.Rules=r7;class et extends G{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=C.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vl extends X{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Vl.controlType="location-column",Vl.controlFieldType=C.ADDRESS;var yd={Designer:et,Runtime:Vl,Property:hu};class o7 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class yu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}yu.Rules=o7;const c7=1;class _e extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yu(e==null?void 0:e.props),ce(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}_e.controlType="custom-column",_e.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=c7,_e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class fd extends X{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props),ce(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}fd.controlType="custom-column";var vd={Designer:_e,Runtime:fd,Property:yu};class Hl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Nn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends G{constructor(e){super(e),this.props=new Hl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class jl extends X{constructor(e){super(e),this.props=new Hl(e==null?void 0:e.props)}}jl.controlType="employee-column",jl.controlFieldType=C.EMPLOYEES;var md={Designer:xe,Runtime:jl,Property:Hl};class ql extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends G{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class gd extends X{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}gd.controlType="approval-status-column";var bd={Designer:tt,Runtime:gd,Property:ql};class Wl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Sn extends G{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}}Sn.controlType="group-column",Sn.controlName="\u5408\u5E76\u5217",Sn.controlIcon="group-column",Sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Cd extends X{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props),ce(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Cd.controlType="group-column";var _d={Designer:Sn,Runtime:Cd,Property:Wl},s7=Object.freeze({__proto__:null,VarcharColumn:nd,TextColumn:id,DecimalColumn:ud,TimescopeColumn:ad,TimestampColumn:ld,ArrayColumn:rd,DepartmentColumn:od,AutoNumberColumn:cd,FileColumn:sd,ImageColumn:dd,PeopleColumn:hd,LocationColumn:yd,CustomColumn:vd,OrderColumn:ps,OperationColumn:ed,EmployeeColumn:md,ApprovalStatusColumn:bd,GroupColumn:_d});class d7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends Da{constructor(e){var n,i,u,a,l,o,d,s,h,v,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:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(E=>new Ae(E)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}fu.RuntimeRules=d7;class vu extends pB{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}vu.controlType="simple-search",vu.slotPosition={default:"search"},vu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ed extends lw{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ed.controlType="simple-search";var Bd={Designer:vu,Runtime:Ed,Property:fu},h7=Object.freeze({__proto__:null,SimpleSearch:Bd});class Ul extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class y7 extends Cw{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class f7 extends Iw{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function D7(t){return t}var v7={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},wd={Designer:y7,Runtime:f7,Property:Ul,Setting:v7},m7=Object.freeze({__proto__:null,GridLayoutWrap:wd});f.ActionBar=Us,f.ActionSetting=Na,f.Address=jc,f.AdvancedContainer=js,f.Amount=Lc,f.ApprovalStatusColumn=bd,f.ArrayColumn=rd,f.AssignType=Oe,f.Attachment=xc,f.AutoNumber=zc,f.AutoNumberColumn=cd,f.BatchDeleteButton=oc,f.BatchPrintListButton=ac,f.BatchPrintRecordListButton=lc,f.BatchSubmissionListButton=Uo,f.Button=So,f.Calc=Gc,f.CardGroup=As,f.Checkbox=vc,f.Col=Es,f.CommentControl=dc,f.CreateFormListButton=Wo,f.CustomColumn=vd,f.DATE_CONFIG_TYPE=To,f.DATE_LIMIT_TYPE=Po,f.Dashboard=ec,f.DataView=Vs,f.DatePicker=Ec,f.DateRange=wc,f.DecimalColumn=ud,f.Department=Wc,f.Department2=fs,f.DepartmentColumn=od,f.DepartmentType=fi,f.Divider=jo,f.ElectronicSignature=ss,f.ElectronicSignatureConfig=Ro,f.Employee=kc,f.Employee2=os,f.EmployeeColumn=md,f.EncryptTypeEnum=Vo,f.Explain=yi,f.ExportConfig=Mo,f.ExportListButton=Ko,f.ExportRecordListButton=Go,f.ExportTemplate=Ht,f.FileColumn=sd,f.FlexStyleConfig=No,f.FormSelectButton=Zo,f.Grid=_s,f.GridLayoutContainer=Rs,f.GridLayoutWrap=wd,f.GridRow=Ds,f.GridTable=td,f.GridTableColumn=Ps,f.GroupColumn=_d,f.Image=Mc,f.ImageColumn=dd,f.ImageCompressType=qa,f.ImportConfig=xo,f.ImportListBind=ko,f.ImportRecordListButton=Xo,f.Input=yc,f.InternalType=ja,f.InvoiceCheckButton=uc,f.LINE_STYLE=Ma,f.LimitDate=hi,f.Link=Fo,f.ListHeightSetting=Va,f.ListSelectButton=Qo,f.ListView=Ls,f.ListViewSelect=nc,f.LocationColumn=yd,f.Number=Cc,f.OperationButton=rc,f.OperationColumn=ed,f.OrderColumn=ps,f.OrganizationSelection=ms,f.OrganizeType=Ha,f.Page=Hs,f.Pagination=Yo,f.PeopleColumn=hd,f.Position=Ws,f.PositioningContainer=qs,f.PrintTemplate=Lo,f.Radio=gc,f.ReferenceList=cc,f.RichText=Fc,f.Row=ws,f.SCORE_TYPE=xa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=$o,f.Score=Vc,f.SearchDateRange=Jc,f.SearchInput=us,f.SearchNumberRange=Zc,f.Select=Tc,f.SelectMultiple=Rc,f.SelectRelation=ts,f.SimpleSearch=Bd,f.Step=Ks,f.StepPane=zs,f.SubTable=Ys,f.SubTableColumn=Fs,f.SubTableRow=Ss,f.SubmissionRecordListButton=zo,f.Tab=ks,f.TabPane=Os,f.TableLayout=Gs,f.TableLayoutCol=Zs,f.TableLayoutRow=Xs,f.TableLayoutWrapper=Qs,f.Text=Io,f.TextColumn=id,f.TextOcrButton=ic,f.Textarea=Ac,f.TimescopeColumn=ad,f.TimestampColumn=ld,f.Title=qo,f.TitleConfigEnum=Re,f.Toolbox=$s,f.Tree=ls,f.UndersignedPerson=$a,f.VarcharColumn=nd,f.VueFormItem=pc,f.VuePage=bs,f.WPS=hs,f.WPSSetting=Oo,f.WpsOperationItem=La,f.baseControls=dD,f.columnControls=s7,f.formControls=l8,f.initExpression=jt,f.layoutControls=K8,f.listControls=p8,f.searchControls=h7,f.wrapControls=m7,Object.defineProperty(f,"__esModule",{value:!0})});
1
+ var $8=Object.defineProperty,N8=Object.defineProperties;var H8=Object.getOwnPropertyDescriptors;var zd=Object.getOwnPropertySymbols,V8=Object.getPrototypeOf,j8=Object.prototype.hasOwnProperty,q8=Object.prototype.propertyIsEnumerable,W8=Reflect.get;var Kd=(f,r,z)=>r in f?$8(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,it=(f,r)=>{for(var z in r||(r={}))j8.call(r,z)&&Kd(f,z,r[z]);if(zd)for(var z of zd(r))q8.call(r,z)&&Kd(f,z,r[z]);return f},pl=(f,r)=>N8(f,H8(r));var er=(f,r,z)=>W8(V8(f),z,r);var tr=(f,r,z)=>new Promise((Bu,On)=>{var wu=fe=>{try{Ot(z.next(fe))}catch(kt){On(kt)}},Du=fe=>{try{Ot(z.throw(fe))}catch(kt){On(kt)}},Ot=fe=>fe.done?Bu(fe.value):Promise.resolve(fe.value).then(wu,Du);Ot((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",wu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ot="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",kt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Gd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Zd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Qd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Xd="\u8BF7\u7ED1\u5B9A\u8868\u5355",Jd="\u8BF7\u7ED1\u5B9A\u5217\u8868",Yd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",pd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",eh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",th="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ih="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",uh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ah="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",lh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",rh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",oh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ch="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",sh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",dh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",yh="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",fh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",vh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",mh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",gh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",bh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ch="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Eh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_h="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Bh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wh="\u8BF7\u9009\u62E9\u7701",Dh="\u8BF7\u9009\u62E9\u5E02",Ih="\u8BF7\u9009\u62E9\u533A",Ah="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Fh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Sh="\u8BF7\u8F93\u5165\u5217\u5BBD",Th="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ph="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Rh="\u8BF7\u9009\u62E9\u63A7\u4EF6",Oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",kh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",xh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Mh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Lh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$h="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Vh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Wh="\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",zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Kh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Zh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Jh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Yh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ph="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ey="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ty="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",ny="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",iy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",uy="\u6279\u91CF\u5220\u9664",ay="\u6279\u91CF\u6253\u5370",ly="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ry="\u6309\u94AE",oy="\u521B\u5EFA\u5355\u636E",cy="\u4EEA\u8868\u76D8",sy="\u5206\u5272\u7EBF",dy="\u5BFC\u51FA",hy="\u8868\u5355\u64CD\u4F5C",yy="\u5BFC\u5165",fy="\u53D1\u7968\u8BC6\u522B",vy="\u94FE\u63A5",my="\u5217\u8868\u9009\u62E9",gy="\u5217\u8868\u89C6\u56FE",by="\u64CD\u4F5C\u6309\u94AE",Cy="\u5206\u9875",Ey="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",_y="\u8BF4\u660E\u6587\u5B57",By="\u6587\u5B57\u8BC6\u522B",wy="\u6807\u9898\u7EC4\u4EF6",Dy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Iy="\u6570\u7EC4",Ay="\u81EA\u52A8\u7F16\u53F7",Fy="\u81EA\u5B9A\u4E49",Sy="\u6570\u503C",Ty="\u90E8\u95E8",Py="\u4EBA\u5458",Ry="\u9644\u4EF6",Oy="\u56FE\u7247",ky="\u5730\u5740",xy="\u64CD\u4F5C",My="\u5E8F\u53F7",Ly="\u4EBA\u5458",$y="\u957F\u6587\u672C",Ny="\u65E5\u671F\u533A\u95F4",Hy="\u65E5\u671F",Vy="\u77ED\u6587\u672C",jy="\u6362\u884C\u5BB9\u5668Wrap",qy="\u8868\u683C",Wy="\u660E\u7EC6\u5B50\u8868",Uy="\u5730\u5740",zy="\u91D1\u989D",Ky="\u8BA1\u7B97\u516C\u5F0F",Gy="\u591A\u9009",Zy="\u7535\u5B50\u7B7E\u7AE0",Qy="\u5355\u884C\u6587\u672C",Xy="\u6570\u5B57",Jy="\u4E1A\u52A1\u7EC4\u7EC7",Yy="\u5355\u9009",py="\u5BCC\u6587\u672C",ef="\u8BC4\u5206",tf="\u6570\u5B57\u533A\u95F4",nf="\u4E0B\u62C9\u5355\u9009",uf="\u4E0B\u62C9\u591A\u9009",af="\u5173\u8054\u5355\u9009",lf="\u591A\u884C\u6587\u672C",rf="\u6811",of="Vue\u5BB9\u5668",cf="Vue\u9875\u9762",sf="\u5728\u7EBF\u6587\u6863",df="\u6309\u94AE\u64CD\u4F5C\u680F",hf="\u9AD8\u7EA7\u5BB9\u5668",yf="\u5206\u7EC4",ff="\u6805\u683C\u5217",vf="\u6570\u636E\u5BB9\u5668",mf="\u753B\u5E03",gf="\u6362\u884C\u5BB9\u5668",bf="\u6805\u683C\u7B49\u5206\u884C",Cf="\u5217\u8868\u5BB9\u5668",Ef="\u81EA\u7531\u9875\u9762",_f="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Bf="\u5B9A\u4F4D\u5BB9\u5668",wf="\u6805\u683C\u5E03\u5C40",Df="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",If="\u660E\u7EC6\u5B50\u8868\u884C",Af="\u6807\u7B7E\u9875",Ff="\u6807\u7B7E\u5355\u5143",Sf="\u5DE5\u5177\u680F",Tf="\u6279\u91CF\u63D0\u4EA4",Pf="\u5BFC\u51FA\u8BB0\u5F55",Rf="\u5217\u8868\u89C6\u56FE",Of="\u7ED3\u675F\u65F6\u95F4",kf="\u5F00\u59CB\u65F6\u95F4",xf="\u5355\u4F4D",Mf="\u7ED3\u679C",Lf="\u5E01\u79CD",$f="\u7ED3\u675F\u65E5\u671F",Nf="\u5F00\u59CB\u65E5\u671F",Hf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Vf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",jf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",qf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Wf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Uf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",zf="\u8BF7\u9009\u62E9",Kf="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Gf="\u8BF7\u9009\u62E9\u90E8\u95E8",Zf="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Qf="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Xf="\u8BF7\u9009\u62E9\u5730\u5740",Jf="\u5F39\u7A97\u786E\u8BA4\u65F6",Yf="\u6807\u7B7E\u9875\u5207\u6362\u65F6",pf="\u884C\u9009\u4E2D\u65F6",ev="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",tv="\u884C\u5220\u9664\u524D",nv="\u884C\u70B9\u51FB\u65F6",iv="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",uv="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",av="\u91CD\u547D\u540D\u65F6",lv="\u4FDD\u5B58\u6587\u4EF6\u65F6",rv="\u6253\u5F00\u6587\u4EF6\u65F6",ov="\u83B7\u53D6\u7126\u70B9\u65F6",cv="\u5931\u53BB\u7126\u70B9\u65F6",sv="\u7528\u6237\u8F93\u5165\u65F6",dv="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",hv="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",yv="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",fv="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",vv="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",mv="\u641C\u7D22\u65F6",gv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",bv="\u6267\u884C\u5B8C\u6210\u65F6",Cv="\u70B9\u51FB\u65F6",Ev="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",_v="\u8BF7\u8F93\u5165\u65E5\u671F",Bv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",wv="\u8BF7\u8F93\u5165",Dv="\u9ED8\u8BA4\u6A21\u7248",Iv="\u5DE6\u53F3\u5E03\u5C40",Av="\u4E0A\u4E0B\u5E03\u5C40",Fv="\u53EA\u8BFB",Sv="\u5FC5\u586B",Tv="\u63D0\u793A\u6587\u5B57",Pv="\u9690\u85CF\u6807\u9898",Rv="\u6807\u9898\u5FC5\u586B",Ov="\u7EC4\u7EC7\u5F62\u6001",kv="\u4E1A\u52A1\u7C7B\u578B",xv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Mv="\u9690\u85CF",Lv="\u6D41\u7A0B\u72B6\u6001",$v="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Nv="\u5220\u9664",Hv="\u7F16\u8F91",Vv="\u67E5\u770B",jv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",qv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Wv="\u5145\u6EE1\u6574\u884C",Uv="\u6700\u5C0F\u503C",zv="\u6700\u5927\u503C",Kv="\u65B0\u5EFA\u6587\u6863",Gv="\u91CD\u7F6E",Zv="\u67E5\u8BE2",Qv="\u660E\u7EC6",Xv="\u6253\u5370",Jv="\u4FDD\u5B58\u8349\u7A3F",Yv="\u4FDD\u5B58",pv="\u53D6\u6D88",em="\u4E0A\u4F20\u56FE\u7247",tm="\u53D1\u8D77\u7B7E\u7F72",nm="\u4E0A\u4F20\u9644\u4EF6",im="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",um="\u5F15\u7528\u5217\u8868",am="\u9009\u9879\u4E00",lm="\u9009\u9879\u4E8C",rm="\u9009\u9879\u4E09",om={isNotNumber:z,isNotString:Bu,isNotObject:On,isNotArray:wu,isNotBoolean:Du,runtimeRequired:Ot,pleaseEnterCaption:fe,pleaseEnterCaptionTip:kt,pleaseEnterRowCaption:Gd,pleaseEnterPlaceholder:Zd,pleaseEnterFieldCode:Qd,pleaseEnterForm:Xd,pleaseEnterList:Jd,pleaseEnterProcess:Yd,pleaseEnterLabel:pd,pleaseEnterValue:eh,bizKeyNotBindFiled:th,pleaseSelectOneField:nh,pleaseEnterNumberRange:ih,pleaseEnterAValueGreaterThanMin:uh,pleaseEnterAValueLessThanMax:ah,numberRangeSetError:lh,stringRangeError:rh,attachmentMaxSize:oh,pleaseEnterTotalScoreSetting:ch,theTotalScoreMustNotBeLessThan1:sh,scoreDefaultValueRange:dh,attachmentLimitError:hh,PleaseReselectTheOptionalQuantity:yh,TheMaximumLengthIsGreaterThanTheMinimumLength:fh,TheMinimumLengthIsGreaterThanTheMaximumLength:vh,PleaseSelectTheCorrectOptionSettings:mh,optionIdIsRepeat:gh,optionIsRequired:bh,pleaseEnterDataCode:Ch,pleaseEnterValueFieldCode:Eh,pleaseEnterSvcCode:_h,pleaseBindAtLeastOneDisplayValue:Bh,pleaseSelectProvince:wh,pleaseSelectCity:Dh,pleaseSelectDistrict:Ih,limitRowsCannotBeLessThan0:Ah,TheNumberOfRowsCannotBeLessThanMinRows:Fh,pleaseEnterColumnWidth:Sh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Th,pleaseCompleteAllRulesAndConditions:Ph,pleaseSelectControl:Rh,pleaseSelectAtLeastOneColumn:Oh,pleaseSelectFillBackMode:kh,pleaseSelectDashboard:xh,rootNodeIsRequired:Mh,theViewNameCannotBeEmpty:Lh,pleaseSelectOcrType:$h,pleaseSelectAtLeastOneFieldToFillIn:Nh,pleaseChooseAtLeastOne:Hh,pleaseEnterButtonContent:Vh,pleaseEnterDataCodeInDataSetting:jh,pleaseEnterValueFieldCodeInDataSetting:qh,pleaseEnterSvcCodeInDataSetting:Wh,pleaseBindAtLeastOneDisplayValueInDataSetting:Uh,rootNodeIsRequiredInDataSetting:zh,pleaseEnterMaxHeight:Kh,pleaseEnterWatermark:Gh,pleaseEnterFileName:Zh,pleaseUploadAtLeastOnePrintTemplate:Qh,pleaseAssignBusiness:Xh,pleaseAssignExternal:Jh,pleaseEnterAliasCode:Yh,pleaseSelectDataCode:ph,pleaseSelectSvcCode:ey,pleaseSelectJoinFieldCode:ty,pleaseSelectMainFieldCode:ny,pleaseSelectSortFieldCode:iy,batchDeleteButton:uy,batchPrintListButton:ay,batchPrintRecordList:ly,button:ry,createFormListButton:oy,dashboard:cy,divider:sy,exportListButton:dy,formSelectButton:hy,importRecordListButton:yy,invoiceCheckButton:fy,link:vy,listSelectButton:my,ListViewSelect:gy,operationButton:by,pagination:Cy,submissionRecordListButton:Ey,text:_y,textOcrButton:By,title:wy,approvalStatusColumn:Dy,array:Iy,autoNumber:Ay,custom:Fy,decimal:Sy,department:Ty,employee:Py,file:Ry,image:Oy,location:ky,operation:xy,order:My,people:Ly,long:$y,timescope:Ny,timestamp:Hy,varchar:Vy,gridLayoutWrap:jy,gridTable:qy,subTable:Wy,address:Uy,amount:zy,calc:Ky,checkBox:Gy,electronicSignature:Zy,input:Qy,number:Xy,organizationSelection:Jy,radio:Yy,richText:py,score:ef,searchNumberRange:tf,select:nf,selectMultiple:uf,selectRelation:af,textarea:lf,tree:rf,vueFormItem:of,vuePage:cf,WPS:sf,actionBar:df,advancedContainer:hf,cardGroup:yf,col:ff,dataView:vf,grid:mf,gridLayoutContainer:gf,gridRow:bf,listView:Cf,page:Ef,position:_f,positioningContainer:Bf,row:wf,subtableColumn:Df,subtableRow:If,tab:Af,tabPane:Ff,toolbox:Sf,batchSubmissionListButton:Tf,exportRecordListButton:Pf,listViewSelect:Rf,endTime:Of,startTime:kf,unit:xf,result:Mf,currency:Lf,endDate:$f,startDate:Nf,pleaseSelectCompanyName:Hf,pleaseSelectPhoneOrEmail:Vf,pleaseSelectSignType:jf,pleaseSelectSigner:qf,pleaseSelectOnlyOne:Wf,pleaseSelectSignFile:Uf,pleaseSelect:zf,pleaseSelectOrg:Kf,pleaseSelectDept:Gf,pleaseSelectEndDate:Zf,pleaseSelectStartDate:Qf,pleaseChooseAddress:Xf,modalConfirm:Jf,tabChange:Yf,rowSelected:pf,listDataImport:ev,rowDelete:tv,rowClick:nv,cellRender:iv,onClickBtn:uv,rename:av,onSaveFile:lv,onOpenFile:rv,onFocus:ov,onBlur:cv,onInput:sv,listDataAdd:dv,listDataDelete:hv,listDataBack:yv,listDataCreate:fv,listDataChange:vv,search:mv,valueChange:gv,finished:bv,click:Cv,pleaseEnterNameorEmail:Ev,pleaseEnterDate:_v,pleaseEnterAutonumber:Bv,pleaseEnter:wv,defaultTemplate:Dv,left:Iv,top:Av,default:"\u666E\u901A",readonly:Fv,required:Sv,textTip:Tv,hideCaption:Pv,titleRequired:Rv,organizationalForm:Ov,businessType:kv,deleteConfirm:xv,hide:Mv,processStatus:Lv,approvedDocuments:$v,delete:Nv,edit:Hv,view:Vv,loadCtrlErrorTip:jv,loadCtrlError:qv,fullLine:Wv,min:Uv,max:zv,createWPS:Kv,reset:Gv,query:Zv,detailed:Qv,print:Xv,draft:Jv,save:Yv,cancel:pv,uploadImg:em,signature:tm,uploadFile:nm,linkContent:im,referenceList:um,optionOne:am,optionTwo:lm,optionThird:rm},cm="Please enter a number",sm="Please enter a string",dm="Please enter an object",hm="Please enter an array",ym="Please enter a boolean",fm="{caption} Required",vm="Please enter the title",mm="Please enter the bubble prompt",gm="Please enter the row title",bm="Please enter the prompt text",Cm="Please bind data items",Em="Please bind the form",_m="Please bind the list",Bm="Please bind the process",wm="Please enter the displayed value",Dm="Please enter the stored value",Im="The document number is not bound to the data item",Am="Please select at least one display field",Fm="Please enter a value greater than or equal to {min} and less than or equal to {max}",Sm="Please enter a value greater than or equal to {min}",Tm="Please enter a value less than or equal to {max}",Pm="The value range is set incorrectly",Rm="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Om="The attachment size must be between 0MB and 1000MB",km="Please fill in the total score setting",xm="The total score cannot be less than 1",Mm="The default value must be between {min} and {max}",Lm="The number of attachment uploads exceeds the limit",$m="Please re-select the optional quantity",Nm="The maximum length of the control must be greater than the minimum length",Hm="The minimum length of the control must be less than the maximum length",Vm="Please select the correct option setting",jm="Option ID cannot be repeated",qm="Please enter at least one option",Wm="Please bind the data source",Um="Please bind the stored value",zm="Please bind the service",Km="At least one display value must be bound",Gm="Please select a province",Zm="Please select a city",Qm="Please select a district",Xm="The minimum number of lines to fill in cannot be less than 0",Jm="The number of rows cannot be less than {min} rows",Ym="Please enter the column width",pm="Please set the logical relationship of all rule conditions",e0="Please complete all rules and conditions",t0="please select control",n0="Please select the dashboard",i0="View name cannot be empty",u0="Please select recognition type",a0="Please select at least one field to fill in",l0="Please select at least one",r0="Please enter the button title",o0="Please bind the business model in the data settings",c0="Please bind storage values in data settings",s0="Please bind the service in the data settings",d0="Please bind at least one display value in the data settings",h0="Please select the root node in the data settings",y0="Please enter the maximum height",f0="The input content cannot be empty",v0="Watermark cannot be empty",m0="File name cannot be empty",g0="Please upload at least one printing template!\uFF01",b0="Please select a specific business department",C0="Please select a specified external organization",E0="Please enter a sub table alias",_0="Please select the associated table to set the business model",B0="Please select the association table to set the binding service",w0="Select associated sub table fields",D0="Please select the associated main table field",I0="Please select the sort field",A0="\u6279\u91CF\u5220\u9664",F0="\u6279\u91CF\u6253\u5370",S0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",T0="\u6309\u94AE",P0="\u521B\u5EFA\u5355\u636E",R0="\u4EEA\u8868\u76D8",O0="\u5206\u5272\u7EBF",k0="\u5BFC\u51FA",x0="\u8868\u5355\u64CD\u4F5C",M0="\u5BFC\u5165",L0="\u53D1\u7968\u8BC6\u522B",$0="\u94FE\u63A5",N0="\u5217\u8868\u9009\u62E9",H0="\u5217\u8868\u89C6\u56FE",V0="\u64CD\u4F5C\u6309\u94AE",j0="\u5206\u9875",q0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",W0="\u8BF4\u660E\u6587\u5B57",U0="\u6587\u5B57\u8BC6\u522B",z0="\u6807\u9898\u7EC4\u4EF6",K0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",G0="\u6570\u7EC4",Z0="\u81EA\u52A8\u7F16\u53F7",Q0="\u81EA\u5B9A\u4E49",X0="\u6570\u503C",J0="\u90E8\u95E8",Y0="\u4EBA\u5458",p0="\u9644\u4EF6",eg="\u56FE\u7247",tg="\u5730\u5740",ng="\u64CD\u4F5C",ig="\u5E8F\u53F7",ug="\u4EBA\u5458",ag="\u957F\u6587\u672C",lg="\u65E5\u671F\u533A\u95F4",rg="\u65E5\u671F",og="\u77ED\u6587\u672C",cg="\u6362\u884C\u5BB9\u5668Wrap",sg="\u8868\u683C",dg="\u660E\u7EC6\u5B50\u8868",hg="\u5730\u5740",yg="\u91D1\u989D",fg="\u8BA1\u7B97\u516C\u5F0F",vg="\u591A\u9009",mg="\u7535\u5B50\u7B7E\u7AE0",gg="\u5355\u884C\u6587\u672C",bg="\u6570\u5B57",Cg="\u4E1A\u52A1\u7EC4\u7EC7",Eg="\u5355\u9009",_g="\u5BCC\u6587\u672C",Bg="\u8BC4\u5206",wg="\u6570\u5B57\u533A\u95F4",Dg="\u4E0B\u62C9\u5355\u9009",Ig="\u4E0B\u62C9\u591A\u9009",Ag="\u5173\u8054\u5355\u9009",Fg="\u591A\u884C\u6587\u672C",Sg="\u6811",Tg="Vue\u5BB9\u5668",Pg="Vue\u9875\u9762",Rg="\u5728\u7EBF\u6587\u6863",Og="\u6309\u94AE\u64CD\u4F5C\u680F",kg="\u9AD8\u7EA7\u5BB9\u5668",xg="\u5206\u7EC4",Mg="\u6805\u683C\u5217",Lg="\u6570\u636E\u5BB9\u5668",$g="\u753B\u5E03",Ng="\u6362\u884C\u5BB9\u5668",Hg="\u6805\u683C\u7B49\u5206\u884C",Vg="\u5217\u8868\u5BB9\u5668",jg="\u81EA\u7531\u9875\u9762",qg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Wg="\u5B9A\u4F4D\u5BB9\u5668",Ug="\u6805\u683C\u5E03\u5C40",zg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Kg="\u660E\u7EC6\u5B50\u8868\u884C",Gg="\u6807\u7B7E\u9875",Zg="\u6807\u7B7E\u5355\u5143",Qg="\u5DE5\u5177\u680F",Xg="\u6279\u91CF\u63D0\u4EA4",Jg="\u5BFC\u51FA\u8BB0\u5F55",Yg="\u5217\u8868\u89C6\u56FE",pg="\u5F15\u7528\u5217\u8868",eb="\u9009\u9879\u4E00",tb="\u9009\u9879\u4E8C",nb="\u9009\u9879\u4E09",ib={isNotNumber:cm,isNotString:sm,isNotObject:dm,isNotArray:hm,isNotBoolean:ym,runtimeRequired:fm,pleaseEnterCaption:vm,pleaseEnterCaptionTip:mm,pleaseEnterRowCaption:gm,pleaseEnterPlaceholder:bm,pleaseEnterFieldCode:Cm,pleaseEnterForm:Em,pleaseEnterList:_m,pleaseEnterProcess:Bm,pleaseEnterLabel:wm,pleaseEnterValue:Dm,bizKeyNotBindFiled:Im,pleaseSelectOneField:Am,pleaseEnterNumberRange:Fm,pleaseEnterAValueGreaterThanMin:Sm,pleaseEnterAValueLessThanMax:Tm,numberRangeSetError:Pm,stringRangeError:Rm,attachmentMaxSize:Om,pleaseEnterTotalScoreSetting:km,theTotalScoreMustNotBeLessThan1:xm,scoreDefaultValueRange:Mm,attachmentLimitError:Lm,PleaseReselectTheOptionalQuantity:$m,TheMaximumLengthIsGreaterThanTheMinimumLength:Nm,TheMinimumLengthIsGreaterThanTheMaximumLength:Hm,PleaseSelectTheCorrectOptionSettings:Vm,optionIdIsRepeat:jm,optionIsRequired:qm,pleaseEnterDataCode:Wm,pleaseEnterValueFieldCode:Um,pleaseEnterSvcCode:zm,pleaseBindAtLeastOneDisplayValue:Km,pleaseSelectProvince:Gm,pleaseSelectCity:Zm,pleaseSelectDistrict:Qm,limitRowsCannotBeLessThan0:Xm,TheNumberOfRowsCannotBeLessThanMinRows:Jm,pleaseEnterColumnWidth:Ym,pleaseSetTheLogicalRelationshipOfAllRuleConditions:pm,pleaseCompleteAllRulesAndConditions:e0,pleaseSelectControl:t0,pleaseSelectDashboard:n0,theViewNameCannotBeEmpty:i0,pleaseSelectOcrType:u0,pleaseSelectAtLeastOneFieldToFillIn:a0,pleaseChooseAtLeastOne:l0,pleaseEnterButtonContent:r0,pleaseEnterDataCodeInDataSetting:o0,pleaseEnterValueFieldCodeInDataSetting:c0,pleaseEnterSvcCodeInDataSetting:s0,pleaseBindAtLeastOneDisplayValueInDataSetting:d0,rootNodeIsRequiredInDataSetting:h0,pleaseEnterMaxHeight:y0,pleaseEnter:f0,pleaseEnterWatermark:v0,pleaseEnterFileName:m0,pleaseUploadAtLeastOnePrintTemplate:g0,pleaseAssignBusiness:b0,pleaseAssignExternal:C0,pleaseEnterAliasCode:E0,pleaseSelectDataCode:_0,pleaseSelectSvcCode:B0,pleaseSelectJoinFieldCode:w0,pleaseSelectMainFieldCode:D0,pleaseSelectSortFieldCode:I0,batchDeleteButton:A0,batchPrintListButton:F0,batchPrintRecordList:S0,button:T0,createFormListButton:P0,dashboard:R0,divider:O0,exportListButton:k0,formSelectButton:x0,importRecordListButton:M0,invoiceCheckButton:L0,link:$0,listSelectButton:N0,ListViewSelect:H0,operationButton:V0,pagination:j0,submissionRecordListButton:q0,text:W0,textOcrButton:U0,title:z0,approvalStatusColumn:K0,array:G0,autoNumber:Z0,custom:Q0,decimal:X0,department:J0,employee:Y0,file:p0,image:eg,location:tg,operation:ng,order:ig,people:ug,long:ag,timescope:lg,timestamp:rg,varchar:og,gridLayoutWrap:cg,gridTable:sg,subTable:dg,address:hg,amount:yg,calc:fg,checkBox:vg,electronicSignature:mg,input:gg,number:bg,organizationSelection:Cg,radio:Eg,richText:_g,score:Bg,searchNumberRange:wg,select:Dg,selectMultiple:Ig,selectRelation:Ag,textarea:Fg,tree:Sg,vueFormItem:Tg,vuePage:Pg,WPS:Rg,actionBar:Og,advancedContainer:kg,cardGroup:xg,col:Mg,dataView:Lg,grid:$g,gridLayoutContainer:Ng,gridRow:Hg,listView:Vg,page:jg,position:qg,positioningContainer:Wg,row:Ug,subtableColumn:zg,subtableRow:Kg,tab:Gg,tabPane:Zg,toolbox:Qg,batchSubmissionListButton:Xg,exportRecordListButton:Jg,listViewSelect:Yg,referenceList:pg,optionOne:eb,optionTwo:tb,optionThird:nb},ub="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ab="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ob="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cb="{caption}\u5FC5\u9808",sb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",db="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",_b="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Db="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ab="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Pb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Ob="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kb="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xb="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Lb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",$b="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Nb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",qb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ub="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Gb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Xb="please select control",Jb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",pb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="\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",tC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",uC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",aC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lC="\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",rC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",dC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",hC="\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",yC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",gC="\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",bC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",CC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u6279\u91CF\u5220\u9664",BC="\u6279\u91CF\u6253\u5370",wC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",DC="\u6309\u94AE",IC="\u521B\u5EFA\u5355\u636E",AC="\u4EEA\u8868\u76D8",FC="\u5206\u5272\u7EBF",SC="\u5BFC\u51FA",TC="\u8868\u5355\u64CD\u4F5C",PC="\u5BFC\u5165",RC="\u53D1\u7968\u8BC6\u522B",OC="\u94FE\u63A5",kC="\u5217\u8868\u9009\u62E9",xC="\u5217\u8868\u89C6\u56FE",MC="\u64CD\u4F5C\u6309\u94AE",LC="\u5206\u9875",$C="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",NC="\u8BF4\u660E\u6587\u5B57",HC="\u6587\u5B57\u8BC6\u522B",VC="\u6807\u9898\u7EC4\u4EF6",jC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",qC="\u6570\u7EC4",WC="\u81EA\u52A8\u7F16\u53F7",UC="\u81EA\u5B9A\u4E49",zC="\u6570\u503C",KC="\u90E8\u95E8",GC="\u4EBA\u5458",ZC="\u9644\u4EF6",QC="\u56FE\u7247",XC="\u5730\u5740",JC="\u64CD\u4F5C",YC="\u5E8F\u53F7",pC="\u4EBA\u5458",e5="\u957F\u6587\u672C",t5="\u65E5\u671F\u533A\u95F4",n5="\u65E5\u671F",i5="\u77ED\u6587\u672C",u5="\u6362\u884C\u5BB9\u5668Wrap",a5="\u8868\u683C",l5="\u660E\u7EC6\u5B50\u8868",r5="\u5730\u5740",o5="\u91D1\u989D",c5="\u8BA1\u7B97\u516C\u5F0F",s5="\u591A\u9009",d5="\u7535\u5B50\u7B7E\u7AE0",h5="\u5355\u884C\u6587\u672C",y5="\u6570\u5B57",f5="\u4E1A\u52A1\u7EC4\u7EC7",v5="\u5355\u9009",m5="\u5BCC\u6587\u672C",g5="\u8BC4\u5206",b5="\u6570\u5B57\u533A\u95F4",C5="\u4E0B\u62C9\u5355\u9009",E5="\u4E0B\u62C9\u591A\u9009",_5="\u5173\u8054\u5355\u9009",B5="\u591A\u884C\u6587\u672C",w5="\u6811",D5="Vue\u5BB9\u5668",I5="Vue\u9875\u9762",A5="\u5728\u7EBF\u6587\u6863",F5="\u6309\u94AE\u64CD\u4F5C\u680F",S5="\u9AD8\u7EA7\u5BB9\u5668",T5="\u5206\u7EC4",P5="\u6805\u683C\u5217",R5="\u6570\u636E\u5BB9\u5668",O5="\u753B\u5E03",k5="\u6362\u884C\u5BB9\u5668",x5="\u6805\u683C\u7B49\u5206\u884C",M5="\u5217\u8868\u5BB9\u5668",L5="\u81EA\u7531\u9875\u9762",$5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",N5="\u5B9A\u4F4D\u5BB9\u5668",H5="\u6805\u683C\u5E03\u5C40",V5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",j5="\u660E\u7EC6\u5B50\u8868\u884C",q5="\u6807\u7B7E\u9875",W5="\u6807\u7B7E\u5355\u5143",U5="\u5DE5\u5177\u680F",z5="\u6279\u91CF\u63D0\u4EA4",K5="\u5BFC\u51FA\u8BB0\u5F55",G5="\u5217\u8868\u89C6\u56FE",Z5="\u5F15\u7528\u5217\u8868",Q5="\u9009\u9879\u4E00",X5="\u9009\u9879\u4E8C",J5="\u9009\u9879\u4E09",Y5={isNotNumber:ub,isNotString:ab,isNotObject:lb,isNotArray:rb,isNotBoolean:ob,runtimeRequired:cb,pleaseEnterCaption:sb,pleaseEnterCaptionTip:db,pleaseEnterRowCaption:hb,pleaseEnterPlaceholder:yb,pleaseEnterFieldCode:fb,pleaseEnterForm:vb,pleaseEnterList:mb,pleaseEnterProcess:gb,pleaseEnterLabel:bb,pleaseEnterValue:Cb,bizKeyNotBindFiled:Eb,pleaseSelectOneField:_b,pleaseEnterNumberRange:Bb,pleaseEnterAValueGreaterThanMin:wb,pleaseEnterAValueLessThanMax:Db,numberRangeSetError:Ib,stringRangeError:Ab,attachmentMaxSize:Fb,pleaseEnterTotalScoreSetting:Sb,theTotalScoreMustNotBeLessThan1:Tb,scoreDefaultValueRange:Pb,attachmentLimitError:Rb,PleaseReselectTheOptionalQuantity:Ob,TheMaximumLengthIsGreaterThanTheMinimumLength:kb,TheMinimumLengthIsGreaterThanTheMaximumLength:xb,PleaseSelectTheCorrectOptionSettings:Mb,optionIdIsRepeat:Lb,optionIsRequired:$b,pleaseEnterDataCode:Nb,pleaseEnterValueFieldCode:Hb,pleaseEnterSvcCode:Vb,pleaseBindAtLeastOneDisplayValue:jb,pleaseSelectProvince:qb,pleaseSelectCity:Wb,pleaseSelectDistrict:Ub,limitRowsCannotBeLessThan0:zb,TheNumberOfRowsCannotBeLessThanMinRows:Kb,pleaseEnterColumnWidth:Gb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zb,pleaseCompleteAllRulesAndConditions:Qb,pleaseSelectControl:Xb,pleaseSelectDashboard:Jb,theViewNameCannotBeEmpty:Yb,pleaseSelectOcrType:pb,pleaseSelectAtLeastOneFieldToFillIn:eC,pleaseChooseAtLeastOne:tC,pleaseEnterButtonContent:nC,pleaseEnterDataCodeInDataSetting:iC,pleaseEnterValueFieldCodeInDataSetting:uC,pleaseEnterSvcCodeInDataSetting:aC,pleaseBindAtLeastOneDisplayValueInDataSetting:lC,rootNodeIsRequiredInDataSetting:rC,pleaseEnterMaxHeight:oC,pleaseEnter:cC,pleaseEnterWatermark:sC,pleaseEnterFileName:dC,pleaseUploadAtLeastOnePrintTemplate:hC,pleaseAssignBusiness:yC,pleaseAssignExternal:fC,pleaseEnterAliasCode:vC,pleaseSelectDataCode:mC,pleaseSelectSvcCode:gC,pleaseSelectJoinFieldCode:bC,pleaseSelectMainFieldCode:CC,pleaseSelectSortFieldCode:EC,batchDeleteButton:_C,batchPrintListButton:BC,batchPrintRecordList:wC,button:DC,createFormListButton:IC,dashboard:AC,divider:FC,exportListButton:SC,formSelectButton:TC,importRecordListButton:PC,invoiceCheckButton:RC,link:OC,listSelectButton:kC,ListViewSelect:xC,operationButton:MC,pagination:LC,submissionRecordListButton:$C,text:NC,textOcrButton:HC,title:VC,approvalStatusColumn:jC,array:qC,autoNumber:WC,custom:UC,decimal:zC,department:KC,employee:GC,file:ZC,image:QC,location:XC,operation:JC,order:YC,people:pC,long:e5,timescope:t5,timestamp:n5,varchar:i5,gridLayoutWrap:u5,gridTable:a5,subTable:l5,address:r5,amount:o5,calc:c5,checkBox:s5,electronicSignature:d5,input:h5,number:y5,organizationSelection:f5,radio:v5,richText:m5,score:g5,searchNumberRange:b5,select:C5,selectMultiple:E5,selectRelation:_5,textarea:B5,tree:w5,vueFormItem:D5,vuePage:I5,WPS:A5,actionBar:F5,advancedContainer:S5,cardGroup:T5,col:P5,dataView:R5,grid:O5,gridLayoutContainer:k5,gridRow:x5,listView:M5,page:L5,position:$5,positioningContainer:N5,row:H5,subtableColumn:V5,subtableRow:j5,tab:q5,tabPane:W5,toolbox:U5,batchSubmissionListButton:z5,exportRecordListButton:K5,listViewSelect:G5,referenceList:Z5,optionOne:Q5,optionTwo:X5,optionThird:J5},Iu={zhCN:om,enUS:ib,jaJP:Y5},Au,p5=(Au=window.localStorage.getItem("locale"))!==null&&Au!==void 0?Au:"zh-CN",kn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ut=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),nr={DEFAULT:"default"},ir="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",eE=ir+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ir:eE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tE(t){if(Array.isArray(t))return Fu(t)}function nE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ur(t,e,n){return e=xt(e),lE(t,Tu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function ar(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Tu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Mt(s,l.prototype),s},xn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function lr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function iE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function uE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function aE(){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 lE(t,e){return e&&(rE(e)==="object"||typeof e=="function")?e:nE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function rr(t){return tE(t)||uE(t)||oE(t)||aE()}function rE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oE(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 Su(t){var e=typeof Map=="function"?new Map:void 0;return Su=function(i){if(i===null||!iE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return xn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Su(t)}function Tu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tu=function(){return!!t})()}var Pu=console;function Ru(){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=Pu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(rr(u)))}function or(){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=Pu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(rr(u)))}function cE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ou=function(t){lr(e,t);function e(n){ar(this,e);var i;return i=ur(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?cE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Su(Error)),sE=function(t){lr(e,t);function e(n){ar(this,e);var i;return i=ur(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Ou);function Lt(t){throw new Ou(t)}function cr(t){throw new sE(t)}function dE(t){Pu.error(new Ou(t))}function hE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function yE(t,e,n){return e&&sr(t.prototype,e),n&&sr(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}var dr=function(){function t(){hE(this,t)}return yE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Iu==null||(u=Iu[p5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();fE(dr,"$i18n",dr.resetI18n());function vE(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Ru("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var mE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gE={exports:{}};(function(t){(function(e){var n=function(m,B,S){if(!s(B)||v(B)||g(B)||E(B)||d(B))return B;var R,L=0,ue=0;if(h(B))for(R=[],ue=B.length;L<ue;L++)R.push(n(m,B[L],S));else{R={};for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(R[m($,S)]=n(m,B[$],S))}return R},i=function(m,B){B=B||{};var S=B.separator||"_",R=B.split||/(?=[A-Z])/;return m.split(R).join(S)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,S){return S?S.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var B=u(m);return B.substr(0,1).toUpperCase()+B.substr(1)},l=function(m,B){return i(m,B).toLowerCase()},o=Object.prototype.toString,d=function(m){return typeof m=="function"},s=function(m){return m===Object(m)},h=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},E=function(m){return o.call(m)=="[object Boolean]"},_=function(m){return m=m-0,m===m},b=function(m,B){var S=B&&"process"in B?B.process:B;return typeof S!="function"?m:function(R,L){return S(R,m,L)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,B){return n(b(u,B),m)},decamelizeKeys:function(m,B){return n(b(l,B),m,B)},pascalizeKeys:function(m,B){return n(b(a,B),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(mE)})(gE);var hr={};Object.defineProperty(hr,"__esModule",{value:!0});function ku(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ku(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:ku(i)}return e}}var bE=hr.default=ku;function CE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":CE(t))==="object"?bE(t):t}function EE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mn(t){return Array.isArray(t)}function _E(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function BE(t){if(Array.isArray(t))return xu(t)}function yr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function wE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){yr(a,i,u,l,o,"next",d)}function o(d){yr(a,i,u,l,o,"throw",d)}l(void 0)})}}function DE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(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 IE(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function vr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function AE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function FE(){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 Mu(t){return BE(t)||AE(t)||SE(t)||FE()}function SE(t,e){if(!!t){if(typeof t=="string")return xu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xu(t,e)}}function TE(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var PE=function(){function t(){DE(this,t),vr(this,"_events",new Map),vr(this,"debug",!1)}return IE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return wE(function(){var l,o,d,s,h,v,g,E,_,b,w,m;return TE(this,function(B){switch(B.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,h=!1,v=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),g=d[Symbol.iterator](),B.label=2;case 2:if(s=(E=g.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),this.debug&&or.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Mu(u))),[4,_.apply(null,Mu(u))];case 4:return b=B.sent(),this.debug&&or.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Mu(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return w=B.sent(),dE(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=B.sent(),h=!0,v=m,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(h)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),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 RE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function OE(t,e,n){return e&&mr(t.prototype,e),n&&mr(t,n),t}function kE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],ME=function(){function t(){RE(this,t)}return OE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();kE(ME,"events",xE);function Lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function LE(t){if(Array.isArray(t))return Lu(t)}function $E(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function NE(){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 gr(t){return LE(t)||$E(t)||HE(t)||NE()}function HE(t,e){if(!!t){if(typeof t=="string")return Lu(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 Lu(t,e)}}function $u(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function br(t,e,n){n!=="Runtime"&&(t.parent=e,$u(t,"parent"))}function VE(t,e,n){t.forEach(function(i){br(i,e,n)})}var Cr=Symbol("targetKey");function Er(t){var e;return(e=t[Cr])!==null&&e!==void 0?e:t}function _r(t,e,n){return VE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===Cr?u:(s=Reflect).get.apply(s,[u,a].concat(gr(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var h;if(Mn(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(gr(d)));return EE(l)&&br(l,e,n),v}})}function se(t,e,n,i,u){var a=i!=null?i:t,l=_r(Er(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=_r(Er(d),a,u)},enumerable:!0})}function jE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function qE(t,e,n){return e&&Br(t.prototype,e),n&&Br(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wr=[],Ln=function(){function t(e){jE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return qE(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Ru("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===kn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Lt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),$u(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var d=l[a],s=o[a];if(!(!d&&!s)){var h=s.findIndex(function(E){return E==n}),v=o[d]||[],g;return v.length!==s.length?g=v[0]:g=v[h],g}}}}),$u(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Ru("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(Ln,"staticControlsRuntimeRules",new Map),we(Ln,"staticControls",wr),we(Ln,"staticRegisteredTypes",new Set(wr.map(function(t){return t.Designer.controlType}))),we(Ln,"staticRegisteredConfigs",new Map);function WE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=$n(e),UE(t,Dr()?Reflect.construct(e,n||[],$n(t).constructor):e.apply(t,n))}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function UE(t,e){return e&&(zE(e)==="object"||typeof e=="function")?e:WE(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nu(t,e)}function zE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dr=function(){return!!t})()}var he=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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},Ir=function t(e){D(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(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},Ar=function t(e){D(this,t),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(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},KE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Ar(e==null?void 0:e.pc),this.mobile=new Ar(e==null?void 0:e.mobile)},Hu=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"width",void 0),y(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}(Ir),GE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Hu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Hu(e==null?void 0:e.mobile):new Hu({width:130,minWidth:180})},ZE=function t(e){D(this,t),y(this,"type",void 0),y(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:[]},at=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(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:""},QE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),Fr=function t(e){D(this,t),y(this,"fieldCode",void 0),y(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:""},Vu=function t(e){D(this,t);var n;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Fr(l)}))!==null&&a!==void 0?a:[]},XE=function t(e){D(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(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:C.VARCHAR},JE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),YE=function t(e){D(this,t);var n,i;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new XE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new JE(l)}))!==null&&a!==void 0?a:[]},pE=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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:[]},ju=function t(e){var n=this;D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var h,v=new Nn(o);(h=n.children)===null||h===void 0||h.push(v)}}))},Nn=function t(e){D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new pE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},e_=function t(e){D(this,t),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},p=function t(e){D(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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:""},qu=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},t_=function t(e){D(this,t),y(this,"columnName",void 0),y(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 Wu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new ju(o):new Nn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new ju(o):new Nn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new t_(o)}))!==null&&l!==void 0?l:[]}var Q=function t(e){var n=this;D(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new qu(v))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,Wu.call(this,e)},Uu=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){D(this,t),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Sr=function t(e){D(this,t);var n;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new qu(l)}))!==null&&a!==void 0?a:[]},Hn=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new Sr(l)}))!==null&&a!==void 0?a:[],i}return e}(Q),n_=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new Sr(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Q),Vn=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Hn),Tr=function t(e){D(this,t);var n;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new p(l)}))!==null&&a!==void 0?a:[]},Pr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),Wu.call(i,n),i}return e}(Tr),Rr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"mode",void 0),y(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}(Tr),Or=function t(e){D(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(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:""},kr=function t(e){D(this,t),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(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;var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:""},i_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(kr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new kr(n)}))!==null&&e!==void 0?e:[]}function xr(t){var e;return(e=t==null?void 0:t.map(function(n){return new i_(n)}))!==null&&e!==void 0?e:[]}var zu=function t(){D(this,t)},u_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(zu),a_=function t(e){D(this,t),y(this,"amount",void 0),y(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"},Mr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(zu),Lr=function t(e){D(this,t),y(this,"min",void 0),y(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:""},l_=function t(e){D(this,t),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},r_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(zu),o_=function t(e){D(this,t),y(this,"result",void 0),y(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:""},c_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),c=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),s_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){D(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},d_=function t(e){D(this,t);var n;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Fr(l)}))!==null&&a!==void 0?a:[],Wu.call(this,e)},h_=function t(e){D(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(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"},y_=function t(e){D(this,t),y(this,"optCode",void 0),y(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:""},f_=function t(e){D(this,t);var n,i;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new ju(d):new Nn(d)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new v_(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},v_=function t(e){D(this,t),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(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"},m_=function t(e){D(this,t);var n;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new f_(l)}))!==null&&a!==void 0?a:[]:[]},g_=function t(e){D(this,t),y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0);var n;this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1;var i;this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1;var u;this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[];var a;this.groupHeaderName=(a=e==null?void 0:e.groupHeaderName)!==null&&a!==void 0?a:"";var l;this.showFooterStatistics=(l=e==null?void 0:e.showFooterStatistics)!==null&&l!==void 0?l:!1},b_=function t(e){D(this,t),y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var n;this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},C_=function t(e){D(this,t),y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0);var n;this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"";var i;this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"";var u;this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"";var a;this.marginLeft=(a=e==null?void 0:e.marginLeft)!==null&&a!==void 0?a:""},E_=function t(e){D(this,t),y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0);var n;this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"";var i;this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"";var u;this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"";var a;this.paddingLeft=(a=e==null?void 0:e.paddingLeft)!==null&&a!==void 0?a:""},__=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0A\u4E00\u6B65"},B_=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0B\u4E00\u6B65"},w_=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new __(e==null?void 0:e.prev),this.next=new B_(e==null?void 0:e.next)};function D_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I_(t,e,n){return e=$t(e),S_(t,Zu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return Zu()?jn=Reflect.construct:jn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Nt(s,l.prototype),s},jn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function A_(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 F_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function S_(t,e){return e&&(T_(e)==="object"||typeof e=="function")?e:D_(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function T_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gu(t){var e=typeof Map=="function"?new Map:void 0;return Gu=function(i){if(i===null||!F_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return jn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},Gu(t)}function Zu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zu=function(){return!!t})()}var U=function t(e){Ku(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){A_(e,t);function e(n){return Ku(this,e),I_(this,e)}return e}(Gu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ku(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new h_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);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 P_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function qn(t,e){return qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qn(t,e)}function R_(){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 Wn(t,e,n){return R_()?Wn=Reflect.construct:Wn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&qn(s,l.prototype),s},Wn.apply(null,arguments)}function O_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!O_(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 Wn(i,arguments,Qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qn(u,i)},Xu(t)}var k_=/%[sdj%]/g,$r=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&($r=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(k_,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return o}});return l}return u}function x_(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||x_(e)&&typeof t=="string"&&!t)}function M_(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function Nr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function L_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Hr=function(t){P_(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}(Xu(Error));function $_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var E=function(w){return i(w),w.length?g(new Hr(w,Ju(w))):v()},_=L_(t);Nr(_,n,E)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],h=new Promise(function(v,g){var E=function(b){if(s.push.apply(s,b),d++,d===o)return i(s),s.length?g(new Hr(s,Ju(s))):v()};l.length||(i(s),v()),l.forEach(function(_){var b=t[_];a.indexOf(_)!==-1?Nr(b,n,E):M_(b,n,E)})});return h.catch(function(v){return v}),h}function Vr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function jr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ye(ye({},t[n]),i):t[n]=i}}return t}function qr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function N_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Yu={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},Ht={integer:function(e){return Ht.number(e)&&parseInt(e,10)===e},float:function(e){return Ht.number(e)&&!Ht.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"&&!Ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Yu.hex)}};function H_(t,e,n,i,u){if(t.required&&e===void 0){qr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Ht[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function V_(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,h=null,v=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(v?h="number":g?h="string":E&&(h="array"),!h)return!1;E&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[h].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[h].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[h].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[h].range,t.fullField,t.min,t.max))}var lt="enum";function j_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function q_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:qr,whitespace:N_,type:H_,range:V_,enum:j_,pattern:q_};function W_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(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 U_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(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 z_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(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 K_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(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 G_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function Z_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(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 Q_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(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 X_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function J_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(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 Y_="enum";function p_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[Y_](t,e,i,a,u)}n(a)}function e6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function t6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function n6(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function pu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),K(e,a)||A.type(t,e,i,l,u)}n(l)}function i6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Vt={string:W_,method:U_,number:z_,boolean:K_,regexp:G_,integer:Z_,float:Q_,array:X_,object:J_,enum:p_,pattern:e6,date:t6,url:pu,hex:pu,email:pu,required:n6,any:i6};function ea(){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 ta=ea();function Ae(t){this.rules=null,this._messages=ta,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=jr(ea(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(b){var w,m=[],B={};function S(R){if(Array.isArray(R)){var L;m=(L=m).concat.apply(L,R)}else m.push(R)}for(w=0;w<b.length;w++)S(b[w]);m.length?B=Ju(m):(m=null,B=null),o(m,B)}if(l.messages){var s=this.messages();s===ta&&(s=ea()),jr(s,l.messages),l.messages=s}else l.messages=this.messages();var h,v,g={},E=l.keys||Object.keys(this.rules);E.forEach(function(b){h=u.rules[b],v=a[b],h.forEach(function(w){var m=w;typeof m.transform=="function"&&(a===e&&(a=ye({},a)),v=a[b]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ye({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:v,source:a,field:b}))})});var _={};return $_(g,l,function(b,w){var m=b.rule,B=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");B=B&&(m.required||!m.required&&b.value),m.field=b.field;function S(ue,$){return ye(ye({},$),{},{fullField:m.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var $=ue;if(Array.isArray($)||($=[$]),!l.suppressWarning&&$.length&&Ae.warning("async-validator:",$),$.length&&m.message!==void 0&&($=[].concat(m.message)),$=$.map(Vr(m)),l.first&&$.length)return _[m.field]=1,w($);if(!B)w($);else{if(m.required&&!b.value)return m.message!==void 0?$=[].concat(m.message).map(Vr(m)):l.error&&($=[l.error(m,te(l.messages.required,m.field))]),w($);var ae={};if(m.defaultField)for(var Pn in b.value)b.value.hasOwnProperty(Pn)&&(ae[Pn]=m.defaultField);ae=ye(ye({},ae),b.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var _u=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=_u.map(S.bind(null,_e))}var Rn=new Ae(ae);Rn.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),Rn.validate(b.value,b.rule.options||l,function(Rt){var Be=[];$&&$.length&&Be.push.apply(Be,$),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var L;m.asyncValidator?L=m.asyncValidator(m,b.value,R,b.source,l):m.validator&&(L=m.validator(m,b.value,R,b.source,l),L===!0?R():L===!1?R(m.message||m.field+" fails"):L instanceof Array?R(L):L instanceof Error&&R(L.message)),L&&L.then&&L.then(function(){return R()},function(ue){return R(ue)})},function(b){d(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=$r,Ae.messages=ta,Ae.validators=Vt;var u6={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function a6(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(u6,e)),n}var l6=new PE;function na(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 r6(t){if(Array.isArray(t))return t}function o6(t){if(Array.isArray(t))return na(t)}function Wr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Ur(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Wr(a,i,u,l,o,"next",d)}function o(d){Wr(a,i,u,l,o,"throw",d)}l(void 0)})}}function c6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(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 s6(t,e,n){return e&&zr(t.prototype,e),n&&zr(t,n),t}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Gr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d6(){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 h6(){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 Zr(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){O(t,u,n[u])})}return t}function y6(t){return r6(t)||Gr(t)||Qr(t)||d6()}function ia(t){return o6(t)||Gr(t)||Qr(t)||h6()}function f6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(t,e){if(!!t){if(typeof t=="string")return na(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 na(t,e)}}function Xr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;c6(this,e),O(this,"id",void 0),O(this,"name",void 0),O(this,"icon",void 0),O(this,"type",void 0),O(this,"controlType",void 0),O(this,"props",void 0),O(this,"setting",[]),O(this,"fieldType",void 0),O(this,"eventKeys",[]),O(this,"customEvents",[]),O(this,"parent",null),O(this,"slots",void 0),O(this,"slotPosition",void 0),O(this,"updateSetting",Yr),O(this,"removeSetting",Jr),this._callControlHooks("preInstance",n);var u=Kr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting,E=u.slots,_=u.slotPosition;a&&l&&o||cr("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:oe(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new j(n==null?void 0:n.props,(Kr(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ce(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:d,this.eventKeys=ce(s),this.customEvents=ce(h),this.slots=ce(E),this.slotPosition=ce(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return s6(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=y6(u),d=o[0],s=o.slice(1);return(l=l6).emit.apply(l,[d,this].concat(ia(s)))}},{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),vE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Ur(function(){var i,u,a;return Xr(this,function(l){switch(l.label){case 0:return i=Zr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return Ur(function(){var a,l,o,d;return Xr(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Zr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),o=a6(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,d=o.dataBind,s=o.datasourceBind,h=o.optionConfig,v=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(d&&(m.dataBind=d),h){case"datasource":case void 0:s&&(m.datasourceBind=s);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),w!==void 0&&(m.encryptedMode=w),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(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,ia(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();O(k,"mode","Designer"),O(k,"slots",void 0),O(k,"slotPosition",void 0),O(k,"controlName",r("CMD.7baf1751712168384")),O(k,"controlIcon","icon"),O(k,"controlType","control"),O(k,"controlFieldType",void 0),O(k,"controlEventKeys",[]),O(k,"controlCustomEvents",[]),O(k,"setting",[]),O(k,"__is_control__",!0),O(k,"removeSettingItem",Jr),O(k,"updateSettingItem",Yr);function Jr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function Yr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":f6(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,ia(e.showItems))}}}})}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m6(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){v6(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=g6(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||cr("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:oe(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:s_.UNKNOWN}return m6(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function ua(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=_E(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Un(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function b6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zn(t,e,n){return e=Gn(e),E6(t,eo()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(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 Zn(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 E6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:C6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var X=function(t){Zn(e,t);function e(n){Kn(this,e);var i;i=zn(this,e,[n]),N(i,"dataBind",{}),N(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(i,"isHideCaption",{type:"boolean"}),N(i,"labelPosition",{type:"enum",enum:["top","left"]}),N(i,"defaultState",{type:"enum",enum:["default","readonly"]}),N(i,"required",{type:"boolean"}),N(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(b6(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),V=function(t){Zn(e,t);function e(n){Kn(this,e);var i;i=zn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),F=function(t){Zn(e,t);function e(n){Kn(this,e);var i;i=zn(this,e,[n]),N(i,"caption",void 0),N(i,"captionSize",void 0),N(i,"captionColor",void 0),N(i,"isCaptionItalic",void 0),N(i,"isHideCaption",void 0),N(i,"isShowCaptionTip",void 0),N(i,"captionTip",void 0),N(i,"labelPosition",void 0),N(i,"dataBind",void 0),N(i,"defaultValue",void 0),N(i,"placeholder",void 0),N(i,"defaultState",void 0),N(i,"required",void 0),N(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var E;i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"";var _;i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1;var b;i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(j);N(F,"Rules",X),N(F,"RuntimeRules",V);var rt=function(t){Zn(e,t);function e(n){Kn(this,e);var i;return i=zn(this,e,[n]),N(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ua.call(i,n),i}return e}(X);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w6(t,e,n){return e=Xn(e),A6(t,to()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(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 I6(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 A6(t,e){return e&&(F6(e)==="object"||typeof e=="function")?e:B6(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function F6(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 T=function(t){I6(e,t);function e(n){D6(this,e);var i;return i=w6(this,e,[n]),Qn(i,"controlType","form"),Qn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(k);Qn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(T,"controlCustomAttributes",void 0);function S6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T6(t,e,n){return e=Jn(e),O6(t,no()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function R6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function O6(t,e){return e&&(k6(e)==="object"||typeof e=="function")?e:S6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function k6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var P=function(t){R6(e,t);function e(n){P6(this,e);var i;return i=T6(this,e,[n]),ra(i,"controlType","form"),ra(i,"props",void 0),ra(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(q);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,n){return e=Yn(e),N6(t,io()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function $6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function N6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:x6(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function H6(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 x=function(t){$6(e,t);function e(n){return L6(this,e),M6(this,e,[n])}return e}(j);function sa(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 V6(t){if(Array.isArray(t))return sa(t)}function j6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uo(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function q6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){uo(a,i,u,l,o,"next",d)}function o(d){uo(a,i,u,l,o,"throw",d)}l(void 0)})}}function W6(t,e,n){return e=Se(e),p6(t,ro()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function U6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function z6(t,e,n){return e&&ao(t.prototype,e),n&&ao(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,l){var o=eB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function K6(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&&da(t,e)}function G6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Z6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Q6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X6(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 J6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Y6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):J6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function p6(t,e){return e&&(tB(e)==="object"||typeof e=="function")?e:j6(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function eB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function lo(t){return V6(t)||Z6(t)||nB(t)||Q6()}function tB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nB(t,e){if(!!t){if(typeof t=="string")return sa(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 sa(t,e)}}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}function iB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var uB=1e4,M=function(e){K6(n,e);function n(i){U6(this,n);var u;u=W6(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=G6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new x(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(l),u.childrenMaxLength=o,u}return z6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,d=function(){return ot(Se(n.prototype),"validate",l)};return q6(function(){return iB(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ot(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var h=s.filter(function(v){return!!v});return lo(o).concat(lo(h))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return Y6(X6({},u),{children:a})}}]),n}(k);Fe(M,"excludes",!1),Fe(M,"childrenMaxLength",uB);function aB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e,n){return e=pn(e),cB(t,oo()?Reflect.construct(e,n||[],pn(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 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 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&&ya(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:aB(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function sB(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 H=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=lB(this,e,[n]),ha(i,"controlType","layout"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new x(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function dB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hB(t,e,n){return e=ei(e),vB(t,co()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function yB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(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&&fa(t,e)}function vB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:dB(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var ti=function(t){fB(e,t);function e(n,i,u){yB(this,e);var a;a=hB(this,e,[i]),ct(a,"headers",void 0),ct(a,"footers",void 0),ct(a,"pageIndex",void 0),ct(a,"pageSize",void 0),ct(a,"pageSizeOptions",void 0),ct(a,"totalCount",void 0),se(a,"headers",i==null?void 0:i.headers,n,u),se(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,a}return e}(j);function va(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 gB(t){if(Array.isArray(t))return va(t)}function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function so(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function CB(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){so(a,i,u,l,o,"next",d)}function o(d){so(a,i,u,l,o,"throw",d)}l(void 0)})}}function EB(t,e,n){return e=Te(e),FB(t,mo()?Reflect.construct(e,n||[],Te(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 ho(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 BB(t,e,n){return e&&ho(t.prototype,e),n&&ho(t,n),t}function ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var o=SB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function wB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function DB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function IB(){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 yo(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){ni(t,u,n[u])})}return t}function AB(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 fo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function FB(t,e){return e&&(TB(e)==="object"||typeof e=="function")?e:bB(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function SB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function vo(t){return gB(t)||DB(t)||PB(t)||IB()}function TB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PB(t,e){if(!!t){if(typeof t=="string")return va(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 va(t,e)}}function mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mo=function(){return!!t})()}function RB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var ga=function(t){wB(e,t);function e(n){_B(this,e);var i;return i=EB(this,e,[n]),ni(i,"controlType","list"),ni(i,"props",void 0),i.props=new ti(i,n==null?void 0:n.props,"Designer"),i}return BB(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return st(Te(e.prototype),"validate",a)};return CB(function(){return RB(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return vo(l).concat(vo(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return fo(yo({},i),{props:fo(yo({},this.props),{headers:u})})}}]),e}(k);ni(ga,"controlFieldType",C.LIST);function OB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e,n){return e=ii(e),$B(t,bo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function go(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 MB(t,e,n){return e&&go(t.prototype,e),n&&go(t,n),t}function ba(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 LB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function $B(t,e){return e&&(NB(e)==="object"||typeof e=="function")?e:OB(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function NB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}var Co=function(t){LB(e,t);function e(n){xB(this,e);var i;return i=kB(this,e,[n]),ba(i,"controlType","list"),ba(i,"children",void 0),ba(i,"props",void 0),i.props=new ti(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return MB(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function HB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ea(t,e,n){return e=ui(e),VB(t,Eo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function _a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function Ba(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function VB(t,e){return e&&(jB(e)==="object"||typeof e=="function")?e:HB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function jB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}var be=function(t){Ba(e,t);function e(n){_a(this,e);var i;return i=Ea(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){Ba(e,t);function e(n){_a(this,e);var i;i=Ea(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new Ir(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(j);J(W,"Rules",be);var Da=function(t){Ba(e,t);function e(n){_a(this,e);var i;return i=Ea(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ua.call(i,n),i}return e}(be);function qB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WB(t,e,n){return e=dt(e),XB(t,Bo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function UB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(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 zB(t,e,n){return e&&_o(t.prototype,e),n&&_o(t,n),t}function ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(u,a,l){var o=JB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},li(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function GB(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){ai(t,u,n[u])})}return t}function ZB(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 QB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ZB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function XB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:qB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function JB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var G=function(t){KB(e,t);function e(n){UB(this,e);var i;return i=WB(this,e,[n]),ai(i,"controlType","column"),ai(i,"props",void 0),ai(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return zB(e,[{key:"toSchema",value:function(){var i=li(dt(e.prototype),"toSchema",this).call(this);return QB(GB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function pB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ew(t,e,n){return e=ri(e),iw(t,wo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function tw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(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 nw(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 iw(t,e){return e&&(uw(e)==="object"||typeof e=="function")?e:pB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function uw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wo=function(){return!!t})()}var Z=function(t){nw(e,t);function e(n){tw(this,e);var i;return i=ew(this,e,[n]),Aa(i,"controlType","column"),Aa(i,"props",void 0),Aa(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function aw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lw(t,e,n){return e=oi(e),sw(t,Do()?Reflect.construct(e,n||[],oi(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 ow(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 cw(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 sw(t,e){return e&&(dw(e)==="object"||typeof e=="function")?e:aw(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var Ta=function(t){cw(e,t);function e(n){rw(this,e);var i;return i=lw(this,e,[n]),ow(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(x);function hw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yw(t,e,n){return e=ci(e),mw(t,Ao()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function fw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function vw(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&&Pa(t,e)}function mw(t,e){return e&&(gw(e)==="object"||typeof e=="function")?e:hw(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function gw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}var bw=function(t){vw(e,t);function e(n){fw(this,e);var i;return i=yw(this,e,[n]),Io(i,"controlType","search"),Io(i,"props",void 0),i.props=new Ta(n==null?void 0:n.props),i}return e}(M);function Cw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ew(t,e,n){return e=si(e),ww(t,So()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function _w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function Bw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}function ww(t,e){return e&&(Dw(e)==="object"||typeof e=="function")?e:Cw(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}function Dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(So=function(){return!!t})()}var Iw=function(t){Bw(e,t);function e(n){_w(this,e);var i;return i=Ew(this,e,[n]),Fo(i,"controlType","search"),Fo(i,"props",void 0),i.props=new Ta(n==null?void 0:n.props),i}return e}(H);function Aw(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=di(e),Pw(t,To()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function Sw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Tw(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 Pw(t,e){return e&&(Rw(e)==="object"||typeof e=="function")?e:Aw(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function Rw(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 ka=function(t){Tw(e,t);function e(n){return Sw(this,e),Fw(this,e,[n])}return e}(x);function Ow(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kw(t,e,n){return e=hi(e),Lw(t,Ro()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function xw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function Mw(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&&xa(t,e)}function Lw(t,e){return e&&($w(e)==="object"||typeof e=="function")?e:Ow(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function $w(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 Nw=function(t){Mw(e,t);function e(n){xw(this,e);var i;return i=kw(this,e,[n]),Po(i,"controlType","wrap"),Po(i,"props",void 0),i.props=new ka(n==null?void 0:n.props),i}return e}(M);function Hw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vw(t,e,n){return e=yi(e),Ww(t,ko()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function jw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function qw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ma(t,e)}function Ww(t,e){return e&&(Uw(e)==="object"||typeof e=="function")?e:Hw(t)}function Ma(t,e){return Ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ma(t,e)}function Uw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var zw=function(t){qw(e,t);function e(n){jw(this,e);var i;return i=Vw(this,e,[n]),Oo(i,"controlType","wrap"),Oo(i,"props",void 0),i.props=new ka(n==null?void 0:n.props),i}return e}(H);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class La extends j{constructor(e){var n,i,u,a,l,o;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(l=e==null?void 0:e.aiContentSearch)!=null?l:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1}}class xo extends k{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}xo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Kw extends q{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"text"}}var Mo={Designer:xo,Runtime:Kw,Property:La};class $a extends j{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Na extends k{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Na.controlEventKeys=["on_click"],Na.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Gw extends q{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"link"}}var Lo={Designer:Na,Runtime:Gw,Property:$a};class ee extends j{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new y_((h=e==null?void 0:e.optObj)!=null?h:{})}}class Y extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",nr.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var $o={Designer:Y,Runtime:ie,Property:ee},Re=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Re||{}),No=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(No||{}),Ho=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ho||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class Ha{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var Va=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Va||{});class vi{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var ja=(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))(ja||{});class qa{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(B=e==null?void 0:e.posY)!=null?B:0,this.remark=(S=e==null?void 0:e.remark)!=null?S:""}}class Vo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(d=>new qa(d)))!=null?u:[new qa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class jt{constructor(e){var n,i,u,a,l,o,d;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class Wa{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class jo{constructor(e){var n,i,u,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 Wa(e==null?void 0:e.watermark),this.autoRename=new Wa(e==null?void 0:e.autoRename)}}class Ua{constructor(e){var n,i,u,a,l,o,d;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class za{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 qo{constructor(e){this.dataCode=e.dataCode}}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 qo(a)))!=null?u:[]}}class Uo{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:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const zo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ko{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Go{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 Zo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Zo||{}),Ka=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ka||{}),mi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(mi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Ga=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ga||{}),Za=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Za||{});class Qa extends j{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ja.SOLID}}class Qo extends k{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Qo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Zw extends q{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Xo={Designer:Qo,Runtime:Zw,Property:Qa};class Qw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class gi extends j{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}gi.Rules=Qw;class ht extends k{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=C.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Xw extends q{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Jo={Designer:ht,Runtime:Xw,Property:gi};class Jw extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class bi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}bi.Rules=Jw;class yt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Yw extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Yo={Designer:yt,Runtime:Yw,Property:bi};class pw extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ci extends ee{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ci.Rules=pw;class ft extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class eD extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var po={Designer:ft,Runtime:eD,Property:Ci};class Xa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Y{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.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 tD extends ie{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ec={Designer:vt,Runtime:tD,Property:Xa};class Ja extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new jt(o)))!=null?l:[new jt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class mt extends Y{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 nD extends ie{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var tc={Designer:mt,Runtime:nD,Property:Ja};class Ya extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Y{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class iD extends ie{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var nc={Designer:gt,Runtime:iD,Property:Ya};class uD{constructor(e){this.dataCode=e.dataCode}}class pa extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new uD(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class bt extends Y{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class aD extends ie{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ic={Designer:bt,Runtime:aD,Property:pa};function Ei(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class lD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ei())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ei())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class _i extends ee{constructor(e){var n,i,u;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.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Pr(e==null?void 0:e.fillPayload),this.formBind=new QE(e==null?void 0:e.formBind),this.fillBack=new Rr(e==null?void 0:e.fillBack)}}_i.Rules=lD;class Wt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish"],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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class rD extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var uc={Designer:Wt,Runtime:rD,Property:_i};class oD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},Ei())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ei())}}}class Bi extends ee{constructor(e){var n,i,u,a,l;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.fillPayload=new Pr(e==null?void 0:e.fillPayload),this.listPageBind=new Vu(e==null?void 0:e.listPageBind),this.fillBack=new Rr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Uu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Bi.Rules=oD;class Ut extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class cD extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var ac={Designer:Ut,Runtime:cD,Property:Bi};class sD extends U{constructor(e){super(e)}}class dD extends Me{constructor(e){super(e)}}class zt extends j{constructor(e){super(e)}}zt.Rules=sD,zt.RuntimeRules=dD;class lc extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}lc.setting=[];class hD extends q{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var rc={Designer:lc,Runtime:hD,Property:zt};class yD extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends j{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}wi.Rules=yD;class oc extends k{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}oc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class fD extends q{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var cc={Designer:oc,Runtime:fD,Property:wi};class vD extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Di extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new d_(a)))!=null?u:[]}}Di.Rules=vD;class sc extends k{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}sc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class mD extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var dc={Designer:sc,Runtime:mD,Property:Di};class gD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Ii.Rules=gD;class Ct extends Y{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class bD extends ie{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var hc={Designer:Ct,Runtime:bD,Property:Ii};class CD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Ai.Rules=CD;class Et extends Y{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ED extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var yc={Designer:Et,Runtime:ED,Property:Ai};class _D extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Fi extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Ko(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Fi.Rules=_D;class _t extends Y{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class BD extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var fc={Designer:_t,Runtime:BD,Property:Fi};class el extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends Y{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wD extends ie{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var vc={Designer:Bt,Runtime:wD,Property:el};class DD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Si extends j{constructor(e){var n,i,u,a,l,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Si.Rules=DD;class Ti extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ti.controlEventKeys=["on_click"],Ti.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ID extends q{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var mc={Designer:Ti,Runtime:ID,Property:Si};class tl extends j{constructor(e){var n,i,u,a,l,o,d,s,h;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=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class wt extends k{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class AD extends q{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var gc={Designer:wt,Runtime:AD,Property:tl};class FD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Pi extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Ua(e==null?void 0:e.actionSetting))!=null?l:new Ua,this.listHeightSetting=(o=new za(e==null?void 0:e.listHeightSetting))!=null?o:new za}}Pi.Rules=FD;class Ri extends k{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ri.controlEventKeys=["on_list_rowclick"],Ri.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class SD extends q{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var bc={Designer:Ri,Runtime:SD,Property:Pi};class nl extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class Cc extends k{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Cc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class TD extends q{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Ec={Designer:Cc,Runtime:TD,Property:nl},PD=Object.freeze({__proto__:null,Text:Mo,Link:Lo,Button:$o,Divider:Xo,Title:Jo,CreateFormListButton:Yo,BatchSubmissionListButton:po,SubmissionRecordListButton:ec,ExportListButton:tc,ExportRecordListButton:nc,ImportRecordListButton:ic,FormSelectButton:uc,ListSelectButton:ac,Pagination:rc,Dashboard:cc,ListViewSelect:dc,TextOcrButton:hc,InvoiceCheckButton:yc,BatchPrintListButton:fc,BatchPrintRecordListButton:vc,OperationButton:mc,BatchDeleteButton:gc,ReferenceList:bc,CommentControl:Ec});class RD extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class OD extends V{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Or(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:It.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Dt.Rules=RD,Dt.RuntimeRules=OD;class It extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class _c extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}_c.controlFieldType=C.VARCHAR;var Bc={Designer:It,Runtime:_c,Property:Dt};class kD extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class xD extends V{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,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.type=(b=e==null?void 0:e.type)!=null?b:"default",this.isUseCustomColor=(w=e==null?void 0:e.isUseCustomColor)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}Kt.Rules=kD,Kt.RuntimeRules=xD;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=C.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{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 wc extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}wc.controlFieldType=C.ARRAY;var Dc={Designer:Gt,Runtime:wc,Property:Kt};class il extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(a=e==null?void 0:e.showSearch)!=null?a:!0,this.expandTrigger=(l=e==null?void 0:e.expandTrigger)!=null?l:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(d=e==null?void 0:e.showCheckedStrategy)!=null?d:"",this.saveCheckedStrategy=(s=e==null?void 0:e.saveCheckedStrategy)!=null?s:"CHILD",this.separator=(h=e==null?void 0:e.separator)!=null?h:"/",this.optionConfig=(v=e==null?void 0:e.optionConfig)!=null?v:"custom",this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new Vn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(w=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(B=>new p(B)))!=null?w:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class Le extends T{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return"\u7EA7\u8054\u9009\u62E9"}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Le.controlEventKeys=["on_change","on_focus","on_blur"],Le.controlFieldType=C.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Ic extends P{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Ic.controlFieldType=C.VARCHAR;var Ac={Designer:Le,Runtime:Ic,Property:il};class MD extends rt{constructor(e){super(e)}}class Oi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new p(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Oi.Rules=MD;class Zt extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fc extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Fc.controlFieldType=C.VARCHAR;var Sc={Designer:Zt,Runtime:Fc,Property:Oi};class LD extends X{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $D extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Or(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(w=e==null?void 0:e.controlButtonPosition)!=null?w:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}Qt.Rules=LD,Qt.RuntimeRules=$D;class Xt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"number-control-button",visible:!0},{key:"super-setting",visible:!0}];class Tc extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}Tc.controlFieldType=C.DECIMAL;var Pc={Designer:Xt,Runtime:Tc,Property:Qt};class ul extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:ki.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(_=>new fi(_)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}class ki extends T{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}ki.controlFieldType=C.TIMESTAMP,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rc extends P{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Rc.controlFieldType=C.TIMESTAMP;var Oc={Designer:ki,Runtime:Rc,Property:ul};class ND extends V{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 xi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dataBind=new Mr(e==null?void 0:e.dataBind),this.defaultValue=new Lr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:Mi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(_=>new fi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}xi.RuntimeRules=ND;class Mi extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Mi.controlFieldType=C.TIMESCOPE,Mi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kc extends P{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}kc.controlFieldType=C.TIMESCOPE;var xc={Designer:Mi,Runtime:kc,Property:xi};class al extends F{constructor(e){var n,i,u,a,l,o,d;super(e),this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u65F6\u95F4",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(o=(l=e==null?void 0:e.limitTimeList)==null?void 0:l.map(s=>new Ha(s)))!=null?o:[],this.isInternational=(d=e==null?void 0:e.isInternational)!=null?d:!1}}class Li extends T{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return"\u65F6\u95F4"}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Li.controlFieldType=C.TIMESTAMP,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends P{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Mc.controlFieldType=C.TIMESTAMP;var Lc={Designer:Li,Runtime:Mc,Property:al};class HD extends V{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 $i extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.dataBind=new Mr(e==null?void 0:e.dataBind),this.defaultValue=new Lr(e==null?void 0:e.defaultValue),this.format=(n=e==null?void 0:e.format)!=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:"\u5F00\u59CB\u65F6\u95F4",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u7ED3\u675F\u65F6\u95F4",this.caption=(o=e==null?void 0:e.caption)!=null?o:Ni.controlName,this.limitTimeList=(s=(d=e==null?void 0:e.limitTimeList)==null?void 0:d.map(v=>new Ha(v)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}$i.RuntimeRules=HD;class Ni extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Ni.controlFieldType=C.TIMESCOPE,Ni.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:"\u5F00\u59CB\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"common-input",visible:!0,name:"placeholderEnd",label:"\u7ED3\u675F\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"time-range"}}$c.controlFieldType=C.TIMESCOPE;var Nc={Designer:Ni,Runtime:$c,Property:$i};class VD extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class jD extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new KE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=xr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=VD,Jt.RuntimeRules=jD;class Yt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=C.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Hc.controlFieldType=C.TEXT;var Vc={Designer:Yt,Runtime:Hc,Property:Jt};class qD extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class WD extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class pt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=xr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}pt.Rules=qD,pt.RuntimeRules=WD;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=C.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class jc extends P{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}jc.controlFieldType=C.TEXT;var qc={Designer:en,Runtime:jc,Property:pt};class UD extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Hi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.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 Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Vi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.isUseCustomColor=(v=e==null?void 0:e.isUseCustomColor)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(g=e==null?void 0:e.canViewForm)!=null?g:!1,this.viewFormModelType=(E=e==null?void 0:e.viewFormModelType)!=null?E:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Hi.Rules=UD;class Vi extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Vi.controlFieldType=C.VARCHAR,Vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wc extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"select"}}Wc.controlFieldType=C.VARCHAR;var Uc={Designer:Vi,Runtime:Wc,Property:Hi};class zD extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class KD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.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 Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ji.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.type=(s=e==null?void 0:e.type)!=null?s:"default",this.isUseCustomColor=(h=e==null?void 0:e.isUseCustomColor)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new p(_))})),this.canViewForm=(v=e==null?void 0:e.canViewForm)!=null?v:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}tn.Rules=zD,tn.RuntimeRules=KD;class ji extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}ji.controlFieldType=C.ARRAY,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zc extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}zc.controlFieldType=C.ARRAY;var Kc={Designer:ji,Runtime:zc,Property:tn};class GD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qi extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Wi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new p(v))}))}}qi.RuntimeRules=GD;class Wi extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Wi.controlFieldType=C.EMPLOYEES,Wi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Gc extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Gc.controlFieldType=C.EMPLOYEES;var Zc={Designer:Wi,Runtime:Gc,Property:qi};const ZD=10485760,QD=104857600,XD=1048576e3;class JD extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:XD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class YD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:QD,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ft.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(B=e==null?void 0:e.describe)!=null?B:""}}At.Rules=JD,At.RuntimeRules=YD;class Ft extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ll extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ll.controlFieldType=C.FILE;var Qc={Designer:Ft,Runtime:ll,Property:At};class rl extends At{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ui.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:Za.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080,this.maxWidthHeight=(s=e==null?void 0:e.maxWidthHeight)!=null?s:[]}}class Ui extends Ft{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ui.controlFieldType=C.IMAGE,Ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-width-height",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class pD extends ll{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"image"}}var Xc={Designer:Ui,Runtime:pD,Property:rl};class e7 extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class t7 extends V{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:[pl(it({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class nn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new u_(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new qu({value:"name"})]}),this.defaultValue=new a_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:c_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:un.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}nn.Rules=e7,nn.RuntimeRules=t7;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=C.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Jc extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Jc.controlFieldType=C.MONEY;var Yc={Designer:un,Runtime:Jc,Property:nn};class n7 extends X{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class i7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;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:Va.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(g=>new vi(g)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new vi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName,this.canHalf=(s=e==null?void 0:e.canHalf)!=null?s:!1,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"",this.isShowCurrentScore=(v=e==null?void 0:e.isShowCurrentScore)!=null?v:!1}}an.Rules=n7,an.RuntimeRules=i7;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new vi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=C.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-switch",visible:!0,name:"canHalf",label:"\u652F\u6301\u534A\u9009",default:!1},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"score-show-current-value",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class pc extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}pc.controlFieldType=C.DECIMAL;var es={Designer:ln,Runtime:pc,Property:an};class u7 extends V{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class zi extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ki.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 l_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}zi.RuntimeRules=u7;class Ki extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ki.controlFieldType=C.ADDRESS,Ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ts extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}ts.controlFieldType=C.ADDRESS;var ns={Designer:Ki,Runtime:ts,Property:zi};class a7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Gi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:rn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}Gi.RuntimeRules=a7;class rn extends T{constructor(e){super(e),this.props=new Gi(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}}rn.controlName=r("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=C.DEPARTMENTS,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"department"}}is.controlFieldType=C.DEPARTMENTS;var us={Designer:rn,Runtime:is,Property:Gi};class ol 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:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=C.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class as extends P{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}as.controlFieldType=C.AUTO_NUMBER;var ls={Designer:on,Runtime:as,Property:ol};class l7 extends X{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 r7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h;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 r_(e==null?void 0:e.dataBind),this.defaultValue=new o_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}cn.Rules=l7,cn.RuntimeRules=r7;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}sn.controlEventKeys=["on_change"],sn.controlFieldType=C.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class rs extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}rs.controlFieldType=C.CALC;var os={Designer:sn,Runtime:rs,Property:cn};class o7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Zi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Qi.controlName}}Zi.RuntimeRules=o7;class Qi extends T{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Qi.controlFieldType=C.DECIMAL_RANGE,Qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}cs.controlFieldType=C.DECIMAL_RANGE;var ss={Designer:Qi,Runtime:cs,Property:Zi};class c7 extends V{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 Xi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:ut.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Ji.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new fi(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Xi.RuntimeRules=c7;class Ji extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ji.controlFieldType=C.ARRAY,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends P{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ds.controlFieldType=C.ARRAY;var hs={Designer:Ji,Runtime:ds,Property:Xi};class s7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class d7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=s7,dn.RuntimeRules=d7;class St extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",nr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ys extends P{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ys.controlFieldType=C.ANY;var fs={Designer:St,Runtime:ys,Property:dn};class h7 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Yi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Vu(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(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:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Uu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Yi.Rules=h7;class hn extends T{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}hn.controlFieldType=C.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class vs extends P{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}vs.controlFieldType=C.VARCHAR;var ms={Designer:hn,Runtime:vs,Property:Yi};class cl extends Dt{constructor(e){super(e)}}class gs extends It{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}gs.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class bs extends P{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}bs.controlFieldType=C.VARCHAR;var Cs={Designer:gs,Runtime:bs,Property:cl};class y7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Un.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class f7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Vn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new Vn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(S=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map(L=>new p(L)))!=null?S:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}yn.Rules=y7,yn.RuntimeRules=f7;class ke extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=C.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Es extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Es.controlFieldType=C.ARRAY;var _s={Designer:ke,Runtime:Es,Property:yn};class v7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Un.call(this,e,$e.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class m7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Hn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ka.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ga.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Oe.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=v7,fn.RuntimeRules=m7;class $e extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Bs extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Bs.controlFieldType=C.EMPLOYEES;var ws={Designer:$e,Runtime:Bs,Property:fn};class g7 extends X{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Mn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&Mn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class pi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Vo(e==null?void 0:e.signatureConfig)}}pi.Rules=g7;class vn extends T{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=C.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Ds extends P{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ds.controlFieldType=C.VARCHAR;var Is={Designer:vn,Runtime:Ds,Property:pi};class b7 extends X{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class C7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;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:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:ZD,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new jo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}mn.Rules=b7,mn.RuntimeRules=C7;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=C.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}As.controlFieldType=C.FILE;var Fs={Designer:gn,Runtime:As,Property:mn};class E7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Un.call(this,e,Ne.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class _7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ne.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Hn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:mi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Oe.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}bn.Rules=E7,bn.RuntimeRules=_7;class Ne extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ne.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=C.DEPARTMENTS,Ne.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-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 Ss extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Ss.controlFieldType=C.DEPARTMENTS;var Ts={Designer:Ne,Runtime:Ss,Property:bn};class B7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Un.call(this,e,Tt.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class w7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,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.listPageBind=new Vu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new n_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:mi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Oe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(B=e==null?void 0:e.showSelectedDetail)!=null?B:!1,this.selectedContentConfig=new Uu(e==null?void 0:e.selectedContentConfig),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(R=>{var L;(L=this.multistageFilling)==null||L.push(new p(R))}))}}Cn.Rules=B7,Cn.RuntimeRules=w7;class Tt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=C.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ps extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Ps.controlFieldType=C.DEPARTMENTS;var Rs={Designer:Tt,Runtime:Ps,Property:Cn};class D7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class I7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=D7,En.RuntimeRules=I7;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}_n.controlFieldType=C.ANY,_n.controlEventKeys=[],_n.setting=[];class Os extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Os.controlFieldType=C.ANY;var ks={Designer:_n,Runtime:Os,Property:En},A7=Object.freeze({__proto__:null,Input:Bc,Checkbox:Dc,Cascader:Ac,Radio:Sc,Number:Pc,DatePicker:Oc,DateRange:xc,TimePicker:Lc,TimeRange:Nc,Textarea:Vc,RichText:qc,Select:Uc,SelectMultiple:Kc,Employee:Zc,Image:Xc,Attachment:Qc,Amount:Yc,Score:es,Address:ns,Department:us,AutoNumber:ls,Calc:os,SearchNumberRange:ss,SearchDateRange:hs,VueFormItem:fs,SelectRelation:ms,SearchInput:Cs,Tree:_s,Employee2:ws,ElectronicSignature:Is,WPS:Fs,Department2:Ts,OrganizationSelection:Rs,VuePage:ks});class xs extends M{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}xs.excludes=[I.GRID];class F7 extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var Ms={Designer:xs,Runtime:F7,Property:x};const S7=24;class He extends x{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:S7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Bn extends M{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Bn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Bn.childrenMaxLength=1;class sl extends H{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var Ls={Designer:Bn,Runtime:sl,Property:He};class eu extends x{constructor(e){var n,i,u,a,l;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(a=e==null?void 0:e.justify)!=null?a:"",this.padding=new E_(e==null?void 0:e.padding),this.margin=new C_(e==null?void 0:e.margin),this.isFull=(l=e==null?void 0:e.isFull)!=null?l:!1}}class tu extends M{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}tu.excludes=[I.ROW],tu.setting=[{key:"col-setting",visible:!0},{key:"row-gutter",visible:!0},{key:"row-align",visible:!0},{key:"row-justify",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class $s extends H{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ns={Designer:tu,Runtime:$s,Property:eu};const T7=4;class nu extends tu{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}nu.excludes=[I.GRID_ROW],nu.setting=[],nu.childrenMaxLength=T7;class P7 extends $s{static get controlType(){return"grid-row"}constructor(e){super(e)}}class R7 extends eu{constructor(e){super(e)}}var Hs={Designer:nu,Runtime:P7,Property:R7};class O7 extends x.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class iu extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(a=e==null?void 0:e.describe)!=null?a:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(d=e==null?void 0:e.borderType)!=null?d:"none",this.divider=(s=e==null?void 0:e.divider)!=null?s:"solid",this.triggerShadow=(h=e==null?void 0:e.triggerShadow)!=null?h:"never",this.type=(v=e==null?void 0:e.type)!=null?v:"default"}}iu.Rules=O7;class dl extends M{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}dl.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u5C55\u793A\u98CE\u683C",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"card",label:"\u5361\u7247"}]},{key:"common-button-radio",visible:!0,name:"position",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"captionType",label:"\u6807\u7B7E\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"warning",label:"\u8B66\u544A"},{value:"success",label:"\u6210\u529F"}]},{key:"common-select",visible:!0,name:"borderType",label:"\u8FB9\u6846\u7C7B\u578B",default:"none",options:[{value:"none",label:"\u65E0\u8FB9\u6846"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"common-select",visible:!0,name:"triggerShadow",label:"\u663E\u793A\u9634\u5F71\u65F6\u673A",default:"never",options:[{value:"never",label:"\u4ECE\u4E0D\u663E\u793A"},{value:"hover",label:"\u9F20\u6807\u60AC\u6D6E\u65F6\u663E\u793A"},{value:"always",label:"\u603B\u662F\u663E\u793A"}]},{key:"common-button-radio",visible:!0,name:"divider",label:"\u5206\u5272\u7EBF",default:"solid",options:[{value:"none",label:"\u65E0"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"super-setting",visible:!0}],dl.excludes=[I.CARD_GROUP];class k7 extends H{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Vs={Designer:dl,Runtime:k7,Property:iu};class x7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class uu extends x{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new GE(e==null?void 0:e.metaAutoWidth)}}uu.Rules=x7;class de extends M{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}de.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),de.controlType="subtable-column",de.controlIcon="subtable-column",de.childrenMaxLength=1,de.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],de.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class js extends H{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}js.controlType="subtable-column";var qs={Designer:de,Runtime:js,Property:uu};class hl extends x{constructor(e){super(e)}}class Ve extends M{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class M7 extends H{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ws={Designer:Ve,Runtime:M7,Property:hl};class yl extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:ut.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class je extends M{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}je.controlName=r("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Us extends H{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Us.controlType="gridtable-column";var zs={Designer:je,Runtime:Us,Property:yl};class fl extends x{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 vl extends M{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}vl.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],vl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class L7 extends H{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Ks={Designer:vl,Runtime:L7,Property:fl};class ml extends x{constructor(e){var n,i,u,a,l;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(a=e==null?void 0:e.isLabelFlat)!=null?a:!1,this.isDelay=(l=e==null?void 0:e.isDelay)!=null?l:!1}}class $7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class au extends x{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}au.Rules=$7;class wn extends M{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[I.TAB],wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class N7 extends H{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Gs={Designer:wn,Runtime:N7,Property:au};class Dn extends M{constructor(e){var n;super(e),this.props=new ml(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Dn.excludes=[I.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u98CE\u683C\u7C7B\u578B",default:"line",options:[{value:"line",label:"\u9ED8\u8BA4"},{value:"card",label:"\u9009\u9879\u5361"}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:"\u9875\u7B7E\u4F4D\u7F6E",default:"top",options:[{value:"top",label:"\u4E0A"},{value:"bottom",label:"\u4E0B"},{value:"left",label:"\u5DE6"},{value:"right",label:"\u53F3"}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:"\u9875\u7B7E\u5BBD\u5EA6\u662F\u5426\u81EA\u52A8\u6491\u5F00",default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:"\u5185\u5BB9\u5EF6\u8FDF\u6E32\u67D3",default:!1},{key:"super-setting",visible:!0}];class H7 extends H{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Zs={Designer:Dn,Runtime:H7,Property:ml};class Qs extends x{constructor(e){super(e)}}class Xs extends M{constructor(e){super(e),this.props=new Qs({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new He({span:12})}),new Bn({props:new He({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Xs.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class V7 extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new sl({props:new He({span:12})}),new sl({props:new He({span:12})})]}}var Js={Designer:Xs,Runtime:V7,Property:Qs};class j7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class q7 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),ua.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 x{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.datasourceBind=new Q(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 YE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new e_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new m_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new g_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new b_(e==null?void 0:e.masterDetail)}}In.Rules=q7,In.RuntimeRules=j7;class An extends M{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class W7 extends H{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ys={Designer:An,Runtime:W7,Property:In};class U7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class lu extends x{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ie(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}lu.RuntimeRules=U7;class ps extends M{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}ps.excludes=[];class z7 extends H{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ed={Designer:ps,Runtime:z7,Property:lu};class K7 extends M{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class G7 extends H{static get controlType(){return"page"}constructor(e){super(e)}}class Z7 extends x{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 td={Designer:K7,Runtime:G7,Property:Z7};class Q7 extends M{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class X7 extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class J7 extends x{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Go(e==null?void 0:e.flexConfig)}}var nd={Designer:Q7,Runtime:X7,Property:J7};class Y7 extends M{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class p7 extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class e8 extends x{constructor(e){super(e)}}var id={Designer:Y7,Runtime:p7,Property:e8};class t8 extends M{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class n8 extends H{static get controlType(){return"position"}constructor(e){super(e)}}class i8 extends x{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 ud={Designer:t8,Runtime:n8,Property:i8};class gl extends x{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 ru extends M{constructor(e){var n;super(e),this.props=new gl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ru.slotPosition={default:"action-bar-slot"},ru.excludes=[],ru.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class u8 extends H{constructor(e){var n;super(e),this.props=new gl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ad={Designer:ru,Runtime:u8,Property:gl};class bl extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(d=e==null?void 0:e.isCenter)!=null?d:!1,this.isStopStepClick=(s=e==null?void 0:e.isStopStepClick)!=null?s:!1,this.status=(h=e==null?void 0:e.status)!=null?h:"process",this.stopStatus=(v=e==null?void 0:e.stopStatus)!=null?v:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new w_(e==null?void 0:e.stepButtons)}}class Cl extends x{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Pt extends M{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Pt.excludes=[I.TAB],Pt.setting=[];class a8 extends H{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var ld={Designer:Pt,Runtime:a8,Property:Cl};class ou extends M{constructor(e){var n;super(e),this.props=new bl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}ou.excludes=[],ou.controlEventKeys=["on_change_steps"],ou.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:"\u5C45\u4E2D\u5BF9\u9F50",default:!1},{key:"common-switch",visible:!0,name:"isStopStepClick",label:"\u5141\u8BB8\u7ED3\u675F\u6B65\u9AA4\u70B9\u51FB",default:!1},{key:"common-select",visible:!0,name:"status",label:"\u5F53\u524D\u6B65\u9AA4\u72B6\u6001",default:"process",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"common-select",visible:!0,name:"stopStatus",label:"\u7ED3\u675F\u6B65\u9AA4\u72B6\u6001",default:"finish",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class l8 extends H{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"step"}}var rd={Designer:ou,Runtime:l8,Property:bl};class El extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.align=(d=e==null?void 0:e.align)!=null?d:"",this.verticalAlign=(s=e==null?void 0:e.verticalAlign)!=null?s:"center",this.padding=(h=e==null?void 0:e.padding)!=null?h:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(v=e==null?void 0:e.margin)!=null?v:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(g=e==null?void 0:e.border)!=null?g:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(E=e==null?void 0:e.borderRadius)!=null?E:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(_=e==null?void 0:e.background)!=null?_:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(b=e==null?void 0:e.innerBorder)!=null?b:{borderWidth:1,borderColor:"",borderType:"solid"}}}class _l extends M{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}_l.excludes=[],_l.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class r8 extends H{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var od={Designer:_l,Runtime:r8,Property:El};class Bl extends x{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 wl extends M{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}wl.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],wl.setting=[{key:"col-setting",visible:!0}];class o8 extends H{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var cd={Designer:wl,Runtime:o8,Property:Bl};const c8=24;class Dl extends x{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:c8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start",this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(v=e==null?void 0:e.isLabelCol)!=null?v:!1}}class Il extends M{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Il.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],Il.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class s8 extends H{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var sd={Designer:Il,Runtime:s8,Property:Dl};class Al extends x{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Fl extends M{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Fl.excludes=[],Fl.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class d8 extends H{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var dd={Designer:Fl,Runtime:d8,Property:Al},h8=Object.freeze({__proto__:null,Grid:Ms,Col:Ls,Row:Ns,GridRow:Hs,CardGroup:Vs,SubTableColumn:qs,SubTableRow:Ws,GridTableColumn:zs,GridLayoutContainer:Ks,Tab:Zs,TabPane:Gs,Toolbox:Js,ListView:Ys,DataView:ed,Page:td,AdvancedContainer:nd,PositioningContainer:id,Position:ud,ActionBar:ad,Step:rd,StepPane:ld,TableLayout:od,TableLayoutRow:cd,TableLayoutCol:sd,TableLayoutWrapper:dd});class y8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class f8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const hd=class extends ti{constructor(t,e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,R,L,ue,$,ae,Pn,_e,_u,Rn,Rt,Be,Hd,Vd,jd,qd,Wd,Ud;super(t,e,hd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:zo,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(B=e==null?void 0:e.canImport)!=null?B:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(L=e==null?void 0:e.serverPagination)!=null?L:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=($=e==null?void 0:e.captionTip)!=null?$:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Pn=e==null?void 0:e.mobileDefaultNum)!=null?Pn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new ZE,this.fixedColumn=(_u=e==null?void 0:e.fixedColumn)!=null?_u:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Hd=e==null?void 0:e.pageSize)!=null?Hd:10,this.pageSizeOptions=(Vd=e==null?void 0:e.pageSizeOptions)!=null?Vd:[10,20,50,100],this.importConfig=new Wo(e==null?void 0:e.importConfig),this.exportConfig=new Uo(e==null?void 0:e.exportConfig),this.sortable=(jd=e==null?void 0:e.sortable)!=null?jd:!1,this.sortKey=(qd=e==null?void 0:e.sortKey)!=null?qd:{},this.showTableIndex=(Wd=e==null?void 0:e.showTableIndex)!=null?Wd:!0,this.triggerEdit=(Ud=e==null?void 0:e.triggerEdit)!=null?Ud:"single"}};let Fn=hd;Fn.Rules=y8,Fn.RuntimeRules=f8;class Sn extends ga{constructor(e){var n;super(e),this.props=new Fn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new de,new de,new de])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new de,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Sn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Sn.slotPosition={toolbar:"subtable-toolbar-slot"},Sn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:"\u89E6\u53D1\u7F16\u8F91\u65B9\u5F0F",default:"single",options:[{value:"single",label:"\u5355\u51FB"},{value:"double",label:"\u53CC\u51FB"}]},{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 v8 extends Co{constructor(e){super(e),this.props=new Fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var yd={Designer:Sn,Runtime:v8,Property:Fn};class Sl extends ti{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class m8 extends be{constructor(e){super(e),this.caption.required=!1}}class cu extends W{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}cu.Rules=m8;class qe extends G{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=r("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Tl extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Tl.controlType="order-column",Tl.controlFieldType=C.DECIMAL;var fd={Designer:qe,Runtime:Tl,Property:cu};class Pl extends W{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends G{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ti.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return tr(this,null,function*(){return yield er(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Rl extends Z{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}Rl.controlType="operation-column",Rl.controlFieldType=C.FILE;var vd={Designer:Ce,Runtime:Rl,Property:Pl};const g8=1e4;class We extends ga{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Sl(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new qe,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return pl(it({},e),{children:n})}validate(e,n){return tr(this,null,function*(){return yield er(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=g8;class b8 extends Co{constructor(e){super(e),this.props=new Sl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var md={Designer:We,Runtime:b8,Property:Sl},C8=Object.freeze({__proto__:null,SubTable:yd,GridTable:md});class E8 extends Da{constructor(e){super(e),Pe.call(this,e)}}class su extends W{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}su.Rules=E8;class Ue extends G{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=C.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ol extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ol.controlType="varchar-column",Ol.controlFieldType=C.VARCHAR;var gd={Designer:Ue,Runtime:Ol,Property:su};class _8 extends be{constructor(e){super(e),Pe.call(this,e)}}class du extends W{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:ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}du.Rules=_8;class ze extends G{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}ze.controlType="text-column",ze.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=C.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class kl extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}kl.controlType="text-column",kl.controlFieldType=C.TEXT;var bd={Designer:ze,Runtime:kl,Property:du};class B8 extends Da{constructor(e){super(e),Pe.call(this,e)}}class hu extends W{constructor(e){var n,i,u,a,l,o,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}hu.Rules=B8;class Ke extends G{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=C.DECIMAL,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class xl extends Z{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}xl.controlType="decimal-column",xl.controlFieldType=C.DECIMAL;var Cd={Designer:Ke,Runtime:xl,Property:hu};class w8 extends be{constructor(e){super(e),Pe.call(this,e)}}class yu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}yu.Rules=w8;class Ge extends G{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timescope-column",Ge.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=C.TIMESCOPE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ml extends Z{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ml.controlType="timescope-column",Ml.controlFieldType=C.TIMESCOPE;var Ed={Designer:Ge,Runtime:Ml,Property:yu};class D8 extends be{constructor(e){super(e),Pe.call(this,e)}}class fu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}fu.Rules=D8;class Ze extends G{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=C.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ll extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Ll.controlType="timestamp-column",Ll.controlFieldType=C.TIMESTAMP;var _d={Designer:Ze,Runtime:Ll,Property:fu};class I8 extends Da{constructor(e){super(e),Pe.call(this,e)}}class vu extends W{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 Q(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}vu.Rules=I8;class Qe extends G{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=C.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class $l extends Z{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}$l.controlType="array-column",$l.controlFieldType=C.ARRAY;var Bd={Designer:Qe,Runtime:$l,Property:vu};class Nl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends G{constructor(e){super(e),this.props=new Nl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=C.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Hl extends Z{constructor(e){super(e),this.props=new Nl(e==null?void 0:e.props)}}Hl.controlType="department-column",Hl.controlFieldType=C.DEPARTMENTS;var wd={Designer:Xe,Runtime:Hl,Property:Nl};class A8 extends be{constructor(e){super(e),Pe.call(this,e)}}class mu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}mu.Rules=A8;class Je extends G{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=C.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vl extends Z{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Vl.controlType="auto-number-column",Vl.controlFieldType=C.AUTO_NUMBER;var Dd={Designer:Je,Runtime:Vl,Property:mu};class jl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends G{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=C.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ql extends Z{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}ql.controlType="file-column",ql.controlFieldType=C.FILE;var Id={Designer:Ye,Runtime:ql,Property:jl};class Wl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends G{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=r("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=C.IMAGE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ul extends Z{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}}Ul.controlType="image-column",Ul.controlFieldType=C.IMAGE;var Ad={Designer:pe,Runtime:Ul,Property:Wl};class zl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends G{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=r("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=C.EMPLOYEES,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Kl extends Z{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}Kl.controlType="people-column",Kl.controlFieldType=C.EMPLOYEES;var Fd={Designer:et,Runtime:Kl,Property:zl};class F8 extends be{constructor(e){super(e),Pe.call(this,e)}}class gu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}gu.Rules=F8;class tt extends G{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=r("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=C.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Gl extends Z{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Gl.controlType="location-column",Gl.controlFieldType=C.ADDRESS;var Sd={Designer:tt,Runtime:Gl,Property:gu};class S8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class bu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}bu.Rules=S8;const T8=1;class Ee extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new bu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=T8,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Td extends Z{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Td.controlType="custom-column";var Pd={Designer:Ee,Runtime:Td,Property:bu};class Zl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Hn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends G{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ql extends Z{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}}Ql.controlType="employee-column",Ql.controlFieldType=C.EMPLOYEES;var Rd={Designer:xe,Runtime:Ql,Property:Zl};class Xl extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class nt extends G{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Od extends Z{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}}Od.controlType="approval-status-column";var kd={Designer:nt,Runtime:Od,Property:Xl};class Jl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Tn extends G{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}}Tn.controlType="group-column",Tn.controlName="\u5408\u5E76\u5217",Tn.controlIcon="group-column",Tn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class xd extends Z{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}xd.controlType="group-column";var Md={Designer:Tn,Runtime:xd,Property:Jl},P8=Object.freeze({__proto__:null,VarcharColumn:gd,TextColumn:bd,DecimalColumn:Cd,TimescopeColumn:Ed,TimestampColumn:_d,ArrayColumn:Bd,DepartmentColumn:wd,AutoNumberColumn:Dd,FileColumn:Id,ImageColumn:Ad,PeopleColumn:Fd,LocationColumn:Sd,CustomColumn:Pd,OrderColumn:fd,OperationColumn:vd,EmployeeColumn:Rd,ApprovalStatusColumn:kd,GroupColumn:Md});class R8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Cu extends Ta{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(_=>new Ie(_)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Cu.RuntimeRules=R8;class Eu extends bw{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}Eu.controlType="simple-search",Eu.slotPosition={default:"search"},Eu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ld extends Iw{constructor(e){var n;super(e),this.props=new Cu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ld.controlType="simple-search";var $d={Designer:Eu,Runtime:Ld,Property:Cu},O8=Object.freeze({__proto__:null,SimpleSearch:$d});class Yl extends ka{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class k8 extends Nw{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class x8 extends zw{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function U8(t){return t}var M8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Nd={Designer:k8,Runtime:x8,Property:Yl,Setting:M8},L8=Object.freeze({__proto__:null,GridLayoutWrap:Nd});f.ActionBar=ad,f.ActionSetting=Ua,f.Address=ns,f.AdvancedContainer=nd,f.Amount=Yc,f.ApprovalStatusColumn=kd,f.ArrayColumn=Bd,f.AssignType=Oe,f.Attachment=Qc,f.AutoNumber=ls,f.AutoNumberColumn=Dd,f.BatchDeleteButton=gc,f.BatchPrintListButton=fc,f.BatchPrintRecordListButton=vc,f.BatchSubmissionListButton=po,f.Button=$o,f.Calc=os,f.CardGroup=Vs,f.Cascader=Ac,f.Checkbox=Dc,f.Col=Ls,f.CommentControl=Ec,f.CreateFormListButton=Yo,f.CustomColumn=Pd,f.DATE_CONFIG_TYPE=No,f.DATE_LIMIT_TYPE=Ho,f.Dashboard=cc,f.DataView=ed,f.DatePicker=Oc,f.DateRange=xc,f.DecimalColumn=Cd,f.Department=us,f.Department2=Ts,f.DepartmentColumn=wd,f.DepartmentType=mi,f.Divider=Xo,f.ElectronicSignature=Is,f.ElectronicSignatureConfig=Vo,f.Employee=Zc,f.Employee2=ws,f.EmployeeColumn=Rd,f.EncryptTypeEnum=Zo,f.Explain=vi,f.ExportConfig=Uo,f.ExportListButton=tc,f.ExportRecordListButton=nc,f.ExportTemplate=jt,f.FileColumn=Id,f.FlexStyleConfig=Go,f.FormSelectButton=uc,f.Grid=Ms,f.GridLayoutContainer=Ks,f.GridLayoutWrap=Nd,f.GridRow=Hs,f.GridTable=md,f.GridTableColumn=zs,f.GroupColumn=Md,f.Image=Xc,f.ImageColumn=Ad,f.ImageCompressType=Za,f.ImportConfig=Wo,f.ImportListBind=qo,f.ImportRecordListButton=ic,f.Input=Bc,f.InternalType=Ga,f.InvoiceCheckButton=yc,f.LINE_STYLE=ja,f.LimitDate=fi,f.LimitTime=Ha,f.Link=Lo,f.ListHeightSetting=za,f.ListSelectButton=ac,f.ListView=Ys,f.ListViewSelect=dc,f.LocationColumn=Sd,f.Number=Pc,f.OperationButton=mc,f.OperationColumn=vd,f.OrderColumn=fd,f.OrganizationSelection=Rs,f.OrganizeType=Ka,f.Page=td,f.Pagination=rc,f.PeopleColumn=Fd,f.Position=ud,f.PositioningContainer=id,f.PrintTemplate=Ko,f.Radio=Sc,f.ReferenceList=bc,f.RichText=qc,f.Row=Ns,f.SCORE_TYPE=Va,f.SUBTABLE_DEFAULT_MAX_HEIGHT=zo,f.Score=es,f.SearchDateRange=hs,f.SearchInput=Cs,f.SearchNumberRange=ss,f.Select=Uc,f.SelectMultiple=Kc,f.SelectRelation=ms,f.SimpleSearch=$d,f.Step=rd,f.StepPane=ld,f.SubTable=yd,f.SubTableColumn=qs,f.SubTableRow=Ws,f.SubmissionRecordListButton=ec,f.Tab=Zs,f.TabPane=Gs,f.TableLayout=od,f.TableLayoutCol=sd,f.TableLayoutRow=cd,f.TableLayoutWrapper=dd,f.Text=Mo,f.TextColumn=bd,f.TextOcrButton=hc,f.Textarea=Vc,f.TimePicker=Lc,f.TimeRange=Nc,f.TimescopeColumn=Ed,f.TimestampColumn=_d,f.Title=Jo,f.TitleConfigEnum=Re,f.Toolbox=Js,f.Tree=_s,f.UndersignedPerson=qa,f.VarcharColumn=gd,f.VueFormItem=fs,f.VuePage=ks,f.WPS=Fs,f.WPSSetting=jo,f.WpsOperationItem=Wa,f.baseControls=PD,f.columnControls=P8,f.formControls=A7,f.initExpression=qt,f.layoutControls=h8,f.listControls=C8,f.searchControls=O8,f.wrapControls=L8,Object.defineProperty(f,"__esModule",{value:!0})});