@byteluck-fe/model-driven-controls 3.0.0-beta.4 → 4.34.0-lx1

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 (245) hide show
  1. package/dist/esm/api-doc-index.js +0 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -5
  3. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -5
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -5
  6. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -5
  7. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
  8. package/dist/esm/baseControls/Button/designer.js +1 -12
  9. package/dist/esm/baseControls/Button/property.js +1 -2
  10. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -5
  11. package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
  12. package/dist/esm/baseControls/Dashboard/designer.js +1 -2
  13. package/dist/esm/baseControls/Dashboard/property.js +4 -4
  14. package/dist/esm/baseControls/Divider/designer.js +1 -2
  15. package/dist/esm/baseControls/ExportListButton/designer.js +1 -5
  16. package/dist/esm/baseControls/ExportListButton/property.js +1 -2
  17. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -5
  18. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
  19. package/dist/esm/baseControls/FormSelectButton/property.js +4 -4
  20. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -5
  21. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
  22. package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
  23. package/dist/esm/baseControls/Link/designer.js +1 -2
  24. package/dist/esm/baseControls/Link/property.js +1 -2
  25. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
  26. package/dist/esm/baseControls/ListSelectButton/property.js +5 -8
  27. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
  28. package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
  29. package/dist/esm/baseControls/OperationButton/designer.js +1 -2
  30. package/dist/esm/baseControls/OperationButton/property.js +3 -3
  31. package/dist/esm/baseControls/Pagination/designer.js +1 -2
  32. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -5
  33. package/dist/esm/baseControls/Text/designer.js +1 -6
  34. package/dist/esm/baseControls/Text/property.js +2 -9
  35. package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
  36. package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
  37. package/dist/esm/baseControls/Title/designer.js +1 -2
  38. package/dist/esm/baseControls/Title/property.js +6 -6
  39. package/dist/esm/baseControls/index.js +0 -1
  40. package/dist/esm/baseControls/utils.js +4 -4
  41. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +1 -6
  42. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -6
  43. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -6
  44. package/dist/esm/columnControls/CustomColumn/designer.js +1 -9
  45. package/dist/esm/columnControls/CustomColumn/property.js +2 -2
  46. package/dist/esm/columnControls/DecimalColumn/designer.js +1 -6
  47. package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
  48. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -6
  49. package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -6
  50. package/dist/esm/columnControls/FileColumn/designer.js +8 -11
  51. package/dist/esm/columnControls/FileColumn/property.js +1 -21
  52. package/dist/esm/columnControls/ImageColumn/designer.js +1 -6
  53. package/dist/esm/columnControls/LocationColumn/designer.js +1 -6
  54. package/dist/esm/columnControls/OperationColumn/designer.js +1 -6
  55. package/dist/esm/columnControls/OperationColumn/property.js +3 -3
  56. package/dist/esm/columnControls/OrderColumn/designer.js +1 -6
  57. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -6
  58. package/dist/esm/columnControls/TextColumn/designer.js +1 -6
  59. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -6
  60. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -6
  61. package/dist/esm/columnControls/VarcharColumn/designer.js +2 -4
  62. package/dist/esm/columnControls/VarcharColumn/property.js +4 -7
  63. package/dist/esm/formControls/Address/designer.js +1 -2
  64. package/dist/esm/formControls/Address/property.js +5 -5
  65. package/dist/esm/formControls/Amount/designer.js +1 -6
  66. package/dist/esm/formControls/Amount/property.js +8 -14
  67. package/dist/esm/formControls/Attachment/designer.js +1 -10
  68. package/dist/esm/formControls/Attachment/property.js +16 -19
  69. package/dist/esm/formControls/AutoNumber/designer.js +1 -2
  70. package/dist/esm/formControls/AutoNumber/property.js +1 -2
  71. package/dist/esm/formControls/Calc/designer.js +1 -6
  72. package/dist/esm/formControls/Calc/property.js +5 -11
  73. package/dist/esm/formControls/Checkbox/designer.js +1 -10
  74. package/dist/esm/formControls/Checkbox/property.js +9 -15
  75. package/dist/esm/formControls/DatePicker/designer.js +1 -2
  76. package/dist/esm/formControls/DatePicker/property.js +1 -2
  77. package/dist/esm/formControls/DateRange/designer.js +1 -2
  78. package/dist/esm/formControls/DateRange/property.js +2 -3
  79. package/dist/esm/formControls/Department/designer.js +1 -2
  80. package/dist/esm/formControls/Department/property.js +1 -2
  81. package/dist/esm/formControls/Department2/designer.js +1 -2
  82. package/dist/esm/formControls/Department2/property.js +4 -4
  83. package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
  84. package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
  85. package/dist/esm/formControls/Employee/designer.js +1 -2
  86. package/dist/esm/formControls/Employee/property.js +1 -2
  87. package/dist/esm/formControls/Employee2/designer.js +2 -4
  88. package/dist/esm/formControls/Employee2/property.js +4 -7
  89. package/dist/esm/formControls/Image/designer.js +2 -7
  90. package/dist/esm/formControls/Image/property.js +22 -2
  91. package/dist/esm/formControls/Image/runtime.js +2 -3
  92. package/dist/esm/formControls/Input/designer.js +1 -6
  93. package/dist/esm/formControls/Input/property.js +23 -17
  94. package/dist/esm/formControls/Number/designer.js +1 -2
  95. package/dist/esm/formControls/Number/property.js +9 -9
  96. package/dist/esm/formControls/OrganizationSelection/designer.js +1 -7
  97. package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
  98. package/dist/esm/formControls/Radio/designer.js +1 -10
  99. package/dist/esm/formControls/Radio/property.js +7 -14
  100. package/dist/esm/formControls/RichText/designer.js +1 -10
  101. package/dist/esm/formControls/RichText/property.js +11 -45
  102. package/dist/esm/formControls/Score/designer.js +1 -2
  103. package/dist/esm/formControls/Score/property.js +8 -8
  104. package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
  105. package/dist/esm/formControls/SearchDateRange/property.js +2 -3
  106. package/dist/esm/formControls/SearchInput/designer.js +1 -2
  107. package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
  108. package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
  109. package/dist/esm/formControls/Select/designer.js +1 -10
  110. package/dist/esm/formControls/Select/property.js +10 -16
  111. package/dist/esm/formControls/SelectMultiple/designer.js +1 -10
  112. package/dist/esm/formControls/SelectMultiple/property.js +10 -16
  113. package/dist/esm/formControls/SelectRelation/designer.js +3 -52
  114. package/dist/esm/formControls/SelectRelation/property.js +7 -18
  115. package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/designer.js +57 -25
  116. package/dist/esm/formControls/SensitivenInformation/property.js +206 -0
  117. package/dist/esm/formControls/{VuePage → SensitivenInformation}/runtime.js +14 -14
  118. package/dist/esm/formControls/Textarea/designer.js +2 -12
  119. package/dist/esm/formControls/Textarea/property.js +36 -67
  120. package/dist/esm/formControls/Tree/designer.js +1 -6
  121. package/dist/esm/formControls/Tree/property.js +5 -5
  122. package/dist/esm/formControls/VueFormItem/designer.js +2 -7
  123. package/dist/esm/formControls/WPS/designer.js +1 -2
  124. package/dist/esm/formControls/WPS/property.js +6 -6
  125. package/dist/esm/formControls/index.js +1 -1
  126. package/dist/esm/framework.js +0 -82
  127. package/dist/esm/layoutControls/ActionBar/designer.js +6 -21
  128. package/dist/esm/layoutControls/AdvancedContainer/designer.js +1 -2
  129. package/dist/esm/layoutControls/CardGroup/designer.js +2 -4
  130. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  131. package/dist/esm/layoutControls/Col/designer.js +2 -3
  132. package/dist/esm/layoutControls/DataView/designer.js +1 -2
  133. package/dist/esm/layoutControls/DataView/property.js +4 -5
  134. package/dist/esm/layoutControls/Grid/designer.js +1 -2
  135. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +1 -2
  136. package/dist/esm/layoutControls/GridRow/designer.js +1 -2
  137. package/dist/esm/layoutControls/ListView/designer.js +1 -5
  138. package/dist/esm/layoutControls/ListView/property.js +28 -13
  139. package/dist/esm/layoutControls/Page/designer.js +1 -2
  140. package/dist/esm/layoutControls/Position/designer.js +1 -2
  141. package/dist/esm/layoutControls/PositioningContainer/designer.js +1 -2
  142. package/dist/esm/layoutControls/Row/designer.js +1 -2
  143. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -4
  144. package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
  145. package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
  146. package/dist/esm/layoutControls/Tab/designer.js +1 -2
  147. package/dist/esm/layoutControls/TabPane/designer.js +3 -3
  148. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  149. package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
  150. package/dist/esm/listControls/GridTable/designer.js +7 -34
  151. package/dist/esm/listControls/SubTable/designer.js +6 -8
  152. package/dist/esm/listControls/SubTable/property.js +17 -33
  153. package/dist/esm/searchControls/SimpleSearch/designer.js +0 -3
  154. package/dist/esm/searchControls/SimpleSearch/property.js +3 -16
  155. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +2 -3
  156. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +1 -2
  157. package/dist/index.umd.js +1 -1
  158. package/dist/types/api-doc-index.d.ts +0 -1
  159. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +0 -1
  160. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +0 -1
  161. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +0 -1
  162. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +0 -1
  163. package/dist/types/baseControls/Button/designer.d.ts +0 -1
  164. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +0 -1
  165. package/dist/types/baseControls/ExportListButton/designer.d.ts +0 -1
  166. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +0 -1
  167. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +0 -1
  168. package/dist/types/baseControls/ListSelectButton/property.d.ts +0 -1
  169. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +0 -1
  170. package/dist/types/baseControls/Text/property.d.ts +0 -6
  171. package/dist/types/baseControls/index.d.ts +0 -1
  172. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
  173. package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
  174. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
  175. package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -2
  176. package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
  177. package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
  178. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
  179. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
  180. package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
  181. package/dist/types/columnControls/FileColumn/property.d.ts +0 -1
  182. package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
  183. package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
  184. package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
  185. package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
  186. package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
  187. package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
  188. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
  189. package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
  190. package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
  191. package/dist/types/columnControls/VarcharColumn/property.d.ts +1 -7
  192. package/dist/types/formControls/Amount/property.d.ts +0 -6
  193. package/dist/types/formControls/Attachment/property.d.ts +10 -3
  194. package/dist/types/formControls/Calc/property.d.ts +0 -6
  195. package/dist/types/formControls/Checkbox/property.d.ts +0 -6
  196. package/dist/types/formControls/Employee2/property.d.ts +0 -1
  197. package/dist/types/formControls/Image/property.d.ts +5 -0
  198. package/dist/types/formControls/Input/property.d.ts +9 -3
  199. package/dist/types/formControls/Number/property.d.ts +2 -2
  200. package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
  201. package/dist/types/formControls/Radio/property.d.ts +0 -6
  202. package/dist/types/formControls/RichText/property.d.ts +1 -19
  203. package/dist/types/formControls/Select/property.d.ts +0 -6
  204. package/dist/types/formControls/SelectMultiple/property.d.ts +0 -6
  205. package/dist/types/formControls/SelectRelation/designer.d.ts +0 -1
  206. package/dist/types/formControls/SelectRelation/property.d.ts +1 -9
  207. package/dist/types/formControls/SensitivenInformation/designer.d.ts +15 -0
  208. package/dist/types/formControls/SensitivenInformation/property.d.ts +57 -0
  209. package/dist/types/formControls/SensitivenInformation/runtime.d.ts +12 -0
  210. package/dist/types/formControls/Textarea/property.d.ts +18 -12
  211. package/dist/types/formControls/VueFormItem/designer.d.ts +0 -1
  212. package/dist/types/formControls/index.d.ts +1 -1
  213. package/dist/types/framework.d.ts +1 -31
  214. package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -3
  215. package/dist/types/layoutControls/CardGroup/property.d.ts +0 -1
  216. package/dist/types/layoutControls/ListView/designer.d.ts +0 -3
  217. package/dist/types/layoutControls/ListView/property.d.ts +9 -2
  218. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
  219. package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
  220. package/dist/types/listControls/GridTable/designer.d.ts +0 -8
  221. package/dist/types/listControls/GridTable/property.d.ts +1 -1
  222. package/dist/types/listControls/SubTable/designer.d.ts +0 -3
  223. package/dist/types/listControls/SubTable/property.d.ts +0 -19
  224. package/dist/types/searchControls/SimpleSearch/designer.d.ts +0 -3
  225. package/dist/types/searchControls/SimpleSearch/property.d.ts +1 -13
  226. package/dist/types/type.d.ts +3 -4
  227. package/package.json +35 -35
  228. package/dist/esm/baseControls/ReferenceList/property.js +0 -139
  229. package/dist/esm/baseControls/ReferenceList/runtime.js +0 -112
  230. package/dist/esm/formControls/VuePage/designer.js +0 -129
  231. package/dist/esm/formControls/VuePage/index.js +0 -11
  232. package/dist/esm/formControls/VuePage/property.js +0 -133
  233. package/dist/esm/formControls/VuePage/types.js +0 -0
  234. package/dist/types/baseControls/ReferenceList/designer.d.ts +0 -14
  235. package/dist/types/baseControls/ReferenceList/property.d.ts +0 -22
  236. package/dist/types/baseControls/ReferenceList/runtime.d.ts +0 -9
  237. package/dist/types/formControls/VuePage/designer.d.ts +0 -15
  238. package/dist/types/formControls/VuePage/index.d.ts +0 -12
  239. package/dist/types/formControls/VuePage/property.d.ts +0 -18
  240. package/dist/types/formControls/VuePage/runtime.d.ts +0 -12
  241. package/dist/types/formControls/VuePage/types.d.ts +0 -0
  242. /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.js +0 -0
  243. /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.js +0 -0
  244. /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.d.ts +0 -0
  245. /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.d.ts +0 -0
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var VD=Object.defineProperty,HD=Object.defineProperties;var jD=Object.getOwnPropertyDescriptors;var cd=Object.getOwnPropertySymbols,qD=Object.getPrototypeOf,UD=Object.prototype.hasOwnProperty,WD=Object.prototype.propertyIsEnumerable,zD=Reflect.get;var sd=(y,V,K)=>V in y?VD(y,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[V]=K,nt=(y,V)=>{for(var K in V||(V={}))UD.call(V,K)&&sd(y,K,V[K]);if(cd)for(var K of cd(V))WD.call(V,K)&&sd(y,K,V[K]);return y},xl=(y,V)=>HD(y,jD(V));var Pl=(y,V,K)=>zD(qD(y),K,V);var kl=(y,V,K)=>new Promise((fu,xn)=>{var yu=ve=>{try{Pt(K.next(ve))}catch(kt){xn(kt)}},vu=ve=>{try{Pt(K.throw(ve))}catch(kt){xn(kt)}},Pt=ve=>ve.done?fu(ve.value):Promise.resolve(ve.value).then(yu,vu);Pt((K=K.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Pt="\u8BF7\u8F93\u5165\u6807\u9898",ve="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",kt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",dd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",hd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",fd="\u8BF7\u7ED1\u5B9A\u8868\u5355",yd="\u8BF7\u7ED1\u5B9A\u5217\u8868",vd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",md="\u8BF7\u8F93\u5165\u663E\u793A\u503C",gd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",bd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ed="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_d="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Dd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ad="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Id="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Td="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Rd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",xd="\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",kd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Od="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Md="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$d="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ld="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Nd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Vd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hd="\u8BF7\u9009\u62E9\u7701",jd="\u8BF7\u9009\u62E9\u5E02",qd="\u8BF7\u9009\u62E9\u533A",Ud="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zd="\u8BF7\u8F93\u5165\u5217\u5BBD",Kd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Gd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Xd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Jd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Zd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Yd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",pd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",eh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ih="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",oh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ch="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",dh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",fh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",yh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",mh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",gh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",bh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Ch="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Eh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",_h="\u6279\u91CF\u5220\u9664",Bh="\u6279\u91CF\u6253\u5370",wh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Dh="\u6309\u94AE",Fh="\u521B\u5EFA\u5355\u636E",Ah="\u4EEA\u8868\u76D8",Sh="\u5206\u5272\u7EBF",Ih="\u5BFC\u51FA",Th="\u8868\u5355\u64CD\u4F5C",Rh="\u5BFC\u5165",xh="\u53D1\u7968\u8BC6\u522B",Ph="\u94FE\u63A5",kh="\u5217\u8868\u9009\u62E9",Oh="\u5217\u8868\u89C6\u56FE",Mh="\u64CD\u4F5C\u6309\u94AE",$h="\u5206\u9875",Lh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Nh="\u8BF4\u660E\u6587\u5B57",Vh="\u6587\u5B57\u8BC6\u522B",Hh="\u6807\u9898\u7EC4\u4EF6",jh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",qh="\u6570\u7EC4",Uh="\u81EA\u52A8\u7F16\u53F7",Wh="\u81EA\u5B9A\u4E49",zh="\u6570\u503C",Kh="\u90E8\u95E8",Gh="\u4EBA\u5458",Qh="\u9644\u4EF6",Xh="\u56FE\u7247",Jh="\u5730\u5740",Zh="\u64CD\u4F5C",Yh="\u5E8F\u53F7",ph="\u4EBA\u5458",ef="\u957F\u6587\u672C",tf="\u65E5\u671F\u533A\u95F4",nf="\u65E5\u671F",uf="\u77ED\u6587\u672C",af="\u6362\u884C\u5BB9\u5668Wrap",lf="\u8868\u683C",rf="\u660E\u7EC6\u5B50\u8868",of="\u5730\u5740",cf="\u91D1\u989D",sf="\u8BA1\u7B97\u516C\u5F0F",df="\u591A\u9009",hf="\u7535\u5B50\u7B7E\u7AE0",ff="\u5355\u884C\u6587\u672C",yf="\u6570\u5B57",vf="\u4E1A\u52A1\u7EC4\u7EC7",mf="\u5355\u9009",gf="\u5BCC\u6587\u672C",bf="\u8BC4\u5206",Cf="\u6570\u5B57\u533A\u95F4",Ef="\u4E0B\u62C9\u5355\u9009",_f="\u4E0B\u62C9\u591A\u9009",Bf="\u5173\u8054\u5355\u9009",wf="\u591A\u884C\u6587\u672C",Df="\u6811",Ff="Vue\u5BB9\u5668",Af="Vue\u9875\u9762",Sf="\u5728\u7EBF\u6587\u6863",If="\u6309\u94AE\u64CD\u4F5C\u680F",Tf="\u9AD8\u7EA7\u5BB9\u5668",Rf="\u5206\u7EC4",xf="\u6805\u683C\u5217",Pf="\u6570\u636E\u5BB9\u5668",kf="\u753B\u5E03",Of="\u6362\u884C\u5BB9\u5668",Mf="\u6805\u683C\u7B49\u5206\u884C",$f="\u5217\u8868\u5BB9\u5668",Lf="\u81EA\u7531\u9875\u9762",Nf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Vf="\u5B9A\u4F4D\u5BB9\u5668",Hf="\u6805\u683C\u5E03\u5C40",jf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",qf="\u660E\u7EC6\u5B50\u8868\u884C",Uf="\u6807\u7B7E\u9875",Wf="\u6807\u7B7E\u5355\u5143",zf="\u5DE5\u5177\u680F",Kf="\u6279\u91CF\u63D0\u4EA4",Gf="\u5BFC\u51FA\u8BB0\u5F55",Qf="\u5217\u8868\u89C6\u56FE",Xf="\u7ED3\u675F\u65F6\u95F4",Jf="\u5F00\u59CB\u65F6\u95F4",Zf="\u5355\u4F4D",Yf="\u7ED3\u679C",pf="\u5E01\u79CD",ey="\u7ED3\u675F\u65E5\u671F",ty="\u5F00\u59CB\u65E5\u671F",ny="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",iy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",uy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ay="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ly="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ry="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",oy="\u8BF7\u9009\u62E9",cy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",sy="\u8BF7\u9009\u62E9\u90E8\u95E8",dy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",hy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",fy="\u8BF7\u9009\u62E9\u5730\u5740",yy="\u5F39\u7A97\u786E\u8BA4\u65F6",vy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",my="\u884C\u9009\u4E2D\u65F6",gy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",by="\u884C\u5220\u9664\u524D",Cy="\u884C\u70B9\u51FB\u65F6",Ey="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",_y="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",By="\u91CD\u547D\u540D\u65F6",wy="\u4FDD\u5B58\u6587\u4EF6\u65F6",Dy="\u6253\u5F00\u6587\u4EF6\u65F6",Fy="\u83B7\u53D6\u7126\u70B9\u65F6",Ay="\u5931\u53BB\u7126\u70B9\u65F6",Sy="\u7528\u6237\u8F93\u5165\u65F6",Iy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ty="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ry="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",xy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Py="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",ky="\u641C\u7D22\u65F6",Oy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",My="\u6267\u884C\u5B8C\u6210\u65F6",$y="\u70B9\u51FB\u65F6",Ly="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Ny="\u8BF7\u8F93\u5165\u65E5\u671F",Vy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Hy="\u8BF7\u8F93\u5165",jy="\u9ED8\u8BA4\u6A21\u7248",qy="\u5DE6\u53F3\u5E03\u5C40",Uy="\u4E0A\u4E0B\u5E03\u5C40",Wy="\u53EA\u8BFB",zy="\u5FC5\u586B",Ky="\u63D0\u793A\u6587\u5B57",Gy="\u9690\u85CF\u6807\u9898",Qy="\u6807\u9898\u5FC5\u586B",Xy="\u7EC4\u7EC7\u5F62\u6001",Jy="\u4E1A\u52A1\u7C7B\u578B",Zy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Yy="\u9690\u85CF",py="\u6D41\u7A0B\u72B6\u6001",ev="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",tv="\u5220\u9664",nv="\u7F16\u8F91",iv="\u67E5\u770B",uv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",av="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",lv="\u5145\u6EE1\u6574\u884C",rv="\u6700\u5C0F\u503C",ov="\u6700\u5927\u503C",cv="\u65B0\u5EFA\u6587\u6863",sv="\u91CD\u7F6E",dv="\u67E5\u8BE2",hv="\u660E\u7EC6",fv="\u6253\u5370",yv="\u4FDD\u5B58\u8349\u7A3F",vv="\u4FDD\u5B58",mv="\u53D6\u6D88",gv="\u4E0A\u4F20\u56FE\u7247",bv="\u53D1\u8D77\u7B7E\u7F72",Cv="\u4E0A\u4F20\u9644\u4EF6",Ev="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",_v="\u5F15\u7528\u5217\u8868",Bv="\u9009\u9879\u4E00",wv="\u9009\u9879\u4E8C",Dv="\u9009\u9879\u4E09",Fv={isNotNumber:V,isNotString:K,isNotObject:fu,isNotArray:xn,isNotBoolean:yu,runtimeRequired:vu,pleaseEnterCaption:Pt,pleaseEnterCaptionTip:ve,pleaseEnterRowCaption:kt,pleaseEnterPlaceholder:dd,pleaseEnterFieldCode:hd,pleaseEnterForm:fd,pleaseEnterList:yd,pleaseEnterProcess:vd,pleaseEnterLabel:md,pleaseEnterValue:gd,bizKeyNotBindFiled:bd,pleaseSelectOneField:Cd,pleaseEnterNumberRange:Ed,pleaseEnterAValueGreaterThanMin:_d,pleaseEnterAValueLessThanMax:Bd,numberRangeSetError:wd,stringRangeError:Dd,attachmentMaxSize:Fd,pleaseEnterTotalScoreSetting:Ad,theTotalScoreMustNotBeLessThan1:Sd,scoreDefaultValueRange:Id,attachmentLimitError:Td,PleaseReselectTheOptionalQuantity:Rd,TheMaximumLengthIsGreaterThanTheMinimumLength:xd,TheMinimumLengthIsGreaterThanTheMaximumLength:Pd,PleaseSelectTheCorrectOptionSettings:kd,optionIdIsRepeat:Od,optionIsRequired:Md,pleaseEnterDataCode:$d,pleaseEnterValueFieldCode:Ld,pleaseEnterSvcCode:Nd,pleaseBindAtLeastOneDisplayValue:Vd,pleaseSelectProvince:Hd,pleaseSelectCity:jd,pleaseSelectDistrict:qd,limitRowsCannotBeLessThan0:Ud,TheNumberOfRowsCannotBeLessThanMinRows:Wd,pleaseEnterColumnWidth:zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Kd,pleaseCompleteAllRulesAndConditions:Gd,pleaseSelectControl:Qd,pleaseSelectAtLeastOneColumn:Xd,pleaseSelectFillBackMode:Jd,pleaseSelectDashboard:Zd,rootNodeIsRequired:Yd,theViewNameCannotBeEmpty:pd,pleaseSelectOcrType:eh,pleaseSelectAtLeastOneFieldToFillIn:th,pleaseChooseAtLeastOne:nh,pleaseEnterButtonContent:ih,pleaseEnterDataCodeInDataSetting:uh,pleaseEnterValueFieldCodeInDataSetting:ah,pleaseEnterSvcCodeInDataSetting:lh,pleaseBindAtLeastOneDisplayValueInDataSetting:rh,rootNodeIsRequiredInDataSetting:oh,pleaseEnterMaxHeight:ch,pleaseEnterWatermark:sh,pleaseEnterFileName:dh,pleaseUploadAtLeastOnePrintTemplate:hh,pleaseAssignBusiness:fh,pleaseAssignExternal:yh,pleaseEnterAliasCode:vh,pleaseSelectDataCode:mh,pleaseSelectSvcCode:gh,pleaseSelectJoinFieldCode:bh,pleaseSelectMainFieldCode:Ch,pleaseSelectSortFieldCode:Eh,batchDeleteButton:_h,batchPrintListButton:Bh,batchPrintRecordList:wh,button:Dh,createFormListButton:Fh,dashboard:Ah,divider:Sh,exportListButton:Ih,formSelectButton:Th,importRecordListButton:Rh,invoiceCheckButton:xh,link:Ph,listSelectButton:kh,ListViewSelect:Oh,operationButton:Mh,pagination:$h,submissionRecordListButton:Lh,text:Nh,textOcrButton:Vh,title:Hh,approvalStatusColumn:jh,array:qh,autoNumber:Uh,custom:Wh,decimal:zh,department:Kh,employee:Gh,file:Qh,image:Xh,location:Jh,operation:Zh,order:Yh,people:ph,long:ef,timescope:tf,timestamp:nf,varchar:uf,gridLayoutWrap:af,gridTable:lf,subTable:rf,address:of,amount:cf,calc:sf,checkBox:df,electronicSignature:hf,input:ff,number:yf,organizationSelection:vf,radio:mf,richText:gf,score:bf,searchNumberRange:Cf,select:Ef,selectMultiple:_f,selectRelation:Bf,textarea:wf,tree:Df,vueFormItem:Ff,vuePage:Af,WPS:Sf,actionBar:If,advancedContainer:Tf,cardGroup:Rf,col:xf,dataView:Pf,grid:kf,gridLayoutContainer:Of,gridRow:Mf,listView:$f,page:Lf,position:Nf,positioningContainer:Vf,row:Hf,subtableColumn:jf,subtableRow:qf,tab:Uf,tabPane:Wf,toolbox:zf,batchSubmissionListButton:Kf,exportRecordListButton:Gf,listViewSelect:Qf,endTime:Xf,startTime:Jf,unit:Zf,result:Yf,currency:pf,endDate:ey,startDate:ty,pleaseSelectCompanyName:ny,pleaseSelectPhoneOrEmail:iy,pleaseSelectSignType:uy,pleaseSelectSigner:ay,pleaseSelectOnlyOne:ly,pleaseSelectSignFile:ry,pleaseSelect:oy,pleaseSelectOrg:cy,pleaseSelectDept:sy,pleaseSelectEndDate:dy,pleaseSelectStartDate:hy,pleaseChooseAddress:fy,modalConfirm:yy,tabChange:vy,rowSelected:my,listDataImport:gy,rowDelete:by,rowClick:Cy,cellRender:Ey,onClickBtn:_y,rename:By,onSaveFile:wy,onOpenFile:Dy,onFocus:Fy,onBlur:Ay,onInput:Sy,listDataAdd:Iy,listDataDelete:Ty,listDataBack:Ry,listDataCreate:xy,listDataChange:Py,search:ky,valueChange:Oy,finished:My,click:$y,pleaseEnterNameorEmail:Ly,pleaseEnterDate:Ny,pleaseEnterAutonumber:Vy,pleaseEnter:Hy,defaultTemplate:jy,left:qy,top:Uy,default:"\u666E\u901A",readonly:Wy,required:zy,textTip:Ky,hideCaption:Gy,titleRequired:Qy,organizationalForm:Xy,businessType:Jy,deleteConfirm:Zy,hide:Yy,processStatus:py,approvedDocuments:ev,delete:tv,edit:nv,view:iv,loadCtrlErrorTip:uv,loadCtrlError:av,fullLine:lv,min:rv,max:ov,createWPS:cv,reset:sv,query:dv,detailed:hv,print:fv,draft:yv,save:vv,cancel:mv,uploadImg:gv,signature:bv,uploadFile:Cv,linkContent:Ev,referenceList:_v,optionOne:Bv,optionTwo:wv,optionThird:Dv},Av="Please enter a number",Sv="Please enter a string",Iv="Please enter an object",Tv="Please enter an array",Rv="Please enter a boolean",xv="{caption} Required",Pv="Please enter the title",kv="Please enter the bubble prompt",Ov="Please enter the row title",Mv="Please enter the prompt text",$v="Please bind data items",Lv="Please bind the form",Nv="Please bind the list",Vv="Please bind the process",Hv="Please enter the displayed value",jv="Please enter the stored value",qv="The document number is not bound to the data item",Uv="Please select at least one display field",Wv="Please enter a value greater than or equal to {min} and less than or equal to {max}",zv="Please enter a value greater than or equal to {min}",Kv="Please enter a value less than or equal to {max}",Gv="The value range is set incorrectly",Qv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Xv="The attachment size must be between 0MB and 1000MB",Jv="Please fill in the total score setting",Zv="The total score cannot be less than 1",Yv="The default value must be between {min} and {max}",pv="The number of attachment uploads exceeds the limit",em="Please re-select the optional quantity",tm="The maximum length of the control must be greater than the minimum length",nm="The minimum length of the control must be less than the maximum length",im="Please select the correct option setting",um="Option ID cannot be repeated",am="Please enter at least one option",lm="Please bind the data source",rm="Please bind the stored value",om="Please bind the service",cm="At least one display value must be bound",sm="Please select a province",dm="Please select a city",hm="Please select a district",fm="The minimum number of lines to fill in cannot be less than 0",ym="The number of rows cannot be less than {min} rows",vm="Please enter the column width",mm="Please set the logical relationship of all rule conditions",gm="Please complete all rules and conditions",bm="please select control",Cm="Please select the dashboard",Em="View name cannot be empty",_m="Please select recognition type",Bm="Please select at least one field to fill in",wm="Please select at least one",Dm="Please enter the button title",Fm="Please bind the business model in the data settings",Am="Please bind storage values in data settings",Sm="Please bind the service in the data settings",Im="Please bind at least one display value in the data settings",Tm="Please select the root node in the data settings",Rm="Please enter the maximum height",xm="The input content cannot be empty",Pm="Watermark cannot be empty",km="File name cannot be empty",Om="Please upload at least one printing template!\uFF01",Mm="Please select a specific business department",$m="Please select a specified external organization",Lm="Please enter a sub table alias",Nm="Please select the associated table to set the business model",Vm="Please select the association table to set the binding service",Hm="Select associated sub table fields",jm="Please select the associated main table field",qm="Please select the sort field",Um="\u6279\u91CF\u5220\u9664",Wm="\u6279\u91CF\u6253\u5370",zm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Km="\u6309\u94AE",Gm="\u521B\u5EFA\u5355\u636E",Qm="\u4EEA\u8868\u76D8",Xm="\u5206\u5272\u7EBF",Jm="\u5BFC\u51FA",Zm="\u8868\u5355\u64CD\u4F5C",Ym="\u5BFC\u5165",pm="\u53D1\u7968\u8BC6\u522B",e0="\u94FE\u63A5",t0="\u5217\u8868\u9009\u62E9",n0="\u5217\u8868\u89C6\u56FE",i0="\u64CD\u4F5C\u6309\u94AE",u0="\u5206\u9875",a0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",l0="\u8BF4\u660E\u6587\u5B57",r0="\u6587\u5B57\u8BC6\u522B",o0="\u6807\u9898\u7EC4\u4EF6",c0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",s0="\u6570\u7EC4",d0="\u81EA\u52A8\u7F16\u53F7",h0="\u81EA\u5B9A\u4E49",f0="\u6570\u503C",y0="\u90E8\u95E8",v0="\u4EBA\u5458",m0="\u9644\u4EF6",g0="\u56FE\u7247",b0="\u5730\u5740",C0="\u64CD\u4F5C",E0="\u5E8F\u53F7",_0="\u4EBA\u5458",B0="\u957F\u6587\u672C",w0="\u65E5\u671F\u533A\u95F4",D0="\u65E5\u671F",F0="\u77ED\u6587\u672C",A0="\u6362\u884C\u5BB9\u5668Wrap",S0="\u8868\u683C",I0="\u660E\u7EC6\u5B50\u8868",T0="\u5730\u5740",R0="\u91D1\u989D",x0="\u8BA1\u7B97\u516C\u5F0F",P0="\u591A\u9009",k0="\u7535\u5B50\u7B7E\u7AE0",O0="\u5355\u884C\u6587\u672C",M0="\u6570\u5B57",$0="\u4E1A\u52A1\u7EC4\u7EC7",L0="\u5355\u9009",N0="\u5BCC\u6587\u672C",V0="\u8BC4\u5206",H0="\u6570\u5B57\u533A\u95F4",j0="\u4E0B\u62C9\u5355\u9009",q0="\u4E0B\u62C9\u591A\u9009",U0="\u5173\u8054\u5355\u9009",W0="\u591A\u884C\u6587\u672C",z0="\u6811",K0="Vue\u5BB9\u5668",G0="Vue\u9875\u9762",Q0="\u5728\u7EBF\u6587\u6863",X0="\u6309\u94AE\u64CD\u4F5C\u680F",J0="\u9AD8\u7EA7\u5BB9\u5668",Z0="\u5206\u7EC4",Y0="\u6805\u683C\u5217",p0="\u6570\u636E\u5BB9\u5668",eg="\u753B\u5E03",tg="\u6362\u884C\u5BB9\u5668",ng="\u6805\u683C\u7B49\u5206\u884C",ig="\u5217\u8868\u5BB9\u5668",ug="\u81EA\u7531\u9875\u9762",ag="\u5B9A\u4F4D\u5B50\u5BB9\u5668",lg="\u5B9A\u4F4D\u5BB9\u5668",rg="\u6805\u683C\u5E03\u5C40",og="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",cg="\u660E\u7EC6\u5B50\u8868\u884C",sg="\u6807\u7B7E\u9875",dg="\u6807\u7B7E\u5355\u5143",hg="\u5DE5\u5177\u680F",fg="\u6279\u91CF\u63D0\u4EA4",yg="\u5BFC\u51FA\u8BB0\u5F55",vg="\u5217\u8868\u89C6\u56FE",mg="\u5F15\u7528\u5217\u8868",gg="\u9009\u9879\u4E00",bg="\u9009\u9879\u4E8C",Cg="\u9009\u9879\u4E09",Eg={isNotNumber:Av,isNotString:Sv,isNotObject:Iv,isNotArray:Tv,isNotBoolean:Rv,runtimeRequired:xv,pleaseEnterCaption:Pv,pleaseEnterCaptionTip:kv,pleaseEnterRowCaption:Ov,pleaseEnterPlaceholder:Mv,pleaseEnterFieldCode:$v,pleaseEnterForm:Lv,pleaseEnterList:Nv,pleaseEnterProcess:Vv,pleaseEnterLabel:Hv,pleaseEnterValue:jv,bizKeyNotBindFiled:qv,pleaseSelectOneField:Uv,pleaseEnterNumberRange:Wv,pleaseEnterAValueGreaterThanMin:zv,pleaseEnterAValueLessThanMax:Kv,numberRangeSetError:Gv,stringRangeError:Qv,attachmentMaxSize:Xv,pleaseEnterTotalScoreSetting:Jv,theTotalScoreMustNotBeLessThan1:Zv,scoreDefaultValueRange:Yv,attachmentLimitError:pv,PleaseReselectTheOptionalQuantity:em,TheMaximumLengthIsGreaterThanTheMinimumLength:tm,TheMinimumLengthIsGreaterThanTheMaximumLength:nm,PleaseSelectTheCorrectOptionSettings:im,optionIdIsRepeat:um,optionIsRequired:am,pleaseEnterDataCode:lm,pleaseEnterValueFieldCode:rm,pleaseEnterSvcCode:om,pleaseBindAtLeastOneDisplayValue:cm,pleaseSelectProvince:sm,pleaseSelectCity:dm,pleaseSelectDistrict:hm,limitRowsCannotBeLessThan0:fm,TheNumberOfRowsCannotBeLessThanMinRows:ym,pleaseEnterColumnWidth:vm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mm,pleaseCompleteAllRulesAndConditions:gm,pleaseSelectControl:bm,pleaseSelectDashboard:Cm,theViewNameCannotBeEmpty:Em,pleaseSelectOcrType:_m,pleaseSelectAtLeastOneFieldToFillIn:Bm,pleaseChooseAtLeastOne:wm,pleaseEnterButtonContent:Dm,pleaseEnterDataCodeInDataSetting:Fm,pleaseEnterValueFieldCodeInDataSetting:Am,pleaseEnterSvcCodeInDataSetting:Sm,pleaseBindAtLeastOneDisplayValueInDataSetting:Im,rootNodeIsRequiredInDataSetting:Tm,pleaseEnterMaxHeight:Rm,pleaseEnter:xm,pleaseEnterWatermark:Pm,pleaseEnterFileName:km,pleaseUploadAtLeastOnePrintTemplate:Om,pleaseAssignBusiness:Mm,pleaseAssignExternal:$m,pleaseEnterAliasCode:Lm,pleaseSelectDataCode:Nm,pleaseSelectSvcCode:Vm,pleaseSelectJoinFieldCode:Hm,pleaseSelectMainFieldCode:jm,pleaseSelectSortFieldCode:qm,batchDeleteButton:Um,batchPrintListButton:Wm,batchPrintRecordList:zm,button:Km,createFormListButton:Gm,dashboard:Qm,divider:Xm,exportListButton:Jm,formSelectButton:Zm,importRecordListButton:Ym,invoiceCheckButton:pm,link:e0,listSelectButton:t0,ListViewSelect:n0,operationButton:i0,pagination:u0,submissionRecordListButton:a0,text:l0,textOcrButton:r0,title:o0,approvalStatusColumn:c0,array:s0,autoNumber:d0,custom:h0,decimal:f0,department:y0,employee:v0,file:m0,image:g0,location:b0,operation:C0,order:E0,people:_0,long:B0,timescope:w0,timestamp:D0,varchar:F0,gridLayoutWrap:A0,gridTable:S0,subTable:I0,address:T0,amount:R0,calc:x0,checkBox:P0,electronicSignature:k0,input:O0,number:M0,organizationSelection:$0,radio:L0,richText:N0,score:V0,searchNumberRange:H0,select:j0,selectMultiple:q0,selectRelation:U0,textarea:W0,tree:z0,vueFormItem:K0,vuePage:G0,WPS:Q0,actionBar:X0,advancedContainer:J0,cardGroup:Z0,col:Y0,dataView:p0,grid:eg,gridLayoutContainer:tg,gridRow:ng,listView:ig,page:ug,position:ag,positioningContainer:lg,row:rg,subtableColumn:og,subtableRow:cg,tab:sg,tabPane:dg,toolbox:hg,batchSubmissionListButton:fg,exportRecordListButton:yg,listViewSelect:vg,referenceList:mg,optionOne:gg,optionTwo:bg,optionThird:Cg},_g="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="{caption}\u5FC5\u9808",Sg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ig="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="\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",kg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Og="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$g="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ng="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ug="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Xg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jg="\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",Zg="\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",Yg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pg="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",tb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ib="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ub="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ab="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ob="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",cb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",sb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",db="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fb="please select control",yb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gb="\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",bb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wb="\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",Db="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ib="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Tb="\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",Rb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xb="\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",kb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ob="\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",Mb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",$b="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u6279\u91CF\u5220\u9664",Vb="\u6279\u91CF\u6253\u5370",Hb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",jb="\u6309\u94AE",qb="\u521B\u5EFA\u5355\u636E",Ub="\u4EEA\u8868\u76D8",Wb="\u5206\u5272\u7EBF",zb="\u5BFC\u51FA",Kb="\u8868\u5355\u64CD\u4F5C",Gb="\u5BFC\u5165",Qb="\u53D1\u7968\u8BC6\u522B",Xb="\u94FE\u63A5",Jb="\u5217\u8868\u9009\u62E9",Zb="\u5217\u8868\u89C6\u56FE",Yb="\u64CD\u4F5C\u6309\u94AE",pb="\u5206\u9875",eC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",tC="\u8BF4\u660E\u6587\u5B57",nC="\u6587\u5B57\u8BC6\u522B",iC="\u6807\u9898\u7EC4\u4EF6",uC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",aC="\u6570\u7EC4",lC="\u81EA\u52A8\u7F16\u53F7",rC="\u81EA\u5B9A\u4E49",oC="\u6570\u503C",cC="\u90E8\u95E8",sC="\u4EBA\u5458",dC="\u9644\u4EF6",hC="\u56FE\u7247",fC="\u5730\u5740",yC="\u64CD\u4F5C",vC="\u5E8F\u53F7",mC="\u4EBA\u5458",gC="\u957F\u6587\u672C",bC="\u65E5\u671F\u533A\u95F4",CC="\u65E5\u671F",EC="\u77ED\u6587\u672C",_C="\u6362\u884C\u5BB9\u5668Wrap",BC="\u8868\u683C",wC="\u660E\u7EC6\u5B50\u8868",DC="\u5730\u5740",FC="\u91D1\u989D",AC="\u8BA1\u7B97\u516C\u5F0F",SC="\u591A\u9009",IC="\u7535\u5B50\u7B7E\u7AE0",TC="\u5355\u884C\u6587\u672C",RC="\u6570\u5B57",xC="\u4E1A\u52A1\u7EC4\u7EC7",PC="\u5355\u9009",kC="\u5BCC\u6587\u672C",OC="\u8BC4\u5206",MC="\u6570\u5B57\u533A\u95F4",$C="\u4E0B\u62C9\u5355\u9009",LC="\u4E0B\u62C9\u591A\u9009",NC="\u5173\u8054\u5355\u9009",VC="\u591A\u884C\u6587\u672C",HC="\u6811",jC="Vue\u5BB9\u5668",qC="Vue\u9875\u9762",UC="\u5728\u7EBF\u6587\u6863",WC="\u6309\u94AE\u64CD\u4F5C\u680F",zC="\u9AD8\u7EA7\u5BB9\u5668",KC="\u5206\u7EC4",GC="\u6805\u683C\u5217",QC="\u6570\u636E\u5BB9\u5668",XC="\u753B\u5E03",JC="\u6362\u884C\u5BB9\u5668",ZC="\u6805\u683C\u7B49\u5206\u884C",YC="\u5217\u8868\u5BB9\u5668",pC="\u81EA\u7531\u9875\u9762",e5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",t5="\u5B9A\u4F4D\u5BB9\u5668",n5="\u6805\u683C\u5E03\u5C40",i5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",u5="\u660E\u7EC6\u5B50\u8868\u884C",a5="\u6807\u7B7E\u9875",l5="\u6807\u7B7E\u5355\u5143",r5="\u5DE5\u5177\u680F",o5="\u6279\u91CF\u63D0\u4EA4",c5="\u5BFC\u51FA\u8BB0\u5F55",s5="\u5217\u8868\u89C6\u56FE",d5="\u5F15\u7528\u5217\u8868",h5="\u9009\u9879\u4E00",f5="\u9009\u9879\u4E8C",y5="\u9009\u9879\u4E09",v5={isNotNumber:_g,isNotString:Bg,isNotObject:wg,isNotArray:Dg,isNotBoolean:Fg,runtimeRequired:Ag,pleaseEnterCaption:Sg,pleaseEnterCaptionTip:Ig,pleaseEnterRowCaption:Tg,pleaseEnterPlaceholder:Rg,pleaseEnterFieldCode:xg,pleaseEnterForm:Pg,pleaseEnterList:kg,pleaseEnterProcess:Og,pleaseEnterLabel:Mg,pleaseEnterValue:$g,bizKeyNotBindFiled:Lg,pleaseSelectOneField:Ng,pleaseEnterNumberRange:Vg,pleaseEnterAValueGreaterThanMin:Hg,pleaseEnterAValueLessThanMax:jg,numberRangeSetError:qg,stringRangeError:Ug,attachmentMaxSize:Wg,pleaseEnterTotalScoreSetting:zg,theTotalScoreMustNotBeLessThan1:Kg,scoreDefaultValueRange:Gg,attachmentLimitError:Qg,PleaseReselectTheOptionalQuantity:Xg,TheMaximumLengthIsGreaterThanTheMinimumLength:Jg,TheMinimumLengthIsGreaterThanTheMaximumLength:Zg,PleaseSelectTheCorrectOptionSettings:Yg,optionIdIsRepeat:pg,optionIsRequired:eb,pleaseEnterDataCode:tb,pleaseEnterValueFieldCode:nb,pleaseEnterSvcCode:ib,pleaseBindAtLeastOneDisplayValue:ub,pleaseSelectProvince:ab,pleaseSelectCity:lb,pleaseSelectDistrict:rb,limitRowsCannotBeLessThan0:ob,TheNumberOfRowsCannotBeLessThanMinRows:cb,pleaseEnterColumnWidth:sb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:db,pleaseCompleteAllRulesAndConditions:hb,pleaseSelectControl:fb,pleaseSelectDashboard:yb,theViewNameCannotBeEmpty:vb,pleaseSelectOcrType:mb,pleaseSelectAtLeastOneFieldToFillIn:gb,pleaseChooseAtLeastOne:bb,pleaseEnterButtonContent:Cb,pleaseEnterDataCodeInDataSetting:Eb,pleaseEnterValueFieldCodeInDataSetting:_b,pleaseEnterSvcCodeInDataSetting:Bb,pleaseBindAtLeastOneDisplayValueInDataSetting:wb,rootNodeIsRequiredInDataSetting:Db,pleaseEnterMaxHeight:Fb,pleaseEnter:Ab,pleaseEnterWatermark:Sb,pleaseEnterFileName:Ib,pleaseUploadAtLeastOnePrintTemplate:Tb,pleaseAssignBusiness:Rb,pleaseAssignExternal:xb,pleaseEnterAliasCode:Pb,pleaseSelectDataCode:kb,pleaseSelectSvcCode:Ob,pleaseSelectJoinFieldCode:Mb,pleaseSelectMainFieldCode:$b,pleaseSelectSortFieldCode:Lb,batchDeleteButton:Nb,batchPrintListButton:Vb,batchPrintRecordList:Hb,button:jb,createFormListButton:qb,dashboard:Ub,divider:Wb,exportListButton:zb,formSelectButton:Kb,importRecordListButton:Gb,invoiceCheckButton:Qb,link:Xb,listSelectButton:Jb,ListViewSelect:Zb,operationButton:Yb,pagination:pb,submissionRecordListButton:eC,text:tC,textOcrButton:nC,title:iC,approvalStatusColumn:uC,array:aC,autoNumber:lC,custom:rC,decimal:oC,department:cC,employee:sC,file:dC,image:hC,location:fC,operation:yC,order:vC,people:mC,long:gC,timescope:bC,timestamp:CC,varchar:EC,gridLayoutWrap:_C,gridTable:BC,subTable:wC,address:DC,amount:FC,calc:AC,checkBox:SC,electronicSignature:IC,input:TC,number:RC,organizationSelection:xC,radio:PC,richText:kC,score:OC,searchNumberRange:MC,select:$C,selectMultiple:LC,selectRelation:NC,textarea:VC,tree:HC,vueFormItem:jC,vuePage:qC,WPS:UC,actionBar:WC,advancedContainer:zC,cardGroup:KC,col:GC,dataView:QC,grid:XC,gridLayoutContainer:JC,gridRow:ZC,listView:YC,page:pC,position:e5,positioningContainer:t5,row:n5,subtableColumn:i5,subtableRow:u5,tab:a5,tabPane:l5,toolbox:r5,batchSubmissionListButton:o5,exportRecordListButton:c5,listViewSelect:s5,referenceList:d5,optionOne:h5,optionTwo:f5,optionThird:y5},mu={zhCN:Fv,enUS:Eg,jaJP:v5},Ol;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ol||(Ol={}));var Ml;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ml||(Ml={}));var gu,m5=(gu=window.localStorage.getItem("locale"))!==null&&gu!==void 0?gu:"zh-CN",it;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(it||(it={}));var $l;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})($l||($l={}));var D;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list"})(D||(D={}));var Ll;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Ll||(Ll={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));var De;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(De||(De={}));var Nl={DEFAULT:"default"},Vl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",g5=Vl+"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?Vl:g5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function b5(t){if(Array.isArray(t))return bu(t)}function C5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e,n){return e=Ot(e),w5(t,Eu()?Reflect.construct(e,n||[],Ot(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 Pn(t,e,n){return Eu()?Pn=Reflect.construct:Pn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Mt(c,l.prototype),c},Pn.apply(null,arguments)}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function ql(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function E5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function B5(){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 w5(t,e){return e&&(D5(e)==="object"||typeof e=="function")?e:C5(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Ul(t){return b5(t)||_5(t)||F5(t)||B5()}function D5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F5(t,e){if(!!t){if(typeof t=="string")return bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(t,e)}}function Cu(t){var e=typeof Map=="function"?new Map:void 0;return Cu=function(i){if(i===null||!E5(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Cu(t)}function Eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eu=function(){return!!t})()}var _u=console;function Bu(){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=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ul(u)))}function Wl(){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=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ul(u)))}function A5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wu=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?A5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Cu(Error)),S5=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(wu);function $t(t){throw new wu(t)}function zl(t){throw new S5(t)}function I5(t){_u.error(new wu(t))}const o=(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((r,s)=>{s===0?u=a[r]:u&&(u=u[r])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(r=>{const s=e[r];l=l.replace(new RegExp(`\\{\\s*${r}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};function T5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 R5(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function x5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gl=function(){function t(){T5(this,t)}return R5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return o("CMD."+n,i,mu==null||(u=mu[m5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();x5(Gl,"$i18n",Gl.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,r,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Bu("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 r===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var k5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},O5={exports:{}};(function(t){(function(e){var n=function(v,_,S){if(!c(_)||m(_)||g(_)||E(_)||s(_))return _;var x,O=0,ae=0;if(f(_))for(x=[],ae=_.length;O<ae;O++)x.push(n(v,_[O],S));else{x={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(x[v(M,S)]=n(v,_[M],S))}return x},i=function(v,_){_=_||{};var S=_.separator||"_",x=_.split||/(?=[A-Z])/;return v.split(x).join(S)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,S){return S?S.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},r=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return r.call(v)=="[object Array]"},m=function(v){return r.call(v)=="[object Date]"},g=function(v){return r.call(v)=="[object RegExp]"},E=function(v){return r.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},C=function(v,_){var S=_&&"process"in _?_.process:_;return typeof S!="function"?v:function(x,O){return S(x,v,O)}},F={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(C(u,_),v)},decamelizeKeys:function(v,_){return n(C(l,_),v,_)},pascalizeKeys:function(v,_){return n(C(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=F:e.humps=F})(k5)})(O5);var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});function Du(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Du(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Du(i)}return e}}var M5=Ql.default=Du;function $5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":$5(t))==="object"?M5(t):t}function L5(t){return Object.prototype.toString.call(t)==="[object Object]"}function Fu(t){return Array.isArray(t)}function N5(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function V5(t){if(Array.isArray(t))return Au(t)}function Xl(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function H5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Xl(a,i,u,l,r,"next",s)}function r(s){Xl(a,i,u,l,r,"throw",s)}l(void 0)})}}function j5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function q5(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U5(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 Su(t){return V5(t)||U5(t)||z5(t)||W5()}function z5(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function K5(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var G5=function(){function t(){j5(this,t),Zl(this,"_events",new Map),Zl(this,"debug",!1)}return q5(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var l=this;return H5(function(){var r,s,c,f,m,g,E,B,C,F,v,_;return K5(this,function(S){switch(S.label){case 0:if(r=l._events.get(n),s=[],!r)return[3,10];c=r.slice(),f=!0,m=!1,g=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),E=c[Symbol.iterator](),S.label=2;case 2:if(f=(B=E.next()).done)return[3,7];if(C=B.value,!r.includes(C))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Su(u))),[4,C.apply(null,Su(u))];case 4:return F=S.sent(),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Su(u),[F])),s.push(F),F===!1?[3,7]:[3,6];case 5:return v=S.sent(),I5(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return _=S.sent(),m=!0,g=_,[3,10];case 9:try{!f&&E.return!=null&&E.return()}finally{if(m)throw g}return[7];case 10:return[2,s]}})})()}},{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 Q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(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 X5(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(t,n),t}function J5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Z5=[{key:"on_click",name:o("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:o("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:o("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:o("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:o("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:o("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:o("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:o("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:o("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:o("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:o("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:o("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:o("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:o("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:o("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:o("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:o("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:o("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:o("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:o("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:o("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],Y5=function(){function t(){Q5(this,t)}return X5(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 r=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(r=l.namespace+":"+l.key),{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();J5(Y5,"events",Z5);function Iu(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 p5(t){if(Array.isArray(t))return Iu(t)}function eE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pl(t){return p5(t)||eE(t)||nE(t)||tE()}function nE(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}function Tu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function er(t,e,n){n!=="Runtime"&&(t.parent=e,Tu(t,"parent"))}function iE(t,e,n){t.forEach(function(i){er(i,e,n)})}var tr=Symbol("targetKey");function nr(t){var e;return(e=t[tr])!==null&&e!==void 0?e:t}function ir(t,e,n){return iE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),s=2;s<l;s++)r[s-2]=arguments[s];var c;return a===tr?u:(c=Reflect).get.apply(c,[u,a].concat(pl(r)))},set:function(u,a,l){for(var r=arguments.length,s=new Array(r>3?r-3:0),c=3;c<r;c++)s[c-3]=arguments[c];var f;if(Fu(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(pl(s)));return L5(l)&&er(l,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,l=ir(nr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=ir(nr(s),a,u)},enumerable:!0})}function uE(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 aE(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ar=[],kn=function(){function t(e){uE(this,t),Fe(this,"registeredControlTypes",new Set),Fe(this,"controlConfigMap",new Map),Fe(this,"_controls",[]),Fe(this,"_type",void 0),this._type=e,this._initControls(e)}return aE(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__||$t("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===it.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===it.FORM}},{key:"isListControl",value:function(n){return n.controlType===it.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===it.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var s=i(r);s&&(r=s)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else $t("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}}),Tu(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,r=i.instanceMap;if(!(!l||!r)){var s=l[a],c=r[a];if(!(!s&&!c)){var f=c.findIndex(function(E){return E==n}),m=r[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Tu(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__)&&$t("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return r>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Fe(kn,"staticControlsRuntimeRules",new Map),Fe(kn,"staticControls",ar),Fe(kn,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),Fe(kn,"staticRegisteredConfigs",new Map);function lE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function re(t,e,n){return e=On(e),rE(t,lr()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function oe(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&&Ru(t,e)}function rE(t,e){return e&&(oE(e)==="object"||typeof e=="function")?e:lE(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}function oE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lr=function(){return!!t})()}var fe=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},rr=function t(e){w(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},or=function t(e){w(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},cE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new or(e==null?void 0:e.pc),this.mobile=new or(e==null?void 0:e.mobile)},xu=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(rr),sE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},dE=function t(e){w(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},hE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),cr=function t(e){w(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Pu=function t(e){w(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new cr(l)}))!==null&&a!==void 0?a:[]},fE=function t(e){w(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},yE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(ut),vE=function t(e){w(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new fE(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 yE(l)}))!==null&&a!==void 0?a:[]},mE=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},at=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var 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(r){if(r.children!==void 0){var s,c=new t(r);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new Mn(r);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new mE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new at(e==null?void 0:e.rightVariableBo)},gE=function t(e){w(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){w(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},bE=function t(e){w(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new ku(r):new Mn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new ku(r):new Mn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new bE(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;w(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(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(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Ou(m))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new at(e==null?void 0:e.assignDepartment);var f;this.openAssignDepartment=(f=e==null?void 0:e.openAssignDepartment)!==null&&f!==void 0?f:!1,Mu.call(this,e)},$u=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){w(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},sr=function t(e){w(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Ou(l)}))!==null&&a!==void 0?a:[]},$n=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new sr(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),CE=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new sr(r)}))!==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}(Y),dr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new at(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),hr=function t(e){w(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new te(l)}))!==null&&a!==void 0?a:[]},fr=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Mu.call(i,n),i}return e}(hr),yr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(hr),vr=function t(e){w(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},mr=function t(e){w(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},EE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"cueWord",void 0),h(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}(mr);function ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new mr(n)}))!==null&&e!==void 0?e:[]}function gr(t){var e;return(e=t==null?void 0:t.map(function(n){return new EE(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){w(this,t)},_E=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(Lu),BE=function t(e){w(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},wE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(Lu),DE=function t(e){w(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},FE=function t(e){w(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},AE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(Lu),SE=function t(e){w(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Nu||(Nu={}));var d;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag"})(d||(d={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var Ae=function t(e){w(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},IE=function t(e){w(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new cr(l)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},TE=function t(e){w(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},RE=function t(e){w(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},xE=function t(e){w(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new ku(s):new Mn(s)}))!==null&&l!==void 0?l:[];var r;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(r=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new PE(s)}))!==null&&r!==void 0?r:[]:[],this.script=e==null?void 0:e.script},PE=function t(e){w(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},kE=function t(e){w(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new xE(l)}))!==null&&a!==void 0?a:[]:[]};function OE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ME(t,e,n){return e=Lt(e),NE(t,qu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return qu()?Ln=Reflect.construct:Ln=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Nt(c,l.prototype),c},Ln.apply(null,arguments)}function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function $E(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 LE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function NE(t,e){return e&&(VE(e)==="object"||typeof e=="function")?e:OE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function VE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!LE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),be(this,"isHide",{type:"boolean"})},$e=function(t){$E(e,t);function e(n){return Hu(this,e),ME(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new TE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};be(q,"mode",void 0),be(q,"Rules",j),be(q,"RuntimeRules",$e);function ye(){return ye=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ye.apply(this,arguments)}function HE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function jE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Vn(t,e,n){return jE()?Vn=Reflect.construct:Vn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function qE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!qE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},Wu(t)}var UE=/%[sdj%]/g,br=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(br=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(UE,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){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 r}});return l}return u}function WE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||WE(e)&&typeof t=="string"&&!t)}function zE(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function Cr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function KE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Er=function(t){HE(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Wu(Error));function GE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var E=function(F){return i(F),F.length?g(new Er(F,zu(F))):m()},B=KE(t);Cr(B,n,E)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,s=0,c=[],f=new Promise(function(m,g){var E=function(C){if(c.push.apply(c,C),s++,s===r)return i(c),c.length?g(new Er(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?Cr(C,n,E):zE(C,n,E)})});return f.catch(function(m){return m}),f}function _r(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 Br(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 wr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function QE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Ku={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function XE(t,e,n,i,u){if(t.required&&e===void 0){wr(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 JE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(m?f="number":g?f="string":E&&(f="array"),!f)return!1;E&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(ne(u.messages[f].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ne(u.messages[f].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ne(u.messages[f].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ne(u.messages[f].range,t.fullField,t.min,t.max))}var lt="enum";function ZE(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 YE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:wr,whitespace:QE,type:XE,range:JE,enum:ZE,pattern:YE};function pE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(t,e,i,a,u)}n(a)}function u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function l_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var o_="enum";function c_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[o_](t,e,i,a,u)}n(a)}function s_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function d_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),A.type(t,r,i,a,u),r&&A.range(t,r.getTime(),i,a,u)}}n(a)}function h_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),G(e,a)||A.type(t,e,i,l,u)}n(l)}function f_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:pE,method:e_,number:t_,boolean:n_,regexp:i_,integer:u_,float:a_,array:l_,object:r_,enum:c_,pattern:s_,date:d_,url:Gu,hex:Gu,email:Gu,required:h_,any:f_};function Qu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Xu=Qu();function Se(t){this.rules=null,this._messages=Xu,this.define(t)}Se.prototype={messages:function(e){return e&&(this._messages=Br(Qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function s(C){var F,v=[],_={};function S(x){if(Array.isArray(x)){var O;v=(O=v).concat.apply(O,x)}else v.push(x)}for(F=0;F<C.length;F++)S(C[F]);v.length?_=zu(v):(v=null,_=null),r(v,_)}if(l.messages){var c=this.messages();c===Xu&&(c=Qu()),Br(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},E=l.keys||Object.keys(this.rules);E.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(F){var v=F;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var B={};return GE(g,l,function(C,F){var v=C.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&C.value),v.field=C.field;function S(ae,M){return ye(ye({},M),{},{fullField:v.fullField+"."+ae})}function x(ae){ae===void 0&&(ae=[]);var M=ae;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&Se.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(_r(v)),l.first&&M.length)return B[v.field]=1,F(M);if(!_)F(M);else{if(v.required&&!C.value)return v.message!==void 0?M=[].concat(v.message).map(_r(v)):l.error&&(M=[l.error(v,ne(l.messages.required,v.field))]),F(M);var le={};if(v.defaultField)for(var Tn in C.value)C.value.hasOwnProperty(Tn)&&(le[Tn]=v.defaultField);le=ye(ye({},le),C.rule.fields);for(var Be in le)if(le.hasOwnProperty(Be)){var hu=Array.isArray(le[Be])?le[Be]:[le[Be]];le[Be]=hu.map(S.bind(null,Be))}var Rn=new Se(le);Rn.messages(l.messages),C.rule.options&&(C.rule.options.messages=l.messages,C.rule.options.error=l.error),Rn.validate(C.value,C.rule.options||l,function(xt){var we=[];M&&M.length&&we.push.apply(we,M),xt&&xt.length&&we.push.apply(we,xt),F(we.length?we:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,x,C.source,l):v.validator&&(O=v.validator(v,C.value,x,C.source,l),O===!0?x():O===!1?x(v.message||v.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(ae){return x(ae)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ht.required:Ht[this.getType(e)]||!1}},Se.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},Se.warning=br,Se.messages=Xu,Se.validators=Ht;var y_={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function v_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Se(t);return n.messages(Object.assign(y_,e)),n}var m_=new G5;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 g_(t){if(Array.isArray(t))return t}function b_(t){if(Array.isArray(t))return Ju(t)}function Dr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Fr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Dr(a,i,u,l,r,"next",s)}function r(s){Dr(a,i,u,l,r,"throw",s)}l(void 0)})}}function C_(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 E_(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ir(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function __(){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 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 Tr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){P(t,u,n[u])})}return t}function w_(t){return g_(t)||Ir(t)||Rr(t)||__()}function Zu(t){return b_(t)||Ir(t)||Rr(t)||B_()}function D_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rr(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 xr(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;C_(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",kr),P(this,"removeSetting",Pr),this._callControlHooks("preInstance",n);var u=Sr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,E=u.slots,B=u.slotPosition;a&&l&&r||zl("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:de(10),this.name=a,this.icon=l;var F;this.type=(F=n==null?void 0:n.type)!==null&&F!==void 0?F:r,this.props=new q(n==null?void 0:n.props,(Sr(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=ce(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=ce(c),this.customEvents=ce(f),this.slots=ce(E),this.slotPosition=ce(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return E_(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,r=w_(u),s=r[0],c=r.slice(1);return(l=m_).emit.apply(l,[s,this].concat(Zu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),P5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Fr(function(){var u,a,l;return xr(this,function(r){switch(r.label){case 0:return u=Tr({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return Fr(function(){var l,r,s,c;return xr(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:l=f.sent(),r=l!==void 0?l:Tr({},a.rules),Array.isArray(u)&&u.forEach(function(m){r.hasOwnProperty(m)&&delete r[m]}),s=v_(r,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,s=r.dataBind,c=r.datasourceBind,f=r.optionConfig,m=r.caption,g=r.required,E=r.maxLength,B=r.options,C=r.encrypted,F=r.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),F!==void 0&&(v.encryptedMode=F),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Pr),P(k,"updateSettingItem",kr);function Pr(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(c){return c.key===(a?i.key:i)});if(l!==-1){var r,s;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function kr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":D_(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Zu(e.showItems))}}}})}function F_(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 A_(t,e,n){return e&&Or(t.prototype,e),n&&Or(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 S_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){F_(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=S_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||zl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:de(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=r;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return A_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ie(U,"mode","Runtime"),ie(U,"controlType","control"),ie(U,"controlFieldType",void 0),ie(U,"__is_control__",!0),ie(U,"controlCustomEvents",[]);function Yu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:o("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o("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(r){return r.value}),l=N5(a);a.length!==l.length?u(o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:o("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:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),l()},message:o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function I_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function T_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Un(e),R_(t,Mr()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function R_(t,e){return e&&(x_(e)==="object"||typeof e=="function")?e:T_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function x_(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 Q=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(i,"captionTip",{type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(I_(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ce(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}($e),I=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var r;i.captionTip=(r=n==null?void 0:n.captionTip)!==null&&r!==void 0?r:"";var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new fe(n==null?void 0:n.dataBind);var E;return i.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:"",i}return e}(q);L(I,"Rules",Q),L(I,"RuntimeRules",$);var rt=function(t){Wn(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(Q);function P_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k_(t,e,n){return e=Kn(e),$_(t,$r()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function O_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function M_(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 $_(t,e){return e&&(L_(e)==="object"||typeof e=="function")?e:P_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function L_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var T=function(t){M_(e,t);function e(n){O_(this,e);var i;return i=k_(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(k);zn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(T,"controlCustomAttributes",void 0);function N_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V_(t,e,n){return e=Gn(e),q_(t,Lr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function H_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function j_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function q_(t,e){return e&&(U_(e)==="object"||typeof e=="function")?e:N_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function U_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}var R=function(t){j_(e,t);function e(n){H_(this,e);var i;return i=V_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(U);function W_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z_(t,e,n){return e=Qn(e),Q_(t,Nr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function K_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function G_(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 Q_(t,e){return e&&(X_(e)==="object"||typeof e=="function")?e:W_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function X_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var N=function(t){G_(e,t);function e(n){return K_(this,e),z_(this,e,[n])}return e}(q);function ua(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function J_(t){if(Array.isArray(t))return ua(t)}function Z_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Y_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Vr(a,i,u,l,r,"next",s)}function r(s){Vr(a,i,u,l,r,"throw",s)}l(void 0)})}}function p_(t,e,n){return e=Te(e),c6(t,qr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function e6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(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 t6(t,e,n){return e&&Hr(t.prototype,e),n&&Hr(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 ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,l){var r=s6(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ot(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function n6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function i6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function u6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function a6(){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 l6(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){Ie(t,u,n[u])})}return t}function r6(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 o6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):r6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function c6(t,e){return e&&(d6(e)==="object"||typeof e=="function")?e:Z_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function s6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function jr(t){return J_(t)||u6(t)||h6(t)||a6()}function d6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h6(t,e){if(!!t){if(typeof t=="string")return ua(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ua(t,e)}}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}function f6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var y6=1e4,H=function(e){n6(n,e);function n(i){e6(this,n);var u;u=p_(this,n,[i]),Ie(u,"controlType","layout"),Ie(u,"children",void 0),Ie(u,"excludes",void 0),Ie(u,"childrenMaxLength",void 0),Ie(u,"props",void 0);var a=i6(this,n)?this.constructor:void 0,l=a.excludes,r=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),he(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(l),u.childrenMaxLength=r,u}return t6(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,r=this,s=function(){return ot(Te(n.prototype),"validate",l)};return Y_(function(){return f6(this,function(c){switch(c.label){case 0:return[4,s().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(r.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ot(Te(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return jr(r).concat(jr(f))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=ot(Te(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return o6(l6({},u),{children:a})}}]),n}(k);Ie(H,"excludes",!1),Ie(H,"childrenMaxLength",y6);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=Xn(e),C6(t,Ur()?Reflect.construct(e,n||[],Xn(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 la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function 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&&ra(t,e)}function C6(t,e){return e&&(E6(e)==="object"||typeof e=="function")?e:v6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function E6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var W=function(t){b6(e,t);function e(n){g6(this,e);var i;return i=m6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new N(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function _6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B6(t,e,n){return e=Jn(e),F6(t,Wr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function w6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function D6(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 F6(t,e){return e&&(A6(e)==="object"||typeof e=="function")?e:_6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function A6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var Zn=function(t){D6(e,t);function e(n,i,u){w6(this,e);var a;a=B6(this,e,[i]),ct(a,"headers",void 0),ct(a,"footers",void 0),ct(a,"pageIndex",void 0),ct(a,"pageSize",void 0),ct(a,"pageSizeOptions",void 0),ct(a,"totalCount",void 0),he(a,"headers",i==null?void 0:i.headers,n,u),he(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 r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);function ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function S6(t){if(Array.isArray(t))return ca(t)}function I6(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 r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function T6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){zr(a,i,u,l,r,"next",s)}function r(s){zr(a,i,u,l,r,"throw",s)}l(void 0)})}}function R6(t,e,n){return e=Re(e),L6(t,Jr()?Reflect.construct(e,n||[],Re(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 Kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function P6(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var r=N6(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},st(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function k6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function O6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function M6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function $6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Qr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function L6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:I6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function N6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function Xr(t){return S6(t)||O6(t)||H6(t)||M6()}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H6(t,e){if(!!t){if(typeof t=="string")return ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ca(t,e)}}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}function j6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){k6(e,t);function e(n){x6(this,e);var i;return i=R6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return P6(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return st(Re(e.prototype),"validate",a)};return T6(function(){return j6(this,function(s){switch(s.label){case 0:return[4,r().call(l,i)];case 1:return s.sent(),[4,Promise.all(l.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=st(Re(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var s=r.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return Xr(l).concat(Xr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=st(Re(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Qr(Gr({},i),{props:Qr(Gr({},this.props),{headers:u})})}}]),e}(k);Yn(da,"controlFieldType",b.LIST);function q6(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=pn(e),G6(t,Yr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function W6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function z6(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function K6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:q6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}var pr=function(t){K6(e,t);function e(n){W6(this,e);var i;return i=U6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return z6(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function X6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ei(e),J6(t,eo()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ma(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function J6(t,e){return e&&(Z6(e)==="object"||typeof e=="function")?e:X6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function Z6(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 Ce=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),z=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new rr(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);X(z,"Rules",Ce);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(Ce);function Y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p6(t,e,n){return e=dt(e),lB(t,no()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function eB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function tB(t,e,n){return e&&to(t.prototype,e),n&&to(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var r=rB(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ni(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function nB(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 iB(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 uB(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 aB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function lB(t,e){return e&&(oB(e)==="object"||typeof e=="function")?e:Y6(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function rB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function oB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var J=function(t){nB(e,t);function e(n){eB(this,e);var i;return i=p6(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return tB(e,[{key:"toSchema",value:function(){var i=ni(dt(e.prototype),"toSchema",this).call(this);return aB(iB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function cB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sB(t,e,n){return e=ii(e),fB(t,io()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function dB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function hB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function fB(t,e){return e&&(yB(e)==="object"||typeof e=="function")?e:cB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function yB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Z=function(t){hB(e,t);function e(n){dB(this,e);var i;return i=sB(this,e,[n]),Ea(i,"controlType","column"),Ea(i,"props",void 0),Ea(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function vB(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=ui(e),EB(t,uo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function gB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function CB(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&&(_B(e)==="object"||typeof e=="function")?e:vB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function _B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var wa=function(t){CB(e,t);function e(n){gB(this,e);var i;return i=mB(this,e,[n]),bB(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function BB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wB(t,e,n){return e=ai(e),AB(t,lo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function DB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(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&&Da(t,e)}function AB(t,e){return e&&(SB(e)==="object"||typeof e=="function")?e:BB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function SB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var IB=function(t){FB(e,t);function e(n){DB(this,e);var i;return i=wB(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(H);function TB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RB(t,e,n){return e=li(e),kB(t,oo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(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 PB(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 kB(t,e){return e&&(OB(e)==="object"||typeof e=="function")?e:TB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function OB(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 MB=function(t){PB(e,t);function e(n){xB(this,e);var i;return i=RB(this,e,[n]),ro(i,"controlType","search"),ro(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(W);function $B(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LB(t,e,n){return e=ri(e),HB(t,co()?Reflect.construct(e,n||[],ri(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function VB(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 HB(t,e){return e&&(jB(e)==="object"||typeof e=="function")?e:$B(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function jB(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 Sa=function(t){VB(e,t);function e(n){return NB(this,e),LB(this,e,[n])}return e}(N);function qB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UB(t,e,n){return e=oi(e),KB(t,ho()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function WB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function so(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 zB(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 KB(t,e){return e&&(GB(e)==="object"||typeof e=="function")?e:qB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function GB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var QB=function(t){zB(e,t);function e(n){WB(this,e);var i;return i=UB(this,e,[n]),so(i,"controlType","wrap"),so(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(H);function XB(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=ci(e),pB(t,yo()?Reflect.construct(e,n||[],ci(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 fo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function YB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function pB(t,e){return e&&(ew(e)==="object"||typeof e=="function")?e:XB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function ew(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 tw=function(t){YB(e,t);function e(n){ZB(this,e);var i;return i=JB(this,e,[n]),fo(i,"controlType","wrap"),fo(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,r,s;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}class vo extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}vo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class nw extends U{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var mo={Designer:vo,Runtime:nw,Property:Ra};class xa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("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 Pa extends k{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return o("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pa.controlEventKeys=["on_click"],Pa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class iw extends U{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"link"}}var go={Designer:Pa,Runtime:iw,Property:xa};class ee extends q{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new RE((f=e==null?void 0:e.optObj)!=null?f:{})}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Nl.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends U{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var bo={Designer:p,Runtime:ue,Property:ee},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Co=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Co||{}),Eo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Eo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:de(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Oa=(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))(Oa||{});class Ma{constructor(e){var n,i,u,a,l,r,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new at((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 at((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new at((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class _o{constructor(e){var n,i,u,a,l,r;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 Ma(s)))!=null?u:[new Ma],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class jt{constructor(e){var n,i,u,a,l,r,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=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(s=e==null?void 0:e.active)!=null?s:!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 Bo{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 La{constructor(e){var n,i,u,a,l,r,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=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(r=e==null?void 0:e.isRelation)!=null?r:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class Na{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 wo{constructor(e){this.dataCode=e.dataCode}}class Do{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 wo(a)))!=null?u:[]}}class Fo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Ao=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class So{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 Io{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var To=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(To||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class ja extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Oa.SOLID}}class Ro extends k{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ro.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class uw extends U{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var xo={Designer:Ro,Runtime:uw,Property:ja};class aw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:o("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:o("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=aw;class ht extends k{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=b.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class lw extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Po={Designer:ht,Runtime:lw,Property:fi};class rw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=rw;class ft extends p{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ow extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ko={Designer:ft,Runtime:ow,Property:yi};class cw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends ee{constructor(e){var n,i,u,a,l,r;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=(r=e==null?void 0:e.employeeId)!=null?r:""}}vi.Rules=cw;class yt extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o("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 sw extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Oo={Designer:yt,Runtime:sw,Property:vi};class qa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends p{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dw extends ue{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Mo={Designer:vt,Runtime:dw,Property:qa};class Ua extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new jt(r)))!=null?l:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class mt extends p{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class hw extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var $o={Designer:mt,Runtime:hw,Property:Ua};class Wa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class fw extends ue{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Lo={Designer:gt,Runtime:fw,Property:Wa};class yw{constructor(e){this.dataCode=e.dataCode}}class za extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new yw(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class bt extends p{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return o("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class vw extends ue{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var No={Designer:bt,Runtime:vw,Property:za};function mi(){return{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class mw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new fr(e==null?void 0:e.fillPayload),this.formBind=new hE(e==null?void 0:e.formBind),this.fillBack=new yr(e==null?void 0:e.fillBack)}}gi.Rules=mw;class Ut extends p{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return o("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gw extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Vo={Designer:Ut,Runtime:gw,Property:gi};class bw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:o("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:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new fr(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new yr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=bw;class Wt extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Cw extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ho={Designer:Wt,Runtime:Cw,Property:bi};class Ew extends j{constructor(e){super(e)}}class _w extends $e{constructor(e){super(e)}}class zt extends q{constructor(e){super(e)}}zt.Rules=Ew,zt.RuntimeRules=_w;class jo extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}jo.setting=[];class Bw extends U{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var qo={Designer:jo,Runtime:Bw,Property:zt};class ww extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:o("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:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends q{constructor(e){var n,i,u,a,l,r;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=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}Ci.Rules=ww;class Uo extends k{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Dw extends U{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Wo={Designer:Uo,Runtime:Dw,Property:Ci};class Fw extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new IE(a)))!=null?u:[]}}Ei.Rules=Fw;class zo extends k{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}zo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Aw extends U{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ko={Designer:zo,Runtime:Aw,Property:Ei};class Sw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("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:o("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(o("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:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends ee{constructor(e){var n,i,u,a,l,r,s,c,f,m;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=(r=e==null?void 0:e.content)!=null?r:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}_i.Rules=Sw;class Ct extends p{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Iw extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Go={Designer:Ct,Runtime:Iw,Property:_i};class Tw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("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(o("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:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends ee{constructor(e){var n,i,u,a,l,r,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}Bi.Rules=Tw;class Et extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Rw extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qo={Designer:Et,Runtime:Rw,Property:Bi};class xw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new So(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=xw;class _t extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o("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 Pw extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Xo={Designer:_t,Runtime:Pw,Property:wi};class Ka extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends p{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kw extends ue{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Jo={Designer:Bt,Runtime:kw,Property:Ka};class Ow extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Di extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("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}}Di.Rules=Ow;class Fi extends k{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Mw extends U{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Zo={Designer:Fi,Runtime:Mw,Property:Di};class Ga extends q{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class wt extends k{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class $w extends U{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yo={Designer:wt,Runtime:$w,Property:Ga};class Lw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ai extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.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 La(e==null?void 0:e.actionSetting))!=null?l:new La,this.listHeightSetting=(r=new Na(e==null?void 0:e.listHeightSetting))!=null?r:new Na}}Ai.Rules=Lw;class Si extends k{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Nw extends U{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var po={Designer:Si,Runtime:Nw,Property:Ai},Vw=Object.freeze({__proto__:null,Text:mo,Link:go,Button:bo,Divider:xo,Title:Po,CreateFormListButton:ko,BatchSubmissionListButton:Oo,SubmissionRecordListButton:Mo,ExportListButton:$o,ExportRecordListButton:Lo,ImportRecordListButton:No,FormSelectButton:Vo,ListSelectButton:Ho,Pagination:qo,Dashboard:Wo,ListViewSelect:Ko,TextOcrButton:Go,InvoiceCheckButton:Qo,BatchPrintListButton:Xo,BatchPrintRecordListButton:Jo,OperationButton:Zo,BatchDeleteButton:Yo,ReferenceList:po});class Hw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:o("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:o("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=o("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 jw extends ${constructor(e){super(e),this.push({type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends I{constructor(e){var n,i,u,a,l,r,s,c;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 vr(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:Ft.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}Dt.Rules=Hw,Dt.RuntimeRules=jw;class Ft extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=b.VARCHAR,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.ENCRYPTED]},{key:"ai-content-search",visible:!0},{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 ec extends R{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}ec.controlFieldType=b.VARCHAR;var tc={Designer:Ft,Runtime:ec,Property:Dt};class qw extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Kt extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("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=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var v;(v=this.multistageFilling)==null||v.push(new te(F))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Kt.Rules=qw,Kt.RuntimeRules=Uw;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 nc extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}nc.controlFieldType=b.ARRAY;var ic={Designer:Gt,Runtime:nc,Property:Kt};class Ww extends rt{constructor(e){super(e)}}class Ii extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("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=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var C;(C=this.multistageFilling)==null||C.push(new te(B))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ii.Rules=Ww;class Qt extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return o("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 uc extends R{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"radio"}}uc.controlFieldType=b.VARCHAR;var ac={Designer:Qt,Runtime:uc,Property:Ii};class zw extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o("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=o("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:o("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 Kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B;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=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Jt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new vr(e==null?void 0:e.regularRules)}}Xt.Rules=zw,Xt.RuntimeRules=Kw;class Jt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return o("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}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class lc extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}lc.controlFieldType=b.DECIMAL;var rc={Designer:Jt,Runtime:lc,Property:Xt};class Qa extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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:Ti.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(E=>new si(E)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ti extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return o("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}=this.props;n.props.dateType=i}return n}}Ti.controlFieldType=b.TIMESTAMP,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oc extends R{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}oc.controlFieldType=b.TIMESTAMP;var cc={Designer:Ti,Runtime:oc,Property:Qa};class Gw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ri extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g;super(e),this.dataBind=new wE(e==null?void 0:e.dataBind),this.defaultValue=new DE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:o("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(E=>new si(E)))!=null?g:[]}}Ri.RuntimeRules=Gw;class xi extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return o("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}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sc extends R{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"date-range"}}sc.controlFieldType=b.TIMESCOPE;var dc={Designer:xi,Runtime:sc,Property:Ri};class Qw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("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:o("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=o("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 Xw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("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 Zt extends I{constructor(e){var n,i,u,a,l,r,s,c;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:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new cE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=gr((c=e==null?void 0:e.aiOptions)!=null?c:[{label:o("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:o("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:o("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:o("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:o("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:o("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Zt.Rules=Qw,Zt.RuntimeRules=Xw;class Yt extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o("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=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class hc extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}hc.controlFieldType=b.TEXT;var fc={Designer:Yt,Runtime:hc,Property:Zt};class Jw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("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:o("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=o("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 Zw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("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 I{constructor(e){var n,i,u,a,l,r,s,c;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:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=gr((c=e==null?void 0:e.aiOptions)!=null?c:[{label:o("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:o("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:o("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:o("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:o("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:o("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}pt.Rules=Jw,pt.RuntimeRules=Zw;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o("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=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class yc extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}yc.controlFieldType=b.TEXT;var vc={Designer:en,Runtime:yc,Property:pt};class Yw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Pi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var B;(B=this.multistageFilling)==null||B.push(new te(E))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Pi.Rules=Yw;class ki extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return o("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mc extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select"}}mc.controlFieldType=b.VARCHAR;var gc={Designer:ki,Runtime:mc,Property:Pi};class pw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class e8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}tn.Rules=pw,tn.RuntimeRules=e8;class Oi extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}bc.controlFieldType=b.ARRAY;var Cc={Designer:Oi,Runtime:bc,Property:tn};class t8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends I{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))}))}}Mi.RuntimeRules=t8;class $i extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.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 Ec extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Ec.controlFieldType=b.EMPLOYEES;var _c={Designer:$i,Runtime:Ec,Property:Mi};const n8=10485760,i8=104857600,u8=1048576e3;class a8 extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:u8,message:o("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class l8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C;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=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:i8,this.caption=(c=e==null?void 0:e.caption)!=null?c:St.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!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=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500}}At.Rules=a8,At.RuntimeRules=l8;class St extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return o("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}St.controlEventKeys=["on_change"],St.controlFieldType=b.FILE,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xa extends R{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Xa.controlFieldType=b.FILE;var Bc={Designer:St,Runtime:Xa,Property:At};const wc=class extends St{static get controlName(){return o("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:wc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let Ja=wc;Ja.controlFieldType=b.IMAGE,Ja.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class r8 extends Xa{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:o("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class o8 extends At{constructor(e){super(e)}}var Dc={Designer:Ja,Runtime:r8,Property:o8};class c8 extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o("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=o("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:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class s8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[xl(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}})}}class nn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new _E(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new BE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Nu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=ge(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("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=c8,nn.RuntimeRules=s8;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o("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=b.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.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:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fc.controlFieldType=b.MONEY;var Ac={Designer:un,Runtime:Fc,Property:nn};class d8 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:o("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:o("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class h8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends I{constructor(e){var n,i,u,a,l,r,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:ka.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(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}an.Rules=d8,an.RuntimeRules=h8;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o("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 di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:ln,Runtime:Sc,Property:an};class f8 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Li extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new FE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Li.RuntimeRules=f8;class Ni extends T{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return o("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ni.controlFieldType=b.ADDRESS,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tc extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Tc.controlFieldType=b.ADDRESS;var Rc={Designer:Ni,Runtime:Tc,Property:Li};class y8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:rn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("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 B;(B=this.multistageFilling)==null||B.push(new te(E))}))}}Vi.RuntimeRules=y8;class rn extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}rn.controlName=o("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=b.DEPARTMENTS,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.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 xc extends R{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}xc.controlFieldType=b.DEPARTMENTS;var Pc={Designer:rn,Runtime:xc,Property:Vi};class Za extends I{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return o("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=b.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class kc extends R{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}kc.controlFieldType=b.AUTO_NUMBER;var Oc={Designer:on,Runtime:kc,Property:Za};class v8 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 m8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends I{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new AE(e==null?void 0:e.dataBind),this.defaultValue=new SE(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=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}cn.Rules=v8,cn.RuntimeRules=m8;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o("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=b.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Mc extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Mc.controlFieldType=b.CALC;var $c={Designer:sn,Runtime:Mc,Property:cn};class g8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Hi extends I{constructor(e){var n,i,u,a,l,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:o("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:o("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(r=e==null?void 0:e.caption)!=null?r:ji.controlName}}Hi.RuntimeRules=g8;class ji extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return o("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Lc.controlFieldType=b.DECIMAL_RANGE;var Nc={Designer:ji,Runtime:Lc,Property:Hi};class b8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class qi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,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:De.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=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Ui.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?E:[]}}qi.RuntimeRules=b8;class Ui extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vc extends R{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Vc.controlFieldType=b.ARRAY;var Hc={Designer:Ui,Runtime:Vc,Property:qi};class C8 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class E8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:It.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=C8,dn.RuntimeRules=E8;class It extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}It.controlFieldType=b.ANY,It.controlEventKeys=[],It.slots=["grid-table-toolbar-slot",Nl.DEFAULT],It.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class jc extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}jc.controlFieldType=b.ANY;var qc={Designer:It,Runtime:jc,Property:dn};class _8 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Wi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var C;(C=this.multistageFilling)==null||C.push(new te(B))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Wi.Rules=_8;class hn extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return o("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=b.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.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 Uc extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Uc.controlFieldType=b.VARCHAR;var Wc={Designer:hn,Runtime:Uc,Property:Wi};class Ya extends Dt{constructor(e){super(e)}}class zc extends Ft{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}zc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class Kc extends R{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Kc.controlFieldType=b.VARCHAR;var Gc={Designer:zc,Runtime:Kc,Property:Ya};class B8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o("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:o("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class w8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C,F,v,_,S,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o("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=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new dr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(F=e==null?void 0:e.openMultistageFilling)!=null?F:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(S=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new te(O)))!=null?S:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=B8,fn.RuntimeRules=w8;class Oe extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.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 Qc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Qc.controlFieldType=b.ARRAY;var Xc={Designer:Oe,Runtime:Qc,Property:fn};class D8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Hn.call(this,e,Tt.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class F8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C,F;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Tt.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ha.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(F=e==null?void 0:e.mainDeptFlag)!=null?F:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}yn.Rules=D8,yn.RuntimeRules=F8;class Tt extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Tt.controlFieldType=b.EMPLOYEES,Tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP,d.MAIN_DEPT_FLAG]},{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 Jc extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Jc.controlFieldType=b.EMPLOYEES;var Zc={Designer:Tt,Runtime:Jc,Property:yn};class A8 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:o("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:o("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&Fu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&Fu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}r()}}}},n),{})}}}}}class zi extends I{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o("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=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new _o(e==null?void 0:e.signatureConfig)}}zi.Rules=A8;class vn extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return o("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=b.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.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 Yc extends R{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:vn,Runtime:Yc,Property:zi};class S8 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:o("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(o("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("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(o("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class I8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,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:o("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=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:n8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Bo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}mn.Rules=S8,mn.RuntimeRules=I8;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o("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=b.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.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 es extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}es.controlFieldType=b.FILE;var ts={Designer:gn,Runtime:es,Property:mn};class T8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class R8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C,F;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=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.openMultistageFilling=(F=e==null?void 0:e.openMultistageFilling)!=null?F:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}bn.Rules=T8,bn.RuntimeRules=R8;class Le extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=o("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ns extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Le,Runtime:ns,Property:bn};class x8 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Rt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class P8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C,F,v,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Pu(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=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new CE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.organizingFunction=(F=e==null?void 0:e.organizingFunction)!=null?F:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var O;(O=this.multistageFilling)==null||O.push(new te(x))}))}}Cn.Rules=x8,Cn.RuntimeRules=P8;class Rt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o("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:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Rt.controlFieldType=b.DEPARTMENTS,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class us extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}us.controlFieldType=b.DEPARTMENTS;var as={Designer:Rt,Runtime:us,Property:Cn};class k8 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class O8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=k8,En.RuntimeRules=O8;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return o("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return D.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class ls extends R{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}ls.controlFieldType=b.ANY;var rs={Designer:_n,Runtime:ls,Property:En},M8=Object.freeze({__proto__:null,Input:tc,Checkbox:ic,Radio:ac,Number:rc,DatePicker:cc,DateRange:dc,Textarea:fc,RichText:vc,Select:gc,SelectMultiple:Cc,Employee:_c,Image:Dc,Attachment:Bc,Amount:Ac,Score:Ic,Address:Rc,Department:Pc,AutoNumber:Oc,Calc:$c,SearchNumberRange:Nc,SearchDateRange:Hc,VueFormItem:qc,SelectRelation:Wc,SearchInput:Gc,Tree:Xc,Employee2:Zc,ElectronicSignature:pc,WPS:ts,Department2:is,OrganizationSelection:as,VuePage:rs});class os extends H{static get controlName(){return o("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}os.excludes=[D.GRID];class $8 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var cs={Designer:os,Runtime:$8,Property:N};const L8=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:L8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Bn extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return o("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 pa extends W{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var ss={Designer:Bn,Runtime:pa,Property:Ne};class Ki extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Gi extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[D.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class ds extends W{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"row"}}var hs={Designer:Gi,Runtime:ds,Property:Ki};const N8=4;class Qi extends Gi{static get controlName(){return o("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[D.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=N8;class V8 extends ds{static get controlType(){return"grid-row"}constructor(e){super(e)}}class H8 extends Ki{constructor(e){super(e)}}var fs={Designer:Qi,Runtime:V8,Property:H8};class j8 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Xi extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o("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"}}Xi.Rules=j8;class el extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return o("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}el.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],el.excludes=[D.CARD_GROUP];class q8 extends W{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ys={Designer:el,Runtime:q8,Property:Xi};class U8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ji extends N{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 sE(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=U8;class se extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}se.controlName=o("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:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class vs extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}vs.controlType="subtable-column";var ms={Designer:se,Runtime:vs,Property:Ji};class tl extends N{constructor(e){super(e)}}class Ve extends H{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}}Ve.controlName=o("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:[d.CAPTION],visible:!0}];class W8 extends W{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var gs={Designer:Ve,Runtime:W8,Property:tl};class nl extends N{constructor(e){var n,i,u,a,l,r,s,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:De.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[D.GRID_TABLE,D.GRID_TABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],He.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class bs extends W{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}bs.controlType="gridtable-column";var Cs={Designer:He,Runtime:bs,Property:nl};class il extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ul extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[D.GRID_LAYOUT_CONTAINER,D.CARD_GROUP,D.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class z8 extends W{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Es={Designer:ul,Runtime:z8,Property:il};class al extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class K8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Zi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}Zi.Rules=K8;class wn extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return o("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:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class G8 extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var _s={Designer:wn,Runtime:G8,Property:Zi};class Dn extends H{constructor(e){var n;super(e),this.props=new al(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 o("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 Q8 extends W{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Bs={Designer:Dn,Runtime:Q8,Property:al};class ws extends N{constructor(e){super(e)}}class Ds extends H{constructor(e){super(e),this.props=new ws({}),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 o("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ds.excludes=[D.GRID_ROW,D.ROW,D.GRID,D.SUBTABLE,D.TAB,D.TOOLBOX];class X8 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new Ne({span:12})}),new pa({props:new Ne({span:12})})]}}var Fs={Designer:Ds,Runtime:X8,Property:ws};class J8 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Z8 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Fn extends N{constructor(e){var n,i,u,a,l,r,s,c,f,m,g,E;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new vE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new gE(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new kE(e==null?void 0:e.rowStyle)}}Fn.Rules=Z8,Fn.RuntimeRules=J8;class An extends H{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[D.ROW],An.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],An.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Y8 extends W{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var As={Designer:An,Runtime:Y8,Property:Fn};class p8 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Yi extends N{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:o("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:o("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:o("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:o("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=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Yi.RuntimeRules=p8;class Ss extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ss.excludes=[];class eD extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Is={Designer:Ss,Runtime:eD,Property:Yi};class tD extends H{static get controlName(){return o("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class nD extends W{static get controlType(){return"page"}constructor(e){super(e)}}class iD extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Ts={Designer:tD,Runtime:nD,Property:iD};class uD extends H{static get controlName(){return o("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class aD extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class lD extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Io(e==null?void 0:e.flexConfig)}}var Rs={Designer:uD,Runtime:aD,Property:lD};class rD extends H{static get controlName(){return o("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class oD extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class cD extends N{constructor(e){super(e)}}var xs={Designer:rD,Runtime:oD,Property:cD};class sD extends H{static get controlName(){return o("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class dD extends W{static get controlType(){return"position"}constructor(e){super(e)}}class hD extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Ps={Designer:sD,Runtime:dD,Property:hD};class ll extends N{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class pi extends H{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}pi.slotPosition={default:"action-bar-slot"},pi.excludes=[],pi.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class fD extends W{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ks={Designer:pi,Runtime:fD,Property:ll},yD=Object.freeze({__proto__:null,Grid:cs,Col:ss,Row:hs,GridRow:fs,CardGroup:ys,SubTableColumn:ms,SubTableRow:gs,GridTableColumn:Cs,GridLayoutContainer:Es,Tab:Bs,TabPane:_s,Toolbox:Fs,ListView:As,DataView:Is,Page:Ts,AdvancedContainer:Rs,PositioningContainer:xs,Position:Ps,ActionBar:ks});class vD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:o("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:o("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:o("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 mD extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Os=class extends Zn{constructor(t,e){var n,i,u,a,l,r,s,c,f,m,g,E,B,C,F,v,_,S,x,O,ae,M,le,Tn,Be,hu,Rn,xt,we,ad,ld,rd,od;super(t,e,Os.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.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=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Ao,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(F=e==null?void 0:e.canCheck)!=null?F:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ae=e==null?void 0:e.isShowCaptionTip)!=null?ae:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(Be=e==null?void 0:e.dataStorageDoc)!=null?Be:new dE,this.fixedColumn=(hu=e==null?void 0:e.fixedColumn)!=null?hu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:o("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(xt=e==null?void 0:e.mobileIsTile)!=null?xt:!1,this.isPaste=(we=e==null?void 0:e.isPaste)!=null?we:!1,this.pageSize=(ad=e==null?void 0:e.pageSize)!=null?ad:10,this.pageSizeOptions=(ld=e==null?void 0:e.pageSizeOptions)!=null?ld:[10,20,50,100],this.importConfig=new Do(e==null?void 0:e.importConfig),this.exportConfig=new Fo(e==null?void 0:e.exportConfig),this.sortable=(rd=e==null?void 0:e.sortable)!=null?rd:!1,this.sortKey=(od=e==null?void 0:e.sortKey)!=null?od:{}}};let Sn=Os;Sn.Rules=vD,Sn.RuntimeRules=mD;class In extends da{constructor(e){var n;super(e),this.props=new Sn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new se,new se,new se])}static get controlName(){return o("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}}In.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],In.slotPosition={toolbar:"subtable-toolbar-slot"},In.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class gD extends pr{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}}var Ms={Designer:In,Runtime:gD,Property:Sn};class rl extends Zn{constructor(e,n){var i,u,a,l,r;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=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class bD extends Ce{constructor(e){super(e),this.caption.required=!1}}class eu extends z{constructor(e){var n,i,u,a,l,r,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}eu.Rules=bD;class je extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=o("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 ol extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ol.controlType="order-column",ol.controlFieldType=b.DECIMAL;var $s={Designer:je,Runtime:ol,Property:eu};class cl extends z{constructor(e){var n,i,u,a,l,r;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:Ee.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ee extends J{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return kl(this,null,function*(){return yield Pl(Ee.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ee.controlType="operation-column",Ee.controlName=o("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.setting=[{key:"caption",showItems:[d.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 sl extends Z{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}sl.controlType="operation-column",sl.controlFieldType=b.FILE;var Ls={Designer:Ee,Runtime:sl,Property:cl};const CD=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new rl(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ee]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return o("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 xl(nt({},e),{children:n})}validate(e,n){return kl(this,null,function*(){return yield Pl(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=CD;class ED extends pr{constructor(e){super(e),this.props=new rl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ns={Designer:qe,Runtime:ED,Property:rl},_D=Object.freeze({__proto__:null,SubTable:Ms,GridTable:Ns});class BD extends ba{constructor(e){super(e),xe.call(this,e)}}class tu extends z{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=ge((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(r=e==null?void 0:e.dictionaryTagConfig)!=null?r:{isTag:!1}}}tu.Rules=BD;class Ue extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=o("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=b.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}dl.controlType="varchar-column",dl.controlFieldType=b.VARCHAR;var Vs={Designer:Ue,Runtime:dl,Property:tu};class wD extends Ce{constructor(e){super(e),xe.call(this,e)}}class nu extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}nu.Rules=wD;class We extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}We.controlType="text-column",We.controlName=o("CMD.long",null,"\u957F\u6587\u672C"),We.controlIcon="text-column",We.controlFieldType=b.TEXT,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 hl extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}hl.controlType="text-column",hl.controlFieldType=b.TEXT;var Hs={Designer:We,Runtime:hl,Property:nu};class DD extends ba{constructor(e){super(e),xe.call(this,e)}}class iu extends z{constructor(e){var n,i,u,a,l,r,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=(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 Y(e==null?void 0:e.datasourceBind),this.options=ge((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}iu.Rules=DD;class ze extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=o("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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:[d.MICROMETER,d.PRECISION,d.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 fl extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fl.controlType="decimal-column",fl.controlFieldType=b.DECIMAL;var js={Designer:ze,Runtime:fl,Property:iu};class FD extends Ce{constructor(e){super(e),xe.call(this,e)}}class uu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName}}uu.Rules=FD;class Ke extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ke.controlType="timescope-column",Ke.controlName=o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 yl extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}yl.controlType="timescope-column",yl.controlFieldType=b.TIMESCOPE;var qs={Designer:Ke,Runtime:yl,Property:uu};class AD extends Ce{constructor(e){super(e),xe.call(this,e)}}class au extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}au.Rules=AD;class Ge extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName=o("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 vl extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}vl.controlType="timestamp-column",vl.controlFieldType=b.TIMESTAMP;var Us={Designer:Ge,Runtime:vl,Property:au};class SD extends ba{constructor(e){super(e),xe.call(this,e)}}class lu extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ge((a=e==null?void 0:e.options)!=null?a:[{}])}}lu.Rules=SD;class Qe extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 ml extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}ml.controlType="array-column",ml.controlFieldType=b.ARRAY;var Ws={Designer:Qe,Runtime:ml,Property:lu};class gl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=o("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 bl extends Z{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="department-column",bl.controlFieldType=b.DEPARTMENTS;var zs={Designer:Xe,Runtime:bl,Property:gl};class ID extends Ce{constructor(e){super(e),xe.call(this,e)}}class ru extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}ru.Rules=ID;class Je extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 Cl extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Cl.controlType="auto-number-column",Cl.controlFieldType=b.AUTO_NUMBER;var Ks={Designer:Je,Runtime:Cl,Property:ru};class El extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ze extends J{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=o("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 _l extends Z{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}_l.controlType="file-column",_l.controlFieldType=b.FILE;var Gs={Designer:Ze,Runtime:_l,Property:El};class Bl extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends J{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=o("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 wl extends Z{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="image-column",wl.controlFieldType=b.IMAGE;var Qs={Designer:Ye,Runtime:wl,Property:Bl};class Dl extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=o("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 Fl extends Z{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="people-column",Fl.controlFieldType=b.EMPLOYEES;var Xs={Designer:pe,Runtime:Fl,Property:Dl};class TD extends Ce{constructor(e){super(e),xe.call(this,e)}}class ou extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}ou.Rules=TD;class et extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=o("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 Al extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Al.controlType="location-column",Al.controlFieldType=b.ADDRESS;var Js={Designer:et,Runtime:Al,Property:ou};class RD extends Ce{constructor(e){super(e),this.sortFieldCode={type:"string",message:o("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class cu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}cu.Rules=RD;const xD=1;class _e extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}_e.controlType="custom-column",_e.controlName=o("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=xD,_e.setting=[{key:"caption",showItems:[d.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 Zs extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Zs.controlType="custom-column";var Ys={Designer:_e,Runtime:Zs,Property:cu};class Sl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends J{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Me.controlType="employee-column",Me.controlName=o("CMD.employee",null,"\u4EBA\u5458"),Me.controlIcon="employee-column",Me.controlFieldType=b.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.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 Il extends Z{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Il.controlType="employee-column",Il.controlFieldType=b.EMPLOYEES;var ps={Designer:Me,Runtime:Il,Property:Sl};class Tl extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends J{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=o("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[d.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 ed extends Z{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}ed.controlType="approval-status-column";var td={Designer:tt,Runtime:ed,Property:Tl},PD=Object.freeze({__proto__:null,VarcharColumn:Vs,TextColumn:Hs,DecimalColumn:js,TimescopeColumn:qs,TimestampColumn:Us,ArrayColumn:Ws,DepartmentColumn:zs,AutoNumberColumn:Ks,FileColumn:Gs,ImageColumn:Qs,PeopleColumn:Xs,LocationColumn:Js,CustomColumn:Ys,OrderColumn:$s,OperationColumn:Ls,EmployeeColumn:ps,ApprovalStatusColumn:td});class kD extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class su extends wa{constructor(e){var n,i,u,a,l,r,s,c,f,m,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((a=e==null?void 0:e.search)!=null?a:{content:o("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((l=e==null?void 0:e.cancel)!=null?l:{content:o("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new Ae(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}su.RuntimeRules=kD;class du extends IB{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}du.controlType="simple-search",du.slotPosition={default:"search"},du.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class nd extends MB{constructor(e){var n;super(e),this.props=new su(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}nd.controlType="simple-search";var id={Designer:du,Runtime:nd,Property:su},OD=Object.freeze({__proto__:null,SimpleSearch:id});class Rl extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class MD extends QB{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class $D extends tw{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function KD(t){return t}var LD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ud={Designer:MD,Runtime:$D,Property:Rl,Setting:LD},ND=Object.freeze({__proto__:null,GridLayoutWrap:ud});y.ActionBar=ks,y.ActionSetting=La,y.Address=Rc,y.AdvancedContainer=Rs,y.Amount=Ac,y.ApprovalStatusColumn=td,y.ArrayColumn=Ws,y.AssignType=ke,y.Attachment=Bc,y.AutoNumber=Oc,y.AutoNumberColumn=Ks,y.BatchDeleteButton=Yo,y.BatchPrintListButton=Xo,y.BatchPrintRecordListButton=Jo,y.BatchSubmissionListButton=Oo,y.Button=bo,y.Calc=$c,y.CardGroup=ys,y.Checkbox=ic,y.Col=ss,y.CreateFormListButton=ko,y.CustomColumn=Ys,y.DATE_CONFIG_TYPE=Co,y.DATE_LIMIT_TYPE=Eo,y.Dashboard=Wo,y.DataView=Is,y.DatePicker=cc,y.DateRange=dc,y.DecimalColumn=js,y.Department=Pc,y.Department2=is,y.DepartmentColumn=zs,y.DepartmentType=hi,y.Divider=xo,y.ElectronicSignature=pc,y.ElectronicSignatureConfig=_o,y.Employee=_c,y.Employee2=Zc,y.EmployeeColumn=ps,y.EncryptTypeEnum=To,y.Explain=di,y.ExportConfig=Fo,y.ExportListButton=$o,y.ExportRecordListButton=Lo,y.ExportTemplate=jt,y.FileColumn=Gs,y.FlexStyleConfig=Io,y.FormSelectButton=Vo,y.Grid=cs,y.GridLayoutContainer=Es,y.GridLayoutWrap=ud,y.GridRow=fs,y.GridTable=Ns,y.GridTableColumn=Cs,y.Image=Dc,y.ImageColumn=Qs,y.ImportConfig=Do,y.ImportListBind=wo,y.ImportRecordListButton=No,y.Input=tc,y.InternalType=Ha,y.InvoiceCheckButton=Qo,y.LINE_STYLE=Oa,y.LimitDate=si,y.Link=go,y.ListHeightSetting=Na,y.ListSelectButton=Ho,y.ListView=As,y.ListViewSelect=Ko,y.LocationColumn=Js,y.Number=rc,y.OperationButton=Zo,y.OperationColumn=Ls,y.OrderColumn=$s,y.OrganizationSelection=as,y.OrganizeType=Va,y.Page=Ts,y.Pagination=qo,y.PeopleColumn=Xs,y.Position=Ps,y.PositioningContainer=xs,y.PrintTemplate=So,y.Radio=ac,y.ReferenceList=po,y.RichText=vc,y.Row=hs,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Ao,y.Score=Ic,y.SearchDateRange=Hc,y.SearchInput=Gc,y.SearchNumberRange=Nc,y.Select=gc,y.SelectMultiple=Cc,y.SelectRelation=Wc,y.SimpleSearch=id,y.SubTable=Ms,y.SubTableColumn=ms,y.SubTableRow=gs,y.SubmissionRecordListButton=Mo,y.Tab=Bs,y.TabPane=_s,y.Text=mo,y.TextColumn=Hs,y.TextOcrButton=Go,y.Textarea=fc,y.TimescopeColumn=qs,y.TimestampColumn=Us,y.Title=Po,y.TitleConfigEnum=Pe,y.Toolbox=Fs,y.Tree=Xc,y.UndersignedPerson=Ma,y.VarcharColumn=Vs,y.VueFormItem=qc,y.VuePage=rs,y.WPS=ts,y.WPSSetting=Bo,y.WpsOperationItem=$a,y.baseControls=Vw,y.columnControls=PD,y.formControls=M8,y.initExpression=qt,y.layoutControls=yD,y.listControls=_D,y.searchControls=OD,y.wrapControls=ND,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var mC=Object.defineProperty,vC=Object.defineProperties;var gC=Object.getOwnPropertyDescriptors;var Xs=Object.getOwnPropertySymbols,bC=Object.getPrototypeOf,_C=Object.prototype.hasOwnProperty,wC=Object.prototype.propertyIsEnumerable,CC=Reflect.get;var Js=(y,V,U)=>V in y?mC(y,V,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[V]=U,at=(y,V)=>{for(var U in V||(V={}))_C.call(V,U)&&Js(y,U,V[U]);if(Xs)for(var U of Xs(V))wC.call(V,U)&&Js(y,U,V[U]);return y},Bl=(y,V)=>vC(y,gC(V));var Rl=(y,V,U)=>CC(bC(y),U,V);var Pl=(y,V,U)=>new Promise((su,Pn)=>{var du=ge=>{try{It(U.next(ge))}catch(St){Pn(St)}},hu=ge=>{try{It(U.throw(ge))}catch(St){Pn(St)}},It=ge=>ge.done?su(ge.value):Promise.resolve(ge.value).then(du,hu);It((U=U.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",su="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Pn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",hu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",St="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Zs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ys="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ps="\u8BF7\u7ED1\u5B9A\u8868\u5355",ed="\u8BF7\u7ED1\u5B9A\u5217\u8868",td="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",nd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",id="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ud="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ld="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",od="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",cd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",sd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",dd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",yd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",md="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",gd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_d="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Cd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ed="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Id="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Sd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ad="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Td="\u8BF7\u9009\u62E9\u7701",Bd="\u8BF7\u9009\u62E9\u5E02",Rd="\u8BF7\u9009\u62E9\u533A",Pd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Dd="\u8BF7\u8F93\u5165\u5217\u5BBD",Fd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",kd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Od="\u8BF7\u9009\u62E9\u63A7\u4EF6",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",$d="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ld="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Nd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Vd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Hd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ud="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Xd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Jd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Yd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",eh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",th="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",nh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ih="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",uh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ah="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",lh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",rh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",oh={isNotNumber:V,isNotString:U,isNotObject:su,isNotArray:Pn,isNotBoolean:du,runtimeRequired:hu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:St,pleaseEnterPlaceholder:Zs,pleaseEnterFieldCode:Ys,pleaseEnterForm:ps,pleaseEnterList:ed,pleaseEnterProcess:td,pleaseEnterLabel:nd,pleaseEnterValue:id,bizKeyNotBindFiled:ud,pleaseSelectOneField:ad,pleaseEnterNumberRange:ld,pleaseEnterAValueGreaterThanMin:rd,pleaseEnterAValueLessThanMax:od,numberRangeSetError:cd,stringRangeError:sd,attachmentMaxSize:dd,pleaseEnterTotalScoreSetting:hd,theTotalScoreMustNotBeLessThan1:fd,scoreDefaultValueRange:yd,attachmentLimitError:md,PleaseReselectTheOptionalQuantity:vd,TheMaximumLengthIsGreaterThanTheMinimumLength:gd,TheMinimumLengthIsGreaterThanTheMaximumLength:bd,PleaseSelectTheCorrectOptionSettings:_d,optionIdIsRepeat:wd,optionIsRequired:Cd,pleaseEnterDataCode:Ed,pleaseEnterValueFieldCode:Id,pleaseEnterSvcCode:Sd,pleaseBindAtLeastOneDisplayValue:Ad,pleaseSelectProvince:Td,pleaseSelectCity:Bd,pleaseSelectDistrict:Rd,limitRowsCannotBeLessThan0:Pd,TheNumberOfRowsCannotBeLessThanMinRows:xd,pleaseEnterColumnWidth:Dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fd,pleaseCompleteAllRulesAndConditions:kd,pleaseSelectControl:Od,pleaseSelectAtLeastOneColumn:Md,pleaseSelectFillBackMode:$d,pleaseSelectDashboard:Ld,rootNodeIsRequired:Nd,theViewNameCannotBeEmpty:Vd,pleaseSelectOcrType:Hd,pleaseSelectAtLeastOneFieldToFillIn:jd,pleaseChooseAtLeastOne:qd,pleaseEnterButtonContent:Ud,pleaseEnterDataCodeInDataSetting:Wd,pleaseEnterValueFieldCodeInDataSetting:Kd,pleaseEnterSvcCodeInDataSetting:zd,pleaseBindAtLeastOneDisplayValueInDataSetting:Gd,rootNodeIsRequiredInDataSetting:Qd,pleaseEnterMaxHeight:Xd,pleaseEnter:Jd,pleaseEnterWatermark:Zd,pleaseEnterFileName:Yd,pleaseUploadAtLeastOnePrintTemplate:pd,pleaseAssignBusiness:eh,pleaseAssignExternal:th,pleaseEnterAliasCode:nh,pleaseSelectDataCode:ih,pleaseSelectSvcCode:uh,pleaseSelectJoinFieldCode:ah,pleaseSelectMainFieldCode:lh,pleaseSelectSortFieldCode:rh},ch="Please enter a number",sh="Please enter a string",dh="Please enter an object",hh="Please enter an array",fh="Please enter a boolean",yh="{caption} Required",mh="Please enter the title",vh="Please enter the bubble prompt",gh="Please enter the row title",bh="Please enter the prompt text",_h="Please bind data items",wh="Please bind the form",Ch="Please bind the list",Eh="Please bind the process",Ih="Please enter the displayed value",Sh="Please enter the stored value",Ah="The document number is not bound to the data item",Th="Please select at least one display field",Bh="Please enter a value greater than or equal to {min} and less than or equal to {max}",Rh="Please enter a value greater than or equal to {min}",Ph="Please enter a value less than or equal to {max}",xh="The value range is set incorrectly",Dh="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Fh="The attachment size must be between 0MB and 1000MB",kh="Please fill in the total score setting",Oh="The total score cannot be less than 1",Mh="The default value must be between {min} and {max}",$h="The number of attachments uploaded must be between {min} and {max}",Lh="Please re-select the optional quantity",Nh="The maximum length of the control must be greater than the minimum length",Vh="The minimum length of the control must be less than the maximum length",Hh="Please select the correct option setting",jh="Option ID cannot be repeated",qh="Please enter at least one option",Uh="Please bind the data source",Wh="Please bind the stored value",Kh="Please bind the service",zh="At least one display value must be bound",Gh="Please select a province",Qh="Please select a city",Xh="Please select a district",Jh="The minimum number of lines to fill in cannot be less than 0",Zh="The number of rows cannot be less than {min} rows",Yh="Please enter the column width",ph="Please set the logical relationship of all rule conditions",ef="Please complete all rules and conditions",tf="please select control",nf="Please select the dashboard",uf="View name cannot be empty",af="Please select recognition type",lf="Please select at least one field to fill in",rf="Please select at least one",of="Please enter the button title",cf="Please bind the business model in the data settings",sf="Please bind storage values in data settings",df="Please bind the service in the data settings",hf="Please bind at least one display value in the data settings",ff="Please select the root node in the data settings",yf="Please enter the maximum height",mf="The input content cannot be empty",vf="Watermark cannot be empty",gf="File name cannot be empty",bf="Please upload at least one printing template!\uFF01",_f="Please select a specific business department",wf="Please select a specified external organization",Cf="Please enter a sub table alias",Ef="Please select the associated table to set the business model",If="Please select the association table to set the binding service",Sf="Select associated sub table fields",Af="Please select the associated main table field",Tf="Please select the sort field",Bf={isNotNumber:ch,isNotString:sh,isNotObject:dh,isNotArray:hh,isNotBoolean:fh,runtimeRequired:yh,pleaseEnterCaption:mh,pleaseEnterCaptionTip:vh,pleaseEnterRowCaption:gh,pleaseEnterPlaceholder:bh,pleaseEnterFieldCode:_h,pleaseEnterForm:wh,pleaseEnterList:Ch,pleaseEnterProcess:Eh,pleaseEnterLabel:Ih,pleaseEnterValue:Sh,bizKeyNotBindFiled:Ah,pleaseSelectOneField:Th,pleaseEnterNumberRange:Bh,pleaseEnterAValueGreaterThanMin:Rh,pleaseEnterAValueLessThanMax:Ph,numberRangeSetError:xh,stringRangeError:Dh,attachmentMaxSize:Fh,pleaseEnterTotalScoreSetting:kh,theTotalScoreMustNotBeLessThan1:Oh,scoreDefaultValueRange:Mh,attachmentLimitError:$h,PleaseReselectTheOptionalQuantity:Lh,TheMaximumLengthIsGreaterThanTheMinimumLength:Nh,TheMinimumLengthIsGreaterThanTheMaximumLength:Vh,PleaseSelectTheCorrectOptionSettings:Hh,optionIdIsRepeat:jh,optionIsRequired:qh,pleaseEnterDataCode:Uh,pleaseEnterValueFieldCode:Wh,pleaseEnterSvcCode:Kh,pleaseBindAtLeastOneDisplayValue:zh,pleaseSelectProvince:Gh,pleaseSelectCity:Qh,pleaseSelectDistrict:Xh,limitRowsCannotBeLessThan0:Jh,TheNumberOfRowsCannotBeLessThanMinRows:Zh,pleaseEnterColumnWidth:Yh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ph,pleaseCompleteAllRulesAndConditions:ef,pleaseSelectControl:tf,pleaseSelectDashboard:nf,theViewNameCannotBeEmpty:uf,pleaseSelectOcrType:af,pleaseSelectAtLeastOneFieldToFillIn:lf,pleaseChooseAtLeastOne:rf,pleaseEnterButtonContent:of,pleaseEnterDataCodeInDataSetting:cf,pleaseEnterValueFieldCodeInDataSetting:sf,pleaseEnterSvcCodeInDataSetting:df,pleaseBindAtLeastOneDisplayValueInDataSetting:hf,rootNodeIsRequiredInDataSetting:ff,pleaseEnterMaxHeight:yf,pleaseEnter:mf,pleaseEnterWatermark:vf,pleaseEnterFileName:gf,pleaseUploadAtLeastOnePrintTemplate:bf,pleaseAssignBusiness:_f,pleaseAssignExternal:wf,pleaseEnterAliasCode:Cf,pleaseSelectDataCode:Ef,pleaseSelectSvcCode:If,pleaseSelectJoinFieldCode:Sf,pleaseSelectMainFieldCode:Af,pleaseSelectSortFieldCode:Tf},Rf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="{caption}\u5FC5\u9808",Of="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Kf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Jf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ey="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ty="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ny="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iy="\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",uy="\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",ay="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ly="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ry="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",hy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",my="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",by="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_y="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wy="please select control",Cy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Iy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\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",Ay="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",By="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ry="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xy="\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",Dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Oy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",My="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$y="\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",Ly="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",jy="\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",qy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Uy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ky={isNotNumber:Rf,isNotString:Pf,isNotObject:xf,isNotArray:Df,isNotBoolean:Ff,runtimeRequired:kf,pleaseEnterCaption:Of,pleaseEnterCaptionTip:Mf,pleaseEnterRowCaption:$f,pleaseEnterPlaceholder:Lf,pleaseEnterFieldCode:Nf,pleaseEnterForm:Vf,pleaseEnterList:Hf,pleaseEnterProcess:jf,pleaseEnterLabel:qf,pleaseEnterValue:Uf,bizKeyNotBindFiled:Wf,pleaseSelectOneField:Kf,pleaseEnterNumberRange:zf,pleaseEnterAValueGreaterThanMin:Gf,pleaseEnterAValueLessThanMax:Qf,numberRangeSetError:Xf,stringRangeError:Jf,attachmentMaxSize:Zf,pleaseEnterTotalScoreSetting:Yf,theTotalScoreMustNotBeLessThan1:pf,scoreDefaultValueRange:ey,attachmentLimitError:ty,PleaseReselectTheOptionalQuantity:ny,TheMaximumLengthIsGreaterThanTheMinimumLength:iy,TheMinimumLengthIsGreaterThanTheMaximumLength:uy,PleaseSelectTheCorrectOptionSettings:ay,optionIdIsRepeat:ly,optionIsRequired:ry,pleaseEnterDataCode:oy,pleaseEnterValueFieldCode:cy,pleaseEnterSvcCode:sy,pleaseBindAtLeastOneDisplayValue:dy,pleaseSelectProvince:hy,pleaseSelectCity:fy,pleaseSelectDistrict:yy,limitRowsCannotBeLessThan0:my,TheNumberOfRowsCannotBeLessThanMinRows:vy,pleaseEnterColumnWidth:gy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:by,pleaseCompleteAllRulesAndConditions:_y,pleaseSelectControl:wy,pleaseSelectDashboard:Cy,theViewNameCannotBeEmpty:Ey,pleaseSelectOcrType:Iy,pleaseSelectAtLeastOneFieldToFillIn:Sy,pleaseChooseAtLeastOne:Ay,pleaseEnterButtonContent:Ty,pleaseEnterDataCodeInDataSetting:By,pleaseEnterValueFieldCodeInDataSetting:Ry,pleaseEnterSvcCodeInDataSetting:Py,pleaseBindAtLeastOneDisplayValueInDataSetting:xy,rootNodeIsRequiredInDataSetting:Dy,pleaseEnterMaxHeight:Fy,pleaseEnter:ky,pleaseEnterWatermark:Oy,pleaseEnterFileName:My,pleaseUploadAtLeastOnePrintTemplate:$y,pleaseAssignBusiness:Ly,pleaseAssignExternal:Ny,pleaseEnterAliasCode:Vy,pleaseSelectDataCode:Hy,pleaseSelectSvcCode:jy,pleaseSelectJoinFieldCode:qy,pleaseSelectMainFieldCode:Uy,pleaseSelectSortFieldCode:Wy},zy={zhCN:oh,enUS:Bf,jaJP:Ky},xl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(xl||(xl={}));var Dl;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Dl||(Dl={}));var Gy="zh-CN";function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var lt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(lt||(lt={}));var Fl;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Fl||(Fl={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information"})(S||(S={}));var kl;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(kl||(kl={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var p;p={},ie(p,"array","array-column"),ie(p,"auto_number","auto-number-column"),ie(p,"decimal","decimal-column"),ie(p,"department","department-column"),ie(p,"file","file-column"),ie(p,"image","image-column"),ie(p,"location","location-column"),ie(p,"people","employee-column"),ie(p,"text","text-column"),ie(p,"timescope","timescope-column"),ie(p,"timestamp","timestamp-column"),ie(p,"varchar","varchar-column"),ie(p,"relation","varchar-column");var Ie;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ie||(Ie={}));var Ol="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Qy=Ol+"0123456789";function ce(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ol:Qy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Xy(t){if(Array.isArray(t))return fu(t)}function Jy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ml(t,e,n){return e=At(e),em(t,mu()?Reflect.construct(e,n||[],At(t).constructor):e.apply(t,n))}function $l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return mu()?xn=Reflect.construct:xn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),o=new s;return l&&Tt(o,l.prototype),o},xn.apply(null,arguments)}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Ll(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&&Tt(t,e)}function Zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function py(){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 em(t,e){return e&&(tm(e)==="object"||typeof e=="function")?e:Jy(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Nl(t){return Xy(t)||Yy(t)||nm(t)||py()}function tm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nm(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!Zy(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,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Tt(u,i)},yu(t)}function mu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mu=function(){return!!t})()}var vu=console;function gu(){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=vu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Nl(u)))}function Vl(){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=vu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Nl(u)))}function im(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var bu=function(t){Ll(e,t);function e(n){$l(this,e);var i;return i=Ml(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?im(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(yu(Error)),um=function(t){Ll(e,t);function e(n){$l(this,e);var i;return i=Ml(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(bu);function Bt(t){throw new bu(t)}function Hl(t){throw new um(t)}function am(t){vu.error(new bu(t))}var lm=Object.prototype.toString;function jl(t,e){return lm.call(t)==="[object "+e+"]"}function rm(t){return jl(t,"String")}function om(t){return jl(t,"Promise")}var cm=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();om(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,l,r){if(u!==void 0){var s=u[a];if(!(l===r.length-1&&!rm(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(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 dm(t,e,n){return e&&ql(t.prototype,e),n&&ql(t,n),t}function hm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(){function t(){sm(this,t)}return dm(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gy;return new cm({locale:n,messages:zy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();hm(h,"$i18n",h.resetI18n());function fm(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){gu("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 r===s.length-1&&!Object.is(o[l],n)&&(o[l]=n,u=!0),o[l]}},t),u}var ym=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},mm={exports:{}};(function(t){(function(e){var n=function(m,C,T){if(!o(C)||v(C)||g(C)||w(C)||s(C))return C;var R,F=0,re=0;if(d(C))for(R=[],re=C.length;F<re;F++)R.push(n(m,C[F],T));else{R={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(R[m(k,T)]=n(m,C[k],T))}return R},i=function(m,C){C=C||{};var T=C.separator||"_",R=C.split||/(?=[A-Z])/;return m.split(R).join(T)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(C,T){return T?T.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var C=u(m);return C.substr(0,1).toUpperCase()+C.substr(1)},l=function(m,C){return i(m,C).toLowerCase()},r=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return r.call(m)=="[object Array]"},v=function(m){return r.call(m)=="[object Date]"},g=function(m){return r.call(m)=="[object RegExp]"},w=function(m){return r.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},_=function(m,C){var T=C&&"process"in C?C.process:C;return typeof T!="function"?m:function(R,F){return T(R,m,F)}},I={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,C){return n(_(u,C),m)},decamelizeKeys:function(m,C){return n(_(l,C),m,C)},pascalizeKeys:function(m,C){return n(_(a,C),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(ym)})(mm);var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});function _u(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:_u(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:_u(i)}return e}}var vm=Ul.default=_u;function gm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Se(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":gm(t))==="object"?vm(t):t}function bm(t){return Object.prototype.toString.call(t)==="[object Object]"}function wu(t){return Array.isArray(t)}function _m(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Cu(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 wm(t){if(Array.isArray(t))return Cu(t)}function Wl(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(o){n(o);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Cm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Wl(a,i,u,l,r,"next",s)}function r(s){Wl(a,i,u,l,r,"throw",s)}l(void 0)})}}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 Im(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Am(){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 Eu(t){return wm(t)||Sm(t)||Tm(t)||Am()}function Tm(t,e){if(!!t){if(typeof t=="string")return Cu(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 Cu(t,e)}}function Bm(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){l.label=o[1];break}if(o[0]===6&&l.label<u[1]){l.label=u[1],u=o;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(o);break}u[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Rm=function(){function t(){Em(this,t),zl(this,"_events",new Map),zl(this,"debug",!1)}return Im(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var l=this;return Cm(function(){var r,s,o,d,v,g,w,E,_,I,m,C;return Bm(this,function(T){switch(T.label){case 0:if(r=l._events.get(n),s=[],!r)return[3,10];o=r.slice(),d=!0,v=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),w=o[Symbol.iterator](),T.label=2;case 2:if(d=(E=w.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),l.debug&&Vl.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(Eu(u))),[4,_.apply(null,Eu(u))];case 4:return I=T.sent(),l.debug&&Vl.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(Eu(u),[I])),s.push(I),I===!1?[3,7]:[3,6];case 5:return m=T.sent(),am(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=T.sent(),v=!0,g=C,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(v)throw g}return[7];case 10:return[2,s]}})})()}},{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 Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 xm(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function Dm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fm=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],km=function(){function t(){Pm(this,t)}return xm(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 r=l.key;return{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();Dm(km,"events",Fm);function Iu(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 Om(t){if(Array.isArray(t))return Iu(t)}function Mm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $m(){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 Ql(t){return Om(t)||Mm(t)||Lm(t)||$m()}function Lm(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}function Su(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Xl(t,e,n){n!=="Runtime"&&(t.parent=e,Su(t,"parent"))}function Nm(t,e,n){t.forEach(function(i){Xl(i,e,n)})}var Jl=Symbol("targetKey");function Zl(t){var e;return(e=t[Jl])!==null&&e!==void 0?e:t}function Yl(t,e,n){return Nm(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),s=2;s<l;s++)r[s-2]=arguments[s];var o;return a===Jl?u:(o=Reflect).get.apply(o,[u,a].concat(Ql(r)))},set:function(u,a,l){for(var r=arguments.length,s=new Array(r>3?r-3:0),o=3;o<r;o++)s[o-3]=arguments[o];var d;if(wu(t)&&a==="length"&&l===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,l].concat(Ql(s)));return bm(l)&&Xl(l,e,n),v}})}function fe(t,e,n,i,u){var a=i!=null?i:t,l=Yl(Zl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=Yl(Zl(s),a,u)},enumerable:!0})}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(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 Hm(t,e,n){return e&&pl(t.prototype,e),n&&pl(t,n),t}function Ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var er=[],Dn=function(){function t(e){Vm(this,t),Ae(this,"registeredControlTypes",new Set),Ae(this,"controlConfigMap",new Map),Ae(this,"_controls",[]),Ae(this,"_type",void 0),this._type=e,this._initControls(e)}return Hm(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__||Bt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(gu("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===lt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===lt.FORM}},{key:"isListControl",value:function(n){return n.controlType===lt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===lt.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 a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var s=i(r);s&&(r=s)}var o;return l.mode==="Runtime"?(o=r,o.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new l(r),o}else Bt("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}}),Su(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,r=i.instanceMap;if(!(!l||!r)){var s=l[a],o=r[a];if(!(!s&&!o)){var d=o.findIndex(function(w){return w==n}),v=r[s]||[],g;return v.length!==o.length?g=v[0]:g=v[d],g}}}}),Su(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__)&&Bt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return r>-1&&(gu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Ae(Dn,"staticControlsRuntimeRules",new Map),Ae(Dn,"staticControls",er),Ae(Dn,"staticRegisteredTypes",new Set(er.map(function(t){return t.Designer.controlType}))),Ae(Dn,"staticRegisteredConfigs",new Map);function jm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function se(t,e,n){return e=Fn(e),qm(t,tr()?Reflect.construct(e,n||[],Fn(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 Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function de(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&&Au(t,e)}function qm(t,e){return e&&(Um(e)==="object"||typeof e=="function")?e:jm(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}function Um(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tr=function(){return!!t})()}var ye=function t(e){A(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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},nr=function t(e){A(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(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},Tu=function(t){de(e,t);function e(n){A(this,e);var i;i=se(this,e,[n]),f(i,"width",void 0),f(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}(nr),Wm=function t(e){A(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Tu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Tu(e==null?void 0:e.mobile):new Tu({width:130,minWidth:180})},Km=function t(e){A(this,t),f(this,"type",void 0),f(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:[]},rt=function t(e){A(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(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:""},zm=function(t){de(e,t);function e(n){A(this,e);var i;i=se(this,e,[n]),f(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(rt),ir=function t(e){A(this,t),f(this,"fieldCode",void 0),f(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:""},Bu=function t(e){A(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(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 ir(l)}))!==null&&a!==void 0?a:[]},Gm=function t(e){A(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Qm=function(t){de(e,t);function e(n){A(this,e);var i;i=se(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(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 r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(rt),Xm=function t(e){A(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new rt(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 Gm(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 Qm(l)}))!==null&&a!==void 0?a:[]},Jm=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},Rt=function t(e){A(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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:[]},Ru=function t(e){var n=this;A(this,t),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);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();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(r){if(r.children!==void 0){var s,o=new t(r);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new kn(r);(d=n.children)===null||d===void 0||d.push(v)}}))},kn=function t(e){A(this,t),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);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce();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 Jm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Rt(e==null?void 0:e.rightVariableBo)},Zm=function t(e){A(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ne=function t(e){A(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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:""},Pu=function t(e){A(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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},Ym=function t(e){A(this,t),f(this,"columnName",void 0),f(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 xu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Ru(r):new kn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Ru(r):new kn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Ym(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;A(this,t),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);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(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Pu(d))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",xu.call(this,e)},Du=function t(e){A(this,t),f(this,"dataCode",void 0),f(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:[]},be=function t(e){A(this,t),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);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 r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},ur=function t(e){A(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(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 Pu(l)}))!==null&&a!==void 0?a:[]},On=function(t){de(e,t);function e(n){A(this,e);var i,u;i=se(this,e,[n]),f(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 ur(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),pm=function(t){de(e,t);function e(n){A(this,e);var i,u;i=se(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new ur(r)}))!==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}(Y),ar=function(t){de(e,t);function e(n){A(this,e);var i;i=se(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new Rt(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}(On),lr=function t(e){A(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(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 ne(l)}))!==null&&a!==void 0?a:[]},rr=function(t){de(e,t);function e(n){A(this,e);var i;return i=se(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),xu.call(i,n),i}return e}(lr),or=function(t){de(e,t);function e(n){A(this,e);var i;i=se(this,e,[n]),f(i,"mode",void 0),f(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}(lr),Fu=function t(e){A(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(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:""},ev=function t(e){A(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new ev(n)}))!==null&&e!==void 0?e:[]}var ku=function t(){A(this,t)},tv=function(t){de(e,t);function e(n){A(this,e);var i;return i=se(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(ku),nv=function t(e){A(this,t),f(this,"amount",void 0),f(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"},iv=function(t){de(e,t);function e(n){A(this,e);var i;return i=se(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(ku),uv=function t(e){A(this,t),f(this,"min",void 0),f(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:""},av=function t(e){A(this,t),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);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 r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},lv=function(t){de(e,t);function e(n){A(this,e);var i;return i=se(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(ku),rv=function t(e){A(this,t),f(this,"result",void 0),f(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:""},Ou;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Ou||(Ou={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var Mu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Mu||(Mu={}));var Te=function t(e){A(this,t),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);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 r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},ov=function t(e){A(this,t);var n;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);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce(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 ir(l)}))!==null&&a!==void 0?a:[],xu.call(this,e)},cv=function t(e){A(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(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"},sv=function t(e){A(this,t),f(this,"optCode",void 0),f(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:""},dv=function t(e){A(this,t);var n;f(this,"id",void 0),f(this,"name",void 0),f(this,"color",void 0),f(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Ru(r):new kn(r)}))!==null&&l!==void 0?l:[]},hv=function t(e){A(this,t),f(this,"id",void 0),f(this,"script",void 0),f(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:ce();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yv(t,e,n){return e=Pt(e),gv(t,Nu()?Reflect.construct(e,n||[],Pt(t).constructor):e.apply(t,n))}function $u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Nu()?Mn=Reflect.construct:Mn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),o=new s;return l&&xt(o,l.prototype),o},Mn.apply(null,arguments)}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function mv(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 vv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gv(t,e){return e&&(bv(e)==="object"||typeof e=="function")?e:fv(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function bv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!vv(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 Mn(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Lu(t)}function Nu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nu=function(){return!!t})()}var W=function t(e){$u(this,t),Be(this,"isHide",{type:"boolean"})},Ne=function(t){mv(e,t);function e(n){return $u(this,e),yv(this,e)}return e}(Lu(Array)),K=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";$u(this,t),Be(this,"isHide",void 0),Be(this,"className",void 0),Be(this,"style",void 0),Be(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new cv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Be(K,"mode",void 0),Be(K,"Rules",W),Be(K,"RuntimeRules",Ne);function me(){return me=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},me.apply(this,arguments)}function _v(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function $n(t,e){return $n=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$n(t,e)}function wv(){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 Ln(t,e,n){return wv()?Ln=Reflect.construct:Ln=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),o=new s;return l&&$n(o,l.prototype),o},Ln.apply(null,arguments)}function Cv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Hu(t){var e=typeof Map=="function"?new Map:void 0;return Hu=function(i){if(i===null||!Cv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Vu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),$n(u,i)},Hu(t)}var Ev=/%[sdj%]/g,cr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(cr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ue(){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(Ev,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){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 r}});return l}return u}function Iv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Iv(e)&&typeof t=="string"&&!t)}function Sv(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function sr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function Av(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var dr=function(t){_v(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}(Hu(Error));function Tv(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var w=function(I){return i(I),I.length?g(new dr(I,ju(I))):v()},E=Av(t);sr(E,n,w)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,s=0,o=[],d=new Promise(function(v,g){var w=function(_){if(o.push.apply(o,_),s++,s===r)return i(o),o.length?g(new dr(o,ju(o))):v()};l.length||(i(o),v()),l.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?sr(_,n,w):Sv(_,n,w)})});return d.catch(function(v){return v}),d}function hr(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 fr(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]=me(me({},t[n]),i):t[n]=i}}return t}function yr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||z(e,a||t.type))&&i.push(ue(u.messages.required,t.fullField))}function Bv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ue(u.messages.whitespace,t.fullField))}var qu={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},Dt={integer:function(e){return Dt.number(e)&&parseInt(e,10)===e},float:function(e){return Dt.number(e)&&!Dt.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"&&!Dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(qu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(qu.url)},hex:function(e){return typeof e=="string"&&!!e.match(qu.hex)}};function Rv(t,e,n,i,u){if(t.required&&e===void 0){yr(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?Dt[l](e)||i.push(ue(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ue(u.messages.types[l],t.fullField,t.type))}function Pv(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",w=Array.isArray(e);if(v?d="number":g?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),g&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(ue(u.messages[d].len,t.fullField,t.len)):l&&!r&&o<t.min?i.push(ue(u.messages[d].min,t.fullField,t.min)):r&&!l&&o>t.max?i.push(ue(u.messages[d].max,t.fullField,t.max)):l&&r&&(o<t.min||o>t.max)&&i.push(ue(u.messages[d].range,t.fullField,t.min,t.max))}var ot="enum";function xv(t,e,n,i,u){t[ot]=Array.isArray(t[ot])?t[ot]:[],t[ot].indexOf(e)===-1&&i.push(ue(u.messages[ot],t.fullField,t[ot].join(", ")))}function Dv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ue(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(ue(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:yr,whitespace:Bv,type:Rv,range:Pv,enum:xv,pattern:Dv};function Fv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();B.required(t,e,i,a,u,"string"),z(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function kv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Ov(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Mv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function $v(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),z(e)||B.type(t,e,i,a,u)}n(a)}function Lv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Nv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Vv(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();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Hv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var jv="enum";function qv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B[jv](t,e,i,a,u)}n(a)}function Uv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();B.required(t,e,i,a,u),z(e,"string")||B.pattern(t,e,i,a,u)}n(a)}function Wv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!z(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),B.type(t,r,i,a,u),r&&B.range(t,r.getTime(),i,a,u)}}n(a)}function Kv(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,l),n(a)}function Uu(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(z(e,a)&&!t.required)return n();B.required(t,e,i,l,u,a),z(e,a)||B.type(t,e,i,l,u)}n(l)}function zv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();B.required(t,e,i,a,u)}n(a)}var Ft={string:Fv,method:kv,number:Ov,boolean:Mv,regexp:$v,integer:Lv,float:Nv,array:Vv,object:Hv,enum:qv,pattern:Uv,date:Wv,url:Uu,hex:Uu,email:Uu,required:Kv,any:zv};function Wu(){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 Ku=Wu();function Re(t){this.rules=null,this._messages=Ku,this.define(t)}Re.prototype={messages:function(e){return e&&(this._messages=fr(Wu(),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,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function s(_){var I,m=[],C={};function T(R){if(Array.isArray(R)){var F;m=(F=m).concat.apply(F,R)}else m.push(R)}for(I=0;I<_.length;I++)T(_[I]);m.length?C=ju(m):(m=null,C=null),r(m,C)}if(l.messages){var o=this.messages();o===Ku&&(o=Wu()),fr(o,l.messages),l.messages=o}else l.messages=this.messages();var d,v,g={},w=l.keys||Object.keys(this.rules);w.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=me({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=me({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var E={};return Tv(g,l,function(_,I){var m=_.rule,C=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");C=C&&(m.required||!m.required&&_.value),m.field=_.field;function T(re,k){return me(me({},k),{},{fullField:m.fullField+"."+re})}function R(re){re===void 0&&(re=[]);var k=re;if(Array.isArray(k)||(k=[k]),!l.suppressWarning&&k.length&&Re.warning("async-validator:",k),k.length&&m.message!==void 0&&(k=[].concat(m.message)),k=k.map(hr(m)),l.first&&k.length)return E[m.field]=1,I(k);if(!C)I(k);else{if(m.required&&!_.value)return m.message!==void 0?k=[].concat(m.message).map(hr(m)):l.error&&(k=[l.error(m,ue(l.messages.required,m.field))]),I(k);var oe={};if(m.defaultField)for(var Bn in _.value)_.value.hasOwnProperty(Bn)&&(oe[Bn]=m.defaultField);oe=me(me({},oe),_.rule.fields);for(var Ce in oe)if(oe.hasOwnProperty(Ce)){var cu=Array.isArray(oe[Ce])?oe[Ce]:[oe[Ce]];oe[Ce]=cu.map(T.bind(null,Ce))}var Rn=new Re(oe);Rn.messages(l.messages),_.rule.options&&(_.rule.options.messages=l.messages,_.rule.options.error=l.error),Rn.validate(_.value,_.rule.options||l,function(Et){var Ee=[];k&&k.length&&Ee.push.apply(Ee,k),Et&&Et.length&&Ee.push.apply(Ee,Et),I(Ee.length?Ee:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,_.value,R,_.source,l):m.validator&&(F=m.validator(m,_.value,R,_.source,l),F===!0?R():F===!1?R(m.message||m.field+" fails"):F instanceof Array?R(F):F instanceof Error&&R(F.message)),F&&F.then&&F.then(function(){return R()},function(re){return R(re)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ft.hasOwnProperty(e.type))throw new Error(ue("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"?Ft.required:Ft[this.getType(e)]||!1}},Re.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ft[e]=n},Re.warning=cr,Re.messages=Ku,Re.validators=Ft;var Gv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Qv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Re(t);return n.messages(Object.assign(Gv,e)),n}var Xv=new Rm;function zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Jv(t){if(Array.isArray(t))return t}function Zv(t){if(Array.isArray(t))return zu(t)}function mr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(o){n(o);return}r.done?e(s):Promise.resolve(s).then(i,u)}function vr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){mr(a,i,u,l,r,"next",s)}function r(s){mr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Yv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gr(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 pv(t,e,n){return e&&gr(t.prototype,e),n&&gr(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function br(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eg(){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 tg(){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 wr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function ng(t){return Jv(t)||_r(t)||Cr(t)||eg()}function Gu(t){return Zv(t)||_r(t)||Cr(t)||tg()}function ig(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cr(t,e){if(!!t){if(typeof t=="string")return zu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zu(t,e)}}function Er(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){l.label=o[1];break}if(o[0]===6&&l.label<u[1]){l.label=u[1],u=o;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(o);break}u[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;Yv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Sr),M(this,"removeSetting",Ir),this._callControlHooks("preInstance",n);var u=br(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting;a&&l&&r||Hl("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:ce(10),this.name=a,this.icon=l;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:r,this.props=new K(n==null?void 0:n.props,(br(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Se(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:s,this.eventKeys=Se(o),this.customEvents=Se(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return pv(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,r=ng(u),s=r[0],o=r.slice(1);return(l=Xv).emit.apply(l,[s,this].concat(Gu(o)))}},{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),fm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return vr(function(){var u,a,l;return Er(this,function(r){switch(r.label){case 0:return u=wr({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return vr(function(){var l,r,s,o;return Er(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:l=d.sent(),r=l!==void 0?l:wr({},a.rules),Array.isArray(u)&&u.forEach(function(v){r.hasOwnProperty(v)&&delete r[v]}),s=Qv(r,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,s=r.dataBind,o=r.datasourceBind,d=r.optionConfig,v=r.caption,g=r.required,w=r.maxLength,E=r.options,_=r.encrypted,I=r.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),w!==void 0&&(m.maxLength=w),_!==void 0&&(m.encrypted=_),I!==void 0&&(m.encryptedMode=I),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Se(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,Gu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"mode","Designer"),M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",Ir),M($,"updateSettingItem",Sr);function Ir(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(o){return o.key===(a?i.key:i)});if(l!==-1){var r,s;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Sr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":ig(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Gu(e.showItems))}}}})}function ug(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 ag(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var G=function(){function e(n){ug(this,e),ae(this,"id",void 0),ae(this,"type",void 0),ae(this,"controlType",void 0),ae(this,"props",void 0),ae(this,"fieldType",void 0),ae(this,"customEvents",[]),ae(this,"pageStatus",void 0),ae(this,"parent",null);var i=lg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||Hl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ce(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new K(n==null?void 0:n.props),this.customEvents=r;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"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:Mu.UNKNOWN}return ag(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}();ae(G,"mode","Runtime"),ae(G,"controlType","control"),ae(G,"controlFieldType",void 0),ae(G,"__is_control__",!0),ae(G,"controlCustomEvents",[]);function Qu(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:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=_m(a);a.length!==l.length?u(h.getMessage("optionIdIsRepeat")):u()},message:h.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Nn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(u,a,l){a.length===0&&l(h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function rg(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e,n){return e=jn(e),cg(t,Tr()?Reflect.construct(e,n||[],jn(t).constructor):e.apply(t,n))}function Hn(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 jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function qn(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 cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:og(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tr=function(){return!!t})()}var Q=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),O(i,"dataBind",{}),O(i,"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),O(i,"isHideCaption",{type:"boolean"}),O(i,"labelPosition",{type:"enum",enum:["top","left"]}),O(i,"defaultState",{type:"enum",enum:["default","readonly"]}),O(i,"required",{type:"boolean"}),O(i,"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(rg(n.dataBind))i.dataBind={type:"object",required:!0,fields:Se(u),message:h.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Se(u),message:h.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(W),L=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:h.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}(Ne),P=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),O(i,"caption",void 0),O(i,"captionSize",void 0),O(i,"captionColor",void 0),O(i,"isCaptionItalic",void 0),O(i,"isHideCaption",void 0),O(i,"isShowCaptionTip",void 0),O(i,"captionTip",void 0),O(i,"labelPosition",void 0),O(i,"dataBind",void 0),O(i,"defaultValue",void 0),O(i,"placeholder",void 0),O(i,"defaultState",void 0),O(i,"required",void 0),O(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 r;i.isCaptionItalic=(r=n==null?void 0:n.isCaptionItalic)!==null&&r!==void 0?r:!1;var s;i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1;var o;i.isShowCaptionTip=(o=n==null?void 0:n.isShowCaptionTip)!==null&&o!==void 0?o:!1;var d;i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"";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 w;i.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"";var E;i.required=(E=n==null?void 0:n.required)!==null&&E!==void 0?E:!1;var _;i.requiredMessage=(_=n==null?void 0:n.requiredMessage)!==null&&_!==void 0?_:"",i.dataBind=new ye(n==null?void 0:n.dataBind);var I;return i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return e}(K);O(P,"Rules",Q),O(P,"RuntimeRules",L);var ct=function(t){qn(e,t);function e(n){Hn(this,e);var i;return i=Vn(this,e,[n]),O(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),O(i,"options",[{type:"array",message:h.getMessage("isNotArray")}]),O(i,"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Qu.call(i,n),i}return e}(Q);function dg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hg(t,e,n){return e=Wn(e),mg(t,Br()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function yg(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&&Ju(t,e)}function mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:dg(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}function vg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Br(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Br=function(){return!!t})()}var x=function(t){yg(e,t);function e(n){fg(this,e);var i;return i=hg(this,e,[n]),Un(i,"controlType","form"),Un(i,"props",void 0),i.props=new P(n==null?void 0:n.props),i}return e}($);Un(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(x,"controlCustomAttributes",void 0);function gg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e,n){return e=Kn(e),Cg(t,Rr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zu(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 wg(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&&Yu(t,e)}function Cg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:gg(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function Eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rr=function(){return!!t})()}var D=function(t){wg(e,t);function e(n){_g(this,e);var i;return i=bg(this,e,[n]),Zu(i,"controlType","form"),Zu(i,"props",void 0),Zu(i,"value",void 0),i.props=new P(n==null?void 0:n.props),i}return e}(G);function Ig(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sg(t,e,n){return e=zn(e),Bg(t,Pr()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function Ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function Bg(t,e){return e&&(Rg(e)==="object"||typeof e=="function")?e:Ig(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Rg(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 N=function(t){Tg(e,t);function e(n){return Ag(this,e),Sg(this,e,[n])}return e}(K);function ea(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 Pg(t){if(Array.isArray(t))return ea(t)}function xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(o){n(o);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Dg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){xr(a,i,u,l,r,"next",s)}function r(s){xr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Fg(t,e,n){return e=xe(e),qg(t,kr()?Reflect.construct(e,n||[],xe(t).constructor):e.apply(t,n))}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(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 Og(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var r=Ug(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},st(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function Mg(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 $g(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Lg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ng(){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 Vg(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){Pe(t,u,n[u])})}return t}function Hg(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 jg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function qg(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:xg(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Ug(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function Fr(t){return Pg(t)||Lg(t)||Kg(t)||Ng()}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(t,e){if(!!t){if(typeof t=="string")return ea(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 ea(t,e)}}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kr=function(){return!!t})()}function zg(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){l.label=o[1];break}if(o[0]===6&&l.label<u[1]){l.label=u[1],u=o;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(o);break}u[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Gg=1e4,H=function(e){Mg(n,e);function n(i){kg(this,n);var u;u=Fg(this,n,[i]),Pe(u,"controlType","layout"),Pe(u,"children",void 0),Pe(u,"excludes",void 0),Pe(u,"childrenMaxLength",void 0),Pe(u,"props",void 0);var a=$g(this,n)?this.constructor:void 0,l=a.excludes,r=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),fe(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=Se(l),u.childrenMaxLength=r,u}return Og(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,r=this,s=function(){return st(xe(n.prototype),"validate",l)};return Dg(function(){return zg(this,function(o){switch(o.label){case 0:return[4,s().call(r,u,a)];case 1:return o.sent(),[4,Promise.all(r.children.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=st(xe(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,s){var o=s.toDataBindModel(u);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Fr(r).concat(Fr(d))}return o&&r.push(o),r},l)}},{key:"toSchema",value:function(){var u=st(xe(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return jg(Vg({},u),{children:a})}}]),n}($);Pe(H,"excludes",!1),Pe(H,"childrenMaxLength",Gg);function Qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xg(t,e,n){return e=Gn(e),Yg(t,Or()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Jg(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 Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Zg(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 Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Qg(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var j=function(t){Zg(e,t);function e(n){Jg(this,e);var i;return i=Xg(this,e,[n]),na(i,"controlType","layout"),na(i,"children",void 0),na(i,"props",void 0),i.props=new N(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function e0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t0(t,e,n){return e=Qn(e),u0(t,Mr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function n0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(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 i0(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 u0(t,e){return e&&(a0(e)==="object"||typeof e=="function")?e:e0(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function a0(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 Xn=function(t){i0(e,t);function e(n,i,u){n0(this,e);var a;a=t0(this,e,[i]),dt(a,"headers",void 0),dt(a,"footers",void 0),dt(a,"pageIndex",void 0),dt(a,"pageSize",void 0),dt(a,"pageSizeOptions",void 0),dt(a,"totalCount",void 0),fe(a,"headers",i==null?void 0:i.headers,n,u),fe(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 r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var o;return a.totalCount=(o=i==null?void 0:i.totalCount)!==null&&o!==void 0?o:0,a}return e}(K);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 l0(t){if(Array.isArray(t))return aa(t)}function r0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(o){n(o);return}r.done?e(s):Promise.resolve(s).then(i,u)}function o0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){$r(a,i,u,l,r,"next",s)}function r(s){$r(a,i,u,l,r,"throw",s)}l(void 0)})}}function c0(t,e,n){return e=De(e),v0(t,jr()?Reflect.construct(e,n||[],De(t).constructor):e.apply(t,n))}function s0(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 d0(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function Jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,a,l){var r=g0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ht(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function h0(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 f0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y0(){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 Nr(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){Jn(t,u,n[u])})}return t}function m0(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 Vr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):m0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function v0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:r0(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function g0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function Hr(t){return l0(t)||f0(t)||_0(t)||y0()}function b0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _0(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 jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jr=function(){return!!t})()}function w0(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){l.label=o[1];break}if(o[0]===6&&l.label<u[1]){l.label=u[1],u=o;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(o);break}u[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ra=function(t){h0(e,t);function e(n){s0(this,e);var i;return i=c0(this,e,[n]),Jn(i,"controlType","list"),Jn(i,"props",void 0),i.props=new Xn(i,n==null?void 0:n.props,"Designer"),i}return d0(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return ht(De(e.prototype),"validate",a)};return o0(function(){return w0(this,function(s){switch(s.label){case 0:return[4,r().call(l,i)];case 1:return s.sent(),[4,Promise.all(l.props.headers.map(function(o){return o.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=ht(De(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var s=r.toDataBindModel(a);if(Array.isArray(s)){var o=s.filter(function(d){return!!d});return Hr(l).concat(Hr(o))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i,u,a=ht(De(e.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(s){return s.toSchema()}),r=(u=this.props)===null||u===void 0||(i=u.footers)===null||i===void 0?void 0:i.map(function(s){if(s)return s.toSchema()});return Vr(Nr({},a),{props:Vr(Nr({},this.props),{headers:l,footers:r})})}}]),e}($);Jn(ra,"controlFieldType",b.LIST);function C0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E0(t,e,n){return e=Zn(e),T0(t,Ur()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function I0(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 S0(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function oa(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 A0(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 T0(t,e){return e&&(B0(e)==="object"||typeof e=="function")?e:C0(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function B0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var Wr=function(t){A0(e,t);function e(n){I0(this,e);var i;return i=E0(this,e,[n]),oa(i,"controlType","list"),oa(i,"children",void 0),oa(i,"props",void 0),i.props=new Xn(i,n==null?void 0:n.props,"Runtime"),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return S0(e,[{key:"length",get:function(){return this.children.length}}]),e}(G);function R0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sa(t,e,n){return e=Yn(e),P0(t,Kr()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function da(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function ha(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 P0(t,e){return e&&(x0(e)==="object"||typeof e=="function")?e:R0(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function x0(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 ve=function(t){ha(e,t);function e(n){da(this,e);var i;return i=sa(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),X(i,"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(W),q=function(t){ha(e,t);function e(n){da(this,e);var i;i=sa(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new nr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(K);X(q,"Rules",ve);var zr=function(t){ha(e,t);function e(n){da(this,e);var i;return i=sa(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(i,"options",[{type:"array",message:h.getMessage("isNotArray")}]),X(i,"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Qu.call(i,n),i}return e}(ve);function D0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F0(t,e,n){return e=ft(e),V0(t,Qr()?Reflect.construct(e,n||[],ft(t).constructor):e.apply(t,n))}function k0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(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 O0(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ei=Reflect.get:ei=function(u,a,l){var r=H0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ei(t,e,n||t)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ft(t)}function M0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function $0(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){pn(t,u,n[u])})}return t}function L0(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 N0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):L0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function V0(t,e){return e&&(j0(e)==="object"||typeof e=="function")?e:D0(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function H0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ft(t),t!==null););return t}function j0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var J=function(t){M0(e,t);function e(n){k0(this,e);var i;return i=F0(this,e,[n]),pn(i,"controlType","column"),pn(i,"props",void 0),pn(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return O0(e,[{key:"toSchema",value:function(){var i=ei(ft(e.prototype),"toSchema",this).call(this);return N0($0({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}($);function q0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U0(t,e,n){return e=ti(e),z0(t,Xr()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function W0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function K0(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&&va(t,e)}function z0(t,e){return e&&(G0(e)==="object"||typeof e=="function")?e:q0(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function G0(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 Z=function(t){K0(e,t);function e(n){W0(this,e);var i;return i=U0(this,e,[n]),ma(i,"controlType","column"),ma(i,"props",void 0),ma(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function Q0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X0(t,e,n){return e=ni(e),p0(t,Jr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function J0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z0(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 Y0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function p0(t,e){return e&&(eb(e)==="object"||typeof e=="function")?e:Q0(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function eb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var ba=function(t){Y0(e,t);function e(n){J0(this,e);var i;return i=X0(this,e,[n]),Z0(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(N);function tb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t,e,n){return e=ii(e),ab(t,Yr()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function ib(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 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&&_a(t,e)}function ab(t,e){return e&&(lb(e)==="object"||typeof e=="function")?e:tb(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function lb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}var rb=function(t){ub(e,t);function e(n){ib(this,e);var i;return i=nb(this,e,[n]),Zr(i,"controlType","search"),Zr(i,"props",void 0),i.props=new ba(n==null?void 0:n.props),i}return e}(H);function ob(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cb(t,e,n){return e=ui(e),hb(t,eo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function db(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 hb(t,e){return e&&(fb(e)==="object"||typeof e=="function")?e:ob(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function fb(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 yb=function(t){db(e,t);function e(n){sb(this,e);var i;return i=cb(this,e,[n]),pr(i,"controlType","search"),pr(i,"props",void 0),i.props=new ba(n==null?void 0:n.props),i}return e}(j);function mb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vb(t,e,n){return e=ai(e),_b(t,to()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function gb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function bb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function _b(t,e){return e&&(wb(e)==="object"||typeof e=="function")?e:mb(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function wb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var Ea=function(t){bb(e,t);function e(n){return gb(this,e),vb(this,e,[n])}return e}(N);function Cb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eb(t,e,n){return e=li(e),Ab(t,io()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function Ib(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function Sb(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 Ab(t,e){return e&&(Tb(e)==="object"||typeof e=="function")?e:Cb(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function Tb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Bb=function(t){Sb(e,t);function e(n){Ib(this,e);var i;return i=Eb(this,e,[n]),no(i,"controlType","wrap"),no(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(H);function Rb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pb(t,e,n){return e=ri(e),Fb(t,ao()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function xb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Db(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function Fb(t,e){return e&&(kb(e)==="object"||typeof e=="function")?e:Rb(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function kb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}var Ob=function(t){Db(e,t);function e(n){xb(this,e);var i;return i=Pb(this,e,[n]),uo(i,"controlType","wrap"),uo(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(j);function Fe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}class Aa extends K{constructor(e){var n,i,u,a,l,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57",this.align=(r=e==null?void 0:e.align)!=null?r:""}}class lo extends ${constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}lo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Mb extends G{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"text"}}var ro={Designer:lo,Runtime:Mb,Property:Aa};class Ta extends K{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\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 Ba extends ${constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ba.controlEventKeys=["on_click"],Ba.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 $b extends G{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"link"}}var oo={Designer:Ba,Runtime:$b,Property:Ta};class ee extends K{constructor(e){var n,i,u,a,l,r,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new sv((d=e==null?void 0:e.optObj)!=null?d:{})}}class te extends ${constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}te.controlEventKeys=["on_click"],te.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 le extends G{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var co={Designer:te,Runtime:le,Property:ee},ke=(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))(ke||{}),so=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(so||{}),ho=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ho||{});class oi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ce(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ra=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ra||{});class ci{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ce(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Pa=(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))(Pa||{});class xa{constructor(e){var n,i,u,a,l,r,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Rt((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 Rt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Rt((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class fo{constructor(e){var n,i,u,a,l,r;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 xa(s)))!=null?u:[new xa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class Da{constructor(e){var n,i,u,a,l,r,s;this.id=(n=e==null?void 0:e.id)!=null?n:ce(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=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Fa{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 yo{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 Fa(e==null?void 0:e.watermark),this.autoRename=new Fa(e==null?void 0:e.autoRename)}}const mo=480;function Ve(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class vo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class go{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var bo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(bo||{}),ka=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ka||{}),si=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(si||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Oa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Oa||{});class Ma extends K{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:Pa.SOLID}}class _o extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}_o.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Lb extends G{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wo={Designer:_o,Runtime:Lb,Property:Ma};class Nb extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")})}}class di extends K{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}di.Rules=Nb;class yt extends ${constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=b.AUTO_NUMBER,yt.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 Vb extends G{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"title"}}var Co={Designer:yt,Runtime:Vb,Property:di};class Hb extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}class hi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:kt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:kt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}hi.Rules=Hb;class kt extends te{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}kt.controlEventKeys=["on_click","on_click_finish"],kt.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 jb extends le{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Eo={Designer:kt,Runtime:jb,Property:hi};class qb extends W{constructor(e){super(e),this.processKey=[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]}}class fi extends ee{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ot.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ot.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=(r=e==null?void 0:e.employeeId)!=null?r:""}}fi.Rules=qb;class Ot extends te{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ot.controlEventKeys=["on_click","on_click_finish"],Ot.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 Ub extends le{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Io={Designer:Ot,Runtime:Ub,Property:fi};class $a extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon}}class Mt extends te{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}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 Wb extends le{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var So={Designer:Mt,Runtime:Wb,Property:$a};class La extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.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(r=>new Da(r)))!=null?l:[new Da({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends te{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 Kb extends le{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ao={Designer:$t,Runtime:Kb,Property:La};class Na extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Lt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Lt.controlIcon}}class Lt extends te{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Lt.controlEventKeys=["on_click"],Lt.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 zb extends le{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var To={Designer:Lt,Runtime:zb,Property:Na};class Gb{constructor(e){this.dataCode=e.dataCode}}class Va extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Gb(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Nt extends te{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 Qb extends le{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Bo={Designer:Nt,Runtime:Qb,Property:Va};function yi(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}class Xb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:at({},yi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:at({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},yi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")})}}class mi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new rr(e==null?void 0:e.fillPayload),this.formBind=new zm(e==null?void 0:e.formBind),this.fillBack=new or(e==null?void 0:e.fillBack)}}mi.Rules=Xb;class Vt extends te{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Jb extends le{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Ro={Designer:Vt,Runtime:Jb,Property:mi};class Zb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:at({},yi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:at({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},yi())}}}class vi extends ee{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon,this.fillPayload=new rr(e==null?void 0:e.fillPayload),this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.fillBack=new or(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}vi.Rules=Zb;class Ht extends te{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Ht.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ht.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 Yb extends le{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Po={Designer:Ht,Runtime:Yb,Property:vi};class pb extends W{constructor(e){super(e)}}class e_ extends Ne{constructor(e){super(e)}}class jt extends K{constructor(e){super(e)}}jt.Rules=pb,jt.RuntimeRules=e_;class xo extends ${constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}xo.setting=[];class t_ extends G{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Do={Designer:xo,Runtime:t_,Property:jt};class n_ extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends K{constructor(e){var n,i,u,a,l,r;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=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}gi.Rules=n_;class Fo extends ${constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Fo.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:"super-setting",visible:!0}];class i_ extends G{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ko={Designer:Fo,Runtime:i_,Property:gi};class u_ extends W{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:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class bi extends K{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 ov(a)))!=null?u:[]}}bi.Rules=u_;class Oo extends ${constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Oo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class a_ extends G{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Mo={Designer:Oo,Runtime:a_,Property:bi};class l_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends ee{constructor(e){var n,i,u,a,l,r,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.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=(r=e==null?void 0:e.content)!=null?r:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ne(g)))!=null?v:[]}}_i.Rules=l_;class mt extends te{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 r_ extends le{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var $o={Designer:mt,Runtime:r_,Property:_i};class o_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,l,r,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vt.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=(r=e==null?void 0:e.content)!=null?r:vt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:vt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ne(g)))!=null?v:[]}}wi.Rules=o_;class vt extends te{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 c_ extends le{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Lo={Designer:vt,Runtime:c_,Property:wi};class s_ extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ci extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new vo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Ci.Rules=s_;class qt extends te{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 d_ extends le{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var No={Designer:qt,Runtime:d_,Property:Ci};class Ha extends ee{constructor(e){var n,i;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}}class Ut extends te{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Ut.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class h_ extends le{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Vo={Designer:Ut,Runtime:h_,Property:Ha};class f_ extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")})}}class Ei extends K{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\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}}Ei.Rules=f_;class Ii extends ${constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class y_ extends G{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ho={Designer:Ii,Runtime:y_,Property:Ei};class ja extends K{constructor(e){var n,i,u,a,l,r,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Wt extends ${constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Wt.controlEventKeys=["on_click"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class m_ extends G{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var jo={Designer:Wt,Runtime:m_,Property:ja},v_=Object.freeze({__proto__:null,Text:ro,Link:oo,Button:co,Divider:wo,Title:Co,CreateFormListButton:Eo,BatchSubmissionListButton:Io,SubmissionRecordListButton:So,ExportListButton:Ao,ExportRecordListButton:To,ImportRecordListButton:Bo,FormSelectButton:Ro,ListSelectButton:Po,Pagination:Do,Dashboard:ko,ListViewSelect:Mo,TextOcrButton:$o,InvoiceCheckButton:Lo,BatchPrintListButton:No,BatchPrintRecordListButton:Vo,OperationButton:Ho,BatchDeleteButton:jo});class g_ extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ve(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class b_ extends L{constructor(e){super(e),this.push({type:"string",message:h.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ve(e.regularRules.expression),message:e.regularRules.errMessage})}}class gt extends P{constructor(e){var n,i,u,a,l,r,s,o,d;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Fu(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:bt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.borderColor=(o=e==null?void 0:e.borderColor)!=null?o:"",this.backgroundColor=(d=e==null?void 0:e.backgroundColor)!=null?d:""}}gt.Rules=g_,gt.RuntimeRules=b_;class bt extends x{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bt.controlFieldType=b.VARCHAR,bt.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:"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 qo extends D{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlType(){return"input"}}qo.controlFieldType=b.VARCHAR;var Uo={Designer:bt,Runtime:qo,Property:gt};class __ extends ct{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class w_ extends L{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 P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:zt.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=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!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(_=>{var I;(I=this.multistageFilling)==null||I.push(new ne(_))}))}}Kt.Rules=__,Kt.RuntimeRules=w_;class zt extends x{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=b.ARRAY,zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"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:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Wo extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Wo.controlFieldType=b.ARRAY;var Ko={Designer:zt,Runtime:Wo,Property:Kt};class C_ extends ct{constructor(e){super(e)}}class Si extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],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.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(w=>{var E;(E=this.multistageFilling)==null||E.push(new ne(w))}))}}Si.Rules=C_;class Gt extends x{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"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:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class zo extends D{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"radio"}}zo.controlFieldType=b.VARCHAR;var Go={Designer:Gt,Runtime:zo,Property:Si};class E_ extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ve(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class I_ extends L{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:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ve(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,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=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!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:Xt.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new Fu(e==null?void 0:e.regularRules)}}Qt.Rules=E_,Qt.RuntimeRules=I_;class Xt extends x{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"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 Qo extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}Qo.controlFieldType=b.DECIMAL;var Xo={Designer:Xt,Runtime:Qo,Property:Qt};class qa extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.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:Ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(w=>new oi(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}}class Ai extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\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}=this.props;n.props.dateType=i}return n}}Ai.controlFieldType=b.TIMESTAMP,Ai.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:"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 Jo extends D{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Jo.controlFieldType=b.TIMESTAMP;var Zo={Designer:Ai,Runtime:Jo,Property:qa};class S_ extends L{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 Ti extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g;super(e),this.dataBind=new iv(e==null?void 0:e.dataBind),this.defaultValue=new uv(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Bi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(w=>new oi(w)))!=null?g:[]}}Ti.RuntimeRules=S_;class Bi extends x{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\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}=this.props;n.props.dateType=i}return n}}Bi.controlFieldType=b.TIMESCOPE,Bi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[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 Yo extends D{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Yo.controlFieldType=b.TIMESCOPE;var po={Designer:Bi,Runtime:Yo,Property:Ti};class A_ extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class T_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Jt extends P{constructor(e){var n,i,u,a,l,r,s,o,d;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:Zt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:4,this.autoSize=(s=e==null?void 0:e.autoSize)!=null?s:!1,this.maxRows=e==null?void 0:e.maxRows,this.borderColor=(o=e==null?void 0:e.borderColor)!=null?o:"",this.backgroundColor=(d=e==null?void 0:e.backgroundColor)!=null?d:""}}Jt.Rules=A_,Jt.RuntimeRules=T_;class Zt extends x{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class ec extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ec.controlFieldType=b.TEXT;var tc={Designer:Zt,Runtime:ec,Property:Jt};class B_ extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class R_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Yt extends P{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Yt.Rules=B_,Yt.RuntimeRules=R_;class pt extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class nc extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}nc.controlFieldType=b.TEXT;var ic={Designer:pt,Runtime:nc,Property:Yt};class P_ extends ct{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ri extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var w;(w=this.multistageFilling)==null||w.push(new ne(g))})),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 rt(e==null?void 0:e.formBind)}}Ri.Rules=P_;class Pi extends x{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Pi.controlFieldType=b.VARCHAR,Pi.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.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class uc extends D{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"select"}}uc.controlFieldType=b.VARCHAR;var ac={Designer:Pi,Runtime:uc,Property:Ri};class x_ extends ct{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class D_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends P{constructor(e){var n,i,u,a,l,r,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind)}}en.Rules=x_,en.RuntimeRules=D_;class xi extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}xi.controlFieldType=b.ARRAY,xi.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.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class lc extends D{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}lc.controlFieldType=b.ARRAY;var rc={Designer:xi,Runtime:lc,Property:en};class F_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Di extends P{constructor(e){var n,i,u,a,l,r,s,o,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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Fi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\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 ne(v))}))}}Di.RuntimeRules=F_;class Fi extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Fi.controlFieldType=b.EMPLOYEES,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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 D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}oc.controlFieldType=b.EMPLOYEES;var cc={Designer:Fi,Runtime:oc,Property:Di};const k_=10485760,O_=104857600,M_=1048576e3;class $_ extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:M_,message:h.getMessage("attachmentMaxSize")}}}class L_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:h.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class _t extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E;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=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:O_,this.caption=(o=e==null?void 0:e.caption)!=null?o:wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\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.forbidDownload=(w=e==null?void 0:e.forbidDownload)!=null?w:!1,this.accessControl=(E=e==null?void 0:e.accessControl)!=null?E:!1}}_t.Rules=$_,_t.RuntimeRules=L_;class wt extends x{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=b.FILE,wt.setting=[{key:"data-bind",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:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ua extends D{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ua.controlFieldType=b.FILE;var sc={Designer:wt,Runtime:Ua,Property:_t};const dc=class extends wt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:dc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Wa=dc;Wa.controlFieldType=b.IMAGE,Wa.setting=[{key:"data-bind",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:!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:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class N_ extends Ua{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}}class V_ extends _t{constructor(e){var n;super(e),this.onlyAllowTakePhoto=(n=e==null?void 0:e.onlyAllowTakePhoto)!=null?n:!1}}var hc={Designer:Wa,Runtime:N_,Property:V_};class H_ extends ct{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")})}}class j_ extends L{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:[Bl(at({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class tn extends P{constructor(e){var n,i,u,a,l,r,s,o,d,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 tv(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Pu({value:"name"})]}),this.defaultValue=new nv((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Ou.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:nn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}tn.Rules=H_,tn.RuntimeRules=j_;class nn extends x{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",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.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",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 fc extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}fc.controlFieldType=b.MONEY;var yc={Designer:nn,Runtime:fc,Property:tn};class q_ extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class U_ extends L{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:h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class un extends P{constructor(e){var n,i,u,a,l,r,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:Ra.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(o=>new ci(o)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new ci),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName}}un.Rules=q_,un.RuntimeRules=U_;class an extends x{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\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 ci);this.props.explain.push(...u)}}super.postUpdate(e,n)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 mc extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}mc.controlFieldType=b.DECIMAL;var vc={Designer:an,Runtime:mc,Property:un};class W_ extends L{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:h.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:h.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:h.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class ki extends P{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oi.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 av((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}ki.RuntimeRules=W_;class Oi extends x{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Oi.controlFieldType=b.ADDRESS,Oi.setting=[{key:"data-bind",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_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class gc extends D{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}gc.controlFieldType=b.ADDRESS;var bc={Designer:Oi,Runtime:gc,Property:ki};class K_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends P{constructor(e){var n,i,u,a,l,r,s,o,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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\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(w=>{var E;(E=this.multistageFilling)==null||E.push(new ne(w))}))}}Mi.RuntimeRules=K_;class ln extends x{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName="\u90E8\u95E8",ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",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.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 _c extends D{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"department"}}_c.controlFieldType=b.DEPARTMENTS;var wc={Designer:ln,Runtime:_c,Property:Mi};class Ka extends P{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class rn extends x{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],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 Cc extends D{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Cc.controlFieldType=b.AUTO_NUMBER;var Ec={Designer:rn,Runtime:Cc,Property:Ka};class z_ 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 G_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}})}}class on extends P{constructor(e){var n,i,u,a,l,r,s,o;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 lv(e==null?void 0:e.dataBind),this.defaultValue=new rv(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(r=e==null?void 0:e.scriptEcho)!=null?r:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}on.Rules=z_,on.RuntimeRules=G_;class cn extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"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:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ic extends D{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ic.controlFieldType=b.CALC;var Sc={Designer:cn,Runtime:Ic,Property:on};class Q_ extends L{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(h.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class $i extends P{constructor(e){var n,i,u,a,l,r;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:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(r=e==null?void 0:e.caption)!=null?r:Li.controlName}}$i.RuntimeRules=Q_;class Li extends x{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Li.controlFieldType=b.DECIMAL_RANGE,Li.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:"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 Ac extends D{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Ac.controlFieldType=b.DECIMAL_RANGE;var Tc={Designer:Li,Runtime:Ac,Property:$i};class X_ extends L{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 Ni extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ie.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=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Vi.controlName,this.limitDateList=(w=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new oi(E)))!=null?w:[]}}Ni.RuntimeRules=X_;class Vi extends x{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Vi.controlFieldType=b.ARRAY,Vi.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:"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 Bc extends D{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Bc.controlFieldType=b.ARRAY;var Rc={Designer:Vi,Runtime:Bc,Property:Ni};class J_ extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class Z_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends P{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}sn.Rules=J_,sn.RuntimeRules=Z_;class dn extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}dn.controlFieldType=b.ANY,dn.controlEventKeys=[],dn.setting=[{key:"data-bind-vue",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_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 Pc extends D{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Pc.controlFieldType=b.ANY;var xc={Designer:dn,Runtime:Pc,Property:sn};class Y_ extends ct{constructor(e){super(e),this.listPageBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Hi extends P{constructor(e){var n,i,u,a,l,r,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),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 ne(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind)}}Hi.Rules=Y_;class hn extends x{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}hn.controlFieldType=b.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:"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:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Dc extends D{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Dc.controlFieldType=b.VARCHAR;var Fc={Designer:hn,Runtime:Dc,Property:Hi};class za extends gt{constructor(e){super(e)}}class kc extends bt{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}kc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Oc extends D{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Oc.controlFieldType=b.VARCHAR;var Mc={Designer:kc,Runtime:Oc,Property:za};class p_ extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Nn.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}])}}class ew extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_,I,m,C,T,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\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=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!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=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new ar((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new ar((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(T=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(F=>new ne(F)))!=null?T:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}fn.Rules=p_,fn.RuntimeRules=ew;class Me extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=b.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.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:"super-setting",visible:!0}];class $c extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}$c.controlFieldType=b.ARRAY;var Lc={Designer:Me,Runtime:$c,Property:fn};class tw extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.externalScope={type:"any"},Nn.call(this,e,Ct.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")})}}class nw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_;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=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ct.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new On((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ct.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:ka.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Oa.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:Oe.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],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(I=>{var m;(m=this.multistageFilling)==null||m.push(new ne(I))}))}}yn.Rules=tw,yn.RuntimeRules=nw;class Ct extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ct.controlFieldType=b.EMPLOYEES,Ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Nc extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Nc.controlFieldType=b.EMPLOYEES;var Vc={Designer:Ct,Runtime:Nc,Property:yn};class iw extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\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:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&wu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&wu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}r()}}}},n),{})}}}}}class ji extends P{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\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=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new fo(e==null?void 0:e.signatureConfig)}}ji.Rules=iw;class mn extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}mn.controlEventKeys=["on_click","on_click_finish"],mn.controlFieldType=b.VARCHAR,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_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 Hc extends D{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Hc.controlFieldType=b.VARCHAR;var jc={Designer:mn,Runtime:Hc,Property:ji};class uw extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(h.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class aw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w;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:"\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=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:k_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new yo(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}vn.Rules=uw,vn.RuntimeRules=aw;class gn extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=b.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 qc extends D{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}qc.controlFieldType=b.FILE;var Uc={Designer:gn,Runtime:qc,Property:vn};class lw extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Nn.call(this,e,He.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class rw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_,I;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=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new On((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:si.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var C;(C=this.multistageFilling)==null||C.push(new ne(m))}))}}bn.Rules=lw,bn.RuntimeRules=rw;class He extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}He.controlName="\u90E8\u95E8",He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"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-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Wc extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Wc.controlFieldType=b.DEPARTMENTS;var Kc={Designer:He,Runtime:Wc,Property:bn};class ow extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Nn.call(this,e,je.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class cw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends P{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_,I,m,C,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 Bu(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=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:je.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new pm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:je.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:si.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new Du(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(R=>{var F;(F=this.multistageFilling)==null||F.push(new ne(R))}))}}_n.Rules=ow,_n.RuntimeRules=cw;class je extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}je.controlName="\u4E1A\u52A1\u7EC4\u7EC7",je.controlFieldType=b.DEPARTMENTS,je.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.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 zc extends D{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}zc.controlFieldType=b.DEPARTMENTS;var Gc={Designer:je,Runtime:zc,Property:_n};class sw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ve(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class dw extends L{constructor(e){super(e),this.push({type:"string",message:h.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ve(e.regularRules.expression),message:e.regularRules.errMessage})}}class wn extends P{constructor(e){var n,i,u,a,l,r,s;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 Fu(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:Cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}wn.Rules=sw,wn.RuntimeRules=dw;class Cn extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return"\u654F\u611F\u4FE1\u606F"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"sensitiven-information"}}Cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",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:"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 Qc extends D{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"sensitiven-information"}}Qc.controlFieldType=b.VARCHAR;var Xc={Designer:Cn,Runtime:Qc,Property:wn},hw=Object.freeze({__proto__:null,Input:Uo,Checkbox:Ko,Radio:Go,Number:Xo,DatePicker:Zo,DateRange:po,Textarea:tc,RichText:ic,Select:ac,SelectMultiple:rc,Employee:cc,Image:hc,Attachment:sc,Amount:yc,Score:vc,Address:bc,Department:wc,AutoNumber:Ec,Calc:Sc,SearchNumberRange:Tc,SearchDateRange:Rc,VueFormItem:xc,SelectRelation:Fc,SearchInput:Mc,Tree:Lc,Employee2:Vc,ElectronicSignature:jc,WPS:Uc,Department2:Kc,OrganizationSelection:Gc,SensitivenInformation:Xc});class Jc extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Jc.excludes=[S.GRID];class fw extends j{static get controlType(){return"grid"}constructor(e){super(e)}}var Zc={Designer:Jc,Runtime:fw,Property:N};const yw=24;class qe extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:yw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class En extends H{constructor(e){super(e),this.props=new qe(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}En.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],En.childrenMaxLength=1;class Ga extends j{constructor(e){super(e),this.props=new qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Yc={Designer:En,Runtime:Ga,Property:qe};class qi extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Ui extends H{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ui.excludes=[S.ROW],Ui.setting=[{key:"col-setting",visible:!0}];class pc extends j{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var es={Designer:Ui,Runtime:pc,Property:qi};const mw=4;class Wi extends Ui{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Wi.excludes=[S.GRID_ROW],Wi.setting=[],Wi.childrenMaxLength=mw;class vw extends pc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class gw extends qi{constructor(e){super(e)}}var ts={Designer:Wi,Runtime:vw,Property:gw};class bw extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class Ki extends N{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ki.Rules=bw;class Qa extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Qa.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Qa.excludes=[S.CARD_GROUP];class _w extends j{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ns={Designer:Qa,Runtime:_w,Property:Ki};class ww extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class zi extends N{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 Wm(e==null?void 0:e.metaAutoWidth)}}zi.Rules=ww;class he extends H{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class is extends j{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}is.controlType="subtable-column";var us={Designer:he,Runtime:is,Property:zi};class Xa extends N{constructor(e){super(e)}}class Ue extends H{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}}Ue.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ue.controlType="subtable-row",Ue.controlIcon="subtable-row",Ue.childrenMaxLength=1,Ue.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ue.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Cw extends j{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var as={Designer:Ue,Runtime:Cw,Property:Xa};class Ja extends N{constructor(e){var n,i,u,a,l,r,s,o,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=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Ie.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class We extends H{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}We.controlName="\u5217\u8868\u5355\u5143\u683C",We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],We.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ls extends j{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}ls.controlType="gridtable-column";var rs={Designer:We,Runtime:ls,Property:Ja};class Za extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class Ya extends H{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Ya.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],Ya.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Ew extends j{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var os={Designer:Ya,Runtime:Ew,Property:Za};class pa extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Iw extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class Gi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Gi.Rules=Iw;class In extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}In.excludes=[S.TAB],In.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Sw extends j{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var cs={Designer:In,Runtime:Sw,Property:Gi};class Sn extends H{constructor(e){var n;super(e),this.props=new pa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[S.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Aw extends j{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ss={Designer:Sn,Runtime:Aw,Property:pa};class ds extends N{constructor(e){super(e)}}class hs extends H{constructor(e){super(e),this.props=new ds({}),this.children=(e==null?void 0:e.children)||[new En({props:new qe({span:12})}),new En({props:new qe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}hs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Tw extends j{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ga({props:new qe({span:12})}),new Ga({props:new qe({span:12})})]}}var fs={Designer:hs,Runtime:Tw,Property:ds};class Bw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Rw extends W{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:h.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Qu.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 N{constructor(e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_,I,m,C,T;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Xm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new Zm(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"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=(w=e==null?void 0:e.countLimit)!=null?w:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(m=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(R=>new dv(R)))!=null?m:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(T=(C=e==null?void 0:e.rowStyleRulesScript)==null?void 0:C.map(R=>new hv(R)))!=null?T:[]:[]}}An.Rules=Rw,An.RuntimeRules=Bw;class Qi extends H{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Qi.excludes=[S.ROW],Qi.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"],Qi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Pw extends j{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ys={Designer:Qi,Runtime:Pw,Property:An};class xw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Xi extends N{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Te((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Te((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Te((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Te((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Te(s)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Xi.RuntimeRules=xw;class ms extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ms.excludes=[];class Dw extends j{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var vs={Designer:ms,Runtime:Dw,Property:Xi};class Fw extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class kw extends j{static get controlType(){return"page"}constructor(e){super(e)}}class Ow extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var gs={Designer:Fw,Runtime:kw,Property:Ow};class Mw extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class $w extends j{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Lw extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new go(e==null?void 0:e.flexConfig)}}var bs={Designer:Mw,Runtime:$w,Property:Lw};class Nw extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Vw extends j{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Hw extends N{constructor(e){super(e)}}var _s={Designer:Nw,Runtime:Vw,Property:Hw};class jw extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class qw extends j{static get controlType(){return"position"}constructor(e){super(e)}}class Uw extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var ws={Designer:jw,Runtime:qw,Property:Uw};class el extends N{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class tl extends H{constructor(e){var n;super(e),this.props=new el((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}tl.excludes=[],tl.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class Ww extends j{constructor(e){var n;super(e),this.props=new el((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Cs={Designer:tl,Runtime:Ww,Property:el},Kw=Object.freeze({__proto__:null,Grid:Zc,Col:Yc,Row:es,GridRow:ts,CardGroup:ns,SubTableColumn:us,SubTableRow:as,GridTableColumn:rs,GridLayoutContainer:os,Tab:ss,TabPane:cs,Toolbox:fs,ListView:ys,DataView:vs,Page:gs,AdvancedContainer:bs,PositioningContainer:_s,Position:ws,ActionBar:Cs});class zw extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:h.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Gw extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:h.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Es=class extends Xn{constructor(t,e){var n,i,u,a,l,r,s,o,d,v,g,w,E,_,I,m,C,T,R,F,re,k,oe,Bn,Ce,cu,Rn,Et,Ee,Gs,Qs;super(t,e,Es.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ji.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=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:mo,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=(w=e==null?void 0:e.defaultRows)!=null?w:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(re=e==null?void 0:e.isShowCaptionTip)!=null?re:!1,this.captionTip=(k=e==null?void 0:e.captionTip)!=null?k:"",this.mobileShowType=(oe=e==null?void 0:e.mobileShowType)!=null?oe:"list",this.mobileDefaultNum=(Bn=e==null?void 0:e.mobileDefaultNum)!=null?Bn:10,this.dataStorageDoc=(Ce=e==null?void 0:e.dataStorageDoc)!=null?Ce:new Km,this.fixedColumn=(cu=e==null?void 0:e.fixedColumn)!=null?cu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:"\u660E\u7EC6",this.mobileIsTile=(Et=e==null?void 0:e.mobileIsTile)!=null?Et:!1,this.isPaste=(Ee=e==null?void 0:e.isPaste)!=null?Ee:!1,this.pageSize=(Gs=e==null?void 0:e.pageSize)!=null?Gs:10,this.pageSizeOptions=(Qs=e==null?void 0:e.pageSizeOptions)!=null?Qs:[10,20,50,100]}};let Tn=Es;Tn.Rules=zw,Tn.RuntimeRules=Gw;class Ji extends ra{constructor(e){var n,i;super(e),this.props=new Tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ji.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ji.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]},{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 Qw extends Wr{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}}var Is={Designer:Ji,Runtime:Qw,Property:Tn};class nl extends Xn{constructor(e,n){var i,u,a,l,r;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=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class Xw extends ve{constructor(e){super(e),this.caption.required=!1}}class Zi extends q{constructor(e){var n,i,u,a,l,r,s,o;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:Ke.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=(s=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Zi.Rules=Xw;class Ke extends J{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ke.controlType="order-column",Ke.controlName="\u5E8F\u53F7",Ke.controlIcon="order-column",Ke.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class il extends Z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}il.controlType="order-column",il.controlFieldType=b.DECIMAL;var Ss={Designer:Ke,Runtime:il,Property:Zi};class ul extends q{constructor(e){var n,i,u,a,l,r;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:we.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class we extends J{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Pl(this,null,function*(){return yield Rl(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.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}];class al extends Z{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}al.controlType="operation-column",al.controlFieldType=b.FILE;var As={Designer:we,Runtime:al,Property:ul};class Yi extends ra{constructor(e){var n;super(e),this.props=new nl(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ke,new we]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Bl(at({},e),{children:n})}validate(e,n){return Pl(this,null,function*(){return yield Rl(Yi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Yi.setting=[{key:"list-fixed-header",visible:!0}];class Jw extends Wr{constructor(e){super(e),this.props=new nl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ts={Designer:Yi,Runtime:Jw,Property:nl},Zw=Object.freeze({__proto__:null,SubTable:Is,GridTable:Ts});class Yw extends zr{constructor(e){super(e),Fe.call(this,e)}}class pi extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.displayPlaintext=(r=e==null?void 0:e.displayPlaintext)!=null?r:!1}}pi.Rules=Yw;class ze extends J{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName="\u77ED\u6587\u672C",ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"column-display-plaintext",visible:!0}];class ll extends Z{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ll.controlType="varchar-column",ll.controlFieldType=b.VARCHAR;var Bs={Designer:ze,Runtime:ll,Property:pi};class pw extends ve{constructor(e){super(e),Fe.call(this,e)}}class eu extends q{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:Ge.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 be(e==null?void 0:e.linkOperationOption)}}eu.Rules=pw;class Ge extends J{constructor(e){super(e),this.props=new eu(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}}Ge.controlType="text-column",Ge.controlName="\u957F\u6587\u672C",Ge.controlIcon="text-column",Ge.controlFieldType=b.TEXT,Ge.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}];class rl extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}rl.controlType="text-column",rl.controlFieldType=b.TEXT;var Rs={Designer:Ge,Runtime:rl,Property:eu};class eC extends ve{constructor(e){super(e),Fe.call(this,e)}}class tu extends q{constructor(e){var n,i,u,a,l,r,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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 Y(e==null?void 0:e.datasourceBind),this.options=_e((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}tu.Rules=eC;class Qe extends J{constructor(e){super(e),this.props=new tu(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}}Qe.controlType="decimal-column",Qe.controlName="\u6570\u503C",Qe.controlIcon="decimal-column",Qe.controlFieldType=b.DECIMAL,Qe.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}];class ol extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="decimal-column",ol.controlFieldType=b.DECIMAL;var Ps={Designer:Qe,Runtime:ol,Property:tu};class tC extends ve{constructor(e){super(e),Fe.call(this,e)}}class nu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName}}nu.Rules=tC;class Xe extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Xe.controlType="timescope-column",Xe.controlName="\u65E5\u671F\u533A\u95F4",Xe.controlIcon="timescope-column",Xe.controlFieldType=b.TIMESCOPE,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cl extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cl.controlType="timescope-column",cl.controlFieldType=b.TIMESCOPE;var xs={Designer:Xe,Runtime:cl,Property:nu};class nC extends ve{constructor(e){super(e),Fe.call(this,e)}}class iu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Je.controlName}}iu.Rules=nC;class Je extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Je.controlType="timestamp-column",Je.controlName="\u65E5\u671F",Je.controlIcon="timestamp-column",Je.controlFieldType=b.TIMESTAMP,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sl extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sl.controlType="timestamp-column",sl.controlFieldType=b.TIMESTAMP;var Ds={Designer:Je,Runtime:sl,Property:iu};class iC extends zr{constructor(e){super(e),Fe.call(this,e)}}class uu extends q{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.options=_e((a=e==null?void 0:e.options)!=null?a:[{}])}}uu.Rules=iC;class Ze extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Ze.controlType="array-column",Ze.controlName="\u6570\u7EC4",Ze.controlIcon="array-column",Ze.controlFieldType=b.ARRAY,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:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class dl extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dl.controlType="array-column",dl.controlFieldType=b.ARRAY;var Fs={Designer:Ze,Runtime:dl,Property:uu};class hl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ye extends J{constructor(e){super(e),this.props=new hl(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}}Ye.controlType="department-column",Ye.controlName="\u90E8\u95E8",Ye.controlIcon="department-column",Ye.controlFieldType=b.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class fl extends Z{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}fl.controlType="department-column",fl.controlFieldType=b.DEPARTMENTS;var ks={Designer:Ye,Runtime:fl,Property:hl};class uC extends ve{constructor(e){super(e),Fe.call(this,e)}}class au extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}au.Rules=uC;class pe extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName="\u81EA\u52A8\u7F16\u53F7",pe.controlIcon="auto-number-column",pe.controlFieldType=b.AUTO_NUMBER,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-link-operation",visible:!0},{key:"column-sort",visible:!0}];class yl extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}yl.controlType="auto-number-column",yl.controlFieldType=b.AUTO_NUMBER;var Os={Designer:pe,Runtime:yl,Property:au};class ml extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends J{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName="\u9644\u4EF6",et.controlIcon="file-column",et.controlFieldType=b.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vl extends Z{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}vl.controlType="file-column",vl.controlFieldType=b.FILE;var Ms={Designer:et,Runtime:vl,Property:ml};class gl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName="\u56FE\u7247",tt.controlIcon="image-column",tt.controlFieldType=b.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class bl extends Z{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="image-column",bl.controlFieldType=b.IMAGE;var $s={Designer:tt,Runtime:bl,Property:gl};class _l extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName}}class nt extends J{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}nt.controlType="people-column",nt.controlName="\u4EBA\u5458",nt.controlIcon="people-column",nt.controlFieldType=b.EMPLOYEES,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends Z{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}wl.controlType="people-column",wl.controlFieldType=b.EMPLOYEES;var Ls={Designer:nt,Runtime:wl,Property:_l};class aC extends ve{constructor(e){super(e),Fe.call(this,e)}}class lu extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}lu.Rules=aC;class it extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}it.controlType="location-column",it.controlName="\u5730\u5740",it.controlIcon="location-column",it.controlFieldType=b.ADDRESS,it.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}];class Cl extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Cl.controlType="location-column",Cl.controlFieldType=b.ADDRESS;var Ns={Designer:it,Runtime:Cl,Property:lu};class lC extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:h.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ru extends q{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:""}}ru.Rules=lC;const rC=1;class $e extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=Se(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="\u81EA\u5B9A\u4E49",$e.controlIcon="custom-column",$e.excludes=[],$e.childrenMaxLength=rC,$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}];class Vs extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Vs.controlType="custom-column";var Hs={Designer:$e,Runtime:Vs,Property:ru};class El extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.datasourceBind=new On((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Le.controlCustomAttributes})}}class Le extends J{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Le.controlType="employee-column",Le.controlName="\u4EBA\u5458",Le.controlIcon="employee-column",Le.controlFieldType=b.EMPLOYEES,Le.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}];class Il extends Z{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Il.controlType="employee-column",Il.controlFieldType=b.EMPLOYEES;var js={Designer:Le,Runtime:Il,Property:El};class Sl extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends J{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ut.controlIcon="approval-status-column",ut.excludes=[],ut.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}];class qs extends Z{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}qs.controlType="approval-status-column";var Us={Designer:ut,Runtime:qs,Property:Sl},oC=Object.freeze({__proto__:null,VarcharColumn:Bs,TextColumn:Rs,DecimalColumn:Ps,TimescopeColumn:xs,TimestampColumn:Ds,ArrayColumn:Fs,DepartmentColumn:ks,AutoNumberColumn:Os,FileColumn:Ms,ImageColumn:$s,PeopleColumn:Ls,LocationColumn:Ns,CustomColumn:Hs,OrderColumn:Ss,OperationColumn:As,EmployeeColumn:js,ApprovalStatusColumn:Us});class cC extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ou extends ba{constructor(e){var n,i,u,a,l,r,s,o,d,v;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 Te((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Te((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Te(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}ou.RuntimeRules=cC;class Al extends rb{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Al.controlType="simple-search",Al.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 Ws extends yb{constructor(e){var n;super(e),this.props=new ou(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ws.controlType="simple-search";var Ks={Designer:Al,Runtime:Ws,Property:ou},sC=Object.freeze({__proto__:null,SimpleSearch:Ks});class Tl extends Ea{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class dC extends Bb{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class hC extends Ob{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function EC(t){return t}var fC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},zs={Designer:dC,Runtime:hC,Property:Tl,Setting:fC},yC=Object.freeze({__proto__:null,GridLayoutWrap:zs});y.ActionBar=Cs,y.Address=bc,y.AdvancedContainer=bs,y.Amount=yc,y.ApprovalStatusColumn=Us,y.ArrayColumn=Fs,y.AssignType=Oe,y.Attachment=sc,y.AutoNumber=Ec,y.AutoNumberColumn=Os,y.BatchDeleteButton=jo,y.BatchPrintListButton=No,y.BatchPrintRecordListButton=Vo,y.BatchSubmissionListButton=Io,y.Button=co,y.Calc=Sc,y.CardGroup=ns,y.Checkbox=Ko,y.Col=Yc,y.CreateFormListButton=Eo,y.CustomColumn=Hs,y.DATE_CONFIG_TYPE=so,y.DATE_LIMIT_TYPE=ho,y.Dashboard=ko,y.DataView=vs,y.DatePicker=Zo,y.DateRange=po,y.DecimalColumn=Ps,y.Department=wc,y.Department2=Kc,y.DepartmentColumn=ks,y.DepartmentType=si,y.Divider=wo,y.ElectronicSignature=jc,y.ElectronicSignatureConfig=fo,y.Employee=cc,y.Employee2=Vc,y.EmployeeColumn=js,y.EncryptTypeEnum=bo,y.Explain=ci,y.ExportListButton=Ao,y.ExportRecordListButton=To,y.ExportTemplate=Da,y.FileColumn=Ms,y.FlexStyleConfig=go,y.FormSelectButton=Ro,y.Grid=Zc,y.GridLayoutContainer=os,y.GridLayoutWrap=zs,y.GridRow=ts,y.GridTable=Ts,y.GridTableColumn=rs,y.Image=hc,y.ImageColumn=$s,y.ImportRecordListButton=Bo,y.Input=Uo,y.InternalType=Oa,y.InvoiceCheckButton=Lo,y.LINE_STYLE=Pa,y.LimitDate=oi,y.Link=oo,y.ListSelectButton=Po,y.ListView=ys,y.ListViewSelect=Mo,y.LocationColumn=Ns,y.Number=Xo,y.OperationButton=Ho,y.OperationColumn=As,y.OrderColumn=Ss,y.OrganizationSelection=Gc,y.OrganizeType=ka,y.Page=gs,y.Pagination=Do,y.PeopleColumn=Ls,y.Position=ws,y.PositioningContainer=_s,y.PrintTemplate=vo,y.Radio=Go,y.RichText=ic,y.Row=es,y.SCORE_TYPE=Ra,y.SUBTABLE_DEFAULT_MAX_HEIGHT=mo,y.Score=vc,y.SearchDateRange=Rc,y.SearchInput=Mc,y.SearchNumberRange=Tc,y.Select=ac,y.SelectMultiple=rc,y.SelectRelation=Fc,y.SensitivenInformation=Xc,y.SimpleSearch=Ks,y.SubTable=Is,y.SubTableColumn=us,y.SubTableRow=as,y.SubmissionRecordListButton=So,y.Tab=ss,y.TabPane=cs,y.Text=ro,y.TextColumn=Rs,y.TextOcrButton=$o,y.Textarea=tc,y.TimescopeColumn=xs,y.TimestampColumn=Ds,y.Title=Co,y.TitleConfigEnum=ke,y.Toolbox=fs,y.Tree=Lc,y.UndersignedPerson=xa,y.VarcharColumn=Bs,y.VueFormItem=xc,y.WPS=Uc,y.WPSSetting=yo,y.WpsOperationItem=Fa,y.baseControls=v_,y.columnControls=oC,y.formControls=hw,y.initExpression=Ve,y.layoutControls=Kw,y.listControls=Zw,y.searchControls=sC,y.wrapControls=yC,Object.defineProperty(y,"__esModule",{value:!0})});