@byteluck-fe/model-driven-controls 2.5.0-beta.6 → 2.5.0-beta.7

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 (609) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +18 -4
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -0
  3. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +14 -0
  4. package/dist/esm/baseControls/BatchPrintListButton/designer.js +18 -4
  5. package/dist/esm/baseControls/BatchPrintListButton/property.js +19 -3
  6. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +14 -0
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -4
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +14 -0
  9. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +18 -4
  10. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -3
  11. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +14 -0
  12. package/dist/esm/baseControls/Button/designer.js +18 -4
  13. package/dist/esm/baseControls/Button/property.js +22 -0
  14. package/dist/esm/baseControls/Button/runtime.js +14 -0
  15. package/dist/esm/baseControls/CreateFormListButton/designer.js +18 -4
  16. package/dist/esm/baseControls/CreateFormListButton/property.js +18 -3
  17. package/dist/esm/baseControls/CreateFormListButton/runtime.js +14 -0
  18. package/dist/esm/baseControls/Dashboard/designer.js +16 -2
  19. package/dist/esm/baseControls/Dashboard/property.js +30 -11
  20. package/dist/esm/baseControls/Dashboard/runtime.js +14 -0
  21. package/dist/esm/baseControls/Divider/designer.js +16 -2
  22. package/dist/esm/baseControls/Divider/property.js +15 -0
  23. package/dist/esm/baseControls/Divider/runtime.js +14 -0
  24. package/dist/esm/baseControls/ExportListButton/designer.js +18 -4
  25. package/dist/esm/baseControls/ExportListButton/property.js +14 -0
  26. package/dist/esm/baseControls/ExportListButton/runtime.js +14 -0
  27. package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -4
  28. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +14 -0
  29. package/dist/esm/baseControls/FormSelectButton/designer.js +18 -4
  30. package/dist/esm/baseControls/FormSelectButton/property.js +11 -7
  31. package/dist/esm/baseControls/FormSelectButton/runtime.js +14 -0
  32. package/dist/esm/baseControls/ImportRecordListButton/designer.js +18 -4
  33. package/dist/esm/baseControls/ImportRecordListButton/property.js +17 -0
  34. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +14 -0
  35. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +18 -4
  36. package/dist/esm/baseControls/InvoiceCheckButton/property.js +33 -13
  37. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +14 -0
  38. package/dist/esm/baseControls/Link/designer.js +18 -4
  39. package/dist/esm/baseControls/Link/property.js +16 -0
  40. package/dist/esm/baseControls/Link/runtime.js +14 -0
  41. package/dist/esm/baseControls/ListSelectButton/designer.js +18 -4
  42. package/dist/esm/baseControls/ListSelectButton/property.js +23 -7
  43. package/dist/esm/baseControls/ListSelectButton/runtime.js +14 -0
  44. package/dist/esm/baseControls/ListViewSelect/designer.js +16 -2
  45. package/dist/esm/baseControls/ListViewSelect/property.js +20 -5
  46. package/dist/esm/baseControls/ListViewSelect/runtime.js +14 -0
  47. package/dist/esm/baseControls/OperationButton/designer.js +18 -4
  48. package/dist/esm/baseControls/OperationButton/property.js +29 -3
  49. package/dist/esm/baseControls/OperationButton/runtime.js +14 -0
  50. package/dist/esm/baseControls/Pagination/designer.js +15 -1
  51. package/dist/esm/baseControls/Pagination/property.js +15 -2
  52. package/dist/esm/baseControls/Pagination/runtime.js +14 -0
  53. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -4
  54. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +14 -0
  55. package/dist/esm/baseControls/Text/designer.js +16 -2
  56. package/dist/esm/baseControls/Text/property.js +19 -0
  57. package/dist/esm/baseControls/Text/runtime.js +14 -0
  58. package/dist/esm/baseControls/TextOcrButton/designer.js +18 -4
  59. package/dist/esm/baseControls/TextOcrButton/property.js +33 -13
  60. package/dist/esm/baseControls/TextOcrButton/runtime.js +14 -0
  61. package/dist/esm/baseControls/Title/designer.js +17 -3
  62. package/dist/esm/baseControls/Title/property.js +24 -7
  63. package/dist/esm/baseControls/Title/runtime.js +14 -0
  64. package/dist/esm/columnControls/ArrayColumn/designer.js +20 -6
  65. package/dist/esm/columnControls/ArrayColumn/property.js +36 -1
  66. package/dist/esm/columnControls/ArrayColumn/runtime.js +16 -2
  67. package/dist/esm/columnControls/AutoNumberColumn/designer.js +20 -6
  68. package/dist/esm/columnControls/AutoNumberColumn/property.js +22 -1
  69. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +16 -2
  70. package/dist/esm/columnControls/CustomColumn/designer.js +58 -30
  71. package/dist/esm/columnControls/CustomColumn/property.js +14 -0
  72. package/dist/esm/columnControls/CustomColumn/runtime.js +16 -1
  73. package/dist/esm/columnControls/DecimalColumn/designer.js +47 -15
  74. package/dist/esm/columnControls/DecimalColumn/property.js +51 -1
  75. package/dist/esm/columnControls/DecimalColumn/runtime.js +16 -2
  76. package/dist/esm/columnControls/DepartmentColumn/designer.js +46 -14
  77. package/dist/esm/columnControls/DepartmentColumn/property.js +18 -0
  78. package/dist/esm/columnControls/DepartmentColumn/runtime.js +16 -2
  79. package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -6
  80. package/dist/esm/columnControls/EmployeeColumn/property.js +17 -0
  81. package/dist/esm/columnControls/EmployeeColumn/runtime.js +16 -2
  82. package/dist/esm/columnControls/FileColumn/designer.js +20 -6
  83. package/dist/esm/columnControls/FileColumn/runtime.js +16 -2
  84. package/dist/esm/columnControls/ImageColumn/designer.js +20 -6
  85. package/dist/esm/columnControls/ImageColumn/runtime.js +16 -2
  86. package/dist/esm/columnControls/LocationColumn/designer.js +20 -6
  87. package/dist/esm/columnControls/LocationColumn/property.js +22 -1
  88. package/dist/esm/columnControls/LocationColumn/runtime.js +16 -2
  89. package/dist/esm/columnControls/OperationColumn/designer.js +84 -58
  90. package/dist/esm/columnControls/OperationColumn/property.js +28 -0
  91. package/dist/esm/columnControls/OperationColumn/runtime.js +17 -2
  92. package/dist/esm/columnControls/OrderColumn/designer.js +19 -5
  93. package/dist/esm/columnControls/OrderColumn/property.js +14 -1
  94. package/dist/esm/columnControls/OrderColumn/runtime.js +16 -2
  95. package/dist/esm/columnControls/PeopleColumn/designer.js +20 -6
  96. package/dist/esm/columnControls/PeopleColumn/runtime.js +16 -2
  97. package/dist/esm/columnControls/TextColumn/designer.js +46 -14
  98. package/dist/esm/columnControls/TextColumn/property.js +32 -1
  99. package/dist/esm/columnControls/TextColumn/runtime.js +16 -2
  100. package/dist/esm/columnControls/TimescopeColumn/designer.js +46 -14
  101. package/dist/esm/columnControls/TimescopeColumn/property.js +27 -1
  102. package/dist/esm/columnControls/TimescopeColumn/runtime.js +16 -2
  103. package/dist/esm/columnControls/TimestampColumn/designer.js +46 -14
  104. package/dist/esm/columnControls/TimestampColumn/property.js +27 -1
  105. package/dist/esm/columnControls/TimestampColumn/runtime.js +16 -2
  106. package/dist/esm/columnControls/VarcharColumn/designer.js +20 -6
  107. package/dist/esm/columnControls/VarcharColumn/property.js +39 -1
  108. package/dist/esm/columnControls/VarcharColumn/runtime.js +16 -2
  109. package/dist/esm/formControls/Address/designer.js +17 -3
  110. package/dist/esm/formControls/Address/property.js +25 -1
  111. package/dist/esm/formControls/Address/runtime.js +15 -1
  112. package/dist/esm/formControls/Amount/designer.js +32 -15
  113. package/dist/esm/formControls/Amount/property.js +45 -6
  114. package/dist/esm/formControls/Amount/runtime.js +15 -1
  115. package/dist/esm/formControls/Attachment/designer.js +19 -5
  116. package/dist/esm/formControls/Attachment/property.js +26 -4
  117. package/dist/esm/formControls/Attachment/runtime.js +15 -1
  118. package/dist/esm/formControls/AutoNumber/designer.js +19 -5
  119. package/dist/esm/formControls/AutoNumber/property.js +14 -0
  120. package/dist/esm/formControls/AutoNumber/runtime.js +15 -1
  121. package/dist/esm/formControls/Calc/designer.js +32 -15
  122. package/dist/esm/formControls/Calc/property.js +41 -2
  123. package/dist/esm/formControls/Calc/runtime.js +15 -1
  124. package/dist/esm/formControls/Checkbox/designer.js +19 -5
  125. package/dist/esm/formControls/Checkbox/property.js +40 -4
  126. package/dist/esm/formControls/Checkbox/runtime.js +15 -1
  127. package/dist/esm/formControls/DatePicker/designer.js +29 -12
  128. package/dist/esm/formControls/DatePicker/property.js +25 -0
  129. package/dist/esm/formControls/DatePicker/runtime.js +15 -1
  130. package/dist/esm/formControls/DateRange/designer.js +29 -12
  131. package/dist/esm/formControls/DateRange/property.js +57 -1
  132. package/dist/esm/formControls/DateRange/runtime.js +15 -1
  133. package/dist/esm/formControls/Department/designer.js +31 -14
  134. package/dist/esm/formControls/Department/property.js +43 -1
  135. package/dist/esm/formControls/Department/runtime.js +15 -1
  136. package/dist/esm/formControls/Department2/designer.js +31 -14
  137. package/dist/esm/formControls/Department2/property.js +59 -6
  138. package/dist/esm/formControls/Department2/runtime.js +15 -1
  139. package/dist/esm/formControls/ElectronicSignature/designer.js +19 -5
  140. package/dist/esm/formControls/ElectronicSignature/property.js +23 -3
  141. package/dist/esm/formControls/ElectronicSignature/runtime.js +15 -1
  142. package/dist/esm/formControls/Employee/designer.js +17 -3
  143. package/dist/esm/formControls/Employee/property.js +29 -1
  144. package/dist/esm/formControls/Employee/runtime.js +15 -1
  145. package/dist/esm/formControls/Employee2/designer.js +17 -3
  146. package/dist/esm/formControls/Employee2/property.js +43 -6
  147. package/dist/esm/formControls/Employee2/runtime.js +15 -1
  148. package/dist/esm/formControls/Image/designer.js +16 -3
  149. package/dist/esm/formControls/Input/designer.js +19 -5
  150. package/dist/esm/formControls/Input/property.js +50 -8
  151. package/dist/esm/formControls/Input/runtime.js +15 -1
  152. package/dist/esm/formControls/Number/designer.js +32 -15
  153. package/dist/esm/formControls/Number/property.js +78 -6
  154. package/dist/esm/formControls/Number/runtime.js +15 -1
  155. package/dist/esm/formControls/OrganizationSelection/designer.js +31 -14
  156. package/dist/esm/formControls/OrganizationSelection/property.js +71 -6
  157. package/dist/esm/formControls/OrganizationSelection/runtime.js +15 -1
  158. package/dist/esm/formControls/Radio/designer.js +19 -5
  159. package/dist/esm/formControls/Radio/property.js +33 -1
  160. package/dist/esm/formControls/Radio/runtime.js +15 -1
  161. package/dist/esm/formControls/RichText/designer.js +19 -5
  162. package/dist/esm/formControls/RichText/property.js +24 -8
  163. package/dist/esm/formControls/RichText/runtime.js +15 -1
  164. package/dist/esm/formControls/Score/designer.js +38 -21
  165. package/dist/esm/formControls/Score/property.js +24 -6
  166. package/dist/esm/formControls/Score/runtime.js +15 -1
  167. package/dist/esm/formControls/SearchDateRange/designer.js +17 -3
  168. package/dist/esm/formControls/SearchDateRange/property.js +26 -1
  169. package/dist/esm/formControls/SearchDateRange/runtime.js +15 -1
  170. package/dist/esm/formControls/SearchInput/designer.js +16 -2
  171. package/dist/esm/formControls/SearchInput/runtime.js +15 -1
  172. package/dist/esm/formControls/SearchNumberRange/designer.js +17 -3
  173. package/dist/esm/formControls/SearchNumberRange/property.js +21 -1
  174. package/dist/esm/formControls/SearchNumberRange/runtime.js +15 -1
  175. package/dist/esm/formControls/Select/designer.js +17 -3
  176. package/dist/esm/formControls/Select/property.js +25 -1
  177. package/dist/esm/formControls/Select/runtime.js +15 -1
  178. package/dist/esm/formControls/SelectMultiple/designer.js +17 -3
  179. package/dist/esm/formControls/SelectMultiple/property.js +24 -2
  180. package/dist/esm/formControls/SelectMultiple/runtime.js +15 -1
  181. package/dist/esm/formControls/SelectRelation/designer.js +19 -5
  182. package/dist/esm/formControls/SelectRelation/property.js +66 -3
  183. package/dist/esm/formControls/SelectRelation/runtime.js +15 -1
  184. package/dist/esm/formControls/Textarea/designer.js +19 -5
  185. package/dist/esm/formControls/Textarea/property.js +41 -8
  186. package/dist/esm/formControls/Textarea/runtime.js +15 -1
  187. package/dist/esm/formControls/Tree/designer.js +19 -5
  188. package/dist/esm/formControls/Tree/property.js +41 -6
  189. package/dist/esm/formControls/Tree/runtime.js +15 -1
  190. package/dist/esm/formControls/VueFormItem/designer.js +18 -4
  191. package/dist/esm/formControls/VueFormItem/property.js +19 -2
  192. package/dist/esm/formControls/VueFormItem/runtime.js +15 -1
  193. package/dist/esm/formControls/WPS/designer.js +19 -5
  194. package/dist/esm/formControls/WPS/property.js +32 -6
  195. package/dist/esm/formControls/WPS/runtime.js +15 -1
  196. package/dist/esm/framework.js +80 -0
  197. package/dist/esm/layoutControls/AdvancedContainer/property.js +15 -0
  198. package/dist/esm/layoutControls/CardGroup/designer.js +18 -4
  199. package/dist/esm/layoutControls/CardGroup/property.js +23 -3
  200. package/dist/esm/layoutControls/CardGroup/runtime.js +14 -0
  201. package/dist/esm/layoutControls/Col/designer.js +17 -3
  202. package/dist/esm/layoutControls/Col/property.js +15 -0
  203. package/dist/esm/layoutControls/Col/runtime.js +14 -0
  204. package/dist/esm/layoutControls/DataView/designer.js +15 -1
  205. package/dist/esm/layoutControls/DataView/property.js +28 -1
  206. package/dist/esm/layoutControls/DataView/runtime.js +14 -0
  207. package/dist/esm/layoutControls/Grid/designer.js +15 -2
  208. package/dist/esm/layoutControls/GridRow/designer.js +17 -4
  209. package/dist/esm/layoutControls/GridTableColumn/designer.js +22 -8
  210. package/dist/esm/layoutControls/GridTableColumn/property.js +26 -0
  211. package/dist/esm/layoutControls/GridTableColumn/runtime.js +15 -1
  212. package/dist/esm/layoutControls/ListView/designer.js +20 -6
  213. package/dist/esm/layoutControls/ListView/property.js +82 -6
  214. package/dist/esm/layoutControls/ListView/runtime.js +14 -0
  215. package/dist/esm/layoutControls/Page/property.js +18 -4
  216. package/dist/esm/layoutControls/Position/property.js +17 -0
  217. package/dist/esm/layoutControls/Row/designer.js +18 -4
  218. package/dist/esm/layoutControls/Row/property.js +15 -0
  219. package/dist/esm/layoutControls/Row/runtime.js +14 -0
  220. package/dist/esm/layoutControls/SubTableColumn/designer.js +22 -8
  221. package/dist/esm/layoutControls/SubTableColumn/property.js +39 -7
  222. package/dist/esm/layoutControls/SubTableColumn/runtime.js +15 -1
  223. package/dist/esm/layoutControls/SubTableRow/designer.js +22 -8
  224. package/dist/esm/layoutControls/SubTableRow/runtime.js +14 -0
  225. package/dist/esm/layoutControls/Tab/designer.js +20 -6
  226. package/dist/esm/layoutControls/Tab/property.js +14 -0
  227. package/dist/esm/layoutControls/Tab/runtime.js +14 -0
  228. package/dist/esm/layoutControls/TabPane/designer.js +18 -4
  229. package/dist/esm/layoutControls/TabPane/property.js +17 -3
  230. package/dist/esm/layoutControls/TabPane/runtime.js +14 -0
  231. package/dist/esm/layoutControls/Toolbox/designer.js +16 -2
  232. package/dist/esm/listControls/GridTable/designer.js +52 -44
  233. package/dist/esm/listControls/GridTable/property.js +37 -0
  234. package/dist/esm/listControls/GridTable/runtime.js +35 -12
  235. package/dist/esm/listControls/SubTable/designer.js +32 -15
  236. package/dist/esm/listControls/SubTable/property.js +153 -13
  237. package/dist/esm/listControls/SubTable/runtime.js +29 -9
  238. package/dist/esm/searchControls/SimpleSearch/designer.js +17 -3
  239. package/dist/esm/searchControls/SimpleSearch/property.js +48 -1
  240. package/dist/esm/searchControls/SimpleSearch/runtime.js +16 -1
  241. package/dist/index.umd.js +1 -1
  242. package/dist/types/api-doc-index.d.ts +89 -89
  243. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
  244. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  245. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  246. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  247. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
  248. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  249. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  250. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  251. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
  252. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  253. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  254. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  255. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
  256. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  257. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  258. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  259. package/dist/types/baseControls/Button/designer.d.ts +13 -13
  260. package/dist/types/baseControls/Button/index.d.ts +12 -12
  261. package/dist/types/baseControls/Button/property.d.ts +14 -14
  262. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  263. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
  264. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  265. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  266. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  267. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  268. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  269. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  270. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  271. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  272. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  273. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  274. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  275. package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
  276. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  277. package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
  278. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  279. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
  280. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  281. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  282. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  283. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  284. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  285. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  286. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  287. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
  288. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  289. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
  290. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  291. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  292. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  293. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  294. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  295. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  296. package/dist/types/baseControls/Link/index.d.ts +12 -12
  297. package/dist/types/baseControls/Link/property.d.ts +9 -9
  298. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  299. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  300. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  301. package/dist/types/baseControls/ListSelectButton/property.d.ts +36 -36
  302. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  303. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  304. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  305. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  306. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  307. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  308. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  309. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  310. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  311. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  312. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  313. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  314. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  315. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
  316. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  317. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  318. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  319. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  320. package/dist/types/baseControls/Text/index.d.ts +12 -12
  321. package/dist/types/baseControls/Text/property.d.ts +11 -11
  322. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  323. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  324. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  325. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  326. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  327. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  328. package/dist/types/baseControls/Title/index.d.ts +12 -12
  329. package/dist/types/baseControls/Title/property.d.ts +19 -19
  330. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  331. package/dist/types/baseControls/index.d.ts +22 -22
  332. package/dist/types/baseControls/utils.d.ts +2 -2
  333. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  334. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  335. package/dist/types/columnControls/ArrayColumn/property.d.ts +46 -46
  336. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  337. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  338. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  339. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  340. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  341. package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
  342. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  343. package/dist/types/columnControls/CustomColumn/property.d.ts +11 -11
  344. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  345. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  346. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  347. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  348. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  349. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  350. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  351. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  352. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  353. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  354. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  355. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  356. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  357. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  358. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  359. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  360. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  361. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  362. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  363. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  364. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  365. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  366. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  367. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  368. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  369. package/dist/types/columnControls/OperationColumn/designer.d.ts +24 -24
  370. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  371. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  372. package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
  373. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  374. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  375. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  376. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  377. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  378. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  379. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  380. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  381. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  382. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  383. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  384. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  385. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  386. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  387. package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
  388. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  389. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  390. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  391. package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
  392. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  393. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  394. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  395. package/dist/types/columnControls/VarcharColumn/property.d.ts +45 -45
  396. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  397. package/dist/types/columnControls/index.d.ts +16 -16
  398. package/dist/types/formControls/Address/designer.d.ts +14 -14
  399. package/dist/types/formControls/Address/index.d.ts +12 -12
  400. package/dist/types/formControls/Address/property.d.ts +28 -28
  401. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  402. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  403. package/dist/types/formControls/Amount/index.d.ts +12 -12
  404. package/dist/types/formControls/Amount/property.d.ts +70 -70
  405. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  406. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  407. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  408. package/dist/types/formControls/Attachment/property.d.ts +28 -28
  409. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  410. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  411. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  412. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  413. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  414. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  415. package/dist/types/formControls/Calc/index.d.ts +12 -12
  416. package/dist/types/formControls/Calc/property.d.ts +48 -48
  417. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  418. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  419. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  420. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  421. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  422. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  423. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  424. package/dist/types/formControls/DatePicker/property.d.ts +14 -14
  425. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  426. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  427. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  428. package/dist/types/formControls/DateRange/property.d.ts +68 -68
  429. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  430. package/dist/types/formControls/Department/designer.d.ts +15 -15
  431. package/dist/types/formControls/Department/index.d.ts +12 -12
  432. package/dist/types/formControls/Department/property.d.ts +47 -47
  433. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  434. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  435. package/dist/types/formControls/Department2/index.d.ts +12 -12
  436. package/dist/types/formControls/Department2/property.d.ts +64 -64
  437. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  438. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  439. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  440. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  441. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  442. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  443. package/dist/types/formControls/Employee/index.d.ts +12 -12
  444. package/dist/types/formControls/Employee/property.d.ts +21 -21
  445. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  446. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  447. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  448. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  449. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  450. package/dist/types/formControls/Image/designer.d.ts +13 -13
  451. package/dist/types/formControls/Image/index.d.ts +12 -12
  452. package/dist/types/formControls/Image/property.d.ts +6 -6
  453. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  454. package/dist/types/formControls/Input/designer.d.ts +15 -15
  455. package/dist/types/formControls/Input/index.d.ts +12 -12
  456. package/dist/types/formControls/Input/property.d.ts +57 -57
  457. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  458. package/dist/types/formControls/Number/designer.d.ts +16 -16
  459. package/dist/types/formControls/Number/index.d.ts +12 -12
  460. package/dist/types/formControls/Number/property.d.ts +92 -92
  461. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  462. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  463. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  464. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  465. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  466. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  467. package/dist/types/formControls/Radio/index.d.ts +12 -12
  468. package/dist/types/formControls/Radio/property.d.ts +22 -22
  469. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  470. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  471. package/dist/types/formControls/RichText/index.d.ts +12 -12
  472. package/dist/types/formControls/RichText/property.d.ts +21 -21
  473. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  474. package/dist/types/formControls/Score/designer.d.ts +16 -16
  475. package/dist/types/formControls/Score/index.d.ts +12 -12
  476. package/dist/types/formControls/Score/property.d.ts +23 -23
  477. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  478. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  479. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  480. package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
  481. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  482. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  483. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  484. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  485. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  486. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  487. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  488. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  489. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  490. package/dist/types/formControls/Select/designer.d.ts +14 -14
  491. package/dist/types/formControls/Select/index.d.ts +12 -12
  492. package/dist/types/formControls/Select/property.d.ts +18 -18
  493. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  494. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  495. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  496. package/dist/types/formControls/SelectMultiple/property.d.ts +21 -21
  497. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  498. package/dist/types/formControls/SelectRelation/designer.d.ts +15 -15
  499. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  500. package/dist/types/formControls/SelectRelation/property.d.ts +70 -70
  501. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  502. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  503. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  504. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  505. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  506. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  507. package/dist/types/formControls/Tree/index.d.ts +12 -12
  508. package/dist/types/formControls/Tree/property.d.ts +34 -34
  509. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  510. package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
  511. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  512. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  513. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  514. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  515. package/dist/types/formControls/WPS/index.d.ts +12 -12
  516. package/dist/types/formControls/WPS/property.d.ts +32 -32
  517. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  518. package/dist/types/formControls/index.d.ts +30 -30
  519. package/dist/types/framework.d.ts +191 -191
  520. package/dist/types/index.d.ts +15 -15
  521. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  522. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  523. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  524. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  525. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  526. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  527. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  528. package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
  529. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  530. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  531. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  532. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  533. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  534. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  535. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  536. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  537. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  538. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  539. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  540. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  541. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  542. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  543. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  544. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  545. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  546. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  547. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  548. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  549. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  550. package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
  551. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  552. package/dist/types/layoutControls/ListView/property.d.ts +107 -107
  553. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  554. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  555. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  556. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  557. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  558. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  559. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  560. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  561. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  562. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  563. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  564. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  565. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  566. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  567. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  568. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  569. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  570. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  571. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  572. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  573. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  574. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  575. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  576. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  577. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  578. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  579. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  580. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  581. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  582. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  583. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  584. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  585. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  586. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  587. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  588. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  589. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  590. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  591. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  592. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  593. package/dist/types/layoutControls/index.d.ts +17 -17
  594. package/dist/types/listControls/GridTable/designer.d.ts +18 -18
  595. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  596. package/dist/types/listControls/GridTable/property.d.ts +44 -44
  597. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  598. package/dist/types/listControls/SubTable/designer.d.ts +24 -24
  599. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  600. package/dist/types/listControls/SubTable/property.d.ts +186 -186
  601. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  602. package/dist/types/listControls/index.d.ts +2 -2
  603. package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
  604. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  605. package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -60
  606. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  607. package/dist/types/searchControls/index.d.ts +1 -1
  608. package/dist/types/type.d.ts +107 -107
  609. package/package.json +2 -2
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var X0=Object.defineProperty,Q0=Object.defineProperties;var J0=Object.getOwnPropertyDescriptors;var Pc=Object.getOwnPropertySymbols,Z0=Object.getPrototypeOf,Y0=Object.prototype.hasOwnProperty,p0=Object.prototype.propertyIsEnumerable,eE=Reflect.get;var xc=(h,M,L)=>M in h?X0(h,M,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[M]=L,ge=(h,M)=>{for(var L in M||(M={}))Y0.call(M,L)&&xc(h,L,M[L]);if(Pc)for(var L of Pc(M))p0.call(M,L)&&xc(h,L,M[L]);return h},hn=(h,M)=>Q0(h,J0(M));var qa=(h,M,L)=>eE(Z0(h),L,M);var Ua=(h,M,L)=>new Promise((ji,yn)=>{var qi=ce=>{try{ct(L.next(ce))}catch(st){yn(st)}},Ui=ce=>{try{ct(L.throw(ce))}catch(st){yn(st)}},ct=ce=>ce.done?ji(ce.value):Promise.resolve(ce.value).then(qi,Ui);ct((L=L.apply(h,M)).next())});(function(h,M){typeof exports=="object"&&typeof module!="undefined"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(h=typeof globalThis!="undefined"?globalThis:h||self,M(h.modelDrivenControls={}))})(this,function(h){"use strict";var M="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ui="{caption}\u5FC5\u586B",ct="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",st="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Fc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Oc="\u8BF7\u7ED1\u5B9A\u8868\u5355",kc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Mc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Nc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Lc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$c="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Uc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Wc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Kc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Jc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Yc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",pc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",es="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ts="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ns="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u7ED1\u5B9A\u670D\u52A1",as="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rs="\u8BF7\u9009\u62E9\u7701",ls="\u8BF7\u9009\u62E9\u5E02",os="\u8BF7\u9009\u62E9\u533A",cs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ss="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ds="\u8BF7\u8F93\u5165\u5217\u5BBD",fs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",_s="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Is="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ss="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",As="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ts="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ds="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ps="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Os="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ns={isNotNumber:M,isNotString:L,isNotObject:ji,isNotArray:yn,isNotBoolean:qi,runtimeRequired:Ui,pleaseEnterCaption:ct,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:st,pleaseEnterFieldCode:Fc,pleaseEnterForm:Oc,pleaseEnterList:kc,pleaseEnterProcess:Mc,pleaseEnterLabel:Nc,pleaseEnterValue:Lc,bizKeyNotBindFiled:$c,pleaseSelectOneField:Vc,pleaseEnterNumberRange:Hc,pleaseEnterAValueGreaterThanMin:jc,pleaseEnterAValueLessThanMax:qc,numberRangeSetError:Uc,stringRangeError:Wc,attachmentMaxSize:Kc,pleaseEnterTotalScoreSetting:zc,theTotalScoreMustNotBeLessThan1:Gc,scoreDefaultValueRange:Xc,attachmentLimitError:Qc,PleaseReselectTheOptionalQuantity:Jc,TheMaximumLengthIsGreaterThanTheMinimumLength:Zc,TheMinimumLengthIsGreaterThanTheMaximumLength:Yc,PleaseSelectTheCorrectOptionSettings:pc,optionIdIsRepeat:es,optionIsRequired:ts,pleaseEnterDataCode:ns,pleaseEnterValueFieldCode:is,pleaseEnterSvcCode:us,pleaseBindAtLeastOneDisplayValue:as,pleaseSelectProvince:rs,pleaseSelectCity:ls,pleaseSelectDistrict:os,limitRowsCannotBeLessThan0:cs,TheNumberOfRowsCannotBeLessThanMinRows:ss,pleaseEnterColumnWidth:ds,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fs,pleaseCompleteAllRulesAndConditions:hs,pleaseSelectControl:ys,pleaseSelectAtLeastOneColumn:ms,pleaseSelectFillBackMode:vs,pleaseSelectDashboard:gs,rootNodeIsRequired:bs,theViewNameCannotBeEmpty:Es,pleaseSelectOcrType:Cs,pleaseSelectAtLeastOneFieldToFillIn:_s,pleaseChooseAtLeastOne:ws,pleaseEnterButtonContent:Is,pleaseEnterDataCodeInDataSetting:Ss,pleaseEnterValueFieldCodeInDataSetting:As,pleaseEnterSvcCodeInDataSetting:Ts,pleaseBindAtLeastOneDisplayValueInDataSetting:Bs,rootNodeIsRequiredInDataSetting:Rs,pleaseEnterMaxHeight:Ds,pleaseEnter:Ps,pleaseEnterWatermark:xs,pleaseEnterFileName:Fs,pleaseUploadAtLeastOnePrintTemplate:Os,pleaseAssignBusiness:ks,pleaseAssignExternal:Ms},Ls="Please enter a number",$s="Please enter a string",Vs="Please enter an object",Hs="Please enter an array",js="Please enter a boolean",qs="{caption} Required",Us="Please enter the title",Ws="Please enter the bubble prompt",Ks="Please enter the prompt text",zs="Please bind data items",Gs="Please bind the form",Xs="Please bind the list",Qs="Please bind the process",Js="Please enter the displayed value",Zs="Please enter the stored value",Ys="The document number is not bound to the data item",ps="Please select at least one display field",ed="Please enter a value greater than or equal to {min} and less than or equal to {max}",td="Please enter a value greater than or equal to {min}",nd="Please enter a value less than or equal to {max}",id="The value range is set incorrectly",ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ad="The attachment size must be between 0MB and 1000MB",rd="Please fill in the total score setting",ld="The total score cannot be less than 1",od="The default value must be between {min} and {max}",cd="The number of attachments uploaded must be between {min} and {max}",sd="Please re-select the optional quantity",dd="The maximum length of the control must be greater than the minimum length",fd="The minimum length of the control must be less than the maximum length",hd="Please select the correct option setting",yd="Option ID cannot be repeated",md="Please enter at least one option",vd="Please bind the data source",gd="Please bind the stored value",bd="Please bind the service",Ed="At least one display value must be bound",Cd="Please select a province",_d="Please select a city",wd="Please select a district",Id="The minimum number of lines to fill in cannot be less than 0",Sd="The number of rows cannot be less than {min} rows",Ad="Please enter the column width",Td="Please set the logical relationship of all rule conditions",Bd="Please complete all rules and conditions",Rd="please select control",Dd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",kd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gd={isNotNumber:Ls,isNotString:$s,isNotObject:Vs,isNotArray:Hs,isNotBoolean:js,runtimeRequired:qs,pleaseEnterCaption:Us,pleaseEnterCaptionTip:Ws,pleaseEnterPlaceholder:Ks,pleaseEnterFieldCode:zs,pleaseEnterForm:Gs,pleaseEnterList:Xs,pleaseEnterProcess:Qs,pleaseEnterLabel:Js,pleaseEnterValue:Zs,bizKeyNotBindFiled:Ys,pleaseSelectOneField:ps,pleaseEnterNumberRange:ed,pleaseEnterAValueGreaterThanMin:td,pleaseEnterAValueLessThanMax:nd,numberRangeSetError:id,stringRangeError:ud,attachmentMaxSize:ad,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:ld,scoreDefaultValueRange:od,attachmentLimitError:cd,PleaseReselectTheOptionalQuantity:sd,TheMaximumLengthIsGreaterThanTheMinimumLength:dd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:hd,optionIdIsRepeat:yd,optionIsRequired:md,pleaseEnterDataCode:vd,pleaseEnterValueFieldCode:gd,pleaseEnterSvcCode:bd,pleaseBindAtLeastOneDisplayValue:Ed,pleaseSelectProvince:Cd,pleaseSelectCity:_d,pleaseSelectDistrict:wd,limitRowsCannotBeLessThan0:Id,TheNumberOfRowsCannotBeLessThanMinRows:Sd,pleaseEnterColumnWidth:Ad,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Td,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Rd,pleaseSelectDashboard:Dd,theViewNameCannotBeEmpty:Pd,pleaseSelectOcrType:xd,pleaseSelectAtLeastOneFieldToFillIn:Fd,pleaseChooseAtLeastOne:Od,pleaseEnterButtonContent:kd,pleaseEnterDataCodeInDataSetting:Md,pleaseEnterValueFieldCodeInDataSetting:Nd,pleaseEnterSvcCodeInDataSetting:Ld,pleaseBindAtLeastOneDisplayValueInDataSetting:$d,rootNodeIsRequiredInDataSetting:Vd,pleaseEnterMaxHeight:Hd,pleaseEnter:jd,pleaseEnterWatermark:qd,pleaseEnterFileName:Ud,pleaseUploadAtLeastOnePrintTemplate:Wd,pleaseAssignBusiness:Kd,pleaseAssignExternal:zd},Xd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pd="{caption}\u5FC5\u9808",ef="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",of="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",df="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ff="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Cf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_f="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\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",Sf="\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",Af="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Rf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ff="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Of="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hf="please select control",jf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",eh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",th="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ih="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ah={isNotNumber:Xd,isNotString:Qd,isNotObject:Jd,isNotArray:Zd,isNotBoolean:Yd,runtimeRequired:pd,pleaseEnterCaption:ef,pleaseEnterCaptionTip:tf,pleaseEnterPlaceholder:nf,pleaseEnterFieldCode:uf,pleaseEnterForm:af,pleaseEnterList:rf,pleaseEnterProcess:lf,pleaseEnterLabel:of,pleaseEnterValue:cf,bizKeyNotBindFiled:sf,pleaseSelectOneField:df,pleaseEnterNumberRange:ff,pleaseEnterAValueGreaterThanMin:hf,pleaseEnterAValueLessThanMax:yf,numberRangeSetError:mf,stringRangeError:vf,attachmentMaxSize:gf,pleaseEnterTotalScoreSetting:bf,theTotalScoreMustNotBeLessThan1:Ef,scoreDefaultValueRange:Cf,attachmentLimitError:_f,PleaseReselectTheOptionalQuantity:wf,TheMaximumLengthIsGreaterThanTheMinimumLength:If,TheMinimumLengthIsGreaterThanTheMaximumLength:Sf,PleaseSelectTheCorrectOptionSettings:Af,optionIdIsRepeat:Tf,optionIsRequired:Bf,pleaseEnterDataCode:Rf,pleaseEnterValueFieldCode:Df,pleaseEnterSvcCode:Pf,pleaseBindAtLeastOneDisplayValue:xf,pleaseSelectProvince:Ff,pleaseSelectCity:Of,pleaseSelectDistrict:kf,limitRowsCannotBeLessThan0:Mf,TheNumberOfRowsCannotBeLessThanMinRows:Nf,pleaseEnterColumnWidth:Lf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$f,pleaseCompleteAllRulesAndConditions:Vf,pleaseSelectControl:Hf,pleaseSelectDashboard:jf,theViewNameCannotBeEmpty:qf,pleaseSelectOcrType:Uf,pleaseSelectAtLeastOneFieldToFillIn:Wf,pleaseChooseAtLeastOne:Kf,pleaseEnterButtonContent:zf,pleaseEnterDataCodeInDataSetting:Gf,pleaseEnterValueFieldCodeInDataSetting:Xf,pleaseEnterSvcCodeInDataSetting:Qf,pleaseBindAtLeastOneDisplayValueInDataSetting:Jf,rootNodeIsRequiredInDataSetting:Zf,pleaseEnterMaxHeight:Yf,pleaseEnter:pf,pleaseEnterWatermark:eh,pleaseEnterFileName:th,pleaseUploadAtLeastOnePrintTemplate:nh,pleaseAssignBusiness:ih,pleaseAssignExternal:uh},rh={zhCN:Ns,enUS:Gd,jaJP:ah},Wa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var Ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ka||(Ka={}));var lh="zh-CN";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}var za;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(za||(za={}));var C;(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.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.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.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"})(C||(C={}));var v;(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"})(v||(v={}));var Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(be||(be={}));var Ga="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oh=Ga+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ga:oh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Wi(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 ch(t){if(Array.isArray(t))return Wi(t)}function sh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(){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 mn(t,e,n){return dh()?mn=Reflect.construct:mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&ft(o,r.prototype),o},mn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function Qa(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&&ft(t,e)}function fh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yh(){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 mh(t,e){return e&&(vh(e)==="object"||typeof e=="function")?e:sh(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ft(t,e)}function Ja(t){return ch(t)||hh(t)||gh(t)||yh()}var vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gh(t,e){if(!!t){if(typeof t=="string")return Wi(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 Wi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(i){if(i===null||!fh(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,dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ft(u,i)},Ki(t)}function bh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Za(t){var e=bh();return function(){var i=dt(t),u;if(e){var a=dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mh(this,u)}}var zi=console;function Eh(){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=zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ja(u)))}function Ya(){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=zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ja(u)))}function Ch(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gi=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ch(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ki(Error)),_h=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Gi);function pa(t){throw new Gi(t)}function er(t){throw new _h(t)}function wh(t){zi.error(new Gi(t))}var Ih=Object.prototype.toString;function tr(t,e){return Ih.call(t)==="[object "+e+"]"}function Sh(t){return tr(t,"String")}function Ah(t){return tr(t,"Promise")}var Th=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();Ah(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,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Sh(c)))return c}},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 Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Bh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lh;return new Th({locale:n,messages:rh})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Rh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Dh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ph={exports:{}};(function(t){(function(e){var n=function(y,E,x){if(!o(E)||m(E)||g(E)||_(E)||c(E))return E;var A,P=0,ne=0;if(d(E))for(A=[],ne=E.length;P<ne;P++)A.push(n(y,E[P],x));else{A={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(A[y(F,x)]=n(y,E[F],x))}return A},i=function(y,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return y.split(A).join(x)},u=function(y){return w(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},d=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},w=function(y){return y=y-0,y===y},b=function(y,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?y:function(A,P){return x(A,y,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Dh)})(Ph);var nr={};Object.defineProperty(nr,"__esModule",{value:!0});function Xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Xi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Xi(i)}return e}}var xh=nr.default=Xi;function Ee(t){if(t!==void 0)return typeof t=="object"?xh(t):t}function Fh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function Oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ji(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 kh(t){if(Array.isArray(t))return Ji(t)}function ir(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Mh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){ir(a,i,u,r,l,"next",c)}function l(c){ir(a,i,u,r,l,"throw",c)}r(void 0)})}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $h(){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 Zi(t){return kh(t)||Lh(t)||Vh(t)||$h()}function Vh(t,e){if(!!t){if(typeof t=="string")return Ji(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 Ji(t,e)}}var Hh=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},jh=function(){function t(){Nh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Mh(function(){var c,o,d,m,g,_,w,b,I,y,E,x;return Hh(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),m=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(m=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Zi(a))),[4,I.apply(null,Zi(a))];case 4:return y=A.sent(),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Zi(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=A.sent(),wh(String(E)+":"+String(E.stack)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!m&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),qh=[];new Set(qh.map(function(t){return t.Designer.controlType}));function ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function ue(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&&Yi(t,e)}function ar(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Uh(t,e){return e&&(Wh(e)==="object"||typeof e=="function")?e:ur(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yi(t,e)}var Wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ae(t){var e=Kh();return function(){var i=vn(t),u;if(e){var a=vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uh(this,u)}}var re=function t(e){S(this,t);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:""},rr=function t(e){S(this,t);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},pi=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(rr),zh=function t(e){S(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},Gh=function t(e){S(this,t);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:[]},eu=function t(e){S(this,t);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:""},Xh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(eu),lr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tu=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[]},Qh=function t(e){S(this,t);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:v.VARCHAR},Jh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(eu),Zh=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new eu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Qh(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Jh(r)}))!==null&&a!==void 0?a:[]},Yh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ht=function t(e){S(this,t);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:[]},or=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new nu(l);(d=n.children)===null||d===void 0||d.push(m)}}))},nu=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Yh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ht(e==null?void 0:e.rightVariableBo)},Y=function t(e){S(this,t);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:""},iu=function t(e){S(this,t);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},ph=function t(e){S(this,t);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 uu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&u!==void 0?u:[],ar(this,K)||ar(this,ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new ph(l)}))!==null&&r!==void 0?r:[]}}var K=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(o){var d;(d=n.displayBoList)===null||d===void 0||d.push(new iu(o))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",uu.call(this,e)},au=function t(e){S(this,t);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:[]},De=function t(e){S(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"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 m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},cr=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new iu(r)}))!==null&&a!==void 0?a:[]},gn=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new cr(l)}))!==null&&r!==void 0?r:[],u}return n}(K),ey=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new cr(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(K),sr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new ht(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(gn),dr=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new Y(r)}))!==null&&a!==void 0?a:[]},ru=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),uu.call(ur(u),i),u}return n}(dr),fr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(dr),hr=function t(e){S(this,t);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:""},ty=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new ty(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){S(this,t)},ny=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(lu),iy=function t(e){S(this,t);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:bn.CNY},uy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(lu),ay=function t(e){S(this,t);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:""},ry=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},ly=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(lu),oy=function t(e){S(this,t);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:""},bn;(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"})(bn||(bn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var ou;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ou||(ou={}));var Ce=function t(e){S(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},cy=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[],uu.call(this,e)},sy=function t(e){S(this,t);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"};function dy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fy(){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 En(t,e,n){return fy()?En=Reflect.construct:En=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&mt(o,r.prototype),o},En.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function hy(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 yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:dy(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mt(t,e)}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(i){if(i===null||!yy(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 En(i,arguments,yt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),mt(u,i)},su(t)}function gy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function by(t){var e=gy();return function(){var i=yt(t),u;if(e){var a=yt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},Pe=function(t){hy(n,t);var e=by(n);function n(i){return cu(this,n),e.call(this)}return n}(su(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new sy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=Pe;function oe(){return oe=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},oe.apply(this,arguments)}function Ey(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function Cn(t,e){return Cn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cn(t,e)}function Cy(){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 _n(t,e,n){return Cy()?_n=Reflect.construct:_n=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Cn(o,r.prototype),o},_n.apply(null,arguments)}function _y(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fu(t){var e=typeof Map=="function"?new Map:void 0;return fu=function(i){if(i===null||!_y(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 _n(i,arguments,du(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Cn(u,i)},fu(t)}var wy=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function hu(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 ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(wy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Iy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Iy(e)&&typeof t=="string"&&!t)}function Sy(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function mr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Ay(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var vr=function(t){Ey(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}(fu(Error));function Ty(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(I){return i(I),I.length?g(new vr(I,hu(I))):m()},w=Ay(t);mr(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new vr(o,hu(o))):m()};r.length||(i(o),m()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?mr(b,n,_):Sy(b,n,_)})});return d.catch(function(m){return m}),d}function gr(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function Er(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function By(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var yu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},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(yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(yu.hex)}};function Ry(t,e,n,i,u){if(t.required&&e===void 0){Er(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?vt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function Dy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Je="enum";function Py(t,e,n,i,u){t[Je]=Array.isArray(t[Je])?t[Je]:[],t[Je].indexOf(e)===-1&&i.push(ee(u.messages[Je],t.fullField,t[Je].join(", ")))}function xy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(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(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Er,whitespace:By,type:Ry,range:Dy,enum:Py,pattern:xy};function Fy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),V(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Oy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function My(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Ny(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),V(e)||T.type(t,e,i,a,u)}n(a)}function Ly(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function $y(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Vy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Hy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var jy="enum";function qy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[jy](t,e,i,a,u)}n(a)}function Uy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),V(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Ky(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function mu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),V(e,a)||T.type(t,e,i,r,u)}n(r)}function zy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var gt={string:Fy,method:Oy,number:ky,boolean:My,regexp:Ny,integer:Ly,float:$y,array:Vy,object:Hy,enum:qy,pattern:Uy,date:Wy,url:mu,hex:mu,email:mu,required:Ky,any:zy};function vu(){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 gu=vu();function _e(t){this.rules=null,this._messages=gu,this.define(t)}_e.prototype={messages:function(e){return e&&(this._messages=br(vu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var I,y=[],E={};function x(A){if(Array.isArray(A)){var P;y=(P=y).concat.apply(P,A)}else y.push(A)}for(I=0;I<b.length;I++)x(b[I]);y.length?E=hu(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===gu&&(o=vu()),br(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],m=a[b],d.forEach(function(I){var y=I;typeof y.transform=="function"&&(a===e&&(a=oe({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=oe({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:a,field:b}))})});var w={};return Ty(g,r,function(b,I){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function x(ne,F){return oe(oe({},F),{},{fullField:y.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var F=ne;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&_e.warning("async-validator:",F),F.length&&y.message!==void 0&&(F=[].concat(y.message)),F=F.map(gr(y)),r.first&&F.length)return w[y.field]=1,I(F);if(!E)I(F);else{if(y.required&&!b.value)return y.message!==void 0?F=[].concat(y.message).map(gr(y)):r.error&&(F=[r.error(y,ee(r.messages.required,y.field))]),I(F);var ie={};if(y.defaultField)for(var dn in b.value)b.value.hasOwnProperty(dn)&&(ie[dn]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Hi=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Hi.map(x.bind(null,me))}var fn=new _e(ie);fn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),fn.validate(b.value,b.rule.options||r,function(ot){var ve=[];F&&F.length&&ve.push.apply(ve,F),ot&&ot.length&&ve.push.apply(ve,ot),I(ve.length?ve:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,b.value,A,b.source,r):y.validator&&(P=y.validator(y,b.value,A,b.source,r),P===!0?A():P===!1?A(y.message||y.field+" fails"):P instanceof Array?A(P):P instanceof Error&&A(P.message)),P&&P.then&&P.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!gt.hasOwnProperty(e.type))throw new Error(ee("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"?gt.required:gt[this.getType(e)]||!1}},_e.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");gt[e]=n},_e.warning=yr,_e.messages=gu,_e.validators=gt;var Gy={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 Xy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new _e(t);return n.messages(Object.assign(Gy,e)),n}var Qy=new jh;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 Jy(t){if(Array.isArray(t))return t}function Zy(t){if(Array.isArray(t))return bu(t)}function Cr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function _r(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Cr(a,i,u,r,l,"next",c)}function l(c){Cr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function py(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Sr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tm(){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 nm(){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 Ar(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){em(t,u,n[u])})}return t}function im(t){return Jy(t)||Sr(t)||Tr(t)||tm()}function Eu(t){return Zy(t)||Sr(t)||Tr(t)||nm()}function Tr(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)}}var Br=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},O=function(){function e(i){var u=this;Yy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Dr,this.removeSetting=Rr,this._callControlHooks("preInstance",i);var a=Ir(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||er("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(Ir(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=Ee(d),this.customEvents=Ee(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=im(a),o=c[0],d=c.slice(1);return(l=Qy).emit.apply(l,[o,this].concat(Eu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Rh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return _r(function(){var a,r,l;return Br(this,function(c){switch(c.label){case 0:return a=Ar({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return _r(function(){var l,c,o,d;return Br(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:Ar({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Xy(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw d=m.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,m=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},py(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=Rr,O.updateSettingItem=Dr;function Rr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Dr(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=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Eu(e.showItems))}}}})}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function am(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function rm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){um(this,e),this.customEvents=[],this.parent=null;var i=rm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||er("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"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:ou.UNKNOWN}return am(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}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function Cu(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:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Oh(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function In(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function An(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&&_u(t,e)}function lm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function om(t,e){return e&&(cm(e)==="object"||typeof e=="function")?e:xr(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tn(t){var e=sm();return function(){var i=Sn(t),u;if(e){var a=Sn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return om(this,u)}}var z=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(lm(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Pe),B=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(q);B.Rules=z,B.RuntimeRules=k;var Ze=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(xr(u),i),u}return n}(z);function dm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function hm(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&&wu(t,e)}function ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:dm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gm(t){var e=vm();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ym(this,u)}}var R=function(t){hm(n,t);var e=gm(n);function n(i){fm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(O);R.controlEventKeys=["on_change","on_focus","on_blur"];function bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Cm(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&&Iu(t,e)}function _m(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:bm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=Im();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _m(this,u)}}var D=function(t){Cm(n,t);var e=Sm(n);function n(i){Em(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(U);function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Bm(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&&Su(t,e)}function Rm(t,e){return e&&(Dm(e)==="object"||typeof e=="function")?e:Am(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var Dm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xm(t){var e=Pm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rm(this,u)}}var N=function(t){Bm(n,t);var e=xm(n);function n(i){return Tm(this,n),e.call(this,i)}return n}(q);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 Fm(t){if(Array.isArray(t))return Au(t)}function Om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(t){return Fm(t)||Om(t)||Mm(t)||km()}function Mm(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 Nm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Or(t,e){t.parent=e,Nm(t,"parent")}function Lm(t,e){t.forEach(function(n){Or(n,e)})}var kr=Symbol("targetKey");function Mr(t){var e;return(e=t[kr])!==null&&e!==void 0?e:t}function Nr(t,e){return Lm(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===kr?i:(c=Reflect).get.apply(c,[i,u].concat(Fr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Qi(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Fr(l)));return Fh(a)&&Or(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Nr(Mr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Nr(Mr(l),u)},enumerable:!0})}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $m(t){if(Array.isArray(t))return Tu(t)}function Lr(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,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){$r(a,i,u,r,l,"next",c)}function l(c){$r(a,i,u,r,l,"throw",c)}r(void 0)})}}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ye(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ye=Reflect.get:Ye=function(u,a,r){var l=Jm(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ye(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(t)}function qm(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&&Bu(t,e)}function Um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Wm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Km(){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 zm(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){jm(t,u,n[u])})}return t}function Gm(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 Xm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Qm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Lr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}function Jm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Vr(t){return $m(t)||Wm(t)||Ym(t)||Km()}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function pm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ev(t){var e=pm();return function(){var i=we(t),u;if(e){var a=we(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qm(this,u)}}var tv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},nv=1e4,H=function(e){qm(i,e);var n=ev(i);function i(a){Hm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=Um(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Lr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return Ye(we(i.prototype),"validate",c)};return Vm(function(){return tv(this,function(m){switch(m.label){case 0:return[4,d().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Ye(we(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Vr(o).concat(Vr(g))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=Ye(we(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Xm(zm({},r),{children:l})},i}(O);H.excludes=!1,H.childrenMaxLength=nv;function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function uv(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 av(t,e){return e&&(rv(e)==="object"||typeof e=="function")?e:Hr(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=lv();return function(){var i=Pn(t),u;if(e){var a=Pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return av(this,u)}}var W=function(t){uv(n,t);var e=ov(n);function n(i){iv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Hr(u),"children",i==null?void 0:i.children),u}return n}(U);function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function sv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Du(t,e)}function dv(t,e){return e&&(fv(e)==="object"||typeof e=="function")?e:jr(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}var fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yv(t){var e=hv();return function(){var i=xn(t),u;if(e){var a=xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dv(this,u)}}var Fn=function(t){sv(n,t);var e=yv(n);function n(i,u){cv(this,n);var a;return a=e.call(this,u),fe(jr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function Pu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mv(t){if(Array.isArray(t))return Pu(t)}function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function vv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ur(a,i,u,r,l,"next",c)}function l(c){Ur(a,i,u,r,l,"throw",c)}r(void 0)})}}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?pe=Reflect.get:pe=function(u,a,r){var l=Sv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},pe(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function Ev(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 Cv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _v(){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){bv(t,u,n[u])})}return t}function wv(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 Kr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Iv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:qr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function zr(t){return mv(t)||Cv(t)||Tv(t)||_v()}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tv(t,e){if(!!t){if(typeof t=="string")return Pu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pu(t,e)}}function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rv(t){var e=Bv();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Iv(this,u)}}var Dv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},Fu=function(t){Ev(n,t);var e=Rv(n);function n(u){gv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Fn(qr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return pe(Ie(n.prototype),"validate",l)};return vv(function(){return Dv(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=pe(Ie(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return zr(c).concat(zr(m))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=pe(Ie(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Kr(Wr({},a),{props:Kr(Wr({},this.props),{headers:r})})},n}(O);Fu.controlFieldType=v.LIST;function Ou(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(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 xv(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Fv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Ou(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Nv(t){var e=Mv();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var Xr=function(t){Fv(n,t);var e=Nv(n);function n(i){Pv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new Fn(Ou(u),i==null?void 0:i.props),fe(Ou(u),"children",i==null?void 0:i.children),u}return xv(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function Nu(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&&Lu(t,e)}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Qr(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(t,e)}var $v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $u(t){var e=Vv();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lv(this,u)}}var he=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new rr(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=he;var Jr=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Qr(u),i),u}return n}(he);function Hv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function qv(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&&Vu(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Hv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zv(t){var e=Kv();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uv(this,u)}}var G=function(t){qv(n,t);var e=zv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(O);function Gv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Qv(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&&Hu(t,e)}function Jv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Gv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pv(t){var e=Yv();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jv(this,u)}}var X=function(t){Qv(n,t);var e=pv(n);function n(i){Xv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function eg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function ng(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 ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:eg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}var ug=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rg(t){var e=ag();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var qu=function(t){ng(n,t);var e=rg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(N);function lg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function cg(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&&Uu(t,e)}function sg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:lg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hg(t){var e=fg();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sg(this,u)}}var yg=function(t){cg(n,t);var e=hg(n);function n(i){og(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(H);function mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function gg(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&&Wu(t,e)}function bg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:mg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var Eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=Cg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var wg=function(t){gg(n,t);var e=_g(n);function n(i){vg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ku extends q{constructor(e){var n,i,u,a,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=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class Zr extends O{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Ig extends U{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"text"}}var Yr={Designer:Zr,Runtime:Ig,Property:Ku};class zu extends q{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 Gu extends O{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Gu.controlEventKeys=["on_click"],Gu.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sg extends U{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"link"}}var pr={Designer:Gu,Runtime:Sg,Property:zu};class J extends q{constructor(e){var n,i,u,a,r,l,c,o;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=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var el={Designer:Z,Runtime:te,Property:J},Se=(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))(Se||{}),tl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(tl||{}),nl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(nl||{});class Hn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Xu||{});class jn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Qu=(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))(Qu||{});class Ju{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ht((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new ht((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ht((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class il{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ju(c)))!=null?u:[new Ju],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Zu{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Yu{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 ul{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 Yu(e==null?void 0:e.watermark),this.autoRename=new Yu(e==null?void 0:e.autoRename)}}const al=480;function bt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class rl{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class ll{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 ol=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ol||{}),pu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(pu||{}),qn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(qn||{}),Ae=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ae||{}),ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(ea||{});class ta 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:Qu.SOLID}}class cl extends O{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}cl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Ag extends U{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"divider"}}var sl={Designer:cl,Runtime:Ag,Property:ta};class Tg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Se.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Un extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Se.ShowSubmitUser,Se.ShowSubmitDept,Se.ShowSubmitTime,Se.ShowCurrentApprovar,Se.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:et==null?void 0:et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Un.Rules=Tg;class et extends O{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}et.controlFieldType=v.AUTO_NUMBER,et.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Bg extends U{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"title"}}var dl={Designer:et,Runtime:Bg,Property:Un};class Rg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Wn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Wn.Rules=Rg;class Et extends Z{constructor(e){super(e),this.props=new Wn(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Dg extends te{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var fl={Designer:Et,Runtime:Dg,Property:Wn};class Pg extends ${constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Kn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Kn.Rules=Pg;class Ct extends Z{constructor(e){super(e),this.props=new Kn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 xg extends te{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var hl={Designer:Ct,Runtime:xg,Property:Kn};class na extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Z{constructor(e){super(e),this.props=new na(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"}}_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Fg extends te{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var yl={Designer:_t,Runtime:Fg,Property:na};class ia extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Zu(r)))!=null?a:[new Zu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class wt extends Z{constructor(e){super(e),this.props=new ia(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Og extends te{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ml={Designer:wt,Runtime:Og,Property:ia};class ua extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new ua(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"}}It.controlEventKeys=["on_click"],It.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 kg extends te{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var vl={Designer:It,Runtime:kg,Property:ua};class Mg{constructor(e){this.dataCode=e.dataCode}}class aa extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Mg(r)))!=null?a:[]}}class St extends Z{constructor(e){super(e),this.props=new aa(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"}}St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Ng extends te{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var gl={Designer:St,Runtime:Ng,Property:aa};function zn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Lg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Gn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.formBind=new Xh(e==null?void 0:e.formBind),this.fillBack=new fr(e==null?void 0:e.fillBack)}}Gn.Rules=Lg;class At extends Z{constructor(e){super(e),this.props=new Gn(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $g extends te{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var bl={Designer:At,Runtime:$g,Property:Gn};class Vg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},zn())}}}class Xn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.fillBack=new fr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig)}}Xn.Rules=Vg;class Tt extends Z{constructor(e){super(e),this.props=new Xn(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"}}Tt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Hg extends te{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var El={Designer:Tt,Runtime:Hg,Property:Xn};class jg extends ${constructor(e){super(e)}}class qg extends Pe{constructor(e){super(e)}}class Bt extends q{constructor(e){super(e)}}Bt.Rules=jg,Bt.RuntimeRules=qg;class Cl extends O{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Cl.setting=[];class Ug extends U{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _l={Designer:Cl,Runtime:Ug,Property:Bt};class Wg extends ${constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Qn.Rules=Wg;class wl extends O{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}wl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kg extends U{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Il={Designer:wl,Runtime:Kg,Property:Qn};class zg extends ${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:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Jn 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 cy(a)))!=null?u:[]}}Jn.Rules=zg;class Sl extends O{constructor(e){super(e),this.props=new Jn(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"}}Sl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Gg extends U{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Al={Designer:Sl,Runtime:Gg,Property:Jn};class Xg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:tt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:tt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Zn.Rules=Xg;class tt extends Z{constructor(e){super(e),this.props=new Zn(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"}}tt.controlEventKeys=["on_click","on_click_finish"],tt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Qg extends te{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Tl={Designer:tt,Runtime:Qg,Property:Zn};class Jg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:nt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:nt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Yn.Rules=Jg;class nt extends Z{constructor(e){super(e),this.props=new Yn(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"}}nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zg extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Bl={Designer:nt,Runtime:Zg,Property:Yn};class Yg extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class pn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Rt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Rt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new rl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}pn.Rules=Yg;class Rt extends Z{constructor(e){super(e),this.props=new pn(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"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.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 pg extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Rl={Designer:Rt,Runtime:pg,Property:pn};class ra extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends Z{constructor(e){super(e),this.props=new ra(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"}}Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class eb extends te{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Dl={Designer:Dt,Runtime:eb,Property:ra};class tb extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ei extends q{constructor(e){var n,i,u,a,r;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=(r=e==null?void 0:e.isLoading)!=null?r:!1}}ei.Rules=tb;class ti extends O{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"}}ti.controlEventKeys=["on_click"],ti.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nb extends U{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Pl={Designer:ti,Runtime:nb,Property:ei};class la extends q{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"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 Pt extends O{constructor(e){super(e),this.props=new la(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"}}Pt.controlEventKeys=["on_click"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ib extends U{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xl={Designer:Pt,Runtime:ib,Property:la},ub=Object.freeze({__proto__:null,Text:Yr,Link:pr,Button:el,Divider:sl,Title:dl,CreateFormListButton:fl,BatchSubmissionListButton:hl,SubmissionRecordListButton:yl,ExportListButton:ml,ExportRecordListButton:vl,ImportRecordListButton:gl,FormSelectButton:bl,ListSelectButton:El,Pagination:_l,Dashboard:Il,ListViewSelect:Al,TextOcrButton:Tl,InvoiceCheckButton:Bl,BatchPrintListButton:Rl,BatchPrintRecordListButton:Dl,OperationButton:Pl,BatchDeleteButton:xl});class ab extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class rb extends k{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class it extends B{constructor(e){var n,i,u,a,r,l,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 hr(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:ut.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}it.Rules=ab,it.RuntimeRules=rb;class ut extends R{constructor(e){super(e),this.props=new it(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"}}ut.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ut.controlFieldType=v.VARCHAR,ut.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Fl extends D{constructor(e){super(e),this.props=new it(e==null?void 0:e.props)}static get controlType(){return"input"}}Fl.controlFieldType=v.VARCHAR;var Ol={Designer:ut,Runtime:Fl,Property:it};class lb extends Ze{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class ob extends k{constructor(e){super(e),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 xt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new K(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:Ft.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}xt.Rules=lb,xt.RuntimeRules=ob;class Ft extends R{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ft.controlEventKeys=["on_change","on_click"],Ft.controlFieldType=v.ARRAY,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class kl extends D{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}kl.controlFieldType=v.ARRAY;var Ml={Designer:Ft,Runtime:kl,Property:xt};class cb extends Ze{constructor(e){super(e)}}class ni extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new K(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:Ot.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}ni.Rules=cb;class Ot extends R{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Ot.controlEventKeys=["on_change","on_click"],Ot.controlFieldType=v.VARCHAR,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Nl extends D{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"radio"}}Nl.controlFieldType=v.VARCHAR;var Ll={Designer:Ot,Runtime:Nl,Property:ni};class sb extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class db extends k{constructor(e){super(e),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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class kt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!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=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Mt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new hr(e==null?void 0:e.regularRules)}}kt.Rules=sb,kt.RuntimeRules=db;class Mt extends R{constructor(e){super(e),this.props=new kt(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}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.DECIMAL,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"number"}}$l.controlFieldType=v.DECIMAL;var Vl={Designer:Mt,Runtime:$l,Property:kt};class oa extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:ii.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Hn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(d=e==null?void 0:e.filterWeekend)!=null?d:!1}}class ii extends R{constructor(e){super(e),this.props=new oa(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}}ii.controlFieldType=v.TIMESTAMP,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hl extends D{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Hl.controlFieldType=v.TIMESTAMP;var jl={Designer:ii,Runtime:Hl,Property:oa};class fb extends k{constructor(e){super(e),this[0].type="object",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 ui extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dataBind=new uy(e==null?void 0:e.dataBind),this.defaultValue=new ay(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:ai.controlName,this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Hn(m)))!=null?d:[]}}ui.RuntimeRules=fb;class ai extends R{constructor(e){super(e),this.props=new ui(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}}ai.controlFieldType=v.TIMESCOPE,ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ql extends D{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ql.controlFieldType=v.TIMESCOPE;var Ul={Designer:ai,Runtime:ql,Property:ui};class hb extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class yb extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Nt extends B{constructor(e){var n,i,u,a,r,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:Lt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Nt.Rules=hb,Nt.RuntimeRules=yb;class Lt extends R{constructor(e){super(e),this.props=new Nt(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"}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.TEXT,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Wl extends D{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Wl.controlFieldType=v.TEXT;var Kl={Designer:Lt,Runtime:Wl,Property:Nt};class mb extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class vb extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class $t extends B{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Vt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}$t.Rules=mb,$t.RuntimeRules=vb;class Vt extends R{constructor(e){super(e),this.props=new $t(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"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class zl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}zl.controlFieldType=v.TEXT;var Gl={Designer:Vt,Runtime:zl,Property:$t};class gb extends Ze{constructor(e){super(e)}}class ri extends B{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((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 K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:li.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!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(d=>{var m;(m=this.multistageFilling)==null||m.push(new Y(d))}))}}ri.Rules=gb;class li extends R{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"}}li.controlFieldType=v.VARCHAR,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"select"}}Xl.controlFieldType=v.VARCHAR;var Ql={Designer:li,Runtime:Xl,Property:ri};class bb extends Ze{constructor(e){super(e)}}class Eb extends k{constructor(e){super(e),this[0].type="array"}}class Ht extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((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 K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:oi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(o=>{var d;(d=this.multistageFilling)==null||d.push(new Y(o))}))}}Ht.Rules=bb,Ht.RuntimeRules=Eb;class oi extends R{constructor(e){super(e),this.props=new Ht(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"}}oi.controlFieldType=v.ARRAY,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Jl.controlFieldType=v.ARRAY;var Zl={Designer:oi,Runtime:Jl,Property:Ht};class Cb extends k{constructor(e){super(e),this[0].type="array"}}class ci extends B{constructor(e){var n,i,u,a,r,l,c,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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:si.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(m=>{var g;(g=this.multistageFilling)==null||g.push(new Y(m))}))}}ci.RuntimeRules=Cb;class si extends R{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}si.controlFieldType=v.EMPLOYEES,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"employee"}}Yl.controlFieldType=v.EMPLOYEES;var pl={Designer:si,Runtime:Yl,Property:ci};const _b=10485760,wb=104857600,Ib=1048576e3;class Sb extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Ib,message:f.getMessage("attachmentMaxSize")}}}class Ab extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class at extends B{constructor(e){var n,i,u,a,r,l,c,o;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.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:wb,this.caption=(c=e==null?void 0:e.caption)!=null?c:rt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}at.Rules=Sb,at.RuntimeRules=Ab;class rt extends R{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}rt.controlEventKeys=["on_change"],rt.controlFieldType=v.FILE,rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ca extends D{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ca.controlFieldType=v.FILE;var eo={Designer:rt,Runtime:ca,Property:at};const to=class extends rt{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:to.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let sa=to;sa.controlFieldType=v.IMAGE,sa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tb extends ca{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class Bb extends at{constructor(e){super(e)}}var no={Designer:sa,Runtime:Tb,Property:Bb};class Rb extends Ze{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class Db extends k{constructor(e){super(e),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:[hn(ge({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class jt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new ny(e==null?void 0:e.dataBind),this.datasourceBind=new K((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new iu({value:"name"})]}),this.defaultValue=new iy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:bn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:qt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}jt.Rules=Rb,jt.RuntimeRules=Db;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=v.MONEY,qt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class io extends D{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"amount"}}io.controlFieldType=v.MONEY;var uo={Designer:qt,Runtime:io,Property:jt};class Pb extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class xb extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Ut extends B{constructor(e){var n,i,u,a,r,l,c;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:Xu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new jn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new jn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Wt.controlName}}Ut.Rules=Pb,Ut.RuntimeRules=xb;class Wt extends R{constructor(e){super(e),this.props=new Ut(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 jn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.DECIMAL,Wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ao extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"score"}}ao.controlFieldType=v.DECIMAL;var ro={Designer:Wt,Runtime:ao,Property:Ut};class Fb extends k{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class di extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fi.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 ry((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}di.RuntimeRules=Fb;class fi extends R{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}fi.controlFieldType=v.ADDRESS,fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class lo extends D{constructor(e){super(e),this.props=new di(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"}}lo.controlFieldType=v.ADDRESS;var oo={Designer:fi,Runtime:lo,Property:di};class Ob extends k{constructor(e){super(e),this[0].type="array"}}class hi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}hi.RuntimeRules=Ob;class Kt extends R{constructor(e){super(e),this.props=new hi(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}}Kt.controlName="\u90E8\u95E8",Kt.controlFieldType=v.DEPARTMENTS,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-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 co extends D{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"department"}}co.controlFieldType=v.DEPARTMENTS;var so={Designer:Kt,Runtime:co,Property:hi};class da extends B{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:zt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class zt extends R{constructor(e){super(e),this.props=new da(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"}}zt.controlEventKeys=["on_change"],zt.controlFieldType=v.AUTO_NUMBER,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fo extends D{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fo.controlFieldType=v.AUTO_NUMBER;var ho={Designer:zt,Runtime:fo,Property:da};class kb extends z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class Mb extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Gt extends B{constructor(e){var n,i,u,a,r,l,c;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 ly(e==null?void 0:e.dataBind),this.defaultValue=new oy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Gt.Rules=kb,Gt.RuntimeRules=Mb;class Xt extends R{constructor(e){super(e),this.props=new Gt(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}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.CALC,Xt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yo extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"calc"}}yo.controlFieldType=v.CALC;var mo={Designer:Xt,Runtime:yo,Property:Gt};class Nb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class yi extends B{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:mi.controlName}}yi.RuntimeRules=Nb;class mi extends R{constructor(e){super(e),this.props=new yi(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"}}mi.controlFieldType=v.DECIMAL_RANGE,mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vo extends D{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vo.controlFieldType=v.DECIMAL_RANGE;var go={Designer:mi,Runtime:vo,Property:yi};class Lb extends k{constructor(e){super(e),this[0].type="array",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 vi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(g=>new Hn(g)))!=null?m:[]}}vi.RuntimeRules=Lb;class gi extends R{constructor(e){super(e),this.props=new vi(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"}}gi.controlFieldType=v.ARRAY,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bo.controlFieldType=v.ARRAY;var Eo={Designer:gi,Runtime:bo,Property:vi};class $b extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Vb extends k{constructor(e){super(e),this[0].type="any"}}class Qt extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Qt.Rules=$b,Qt.RuntimeRules=Vb;class Jt extends R{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlFieldType=v.ANY,Jt.controlEventKeys=[],Jt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Co.controlFieldType=v.ANY;var _o={Designer:Jt,Runtime:Co,Property:Qt};class Hb extends Ze{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class bi extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),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 Y(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}bi.Rules=Hb;class Zt extends R{constructor(e){super(e),this.props=new bi(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"}}Zt.controlFieldType=v.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Zt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class wo extends D{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}wo.controlFieldType=v.VARCHAR;var Io={Designer:Zt,Runtime:wo,Property:bi};class fa extends it{constructor(e){super(e)}}class So extends ut{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}So.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Ao extends D{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ao.controlFieldType=v.VARCHAR;var To={Designer:So,Runtime:Ao,Property:fa};class jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],wn.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class qb extends k{constructor(e){super(e),this[0].type="array"}}class Yt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.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=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!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=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new sr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new sr((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(P=>new Y(P)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}Yt.Rules=jb,Yt.RuntimeRules=qb;class Te extends R{constructor(e){super(e),this.props=new Yt(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}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Bo extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"tree"}}Bo.controlFieldType=v.ARRAY;var Ro={Designer:Te,Runtime:Bo,Property:Yt};class Ub extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},wn.call(this,e,lt.controlCustomAttributes),e.externalType===Ae.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Wb extends k{constructor(e){super(e),this[0].type="array"}}class pt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:lt.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 gn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:lt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:pu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ea.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Ae.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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(I=>{var y;(y=this.multistageFilling)==null||y.push(new Y(I))}))}}pt.Rules=Ub,pt.RuntimeRules=Wb;class lt extends R{constructor(e){super(e),this.props=new pt(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}]}}lt.controlFieldType=v.EMPLOYEES,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Do extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Do.controlFieldType=v.EMPLOYEES;var Po={Designer:lt,Runtime:Do,Property:pt};class Kb extends z{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,r,l){if(i.type==="public"&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ei extends B{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:en.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=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new il(e==null?void 0:e.signatureConfig)}}Ei.Rules=Kb;class en extends R{constructor(e){super(e),this.props=new Ei(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"}}en.controlEventKeys=["on_click","on_click_finish"],en.controlFieldType=v.VARCHAR,en.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class xo extends D{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}xo.controlFieldType=v.VARCHAR;var Fo={Designer:en,Runtime:xo,Property:Ei};class zb extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Gb extends k{constructor(e){super(e),this[0].type="array"}}class tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.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=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!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=(m=e==null?void 0:e.maxSize)!=null?m:_b,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ul(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}tn.Rules=zb,tn.RuntimeRules=Gb;class nn extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}nn.controlEventKeys=["on_change","on_wps_open"],nn.controlFieldType=v.FILE,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Oo extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oo.controlFieldType=v.FILE;var ko={Designer:nn,Runtime:Oo,Property:tn};class Xb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Fe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Qb extends k{constructor(e){super(e),this[0].type="array"}}class un extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,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=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Fe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new gn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.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(y=>{var E;(E=this.multistageFilling)==null||E.push(new Y(y))}))}}un.Rules=Xb,un.RuntimeRules=Qb;class Fe extends R{constructor(e){super(e),this.props=new un(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}}Fe.controlName="\u90E8\u95E8",Fe.controlFieldType=v.DEPARTMENTS,Fe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Mo extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"department2"}}Mo.controlFieldType=v.DEPARTMENTS;var No={Designer:Fe,Runtime:Mo,Property:un};class Jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Oe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Zb extends k{constructor(e){super(e),this[0].type="array"}}class an extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x;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 tu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Oe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ey((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var P;(P=this.multistageFilling)==null||P.push(new Y(A))}))}}an.Rules=Jb,an.RuntimeRules=Zb;class Oe extends R{constructor(e){super(e),this.props=new an(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}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=v.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lo extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lo.controlFieldType=v.DEPARTMENTS;var $o={Designer:Oe,Runtime:Lo,Property:an},Yb=Object.freeze({__proto__:null,Input:Ol,Checkbox:Ml,Radio:Ll,Number:Vl,DatePicker:jl,DateRange:Ul,Textarea:Kl,RichText:Gl,Select:Ql,SelectMultiple:Zl,Employee:pl,Image:no,Attachment:eo,Amount:uo,Score:ro,Address:oo,Department:so,AutoNumber:ho,Calc:mo,SearchNumberRange:go,SearchDateRange:Eo,VueFormItem:_o,SelectRelation:Io,SearchInput:To,Tree:Ro,Employee2:Po,ElectronicSignature:Fo,WPS:ko,Department2:No,OrganizationSelection:$o});class Vo extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vo.excludes=[C.GRID];class pb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Ho={Designer:Vo,Runtime:pb,Property:N};const e0=24;class ke extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:e0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class rn extends H{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}rn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],rn.childrenMaxLength=1;class ha extends W{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var jo={Designer:rn,Runtime:ha,Property:ke};class Ci 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 _i extends H{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}_i.excludes=[C.ROW],_i.setting=[{key:"col-setting",visible:!0}];class qo extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"row"}}var Uo={Designer:_i,Runtime:qo,Property:Ci};const t0=4;class wi extends _i{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=[C.GRID_ROW],wi.setting=[],wi.childrenMaxLength=t0;class n0 extends qo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class i0 extends Ci{constructor(e){super(e)}}var Wo={Designer:wi,Runtime:n0,Property:i0};class u0 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ii 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"}}Ii.Rules=u0;class ya extends H{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ya.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ya.excludes=[C.CARD_GROUP];class a0 extends W{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ko={Designer:ya,Runtime:a0,Property:Ii};class r0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Si extends N{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new zh(e==null?void 0:e.metaAutoWidth)}}Si.Rules=r0;class le extends H{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zo extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}zo.controlType="subtable-column";var Go={Designer:le,Runtime:zo,Property:Si};class ma extends N{constructor(e){super(e)}}class Me extends H{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class l0 extends W{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xo={Designer:Me,Runtime:l0,Property:ma};class va extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends H{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qo extends W{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Qo.controlType="gridtable-column";var Jo={Designer:Ne,Runtime:Qo,Property:va};class ga extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class o0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ai extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName}}Ai.Rules=o0;class ln extends H{constructor(e){super(e),this.props=new Ai(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"}}ln.excludes=[C.TAB],ln.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class c0 extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zo={Designer:ln,Runtime:c0,Property:Ai};class on extends H{constructor(e){var n;super(e),this.props=new ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new ln,new ln]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}on.excludes=[C.TAB],on.controlEventKeys=["on_change_tab"],on.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class s0 extends W{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yo={Designer:on,Runtime:s0,Property:ga};class po extends N{constructor(e){super(e)}}class ec extends H{constructor(e){super(e),this.props=new po({}),this.children=(e==null?void 0:e.children)||[new rn({props:new ke({span:12})}),new rn({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ec.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class d0 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ha({props:new ke({span:12})}),new ha({props:new ke({span:12})})]}}var tc={Designer:ec,Runtime:d0,Property:po};class f0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class h0 extends ${constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Cu.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 cn extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.datasourceBind=new K(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 Zh(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}cn.Rules=h0,cn.RuntimeRules=f0;class Ti extends H{constructor(e){super(e),this.props=new cn(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"}}Ti.excludes=[C.ROW],Ti.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"],Ti.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class y0 extends W{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var nc={Designer:Ti,Runtime:y0,Property:cn};class m0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Bi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new K(e==null?void 0:e.datasourceBind)}}Bi.RuntimeRules=m0;class ic extends H{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ic.excludes=[];class v0 extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var uc={Designer:ic,Runtime:v0,Property:Bi};class g0 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 b0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class E0 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 ac={Designer:g0,Runtime:b0,Property:E0};class C0 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 _0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class w0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ll(e==null?void 0:e.flexConfig)}}var rc={Designer:C0,Runtime:_0,Property:w0};class I0 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 S0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class A0 extends N{constructor(e){super(e)}}var lc={Designer:I0,Runtime:S0,Property:A0};class T0 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 B0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class R0 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 oc={Designer:T0,Runtime:B0,Property:R0},D0=Object.freeze({__proto__:null,Grid:Ho,Col:jo,Row:Uo,GridRow:Wo,CardGroup:Ko,SubTableColumn:Go,SubTableRow:Xo,GridTableColumn:Jo,Tab:Yo,TabPane:Zo,Toolbox:tc,ListView:nc,DataView:uc,Page:ac,AdvancedContainer:rc,PositioningContainer:lc,Position:oc});class P0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class x0 extends Pe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class sn extends Fn{constructor(e,n){var i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A,P,ne,F,ie,dn,me,Hi,fn,ot,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Ri.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:al,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new K(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(dn=n==null?void 0:n.mobileShowType)!=null?dn:"list",this.mobileDefaultNum=((me=n==null?void 0:n.mobileDefaultNum)!=null?me:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Hi=n==null?void 0:n.dataStorageDoc)!=null?Hi:new Gh,this.fixedColumn=(fn=n==null?void 0:n.fixedColumn)!=null?fn:[],this.mobileRowCaption=(ot=n==null?void 0:n.mobileRowCaption)!=null?ot:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}sn.Rules=P0,sn.RuntimeRules=x0;class Ri extends Fu{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 le,new le,new le])}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 le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ri.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ri.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{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:"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 F0 extends Xr{constructor(e){super(e),this.props=new sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}}var cc={Designer:Ri,Runtime:F0,Property:sn};class ba extends Fn{constructor(e,n){var i,u,a,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=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class O0 extends he{constructor(e){super(e),this.caption.required=!1}}class Di extends j{constructor(e){var n,i,u,a,r,l,c,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:Le.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Di.Rules=O0;class Le extends G{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ea extends X{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=v.DECIMAL;var sc={Designer:Le,Runtime:Ea,Property:Di};class Ca extends j{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:ye.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class ye extends G{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ti.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Ua(this,null,function*(){return yield qa(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}_a.controlType="operation-column",_a.controlFieldType=v.FILE;var dc={Designer:ye,Runtime:_a,Property:Ca};class Pi extends Fu{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}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 hn(ge({},e),{children:n})}validate(e,n){return Ua(this,null,function*(){return yield qa(Pi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Pi.setting=[{key:"list-fixed-header",visible:!0}];class k0 extends Xr{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fc={Designer:Pi,Runtime:k0,Property:ba},M0=Object.freeze({__proto__:null,SubTable:cc,GridTable:fc});class N0 extends Jr{constructor(e){super(e),xe.call(this,e)}}class xi extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}xi.Rules=N0;class $e extends G{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class wa extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}wa.controlType="varchar-column",wa.controlFieldType=v.VARCHAR;var hc={Designer:$e,Runtime:wa,Property:xi};class L0 extends he{constructor(e){super(e),xe.call(this,e)}}class Fi extends j{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ve.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 De(e==null?void 0:e.linkOperationOption)}}Fi.Rules=L0;class Ve extends G{constructor(e){super(e),this.props=new Fi(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class Ia extends X{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}}Ia.controlType="text-column",Ia.controlFieldType=v.TEXT;var yc={Designer:Ve,Runtime:Ia,Property:Fi};class $0 extends he{constructor(e){super(e),xe.call(this,e)}}class Oi extends j{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Oi.Rules=$0;class He extends G{constructor(e){super(e),this.props=new Oi(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}}He.controlType="decimal-column",He.controlName="\u6570\u503C",He.controlIcon="decimal-column",He.controlFieldType=v.DECIMAL,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Sa extends X{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}}Sa.controlType="decimal-column",Sa.controlFieldType=v.DECIMAL;var mc={Designer:He,Runtime:Sa,Property:Oi};class V0 extends he{constructor(e){super(e),xe.call(this,e)}}class ki extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:je.controlName}}ki.Rules=V0;class je extends G{constructor(e){super(e),this.props=new ki(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="timescope-column",je.controlName="\u65E5\u671F\u533A\u95F4",je.controlIcon="timescope-column",je.controlFieldType=v.TIMESCOPE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Aa extends X{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Aa.controlType="timescope-column",Aa.controlFieldType=v.TIMESCOPE;var vc={Designer:je,Runtime:Aa,Property:ki};class H0 extends he{constructor(e){super(e),xe.call(this,e)}}class Mi extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}Mi.Rules=H0;class qe extends G{constructor(e){super(e),this.props=new Mi(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ta extends X{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}Ta.controlType="timestamp-column",Ta.controlFieldType=v.TIMESTAMP;var gc={Designer:qe,Runtime:Ta,Property:Mi};class j0 extends Jr{constructor(e){super(e)}}class Ni extends j{constructor(e){var n,i,u;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 K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Ni.Rules=j0;class Ue extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ba extends X{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ba.controlType="array-column",Ba.controlFieldType=v.ARRAY;var bc={Designer:Ue,Runtime:Ba,Property:Ni};class Ra extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends G{constructor(e){super(e),this.props=new Ra(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Da extends X{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}}Da.controlType="department-column",Da.controlFieldType=v.DEPARTMENTS;var Ec={Designer:We,Runtime:Da,Property:Ra};class q0 extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Li.Rules=q0;class Ke extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pa extends X{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Pa.controlType="auto-number-column",Pa.controlFieldType=v.AUTO_NUMBER;var Cc={Designer:Ke,Runtime:Pa,Property:Li};class xa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends G{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fa extends X{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=v.FILE;var _c={Designer:ze,Runtime:Fa,Property:xa};class Oa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends G{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ka extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ka.controlType="image-column",ka.controlFieldType=v.IMAGE;var wc={Designer:Ge,Runtime:ka,Property:Oa};class Ma extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends G{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=v.EMPLOYEES;var Ic={Designer:Xe,Runtime:Na,Property:Ma};class U0 extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}$i.Rules=U0;class Qe extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends X{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=v.ADDRESS;var Sc={Designer:Qe,Runtime:La,Property:$i};class $a extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const W0=1;class Be extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(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}toSchema(){const e=super.toSchema();return hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=W0,Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ac extends X{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Ac.controlType="custom-column";var Tc={Designer:Be,Runtime:Ac,Property:$a};class Va extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.datasourceBind=new gn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Re.controlCustomAttributes})}}class Re extends G{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Re.controlType="employee-column",Re.controlName="\u4EBA\u5458",Re.controlIcon="employee-column",Re.controlFieldType=v.EMPLOYEES,Re.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ha extends X{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=v.EMPLOYEES;var Bc={Designer:Re,Runtime:Ha,Property:Va},K0=Object.freeze({__proto__:null,VarcharColumn:hc,TextColumn:yc,DecimalColumn:mc,TimescopeColumn:vc,TimestampColumn:gc,ArrayColumn:bc,DepartmentColumn:Ec,AutoNumberColumn:Cc,FileColumn:_c,ImageColumn:wc,PeopleColumn:Ic,LocationColumn:Sc,CustomColumn:Tc,OrderColumn:sc,OperationColumn:dc,EmployeeColumn:Bc});class z0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Vi extends qu{constructor(e){var n,i,u,a,r,l,c,o;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 Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Vi.RuntimeRules=z0;class ja extends yg{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Rc extends wg{constructor(e){var n;super(e),this.props=new Vi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Rc.controlType="simple-search";var Dc={Designer:ja,Runtime:Rc,Property:Vi},G0=Object.freeze({__proto__:null,SimpleSearch:Dc});h.Address=oo,h.AdvancedContainer=rc,h.Amount=uo,h.ArrayColumn=bc,h.AssignType=Ae,h.Attachment=eo,h.AutoNumber=ho,h.AutoNumberColumn=Cc,h.BatchDeleteButton=xl,h.BatchPrintListButton=Rl,h.BatchPrintRecordListButton=Dl,h.BatchSubmissionListButton=hl,h.Button=el,h.Calc=mo,h.CardGroup=Ko,h.Checkbox=Ml,h.Col=jo,h.CreateFormListButton=fl,h.CustomColumn=Tc,h.DATE_CONFIG_TYPE=tl,h.DATE_LIMIT_TYPE=nl,h.Dashboard=Il,h.DataView=uc,h.DatePicker=jl,h.DateRange=Ul,h.DecimalColumn=mc,h.Department=so,h.Department2=No,h.DepartmentColumn=Ec,h.DepartmentType=qn,h.Divider=sl,h.ElectronicSignature=Fo,h.ElectronicSignatureConfig=il,h.Employee=pl,h.Employee2=Po,h.EmployeeColumn=Bc,h.EncryptTypeEnum=ol,h.Explain=jn,h.ExportListButton=ml,h.ExportRecordListButton=vl,h.ExportTemplate=Zu,h.FileColumn=_c,h.FlexStyleConfig=ll,h.FormSelectButton=bl,h.Grid=Ho,h.GridRow=Wo,h.GridTable=fc,h.GridTableColumn=Jo,h.Image=no,h.ImageColumn=wc,h.ImportRecordListButton=gl,h.Input=Ol,h.InternalType=ea,h.InvoiceCheckButton=Bl,h.LINE_STYLE=Qu,h.LimitDate=Hn,h.Link=pr,h.ListSelectButton=El,h.ListView=nc,h.ListViewSelect=Al,h.LocationColumn=Sc,h.Number=Vl,h.OperationButton=Pl,h.OperationColumn=dc,h.OrderColumn=sc,h.OrganizationSelection=$o,h.OrganizeType=pu,h.Page=ac,h.Pagination=_l,h.PeopleColumn=Ic,h.Position=oc,h.PositioningContainer=lc,h.PrintTemplate=rl,h.Radio=Ll,h.RichText=Gl,h.Row=Uo,h.SCORE_TYPE=Xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=al,h.Score=ro,h.SearchDateRange=Eo,h.SearchInput=To,h.SearchNumberRange=go,h.Select=Ql,h.SelectMultiple=Zl,h.SelectRelation=Io,h.SimpleSearch=Dc,h.SubTable=cc,h.SubTableColumn=Go,h.SubTableRow=Xo,h.SubmissionRecordListButton=yl,h.Tab=Yo,h.TabPane=Zo,h.Text=Yr,h.TextColumn=yc,h.TextOcrButton=Tl,h.Textarea=Kl,h.TimescopeColumn=vc,h.TimestampColumn=gc,h.Title=dl,h.TitleConfigEnum=Se,h.Toolbox=tc,h.Tree=Ro,h.UndersignedPerson=Ju,h.VarcharColumn=hc,h.VueFormItem=_o,h.WPS=ko,h.WPSSetting=ul,h.WpsOperationItem=Yu,h.baseControls=ub,h.columnControls=K0,h.formControls=Yb,h.initExpression=bt,h.layoutControls=D0,h.listControls=M0,h.searchControls=G0,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var DE=Object.defineProperty,xE=Object.defineProperties;var FE=Object.getOwnPropertyDescriptors;var ss=Object.getOwnPropertySymbols,OE=Object.getPrototypeOf,kE=Object.prototype.hasOwnProperty,ME=Object.prototype.propertyIsEnumerable,NE=Reflect.get;var ds=(y,H,j)=>H in y?DE(y,H,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[H]=j,Ae=(y,H)=>{for(var j in H||(H={}))kE.call(H,j)&&ds(y,j,H[j]);if(ss)for(var j of ss(H))ME.call(H,j)&&ds(y,j,H[j]);return y},Pn=(y,H)=>xE(y,FE(H));var br=(y,H,j)=>NE(OE(y),j,H);var Er=(y,H,j)=>new Promise((lu,Dn)=>{var ou=ge=>{try{It(j.next(ge))}catch(St){Dn(St)}},cu=ge=>{try{It(j.throw(ge))}catch(St){Dn(St)}},It=ge=>ge.done?lu(ge.value):Promise.resolve(ge.value).then(ou,cu);It((j=j.apply(y,H)).next())});(function(y,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(y=typeof globalThis!="undefined"?globalThis:y||self,H(y.modelDrivenControls={}))})(this,function(y){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Dn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",St="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",fs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hs="\u8BF7\u7ED1\u5B9A\u8868\u5355",ys="\u8BF7\u7ED1\u5B9A\u5217\u8868",ms="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",vs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",gs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",bs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Es="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",_s="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ws="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Is="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ss="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",As="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ts="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Bs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ps="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ds="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",xs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Fs="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Os="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ks="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ms="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ns="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ls="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$s="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Vs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hs="\u8BF7\u9009\u62E9\u7701",qs="\u8BF7\u9009\u62E9\u5E02",js="\u8BF7\u9009\u62E9\u533A",Us="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ws="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ks="\u8BF7\u8F93\u5165\u5217\u5BBD",zs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Gs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Xs="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Js="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Zs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ys="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ps="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ed="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",id="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",dd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",fd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",md="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vd={isNotNumber:H,isNotString:j,isNotObject:lu,isNotArray:Dn,isNotBoolean:ou,runtimeRequired:cu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:St,pleaseEnterFieldCode:fs,pleaseEnterForm:hs,pleaseEnterList:ys,pleaseEnterProcess:ms,pleaseEnterLabel:vs,pleaseEnterValue:gs,bizKeyNotBindFiled:bs,pleaseSelectOneField:Es,pleaseEnterNumberRange:_s,pleaseEnterAValueGreaterThanMin:Cs,pleaseEnterAValueLessThanMax:ws,numberRangeSetError:Is,stringRangeError:Ss,attachmentMaxSize:As,pleaseEnterTotalScoreSetting:Ts,theTotalScoreMustNotBeLessThan1:Bs,scoreDefaultValueRange:Rs,attachmentLimitError:Ps,PleaseReselectTheOptionalQuantity:Ds,TheMaximumLengthIsGreaterThanTheMinimumLength:xs,TheMinimumLengthIsGreaterThanTheMaximumLength:Fs,PleaseSelectTheCorrectOptionSettings:Os,optionIdIsRepeat:ks,optionIsRequired:Ms,pleaseEnterDataCode:Ns,pleaseEnterValueFieldCode:Ls,pleaseEnterSvcCode:$s,pleaseBindAtLeastOneDisplayValue:Vs,pleaseSelectProvince:Hs,pleaseSelectCity:qs,pleaseSelectDistrict:js,limitRowsCannotBeLessThan0:Us,TheNumberOfRowsCannotBeLessThanMinRows:Ws,pleaseEnterColumnWidth:Ks,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zs,pleaseCompleteAllRulesAndConditions:Gs,pleaseSelectControl:Xs,pleaseSelectAtLeastOneColumn:Qs,pleaseSelectFillBackMode:Js,pleaseSelectDashboard:Zs,rootNodeIsRequired:Ys,theViewNameCannotBeEmpty:ps,pleaseSelectOcrType:ed,pleaseSelectAtLeastOneFieldToFillIn:td,pleaseChooseAtLeastOne:nd,pleaseEnterButtonContent:id,pleaseEnterDataCodeInDataSetting:ud,pleaseEnterValueFieldCodeInDataSetting:ad,pleaseEnterSvcCodeInDataSetting:rd,pleaseBindAtLeastOneDisplayValueInDataSetting:ld,rootNodeIsRequiredInDataSetting:od,pleaseEnterMaxHeight:cd,pleaseEnter:sd,pleaseEnterWatermark:dd,pleaseEnterFileName:fd,pleaseUploadAtLeastOnePrintTemplate:hd,pleaseAssignBusiness:yd,pleaseAssignExternal:md},gd="Please enter a number",bd="Please enter a string",Ed="Please enter an object",_d="Please enter an array",Cd="Please enter a boolean",wd="{caption} Required",Id="Please enter the title",Sd="Please enter the bubble prompt",Ad="Please enter the prompt text",Td="Please bind data items",Bd="Please bind the form",Rd="Please bind the list",Pd="Please bind the process",Dd="Please enter the displayed value",xd="Please enter the stored value",Fd="The document number is not bound to the data item",Od="Please select at least one display field",kd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Md="Please enter a value greater than or equal to {min}",Nd="Please enter a value less than or equal to {max}",Ld="The value range is set incorrectly",$d="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vd="The attachment size must be between 0MB and 1000MB",Hd="Please fill in the total score setting",qd="The total score cannot be less than 1",jd="The default value must be between {min} and {max}",Ud="The number of attachments uploaded must be between {min} and {max}",Wd="Please re-select the optional quantity",Kd="The maximum length of the control must be greater than the minimum length",zd="The minimum length of the control must be less than the maximum length",Gd="Please select the correct option setting",Xd="Option ID cannot be repeated",Qd="Please enter at least one option",Jd="Please bind the data source",Zd="Please bind the stored value",Yd="Please bind the service",pd="At least one display value must be bound",ef="Please select a province",tf="Please select a city",nf="Please select a district",uf="The minimum number of lines to fill in cannot be less than 0",af="The number of rows cannot be less than {min} rows",rf="Please enter the column width",lf="Please set the logical relationship of all rule conditions",of="Please complete all rules and conditions",cf="please select control",sf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",df="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ff="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",hf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ef="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",If="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Af="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Tf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Rf={isNotNumber:gd,isNotString:bd,isNotObject:Ed,isNotArray:_d,isNotBoolean:Cd,runtimeRequired:wd,pleaseEnterCaption:Id,pleaseEnterCaptionTip:Sd,pleaseEnterPlaceholder:Ad,pleaseEnterFieldCode:Td,pleaseEnterForm:Bd,pleaseEnterList:Rd,pleaseEnterProcess:Pd,pleaseEnterLabel:Dd,pleaseEnterValue:xd,bizKeyNotBindFiled:Fd,pleaseSelectOneField:Od,pleaseEnterNumberRange:kd,pleaseEnterAValueGreaterThanMin:Md,pleaseEnterAValueLessThanMax:Nd,numberRangeSetError:Ld,stringRangeError:$d,attachmentMaxSize:Vd,pleaseEnterTotalScoreSetting:Hd,theTotalScoreMustNotBeLessThan1:qd,scoreDefaultValueRange:jd,attachmentLimitError:Ud,PleaseReselectTheOptionalQuantity:Wd,TheMaximumLengthIsGreaterThanTheMinimumLength:Kd,TheMinimumLengthIsGreaterThanTheMaximumLength:zd,PleaseSelectTheCorrectOptionSettings:Gd,optionIdIsRepeat:Xd,optionIsRequired:Qd,pleaseEnterDataCode:Jd,pleaseEnterValueFieldCode:Zd,pleaseEnterSvcCode:Yd,pleaseBindAtLeastOneDisplayValue:pd,pleaseSelectProvince:ef,pleaseSelectCity:tf,pleaseSelectDistrict:nf,limitRowsCannotBeLessThan0:uf,TheNumberOfRowsCannotBeLessThanMinRows:af,pleaseEnterColumnWidth:rf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lf,pleaseCompleteAllRulesAndConditions:of,pleaseSelectControl:cf,pleaseSelectDashboard:sf,theViewNameCannotBeEmpty:df,pleaseSelectOcrType:ff,pleaseSelectAtLeastOneFieldToFillIn:hf,pleaseChooseAtLeastOne:yf,pleaseEnterButtonContent:mf,pleaseEnterDataCodeInDataSetting:vf,pleaseEnterValueFieldCodeInDataSetting:gf,pleaseEnterSvcCodeInDataSetting:bf,pleaseBindAtLeastOneDisplayValueInDataSetting:Ef,rootNodeIsRequiredInDataSetting:_f,pleaseEnterMaxHeight:Cf,pleaseEnter:wf,pleaseEnterWatermark:If,pleaseEnterFileName:Sf,pleaseUploadAtLeastOnePrintTemplate:Af,pleaseAssignBusiness:Tf,pleaseAssignExternal:Bf},Pf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="{caption}\u5FC5\u9808",Mf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\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",qf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jf="\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",Xf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qf="\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",eh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",th="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="\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",uh="\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",ah="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ch="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",fh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",_h="please select control",Ch="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",wh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Sh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ah="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Th="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ph="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Fh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Oh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",kh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Lh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$h="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vh={isNotNumber:Pf,isNotString:Df,isNotObject:xf,isNotArray:Ff,isNotBoolean:Of,runtimeRequired:kf,pleaseEnterCaption:Mf,pleaseEnterCaptionTip:Nf,pleaseEnterPlaceholder:Lf,pleaseEnterFieldCode:$f,pleaseEnterForm:Vf,pleaseEnterList:Hf,pleaseEnterProcess:qf,pleaseEnterLabel:jf,pleaseEnterValue:Uf,bizKeyNotBindFiled:Wf,pleaseSelectOneField:Kf,pleaseEnterNumberRange:zf,pleaseEnterAValueGreaterThanMin:Gf,pleaseEnterAValueLessThanMax:Xf,numberRangeSetError:Qf,stringRangeError:Jf,attachmentMaxSize:Zf,pleaseEnterTotalScoreSetting:Yf,theTotalScoreMustNotBeLessThan1:pf,scoreDefaultValueRange:eh,attachmentLimitError:th,PleaseReselectTheOptionalQuantity:nh,TheMaximumLengthIsGreaterThanTheMinimumLength:ih,TheMinimumLengthIsGreaterThanTheMaximumLength:uh,PleaseSelectTheCorrectOptionSettings:ah,optionIdIsRepeat:rh,optionIsRequired:lh,pleaseEnterDataCode:oh,pleaseEnterValueFieldCode:ch,pleaseEnterSvcCode:sh,pleaseBindAtLeastOneDisplayValue:dh,pleaseSelectProvince:fh,pleaseSelectCity:hh,pleaseSelectDistrict:yh,limitRowsCannotBeLessThan0:mh,TheNumberOfRowsCannotBeLessThanMinRows:vh,pleaseEnterColumnWidth:gh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bh,pleaseCompleteAllRulesAndConditions:Eh,pleaseSelectControl:_h,pleaseSelectDashboard:Ch,theViewNameCannotBeEmpty:wh,pleaseSelectOcrType:Ih,pleaseSelectAtLeastOneFieldToFillIn:Sh,pleaseChooseAtLeastOne:Ah,pleaseEnterButtonContent:Th,pleaseEnterDataCodeInDataSetting:Bh,pleaseEnterValueFieldCodeInDataSetting:Rh,pleaseEnterSvcCodeInDataSetting:Ph,pleaseBindAtLeastOneDisplayValueInDataSetting:Dh,rootNodeIsRequiredInDataSetting:xh,pleaseEnterMaxHeight:Fh,pleaseEnter:Oh,pleaseEnterWatermark:kh,pleaseEnterFileName:Mh,pleaseUploadAtLeastOnePrintTemplate:Nh,pleaseAssignBusiness:Lh,pleaseAssignExternal:$h},Hh={zhCN:vd,enUS:Rf,jaJP:Vh},_r;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(_r||(_r={}));var Cr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Cr||(Cr={}));var qh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ot;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ot||(ot={}));var C;(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.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.EMPLOYEE_COLUMN="employee-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.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.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"})(C||(C={}));var g;(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"})(g||(g={}));var ne;ne={},re(ne,g.ARRAY,C.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,C.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),re(ne,g.FILE,C.FILE_COLUMN),re(ne,g.IMAGE,C.IMAGE_COLUMN),re(ne,g.ADDRESS,C.LOCATION_COLUMN),re(ne,g.EMPLOYEES,C.EMPLOYEE_COLUMN),re(ne,g.TEXT,C.TEXT_COLUMN),re(ne,g.TIMESCOPE,C.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,C.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,C.VARCHAR_COLUMN),re(ne,g.RELATION,C.VARCHAR_COLUMN);var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Te||(Te={}));var wr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jh=wr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?wr:jh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function su(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 Uh(t){if(Array.isArray(t))return su(t)}function Wh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(){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 xn(t,e,n){return Kh()?xn=Reflect.construct:xn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Tt(o,r.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 Sr(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 zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xh(){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 Qh(t,e){return e&&(Jh(e)==="object"||typeof e=="function")?e:Wh(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Ar(t){return Uh(t)||Gh(t)||Zh(t)||Xh()}var Jh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zh(t,e){if(!!t){if(typeof t=="string")return su(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 su(t,e)}}function du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!zh(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)},du(t)}function Yh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tr(t){var e=Yh();return function(){var i=At(t),u;if(e){var a=At(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qh(this,u)}}var fu=console;function hu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=fu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ar(u)))}function Br(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=fu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ar(u)))}function ph(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yu=function(t){Sr(n,t);var e=Tr(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?ph(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(du(Error)),ey=function(t){Sr(n,t);var e=Tr(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(yu);function Bt(t){throw new yu(t)}function Rr(t){throw new ey(t)}function ty(t){fu.error(new yu(t))}var ny=Object.prototype.toString;function Pr(t,e){return ny.call(t)==="[object "+e+"]"}function iy(t){return Pr(t,"String")}function uy(t){return Pr(t,"Promise")}var ay=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();uy(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,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!iy(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 ry(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 ly(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function oy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){ry(this,t)}return ly(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]:qh;return new ay({locale:n,messages:Hh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();oy(f,"$i18n",f.resetI18n());function cy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){hu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var sy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},dy={exports:{}};(function(t){(function(e){var n=function(m,_,B){if(!o(_)||v(_)||b(_)||w(_)||s(_))return _;var D,F=0,ce=0;if(d(_))for(D=[],ce=_.length;F<ce;F++)D.push(n(m,_[F],B));else{D={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&(D[m(O,B)]=n(m,_[O],B))}return D},i=function(m,_){_=_||{};var B=_.separator||"_",D=_.split||/(?=[A-Z])/;return m.split(D).join(B)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},r=function(m,_){return i(m,_).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},w=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},E=function(m,_){var B=_&&"process"in _?_.process:_;return typeof B!="function"?m:function(D,F){return B(D,m,F)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(r,_),m,_)},pascalizeKeys:function(m,_){return n(E(a,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(sy)})(dy);var xr={};Object.defineProperty(xr,"__esModule",{value:!0});function mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:mu(i)}return e}}var fy=xr.default=mu;function Be(t){if(t!==void 0)return typeof t=="object"?fy(t):t}function hy(t){return Object.prototype.toString.call(t)==="[object Object]"}function vu(t){return Array.isArray(t)}function yy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function gu(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 my(t){if(Array.isArray(t))return gu(t)}function Fr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function vy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Fr(a,i,u,r,l,"next",s)}function l(s){Fr(a,i,u,r,l,"throw",s)}r(void 0)})}}function gy(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 by(t,e,n){return e&&Or(t.prototype,e),n&&Or(t,n),t}function kr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ey(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _y(){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 bu(t){return my(t)||Ey(t)||Cy(t)||_y()}function Cy(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}var wy=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},Iy=function(){function t(){gy(this,t),kr(this,"_events",new Map),kr(this,"debug",!1)}return by(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return vy(function(){var l,s,o,d,v,b,w,I,E,S,m,_;return wy(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),w=o[Symbol.iterator](),B.label=2;case 2:if(d=(I=w.next()).done)return[3,7];if(E=I.value,!l.includes(E))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Br.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bu(u))),[4,E.apply(null,bu(u))];case 4:return S=B.sent(),r.debug&&Br.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=B.sent(),ty(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return _=B.sent(),v=!0,b=_,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(v)throw b}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 Sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ay(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function Ty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var By=[{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"}],Ry=function(){function t(){Sy(this,t)}return Ay(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();Ty(Ry,"events",By);function Py(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dy(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Lr=[],Eu=function(){function t(e){Py(this,t),$e(this,"registeredControlTypes",new Set),$e(this,"controlConfigMap",new Map),$e(this,"_controls",[]),$e(this,"_type",void 0),this._type=e,this._initControls(e)}return Dy(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&&(hu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ot.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ot.FORM}},{key:"isListControl",value:function(n){return n.controlType===ot.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ot.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var s=new a(r);return s}else Bt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Bt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(hu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();$e(Eu,"staticControls",Lr),$e(Eu,"staticRegisteredTypes",new Set(Lr.map(function(t){return t.Designer.controlType}))),$e(Eu,"staticRegisteredConfigs",new Map);function k(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(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 Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function fe(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&&_u(t,e)}function $r(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xy(t,e){return e&&(Fy(e)==="object"||typeof e=="function")?e:k(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Fy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Oy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=Oy();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xy(this,u)}}var ye=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",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:""},Vr=function t(e){A(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},Cu=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"width",void 0),h(k(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Vr),ky=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Cu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Cu(e==null?void 0:e.mobile):new Cu({width:130,minWidth:180})},My=function t(e){A(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:[]},wu=function t(e){A(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:""},Ny=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(wu),Hr=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Iu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Hr(r)}))!==null&&a!==void 0?a:[]},Ly=function t(e){A(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:g.VARCHAR},$y=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"title",void 0),h(k(u),"svcCode",void 0),h(k(u),"isOpenFilter",void 0),h(k(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(wu),Vy=function t(e){A(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 wu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Ly(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new $y(r)}))!==null&&a!==void 0?a:[]},Hy=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Rt=function t(e){A(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:[]},qr=function t(e){var n=this;A(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:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Su(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Su=function t(e){A(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:be();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Hy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Rt(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(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:""},Au=function t(e){A(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},qy=function t(e){A(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 Tu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new qr(l):new Su(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new qr(l):new Su(l)}))!==null&&u!==void 0?u:[],$r(this,Z)||$r(this,Ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new qy(l)}))!==null&&r!==void 0?r:[]}}var Z=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Au(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";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:"",Tu.call(this,e)},Bu=function t(e){A(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:[]},Ve=function t(e){A(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,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;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},jr=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Au(r)}))!==null&&a!==void 0?a:[]},On=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new jr(l)}))!==null&&r!==void 0?r:[],u}return n}(Z),jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0),h(k(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new jr(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(Z),Ur=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"rootNode",void 0),h(k(u),"filterCode",void 0),u.rootNode=new Rt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(On),Wr=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(k(u),"filters",void 0),h(k(u),"viewFilters",void 0),h(k(u),"orders",void 0),Tu.call(k(u),i),u}return n}(Wr),Kr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"mode",void 0),h(k(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(Wr),zr=function t(e){A(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:""},Uy=function t(e){A(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:be(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 Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Uy(n)}))!==null&&e!==void 0?e:[]}var Pu=function t(){A(this,t)},Wy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"amount",void 0),h(k(u),"currency",void 0),u.amount=new ye(i==null?void 0:i.amount),u.currency=new ye(i==null?void 0:i.currency),u}return n}(Pu),Ky=function t(e){A(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:kn.CNY},zy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"min",void 0),h(k(u),"max",void 0),u.min=new ye(i==null?void 0:i.min),u.max=new ye(i==null?void 0:i.max),u}return n}(Pu),Gy=function t(e){A(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:""},Xy=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Qy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"result",void 0),h(k(u),"unit",void 0),u.result=new ye(i==null?void 0:i.result),u.unit=new ye(i==null?void 0:i.unit),u}return n}(Pu),Jy=function t(e){A(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:""},kn;(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"})(kn||(kn={}));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.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Du;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Du||(Du={}));var Re=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Zy=function t(e){A(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:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Hr(r)}))!==null&&a!==void 0?a:[],Tu.call(this,e)},Yy=function t(e){A(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"};function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(){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 Mn(t,e,n){return em()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Dt(o,r.prototype),o},Mn.apply(null,arguments)}function He(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 tm(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&&Dt(t,e)}function nm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function im(t,e){return e&&(um(e)==="object"||typeof e=="function")?e:py(t)}function Dt(t,e){return Dt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dt(t,e)}var um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fu(t){var e=typeof Map=="function"?new Map:void 0;return Fu=function(i){if(i===null||!nm(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}}),Dt(u,i)},Fu(t)}function am(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rm(t){var e=am();return function(){var i=Pt(t),u;if(e){var a=Pt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return im(this,u)}}var U=function t(e){xu(this,t),He(this,"isHide",{type:"boolean"})},qe=function(t){tm(n,t);var e=rm(n);function n(i){return xu(this,n),e.call(this)}return n}(Fu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";xu(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Yy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(G,"Rules",U),He(G,"RuntimeRules",qe);function ve(){return ve=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},ve.apply(this,arguments)}function lm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function om(){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 om()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Nn(o,r.prototype),o},Ln.apply(null,arguments)}function cm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ku(t){var e=typeof Map=="function"?new Map:void 0;return ku=function(i){if(i===null||!cm(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,Ou(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},ku(t)}var sm=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Mu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(sm,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function dm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||dm(e)&&typeof t=="string"&&!t)}function fm(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Xr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function hm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){lm(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}(ku(Error));function ym(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var w=function(S){return i(S),S.length?b(new Qr(S,Mu(S))):v()},I=hm(t);Xr(I,n,w)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,b){var w=function(E){if(o.push.apply(o,E),s++,s===l)return i(o),o.length?b(new Qr(o,Mu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var E=t[I];a.indexOf(I)!==-1?Xr(E,n,w):fm(E,n,w)})});return d.catch(function(v){return v}),d}function Jr(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 Zr(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function Yr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||W(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function mm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Nu={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},xt={integer:function(e){return xt.number(e)&&parseInt(e,10)===e},float:function(e){return xt.number(e)&&!xt.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"&&!xt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Nu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Nu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Nu.hex)}};function vm(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"],r=t.type;a.indexOf(r)>-1?xt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function gm(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",w=Array.isArray(e);if(v?d="number":b?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ct="enum";function bm(t,e,n,i,u){t[ct]=Array.isArray(t[ct])?t[ct]:[],t[ct].indexOf(e)===-1&&i.push(le(u.messages[ct],t.fullField,t[ct].join(", ")))}function Em(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(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(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Yr,whitespace:mm,type:vm,range:gm,enum:bm,pattern:Em};function _m(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),W(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),W(e)||T.type(t,e,i,a,u)}n(a)}function Am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Bm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Pm="enum";function Dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Pm](t,e,i,a,u)}n(a)}function xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),W(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Fm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Om(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Lu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),W(e,a)||T.type(t,e,i,r,u)}n(r)}function km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Ft={string:_m,method:Cm,number:wm,boolean:Im,regexp:Sm,integer:Am,float:Tm,array:Bm,object:Rm,enum:Dm,pattern:xm,date:Fm,url:Lu,hex:Lu,email:Lu,required:Om,any:km};function $u(){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 Vu=$u();function Pe(t){this.rules=null,this._messages=Vu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=Zr($u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(E){var S,m=[],_={};function B(D){if(Array.isArray(D)){var F;m=(F=m).concat.apply(F,D)}else m.push(D)}for(S=0;S<E.length;S++)B(E[S]);m.length?_=Mu(m):(m=null,_=null),l(m,_)}if(r.messages){var o=this.messages();o===Vu&&(o=$u()),Zr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},w=r.keys||Object.keys(this.rules);w.forEach(function(E){d=u.rules[E],v=a[E],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:v,source:a,field:E}))})});var I={};return ym(b,r,function(E,S){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function B(ce,O){return ve(ve({},O),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var O=ce;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&Pe.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(Jr(m)),r.first&&O.length)return I[m.field]=1,S(O);if(!_)S(O);else{if(m.required&&!E.value)return m.message!==void 0?O=[].concat(m.message).map(Jr(m)):r.error&&(O=[r.error(m,le(r.messages.required,m.field))]),S(O);var se={};if(m.defaultField)for(var Bn in E.value)E.value.hasOwnProperty(Bn)&&(se[Bn]=m.defaultField);se=ve(ve({},se),E.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var ru=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=ru.map(B.bind(null,Ie))}var Rn=new Pe(se);Rn.messages(r.messages),E.rule.options&&(E.rule.options.messages=r.messages,E.rule.options.error=r.error),Rn.validate(E.value,E.rule.options||r,function(wt){var Se=[];O&&O.length&&Se.push.apply(Se,O),wt&&wt.length&&Se.push.apply(Se,wt),S(Se.length?Se:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,E.value,D,E.source,r):m.validator&&(F=m.validator(m,E.value,D,E.source,r),F===!0?D():F===!1?D(m.message||m.field+" fails"):F instanceof Array?D(F):F instanceof Error&&D(F.message)),F&&F.then&&F.then(function(){return D()},function(ce){return D(ce)})},function(E){s(E)})},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(le("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}},Pe.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},Pe.warning=Gr,Pe.messages=Vu,Pe.validators=Ft;var Mm={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 Nm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Pe(t);return n.messages(Object.assign(Mm,e)),n}var Lm=new Iy;function Hu(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 $m(t){if(Array.isArray(t))return t}function Vm(t){if(Array.isArray(t))return Hu(t)}function pr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function el(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){pr(a,i,u,r,l,"next",s)}function l(s){pr(a,i,u,r,l,"throw",s)}r(void 0)})}}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(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 qm(t,e,n){return e&&tl(t.prototype,e),n&&tl(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 nl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function il(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jm(){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 Um(){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 ul(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 Wm(t){return $m(t)||il(t)||al(t)||jm()}function qu(t){return Vm(t)||il(t)||al(t)||Um()}function al(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}var rl=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},N=function(){function e(n){var i=this;Hm(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",ol),M(this,"removeSetting",ll),this._callControlHooks("preInstance",n);var u=nl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Rr("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:be(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(nl(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Be(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Be(o),this.customEvents=Be(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return qm(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=Wm(u),s=l[0],o=l.slice(1);return(r=Lm).emit.apply(r,[s,this].concat(qu(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),cy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return el(function(){var u,a,r;return rl(this,function(l){switch(l.label){case 0:return u=ul({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return el(function(){var r,l,s,o;return rl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:ul({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Nm(l,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,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,w=l.maxLength,I=l.options,E=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),w!==void 0&&(m.maxLength=w),E!==void 0&&(m.encrypted=E),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Be(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,qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",ll),M(N,"updateSettingItem",ol);function ll(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function ol(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=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,qu(e.showItems))}}}})}function Km(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function zm(t,e,n){return e&&cl(t.prototype,e),n&&cl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Km(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Gm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Rr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;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 b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Du.UNKNOWN}return zm(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}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function ju(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:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=yy(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function $n(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(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&&Uu(t,e)}function Xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:L(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var Jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jn(t){var e=Zm();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qm(this,u)}}var Y=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(L(u),"dataBind",{}),$(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),$(L(u),"isHideCaption",{type:"boolean"}),$(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(L(u),"required",{type:"boolean"}),$(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Xm(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(qe),R=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(L(u),"caption",void 0),$(L(u),"isHideCaption",void 0),$(L(u),"isShowCaptionTip",void 0),$(L(u),"captionTip",void 0),$(L(u),"labelPosition",void 0),$(L(u),"dataBind",void 0),$(L(u),"defaultValue",void 0),$(L(u),"placeholder",void 0),$(L(u),"defaultState",void 0),$(L(u),"required",void 0),$(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new ye(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);$(R,"Rules",Y),$(R,"RuntimeRules",V);var st=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),$(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),$(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(L(u),i),u}return n}(Y);function Wu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ym(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 pm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ku(t,e)}function ev(t,e){return e&&(tv(e)==="object"||typeof e=="function")?e:Wu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}var tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function iv(t){var e=nv();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ev(this,u)}}var P=function(t){pm(n,t);var e=iv(n);function n(i){Ym(this,n);var u;return u=e.call(this,i),Un(Wu(u),"controlType","form"),Un(Wu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(N);Un(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(P,"controlCustomAttributes",void 0);function Kn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(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 zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function av(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&&Gu(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:Kn(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=ov();return function(){var i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rv(this,u)}}var x=function(t){av(n,t);var e=cv(n);function n(i){uv(this,n);var u;return u=e.call(this,i),zu(Kn(u),"controlType","form"),zu(Kn(u),"props",void 0),zu(Kn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function fv(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 hv(t,e){return e&&(yv(e)==="object"||typeof e=="function")?e:sv(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vv(t){var e=mv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hv(this,u)}}var q=function(t){fv(n,t);var e=vv(n);function n(i){return dv(this,n),e.call(this,i)}return n}(G);function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gv(t){if(Array.isArray(t))return Qu(t)}function bv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ev(){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 sl(t){return gv(t)||bv(t)||_v(t)||Ev()}function _v(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Cv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function dl(t,e){t.parent=e,Cv(t,"parent")}function wv(t,e){t.forEach(function(n){dl(n,e)})}var fl=Symbol("targetKey");function hl(t){var e;return(e=t[fl])!==null&&e!==void 0?e:t}function yl(t,e){return wv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===fl?i:(s=Reflect).get.apply(s,[i,u].concat(sl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(vu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(sl(l)));return hy(a)&&dl(a,e),d}})}function _e(t,e,n,i){var u=i!=null?i:t,a=yl(hl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=yl(hl(l),u)},enumerable:!0})}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 Iv(t){if(Array.isArray(t))return Ju(t)}function je(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,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Sv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){ml(a,i,u,r,l,"next",s)}function l(s){ml(a,i,u,r,l,"throw",s)}r(void 0)})}}function Av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vl(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 Tv(t,e,n){return e&&vl(t.prototype,e),n&&vl(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,r){var l=Mv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},dt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function Bv(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&&Zu(t,e)}function Rv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Pv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dv(){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 xv(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){De(t,u,n[u])})}return t}function Fv(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 Ov(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Fv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function kv(t,e){return e&&(Nv(e)==="object"||typeof e=="function")?e:je(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Mv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function gl(t){return Iv(t)||Pv(t)||Lv(t)||Dv()}var Nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lv(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 $v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vv(t){var e=$v();return function(){var i=xe(t),u;if(e){var a=xe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kv(this,u)}}var Hv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},qv=1e4,K=function(e){Bv(i,e);var n=Vv(i);function i(u){Av(this,i);var a;a=n.call(this,u),De(je(a),"controlType","layout"),De(je(a),"children",void 0),De(je(a),"excludes",void 0),De(je(a),"childrenMaxLength",void 0),De(je(a),"props",void 0);var r=Rv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),_e(je(a),"children",u==null?void 0:u.children),a.excludes=Be(l),a.childrenMaxLength=s,a}return Tv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return dt(xe(i.prototype),"validate",l)};return Sv(function(){return Hv(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=dt(xe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return gl(s).concat(gl(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=dt(xe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Ov(xv({},a),{children:r})}}]),i}(N);De(K,"excludes",!1),De(K,"childrenMaxLength",qv);function Ot(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(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 Uv(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 Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:Ot(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gv(t){var e=zv();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var Q=function(t){Uv(n,t);var e=Gv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),Yu(Ot(u),"controlType","layout"),Yu(Ot(u),"children",void 0),Yu(Ot(u),"props",void 0),u.props=new q(i==null?void 0:i.props),_e(Ot(u),"children",i==null?void 0:i.children),u}return n}(X);function ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qv(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 Jv(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 Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:ea(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pv();return function(){var i=Qn(t),u;if(e){var a=Qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zv(this,u)}}var Jn=function(t){Jv(n,t);var e=eg(n);function n(i,u){Xv(this,n);var a;return a=e.call(this,u),Qv(ea(a),"headers",void 0),_e(ea(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tg(t){if(Array.isArray(t))return na(t)}function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ng(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){bl(a,i,u,r,l,"next",s)}function l(s){bl(a,i,u,r,l,"throw",s)}r(void 0)})}}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function El(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ug(t,e,n){return e&&El(t.prototype,e),n&&El(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 ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,a,r){var l=sg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ft(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function ag(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 rg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lg(){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 _l(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 og(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 Cl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):og(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function cg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:Zn(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function sg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function wl(t){return tg(t)||rg(t)||fg(t)||lg()}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,e)}}function hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yg(t){var e=hg();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var mg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},ua=function(t){ag(n,t);var e=yg(n);function n(i){ig(this,n);var u;return u=e.call(this,i),Yn(Zn(u),"controlType","list"),Yn(Zn(u),"props",void 0),u.props=new Jn(Zn(u),i==null?void 0:i.props),u}return ug(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return ft(Fe(n.prototype),"validate",r)};return ng(function(){return mg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ft(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return wl(l).concat(wl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=ft(Fe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Cl(_l({},u),{props:Cl(_l({},this.props),{headers:a})})}}]),n}(N);Yn(ua,"controlFieldType",g.LIST);function ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Il(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 gg(t,e,n){return e&&Il(t.prototype,e),n&&Il(t,n),t}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function bg(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 Eg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:ht(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}var _g=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wg(t){var e=Cg();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Eg(this,u)}}var Sl=function(t){bg(n,t);var e=wg(n);function n(i){vg(this,n);var u;return u=e.call(this,i),aa(ht(u),"controlType","list"),aa(ht(u),"children",void 0),aa(ht(u),"props",void 0),u.props=new Jn(ht(u),i==null?void 0:i.props),_e(ht(u),"children",i==null?void 0:i.children),u}return gg(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function la(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function oa(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 Ig(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:J(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}var Sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sa(t){var e=Ag();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ig(this,u)}}var Ce=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),p(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;u=e.call(this,i),p(J(u),"widthType",void 0),p(J(u),"width",void 0),p(J(u),"caption",void 0),p(J(u),"dataBind",void 0),p(J(u),"autoWidth",void 0),p(J(u),"fixed",void 0),p(J(u),"sort",void 0),p(J(u),"align",void 0),p(J(u),"colSpan",void 0),p(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Vr(i==null?void 0:i.autoWidth),u.dataBind=new ye(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);p(z,"Rules",Ce);var Al=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),p(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),p(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(J(u),i),u}return n}(Ce);function da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(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 Bg(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 Rg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:da(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Dg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rg(this,u)}}var ee=function(t){Bg(n,t);var e=xg(n);function n(i){Tg(this,n);var u;return u=e.call(this,i),Tl(da(u),"controlType","column"),Tl(da(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(N);function ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(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 Og(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 kg(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:ha(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}var Mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lg(t){var e=Ng();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kg(this,u)}}var te=function(t){Og(n,t);var e=Lg(n);function n(i){Fg(this,n);var u;return u=e.call(this,i),Bl(ha(u),"controlType","column"),Bl(ha(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function Rl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vg(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 Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function qg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Rl(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}var jg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qg(this,u)}}var va=function(t){Hg(n,t);var e=Wg(n);function n(i){$g(this,n);var u;return u=e.call(this,i),Vg(Rl(u),"dataBind",void 0),u.dataBind=new ye(i==null?void 0:i.dataBind),u}return n}(q);function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(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 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&&ba(t,e)}function Gg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:ga(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}var Xg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jg(t){var e=Qg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gg(this,u)}}var Zg=function(t){zg(n,t);var e=Jg(n);function n(i){Kg(this,n);var u;return u=e.call(this,i),Pl(ga(u),"controlType","search"),Pl(ga(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(K);function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 pg(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 e0(t,e){return e&&(t0(e)==="object"||typeof e=="function")?e:Ea(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var t0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function n0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function i0(t){var e=n0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var u0=function(t){pg(n,t);var e=i0(n);function n(i){Yg(this,n);var u;return u=e.call(this,i),Dl(Ea(u),"controlType","search"),Dl(Ea(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(Q);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ca extends G{constructor(e){var n,i,u,a,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=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class xl extends N{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}xl.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 a0 extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"text"}}var Fl={Designer:xl,Runtime:a0,Property:Ca};class wa extends G{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 Ia extends N{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ia.controlEventKeys=["on_click"],Ia.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 r0 extends X{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ol={Designer:Ia,Runtime:r0,Property:wa};class ie extends G{constructor(e){var n,i,u,a,r,l,s,o;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=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"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}}class ue extends N{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.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 oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var kl={Designer:ue,Runtime:oe,Property:ie},Oe=(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))(Oe||{}),Ml=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Ml||{}),Nl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Nl||{});class ri{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class li{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(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))(Aa||{});class Ta{constructor(e){var n,i,u,a,r,l,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=(r=e==null?void 0:e.telephone)!=null?r: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((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ll{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ba{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ra{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 $l{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 Ra(e==null?void 0:e.watermark),this.autoRename=new Ra(e==null?void 0:e.autoRename)}}const Vl=480;function kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Hl{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class ql{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 jl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(jl||{}),Pa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Pa||{}),oi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(oi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Da=(t=>(t.ALL="all",t.ADMIN="admin",t))(Da||{});class xa extends G{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:Aa.SOLID}}class Ul extends N{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ul.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class l0 extends X{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Wl={Designer:Ul,Runtime:l0,Property:xa};class o0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ci extends G{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:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.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"}}ci.Rules=o0;class yt extends N{constructor(e){super(e),this.props=new ci(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=g.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 c0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"title"}}var Kl={Designer:yt,Runtime:c0,Property:ci};class s0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class si extends ie{constructor(e){var n,i,u,a;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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}si.Rules=s0;class Mt extends ue{constructor(e){super(e),this.props=new si(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"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.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 d0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var zl={Designer:Mt,Runtime:d0,Property:si};class f0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class di extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}di.Rules=f0;class Nt extends ue{constructor(e){super(e),this.props=new di(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 h0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Gl={Designer:Nt,Runtime:h0,Property:di};class Fa extends ie{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 ue{constructor(e){super(e),this.props=new Fa(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"}}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 y0 extends oe{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Xl={Designer:Lt,Runtime:y0,Property:Fa};class Oa extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ba(r)))!=null?a:[new Ba({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends ue{constructor(e){super(e),this.props=new Oa(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 m0 extends oe{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ql={Designer:$t,Runtime:m0,Property:Oa};class ka extends ie{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 ue{constructor(e){super(e),this.props=new ka(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"}}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 v0 extends oe{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Jl={Designer:Vt,Runtime:v0,Property:ka};class g0{constructor(e){this.dataCode=e.dataCode}}class Ma extends ie{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.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new g0(r)))!=null?a:[]}}class Ht extends ue{constructor(e){super(e),this.props=new Ma(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class b0 extends oe{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Zl={Designer:Ht,Runtime:b0,Property:Ma};function fi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class E0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class hi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.formBind=new Ny(e==null?void 0:e.formBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}hi.Rules=E0;class qt extends ue{constructor(e){super(e),this.props=new hi(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class _0 extends oe{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Yl={Designer:qt,Runtime:_0,Property:hi};class C0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())}}}class yi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.fillBack=new Kr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig)}}yi.Rules=C0;class jt extends ue{constructor(e){super(e),this.props=new yi(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"}}jt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],jt.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 w0 extends oe{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var pl={Designer:jt,Runtime:w0,Property:yi};class I0 extends U{constructor(e){super(e)}}class S0 extends qe{constructor(e){super(e)}}class Ut extends G{constructor(e){super(e)}}Ut.Rules=I0,Ut.RuntimeRules=S0;class eo extends N{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}eo.setting=[];class A0 extends X{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var to={Designer:eo,Runtime:A0,Property:Ut};class T0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mi extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}mi.Rules=T0;class no extends N{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}no.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 B0 extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var io={Designer:no,Runtime:B0,Property:mi};class R0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class vi extends G{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 Zy(a)))!=null?u:[]}}vi.Rules=R0;class uo extends N{constructor(e){super(e),this.props=new vi(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"}}uo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class P0 extends X{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ao={Designer:uo,Runtime:P0,Property:vi};class D0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends ie{constructor(e){var n,i,u,a,r,l,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=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l: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(b=>new ae(b)))!=null?v:[]}}gi.Rules=D0;class mt extends ue{constructor(e){super(e),this.props=new gi(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 x0 extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ro={Designer:mt,Runtime:x0,Property:gi};class F0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ie{constructor(e){var n,i,u,a,r,l,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=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l: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(b=>new ae(b)))!=null?v:[]}}bi.Rules=F0;class vt extends ue{constructor(e){super(e),this.props=new bi(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 O0 extends oe{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var lo={Designer:vt,Runtime:O0,Property:bi};class k0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ei extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Hl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ei.Rules=k0;class Wt extends ue{constructor(e){super(e),this.props=new Ei(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 M0 extends oe{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var oo={Designer:Wt,Runtime:M0,Property:Ei};class Na extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends ue{constructor(e){super(e),this.props=new Na(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"}}Kt.controlEventKeys=["on_click"],Kt.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 N0 extends oe{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var co={Designer:Kt,Runtime:N0,Property:Na};class L0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class _i extends G{constructor(e){var n,i,u,a,r;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=(r=e==null?void 0:e.isLoading)!=null?r:!1}}_i.Rules=L0;class Ci extends N{constructor(e){super(e),this.props=new _i(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"}}Ci.controlEventKeys=["on_click"],Ci.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 $0 extends X{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var so={Designer:Ci,Runtime:$0,Property:_i};class La extends G{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(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 zt extends N{constructor(e){super(e),this.props=new La(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"}}zt.controlEventKeys=["on_click"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class V0 extends X{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var fo={Designer:zt,Runtime:V0,Property:La},H0=Object.freeze({__proto__:null,Text:Fl,Link:Ol,Button:kl,Divider:Wl,Title:Kl,CreateFormListButton:zl,BatchSubmissionListButton:Gl,SubmissionRecordListButton:Xl,ExportListButton:Ql,ExportRecordListButton:Jl,ImportRecordListButton:Zl,FormSelectButton:Yl,ListSelectButton:pl,Pagination:to,Dashboard:io,ListViewSelect:ao,TextOcrButton:ro,InvoiceCheckButton:lo,BatchPrintListButton:oo,BatchPrintRecordListButton:co,OperationButton:so,BatchDeleteButton:fo});class q0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class j0 extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class gt extends R{constructor(e){var n,i,u,a,r,l,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 zr(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=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}gt.Rules=q0,gt.RuntimeRules=j0;class bt extends P{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=g.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 ho extends x{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlType(){return"input"}}ho.controlFieldType=g.VARCHAR;var yo={Designer:bt,Runtime:ho,Property:gt};class U0 extends st{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class W0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(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:Xt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,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(E=>{var S;(S=this.multistageFilling)==null||S.push(new ae(E))}))}}Gt.Rules=U0,Gt.RuntimeRules=W0;class Xt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=g.ARRAY,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:"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 mo extends x{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}mo.controlFieldType=g.ARRAY;var vo={Designer:Xt,Runtime:mo,Property:Gt};class K0 extends st{constructor(e){super(e)}}class wi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(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:Qt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",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(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}wi.Rules=K0;class Qt extends P{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=g.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 go extends x{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"radio"}}go.controlFieldType=g.VARCHAR;var bo={Designer:Qt,Runtime:go,Property:wi};class z0 extends Y{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class G0 extends V{constructor(e){super(e),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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Jt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(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=(b=e==null?void 0:e.caption)!=null?b:Zt.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new zr(e==null?void 0:e.regularRules)}}Jt.Rules=z0,Jt.RuntimeRules=G0;class Zt extends P{constructor(e){super(e),this.props=new Jt(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}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=g.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"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 Eo extends x{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"number"}}Eo.controlFieldType=g.DECIMAL;var _o={Designer:Zt,Runtime:Eo,Property:Jt};class $a extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ii.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(v=>new ri(v)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(d=e==null?void 0:e.filterWeekend)!=null?d:!1}}class Ii extends P{constructor(e){super(e),this.props=new $a(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}}Ii.controlFieldType=g.TIMESTAMP,Ii.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:"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 Co extends x{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Co.controlFieldType=g.TIMESTAMP;var wo={Designer:Ii,Runtime:Co,Property:$a};class X0 extends V{constructor(e){super(e),this[0].type="object",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 Si extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.dataBind=new zy(e==null?void 0:e.dataBind),this.defaultValue=new Gy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Ai.controlName,this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(v=>new ri(v)))!=null?d:[]}}Si.RuntimeRules=X0;class Ai extends P{constructor(e){super(e),this.props=new Si(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}}Ai.controlFieldType=g.TIMESCOPE,Ai.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:"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 Io extends x{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Io.controlFieldType=g.TIMESCOPE;var So={Designer:Ai,Runtime:Io,Property:Si};class Q0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class J0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Yt extends R{constructor(e){var n,i,u,a,r,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=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Yt.Rules=Q0,Yt.RuntimeRules=J0;class pt extends P{constructor(e){super(e),this.props=new Yt(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"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.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:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ao extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ao.controlFieldType=g.TEXT;var To={Designer:pt,Runtime:Ao,Property:Yt};class Z0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.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=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Y0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class en extends R{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:tn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}en.Rules=Z0,en.RuntimeRules=Y0;class tn extends P{constructor(e){super(e),this.props=new en(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"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.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 Bo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Bo.controlFieldType=g.TEXT;var Ro={Designer:tn,Runtime:Bo,Property:en};class p0 extends st{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.options=Ee((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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",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(d=>{var v;(v=this.multistageFilling)==null||v.push(new ae(d))}))}}Ti.Rules=p0;class Bi extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Bi.controlFieldType=g.VARCHAR,Bi.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},{key:"super-setting",visible:!0}];class Po extends x{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"select"}}Po.controlFieldType=g.VARCHAR;var Do={Designer:Bi,Runtime:Po,Property:Ti};class eb extends st{constructor(e){super(e)}}class tb extends V{constructor(e){super(e),this[0].type="array"}}class nn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=Ee((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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(o=>{var d;(d=this.multistageFilling)==null||d.push(new ae(o))}))}}nn.Rules=eb,nn.RuntimeRules=tb;class Ri extends P{constructor(e){super(e),this.props=new nn(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"}}Ri.controlFieldType=g.ARRAY,Ri.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},{key:"super-setting",visible:!0}];class xo extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}xo.controlFieldType=g.ARRAY;var Fo={Designer:Ri,Runtime:xo,Property:nn};class nb extends V{constructor(e){super(e),this[0].type="array"}}class Pi extends R{constructor(e){var n,i,u,a,r,l,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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Di.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 b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}Pi.RuntimeRules=nb;class Di extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Di.controlFieldType=g.EMPLOYEES,Di.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 Oo extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Oo.controlFieldType=g.EMPLOYEES;var ko={Designer:Di,Runtime:Oo,Property:Pi};const ib=10485760,ub=104857600,ab=1048576e3;class rb extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:ab,message:f.getMessage("attachmentMaxSize")}}}class lb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Et extends R{constructor(e){var n,i,u,a,r,l,s,o;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.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:ub,this.caption=(s=e==null?void 0:e.caption)!=null?s:_t.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=rb,Et.RuntimeRules=lb;class _t extends P{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}_t.controlEventKeys=["on_change"],_t.controlFieldType=g.FILE,_t.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 Va extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=g.FILE;var Mo={Designer:_t,Runtime:Va,Property:Et};const No=class extends _t{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:No.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ha=No;Ha.controlFieldType=g.IMAGE,Ha.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-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ob extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class cb extends Et{constructor(e){super(e)}}var Lo={Designer:Ha,Runtime:ob,Property:cb};class sb extends st{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class db extends V{constructor(e){super(e),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:[Pn(Ae({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class un extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,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.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Wy(e==null?void 0:e.dataBind),this.datasourceBind=new Z((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Au({value:"name"})]}),this.defaultValue=new Ky((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:kn.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.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=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}un.Rules=sb,un.RuntimeRules=db;class an extends P{constructor(e){super(e),this.props=new un(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}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=g.MONEY,an.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 $o extends x{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"amount"}}$o.controlFieldType=g.MONEY;var Vo={Designer:an,Runtime:$o,Property:un};class fb extends Y{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class hb extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class rn extends R{constructor(e){var n,i,u,a,r,l,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:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new li(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new li),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}rn.Rules=fb,rn.RuntimeRules=hb;class ln extends P{constructor(e){super(e),this.props=new rn(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 li);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=g.DECIMAL,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:"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 Ho extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ho.controlFieldType=g.DECIMAL;var qo={Designer:ln,Runtime:Ho,Property:rn};class yb extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class xi extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.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 Xy((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}xi.RuntimeRules=yb;class Fi extends P{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Fi.controlFieldType=g.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new xi(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"}}jo.controlFieldType=g.ADDRESS;var Uo={Designer:Fi,Runtime:jo,Property:xi};class mb extends V{constructor(e){super(e),this[0].type="array"}}class Oi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(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:on.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",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(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}Oi.RuntimeRules=mb;class on extends P{constructor(e){super(e),this.props=new Oi(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}}on.controlName="\u90E8\u95E8",on.controlFieldType=g.DEPARTMENTS,on.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-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 Wo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department"}}Wo.controlFieldType=g.DEPARTMENTS;var Ko={Designer:on,Runtime:Wo,Property:Oi};class qa extends R{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:cn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class cn extends P{constructor(e){super(e),this.props=new qa(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"}}cn.controlEventKeys=["on_change"],cn.controlFieldType=g.AUTO_NUMBER,cn.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 zo extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}zo.controlFieldType=g.AUTO_NUMBER;var Go={Designer:cn,Runtime:zo,Property:qa};class vb extends Y{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 gb extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,s;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 Qy(e==null?void 0:e.dataBind),this.defaultValue=new Jy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:dn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}sn.Rules=vb,sn.RuntimeRules=gb;class dn extends P{constructor(e){super(e),this.props=new sn(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}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.CALC,dn.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:"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 Xo extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Xo.controlFieldType=g.CALC;var Qo={Designer:dn,Runtime:Xo,Property:sn};class bb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ki extends R{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Mi.controlName}}ki.RuntimeRules=bb;class Mi extends P{constructor(e){super(e),this.props=new ki(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"}}Mi.controlFieldType=g.DECIMAL_RANGE,Mi.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 Jo extends x{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Jo.controlFieldType=g.DECIMAL_RANGE;var Zo={Designer:Mi,Runtime:Jo,Property:ki};class Eb extends V{constructor(e){super(e),this[0].type="array",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 R{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Te.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Li.controlName,this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(b=>new ri(b)))!=null?v:[]}}Ni.RuntimeRules=Eb;class Li extends P{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"}}Li.controlFieldType=g.ARRAY,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"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:"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 x{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Yo.controlFieldType=g.ARRAY;var po={Designer:Li,Runtime:Yo,Property:Ni};class _b extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class Cb extends V{constructor(e){super(e),this[0].type="any"}}class fn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}fn.Rules=_b,fn.RuntimeRules=Cb;class hn extends P{constructor(e){super(e),this.props=new fn(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"}}hn.controlFieldType=g.ANY,hn.controlEventKeys=[],hn.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 ec extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ec.controlFieldType=g.ANY;var tc={Designer:hn,Runtime:ec,Property:fn};class wb extends st{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class $i extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:yn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(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"}}$i.Rules=wb;class yn extends P{constructor(e){super(e),this.props=new $i(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"}}yn.controlFieldType=g.VARCHAR,yn.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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],yn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class nc extends x{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}nc.controlFieldType=g.VARCHAR;var ic={Designer:yn,Runtime:nc,Property:$i};class ja extends gt{constructor(e){super(e)}}class uc extends bt{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}uc.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 ac extends x{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ac.controlFieldType=g.VARCHAR;var rc={Designer:uc,Runtime:ac,Property:ja};class Ib extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Sb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B,D;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=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l: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=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new Ur((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new Ur((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(B=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(F=>new ae(F)))!=null?B:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}mn.Rules=Ib,mn.RuntimeRules=Sb;class Me extends P{constructor(e){super(e),this.props=new mn(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=g.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 lc extends x{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"tree"}}lc.controlFieldType=g.ARRAY;var oc={Designer:Me,Runtime:lc,Property:mn};class Ab extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,Ct.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Tb extends V{constructor(e){super(e),this[0].type="array"}}class vn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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:Pa.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Da.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:ke.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}vn.Rules=Ab,vn.RuntimeRules=Tb;class Ct extends P{constructor(e){super(e),this.props=new vn(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=g.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 cc extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}cc.controlFieldType=g.EMPLOYEES;var sc={Designer:Ct,Runtime:cc,Property:vn};class Bb extends Y{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,r,l){if(i.type==="public"&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Vi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.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=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ll(e==null?void 0:e.signatureConfig)}}Vi.Rules=Bb;class gn extends P{constructor(e){super(e),this.props=new Vi(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"}}gn.controlEventKeys=["on_click","on_click_finish"],gn.controlFieldType=g.VARCHAR,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.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 dc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}dc.controlFieldType=g.VARCHAR;var fc={Designer:gn,Runtime:dc,Property:Vi};class Rb extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Pb extends V{constructor(e){super(e),this[0].type="array"}}class bn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!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:ib,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new $l(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}bn.Rules=Rb,bn.RuntimeRules=Pb;class En extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=g.FILE,En.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 hc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"wps"}}hc.controlFieldType=g.FILE;var yc={Designer:En,Runtime:hc,Property:bn};class Db extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,We.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class xb extends V{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(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:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new On((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var _;(_=this.multistageFilling)==null||_.push(new ae(m))}))}}_n.Rules=Db,_n.RuntimeRules=xb;class We extends P{constructor(e){super(e),this.props=new _n(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}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.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 mc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"department2"}}mc.controlFieldType=g.DEPARTMENTS;var vc={Designer:We,Runtime:mc,Property:_n};class Fb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ob extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B;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 Iu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(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:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new jy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),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(D=>{var F;(F=this.multistageFilling)==null||F.push(new ae(D))}))}}Cn.Rules=Fb,Cn.RuntimeRules=Ob;class Ke extends P{constructor(e){super(e),this.props=new Cn(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}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.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 gc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}gc.controlFieldType=g.DEPARTMENTS;var bc={Designer:Ke,Runtime:gc,Property:Cn},kb=Object.freeze({__proto__:null,Input:yo,Checkbox:vo,Radio:bo,Number:_o,DatePicker:wo,DateRange:So,Textarea:To,RichText:Ro,Select:Do,SelectMultiple:Fo,Employee:ko,Image:Lo,Attachment:Mo,Amount:Vo,Score:qo,Address:Uo,Department:Ko,AutoNumber:Go,Calc:Qo,SearchNumberRange:Zo,SearchDateRange:po,VueFormItem:tc,SelectRelation:ic,SearchInput:rc,Tree:oc,Employee2:sc,ElectronicSignature:fc,WPS:yc,Department2:vc,OrganizationSelection:bc});class Ec extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ec.excludes=[C.GRID];class Mb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var _c={Designer:Ec,Runtime:Mb,Property:q};const Nb=24;class ze extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Nb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends K{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],wn.childrenMaxLength=1;class Ua extends Q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Cc={Designer:wn,Runtime:Ua,Property:ze};class Hi extends q{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class qi extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}qi.excludes=[C.ROW],qi.setting=[{key:"col-setting",visible:!0}];class wc extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ic={Designer:qi,Runtime:wc,Property:Hi};const Lb=4;class ji extends qi{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)}}ji.excludes=[C.GRID_ROW],ji.setting=[],ji.childrenMaxLength=Lb;class $b extends wc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Vb extends Hi{constructor(e){super(e)}}var Sc={Designer:ji,Runtime:$b,Property:Vb};class Hb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ui extends q{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"}}Ui.Rules=Hb;class Wa extends K{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Wa.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}],Wa.excludes=[C.CARD_GROUP];class qb extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ac={Designer:Wa,Runtime:qb,Property:Ui};class jb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wi extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new ky(e==null?void 0:e.metaAutoWidth)}}Wi.Rules=jb;class me extends K{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],me.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 Tc extends Q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Tc.controlType="subtable-column";var Bc={Designer:me,Runtime:Tc,Property:Wi};class Ka extends q{constructor(e){super(e)}}class Ge extends K{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Ub extends Q{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Rc={Designer:Ge,Runtime:Ub,Property:Ka};class za extends q{constructor(e){var n,i,u,a,r,l,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=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Z(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:Te.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends K{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Pc extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Pc.controlType="gridtable-column";var Dc={Designer:Xe,Runtime:Pc,Property:za};class Ga extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Wb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ki extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Ki.Rules=Wb;class In extends K{constructor(e){super(e),this.props=new Ki(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=[C.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 Kb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var xc={Designer:In,Runtime:Kb,Property:Ki};class Sn extends K{constructor(e){var n;super(e),this.props=new Ga(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=[C.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class zb extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Fc={Designer:Sn,Runtime:zb,Property:Ga};class Oc extends q{constructor(e){super(e)}}class kc extends K{constructor(e){super(e),this.props=new Oc({}),this.children=(e==null?void 0:e.children)||[new wn({props:new ze({span:12})}),new wn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}kc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Gb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ua({props:new ze({span:12})}),new Ua({props:new ze({span:12})})]}}var Mc={Designer:kc,Runtime:Gb,Property:Oc};class Xb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Qb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),ju.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 q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Vy(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(v=e==null?void 0:e.isAllLoaded)!=null?v:!0,this.countType=e==null?void 0:e.countType}}An.Rules=Qb,An.RuntimeRules=Xb;class zi extends K{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"}}zi.excludes=[C.ROW],zi.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"],zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class Jb extends Q{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Nc={Designer:zi,Runtime:Jb,Property:An};class Zb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gi extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Re((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Re((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Re(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Gi.RuntimeRules=Zb;class Lc extends K{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Lc.excludes=[];class Yb extends Q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var $c={Designer:Lc,Runtime:Yb,Property:Gi};class pb extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class eE extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class tE extends q{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 Vc={Designer:pb,Runtime:eE,Property:tE};class nE extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class iE extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uE extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ql(e==null?void 0:e.flexConfig)}}var Hc={Designer:nE,Runtime:iE,Property:uE};class aE extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class rE extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class lE extends q{constructor(e){super(e)}}var qc={Designer:aE,Runtime:rE,Property:lE};class oE extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class cE extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class sE extends q{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 jc={Designer:oE,Runtime:cE,Property:sE},dE=Object.freeze({__proto__:null,Grid:_c,Col:Cc,Row:Ic,GridRow:Sc,CardGroup:Ac,SubTableColumn:Bc,SubTableRow:Rc,GridTableColumn:Dc,Tab:Fc,TabPane:xc,Toolbox:Mc,ListView:Nc,DataView:$c,Page:Vc,AdvancedContainer:Hc,PositioningContainer:qc,Position:jc});class fE extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class hE extends qe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Tn extends Jn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B,D,F,ce,O,se,Bn,Ie,ru,Rn,wt,Se;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Xi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:Vl,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(w=n==null?void 0:n.maxRows)!=null?w:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new Z(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(_=n==null?void 0:n.canEdit)!=null?_:!1,this.canImport=(B=n==null?void 0:n.canImport)!=null?B:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(O=n==null?void 0:n.isShowCaptionTip)!=null?O:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Bn=n==null?void 0:n.mobileShowType)!=null?Bn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(ru=n==null?void 0:n.dataStorageDoc)!=null?ru:new My,this.fixedColumn=(Rn=n==null?void 0:n.fixedColumn)!=null?Rn:[],this.mobileRowCaption=(wt=n==null?void 0:n.mobileRowCaption)!=null?wt:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1}}Tn.Rules=fE,Tn.RuntimeRules=hE;class Xi extends ua{constructor(e){var n;super(e),this.props=new Tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new me,new me,new me])}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 me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.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]},{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:"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 yE extends Sl{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 Uc={Designer:Xi,Runtime:yE,Property:Tn};class Xa extends Jn{constructor(e,n){var i,u,a,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=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class mE extends Ce{constructor(e){super(e),this.caption.required=!1}}class Qi extends z{constructor(e){var n,i,u,a,r,l,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:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Qi.Rules=mE;class Qe extends ee{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Qa extends te{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qa.controlType="order-column",Qa.controlFieldType=g.DECIMAL;var Wc={Designer:Qe,Runtime:Qa,Property:Qi};class Ja extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:we.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class we extends ee{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ci.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Pn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Er(this,null,function*(){return yield br(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 Za extends te{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Za.controlType="operation-column",Za.controlFieldType=g.FILE;var Kc={Designer:we,Runtime:Za,Property:Ja};class Ji extends ua{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new we])}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 Pn(Ae({},e),{children:n})}validate(e,n){return Er(this,null,function*(){return yield br(Ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ji.setting=[{key:"list-fixed-header",visible:!0}];class vE extends Sl{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var zc={Designer:Ji,Runtime:vE,Property:Xa},gE=Object.freeze({__proto__:null,SubTable:Uc,GridTable:zc});class bE extends Al{constructor(e){super(e),Ue.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Zi.Rules=bE;class Je extends ee{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ya extends te{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ya.controlType="varchar-column",Ya.controlFieldType=g.VARCHAR;var Gc={Designer:Je,Runtime:Ya,Property:Zi};class EE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class Yi extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}Yi.Rules=EE;class Ze extends ee{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class pa extends te{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}pa.controlType="text-column",pa.controlFieldType=g.TEXT;var Xc={Designer:Ze,Runtime:pa,Property:Yi};class _E extends Ce{constructor(e){super(e),Ue.call(this,e)}}class pi extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}pi.Rules=_E;class Ye extends ee{constructor(e){super(e),this.props=new pi(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}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class er extends te{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}er.controlType="decimal-column",er.controlFieldType=g.DECIMAL;var Qc={Designer:Ye,Runtime:er,Property:pi};class CE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}eu.Rules=CE;class pe extends ee{constructor(e){super(e),this.props=new eu(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}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class tr extends te{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}tr.controlType="timescope-column",tr.controlFieldType=g.TIMESCOPE;var Jc={Designer:pe,Runtime:tr,Property:eu};class wE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class tu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}tu.Rules=wE;class et extends ee{constructor(e){super(e),this.props=new tu(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}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class nr extends te{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}nr.controlType="timestamp-column",nr.controlFieldType=g.TIMESTAMP;var Zc={Designer:et,Runtime:nr,Property:tu};class IE extends Al{constructor(e){super(e)}}class nu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}])}}nu.Rules=IE;class tt extends ee{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.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-sort",visible:!0}];class ir extends te{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ir.controlType="array-column",ir.controlFieldType=g.ARRAY;var Yc={Designer:tt,Runtime:ir,Property:nu};class ur extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends ee{constructor(e){super(e),this.props=new ur(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}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ar extends te{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="department-column",ar.controlFieldType=g.DEPARTMENTS;var pc={Designer:nt,Runtime:ar,Property:ur};class SE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class iu extends z{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 Ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=SE;class it extends ee{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class rr extends te{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}rr.controlType="auto-number-column",rr.controlFieldType=g.AUTO_NUMBER;var es={Designer:it,Runtime:rr,Property:iu};class lr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends ee{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.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-sort",visible:!0}];class or extends te{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}or.controlType="file-column",or.controlFieldType=g.FILE;var ts={Designer:ut,Runtime:or,Property:lr};class cr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends ee{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.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-sort",visible:!0}];class sr extends te{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="image-column",sr.controlFieldType=g.IMAGE;var ns={Designer:at,Runtime:sr,Property:cr};class dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends ee{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.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-sort",visible:!0}];class fr extends te{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="people-column",fr.controlFieldType=g.EMPLOYEES;var is={Designer:rt,Runtime:fr,Property:dr};class AE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class uu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}uu.Rules=AE;class lt extends ee{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hr extends te{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}hr.controlType="location-column",hr.controlFieldType=g.ADDRESS;var us={Designer:lt,Runtime:hr,Property:uu};class yr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const TE=1;class Ne extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=Be(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}toSchema(){const e=super.toSchema();return Pn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}Ne.controlType="custom-column",Ne.controlName="\u81EA\u5B9A\u4E49",Ne.controlIcon="custom-column",Ne.excludes=[],Ne.childrenMaxLength=TE,Ne.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}];class as extends te{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}as.controlType="custom-column";var rs={Designer:Ne,Runtime:as,Property:yr};class mr extends z{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 ee{constructor(e){super(e),this.props=new mr(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=g.EMPLOYEES,Le.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-sort",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="employee-column",vr.controlFieldType=g.EMPLOYEES;var ls={Designer:Le,Runtime:vr,Property:mr},BE=Object.freeze({__proto__:null,VarcharColumn:Gc,TextColumn:Xc,DecimalColumn:Qc,TimescopeColumn:Jc,TimestampColumn:Zc,ArrayColumn:Yc,DepartmentColumn:pc,AutoNumberColumn:es,FileColumn:ts,ImageColumn:ns,PeopleColumn:is,LocationColumn:us,CustomColumn:rs,OrderColumn:Wc,OperationColumn:Kc,EmployeeColumn:ls});class RE extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au extends va{constructor(e){var n,i,u,a,r,l,s,o;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 Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(d=>new Re(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}au.RuntimeRules=RE;class gr extends Zg{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}gr.controlType="simple-search",gr.setting=[{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 os extends u0{constructor(e){var n;super(e),this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}os.controlType="simple-search";var cs={Designer:gr,Runtime:os,Property:au},PE=Object.freeze({__proto__:null,SimpleSearch:cs});y.Address=Uo,y.AdvancedContainer=Hc,y.Amount=Vo,y.ArrayColumn=Yc,y.AssignType=ke,y.Attachment=Mo,y.AutoNumber=Go,y.AutoNumberColumn=es,y.BatchDeleteButton=fo,y.BatchPrintListButton=oo,y.BatchPrintRecordListButton=co,y.BatchSubmissionListButton=Gl,y.Button=kl,y.Calc=Qo,y.CardGroup=Ac,y.Checkbox=vo,y.Col=Cc,y.CreateFormListButton=zl,y.CustomColumn=rs,y.DATE_CONFIG_TYPE=Ml,y.DATE_LIMIT_TYPE=Nl,y.Dashboard=io,y.DataView=$c,y.DatePicker=wo,y.DateRange=So,y.DecimalColumn=Qc,y.Department=Ko,y.Department2=vc,y.DepartmentColumn=pc,y.DepartmentType=oi,y.Divider=Wl,y.ElectronicSignature=fc,y.ElectronicSignatureConfig=Ll,y.Employee=ko,y.Employee2=sc,y.EmployeeColumn=ls,y.EncryptTypeEnum=jl,y.Explain=li,y.ExportListButton=Ql,y.ExportRecordListButton=Jl,y.ExportTemplate=Ba,y.FileColumn=ts,y.FlexStyleConfig=ql,y.FormSelectButton=Yl,y.Grid=_c,y.GridRow=Sc,y.GridTable=zc,y.GridTableColumn=Dc,y.Image=Lo,y.ImageColumn=ns,y.ImportRecordListButton=Zl,y.Input=yo,y.InternalType=Da,y.InvoiceCheckButton=lo,y.LINE_STYLE=Aa,y.LimitDate=ri,y.Link=Ol,y.ListSelectButton=pl,y.ListView=Nc,y.ListViewSelect=ao,y.LocationColumn=us,y.Number=_o,y.OperationButton=so,y.OperationColumn=Kc,y.OrderColumn=Wc,y.OrganizationSelection=bc,y.OrganizeType=Pa,y.Page=Vc,y.Pagination=to,y.PeopleColumn=is,y.Position=jc,y.PositioningContainer=qc,y.PrintTemplate=Hl,y.Radio=bo,y.RichText=Ro,y.Row=Ic,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Vl,y.Score=qo,y.SearchDateRange=po,y.SearchInput=rc,y.SearchNumberRange=Zo,y.Select=Do,y.SelectMultiple=Fo,y.SelectRelation=ic,y.SimpleSearch=cs,y.SubTable=Uc,y.SubTableColumn=Bc,y.SubTableRow=Rc,y.SubmissionRecordListButton=Xl,y.Tab=Fc,y.TabPane=xc,y.Text=Fl,y.TextColumn=Xc,y.TextOcrButton=ro,y.Textarea=To,y.TimescopeColumn=Jc,y.TimestampColumn=Zc,y.Title=Kl,y.TitleConfigEnum=Oe,y.Toolbox=Mc,y.Tree=oc,y.UndersignedPerson=Ta,y.VarcharColumn=Gc,y.VueFormItem=tc,y.WPS=yc,y.WPSSetting=$l,y.WpsOperationItem=Ra,y.baseControls=H0,y.columnControls=BE,y.formControls=kb,y.initExpression=kt,y.layoutControls=dE,y.listControls=gE,y.searchControls=PE,Object.defineProperty(y,"__esModule",{value:!0})});