@byteluck-fe/model-driven-controls 6.2.0-beta.15 → 6.2.0-beta.21

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 (109) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
  5. package/dist/esm/baseControls/Button/property.js +10 -18
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
  8. package/dist/esm/baseControls/Dashboard/property.js +9 -16
  9. package/dist/esm/baseControls/Divider/property.js +4 -5
  10. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  11. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  12. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  13. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  14. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  15. package/dist/esm/baseControls/Link/property.js +4 -6
  16. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  17. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  18. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  19. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  20. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  21. package/dist/esm/baseControls/Text/property.js +7 -12
  22. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  23. package/dist/esm/baseControls/Title/property.js +4 -6
  24. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  25. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  26. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  27. package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
  28. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  29. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  30. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  31. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  32. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  33. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  34. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  35. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  36. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  37. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  38. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  39. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  40. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  41. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  42. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  43. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  44. package/dist/esm/formControls/Address/property.js +6 -10
  45. package/dist/esm/formControls/Amount/property.js +13 -24
  46. package/dist/esm/formControls/Attachment/property.js +25 -40
  47. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  48. package/dist/esm/formControls/Calc/property.js +10 -18
  49. package/dist/esm/formControls/Checkbox/property.js +16 -29
  50. package/dist/esm/formControls/DatePicker/property.js +15 -27
  51. package/dist/esm/formControls/DateRange/property.js +13 -23
  52. package/dist/esm/formControls/Department/property.js +12 -22
  53. package/dist/esm/formControls/Department2/property.js +19 -35
  54. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  55. package/dist/esm/formControls/Employee/property.js +10 -18
  56. package/dist/esm/formControls/Employee2/property.js +17 -32
  57. package/dist/esm/formControls/Image/designer.js +8 -8
  58. package/dist/esm/formControls/Image/property.js +7 -12
  59. package/dist/esm/formControls/Input/property.js +11 -20
  60. package/dist/esm/formControls/Number/property.js +14 -26
  61. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  62. package/dist/esm/formControls/Radio/property.js +13 -24
  63. package/dist/esm/formControls/RichText/property.js +11 -20
  64. package/dist/esm/formControls/Score/property.js +8 -13
  65. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  66. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  67. package/dist/esm/formControls/Select/property.js +12 -22
  68. package/dist/esm/formControls/SelectMultiple/property.js +11 -20
  69. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  70. package/dist/esm/formControls/Textarea/property.js +11 -20
  71. package/dist/esm/formControls/Tree/property.js +21 -39
  72. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  73. package/dist/esm/formControls/VuePage/property.js +6 -10
  74. package/dist/esm/formControls/WPS/designer.js +9 -9
  75. package/dist/esm/formControls/WPS/property.js +13 -24
  76. package/dist/esm/framework.js +69 -113
  77. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  78. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  79. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  80. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  81. package/dist/esm/layoutControls/Col/property.js +5 -8
  82. package/dist/esm/layoutControls/DataView/property.js +8 -14
  83. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  84. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  85. package/dist/esm/layoutControls/ListView/property.js +15 -28
  86. package/dist/esm/layoutControls/Page/property.js +2 -2
  87. package/dist/esm/layoutControls/Position/property.js +5 -8
  88. package/dist/esm/layoutControls/Row/property.js +3 -4
  89. package/dist/esm/layoutControls/Step/designer.js +2 -2
  90. package/dist/esm/layoutControls/Step/property.js +6 -10
  91. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  92. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  93. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  94. package/dist/esm/layoutControls/Tab/property.js +2 -2
  95. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  96. package/dist/esm/layoutControls/TableLayout/property.js +16 -30
  97. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  98. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  99. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  100. package/dist/esm/listControls/GridTable/designer.js +13 -4
  101. package/dist/esm/listControls/GridTable/property.js +15 -19
  102. package/dist/esm/listControls/SubTable/property.js +35 -68
  103. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  104. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  105. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  106. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  107. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  108. package/dist/index.umd.js +1 -1
  109. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var g8=Object.defineProperty,b8=Object.defineProperties;var C8=Object.getOwnPropertyDescriptors;var Td=Object.getOwnPropertySymbols,_8=Object.getPrototypeOf,E8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,w8=Reflect.get;var Pd=(f,r,z)=>r in f?g8(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,nt=(f,r)=>{for(var z in r||(r={}))E8.call(r,z)&&Pd(f,z,r[z]);if(Td)for(var z of Td(r))B8.call(r,z)&&Pd(f,z,r[z]);return f},zl=(f,r)=>b8(f,C8(r));var Kl=(f,r,z)=>w8(_8(f),z,r);var Gl=(f,r,z)=>new Promise((bu,On)=>{var Cu=fe=>{try{Rt(z.next(fe))}catch(Ot){On(Ot)}},_u=fe=>{try{Rt(z.throw(fe))}catch(Ot){On(Ot)}},Rt=fe=>fe.done?bu(fe.value):Promise.resolve(fe.value).then(Cu,_u);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",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_u="\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",Ld="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",$d="\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",Lh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",$h="\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",Ly="\u5355\u9009",$y="\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",Lf="\u6807\u7B7E\u9875\u5207\u6362\u65F6",$f="\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",Lv="\u4FDD\u5B58",$v="\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:bu,isNotObject:On,isNotArray:Cu,isNotBoolean:_u,runtimeRequired:Rt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Rd,pleaseEnterPlaceholder:Od,pleaseEnterFieldCode:kd,pleaseEnterForm:xd,pleaseEnterList:Md,pleaseEnterProcess:Ld,pleaseEnterLabel:$d,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:Lh,pleaseSelectDataCode:$h,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:Ly,richText:$y,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:Lf,rowSelected:$f,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:Lv,cancel:$v,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",Lm="Please enter the column width",$m="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",L0="\u4EBA\u5458",$0="\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",Lg="\u5217\u8868\u89C6\u56FE",$g="\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:Lm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$m,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:L0,file:$0,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:Lg,referenceList:$g,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",Lb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$b="\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",LC="\u5E8F\u53F7",$C="\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",L5={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:Lb,pleaseSelectOcrType:$b,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:LC,people:$C,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},Eu={zhCN:Kv,enUS:jg,jaJP:L5},Bu,$5=(Bu=window.localStorage.getItem("locale"))!==null&&Bu!==void 0?Bu:"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}({}),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 wu(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 wu(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,Au()?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 xn(t,e,n){return Au()?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&&xt(s,l.prototype),s},xn.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 wu(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 wu(t,e)}}function Du(t){var e=typeof Map=="function"?new Map:void 0;return Du=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 xn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Du(t)}function Au(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Au=function(){return!!t})()}var Iu=console;function Fu(){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=Iu).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=Iu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(pl(u)))}function G5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Su=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}(Du(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}(Su);function Mt(t){throw new Su(t)}function tr(t){throw new X5(t)}function Z5(t){Iu.error(new Su(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,Eu==null||(u=Eu[$5.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)){Fu("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,T){if(!s(B)||v(B)||g(B)||_(B)||d(B))return B;var F,P=0,ee=0;if(h(B))for(F=[],ee=B.length;P<ee;P++)F.push(n(m,B[P],T));else{F={};for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(F[m($,T)]=n(m,B[$],T))}return F},i=function(m,B){B=B||{};var T=B.separator||"_",F=B.split||/(?=[A-Z])/;return m.split(F).join(T)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,T){return T?T.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 T=B&&"process"in B?B.process:B;return typeof T!="function"?m:function(F,P){return T(F,m,P)}},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 Tu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Tu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Tu(i)}return e}}var n_=ur.default=Tu;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 Mn(t){return Array.isArray(t)}function a_(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pu(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 Pu(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 Ru(t){return l_(t)||s_(t)||h_(t)||d_()}function h_(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(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(Ru(u))),[4,E.apply(null,Ru(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(Ru(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_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],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 Ou(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 Ou(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 Ou(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 Ou(t,e)}}function ku(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,ku(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(Mn(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=[],Ln=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&&(Fu("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 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}}),ku(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}}}}),ku(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&&(Fu("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",vr),we(Ln,"staticRegisteredTypes",new Set(vr.map(function(t){return t.Designer.controlType}))),we(Ln,"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&&xu(t,e)}function S_(t,e){return e&&(T_(e)==="object"||typeof e=="function")?e:F_(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(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)},Mu=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 Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({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:""},Lu=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),L_=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:[]},$_=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:[]},Nn=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 Lt(o);(h=n.children)===null||h===void 0||h.push(v)}}))},Lt=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 $_(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:[]},te=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:""},$u=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 Nn(o):new Lt(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 Nn(o):new Lt(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 $u(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 $u(l)}))!==null&&a!==void 0?a:[]},Vn=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}(Vn),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 te(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 Nn(d):new Lt(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 Hn(t,e,n){return Wu()?Hn=Reflect.construct:Hn=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},Hn.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&&Nt(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 Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(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 Hn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(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 jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(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 qn(t,e,n){return hE()?qn=Reflect.construct:qn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&jn(s,l.prototype),s},qn.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 qn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(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 ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var 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(ne(u.messages.required,t.fullField))}function CE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(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},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(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?Vt[l](e)||i.push(ne(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ne(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(ne(u.messages[h].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(ne(u.messages[h].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(ne(u.messages[h].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(ne(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(ne(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(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var 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 LE(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 $E(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 Ht={string:DE,method:AE,number:IE,boolean:FE,regexp:SE,integer:TE,float:PE,array:RE,object:OE,enum:xE,pattern:ME,date:LE,url:Xu,hex:Xu,email:Xu,required:$E,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 T(F){if(Array.isArray(F)){var P;m=(P=m).concat.apply(P,F)}else m.push(F)}for(w=0;w<b.length;w++)T(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 T(ee,$){return ye(ye({},$),{},{fullField:m.fullField+"."+ee})}function F(ee){ee===void 0&&(ee=[]);var $=ee;if(Array.isArray($)||($=[$]),!l.suppressWarning&&$.length&&Ie.warning("async-validator:",$),$.length&&m.message!==void 0&&($=[].concat(m.message)),$=$.map(Rr(m)),l.first&&$.length)return E[m.field]=1,w($);if(!B)w($);else{if(m.required&&!b.value)return m.message!==void 0?$=[].concat(m.message).map(Rr(m)):l.error&&($=[l.error(m,ne(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 Ee in ae)if(ae.hasOwnProperty(Ee)){var gu=Array.isArray(ae[Ee])?ae[Ee]:[ae[Ee]];ae[Ee]=gu.map(T.bind(null,Ee))}var Rn=new Ie(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(Pt){var Be=[];$&&$.length&&Be.push.apply(Be,$),Pt&&Pt.length&&Be.push.apply(Be,Pt),w(Be.length?Be:null)})}}var P;m.asyncValidator?P=m.asyncValidator(m,b.value,F,b.source,l):m.validator&&(P=m.validator(m,b.value,F,b.source,l),P===!0?F():P===!1?F(m.message||m.field+" fails"):P instanceof Array?F(P):P instanceof Error&&F(P.message)),P&&P.then&&P.then(function(){return F()},function(ee){return F(ee)})},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&&!Ht.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ht.required:Ht[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Ie.warning=Sr,Ie.messages=Qu,Ie.validators=Ht;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 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 zE(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $r(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){k(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 x=function(){function e(n){var i=this;UE(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"slots",void 0),k(this,"slotPosition",void 0),k(this,"updateSetting",Wr),k(this,"removeSetting",qr),this._callControlHooks("preInstance",n);var u=$r(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,($r(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}();k(x,"mode","Designer"),k(x,"slots",void 0),k(x,"slotPosition",void 0),k(x,"controlName",r("CMD.7baf1751712168384")),k(x,"controlIcon","icon"),k(x,"controlType","control"),k(x,"controlFieldType",void 0),k(x,"controlEventKeys",[]),k(x,"controlCustomEvents",[]),k(x,"setting",[]),k(x,"__is_control__",!0),k(x,"removeSettingItem",qr),k(x,"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 ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function 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),ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var i=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}();ie(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(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 Wn(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 Un(t,e,n){return e=Kn(e),t6(t,zr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function zn(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 Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Gn(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){Gn(e,t);function e(n){zn(this,e);var i;i=Un(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){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(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(S,"Rules",Q),N(S,"RuntimeRules",H);var lt=function(t){Gn(e,t);function e(n){zn(this,e);var i;return i=Un(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=Zn(e),r6(t,Kr()?Reflect.construct(e,n||[],Zn(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 Xn(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 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 R=function(t){l6(e,t);function e(n){a6(this,e);var i;return i=u6(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(x);Xn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(R,"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=Qn(e),y6(t,Gr()?Reflect.construct(e,n||[],Qn(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 Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(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 O=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 S(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=Jn(e),C6(t,Xr()?Reflect.construct(e,n||[],Jn(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(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 M=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&&(L6(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)||$6(t)||P6()}function L6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $6(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,L=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 M(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}(x);Fe(L,"excludes",!1),Fe(L,"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=Yn(e),U6(t,pr()?Reflect.construct(e,n||[],Yn(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 Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(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 M(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=pn(e),Q6(t,eo()?Reflect.construct(e,n||[],pn(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 pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(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 ei=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 ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function 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){ti(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]),ti(i,"controlType","list"),ti(i,"props",void 0),i.props=new ei(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}(x);ti(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=ni(e),bB(t,oo()?Reflect.construct(e,n||[],ni(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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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 ei(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=ii(e),EB(t,so()?Reflect.construct(e,n||[],ii(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 ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(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 ui(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ai=Reflect.get:ai=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}},ai(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){ui(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]),ui(i,"controlType","column"),ui(i,"props",void 0),ui(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=ai(st(e.prototype),"toSchema",this).call(this);return PB(SB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);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=li(e),NB(t,fo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function LB(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 li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function $B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&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){$B(e,t);function e(n){LB(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=ri(e),zB(t,vo()?Reflect.construct(e,n||[],ri(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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}(M);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=oi(e),JB(t,go()?Reflect.construct(e,n||[],oi(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 oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function QB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&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}(L);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=ci(e),uw(t,Co()?Reflect.construct(e,n||[],ci(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 ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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=si(e),dw(t,_o()?Reflect.construct(e,n||[],si(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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}(M);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=di(e),gw(t,Bo()?Reflect.construct(e,n||[],di(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 di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(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}(L);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=hi(e),Dw(t,Do()?Reflect.construct(e,n||[],hi(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 hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(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 x{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 x{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 x{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 ue 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:ue,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 yi{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 fi{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 La{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,T;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=(T=e==null?void 0:e.remark)!=null?T:""}}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 La(d)))!=null?u:[new La],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: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 $a{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 $a(e==null?void 0:e.watermark),this.autoRename=new $a(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 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 Lo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class $o{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||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),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 x{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 mi 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"}}mi.Rules=Pw;class dt extends x{constructor(e){super(e),this.props=new mi(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 mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var qo={Designer:dt,Runtime:Rw,Property:mi};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 gi 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"}}gi.Rules=Ow;class ht extends Y{constructor(e){super(e),this.props=new gi(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 ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Wo={Designer:ht,Runtime:kw,Property:gi};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 bi 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:""}}bi.Rules=xw;class yt extends Y{constructor(e){super(e),this.props=new bi(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 ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Uo={Designer:yt,Runtime:Mw,Property:bi};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 Lw extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var zo={Designer:ft,Runtime:Lw,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 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 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 $w extends ue{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:$w,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 ue{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 ue{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 Ci(){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({},Ci())},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")}},Ci())},(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 p{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 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)}}_i.Rules=jw;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 qw extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Zo={Designer:Wt,Runtime:qw,Property:_i};class Ww extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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")}},Ci())}}}class Ei extends p{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 wr(e==null?void 0:e.fillPayload),this.listPageBind=new Lu(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}}Ei.Rules=Ww;class Ut extends Y{constructor(e){super(e),this.props=new Ei(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 Uw extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Qo={Designer:Ut,Runtime:Uw,Property:Ei};class zw extends U{constructor(e){super(e)}}class Kw extends Me{constructor(e){super(e)}}class zt extends j{constructor(e){super(e)}}zt.Rules=zw,zt.RuntimeRules=Kw;class Jo extends x{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"}}Jo.setting=[];class Gw extends q{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Yo={Designer:Jo,Runtime:Gw,Property:zt};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 Bi 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:[]}}Bi.Rules=Xw;class po extends x{constructor(e){super(e),this.props=new Bi(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 Bi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ec={Designer:po,Runtime:Zw,Property:Bi};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 wi 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:[]}}wi.Rules=Qw;class tc extends x{constructor(e){super(e),this.props=new wi(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 wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var nc={Designer:tc,Runtime:Jw,Property:wi};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 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: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 te(g)))!=null?v:[]}}Di.Rules=Yw;class bt extends Y{constructor(e){super(e),this.props=new Di(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 ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ic={Designer:bt,Runtime:pw,Property:Di};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 Ai 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 te(g)))!=null?v:[]}}Ai.Rules=eD;class Ct 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"}}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 ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var uc={Designer:Ct,Runtime:tD,Property:Ai};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 Ii 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 $o(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Ii.Rules=nD;class _t extends Y{constructor(e){super(e),this.props=new Ii(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 ue{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ac={Designer:_t,Runtime:iD,Property:Ii};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 ue{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 Fi 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}}Fi.Rules=aD;class Si extends x{constructor(e){super(e),this.props=new Fi(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"}}Si.controlEventKeys=["on_click"],Si.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 Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var rc={Designer:Si,Runtime:lD,Property:Fi};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 x{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 Ti extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pi.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}}Ti.Rules=oD;class Pi extends x{constructor(e){super(e),this.props=new Ti(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"}}Pi.controlEventKeys=["on_list_rowclick"],Pi.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 Ti(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var cc={Designer:Pi,Runtime:cD,Property:Ti};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 x{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=qt(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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{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 R{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 O{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 Kt extends S{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: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==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 te(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Kt.Rules=fD,Kt.RuntimeRules=vD;class Gt extends R{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:"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 O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}fc.controlFieldType=C.ARRAY;var vc={Designer:Gt,Runtime:fc,Property:Kt};class mD extends lt{constructor(e){super(e)}}class Ri extends S{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:Xt.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 te(E))})),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Ri.Rules=mD;class Xt extends R{constructor(e){super(e),this.props=new Ri(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"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=C.VARCHAR,Xt.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 O{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"radio"}}mc.controlFieldType=C.VARCHAR;var gc={Designer:Xt,Runtime:mc,Property:Ri};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=qt(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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends S{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:Qt.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)}}Zt.Rules=gD,Zt.RuntimeRules=bD;class Qt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=C.DECIMAL,Qt.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 O{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"number"}}bc.controlFieldType=C.DECIMAL;var Cc={Designer:Qt,Runtime:bc,Property:Zt};class Ja extends S{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b;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:Oi.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(w=>new yi(w)))!=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,this.isShowCustomDateFormat=(E=e==null?void 0:e.isShowCustomDateFormat)!=null?E:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Oi extends R{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}}Oi.controlFieldType=C.TIMESTAMP,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends O{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:Oi,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 ki extends S{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:xi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new yi(E)))!=null?g:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}ki.RuntimeRules=CD;class xi extends R{constructor(e){super(e),this.props=new ki(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}}xi.controlFieldType=C.TIMESCOPE,xi.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 O{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Bc.controlFieldType=C.TIMESCOPE;var wc={Designer:xi,Runtime:Bc,Property:ki};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 Jt extends S{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 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}}Jt.Rules=_D,Jt.RuntimeRules=ED;class Yt extends R{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 Dc extends O{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Dc.controlFieldType=C.TEXT;var Ac={Designer:Yt,Runtime:Dc,Property:Jt};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 pt extends S{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=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}}pt.Rules=BD,pt.RuntimeRules=wD;class en extends R{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 Ic extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ic.controlFieldType=C.TEXT;var Fc={Designer:en,Runtime:Ic,Property:pt};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 Mi extends S{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:Li.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 te(_))})),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}}Mi.Rules=DD;class Li extends R{constructor(e){super(e),this.props=new Mi(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"}}Li.controlFieldType=C.VARCHAR,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:"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 O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"select"}}Sc.controlFieldType=C.VARCHAR;var Tc={Designer:Li,Runtime:Sc,Property:Mi};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 tn extends S{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 te(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}}tn.Rules=AD,tn.RuntimeRules=ID;class $i extends R{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"}}$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 O{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Pc.controlFieldType=C.ARRAY;var Rc={Designer:$i,Runtime:Pc,Property:tn};class FD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends S{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:Vi.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 te(v))}))}}Ni.RuntimeRules=FD;class Vi extends R{constructor(e){super(e),this.props=new Ni(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"}}Vi.controlFieldType=C.EMPLOYEES,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:!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 O{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"employee"}}Oc.controlFieldType=C.EMPLOYEES;var kc={Designer:Vi,Runtime:Oc,Property:Ni};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 S{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 R{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 O{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:Hi.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 Hi 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"}}Hi.controlFieldType=C.IMAGE,Hi.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:Hi,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 nn extends S{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 $u({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: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==null?void 0:e.showUpperCase)!=null?_:!1}}nn.Rules=xD,nn.RuntimeRules=MD;class un extends R{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 Lc extends O{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Lc.controlFieldType=C.MONEY;var $c={Designer:un,Runtime:Lc,Property:nn};class LD 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 $D 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 an extends S{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 fi(s)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new fi),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}}an.Rules=LD,an.RuntimeRules=$D;class ln extends R{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 fi);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:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Nc extends O{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Nc.controlFieldType=C.DECIMAL;var Vc={Designer:ln,Runtime:Nc,Property:an};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 ji extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qi.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")}}ji.RuntimeRules=ND;class qi extends R{constructor(e){super(e),this.props=new ji(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"}}qi.controlFieldType=C.ADDRESS,qi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Hc extends O{constructor(e){super(e),this.props=new ji(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:qi,Runtime:Hc,Property:ji};class VD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends S{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(_=>{var E;(E=this.multistageFilling)==null||E.push(new te(_))}))}}Wi.RuntimeRules=VD;class rn extends R{constructor(e){super(e),this.props=new Wi(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 qc extends O{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}qc.controlFieldType=C.DEPARTMENTS;var Wc={Designer:rn,Runtime:qc,Property:Wi};class el extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i: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 R{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"}}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 Uc extends O{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:on,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 cn extends S{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: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=HD,cn.RuntimeRules=jD;class sn extends R{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 Kc extends O{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Kc.controlFieldType=C.CALC;var Gc={Designer:sn,Runtime:Kc,Property:cn};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 Ui extends S{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:zi.controlName}}Ui.RuntimeRules=qD;class zi extends R{constructor(e){super(e),this.props=new Ui(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"}}zi.controlFieldType=C.DECIMAL_RANGE,zi.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 O{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Xc.controlFieldType=C.DECIMAL_RANGE;var Zc={Designer:zi,Runtime:Xc,Property:Ui};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 Ki extends S{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:Gi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new yi(b)))!=null?_:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Ki.RuntimeRules=WD;class Gi extends R{constructor(e){super(e),this.props=new Ki(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"}}Gi.controlFieldType=C.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 O{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Qc.controlFieldType=C.ARRAY;var Jc={Designer:Gi,Runtime:Qc,Property:Ki};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 dn extends S{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}}dn.Rules=UD,dn.RuntimeRules=zD;class Ft extends R{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"}}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 O{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Yc.controlFieldType=C.ANY;var pc={Designer:Ft,Runtime:Yc,Property:dn};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 Xi extends S{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 Lu(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: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 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 te(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}}Xi.Rules=KD;class hn extends R{constructor(e){super(e),this.props=new Xi(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 es extends O{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}es.controlFieldType=C.VARCHAR;var ts={Designer:hn,Runtime:es,Property:Xi};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 O{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")}],Wn.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 yn extends S{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,T,F,P;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=(T=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map(ee=>new te(ee)))!=null?T:[],this.defaultValue=(F=e==null?void 0:e.defaultValue)!=null?F:[],this.treeQuery=(P=e==null?void 0:e.treeQuery)!=null?P:[]}}yn.Rules=GD,yn.RuntimeRules=XD;class ke extends R{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","on_tree_search"],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 O{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"tree"}}as.controlFieldType=C.ARRAY;var ls={Designer:ke,Runtime:as,Property:yn};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"},Wn.call(this,e,Le.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 fn extends S{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:Le.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 Vn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Le.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 T;(T=this.multistageFilling)==null||T.push(new te(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=ZD,fn.RuntimeRules=QD;class Le extends R{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}]}}Le.controlFieldType=C.EMPLOYEES,Le.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Le.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 O{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}rs.controlFieldType=C.EMPLOYEES;var os={Designer:Le,Runtime:rs,Property:fn};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"&&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 Zi extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n: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 Ro(e==null?void 0:e.signatureConfig)}}Zi.Rules=JD;class vn extends R{constructor(e){super(e),this.props=new Zi(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 cs extends O{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}cs.controlFieldType=C.VARCHAR;var ss={Designer:vn,Runtime:cs,Property:Zi};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 mn extends S{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: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: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}}mn.Rules=YD,mn.RuntimeRules=pD;class gn extends R{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 ds extends O{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}ds.controlFieldType=C.FILE;var hs={Designer:gn,Runtime:ds,Property:mn};class e7 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"},Wn.call(this,e,$e.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 t7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.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:$e.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:vi.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(F=>{var P;(P=this.multistageFilling)==null||P.push(new te(F))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(T=(B=e==null?void 0:e.disabledSelectedFilters)==null?void 0:B.map(F=>F.children!==void 0?new Nn(F):new Lt(F)))!=null?T:[]}}bn.Rules=e7,bn.RuntimeRules=t7;class $e extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name: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}}$e.controlName=r("CMD.department",null,"\u90E8\u95E8"),$e.controlFieldType=C.DEPARTMENTS,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ys extends O{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ys.controlFieldType=C.DEPARTMENTS;var fs={Designer:$e,Runtime:ys,Property:bn};class n7 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"},Wn.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 i7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends S{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Lu(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?_:vi.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=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var P;(P=this.multistageFilling)==null||P.push(new te(F))}))}}Cn.Rules=n7,Cn.RuntimeRules=i7;class St extends R{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}}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 O{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}vs.controlFieldType=C.DEPARTMENTS;var ms={Designer:St,Runtime:vs,Property:Cn};class u7 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class a7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class _n extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}_n.Rules=u7,_n.RuntimeRules=a7;class En extends R{constructor(e){super(e),this.props=new _n(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}}En.controlFieldType=C.ANY,En.controlEventKeys=[],En.setting=[];class gs extends O{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}gs.controlFieldType=C.ANY;var bs={Designer:En,Runtime:gs,Property:_n},l7=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:$c,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 L{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 r7 extends V{static get controlType(){return"grid"}constructor(e){super(e)}}var _s={Designer:Cs,Runtime:r7,Property:M};const o7=24;class Ne extends M{constructor(e){var n,i,u,a;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:o7,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 Bn extends L{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"}}Bn.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER],Bn.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:Bn,Runtime:nl,Property:Ne};class Qi extends M{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 Ji extends L{constructor(e){super(e),this.props=new Qi(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"}}Ji.excludes=[D.ROW],Ji.setting=[{key:"col-setting",visible:!0}];class Bs extends V{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ws={Designer:Ji,Runtime:Bs,Property:Qi};const c7=4;class Yi extends Ji{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)}}Yi.excludes=[D.GRID_ROW],Yi.setting=[],Yi.childrenMaxLength=c7;class s7 extends Bs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class d7 extends Qi{constructor(e){super(e)}}var Ds={Designer:Yi,Runtime:s7,Property:d7};class h7 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends M{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"}}pi.Rules=h7;class il extends L{constructor(e){super(e),this.props=new pi(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 y7 extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var As={Designer:il,Runtime:y7,Property:pi};class f7 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 eu extends M{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)}}eu.Rules=f7;class se extends L{constructor(e){super(e),this.props=new eu(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 eu(e==null?void 0:e.props)}}Is.controlType="subtable-column";var Fs={Designer:se,Runtime:Is,Property:eu};class ul extends M{constructor(e){super(e)}}class Ve extends L{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 v7 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:v7,Property:ul};class al extends M{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 L{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 M{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 L{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 m7 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:m7,Property:ll};class ol extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class g7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class tu extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}tu.Rules=g7;class wn extends L{constructor(e){super(e),this.props=new tu(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=[D.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 b7 extends V{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Os={Designer:wn,Runtime:b7,Property:tu};class Dn extends L{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 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=[D.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class C7 extends V{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ks={Designer:Dn,Runtime:C7,Property:ol};class xs extends M{constructor(e){super(e)}}class Ms extends L{constructor(e){super(e),this.props=new xs({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new Ne({span:12})}),new Bn({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 _7 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 Ls={Designer:Ms,Runtime:_7,Property:xs};class E7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class B7 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 An extends M{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 L_(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)}}An.Rules=B7,An.RuntimeRules=E7;class In extends L{constructor(e){super(e),this.props=new An(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"}}In.slotPosition={left:"list-view-left-slot"},In.excludes=[D.ROW],In.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"],In.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 V{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var $s={Designer:In,Runtime:w7,Property:An};class D7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nu extends M{constructor(e){var n,i,u,a,l,o,d;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(s=>new Ae(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(d=e==null?void 0:e.processFormReadonlyControlMode)!=null?d:"disabled"}}nu.RuntimeRules=D7;class Ns extends L{constructor(e){super(e),this.props=new nu(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 A7 extends V{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Vs={Designer:Ns,Runtime:A7,Property:nu};class I7 extends L{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 F7 extends V{static get controlType(){return"page"}constructor(e){super(e)}}class S7 extends M{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:I7,Runtime:F7,Property:S7};class T7 extends L{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 P7 extends V{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R7 extends M{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:T7,Runtime:P7,Property:R7};class O7 extends L{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 k7 extends V{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class x7 extends M{constructor(e){super(e)}}var qs={Designer:O7,Runtime:k7,Property:x7};class M7 extends L{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 L7 extends V{static get controlType(){return"position"}constructor(e){super(e)}}class $7 extends M{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:M7,Runtime:L7,Property:$7};class cl extends M{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 iu extends L{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"}}iu.slotPosition={default:"action-bar-slot"},iu.excludes=[],iu.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 N7 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:iu,Runtime:N7,Property:cl};class sl extends M{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 M{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 L{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 V7 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:V7,Property:dl};class uu extends L{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"}}uu.excludes=[],uu.controlEventKeys=["on_change_steps"],uu.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 H7 extends V{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ks={Designer:uu,Runtime:H7,Property:sl};class hl extends M{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w;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.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(d=e==null?void 0:e.labelWidth)!=null?d:"",this.align=(s=e==null?void 0:e.align)!=null?s:"",this.verticalAlign=(h=e==null?void 0:e.verticalAlign)!=null?h:"center",this.padding=(v=e==null?void 0:e.padding)!=null?v:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(_=e==null?void 0:e.border)!=null?_:{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=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(w=e==null?void 0:e.innerBorder)!=null?w:{borderWidth:1,borderColor:"",borderType:"solid"}}}class yl extends L{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}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:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class j7 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:j7,Property:hl};class fl extends M{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 L{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 q7 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:q7,Property:fl};const W7=24;class ml extends M{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:W7,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 gl extends L{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 U7 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:U7,Property:ml};class bl extends M{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 L{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 z7 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:z7,Property:bl},K7=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:Ls,ListView:$s,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 G7 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 X7 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 ei{constructor(t,e){var n,i,u,a,l,o,d,s,h,v,g,_,E,b,w,m,B,T,F,P,ee,$,ae,Pn,Ee,gu,Rn,Pt,Be,Dd,Ad,Id,Fd,Sd;super(t,e,Js.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:Lo,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=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(F=e==null?void 0:e.canClear)!=null?F:!0,this.serverPagination=(P=e==null?void 0:e.serverPagination)!=null?P:!1,this.isShowCaptionTip=(ee=e==null?void 0:e.isShowCaptionTip)!=null?ee:!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=(Ee=e==null?void 0:e.dataStorageDoc)!=null?Ee:new O_,this.fixedColumn=(gu=e==null?void 0:e.fixedColumn)!=null?gu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn: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 Fn=Js;Fn.Rules=G7,Fn.RuntimeRules=X7;class Sn extends ha{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 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}}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:"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 Z7 extends co{constructor(e){super(e),this.props=new Fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ys={Designer:Sn,Runtime:Z7,Property:Fn};class _l extends ei{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 Q7 extends be{constructor(e){super(e),this.caption.required=!1}}class au 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"}}au.Rules=Q7;class je extends G{constructor(e){super(e),this.props=new au(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 au(e==null?void 0:e.props)}}El.controlType="order-column",El.controlFieldType=C.DECIMAL;var ps={Designer:je,Runtime:El,Property:au};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===Si.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 J7=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=J7;class Y7 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:Y7,Property:_l},p7=Object.freeze({__proto__:null,SubTable:Ys,GridTable:td});class e8 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class lu 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}}}lu.Rules=e8;class We extends G{constructor(e){super(e),this.props=new lu(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 lu(e==null?void 0:e.props)}}Dl.controlType="varchar-column",Dl.controlFieldType=C.VARCHAR;var nd={Designer:We,Runtime:Dl,Property:lu};class t8 extends be{constructor(e){super(e),Pe.call(this,e)}}class ru 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)}}ru.Rules=t8;class Ue 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{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 ru(e==null?void 0:e.props)}}Al.controlType="text-column",Al.controlFieldType=C.TEXT;var id={Designer:Ue,Runtime:Al,Property:ru};class n8 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class ou 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)}}ou.Rules=n8;class ze 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{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 ou(e==null?void 0:e.props)}}Il.controlType="decimal-column",Il.controlFieldType=C.DECIMAL;var ud={Designer:ze,Runtime:Il,Property:ou};class i8 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:Ke.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}cu.Rules=i8;class Ke 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}}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 cu(e==null?void 0:e.props)}}Fl.controlType="timescope-column",Fl.controlFieldType=C.TIMESCOPE;var ad={Designer:Ke,Runtime:Fl,Property:cu};class u8 extends be{constructor(e){super(e),Pe.call(this,e)}}class su 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}}su.Rules=u8;class Ge extends G{constructor(e){super(e),this.props=new su(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 su(e==null?void 0:e.props)}}Sl.controlType="timestamp-column",Sl.controlFieldType=C.TIMESTAMP;var ld={Designer:Ge,Runtime:Sl,Property:su};class a8 extends Ca{constructor(e){super(e),Pe.call(this,e)}}class du 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:[{}])}}du.Rules=a8;class Xe extends G{constructor(e){super(e),this.props=new du(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 du(e==null?void 0:e.props)}}Tl.controlType="array-column",Tl.controlFieldType=C.ARRAY;var rd={Designer:Xe,Runtime:Tl,Property:du};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 l8 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:Qe.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=l8;class Qe extends G{constructor(e){super(e),this.props=new hu(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 hu(e==null?void 0:e.props)}}Ol.controlType="auto-number-column",Ol.controlFieldType=C.AUTO_NUMBER;var cd={Designer:Qe,Runtime:Ol,Property:hu};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 Ll extends X{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}Ll.controlType="image-column",Ll.controlFieldType=C.IMAGE;var dd={Designer:Ye,Runtime:Ll,Property:Ml};class $l 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 $l(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=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 $l(e==null?void 0:e.props)}}Nl.controlType="people-column",Nl.controlFieldType=C.EMPLOYEES;var hd={Designer:pe,Runtime:Nl,Property:$l};class r8 extends be{constructor(e){super(e),Pe.call(this,e)}}class yu 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)}}yu.Rules=r8;class et extends G{constructor(e){super(e),this.props=new yu(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 yu(e==null?void 0:e.props)}}Vl.controlType="location-column",Vl.controlFieldType=C.ADDRESS;var yd={Designer:et,Runtime:Vl,Property:yu};class o8 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 fu 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:""}}fu.Rules=o8;const c8=1;class _e extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new fu(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=c8,_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 fu(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:fu};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 Vn((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 Tn extends G{constructor(e){super(e),this.props=new Wl(e==null?void 0:e.props)}}Tn.controlType="group-column",Tn.controlName=r("CMD.43541769566517351"),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 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:Tn,Runtime:Cd,Property:Wl},s8=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 d8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vu 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?_:[]}}vu.RuntimeRules=d8;class mu extends pB{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}mu.controlType="simple-search",mu.slotPosition={default:"search"},mu.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 vu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ed.controlType="simple-search";var Bd={Designer:mu,Runtime:Ed,Property:vu},h8=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 y8 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 f8 extends Iw{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function D8(t){return t}var v8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},wd={Designer:y8,Runtime:f8,Property:Ul,Setting:v8},m8=Object.freeze({__proto__:null,GridLayoutWrap:wd});f.ActionBar=Us,f.ActionSetting=Na,f.Address=jc,f.AdvancedContainer=js,f.Amount=$c,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=vi,f.Divider=jo,f.ElectronicSignature=ss,f.ElectronicSignatureConfig=Ro,f.Employee=kc,f.Employee2=os,f.EmployeeColumn=md,f.EncryptTypeEnum=Vo,f.Explain=fi,f.ExportConfig=Mo,f.ExportListButton=Ko,f.ExportRecordListButton=Go,f.ExportTemplate=jt,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=yi,f.Link=Fo,f.ListHeightSetting=Va,f.ListSelectButton=Qo,f.ListView=$s,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=$o,f.Radio=gc,f.ReferenceList=cc,f.RichText=Fc,f.Row=ws,f.SCORE_TYPE=xa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Lo,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=Ls,f.Tree=ls,f.UndersignedPerson=La,f.VarcharColumn=nd,f.VueFormItem=pc,f.VuePage=bs,f.WPS=hs,f.WPSSetting=Oo,f.WpsOperationItem=$a,f.baseControls=dD,f.columnControls=s8,f.formControls=l7,f.initExpression=qt,f.layoutControls=K7,f.listControls=p7,f.searchControls=h8,f.wrapControls=m8,Object.defineProperty(f,"__esModule",{value:!0})});
1
+ var g8=Object.defineProperty,b8=Object.defineProperties;var C8=Object.getOwnPropertyDescriptors;var Td=Object.getOwnPropertySymbols,E8=Object.getPrototypeOf,_8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,w8=Reflect.get;var Pd=(y,r,z)=>r in y?g8(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,nt=(y,r)=>{for(var z in r||(r={}))_8.call(r,z)&&Pd(y,z,r[z]);if(Td)for(var z of Td(r))B8.call(r,z)&&Pd(y,z,r[z]);return y},za=(y,r)=>b8(y,C8(r));var Ka=(y,r,z)=>w8(E8(y),z,r);var Ga=(y,r,z)=>new Promise((bu,On)=>{var Cu=ye=>{try{Rt(z.next(ye))}catch(Ot){On(Ot)}},Eu=ye=>{try{Rt(z.throw(ye))}catch(Ot){On(Ot)}},Rt=ye=>ye.done?bu(ye.value):Promise.resolve(ye.value).then(Cu,Eu);Rt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const s=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),a||(n?a=n:a=t),a};var 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",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ye="\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",lh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ah="\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",fh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",yh="\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",Eh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_h="\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",ef="\u5217\u8868\u9009\u62E9",tf="\u5217\u8868\u89C6\u56FE",nf="\u64CD\u4F5C\u6309\u94AE",uf="\u5206\u9875",lf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",af="\u8BF4\u660E\u6587\u5B57",rf="\u6587\u5B57\u8BC6\u522B",of="\u6807\u9898\u7EC4\u4EF6",cf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",sf="\u6570\u7EC4",df="\u81EA\u52A8\u7F16\u53F7",hf="\u81EA\u5B9A\u4E49",ff="\u6570\u503C",yf="\u90E8\u95E8",vf="\u4EBA\u5458",mf="\u9644\u4EF6",gf="\u56FE\u7247",bf="\u5730\u5740",Cf="\u64CD\u4F5C",Ef="\u5E8F\u53F7",_f="\u4EBA\u5458",Bf="\u957F\u6587\u672C",wf="\u65E5\u671F\u533A\u95F4",Df="\u65E5\u671F",Af="\u77ED\u6587\u672C",If="\u6362\u884C\u5BB9\u5668Wrap",Ff="\u8868\u683C",Sf="\u660E\u7EC6\u5B50\u8868",Tf="\u5730\u5740",Pf="\u91D1\u989D",Rf="\u8BA1\u7B97\u516C\u5F0F",Of="\u591A\u9009",kf="\u7535\u5B50\u7B7E\u7AE0",xf="\u5355\u884C\u6587\u672C",Mf="\u6570\u5B57",$f="\u4E1A\u52A1\u7EC4\u7EC7",Lf="\u5355\u9009",Nf="\u5BCC\u6587\u672C",Vf="\u8BC4\u5206",Hf="\u6570\u5B57\u533A\u95F4",jf="\u4E0B\u62C9\u5355\u9009",qf="\u4E0B\u62C9\u591A\u9009",Wf="\u5173\u8054\u5355\u9009",Uf="\u591A\u884C\u6587\u672C",zf="\u6811",Kf="Vue\u5BB9\u5668",Gf="Vue\u9875\u9762",Xf="\u5728\u7EBF\u6587\u6863",Zf="\u6309\u94AE\u64CD\u4F5C\u680F",Qf="\u9AD8\u7EA7\u5BB9\u5668",Jf="\u5206\u7EC4",Yf="\u6805\u683C\u5217",pf="\u6570\u636E\u5BB9\u5668",ey="\u753B\u5E03",ty="\u6362\u884C\u5BB9\u5668",ny="\u6805\u683C\u7B49\u5206\u884C",iy="\u5217\u8868\u5BB9\u5668",uy="\u81EA\u7531\u9875\u9762",ly="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ay="\u5B9A\u4F4D\u5BB9\u5668",ry="\u6805\u683C\u5E03\u5C40",oy="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",cy="\u660E\u7EC6\u5B50\u8868\u884C",sy="\u6807\u7B7E\u9875",dy="\u6807\u7B7E\u5355\u5143",hy="\u5DE5\u5177\u680F",fy="\u6279\u91CF\u63D0\u4EA4",yy="\u5BFC\u51FA\u8BB0\u5F55",vy="\u5217\u8868\u89C6\u56FE",my="\u7ED3\u675F\u65F6\u95F4",gy="\u5F00\u59CB\u65F6\u95F4",by="\u5355\u4F4D",Cy="\u7ED3\u679C",Ey="\u5E01\u79CD",_y="\u7ED3\u675F\u65E5\u671F",By="\u5F00\u59CB\u65E5\u671F",wy="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Dy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ay="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Iy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Fy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Sy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Ty="\u8BF7\u9009\u62E9",Py="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Ry="\u8BF7\u9009\u62E9\u90E8\u95E8",Oy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ky="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",xy="\u8BF7\u9009\u62E9\u5730\u5740",My="\u5F39\u7A97\u786E\u8BA4\u65F6",$y="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Ly="\u884C\u9009\u4E2D\u65F6",Ny="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Vy="\u884C\u5220\u9664\u524D",Hy="\u884C\u70B9\u51FB\u65F6",jy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",qy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Wy="\u91CD\u547D\u540D\u65F6",Uy="\u4FDD\u5B58\u6587\u4EF6\u65F6",zy="\u6253\u5F00\u6587\u4EF6\u65F6",Ky="\u83B7\u53D6\u7126\u70B9\u65F6",Gy="\u5931\u53BB\u7126\u70B9\u65F6",Xy="\u7528\u6237\u8F93\u5165\u65F6",Zy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Qy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Jy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Yy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",py="\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",lv="\u8BF7\u8F93\u5165\u65E5\u671F",av="\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",fv="\u63D0\u793A\u6587\u5B57",yv="\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",Ev="\u6D41\u7A0B\u72B6\u6001",_v="\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:bu,isNotObject:On,isNotArray:Cu,isNotBoolean:Eu,runtimeRequired:Rt,pleaseEnterCaption:ye,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:lh,pleaseBindAtLeastOneDisplayValue:ah,pleaseSelectProvince:rh,pleaseSelectCity:oh,pleaseSelectDistrict:ch,limitRowsCannotBeLessThan0:sh,TheNumberOfRowsCannotBeLessThanMinRows:dh,pleaseEnterColumnWidth:hh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fh,pleaseCompleteAllRulesAndConditions:yh,pleaseSelectControl:vh,pleaseSelectAtLeastOneColumn:mh,pleaseSelectFillBackMode:gh,pleaseSelectDashboard:bh,rootNodeIsRequired:Ch,theViewNameCannotBeEmpty:Eh,pleaseSelectOcrType:_h,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:ef,ListViewSelect:tf,operationButton:nf,pagination:uf,submissionRecordListButton:lf,text:af,textOcrButton:rf,title:of,approvalStatusColumn:cf,array:sf,autoNumber:df,custom:hf,decimal:ff,department:yf,employee:vf,file:mf,image:gf,location:bf,operation:Cf,order:Ef,people:_f,long:Bf,timescope:wf,timestamp:Df,varchar:Af,gridLayoutWrap:If,gridTable:Ff,subTable:Sf,address:Tf,amount:Pf,calc:Rf,checkBox:Of,electronicSignature:kf,input:xf,number:Mf,organizationSelection:$f,radio:Lf,richText:Nf,score:Vf,searchNumberRange:Hf,select:jf,selectMultiple:qf,selectRelation:Wf,textarea:Uf,tree:zf,vueFormItem:Kf,vuePage:Gf,WPS:Xf,actionBar:Zf,advancedContainer:Qf,cardGroup:Jf,col:Yf,dataView:pf,grid:ey,gridLayoutContainer:ty,gridRow:ny,listView:iy,page:uy,position:ly,positioningContainer:ay,row:ry,subtableColumn:oy,subtableRow:cy,tab:sy,tabPane:dy,toolbox:hy,batchSubmissionListButton:fy,exportRecordListButton:yy,listViewSelect:vy,endTime:my,startTime:gy,unit:by,result:Cy,currency:Ey,endDate:_y,startDate:By,pleaseSelectCompanyName:wy,pleaseSelectPhoneOrEmail:Dy,pleaseSelectSignType:Ay,pleaseSelectSigner:Iy,pleaseSelectOnlyOne:Fy,pleaseSelectSignFile:Sy,pleaseSelect:Ty,pleaseSelectOrg:Py,pleaseSelectDept:Ry,pleaseSelectEndDate:Oy,pleaseSelectStartDate:ky,pleaseChooseAddress:xy,modalConfirm:My,tabChange:$y,rowSelected:Ly,listDataImport:Ny,rowDelete:Vy,rowClick:Hy,cellRender:jy,onClickBtn:qy,rename:Wy,onSaveFile:Uy,onOpenFile:zy,onFocus:Ky,onBlur:Gy,onInput:Xy,listDataAdd:Zy,listDataDelete:Qy,listDataBack:Jy,listDataCreate:Yy,listDataChange:py,search:ev,valueChange:tv,finished:nv,click:iv,pleaseEnterNameorEmail:uv,pleaseEnterDate:lv,pleaseEnterAutonumber:av,pleaseEnter:rv,defaultTemplate:ov,left:cv,top:sv,default:"\u666E\u901A",readonly:dv,required:hv,textTip:fv,hideCaption:yv,titleRequired:vv,organizationalForm:mv,businessType:gv,deleteConfirm:bv,hide:Cv,processStatus:Ev,approvedDocuments:_v,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",lm="Please bind the list",am="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}",fm="Please enter a value less than or equal to {max}",ym="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}",Em="The number of attachment uploads exceeds the limit",_m="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",l0="Please select the associated table to set the business model",a0="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",f0="\u6309\u94AE",y0="\u521B\u5EFA\u5355\u636E",v0="\u4EEA\u8868\u76D8",m0="\u5206\u5272\u7EBF",g0="\u5BFC\u51FA",b0="\u8868\u5355\u64CD\u4F5C",C0="\u5BFC\u5165",E0="\u53D1\u7968\u8BC6\u522B",_0="\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",lg="\u5BCC\u6587\u672C",ag="\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",fg="Vue\u5BB9\u5668",yg="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",Eg="\u6570\u636E\u5BB9\u5668",_g="\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:lm,pleaseEnterProcess:am,pleaseEnterLabel:rm,pleaseEnterValue:om,bizKeyNotBindFiled:cm,pleaseSelectOneField:sm,pleaseEnterNumberRange:dm,pleaseEnterAValueGreaterThanMin:hm,pleaseEnterAValueLessThanMax:fm,numberRangeSetError:ym,stringRangeError:vm,attachmentMaxSize:mm,pleaseEnterTotalScoreSetting:gm,theTotalScoreMustNotBeLessThan1:bm,scoreDefaultValueRange:Cm,attachmentLimitError:Em,PleaseReselectTheOptionalQuantity:_m,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:l0,pleaseSelectSvcCode:a0,pleaseSelectJoinFieldCode:r0,pleaseSelectMainFieldCode:o0,pleaseSelectSortFieldCode:c0,batchDeleteButton:s0,batchPrintListButton:d0,batchPrintRecordList:h0,button:f0,createFormListButton:y0,dashboard:v0,divider:m0,exportListButton:g0,formSelectButton:b0,importRecordListButton:C0,invoiceCheckButton:E0,link:_0,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:lg,score:ag,searchNumberRange:rg,select:og,selectMultiple:cg,selectRelation:sg,textarea:dg,tree:hg,vueFormItem:fg,vuePage:yg,WPS:vg,actionBar:mg,advancedContainer:gg,cardGroup:bg,col:Cg,dataView:Eg,grid:_g,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",lb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ab="{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",fb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yb="\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",Eb="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",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",lC="\u6279\u91CF\u5220\u9664",aC="\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",fC="\u8868\u5355\u64CD\u4F5C",yC="\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",EC="\u5206\u9875",_C="\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",l5="\u5173\u8054\u5355\u9009",a5="\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",f5="\u5206\u7EC4",y5="\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",E5="\u81EA\u7531\u9875\u9762",_5="\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:lb,pleaseEnterNumberRange:ab,pleaseEnterAValueGreaterThanMin:rb,pleaseEnterAValueLessThanMax:ob,numberRangeSetError:cb,stringRangeError:sb,attachmentMaxSize:db,pleaseEnterTotalScoreSetting:hb,theTotalScoreMustNotBeLessThan1:fb,scoreDefaultValueRange:yb,attachmentLimitError:vb,PleaseReselectTheOptionalQuantity:mb,TheMaximumLengthIsGreaterThanTheMinimumLength:gb,TheMinimumLengthIsGreaterThanTheMaximumLength:bb,PleaseSelectTheCorrectOptionSettings:Cb,optionIdIsRepeat:Eb,optionIsRequired:_b,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:lC,batchPrintListButton:aC,batchPrintRecordList:rC,button:oC,createFormListButton:cC,dashboard:sC,divider:dC,exportListButton:hC,formSelectButton:fC,importRecordListButton:yC,invoiceCheckButton:vC,link:mC,listSelectButton:gC,ListViewSelect:bC,operationButton:CC,pagination:EC,submissionRecordListButton:_C,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:l5,textarea:a5,tree:r5,vueFormItem:o5,vuePage:c5,WPS:s5,actionBar:d5,advancedContainer:h5,cardGroup:f5,col:y5,dataView:v5,grid:m5,gridLayoutContainer:g5,gridRow:b5,listView:C5,page:E5,position:_5,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},Bu,L5=(Bu=window.localStorage.getItem("locale"))!==null&&Bu!==void 0?Bu:"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}({}),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}({}),Xa={DEFAULT:"default"},Za="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",N5=Za+"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?Za:N5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function wu(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 wu(t)}function H5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qa(t,e,n){return e=kt(e),U5(t,Au()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function Ja(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Au()?xn=Reflect.construct:xn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&xt(h,a.prototype),h},xn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Ya(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 pa(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 wu(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 wu(t,e)}}function Du(t){var e=typeof Map=="function"?new Map:void 0;return Du=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 xn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Du(t)}function Au(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Au=function(){return!!t})()}var Iu=console;function Fu(){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=Iu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(pa(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=Iu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(pa(u)))}function G5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Su=function(t){Ya(e,t);function e(n){Ja(this,e);var i;return i=Qa(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}(Du(Error)),X5=function(t){Ya(e,t);function e(n){Ja(this,e);var i;return i=Qa(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Su);function Mt(t){throw new Su(t)}function tr(t){throw new X5(t)}function Z5(t){Iu.error(new Su(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(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Fu("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var eE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},tE={exports:{}};(function(t){(function(e){var n=function(m,B,T){if(!h(B)||v(B)||g(B)||E(B)||s(B))return B;var F,P=0,ee=0;if(d(B))for(F=[],ee=B.length;P<ee;P++)F.push(n(m,B[P],T));else{F={};for(var L in B)Object.prototype.hasOwnProperty.call(B,L)&&(F[m(L,T)]=n(m,B[L],T))}return F},i=function(m,B){B=B||{};var T=B.separator||"_",F=B.split||/(?=[A-Z])/;return m.split(F).join(T)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,T){return T?T.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var B=u(m);return B.substr(0,1).toUpperCase()+B.substr(1)},a=function(m,B){return i(m,B).toLowerCase()},o=Object.prototype.toString,s=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},d=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 T=B&&"process"in B?B.process:B;return typeof T!="function"?m:function(F,P){return T(F,m,P)}},w={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(m,B){return n(b(u,B),m)},decamelizeKeys:function(m,B){return n(b(a,B),m,B)},pascalizeKeys:function(m,B){return n(b(l,B),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(eE)})(tE);var ur={};Object.defineProperty(ur,"__esModule",{value:!0});function Tu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Tu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Tu(i)}return e}}var nE=ur.default=Tu;function iE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":iE(t))==="object"?nE(t):t}function uE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mn(t){return Array.isArray(t)}function lE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pu(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 aE(t){if(Array.isArray(t))return Pu(t)}function lr(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function rE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){lr(l,i,u,a,o,"next",s)}function o(s){lr(l,i,u,a,o,"throw",s)}a(void 0)})}}function oE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function cE(t,e,n){return e&&ar(t.prototype,e),n&&ar(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 sE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dE(){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 Ru(t){return aE(t)||sE(t)||hE(t)||dE()}function hE(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function fE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(v){return h([d,v])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var yE=function(){function t(){oE(this,t),rr(this,"_events",new Map),rr(this,"debug",!1)}return cE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return rE(function(){var a,o,s,h,d,v,g,E,_,b,w,m;return fE(this,function(B){switch(B.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,v=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),g=s[Symbol.iterator](),B.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))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(_.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(Ru(u))),[4,_.apply(null,Ru(u))];case 4:return b=B.sent(),this.debug&&er.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(Ru(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 h=!0,[3,2];case 7:return[3,10];case 8:return m=B.sent(),d=!0,v=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)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),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function vE(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 mE(t,e,n){return e&&or(t.prototype,e),n&&or(t,n),t}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}var bE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],CE=function(){function t(){vE(this,t)}return mE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();gE(CE,"events",bE);function Ou(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 EE(t){if(Array.isArray(t))return Ou(t)}function _E(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BE(){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 EE(t)||_E(t)||wE(t)||BE()}function wE(t,e){if(!!t){if(typeof t=="string")return Ou(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 Ou(t,e)}}function ku(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,ku(t,"parent"))}function DE(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 fr(t,e,n){return DE(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];var h;return l===dr?u:(h=Reflect).get.apply(h,[u,l].concat(cr(o)))},set:function(u,l,a){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(Mn(t)&&l==="length"&&a===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,l,a].concat(cr(s)));return uE(a)&&sr(a,e,n),v}})}function ce(t,e,n,i,u){var l=i!=null?i:t,a=fr(hr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=fr(hr(s),l,u)},enumerable:!0})}function AE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yr(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&&yr(t.prototype,e),n&&yr(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=[],$n=function(){function t(e){AE(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 IE(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&&(Fu("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(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else 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}}),ku(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var s=a[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),v=o[s]||[],g;return v.length!==h.length?g=v[0]:g=v[d],g}}}}),ku(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var a=new u(i);l=Array.from(a)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,a=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Fu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();we($n,"staticControlsRuntimeRules",new Map),we($n,"staticControls",vr),we($n,"staticRegisteredTypes",new Set(vr.map(function(t){return t.Designer.controlType}))),we($n,"staticRegisteredConfigs",new Map);function FE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Ln(e),SE(t,mr()?Reflect.construct(e,n||[],Ln(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 f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function SE(t,e){return e&&(TE(e)==="object"||typeof e=="function")?e:FE(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function TE(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);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},gr=function t(e){A(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},br=function t(e){A(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},PE=function t(e){A(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new br(e==null?void 0:e.pc),this.mobile=new br(e==null?void 0:e.mobile)},Mu=function(t){re(e,t);function e(n){A(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(gr),RE=function t(e){A(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},OE=function t(e){A(this,t);var n,i;f(this,"type",void 0),f(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){A(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},kE=function(t){re(e,t);function e(n){A(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),Cr=function t(e){A(this,t);var n,i;f(this,"fieldCode",void 0),f(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},$u=function t(e){A(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new Cr(a)}))!==null&&u!==void 0?u:[]},xE=function t(e){A(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},ME=function(t){re(e,t);function e(n){A(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),$E=function t(e){A(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new xE(a)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new ME(a)}))!==null&&i!==void 0?i:[]},LE=function t(e){A(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){A(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Nn=function t(e){var n=this;A(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,v=new $t(o);(d=n.children)===null||d===void 0||d.push(v)}}))},$t=function t(e){A(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new LE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},NE=function t(e){A(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){A(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},Lu=function t(e){A(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},VE=function t(e){A(this,t);var n,i;f(this,"columnName",void 0),f(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Nu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Nn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Nn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new VE(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;A(this,t);var i,u,l,a,o,s,h,d;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Lu(v))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,Nu.call(this,e)},Vu=function t(e){A(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){A(this,t);var n,i,u,l,a,o,s,h,d,v;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Er=function t(e){A(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new Lu(a)}))!==null&&u!==void 0?u:[]},Vn=function(t){re(e,t);function e(n){A(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new Er(a)}))!==null&&u!==void 0?u:[],i}return e}(Z),HE=function(t){re(e,t);function e(n){A(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new Er(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),_r=function(t){re(e,t);function e(n){A(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Vn),Br=function t(e){A(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new te(a)}))!==null&&u!==void 0?u:[]},wr=function(t){re(e,t);function e(n){A(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Nu.call(i,n),i}return e}(Br),Dr=function(t){re(e,t);function e(n){A(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Br),Ar=function t(e){A(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Ir=function t(e){A(this,t);var n,i,u;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},jE=function(t){re(e,t);function e(n){A(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(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 jE(n)}))!==null&&e!==void 0?e:[]}var Hu=function t(){A(this,t)},qE=function(t){re(e,t);function e(n){A(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Hu),WE=function t(e){A(this,t);var n,i;f(this,"amount",void 0),f(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},UE=function(t){re(e,t);function e(n){A(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Hu),zE=function t(e){A(this,t);var n,i;f(this,"min",void 0),f(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},KE=function t(e){A(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},GE=function(t){re(e,t);function e(n){A(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Hu),XE=function t(e){A(this,t);var n,i;f(this,"result",void 0),f(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},ZE=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}({}),QE=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);var n,i,u,l,a,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},JE=function t(e){A(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new Cr(a)}))!==null&&u!==void 0?u:[],Nu.call(this,e)},YE=function t(e){A(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},pE=function t(e){A(this,t);var n,i;f(this,"optCode",void 0),f(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},e_=function t(e){A(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new Nn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new t_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},t_=function t(e){A(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},n_=function t(e){A(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new e_(a)}))!==null&&u!==void 0?u:[]:[]},i_=function t(e){A(this,t);var n,i,u,l,a;f(this,"groupDefaultExpanded",void 0),f(this,"suppressCount",void 0),f(this,"groupFields",void 0),f(this,"groupHeaderName",void 0),f(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(a=e==null?void 0:e.showFooterStatistics)!==null&&a!==void 0?a:!1},u_=function t(e){A(this,t);var n;f(this,"datasourceBind",void 0),f(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]};function l_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a_(t,e,n){return e=Lt(e),c_(t,Wu()?Reflect.construct(e,n||[],Lt(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 Hn(t,e,n){return Wu()?Hn=Reflect.construct:Hn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Nt(h,a.prototype),h},Hn.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 Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function r_(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 o_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function c_(t,e){return e&&(s_(e)==="object"||typeof e=="function")?e:l_(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function s_(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||!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 Hn(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(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){r_(e,t);function e(n){return ju(this,e),a_(this,e)}return e}(qu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ju(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new YE(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},fe.apply(this,arguments)}function d_(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 jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function h_(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function qn(t,e,n){return h_()?qn=Reflect.construct:qn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&jn(h,a.prototype),h},qn.apply(null,arguments)}function f_(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||!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 qn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},zu(t)}var y_=/%[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 ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(y_,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return a}return u}function v_(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||v_(e)&&typeof t=="string"&&!t)}function m_(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Tr(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function g_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Pr=function(t){d_(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 b_(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 Pr(w,Ku(w))):v()},_=g_(t);Tr(_,n,E)});return u.catch(function(v){return v}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,s=0,h=[],d=new Promise(function(v,g){var E=function(b){if(h.push.apply(h,b),s++,s===o)return i(h),h.length?g(new Pr(h,Ku(h))):v()};a.length||(i(h),v()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?Tr(b,n,E):m_(b,n,E)})});return d.catch(function(v){return v}),d}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]=fe(fe({},t[n]),i):t[n]=i}}return t}function kr(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||K(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function C_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(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},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(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 l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?Vt[a](e)||i.push(ne(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ne(u.messages.types[a],t.fullField,t.type))}function __(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,v=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(v?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var lt="enum";function B_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(ne(u.messages[lt],t.fullField,t[lt].join(", ")))}function w_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var I={required:kr,whitespace:C_,type:E_,range:__,enum:B_,pattern:w_};function D_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,l,u,"string"),K(e,"string")||(I.type(t,e,i,l,u),I.range(t,e,i,l,u),I.pattern(t,e,i,l,u),t.whitespace===!0&&I.whitespace(t,e,i,l,u))}n(l)}function A_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&I.type(t,e,i,l,u)}n(l)}function I_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&(I.type(t,e,i,l,u),I.range(t,e,i,l,u))}n(l)}function F_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&I.type(t,e,i,l,u)}n(l)}function S_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),K(e)||I.type(t,e,i,l,u)}n(l)}function T_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&(I.type(t,e,i,l,u),I.range(t,e,i,l,u))}n(l)}function P_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&(I.type(t,e,i,l,u),I.range(t,e,i,l,u))}n(l)}function R_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();I.required(t,e,i,l,u,"array"),e!=null&&(I.type(t,e,i,l,u),I.range(t,e,i,l,u))}n(l)}function O_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&I.type(t,e,i,l,u)}n(l)}var k_="enum";function x_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u),e!==void 0&&I[k_](t,e,i,l,u)}n(l)}function M_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,l,u),K(e,"string")||I.pattern(t,e,i,l,u)}n(l)}function $_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"date")&&!t.required)return n();if(I.required(t,e,i,l,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),I.type(t,o,i,l,u),o&&I.range(t,o.getTime(),i,l,u)}}n(l)}function L_(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;I.required(t,e,i,l,u,a),n(l)}function Xu(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,l)&&!t.required)return n();I.required(t,e,i,a,u,l),K(e,l)||I.type(t,e,i,a,u)}n(a)}function N_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();I.required(t,e,i,l,u)}n(l)}var Ht={string:D_,method:A_,number:I_,boolean:F_,regexp:S_,integer:T_,float:P_,array:R_,object:O_,enum:x_,pattern:M_,date:$_,url:Xu,hex:Xu,email:Xu,required:L_,any:N_};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 l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(b){var w,m=[],B={};function T(F){if(Array.isArray(F)){var P;m=(P=m).concat.apply(P,F)}else m.push(F)}for(w=0;w<b.length;w++)T(b[w]);m.length?B=Ku(m):(m=null,B=null),o(m,B)}if(a.messages){var h=this.messages();h===Qu&&(h=Zu()),Or(h,a.messages),a.messages=h}else a.messages=this.messages();var d,v,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],v=l[b],d.forEach(function(w){var m=w;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),v=l[b]=m.transform(v)),typeof m=="function"?m={validator:m}:m=fe({},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:l,field:b}))})});var _={};return b_(g,a,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 T(ee,L){return fe(fe({},L),{},{fullField:m.fullField+"."+ee})}function F(ee){ee===void 0&&(ee=[]);var L=ee;if(Array.isArray(L)||(L=[L]),!a.suppressWarning&&L.length&&Ie.warning("async-validator:",L),L.length&&m.message!==void 0&&(L=[].concat(m.message)),L=L.map(Rr(m)),a.first&&L.length)return _[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)):a.error&&(L=[a.error(m,ne(a.messages.required,m.field))]),w(L);var le={};if(m.defaultField)for(var Pn in b.value)b.value.hasOwnProperty(Pn)&&(le[Pn]=m.defaultField);le=fe(fe({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var gu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=gu.map(T.bind(null,_e))}var Rn=new Ie(le);Rn.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Rn.validate(b.value,b.rule.options||a,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 P;m.asyncValidator?P=m.asyncValidator(m,b.value,F,b.source,a):m.validator&&(P=m.validator(m,b.value,F,b.source,a),P===!0?F():P===!1?F(m.message||m.field+" fails"):P instanceof Array?F(P):P instanceof Error&&F(P.message)),P&&P.then&&P.then(function(){return F()},function(ee){return F(ee)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ht.required:Ht[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Ie.warning=Sr,Ie.messages=Qu,Ie.validators=Ht;var V_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function H_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(V_,e)),n}var j_=new yE;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 q_(t){if(Array.isArray(t))return t}function W_(t){if(Array.isArray(t))return Ju(t)}function xr(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function Mr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){xr(l,i,u,a,o,"next",s)}function o(s){xr(l,i,u,a,o,"throw",s)}a(void 0)})}}function U_(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 z_(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function k(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 K_(){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 G_(){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){k(t,u,n[u])})}return t}function X_(t){return q_(t)||Nr(t)||Hr(t)||K_()}function Yu(t){return W_(t)||Nr(t)||Hr(t)||G_()}function Z_(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,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(v){return h([d,v])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var x=function(){function e(n){var i=this;U_(this,e);var u,l,a,o;k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"slots",void 0),k(this,"slotPosition",void 0),k(this,"updateSetting",Wr),k(this,"removeSetting",qr),this._callControlHooks("preInstance",n);var s=Lr(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,v=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,w=s.setting,m=s.slots,B=s.slotPosition;h&&d&&v||tr("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:de(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:v,this.props=new j(n==null?void 0:n.props,(Lr(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=oe(w),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=oe(E),this.customEvents=oe(_),this.slots=oe(m),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return z_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var a,o=X_(u),s=o[0],h=o.slice(1);return(a=j_).emit.apply(a,[s,this].concat(Yu(h)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),p5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Mr(function(){var i,u,l;return jr(this,function(a){switch(a.label){case 0:return i=Vr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return Mr(function(){var l,a,o,s;return jr(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Vr({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),o=H_(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,v=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,w=o.encryptedMode;if(!(!u&&!s&&!h)){var m={parentId:i,fieldType:u,controlId:l,caption:v,type:a,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:h&&(m.datasourceBind=h);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:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,Yu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(x,"mode","Designer"),k(x,"slots",void 0),k(x,"slotPosition",void 0),k(x,"controlName",r("CMD.7baf1751712168384")),k(x,"controlIcon","icon"),k(x,"controlType","control"),k(x,"controlFieldType",void 0),k(x,"controlEventKeys",[]),k(x,"controlCustomEvents",[]),k(x,"setting",[]),k(x,"__is_control__",!0),k(x,"removeSettingItem",qr),k(x,"updateSettingItem",Wr);function qr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,s;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((s=e.setting[a].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(a,1)}})}function Wr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":Z_(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Yu(e.showItems))}}}})}function Q_(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 J_(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Y_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){Q_(this,e);var i,u,l,a,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=Y_(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,v=s.name,g=s.controlCustomEvents;h||tr("The ".concat(v," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:de(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:QE.UNKNOWN}return J_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ie(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(q,"controlCustomEvents",[]);function 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 l=i.map(function(o){return o.value}),a=lE(l);l.length!==a.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,a){l.length===0&&a(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function p_(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 Un(t,e,n){return e=Kn(e),t6(t,zr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function zn(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 Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&el(t,e)}function t6(t,e){return e&&(n6(e)==="object"||typeof e=="function")?e:e6(t)}function el(t,e){return el=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},el(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){Gn(e,t);function e(n){zn(this,e);var i;i=Un(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(p_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),H=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Gn(e,t);function e(n){zn(this,e);var i,u,l,a,o,s,h,d,v,g,E,_,b,w;return i=Un(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),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(a=n==null?void 0:n.captionColor)!==null&&a!==void 0?a:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(n==null?void 0:n.dataBind),i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(j);N(S,"Rules",Q),N(S,"RuntimeRules",H);var at=function(t){Gn(e,t);function e(n){zn(this,e);var i;return i=Un(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=Zn(e),r6(t,Kr()?Reflect.construct(e,n||[],Zn(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 Xn(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 a6(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&&tl(t,e)}function r6(t,e){return e&&(o6(e)==="object"||typeof e=="function")?e:i6(t)}function tl(t,e){return tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tl(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 R=function(t){a6(e,t);function e(n){l6(this,e);var i;return i=u6(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(x);Xn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(R,"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=Qn(e),f6(t,Gr()?Reflect.construct(e,n||[],Qn(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 nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function 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&&il(t,e)}function f6(t,e){return e&&(y6(e)==="object"||typeof e=="function")?e:c6(t)}function il(t,e){return il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},il(t,e)}function y6(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 O=function(t){h6(e,t);function e(n){d6(this,e);var i;return i=s6(this,e,[n]),nl(i,"controlType","form"),nl(i,"props",void 0),nl(i,"value",void 0),i.props=new S(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=Jn(e),C6(t,Xr()?Reflect.construct(e,n||[],Jn(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(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&&ul(t,e)}function C6(t,e){return e&&(E6(e)==="object"||typeof e=="function")?e:v6(t)}function ul(t,e){return ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ul(t,e)}function E6(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 M=function(t){b6(e,t);function e(n){return g6(this,e),m6(this,e,[n])}return e}(j);function ll(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 _6(t){if(Array.isArray(t))return ll(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,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function w6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Zr(l,i,u,a,o,"next",s)}function o(s){Zr(l,i,u,a,o,"throw",s)}a(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,l,a){var o=M6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.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&&al(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 al(t,e){return al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},al(t,e)}function M6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Jr(t){return _6(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 ll(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 ll(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,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(v){return h([d,v])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var V6=1e4,$=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 l=S6(this,n)?this.constructor:void 0,a=l.excludes,o=l.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),ce(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(a),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 l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,s=function(){return rt(Se(n.prototype),"validate",a)};return w6(function(){return N6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=rt(Se(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(v){return!!v});return Jr(o).concat(Jr(d))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=rt(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return k6(R6({},u),{children:l})}}]),n}(x);Fe($,"excludes",!1),Fe($,"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=Yn(e),U6(t,pr()?Reflect.construct(e,n||[],Yn(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 rl(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 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&&ol(t,e)}function U6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:H6(t)}function ol(t,e){return ol=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ol(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]),rl(i,"controlType","layout"),rl(i,"children",void 0),rl(i,"props",void 0),i.props=new M(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=pn(e),Q6(t,eo()?Reflect.construct(e,n||[],pn(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 pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(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&&cl(t,e)}function Q6(t,e){return e&&(J6(e)==="object"||typeof e=="function")?e:K6(t)}function cl(t,e){return cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cl(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 ei=function(t){Z6(e,t);function e(n,i,u){X6(this,e);var l,a,o,s,h;return l=G6(this,e,[i]),ot(l,"headers",void 0),ot(l,"footers",void 0),ot(l,"pageIndex",void 0),ot(l,"pageSize",void 0),ot(l,"pageSizeOptions",void 0),ot(l,"totalCount",void 0),ce(l,"headers",i==null?void 0:i.headers,n,u),ce(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function sl(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 sl(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,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function eB(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){to(l,i,u,a,o,"next",s)}function o(s){to(l,i,u,a,o,"throw",s)}a(void 0)})}}function tB(t,e,n){return e=Te(e),oB(t,ao()?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 ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var o=cB(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function 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&&dl(t,e)}function lB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function aB(){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){ti(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 dl(t,e){return dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},dl(t,e)}function cB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function lo(t){return Y6(t)||lB(t)||dB(t)||aB()}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 sl(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 sl(t,e)}}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}function hB(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(v){return h([d,v])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var hl=function(t){uB(e,t);function e(n){nB(this,e);var i;return i=tB(this,e,[n]),ti(i,"controlType","list"),ti(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Designer"),i}return iB(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return ct(Te(e.prototype),"validate",l)};return eB(function(){return hB(this,function(s){switch(s.label){case 0:return[4,o().call(a,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return lo(a).concat(lo(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return uo(io({},i),{props:uo(io({},this.props),{headers:u})})}}]),e}(x);ti(hl,"controlFieldType",C.LIST);function fB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,n){return e=ni(e),bB(t,oo()?Reflect.construct(e,n||[],ni(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 fl(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 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&&yl(t,e)}function bB(t,e){return e&&(CB(e)==="object"||typeof e=="function")?e:fB(t)}function yl(t,e){return yl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yl(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=yB(this,e,[n]),fl(i,"controlType","list"),fl(i,"children",void 0),fl(i,"props",void 0),i.props=new ei(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 EB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vl(t,e,n){return e=ii(e),_B(t,so()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function ml(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 ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function gl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bl(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:EB(t)}function bl(t,e){return bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bl(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){gl(e,t);function e(n){ml(this,e);var i;return i=vl(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){gl(e,t);function e(n){ml(this,e);var i,u,l,a,o,s;return i=vl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",i.autoWidth=new gr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(W,"Rules",be);var Cl=function(t){gl(e,t);function e(n){ml(this,e);var i;return i=vl(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,fo()?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 ui(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,l,a){var o=OB(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},li(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&&El(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){ui(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 El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(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 fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var G=function(t){FB(e,t);function e(n){AB(this,e);var i;return i=DB(this,e,[n]),ui(i,"controlType","column"),ui(i,"props",void 0),ui(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=li(st(e.prototype),"toSchema",this).call(this);return PB(SB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);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,yo()?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 _l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function 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&&Bl(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:xB(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function VB(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 X=function(t){LB(e,t);function e(n){$B(this,e);var i;return i=MB(this,e,[n]),_l(i,"controlType","column"),_l(i,"props",void 0),_l(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=ri(e),zB(t,vo()?Reflect.construct(e,n||[],ri(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&wl(t,e)}function zB(t,e){return e&&(KB(e)==="object"||typeof e=="function")?e:HB(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(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 Dl=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}(M);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=oi(e),JB(t,go()?Reflect.construct(e,n||[],oi(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 oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function QB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Al(t,e)}function JB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(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 Dl(n==null?void 0:n.props),i}return e}($);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=ci(e),uw(t,Co()?Reflect.construct(e,n||[],ci(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 ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&Il(t,e)}function uw(t,e){return e&&(lw(e)==="object"||typeof e=="function")?e:ew(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function lw(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 aw=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 Dl(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=si(e),dw(t,Eo()?Reflect.construct(e,n||[],si(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&Fl(t,e)}function dw(t,e){return e&&(hw(e)==="object"||typeof e=="function")?e:rw(t)}function Fl(t,e){return Fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fl(t,e)}function hw(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 Sl=function(t){sw(e,t);function e(n){return cw(this,e),ow(this,e,[n])}return e}(M);function fw(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=di(e),gw(t,Bo()?Reflect.construct(e,n||[],di(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 _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 di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(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&&Tl(t,e)}function gw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:fw(t)}function Tl(t,e){return Tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tl(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=yw(this,e,[n]),_o(i,"controlType","wrap"),_o(i,"props",void 0),i.props=new Sl(n==null?void 0:n.props),i}return e}($);function Ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _w(t,e,n){return e=hi(e),Dw(t,Do()?Reflect.construct(e,n||[],hi(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 hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(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&&Pl(t,e)}function Dw(t,e){return e&&(Aw(e)==="object"||typeof e=="function")?e:Ew(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(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=_w(this,e,[n]),wo(i,"controlType","wrap"),wo(i,"props",void 0),i.props=new Sl(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 Rl extends j{constructor(e){var n,i,u,l,a,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=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(a=e==null?void 0:e.aiContentSearch)!=null?a:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1}}class Ao extends x{constructor(e){super(e),this.props=new Rl(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 Rl(e==null?void 0:e.props)}static get controlType(){return"text"}}var Io={Designer:Ao,Runtime:Fw,Property:Rl};class Ol 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 kl extends x{constructor(e){super(e),this.props=new Ol(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"}}kl.controlEventKeys=["on_click"],kl.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 Ol(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fo={Designer:kl,Runtime:Sw,Property:Ol};class p extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new pE((d=e==null?void 0:e.optObj)!=null?d:{})}}class Y extends x{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",Xa.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var So={Designer:Y,Runtime:ue,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 fi{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 xl=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xl||{});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 Ml=(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))(Ml||{});class $l{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w,m,B,T;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=(a=e==null?void 0:e.telephone)!=null?a:new De((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new De((h=e==null?void 0:e.indexSignature)!=null?h:{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=(T=e==null?void 0:e.remark)!=null?T:""}}class Ro{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new $l(s)))!=null?u:[new $l],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class jt{constructor(e){var n,i,u,l,a,o,s;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=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ll{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,l;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new Ll(e==null?void 0:e.watermark),this.autoRename=new Ll(e==null?void 0:e.autoRename)}}class Nl{constructor(e){var n,i,u,l,a,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class Vl{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(l=>new ko(l)))!=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(l=>new jt(l)))!=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 $o=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Lo{constructor(e){var n,i,u,l,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class 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||{}),Hl=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Hl||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),jl=(t=>(t.ALL="all",t.ADMIN="admin",t))(jl||{}),ql=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ql||{});class Wl 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:Ml.SOLID}}class Ho extends x{constructor(e){super(e),this.props=new Wl(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 Wl(e==null?void 0:e.props)}static get controlType(){return"divider"}}var jo={Designer:Ho,Runtime:Tw,Property:Wl};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 mi extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}mi.Rules=Pw;class dt extends x{constructor(e){super(e),this.props=new mi(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 mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var qo={Designer:dt,Runtime:Rw,Property:mi};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 gi extends p{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.openType)!=null?l:"modal"}}gi.Rules=Ow;class ht extends Y{constructor(e){super(e),this.props=new gi(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 ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Wo={Designer:ht,Runtime:kw,Property:gi};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 bi extends p{constructor(e){var n,i,u,l,a,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}bi.Rules=xw;class ft extends Y{constructor(e){super(e),this.props=new bi(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 Mw extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Uo={Designer:ft,Runtime:Mw,Property:bi};class Ul extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class $w extends ue{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var zo={Designer:yt,Runtime:$w,Property:Ul};class zl extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new jt(o)))!=null?a:[new jt({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 zl(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 ue{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ko={Designer:vt,Runtime:Lw,Property:zl};class Kl 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 Kl(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 ue{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Go={Designer:mt,Runtime:Nw,Property:Kl};class Vw{constructor(e){this.dataCode=e.dataCode}}class Gl extends p{constructor(e){var n,i,u,l,a;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=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new Vw(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Gl(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 ue{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Xo={Designer:gt,Runtime:Hw,Property:Gl};function Ci(){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({},Ci())},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")}},Ci())},(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 Ei extends p{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 wr(e==null?void 0:e.fillPayload),this.formBind=new kE(e==null?void 0:e.formBind),this.fillBack=new Dr(e==null?void 0:e.fillBack)}}Ei.Rules=jw;class Wt extends Y{constructor(e){super(e),this.props=new Ei(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 qw extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Zo={Designer:Wt,Runtime:qw,Property:Ei};class Ww extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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")}},Ci())}}}class _i extends p{constructor(e){var n,i,u,l,a;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 wr(e==null?void 0:e.fillPayload),this.listPageBind=new $u(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=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}_i.Rules=Ww;class Ut 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"}}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 Uw extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Qo={Designer:Ut,Runtime:Uw,Property:_i};class zw extends U{constructor(e){super(e)}}class Kw extends Me{constructor(e){super(e)}}class zt extends j{constructor(e){super(e)}}zt.Rules=zw,zt.RuntimeRules=Kw;class Jo extends x{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"}}Jo.setting=[];class Gw extends q{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Yo={Designer:Jo,Runtime:Gw,Property:zt};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 Bi extends j{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Bi.Rules=Xw;class po extends x{constructor(e){super(e),this.props=new Bi(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 Bi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ec={Designer:po,Runtime:Zw,Property:Bi};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 wi extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(l=>new JE(l)))!=null?u:[]}}wi.Rules=Qw;class tc extends x{constructor(e){super(e),this.props=new wi(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 wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var nc={Designer:tc,Runtime:Jw,Property:wi};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(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends p{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new te(g)))!=null?v:[]}}Di.Rules=Yw;class bt extends Y{constructor(e){super(e),this.props=new Di(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 ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ic={Designer:bt,Runtime:pw,Property:Di};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(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends p{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new te(g)))!=null?v:[]}}Ai.Rules=eD;class Ct 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"}}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 ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var uc={Designer:Ct,Runtime:tD,Property:Ai};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 Ii extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Lo(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Ii.Rules=nD;class Et extends Y{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class iD extends ue{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var lc={Designer:Et,Runtime:iD,Property:Ii};class Xl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Y{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uD extends ue{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ac={Designer:_t,Runtime:uD,Property:Xl};class lD 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 Fi extends j{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Fi.Rules=lD;class Si extends x{constructor(e){super(e),this.props=new Fi(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"}}Si.controlEventKeys=["on_click"],Si.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 Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var rc={Designer:Si,Runtime:aD,Property:Fi};class Zl extends j{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends x{constructor(e){super(e),this.props=new Zl(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 Zl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var oc={Designer:Bt,Runtime:rD,Property:Zl};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 Ti extends j{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pi.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new Nl(e==null?void 0:e.actionSetting))!=null?a:new Nl,this.listHeightSetting=(o=new Vl(e==null?void 0:e.listHeightSetting))!=null?o:new Vl}}Ti.Rules=oD;class Pi extends x{constructor(e){super(e),this.props=new Ti(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"}}Pi.controlEventKeys=["on_list_rowclick"],Pi.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 Ti(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var cc={Designer:Pi,Runtime:cD,Property:Ti};class Ql 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 x{constructor(e){super(e),this.props=new Ql(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 Ql(e==null?void 0:e.props)}static get controlType(){return"comment"}}var dc={Designer:sc,Runtime:sD,Property:Ql},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:lc,BatchPrintRecordListButton:ac,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=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class fD 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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.caption)!=null?l:Dt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}wt.Rules=hD,wt.RuntimeRules=fD;class Dt extends R{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 O{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}hc.controlFieldType=C.VARCHAR;var fc={Designer:Dt,Runtime:hc,Property:wt};class yD extends at{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 Kt extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d: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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new te(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Kt.Rules=yD,Kt.RuntimeRules=vD;class Gt extends R{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:"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 yc extends O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}yc.controlFieldType=C.ARRAY;var vc={Designer:Gt,Runtime:yc,Property:Kt};class mD extends at{constructor(e){super(e)}}class Ri extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Xt.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(_=>{var b;(b=this.multistageFilling)==null||b.push(new te(_))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ri.Rules=mD;class Xt extends R{constructor(e){super(e),this.props=new Ri(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"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=C.VARCHAR,Xt.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 O{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"radio"}}mc.controlFieldType=C.VARCHAR;var gc={Designer:Xt,Runtime:mc,Property:Ri};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=qt(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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Qt.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 Ar(e==null?void 0:e.regularRules)}}Zt.Rules=gD,Zt.RuntimeRules=bD;class Qt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=C.DECIMAL,Qt.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 O{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"number"}}bc.controlFieldType=C.DECIMAL;var Cc={Designer:Qt,Runtime:bc,Property:Zt};class Jl extends S{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b;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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(w=>new fi(w)))!=null?d:[],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,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Oi extends R{constructor(e){super(e),this.props=new Jl(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}}Oi.controlFieldType=C.TIMESTAMP,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ec extends O{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Ec.controlFieldType=C.TIMESTAMP;var _c={Designer:Oi,Runtime:Ec,Property:Jl};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 ki extends S{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E;super(e),this.dataBind=new UE(e==null?void 0:e.dataBind),this.defaultValue=new zE(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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:xi.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}}ki.RuntimeRules=CD;class xi extends R{constructor(e){super(e),this.props=new ki(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}}xi.controlFieldType=C.TIMESCOPE,xi.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 O{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Bc.controlFieldType=C.TIMESCOPE;var wc={Designer:xi,Runtime:Bc,Property:ki};class ED 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 _D 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 Jt extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.caption)!=null?l:Yt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new PE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Fr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=ED,Jt.RuntimeRules=_D;class Yt extends R{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 Dc extends O{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Dc.controlFieldType=C.TEXT;var Ac={Designer:Yt,Runtime:Dc,Property:Jt};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 pt extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.caption)!=null?l:en.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Fr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}pt.Rules=BD,pt.RuntimeRules=wD;class en extends R{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 Ic extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ic.controlFieldType=C.TEXT;var Fc={Designer:en,Runtime:Ic,Property:pt};class DD extends at{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 Mi extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.caption)!=null?l:$i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new te(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!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}}Mi.Rules=DD;class $i extends R{constructor(e){super(e),this.props=new Mi(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"}}$i.controlFieldType=C.VARCHAR,$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,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 O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"select"}}Sc.controlFieldType=C.VARCHAR;var Tc={Designer:$i,Runtime:Sc,Property:Mi};class AD extends at{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 tn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.caption)!=null?l:Li.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var E;(E=this.multistageFilling)==null||E.push(new te(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(v=e==null?void 0:e.aiContentSearch)!=null?v:!1}}tn.Rules=AD,tn.RuntimeRules=ID;class Li extends R{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"}}Li.controlFieldType=C.ARRAY,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:"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 O{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Pc.controlFieldType=C.ARRAY;var Rc={Designer:Li,Runtime:Pc,Property:tn};class FD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends S{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Vi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new te(v))}))}}Ni.RuntimeRules=FD;class Vi extends R{constructor(e){super(e),this.props=new Ni(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"}}Vi.controlFieldType=C.EMPLOYEES,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:!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 O{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"employee"}}Oc.controlFieldType=C.EMPLOYEES;var kc={Designer:Vi,Runtime:Oc,Property:Ni};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 S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:TD,this.caption=(h=e==null?void 0:e.caption)!=null?h:It.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d: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:[]}}At.Rules=RD,At.RuntimeRules=OD;class It extends R{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 Yl extends O{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Yl.controlFieldType=C.FILE;var xc={Designer:It,Runtime:Yl,Property:At};class pl extends At{constructor(e){var n,i,u,l,a,o,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:Hi.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:ql.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080}}class Hi extends It{constructor(e){super(e),this.props=new pl(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"}}Hi.controlFieldType=C.IMAGE,Hi.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 Yl{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlType(){return"image"}}var Mc={Designer:Hi,Runtime:kD,Property:pl};class xD extends at{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:[za(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 nn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new qE(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 WE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:ZE.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=me(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d: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=xD,nn.RuntimeRules=MD;class un extends R{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 $c extends O{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}$c.controlFieldType=C.MONEY;var Lc={Designer:un,Runtime:$c,Property:nn};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 ln extends S{constructor(e){var n,i,u,l,a,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:xl.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(h=>new yi(h)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName}}ln.Rules=$D,ln.RuntimeRules=LD;class an extends R{constructor(e){super(e),this.props=new ln(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 O{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"score"}}Nc.controlFieldType=C.DECIMAL;var Vc={Designer:an,Runtime:Nc,Property:ln};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 ji extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qi.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 KE((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}ji.RuntimeRules=ND;class qi extends R{constructor(e){super(e),this.props=new ji(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"}}qi.controlFieldType=C.ADDRESS,qi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Hc extends O{constructor(e){super(e),this.props=new ji(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:qi,Runtime:Hc,Property:ji};class VD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d: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 te(E))}))}}Wi.RuntimeRules=VD;class rn extends R{constructor(e){super(e),this.props=new Wi(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 qc extends O{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}qc.controlFieldType=C.DEPARTMENTS;var Wc={Designer:rn,Runtime:qc,Property:Wi};class ea extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i: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 R{constructor(e){super(e),this.props=new ea(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 Uc extends O{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Uc.controlFieldType=C.AUTO_NUMBER;var zc={Designer:on,Runtime:Uc,Property:ea};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 cn extends S{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new GE(e==null?void 0:e.dataBind),this.defaultValue=new XE(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:sn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}cn.Rules=HD,cn.RuntimeRules=jD;class sn extends R{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 Kc extends O{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Kc.controlFieldType=C.CALC;var Gc={Designer:sn,Runtime:Kc,Property:cn};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(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Ui extends S{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:zi.controlName}}Ui.RuntimeRules=qD;class zi extends R{constructor(e){super(e),this.props=new Ui(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"}}zi.controlFieldType=C.DECIMAL_RANGE,zi.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 O{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Xc.controlFieldType=C.DECIMAL_RANGE;var Zc={Designer:zi,Runtime:Xc,Property:Ui};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 Ki extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Gi.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}}Ki.RuntimeRules=WD;class Gi extends R{constructor(e){super(e),this.props=new Ki(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"}}Gi.controlFieldType=C.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 O{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Qc.controlFieldType=C.ARRAY;var Jc={Designer:Gi,Runtime:Qc,Property:Ki};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 dn extends S{constructor(e){var n,i,u,l,a;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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}dn.Rules=UD,dn.RuntimeRules=zD;class Ft extends R{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"}}Ft.controlFieldType=C.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",Xa.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 O{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Yc.controlFieldType=C.ANY;var pc={Designer:Ft,Runtime:Yc,Property:dn};class KD extends at{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 Xi extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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 $u(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:hn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new 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 te(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new 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=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Xi.Rules=KD;class hn extends R{constructor(e){super(e),this.props=new Xi(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 es extends O{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}es.controlFieldType=C.VARCHAR;var ts={Designer:hn,Runtime:es,Property:Xi};class ta extends wt{constructor(e){super(e)}}class ns extends Dt{constructor(e){super(e),this.props=new ta(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 O{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"search-input"}}is.controlFieldType=C.VARCHAR;var us={Designer:ns,Runtime:is,Property:ta};class GD extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Wn.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 fn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w,m,B,T,F,P;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=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(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 _r((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new _r((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=(T=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map(ee=>new te(ee)))!=null?T:[],this.defaultValue=(F=e==null?void 0:e.defaultValue)!=null?F:[],this.treeQuery=(P=e==null?void 0:e.treeQuery)!=null?P:[]}}fn.Rules=GD,fn.RuntimeRules=XD;class ke extends R{constructor(e){super(e),this.props=new fn(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","on_tree_search"],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 ls extends O{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}ls.controlFieldType=C.ARRAY;var as={Designer:ke,Runtime:ls,Property:fn};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"},Wn.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 S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Vn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Hl.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:jl.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 T;(T=this.multistageFilling)==null||T.push(new te(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}yn.Rules=ZD,yn.RuntimeRules=QD;class $e extends R{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 O{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(l,a,o){if(i.type==="public"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Zi extends S{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Ro(e==null?void 0:e.signatureConfig)}}Zi.Rules=JD;class vn extends R{constructor(e){super(e),this.props=new Zi(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 cs extends O{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}cs.controlFieldType=C.VARCHAR;var ss={Designer:vn,Runtime:cs,Property:Zi};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 mn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(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=e==null?void 0:e.revisionsMode)!=null?E:!1}}mn.Rules=YD,mn.RuntimeRules=pD;class gn extends R{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 ds extends O{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}ds.controlFieldType=C.FILE;var hs={Designer:gn,Runtime:ds,Property:mn};class e7 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"},Wn.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 t7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w,m,B,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d: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 Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:vi.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(F=>{var P;(P=this.multistageFilling)==null||P.push(new te(F))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(T=(B=e==null?void 0:e.disabledSelectedFilters)==null?void 0:B.map(F=>F.children!==void 0?new Nn(F):new $t(F)))!=null?T:[]}}bn.Rules=e7,bn.RuntimeRules=t7;class Le extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name: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-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class fs extends O{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}fs.controlFieldType=C.DEPARTMENTS;var ys={Designer:Le,Runtime:fs,Property:bn};class n7 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"},Wn.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 i7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends S{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w,m,B,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d: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 HE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:vi.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 Vu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var P;(P=this.multistageFilling)==null||P.push(new te(F))}))}}Cn.Rules=n7,Cn.RuntimeRules=i7;class St extends R{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}}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 O{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}vs.controlFieldType=C.DEPARTMENTS;var ms={Designer:St,Runtime:vs,Property:Cn};class u7 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class l7 extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends S{constructor(e){var n,i,u,l,a;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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}En.Rules=u7,En.RuntimeRules=l7;class _n extends R{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 D.VUE_PAGE}}_n.controlFieldType=C.ANY,_n.controlEventKeys=[],_n.setting=[];class gs extends O{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}gs.controlFieldType=C.ANY;var bs={Designer:_n,Runtime:gs,Property:En},a7=Object.freeze({__proto__:null,Input:fc,Checkbox:vc,Radio:gc,Number:Cc,DatePicker:_c,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:as,Employee2:os,ElectronicSignature:ss,WPS:hs,Department2:ys,OrganizationSelection:ms,VuePage:bs});class Cs extends ${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 r7 extends V{static get controlType(){return"grid"}constructor(e){super(e)}}var Es={Designer:Cs,Runtime:r7,Property:M};const o7=24;class Ne extends M{constructor(e){var n,i,u,l;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:o7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:""}}class Bn extends ${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"}}Bn.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER],Bn.childrenMaxLength=1;class na extends V{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var _s={Designer:Bn,Runtime:na,Property:Ne};class Qi extends M{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 Ji extends ${constructor(e){super(e),this.props=new Qi(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"}}Ji.excludes=[D.ROW],Ji.setting=[{key:"col-setting",visible:!0}];class Bs extends V{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ws={Designer:Ji,Runtime:Bs,Property:Qi};const c7=4;class Yi extends Ji{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)}}Yi.excludes=[D.GRID_ROW],Yi.setting=[],Yi.childrenMaxLength=c7;class s7 extends Bs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class d7 extends Qi{constructor(e){super(e)}}var Ds={Designer:Yi,Runtime:s7,Property:d7};class h7 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends M{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"}}pi.Rules=h7;class ia extends ${constructor(e){super(e),this.props=new pi(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"}}ia.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}],ia.excludes=[D.CARD_GROUP];class f7 extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var As={Designer:ia,Runtime:f7,Property:pi};class y7 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 eu extends M{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new RE(e==null?void 0:e.metaAutoWidth)}}eu.Rules=y7;class se extends ${constructor(e){super(e),this.props=new eu(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 eu(e==null?void 0:e.props)}}Is.controlType="subtable-column";var Fs={Designer:se,Runtime:Is,Property:eu};class ua extends M{constructor(e){super(e)}}class Ve extends ${constructor(e){super(e),this.props=new ua(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 v7 extends V{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ss={Designer:Ve,Runtime:v7,Property:ua};class la extends M{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:it.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class He extends ${constructor(e){super(e),this.props=new la(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 la(e==null?void 0:e.props)}}Ts.controlType="gridtable-column";var Ps={Designer:He,Runtime:Ts,Property:la};class aa extends M{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 ra extends ${constructor(e){super(e),this.props=new aa(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"}}ra.excludes=[D.GRID_LAYOUT_CONTAINER,D.CARD_GROUP,D.TAB],ra.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class m7 extends V{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Rs={Designer:ra,Runtime:m7,Property:aa};class oa extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class g7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class tu extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}tu.Rules=g7;class wn extends ${constructor(e){super(e),this.props=new tu(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=[D.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 b7 extends V{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Os={Designer:wn,Runtime:b7,Property:tu};class Dn extends ${constructor(e){var n;super(e),this.props=new oa(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=[D.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class C7 extends V{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ks={Designer:Dn,Runtime:C7,Property:oa};class xs extends M{constructor(e){super(e)}}class Ms extends ${constructor(e){super(e),this.props=new xs({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new Ne({span:12})}),new Bn({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 E7 extends V{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new na({props:new Ne({span:12})}),new na({props:new Ne({span:12})})]}}var $s={Designer:Ms,Runtime:E7,Property:xs};class _7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class B7 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 An extends M{constructor(e){var n,i,u,l,a,o,s,h,d,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=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new $E(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new NE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(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 n_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new i_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new u_(e==null?void 0:e.masterDetail)}}An.Rules=B7,An.RuntimeRules=_7;class In extends ${constructor(e){super(e),this.props=new An(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"}}In.slotPosition={left:"list-view-left-slot"},In.excludes=[D.ROW],In.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"],In.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 V{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ls={Designer:In,Runtime:w7,Property:An};class D7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nu extends M{constructor(e){var n,i,u,l,a,o,s;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((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(h=>new Ae(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}nu.RuntimeRules=D7;class Ns extends ${constructor(e){super(e),this.props=new nu(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 A7 extends V{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Vs={Designer:Ns,Runtime:A7,Property:nu};class I7 extends ${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 F7 extends V{static get controlType(){return"page"}constructor(e){super(e)}}class S7 extends M{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:I7,Runtime:F7,Property:S7};class T7 extends ${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 P7 extends V{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R7 extends M{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:T7,Runtime:P7,Property:R7};class O7 extends ${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 k7 extends V{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class x7 extends M{constructor(e){super(e)}}var qs={Designer:O7,Runtime:k7,Property:x7};class M7 extends ${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 $7 extends V{static get controlType(){return"position"}constructor(e){super(e)}}class L7 extends M{constructor(e){var n,i,u,l;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Ws={Designer:M7,Runtime:$7,Property:L7};class ca extends M{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 iu extends ${constructor(e){var n;super(e),this.props=new ca((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"}}iu.slotPosition={default:"action-bar-slot"},iu.excludes=[],iu.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 N7 extends V{constructor(e){var n;super(e),this.props=new ca((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Us={Designer:iu,Runtime:N7,Property:ca};class sa extends M{constructor(e){var n,i,u,l,a;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1}}class da extends M{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Tt extends ${constructor(e){super(e),this.props=new da(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 V7 extends V{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var zs={Designer:Tt,Runtime:V7,Property:da};class uu extends ${constructor(e){var n;super(e),this.props=new sa(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"}}uu.excludes=[],uu.controlEventKeys=["on_change_steps"],uu.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 H7 extends V{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ks={Designer:uu,Runtime:H7,Property:sa};class ha extends M{constructor(e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(a=e==null?void 0:e.colWidth)!=null?a:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(v=e==null?void 0:e.padding)!=null?v:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(w=e==null?void 0:e.innerBorder)!=null?w:{borderWidth:1,borderColor:"",borderType:"solid"}}}class fa extends ${constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}fa.excludes=[],fa.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class j7 extends V{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Gs={Designer:fa,Runtime:j7,Property:ha};class ya extends M{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 va extends ${constructor(e){super(e),this.props=new ya(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"}}va.excludes=[D.ROW,D.TABLE_LAYOUT_ROW],va.setting=[{key:"col-setting",visible:!0}];class q7 extends V{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Xs={Designer:va,Runtime:q7,Property:ya};const W7=24;class ma extends M{constructor(e){var n,i,u,l,a,o,s,h,d,v;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:W7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(a=e==null?void 0:e.layout)!=null?a:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(v=e==null?void 0:e.isLabelCol)!=null?v:!1}}class ga extends ${constructor(e){super(e),this.props=new ma(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"}}ga.excludes=[D.COL,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.TABLE_LAYOUT_COL],ga.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 U7 extends V{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Zs={Designer:ga,Runtime:U7,Property:ma};class ba extends M{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 Ca extends ${constructor(e){super(e),this.props=new ba(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"}}Ca.excludes=[],Ca.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class z7 extends V{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Qs={Designer:Ca,Runtime:z7,Property:ba},K7=Object.freeze({__proto__:null,Grid:Es,Col:_s,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 G7 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 X7 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 ei{constructor(t,e){var n,i,u,l,a,o,s,h,d,v,g,E,_,b,w,m,B,T,F,P,ee,L,le,Pn,_e,gu,Rn,Pt,Be,Dd,Ad,Id,Fd,Sd;super(t,e,Js.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:$o,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"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 Z(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=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(F=e==null?void 0:e.canClear)!=null?F:!0,this.serverPagination=(P=e==null?void 0:e.serverPagination)!=null?P:!1,this.isShowCaptionTip=(ee=e==null?void 0:e.isShowCaptionTip)!=null?ee:!1,this.captionTip=(L=e==null?void 0:e.captionTip)!=null?L:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"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 OE,this.fixedColumn=(gu=e==null?void 0:e.fixedColumn)!=null?gu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn: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 Fn=Js;Fn.Rules=G7,Fn.RuntimeRules=X7;class Sn extends hl{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 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}}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:"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 Z7 extends co{constructor(e){super(e),this.props=new Fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ys={Designer:Sn,Runtime:Z7,Property:Fn};class Ea extends ei{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class Q7 extends be{constructor(e){super(e),this.caption.required=!1}}class lu extends W{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}lu.Rules=Q7;class je extends G{constructor(e){super(e),this.props=new lu(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 _a extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}_a.controlType="order-column",_a.controlFieldType=C.DECIMAL;var ps={Designer:je,Runtime:_a,Property:lu};class Ba extends W{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends G{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Si.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ga(this,null,function*(){return yield Ka(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 wa extends X{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}wa.controlType="operation-column",wa.controlFieldType=C.FILE;var ed={Designer:Ce,Runtime:wa,Property:Ba};const J7=1e4;class qe extends hl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ea(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 za(nt({},e),{children:n})}validate(e,n){return Ga(this,null,function*(){return yield Ka(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=J7;class Y7 extends co{constructor(e){super(e),this.props=new Ea(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:Y7,Property:Ea},p7=Object.freeze({__proto__:null,SubTable:Ys,GridTable:td});class e8 extends Cl{constructor(e){super(e),Pe.call(this,e)}}class au extends W{constructor(e){var n,i,u,l,a,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=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}au.Rules=e8;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 Da extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Da.controlType="varchar-column",Da.controlFieldType=C.VARCHAR;var nd={Designer:We,Runtime:Da,Property:au};class t8 extends be{constructor(e){super(e),Pe.call(this,e)}}class ru extends W{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=t8;class Ue 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{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 Aa extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Aa.controlType="text-column",Aa.controlFieldType=C.TEXT;var id={Designer:Ue,Runtime:Aa,Property:ru};class n8 extends Cl{constructor(e){super(e),Pe.call(this,e)}}class ou extends W{constructor(e){var n,i,u,l,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=n8;class ze 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{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 Ia extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Ia.controlType="decimal-column",Ia.controlFieldType=C.DECIMAL;var ud={Designer:ze,Runtime:Ia,Property:ou};class i8 extends be{constructor(e){super(e),Pe.call(this,e)}}class cu extends W{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.isInternational)!=null?l:!1}}cu.Rules=i8;class Ke 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}}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 Fa extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Fa.controlType="timescope-column",Fa.controlFieldType=C.TIMESCOPE;var ld={Designer:Ke,Runtime:Fa,Property:cu};class u8 extends be{constructor(e){super(e),Pe.call(this,e)}}class su extends W{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.isInternational)!=null?l:!1}}su.Rules=u8;class Ge extends G{constructor(e){super(e),this.props=new su(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 Sa extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Sa.controlType="timestamp-column",Sa.controlFieldType=C.TIMESTAMP;var ad={Designer:Ge,Runtime:Sa,Property:su};class l8 extends Cl{constructor(e){super(e),Pe.call(this,e)}}class du extends W{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((l=e==null?void 0:e.options)!=null?l:[{}])}}du.Rules=l8;class Xe extends G{constructor(e){super(e),this.props=new du(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 Ta extends X{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ta.controlType="array-column",Ta.controlFieldType=C.ARRAY;var rd={Designer:Xe,Runtime:Ta,Property:du};class Pa 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 Pa(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 Ra extends X{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}Ra.controlType="department-column",Ra.controlFieldType=C.DEPARTMENTS;var od={Designer:Ze,Runtime:Ra,Property:Pa};class a8 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:Qe.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=a8;class Qe extends G{constructor(e){super(e),this.props=new hu(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 Oa extends X{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Oa.controlType="auto-number-column",Oa.controlFieldType=C.AUTO_NUMBER;var cd={Designer:Qe,Runtime:Oa,Property:hu};class ka 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 ka(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 xa extends X{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}}xa.controlType="file-column",xa.controlFieldType=C.FILE;var sd={Designer:Je,Runtime:xa,Property:ka};class Ma 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 Ma(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 $a extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}$a.controlType="image-column",$a.controlFieldType=C.IMAGE;var dd={Designer:Ye,Runtime:$a,Property:Ma};class La 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 La(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 Na extends X{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=C.EMPLOYEES;var hd={Designer:pe,Runtime:Na,Property:La};class r8 extends be{constructor(e){super(e),Pe.call(this,e)}}class fu 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)}}fu.Rules=r8;class et extends G{constructor(e){super(e),this.props=new fu(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 Va extends X{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Va.controlType="location-column",Va.controlFieldType=C.ADDRESS;var fd={Designer:et,Runtime:Va,Property:fu};class o8 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:Ee.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=o8;const c8=1;class Ee 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}}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=c8,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 yd 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")}}yd.controlType="custom-column";var vd={Designer:Ee,Runtime:yd,Property:yu};class Ha 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 Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends G{constructor(e){super(e),this.props=new Ha(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 ja extends X{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}ja.controlType="employee-column",ja.controlFieldType=C.EMPLOYEES;var md={Designer:xe,Runtime:ja,Property:Ha};class qa 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 qa(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 qa(e==null?void 0:e.props)}}gd.controlType="approval-status-column";var bd={Designer:tt,Runtime:gd,Property:qa};class Wa 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 Wa(e==null?void 0:e.props)}}Tn.controlType="group-column",Tn.controlName=r("CMD.43541769566517351"),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 Cd extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props),ce(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Cd.controlType="group-column";var Ed={Designer:Tn,Runtime:Cd,Property:Wa},s8=Object.freeze({__proto__:null,VarcharColumn:nd,TextColumn:id,DecimalColumn:ud,TimescopeColumn:ld,TimestampColumn:ad,ArrayColumn:rd,DepartmentColumn:od,AutoNumberColumn:cd,FileColumn:sd,ImageColumn:dd,PeopleColumn:hd,LocationColumn:fd,CustomColumn:vd,OrderColumn:ps,OperationColumn:ed,EmployeeColumn:md,ApprovalStatusColumn:bd,GroupColumn:Ed});class d8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vu extends Dl{constructor(e){var n,i,u,l,a,o,s,h,d,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 Ae((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Ae(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(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:[]}}vu.RuntimeRules=d8;class mu extends pB{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}mu.controlType="simple-search",mu.slotPosition={default:"search"},mu.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 _d extends aw{constructor(e){var n;super(e),this.props=new vu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}_d.controlType="simple-search";var Bd={Designer:mu,Runtime:_d,Property:vu},h8=Object.freeze({__proto__:null,SimpleSearch:Bd});class Ua extends Sl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class f8 extends Cw{constructor(e){super(e),this.props=new Ua(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 y8 extends Iw{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function D8(t){return t}var v8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},wd={Designer:f8,Runtime:y8,Property:Ua,Setting:v8},m8=Object.freeze({__proto__:null,GridLayoutWrap:wd});y.ActionBar=Us,y.ActionSetting=Nl,y.Address=jc,y.AdvancedContainer=js,y.Amount=Lc,y.ApprovalStatusColumn=bd,y.ArrayColumn=rd,y.AssignType=Oe,y.Attachment=xc,y.AutoNumber=zc,y.AutoNumberColumn=cd,y.BatchDeleteButton=oc,y.BatchPrintListButton=lc,y.BatchPrintRecordListButton=ac,y.BatchSubmissionListButton=Uo,y.Button=So,y.Calc=Gc,y.CardGroup=As,y.Checkbox=vc,y.Col=_s,y.CommentControl=dc,y.CreateFormListButton=Wo,y.CustomColumn=vd,y.DATE_CONFIG_TYPE=To,y.DATE_LIMIT_TYPE=Po,y.Dashboard=ec,y.DataView=Vs,y.DatePicker=_c,y.DateRange=wc,y.DecimalColumn=ud,y.Department=Wc,y.Department2=ys,y.DepartmentColumn=od,y.DepartmentType=vi,y.Divider=jo,y.ElectronicSignature=ss,y.ElectronicSignatureConfig=Ro,y.Employee=kc,y.Employee2=os,y.EmployeeColumn=md,y.EncryptTypeEnum=Vo,y.Explain=yi,y.ExportConfig=Mo,y.ExportListButton=Ko,y.ExportRecordListButton=Go,y.ExportTemplate=jt,y.FileColumn=sd,y.FlexStyleConfig=No,y.FormSelectButton=Zo,y.Grid=Es,y.GridLayoutContainer=Rs,y.GridLayoutWrap=wd,y.GridRow=Ds,y.GridTable=td,y.GridTableColumn=Ps,y.GroupColumn=Ed,y.Image=Mc,y.ImageColumn=dd,y.ImageCompressType=ql,y.ImportConfig=xo,y.ImportListBind=ko,y.ImportRecordListButton=Xo,y.Input=fc,y.InternalType=jl,y.InvoiceCheckButton=uc,y.LINE_STYLE=Ml,y.LimitDate=fi,y.Link=Fo,y.ListHeightSetting=Vl,y.ListSelectButton=Qo,y.ListView=Ls,y.ListViewSelect=nc,y.LocationColumn=fd,y.Number=Cc,y.OperationButton=rc,y.OperationColumn=ed,y.OrderColumn=ps,y.OrganizationSelection=ms,y.OrganizeType=Hl,y.Page=Hs,y.Pagination=Yo,y.PeopleColumn=hd,y.Position=Ws,y.PositioningContainer=qs,y.PrintTemplate=Lo,y.Radio=gc,y.ReferenceList=cc,y.RichText=Fc,y.Row=ws,y.SCORE_TYPE=xl,y.SUBTABLE_DEFAULT_MAX_HEIGHT=$o,y.Score=Vc,y.SearchDateRange=Jc,y.SearchInput=us,y.SearchNumberRange=Zc,y.Select=Tc,y.SelectMultiple=Rc,y.SelectRelation=ts,y.SimpleSearch=Bd,y.Step=Ks,y.StepPane=zs,y.SubTable=Ys,y.SubTableColumn=Fs,y.SubTableRow=Ss,y.SubmissionRecordListButton=zo,y.Tab=ks,y.TabPane=Os,y.TableLayout=Gs,y.TableLayoutCol=Zs,y.TableLayoutRow=Xs,y.TableLayoutWrapper=Qs,y.Text=Io,y.TextColumn=id,y.TextOcrButton=ic,y.Textarea=Ac,y.TimescopeColumn=ld,y.TimestampColumn=ad,y.Title=qo,y.TitleConfigEnum=Re,y.Toolbox=$s,y.Tree=as,y.UndersignedPerson=$l,y.VarcharColumn=nd,y.VueFormItem=pc,y.VuePage=bs,y.WPS=hs,y.WPSSetting=Oo,y.WpsOperationItem=Ll,y.baseControls=dD,y.columnControls=s8,y.formControls=a7,y.initExpression=qt,y.layoutControls=K7,y.listControls=p7,y.searchControls=h8,y.wrapControls=m8,Object.defineProperty(y,"__esModule",{value:!0})});