@byteluck-fe/model-driven-controls 2.22.2-beta.6 → 2.22.2-beta.8

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 (449) hide show
  1. package/README.md +99 -99
  2. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -7
  3. package/dist/esm/baseControls/Button/property.js +32 -32
  4. package/dist/esm/baseControls/ImportRecordListButton/property.js +2 -2
  5. package/dist/esm/baseControls/ListSelectButton/property.js +15 -15
  6. package/dist/esm/baseControls/Text/property.js +2 -1
  7. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -11
  8. package/dist/esm/columnControls/ArrayColumn/property.js +25 -25
  9. package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -9
  10. package/dist/esm/columnControls/CustomColumn/property.js +3 -3
  11. package/dist/esm/columnControls/DecimalColumn/property.js +32 -32
  12. package/dist/esm/columnControls/DepartmentColumn/property.js +7 -7
  13. package/dist/esm/columnControls/EmployeeColumn/property.js +6 -6
  14. package/dist/esm/columnControls/FileColumn/designer.js +6 -6
  15. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  16. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  17. package/dist/esm/columnControls/LocationColumn/property.js +9 -9
  18. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  19. package/dist/esm/columnControls/OrderColumn/property.js +3 -3
  20. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  21. package/dist/esm/columnControls/TextColumn/property.js +17 -17
  22. package/dist/esm/columnControls/TimescopeColumn/property.js +13 -13
  23. package/dist/esm/columnControls/TimestampColumn/property.js +13 -13
  24. package/dist/esm/columnControls/VarcharColumn/property.js +24 -24
  25. package/dist/esm/formControls/Address/property.js +11 -11
  26. package/dist/esm/formControls/Amount/property.js +34 -34
  27. package/dist/esm/formControls/Attachment/property.js +8 -8
  28. package/dist/esm/formControls/Calc/property.js +25 -25
  29. package/dist/esm/formControls/DateRange/property.js +45 -45
  30. package/dist/esm/formControls/Department/property.js +18 -18
  31. package/dist/esm/formControls/Department2/property.js +22 -22
  32. package/dist/esm/formControls/Employee/property.js +2 -2
  33. package/dist/esm/formControls/Employee2/property.js +2 -2
  34. package/dist/esm/formControls/Image/designer.js +6 -6
  35. package/dist/esm/formControls/Image/property.js +6 -6
  36. package/dist/esm/formControls/Input/property.js +26 -26
  37. package/dist/esm/formControls/Number/property.js +50 -50
  38. package/dist/esm/formControls/OrganizationSelection/designer.js +6 -1
  39. package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
  40. package/dist/esm/formControls/Select/property.js +12 -12
  41. package/dist/esm/formControls/SelectMultiple/property.js +12 -12
  42. package/dist/esm/formControls/SelectRelation/property.js +41 -41
  43. package/dist/esm/formControls/Textarea/property.js +19 -19
  44. package/dist/esm/formControls/WPS/designer.js +7 -7
  45. package/dist/esm/framework.js +26 -26
  46. package/dist/esm/index.js +6 -6
  47. package/dist/esm/layoutControls/CardGroup/property.js +5 -5
  48. package/dist/esm/layoutControls/DataView/property.js +12 -12
  49. package/dist/esm/layoutControls/ListView/property.js +66 -66
  50. package/dist/esm/layoutControls/Page/property.js +4 -4
  51. package/dist/esm/layoutControls/SubTableColumn/property.js +13 -13
  52. package/dist/esm/listControls/GridTable/property.js +29 -29
  53. package/dist/esm/listControls/SubTable/property.js +113 -113
  54. package/dist/esm/searchControls/SimpleSearch/property.js +45 -45
  55. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +8 -7
  56. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +6 -6
  57. package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
  58. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +6 -6
  59. package/dist/index.umd.js +26 -26
  60. package/dist/types/api-doc-index.d.ts +90 -90
  61. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
  62. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  63. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  64. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  65. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
  66. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  67. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  68. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  69. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
  70. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  71. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  72. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  73. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
  74. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  75. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  76. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  77. package/dist/types/baseControls/Button/designer.d.ts +14 -14
  78. package/dist/types/baseControls/Button/index.d.ts +12 -12
  79. package/dist/types/baseControls/Button/property.d.ts +55 -55
  80. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  81. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
  82. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  83. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  84. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  85. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  86. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  87. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  88. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  89. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  90. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  91. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  92. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  93. package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
  94. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  95. package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
  96. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  97. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
  98. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  99. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  100. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  101. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  102. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  103. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  104. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  105. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
  106. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  107. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
  108. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  109. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  110. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  111. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  112. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  113. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  114. package/dist/types/baseControls/Link/index.d.ts +12 -12
  115. package/dist/types/baseControls/Link/property.d.ts +9 -9
  116. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  117. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  118. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  119. package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
  120. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  121. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  122. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  123. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  124. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  125. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  126. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  127. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  128. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  129. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  130. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  131. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  132. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  133. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
  134. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  135. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  136. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  137. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  138. package/dist/types/baseControls/Text/index.d.ts +12 -12
  139. package/dist/types/baseControls/Text/property.d.ts +12 -12
  140. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  141. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  142. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  143. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  144. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  145. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  146. package/dist/types/baseControls/Title/index.d.ts +12 -12
  147. package/dist/types/baseControls/Title/property.d.ts +19 -19
  148. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  149. package/dist/types/baseControls/index.d.ts +22 -22
  150. package/dist/types/baseControls/utils.d.ts +2 -2
  151. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
  152. package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
  153. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
  154. package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
  155. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  156. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  157. package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
  158. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  159. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  160. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  161. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  162. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  163. package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
  164. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  165. package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
  166. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  167. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  168. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  169. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  170. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  171. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  172. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  173. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  174. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  175. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  176. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  177. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  178. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  179. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  180. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  181. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  182. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  183. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  184. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  185. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  186. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  187. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  188. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  189. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  190. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  191. package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
  192. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  193. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  194. package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
  195. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  196. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  197. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  198. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  199. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  200. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  201. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  202. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  203. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  204. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  205. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  206. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  207. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  208. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  209. package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
  210. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  211. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  212. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  213. package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
  214. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  215. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  216. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  217. package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
  218. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  219. package/dist/types/columnControls/index.d.ts +17 -17
  220. package/dist/types/formControls/Address/designer.d.ts +14 -14
  221. package/dist/types/formControls/Address/index.d.ts +12 -12
  222. package/dist/types/formControls/Address/property.d.ts +28 -28
  223. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  224. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  225. package/dist/types/formControls/Amount/index.d.ts +12 -12
  226. package/dist/types/formControls/Amount/property.d.ts +76 -76
  227. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  228. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  229. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  230. package/dist/types/formControls/Attachment/property.d.ts +31 -31
  231. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  232. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  233. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  234. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  235. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  236. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  237. package/dist/types/formControls/Calc/index.d.ts +12 -12
  238. package/dist/types/formControls/Calc/property.d.ts +58 -58
  239. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  240. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  241. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  242. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  243. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  244. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  245. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  246. package/dist/types/formControls/DatePicker/property.d.ts +16 -16
  247. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  248. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  249. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  250. package/dist/types/formControls/DateRange/property.d.ts +80 -80
  251. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  252. package/dist/types/formControls/Department/designer.d.ts +15 -15
  253. package/dist/types/formControls/Department/index.d.ts +12 -12
  254. package/dist/types/formControls/Department/property.d.ts +47 -47
  255. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  256. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  257. package/dist/types/formControls/Department2/index.d.ts +12 -12
  258. package/dist/types/formControls/Department2/property.d.ts +64 -64
  259. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  260. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  261. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  262. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  263. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  264. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  265. package/dist/types/formControls/Employee/index.d.ts +12 -12
  266. package/dist/types/formControls/Employee/property.d.ts +21 -21
  267. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  268. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  269. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  270. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  271. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  272. package/dist/types/formControls/Image/designer.d.ts +13 -13
  273. package/dist/types/formControls/Image/index.d.ts +12 -12
  274. package/dist/types/formControls/Image/property.d.ts +6 -6
  275. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  276. package/dist/types/formControls/Input/designer.d.ts +15 -15
  277. package/dist/types/formControls/Input/index.d.ts +12 -12
  278. package/dist/types/formControls/Input/property.d.ts +57 -57
  279. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  280. package/dist/types/formControls/Number/designer.d.ts +16 -16
  281. package/dist/types/formControls/Number/index.d.ts +12 -12
  282. package/dist/types/formControls/Number/property.d.ts +92 -92
  283. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  284. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  285. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  286. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  287. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  288. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  289. package/dist/types/formControls/Radio/index.d.ts +12 -12
  290. package/dist/types/formControls/Radio/property.d.ts +22 -22
  291. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  292. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  293. package/dist/types/formControls/RichText/index.d.ts +12 -12
  294. package/dist/types/formControls/RichText/property.d.ts +21 -21
  295. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  296. package/dist/types/formControls/Score/designer.d.ts +16 -16
  297. package/dist/types/formControls/Score/index.d.ts +12 -12
  298. package/dist/types/formControls/Score/property.d.ts +23 -23
  299. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  300. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  301. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  302. package/dist/types/formControls/SearchDateRange/property.d.ts +22 -22
  303. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  304. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  305. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  306. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  307. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  308. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  309. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  310. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  311. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  312. package/dist/types/formControls/Select/designer.d.ts +14 -14
  313. package/dist/types/formControls/Select/index.d.ts +12 -12
  314. package/dist/types/formControls/Select/property.d.ts +37 -37
  315. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  316. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  317. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  318. package/dist/types/formControls/SelectMultiple/property.d.ts +40 -40
  319. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  320. package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
  321. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  322. package/dist/types/formControls/SelectRelation/property.d.ts +79 -79
  323. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  324. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  325. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  326. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  327. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  328. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  329. package/dist/types/formControls/Tree/index.d.ts +12 -12
  330. package/dist/types/formControls/Tree/property.d.ts +34 -34
  331. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  332. package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
  333. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  334. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  335. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  336. package/dist/types/formControls/VuePage/designer.d.ts +15 -15
  337. package/dist/types/formControls/VuePage/index.d.ts +12 -12
  338. package/dist/types/formControls/VuePage/property.d.ts +18 -18
  339. package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
  340. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  341. package/dist/types/formControls/WPS/index.d.ts +12 -12
  342. package/dist/types/formControls/WPS/property.d.ts +32 -32
  343. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  344. package/dist/types/formControls/index.d.ts +31 -31
  345. package/dist/types/framework.d.ts +205 -205
  346. package/dist/types/index.d.ts +17 -17
  347. package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
  348. package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
  349. package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
  350. package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
  351. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  352. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  353. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  354. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  355. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  356. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  357. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  358. package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
  359. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  360. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  361. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  362. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  363. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  364. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  365. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  366. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  367. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  368. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  369. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  370. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  371. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  372. package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
  373. package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
  374. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
  375. package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
  376. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  377. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  378. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  379. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  380. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  381. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  382. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  383. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  384. package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
  385. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  386. package/dist/types/layoutControls/ListView/property.d.ts +128 -128
  387. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  388. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  389. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  390. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  391. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  392. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  393. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  394. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  395. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  396. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  397. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  398. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  399. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  400. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  401. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  402. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  403. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  404. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  405. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  406. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  407. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  408. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  409. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  410. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  411. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  412. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  413. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  414. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  415. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  416. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  417. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  418. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  419. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  420. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  421. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  422. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  423. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  424. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  425. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  426. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  427. package/dist/types/layoutControls/index.d.ts +19 -19
  428. package/dist/types/listControls/GridTable/designer.d.ts +26 -26
  429. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  430. package/dist/types/listControls/GridTable/property.d.ts +45 -45
  431. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  432. package/dist/types/listControls/SubTable/designer.d.ts +27 -27
  433. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  434. package/dist/types/listControls/SubTable/property.d.ts +211 -211
  435. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  436. package/dist/types/listControls/index.d.ts +2 -2
  437. package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
  438. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  439. package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
  440. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  441. package/dist/types/searchControls/index.d.ts +1 -1
  442. package/dist/types/type.d.ts +115 -115
  443. package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
  444. package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
  445. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
  446. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
  447. package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
  448. package/dist/types/wrapControls/index.d.ts +1 -1
  449. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1,45 +1,45 @@
1
- var WR=Object.defineProperty,qR=Object.defineProperties;var KR=Object.getOwnPropertyDescriptors;var h_=Object.getOwnPropertySymbols,GR=Object.getPrototypeOf,XR=Object.prototype.hasOwnProperty,zR=Object.prototype.propertyIsEnumerable,JR=Reflect.get;var m_=(T,he,Ee)=>he in T?WR(T,he,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):T[he]=Ee,Bt=(T,he)=>{for(var Ee in he||(he={}))XR.call(he,Ee)&&m_(T,Ee,he[Ee]);if(h_)for(var Ee of h_(he))zR.call(he,Ee)&&m_(T,Ee,he[Ee]);return T},ha=(T,he)=>qR(T,KR(he));var Wc=(T,he,Ee)=>JR(GR(T),Ee,he);var Zn=(T,he,Ee)=>new Promise((ji,ma)=>{var Vt=_t=>{try{V(Ee.next(_t))}catch(D){ma(D)}},ya=_t=>{try{V(Ee.throw(_t))}catch(D){ma(D)}},V=_t=>_t.done?ji(_t.value):Promise.resolve(_t.value).then(Vt,ya);V((Ee=Ee.apply(T,he)).next())});(function(T,he){typeof exports=="object"&&typeof module!="undefined"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(T=typeof globalThis!="undefined"?globalThis:T||self,he(T.modelDrivenControls={}))})(this,function(T){"use strict";var he;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(he||(he={}));var Ee;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ee||(Ee={}));var ji,ma=(ji=window.localStorage.getItem("locale"))!==null&&ji!==void 0?ji:"zh-CN",Vt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Vt||(Vt={}));var ya;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(ya||(ya={}));var V;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(V||(V={}));var _t;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(_t||(_t={}));var D;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(D||(D={}));var Ut;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ut||(Ut={}));var qc={DEFAULT:"default"},Kc="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",y_=Kc+"0123456789";function vt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Kc:y_,r=Math.random()*i.length;e+=i[parseInt(String(r),10)]}return e}function Po(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function g_(t){if(Array.isArray(t))return Po(t)}function __(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(t,e,n){return Jc()?ga=Reflect.construct:ga=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),s=new u;return l&&qi(s,l.prototype),s},ga.apply(null,arguments)}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function Xc(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&&qi(t,e)}function v_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function b_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function E_(){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 w_(t,e){return e&&(I_(e)==="object"||typeof e=="function")?e:__(t)}function qi(t,e){return qi=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},qi(t,e)}function zc(t){return g_(t)||b_(t)||T_(t)||E_()}function I_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T_(t,e){if(!!t){if(typeof t=="string")return Po(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 Po(t,e)}}function Ao(t){var e=typeof Map=="function"?new Map:void 0;return Ao=function(i){if(i===null||!v_(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,r)}function r(){return ga(i,arguments,Wi(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qi(r,i)},Ao(t)}function Jc(){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 Qc(t){var e=Jc();return function(){var i=Wi(t),r;if(e){var a=Wi(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return w_(this,r)}}var ko=console;function Do(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=ko).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(zc(r)))}function Zc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=ko).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(zc(r)))}function O_(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Lo=function(t){Xc(n,t);var e=Qc(n);function n(i){Gc(this,n);var r;return r=e.call(this,i),r.name="\u{1F4A5} Driven Error",r.message=i?O_(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(Ao(Error)),S_=function(t){Xc(n,t);var e=Qc(n);function n(i){Gc(this,n);var r;return r=e.call(this,i),r.name="\u{1F6A8} Driven Reference Error",r}return n}(Lo);function Ki(t){throw new Lo(t)}function Yc(t){throw new S_(t)}function C_(t){ko.error(new Lo(t))}/*!
2
- * shared v9.13.1
1
+ var P1=Object.defineProperty,F1=Object.defineProperties;var B1=Object.getOwnPropertyDescriptors;var Cy=Object.getOwnPropertySymbols,L1=Object.getPrototypeOf,k1=Object.prototype.hasOwnProperty,x1=Object.prototype.propertyIsEnumerable,M1=Reflect.get;var wy=(I,ye,Te)=>ye in I?P1(I,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):I[ye]=Te,$t=(I,ye)=>{for(var Te in ye||(ye={}))k1.call(ye,Te)&&wy(I,Te,ye[Te]);if(Cy)for(var Te of Cy(ye))x1.call(ye,Te)&&wy(I,Te,ye[Te]);return I},ma=(I,ye)=>F1(I,B1(ye));var Xc=(I,ye,Te)=>M1(L1(I),Te,ye);var Jn=(I,ye,Te)=>new Promise((Rl,va)=>{var Dl=Ot=>{try{ji(Te.next(Ot))}catch(Wi){va(Wi)}},Nl=Ot=>{try{ji(Te.throw(Ot))}catch(Wi){va(Wi)}},ji=Ot=>Ot.done?Rl(Ot.value):Promise.resolve(Ot.value).then(Dl,Nl);ji((Te=Te.apply(I,ye)).next())});(function(I,ye){typeof exports=="object"&&typeof module!="undefined"?ye(exports):typeof define=="function"&&define.amd?define(["exports"],ye):(I=typeof globalThis!="undefined"?globalThis:I||self,ye(I.modelDrivenControls={}))})(this,function(I){"use strict";var ye="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Te="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",va="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Dl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Nl="{caption}\u5FC5\u586B",ji="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Wi="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Iy="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ty="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Sy="\u8BF7\u7ED1\u5B9A\u8868\u5355",Oy="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ay="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ry="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Dy="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ny="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Py="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",By="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ly="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ky="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",My="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",$y="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Vy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Uy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Hy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",jy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Wy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",qy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Gy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ky="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Xy="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Jy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Qy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Zy="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Yy="\u8BF7\u9009\u62E9\u7701",py="\u8BF7\u9009\u62E9\u5E02",e_="\u8BF7\u9009\u62E9\u533A",t_="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",n_="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",i_="\u8BF7\u8F93\u5165\u5217\u5BBD",r_="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",a_="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",u_="\u8BF7\u9009\u62E9\u63A7\u4EF6",l_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",o_="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",s_="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",c_="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",d_="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",f_="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",h_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",m_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",v_="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",g_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",y_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",__="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",b_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",E_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",C_="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",w_="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",I_="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",T_="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",S_="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",O_="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",A_="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",R_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",D_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",N_="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",P_="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",F_="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",B_="\u6279\u91CF\u5220\u9664",L_="\u6279\u91CF\u6253\u5370",k_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",x_="\u6309\u94AE",M_="\u521B\u5EFA\u5355\u636E",$_="\u4EEA\u8868\u76D8",V_="\u5206\u5272\u7EBF",U_="\u5BFC\u51FA",H_="\u8868\u5355\u64CD\u4F5C",j_="\u5BFC\u5165",W_="\u53D1\u7968\u8BC6\u522B",q_="\u94FE\u63A5",G_="\u5217\u8868\u9009\u62E9",K_="\u5217\u8868\u89C6\u56FE",z_="\u64CD\u4F5C\u6309\u94AE",X_="\u5206\u9875",J_="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Q_="\u8BF4\u660E\u6587\u5B57",Z_="\u6587\u5B57\u8BC6\u522B",Y_="\u6807\u9898\u7EC4\u4EF6",p_="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",e0="\u6570\u7EC4",t0="\u81EA\u52A8\u7F16\u53F7",n0="\u81EA\u5B9A\u4E49",i0="\u6570\u503C",r0="\u90E8\u95E8",a0="\u4EBA\u5458",u0="\u9644\u4EF6",l0="\u56FE\u7247",o0="\u5730\u5740",s0="\u64CD\u4F5C",c0="\u5E8F\u53F7",d0="\u4EBA\u5458",f0="\u957F\u6587\u672C",h0="\u65E5\u671F\u533A\u95F4",m0="\u65E5\u671F",v0="\u77ED\u6587\u672C",g0="\u6362\u884C\u5BB9\u5668Wrap",y0="\u8868\u683C",_0="\u660E\u7EC6\u5B50\u8868",b0="\u5730\u5740",E0="\u91D1\u989D",C0="\u8BA1\u7B97\u516C\u5F0F",w0="\u591A\u9009",I0="\u7535\u5B50\u7B7E\u7AE0",T0="\u5355\u884C\u6587\u672C",S0="\u6570\u5B57",O0="\u4E1A\u52A1\u7EC4\u7EC7",A0="\u5355\u9009",R0="\u5BCC\u6587\u672C",D0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",P0="\u4E0B\u62C9\u5355\u9009",F0="\u4E0B\u62C9\u591A\u9009",B0="\u5173\u8054\u5355\u9009",L0="\u591A\u884C\u6587\u672C",k0="\u6811",x0="Vue\u5BB9\u5668",M0="Vue\u9875\u9762",$0="\u5728\u7EBF\u6587\u6863",V0="\u6309\u94AE\u64CD\u4F5C\u680F",U0="\u9AD8\u7EA7\u5BB9\u5668",H0="\u5206\u7EC4",j0="\u6805\u683C\u5217",W0="\u6570\u636E\u5BB9\u5668",q0="\u753B\u5E03",G0="\u6362\u884C\u5BB9\u5668",K0="\u6805\u683C\u7B49\u5206\u884C",z0="\u5217\u8868\u5BB9\u5668",X0="\u81EA\u7531\u9875\u9762",J0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Q0="\u5B9A\u4F4D\u5BB9\u5668",Z0="\u6805\u683C\u5E03\u5C40",Y0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",p0="\u660E\u7EC6\u5B50\u8868\u884C",eb="\u6807\u7B7E\u9875",tb="\u6807\u7B7E\u5355\u5143",nb="\u5DE5\u5177\u680F",ib="\u6279\u91CF\u63D0\u4EA4",rb="\u5BFC\u51FA\u8BB0\u5F55",ab="\u5217\u8868\u89C6\u56FE",ub="\u7ED3\u675F\u65F6\u95F4",lb="\u5F00\u59CB\u65F6\u95F4",ob="\u5355\u4F4D",sb="\u7ED3\u679C",cb="\u5E01\u79CD",db="\u7ED3\u675F\u65E5\u671F",fb="\u5F00\u59CB\u65E5\u671F",hb="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",mb="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",vb="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",gb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",yb="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",_b="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",bb="\u8BF7\u9009\u62E9",Eb="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Cb="\u8BF7\u9009\u62E9\u90E8\u95E8",wb="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Ib="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Tb="\u8BF7\u9009\u62E9\u5730\u5740",Sb="\u5F39\u7A97\u786E\u8BA4\u65F6",Ob="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Ab="\u884C\u9009\u4E2D\u65F6",Rb="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Db="\u884C\u5220\u9664\u524D",Nb="\u884C\u70B9\u51FB\u65F6",Pb="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Fb="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Bb="\u91CD\u547D\u540D\u65F6",Lb="\u4FDD\u5B58\u6587\u4EF6\u65F6",kb="\u6253\u5F00\u6587\u4EF6\u65F6",xb="\u83B7\u53D6\u7126\u70B9\u65F6",Mb="\u5931\u53BB\u7126\u70B9\u65F6",$b="\u7528\u6237\u8F93\u5165\u65F6",Vb="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ub="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Hb="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",jb="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Wb="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",qb="\u641C\u7D22\u65F6",Gb="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Kb="\u6267\u884C\u5B8C\u6210\u65F6",zb="\u70B9\u51FB\u65F6",Xb="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Jb="\u8BF7\u8F93\u5165\u65E5\u671F",Qb="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Zb="\u8BF7\u8F93\u5165",Yb="\u9ED8\u8BA4\u6A21\u7248",pb="\u5DE6\u53F3\u5E03\u5C40",eE="\u4E0A\u4E0B\u5E03\u5C40",tE="\u53EA\u8BFB",nE="\u5FC5\u586B",iE="\u63D0\u793A\u6587\u5B57",rE="\u9690\u85CF\u6807\u9898",aE="\u6807\u9898\u5FC5\u586B",uE="\u7EC4\u7EC7\u5F62\u6001",lE="\u4E1A\u52A1\u7C7B\u578B",oE="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",sE="\u9690\u85CF",cE="\u6D41\u7A0B\u72B6\u6001",dE="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",fE="\u5220\u9664",hE="\u7F16\u8F91",mE="\u67E5\u770B",vE="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",gE="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",yE="\u5145\u6EE1\u6574\u884C",_E={isNotNumber:ye,isNotString:Te,isNotObject:Rl,isNotArray:va,isNotBoolean:Dl,runtimeRequired:Nl,pleaseEnterCaption:ji,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Wi,pleaseEnterPlaceholder:Iy,pleaseEnterFieldCode:Ty,pleaseEnterForm:Sy,pleaseEnterList:Oy,pleaseEnterProcess:Ay,pleaseEnterLabel:Ry,pleaseEnterValue:Dy,bizKeyNotBindFiled:Ny,pleaseSelectOneField:Py,pleaseEnterNumberRange:Fy,pleaseEnterAValueGreaterThanMin:By,pleaseEnterAValueLessThanMax:Ly,numberRangeSetError:ky,stringRangeError:xy,attachmentMaxSize:My,pleaseEnterTotalScoreSetting:$y,theTotalScoreMustNotBeLessThan1:Vy,scoreDefaultValueRange:Uy,attachmentLimitError:Hy,PleaseReselectTheOptionalQuantity:jy,TheMaximumLengthIsGreaterThanTheMinimumLength:Wy,TheMinimumLengthIsGreaterThanTheMaximumLength:qy,PleaseSelectTheCorrectOptionSettings:Gy,optionIdIsRepeat:Ky,optionIsRequired:zy,pleaseEnterDataCode:Xy,pleaseEnterValueFieldCode:Jy,pleaseEnterSvcCode:Qy,pleaseBindAtLeastOneDisplayValue:Zy,pleaseSelectProvince:Yy,pleaseSelectCity:py,pleaseSelectDistrict:e_,limitRowsCannotBeLessThan0:t_,TheNumberOfRowsCannotBeLessThanMinRows:n_,pleaseEnterColumnWidth:i_,pleaseSetTheLogicalRelationshipOfAllRuleConditions:r_,pleaseCompleteAllRulesAndConditions:a_,pleaseSelectControl:u_,pleaseSelectAtLeastOneColumn:l_,pleaseSelectFillBackMode:o_,pleaseSelectDashboard:s_,rootNodeIsRequired:c_,theViewNameCannotBeEmpty:d_,pleaseSelectOcrType:f_,pleaseSelectAtLeastOneFieldToFillIn:h_,pleaseChooseAtLeastOne:m_,pleaseEnterButtonContent:v_,pleaseEnterDataCodeInDataSetting:g_,pleaseEnterValueFieldCodeInDataSetting:y_,pleaseEnterSvcCodeInDataSetting:__,pleaseBindAtLeastOneDisplayValueInDataSetting:b_,rootNodeIsRequiredInDataSetting:E_,pleaseEnterMaxHeight:C_,pleaseEnterWatermark:w_,pleaseEnterFileName:I_,pleaseUploadAtLeastOnePrintTemplate:T_,pleaseAssignBusiness:S_,pleaseAssignExternal:O_,pleaseEnterAliasCode:A_,pleaseSelectDataCode:R_,pleaseSelectSvcCode:D_,pleaseSelectJoinFieldCode:N_,pleaseSelectMainFieldCode:P_,pleaseSelectSortFieldCode:F_,batchDeleteButton:B_,batchPrintListButton:L_,batchPrintRecordList:k_,button:x_,createFormListButton:M_,dashboard:$_,divider:V_,exportListButton:U_,formSelectButton:H_,importRecordListButton:j_,invoiceCheckButton:W_,link:q_,listSelectButton:G_,ListViewSelect:K_,operationButton:z_,pagination:X_,submissionRecordListButton:J_,text:Q_,textOcrButton:Z_,title:Y_,approvalStatusColumn:p_,array:e0,autoNumber:t0,custom:n0,decimal:i0,department:r0,employee:a0,file:u0,image:l0,location:o0,operation:s0,order:c0,people:d0,long:f0,timescope:h0,timestamp:m0,varchar:v0,gridLayoutWrap:g0,gridTable:y0,subTable:_0,address:b0,amount:E0,calc:C0,checkBox:w0,electronicSignature:I0,input:T0,number:S0,organizationSelection:O0,radio:A0,richText:R0,score:D0,searchNumberRange:N0,select:P0,selectMultiple:F0,selectRelation:B0,textarea:L0,tree:k0,vueFormItem:x0,vuePage:M0,WPS:$0,actionBar:V0,advancedContainer:U0,cardGroup:H0,col:j0,dataView:W0,grid:q0,gridLayoutContainer:G0,gridRow:K0,listView:z0,page:X0,position:J0,positioningContainer:Q0,row:Z0,subtableColumn:Y0,subtableRow:p0,tab:eb,tabPane:tb,toolbox:nb,batchSubmissionListButton:ib,exportRecordListButton:rb,listViewSelect:ab,endTime:ub,startTime:lb,unit:ob,result:sb,currency:cb,endDate:db,startDate:fb,pleaseSelectCompanyName:hb,pleaseSelectPhoneOrEmail:mb,pleaseSelectSignType:vb,pleaseSelectSigner:gb,pleaseSelectOnlyOne:yb,pleaseSelectSignFile:_b,pleaseSelect:bb,pleaseSelectOrg:Eb,pleaseSelectDept:Cb,pleaseSelectEndDate:wb,pleaseSelectStartDate:Ib,pleaseChooseAddress:Tb,modalConfirm:Sb,tabChange:Ob,rowSelected:Ab,listDataImport:Rb,rowDelete:Db,rowClick:Nb,cellRender:Pb,onClickBtn:Fb,rename:Bb,onSaveFile:Lb,onOpenFile:kb,onFocus:xb,onBlur:Mb,onInput:$b,listDataAdd:Vb,listDataDelete:Ub,listDataBack:Hb,listDataCreate:jb,listDataChange:Wb,search:qb,valueChange:Gb,fibished:Kb,click:zb,pleaseEnterNameorEmail:Xb,pleaseEnterDate:Jb,pleaseEnterAutonumber:Qb,pleaseEnter:Zb,defaultTemplate:Yb,left:pb,top:eE,default:"\u666E\u901A",readonly:tE,required:nE,textTip:iE,hideCaption:rE,titleRequired:aE,organizationalForm:uE,businessType:lE,deleteConfirm:oE,hide:sE,processStatus:cE,approvedDocuments:dE,delete:fE,edit:hE,view:mE,loadCtrlErrorTip:vE,loadCtrlError:gE,fullLine:yE},bE="Please enter a number",EE="Please enter a string",CE="Please enter an object",wE="Please enter an array",IE="Please enter a boolean",TE="{caption} Required",SE="Please enter the title",OE="Please enter the bubble prompt",AE="Please enter the row title",RE="Please enter the prompt text",DE="Please bind data items",NE="Please bind the form",PE="Please bind the list",FE="Please bind the process",BE="Please enter the displayed value",LE="Please enter the stored value",kE="The document number is not bound to the data item",xE="Please select at least one display field",ME="Please enter a value greater than or equal to {min} and less than or equal to {max}",$E="Please enter a value greater than or equal to {min}",VE="Please enter a value less than or equal to {max}",UE="The value range is set incorrectly",HE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",jE="The attachment size must be between 0MB and 1000MB",WE="Please fill in the total score setting",qE="The total score cannot be less than 1",GE="The default value must be between {min} and {max}",KE="The number of attachment uploads exceeds the limit",zE="Please re-select the optional quantity",XE="The maximum length of the control must be greater than the minimum length",JE="The minimum length of the control must be less than the maximum length",QE="Please select the correct option setting",ZE="Option ID cannot be repeated",YE="Please enter at least one option",pE="Please bind the data source",eC="Please bind the stored value",tC="Please bind the service",nC="At least one display value must be bound",iC="Please select a province",rC="Please select a city",aC="Please select a district",uC="The minimum number of lines to fill in cannot be less than 0",lC="The number of rows cannot be less than {min} rows",oC="Please enter the column width",sC="Please set the logical relationship of all rule conditions",cC="Please complete all rules and conditions",dC="please select control",fC="Please select the dashboard",hC="View name cannot be empty",mC="Please select recognition type",vC="Please select at least one field to fill in",gC="Please select at least one",yC="Please enter the button title",_C="Please bind the business model in the data settings",bC="Please bind storage values in data settings",EC="Please bind the service in the data settings",CC="Please bind at least one display value in the data settings",wC="Please select the root node in the data settings",IC="Please enter the maximum height",TC="The input content cannot be empty",SC="Watermark cannot be empty",OC="File name cannot be empty",AC="Please upload at least one printing template!\uFF01",RC="Please select a specific business department",DC="Please select a specified external organization",NC="Please enter a sub table alias",PC="Please select the associated table to set the business model",FC="Please select the association table to set the binding service",BC="Select associated sub table fields",LC="Please select the associated main table field",kC="Please select the sort field",xC="\u6279\u91CF\u5220\u9664",MC="\u6279\u91CF\u6253\u5370",$C="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",VC="\u6309\u94AE",UC="\u521B\u5EFA\u5355\u636E",HC="\u4EEA\u8868\u76D8",jC="\u5206\u5272\u7EBF",WC="\u5BFC\u51FA",qC="\u8868\u5355\u64CD\u4F5C",GC="\u5BFC\u5165",KC="\u53D1\u7968\u8BC6\u522B",zC="\u94FE\u63A5",XC="\u5217\u8868\u9009\u62E9",JC="\u5217\u8868\u89C6\u56FE",QC="\u64CD\u4F5C\u6309\u94AE",ZC="\u5206\u9875",YC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",pC="\u8BF4\u660E\u6587\u5B57",ew="\u6587\u5B57\u8BC6\u522B",tw="\u6807\u9898\u7EC4\u4EF6",nw="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",iw="\u6570\u7EC4",rw="\u81EA\u52A8\u7F16\u53F7",aw="\u81EA\u5B9A\u4E49",uw="\u6570\u503C",lw="\u90E8\u95E8",ow="\u4EBA\u5458",sw="\u9644\u4EF6",cw="\u56FE\u7247",dw="\u5730\u5740",fw="\u64CD\u4F5C",hw="\u5E8F\u53F7",mw="\u4EBA\u5458",vw="\u957F\u6587\u672C",gw="\u65E5\u671F\u533A\u95F4",yw="\u65E5\u671F",_w="\u77ED\u6587\u672C",bw="\u6362\u884C\u5BB9\u5668Wrap",Ew="\u8868\u683C",Cw="\u660E\u7EC6\u5B50\u8868",ww="\u5730\u5740",Iw="\u91D1\u989D",Tw="\u8BA1\u7B97\u516C\u5F0F",Sw="\u591A\u9009",Ow="\u7535\u5B50\u7B7E\u7AE0",Aw="\u5355\u884C\u6587\u672C",Rw="\u6570\u5B57",Dw="\u4E1A\u52A1\u7EC4\u7EC7",Nw="\u5355\u9009",Pw="\u5BCC\u6587\u672C",Fw="\u8BC4\u5206",Bw="\u6570\u5B57\u533A\u95F4",Lw="\u4E0B\u62C9\u5355\u9009",kw="\u4E0B\u62C9\u591A\u9009",xw="\u5173\u8054\u5355\u9009",Mw="\u591A\u884C\u6587\u672C",$w="\u6811",Vw="Vue\u5BB9\u5668",Uw="Vue\u9875\u9762",Hw="\u5728\u7EBF\u6587\u6863",jw="\u6309\u94AE\u64CD\u4F5C\u680F",Ww="\u9AD8\u7EA7\u5BB9\u5668",qw="\u5206\u7EC4",Gw="\u6805\u683C\u5217",Kw="\u6570\u636E\u5BB9\u5668",zw="\u753B\u5E03",Xw="\u6362\u884C\u5BB9\u5668",Jw="\u6805\u683C\u7B49\u5206\u884C",Qw="\u5217\u8868\u5BB9\u5668",Zw="\u81EA\u7531\u9875\u9762",Yw="\u5B9A\u4F4D\u5B50\u5BB9\u5668",pw="\u5B9A\u4F4D\u5BB9\u5668",eI="\u6805\u683C\u5E03\u5C40",tI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",nI="\u660E\u7EC6\u5B50\u8868\u884C",iI="\u6807\u7B7E\u9875",rI="\u6807\u7B7E\u5355\u5143",aI="\u5DE5\u5177\u680F",uI="\u6279\u91CF\u63D0\u4EA4",lI="\u5BFC\u51FA\u8BB0\u5F55",oI="\u5217\u8868\u89C6\u56FE",sI={isNotNumber:bE,isNotString:EE,isNotObject:CE,isNotArray:wE,isNotBoolean:IE,runtimeRequired:TE,pleaseEnterCaption:SE,pleaseEnterCaptionTip:OE,pleaseEnterRowCaption:AE,pleaseEnterPlaceholder:RE,pleaseEnterFieldCode:DE,pleaseEnterForm:NE,pleaseEnterList:PE,pleaseEnterProcess:FE,pleaseEnterLabel:BE,pleaseEnterValue:LE,bizKeyNotBindFiled:kE,pleaseSelectOneField:xE,pleaseEnterNumberRange:ME,pleaseEnterAValueGreaterThanMin:$E,pleaseEnterAValueLessThanMax:VE,numberRangeSetError:UE,stringRangeError:HE,attachmentMaxSize:jE,pleaseEnterTotalScoreSetting:WE,theTotalScoreMustNotBeLessThan1:qE,scoreDefaultValueRange:GE,attachmentLimitError:KE,PleaseReselectTheOptionalQuantity:zE,TheMaximumLengthIsGreaterThanTheMinimumLength:XE,TheMinimumLengthIsGreaterThanTheMaximumLength:JE,PleaseSelectTheCorrectOptionSettings:QE,optionIdIsRepeat:ZE,optionIsRequired:YE,pleaseEnterDataCode:pE,pleaseEnterValueFieldCode:eC,pleaseEnterSvcCode:tC,pleaseBindAtLeastOneDisplayValue:nC,pleaseSelectProvince:iC,pleaseSelectCity:rC,pleaseSelectDistrict:aC,limitRowsCannotBeLessThan0:uC,TheNumberOfRowsCannotBeLessThanMinRows:lC,pleaseEnterColumnWidth:oC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sC,pleaseCompleteAllRulesAndConditions:cC,pleaseSelectControl:dC,pleaseSelectDashboard:fC,theViewNameCannotBeEmpty:hC,pleaseSelectOcrType:mC,pleaseSelectAtLeastOneFieldToFillIn:vC,pleaseChooseAtLeastOne:gC,pleaseEnterButtonContent:yC,pleaseEnterDataCodeInDataSetting:_C,pleaseEnterValueFieldCodeInDataSetting:bC,pleaseEnterSvcCodeInDataSetting:EC,pleaseBindAtLeastOneDisplayValueInDataSetting:CC,rootNodeIsRequiredInDataSetting:wC,pleaseEnterMaxHeight:IC,pleaseEnter:TC,pleaseEnterWatermark:SC,pleaseEnterFileName:OC,pleaseUploadAtLeastOnePrintTemplate:AC,pleaseAssignBusiness:RC,pleaseAssignExternal:DC,pleaseEnterAliasCode:NC,pleaseSelectDataCode:PC,pleaseSelectSvcCode:FC,pleaseSelectJoinFieldCode:BC,pleaseSelectMainFieldCode:LC,pleaseSelectSortFieldCode:kC,batchDeleteButton:xC,batchPrintListButton:MC,batchPrintRecordList:$C,button:VC,createFormListButton:UC,dashboard:HC,divider:jC,exportListButton:WC,formSelectButton:qC,importRecordListButton:GC,invoiceCheckButton:KC,link:zC,listSelectButton:XC,ListViewSelect:JC,operationButton:QC,pagination:ZC,submissionRecordListButton:YC,text:pC,textOcrButton:ew,title:tw,approvalStatusColumn:nw,array:iw,autoNumber:rw,custom:aw,decimal:uw,department:lw,employee:ow,file:sw,image:cw,location:dw,operation:fw,order:hw,people:mw,long:vw,timescope:gw,timestamp:yw,varchar:_w,gridLayoutWrap:bw,gridTable:Ew,subTable:Cw,address:ww,amount:Iw,calc:Tw,checkBox:Sw,electronicSignature:Ow,input:Aw,number:Rw,organizationSelection:Dw,radio:Nw,richText:Pw,score:Fw,searchNumberRange:Bw,select:Lw,selectMultiple:kw,selectRelation:xw,textarea:Mw,tree:$w,vueFormItem:Vw,vuePage:Uw,WPS:Hw,actionBar:jw,advancedContainer:Ww,cardGroup:qw,col:Gw,dataView:Kw,grid:zw,gridLayoutContainer:Xw,gridRow:Jw,listView:Qw,page:Zw,position:Yw,positioningContainer:pw,row:eI,subtableColumn:tI,subtableRow:nI,tab:iI,tabPane:rI,toolbox:aI,batchSubmissionListButton:uI,exportRecordListButton:lI,listViewSelect:oI},cI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vI="{caption}\u5FC5\u9808",gI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_I="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",EI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",II="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",SI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",OI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",AI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",NI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",PI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",FI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",LI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",MI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",$I="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VI="\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",UI="\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",HI="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",WI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",XI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",JI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",QI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ZI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eT="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tT="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",nT="please select control",iT="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rT="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aT="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uT="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lT="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oT="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",cT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mT="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vT="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gT="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yT="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_T="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",bT="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ET="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CT="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wT="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",IT="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",TT="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",ST="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",OT="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AT="\u6279\u91CF\u5220\u9664",RT="\u6279\u91CF\u6253\u5370",DT="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",NT="\u6309\u94AE",PT="\u521B\u5EFA\u5355\u636E",FT="\u4EEA\u8868\u76D8",BT="\u5206\u5272\u7EBF",LT="\u5BFC\u51FA",kT="\u8868\u5355\u64CD\u4F5C",xT="\u5BFC\u5165",MT="\u53D1\u7968\u8BC6\u522B",$T="\u94FE\u63A5",VT="\u5217\u8868\u9009\u62E9",UT="\u5217\u8868\u89C6\u56FE",HT="\u64CD\u4F5C\u6309\u94AE",jT="\u5206\u9875",WT="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",qT="\u8BF4\u660E\u6587\u5B57",GT="\u6587\u5B57\u8BC6\u522B",KT="\u6807\u9898\u7EC4\u4EF6",zT="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",XT="\u6570\u7EC4",JT="\u81EA\u52A8\u7F16\u53F7",QT="\u81EA\u5B9A\u4E49",ZT="\u6570\u503C",YT="\u90E8\u95E8",pT="\u4EBA\u5458",eS="\u9644\u4EF6",tS="\u56FE\u7247",nS="\u5730\u5740",iS="\u64CD\u4F5C",rS="\u5E8F\u53F7",aS="\u4EBA\u5458",uS="\u957F\u6587\u672C",lS="\u65E5\u671F\u533A\u95F4",oS="\u65E5\u671F",sS="\u77ED\u6587\u672C",cS="\u6362\u884C\u5BB9\u5668Wrap",dS="\u8868\u683C",fS="\u660E\u7EC6\u5B50\u8868",hS="\u5730\u5740",mS="\u91D1\u989D",vS="\u8BA1\u7B97\u516C\u5F0F",gS="\u591A\u9009",yS="\u7535\u5B50\u7B7E\u7AE0",_S="\u5355\u884C\u6587\u672C",bS="\u6570\u5B57",ES="\u4E1A\u52A1\u7EC4\u7EC7",CS="\u5355\u9009",wS="\u5BCC\u6587\u672C",IS="\u8BC4\u5206",TS="\u6570\u5B57\u533A\u95F4",SS="\u4E0B\u62C9\u5355\u9009",OS="\u4E0B\u62C9\u591A\u9009",AS="\u5173\u8054\u5355\u9009",RS="\u591A\u884C\u6587\u672C",DS="\u6811",NS="Vue\u5BB9\u5668",PS="Vue\u9875\u9762",FS="\u5728\u7EBF\u6587\u6863",BS="\u6309\u94AE\u64CD\u4F5C\u680F",LS="\u9AD8\u7EA7\u5BB9\u5668",kS="\u5206\u7EC4",xS="\u6805\u683C\u5217",MS="\u6570\u636E\u5BB9\u5668",$S="\u753B\u5E03",VS="\u6362\u884C\u5BB9\u5668",US="\u6805\u683C\u7B49\u5206\u884C",HS="\u5217\u8868\u5BB9\u5668",jS="\u81EA\u7531\u9875\u9762",WS="\u5B9A\u4F4D\u5B50\u5BB9\u5668",qS="\u5B9A\u4F4D\u5BB9\u5668",GS="\u6805\u683C\u5E03\u5C40",KS="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",zS="\u660E\u7EC6\u5B50\u8868\u884C",XS="\u6807\u7B7E\u9875",JS="\u6807\u7B7E\u5355\u5143",QS="\u5DE5\u5177\u680F",ZS="\u6279\u91CF\u63D0\u4EA4",YS="\u5BFC\u51FA\u8BB0\u5F55",pS="\u5217\u8868\u89C6\u56FE",eO={isNotNumber:cI,isNotString:dI,isNotObject:fI,isNotArray:hI,isNotBoolean:mI,runtimeRequired:vI,pleaseEnterCaption:gI,pleaseEnterCaptionTip:yI,pleaseEnterRowCaption:_I,pleaseEnterPlaceholder:bI,pleaseEnterFieldCode:EI,pleaseEnterForm:CI,pleaseEnterList:wI,pleaseEnterProcess:II,pleaseEnterLabel:TI,pleaseEnterValue:SI,bizKeyNotBindFiled:OI,pleaseSelectOneField:AI,pleaseEnterNumberRange:RI,pleaseEnterAValueGreaterThanMin:DI,pleaseEnterAValueLessThanMax:NI,numberRangeSetError:PI,stringRangeError:FI,attachmentMaxSize:BI,pleaseEnterTotalScoreSetting:LI,theTotalScoreMustNotBeLessThan1:kI,scoreDefaultValueRange:xI,attachmentLimitError:MI,PleaseReselectTheOptionalQuantity:$I,TheMaximumLengthIsGreaterThanTheMinimumLength:VI,TheMinimumLengthIsGreaterThanTheMaximumLength:UI,PleaseSelectTheCorrectOptionSettings:HI,optionIdIsRepeat:jI,optionIsRequired:WI,pleaseEnterDataCode:qI,pleaseEnterValueFieldCode:GI,pleaseEnterSvcCode:KI,pleaseBindAtLeastOneDisplayValue:zI,pleaseSelectProvince:XI,pleaseSelectCity:JI,pleaseSelectDistrict:QI,limitRowsCannotBeLessThan0:ZI,TheNumberOfRowsCannotBeLessThanMinRows:YI,pleaseEnterColumnWidth:pI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eT,pleaseCompleteAllRulesAndConditions:tT,pleaseSelectControl:nT,pleaseSelectDashboard:iT,theViewNameCannotBeEmpty:rT,pleaseSelectOcrType:aT,pleaseSelectAtLeastOneFieldToFillIn:uT,pleaseChooseAtLeastOne:lT,pleaseEnterButtonContent:oT,pleaseEnterDataCodeInDataSetting:sT,pleaseEnterValueFieldCodeInDataSetting:cT,pleaseEnterSvcCodeInDataSetting:dT,pleaseBindAtLeastOneDisplayValueInDataSetting:fT,rootNodeIsRequiredInDataSetting:hT,pleaseEnterMaxHeight:mT,pleaseEnter:vT,pleaseEnterWatermark:gT,pleaseEnterFileName:yT,pleaseUploadAtLeastOnePrintTemplate:_T,pleaseAssignBusiness:bT,pleaseAssignExternal:ET,pleaseEnterAliasCode:CT,pleaseSelectDataCode:wT,pleaseSelectSvcCode:IT,pleaseSelectJoinFieldCode:TT,pleaseSelectMainFieldCode:ST,pleaseSelectSortFieldCode:OT,batchDeleteButton:AT,batchPrintListButton:RT,batchPrintRecordList:DT,button:NT,createFormListButton:PT,dashboard:FT,divider:BT,exportListButton:LT,formSelectButton:kT,importRecordListButton:xT,invoiceCheckButton:MT,link:$T,listSelectButton:VT,ListViewSelect:UT,operationButton:HT,pagination:jT,submissionRecordListButton:WT,text:qT,textOcrButton:GT,title:KT,approvalStatusColumn:zT,array:XT,autoNumber:JT,custom:QT,decimal:ZT,department:YT,employee:pT,file:eS,image:tS,location:nS,operation:iS,order:rS,people:aS,long:uS,timescope:lS,timestamp:oS,varchar:sS,gridLayoutWrap:cS,gridTable:dS,subTable:fS,address:hS,amount:mS,calc:vS,checkBox:gS,electronicSignature:yS,input:_S,number:bS,organizationSelection:ES,radio:CS,richText:wS,score:IS,searchNumberRange:TS,select:SS,selectMultiple:OS,selectRelation:AS,textarea:RS,tree:DS,vueFormItem:NS,vuePage:PS,WPS:FS,actionBar:BS,advancedContainer:LS,cardGroup:kS,col:xS,dataView:MS,grid:$S,gridLayoutContainer:VS,gridRow:US,listView:HS,page:jS,position:WS,positioningContainer:qS,row:GS,subtableColumn:KS,subtableRow:zS,tab:XS,tabPane:JS,toolbox:QS,batchSubmissionListButton:ZS,exportRecordListButton:YS,listViewSelect:pS},tO={zhCN:_E,enUS:sI,jaJP:eO},Jc;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Jc||(Jc={}));var Qc;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Qc||(Qc={}));var Pl,nO=(Pl=window.localStorage.getItem("locale"))!==null&&Pl!==void 0?Pl:"zh-CN",Qn;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Qn||(Qn={}));var Zc;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Zc||(Zc={}));var H;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(H||(H={}));var Yc;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Yc||(Yc={}));var F;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(F||(F={}));var Vt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Vt||(Vt={}));var pc={DEFAULT:"default"},ed="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",iO=ed+"0123456789";function yt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ed:iO,r=Math.random()*i.length;e+=i[parseInt(String(r),10)]}return e}function Fl(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 rO(t){if(Array.isArray(t))return Fl(t)}function aO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function td(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(t,e,n){return rd()?ga=Reflect.construct:ga=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&Gi(s,u.prototype),s},ga.apply(null,arguments)}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function nd(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&&Gi(t,e)}function uO(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function lO(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oO(){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 sO(t,e){return e&&(cO(e)==="object"||typeof e=="function")?e:aO(t)}function Gi(t,e){return Gi=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Gi(t,e)}function id(t){return rO(t)||lO(t)||dO(t)||oO()}function cO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(t,e){if(!!t){if(typeof t=="string")return Fl(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 Fl(t,e)}}function Bl(t){var e=typeof Map=="function"?new Map:void 0;return Bl=function(i){if(i===null||!uO(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,r)}function r(){return ga(i,arguments,qi(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Gi(r,i)},Bl(t)}function rd(){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 ad(t){var e=rd();return function(){var i=qi(t),r;if(e){var a=qi(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return sO(this,r)}}var Ll=console;function kl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Ll).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(id(r)))}function ud(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Ll).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(id(r)))}function fO(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xl=function(t){nd(n,t);var e=ad(n);function n(i){td(this,n);var r;return r=e.call(this,i),r.name="\u{1F4A5} Driven Error",r.message=i?fO(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(Bl(Error)),hO=function(t){nd(n,t);var e=ad(n);function n(i){td(this,n);var r;return r=e.call(this,i),r.name="\u{1F6A8} Driven Reference Error",r}return n}(xl);function Ki(t){throw new xl(t)}function ld(t){throw new hO(t)}function mO(t){Ll.error(new xl(t))}/*!
2
+ * shared v9.14.0
3
3
  * (c) 2024 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const ot=typeof window!="undefined";let pe,yn;if(process.env.NODE_ENV!=="production"){const t=ot&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},yn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const R_=/\{([0-9a-zA-Z]+)\}/g;function Gi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(R_,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const ut=(t,e=!1)=>e?Symbol.for(t):Symbol(t),N_=(t,e,n)=>P_({l:t,k:e,s:n}),P_=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=t=>typeof t=="number"&&isFinite(t),A_=t=>nd(t)==="[object Date]",Ht=t=>nd(t)==="[object RegExp]",_a=t=>j(t)&&Object.keys(t).length===0,Ce=Object.assign;let pc;const Rt=()=>pc||(pc=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ed(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const k_=Object.prototype.hasOwnProperty;function va(t,e){return k_.call(t,e)}const le=Array.isArray,ie=t=>typeof t=="function",$=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",D_=t=>J(t)&&ie(t.then)&&ie(t.catch),td=Object.prototype.toString,nd=t=>td.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},L_=t=>t==null?"":le(t)||j(t)&&t.toString===td?JSON.stringify(t,null,2):String(t);function xo(t,e=""){return t.reduce((n,i,r)=>r===0?n+i:n+e+i,"")}const id=2;function x_(t,e=0,n=t.length){const i=t.split(/\r?\n/);let r=0;const a=[];for(let l=0;l<i.length;l++)if(r+=i[l].length+1,r>=e){for(let o=l-id;o<=l+id||n>r;o++){if(o<0||o>=i.length)continue;const u=o+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${i[o]}`);const s=i[o].length;if(o===l){const f=e-(r-s)+1,c=Math.max(1,n>r?s-f:n-e);a.push(" | "+" ".repeat(f)+"^".repeat(c))}else if(o>l){if(n>r){const f=Math.max(Math.min(n-r,s),1);a.push(" | "+"^".repeat(f))}r+=s+1}}break}return a.join(`
6
- `)}function ba(t){let e=t;return()=>++e}function Re(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const rd={};function ad(t){rd[t]||(rd[t]=!0,Re(t))}function Mo(){const t=new Map;return{events:t,on(n,i){const r=t.get(n);r&&r.push(i)||t.set(n,[i])},off(n,i){const r=t.get(n);r&&r.splice(r.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(r=>r(i)),(t.get("*")||[]).slice().map(r=>r(n,i))}}}const Ea=t=>!J(t)||le(t);function wa(t,e){if(Ea(t)||Ea(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:r}=n.pop();Object.keys(i).forEach(a=>{Ea(i[a])||Ea(r[a])?r[a]=i[a]:n.push({src:i[a],des:r[a]})})}}/*!
7
- * message-compiler v9.13.1
5
+ */const lt=typeof window!="undefined";let pe,mn;if(process.env.NODE_ENV!=="production"){const t=lt&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},mn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const vO=/\{([0-9a-zA-Z]+)\}/g;function zi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(vO,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const ot=(t,e=!1)=>e?Symbol.for(t):Symbol(t),gO=(t,e,n)=>yO({l:t,k:e,s:n}),yO=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=t=>typeof t=="number"&&isFinite(t),_O=t=>dd(t)==="[object Date]",Ut=t=>dd(t)==="[object RegExp]",ya=t=>j(t)&&Object.keys(t).length===0,Oe=Object.assign;let od;const At=()=>od||(od=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function sd(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const bO=Object.prototype.hasOwnProperty;function _a(t,e){return bO.call(t,e)}const ue=Array.isArray,ie=t=>typeof t=="function",M=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",EO=t=>J(t)&&ie(t.then)&&ie(t.catch),cd=Object.prototype.toString,dd=t=>cd.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},CO=t=>t==null?"":ue(t)||j(t)&&t.toString===cd?JSON.stringify(t,null,2):String(t);function Ml(t,e=""){return t.reduce((n,i,r)=>r===0?n+i:n+e+i,"")}const fd=2;function wO(t,e=0,n=t.length){const i=t.split(/\r?\n/);let r=0;const a=[];for(let u=0;u<i.length;u++)if(r+=i[u].length+1,r>=e){for(let l=u-fd;l<=u+fd||n>r;l++){if(l<0||l>=i.length)continue;const o=l+1;a.push(`${o}${" ".repeat(3-String(o).length)}| ${i[l]}`);const s=i[l].length;if(l===u){const f=e-(r-s)+1,d=Math.max(1,n>r?s-f:n-e);a.push(" | "+" ".repeat(f)+"^".repeat(d))}else if(l>u){if(n>r){const f=Math.max(Math.min(n-r,s),1);a.push(" | "+"^".repeat(f))}r+=s+1}}break}return a.join(`
6
+ `)}function ba(t){let e=t;return()=>++e}function Ae(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const hd={};function md(t){hd[t]||(hd[t]=!0,Ae(t))}function $l(){const t=new Map;return{events:t,on(n,i){const r=t.get(n);r&&r.push(i)||t.set(n,[i])},off(n,i){const r=t.get(n);r&&r.splice(r.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(r=>r(i)),(t.get("*")||[]).slice().map(r=>r(n,i))}}}const Ea=t=>!J(t)||ue(t);function Ca(t,e){if(Ea(t)||Ea(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:r}=n.pop();Object.keys(i).forEach(a=>{Ea(i[a])||Ea(r[a])?r[a]=i[a]:n.push({src:i[a],des:r[a]})})}}/*!
7
+ * message-compiler v9.14.0
8
8
  * (c) 2024 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function M_(t,e,n){return{line:t,column:e,offset:n}}function Ia(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const Ta={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},F_={[Ta.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function $_(t,e,...n){const i=process.env.NODE_ENV!=="production"?Gi(F_[t]||"",...n||[]):t,r={message:String(i),code:t};return e&&(r.location=e),r}const U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},B_={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Yn(t,e,n={}){const{domain:i,messages:r,args:a}=n,l=process.env.NODE_ENV!=="production"?Gi((r||B_)[t]||"",...a||[]):t,o=new SyntaxError(String(l));return o.code=t,e&&(o.location=e),o.domain=i,o}function V_(t){throw t}const U_=/<\/?[\w\s="/.':;#-\/]+>/,H_=t=>U_.test(t),Nt=" ",j_="\r",We=`
11
- `,W_=String.fromCharCode(8232),q_=String.fromCharCode(8233);function K_(t){const e=t;let n=0,i=1,r=1,a=0;const l=O=>e[O]===j_&&e[O+1]===We,o=O=>e[O]===We,u=O=>e[O]===q_,s=O=>e[O]===W_,f=O=>l(O)||o(O)||u(O)||s(O),c=()=>n,m=()=>i,b=()=>r,S=()=>a,I=O=>l(O)||u(O)||s(O)?We:e[O],P=()=>I(n),_=()=>I(n+a);function C(){return a=0,f(n)&&(i++,r=0),l(n)&&n++,n++,r++,e[n]}function v(){return l(n+a)&&a++,a++,e[n+a]}function E(){n=0,i=1,r=1,a=0}function A(O=0){a=O}function N(){const O=n+a;for(;O!==n;)C();a=0}return{index:c,line:m,column:b,peekOffset:S,charAt:I,currentChar:P,currentPeek:_,next:C,peek:v,reset:E,resetPeek:A,skipToPeek:N}}const jt=void 0,G_=".",ld="'",X_="tokenizer";function z_(t,e={}){const n=e.location!==!1,i=K_(t),r=()=>i.index(),a=()=>M_(i.line(),i.column(),i.index()),l=a(),o=r(),u={currentType:14,offset:o,startLoc:l,endLoc:l,lastType:14,lastOffset:o,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},s=()=>u,{onError:f}=e;function c(y,g,k,...B){const fe=s();if(g.column+=k,g.offset+=k,f){const ae=n?Ia(fe.startLoc,g):null,ne=Yn(y,ae,{domain:X_,args:B});f(ne)}}function m(y,g,k){y.endLoc=a(),y.currentType=g;const B={type:g};return n&&(B.loc=Ia(y.startLoc,y.endLoc)),k!=null&&(B.value=k),B}const b=y=>m(y,14);function S(y,g){return y.currentChar()===g?(y.next(),g):(c(U.EXPECTED_TOKEN,a(),0,g),"")}function I(y){let g="";for(;y.currentPeek()===Nt||y.currentPeek()===We;)g+=y.currentPeek(),y.peek();return g}function P(y){const g=I(y);return y.skipToPeek(),g}function _(y){if(y===jt)return!1;const g=y.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function C(y){if(y===jt)return!1;const g=y.charCodeAt(0);return g>=48&&g<=57}function v(y,g){const{currentType:k}=g;if(k!==2)return!1;I(y);const B=_(y.currentPeek());return y.resetPeek(),B}function E(y,g){const{currentType:k}=g;if(k!==2)return!1;I(y);const B=y.currentPeek()==="-"?y.peek():y.currentPeek(),fe=C(B);return y.resetPeek(),fe}function A(y,g){const{currentType:k}=g;if(k!==2)return!1;I(y);const B=y.currentPeek()===ld;return y.resetPeek(),B}function N(y,g){const{currentType:k}=g;if(k!==8)return!1;I(y);const B=y.currentPeek()===".";return y.resetPeek(),B}function O(y,g){const{currentType:k}=g;if(k!==9)return!1;I(y);const B=_(y.currentPeek());return y.resetPeek(),B}function L(y,g){const{currentType:k}=g;if(!(k===8||k===12))return!1;I(y);const B=y.currentPeek()===":";return y.resetPeek(),B}function x(y,g){const{currentType:k}=g;if(k!==10)return!1;const B=()=>{const ae=y.currentPeek();return ae==="{"?_(y.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===Nt||!ae?!1:ae===We?(y.peek(),B()):W(y,!1)},fe=B();return y.resetPeek(),fe}function X(y){I(y);const g=y.currentPeek()==="|";return y.resetPeek(),g}function Me(y){const g=I(y),k=y.currentPeek()==="%"&&y.peek()==="{";return y.resetPeek(),{isModulo:k,hasSpace:g.length>0}}function W(y,g=!0){const k=(fe=!1,ae="",ne=!1)=>{const R=y.currentPeek();return R==="{"?ae==="%"?!1:fe:R==="@"||!R?ae==="%"?!0:fe:R==="%"?(y.peek(),k(fe,"%",!0)):R==="|"?ae==="%"||ne?!0:!(ae===Nt||ae===We):R===Nt?(y.peek(),k(!0,Nt,ne)):R===We?(y.peek(),k(!0,We,ne)):!0},B=k();return g&&y.resetPeek(),B}function _e(y,g){const k=y.currentChar();return k===jt?jt:g(k)?(y.next(),k):null}function ze(y){const g=y.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function dn(y){return _e(y,ze)}function it(y){const g=y.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function fn(y){return _e(y,it)}function hn(y){const g=y.charCodeAt(0);return g>=48&&g<=57}function ta(y){return _e(y,hn)}function na(y){const g=y.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function ia(y){return _e(y,na)}function lt(y){let g="",k="";for(;g=ta(y);)k+=g;return k}function Bi(y){P(y);const g=y.currentChar();return g!=="%"&&c(U.EXPECTED_TOKEN,a(),0,g),y.next(),"%"}function Vi(y){let g="";for(;;){const k=y.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(W(y))g+=k,y.next();else break;else if(k===Nt||k===We)if(W(y))g+=k,y.next();else{if(X(y))break;g+=k,y.next()}else g+=k,y.next()}return g}function ra(y){P(y);let g="",k="";for(;g=fn(y);)k+=g;return y.currentChar()===jt&&c(U.UNTERMINATED_CLOSING_BRACE,a(),0),k}function aa(y){P(y);let g="";return y.currentChar()==="-"?(y.next(),g+=`-${lt(y)}`):g+=lt(y),y.currentChar()===jt&&c(U.UNTERMINATED_CLOSING_BRACE,a(),0),g}function la(y){return y!==ld&&y!==We}function Ro(y){P(y),S(y,"'");let g="",k="";for(;g=_e(y,la);)g==="\\"?k+=oa(y):k+=g;const B=y.currentChar();return B===We||B===jt?(c(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),B===We&&(y.next(),S(y,"'")),k):(S(y,"'"),k)}function oa(y){const g=y.currentChar();switch(g){case"\\":case"'":return y.next(),`\\${g}`;case"u":return Ui(y,g,4);case"U":return Ui(y,g,6);default:return c(U.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function Ui(y,g,k){S(y,g);let B="";for(let fe=0;fe<k;fe++){const ae=ia(y);if(!ae){c(U.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${g}${B}${y.currentChar()}`);break}B+=ae}return`\\${g}${B}`}function ua(y){return y!=="{"&&y!=="}"&&y!==Nt&&y!==We}function sa(y){P(y);let g="",k="";for(;g=_e(y,ua);)k+=g;return k}function ca(y){let g="",k="";for(;g=dn(y);)k+=g;return k}function F(y){const g=k=>{const B=y.currentChar();return B==="{"||B==="%"||B==="@"||B==="|"||B==="("||B===")"||!B||B===Nt?k:(k+=B,y.next(),g(k))};return g("")}function Y(y){P(y);const g=S(y,"|");return P(y),g}function da(y,g){let k=null;switch(y.currentChar()){case"{":return g.braceNest>=1&&c(U.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),y.next(),k=m(g,2,"{"),P(y),g.braceNest++,k;case"}":return g.braceNest>0&&g.currentType===2&&c(U.EMPTY_PLACEHOLDER,a(),0),y.next(),k=m(g,3,"}"),g.braceNest--,g.braceNest>0&&P(y),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),k;case"@":return g.braceNest>0&&c(U.UNTERMINATED_CLOSING_BRACE,a(),0),k=Jn(y,g)||b(g),g.braceNest=0,k;default:{let fe=!0,ae=!0,ne=!0;if(X(y))return g.braceNest>0&&c(U.UNTERMINATED_CLOSING_BRACE,a(),0),k=m(g,1,Y(y)),g.braceNest=0,g.inLinked=!1,k;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return c(U.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,fa(y,g);if(fe=v(y,g))return k=m(g,5,ra(y)),P(y),k;if(ae=E(y,g))return k=m(g,6,aa(y)),P(y),k;if(ne=A(y,g))return k=m(g,7,Ro(y)),P(y),k;if(!fe&&!ae&&!ne)return k=m(g,13,sa(y)),c(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,k.value),P(y),k;break}}return k}function Jn(y,g){const{currentType:k}=g;let B=null;const fe=y.currentChar();switch((k===8||k===9||k===12||k===10)&&(fe===We||fe===Nt)&&c(U.INVALID_LINKED_FORMAT,a(),0),fe){case"@":return y.next(),B=m(g,8,"@"),g.inLinked=!0,B;case".":return P(y),y.next(),m(g,9,".");case":":return P(y),y.next(),m(g,10,":");default:return X(y)?(B=m(g,1,Y(y)),g.braceNest=0,g.inLinked=!1,B):N(y,g)||L(y,g)?(P(y),Jn(y,g)):O(y,g)?(P(y),m(g,12,ca(y))):x(y,g)?(P(y),fe==="{"?da(y,g)||B:m(g,11,F(y))):(k===8&&c(U.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,fa(y,g))}}function fa(y,g){let k={type:14};if(g.braceNest>0)return da(y,g)||b(g);if(g.inLinked)return Jn(y,g)||b(g);switch(y.currentChar()){case"{":return da(y,g)||b(g);case"}":return c(U.UNBALANCED_CLOSING_BRACE,a(),0),y.next(),m(g,3,"}");case"@":return Jn(y,g)||b(g);default:{if(X(y))return k=m(g,1,Y(y)),g.braceNest=0,g.inLinked=!1,k;const{isModulo:fe,hasSpace:ae}=Me(y);if(fe)return ae?m(g,0,Vi(y)):m(g,4,Bi(y));if(W(y))return m(g,0,Vi(y));break}}return k}function jc(){const{currentType:y,offset:g,startLoc:k,endLoc:B}=u;return u.lastType=y,u.lastOffset=g,u.lastStartLoc=k,u.lastEndLoc=B,u.offset=r(),u.startLoc=a(),i.currentChar()===jt?m(u,14):fa(i,u)}return{nextToken:jc,currentOffset:r,currentPosition:a,context:s}}const J_="parser",Q_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Z_(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function Y_(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function r(v,E,A,N,...O){const L=v.currentPosition();if(L.offset+=N,L.column+=N,n){const x=e?Ia(A,L):null,X=Yn(E,x,{domain:J_,args:O});n(X)}}function a(v,E,A,N,...O){const L=v.currentPosition();if(L.offset+=N,L.column+=N,i){const x=e?Ia(A,L):null;i($_(E,x,O))}}function l(v,E,A){const N={type:v};return e&&(N.start=E,N.end=E,N.loc={start:A,end:A}),N}function o(v,E,A,N){N&&(v.type=N),e&&(v.end=E,v.loc&&(v.loc.end=A))}function u(v,E){const A=v.context(),N=l(3,A.offset,A.startLoc);return N.value=E,o(N,v.currentOffset(),v.currentPosition()),N}function s(v,E){const A=v.context(),{lastOffset:N,lastStartLoc:O}=A,L=l(5,N,O);return L.index=parseInt(E,10),v.nextToken(),o(L,v.currentOffset(),v.currentPosition()),L}function f(v,E,A){const N=v.context(),{lastOffset:O,lastStartLoc:L}=N,x=l(4,O,L);return x.key=E,A===!0&&(x.modulo=!0),v.nextToken(),o(x,v.currentOffset(),v.currentPosition()),x}function c(v,E){const A=v.context(),{lastOffset:N,lastStartLoc:O}=A,L=l(9,N,O);return L.value=E.replace(Q_,Z_),v.nextToken(),o(L,v.currentOffset(),v.currentPosition()),L}function m(v){const E=v.nextToken(),A=v.context(),{lastOffset:N,lastStartLoc:O}=A,L=l(8,N,O);return E.type!==12?(r(v,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),L.value="",o(L,N,O),{nextConsumeToken:E,node:L}):(E.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,st(E)),L.value=E.value||"",o(L,v.currentOffset(),v.currentPosition()),{node:L})}function b(v,E){const A=v.context(),N=l(7,A.offset,A.startLoc);return N.value=E,o(N,v.currentOffset(),v.currentPosition()),N}function S(v){const E=v.context(),A=l(6,E.offset,E.startLoc);let N=v.nextToken();if(N.type===9){const O=m(v);A.modifier=O.node,N=O.nextConsumeToken||v.nextToken()}switch(N.type!==10&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(N)),N=v.nextToken(),N.type===2&&(N=v.nextToken()),N.type){case 11:N.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(N)),A.key=b(v,N.value||"");break;case 5:N.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(N)),A.key=f(v,N.value||"");break;case 6:N.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(N)),A.key=s(v,N.value||"");break;case 7:N.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(N)),A.key=c(v,N.value||"");break;default:{r(v,U.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const O=v.context(),L=l(7,O.offset,O.startLoc);return L.value="",o(L,O.offset,O.startLoc),A.key=L,o(A,O.offset,O.startLoc),{nextConsumeToken:N,node:A}}}return o(A,v.currentOffset(),v.currentPosition()),{node:A}}function I(v){const E=v.context(),A=E.currentType===1?v.currentOffset():E.offset,N=E.currentType===1?E.endLoc:E.startLoc,O=l(2,A,N);O.items=[];let L=null,x=null;do{const W=L||v.nextToken();switch(L=null,W.type){case 0:W.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),O.items.push(u(v,W.value||""));break;case 6:W.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),O.items.push(s(v,W.value||""));break;case 4:x=!0;break;case 5:W.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),O.items.push(f(v,W.value||"",!!x)),x&&(a(v,Ta.USE_MODULO_SYNTAX,E.lastStartLoc,0,st(W)),x=null);break;case 7:W.value==null&&r(v,U.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),O.items.push(c(v,W.value||""));break;case 8:{const _e=S(v);O.items.push(_e.node),L=_e.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const X=E.currentType===1?E.lastOffset:v.currentOffset(),Me=E.currentType===1?E.lastEndLoc:v.currentPosition();return o(O,X,Me),O}function P(v,E,A,N){const O=v.context();let L=N.items.length===0;const x=l(1,E,A);x.cases=[],x.cases.push(N);do{const X=I(v);L||(L=X.items.length===0),x.cases.push(X)}while(O.currentType!==14);return L&&r(v,U.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),o(x,v.currentOffset(),v.currentPosition()),x}function _(v){const E=v.context(),{offset:A,startLoc:N}=E,O=I(v);return E.currentType===14?O:P(v,A,N,O)}function C(v){const E=z_(v,Ce({},t)),A=E.context(),N=l(0,A.offset,A.startLoc);return e&&N.loc&&(N.loc.source=v),N.body=_(E),t.onCacheKey&&(N.cacheKey=t.onCacheKey(v)),A.currentType!==14&&r(E,U.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,v[A.offset]||""),o(N,E.currentOffset(),E.currentPosition()),N}return{parse:C}}function st(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function p_(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function od(t,e){for(let n=0;n<t.length;n++)Fo(t[n],e)}function Fo(t,e){switch(t.type){case 1:od(t.cases,e),e.helper("plural");break;case 2:od(t.items,e);break;case 6:{Fo(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function ev(t,e={}){const n=p_(t);n.helper("normalize"),t.body&&Fo(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function tv(t){const e=t.body;return e.type===2?ud(e):e.cases.forEach(n=>ud(n)),t}function ud(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const i=t.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=xo(e);for(let n=0;n<t.items.length;n++){const i=t.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const nv="minifier";function pn(t){switch(t.t=t.type,t.type){case 0:{const e=t;pn(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let i=0;i<n.length;i++)pn(n[i]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let i=0;i<n.length;i++)pn(n[i]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;pn(e.key),e.k=e.key,delete e.key,e.modifier&&(pn(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:if(process.env.NODE_ENV!=="production")throw Yn(U.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:nv,args:[t.type]})}delete t.type}const iv="parser";function rv(t,e){const{sourceMap:n,filename:i,breakLineCode:r,needIndent:a}=e,l=e.location!==!1,o={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};l&&t.loc&&(o.source=t.loc.source);const u=()=>o;function s(P,_){o.code+=P}function f(P,_=!0){const C=_?r:"";s(a?C+" ".repeat(P):C)}function c(P=!0){const _=++o.indentLevel;P&&f(_)}function m(P=!0){const _=--o.indentLevel;P&&f(_)}function b(){f(o.indentLevel)}return{context:u,push:s,indent:c,deindent:m,newline:b,helper:P=>`_${P}`,needIndent:()=>o.needIndent}}function av(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),ei(t,e.key),e.modifier?(t.push(", "),ei(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function lv(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const r=e.items.length;for(let a=0;a<r&&(ei(t,e.items[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}function ov(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const r=e.cases.length;for(let a=0;a<r&&(ei(t,e.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}}function uv(t,e){e.body?ei(t,e.body):t.push("null")}function ei(t,e){const{helper:n}=t;switch(e.type){case 0:uv(t,e);break;case 1:ov(t,e);break;case 2:lv(t,e);break;case 6:av(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:if(process.env.NODE_ENV!=="production")throw Yn(U.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:iv,args:[e.type]})}}const sv=(t,e={})=>{const n=$(e.mode)?e.mode:"normal",i=$(e.filename)?e.filename:"message.intl",r=!!e.sourceMap,a=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
12
- `,l=e.needIndent?e.needIndent:n!=="arrow",o=t.helpers||[],u=rv(t,{mode:n,filename:i,sourceMap:r,breakLineCode:a,needIndent:l});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(l),o.length>0&&(u.push(`const { ${xo(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),u.newline()),u.push("return "),ei(u,t),u.deindent(l),u.push("}"),delete t.helpers;const{code:s,map:f}=u.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function cv(t,e={}){const n=Ce({},e),i=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,o=Y_(n).parse(t);return i?(a&&tv(o),r&&pn(o),{ast:o,code:""}):(ev(o,n),sv(o,n))}/*!
13
- * core-base v9.13.1
10
+ */function IO(t,e,n){return{line:t,column:e,offset:n}}function wa(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const Ia={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},TO={[Ia.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function SO(t,e,...n){const i=process.env.NODE_ENV!=="production"?zi(TO[t]||"",...n||[]):t,r={message:String(i),code:t};return e&&(r.location=e),r}const V={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},OO={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Zn(t,e,n={}){const{domain:i,messages:r,args:a}=n,u=process.env.NODE_ENV!=="production"?zi((r||OO)[t]||"",...a||[]):t,l=new SyntaxError(String(u));return l.code=t,e&&(l.location=e),l.domain=i,l}function AO(t){throw t}const RO=/<\/?[\w\s="/.':;#-\/]+>/,DO=t=>RO.test(t),Rt=" ",NO="\r",We=`
11
+ `,PO=String.fromCharCode(8232),FO=String.fromCharCode(8233);function BO(t){const e=t;let n=0,i=1,r=1,a=0;const u=T=>e[T]===NO&&e[T+1]===We,l=T=>e[T]===We,o=T=>e[T]===FO,s=T=>e[T]===PO,f=T=>u(T)||l(T)||o(T)||s(T),d=()=>n,m=()=>i,b=()=>r,S=()=>a,w=T=>u(T)||o(T)||s(T)?We:e[T],D=()=>w(n),y=()=>w(n+a);function O(){return a=0,f(n)&&(i++,r=0),u(n)&&n++,n++,r++,e[n]}function _(){return u(n+a)&&a++,a++,e[n+a]}function E(){n=0,i=1,r=1,a=0}function N(T=0){a=T}function R(){const T=n+a;for(;T!==n;)O();a=0}return{index:d,line:m,column:b,peekOffset:S,charAt:w,currentChar:D,currentPeek:y,next:O,peek:_,reset:E,resetPeek:N,skipToPeek:R}}const Ht=void 0,LO=".",vd="'",kO="tokenizer";function xO(t,e={}){const n=e.location!==!1,i=BO(t),r=()=>i.index(),a=()=>IO(i.line(),i.column(),i.index()),u=a(),l=r(),o={currentType:14,offset:l,startLoc:u,endLoc:u,lastType:14,lastOffset:l,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},s=()=>o,{onError:f}=e;function d(v,g,P,...$){const fe=s();if(g.column+=P,g.offset+=P,f){const ae=n?wa(fe.startLoc,g):null,ne=Zn(v,ae,{domain:kO,args:$});f(ne)}}function m(v,g,P){v.endLoc=a(),v.currentType=g;const $={type:g};return n&&($.loc=wa(v.startLoc,v.endLoc)),P!=null&&($.value=P),$}const b=v=>m(v,14);function S(v,g){return v.currentChar()===g?(v.next(),g):(d(V.EXPECTED_TOKEN,a(),0,g),"")}function w(v){let g="";for(;v.currentPeek()===Rt||v.currentPeek()===We;)g+=v.currentPeek(),v.peek();return g}function D(v){const g=w(v);return v.skipToPeek(),g}function y(v){if(v===Ht)return!1;const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function O(v){if(v===Ht)return!1;const g=v.charCodeAt(0);return g>=48&&g<=57}function _(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=y(v.currentPeek());return v.resetPeek(),$}function E(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=v.currentPeek()==="-"?v.peek():v.currentPeek(),fe=O($);return v.resetPeek(),fe}function N(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=v.currentPeek()===vd;return v.resetPeek(),$}function R(v,g){const{currentType:P}=g;if(P!==8)return!1;w(v);const $=v.currentPeek()===".";return v.resetPeek(),$}function T(v,g){const{currentType:P}=g;if(P!==9)return!1;w(v);const $=y(v.currentPeek());return v.resetPeek(),$}function B(v,g){const{currentType:P}=g;if(!(P===8||P===12))return!1;w(v);const $=v.currentPeek()===":";return v.resetPeek(),$}function L(v,g){const{currentType:P}=g;if(P!==10)return!1;const $=()=>{const ae=v.currentPeek();return ae==="{"?y(v.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===Rt||!ae?!1:ae===We?(v.peek(),$()):W(v,!1)},fe=$();return v.resetPeek(),fe}function z(v){w(v);const g=v.currentPeek()==="|";return v.resetPeek(),g}function ke(v){const g=w(v),P=v.currentPeek()==="%"&&v.peek()==="{";return v.resetPeek(),{isModulo:P,hasSpace:g.length>0}}function W(v,g=!0){const P=(fe=!1,ae="",ne=!1)=>{const A=v.currentPeek();return A==="{"?ae==="%"?!1:fe:A==="@"||!A?ae==="%"?!0:fe:A==="%"?(v.peek(),P(fe,"%",!0)):A==="|"?ae==="%"||ne?!0:!(ae===Rt||ae===We):A===Rt?(v.peek(),P(!0,Rt,ne)):A===We?(v.peek(),P(!0,We,ne)):!0},$=P();return g&&v.resetPeek(),$}function ge(v,g){const P=v.currentChar();return P===Ht?Ht:g(P)?(v.next(),P):null}function Xe(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function cn(v){return ge(v,Xe)}function it(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function dn(v){return ge(v,it)}function fn(v){const g=v.charCodeAt(0);return g>=48&&g<=57}function na(v){return ge(v,fn)}function ia(v){const g=v.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function ra(v){return ge(v,ia)}function ut(v){let g="",P="";for(;g=na(v);)P+=g;return P}function $i(v){D(v);const g=v.currentChar();return g!=="%"&&d(V.EXPECTED_TOKEN,a(),0,g),v.next(),"%"}function Vi(v){let g="";for(;;){const P=v.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(W(v))g+=P,v.next();else break;else if(P===Rt||P===We)if(W(v))g+=P,v.next();else{if(z(v))break;g+=P,v.next()}else g+=P,v.next()}return g}function aa(v){D(v);let g="",P="";for(;g=dn(v);)P+=g;return v.currentChar()===Ht&&d(V.UNTERMINATED_CLOSING_BRACE,a(),0),P}function ua(v){D(v);let g="";return v.currentChar()==="-"?(v.next(),g+=`-${ut(v)}`):g+=ut(v),v.currentChar()===Ht&&d(V.UNTERMINATED_CLOSING_BRACE,a(),0),g}function la(v){return v!==vd&&v!==We}function Ol(v){D(v),S(v,"'");let g="",P="";for(;g=ge(v,la);)g==="\\"?P+=oa(v):P+=g;const $=v.currentChar();return $===We||$===Ht?(d(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),$===We&&(v.next(),S(v,"'")),P):(S(v,"'"),P)}function oa(v){const g=v.currentChar();switch(g){case"\\":case"'":return v.next(),`\\${g}`;case"u":return Ui(v,g,4);case"U":return Ui(v,g,6);default:return d(V.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function Ui(v,g,P){S(v,g);let $="";for(let fe=0;fe<P;fe++){const ae=ra(v);if(!ae){d(V.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${g}${$}${v.currentChar()}`);break}$+=ae}return`\\${g}${$}`}function sa(v){return v!=="{"&&v!=="}"&&v!==Rt&&v!==We}function ca(v){D(v);let g="",P="";for(;g=ge(v,sa);)P+=g;return P}function da(v){let g="",P="";for(;g=cn(v);)P+=g;return P}function x(v){const g=P=>{const $=v.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Rt?P:(P+=$,v.next(),g(P))};return g("")}function Y(v){D(v);const g=S(v,"|");return D(v),g}function fa(v,g){let P=null;switch(v.currentChar()){case"{":return g.braceNest>=1&&d(V.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),v.next(),P=m(g,2,"{"),D(v),g.braceNest++,P;case"}":return g.braceNest>0&&g.currentType===2&&d(V.EMPTY_PLACEHOLDER,a(),0),v.next(),P=m(g,3,"}"),g.braceNest--,g.braceNest>0&&D(v),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),P;case"@":return g.braceNest>0&&d(V.UNTERMINATED_CLOSING_BRACE,a(),0),P=zn(v,g)||b(g),g.braceNest=0,P;default:{let fe=!0,ae=!0,ne=!0;if(z(v))return g.braceNest>0&&d(V.UNTERMINATED_CLOSING_BRACE,a(),0),P=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,P;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return d(V.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,ha(v,g);if(fe=_(v,g))return P=m(g,5,aa(v)),D(v),P;if(ae=E(v,g))return P=m(g,6,ua(v)),D(v),P;if(ne=N(v,g))return P=m(g,7,Ol(v)),D(v),P;if(!fe&&!ae&&!ne)return P=m(g,13,ca(v)),d(V.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,P.value),D(v),P;break}}return P}function zn(v,g){const{currentType:P}=g;let $=null;const fe=v.currentChar();switch((P===8||P===9||P===12||P===10)&&(fe===We||fe===Rt)&&d(V.INVALID_LINKED_FORMAT,a(),0),fe){case"@":return v.next(),$=m(g,8,"@"),g.inLinked=!0,$;case".":return D(v),v.next(),m(g,9,".");case":":return D(v),v.next(),m(g,10,":");default:return z(v)?($=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,$):R(v,g)||B(v,g)?(D(v),zn(v,g)):T(v,g)?(D(v),m(g,12,da(v))):L(v,g)?(D(v),fe==="{"?fa(v,g)||$:m(g,11,x(v))):(P===8&&d(V.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,ha(v,g))}}function ha(v,g){let P={type:14};if(g.braceNest>0)return fa(v,g)||b(g);if(g.inLinked)return zn(v,g)||b(g);switch(v.currentChar()){case"{":return fa(v,g)||b(g);case"}":return d(V.UNBALANCED_CLOSING_BRACE,a(),0),v.next(),m(g,3,"}");case"@":return zn(v,g)||b(g);default:{if(z(v))return P=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,P;const{isModulo:fe,hasSpace:ae}=ke(v);if(fe)return ae?m(g,0,Vi(v)):m(g,4,$i(v));if(W(v))return m(g,0,Vi(v));break}}return P}function zc(){const{currentType:v,offset:g,startLoc:P,endLoc:$}=o;return o.lastType=v,o.lastOffset=g,o.lastStartLoc=P,o.lastEndLoc=$,o.offset=r(),o.startLoc=a(),i.currentChar()===Ht?m(o,14):ha(i,o)}return{nextToken:zc,currentOffset:r,currentPosition:a,context:s}}const MO="parser",$O=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function VO(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function UO(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function r(_,E,N,R,...T){const B=_.currentPosition();if(B.offset+=R,B.column+=R,n){const L=e?wa(N,B):null,z=Zn(E,L,{domain:MO,args:T});n(z)}}function a(_,E,N,R,...T){const B=_.currentPosition();if(B.offset+=R,B.column+=R,i){const L=e?wa(N,B):null;i(SO(E,L,T))}}function u(_,E,N){const R={type:_};return e&&(R.start=E,R.end=E,R.loc={start:N,end:N}),R}function l(_,E,N,R){R&&(_.type=R),e&&(_.end=E,_.loc&&(_.loc.end=N))}function o(_,E){const N=_.context(),R=u(3,N.offset,N.startLoc);return R.value=E,l(R,_.currentOffset(),_.currentPosition()),R}function s(_,E){const N=_.context(),{lastOffset:R,lastStartLoc:T}=N,B=u(5,R,T);return B.index=parseInt(E,10),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function f(_,E,N){const R=_.context(),{lastOffset:T,lastStartLoc:B}=R,L=u(4,T,B);return L.key=E,N===!0&&(L.modulo=!0),_.nextToken(),l(L,_.currentOffset(),_.currentPosition()),L}function d(_,E){const N=_.context(),{lastOffset:R,lastStartLoc:T}=N,B=u(9,R,T);return B.value=E.replace($O,VO),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function m(_){const E=_.nextToken(),N=_.context(),{lastOffset:R,lastStartLoc:T}=N,B=u(8,R,T);return E.type!==12?(r(_,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),B.value="",l(B,R,T),{nextConsumeToken:E,node:B}):(E.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,st(E)),B.value=E.value||"",l(B,_.currentOffset(),_.currentPosition()),{node:B})}function b(_,E){const N=_.context(),R=u(7,N.offset,N.startLoc);return R.value=E,l(R,_.currentOffset(),_.currentPosition()),R}function S(_){const E=_.context(),N=u(6,E.offset,E.startLoc);let R=_.nextToken();if(R.type===9){const T=m(_);N.modifier=T.node,R=T.nextConsumeToken||_.nextToken()}switch(R.type!==10&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),R=_.nextToken(),R.type===2&&(R=_.nextToken()),R.type){case 11:R.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=b(_,R.value||"");break;case 5:R.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=f(_,R.value||"");break;case 6:R.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=s(_,R.value||"");break;case 7:R.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=d(_,R.value||"");break;default:{r(_,V.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const T=_.context(),B=u(7,T.offset,T.startLoc);return B.value="",l(B,T.offset,T.startLoc),N.key=B,l(N,T.offset,T.startLoc),{nextConsumeToken:R,node:N}}}return l(N,_.currentOffset(),_.currentPosition()),{node:N}}function w(_){const E=_.context(),N=E.currentType===1?_.currentOffset():E.offset,R=E.currentType===1?E.endLoc:E.startLoc,T=u(2,N,R);T.items=[];let B=null,L=null;do{const W=B||_.nextToken();switch(B=null,W.type){case 0:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),T.items.push(o(_,W.value||""));break;case 6:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),T.items.push(s(_,W.value||""));break;case 4:L=!0;break;case 5:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),T.items.push(f(_,W.value||"",!!L)),L&&(a(_,Ia.USE_MODULO_SYNTAX,E.lastStartLoc,0,st(W)),L=null);break;case 7:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),T.items.push(d(_,W.value||""));break;case 8:{const ge=S(_);T.items.push(ge.node),B=ge.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const z=E.currentType===1?E.lastOffset:_.currentOffset(),ke=E.currentType===1?E.lastEndLoc:_.currentPosition();return l(T,z,ke),T}function D(_,E,N,R){const T=_.context();let B=R.items.length===0;const L=u(1,E,N);L.cases=[],L.cases.push(R);do{const z=w(_);B||(B=z.items.length===0),L.cases.push(z)}while(T.currentType!==14);return B&&r(_,V.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(L,_.currentOffset(),_.currentPosition()),L}function y(_){const E=_.context(),{offset:N,startLoc:R}=E,T=w(_);return E.currentType===14?T:D(_,N,R,T)}function O(_){const E=xO(_,Oe({},t)),N=E.context(),R=u(0,N.offset,N.startLoc);return e&&R.loc&&(R.loc.source=_),R.body=y(E),t.onCacheKey&&(R.cacheKey=t.onCacheKey(_)),N.currentType!==14&&r(E,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,_[N.offset]||""),l(R,E.currentOffset(),E.currentPosition()),R}return{parse:O}}function st(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function HO(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function gd(t,e){for(let n=0;n<t.length;n++)Vl(t[n],e)}function Vl(t,e){switch(t.type){case 1:gd(t.cases,e),e.helper("plural");break;case 2:gd(t.items,e);break;case 6:{Vl(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function jO(t,e={}){const n=HO(t);n.helper("normalize"),t.body&&Vl(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function WO(t){const e=t.body;return e.type===2?yd(e):e.cases.forEach(n=>yd(n)),t}function yd(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const i=t.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=Ml(e);for(let n=0;n<t.items.length;n++){const i=t.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const qO="minifier";function Yn(t){switch(t.t=t.type,t.type){case 0:{const e=t;Yn(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let i=0;i<n.length;i++)Yn(n[i]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let i=0;i<n.length;i++)Yn(n[i]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Yn(e.key),e.k=e.key,delete e.key,e.modifier&&(Yn(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:if(process.env.NODE_ENV!=="production")throw Zn(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:qO,args:[t.type]})}delete t.type}const GO="parser";function KO(t,e){const{sourceMap:n,filename:i,breakLineCode:r,needIndent:a}=e,u=e.location!==!1,l={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};u&&t.loc&&(l.source=t.loc.source);const o=()=>l;function s(D,y){l.code+=D}function f(D,y=!0){const O=y?r:"";s(a?O+" ".repeat(D):O)}function d(D=!0){const y=++l.indentLevel;D&&f(y)}function m(D=!0){const y=--l.indentLevel;D&&f(y)}function b(){f(l.indentLevel)}return{context:o,push:s,indent:d,deindent:m,newline:b,helper:D=>`_${D}`,needIndent:()=>l.needIndent}}function zO(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),pn(t,e.key),e.modifier?(t.push(", "),pn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function XO(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const r=e.items.length;for(let a=0;a<r&&(pn(t,e.items[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}function JO(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const r=e.cases.length;for(let a=0;a<r&&(pn(t,e.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}}function QO(t,e){e.body?pn(t,e.body):t.push("null")}function pn(t,e){const{helper:n}=t;switch(e.type){case 0:QO(t,e);break;case 1:JO(t,e);break;case 2:XO(t,e);break;case 6:zO(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:if(process.env.NODE_ENV!=="production")throw Zn(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:GO,args:[e.type]})}}const ZO=(t,e={})=>{const n=M(e.mode)?e.mode:"normal",i=M(e.filename)?e.filename:"message.intl",r=!!e.sourceMap,a=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
12
+ `,u=e.needIndent?e.needIndent:n!=="arrow",l=t.helpers||[],o=KO(t,{mode:n,filename:i,sourceMap:r,breakLineCode:a,needIndent:u});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(u),l.length>0&&(o.push(`const { ${Ml(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),o.newline()),o.push("return "),pn(o,t),o.deindent(u),o.push("}"),delete t.helpers;const{code:s,map:f}=o.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function YO(t,e={}){const n=Oe({},e),i=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,l=UO(n).parse(t);return i?(a&&WO(l),r&&Yn(l),{ast:l,code:""}):(jO(l,n),ZO(l,n))}/*!
13
+ * core-base v9.14.0
14
14
  * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function dv(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Wt=[];Wt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},Wt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},Wt[2]={w:[2],i:[3,0],[0]:[3,0]},Wt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},Wt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},Wt[5]={["'"]:[4,0],o:8,l:[5,0]},Wt[6]={['"']:[4,0],o:8,l:[6,0]};const fv=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function hv(t){return fv.test(t)}function mv(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function yv(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function gv(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:hv(e)?mv(e):"*"+e}function _v(t){const e=[];let n=-1,i=0,r=0,a,l,o,u,s,f,c;const m=[];m[0]=()=>{l===void 0?l=o:l+=o},m[1]=()=>{l!==void 0&&(e.push(l),l=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,i=4,m[0]();else{if(r=0,l===void 0||(l=gv(l),l===!1))return!1;m[1]()}};function b(){const S=t[n+1];if(i===5&&S==="'"||i===6&&S==='"')return n++,o="\\"+S,m[0](),!0}for(;i!==null;)if(n++,a=t[n],!(a==="\\"&&b())){if(u=yv(a),c=Wt[i],s=c[u]||c.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=m[s[1]],f&&(o=a,f()===!1))))return;if(i===7)return e}}const sd=new Map;function vv(t,e){return J(t)?t[e]:null}function bv(t,e){if(!J(t))return null;let n=sd.get(e);if(n||(n=_v(e),n&&sd.set(e,n)),!n)return null;const i=n.length;let r=t,a=0;for(;a<i;){const l=r[n[a]];if(l===void 0||ie(r))return null;r=l,a++}return r}const Ev=t=>t,wv=t=>"",Iv="text",Tv=t=>t.length===0?"":xo(t),Ov=L_;function cd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function Sv(t){const e=Se(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Se(t.named.count)||Se(t.named.n))?Se(t.named.count)?t.named.count:Se(t.named.n)?t.named.n:e:e}function Cv(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Rv(t={}){const e=t.locale,n=Sv(t),i=J(t.pluralRules)&&$(e)&&ie(t.pluralRules[e])?t.pluralRules[e]:cd,r=J(t.pluralRules)&&$(e)&&ie(t.pluralRules[e])?cd:void 0,a=_=>_[i(n,_.length,r)],l=t.list||[],o=_=>l[_],u=t.named||{};Se(t.pluralIndex)&&Cv(n,u);const s=_=>u[_];function f(_){const C=ie(t.messages)?t.messages(_):J(t.messages)?t.messages[_]:!1;return C||(t.parent?t.parent.message(_):wv)}const c=_=>t.modifiers?t.modifiers[_]:Ev,m=j(t.processor)&&ie(t.processor.normalize)?t.processor.normalize:Tv,b=j(t.processor)&&ie(t.processor.interpolate)?t.processor.interpolate:Ov,S=j(t.processor)&&$(t.processor.type)?t.processor.type:Iv,P={list:o,named:s,plural:a,linked:(_,...C)=>{const[v,E]=C;let A="text",N="";C.length===1?J(v)?(N=v.modifier||N,A=v.type||A):$(v)&&(N=v||N):C.length===2&&($(v)&&(N=v||N),$(E)&&(A=E||A));const O=f(_)(P),L=A==="vnode"&&le(O)&&N?O[0]:O;return N?c(N)(L,A):L},message:f,type:S,interpolate:b,normalize:m,values:Ce({},l,u)};return P}let Xi=null;function Nv(t){Xi=t}function Pv(t,e,n){Xi&&Xi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Av=kv("function:translate");function kv(t){return e=>Xi&&Xi.emit(t,e)}const dd=Ta.__EXTEND_POINT__,gn=ba(dd),qe={NOT_FOUND_KEY:dd,FALLBACK_TO_TRANSLATE:gn(),CANNOT_FORMAT_NUMBER:gn(),FALLBACK_TO_NUMBER_FORMAT:gn(),CANNOT_FORMAT_DATE:gn(),FALLBACK_TO_DATE_FORMAT:gn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:gn(),__EXTEND_POINT__:gn()},Dv={[qe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[qe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[qe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[qe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function _n(t,...e){return Gi(Dv[t],...e)}const fd=U.__EXTEND_POINT__,vn=ba(fd),Le={INVALID_ARGUMENT:fd,INVALID_DATE_ARGUMENT:vn(),INVALID_ISO_DATE_ARGUMENT:vn(),NOT_SUPPORT_NON_STRING_MESSAGE:vn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:vn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:vn(),NOT_SUPPORT_LOCALE_TYPE:vn(),__EXTEND_POINT__:vn()};function bt(t){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:Lv}:void 0)}const Lv={[Le.INVALID_ARGUMENT]:"Invalid arguments",[Le.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Le.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Le.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Le.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function $o(t,e){return e.locale!=null?hd(e.locale):hd(t.locale)}let Bo;function hd(t){if($(t))return t;if(ie(t)){if(t.resolvedOnce&&Bo!=null)return Bo;if(t.constructor.name==="Function"){const e=t();if(D_(e))throw bt(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bo=e}else throw bt(Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bt(Le.NOT_SUPPORT_LOCALE_TYPE)}function xv(t,e,n){return[...new Set([n,...le(e)?e:J(e)?Object.keys(e):$(e)?[e]:[n]])]}function md(t,e,n){const i=$(n)?n:ti,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(i);if(!a){a=[];let l=[n];for(;le(l);)l=yd(a,l,e);const o=le(e)||!j(e)?e:e.default?e.default:null;l=$(o)?[o]:o,le(l)&&yd(a,l,!1),r.__localeChainCache.set(i,a)}return a}function yd(t,e,n){let i=!0;for(let r=0;r<e.length&&q(i);r++){const a=e[r];$(a)&&(i=Mv(t,e[r],n))}return i}function Mv(t,e,n){let i;const r=e.split("-");do{const a=r.join("-");i=Fv(t,a,n),r.splice(-1,1)}while(r.length&&i===!0);return i}function Fv(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const r=e.replace(/!/g,"");t.push(r),(le(n)||j(n))&&n[r]&&(i=n[r])}return i}const $v="9.13.1",Oa=-1,ti="en-US",Sa="",gd=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Bv(){return{upper:(t,e)=>e==="text"&&$(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&$(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&$(t)?gd(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?gd(t.children):t}}let _d;function vd(t){_d=t}let bd;function Vv(t){bd=t}let Ed;function Uv(t){Ed=t}let wd=null;const Id=t=>{wd=t},Hv=()=>wd;let Td=null;const Od=t=>{Td=t},jv=()=>Td;let Sd=0;function Wv(t={}){const e=ie(t.onWarn)?t.onWarn:Re,n=$(t.version)?t.version:$v,i=$(t.locale)||ie(t.locale)?t.locale:ti,r=ie(i)?ti:i,a=le(t.fallbackLocale)||j(t.fallbackLocale)||$(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,l=j(t.messages)?t.messages:{[r]:{}},o=j(t.datetimeFormats)?t.datetimeFormats:{[r]:{}},u=j(t.numberFormats)?t.numberFormats:{[r]:{}},s=Ce({},t.modifiers||{},Bv()),f=t.pluralRules||{},c=ie(t.missing)?t.missing:null,m=q(t.missingWarn)||Ht(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||Ht(t.fallbackWarn)?t.fallbackWarn:!0,S=!!t.fallbackFormat,I=!!t.unresolving,P=ie(t.postTranslation)?t.postTranslation:null,_=j(t.processor)?t.processor:null,C=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,v=!!t.escapeParameter,E=ie(t.messageCompiler)?t.messageCompiler:_d;process.env.NODE_ENV!=="production"&&!0&&!0&&ie(t.messageCompiler)&&ad(_n(qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const A=ie(t.messageResolver)?t.messageResolver:bd||vv,N=ie(t.localeFallbacker)?t.localeFallbacker:Ed||xv,O=J(t.fallbackContext)?t.fallbackContext:void 0,L=t,x=J(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,X=J(L.__numberFormatters)?L.__numberFormatters:new Map,Me=J(L.__meta)?L.__meta:{};Sd++;const W={version:n,cid:Sd,locale:i,fallbackLocale:a,messages:l,modifiers:s,pluralRules:f,missing:c,missingWarn:m,fallbackWarn:b,fallbackFormat:S,unresolving:I,postTranslation:P,processor:_,warnHtmlMessage:C,escapeParameter:v,messageCompiler:E,messageResolver:A,localeFallbacker:N,fallbackContext:O,onWarn:e,__meta:Me};return W.datetimeFormats=o,W.numberFormats=u,W.__datetimeFormatters=x,W.__numberFormatters=X,process.env.NODE_ENV!=="production"&&(W.__v_emitter=L.__v_emitter!=null?L.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Pv(W,n,Me),W}function Ca(t,e){return t instanceof RegExp?t.test(e):t}function Cd(t,e){return t instanceof RegExp?t.test(e):t}function Vo(t,e,n,i,r){const{missing:a,onWarn:l}=t;if(process.env.NODE_ENV!=="production"){const o=t.__v_emitter;o&&o.emit("missing",{locale:n,key:e,type:r,groupId:`${r}:${e}`})}if(a!==null){const o=a(t,n,e,r);return $(o)?o:e}else return process.env.NODE_ENV!=="production"&&Cd(i,e)&&l(_n(qe.NOT_FOUND_KEY,{key:e,locale:n})),e}function zi(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Rd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function qv(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(Rd(t,e[i]))return!0;return!1}function Uo(t){return n=>Kv(n,t)}function Kv(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,r=i.c||i.cases;return t.plural(r.reduce((a,l)=>[...a,Nd(t,l)],[]))}else return Nd(t,n)}function Nd(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const i=(e.i||e.items).reduce((r,a)=>[...r,Ho(t,a)],[]);return t.normalize(i)}}function Ho(t,e){const n=e.t||e.type;switch(n){case 3:{const i=e;return i.v||i.value}case 9:{const i=e;return i.v||i.value}case 4:{const i=e;return t.interpolate(t.named(i.k||i.key))}case 5:{const i=e;return t.interpolate(t.list(i.i!=null?i.i:i.index))}case 6:{const i=e,r=i.m||i.modifier;return t.linked(Ho(t,i.k||i.key),r?Ho(t,r):void 0,t.type)}case 7:{const i=e;return i.v||i.value}case 8:{const i=e;return i.v||i.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Gv="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Pd(t,e){e&&H_(t)&&Re(Gi(Gv,{source:t}))}const Ad=t=>t;let ni=Object.create(null);function kd(t){t.code===Ta.USE_MODULO_SYNTAX&&Re(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
16
+ */function pO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const jt=[];jt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},jt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},jt[2]={w:[2],i:[3,0],[0]:[3,0]},jt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},jt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},jt[5]={["'"]:[4,0],o:8,l:[5,0]},jt[6]={['"']:[4,0],o:8,l:[6,0]};const eA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tA(t){return eA.test(t)}function nA(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function iA(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function rA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:tA(e)?nA(e):"*"+e}function aA(t){const e=[];let n=-1,i=0,r=0,a,u,l,o,s,f,d;const m=[];m[0]=()=>{u===void 0?u=l:u+=l},m[1]=()=>{u!==void 0&&(e.push(u),u=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,i=4,m[0]();else{if(r=0,u===void 0||(u=rA(u),u===!1))return!1;m[1]()}};function b(){const S=t[n+1];if(i===5&&S==="'"||i===6&&S==='"')return n++,l="\\"+S,m[0](),!0}for(;i!==null;)if(n++,a=t[n],!(a==="\\"&&b())){if(o=iA(a),d=jt[i],s=d[o]||d.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=m[s[1]],f&&(l=a,f()===!1))))return;if(i===7)return e}}const _d=new Map;function uA(t,e){return J(t)?t[e]:null}function lA(t,e){if(!J(t))return null;let n=_d.get(e);if(n||(n=aA(e),n&&_d.set(e,n)),!n)return null;const i=n.length;let r=t,a=0;for(;a<i;){const u=r[n[a]];if(u===void 0||ie(r))return null;r=u,a++}return r}const oA=t=>t,sA=t=>"",cA="text",dA=t=>t.length===0?"":Ml(t),fA=CO;function bd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function hA(t){const e=Se(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Se(t.named.count)||Se(t.named.n))?Se(t.named.count)?t.named.count:Se(t.named.n)?t.named.n:e:e}function mA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function vA(t={}){const e=t.locale,n=hA(t),i=J(t.pluralRules)&&M(e)&&ie(t.pluralRules[e])?t.pluralRules[e]:bd,r=J(t.pluralRules)&&M(e)&&ie(t.pluralRules[e])?bd:void 0,a=y=>y[i(n,y.length,r)],u=t.list||[],l=y=>u[y],o=t.named||{};Se(t.pluralIndex)&&mA(n,o);const s=y=>o[y];function f(y){const O=ie(t.messages)?t.messages(y):J(t.messages)?t.messages[y]:!1;return O||(t.parent?t.parent.message(y):sA)}const d=y=>t.modifiers?t.modifiers[y]:oA,m=j(t.processor)&&ie(t.processor.normalize)?t.processor.normalize:dA,b=j(t.processor)&&ie(t.processor.interpolate)?t.processor.interpolate:fA,S=j(t.processor)&&M(t.processor.type)?t.processor.type:cA,D={list:l,named:s,plural:a,linked:(y,...O)=>{const[_,E]=O;let N="text",R="";O.length===1?J(_)?(R=_.modifier||R,N=_.type||N):M(_)&&(R=_||R):O.length===2&&(M(_)&&(R=_||R),M(E)&&(N=E||N));const T=f(y)(D),B=N==="vnode"&&ue(T)&&R?T[0]:T;return R?d(R)(B,N):B},message:f,type:S,interpolate:b,normalize:m,values:Oe({},u,o)};return D}let Xi=null;function gA(t){Xi=t}function yA(t,e,n){Xi&&Xi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const _A=bA("function:translate");function bA(t){return e=>Xi&&Xi.emit(t,e)}const Ed=Ia.__EXTEND_POINT__,vn=ba(Ed),qe={NOT_FOUND_KEY:Ed,FALLBACK_TO_TRANSLATE:vn(),CANNOT_FORMAT_NUMBER:vn(),FALLBACK_TO_NUMBER_FORMAT:vn(),CANNOT_FORMAT_DATE:vn(),FALLBACK_TO_DATE_FORMAT:vn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:vn(),__EXTEND_POINT__:vn()},EA={[qe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[qe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[qe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[qe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function gn(t,...e){return zi(EA[t],...e)}const Cd=V.__EXTEND_POINT__,yn=ba(Cd),Be={INVALID_ARGUMENT:Cd,INVALID_DATE_ARGUMENT:yn(),INVALID_ISO_DATE_ARGUMENT:yn(),NOT_SUPPORT_NON_STRING_MESSAGE:yn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:yn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:yn(),NOT_SUPPORT_LOCALE_TYPE:yn(),__EXTEND_POINT__:yn()};function _t(t){return Zn(t,null,process.env.NODE_ENV!=="production"?{messages:CA}:void 0)}const CA={[Be.INVALID_ARGUMENT]:"Invalid arguments",[Be.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Be.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Be.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Be.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Be.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Be.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ul(t,e){return e.locale!=null?wd(e.locale):wd(t.locale)}let Hl;function wd(t){if(M(t))return t;if(ie(t)){if(t.resolvedOnce&&Hl!=null)return Hl;if(t.constructor.name==="Function"){const e=t();if(EO(e))throw _t(Be.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hl=e}else throw _t(Be.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw _t(Be.NOT_SUPPORT_LOCALE_TYPE)}function wA(t,e,n){return[...new Set([n,...ue(e)?e:J(e)?Object.keys(e):M(e)?[e]:[n]])]}function Id(t,e,n){const i=M(n)?n:ei,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(i);if(!a){a=[];let u=[n];for(;ue(u);)u=Td(a,u,e);const l=ue(e)||!j(e)?e:e.default?e.default:null;u=M(l)?[l]:l,ue(u)&&Td(a,u,!1),r.__localeChainCache.set(i,a)}return a}function Td(t,e,n){let i=!0;for(let r=0;r<e.length&&q(i);r++){const a=e[r];M(a)&&(i=IA(t,e[r],n))}return i}function IA(t,e,n){let i;const r=e.split("-");do{const a=r.join("-");i=TA(t,a,n),r.splice(-1,1)}while(r.length&&i===!0);return i}function TA(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const r=e.replace(/!/g,"");t.push(r),(ue(n)||j(n))&&n[r]&&(i=n[r])}return i}const SA="9.14.0",Ta=-1,ei="en-US",Sa="",Sd=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function OA(){return{upper:(t,e)=>e==="text"&&M(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&M(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&M(t)?Sd(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?Sd(t.children):t}}let Od;function Ad(t){Od=t}let Rd;function AA(t){Rd=t}let Dd;function RA(t){Dd=t}let Nd=null;const Pd=t=>{Nd=t},DA=()=>Nd;let Fd=null;const Bd=t=>{Fd=t},NA=()=>Fd;let Ld=0;function PA(t={}){const e=ie(t.onWarn)?t.onWarn:Ae,n=M(t.version)?t.version:SA,i=M(t.locale)||ie(t.locale)?t.locale:ei,r=ie(i)?ei:i,a=ue(t.fallbackLocale)||j(t.fallbackLocale)||M(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,u=j(t.messages)?t.messages:{[r]:{}},l=j(t.datetimeFormats)?t.datetimeFormats:{[r]:{}},o=j(t.numberFormats)?t.numberFormats:{[r]:{}},s=Oe({},t.modifiers||{},OA()),f=t.pluralRules||{},d=ie(t.missing)?t.missing:null,m=q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,S=!!t.fallbackFormat,w=!!t.unresolving,D=ie(t.postTranslation)?t.postTranslation:null,y=j(t.processor)?t.processor:null,O=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,E=ie(t.messageCompiler)?t.messageCompiler:Od;process.env.NODE_ENV!=="production"&&!0&&!0&&ie(t.messageCompiler)&&md(gn(qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=ie(t.messageResolver)?t.messageResolver:Rd||uA,R=ie(t.localeFallbacker)?t.localeFallbacker:Dd||wA,T=J(t.fallbackContext)?t.fallbackContext:void 0,B=t,L=J(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,z=J(B.__numberFormatters)?B.__numberFormatters:new Map,ke=J(B.__meta)?B.__meta:{};Ld++;const W={version:n,cid:Ld,locale:i,fallbackLocale:a,messages:u,modifiers:s,pluralRules:f,missing:d,missingWarn:m,fallbackWarn:b,fallbackFormat:S,unresolving:w,postTranslation:D,processor:y,warnHtmlMessage:O,escapeParameter:_,messageCompiler:E,messageResolver:N,localeFallbacker:R,fallbackContext:T,onWarn:e,__meta:ke};return W.datetimeFormats=l,W.numberFormats=o,W.__datetimeFormatters=L,W.__numberFormatters=z,process.env.NODE_ENV!=="production"&&(W.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&yA(W,n,ke),W}function Oa(t,e){return t instanceof RegExp?t.test(e):t}function kd(t,e){return t instanceof RegExp?t.test(e):t}function jl(t,e,n,i,r){const{missing:a,onWarn:u}=t;if(process.env.NODE_ENV!=="production"){const l=t.__v_emitter;l&&l.emit("missing",{locale:n,key:e,type:r,groupId:`${r}:${e}`})}if(a!==null){const l=a(t,n,e,r);return M(l)?l:e}else return process.env.NODE_ENV!=="production"&&kd(i,e)&&u(gn(qe.NOT_FOUND_KEY,{key:e,locale:n})),e}function Ji(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function xd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function FA(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(xd(t,e[i]))return!0;return!1}function Wl(t){return n=>BA(n,t)}function BA(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,r=i.c||i.cases;return t.plural(r.reduce((a,u)=>[...a,Md(t,u)],[]))}else return Md(t,n)}function Md(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const i=(e.i||e.items).reduce((r,a)=>[...r,ql(t,a)],[]);return t.normalize(i)}}function ql(t,e){const n=e.t||e.type;switch(n){case 3:{const i=e;return i.v||i.value}case 9:{const i=e;return i.v||i.value}case 4:{const i=e;return t.interpolate(t.named(i.k||i.key))}case 5:{const i=e;return t.interpolate(t.list(i.i!=null?i.i:i.index))}case 6:{const i=e,r=i.m||i.modifier;return t.linked(ql(t,i.k||i.key),r?ql(t,r):void 0,t.type)}case 7:{const i=e;return i.v||i.value}case 8:{const i=e;return i.v||i.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const LA="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $d(t,e){e&&DO(t)&&Ae(zi(LA,{source:t}))}const Vd=t=>t;let ti=Object.create(null);function Ud(t){t.code===Ia.USE_MODULO_SYNTAX&&Ae(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
17
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${t.message})`)}const qt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Dd(t,e={}){let n=!1;const i=e.onError||V_;return e.onError=r=>{n=!0,i(r)},ha(Bt({},cv(t,e)),{detectError:n})}const Xv=(t,e)=>{if(!$(t))throw bt(Le.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=kd);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Pd(t,n);const r=(e.onCacheKey||Ad)(t),a=ni[r];if(a)return a;const{code:l,detectError:o}=Dd(t,e),u=new Function(`return ${l}`)();return o?u:ni[r]=u}};function zv(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=kd),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&$(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Pd(t,n);const r=(e.onCacheKey||Ad)(t),a=ni[r];if(a)return a;const{ast:l,detectError:o}=Dd(t,ha(Bt({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),u=Uo(l);return o?u:ni[r]=u}else{if(process.env.NODE_ENV!=="production"&&!qt(t))return Re(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=ni[n];return i||(ni[n]=Uo(t))}else return Uo(t)}}const Ld=()=>"",rt=t=>ie(t);function xd(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:r,messageCompiler:a,fallbackLocale:l,messages:o}=t,[u,s]=jo(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,c=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,m=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,S=$(s.default)||q(s.default)?q(s.default)?a?u:()=>u:s.default:n?a?u:()=>u:"",I=n||S!=="",P=$o(t,s);m&&Jv(s);let[_,C,v]=b?[u,P,o[P]||{}]:Md(t,u,P,l,c,f),E=_,A=u;if(!b&&!($(E)||qt(E)||rt(E))&&I&&(E=S,A=E),!b&&(!($(E)||qt(E)||rt(E))||!$(C)))return r?Oa:u;if(process.env.NODE_ENV!=="production"&&$(E)&&t.messageCompiler==null)return Re(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let N=!1;const O=()=>{N=!0},L=rt(E)?E:Fd(t,u,C,E,A,O);if(N)return E;const x=pv(t,C,v,s),X=Rv(x),Me=Qv(t,L,X),W=i?i(Me,u):Me;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const _e={timestamp:Date.now(),key:$(u)?u:rt(E)?E.key:"",locale:C||(rt(E)?E.locale:""),format:$(E)?E:rt(E)?E.source:"",message:W};_e.meta=Ce({},t.__meta,Hv()||{}),Av(_e)}return W}function Jv(t){le(t.list)?t.list=t.list.map(e=>$(e)?ed(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{$(t.named[e])&&(t.named[e]=ed(t.named[e]))})}function Md(t,e,n,i,r,a){const{messages:l,onWarn:o,messageResolver:u,localeFallbacker:s}=t,f=s(t,i,n);let c={},m,b=null,S=n,I=null;const P="translate";for(let _=0;_<f.length;_++){if(m=I=f[_],process.env.NODE_ENV!=="production"&&n!==m&&!Rd(n,m)&&Ca(r,e)&&o(_n(qe.FALLBACK_TO_TRANSLATE,{key:e,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const A=t.__v_emitter;A&&A.emit("fallback",{type:P,key:e,from:S,to:I,groupId:`${P}:${e}`})}c=l[m]||{};let C=null,v,E;if(process.env.NODE_ENV!=="production"&&ot&&(C=window.performance.now(),v="intlify-message-resolve-start",E="intlify-message-resolve-end",pe&&pe(v)),(b=u(c,e))===null&&(b=c[e]),process.env.NODE_ENV!=="production"&&ot){const A=window.performance.now(),N=t.__v_emitter;N&&C&&b&&N.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:A-C,groupId:`${P}:${e}`}),v&&E&&pe&&yn&&(pe(E),yn("intlify message resolve",v,E))}if($(b)||qt(b)||rt(b))break;if(!qv(m,f)){const A=Vo(t,e,m,a,P);A!==e&&(b=A)}S=I}return[b,m,c]}function Fd(t,e,n,i,r,a){const{messageCompiler:l,warnHtmlMessage:o}=t;if(rt(i)){const m=i;return m.locale=m.locale||n,m.key=m.key||e,m}if(l==null){const m=()=>i;return m.locale=n,m.key=e,m}let u=null,s,f;process.env.NODE_ENV!=="production"&&ot&&(u=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(s));const c=l(i,Zv(t,n,r,i,o,a));if(process.env.NODE_ENV!=="production"&&ot){const m=window.performance.now(),b=t.__v_emitter;b&&u&&b.emit("message-compilation",{type:"message-compilation",message:i,time:m-u,groupId:`translate:${e}`}),s&&f&&pe&&yn&&(pe(f),yn("intlify message compilation",s,f))}return c.locale=n,c.key=e,c.source=i,c}function Qv(t,e,n){let i=null,r,a;process.env.NODE_ENV!=="production"&&ot&&(i=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",pe&&pe(r));const l=e(n);if(process.env.NODE_ENV!=="production"&&ot){const o=window.performance.now(),u=t.__v_emitter;u&&i&&u.emit("message-evaluation",{type:"message-evaluation",value:l,time:o-i,groupId:`translate:${e.key}`}),r&&a&&pe&&yn&&(pe(a),yn("intlify message evaluation",r,a))}return l}function jo(...t){const[e,n,i]=t,r={};if(!$(e)&&!Se(e)&&!rt(e)&&!qt(e))throw bt(Le.INVALID_ARGUMENT);const a=Se(e)?String(e):(rt(e),e);return Se(n)?r.plural=n:$(n)?r.default=n:j(n)&&!_a(n)?r.named=n:le(n)&&(r.list=n),Se(i)?r.plural=i:$(i)?r.default=i:j(i)&&Ce(r,i),[a,r]}function Zv(t,e,n,i,r,a){return{locale:e,key:n,warnHtmlMessage:r,onError:l=>{if(a&&a(l),process.env.NODE_ENV!=="production"){const o=Yv(i),u=`Message compilation error: ${l.message}`,s=l.location&&o&&x_(o,l.location.start.offset,l.location.end.offset),f=t.__v_emitter;f&&o&&f.emit("compile-error",{message:o,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${u}
19
- ${s}`:u)}else throw l},onCacheKey:l=>N_(e,n,l)}}function Yv(t){if($(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function pv(t,e,n,i){const{modifiers:r,pluralRules:a,messageResolver:l,fallbackLocale:o,fallbackWarn:u,missingWarn:s,fallbackContext:f}=t,m={locale:e,modifiers:r,pluralRules:a,messages:b=>{let S=l(n,b);if(S==null&&f){const[,,I]=Md(f,b,e,o,u,s);S=l(I,b)}if($(S)||qt(S)){let I=!1;const _=Fd(t,b,e,S,b,()=>{I=!0});return I?Ld:_}else return rt(S)?S:Ld}};return t.processor&&(m.processor=t.processor),i.list&&(m.list=i.list),i.named&&(m.named=i.named),Se(i.plural)&&(m.pluralIndex=i.plural),m}const $d=typeof Intl!="undefined",Bd={dateTimeFormat:$d&&typeof Intl.DateTimeFormat!="undefined",numberFormat:$d&&typeof Intl.NumberFormat!="undefined"};function Vd(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:l}=t,{__datetimeFormatters:o}=t;if(process.env.NODE_ENV!=="production"&&!Bd.dateTimeFormat)return a(_n(qe.CANNOT_FORMAT_DATE)),Sa;const[u,s,f,c]=Wo(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=$o(t,f),P=l(t,r,I);if(!$(u)||u==="")return new Intl.DateTimeFormat(I,c).format(s);let _={},C,v=null,E=I,A=null;const N="datetime format";for(let x=0;x<P.length;x++){if(C=A=P[x],process.env.NODE_ENV!=="production"&&I!==C&&Ca(b,u)&&a(_n(qe.FALLBACK_TO_DATE_FORMAT,{key:u,target:C})),process.env.NODE_ENV!=="production"&&I!==C){const X=t.__v_emitter;X&&X.emit("fallback",{type:N,key:u,from:E,to:A,groupId:`${N}:${u}`})}if(_=n[C]||{},v=_[u],j(v))break;Vo(t,u,C,m,N),E=A}if(!j(v)||!$(C))return i?Oa:u;let O=`${C}__${u}`;_a(c)||(O=`${O}__${JSON.stringify(c)}`);let L=o.get(O);return L||(L=new Intl.DateTimeFormat(C,Ce({},v,c)),o.set(O,L)),S?L.formatToParts(s):L.format(s)}const Ud=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Wo(...t){const[e,n,i,r]=t,a={};let l={},o;if($(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw bt(Le.INVALID_ISO_DATE_ARGUMENT);const s=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();o=new Date(s);try{o.toISOString()}catch(f){throw bt(Le.INVALID_ISO_DATE_ARGUMENT)}}else if(A_(e)){if(isNaN(e.getTime()))throw bt(Le.INVALID_DATE_ARGUMENT);o=e}else if(Se(e))o=e;else throw bt(Le.INVALID_ARGUMENT);return $(n)?a.key=n:j(n)&&Object.keys(n).forEach(u=>{Ud.includes(u)?l[u]=n[u]:a[u]=n[u]}),$(i)?a.locale=i:j(i)&&(l=i),j(r)&&(l=r),[a.key||"",o,a,l]}function Hd(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__datetimeFormatters.has(a)||i.__datetimeFormatters.delete(a)}}function jd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:l}=t,{__numberFormatters:o}=t;if(process.env.NODE_ENV!=="production"&&!Bd.numberFormat)return a(_n(qe.CANNOT_FORMAT_NUMBER)),Sa;const[u,s,f,c]=qo(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=$o(t,f),P=l(t,r,I);if(!$(u)||u==="")return new Intl.NumberFormat(I,c).format(s);let _={},C,v=null,E=I,A=null;const N="number format";for(let x=0;x<P.length;x++){if(C=A=P[x],process.env.NODE_ENV!=="production"&&I!==C&&Ca(b,u)&&a(_n(qe.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:C})),process.env.NODE_ENV!=="production"&&I!==C){const X=t.__v_emitter;X&&X.emit("fallback",{type:N,key:u,from:E,to:A,groupId:`${N}:${u}`})}if(_=n[C]||{},v=_[u],j(v))break;Vo(t,u,C,m,N),E=A}if(!j(v)||!$(C))return i?Oa:u;let O=`${C}__${u}`;_a(c)||(O=`${O}__${JSON.stringify(c)}`);let L=o.get(O);return L||(L=new Intl.NumberFormat(C,Ce({},v,c)),o.set(O,L)),S?L.formatToParts(s):L.format(s)}const Wd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function qo(...t){const[e,n,i,r]=t,a={};let l={};if(!Se(e))throw bt(Le.INVALID_ARGUMENT);const o=e;return $(n)?a.key=n:j(n)&&Object.keys(n).forEach(u=>{Wd.includes(u)?l[u]=n[u]:a[u]=n[u]}),$(i)?a.locale=i:j(i)&&(l=i),j(r)&&(l=r),[a.key||"",o,a,l]}function qd(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__numberFormatters.has(a)||i.__numberFormatters.delete(a)}}dv();/**
20
- * @vue/shared v3.4.35
18
+ (message compiler warning message: ${t.message})`)}const Wt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Hd(t,e={}){let n=!1;const i=e.onError||AO;return e.onError=r=>{n=!0,i(r)},ma($t({},YO(t,e)),{detectError:n})}const kA=(t,e)=>{if(!M(t))throw _t(Be.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Ud);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$d(t,n);const r=(e.onCacheKey||Vd)(t),a=ti[r];if(a)return a;const{code:u,detectError:l}=Hd(t,e),o=new Function(`return ${u}`)();return l?o:ti[r]=o}};function xA(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Ud),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$d(t,n);const r=(e.onCacheKey||Vd)(t),a=ti[r];if(a)return a;const{ast:u,detectError:l}=Hd(t,ma($t({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),o=Wl(u);return l?o:ti[r]=o}else{if(process.env.NODE_ENV!=="production"&&!Wt(t))return Ae(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=ti[n];return i||(ti[n]=Wl(t))}else return Wl(t)}}const jd=()=>"",rt=t=>ie(t);function Wd(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:r,messageCompiler:a,fallbackLocale:u,messages:l}=t,[o,s]=Gl(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,d=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,m=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,S=M(s.default)||q(s.default)?q(s.default)?a?o:()=>o:s.default:n?a?o:()=>o:"",w=n||S!=="",D=Ul(t,s);m&&MA(s);let[y,O,_]=b?[o,D,l[D]||{}]:qd(t,o,D,u,d,f),E=y,N=o;if(!b&&!(M(E)||Wt(E)||rt(E))&&w&&(E=S,N=E),!b&&(!(M(E)||Wt(E)||rt(E))||!M(O)))return r?Ta:o;if(process.env.NODE_ENV!=="production"&&M(E)&&t.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${o}'.`),o;let R=!1;const T=()=>{R=!0},B=rt(E)?E:Gd(t,o,O,E,N,T);if(R)return E;const L=HA(t,O,_,s),z=vA(L),ke=$A(t,B,z),W=i?i(ke,o):ke;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ge={timestamp:Date.now(),key:M(o)?o:rt(E)?E.key:"",locale:O||(rt(E)?E.locale:""),format:M(E)?E:rt(E)?E.source:"",message:W};ge.meta=Oe({},t.__meta,DA()||{}),_A(ge)}return W}function MA(t){ue(t.list)?t.list=t.list.map(e=>M(e)?sd(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{M(t.named[e])&&(t.named[e]=sd(t.named[e]))})}function qd(t,e,n,i,r,a){const{messages:u,onWarn:l,messageResolver:o,localeFallbacker:s}=t,f=s(t,i,n);let d={},m,b=null,S=n,w=null;const D="translate";for(let y=0;y<f.length;y++){if(m=w=f[y],process.env.NODE_ENV!=="production"&&n!==m&&!xd(n,m)&&Oa(r,e)&&l(gn(qe.FALLBACK_TO_TRANSLATE,{key:e,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const N=t.__v_emitter;N&&N.emit("fallback",{type:D,key:e,from:S,to:w,groupId:`${D}:${e}`})}d=u[m]||{};let O=null,_,E;if(process.env.NODE_ENV!=="production"&&lt&&(O=window.performance.now(),_="intlify-message-resolve-start",E="intlify-message-resolve-end",pe&&pe(_)),(b=o(d,e))===null&&(b=d[e]),process.env.NODE_ENV!=="production"&&lt){const N=window.performance.now(),R=t.__v_emitter;R&&O&&b&&R.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:N-O,groupId:`${D}:${e}`}),_&&E&&pe&&mn&&(pe(E),mn("intlify message resolve",_,E))}if(M(b)||Wt(b)||rt(b))break;if(!FA(m,f)){const N=jl(t,e,m,a,D);N!==e&&(b=N)}S=w}return[b,m,d]}function Gd(t,e,n,i,r,a){const{messageCompiler:u,warnHtmlMessage:l}=t;if(rt(i)){const m=i;return m.locale=m.locale||n,m.key=m.key||e,m}if(u==null){const m=()=>i;return m.locale=n,m.key=e,m}let o=null,s,f;process.env.NODE_ENV!=="production"&&lt&&(o=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(s));const d=u(i,VA(t,n,r,i,l,a));if(process.env.NODE_ENV!=="production"&&lt){const m=window.performance.now(),b=t.__v_emitter;b&&o&&b.emit("message-compilation",{type:"message-compilation",message:i,time:m-o,groupId:`translate:${e}`}),s&&f&&pe&&mn&&(pe(f),mn("intlify message compilation",s,f))}return d.locale=n,d.key=e,d.source=i,d}function $A(t,e,n){let i=null,r,a;process.env.NODE_ENV!=="production"&&lt&&(i=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",pe&&pe(r));const u=e(n);if(process.env.NODE_ENV!=="production"&&lt){const l=window.performance.now(),o=t.__v_emitter;o&&i&&o.emit("message-evaluation",{type:"message-evaluation",value:u,time:l-i,groupId:`translate:${e.key}`}),r&&a&&pe&&mn&&(pe(a),mn("intlify message evaluation",r,a))}return u}function Gl(...t){const[e,n,i]=t,r={};if(!M(e)&&!Se(e)&&!rt(e)&&!Wt(e))throw _t(Be.INVALID_ARGUMENT);const a=Se(e)?String(e):(rt(e),e);return Se(n)?r.plural=n:M(n)?r.default=n:j(n)&&!ya(n)?r.named=n:ue(n)&&(r.list=n),Se(i)?r.plural=i:M(i)?r.default=i:j(i)&&Oe(r,i),[a,r]}function VA(t,e,n,i,r,a){return{locale:e,key:n,warnHtmlMessage:r,onError:u=>{if(a&&a(u),process.env.NODE_ENV!=="production"){const l=UA(i),o=`Message compilation error: ${u.message}`,s=u.location&&l&&wO(l,u.location.start.offset,u.location.end.offset),f=t.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${o}
19
+ ${s}`:o)}else throw u},onCacheKey:u=>gO(e,n,u)}}function UA(t){if(M(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function HA(t,e,n,i){const{modifiers:r,pluralRules:a,messageResolver:u,fallbackLocale:l,fallbackWarn:o,missingWarn:s,fallbackContext:f}=t,m={locale:e,modifiers:r,pluralRules:a,messages:b=>{let S=u(n,b);if(S==null&&f){const[,,w]=qd(f,b,e,l,o,s);S=u(w,b)}if(M(S)||Wt(S)){let w=!1;const y=Gd(t,b,e,S,b,()=>{w=!0});return w?jd:y}else return rt(S)?S:jd}};return t.processor&&(m.processor=t.processor),i.list&&(m.list=i.list),i.named&&(m.named=i.named),Se(i.plural)&&(m.pluralIndex=i.plural),m}const Kd=typeof Intl!="undefined",zd={dateTimeFormat:Kd&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Kd&&typeof Intl.NumberFormat!="undefined"};function Xd(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:u}=t,{__datetimeFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!zd.dateTimeFormat)return a(gn(qe.CANNOT_FORMAT_DATE)),Sa;const[o,s,f,d]=Kl(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,w=Ul(t,f),D=u(t,r,w);if(!M(o)||o==="")return new Intl.DateTimeFormat(w,d).format(s);let y={},O,_=null,E=w,N=null;const R="datetime format";for(let L=0;L<D.length;L++){if(O=N=D[L],process.env.NODE_ENV!=="production"&&w!==O&&Oa(b,o)&&a(gn(qe.FALLBACK_TO_DATE_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&w!==O){const z=t.__v_emitter;z&&z.emit("fallback",{type:R,key:o,from:E,to:N,groupId:`${R}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;jl(t,o,O,m,R),E=N}if(!j(_)||!M(O))return i?Ta:o;let T=`${O}__${o}`;ya(d)||(T=`${T}__${JSON.stringify(d)}`);let B=l.get(T);return B||(B=new Intl.DateTimeFormat(O,Oe({},_,d)),l.set(T,B)),S?B.formatToParts(s):B.format(s)}const Jd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Kl(...t){const[e,n,i,r]=t,a={};let u={},l;if(M(e)){const o=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!o)throw _t(Be.INVALID_ISO_DATE_ARGUMENT);const s=o[3]?o[3].trim().startsWith("T")?`${o[1].trim()}${o[3].trim()}`:`${o[1].trim()}T${o[3].trim()}`:o[1].trim();l=new Date(s);try{l.toISOString()}catch(f){throw _t(Be.INVALID_ISO_DATE_ARGUMENT)}}else if(_O(e)){if(isNaN(e.getTime()))throw _t(Be.INVALID_DATE_ARGUMENT);l=e}else if(Se(e))l=e;else throw _t(Be.INVALID_ARGUMENT);return M(n)?a.key=n:j(n)&&Object.keys(n).forEach(o=>{Jd.includes(o)?u[o]=n[o]:a[o]=n[o]}),M(i)?a.locale=i:j(i)&&(u=i),j(r)&&(u=r),[a.key||"",l,a,u]}function Qd(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__datetimeFormatters.has(a)||i.__datetimeFormatters.delete(a)}}function Zd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:u}=t,{__numberFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!zd.numberFormat)return a(gn(qe.CANNOT_FORMAT_NUMBER)),Sa;const[o,s,f,d]=zl(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,w=Ul(t,f),D=u(t,r,w);if(!M(o)||o==="")return new Intl.NumberFormat(w,d).format(s);let y={},O,_=null,E=w,N=null;const R="number format";for(let L=0;L<D.length;L++){if(O=N=D[L],process.env.NODE_ENV!=="production"&&w!==O&&Oa(b,o)&&a(gn(qe.FALLBACK_TO_NUMBER_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&w!==O){const z=t.__v_emitter;z&&z.emit("fallback",{type:R,key:o,from:E,to:N,groupId:`${R}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;jl(t,o,O,m,R),E=N}if(!j(_)||!M(O))return i?Ta:o;let T=`${O}__${o}`;ya(d)||(T=`${T}__${JSON.stringify(d)}`);let B=l.get(T);return B||(B=new Intl.NumberFormat(O,Oe({},_,d)),l.set(T,B)),S?B.formatToParts(s):B.format(s)}const Yd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zl(...t){const[e,n,i,r]=t,a={};let u={};if(!Se(e))throw _t(Be.INVALID_ARGUMENT);const l=e;return M(n)?a.key=n:j(n)&&Object.keys(n).forEach(o=>{Yd.includes(o)?u[o]=n[o]:a[o]=n[o]}),M(i)?a.locale=i:j(i)&&(u=i),j(r)&&(u=r),[a.key||"",l,a,u]}function pd(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__numberFormatters.has(a)||i.__numberFormatters.delete(a)}}pO();/**
20
+ * @vue/shared v3.4.38
21
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
22
  * @license MIT
23
- **//*! #__NO_SIDE_EFFECTS__ */function eb(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const Et=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Kt=()=>{},tb=()=>!1,nb=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),at=Object.assign,ib=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},rb=Object.prototype.hasOwnProperty,we=(t,e)=>rb.call(t,e),oe=Array.isArray,ii=t=>Ra(t)==="[object Map]",ab=t=>Ra(t)==="[object Set]",Ie=t=>typeof t=="function",ct=t=>typeof t=="string",Ji=t=>typeof t=="symbol",Ke=t=>t!==null&&typeof t=="object",lb=t=>(Ke(t)||Ie(t))&&Ie(t.then)&&Ie(t.catch),ob=Object.prototype.toString,Ra=t=>ob.call(t),Kd=t=>Ra(t).slice(8,-1),ub=t=>Ra(t)==="[object Object]",Ko=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Gd=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Xd=Gd(t=>t.charAt(0).toUpperCase()+t.slice(1)),sb=Gd(t=>t?`on${Xd(t)}`:""),Gt=(t,e)=>!Object.is(t,e),cb=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let zd;const Jd=()=>zd||(zd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Go(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=ct(i)?mb(i):Go(i);if(r)for(const a in r)e[a]=r[a]}return e}else if(ct(t)||Ke(t))return t}const db=/;(?![^(]*\))/g,fb=/:([^]+)/,hb=/\/\*[^]*?\*\//g;function mb(t){const e={};return t.replace(hb,"").split(db).forEach(n=>{if(n){const i=n.split(fb);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Xo(t){let e="";if(ct(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=Xo(t[n]);i&&(e+=i+" ")}else if(Ke(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
24
- * @vue/reactivity v3.4.35
23
+ **//*! #__NO_SIDE_EFFECTS__ */function jA(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const bt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const qt=()=>{},WA=()=>!1,qA=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),at=Object.assign,GA=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},KA=Object.prototype.hasOwnProperty,Ee=(t,e)=>KA.call(t,e),le=Array.isArray,ni=t=>Aa(t)==="[object Map]",zA=t=>Aa(t)==="[object Set]",Ce=t=>typeof t=="function",ct=t=>typeof t=="string",Qi=t=>typeof t=="symbol",Ge=t=>t!==null&&typeof t=="object",XA=t=>(Ge(t)||Ce(t))&&Ce(t.then)&&Ce(t.catch),JA=Object.prototype.toString,Aa=t=>JA.call(t),ef=t=>Aa(t).slice(8,-1),QA=t=>Aa(t)==="[object Object]",Xl=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,tf=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},nf=tf(t=>t.charAt(0).toUpperCase()+t.slice(1)),ZA=tf(t=>t?`on${nf(t)}`:""),Gt=(t,e)=>!Object.is(t,e),YA=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let rf;const af=()=>rf||(rf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Jl(t){if(le(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=ct(i)?nR(i):Jl(i);if(r)for(const a in r)e[a]=r[a]}return e}else if(ct(t)||Ge(t))return t}const pA=/;(?![^(]*\))/g,eR=/:([^]+)/,tR=/\/\*[^]*?\*\//g;function nR(t){const e={};return t.replace(tR,"").split(pA).forEach(n=>{if(n){const i=n.split(eR);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ql(t){let e="";if(ct(t))e=t;else if(le(t))for(let n=0;n<t.length;n++){const i=Ql(t[n]);i&&(e+=i+" ")}else if(Ge(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
24
+ * @vue/reactivity v3.4.38
25
25
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
26
26
  * @license MIT
27
- **/function Xt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let dt;class yb{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!e&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=dt;try{return dt=this,e()}finally{dt=n}}else process.env.NODE_ENV!=="production"&&Xt("cannot run an inactive effect scope.")}on(){dt=this}off(){dt=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function gb(t){return new yb(t)}function _b(t,e=dt){e&&e.active&&e.effects.push(t)}function vb(){return dt}let bn;class Qd{constructor(e,n,i,r){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,_b(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Qi();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(bb(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Zi()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=zt,n=bn;try{return zt=!0,bn=this,this._runnings++,Zd(this),this.fn()}finally{Yd(this),this._runnings--,bn=n,zt=e}}stop(){this.active&&(Zd(this),Yd(this),this.onStop&&this.onStop(),this.active=!1)}}function bb(t){return t.value}function Zd(t){t._trackId++,t._depsLength=0}function Yd(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)pd(t.deps[e],t);t.deps.length=t._depsLength}}function pd(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let zt=!0,zo=0;const ef=[];function Qi(){ef.push(zt),zt=!1}function Zi(){const t=ef.pop();zt=t===void 0?!0:t}function Jo(){zo++}function Qo(){for(zo--;!zo&&Zo.length;)Zo.shift()()}function tf(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&pd(r,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((i=t.onTrack)==null||i.call(t,at({effect:t},n)))}}const Zo=[];function nf(t,e,n){var i;Jo();for(const r of t.keys()){let a;r._dirtyLevel<e&&(a!=null?a:a=t.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(a!=null?a:a=t.get(r)===r._trackId)&&(process.env.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,at({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Zo.push(r.scheduler)))}Qo()}const rf=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},Yo=new WeakMap,En=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),po=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ue(t,e,n){if(zt&&bn){let i=Yo.get(t);i||Yo.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=rf(()=>i.delete(n))),tf(bn,r,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function Jt(t,e,n,i,r,a){const l=Yo.get(t);if(!l)return;let o=[];if(e==="clear")o=[...l.values()];else if(n==="length"&&oe(t)){const u=Number(i);l.forEach((s,f)=>{(f==="length"||!Ji(f)&&f>=u)&&o.push(s)})}else switch(n!==void 0&&o.push(l.get(n)),e){case"add":oe(t)?Ko(n)&&o.push(l.get("length")):(o.push(l.get(En)),ii(t)&&o.push(l.get(po)));break;case"delete":oe(t)||(o.push(l.get(En)),ii(t)&&o.push(l.get(po)));break;case"set":ii(t)&&o.push(l.get(En));break}Jo();for(const u of o)u&&nf(u,4,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:a}:void 0);Qo()}const Eb=eb("__proto__,__v_isRef,__isVue"),af=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ji)),lf=wb();function wb(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=K(this);for(let a=0,l=this.length;a<l;a++)Ue(i,"get",a+"");const r=i[e](...n);return r===-1||r===!1?i[e](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Qi(),Jo();const i=K(this)[e].apply(this,n);return Qo(),Zi(),i}}),t}function Ib(t){Ji(t)||(t=String(t));const e=K(this);return Ue(e,"has",t),e.hasOwnProperty(t)}class of{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return i===(r?a?gf:yf:a?Mb:mf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const l=oe(e);if(!r){if(l&&we(lf,n))return Reflect.get(lf,n,i);if(n==="hasOwnProperty")return Ib}const o=Reflect.get(e,n,i);return(Ji(n)?af.has(n):Eb(n))||(r||Ue(e,"get",n),a)?o:Je(o)?l&&Ko(n)?o:o.value:Ke(o)?r?vf(o):_f(o):o}}class Tb extends of{constructor(e=!1){super(!1,e)}set(e,n,i,r){let a=e[n];if(!this._isShallow){const u=Pt(a);if(!At(i)&&!Pt(i)&&(a=K(a),i=K(i)),!oe(e)&&Je(a)&&!Je(i))return u?!1:(a.value=i,!0)}const l=oe(e)&&Ko(n)?Number(n)<e.length:we(e,n),o=Reflect.set(e,n,i,r);return e===K(r)&&(l?Gt(i,a)&&Jt(e,"set",n,i,a):Jt(e,"add",n,i)),o}deleteProperty(e,n){const i=we(e,n),r=e[n],a=Reflect.deleteProperty(e,n);return a&&i&&Jt(e,"delete",n,void 0,r),a}has(e,n){const i=Reflect.has(e,n);return(!Ji(n)||!af.has(n))&&Ue(e,"has",n),i}ownKeys(e){return Ue(e,"iterate",oe(e)?"length":En),Reflect.ownKeys(e)}}class uf extends of{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Xt(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Xt(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const Ob=new Tb,Sb=new uf,Cb=new uf(!0),eu=t=>t,Na=t=>Reflect.getPrototypeOf(t);function Pa(t,e,n=!1,i=!1){t=t.__v_raw;const r=K(t),a=K(e);n||(Gt(e,a)&&Ue(r,"get",e),Ue(r,"get",a));const{has:l}=Na(r),o=i?eu:n?ru:Yi;if(l.call(r,e))return o(t.get(e));if(l.call(r,a))return o(t.get(a));t!==r&&t.get(e)}function Aa(t,e=!1){const n=this.__v_raw,i=K(n),r=K(t);return e||(Gt(t,r)&&Ue(i,"has",t),Ue(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function ka(t,e=!1){return t=t.__v_raw,!e&&Ue(K(t),"iterate",En),Reflect.get(t,"size",t)}function sf(t,e=!1){!e&&!At(t)&&!Pt(t)&&(t=K(t));const n=K(this);return Na(n).has.call(n,t)||(n.add(t),Jt(n,"add",t,t)),this}function cf(t,e,n=!1){!n&&!At(e)&&!Pt(e)&&(e=K(e));const i=K(this),{has:r,get:a}=Na(i);let l=r.call(i,t);l?process.env.NODE_ENV!=="production"&&hf(i,r,t):(t=K(t),l=r.call(i,t));const o=a.call(i,t);return i.set(t,e),l?Gt(e,o)&&Jt(i,"set",t,e,o):Jt(i,"add",t,e),this}function df(t){const e=K(this),{has:n,get:i}=Na(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&hf(e,n,t):(t=K(t),r=n.call(e,t));const a=i?i.call(e,t):void 0,l=e.delete(t);return r&&Jt(e,"delete",t,void 0,a),l}function ff(){const t=K(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?ii(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&Jt(t,"clear",void 0,void 0,n),i}function Da(t,e){return function(i,r){const a=this,l=a.__v_raw,o=K(l),u=e?eu:t?ru:Yi;return!t&&Ue(o,"iterate",En),l.forEach((s,f)=>i.call(r,u(s),u(f),a))}}function La(t,e,n){return function(...i){const r=this.__v_raw,a=K(r),l=ii(a),o=t==="entries"||t===Symbol.iterator&&l,u=t==="keys"&&l,s=r[t](...i),f=n?eu:e?ru:Yi;return!e&&Ue(a,"iterate",u?po:En),{next(){const{value:c,done:m}=s.next();return m?{value:c,done:m}:{value:o?[f(c[0]),f(c[1])]:f(c),done:m}},[Symbol.iterator](){return this}}}}function Qt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Xt(`${Xd(t)} operation ${n}failed: target is readonly.`,K(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function Rb(){const t={get(a){return Pa(this,a)},get size(){return ka(this)},has:Aa,add:sf,set:cf,delete:df,clear:ff,forEach:Da(!1,!1)},e={get(a){return Pa(this,a,!1,!0)},get size(){return ka(this)},has:Aa,add(a){return sf.call(this,a,!0)},set(a,l){return cf.call(this,a,l,!0)},delete:df,clear:ff,forEach:Da(!1,!0)},n={get(a){return Pa(this,a,!0)},get size(){return ka(this,!0)},has(a){return Aa.call(this,a,!0)},add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear"),forEach:Da(!0,!1)},i={get(a){return Pa(this,a,!0,!0)},get size(){return ka(this,!0)},has(a){return Aa.call(this,a,!0)},add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear"),forEach:Da(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=La(a,!1,!1),n[a]=La(a,!0,!1),e[a]=La(a,!1,!0),i[a]=La(a,!0,!0)}),[t,n,e,i]}const[Nb,Pb,Ab,kb]=Rb();function tu(t,e){const n=e?t?kb:Ab:t?Pb:Nb;return(i,r,a)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(we(n,r)&&r in i?n:i,r,a)}const Db={get:tu(!1,!1)},Lb={get:tu(!0,!1)},xb={get:tu(!0,!0)};function hf(t,e,n){const i=K(n);if(i!==n&&e.call(t,i)){const r=Kd(t);Xt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const mf=new WeakMap,Mb=new WeakMap,yf=new WeakMap,gf=new WeakMap;function Fb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $b(t){return t.__v_skip||!Object.isExtensible(t)?0:Fb(Kd(t))}function _f(t){return Pt(t)?t:nu(t,!1,Ob,Db,mf)}function vf(t){return nu(t,!0,Sb,Lb,yf)}function xa(t){return nu(t,!0,Cb,xb,gf)}function nu(t,e,n,i,r){if(!Ke(t))return process.env.NODE_ENV!=="production"&&Xt(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=r.get(t);if(a)return a;const l=$b(t);if(l===0)return t;const o=new Proxy(t,l===2?i:n);return r.set(t,o),o}function ri(t){return Pt(t)?ri(t.__v_raw):!!(t&&t.__v_isReactive)}function Pt(t){return!!(t&&t.__v_isReadonly)}function At(t){return!!(t&&t.__v_isShallow)}function iu(t){return t?!!t.__v_raw:!1}function K(t){const e=t&&t.__v_raw;return e?K(e):t}function Bb(t){return Object.isExtensible(t)&&cb(t,"__v_skip",!0),t}const Yi=t=>Ke(t)?_f(t):t,ru=t=>Ke(t)?vf(t):t,Vb="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class bf{constructor(e,n,i,r){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Qd(()=>e(this._value),()=>Ma(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=K(this);return(!e._cacheable||e.effect.dirty)&&Gt(e._value,e._value=e.effect.run())&&Ma(e,4),Ef(e),e.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&Xt(Vb,`
27
+ **/function Kt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let dt;class iR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!e&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=dt;try{return dt=this,e()}finally{dt=n}}else process.env.NODE_ENV!=="production"&&Kt("cannot run an inactive effect scope.")}on(){dt=this}off(){dt=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function rR(t){return new iR(t)}function aR(t,e=dt){e&&e.active&&e.effects.push(t)}function uR(){return dt}let _n;class uf{constructor(e,n,i,r){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,aR(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Zi();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(lR(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Yi()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=zt,n=_n;try{return zt=!0,_n=this,this._runnings++,lf(this),this.fn()}finally{of(this),this._runnings--,_n=n,zt=e}}stop(){this.active&&(lf(this),of(this),this.onStop&&this.onStop(),this.active=!1)}}function lR(t){return t.value}function lf(t){t._trackId++,t._depsLength=0}function of(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)sf(t.deps[e],t);t.deps.length=t._depsLength}}function sf(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let zt=!0,Zl=0;const cf=[];function Zi(){cf.push(zt),zt=!1}function Yi(){const t=cf.pop();zt=t===void 0?!0:t}function Yl(){Zl++}function pl(){for(Zl--;!Zl&&eo.length;)eo.shift()()}function df(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&sf(r,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((i=t.onTrack)==null||i.call(t,at({effect:t},n)))}}const eo=[];function ff(t,e,n){var i;Yl();for(const r of t.keys()){let a;r._dirtyLevel<e&&(a!=null?a:a=t.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(a!=null?a:a=t.get(r)===r._trackId)&&(process.env.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,at({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&eo.push(r.scheduler)))}pl()}const hf=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},to=new WeakMap,bn=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),no=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ue(t,e,n){if(zt&&_n){let i=to.get(t);i||to.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=hf(()=>i.delete(n))),df(_n,r,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function Xt(t,e,n,i,r,a){const u=to.get(t);if(!u)return;let l=[];if(e==="clear")l=[...u.values()];else if(n==="length"&&le(t)){const o=Number(i);u.forEach((s,f)=>{(f==="length"||!Qi(f)&&f>=o)&&l.push(s)})}else switch(n!==void 0&&l.push(u.get(n)),e){case"add":le(t)?Xl(n)&&l.push(u.get("length")):(l.push(u.get(bn)),ni(t)&&l.push(u.get(no)));break;case"delete":le(t)||(l.push(u.get(bn)),ni(t)&&l.push(u.get(no)));break;case"set":ni(t)&&l.push(u.get(bn));break}Yl();for(const o of l)o&&ff(o,4,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:a}:void 0);pl()}const oR=jA("__proto__,__v_isRef,__isVue"),mf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Qi)),vf=sR();function sR(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=G(this);for(let a=0,u=this.length;a<u;a++)Ue(i,"get",a+"");const r=i[e](...n);return r===-1||r===!1?i[e](...n.map(G)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Zi(),Yl();const i=G(this)[e].apply(this,n);return pl(),Yi(),i}}),t}function cR(t){Qi(t)||(t=String(t));const e=G(this);return Ue(e,"has",t),e.hasOwnProperty(t)}class gf{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return i===(r?a?Sf:Tf:a?IR:If).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const u=le(e);if(!r){if(u&&Ee(vf,n))return Reflect.get(vf,n,i);if(n==="hasOwnProperty")return cR}const l=Reflect.get(e,n,i);return(Qi(n)?mf.has(n):oR(n))||(r||Ue(e,"get",n),a)?l:Je(l)?u&&Xl(n)?l:l.value:Ge(l)?r?Af(l):Of(l):l}}class dR extends gf{constructor(e=!1){super(!1,e)}set(e,n,i,r){let a=e[n];if(!this._isShallow){const o=Dt(a);if(!Nt(i)&&!Dt(i)&&(a=G(a),i=G(i)),!le(e)&&Je(a)&&!Je(i))return o?!1:(a.value=i,!0)}const u=le(e)&&Xl(n)?Number(n)<e.length:Ee(e,n),l=Reflect.set(e,n,i,r);return e===G(r)&&(u?Gt(i,a)&&Xt(e,"set",n,i,a):Xt(e,"add",n,i)),l}deleteProperty(e,n){const i=Ee(e,n),r=e[n],a=Reflect.deleteProperty(e,n);return a&&i&&Xt(e,"delete",n,void 0,r),a}has(e,n){const i=Reflect.has(e,n);return(!Qi(n)||!mf.has(n))&&Ue(e,"has",n),i}ownKeys(e){return Ue(e,"iterate",le(e)?"length":bn),Reflect.ownKeys(e)}}class yf extends gf{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Kt(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Kt(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const fR=new dR,hR=new yf,mR=new yf(!0),io=t=>t,Ra=t=>Reflect.getPrototypeOf(t);function Da(t,e,n=!1,i=!1){t=t.__v_raw;const r=G(t),a=G(e);n||(Gt(e,a)&&Ue(r,"get",e),Ue(r,"get",a));const{has:u}=Ra(r),l=i?io:n?lo:pi;if(u.call(r,e))return l(t.get(e));if(u.call(r,a))return l(t.get(a));t!==r&&t.get(e)}function Na(t,e=!1){const n=this.__v_raw,i=G(n),r=G(t);return e||(Gt(t,r)&&Ue(i,"has",t),Ue(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function Pa(t,e=!1){return t=t.__v_raw,!e&&Ue(G(t),"iterate",bn),Reflect.get(t,"size",t)}function _f(t,e=!1){!e&&!Nt(t)&&!Dt(t)&&(t=G(t));const n=G(this);return Ra(n).has.call(n,t)||(n.add(t),Xt(n,"add",t,t)),this}function bf(t,e,n=!1){!n&&!Nt(e)&&!Dt(e)&&(e=G(e));const i=G(this),{has:r,get:a}=Ra(i);let u=r.call(i,t);u?process.env.NODE_ENV!=="production"&&wf(i,r,t):(t=G(t),u=r.call(i,t));const l=a.call(i,t);return i.set(t,e),u?Gt(e,l)&&Xt(i,"set",t,e,l):Xt(i,"add",t,e),this}function Ef(t){const e=G(this),{has:n,get:i}=Ra(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&wf(e,n,t):(t=G(t),r=n.call(e,t));const a=i?i.call(e,t):void 0,u=e.delete(t);return r&&Xt(e,"delete",t,void 0,a),u}function Cf(){const t=G(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?ni(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&Xt(t,"clear",void 0,void 0,n),i}function Fa(t,e){return function(i,r){const a=this,u=a.__v_raw,l=G(u),o=e?io:t?lo:pi;return!t&&Ue(l,"iterate",bn),u.forEach((s,f)=>i.call(r,o(s),o(f),a))}}function Ba(t,e,n){return function(...i){const r=this.__v_raw,a=G(r),u=ni(a),l=t==="entries"||t===Symbol.iterator&&u,o=t==="keys"&&u,s=r[t](...i),f=n?io:e?lo:pi;return!e&&Ue(a,"iterate",o?no:bn),{next(){const{value:d,done:m}=s.next();return m?{value:d,done:m}:{value:l?[f(d[0]),f(d[1])]:f(d),done:m}},[Symbol.iterator](){return this}}}}function Jt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Kt(`${nf(t)} operation ${n}failed: target is readonly.`,G(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function vR(){const t={get(a){return Da(this,a)},get size(){return Pa(this)},has:Na,add:_f,set:bf,delete:Ef,clear:Cf,forEach:Fa(!1,!1)},e={get(a){return Da(this,a,!1,!0)},get size(){return Pa(this)},has:Na,add(a){return _f.call(this,a,!0)},set(a,u){return bf.call(this,a,u,!0)},delete:Ef,clear:Cf,forEach:Fa(!1,!0)},n={get(a){return Da(this,a,!0)},get size(){return Pa(this,!0)},has(a){return Na.call(this,a,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Fa(!0,!1)},i={get(a){return Da(this,a,!0,!0)},get size(){return Pa(this,!0)},has(a){return Na.call(this,a,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Fa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=Ba(a,!1,!1),n[a]=Ba(a,!0,!1),e[a]=Ba(a,!1,!0),i[a]=Ba(a,!0,!0)}),[t,n,e,i]}const[gR,yR,_R,bR]=vR();function ro(t,e){const n=e?t?bR:_R:t?yR:gR;return(i,r,a)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(Ee(n,r)&&r in i?n:i,r,a)}const ER={get:ro(!1,!1)},CR={get:ro(!0,!1)},wR={get:ro(!0,!0)};function wf(t,e,n){const i=G(n);if(i!==n&&e.call(t,i)){const r=ef(t);Kt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const If=new WeakMap,IR=new WeakMap,Tf=new WeakMap,Sf=new WeakMap;function TR(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function SR(t){return t.__v_skip||!Object.isExtensible(t)?0:TR(ef(t))}function Of(t){return Dt(t)?t:ao(t,!1,fR,ER,If)}function Af(t){return ao(t,!0,hR,CR,Tf)}function La(t){return ao(t,!0,mR,wR,Sf)}function ao(t,e,n,i,r){if(!Ge(t))return process.env.NODE_ENV!=="production"&&Kt(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=r.get(t);if(a)return a;const u=SR(t);if(u===0)return t;const l=new Proxy(t,u===2?i:n);return r.set(t,l),l}function ii(t){return Dt(t)?ii(t.__v_raw):!!(t&&t.__v_isReactive)}function Dt(t){return!!(t&&t.__v_isReadonly)}function Nt(t){return!!(t&&t.__v_isShallow)}function uo(t){return t?!!t.__v_raw:!1}function G(t){const e=t&&t.__v_raw;return e?G(e):t}function OR(t){return Object.isExtensible(t)&&YA(t,"__v_skip",!0),t}const pi=t=>Ge(t)?Of(t):t,lo=t=>Ge(t)?Af(t):t,AR="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Rf{constructor(e,n,i,r){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new uf(()=>e(this._value),()=>ka(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=G(this);return(!e._cacheable||e.effect.dirty)&&Gt(e._value,e._value=e.effect.run())&&ka(e,4),Df(e),e.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&Kt(AR,`
28
28
 
29
- getter: `,this.getter),Ma(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Ub(t,e,n=!1){let i,r;const a=Ie(t);a?(i=t,r=process.env.NODE_ENV!=="production"?()=>{Xt("Write operation failed: computed value is readonly")}:Kt):(i=t.get,r=t.set);const l=new bf(i,r,a||!r,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(l.effect.onTrack=e.onTrack,l.effect.onTrigger=e.onTrigger),l}function Ef(t){var e;zt&&bn&&(t=K(t),tf(bn,(e=t.dep)!=null?e:t.dep=rf(()=>t.dep=void 0,t instanceof bf?t:void 0),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function Ma(t,e=4,n,i){t=K(t);const r=t.dep;r&&nf(r,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n,oldValue:i}:void 0)}function Je(t){return!!(t&&t.__v_isRef===!0)}function ai(t){return If(t,!1)}function wf(t){return If(t,!0)}function If(t,e){return Je(t)?t:new Hb(t,e)}class Hb{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:K(e),this._value=n?e:Yi(e)}get value(){return Ef(this),this._value}set value(e){const n=this.__v_isShallow||At(e)||Pt(e);if(e=n?e:K(e),Gt(e,this._rawValue)){const i=this._rawValue;this._rawValue=e,this._value=n?e:Yi(e),Ma(this,4,e,i)}}}function jb(t){return Je(t)?t.value:t}const Wb={get:(t,e,n)=>jb(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Je(r)&&!Je(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function qb(t){return ri(t)?t:new Proxy(t,Wb)}/**
30
- * @vue/runtime-core v3.4.35
29
+ getter: `,this.getter),ka(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function RR(t,e,n=!1){let i,r;const a=Ce(t);a?(i=t,r=process.env.NODE_ENV!=="production"?()=>{Kt("Write operation failed: computed value is readonly")}:qt):(i=t.get,r=t.set);const u=new Rf(i,r,a||!r,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(u.effect.onTrack=e.onTrack,u.effect.onTrigger=e.onTrigger),u}function Df(t){var e;zt&&_n&&(t=G(t),df(_n,(e=t.dep)!=null?e:t.dep=hf(()=>t.dep=void 0,t instanceof Rf?t:void 0),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function ka(t,e=4,n,i){t=G(t);const r=t.dep;r&&ff(r,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n,oldValue:i}:void 0)}function Je(t){return!!(t&&t.__v_isRef===!0)}function ri(t){return Pf(t,!1)}function Nf(t){return Pf(t,!0)}function Pf(t,e){return Je(t)?t:new DR(t,e)}class DR{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:G(e),this._value=n?e:pi(e)}get value(){return Df(this),this._value}set value(e){const n=this.__v_isShallow||Nt(e)||Dt(e);if(e=n?e:G(e),Gt(e,this._rawValue)){const i=this._rawValue;this._rawValue=e,this._value=n?e:pi(e),ka(this,4,e,i)}}}function NR(t){return Je(t)?t.value:t}const PR={get:(t,e,n)=>NR(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Je(r)&&!Je(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function FR(t){return ii(t)?t:new Proxy(t,PR)}/**
30
+ * @vue/runtime-core v3.4.38
31
31
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
32
32
  * @license MIT
33
- **/const wn=[];function Kb(t){wn.push(t)}function Gb(){wn.pop()}let au=!1;function ue(t,...e){if(au)return;au=!0,Qi();const n=wn.length?wn[wn.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=Xb();if(i)In(i,n,11,[t+e.map(a=>{var l,o;return(o=(l=a.toString)==null?void 0:l.call(a))!=null?o:JSON.stringify(a)}).join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${Xf(n,a.type)}>`).join(`
33
+ **/const En=[];function BR(t){En.push(t)}function LR(){En.pop()}let oo=!1;function oe(t,...e){if(oo)return;oo=!0,Zi();const n=En.length?En[En.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=kR();if(i)Cn(i,n,11,[t+e.map(a=>{var u,l;return(l=(u=a.toString)==null?void 0:u.call(a))!=null?l:JSON.stringify(a)}).join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${th(n,a.type)}>`).join(`
34
34
  `),r]);else{const a=[`[Vue warn]: ${t}`,...e];r.length&&a.push(`
35
- `,...zb(r)),console.warn(...a)}Zi(),au=!1}function Xb(){let t=wn[wn.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function zb(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
36
- `],...Jb(n))}),e}function Jb({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${Xf(t.component,t.type,i)}`,a=">"+n;return t.props?[r,...Qb(t.props),a]:[r+a]}function Qb(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Tf(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Tf(t,e,n){return ct(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Je(e)?(e=Tf(t,K(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ie(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=K(e),n?e:[`${t}=`,e])}const lu={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function In(t,e,n,i){try{return i?t(...i):t()}catch(r){ou(r,e,n)}}function pi(t,e,n,i){if(Ie(t)){const r=In(t,e,n,i);return r&&lb(r)&&r.catch(a=>{ou(a,e,n)}),r}if(oe(t)){const r=[];for(let a=0;a<t.length;a++)r.push(pi(t[a],e,n,i));return r}else process.env.NODE_ENV!=="production"&&ue(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function ou(t,e,n,i=!0){const r=e?e.vnode:null;if(e){let a=e.parent;const l=e.proxy,o=process.env.NODE_ENV!=="production"?lu[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const s=a.ec;if(s){for(let f=0;f<s.length;f++)if(s[f](t,l,o)===!1)return}a=a.parent}const u=e.appContext.config.errorHandler;if(u){Qi(),In(u,null,10,[t,l,o]),Zi();return}}Zb(t,n,r,i)}function Zb(t,e,n,i=!0){if(process.env.NODE_ENV!=="production"){const r=lu[e];if(n&&Kb(n),ue(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Gb(),i)throw t;console.error(t)}else console.error(t)}let Fa=!1,uu=!1;const ft=[];let Zt=0;const li=[];let Yt=null,Tn=0;const Of=Promise.resolve();let su=null;const Yb=100;function pb(t){const e=su||Of;return t?e.then(this?t.bind(this):t):e}function eE(t){let e=Zt+1,n=ft.length;for(;e<n;){const i=e+n>>>1,r=ft[i],a=er(r);a<t||a===t&&r.pre?e=i+1:n=i}return e}function cu(t){(!ft.length||!ft.includes(t,Fa&&t.allowRecurse?Zt+1:Zt))&&(t.id==null?ft.push(t):ft.splice(eE(t.id),0,t),Sf())}function Sf(){!Fa&&!uu&&(uu=!0,su=Of.then(Rf))}function Cf(t){oe(t)?li.push(...t):(!Yt||!Yt.includes(t,t.allowRecurse?Tn+1:Tn))&&li.push(t),Sf()}function tE(t){if(li.length){const e=[...new Set(li)].sort((n,i)=>er(n)-er(i));if(li.length=0,Yt){Yt.push(...e);return}for(Yt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),Tn=0;Tn<Yt.length;Tn++){const n=Yt[Tn];process.env.NODE_ENV!=="production"&&Nf(t,n)||n.active!==!1&&n()}Yt=null,Tn=0}}const er=t=>t.id==null?1/0:t.id,nE=(t,e)=>{const n=er(t)-er(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Rf(t){uu=!1,Fa=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),ft.sort(nE);const e=process.env.NODE_ENV!=="production"?n=>Nf(t,n):Kt;try{for(Zt=0;Zt<ft.length;Zt++){const n=ft[Zt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;In(n,n.i,n.i?15:14)}}}finally{Zt=0,ft.length=0,tE(t),Fa=!1,su=null,(ft.length||li.length)&&Rf(t)}}function Nf(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>Yb){const i=e.i,r=i&&Gf(i.type);return ou(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const du=new Map;process.env.NODE_ENV!=="production"&&(Jd().__VUE_HMR_RUNTIME__={createRecord:fu(iE),rerender:fu(rE),reload:fu(aE)});const $a=new Map;function iE(t,e){return $a.has(t)?!1:($a.set(t,{initialDef:Ba(e),instances:new Set}),!0)}function Ba(t){return zf(t)?t.__vccOpts:t}function rE(t,e){const n=$a.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,Ba(i.type).render=e),i.renderCache=[],i.effect.dirty=!0,i.update()}))}function aE(t,e){const n=$a.get(t);if(!n)return;e=Ba(e),Pf(n.initialDef,e);const i=[...n.instances];for(let r=0;r<i.length;r++){const a=i[r],l=Ba(a.type);let o=du.get(l);o||(l!==n.initialDef&&Pf(l,e),du.set(l,o=new Set)),o.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(o.add(a),a.ceReload(e.styles),o.delete(a)):a.parent?(a.parent.effect.dirty=!0,cu(()=>{a.parent.update(),o.delete(a)})):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Cf(()=>{du.clear()})}function Pf(t,e){at(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function fu(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let oi,Va=[];function Af(t,e){var n,i;oi=t,oi?(oi.enabled=!0,Va.forEach(({event:r,args:a})=>oi.emit(r,...a)),Va=[]):typeof window!="undefined"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Af(a,e)}),setTimeout(()=>{oi||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Va=[])},3e3)):Va=[]}let wt=null,lE=null;function kf(t,e){t.shapeFlag&6&&t.component?kf(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function hu(t,e){return Ie(t)?(()=>at({name:t.name},e,{setup:t}))():t}function oE(t,e,n=Sn,i=!1){if(n){const r=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...l)=>{Qi();const o=Kf(n),u=pi(e,n,t,l);return o(),Zi(),u});return i?r.unshift(a):r.push(a),a}else if(process.env.NODE_ENV!=="production"){const r=sb(lu[t].replace(/ hook$/,""));ue(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const mu=t=>(e,n=Sn)=>{(!Ka||t==="sp")&&oE(t,(...i)=>e(...i),n)},uE=mu("bm"),sE=mu("m"),cE=mu("um"),dE=Symbol.for("v-ndc"),yu=t=>t?xE(t)?ME(t):yu(t.parent):null,tr=at(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?xa(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?xa(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?xa(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?xa(t.refs):t.refs,$parent:t=>yu(t.parent),$root:t=>yu(t.root),$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?yE(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,cu(t.update)}),$nextTick:t=>t.n||(t.n=pb.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?OE.bind(t):Kt}),fE=t=>t==="_"||t==="$",gu=(t,e)=>t!==Et&&!t.__isScriptSetup&&we(t,e),hE={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:a,accessCache:l,type:o,appContext:u}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=l[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return a[e]}else{if(gu(i,e))return l[e]=1,i[e];if(r!==Et&&we(r,e))return l[e]=2,r[e];if((s=t.propsOptions[0])&&we(s,e))return l[e]=3,a[e];if(n!==Et&&we(n,e))return l[e]=4,n[e];(!__VUE_OPTIONS_API__||mE)&&(l[e]=0)}}const f=tr[e];let c,m;if(f)return e==="$attrs"?(Ue(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ue(t,"get",e),f(t);if((c=o.__cssModules)&&(c=c[e]))return c;if(n!==Et&&we(n,e))return l[e]=4,n[e];if(m=u.config.globalProperties,we(m,e))return m[e];process.env.NODE_ENV!=="production"&&wt&&(!ct(e)||e.indexOf("__v")!==0)&&(r!==Et&&fE(e[0])&&we(r,e)?ue(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===wt&&ue(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:a}=t;return gu(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&we(r,e)?(ue(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==Et&&we(i,e)?(i[e]=n,!0):we(t.props,e)?(process.env.NODE_ENV!=="production"&&ue(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&ue(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(a,e,{enumerable:!0,configurable:!0,value:n}):a[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:a}},l){let o;return!!n[l]||t!==Et&&we(t,l)||gu(e,l)||(o=a[0])&&we(o,l)||we(i,l)||we(tr,l)||we(r.config.globalProperties,l)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:we(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(hE.ownKeys=t=>(ue("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Df(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let mE=!0;function yE(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:a,config:{optionMergeStrategies:l}}=t.appContext,o=a.get(e);let u;return o?u=o:!r.length&&!n&&!i?u=e:(u={},r.length&&r.forEach(s=>Ua(u,s,l,!0)),Ua(u,e,l)),Ke(e)&&a.set(e,u),u}function Ua(t,e,n,i=!1){const{mixins:r,extends:a}=e;a&&Ua(t,a,n,!0),r&&r.forEach(l=>Ua(t,l,n,!0));for(const l in e)if(i&&l==="expose")process.env.NODE_ENV!=="production"&&ue('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=gE[l]||n&&n[l];t[l]=o?o(t[l],e[l]):e[l]}return t}const gE={data:Lf,props:Mf,emits:Mf,methods:nr,computed:nr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:nr,directives:nr,watch:vE,provide:Lf,inject:_E};function Lf(t,e){return e?t?function(){return at(Ie(t)?t.call(this,this):t,Ie(e)?e.call(this,this):e)}:e:t}function _E(t,e){return nr(xf(t),xf(e))}function xf(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ge(t,e){return t?[...new Set([].concat(t,e))]:e}function nr(t,e){return t?at(Object.create(null),t,e):e}function Mf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:at(Object.create(null),Df(t),Df(e!=null?e:{})):e}function vE(t,e){if(!t)return e;if(!e)return t;const n=at(Object.create(null),t);for(const i in e)n[i]=Ge(t[i],e[i]);return n}function bE(){return{app:null,config:{isNativeTag:tb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ff=null;function $f(t,e,n=!1){const i=Sn||wt;if(i||Ff){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:Ff._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&Ie(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&ue(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&ue("inject() can only be used inside setup() or functional components.")}const EE={},Bf=t=>Object.getPrototypeOf(t)===EE,wE=t=>t.__isTeleport,Vf=RE,IE=Symbol.for("v-scx"),TE=()=>{{const t=$f(IE);return t||process.env.NODE_ENV!=="production"&&ue("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Ha={};function _u(t,e,n){return process.env.NODE_ENV!=="production"&&!Ie(e)&&ue("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Uf(t,e,n)}function Uf(t,e,{immediate:n,deep:i,flush:r,once:a,onTrack:l,onTrigger:o}=Et){if(e&&a){const O=e;e=(...L)=>{O(...L),N()}}process.env.NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&ue('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&ue('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&ue('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&ue('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const u=O=>{ue("Invalid watch source: ",O,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},s=Sn,f=O=>i===!0?O:On(O,i===!1?1:void 0);let c,m=!1,b=!1;if(Je(t)?(c=()=>t.value,m=At(t)):ri(t)?(c=()=>f(t),m=!0):oe(t)?(b=!0,m=t.some(O=>ri(O)||At(O)),c=()=>t.map(O=>{if(Je(O))return O.value;if(ri(O))return f(O);if(Ie(O))return In(O,s,2);process.env.NODE_ENV!=="production"&&u(O)})):Ie(t)?e?c=()=>In(t,s,2):c=()=>(S&&S(),pi(t,s,3,[I])):(c=Kt,process.env.NODE_ENV!=="production"&&u(t)),e&&i){const O=c;c=()=>On(O())}let S,I=O=>{S=E.onStop=()=>{In(O,s,4),S=E.onStop=void 0}},P;if(Ka)if(I=Kt,e?n&&pi(e,s,3,[c(),b?[]:void 0,I]):c(),r==="sync"){const O=TE();P=O.__watcherHandles||(O.__watcherHandles=[])}else return Kt;let _=b?new Array(t.length).fill(Ha):Ha;const C=()=>{if(!(!E.active||!E.dirty))if(e){const O=E.run();(i||m||(b?O.some((L,x)=>Gt(L,_[x])):Gt(O,_)))&&(S&&S(),pi(e,s,3,[O,_===Ha?void 0:b&&_[0]===Ha?[]:_,I]),_=O)}else E.run()};C.allowRecurse=!!e;let v;r==="sync"?v=C:r==="post"?v=()=>Vf(C,s&&s.suspense):(C.pre=!0,s&&(C.id=s.uid),v=()=>cu(C));const E=new Qd(c,Kt,v),A=vb(),N=()=>{E.stop(),A&&ib(A.effects,E)};return process.env.NODE_ENV!=="production"&&(E.onTrack=l,E.onTrigger=o),e?n?C():_=E.run():r==="post"?Vf(E.run.bind(E),s&&s.suspense):E.run(),P&&P.push(N),N}function OE(t,e,n){const i=this.proxy,r=ct(t)?t.includes(".")?SE(i,t):()=>i[t]:t.bind(i,i);let a;Ie(e)?a=e:(a=e.handler,n=e);const l=Kf(this),o=Uf(r,a.bind(i),n);return l(),o}function SE(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function On(t,e=1/0,n){if(e<=0||!Ke(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Je(t))On(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)On(t[i],e,n);else if(ab(t)||ii(t))t.forEach(i=>{On(i,e,n)});else if(ub(t)){for(const i in t)On(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&On(t[i],e,n)}return t}function QR(){}const CE=t=>t.__isSuspense;function RE(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):Cf(t)}const ja=Symbol.for("v-fgt"),Hf=Symbol.for("v-txt"),NE=Symbol.for("v-cmt");let ui=null;function vu(t){return t?t.__v_isVNode===!0:!1}const PE=(...t)=>Wf(...t),jf=({key:t})=>t!=null?t:null,Wa=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||Je(t)||Ie(t)?{i:wt,r:t,k:e,f:!!n}:t:null);function AE(t,e=null,n=null,i=0,r=null,a=t===ja?0:1,l=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&jf(e),ref:e&&Wa(e),scopeId:lE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:wt};return o?(bu(u,n),a&128&&t.normalize(u)):n&&(u.shapeFlag|=ct(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&ue("VNode created with invalid key (NaN). VNode type:",u.type),!l&&ui&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&ui.push(u),u}const si=process.env.NODE_ENV!=="production"?PE:Wf;function Wf(t,e=null,n=null,i=0,r=null,a=!1){if((!t||t===dE)&&(process.env.NODE_ENV!=="production"&&!t&&ue(`Invalid vnode type when creating vnode: ${t}.`),t=NE),vu(t)){const o=qa(t,e,!0);return n&&bu(o,n),!a&&ui&&(o.shapeFlag&6?ui[ui.indexOf(t)]=o:ui.push(o)),o.patchFlag=-2,o}if(zf(t)&&(t=t.__vccOpts),e){e=kE(e);let{class:o,style:u}=e;o&&!ct(o)&&(e.class=Xo(o)),Ke(u)&&(iu(u)&&!oe(u)&&(u=at({},u)),e.style=Go(u))}const l=ct(t)?1:CE(t)?128:wE(t)?64:Ke(t)?4:Ie(t)?2:0;return process.env.NODE_ENV!=="production"&&l&4&&iu(t)&&(t=K(t),ue("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
37
- Component that was made reactive: `,t)),AE(t,e,n,i,r,l,a,!0)}function kE(t){return t?iu(t)||Bf(t)?at({},t):t:null}function qa(t,e,n=!1,i=!1){const{props:r,ref:a,patchFlag:l,children:o,transition:u}=t,s=e?LE(r||{},e):r,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&jf(s),ref:e&&e.ref?n&&a?oe(a)?a.concat(Wa(e)):[a,Wa(e)]:Wa(e):a,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&l===-1&&oe(o)?o.map(qf):o,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ja?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&qa(t.ssContent),ssFallback:t.ssFallback&&qa(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&i&&kf(f,u.clone(f)),f}function qf(t){const e=qa(t);return oe(t.children)&&(e.children=t.children.map(qf)),e}function DE(t=" ",e=0){return si(Hf,null,t,e)}function bu(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(oe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),bu(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!Bf(e)?e._ctx=wt:r===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ie(e)?(e={default:e,_ctx:wt},n=32):(e=String(e),i&64?(n=16,e=[DE(e)]):n=8);t.children=e,t.shapeFlag|=n}function LE(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=Xo([e.class,i.class]));else if(r==="style")e.style=Go([e.style,i.style]);else if(nb(r)){const a=e[r],l=i[r];l&&a!==l&&!(oe(a)&&a.includes(l))&&(e[r]=a?[].concat(a,l):l)}else r!==""&&(e[r]=i[r])}return e}bE();let Sn=null;const ci=()=>Sn||wt;let Eu;{const t=Jd(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),a=>{r.length>1?r.forEach(l=>l(a)):r[0](a)}};Eu=e("__VUE_INSTANCE_SETTERS__",n=>Sn=n),e("__VUE_SSR_SETTERS__",n=>Ka=n)}const Kf=t=>{const e=Sn;return Eu(t),t.scope.on(),()=>{t.scope.off(),Eu(e)}};function xE(t){return t.vnode.shapeFlag&4}let Ka=!1;process.env.NODE_ENV;function ME(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(qb(Bb(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in tr)return tr[n](t)},has(e,n){return n in e||n in tr}})):t.proxy}const FE=/(?:^|[-_])(\w)/g,$E=t=>t.replace(FE,e=>e.toUpperCase()).replace(/[-_]/g,"");function Gf(t,e=!0){return Ie(t)?t.displayName||t.name:t.name||e&&t.__name}function Xf(t,e,n=!1){let i=Gf(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=a=>{for(const l in a)if(a[l]===e)return l};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?$E(i):n?"App":"Anonymous"}function zf(t){return Ie(t)&&"__vccOpts"in t}const It=(t,e)=>{const n=Ub(t,e,Ka);if(process.env.NODE_ENV!=="production"){const i=ci();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Jf(t,e,n){const i=arguments.length;return i===2?Ke(e)&&!oe(e)?vu(e)?si(t,null,[e]):si(t,e):si(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&vu(n)&&(n=[n]),si(t,e,n))}function BE(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(c){return Ke(c)?c.__isVue?["div",t,"VueInstance"]:Je(c)?["div",{},["span",t,f(c)],"<",o(c.value),">"]:ri(c)?["div",{},["span",t,At(c)?"ShallowReactive":"Reactive"],"<",o(c),`>${Pt(c)?" (readonly)":""}`]:Pt(c)?["div",{},["span",t,At(c)?"ShallowReadonly":"Readonly"],"<",o(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...a(c.$)]}};function a(c){const m=[];c.type.props&&c.props&&m.push(l("props",K(c.props))),c.setupState!==Et&&m.push(l("setup",c.setupState)),c.data!==Et&&m.push(l("data",K(c.data)));const b=u(c,"computed");b&&m.push(l("computed",b));const S=u(c,"inject");return S&&m.push(l("injected",S)),m.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),m}function l(c,m){return m=at({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(b=>["div",{},["span",i,b+": "],o(m[b],!1)])]]:["span",{}]}function o(c,m=!0){return typeof c=="number"?["span",e,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",i,c]:Ke(c)?["object",{object:m?K(c):c}]:["span",n,String(c)]}function u(c,m){const b=c.type;if(Ie(b))return;const S={};for(const I in c.ctx)s(b,I,m)&&(S[I]=c.ctx[I]);return S}function s(c,m,b){const S=c[b];if(oe(S)&&S.includes(m)||Ke(S)&&m in S||c.extends&&s(c.extends,m,b)||c.mixins&&c.mixins.some(I=>s(I,m,b)))return!0}function f(c){return At(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
38
- * vue v3.4.35
35
+ `,...xR(r)),console.warn(...a)}Yi(),oo=!1}function kR(){let t=En[En.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function xR(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
36
+ `],...MR(n))}),e}function MR({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${th(t.component,t.type,i)}`,a=">"+n;return t.props?[r,...$R(t.props),a]:[r+a]}function $R(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Ff(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Ff(t,e,n){return ct(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Je(e)?(e=Ff(t,G(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ce(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=G(e),n?e:[`${t}=`,e])}const so={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function Cn(t,e,n,i){try{return i?t(...i):t()}catch(r){co(r,e,n)}}function er(t,e,n,i){if(Ce(t)){const r=Cn(t,e,n,i);return r&&XA(r)&&r.catch(a=>{co(a,e,n)}),r}if(le(t)){const r=[];for(let a=0;a<t.length;a++)r.push(er(t[a],e,n,i));return r}else process.env.NODE_ENV!=="production"&&oe(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function co(t,e,n,i=!0){const r=e?e.vnode:null;if(e){let a=e.parent;const u=e.proxy,l=process.env.NODE_ENV!=="production"?so[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const s=a.ec;if(s){for(let f=0;f<s.length;f++)if(s[f](t,u,l)===!1)return}a=a.parent}const o=e.appContext.config.errorHandler;if(o){Zi(),Cn(o,null,10,[t,u,l]),Yi();return}}VR(t,n,r,i)}function VR(t,e,n,i=!0){if(process.env.NODE_ENV!=="production"){const r=so[e];if(n&&BR(n),oe(`Unhandled error${r?` during execution of ${r}`:""}`),n&&LR(),i)throw t;console.error(t)}else console.error(t)}let xa=!1,fo=!1;const ft=[];let Qt=0;const ai=[];let Zt=null,wn=0;const Bf=Promise.resolve();let ho=null;const UR=100;function HR(t){const e=ho||Bf;return t?e.then(this?t.bind(this):t):e}function jR(t){let e=Qt+1,n=ft.length;for(;e<n;){const i=e+n>>>1,r=ft[i],a=tr(r);a<t||a===t&&r.pre?e=i+1:n=i}return e}function mo(t){(!ft.length||!ft.includes(t,xa&&t.allowRecurse?Qt+1:Qt))&&(t.id==null?ft.push(t):ft.splice(jR(t.id),0,t),Lf())}function Lf(){!xa&&!fo&&(fo=!0,ho=Bf.then(xf))}function kf(t){le(t)?ai.push(...t):(!Zt||!Zt.includes(t,t.allowRecurse?wn+1:wn))&&ai.push(t),Lf()}function WR(t){if(ai.length){const e=[...new Set(ai)].sort((n,i)=>tr(n)-tr(i));if(ai.length=0,Zt){Zt.push(...e);return}for(Zt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),wn=0;wn<Zt.length;wn++){const n=Zt[wn];process.env.NODE_ENV!=="production"&&Mf(t,n)||n.active!==!1&&n()}Zt=null,wn=0}}const tr=t=>t.id==null?1/0:t.id,qR=(t,e)=>{const n=tr(t)-tr(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function xf(t){fo=!1,xa=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),ft.sort(qR);const e=process.env.NODE_ENV!=="production"?n=>Mf(t,n):qt;try{for(Qt=0;Qt<ft.length;Qt++){const n=ft[Qt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;Cn(n,n.i,n.i?15:14)}}}finally{Qt=0,ft.length=0,WR(t),xa=!1,ho=null,(ft.length||ai.length)&&xf(t)}}function Mf(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>UR){const i=e.i,r=i&&eh(i.type);return co(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const vo=new Map;process.env.NODE_ENV!=="production"&&(af().__VUE_HMR_RUNTIME__={createRecord:go(GR),rerender:go(KR),reload:go(zR)});const Ma=new Map;function GR(t,e){return Ma.has(t)?!1:(Ma.set(t,{initialDef:$a(e),instances:new Set}),!0)}function $a(t){return nh(t)?t.__vccOpts:t}function KR(t,e){const n=Ma.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,$a(i.type).render=e),i.renderCache=[],i.effect.dirty=!0,i.update()}))}function zR(t,e){const n=Ma.get(t);if(!n)return;e=$a(e),$f(n.initialDef,e);const i=[...n.instances];for(let r=0;r<i.length;r++){const a=i[r],u=$a(a.type);let l=vo.get(u);l||(u!==n.initialDef&&$f(u,e),vo.set(u,l=new Set)),l.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(l.add(a),a.ceReload(e.styles),l.delete(a)):a.parent?(a.parent.effect.dirty=!0,mo(()=>{a.parent.update(),l.delete(a)})):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}kf(()=>{vo.clear()})}function $f(t,e){at(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function go(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ui,Va=[];function Vf(t,e){var n,i;ui=t,ui?(ui.enabled=!0,Va.forEach(({event:r,args:a})=>ui.emit(r,...a)),Va=[]):typeof window!="undefined"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Vf(a,e)}),setTimeout(()=>{ui||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Va=[])},3e3)):Va=[]}let Et=null,XR=null;function Uf(t,e){t.shapeFlag&6&&t.component?Uf(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function yo(t,e){return Ce(t)?(()=>at({name:t.name},e,{setup:t}))():t}function JR(t,e,n=Tn,i=!1){if(n){const r=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...u)=>{Zi();const l=pf(n),o=er(e,n,t,u);return l(),Yi(),o});return i?r.unshift(a):r.push(a),a}else if(process.env.NODE_ENV!=="production"){const r=ZA(so[t].replace(/ hook$/,""));oe(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const _o=t=>(e,n=Tn)=>{(!Ga||t==="sp")&&JR(t,(...i)=>e(...i),n)},QR=_o("bm"),ZR=_o("m"),YR=_o("um"),pR=Symbol.for("v-ndc"),bo=t=>t?wD(t)?ID(t):bo(t.parent):null,nr=at(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?La(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?La(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?La(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?La(t.refs):t.refs,$parent:t=>bo(t.parent),$root:t=>bo(t.root),$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?iD(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,mo(t.update)}),$nextTick:t=>t.n||(t.n=HR.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?fD.bind(t):qt}),eD=t=>t==="_"||t==="$",Eo=(t,e)=>t!==bt&&!t.__isScriptSetup&&Ee(t,e),tD={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:a,accessCache:u,type:l,appContext:o}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=u[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return a[e]}else{if(Eo(i,e))return u[e]=1,i[e];if(r!==bt&&Ee(r,e))return u[e]=2,r[e];if((s=t.propsOptions[0])&&Ee(s,e))return u[e]=3,a[e];if(n!==bt&&Ee(n,e))return u[e]=4,n[e];(!__VUE_OPTIONS_API__||nD)&&(u[e]=0)}}const f=nr[e];let d,m;if(f)return e==="$attrs"?(Ue(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ue(t,"get",e),f(t);if((d=l.__cssModules)&&(d=d[e]))return d;if(n!==bt&&Ee(n,e))return u[e]=4,n[e];if(m=o.config.globalProperties,Ee(m,e))return m[e];process.env.NODE_ENV!=="production"&&Et&&(!ct(e)||e.indexOf("__v")!==0)&&(r!==bt&&eD(e[0])&&Ee(r,e)?oe(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===Et&&oe(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:a}=t;return Eo(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&Ee(r,e)?(oe(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==bt&&Ee(i,e)?(i[e]=n,!0):Ee(t.props,e)?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(a,e,{enumerable:!0,configurable:!0,value:n}):a[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:a}},u){let l;return!!n[u]||t!==bt&&Ee(t,u)||Eo(e,u)||(l=a[0])&&Ee(l,u)||Ee(i,u)||Ee(nr,u)||Ee(r.config.globalProperties,u)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Ee(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(tD.ownKeys=t=>(oe("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Hf(t){return le(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let nD=!0;function iD(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:a,config:{optionMergeStrategies:u}}=t.appContext,l=a.get(e);let o;return l?o=l:!r.length&&!n&&!i?o=e:(o={},r.length&&r.forEach(s=>Ua(o,s,u,!0)),Ua(o,e,u)),Ge(e)&&a.set(e,o),o}function Ua(t,e,n,i=!1){const{mixins:r,extends:a}=e;a&&Ua(t,a,n,!0),r&&r.forEach(u=>Ua(t,u,n,!0));for(const u in e)if(i&&u==="expose")process.env.NODE_ENV!=="production"&&oe('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=rD[u]||n&&n[u];t[u]=l?l(t[u],e[u]):e[u]}return t}const rD={data:jf,props:qf,emits:qf,methods:ir,computed:ir,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:ir,directives:ir,watch:uD,provide:jf,inject:aD};function jf(t,e){return e?t?function(){return at(Ce(t)?t.call(this,this):t,Ce(e)?e.call(this,this):e)}:e:t}function aD(t,e){return ir(Wf(t),Wf(e))}function Wf(t){if(le(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ke(t,e){return t?[...new Set([].concat(t,e))]:e}function ir(t,e){return t?at(Object.create(null),t,e):e}function qf(t,e){return t?le(t)&&le(e)?[...new Set([...t,...e])]:at(Object.create(null),Hf(t),Hf(e!=null?e:{})):e}function uD(t,e){if(!t)return e;if(!e)return t;const n=at(Object.create(null),t);for(const i in e)n[i]=Ke(t[i],e[i]);return n}function lD(){return{app:null,config:{isNativeTag:WA,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Co=null;function Gf(t,e,n=!1){const i=Tn||Et;if(i||Co){const r=Co?Co._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&Ce(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&oe(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&oe("inject() can only be used inside setup() or functional components.")}const oD={},Kf=t=>Object.getPrototypeOf(t)===oD,sD=t=>t.__isTeleport,zf=vD,cD=Symbol.for("v-scx"),dD=()=>{{const t=Gf(cD);return t||process.env.NODE_ENV!=="production"&&oe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Ha={};function wo(t,e,n){return process.env.NODE_ENV!=="production"&&!Ce(e)&&oe("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Xf(t,e,n)}function Xf(t,e,{immediate:n,deep:i,flush:r,once:a,onTrack:u,onTrigger:l}=bt){if(e&&a){const T=e;e=(...B)=>{T(...B),R()}}process.env.NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&oe('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&oe('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&oe('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&oe('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const o=T=>{oe("Invalid watch source: ",T,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},s=Tn,f=T=>i===!0?T:In(T,i===!1?1:void 0);let d,m=!1,b=!1;if(Je(t)?(d=()=>t.value,m=Nt(t)):ii(t)?(d=()=>f(t),m=!0):le(t)?(b=!0,m=t.some(T=>ii(T)||Nt(T)),d=()=>t.map(T=>{if(Je(T))return T.value;if(ii(T))return f(T);if(Ce(T))return Cn(T,s,2);process.env.NODE_ENV!=="production"&&o(T)})):Ce(t)?e?d=()=>Cn(t,s,2):d=()=>(S&&S(),er(t,s,3,[w])):(d=qt,process.env.NODE_ENV!=="production"&&o(t)),e&&i){const T=d;d=()=>In(T())}let S,w=T=>{S=E.onStop=()=>{Cn(T,s,4),S=E.onStop=void 0}},D;if(Ga)if(w=qt,e?n&&er(e,s,3,[d(),b?[]:void 0,w]):d(),r==="sync"){const T=dD();D=T.__watcherHandles||(T.__watcherHandles=[])}else return qt;let y=b?new Array(t.length).fill(Ha):Ha;const O=()=>{if(!(!E.active||!E.dirty))if(e){const T=E.run();(i||m||(b?T.some((B,L)=>Gt(B,y[L])):Gt(T,y)))&&(S&&S(),er(e,s,3,[T,y===Ha?void 0:b&&y[0]===Ha?[]:y,w]),y=T)}else E.run()};O.allowRecurse=!!e;let _;r==="sync"?_=O:r==="post"?_=()=>zf(O,s&&s.suspense):(O.pre=!0,s&&(O.id=s.uid),_=()=>mo(O));const E=new uf(d,qt,_),N=uR(),R=()=>{E.stop(),N&&GA(N.effects,E)};return process.env.NODE_ENV!=="production"&&(E.onTrack=u,E.onTrigger=l),e?n?O():y=E.run():r==="post"?zf(E.run.bind(E),s&&s.suspense):E.run(),D&&D.push(R),R}function fD(t,e,n){const i=this.proxy,r=ct(t)?t.includes(".")?hD(i,t):()=>i[t]:t.bind(i,i);let a;Ce(e)?a=e:(a=e.handler,n=e);const u=pf(this),l=Xf(r,a.bind(i),n);return u(),l}function hD(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function In(t,e=1/0,n){if(e<=0||!Ge(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Je(t))In(t.value,e,n);else if(le(t))for(let i=0;i<t.length;i++)In(t[i],e,n);else if(zA(t)||ni(t))t.forEach(i=>{In(i,e,n)});else if(QA(t)){for(const i in t)In(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&In(t[i],e,n)}return t}function $1(){}const mD=t=>t.__isSuspense;function vD(t,e){e&&e.pendingBranch?le(t)?e.effects.push(...t):e.effects.push(t):kf(t)}const ja=Symbol.for("v-fgt"),Jf=Symbol.for("v-txt"),gD=Symbol.for("v-cmt");let li=null;function Io(t){return t?t.__v_isVNode===!0:!1}const yD=(...t)=>Zf(...t),Qf=({key:t})=>t!=null?t:null,Wa=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||Je(t)||Ce(t)?{i:Et,r:t,k:e,f:!!n}:t:null);function _D(t,e=null,n=null,i=0,r=null,a=t===ja?0:1,u=!1,l=!1){const o={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Qf(e),ref:e&&Wa(e),scopeId:XR,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Et};return l?(To(o,n),a&128&&t.normalize(o)):n&&(o.shapeFlag|=ct(n)?8:16),process.env.NODE_ENV!=="production"&&o.key!==o.key&&oe("VNode created with invalid key (NaN). VNode type:",o.type),!u&&li&&(o.patchFlag>0||a&6)&&o.patchFlag!==32&&li.push(o),o}const oi=process.env.NODE_ENV!=="production"?yD:Zf;function Zf(t,e=null,n=null,i=0,r=null,a=!1){if((!t||t===pR)&&(process.env.NODE_ENV!=="production"&&!t&&oe(`Invalid vnode type when creating vnode: ${t}.`),t=gD),Io(t)){const l=qa(t,e,!0);return n&&To(l,n),!a&&li&&(l.shapeFlag&6?li[li.indexOf(t)]=l:li.push(l)),l.patchFlag=-2,l}if(nh(t)&&(t=t.__vccOpts),e){e=bD(e);let{class:l,style:o}=e;l&&!ct(l)&&(e.class=Ql(l)),Ge(o)&&(uo(o)&&!le(o)&&(o=at({},o)),e.style=Jl(o))}const u=ct(t)?1:mD(t)?128:sD(t)?64:Ge(t)?4:Ce(t)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&uo(t)&&(t=G(t),oe("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
37
+ Component that was made reactive: `,t)),_D(t,e,n,i,r,u,a,!0)}function bD(t){return t?uo(t)||Kf(t)?at({},t):t:null}function qa(t,e,n=!1,i=!1){const{props:r,ref:a,patchFlag:u,children:l,transition:o}=t,s=e?CD(r||{},e):r,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Qf(s),ref:e&&e.ref?n&&a?le(a)?a.concat(Wa(e)):[a,Wa(e)]:Wa(e):a,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&le(l)?l.map(Yf):l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ja?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:o,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&qa(t.ssContent),ssFallback:t.ssFallback&&qa(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return o&&i&&Uf(f,o.clone(f)),f}function Yf(t){const e=qa(t);return le(t.children)&&(e.children=t.children.map(Yf)),e}function ED(t=" ",e=0){return oi(Jf,null,t,e)}function To(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(le(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),To(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!Kf(e)?e._ctx=Et:r===3&&Et&&(Et.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ce(e)?(e={default:e,_ctx:Et},n=32):(e=String(e),i&64?(n=16,e=[ED(e)]):n=8);t.children=e,t.shapeFlag|=n}function CD(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=Ql([e.class,i.class]));else if(r==="style")e.style=Jl([e.style,i.style]);else if(qA(r)){const a=e[r],u=i[r];u&&a!==u&&!(le(a)&&a.includes(u))&&(e[r]=a?[].concat(a,u):u)}else r!==""&&(e[r]=i[r])}return e}lD();let Tn=null;const si=()=>Tn||Et;let So;{const t=af(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),a=>{r.length>1?r.forEach(u=>u(a)):r[0](a)}};So=e("__VUE_INSTANCE_SETTERS__",n=>Tn=n),e("__VUE_SSR_SETTERS__",n=>Ga=n)}const pf=t=>{const e=Tn;return So(t),t.scope.on(),()=>{t.scope.off(),So(e)}};function wD(t){return t.vnode.shapeFlag&4}let Ga=!1;process.env.NODE_ENV;function ID(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(FR(OR(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in nr)return nr[n](t)},has(e,n){return n in e||n in nr}})):t.proxy}const TD=/(?:^|[-_])(\w)/g,SD=t=>t.replace(TD,e=>e.toUpperCase()).replace(/[-_]/g,"");function eh(t,e=!0){return Ce(t)?t.displayName||t.name:t.name||e&&t.__name}function th(t,e,n=!1){let i=eh(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=a=>{for(const u in a)if(a[u]===e)return u};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?SD(i):n?"App":"Anonymous"}function nh(t){return Ce(t)&&"__vccOpts"in t}const Ct=(t,e)=>{const n=RR(t,e,Ga);if(process.env.NODE_ENV!=="production"){const i=si();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ih(t,e,n){const i=arguments.length;return i===2?Ge(e)&&!le(e)?Io(e)?oi(t,null,[e]):oi(t,e):oi(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Io(n)&&(n=[n]),oi(t,e,n))}function OD(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(d){return Ge(d)?d.__isVue?["div",t,"VueInstance"]:Je(d)?["div",{},["span",t,f(d)],"<",l(d.value),">"]:ii(d)?["div",{},["span",t,Nt(d)?"ShallowReactive":"Reactive"],"<",l(d),`>${Dt(d)?" (readonly)":""}`]:Dt(d)?["div",{},["span",t,Nt(d)?"ShallowReadonly":"Readonly"],"<",l(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...a(d.$)]}};function a(d){const m=[];d.type.props&&d.props&&m.push(u("props",G(d.props))),d.setupState!==bt&&m.push(u("setup",d.setupState)),d.data!==bt&&m.push(u("data",G(d.data)));const b=o(d,"computed");b&&m.push(u("computed",b));const S=o(d,"inject");return S&&m.push(u("injected",S)),m.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),m}function u(d,m){return m=at({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(b=>["div",{},["span",i,b+": "],l(m[b],!1)])]]:["span",{}]}function l(d,m=!0){return typeof d=="number"?["span",e,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",i,d]:Ge(d)?["object",{object:m?G(d):d}]:["span",n,String(d)]}function o(d,m){const b=d.type;if(Ce(b))return;const S={};for(const w in d.ctx)s(b,w,m)&&(S[w]=d.ctx[w]);return S}function s(d,m,b){const S=d[b];if(le(S)&&S.includes(m)||Ge(S)&&m in S||d.extends&&s(d.extends,m,b)||d.mixins&&d.mixins.some(w=>s(w,m,b)))return!0}function f(d){return Nt(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
38
+ * vue v3.4.38
39
39
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
40
40
  * @license MIT
41
- **/function VE(){BE()}process.env.NODE_ENV!=="production"&&VE();function UE(){return Qf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Qf(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const HE=typeof Proxy=="function",jE="devtools-plugin:setup",WE="plugin:settings:set";let di,wu;function qE(){var t;return di!==void 0||(typeof window!="undefined"&&window.performance?(di=!0,wu=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(di=!0,wu=globalThis.perf_hooks.performance):di=!1),di}function KE(){return qE()?wu.now():Date.now()}class GE{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const l in e.settings){const o=e.settings[l];i[l]=o.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let a=Object.assign({},i);try{const l=localStorage.getItem(r),o=JSON.parse(l);Object.assign(a,o)}catch(l){}this.fallbacks={getSettings(){return a},setSettings(l){try{localStorage.setItem(r,JSON.stringify(l))}catch(o){}a=l},now(){return KE()}},n&&n.on(WE,(l,o)=>{l===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(l,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(l,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(s=>{this.targetQueue.push({method:o,args:u,resolve:s})})})}setRealTarget(e){return Zn(this,null,function*(){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function XE(t,e){const n=t,i=Qf(),r=UE(),a=HE&&n.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(jE,t,e);else{const l=a?new GE(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:l}),l&&e(l.proxiedTarget)}}/*!
42
- * vue-i18n v9.13.1
41
+ **/function AD(){OD()}process.env.NODE_ENV!=="production"&&AD();function RD(){return rh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function rh(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const DD=typeof Proxy=="function",ND="devtools-plugin:setup",PD="plugin:settings:set";let ci,Oo;function FD(){var t;return ci!==void 0||(typeof window!="undefined"&&window.performance?(ci=!0,Oo=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(ci=!0,Oo=globalThis.perf_hooks.performance):ci=!1),ci}function BD(){return FD()?Oo.now():Date.now()}class LD{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const u in e.settings){const l=e.settings[u];i[u]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let a=Object.assign({},i);try{const u=localStorage.getItem(r),l=JSON.parse(u);Object.assign(a,l)}catch(u){}this.fallbacks={getSettings(){return a},setSettings(u){try{localStorage.setItem(r,JSON.stringify(u))}catch(l){}a=u},now(){return BD()}},n&&n.on(PD,(u,l)=>{u===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(u,l)=>this.target?this.target.on[l]:(...o)=>{this.onQueue.push({method:l,args:o})}}),this.proxiedTarget=new Proxy({},{get:(u,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...o)=>(this.targetQueue.push({method:l,args:o,resolve:()=>{}}),this.fallbacks[l](...o)):(...o)=>new Promise(s=>{this.targetQueue.push({method:l,args:o,resolve:s})})})}setRealTarget(e){return Jn(this,null,function*(){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function kD(t,e){const n=t,i=rh(),r=RD(),a=DD&&n.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(ND,t,e);else{const u=a?new LD(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:u}),u&&e(u.proxiedTarget)}}/*!
42
+ * vue-i18n v9.14.0
43
43
  * (c) 2024 kazuya kawaguchi
44
44
  * Released under the MIT License.
45
- */const zE="9.13.1";function JE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zf=qe.__EXTEND_POINT__,kt=ba(Zf),ce={FALLBACK_TO_ROOT:Zf,NOT_SUPPORTED_PRESERVE:kt(),NOT_SUPPORTED_FORMATTER:kt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:kt(),NOT_SUPPORTED_GET_CHOICE_INDEX:kt(),COMPONENT_NAME_LEGACY_COMPATIBLE:kt(),NOT_FOUND_PARENT_SCOPE:kt(),IGNORE_OBJ_FLATTEN:kt(),NOTICE_DROP_ALLOW_COMPOSITION:kt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:kt()},QE={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return Gi(QE[t],...e)}const Yf=Le.__EXTEND_POINT__,Ze=ba(Yf),z={UNEXPECTED_RETURN_TYPE:Yf,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Ne(t,...e){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:ZE,args:e}:void 0)}const ZE={[z.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[z.INVALID_ARGUMENT]:"Invalid argument",[z.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[z.NOT_INSTALLED]:"Need to install with `app.use` function",[z.UNEXPECTED_ERROR]:"Unexpected error",[z.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[z.REQUIRED_VALUE]:"Required in value: {0}",[z.INVALID_VALUE]:"Invalid value",[z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[z.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[z.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[z.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Iu=ut("__translateVNode"),Tu=ut("__datetimeParts"),Ou=ut("__numberParts"),Cn=ut("__enableEmitter"),ir=ut("__disableEmitter"),pf=ut("__setPluralRules");ut("__intlifyMeta");const eh=ut("__injectWithOption"),Su=ut("__dispose");function rr(t){if(!J(t))return t;for(const e in t)if(!!va(t,e))if(!e.includes("."))J(t[e])&&rr(t[e]);else{const n=e.split("."),i=n.length-1;let r=t,a=!1;for(let l=0;l<i;l++){if(n[l]in r||(r[n[l]]={}),!J(r[n[l]])){process.env.NODE_ENV!=="production"&&Re(Qe(ce.IGNORE_OBJ_FLATTEN,{key:n[l]})),a=!0;break}r=r[n[l]]}a||(r[n[i]]=t[e],delete t[e]),J(r[n[i]])&&rr(r[n[i]])}return t}function Ga(t,e){const{messages:n,__i18n:i,messageResolver:r,flatJson:a}=e,l=j(n)?n:le(i)?{}:{[t]:{}};if(le(i)&&i.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:u,resource:s}=o;u?(l[u]=l[u]||{},wa(s,l[u])):wa(s,l)}else $(o)&&wa(JSON.parse(o),l)}),r==null&&a)for(const o in l)va(l,o)&&rr(l[o]);return l}function th(t){return t.type}function nh(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Ga(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(a=>{t.mergeLocaleMessage(a,i[a])});{if(J(e.datetimeFormats)){const a=Object.keys(e.datetimeFormats);a.length&&a.forEach(l=>{t.mergeDateTimeFormat(l,e.datetimeFormats[l])})}if(J(e.numberFormats)){const a=Object.keys(e.numberFormats);a.length&&a.forEach(l=>{t.mergeNumberFormat(l,e.numberFormats[l])})}}}function ih(t){return si(Hf,null,t,0)}const rh="__INTLIFY_META__",ah=()=>[],YE=()=>!1;let lh=0;function oh(t){return(e,n,i,r)=>t(n,i,ci()||void 0,r)}const pE=()=>{const t=ci();let e=null;return t&&(e=th(t)[rh])?{[rh]:e}:null};function Cu(t={},e){const{__root:n,__injectWithOption:i}=t,r=n===void 0,a=t.flatJson,l=ot?ai:wf,o=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&ad(Qe(ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let u=q(t.inheritLocale)?t.inheritLocale:!0;const s=l(n&&u?n.locale.value:$(t.locale)?t.locale:ti),f=l(n&&u?n.fallbackLocale.value:$(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),c=l(Ga(s.value,t)),m=l(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=l(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let S=n?n.missingWarn:q(t.missingWarn)||Ht(t.missingWarn)?t.missingWarn:!0,I=n?n.fallbackWarn:q(t.fallbackWarn)||Ht(t.fallbackWarn)?t.fallbackWarn:!0,P=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,_=!!t.fallbackFormat,C=ie(t.missing)?t.missing:null,v=ie(t.missing)?oh(t.missing):null,E=ie(t.postTranslation)?t.postTranslation:null,A=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,N=!!t.escapeParameter;const O=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let L=t.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&Od(null);const R={version:zE,locale:s.value,fallbackLocale:f.value,messages:c.value,modifiers:O,pluralRules:L,missing:v===null?void 0:v,missingWarn:S,fallbackWarn:I,fallbackFormat:_,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:A,escapeParameter:N,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=m.value,R.numberFormats=b.value,R.__datetimeFormatters=j(x)?x.__datetimeFormatters:void 0,R.__numberFormatters=j(x)?x.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=j(x)?x.__v_emitter:void 0);const M=Wv(R);return r&&Od(M),M})(),zi(x,s.value,f.value);function Me(){return[s.value,f.value,c.value,m.value,b.value]}const W=It({get:()=>s.value,set:R=>{s.value=R,x.locale=s.value}}),_e=It({get:()=>f.value,set:R=>{f.value=R,x.fallbackLocale=f.value,zi(x,s.value,R)}}),ze=It(()=>c.value),dn=It(()=>m.value),it=It(()=>b.value);function fn(){return ie(E)?E:null}function hn(R){E=R,x.postTranslation=R}function ta(){return C}function na(R){R!==null&&(v=oh(R)),C=R,x.missing=v}function ia(R,M){return R!=="translate"||!M.resolvedMessage}const lt=(R,M,p,be,mn,No)=>{Me();let Hi;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Id(pE()),r||(x.fallbackContext=n?jv():void 0),Hi=R(x)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Id(null),r||(x.fallbackContext=void 0)}if(p!=="translate exists"&&Se(Hi)&&Hi===Oa||p==="translate exists"&&!Hi){const[Qn,jR]=M();if(process.env.NODE_ENV!=="production"&&n&&$(Qn)&&ia(p,jR)&&(P&&(Ca(I,Qn)||Cd(S,Qn))&&Re(Qe(ce.FALLBACK_TO_ROOT,{key:Qn,type:p})),process.env.NODE_ENV!=="production")){const{__v_emitter:f_}=x;f_&&P&&f_.emit("fallback",{type:p,key:Qn,to:"global",groupId:`${p}:${Qn}`})}return n&&P?be(n):mn(Qn)}else{if(No(Hi))return Hi;throw Ne(z.UNEXPECTED_RETURN_TYPE)}};function Bi(...R){return lt(M=>Reflect.apply(xd,null,[M,...R]),()=>jo(...R),"translate",M=>Reflect.apply(M.t,M,[...R]),M=>M,M=>$(M))}function Vi(...R){const[M,p,be]=R;if(be&&!J(be))throw Ne(z.INVALID_ARGUMENT);return Bi(M,p,Ce({resolvedMessage:!0},be||{}))}function ra(...R){return lt(M=>Reflect.apply(Vd,null,[M,...R]),()=>Wo(...R),"datetime format",M=>Reflect.apply(M.d,M,[...R]),()=>Sa,M=>$(M))}function aa(...R){return lt(M=>Reflect.apply(jd,null,[M,...R]),()=>qo(...R),"number format",M=>Reflect.apply(M.n,M,[...R]),()=>Sa,M=>$(M))}function la(R){return R.map(M=>$(M)||Se(M)||q(M)?ih(String(M)):M)}const oa={normalize:la,interpolate:R=>R,type:"vnode"};function Ui(...R){return lt(M=>{let p;const be=M;try{be.processor=oa,p=Reflect.apply(xd,null,[be,...R])}finally{be.processor=null}return p},()=>jo(...R),"translate",M=>M[Iu](...R),M=>[ih(M)],M=>le(M))}function ua(...R){return lt(M=>Reflect.apply(jd,null,[M,...R]),()=>qo(...R),"number format",M=>M[Ou](...R),ah,M=>$(M)||le(M))}function sa(...R){return lt(M=>Reflect.apply(Vd,null,[M,...R]),()=>Wo(...R),"datetime format",M=>M[Tu](...R),ah,M=>$(M)||le(M))}function ca(R){L=R,x.pluralRules=L}function F(R,M){return lt(()=>{if(!R)return!1;const p=$(M)?M:s.value,be=Jn(p),mn=x.messageResolver(be,R);return o?mn!=null:qt(mn)||rt(mn)||$(mn)},()=>[R],"translate exists",p=>Reflect.apply(p.te,p,[R,M]),YE,p=>q(p))}function Y(R){let M=null;const p=md(x,f.value,s.value);for(let be=0;be<p.length;be++){const mn=c.value[p[be]]||{},No=x.messageResolver(mn,R);if(No!=null){M=No;break}}return M}function da(R){const M=Y(R);return M!=null?M:n?n.tm(R)||{}:{}}function Jn(R){return c.value[R]||{}}function fa(R,M){if(a){const p={[R]:M};for(const be in p)va(p,be)&&rr(p[be]);M=p[R]}c.value[R]=M,x.messages=c.value}function jc(R,M){c.value[R]=c.value[R]||{};const p={[R]:M};if(a)for(const be in p)va(p,be)&&rr(p[be]);M=p[R],wa(M,c.value[R]),x.messages=c.value}function y(R){return m.value[R]||{}}function g(R,M){m.value[R]=M,x.datetimeFormats=m.value,Hd(x,R,M)}function k(R,M){m.value[R]=Ce(m.value[R]||{},M),x.datetimeFormats=m.value,Hd(x,R,M)}function B(R){return b.value[R]||{}}function fe(R,M){b.value[R]=M,x.numberFormats=b.value,qd(x,R,M)}function ae(R,M){b.value[R]=Ce(b.value[R]||{},M),x.numberFormats=b.value,qd(x,R,M)}lh++,n&&ot&&(_u(n.locale,R=>{u&&(s.value=R,x.locale=R,zi(x,s.value,f.value))}),_u(n.fallbackLocale,R=>{u&&(f.value=R,x.fallbackLocale=R,zi(x,s.value,f.value))}));const ne={id:lh,locale:W,fallbackLocale:_e,get inheritLocale(){return u},set inheritLocale(R){u=R,R&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,zi(x,s.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:ze,get modifiers(){return O},get pluralRules(){return L||{}},get isGlobal(){return r},get missingWarn(){return S},set missingWarn(R){S=R,x.missingWarn=S},get fallbackWarn(){return I},set fallbackWarn(R){I=R,x.fallbackWarn=I},get fallbackRoot(){return P},set fallbackRoot(R){P=R},get fallbackFormat(){return _},set fallbackFormat(R){_=R,x.fallbackFormat=_},get warnHtmlMessage(){return A},set warnHtmlMessage(R){A=R,x.warnHtmlMessage=R},get escapeParameter(){return N},set escapeParameter(R){N=R,x.escapeParameter=R},t:Bi,getLocaleMessage:Jn,setLocaleMessage:fa,mergeLocaleMessage:jc,getPostTranslationHandler:fn,setPostTranslationHandler:hn,getMissingHandler:ta,setMissingHandler:na,[pf]:ca};return ne.datetimeFormats=dn,ne.numberFormats=it,ne.rt=Vi,ne.te=F,ne.tm=da,ne.d=ra,ne.n=aa,ne.getDateTimeFormat=y,ne.setDateTimeFormat=g,ne.mergeDateTimeFormat=k,ne.getNumberFormat=B,ne.setNumberFormat=fe,ne.mergeNumberFormat=ae,ne[eh]=i,ne[Iu]=Ui,ne[Tu]=sa,ne[Ou]=ua,process.env.NODE_ENV!=="production"&&(ne[Cn]=R=>{x.__v_emitter=R},ne[ir]=()=>{x.__v_emitter=void 0}),ne}function ew(t){const e=$(t.locale)?t.locale:ti,n=$(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ie(t.missing)?t.missing:void 0,r=q(t.silentTranslationWarn)||Ht(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,a=q(t.silentFallbackWarn)||Ht(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,l=q(t.fallbackRoot)?t.fallbackRoot:!0,o=!!t.formatFallbackMessages,u=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=ie(t.postTranslation)?t.postTranslation:void 0,c=$(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,m=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Re(Qe(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Re(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=t.messages;if(j(t.sharedMessages)){const N=t.sharedMessages;S=Object.keys(N).reduce((L,x)=>{const X=L[x]||(L[x]={});return Ce(X,N[x]),L},S||{})}const{__i18n:I,__root:P,__injectWithOption:_}=t,C=t.datetimeFormats,v=t.numberFormats,E=t.flatJson,A=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:S,flatJson:E,datetimeFormats:C,numberFormats:v,missing:i,missingWarn:r,fallbackWarn:a,fallbackRoot:l,fallbackFormat:o,modifiers:u,pluralRules:s,postTranslation:f,warnHtmlMessage:c,escapeParameter:m,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:A,__i18n:I,__root:P,__injectWithOption:_}}function Ru(t={},e){{const n=Cu(ew(t)),{__extender:i}=t,r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=q(a)?!a:a},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=q(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[l,o,u]=a,s={};let f=null,c=null;if(!$(l))throw Ne(z.INVALID_ARGUMENT);const m=l;return $(o)?s.locale=o:le(o)?f=o:j(o)&&(c=o),le(u)?f=u:j(u)&&(c=u),Reflect.apply(n.t,n,[m,f||c||{},s])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[l,o,u]=a,s={plural:1};let f=null,c=null;if(!$(l))throw Ne(z.INVALID_ARGUMENT);const m=l;return $(o)?s.locale=o:Se(o)?s.plural=o:le(o)?f=o:j(o)&&(c=o),$(u)?s.locale=u:le(u)?f=u:j(u)&&(c=u),Reflect.apply(n.t,n,[m,f||c||{},s])},te(a,l){return n.te(a,l)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,l){n.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){n.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,l){n.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){n.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,l){n.setNumberFormat(a,l)},mergeNumberFormat(a,l){n.mergeNumberFormat(a,l)},getChoiceIndex(a,l){return process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=a=>{const l=n;l[Cn]&&l[Cn](a)},r.__disableEmitter=()=>{const a=n;a[ir]&&a[ir]()}),r}}const Nu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function tw({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,r)=>[...i,...r.type===ja?r.children:[r]],[]):e.reduce((n,i)=>{const r=t[i];return r&&(n[i]=r()),n},{})}function uh(t){return ja}const Pu=hu({name:"i18n-t",props:Ce({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Se(t)||!isNaN(t)}},Nu),setup(t,e){const{slots:n,attrs:i}=e,r=t.i18n||Lu({useScope:t.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),l={};t.locale&&(l.locale=t.locale),t.plural!==void 0&&(l.plural=$(t.plural)?+t.plural:t.plural);const o=tw(e,a),u=r[Iu](t.keypath,o,l),s=Ce({},i),f=$(t.tag)||J(t.tag)?t.tag:uh();return Jf(f,s,u)}}});function nw(t){return le(t)&&!$(t[0])}function sh(t,e,n,i){const{slots:r,attrs:a}=e;return()=>{const l={part:!0};let o={};t.locale&&(l.locale=t.locale),$(t.format)?l.key=t.format:J(t.format)&&($(t.format.key)&&(l.key=t.format.key),o=Object.keys(t.format).reduce((m,b)=>n.includes(b)?Ce({},m,{[b]:t.format[b]}):m,{}));const u=i(t.value,l,o);let s=[l.key];le(u)?s=u.map((m,b)=>{const S=r[m.type],I=S?S({[m.type]:m.value,index:b,parts:u}):[m.value];return nw(I)&&(I[0].key=`${m.type}-${b}`),I}):$(u)&&(s=[u]);const f=Ce({},a),c=$(t.tag)||J(t.tag)?t.tag:uh();return Jf(c,f,s)}}const ch=hu({name:"i18n-n",props:Ce({value:{type:Number,required:!0},format:{type:[String,Object]}},Nu),setup(t,e){const n=t.i18n||Lu({useScope:t.scope,__useComponent:!0});return sh(t,e,Wd,(...i)=>n[Ou](...i))}}),dh=hu({name:"i18n-d",props:Ce({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Nu),setup(t,e){const n=t.i18n||Lu({useScope:t.scope,__useComponent:!0});return sh(t,e,Ud,(...i)=>n[Tu](...i))}});function iw(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const i=n.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function rw(t){const e=l=>{const{instance:o,modifiers:u,value:s}=l;if(!o||!o.$)throw Ne(z.UNEXPECTED_ERROR);const f=iw(t,o.$);process.env.NODE_ENV!=="production"&&u.preserve&&Re(Qe(ce.NOT_SUPPORTED_PRESERVE));const c=fh(s);return[Reflect.apply(f.t,f,[...hh(c)]),f]};return{created:(l,o)=>{const[u,s]=e(o);ot&&t.global===s&&(l.__i18nWatcher=_u(s.locale,()=>{o.instance&&o.instance.$forceUpdate()})),l.__composer=s,l.textContent=u},unmounted:l=>{ot&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:o})=>{if(l.__composer){const u=l.__composer,s=fh(o);l.textContent=Reflect.apply(u.t,u,[...hh(s)])}},getSSRProps:l=>{const[o]=e(l);return{textContent:o}}}}function fh(t){if($(t))return{path:t};if(j(t)){if(!("path"in t))throw Ne(z.REQUIRED_VALUE,"path");return t}else throw Ne(z.INVALID_VALUE)}function hh(t){const{path:e,locale:n,args:i,choice:r,plural:a}=t,l={},o=i||{};return $(n)&&(l.locale=n),Se(r)&&(l.plural=r),Se(a)&&(l.plural=a),[e,o,l]}function aw(t,e,...n){const i=j(n[0])?n[0]:{},r=!!i.useI18nComponentName,a=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&r&&Re(Qe(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Pu.name})),a&&([r?"i18n":Pu.name,"I18nT"].forEach(l=>t.component(l,Pu)),[ch.name,"I18nN"].forEach(l=>t.component(l,ch)),[dh.name,"I18nD"].forEach(l=>t.component(l,dh))),t.directive("t",rw(e))}const Au={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},lw={["vue-i18n-resource-inspector"]:"Search for scopes ..."},ow={["vue-i18n-timeline"]:16764185},mh="vue-i18n: composer properties";let ku;function uw(t,e){return Zn(this,null,function*(){return new Promise((n,i)=>{try{XE({id:"vue-devtools-plugin-vue-i18n",label:Au["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[mh],app:t},r=>{ku=r,r.on.visitComponentTree(({componentInstance:l,treeNode:o})=>{sw(l,o,e)}),r.on.inspectComponent(({componentInstance:l,instanceData:o})=>{l.vnode.el&&l.vnode.el.__VUE_I18N__&&o&&(e.mode==="legacy"?l.vnode.el.__VUE_I18N__!==e.global.__composer&&gh(o,l.vnode.el.__VUE_I18N__):gh(o,l.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:Au["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:lw["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(l=>{l.app===t&&l.inspectorId==="vue-i18n-resource-inspector"&&mw(l,e)});const a=new Map;r.on.getInspectorState(l=>Zn(this,null,function*(){if(l.app===t&&l.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),gw(l,e),l.nodeId==="global"){if(!a.has(l.app)){const[o]=yield r.getComponentInstances(l.app);a.set(l.app,o)}r.highlightElement(a.get(l.app))}else{const o=yw(l.nodeId,e);o&&r.highlightElement(o)}})),r.on.editInspectorState(l=>{l.app===t&&l.inspectorId==="vue-i18n-resource-inspector"&&vw(l,e)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:Au["vue-i18n-timeline"],color:ow["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),i(!1)}})})}function yh(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function sw(t,e,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${yh(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(r)}}function gh(t,e){const n=mh;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:Du(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function Du(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ie(i)&&"source"in i?e[n]=hw(i):qt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Du(i):e[n]=i}),e}const cw={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function dw(t){return t.replace(/[<>"&]/g,fw)}function fw(t){return cw[t]||t}function hw(t){const e=t.source?`("${dw(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function mw(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,r]of e.__instances){const a=e.mode==="composition"?r:r.__composer;n!==a&&t.rootNodes.push({id:a.id.toString(),label:`${yh(i)} Scope`})}}function yw(t,e){let n=null;if(t!=="global"){for(const[i,r]of e.__instances.entries())if(r.id.toString()===t){n=i;break}}return n}function _h(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(i=>i.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function gw(t,e){const n=_h(t.nodeId,e);return n&&(t.state=_w(n)),null}function _w(t){const e={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=i;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:Du(t.messages.value)}];e[r]=a;{const l="Datetime formats info",o=[{type:l,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[l]=o;const u="Datetime formats info",s=[{type:u,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[u]=s}return e}function ar(t,e){if(ku){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),ku.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function vw(t,e){const n=_h(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&$(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&($(t.state.value)||le(t.state.value)||J(t.state.value))?n.fallbackLocale.value=t.state.value:i==="inheritLocale"&&q(t.state.value)&&(n.inheritLocale=t.state.value)}}function bw(t,e,n){return{beforeCreate(){const i=ci();if(!i)throw Ne(z.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=e,this===this.$root)this.$i18n=vh(t,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Ru(a);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=vh(t,r);else{this.$i18n=Ru({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=t;r.__i18nGlobal&&nh(e,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,l)=>this.$i18n.te(a,l),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(i,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=Mo();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",ar)}},unmounted(){const i=ci();if(!i)throw Ne(z.UNEXPECTED_ERROR);const r=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ar),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(i),delete this.$i18n}}}function vh(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[pf](e.pluralizationRules||t.pluralizationRules);const n=Ga(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(i=>t.mergeLocaleMessage(i,n[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const Ew=ut("global-vue-i18n");function ww(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,a=new Map,[l,o]=Iw(t,n),u=ut(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&r&&Re(Qe(ce.NOTICE_DROP_ALLOW_COMPOSITION));function s(m){return a.get(m)||null}function f(m,b){a.set(m,b)}function c(m){a.delete(m)}{let b;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},install(S,...I){return Zn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=m),S.__VUE_I18N_SYMBOL__=u,S.provide(S.__VUE_I18N_SYMBOL__,m),j(I[0])){const C=I[0];m.__composerExtend=C.__composerExtend,m.__vueI18nExtend=C.__vueI18nExtend}let P=null;!n&&i&&(P=kw(S,m.global)),__VUE_I18N_FULL_INSTALL__&&aw(S,m,...I),__VUE_I18N_LEGACY_API__&&n&&S.mixin(bw(o,o.__composer,m));const _=S.unmount;if(S.unmount=()=>{P&&P(),m.dispose(),_()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield uw(S,m)))throw Ne(z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const v=Mo();if(n){const E=o;E.__enableEmitter&&E.__enableEmitter(v)}else{const E=o;E[Cn]&&E[Cn](v)}v.on("*",ar)}})},get global(){return o},dispose(){l.stop()},__instances:a,__getInstance:s,__setInstance:f,__deleteInstance:c};return m}}function Lu(t={}){const e=ci();if(e==null)throw Ne(z.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ne(z.NOT_INSTALLED);const n=Tw(e),i=Sw(n),r=th(e),a=Ow(t,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Ne(z.NOT_AVAILABLE_IN_LEGACY_MODE);return Pw(e,a,i,t)}if(a==="global")return nh(i,t,r),i;if(a==="parent"){let u=Cw(n,e,t.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Re(Qe(ce.NOT_FOUND_PARENT_SCOPE)),u=i),u}const l=n;let o=l.__getInstance(e);if(o==null){const u=Ce({},t);"__i18n"in r&&(u.__i18n=r.__i18n),i&&(u.__root=i),o=Cu(u),l.__composerExtend&&(o[Su]=l.__composerExtend(o)),Nw(l,e,o),l.__setInstance(e,o)}return o}function Iw(t,e,n){const i=gb();{const r=__VUE_I18N_LEGACY_API__&&e?i.run(()=>Ru(t)):i.run(()=>Cu(t));if(r==null)throw Ne(z.UNEXPECTED_ERROR);return[i,r]}}function Tw(t){{const e=$f(t.isCE?Ew:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ne(t.isCE?z.NOT_INSTALLED_WITH_PROVIDE:z.UNEXPECTED_ERROR);return e}}function Ow(t,e){return _a(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Sw(t){return t.mode==="composition"?t.global:t.global.__composer}function Cw(t,e,n=!1){let i=null;const r=e.root;let a=Rw(e,n);for(;a!=null;){const l=t;if(t.mode==="composition")i=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const o=l.__getInstance(a);o!=null&&(i=o.__composer,n&&i&&!i[eh]&&(i=null))}if(i!=null||r===a)break;a=a.parent}return i}function Rw(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Nw(t,e,n){let i=null;sE(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=Mo();const r=n;r[Cn]&&r[Cn](i),i.on("*",ar)}},e),cE(()=>{const r=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",ar),r[ir]&&r[ir](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const a=r[Su];a&&(a(),delete r[Su])},e)}function Pw(t,e,n,i={}){const r=e==="local",a=wf(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ne(z.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=q(i.inheritLocale)?i.inheritLocale:!$(i.locale),o=ai(!r||l?n.locale.value:$(i.locale)?i.locale:ti),u=ai(!r||l?n.fallbackLocale.value:$(i.fallbackLocale)||le(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:o.value),s=ai(Ga(o.value,i)),f=ai(j(i.datetimeFormats)?i.datetimeFormats:{[o.value]:{}}),c=ai(j(i.numberFormats)?i.numberFormats:{[o.value]:{}}),m=r?n.missingWarn:q(i.missingWarn)||Ht(i.missingWarn)?i.missingWarn:!0,b=r?n.fallbackWarn:q(i.fallbackWarn)||Ht(i.fallbackWarn)?i.fallbackWarn:!0,S=r?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,I=!!i.fallbackFormat,P=ie(i.missing)?i.missing:null,_=ie(i.postTranslation)?i.postTranslation:null,C=r?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,v=!!i.escapeParameter,E=r?n.modifiers:j(i.modifiers)?i.modifiers:{},A=i.pluralRules||r&&n.pluralRules;function N(){return[o.value,u.value,s.value,f.value,c.value]}const O=It({get:()=>a.value?a.value.locale.value:o.value,set:F=>{a.value&&(a.value.locale.value=F),o.value=F}}),L=It({get:()=>a.value?a.value.fallbackLocale.value:u.value,set:F=>{a.value&&(a.value.fallbackLocale.value=F),u.value=F}}),x=It(()=>a.value?a.value.messages.value:s.value),X=It(()=>f.value),Me=It(()=>c.value);function W(){return a.value?a.value.getPostTranslationHandler():_}function _e(F){a.value&&a.value.setPostTranslationHandler(F)}function ze(){return a.value?a.value.getMissingHandler():P}function dn(F){a.value&&a.value.setMissingHandler(F)}function it(F){return N(),F()}function fn(...F){return a.value?it(()=>Reflect.apply(a.value.t,null,[...F])):it(()=>"")}function hn(...F){return a.value?Reflect.apply(a.value.rt,null,[...F]):""}function ta(...F){return a.value?it(()=>Reflect.apply(a.value.d,null,[...F])):it(()=>"")}function na(...F){return a.value?it(()=>Reflect.apply(a.value.n,null,[...F])):it(()=>"")}function ia(F){return a.value?a.value.tm(F):{}}function lt(F,Y){return a.value?a.value.te(F,Y):!1}function Bi(F){return a.value?a.value.getLocaleMessage(F):{}}function Vi(F,Y){a.value&&(a.value.setLocaleMessage(F,Y),s.value[F]=Y)}function ra(F,Y){a.value&&a.value.mergeLocaleMessage(F,Y)}function aa(F){return a.value?a.value.getDateTimeFormat(F):{}}function la(F,Y){a.value&&(a.value.setDateTimeFormat(F,Y),f.value[F]=Y)}function Ro(F,Y){a.value&&a.value.mergeDateTimeFormat(F,Y)}function oa(F){return a.value?a.value.getNumberFormat(F):{}}function Ui(F,Y){a.value&&(a.value.setNumberFormat(F,Y),c.value[F]=Y)}function ua(F,Y){a.value&&a.value.mergeNumberFormat(F,Y)}const sa={get id(){return a.value?a.value.id:-1},locale:O,fallbackLocale:L,messages:x,datetimeFormats:X,numberFormats:Me,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(F){a.value&&(a.value.inheritLocale=F)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(s.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:A},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(F){a.value&&(a.value.missingWarn=F)},get fallbackWarn(){return a.value?a.value.fallbackWarn:b},set fallbackWarn(F){a.value&&(a.value.missingWarn=F)},get fallbackRoot(){return a.value?a.value.fallbackRoot:S},set fallbackRoot(F){a.value&&(a.value.fallbackRoot=F)},get fallbackFormat(){return a.value?a.value.fallbackFormat:I},set fallbackFormat(F){a.value&&(a.value.fallbackFormat=F)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:C},set warnHtmlMessage(F){a.value&&(a.value.warnHtmlMessage=F)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(F){a.value&&(a.value.escapeParameter=F)},t:fn,getPostTranslationHandler:W,setPostTranslationHandler:_e,getMissingHandler:ze,setMissingHandler:dn,rt:hn,d:ta,n:na,tm:ia,te:lt,getLocaleMessage:Bi,setLocaleMessage:Vi,mergeLocaleMessage:ra,getDateTimeFormat:aa,setDateTimeFormat:la,mergeDateTimeFormat:Ro,getNumberFormat:oa,setNumberFormat:Ui,mergeNumberFormat:ua};function ca(F){F.locale.value=o.value,F.fallbackLocale.value=u.value,Object.keys(s.value).forEach(Y=>{F.mergeLocaleMessage(Y,s.value[Y])}),Object.keys(f.value).forEach(Y=>{F.mergeDateTimeFormat(Y,f.value[Y])}),Object.keys(c.value).forEach(Y=>{F.mergeNumberFormat(Y,c.value[Y])}),F.escapeParameter=v,F.fallbackFormat=I,F.fallbackRoot=S,F.fallbackWarn=b,F.missingWarn=m,F.warnHtmlMessage=C}return uE(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ne(z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const F=a.value=t.proxy.$i18n.__composer;e==="global"?(o.value=F.locale.value,u.value=F.fallbackLocale.value,s.value=F.messages.value,f.value=F.datetimeFormats.value,c.value=F.numberFormats.value):r&&ca(F)}),sa}const Aw=["locale","fallbackLocale","availableLocales"],bh=["t","rt","d","n","tm","te"];function kw(t,e){const n=Object.create(null);return Aw.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a)throw Ne(z.UNEXPECTED_ERROR);const l=Je(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,l)}),t.config.globalProperties.$i18n=n,bh.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a||!a.value)throw Ne(z.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,a)}),()=>{delete t.config.globalProperties.$i18n,bh.forEach(r=>{delete t.config.globalProperties[`$${r}`]})}}if(JE(),__INTLIFY_JIT_COMPILATION__?vd(zv):vd(Xv),Vv(bv),Uv(md),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Rt();t.__INTLIFY__=!0,Nv(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function Dw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eh(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 Lw(t,e,n){return e&&Eh(t.prototype,e),n&&Eh(t,n),t}function xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){Dw(this,t)}return Lw(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ma;return ww({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){this.$i18n.global.setLocaleMessage(n,i)}}]),t}();xw(d,"$i18n",d.resetI18n());function Mw(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),r=!1;return i.reduce(function(a,l,o,u){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Do("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===u.length-1&&!Object.is(s[l],n)&&(s[l]=n,r=!0),s[l]}},t),r}var Fw=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},$w={exports:{}};(function(t){(function(e){var n=function(_,C,v){if(!s(C)||c(C)||m(C)||b(C)||u(C))return C;var E,A=0,N=0;if(f(C))for(E=[],N=C.length;A<N;A++)E.push(n(_,C[A],v));else{E={};for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&(E[_(O,v)]=n(_,C[O],v))}return E},i=function(_,C){C=C||{};var v=C.separator||"_",E=C.split||/(?=[A-Z])/;return _.split(E).join(v)},r=function(_){return S(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(C,v){return v?v.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},a=function(_){var C=r(_);return C.substr(0,1).toUpperCase()+C.substr(1)},l=function(_,C){return i(_,C).toLowerCase()},o=Object.prototype.toString,u=function(_){return typeof _=="function"},s=function(_){return _===Object(_)},f=function(_){return o.call(_)=="[object Array]"},c=function(_){return o.call(_)=="[object Date]"},m=function(_){return o.call(_)=="[object RegExp]"},b=function(_){return o.call(_)=="[object Boolean]"},S=function(_){return _=_-0,_===_},I=function(_,C){var v=C&&"process"in C?C.process:C;return typeof v!="function"?_:function(E,A){return v(E,_,A)}},P={camelize:r,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(_,C){return n(I(r,C),_)},decamelizeKeys:function(_,C){return n(I(l,C),_,C)},pascalizeKeys:function(_,C){return n(I(a,C),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=P:e.humps=P})(Fw)})($w);var wh={};Object.defineProperty(wh,"__esModule",{value:!0});function xu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xu(i)}return e}}var Bw=wh.default=xu;function Vw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ht(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Vw(t))==="object"?Bw(t):t}function Uw(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mu(t){return Array.isArray(t)}function Hw(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jw(t){if(Array.isArray(t))return Fu(t)}function Ih(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(s){n(s);return}o.done?e(u):Promise.resolve(u).then(i,r)}function Ww(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){Ih(a,i,r,l,o,"next",u)}function o(u){Ih(a,i,r,l,o,"throw",u)}l(void 0)})}}function qw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Th(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 Kw(t,e,n){return e&&Th(t.prototype,e),n&&Th(t,n),t}function Oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xw(){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 $u(t){return jw(t)||Gw(t)||zw(t)||Xw()}function zw(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Jw(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(f){return u([s,f])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){l.label=s[1];break}if(s[0]===6&&l.label<r[1]){l.label=r[1],r=s;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(s);break}r[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Qw=function(){function t(){qw(this,t),Oh(this,"_events",new Map),Oh(this,"debug",!1)}return Kw(t,[{key:"emit",value:function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];var l=this;return Ww(function(){var o,u,s,f,c,m,b,S,I,P,_,C;return Jw(this,function(v){switch(v.label){case 0:if(o=l._events.get(n),u=[],!o)return[3,10];s=o.slice(),f=!0,c=!1,m=void 0,v.label=1;case 1:v.trys.push([1,8,9,10]),b=s[Symbol.iterator](),v.label=2;case 2:if(f=(S=b.next()).done)return[3,7];if(I=S.value,!o.includes(I))return[3,6];v.label=3;case 3:return v.trys.push([3,5,,6]),l.debug&&Zc.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"\u3002")].concat($u(r))),[4,I.apply(null,$u(r))];case 4:return P=v.sent(),l.debug&&Zc.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat($u(r),[P])),u.push(P),P===!1?[3,7]:[3,6];case 5:return _=v.sent(),C_(String(_)+":"+String(_.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return C=v.sent(),c=!0,m=C,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(c)throw m}return[7];case 10:return[2,u]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var r=this._events.get(n),a=r==null?void 0:r.indexOf(i);r==null||r.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 Zw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sh(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 Yw(t,e,n){return e&&Sh(t.prototype,e),n&&Sh(t,n),t}function pw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eI=[{key:"on_click",name:d.getMessage("click"),code:"click"},{key:"on_click_finish",name:d.getMessage("fibished"),code:"click-finish"},{key:"on_change",name:d.getMessage("valueChange"),code:"change"},{key:"on_search",name:d.getMessage("search"),code:"search"},{key:"on_list_change",name:d.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:d.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:d.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:d.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:d.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:d.getMessage("onInput"),code:"input"},{key:"on_blur",name:d.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:d.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:d.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:d.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:d.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:d.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:d.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:d.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:d.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:d.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:d.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:d.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:d.getMessage("modalConfirm"),code:"modal-ok"}],tI=function(){function t(){Zw(this,t)}return Yw(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(r){return i.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],r=n.eventKeys;i=i.concat(t.events.filter(function(l){return r.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();pw(tI,"events",eI);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 nI(t){if(Array.isArray(t))return Bu(t)}function iI(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rI(){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 Ch(t){return nI(t)||iI(t)||aI(t)||rI()}function aI(t,e){if(!!t){if(typeof t=="string")return Bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bu(t,e)}}function Vu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Rh(t,e,n){n!=="Runtime"&&(t.parent=e,Vu(t,"parent"))}function lI(t,e,n){t.forEach(function(i){Rh(i,e,n)})}var Nh=Symbol("targetKey");function Ph(t){var e;return(e=t[Nh])!==null&&e!==void 0?e:t}function Ah(t,e,n){return lI(t,e,n),new Proxy(t,{get:function(r,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),u=2;u<l;u++)o[u-2]=arguments[u];var s;return a===Nh?r:(s=Reflect).get.apply(s,[r,a].concat(Ch(o)))},set:function(r,a,l){for(var o=arguments.length,u=new Array(o>3?o-3:0),s=3;s<o;s++)u[s-3]=arguments[s];var f;if(Mu(t)&&a==="length"&&l===t.length)return!0;var c=(f=Reflect).set.apply(f,[r,a,l].concat(Ch(u)));return Uw(l)&&Rh(l,e,n),c}})}function Tt(t,e,n,i,r){var a=i!=null?i:t,l=Ah(Ph(n!=null?n:[]),a,r);Object.defineProperty(t,e,{get:function(){return l},set:function(u){l=Ah(Ph(u),a,r)},enumerable:!0})}function oI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(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 uI(t,e,n){return e&&kh(t.prototype,e),n&&kh(t,n),t}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dh=[],Xa=function(){function t(e){oI(this,t),pt(this,"registeredControlTypes",new Set),pt(this,"controlConfigMap",new Map),pt(this,"_controls",[]),pt(this,"_type",void 0),this._type=e,this._initControls(e)}return uI(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__||Ki("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(r){return r.controlType===n.controlType});return i>-1&&(Do("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===Vt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Vt.FORM}},{key:"isListControl",value:function(n){return n.controlType===Vt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Vt.COLUMN}},{key:"createControl",value:function(n,i){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return r.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var u=i(o);u&&(o=u)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Ki("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Vu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var u=l[a],s=o[a];if(!(!u&&!s)){var f=s.findIndex(function(b){return b==n}),c=o[u]||[],m;return c.length!==s.length?m=c[0]:m=c[f],m}}}}),Vu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var r=this.getControlFormType(n);if(r)return new r(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(r){i.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var r=t.staticControlsRuntimeRules.get(n),a=[];if(r){var l=new r(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var r=n.Designer,a=n.Runtime,l=n.Property;(!r||!a||!r.__is_control__||!a.__is_control__)&&Ki("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(u){return u.Designer.controlType===r.controlType});return o>-1&&(Do("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();pt(Xa,"staticControlsRuntimeRules",new Map),pt(Xa,"staticControls",Dh),pt(Xa,"staticRegisteredTypes",new Set(Dh.map(function(t){return t.Designer.controlType}))),pt(Xa,"staticRegisteredConfigs",new Map);function se(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function za(t){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(t)}function mt(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 sI(t,e){return e&&(cI(e)==="object"||typeof e=="function")?e:se(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Uu(t,e)}function cI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dI(){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 yt(t){var e=dI();return function(){var i=za(t),r;if(e){var a=za(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return sI(this,r)}}var Ot=function t(e){H(this,t),w(this,"dataCode",void 0),w(this,"fieldCode",void 0),w(this,"fieldType",void 0),w(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Lh=function t(e){H(this,t),w(this,"minWidth",void 0),w(this,"maxWidth",void 0),w(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},xh=function t(e){H(this,t),w(this,"rowHeightType",void 0),w(this,"minRows",void 0),w(this,"maxRows",void 0),w(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},fI=function t(e){H(this,t),w(this,"pc",void 0),w(this,"mobile",void 0),this.pc=new xh(e==null?void 0:e.pc),this.mobile=new xh(e==null?void 0:e.mobile)},Hu=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;r=e.call(this,i),w(se(r),"width",void 0),w(se(r),"widthType",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var l;return r.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",r}return n}(Lh),hI=function t(e){H(this,t),w(this,"pc",void 0),w(this,"mobile",void 0),this.pc=new Hu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Hu(e==null?void 0:e.mobile):new Hu({width:130,minWidth:180})},mI=function t(e){H(this,t),w(this,"type",void 0),w(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:[]},fi=function t(e){H(this,t),w(this,"dataCode",void 0),w(this,"formKey",void 0),w(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 r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},yI=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;r=e.call(this,i),w(se(r),"primaryControlId",void 0);var a;return r.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",r}return n}(fi),Mh=function t(e){H(this,t),w(this,"fieldCode",void 0),w(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},ju=function t(e){H(this,t);var n;w(this,"appId",void 0),w(this,"formKey",void 0),w(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Mh(l)}))!==null&&a!==void 0?a:[]},gI=function t(e){H(this,t),w(this,"fieldName",void 0),w(this,"fieldCode",void 0),w(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 r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:D.VARCHAR},_I=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;r=e.call(this,i),w(se(r),"title",void 0),w(se(r),"svcCode",void 0),w(se(r),"isOpenFilter",void 0),w(se(r),"filters",void 0);var a;r.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var l;r.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"";var o;r.isOpenFilter=(o=i==null?void 0:i.isOpenFilter)!==null&&o!==void 0?o:!1;var u;return r.filters=(u=i==null?void 0:i.filters)!==null&&u!==void 0?u:[],r}return n}(fi),vI=function t(e){H(this,t);var n,i;w(this,"type","sublist-page"),w(this,"formBind",void 0),w(this,"displayFields",void 0),w(this,"sublists",void 0),this.formBind=new fi(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new gI(l)}))!==null&&r!==void 0?r:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new _I(l)}))!==null&&a!==void 0?a:[]},bI=function t(e){H(this,t),w(this,"type",void 0),w(this,"value",void 0),w(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},lr=function t(e){H(this,t),w(this,"type",void 0),w(this,"value",void 0),w(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 r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},Wu=function t(e){var n=this;H(this,t),w(this,"id",void 0),w(this,"ruleId",void 0),w(this,"type","conditions"),w(this,"level",void 0),w(this,"value",void 0),w(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:vt();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var u,s=new t(o);(u=n.children)===null||u===void 0||u.push(s)}else{var f,c=new Ja(o);(f=n.children)===null||f===void 0||f.push(c)}}))},Ja=function t(e){H(this,t),w(this,"id",void 0),w(this,"ruleId",void 0),w(this,"type","condition"),w(this,"symbol",void 0),w(this,"checked",void 0),w(this,"describe",void 0),w(this,"leftVariableBo",void 0),w(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:vt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new bI(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new lr(e==null?void 0:e.rightVariableBo)},EI=function t(e){H(this,t),w(this,"aliasCode",void 0),w(this,"datasourceBind",void 0),w(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Ye=function t(e){H(this,t),w(this,"controlId",void 0),w(this,"fieldCode",void 0),w(this,"fieldType",void 0),w(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 r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},qu=function t(e){H(this,t),w(this,"type",void 0),w(this,"value",void 0),w(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},wI=function t(e){H(this,t),w(this,"columnName",void 0),w(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 Ku(t){var e,n,i,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Wu(o):new Ja(o)}))!==null&&r!==void 0?r:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Wu(o):new Ja(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new wI(o)}))!==null&&l!==void 0?l:[]}var He=function t(e){var n=this;H(this,t),w(this,"dataCode",void 0),w(this,"valueFieldCode",void 0),w(this,"displayBoList",void 0),w(this,"keywordMapping",void 0),w(this,"svcCode",void 0),w(this,"appId",void 0),w(this,"filters",void 0),w(this,"viewFilters",void 0),w(this,"isOpenViewFilters",void 0),w(this,"orders",void 0),w(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var c;(c=n.displayBoList)===null||c===void 0||c.push(new qu(f))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var u;this.showOrder=(u=e==null?void 0:e.showOrder)!==null&&u!==void 0?u:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",Ku.call(this,e)},Gu=function t(e){H(this,t),w(this,"dataCode",void 0),w(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:[]},Dt=function t(e){H(this,t),w(this,"code",void 0),w(this,"color",void 0),w(this,"command",void 0),w(this,"confirmMessage",void 0),w(this,"defaultState",void 0),w(this,"formKey",void 0),w(this,"formType",void 0),w(this,"icon",void 0),w(this,"needConfirm",void 0),w(this,"openType",void 0),w(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 r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var u;this.icon=(u=e==null?void 0:e.icon)!==null&&u!==void 0?u:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!0},Fh=function t(e){H(this,t);var n;w(this,"name",void 0),w(this,"key",void 0),w(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new qu(l)}))!==null&&a!==void 0?a:[]},Qa=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r,a;r=e.call(this,i),w(se(r),"attributes",void 0);var l;return r.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(o){return new Fh(o)}))!==null&&l!==void 0?l:[],r}return n}(He),II=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r,a;r=e.call(this,i),w(se(r),"attributes",void 0),w(se(r),"formCode",void 0);var l;r.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(u){return new Fh(u)}))!==null&&l!==void 0?l:[];var o;return r.formCode=(o=i==null?void 0:i.formCode)!==null&&o!==void 0?o:"",r}return n}(He),$h=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;r=e.call(this,i),w(se(r),"rootNode",void 0),w(se(r),"filterCode",void 0),r.rootNode=new lr(i==null?void 0:i.rootNode);var a;return r.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",r}return n}(Qa),Bh=function t(e){H(this,t);var n;w(this,"dataCode",void 0),w(this,"appId",void 0),w(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new Ye(l)}))!==null&&a!==void 0?a:[]},Vh=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;return r=e.call(this,i),w(se(r),"filters",void 0),w(se(r),"viewFilters",void 0),w(se(r),"orders",void 0),Ku.call(se(r),i),r}return n}(Bh),Uh=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;r=e.call(this,i),w(se(r),"mode",void 0),w(se(r),"multiple",void 0);var a;r.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var l;return r.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,r}return n}(Bh),Hh=function t(e){H(this,t),w(this,"stencilName",void 0),w(this,"expression",void 0),w(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 r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},TI=function t(e){H(this,t),w(this,"id",void 0),w(this,"label",void 0),w(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:vt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Lt(t){var e;return(e=t==null?void 0:t.map(function(n){return new TI(n)}))!==null&&e!==void 0?e:[]}var Xu=function t(){H(this,t)},OI=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;return r=e.call(this),w(se(r),"amount",void 0),w(se(r),"currency",void 0),r.amount=new Ot(i==null?void 0:i.amount),r.currency=new Ot(i==null?void 0:i.currency),r}return n}(Xu),SI=function t(e){H(this,t),w(this,"amount",void 0),w(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},CI=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;return r=e.call(this),w(se(r),"min",void 0),w(se(r),"max",void 0),r.min=new Ot(i==null?void 0:i.min),r.max=new Ot(i==null?void 0:i.max),r}return n}(Xu),RI=function t(e){H(this,t),w(this,"min",void 0),w(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:""},NI=function t(e){H(this,t),w(this,"city",void 0),w(this,"cityDisplay",void 0),w(this,"district",void 0),w(this,"districtDisplay",void 0),w(this,"province",void 0),w(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 r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},PI=function(t){mt(n,t);var e=yt(n);function n(i){H(this,n);var r;return r=e.call(this),w(se(r),"result",void 0),w(se(r),"unit",void 0),r.result=new Ot(i==null?void 0:i.result),r.unit=new Ot(i==null?void 0:i.unit),r}return n}(Xu),AI=function t(e){H(this,t),w(this,"result",void 0),w(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:""},zu;(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"})(zu||(zu={}));var h;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(h||(h={}));var Ju;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ju||(Ju={}));var en=function t(e){H(this,t),w(this,"isShow",void 0),w(this,"priorityProcess",void 0),w(this,"formKey",void 0),w(this,"content",void 0),w(this,"openType",void 0),w(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 r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},kI=function t(e){H(this,t);var n;w(this,"id",void 0),w(this,"title",void 0),w(this,"filters",void 0),w(this,"viewFilters",void 0),w(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:vt(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Mh(l)}))!==null&&a!==void 0?a:[],Ku.call(this,e)},DI=function t(e){H(this,t),w(this,"width",void 0),w(this,"height",void 0),w(this,"widthConfig",void 0),w(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 r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},LI=function t(e){H(this,t),w(this,"optCode",void 0),w(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},xI=function t(e){H(this,t);var n,i;w(this,"id",void 0),w(this,"name",void 0),w(this,"settings",void 0),w(this,"filters",void 0),w(this,"script",void 0);var r;this.id=(r=e==null?void 0:e.id)!==null&&r!==void 0?r:vt();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(u){return u.children!==void 0?new Wu(u):new Ja(u)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(u){return new MI(u)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},MI=function t(e){H(this,t),w(this,"color",void 0),w(this,"fieldCodes",void 0),w(this,"type",void 0),w(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},FI=function t(e){H(this,t);var n;w(this,"type",void 0),w(this,"interval",void 0),w(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new xI(l)}))!==null&&a!==void 0?a:[]:[]};function $I(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(t,e,n){return jh()?Za=Reflect.construct:Za=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),s=new u;return l&&ur(s,l.prototype),s},Za.apply(null,arguments)}function xt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function BI(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&&ur(t,e)}function VI(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function UI(t,e){return e&&(HI(e)==="object"||typeof e=="function")?e:$I(t)}function ur(t,e){return ur=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ur(t,e)}function HI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zu(t){var e=typeof Map=="function"?new Map:void 0;return Zu=function(i){if(i===null||!VI(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,r)}function r(){return Za(i,arguments,or(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ur(r,i)},Zu(t)}function jh(){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 jI(t){var e=jh();return function(){var i=or(t),r;if(e){var a=or(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return UI(this,r)}}var Pe=function t(e){Qu(this,t),xt(this,"isHide",{type:"boolean"})},Rn=function(t){BI(n,t);var e=jI(n);function n(i){return Qu(this,n),e.call(this)}return n}(Zu(Array)),Ae=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Qu(this,t),xt(this,"isHide",void 0),xt(this,"className",void 0),xt(this,"style",void 0),xt(this,"caption",void 0),xt(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new DI(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};xt(Ae,"mode",void 0),xt(Ae,"Rules",Pe),xt(Ae,"RuntimeRules",Rn);function St(){return St=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},St.apply(this,arguments)}function WI(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Yu(t){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(t)}function Ya(t,e){return Ya=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ya(t,e)}function qI(){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 pa(t,e,n){return qI()?pa=Reflect.construct:pa=function(r,a,l){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),s=new u;return l&&Ya(s,l.prototype),s},pa.apply(null,arguments)}function KI(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pu(t){var e=typeof Map=="function"?new Map:void 0;return pu=function(i){if(i===null||!KI(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,r)}function r(){return pa(i,arguments,Yu(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ya(r,i)},pu(t)}var GI=/%[sdj%]/g,Wh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Wh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function es(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 et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],a=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var l=String(r).replace(GI,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(u){return"[Circular]"}break;default:return o}});return l}return r}function XI(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ke(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||XI(e)&&typeof t=="string"&&!t)}function zI(t,e,n){var i=[],r=0,a=t.length;function l(o){i.push.apply(i,o),r++,r===a&&n(i)}t.forEach(function(o){e(o,l)})}function qh(t,e,n){var i=0,r=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<r?e(t[o],a):n([])}a([])}function JI(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Kh=function(t){WI(e,t);function e(n,i){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=i,r}return e}(pu(Error));function QI(t,e,n,i){if(e.first){var r=new Promise(function(c,m){var b=function(P){return i(P),P.length?m(new Kh(P,es(P))):c()},S=JI(t);qh(S,n,b)});return r.catch(function(c){return c}),r}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,u=0,s=[],f=new Promise(function(c,m){var b=function(I){if(s.push.apply(s,I),u++,u===o)return i(s),s.length?m(new Kh(s,es(s))):c()};l.length||(i(s),c()),l.forEach(function(S){var I=t[S];a.indexOf(S)!==-1?qh(I,n,b):zI(I,n,b)})});return f.catch(function(c){return c}),f}function Gh(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 Xh(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]=St(St({},t[n]),i):t[n]=i}}return t}function zh(t,e,n,i,r,a){t.required&&(!n.hasOwnProperty(t.field)||ke(e,a||t.type))&&i.push(et(r.messages.required,t.fullField))}function ZI(t,e,n,i,r){(/^\s+$/.test(e)||e==="")&&i.push(et(r.messages.whitespace,t.fullField))}var ts={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},sr={integer:function(e){return sr.number(e)&&parseInt(e,10)===e},float:function(e){return sr.number(e)&&!sr.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"&&!sr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ts.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ts.url)},hex:function(e){return typeof e=="string"&&!!e.match(ts.hex)}};function YI(t,e,n,i,r){if(t.required&&e===void 0){zh(t,e,n,i,r);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?sr[l](e)||i.push(et(r.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(et(r.messages.types[l],t.fullField,t.type))}function pI(t,e,n,i,r){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,c=typeof e=="number",m=typeof e=="string",b=Array.isArray(e);if(c?f="number":m?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),m&&(s=e.replace(u,"_").length),a?s!==t.len&&i.push(et(r.messages[f].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(et(r.messages[f].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(et(r.messages[f].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(et(r.messages[f].range,t.fullField,t.min,t.max))}var hi="enum";function e0(t,e,n,i,r){t[hi]=Array.isArray(t[hi])?t[hi]:[],t[hi].indexOf(e)===-1&&i.push(et(r.messages[hi],t.fullField,t[hi].join(", ")))}function t0(t,e,n,i,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(et(r.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(et(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var G={required:zh,whitespace:ZI,type:YI,range:pI,enum:e0,pattern:t0};function n0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"string")&&!t.required)return n();G.required(t,e,i,a,r,"string"),ke(e,"string")||(G.type(t,e,i,a,r),G.range(t,e,i,a,r),G.pattern(t,e,i,a,r),t.whitespace===!0&&G.whitespace(t,e,i,a,r))}n(a)}function i0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function r0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function a0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function l0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),ke(e)||G.type(t,e,i,a,r)}n(a)}function o0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function u0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function s0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();G.required(t,e,i,a,r,"array"),e!=null&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function c0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}var d0="enum";function f0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G[d0](t,e,i,a,r)}n(a)}function h0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"string")&&!t.required)return n();G.required(t,e,i,a,r),ke(e,"string")||G.pattern(t,e,i,a,r)}n(a)}function m0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e,"date")&&!t.required)return n();if(G.required(t,e,i,a,r),!ke(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),G.type(t,o,i,a,r),o&&G.range(t,o.getTime(),i,a,r)}}n(a)}function y0(t,e,n,i,r){var a=[],l=Array.isArray(e)?"array":typeof e;G.required(t,e,i,a,r,l),n(a)}function ns(t,e,n,i,r){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(ke(e,a)&&!t.required)return n();G.required(t,e,i,l,r,a),ke(e,a)||G.type(t,e,i,l,r)}n(l)}function g0(t,e,n,i,r){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(ke(e)&&!t.required)return n();G.required(t,e,i,a,r)}n(a)}var cr={string:n0,method:i0,number:r0,boolean:a0,regexp:l0,integer:o0,float:u0,array:s0,object:c0,enum:f0,pattern:h0,date:m0,url:ns,hex:ns,email:ns,required:y0,any:g0};function is(){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 rs=is();function tn(t){this.rules=null,this._messages=rs,this.define(t)}tn.prototype={messages:function(e){return e&&(this._messages=Xh(is(),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 r=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function u(I){var P,_=[],C={};function v(E){if(Array.isArray(E)){var A;_=(A=_).concat.apply(A,E)}else _.push(E)}for(P=0;P<I.length;P++)v(I[P]);_.length?C=es(_):(_=null,C=null),o(_,C)}if(l.messages){var s=this.messages();s===rs&&(s=is()),Xh(s,l.messages),l.messages=s}else l.messages=this.messages();var f,c,m={},b=l.keys||Object.keys(this.rules);b.forEach(function(I){f=r.rules[I],c=a[I],f.forEach(function(P){var _=P;typeof _.transform=="function"&&(a===e&&(a=St({},a)),c=a[I]=_.transform(c)),typeof _=="function"?_={validator:_}:_=St({},_),_.validator=r.getValidationMethod(_),_.field=I,_.fullField=_.fullField||I,_.type=r.getType(_),_.validator&&(m[I]=m[I]||[],m[I].push({rule:_,value:c,source:a,field:I}))})});var S={};return QI(m,l,function(I,P){var _=I.rule,C=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");C=C&&(_.required||!_.required&&I.value),_.field=I.field;function v(N,O){return St(St({},O),{},{fullField:_.fullField+"."+N})}function E(N){N===void 0&&(N=[]);var O=N;if(Array.isArray(O)||(O=[O]),!l.suppressWarning&&O.length&&tn.warning("async-validator:",O),O.length&&_.message!==void 0&&(O=[].concat(_.message)),O=O.map(Gh(_)),l.first&&O.length)return S[_.field]=1,P(O);if(!C)P(O);else{if(_.required&&!I.value)return _.message!==void 0?O=[].concat(_.message).map(Gh(_)):l.error&&(O=[l.error(_,et(l.messages.required,_.field))]),P(O);var L={};if(_.defaultField)for(var x in I.value)I.value.hasOwnProperty(x)&&(L[x]=_.defaultField);L=St(St({},L),I.rule.fields);for(var X in L)if(L.hasOwnProperty(X)){var Me=Array.isArray(L[X])?L[X]:[L[X]];L[X]=Me.map(v.bind(null,X))}var W=new tn(L);W.messages(l.messages),I.rule.options&&(I.rule.options.messages=l.messages,I.rule.options.error=l.error),W.validate(I.value,I.rule.options||l,function(_e){var ze=[];O&&O.length&&ze.push.apply(ze,O),_e&&_e.length&&ze.push.apply(ze,_e),P(ze.length?ze:null)})}}var A;_.asyncValidator?A=_.asyncValidator(_,I.value,E,I.source,l):_.validator&&(A=_.validator(_,I.value,E,I.source,l),A===!0?E():A===!1?E(_.message||_.field+" fails"):A instanceof Array?E(A):A instanceof Error&&E(A.message)),A&&A.then&&A.then(function(){return E()},function(N){return E(N)})},function(I){u(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!cr.hasOwnProperty(e.type))throw new Error(et("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"?cr.required:cr[this.getType(e)]||!1}},tn.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");cr[e]=n},tn.warning=Wh,tn.messages=rs,tn.validators=cr;var _0={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 v0(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new tn(t);return n.messages(Object.assign(_0,e)),n}var b0=new Qw;function as(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 E0(t){if(Array.isArray(t))return t}function w0(t){if(Array.isArray(t))return as(t)}function Jh(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(s){n(s);return}o.done?e(u):Promise.resolve(u).then(i,r)}function Qh(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){Jh(a,i,r,l,o,"next",u)}function o(u){Jh(a,i,r,l,o,"throw",u)}l(void 0)})}}function I0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zh(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 T0(t,e,n){return e&&Zh(t.prototype,e),n&&Zh(t,n),t}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yh(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ph(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function O0(){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 S0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function em(t){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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){te(t,r,n[r])})}return t}function C0(t){return E0(t)||ph(t)||tm(t)||O0()}function ls(t){return w0(t)||ph(t)||tm(t)||S0()}function R0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(t,e){if(!!t){if(typeof t=="string")return as(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 as(t,e)}}function nm(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(f){return u([s,f])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){l.label=s[1];break}if(s[0]===6&&l.label<r[1]){l.label=r[1],r=s;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(s);break}r[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var re=function(){function e(n){var i=this;I0(this,e),te(this,"id",void 0),te(this,"name",void 0),te(this,"icon",void 0),te(this,"type",void 0),te(this,"controlType",void 0),te(this,"props",void 0),te(this,"setting",[]),te(this,"fieldType",void 0),te(this,"eventKeys",[]),te(this,"customEvents",[]),te(this,"parent",null),te(this,"slots",void 0),te(this,"slotPosition",void 0),te(this,"updateSetting",rm),te(this,"removeSetting",im),this._callControlHooks("preInstance",n);var r=Yh(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,o=r.controlType,u=r.controlFieldType,s=r.controlEventKeys,f=r.controlCustomEvents,c=r.name,m=r.setting,b=r.slots,S=r.slotPosition;a&&l&&o||Yc("The ".concat(c," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:vt(10),this.name=a,this.icon=l;var P;this.type=(P=n==null?void 0:n.type)!==null&&P!==void 0?P:o,this.props=new Ae(n==null?void 0:n.props,(Yh(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=ht(m);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:u,this.eventKeys=ht(s),this.customEvents=ht(f),this.slots=ht(b),this.slotPosition=ht(S),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return T0(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,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];var l,o=C0(r),u=o[0],s=o.slice(1);return(l=b0).emit.apply(l,[u,this].concat(ls(s)))}},{key:"preUpdate",value:function(i,r){this._callControlHooks("preUpdateProps",i,r)}},{key:"postUpdate",value:function(i,r){this._callControlHooks("postUpdateProps",i,r)}},{key:"updateProps",value:function(i,r){this.preUpdate(i,r),Mw(this.props,i,r),this.postUpdate(i,r)}},{key:"preValidate",value:function(){var i=this;return Qh(function(){var r,a,l;return nm(this,function(o){switch(o.label){case 0:return r=em({},i.rules),[4,i._callControlHooks("preValidate",r)];case 1:return a=o.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,r){var a=this;return Qh(function(){var l,o,u,s;return nm(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:l=f.sent(),o=l!==void 0?l:em({},a.rules),Array.isArray(r)&&r.forEach(function(c){o.hasOwnProperty(c)&&delete o[c]}),u=v0(o,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,u.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=a),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,o=this.props,u=o.dataBind,s=o.datasourceBind,f=o.optionConfig,c=o.caption,m=o.required,b=o.maxLength,S=o.options,I=o.encrypted,P=o.encryptedMode;if(!(!r&&!u&&!s)){var _={parentId:i,fieldType:r,controlId:a,caption:c,type:l,props:{}};switch(u&&(_.dataBind=u),f){case"datasource":case void 0:s&&(_.datasourceBind=s);break;case"custom":_.props.options=S;break}return m!==void 0&&(_.required=m),b!==void 0&&(_.maxLength=b),I!==void 0&&(_.encrypted=I),P!==void 0&&(_.encryptedMode=P),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ht(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,r){if(i==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,ls(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();te(re,"mode","Designer"),te(re,"slots",void 0),te(re,"slotPosition",void 0),te(re,"controlName","\u63A7\u4EF6"),te(re,"controlIcon","icon"),te(re,"controlType","control"),te(re,"controlFieldType",void 0),te(re,"controlEventKeys",[]),te(re,"controlCustomEvents",[]),te(re,"setting",[]),te(re,"__is_control__",!0),te(re,"removeSettingItem",im),te(re,"updateSettingItem",rm);function im(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var r,a=typeof i!="string",l=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(s){return s.key===(a?i.key:i)});if(l!==-1){var o,u;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((u=e.setting[l].showItems)===null||u===void 0)&&u.length)&&e.setting.splice(l,1)}})}function rm(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(r){var a=n.setting.find(function(s){return s.key===r});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":R0(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var u;(u=a.showItems).push.apply(u,ls(e.showItems))}}}})}function N0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function am(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 P0(t,e,n){return e&&am(t.prototype,e),n&&am(t,n),t}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A0(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var De=function(){function e(n){N0(this,e),tt(this,"id",void 0),tt(this,"type",void 0),tt(this,"controlType",void 0),tt(this,"props",void 0),tt(this,"fieldType",void 0),tt(this,"customEvents",[]),tt(this,"pageStatus",void 0),tt(this,"parent",null);var i=A0(this,e)?this.constructor:void 0,r=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;r||Yc("The ".concat(l," controlType is not define"));var u;this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:vt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:r,this.props=new Ae(n==null?void 0:n.props),this.customEvents=o;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:a;var m;this.pageStatus=(m=n==null?void 0:n.pageStatus)!==null&&m!==void 0?m:Ju.UNKNOWN}return P0(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var r=new i(this.props);return Array.from(r)}return[]}}]),e}();tt(De,"mode","Runtime"),tt(De,"controlType","control"),tt(De,"controlFieldType",void 0),tt(De,"__is_control__",!0),tt(De,"controlCustomEvents",[]);function os(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,r){i.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,i,r){var a=i.map(function(o){return o.value}),l=Hw(a);a.length!==l.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,r){i.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function el(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,a,l){a.length===0&&l(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function k0(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function me(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(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){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function il(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&&us(t,e)}function D0(t,e){return e&&(L0(e)==="object"||typeof e=="function")?e:me(t)}function us(t,e){return us=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},us(t,e)}function L0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x0(){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 rl(t){var e=x0();return function(){var i=nl(t),r;if(e){var a=nl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return D0(this,r)}}var Fe=function(t){il(n,t);var e=rl(n);function n(i){tl(this,n);var r;r=e.call(this,i),ye(me(r),"dataBind",{}),ye(me(r),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ye(me(r),"isHideCaption",{type:"boolean"}),ye(me(r),"labelPosition",{type:"enum",enum:["top","left"]}),ye(me(r),"defaultState",{type:"enum",enum:["default","readonly"]}),ye(me(r),"required",{type:"boolean"}),ye(me(r),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(k0(i.dataBind))r.dataBind={type:"object",required:!0,fields:ht(a),message:d.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:ht(a),message:d.getMessage("pleaseEnterFieldCode")}}),r.dataBind=l}return i.isShowCaptionTip&&(r.captionTip.required=!0),r}return n}(Pe),de=function(t){il(n,t);var e=rl(n);function n(i){tl(this,n);var r;r=e.call(this,i);var a=i.isHide?!1:i.required;return a&&r.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),r}return n}(Rn),Q=function(t){il(n,t);var e=rl(n);function n(i){tl(this,n);var r;r=e.call(this,i),ye(me(r),"caption",void 0),ye(me(r),"isHideCaption",void 0),ye(me(r),"isShowCaptionTip",void 0),ye(me(r),"captionTip",void 0),ye(me(r),"labelPosition",void 0),ye(me(r),"dataBind",void 0),ye(me(r),"defaultValue",void 0),ye(me(r),"placeholder",void 0),ye(me(r),"defaultState",void 0),ye(me(r),"required",void 0),ye(me(r),"requiredMessage",void 0);var a;r.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;r.isHideCaption=(l=i==null?void 0:i.isHideCaption)!==null&&l!==void 0?l:!1;var o;r.isShowCaptionTip=(o=i==null?void 0:i.isShowCaptionTip)!==null&&o!==void 0?o:!1;var u;r.captionTip=(u=i==null?void 0:i.captionTip)!==null&&u!==void 0?u:"";var s;r.defaultState=(s=i==null?void 0:i.defaultState)!==null&&s!==void 0?s:"default";var f;r.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var c;r.placeholder=(c=i==null?void 0:i.placeholder)!==null&&c!==void 0?c:"";var m;r.required=(m=i==null?void 0:i.required)!==null&&m!==void 0?m:!1;var b;r.requiredMessage=(b=i==null?void 0:i.requiredMessage)!==null&&b!==void 0?b:"",r.dataBind=new Ot(i==null?void 0:i.dataBind);var S;return r.defaultValue=(S=i==null?void 0:i.defaultValue)!==null&&S!==void 0?S:"",r}return n}(Ae);ye(Q,"Rules",Fe),ye(Q,"RuntimeRules",de);var mi=function(t){il(n,t);var e=rl(n);function n(i){tl(this,n);var r;return r=e.call(this,i),ye(me(r),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ye(me(r),"options",[{type:"array",message:d.getMessage("isNotArray")}]),ye(me(r),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),os.call(me(r),i),r}return n}(Fe);function ss(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function F0(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&&cs(t,e)}function $0(t,e){return e&&(B0(e)==="object"||typeof e=="function")?e:ss(t)}function cs(t,e){return cs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},cs(t,e)}function B0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){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 U0(t){var e=V0();return function(){var i=ll(t),r;if(e){var a=ll(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return $0(this,r)}}var Z=function(t){F0(n,t);var e=U0(n);function n(i){M0(this,n);var r;return r=e.call(this,i),al(ss(r),"controlType","form"),al(ss(r),"props",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(re);al(Z,"controlEventKeys",["on_change","on_focus","on_blur"]),al(Z,"controlCustomAttributes",void 0);function ol(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ds(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function j0(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&&fs(t,e)}function W0(t,e){return e&&(q0(e)==="object"||typeof e=="function")?e:ol(t)}function fs(t,e){return fs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},fs(t,e)}function q0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K0(){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 G0(t){var e=K0();return function(){var i=ul(t),r;if(e){var a=ul(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return W0(this,r)}}var ee=function(t){j0(n,t);var e=G0(n);function n(i){H0(this,n);var r;return r=e.call(this,i),ds(ol(r),"controlType","form"),ds(ol(r),"props",void 0),ds(ol(r),"value",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(De);function X0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function J0(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&&hs(t,e)}function Q0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:X0(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},hs(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){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 p0(t){var e=Y0();return function(){var i=sl(t),r;if(e){var a=sl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Q0(this,r)}}var ge=function(t){J0(n,t);var e=p0(n);function n(i){return z0(this,n),e.call(this,i)}return n}(Ae);function ms(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 eT(t){if(Array.isArray(t))return ms(t)}function Nn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(s){n(s);return}o.done?e(u):Promise.resolve(u).then(i,r)}function tT(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){lm(a,i,r,l,o,"next",u)}function o(u){lm(a,i,r,l,o,"throw",u)}l(void 0)})}}function nT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function om(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 iT(t,e,n){return e&&om(t.prototype,e),n&&om(t,n),t}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yi=Reflect.get:yi=function(r,a,l){var o=fT(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},yi(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function rT(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&&ys(t,e)}function aT(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function lT(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oT(){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 uT(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){nn(t,r,n[r])})}return t}function sT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function cT(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sT(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dT(t,e){return e&&(hT(e)==="object"||typeof e=="function")?e:Nn(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ys(t,e)}function fT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function um(t){return eT(t)||lT(t)||mT(t)||oT()}function hT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mT(t,e){if(!!t){if(typeof t=="string")return ms(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 ms(t,e)}}function yT(){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 gT(t){var e=yT();return function(){var i=rn(t),r;if(e){var a=rn(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return dT(this,r)}}function _T(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(f){return u([s,f])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){l.label=s[1];break}if(s[0]===6&&l.label<r[1]){l.label=r[1],r=s;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(s);break}r[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var vT=1e4,ve=function(e){rT(i,e);var n=gT(i);function i(r){nT(this,i);var a;a=n.call(this,r),nn(Nn(a),"controlType","layout"),nn(Nn(a),"children",void 0),nn(Nn(a),"excludes",void 0),nn(Nn(a),"childrenMaxLength",void 0),nn(Nn(a),"props",void 0);var l=aT(this,i)?this.constructor:void 0,o=l.excludes,u=l.childrenMaxLength;return a.props=new ge(r==null?void 0:r.props),Tt(Nn(a),"children",r==null?void 0:r.children,void 0,"Designer"),a.excludes=ht(o),a.childrenMaxLength=u,a}return iT(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,l){var o=this,u=this,s=function(){return yi(rn(i.prototype),"validate",o)};return tT(function(){return _T(this,function(f){switch(f.label){case 0:return[4,s().call(u,a,l)];case 1:return f.sent(),[4,Promise.all(u.children.map(function(c){return c.validate(a,l)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=yi(rn(i.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(u,s){var f=s.toDataBindModel(a);if(Array.isArray(f)){var c=f.filter(function(m){return!!m});return um(u).concat(um(c))}return f&&u.push(f),u},o)}},{key:"toSchema",value:function(){var a=yi(rn(i.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var u=o.toSchema();return u});return cT(uT({},a),{children:l})}}]),i}(re);nn(ve,"excludes",!1),nn(ve,"childrenMaxLength",vT);function dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function ET(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&&_s(t,e)}function wT(t,e){return e&&(IT(e)==="object"||typeof e=="function")?e:dr(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},_s(t,e)}function IT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TT(){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 OT(t){var e=TT();return function(){var i=cl(t),r;if(e){var a=cl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return wT(this,r)}}var Te=function(t){ET(n,t);var e=OT(n);function n(i){bT(this,n);var r;return r=e.call(this,i),gs(dr(r),"controlType","layout"),gs(dr(r),"children",void 0),gs(dr(r),"props",void 0),r.props=new ge(i==null?void 0:i.props),Tt(dr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(De);function Mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ST(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dl(t){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(t)}function CT(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&&vs(t,e)}function RT(t,e){return e&&(NT(e)==="object"||typeof e=="function")?e:Mt(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},vs(t,e)}function NT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PT(){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 AT(t){var e=PT();return function(){var i=dl(t),r;if(e){var a=dl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return RT(this,r)}}var fl=function(t){CT(n,t);var e=AT(n);function n(i,r,a){ST(this,n);var l;l=e.call(this,r),gi(Mt(l),"headers",void 0),gi(Mt(l),"footers",void 0),gi(Mt(l),"pageIndex",void 0),gi(Mt(l),"pageSize",void 0),gi(Mt(l),"pageSizeOptions",void 0),gi(Mt(l),"totalCount",void 0),Tt(Mt(l),"headers",r==null?void 0:r.headers,i,a),Tt(Mt(l),"footers",r==null?void 0:r.footers,i);var o;l.pageIndex=(o=r==null?void 0:r.pageIndex)!==null&&o!==void 0?o:1;var u;l.pageSize=(u=r==null?void 0:r.pageSize)!==null&&u!==void 0?u:20;var s;l.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var f;return l.totalCount=(f=r==null?void 0:r.totalCount)!==null&&f!==void 0?f:0,l}return n}(Ae);function bs(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 kT(t){if(Array.isArray(t))return bs(t)}function hl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sm(t,e,n,i,r,a,l){try{var o=t[a](l),u=o.value}catch(s){n(s);return}o.done?e(u):Promise.resolve(u).then(i,r)}function DT(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function l(u){sm(a,i,r,l,o,"next",u)}function o(u){sm(a,i,r,l,o,"throw",u)}l(void 0)})}}function LT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cm(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 xT(t,e,n){return e&&cm(t.prototype,e),n&&cm(t,n),t}function ml(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_i=Reflect.get:_i=function(r,a,l){var o=UT(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},_i(t,e,n||t)}function an(t){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},an(t)}function MT(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&&Es(t,e)}function FT(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $T(){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 dm(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){ml(t,r,n[r])})}return t}function BT(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function fm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):BT(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function VT(t,e){return e&&(HT(e)==="object"||typeof e=="function")?e:hl(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Es(t,e)}function UT(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=an(t),t!==null););return t}function hm(t){return kT(t)||FT(t)||jT(t)||$T()}function HT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jT(t,e){if(!!t){if(typeof t=="string")return bs(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 bs(t,e)}}function WT(){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 qT(t){var e=WT();return function(){var i=an(t),r;if(e){var a=an(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return VT(this,r)}}function KT(t,e){var n,i,r,a,l={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(f){return u([s,f])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){l.label=s[1];break}if(s[0]===6&&l.label<r[1]){l.label=r[1],r=s;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(s);break}r[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var ws=function(t){MT(n,t);var e=qT(n);function n(i){LT(this,n);var r;return r=e.call(this,i),ml(hl(r),"controlType","list"),ml(hl(r),"props",void 0),r.props=new fl(hl(r),i==null?void 0:i.props,"Designer"),r}return xT(n,[{key:"validate",value:function(r,a){var l=this,o=this,u=function(){return _i(an(n.prototype),"validate",l)};return DT(function(){return KT(this,function(s){switch(s.label){case 0:return[4,u().call(o,r)];case 1:return s.sent(),[4,Promise.all(o.props.headers.map(function(f){return f.validate(r,a)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=_i(an(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(o,u){var s=u.toDataBindModel(l);if(Array.isArray(s)){var f=s.filter(function(c){return!!c});return hm(o).concat(hm(f))}return s&&o.push(s),o},a)}},{key:"toSchema",value:function(){var r=_i(an(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return fm(dm({},r),{props:fm(dm({},this.props),{headers:a})})}}]),n}(re);ml(ws,"controlFieldType",D.LIST);function vi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mm(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 XT(t,e,n){return e&&mm(t.prototype,e),n&&mm(t,n),t}function Is(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function zT(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&&Ts(t,e)}function JT(t,e){return e&&(QT(e)==="object"||typeof e=="function")?e:vi(t)}function Ts(t,e){return Ts=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ts(t,e)}function QT(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){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 YT(t){var e=ZT();return function(){var i=yl(t),r;if(e){var a=yl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return JT(this,r)}}var ym=function(t){zT(n,t);var e=YT(n);function n(i){GT(this,n);var r;return r=e.call(this,i),Is(vi(r),"controlType","list"),Is(vi(r),"children",void 0),Is(vi(r),"props",void 0),r.props=new fl(vi(r),i==null?void 0:i.props,"Runtime"),Tt(vi(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return XT(n,[{key:"length",get:function(){return this.children.length}}]),n}(De);function xe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Os(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function Ss(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&&Cs(t,e)}function pT(t,e){return e&&(eO(e)==="object"||typeof e=="function")?e:xe(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Cs(t,e)}function eO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tO(){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 Rs(t){var e=tO();return function(){var i=gl(t),r;if(e){var a=gl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return pT(this,r)}}var Ct=function(t){Ss(n,t);var e=Rs(n);function n(i){Os(this,n);var r;return r=e.call(this,i),$e(xe(r),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),$e(xe(r),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),r.width.required=i.widthType==="px",r}return n}(Pe),Oe=function(t){Ss(n,t);var e=Rs(n);function n(i){Os(this,n);var r;r=e.call(this,i),$e(xe(r),"widthType",void 0),$e(xe(r),"width",void 0),$e(xe(r),"caption",void 0),$e(xe(r),"dataBind",void 0),$e(xe(r),"autoWidth",void 0),$e(xe(r),"fixed",void 0),$e(xe(r),"sort",void 0),$e(xe(r),"align",void 0),$e(xe(r),"colSpan",void 0),$e(xe(r),"autoHeight",void 0),$e(xe(r),"children",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,r.widthType=(i==null?void 0:i.widthType)||"auto";var l;r.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"";var o;r.fixed=(o=i==null?void 0:i.fixed)!==null&&o!==void 0?o:"none",r.autoWidth=new Lh(i==null?void 0:i.autoWidth),r.dataBind=new Ot(i==null?void 0:i.dataBind);var u;r.sort=(u=i==null?void 0:i.sort)!==null&&u!==void 0?u:!0,r.align=i==null?void 0:i.align,r.colSpan=i==null?void 0:i.colSpan;var s;return r.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,r}return n}(Ae);$e(Oe,"Rules",Ct);var gm=function(t){Ss(n,t);var e=Rs(n);function n(i){Os(this,n);var r;return r=e.call(this,i),$e(xe(r),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),$e(xe(r),"options",[{type:"array",message:d.getMessage("isNotArray")}]),$e(xe(r),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),os.call(xe(r),i),r}return n}(Ct);function fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _m(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 iO(t,e,n){return e&&_m(t.prototype,e),n&&_m(t,n),t}function _l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vl=Reflect.get:vl=function(r,a,l){var o=sO(r,a);if(!!o){var u=Object.getOwnPropertyDescriptor(o,a);return u.get?u.get.call(l||r):u.value}},vl(t,e,n||t)}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function rO(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&&Ns(t,e)}function aO(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){_l(t,r,n[r])})}return t}function lO(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function oO(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):lO(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function uO(t,e){return e&&(cO(e)==="object"||typeof e=="function")?e:fr(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ns(t,e)}function sO(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bi(t),t!==null););return t}function cO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(){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 fO(t){var e=dO();return function(){var i=bi(t),r;if(e){var a=bi(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return uO(this,r)}}var Be=function(t){rO(n,t);var e=fO(n);function n(i){nO(this,n);var r;return r=e.call(this,i),_l(fr(r),"controlType","column"),_l(fr(r),"props",void 0),_l(fr(r),"children",void 0),r.props=new Oe(i==null?void 0:i.props),Tt(fr(r),"children",i==null?void 0:i.children,void 0,"Designer"),r}return iO(n,[{key:"toSchema",value:function(){var r=vl(bi(n.prototype),"toSchema",this).call(this);return oO(aO({},r),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(re);function hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ps(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function mO(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&&As(t,e)}function yO(t,e){return e&&(gO(e)==="object"||typeof e=="function")?e:hr(t)}function As(t,e){return As=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},As(t,e)}function gO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _O(){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 vO(t){var e=_O();return function(){var i=bl(t),r;if(e){var a=bl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return yO(this,r)}}var Ve=function(t){mO(n,t);var e=vO(n);function n(i){hO(this,n);var r;return r=e.call(this,i),Ps(hr(r),"controlType","column"),Ps(hr(r),"props",void 0),Ps(hr(r),"children",void 0),r.props=new Oe(i==null?void 0:i.props),Tt(hr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(De);function vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function EO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function wO(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&&ks(t,e)}function IO(t,e){return e&&(TO(e)==="object"||typeof e=="function")?e:vm(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ks(t,e)}function TO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){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 SO(t){var e=OO();return function(){var i=El(t),r;if(e){var a=El(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return IO(this,r)}}var Ds=function(t){wO(n,t);var e=SO(n);function n(i){bO(this,n);var r;return r=e.call(this,i),EO(vm(r),"dataBind",void 0),r.dataBind=new Ot(i==null?void 0:i.dataBind),r}return n}(ge);function Ls(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function RO(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&&xs(t,e)}function NO(t,e){return e&&(PO(e)==="object"||typeof e=="function")?e:Ls(t)}function xs(t,e){return xs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},xs(t,e)}function PO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AO(){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 kO(t){var e=AO();return function(){var i=wl(t),r;if(e){var a=wl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return NO(this,r)}}var DO=function(t){RO(n,t);var e=kO(n);function n(i){CO(this,n);var r;return r=e.call(this,i),bm(Ls(r),"controlType","search"),bm(Ls(r),"props",void 0),r.props=new Ds(i==null?void 0:i.props),r}return n}(ve);function Ms(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function xO(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&&Fs(t,e)}function MO(t,e){return e&&(FO(e)==="object"||typeof e=="function")?e:Ms(t)}function Fs(t,e){return Fs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Fs(t,e)}function FO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $O(){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 BO(t){var e=$O();return function(){var i=Il(t),r;if(e){var a=Il(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return MO(this,r)}}var VO=function(t){xO(n,t);var e=BO(n);function n(i){LO(this,n);var r;return r=e.call(this,i),Em(Ms(r),"controlType","search"),Em(Ms(r),"props",void 0),r.props=new Ds(i==null?void 0:i.props),r}return n}(Te);function UO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(t)}function jO(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&&$s(t,e)}function WO(t,e){return e&&(qO(e)==="object"||typeof e=="function")?e:UO(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},$s(t,e)}function qO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KO(){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 GO(t){var e=KO();return function(){var i=Tl(t),r;if(e){var a=Tl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return WO(this,r)}}var Bs=function(t){jO(n,t);var e=GO(n);function n(i){return HO(this,n),e.call(this,i)}return n}(ge);function Vs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function zO(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&&Us(t,e)}function JO(t,e){return e&&(QO(e)==="object"||typeof e=="function")?e:Vs(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Us(t,e)}function QO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZO(){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 YO(t){var e=ZO();return function(){var i=Ol(t),r;if(e){var a=Ol(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return JO(this,r)}}var pO=function(t){zO(n,t);var e=YO(n);function n(i){XO(this,n);var r;return r=e.call(this,i),wm(Vs(r),"controlType","wrap"),wm(Vs(r),"props",void 0),r.props=new Bs(i==null?void 0:i.props),r}return n}(ve);function Hs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Im(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function tS(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&&js(t,e)}function nS(t,e){return e&&(iS(e)==="object"||typeof e=="function")?e:Hs(t)}function js(t,e){return js=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},js(t,e)}function iS(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rS(){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 aS(t){var e=rS();return function(){var i=Sl(t),r;if(e){var a=Sl(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return nS(this,r)}}var lS=function(t){tS(n,t);var e=aS(n);function n(i){eS(this,n);var r;return r=e.call(this,i),Im(Hs(r),"controlType","wrap"),Im(Hs(r),"props",void 0),r.props=new Bs(i==null?void 0:i.props),r}return n}(Te);function ln(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class Ws extends Ae{constructor(e){var n,i,r,a,l,o;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=(r=e==null?void 0:e.icon)!=null?r:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57",this.align=(o=e==null?void 0:e.align)!=null?o:""}}class Tm extends re{constructor(e){super(e),this.props=new Ws(e==null?void 0:e.props)}static get controlName(){return d.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Tm.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class oS extends De{constructor(e){super(e),this.props=new Ws(e==null?void 0:e.props)}static get controlType(){return"text"}}var Om={Designer:Tm,Runtime:oS,Property:Ws};class qs extends Ae{constructor(e){var n,i,r;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=(r=e==null?void 0:e.openMode)!=null?r:"new"}}class Ks extends re{constructor(e){super(e),this.props=new qs(e==null?void 0:e.props)}static get controlName(){return d.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ks.controlEventKeys=["on_click"],Ks.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class uS extends De{constructor(e){super(e),this.props=new qs(e==null?void 0:e.props)}static get controlType(){return"link"}}var Sm={Designer:Ks,Runtime:uS,Property:qs};class Xe extends Ae{constructor(e){var n,i,r,a,l,o,u,s,f;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=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new LI((f=e==null?void 0:e.optObj)!=null?f:{})}}class je extends re{constructor(e){super(e),this.props=new Xe(e==null?void 0:e.props)}static get controlName(){return d.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}je.slots=["grid-table-toolbar-slot","action-bar-slot",qc.DEFAULT],je.controlEventKeys=["on_click"],je.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class nt extends De{constructor(e){super(e),this.props=new Xe(e==null?void 0:e.props)}static get controlType(){return"button"}}var Cm={Designer:je,Runtime:nt,Property:Xe},on=(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))(on||{}),Rm=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Rm||{}),Nm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Nm||{});class Cl{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:vt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Gs=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Gs||{});class Rl{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:vt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Xs=(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))(Xs||{});class zs{constructor(e){var n,i,r,a,l,o,u,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new lr((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(r=e==null?void 0:e.signatureType)!=null?r:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new lr((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(u=e==null?void 0:e.company)!=null?u:new lr((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Pm{constructor(e){var n,i,r,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(r=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(u=>new zs(u)))!=null?r:[new zs],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class mr{constructor(e){var n,i,r,a,l,o,u;this.id=(n=e==null?void 0:e.id)!=null?n:vt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(r=e==null?void 0:e.dataCode)!=null?r:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(u=e==null?void 0:e.active)!=null?u:!1}}class Js{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 Am{constructor(e){var n,i,r,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=(r=e==null?void 0:e.collaborativeRecord)!=null?r:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Js(e==null?void 0:e.watermark),this.autoRename=new Js(e==null?void 0:e.autoRename)}}class km{constructor(e){this.dataCode=e.dataCode}}class Dm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new km(a)))!=null?r:[]}}class Lm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new mr(a)))!=null?r:[new mr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const xm=480;function yr(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Mm{constructor(e){var n,i,r,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(r=e==null?void 0:e.ruleName)!=null?r:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Fm{constructor(e){var n,i,r;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=(r=e==null?void 0:e.alignItems)!=null?r:"flex-start"}}var $m=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))($m||{}),Qs=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Qs||{}),Nl=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Nl||{}),un=(t=>(t.ALL="all",t.ASSIGN="assign",t))(un||{}),Zs=(t=>(t.ALL="all",t.ADMIN="admin",t))(Zs||{});class Ys extends Ae{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:Xs.SOLID}}class Bm extends re{constructor(e){super(e),this.props=new Ys(e==null?void 0:e.props)}static get controlName(){return d.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Bm.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]}];class sS extends De{constructor(e){super(e),this.props=new Ys(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Vm={Designer:Bm,Runtime:sS,Property:Ys};class cS extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(on.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Pl extends Ae{constructor(e){var n,i,r,a;super(e),this.dataBind=new Ot(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[on.ShowSubmitUser,on.ShowSubmitDept,on.ShowSubmitTime,on.ShowCurrentApprovar,on.ShowTitle],this.caption=(r=(i=e==null?void 0:e.caption)!=null?i:Ei==null?void 0:Ei.controlName)!=null?r:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Pl.Rules=cS;class Ei extends re{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ei.controlFieldType=D.AUTO_NUMBER,Ei.setting=[{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class dS extends De{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlType(){return"title"}}var Um={Designer:Ei,Runtime:dS,Property:Pl};class fS extends Pe{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Al extends Xe{constructor(e){var n,i,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wi.controlName,this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Al.Rules=fS;class wi extends je{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlName(){return d.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click","on_click_finish"],wi.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 hS extends nt{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Hm={Designer:wi,Runtime:hS,Property:Al};class mS extends Pe{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class kl extends Xe{constructor(e){var n,i,r,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ii.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ii.controlName,this.initiatorMode=(r=e==null?void 0:e.initiatorMode)!=null?r:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}kl.Rules=mS;class Ii extends je{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ii.slots=["grid-table-toolbar-slot"],Ii.controlEventKeys=["on_click","on_click_finish"],Ii.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 yS extends nt{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var jm={Designer:Ii,Runtime:yS,Property:kl};class ps extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ti.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ti.controlIcon}}class Ti extends je{constructor(e){super(e),this.props=new ps(e==null?void 0:e.props)}static get controlName(){return d.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Ti.slots=["grid-table-toolbar-slot"],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:"super-setting",visible:!0}];class gS extends nt{constructor(e){super(e),this.props=new ps(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Wm={Designer:Ti,Runtime:gS,Property:ps};class ec extends Xe{constructor(e){var n,i,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Oi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Oi.controlName,this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new mr(o)))!=null?l:[new mr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Oi extends je{constructor(e){super(e),this.props=new ec(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Oi.slots=["grid-table-toolbar-slot"],Oi.controlEventKeys=["on_click","on_click_finish"],Oi.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 _S extends nt{constructor(e){super(e),this.props=new ec(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var qm={Designer:Oi,Runtime:_S,Property:ec};class tc extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Si.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Si.controlIcon}}class Si extends je{constructor(e){super(e),this.props=new tc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click"],Si.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class vS extends nt{constructor(e){super(e),this.props=new tc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Km={Designer:Si,Runtime:vS,Property:tc};class bS{constructor(e){this.dataCode=e.dataCode}}class nc extends Xe{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ci.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ci.controlIcon,this.canImportList=(a=(r=e==null?void 0:e.canImportList)==null?void 0:r.map(o=>new bS(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Ci extends je{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class ES extends nt{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Gm={Designer:Ci,Runtime:ES,Property:nc};function Dl(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class wS extends Pe{constructor(e){super(e),this.fillPayload={type:"object",fields:Bt({},Dl())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Bt({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Dl())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Ll extends Xe{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gr.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gr.controlIcon,this.command=(r=e==null?void 0:e.command)!=null?r:"create",this.fillPayload=new Vh(e==null?void 0:e.fillPayload),this.formBind=new yI(e==null?void 0:e.formBind),this.fillBack=new Uh(e==null?void 0:e.fillBack)}}Ll.Rules=wS;class gr extends je{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}static get controlName(){return d.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}gr.controlEventKeys=["on_click","on_click_finish"],gr.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class IS extends nt{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Xm={Designer:gr,Runtime:IS,Property:Ll};class TS extends Pe{constructor(e){super(e),this.fillPayload={type:"object",fields:Bt({},Dl())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Bt({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Dl())}}}class xl extends Xe{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_r.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_r.controlIcon,this.fillPayload=new Vh(e==null?void 0:e.fillPayload),this.listPageBind=new ju(e==null?void 0:e.listPageBind),this.fillBack=new Uh(e==null?void 0:e.fillBack),this.showSelectedDetail=(r=e==null?void 0:e.showSelectedDetail)!=null?r:!1,this.selectedContentConfig=new Gu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}xl.Rules=TS;class _r extends je{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_r.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],_r.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class OS extends nt{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var zm={Designer:_r,Runtime:OS,Property:xl};class SS extends Pe{constructor(e){super(e)}}class CS extends Rn{constructor(e){super(e)}}class vr extends Ae{constructor(e){super(e)}}vr.Rules=SS,vr.RuntimeRules=CS;class Jm extends re{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Jm.setting=[];class RS extends De{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Qm={Designer:Jm,Runtime:RS,Property:vr};class NS extends Pe{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ml extends Ae{constructor(e){var n,i,r,a,l,o;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=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Ml.Rules=NS;class Zm extends re{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Zm.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class PS extends De{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Ym={Designer:Zm,Runtime:PS,Property:Ml};class AS extends Pe{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:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Fl extends Ae{constructor(e){var n,i,r;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(r=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new kI(a)))!=null?r:[]}}Fl.Rules=AS;class pm extends re{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}pm.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kS extends De{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ey={Designer:pm,Runtime:kS,Property:Fl};class DS extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,r){if(i.every(l=>!l.controlId)){r(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $l extends Xe{constructor(e){var n,i,r,a,l,o,u,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ri.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ri.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?c:[]}}$l.Rules=DS;class Ri extends je{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ri.controlEventKeys=["on_click","on_click_finish"],Ri.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class LS extends nt{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ty={Designer:Ri,Runtime:LS,Property:$l};class xS extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,r){if(i.every(l=>!l.controlId)){r(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bl extends Xe{constructor(e){var n,i,r,a,l,o,u,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ni.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ni.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?c:[]}}Bl.Rules=xS;class Ni extends je{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ni.controlEventKeys=["on_click","on_click_finish"],Ni.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class MS extends nt{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var ny={Designer:Ni,Runtime:MS,Property:Bl};class FS extends Pe{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vl extends Xe{constructor(e){var n,i,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pi.controlName,this.printTemplates=(a=(r=e==null?void 0:e.printTemplates)==null?void 0:r.map(o=>new Mm(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Vl.Rules=FS;class Pi extends je{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Pi.slots=["grid-table-toolbar-slot"],Pi.controlEventKeys=["on_click","on_click_finish"],Pi.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 $S extends nt{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var iy={Designer:Pi,Runtime:$S,Property:Vl};class ic extends Xe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ai.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ai.controlIcon}}class Ai extends je{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Ai.slots=["grid-table-toolbar-slot"],Ai.controlEventKeys=["on_click"],Ai.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 BS extends nt{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ry={Designer:Ai,Runtime:BS,Property:ic};class VS extends Pe{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Ul extends Ae{constructor(e){var n,i,r,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Ul.Rules=VS;class Hl extends re{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return d.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Hl.controlEventKeys=["on_click"],Hl.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class US extends De{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ay={Designer:Hl,Runtime:US,Property:Ul};class rc extends Ae{constructor(e){var n,i,r,a,l,o,u,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ki.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ki.controlIcon,this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class ki extends re{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}ki.slots=["grid-table-toolbar-slot"],ki.controlEventKeys=["on_click"],ki.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class HS extends De{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var ly={Designer:ki,Runtime:HS,Property:rc},jS=Object.freeze({__proto__:null,Text:Om,Link:Sm,Button:Cm,Divider:Vm,Title:Um,CreateFormListButton:Hm,BatchSubmissionListButton:jm,SubmissionRecordListButton:Wm,ExportListButton:qm,ExportRecordListButton:Km,ImportRecordListButton:Gm,FormSelectButton:Xm,ListSelectButton:zm,Pagination:Qm,Dashboard:Ym,ListViewSelect:ey,TextOcrButton:ty,InvoiceCheckButton:ny,BatchPrintListButton:iy,BatchPrintRecordListButton:ry,OperationButton:ay,BatchDeleteButton:ly});class WS extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=yr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class qS extends de{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:yr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Di extends Q{constructor(e){var n,i,r,a,l,o,u;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 Hh(e==null?void 0:e.regularRules),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Li.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(u=e==null?void 0:e.encryptedMode)!=null?u:""}}Di.Rules=WS,Di.RuntimeRules=qS;class Li extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Li.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Li.controlFieldType=D.VARCHAR,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.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 oy extends ee{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"input"}}oy.controlFieldType=D.VARCHAR;var uy={Designer:Li,Runtime:oy,Property:Di};class KS extends mi{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=r=>r==="unlimited"?void 0:r;this.limitMax.min=i(e.limitMin)}}class GS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class br extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S;super(e),this.options=Lt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(u=e==null?void 0:e.limitMax)!=null?u:"unlimited",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Er.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.optionsFormat=(m=e==null?void 0:e.optionsFormat)!=null?m:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(I=>{var P;(P=this.multistageFilling)==null||P.push(new Ye(I))}))}}br.Rules=KS,br.RuntimeRules=GS;class Er extends Z{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlName(){return d.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Er.controlEventKeys=["on_change","on_click"],Er.controlFieldType=D.ARRAY,Er.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sy extends ee{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}sy.controlFieldType=D.ARRAY;var cy={Designer:Er,Runtime:sy,Property:br};class XS extends mi{constructor(e){super(e)}}class jl extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.options=Lt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(u=e==null?void 0:e.optionsFormat)!=null?u:"horizontal",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:wr.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}jl.Rules=XS;class wr extends Z{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}wr.controlEventKeys=["on_change","on_click"],wr.controlFieldType=D.VARCHAR,wr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dy extends ee{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}static get controlType(){return"radio"}}dy.controlFieldType=D.VARCHAR;var fy={Designer:wr,Runtime:dy,Property:jl};class zS extends Fe{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=yr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class JS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:yr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ir extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S;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=(r=e==null?void 0:e.numberType)!=null?r:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(c=e==null?void 0:e.unit)!=null?c:"",this.caption=(m=e==null?void 0:e.caption)!=null?m:Tr.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:d.getMessage("pleaseEnter"),this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new Hh(e==null?void 0:e.regularRules)}}Ir.Rules=zS,Ir.RuntimeRules=JS;class Tr extends Z{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlName(){return d.getMessage("number")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Tr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Tr.controlFieldType=D.DECIMAL,Tr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_UNIT,h.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:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hy extends ee{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"number"}}hy.controlFieldType=D.DECIMAL;var my={Designer:Tr,Runtime:hy,Property:Ir};class ac extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Wl.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:d.getMessage("pleaseEnterDate"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Cl(b)))!=null?f:[],this.allowDateRange=(c=e==null?void 0:e.allowDateRange)!=null?c:["",""],this.filterWeekend=(m=e==null?void 0:e.filterWeekend)!=null?m:!1}}class Wl extends Z{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Wl.controlFieldType=D.TIMESTAMP,Wl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yy extends ee{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}yy.controlFieldType=D.TIMESTAMP;var gy={Designer:Wl,Runtime:yy,Property:ac};class QS extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ql extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.dataBind=new CI(e==null?void 0:e.dataBind),this.defaultValue=new RI(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(u=e==null?void 0:e.placeholderStart)!=null?u:d.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:d.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Kl.controlName,this.limitDateList=(m=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(b=>new Cl(b)))!=null?m:[]}}ql.RuntimeRules=QS;class Kl extends Z{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Kl.controlFieldType=D.TIMESCOPE,Kl.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _y extends ee{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlType(){return"date-range"}}_y.controlFieldType=D.TIMESCOPE;var vy={Designer:Kl,Runtime:_y,Property:ql};class ZS extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class YS extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Or extends Q{constructor(e){var n,i,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Sr.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter"),this.rowHeightSetting=new fI(e==null?void 0:e.rowHeightSetting)}}Or.Rules=ZS,Or.RuntimeRules=YS;class Sr extends Z{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Sr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Sr.controlFieldType=D.TEXT,Sr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class by extends ee{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"textarea"}}by.controlFieldType=D.TEXT;var Ey={Designer:Sr,Runtime:by,Property:Or};class pS extends Fe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class eC extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Cr extends Q{constructor(e){var n,i,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Rr.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter")}}Cr.Rules=pS,Cr.RuntimeRules=eC;class Rr extends Z{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Rr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Rr.controlFieldType=D.TEXT,Rr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 wy extends ee{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}wy.controlFieldType=D.TEXT;var Iy={Designer:Rr,Runtime:wy,Property:Cr};class tC extends mi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Gl extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c;super(e),this.options=Lt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xl.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseSelect"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(u=e==null?void 0:e.allowCopyOptions)!=null?u:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new Ye(m))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(c=e==null?void 0:e.viewFormModelType)!=null?c:"window",this.formBind=new fi(e==null?void 0:e.formBind)}}Gl.Rules=tC;class Xl extends Z{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Xl.controlFieldType=D.VARCHAR,Xl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP,h.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ty extends ee{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"select"}}Ty.controlFieldType=D.VARCHAR;var Oy={Designer:Xl,Runtime:Ty,Property:Gl};class nC extends mi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class iC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Nr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f;super(e),this.options=Lt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:zl.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseSelect"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(u=e==null?void 0:e.openMultistageFilling)!=null?u:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var m;(m=this.multistageFilling)==null||m.push(new Ye(c))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new fi(e==null?void 0:e.formBind)}}Nr.Rules=nC,Nr.RuntimeRules=iC;class zl extends Z{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}zl.controlFieldType=D.ARRAY,zl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sy extends ee{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Sy.controlFieldType=D.ARRAY;var Cy={Designer:zl,Runtime:Sy,Property:Nr};class rC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Jl extends Q{constructor(e){var n,i,r,a,l,o,u,s,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(u=e==null?void 0:e.caption)!=null?u:Ql.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var m;(m=this.multistageFilling)==null||m.push(new Ye(c))}))}}Jl.RuntimeRules=rC;class Ql extends Z{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ql.controlFieldType=D.EMPLOYEES,Ql.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 Ry extends ee{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"employee"}}Ry.controlFieldType=D.EMPLOYEES;var Ny={Designer:Ql,Runtime:Ry,Property:Jl};const aC=10485760,lC=104857600,oC=1048576e3;class uC extends Fe{constructor(e){super(e),this.maxSize={type:"number",min:0,max:oC,message:d.getMessage("attachmentMaxSize")}}}class sC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class xi extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(r=e==null?void 0:e.resultShowType)!=null?r:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(u=e==null?void 0:e.maxSize)!=null?u:lC,this.caption=(s=e==null?void 0:e.caption)!=null?s:Mi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(c=e==null?void 0:e.isShowWatermark)!=null?c:!1,this.watermarkFx=(m=e==null?void 0:e.watermarkFx)!=null?m:{}}}xi.Rules=uC,xi.RuntimeRules=sC;class Mi extends Z{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return d.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mi.controlEventKeys=["on_change"],Mi.controlFieldType=D.FILE,Mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 lc extends ee{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"attachment"}}lc.controlFieldType=D.FILE;var Py={Designer:Mi,Runtime:lc,Property:xi};const Ay=class extends Mi{static get controlName(){return d.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,r;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Ay.controlName,this.props.placeholder=(r=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}};let oc=Ay;oc.controlFieldType=D.IMAGE,oc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class cC extends lc{static get controlType(){return"image"}constructor(e){var n,i,r,a,l,o;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=(r=e==null?void 0:e.props)==null?void 0:r.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class dC extends xi{constructor(e){super(e)}}var ky={Designer:oc,Runtime:cC,Property:dC};class fC extends mi{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class hC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[ha(Bt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Pr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,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=(r=e==null?void 0:e.optionConfig)!=null?r:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new OI(e==null?void 0:e.dataBind),this.datasourceBind=new He((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new qu({value:"name"})]}),this.defaultValue=new SI((u=e==null?void 0:e.defaultValue)!=null?u:{amount:"",currency:zu.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=Lt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:Ar.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseEnter"),this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Pr.Rules=fC,Pr.RuntimeRules=hC;class Ar extends Z{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("amount")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Ar.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ar.controlFieldType=D.MONEY,Ar.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.SUBMIT_SELECT_CURRENCY,h.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Dy extends ee{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}static get controlType(){return"amount"}}Dy.controlFieldType=D.MONEY;var Ly={Designer:Ar,Runtime:Dy,Property:Pr};class mC extends Fe{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class yC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class kr extends Q{constructor(e){var n,i,r,a,l,o,u;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:Gs.STAR,this.isShowExplain=(r=e==null?void 0:e.isShowExplain)!=null?r:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(s=>new Rl(s)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Rl),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Dr.controlName}}kr.Rules=mC,kr.RuntimeRules=yC;class Dr extends Z{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("score")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,r=Array(i).fill(void 0).map(()=>new Rl);this.props.explain.push(...r)}}super.postUpdate(e,n)}}Dr.controlEventKeys=["on_change","on_click"],Dr.controlFieldType=D.DECIMAL,Dr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 xy extends ee{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlType(){return"score"}}xy.controlFieldType=D.DECIMAL;var My={Designer:Dr,Runtime:xy,Property:kr};class gC extends de{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Zl extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yl.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(r=e==null?void 0:e.addressType)!=null?r:["province","city","district"],this.defaultValue=new NI((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseChooseAddress")}}Zl.RuntimeRules=gC;class Yl extends Z{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Yl.controlFieldType=D.ADDRESS,Yl.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Fy extends ee{constructor(e){super(e),this.props=new Zl(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"}}Fy.controlFieldType=D.ADDRESS;var $y={Designer:Yl,Runtime:Fy,Property:Zl};class _C extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pl extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Lr.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}pl.RuntimeRules=_C;class Lr extends Z{constructor(e){super(e),this.props=new pl(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Lr.controlName=d.getMessage("department"),Lr.controlFieldType=D.DEPARTMENTS,Lr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 By extends ee{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlType(){return"department"}}By.controlFieldType=D.DEPARTMENTS;var Vy={Designer:Lr,Runtime:By,Property:pl};class uc extends Q{constructor(e){var n,i,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:xr.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:d.getMessage("pleaseEnterAutonumber")}}class xr extends Z{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}xr.controlEventKeys=["on_change"],xr.controlFieldType=D.AUTO_NUMBER,xr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Uy extends ee{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Uy.controlFieldType=D.AUTO_NUMBER;var Hy={Designer:xr,Runtime:Uy,Property:uc};class vC extends Fe{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 bC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Mr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(r=e==null?void 0:e.showUpperCase)!=null?r:!1,this.dataBind=new PI(e==null?void 0:e.dataBind),this.defaultValue=new AI(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Fr.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:d.getMessage("pleaseEnter"),this.scriptEcho=(u=e==null?void 0:e.scriptEcho)!=null?u:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}Mr.Rules=vC,Mr.RuntimeRules=bC;class Fr extends Z{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("calc")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Fr.controlEventKeys=["on_change"],Fr.controlFieldType=D.CALC,Fr.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class jy extends ee{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"calc"}}jy.controlFieldType=D.CALC;var Wy={Designer:Fr,Runtime:jy,Property:Mr};class EC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class eo extends Q{constructor(e){var n,i,r,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:to.controlName}}eo.RuntimeRules=EC;class to extends Z{constructor(e){super(e),this.props=new eo(e==null?void 0:e.props)}static get controlName(){return d.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}to.controlFieldType=D.DECIMAL_RANGE,to.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qy extends ee{constructor(e){super(e),this.props=new eo(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}qy.controlFieldType=D.DECIMAL_RANGE;var Ky={Designer:to,Runtime:qy,Property:eo};class wC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class no extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ut.DATE,this.dateFormat=(r=e==null?void 0:e.dateFormat)!=null?r:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:d.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:d.getMessage("endDate"),this.caption=(c=e==null?void 0:e.caption)!=null?c:io.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(S=>new Cl(S)))!=null?b:[]}}no.RuntimeRules=wC;class io extends Z{constructor(e){super(e),this.props=new no(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}io.controlFieldType=D.ARRAY,io.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gy extends ee{constructor(e){super(e),this.props=new no(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Gy.controlFieldType=D.ARRAY;var Xy={Designer:io,Runtime:Gy,Property:no};class IC extends Fe{constructor(e){super(e),this.dataBind={type:"any"}}}class TC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class $r extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}$r.Rules=IC,$r.RuntimeRules=TC;class Fi extends Z{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Fi.controlFieldType=D.ANY,Fi.controlEventKeys=[],Fi.slots=["grid-table-toolbar-slot",qc.DEFAULT],Fi.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.REQUIRED,h.IS_SHOW_CAPTION_TIP,h.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class zy extends ee{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}zy.controlFieldType=D.ANY;var Jy={Designer:Fi,Runtime:zy,Property:$r};class OC extends mi{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ro extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m;super(e),this.options=Lt((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new ju(e==null?void 0:e.listPageBind),this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Br.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Gu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new fi(e==null?void 0:e.formBind),this.optionDisplayConfig=(c=e==null?void 0:e.optionDisplayConfig)!=null?c:[],this.canSearch=(m=e==null?void 0:e.canSearch)!=null?m:!1}}ro.Rules=OC;class Br extends Z{constructor(e){super(e),this.props=new ro(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectRelation")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}Br.controlFieldType=D.VARCHAR,Br.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Br.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Qy extends ee{constructor(e){super(e),this.props=new ro(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Qy.controlFieldType=D.VARCHAR;var Zy={Designer:Br,Runtime:Qy,Property:ro};class sc extends Di{constructor(e){super(e)}}class Yy extends Li{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlType(){return"search-input"}}Yy.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED]},{key:"super-setting",visible:!0}];class py extends ee{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}py.controlFieldType=D.VARCHAR;var eg={Designer:Yy,Runtime:py,Property:sc};class SC extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],el.call(this,e,sn.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class CC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S,I,P,_,C,v,E;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:d.getMessage("pleaseSelect"),this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(u=e==null?void 0:e.containsSubNode)!=null?u:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(c=e==null?void 0:e.isDefaultCheckSub)!=null?c:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new $h((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:sn.controlCustomAttributes}),this.filterItemDatasourceBind=new $h((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:sn.controlCustomAttributes}),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(v=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(A=>new Ye(A)))!=null?v:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Vr.Rules=SC,Vr.RuntimeRules=CC;class sn extends Z{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=D.ARRAY,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.CAN_SEARCH,h.DEFAULT_DISPLAY,h.CONTAINS_SUB_NODE,h.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tg extends ee{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}static get controlType(){return"tree"}}tg.controlFieldType=D.ARRAY;var ng={Designer:sn,Runtime:tg,Property:Vr};class RC extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},el.call(this,e,$i.controlCustomAttributes),e.externalType===un.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class NC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ur extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S,I;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=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(u=e==null?void 0:e.caption)!=null?u:$i.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Qa((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:$i.controlCustomAttributes}),this.datasourceType=(c=e==null?void 0:e.datasourceType)!=null?c:Qs.INTERNAL,this.insideType=(m=e==null?void 0:e.insideType)!=null?m:Zs.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:un.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],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(P=>{var _;(_=this.multistageFilling)==null||_.push(new Ye(P))}))}}Ur.Rules=RC,Ur.RuntimeRules=NC;class $i extends Z{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}$i.controlFieldType=D.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 ig extends ee{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ig.controlFieldType=D.EMPLOYEES;var rg={Designer:$i,Runtime:ig,Property:Ur};class PC extends Fe{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:d.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,r)=>(n[r]={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:d.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Mu(l.value)&&l.value.length===0){o(d.getMessage("pleaseSelectPhoneOrEmail"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mu(l.value)&&l.value.length===0){o(d.getMessage("pleaseSelectCompanyName"));return}o()}}}},n),{})}}}}}class ao extends Q{constructor(e){var n,i,r,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Hr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Pm(e==null?void 0:e.signatureConfig)}}ao.Rules=PC;class Hr extends Z{constructor(e){super(e),this.props=new ao(e==null?void 0:e.props)}static get controlName(){return d.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Hr.controlEventKeys=["on_click","on_click_finish"],Hr.controlFieldType=D.VARCHAR,Hr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.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 ag extends ee{constructor(e){super(e),this.props=new ao(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ag.controlFieldType=D.VARCHAR;var lg={Designer:Hr,Runtime:ag,Property:ao};class AC extends Fe{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(d.getMessage("pleaseEnterWatermark"));return}r()}},autoRename:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(d.getMessage("pleaseEnterFileName"));return}r()}}}},this.canAdd={type:"boolean",validator(n,i,r){if(e.canAdd&&!e.addLocal&&!e.addOnline){r(d.getMessage("pleaseChooseAtLeastOne"));return}r()}}}}class kC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class jr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(r=e==null?void 0:e.canAdd)!=null?r:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(u=e==null?void 0:e.canDownload)!=null?u:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:aC,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.wpsSetting=new Am(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}jr.Rules=AC,jr.RuntimeRules=kC;class Wr extends Z{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Wr.controlEventKeys=["on_change","on_wps_open"],Wr.controlFieldType=D.FILE,Wr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.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 og extends ee{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}static get controlType(){return"wps"}}og.controlFieldType=D.FILE;var ug={Designer:Wr,Runtime:og,Property:jr};class DC extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},el.call(this,e,Pn.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class LC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S,I,P;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=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Pn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),this.datasourceBind=new Qa((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Pn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Nl.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new Ye(_))}))}}qr.Rules=DC,qr.RuntimeRules=LC;class Pn extends Z{constructor(e){super(e),this.props=new qr(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Pn.controlName=d.getMessage("department"),Pn.controlFieldType=D.DEPARTMENTS,Pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 sg extends ee{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}static get controlType(){return"department2"}}sg.controlFieldType=D.DEPARTMENTS;var cg={Designer:Pn,Runtime:sg,Property:qr};class xC extends Fe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},el.call(this,e,An.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class MC extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Kr extends Q{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b,S,I,P,_,C,v;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=(r=e==null?void 0:e.range)!=null?r:"all",this.listPageBind=new ju(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:An.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectOrg"),this.datasourceBind=new II((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:An.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Nl.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.organizingFunction=(P=e==null?void 0:e.organizingFunction)!=null?P:void 0,this.organizationView=(_=e==null?void 0:e.organizationView)!=null?_:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new Gu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new Ye(E))}))}}Kr.Rules=xC,Kr.RuntimeRules=MC;class An extends Z{constructor(e){super(e),this.props=new Kr(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}An.controlName=d.getMessage("organizationSelection"),An.controlFieldType=D.DEPARTMENTS,An.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 dg extends ee{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}dg.controlFieldType=D.DEPARTMENTS;var fg={Designer:An,Runtime:dg,Property:Kr};class FC extends Fe{constructor(e){super(e),this.dataBind={type:"any"}}}class $C extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Gr extends Q{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xr.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Gr.Rules=FC,Gr.RuntimeRules=$C;class Xr extends Z{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return V.VUE_PAGE}}Xr.controlFieldType=D.ANY,Xr.controlEventKeys=[],Xr.setting=[];class hg extends ee{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlType(){return V.VUE_PAGE}}hg.controlFieldType=D.ANY;var mg={Designer:Xr,Runtime:hg,Property:Gr},BC=Object.freeze({__proto__:null,Input:uy,Checkbox:cy,Radio:fy,Number:my,DatePicker:gy,DateRange:vy,Textarea:Ey,RichText:Iy,Select:Oy,SelectMultiple:Cy,Employee:Ny,Image:ky,Attachment:Py,Amount:Ly,Score:My,Address:$y,Department:Vy,AutoNumber:Hy,Calc:Wy,SearchNumberRange:Ky,SearchDateRange:Xy,VueFormItem:Jy,SelectRelation:Zy,SearchInput:eg,Tree:ng,Employee2:rg,ElectronicSignature:lg,WPS:ug,Department2:cg,OrganizationSelection:fg,VuePage:mg});class yg extends ve{static get controlName(){return d.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}yg.excludes=[V.GRID];class VC extends Te{static get controlType(){return"grid"}constructor(e){super(e)}}var gg={Designer:yg,Runtime:VC,Property:ge};const UC=24;class kn extends ge{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:UC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class zr extends ve{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return d.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}zr.excludes=[V.COL,V.SUBTABLE,V.SUBTABLE_COLUMN,V.GRID_LAYOUT_CONTAINER,V.DIVIDER],zr.childrenMaxLength=1;class cc extends Te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"col"}}var _g={Designer:zr,Runtime:cc,Property:kn};class lo extends ge{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 oo extends ve{constructor(e){super(e),this.props=new lo(e==null?void 0:e.props)}static get controlName(){return d.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}oo.excludes=[V.ROW],oo.setting=[{key:"col-setting",visible:!0}];class vg extends Te{constructor(e){super(e),this.props=new lo(e==null?void 0:e.props)}static get controlType(){return"row"}}var bg={Designer:oo,Runtime:vg,Property:lo};const HC=4;class uo extends oo{static get controlName(){return d.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}uo.excludes=[V.GRID_ROW],uo.setting=[],uo.childrenMaxLength=HC;class jC extends vg{static get controlType(){return"grid-row"}constructor(e){super(e)}}class WC extends lo{constructor(e){super(e)}}var Eg={Designer:uo,Runtime:jC,Property:WC};class qC extends ge.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class so extends ge{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(r=e==null?void 0:e.collapse)!=null?r:"none"}}so.Rules=qC;class dc extends ve{constructor(e){super(e),this.props=new so(e==null?void 0:e.props)}static get controlName(){return d.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}dc.setting=[{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],dc.excludes=[V.CARD_GROUP];class KC extends Te{constructor(e){super(e),this.props=new so(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var wg={Designer:dc,Runtime:KC,Property:so};class GC extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class co extends ge{constructor(e){var n,i,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new hI(e==null?void 0:e.metaAutoWidth)}}co.Rules=GC;class gt extends ve{constructor(e){super(e),this.props=new co(e==null?void 0:e.props)}}gt.controlName=d.getMessage("subtableColumn"),gt.controlType="subtable-column",gt.controlIcon="subtable-column",gt.childrenMaxLength=1,gt.excludes=[V.SUBTABLE,V.SUBTABLE_COLUMN,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],gt.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",showItems:[h.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ig extends Te{constructor(e){super(e),this.props=new co(e==null?void 0:e.props)}}Ig.controlType="subtable-column";var Tg={Designer:gt,Runtime:Ig,Property:co};class fc extends ge{constructor(e){super(e)}}class Dn extends ve{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}}Dn.controlName=d.getMessage("subtableRow"),Dn.controlType="subtable-row",Dn.controlIcon="subtable-row",Dn.childrenMaxLength=1,Dn.excludes=[V.SUBTABLE,V.SUBTABLE_COLUMN,V.SUBTABLE_ROW,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],Dn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0}];class XC extends Te{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Og={Designer:Dn,Runtime:XC,Property:fc};class hc extends ge{constructor(e){var n,i,r,a,l,o,u,s,f,c;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=(r=e==null?void 0:e.fixed)!=null?r:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:D.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.textCleanFormart=(u=e==null?void 0:e.textCleanFormart)!=null?u:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Ut.DATE,this.departmentDisplayLevel=(c=e==null?void 0:e.departmentDisplayLevel)!=null?c:1}}class Ln extends ve{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}}Ln.controlName="\u5217\u8868\u5355\u5143\u683C",Ln.controlType="gridtable-column",Ln.controlIcon="gridtable-column",Ln.childrenMaxLength=1,Ln.excludes=[V.GRID_TABLE,V.GRID_TABLE_COLUMN,V.ROW,V.COL,V.CARD_GROUP,V.DIVIDER,V.TEXT],Ln.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Sg extends Te{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}}Sg.controlType="gridtable-column";var Cg={Designer:Ln,Runtime:Sg,Property:hc};class mc extends ge{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class yc extends ve{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}yc.excludes=[V.GRID_LAYOUT_CONTAINER,V.CARD_GROUP,V.TAB],yc.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class zC extends Te{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Rg={Designer:yc,Runtime:zC,Property:mc};class gc extends ge{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class JC extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class fo extends ge{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qr.controlName}}fo.Rules=JC;class Jr extends ve{constructor(e){super(e),this.props=new fo(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Jr.excludes=[V.TAB],Jr.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class QC extends Te{constructor(e){super(e),this.props=new fo(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ng={Designer:Jr,Runtime:QC,Property:fo};class Qr extends ve{constructor(e){var n;super(e),this.props=new gc(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Jr,new Jr]}static get controlName(){return d.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Qr.excludes=[V.TAB],Qr.controlEventKeys=["on_change_tab"],Qr.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class ZC extends Te{constructor(e){super(e),this.props=new gc(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Pg={Designer:Qr,Runtime:ZC,Property:gc};class Ag extends ge{constructor(e){super(e)}}class kg extends ve{constructor(e){super(e),this.props=new Ag({}),this.children=(e==null?void 0:e.children)||[new zr({props:new kn({span:12})}),new zr({props:new kn({span:12})})]}static get controlName(){return d.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}kg.excludes=[V.GRID_ROW,V.ROW,V.GRID,V.SUBTABLE,V.TAB,V.TOOLBOX];class YC extends Te{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new cc({props:new kn({span:12})}),new cc({props:new kn({span:12})})]}}var Dg={Designer:kg,Runtime:YC,Property:Ag};class pC extends Rn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eR extends Pe{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),os.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 Zr extends ge{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b;super(e),this.datasourceBind=new He(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=(r=e==null?void 0:e.triggerType)!=null?r:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new vI(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new EI(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(u=e==null?void 0:e.showFullScreen)!=null?u:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(c=e==null?void 0:e.isShowSelection)!=null?c:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new FI(e==null?void 0:e.rowStyle)}}Zr.Rules=eR,Zr.RuntimeRules=pC;class Yr extends ve{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Yr.slotPosition={left:"list-view-left-slot"},Yr.excludes=[V.ROW],Yr.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"],Yr.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class tR extends Te{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Lg={Designer:Yr,Runtime:tR,Property:Zr};class nR extends Rn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ho extends ge{constructor(e){var n,i,r,a,l,o;super(e),this.save=new en((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new en((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new en((r=e==null?void 0:e.saveAs)!=null?r:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new en((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(u=>new en(u)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind)}}ho.RuntimeRules=nR;class xg extends ve{constructor(e){super(e),this.props=new ho(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dataView")}static get controlType(){return"data-view"}}xg.excludes=[];class iR extends Te{constructor(e){super(e),this.props=new ho(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Mg={Designer:xg,Runtime:iR,Property:ho};class rR extends ve{static get controlName(){return d.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class aR extends Te{static get controlType(){return"page"}constructor(e){super(e)}}class lR extends ge{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 Fg={Designer:rR,Runtime:aR,Property:lR};class oR extends ve{static get controlName(){return d.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uR extends Te{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class sR extends ge{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Fm(e==null?void 0:e.flexConfig)}}var $g={Designer:oR,Runtime:uR,Property:sR};class cR extends ve{static get controlName(){return d.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class dR extends Te{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class fR extends ge{constructor(e){super(e)}}var Bg={Designer:cR,Runtime:dR,Property:fR};class hR extends ve{static get controlName(){return d.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class mR extends Te{static get controlType(){return"position"}constructor(e){super(e)}}class yR extends ge{constructor(e){var n,i,r,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=(r=e==null?void 0:e.left)!=null?r:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Vg={Designer:hR,Runtime:mR,Property:yR};class _c extends ge{constructor(e){var n,i,r;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(r=e==null?void 0:e.align)!=null?r:"right"}}class mo extends ve{constructor(e){var n;super(e),this.props=new _c((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return d.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}mo.slotPosition={default:"action-bar-slot"},mo.excludes=[],mo.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class gR extends Te{constructor(e){var n;super(e),this.props=new _c((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ug={Designer:mo,Runtime:gR,Property:_c},_R=Object.freeze({__proto__:null,Grid:gg,Col:_g,Row:bg,GridRow:Eg,CardGroup:wg,SubTableColumn:Tg,SubTableRow:Og,GridTableColumn:Cg,GridLayoutContainer:Rg,Tab:Pg,TabPane:Ng,Toolbox:Dg,ListView:Lg,DataView:Mg,Page:Fg,AdvancedContainer:$g,PositioningContainer:Bg,Position:Vg,ActionBar:Ug});class vR extends Pe{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class bR extends Rn{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,r){i.length<e.limitRows&&r(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),r()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Hg=class extends fl{constructor(t,e){var n,i,r,a,l,o,u,s,f,c,m,b,S,I,P,_,C,v,E,A,N,O,L,x,X,Me,W,_e,ze,dn,it,fn,hn;super(t,e,Hg.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:ea.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(u=e==null?void 0:e.useCustomHeight)!=null?u:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:xm,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(c=e==null?void 0:e.limitRows)!=null?c:1,this.maxRows=(m=e==null?void 0:e.maxRows)!=null?m:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(I=e==null?void 0:e.canDelete)!=null?I:!0,this.canCheck=(P=e==null?void 0:e.canCheck)!=null?P:!1,this.canEdit=(_=e==null?void 0:e.canEdit)!=null?_:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(v=e==null?void 0:e.canExport)!=null?v:!1,this.canClear=(E=e==null?void 0:e.canClear)!=null?E:!0,this.serverPagination=(A=e==null?void 0:e.serverPagination)!=null?A:!1,this.isShowCaptionTip=(N=e==null?void 0:e.isShowCaptionTip)!=null?N:!1,this.captionTip=(O=e==null?void 0:e.captionTip)!=null?O:"",this.mobileShowType=(L=e==null?void 0:e.mobileShowType)!=null?L:"list",this.mobileDefaultNum=(x=e==null?void 0:e.mobileDefaultNum)!=null?x:10,this.dataStorageDoc=(X=e==null?void 0:e.dataStorageDoc)!=null?X:new mI,this.fixedColumn=(Me=e==null?void 0:e.fixedColumn)!=null?Me:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:"\u660E\u7EC6",this.mobileIsTile=(_e=e==null?void 0:e.mobileIsTile)!=null?_e:!1,this.isPaste=(ze=e==null?void 0:e.isPaste)!=null?ze:!1,this.pageSize=(dn=e==null?void 0:e.pageSize)!=null?dn:10,this.pageSizeOptions=(it=e==null?void 0:e.pageSizeOptions)!=null?it:[10,20,50,100],this.importConfig=new Dm(e==null?void 0:e.importConfig),this.exportConfig=new Lm(e==null?void 0:e.exportConfig),this.sortable=(fn=e==null?void 0:e.sortable)!=null?fn:!1,this.sortKey=(hn=e==null?void 0:e.sortKey)!=null?hn:{}}};let pr=Hg;pr.Rules=vR,pr.RuntimeRules=bR;class ea extends ws{constructor(e){var n;super(e),this.props=new pr(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 gt,new gt,new gt])}static get controlName(){return d.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new gt,r=typeof e=="number"?e:n;return r===void 0?this.props.headers.push(i):this.props.headers.splice(r,0,i),i}}ea.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],ea.slotPosition={toolbar:"subtable-toolbar-slot"},ea.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.IS_PASTE,h.SERVER_PAGINATION,h.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class ER extends ym{constructor(e){super(e),this.props=new pr(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}}var jg={Designer:ea,Runtime:ER,Property:pr};class vc extends fl{constructor(e,n){var i,r,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(r=n==null?void 0:n.isShowToolbar)!=null?r:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class wR extends Ct{constructor(e){super(e),this.caption.required=!1}}class yo extends Oe{constructor(e){var n,i,r,a,l,o,u,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:xn.controlName,this.width=(r=e==null?void 0:e.width)!=null?r:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(u=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?u:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}yo.Rules=wR;class xn extends Be{constructor(e){super(e),this.props=new yo(e==null?void 0:e.props)}}xn.controlType="order-column",xn.controlName=d.getMessage("order"),xn.controlIcon="order-column",xn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class bc extends Ve{constructor(e){super(e),this.props=new yo(e==null?void 0:e.props)}}bc.controlType="order-column",bc.controlFieldType=D.DECIMAL;var Wg={Designer:xn,Runtime:bc,Property:yo};class Ec extends Oe{constructor(e){var n,i,r,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(r=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?r:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ft.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ft extends Be{constructor(e){super(e),this.props=new Ec(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Hl.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Zn(this,null,function*(){return yield Wc(Ft.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ft.controlType="operation-column",Ft.controlName=d.getMessage("operation"),Ft.controlIcon="operation-column",Ft.setting=[{key:"caption",showItems:[h.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 wc extends Ve{constructor(e){super(e),this.props=new Ec(e==null?void 0:e.props)}}wc.controlType="operation-column",wc.controlFieldType=D.FILE;var qg={Designer:Ft,Runtime:wc,Property:Ec};const IR=1e4;class Mn extends ws{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new vc(this,e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new xn,new Ft]),this.excludes=ht(n),this.childrenMaxLength=i}static get controlName(){return d.getMessage("gridTable")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return ha(Bt({},e),{children:n})}validate(e,n){return Zn(this,null,function*(){return yield Wc(Mn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Mn.slotPosition={toolbar:"grid-table-toolbar-slot"},Mn.setting=[{key:"list-fixed-header",visible:!0}],Mn.excludes=[],Mn.childrenMaxLength=IR;class TR extends ym{constructor(e){super(e),this.props=new vc(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Kg={Designer:Mn,Runtime:TR,Property:vc},OR=Object.freeze({__proto__:null,SubTable:jg,GridTable:Kg});class SR extends gm{constructor(e){super(e),ln.call(this,e)}}class go extends Oe{constructor(e){var n,i,r,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Lt((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}go.Rules=SR;class Fn extends Be{constructor(e){super(e),this.props=new go(e==null?void 0:e.props)}}Fn.controlType="varchar-column",Fn.controlName=d.getMessage("varchar"),Fn.controlIcon="varchar-column",Fn.controlFieldType=D.VARCHAR,Fn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Ic extends Ve{constructor(e){super(e),this.props=new go(e==null?void 0:e.props)}}Ic.controlType="varchar-column",Ic.controlFieldType=D.VARCHAR;var Gg={Designer:Fn,Runtime:Ic,Property:go};class CR extends Ct{constructor(e){super(e),ln.call(this,e)}}class _o extends Oe{constructor(e){var n,i,r,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:$n.controlName,this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption)}}_o.Rules=CR;class $n extends Be{constructor(e){super(e),this.props=new _o(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}}$n.controlType="text-column",$n.controlName=d.getMessage("long"),$n.controlIcon="text-column",$n.controlFieldType=D.TEXT,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Tc extends Ve{constructor(e){super(e),this.props=new _o(e==null?void 0:e.props)}}Tc.controlType="text-column",Tc.controlFieldType=D.TEXT;var Xg={Designer:$n,Runtime:Tc,Property:_o};class RR extends Ct{constructor(e){super(e),ln.call(this,e)}}class vo extends Oe{constructor(e){var n,i,r,a,l,o,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Lt((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption)}}vo.Rules=RR;class Bn extends Be{constructor(e){super(e),this.props=new vo(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Bn.controlType="decimal-column",Bn.controlName=d.getMessage("decimal"),Bn.controlIcon="decimal-column",Bn.controlFieldType=D.DECIMAL,Bn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[h.MICROMETER,h.PRECISION,h.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Oc extends Ve{constructor(e){super(e),this.props=new vo(e==null?void 0:e.props)}}Oc.controlType="decimal-column",Oc.controlFieldType=D.DECIMAL;var zg={Designer:Bn,Runtime:Oc,Property:vo};class NR extends Ct{constructor(e){super(e),ln.call(this,e)}}class bo extends Oe{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:Vn.controlName}}bo.Rules=NR;class Vn extends Be{constructor(e){super(e),this.props=new bo(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}}Vn.controlType="timescope-column",Vn.controlName=d.getMessage("timescope"),Vn.controlIcon="timescope-column",Vn.controlFieldType=D.TIMESCOPE,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Sc extends Ve{constructor(e){super(e),this.props=new bo(e==null?void 0:e.props)}}Sc.controlType="timescope-column",Sc.controlFieldType=D.TIMESCOPE;var Jg={Designer:Vn,Runtime:Sc,Property:bo};class PR extends Ct{constructor(e){super(e),ln.call(this,e)}}class Eo extends Oe{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:Un.controlName}}Eo.Rules=PR;class Un extends Be{constructor(e){super(e),this.props=new Eo(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}}Un.controlType="timestamp-column",Un.controlName=d.getMessage("timestamp"),Un.controlIcon="timestamp-column",Un.controlFieldType=D.TIMESTAMP,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Cc extends Ve{constructor(e){super(e),this.props=new Eo(e==null?void 0:e.props)}}Cc.controlType="timestamp-column",Cc.controlFieldType=D.TIMESTAMP;var Qg={Designer:Un,Runtime:Cc,Property:Eo};class AR extends gm{constructor(e){super(e),ln.call(this,e)}}class wo extends Oe{constructor(e){var n,i,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption),this.options=Lt((a=e==null?void 0:e.options)!=null?a:[{}])}}wo.Rules=AR;class Hn extends Be{constructor(e){super(e),this.props=new wo(e==null?void 0:e.props)}}Hn.controlType="array-column",Hn.controlName=d.getMessage("array"),Hn.controlIcon="array-column",Hn.controlFieldType=D.ARRAY,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Rc extends Ve{constructor(e){super(e),this.props=new wo(e==null?void 0:e.props)}}Rc.controlType="array-column",Rc.controlFieldType=D.ARRAY;var Zg={Designer:Hn,Runtime:Rc,Property:wo};class Nc extends Oe{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jn.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class jn extends Be{constructor(e){super(e),this.props=new Nc(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}}jn.controlType="department-column",jn.controlName=d.getMessage("department"),jn.controlIcon="department-column",jn.controlFieldType=D.DEPARTMENTS,jn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Pc extends Ve{constructor(e){super(e),this.props=new Nc(e==null?void 0:e.props)}}Pc.controlType="department-column",Pc.controlFieldType=D.DEPARTMENTS;var Yg={Designer:jn,Runtime:Pc,Property:Nc};class kR extends Ct{constructor(e){super(e),ln.call(this,e)}}class Io extends Oe{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption)}}Io.Rules=kR;class Wn extends Be{constructor(e){super(e),this.props=new Io(e==null?void 0:e.props)}}Wn.controlType="auto-number-column",Wn.controlName=d.getMessage("autoNumber"),Wn.controlIcon="auto-number-column",Wn.controlFieldType=D.AUTO_NUMBER,Wn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ac extends Ve{constructor(e){super(e),this.props=new Io(e==null?void 0:e.props)}}Ac.controlType="auto-number-column",Ac.controlFieldType=D.AUTO_NUMBER;var pg={Designer:Wn,Runtime:Ac,Property:Io};class kc extends Oe{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}class qn extends Be{constructor(e){super(e),this.props=new kc(e==null?void 0:e.props)}}qn.controlType="file-column",qn.controlName=d.getMessage("file"),qn.controlIcon="file-column",qn.controlFieldType=D.FILE,qn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Dc extends Ve{constructor(e){super(e),this.props=new kc(e==null?void 0:e.props)}}Dc.controlType="file-column",Dc.controlFieldType=D.FILE;var e_={Designer:qn,Runtime:Dc,Property:kc};class Lc extends Oe{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.controlName}}class Kn extends Be{constructor(e){super(e),this.props=new Lc(e==null?void 0:e.props)}}Kn.controlType="image-column",Kn.controlName=d.getMessage("image"),Kn.controlIcon="image-column",Kn.controlFieldType=D.IMAGE,Kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xc extends Ve{constructor(e){super(e),this.props=new Lc(e==null?void 0:e.props)}}xc.controlType="image-column",xc.controlFieldType=D.IMAGE;var t_={Designer:Kn,Runtime:xc,Property:Lc};class Mc extends Oe{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gn.controlName}}class Gn extends Be{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}}Gn.controlType="people-column",Gn.controlName=d.getMessage("people"),Gn.controlIcon="people-column",Gn.controlFieldType=D.EMPLOYEES,Gn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fc extends Ve{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}}Fc.controlType="people-column",Fc.controlFieldType=D.EMPLOYEES;var n_={Designer:Gn,Runtime:Fc,Property:Mc};class DR extends Ct{constructor(e){super(e),ln.call(this,e)}}class To extends Oe{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption)}}To.Rules=DR;class Xn extends Be{constructor(e){super(e),this.props=new To(e==null?void 0:e.props)}}Xn.controlType="location-column",Xn.controlName=d.getMessage("location"),Xn.controlIcon="location-column",Xn.controlFieldType=D.ADDRESS,Xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class $c extends Ve{constructor(e){super(e),this.props=new To(e==null?void 0:e.props)}}$c.controlType="location-column",$c.controlFieldType=D.ADDRESS;var i_={Designer:Xn,Runtime:$c,Property:To};class LR extends Ct{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Oo extends Oe{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$t.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(r=e==null?void 0:e.sortFieldCode)!=null?r:""}}Oo.Rules=LR;const xR=1;class $t extends Be{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Oo(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ht(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}}$t.controlType="custom-column",$t.controlName=d.getMessage("custom"),$t.controlIcon="custom-column",$t.slots=["column-column-slot"],$t.excludes=[],$t.childrenMaxLength=xR,$t.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class r_ extends Ve{constructor(e){super(e),this.props=new Oo(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}r_.controlType="custom-column";var a_={Designer:$t,Runtime:r_,Property:Oo};class Bc extends Oe{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:cn.controlName,this.datasourceBind=new Qa((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:cn.controlCustomAttributes})}}class cn extends Be{constructor(e){super(e),this.props=new Bc(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}cn.controlType="employee-column",cn.controlName=d.getMessage("employee"),cn.controlIcon="employee-column",cn.controlFieldType=D.EMPLOYEES,cn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Vc extends Ve{constructor(e){super(e),this.props=new Bc(e==null?void 0:e.props)}}Vc.controlType="employee-column",Vc.controlFieldType=D.EMPLOYEES;var l_={Designer:cn,Runtime:Vc,Property:Bc};class Uc extends Oe{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Dt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}class zn extends Be{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}zn.controlType="approval-status-column",zn.controlName=d.getMessage("approvalStatusColumn"),zn.controlIcon="approval-status-column",zn.excludes=[],zn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class o_ extends Ve{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}o_.controlType="approval-status-column";var u_={Designer:zn,Runtime:o_,Property:Uc},MR=Object.freeze({__proto__:null,VarcharColumn:Gg,TextColumn:Xg,DecimalColumn:zg,TimescopeColumn:Jg,TimestampColumn:Qg,ArrayColumn:Zg,DepartmentColumn:Yg,AutoNumberColumn:pg,FileColumn:e_,ImageColumn:t_,PeopleColumn:n_,LocationColumn:i_,CustomColumn:a_,OrderColumn:Wg,OperationColumn:qg,EmployeeColumn:l_,ApprovalStatusColumn:u_});class FR extends Rn{constructor(e){super(e),this.push({type:"object",fields:{}})}}class So extends Ds{constructor(e){var n,i,r,a,l,o,u,s,f,c,m,b;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=(r=e==null?void 0:e.viewType)!=null?r:"mini",this.search=new en((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new en((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(S=>new en(S)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(c=e==null?void 0:e.colGap)!=null?c:24,this.viewConfig=(m=e==null?void 0:e.viewConfig)!=null?m:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}So.RuntimeRules=FR;class Co extends DO{constructor(e){super(e),this.props=new So(e==null?void 0:e.props)}}Co.controlType="simple-search",Co.slotPosition={default:"search"},Co.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"search-view-type",visible:!0}];class s_ extends VO{constructor(e){var n;super(e),this.props=new So(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}s_.controlType="simple-search";var c_={Designer:Co,Runtime:s_,Property:So},$R=Object.freeze({__proto__:null,SimpleSearch:c_});class Hc extends Bs{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class BR extends pO{constructor(e){super(e),this.props=new Hc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class VR extends lS{constructor(e){super(e),this.props=new Hc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function eN(t){return t}var UR={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},d_={Designer:BR,Runtime:VR,Property:Hc,Setting:UR},HR=Object.freeze({__proto__:null,GridLayoutWrap:d_});T.ActionBar=Ug,T.Address=$y,T.AdvancedContainer=$g,T.Amount=Ly,T.ApprovalStatusColumn=u_,T.ArrayColumn=Zg,T.AssignType=un,T.Attachment=Py,T.AutoNumber=Hy,T.AutoNumberColumn=pg,T.BatchDeleteButton=ly,T.BatchPrintListButton=iy,T.BatchPrintRecordListButton=ry,T.BatchSubmissionListButton=jm,T.Button=Cm,T.Calc=Wy,T.CardGroup=wg,T.Checkbox=cy,T.Col=_g,T.CreateFormListButton=Hm,T.CustomColumn=a_,T.DATE_CONFIG_TYPE=Rm,T.DATE_LIMIT_TYPE=Nm,T.Dashboard=Ym,T.DataView=Mg,T.DatePicker=gy,T.DateRange=vy,T.DecimalColumn=zg,T.Department=Vy,T.Department2=cg,T.DepartmentColumn=Yg,T.DepartmentType=Nl,T.Divider=Vm,T.ElectronicSignature=lg,T.ElectronicSignatureConfig=Pm,T.Employee=Ny,T.Employee2=rg,T.EmployeeColumn=l_,T.EncryptTypeEnum=$m,T.Explain=Rl,T.ExportConfig=Lm,T.ExportListButton=qm,T.ExportRecordListButton=Km,T.ExportTemplate=mr,T.FileColumn=e_,T.FlexStyleConfig=Fm,T.FormSelectButton=Xm,T.Grid=gg,T.GridLayoutContainer=Rg,T.GridLayoutWrap=d_,T.GridRow=Eg,T.GridTable=Kg,T.GridTableColumn=Cg,T.Image=ky,T.ImageColumn=t_,T.ImportConfig=Dm,T.ImportListBind=km,T.ImportRecordListButton=Gm,T.Input=uy,T.InternalType=Zs,T.InvoiceCheckButton=ny,T.LINE_STYLE=Xs,T.LimitDate=Cl,T.Link=Sm,T.ListSelectButton=zm,T.ListView=Lg,T.ListViewSelect=ey,T.LocationColumn=i_,T.Number=my,T.OperationButton=ay,T.OperationColumn=qg,T.OrderColumn=Wg,T.OrganizationSelection=fg,T.OrganizeType=Qs,T.Page=Fg,T.Pagination=Qm,T.PeopleColumn=n_,T.Position=Vg,T.PositioningContainer=Bg,T.PrintTemplate=Mm,T.Radio=fy,T.RichText=Iy,T.Row=bg,T.SCORE_TYPE=Gs,T.SUBTABLE_DEFAULT_MAX_HEIGHT=xm,T.Score=My,T.SearchDateRange=Xy,T.SearchInput=eg,T.SearchNumberRange=Ky,T.Select=Oy,T.SelectMultiple=Cy,T.SelectRelation=Zy,T.SimpleSearch=c_,T.SubTable=jg,T.SubTableColumn=Tg,T.SubTableRow=Og,T.SubmissionRecordListButton=Wm,T.Tab=Pg,T.TabPane=Ng,T.Text=Om,T.TextColumn=Xg,T.TextOcrButton=ty,T.Textarea=Ey,T.TimescopeColumn=Jg,T.TimestampColumn=Qg,T.Title=Um,T.TitleConfigEnum=on,T.Toolbox=Dg,T.Tree=ng,T.UndersignedPerson=zs,T.VarcharColumn=Gg,T.VueFormItem=Jy,T.VuePage=mg,T.WPS=ug,T.WPSSetting=Am,T.WpsOperationItem=Js,T.baseControls=jS,T.columnControls=MR,T.formControls=BC,T.initExpression=yr,T.layoutControls=_R,T.listControls=OR,T.searchControls=$R,T.wrapControls=HR,Object.defineProperty(T,"__esModule",{value:!0})});
45
+ */const xD="9.14.0";function MD(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(At().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(At().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1)}const ah=qe.__EXTEND_POINT__,Pt=ba(ah),ce={FALLBACK_TO_ROOT:ah,NOT_SUPPORTED_PRESERVE:Pt(),NOT_SUPPORTED_FORMATTER:Pt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Pt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Pt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Pt(),NOT_FOUND_PARENT_SCOPE:Pt(),IGNORE_OBJ_FLATTEN:Pt(),NOTICE_DROP_ALLOW_COMPOSITION:Pt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Pt()},$D={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return zi($D[t],...e)}const uh=Be.__EXTEND_POINT__,Ze=ba(uh),X={UNEXPECTED_RETURN_TYPE:uh,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Re(t,...e){return Zn(t,null,process.env.NODE_ENV!=="production"?{messages:VD,args:e}:void 0)}const VD={[X.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[X.INVALID_ARGUMENT]:"Invalid argument",[X.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[X.NOT_INSTALLED]:"Need to install with `app.use` function",[X.UNEXPECTED_ERROR]:"Unexpected error",[X.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[X.REQUIRED_VALUE]:"Required in value: {0}",[X.INVALID_VALUE]:"Invalid value",[X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[X.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[X.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ao=ot("__translateVNode"),Ro=ot("__datetimeParts"),Do=ot("__numberParts"),Sn=ot("__enableEmitter"),rr=ot("__disableEmitter"),lh=ot("__setPluralRules");ot("__intlifyMeta");const oh=ot("__injectWithOption"),No=ot("__dispose");function ar(t){if(!J(t))return t;for(const e in t)if(!!_a(t,e))if(!e.includes("."))J(t[e])&&ar(t[e]);else{const n=e.split("."),i=n.length-1;let r=t,a=!1;for(let u=0;u<i;u++){if(n[u]in r||(r[n[u]]={}),!J(r[n[u]])){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.IGNORE_OBJ_FLATTEN,{key:n[u]})),a=!0;break}r=r[n[u]]}a||(r[n[i]]=t[e],delete t[e]),J(r[n[i]])&&ar(r[n[i]])}return t}function Ka(t,e){const{messages:n,__i18n:i,messageResolver:r,flatJson:a}=e,u=j(n)?n:ue(i)?{}:{[t]:{}};if(ue(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:o,resource:s}=l;o?(u[o]=u[o]||{},Ca(s,u[o])):Ca(s,u)}else M(l)&&Ca(JSON.parse(l),u)}),r==null&&a)for(const l in u)_a(u,l)&&ar(u[l]);return u}function sh(t){return t.type}function ch(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Ka(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(a=>{t.mergeLocaleMessage(a,i[a])});{if(J(e.datetimeFormats)){const a=Object.keys(e.datetimeFormats);a.length&&a.forEach(u=>{t.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(J(e.numberFormats)){const a=Object.keys(e.numberFormats);a.length&&a.forEach(u=>{t.mergeNumberFormat(u,e.numberFormats[u])})}}}function dh(t){return oi(Jf,null,t,0)}const fh="__INTLIFY_META__",hh=()=>[],UD=()=>!1;let mh=0;function vh(t){return(e,n,i,r)=>t(n,i,si()||void 0,r)}const HD=()=>{const t=si();let e=null;return t&&(e=sh(t)[fh])?{[fh]:e}:null};function Po(t={},e){const{__root:n,__injectWithOption:i}=t,r=n===void 0,a=t.flatJson,u=lt?ri:Nf,l=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&md(Qe(ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let o=q(t.inheritLocale)?t.inheritLocale:!0;const s=u(n&&o?n.locale.value:M(t.locale)?t.locale:ei),f=u(n&&o?n.fallbackLocale.value:M(t.fallbackLocale)||ue(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),d=u(Ka(s.value,t)),m=u(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=u(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let S=n?n.missingWarn:q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,w=n?n.fallbackWarn:q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,D=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,O=ie(t.missing)?t.missing:null,_=ie(t.missing)?vh(t.missing):null,E=ie(t.postTranslation)?t.postTranslation:null,N=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,R=!!t.escapeParameter;const T=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let B=t.pluralRules||n&&n.pluralRules,L;L=(()=>{r&&Bd(null);const A={version:xD,locale:s.value,fallbackLocale:f.value,messages:d.value,modifiers:T,pluralRules:B,missing:_===null?void 0:_,missingWarn:S,fallbackWarn:w,fallbackFormat:y,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:N,escapeParameter:R,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=m.value,A.numberFormats=b.value,A.__datetimeFormatters=j(L)?L.__datetimeFormatters:void 0,A.__numberFormatters=j(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(A.__v_emitter=j(L)?L.__v_emitter:void 0);const k=PA(A);return r&&Bd(k),k})(),Ji(L,s.value,f.value);function ke(){return[s.value,f.value,d.value,m.value,b.value]}const W=Ct({get:()=>s.value,set:A=>{s.value=A,L.locale=s.value}}),ge=Ct({get:()=>f.value,set:A=>{f.value=A,L.fallbackLocale=f.value,Ji(L,s.value,A)}}),Xe=Ct(()=>d.value),cn=Ct(()=>m.value),it=Ct(()=>b.value);function dn(){return ie(E)?E:null}function fn(A){E=A,L.postTranslation=A}function na(){return O}function ia(A){A!==null&&(_=vh(A)),O=A,L.missing=_}function ra(A,k){return A!=="translate"||!k.resolvedMessage}const ut=(A,k,p,be,hn,Al)=>{ke();let Hi;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Pd(HD()),r||(L.fallbackContext=n?NA():void 0),Hi=A(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Pd(null),r||(L.fallbackContext=void 0)}if(p!=="translate exists"&&Se(Hi)&&Hi===Ta||p==="translate exists"&&!Hi){const[Xn,N1]=k();if(process.env.NODE_ENV!=="production"&&n&&M(Xn)&&ra(p,N1)&&(D&&(Oa(w,Xn)||kd(S,Xn))&&Ae(Qe(ce.FALLBACK_TO_ROOT,{key:Xn,type:p})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ey}=L;Ey&&D&&Ey.emit("fallback",{type:p,key:Xn,to:"global",groupId:`${p}:${Xn}`})}return n&&D?be(n):hn(Xn)}else{if(Al(Hi))return Hi;throw Re(X.UNEXPECTED_RETURN_TYPE)}};function $i(...A){return ut(k=>Reflect.apply(Wd,null,[k,...A]),()=>Gl(...A),"translate",k=>Reflect.apply(k.t,k,[...A]),k=>k,k=>M(k))}function Vi(...A){const[k,p,be]=A;if(be&&!J(be))throw Re(X.INVALID_ARGUMENT);return $i(k,p,Oe({resolvedMessage:!0},be||{}))}function aa(...A){return ut(k=>Reflect.apply(Xd,null,[k,...A]),()=>Kl(...A),"datetime format",k=>Reflect.apply(k.d,k,[...A]),()=>Sa,k=>M(k))}function ua(...A){return ut(k=>Reflect.apply(Zd,null,[k,...A]),()=>zl(...A),"number format",k=>Reflect.apply(k.n,k,[...A]),()=>Sa,k=>M(k))}function la(A){return A.map(k=>M(k)||Se(k)||q(k)?dh(String(k)):k)}const oa={normalize:la,interpolate:A=>A,type:"vnode"};function Ui(...A){return ut(k=>{let p;const be=k;try{be.processor=oa,p=Reflect.apply(Wd,null,[be,...A])}finally{be.processor=null}return p},()=>Gl(...A),"translate",k=>k[Ao](...A),k=>[dh(k)],k=>ue(k))}function sa(...A){return ut(k=>Reflect.apply(Zd,null,[k,...A]),()=>zl(...A),"number format",k=>k[Do](...A),hh,k=>M(k)||ue(k))}function ca(...A){return ut(k=>Reflect.apply(Xd,null,[k,...A]),()=>Kl(...A),"datetime format",k=>k[Ro](...A),hh,k=>M(k)||ue(k))}function da(A){B=A,L.pluralRules=B}function x(A,k){return ut(()=>{if(!A)return!1;const p=M(k)?k:s.value,be=zn(p),hn=L.messageResolver(be,A);return l?hn!=null:Wt(hn)||rt(hn)||M(hn)},()=>[A],"translate exists",p=>Reflect.apply(p.te,p,[A,k]),UD,p=>q(p))}function Y(A){let k=null;const p=Id(L,f.value,s.value);for(let be=0;be<p.length;be++){const hn=d.value[p[be]]||{},Al=L.messageResolver(hn,A);if(Al!=null){k=Al;break}}return k}function fa(A){const k=Y(A);return k!=null?k:n?n.tm(A)||{}:{}}function zn(A){return d.value[A]||{}}function ha(A,k){if(a){const p={[A]:k};for(const be in p)_a(p,be)&&ar(p[be]);k=p[A]}d.value[A]=k,L.messages=d.value}function zc(A,k){d.value[A]=d.value[A]||{};const p={[A]:k};if(a)for(const be in p)_a(p,be)&&ar(p[be]);k=p[A],Ca(k,d.value[A]),L.messages=d.value}function v(A){return m.value[A]||{}}function g(A,k){m.value[A]=k,L.datetimeFormats=m.value,Qd(L,A,k)}function P(A,k){m.value[A]=Oe(m.value[A]||{},k),L.datetimeFormats=m.value,Qd(L,A,k)}function $(A){return b.value[A]||{}}function fe(A,k){b.value[A]=k,L.numberFormats=b.value,pd(L,A,k)}function ae(A,k){b.value[A]=Oe(b.value[A]||{},k),L.numberFormats=b.value,pd(L,A,k)}mh++,n&&lt&&(wo(n.locale,A=>{o&&(s.value=A,L.locale=A,Ji(L,s.value,f.value))}),wo(n.fallbackLocale,A=>{o&&(f.value=A,L.fallbackLocale=A,Ji(L,s.value,f.value))}));const ne={id:mh,locale:W,fallbackLocale:ge,get inheritLocale(){return o},set inheritLocale(A){o=A,A&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,Ji(L,s.value,f.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:Xe,get modifiers(){return T},get pluralRules(){return B||{}},get isGlobal(){return r},get missingWarn(){return S},set missingWarn(A){S=A,L.missingWarn=S},get fallbackWarn(){return w},set fallbackWarn(A){w=A,L.fallbackWarn=w},get fallbackRoot(){return D},set fallbackRoot(A){D=A},get fallbackFormat(){return y},set fallbackFormat(A){y=A,L.fallbackFormat=y},get warnHtmlMessage(){return N},set warnHtmlMessage(A){N=A,L.warnHtmlMessage=A},get escapeParameter(){return R},set escapeParameter(A){R=A,L.escapeParameter=A},t:$i,getLocaleMessage:zn,setLocaleMessage:ha,mergeLocaleMessage:zc,getPostTranslationHandler:dn,setPostTranslationHandler:fn,getMissingHandler:na,setMissingHandler:ia,[lh]:da};return ne.datetimeFormats=cn,ne.numberFormats=it,ne.rt=Vi,ne.te=x,ne.tm=fa,ne.d=aa,ne.n=ua,ne.getDateTimeFormat=v,ne.setDateTimeFormat=g,ne.mergeDateTimeFormat=P,ne.getNumberFormat=$,ne.setNumberFormat=fe,ne.mergeNumberFormat=ae,ne[oh]=i,ne[Ao]=Ui,ne[Ro]=ca,ne[Do]=sa,process.env.NODE_ENV!=="production"&&(ne[Sn]=A=>{L.__v_emitter=A},ne[rr]=()=>{L.__v_emitter=void 0}),ne}function jD(t){const e=M(t.locale)?t.locale:ei,n=M(t.fallbackLocale)||ue(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ie(t.missing)?t.missing:void 0,r=q(t.silentTranslationWarn)||Ut(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,a=q(t.silentFallbackWarn)||Ut(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,u=q(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,o=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=ie(t.postTranslation)?t.postTranslation:void 0,d=M(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,m=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=t.messages;if(j(t.sharedMessages)){const R=t.sharedMessages;S=Object.keys(R).reduce((B,L)=>{const z=B[L]||(B[L]={});return Oe(z,R[L]),B},S||{})}const{__i18n:w,__root:D,__injectWithOption:y}=t,O=t.datetimeFormats,_=t.numberFormats,E=t.flatJson,N=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:S,flatJson:E,datetimeFormats:O,numberFormats:_,missing:i,missingWarn:r,fallbackWarn:a,fallbackRoot:u,fallbackFormat:l,modifiers:o,pluralRules:s,postTranslation:f,warnHtmlMessage:d,escapeParameter:m,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:N,__i18n:w,__root:D,__injectWithOption:y}}function Fo(t={},e){{const n=Po(jD(t)),{__extender:i}=t,r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=q(a)?!a:a},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=q(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[u,l,o]=a,s={};let f=null,d=null;if(!M(u))throw Re(X.INVALID_ARGUMENT);const m=u;return M(l)?s.locale=l:ue(l)?f=l:j(l)&&(d=l),ue(o)?f=o:j(o)&&(d=o),Reflect.apply(n.t,n,[m,f||d||{},s])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[u,l,o]=a,s={plural:1};let f=null,d=null;if(!M(u))throw Re(X.INVALID_ARGUMENT);const m=u;return M(l)?s.locale=l:Se(l)?s.plural=l:ue(l)?f=l:j(l)&&(d=l),M(o)?s.locale=o:ue(o)?f=o:j(o)&&(d=o),Reflect.apply(n.t,n,[m,f||d||{},s])},te(a,u){return n.te(a,u)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,u){n.setLocaleMessage(a,u)},mergeLocaleMessage(a,u){n.mergeLocaleMessage(a,u)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,u){n.setDateTimeFormat(a,u)},mergeDateTimeFormat(a,u){n.mergeDateTimeFormat(a,u)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,u){n.setNumberFormat(a,u)},mergeNumberFormat(a,u){n.mergeNumberFormat(a,u)},getChoiceIndex(a,u){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=a=>{const u=n;u[Sn]&&u[Sn](a)},r.__disableEmitter=()=>{const a=n;a[rr]&&a[rr]()}),r}}const Bo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function WD({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,r)=>[...i,...r.type===ja?r.children:[r]],[]):e.reduce((n,i)=>{const r=t[i];return r&&(n[i]=r()),n},{})}function gh(t){return ja}const Lo=yo({name:"i18n-t",props:Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Se(t)||!isNaN(t)}},Bo),setup(t,e){const{slots:n,attrs:i}=e,r=t.i18n||$o({useScope:t.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(d=>d!=="_"),u={};t.locale&&(u.locale=t.locale),t.plural!==void 0&&(u.plural=M(t.plural)?+t.plural:t.plural);const l=WD(e,a),o=r[Ao](t.keypath,l,u),s=Oe({},i),f=M(t.tag)||J(t.tag)?t.tag:gh();return ih(f,s,o)}}});function qD(t){return ue(t)&&!M(t[0])}function yh(t,e,n,i){const{slots:r,attrs:a}=e;return()=>{const u={part:!0};let l={};t.locale&&(u.locale=t.locale),M(t.format)?u.key=t.format:J(t.format)&&(M(t.format.key)&&(u.key=t.format.key),l=Object.keys(t.format).reduce((m,b)=>n.includes(b)?Oe({},m,{[b]:t.format[b]}):m,{}));const o=i(t.value,u,l);let s=[u.key];ue(o)?s=o.map((m,b)=>{const S=r[m.type],w=S?S({[m.type]:m.value,index:b,parts:o}):[m.value];return qD(w)&&(w[0].key=`${m.type}-${b}`),w}):M(o)&&(s=[o]);const f=Oe({},a),d=M(t.tag)||J(t.tag)?t.tag:gh();return ih(d,f,s)}}const _h=yo({name:"i18n-n",props:Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Bo),setup(t,e){const n=t.i18n||$o({useScope:t.scope,__useComponent:!0});return yh(t,e,Yd,(...i)=>n[Do](...i))}}),bh=yo({name:"i18n-d",props:Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bo),setup(t,e){const n=t.i18n||$o({useScope:t.scope,__useComponent:!0});return yh(t,e,Jd,(...i)=>n[Ro](...i))}});function GD(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const i=n.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function KD(t){const e=u=>{const{instance:l,modifiers:o,value:s}=u;if(!l||!l.$)throw Re(X.UNEXPECTED_ERROR);const f=GD(t,l.$);process.env.NODE_ENV!=="production"&&o.preserve&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE));const d=Eh(s);return[Reflect.apply(f.t,f,[...Ch(d)]),f]};return{created:(u,l)=>{const[o,s]=e(l);lt&&t.global===s&&(u.__i18nWatcher=wo(s.locale,()=>{l.instance&&l.instance.$forceUpdate()})),u.__composer=s,u.textContent=o},unmounted:u=>{lt&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:l})=>{if(u.__composer){const o=u.__composer,s=Eh(l);u.textContent=Reflect.apply(o.t,o,[...Ch(s)])}},getSSRProps:u=>{const[l]=e(u);return{textContent:l}}}}function Eh(t){if(M(t))return{path:t};if(j(t)){if(!("path"in t))throw Re(X.REQUIRED_VALUE,"path");return t}else throw Re(X.INVALID_VALUE)}function Ch(t){const{path:e,locale:n,args:i,choice:r,plural:a}=t,u={},l=i||{};return M(n)&&(u.locale=n),Se(r)&&(u.plural=r),Se(a)&&(u.plural=a),[e,l,u]}function zD(t,e,...n){const i=j(n[0])?n[0]:{},r=!!i.useI18nComponentName,a=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&r&&Ae(Qe(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Lo.name})),a&&([r?"i18n":Lo.name,"I18nT"].forEach(u=>t.component(u,Lo)),[_h.name,"I18nN"].forEach(u=>t.component(u,_h)),[bh.name,"I18nD"].forEach(u=>t.component(u,bh))),t.directive("t",KD(e))}const ko={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},XD={["vue-i18n-resource-inspector"]:"Search for scopes ..."},JD={["vue-i18n-timeline"]:16764185},wh="vue-i18n: composer properties";let xo;function QD(t,e){return Jn(this,null,function*(){return new Promise((n,i)=>{try{kD({id:"vue-devtools-plugin-vue-i18n",label:ko["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[wh],app:t},r=>{xo=r,r.on.visitComponentTree(({componentInstance:u,treeNode:l})=>{ZD(u,l,e)}),r.on.inspectComponent(({componentInstance:u,instanceData:l})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&l&&(e.mode==="legacy"?u.vnode.el.__VUE_I18N__!==e.global.__composer&&Th(l,u.vnode.el.__VUE_I18N__):Th(l,u.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:ko["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:XD["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&nN(u,e)});const a=new Map;r.on.getInspectorState(u=>Jn(this,null,function*(){if(u.app===t&&u.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),rN(u,e),u.nodeId==="global"){if(!a.has(u.app)){const[l]=yield r.getComponentInstances(u.app);a.set(u.app,l)}r.highlightElement(a.get(u.app))}else{const l=iN(u.nodeId,e);l&&r.highlightElement(l)}})),r.on.editInspectorState(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&uN(u,e)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:ko["vue-i18n-timeline"],color:JD["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),i(!1)}})})}function Ih(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function ZD(t,e,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${Ih(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(r)}}function Th(t,e){const n=wh;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:Mo(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function Mo(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ie(i)&&"source"in i?e[n]=tN(i):Wt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Mo(i):e[n]=i}),e}const YD={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function pD(t){return t.replace(/[<>"&]/g,eN)}function eN(t){return YD[t]||t}function tN(t){const e=t.source?`("${pD(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function nN(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,r]of e.__instances){const a=e.mode==="composition"?r:r.__composer;n!==a&&t.rootNodes.push({id:a.id.toString(),label:`${Ih(i)} Scope`})}}function iN(t,e){let n=null;if(t!=="global"){for(const[i,r]of e.__instances.entries())if(r.id.toString()===t){n=i;break}}return n}function Sh(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(i=>i.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function rN(t,e){const n=Sh(t.nodeId,e);return n&&(t.state=aN(n)),null}function aN(t){const e={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=i;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:Mo(t.messages.value)}];e[r]=a;{const u="Datetime formats info",l=[{type:u,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[u]=l;const o="Datetime formats info",s=[{type:o,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[o]=s}return e}function ur(t,e){if(xo){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),xo.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function uN(t,e){const n=Sh(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&M(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(M(t.state.value)||ue(t.state.value)||J(t.state.value))?n.fallbackLocale.value=t.state.value:i==="inheritLocale"&&q(t.state.value)&&(n.inheritLocale=t.state.value)}}function lN(t,e,n){return{beforeCreate(){const i=si();if(!i)throw Re(X.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=e,this===this.$root)this.$i18n=Oh(t,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Fo(a);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Oh(t,r);else{this.$i18n=Fo({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=t;r.__i18nGlobal&&ch(e,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,u)=>this.$i18n.te(a,u),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(i,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=$l();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",ur)}},unmounted(){const i=si();if(!i)throw Re(X.UNEXPECTED_ERROR);const r=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ur),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(i),delete this.$i18n}}}function Oh(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[lh](e.pluralizationRules||t.pluralizationRules);const n=Ka(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(i=>t.mergeLocaleMessage(i,n[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const oN=ot("global-vue-i18n");function sN(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,a=new Map,[u,l]=cN(t,n),o=ot(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&r&&Ae(Qe(ce.NOTICE_DROP_ALLOW_COMPOSITION));function s(m){return a.get(m)||null}function f(m,b){a.set(m,b)}function d(m){a.delete(m)}{let b;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},install(S,...w){return Jn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=m),S.__VUE_I18N_SYMBOL__=o,S.provide(S.__VUE_I18N_SYMBOL__,m),j(w[0])){const O=w[0];m.__composerExtend=O.__composerExtend,m.__vueI18nExtend=O.__vueI18nExtend}let D=null;!n&&i&&(D=bN(S,m.global)),__VUE_I18N_FULL_INSTALL__&&zD(S,m,...w),__VUE_I18N_LEGACY_API__&&n&&S.mixin(lN(l,l.__composer,m));const y=S.unmount;if(S.unmount=()=>{D&&D(),m.dispose(),y()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield QD(S,m)))throw Re(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=$l();if(n){const E=l;E.__enableEmitter&&E.__enableEmitter(_)}else{const E=l;E[Sn]&&E[Sn](_)}_.on("*",ur)}})},get global(){return l},dispose(){u.stop()},__instances:a,__getInstance:s,__setInstance:f,__deleteInstance:d};return m}}function $o(t={}){const e=si();if(e==null)throw Re(X.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Re(X.NOT_INSTALLED);const n=dN(e),i=hN(n),r=sh(e),a=fN(t,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Re(X.NOT_AVAILABLE_IN_LEGACY_MODE);return yN(e,a,i,t)}if(a==="global")return ch(i,t,r),i;if(a==="parent"){let o=mN(n,e,t.__useComponent);return o==null&&(process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_FOUND_PARENT_SCOPE)),o=i),o}const u=n;let l=u.__getInstance(e);if(l==null){const o=Oe({},t);"__i18n"in r&&(o.__i18n=r.__i18n),i&&(o.__root=i),l=Po(o),u.__composerExtend&&(l[No]=u.__composerExtend(l)),gN(u,e,l),u.__setInstance(e,l)}return l}function cN(t,e,n){const i=rR();{const r=__VUE_I18N_LEGACY_API__&&e?i.run(()=>Fo(t)):i.run(()=>Po(t));if(r==null)throw Re(X.UNEXPECTED_ERROR);return[i,r]}}function dN(t){{const e=Gf(t.isCE?oN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Re(t.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return e}}function fN(t,e){return ya(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function hN(t){return t.mode==="composition"?t.global:t.global.__composer}function mN(t,e,n=!1){let i=null;const r=e.root;let a=vN(e,n);for(;a!=null;){const u=t;if(t.mode==="composition")i=u.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=u.__getInstance(a);l!=null&&(i=l.__composer,n&&i&&!i[oh]&&(i=null))}if(i!=null||r===a)break;a=a.parent}return i}function vN(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function gN(t,e,n){let i=null;ZR(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=$l();const r=n;r[Sn]&&r[Sn](i),i.on("*",ur)}},e),YR(()=>{const r=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",ur),r[rr]&&r[rr](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const a=r[No];a&&(a(),delete r[No])},e)}function yN(t,e,n,i={}){const r=e==="local",a=Nf(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Re(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=q(i.inheritLocale)?i.inheritLocale:!M(i.locale),l=ri(!r||u?n.locale.value:M(i.locale)?i.locale:ei),o=ri(!r||u?n.fallbackLocale.value:M(i.fallbackLocale)||ue(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),s=ri(Ka(l.value,i)),f=ri(j(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),d=ri(j(i.numberFormats)?i.numberFormats:{[l.value]:{}}),m=r?n.missingWarn:q(i.missingWarn)||Ut(i.missingWarn)?i.missingWarn:!0,b=r?n.fallbackWarn:q(i.fallbackWarn)||Ut(i.fallbackWarn)?i.fallbackWarn:!0,S=r?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,w=!!i.fallbackFormat,D=ie(i.missing)?i.missing:null,y=ie(i.postTranslation)?i.postTranslation:null,O=r?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,_=!!i.escapeParameter,E=r?n.modifiers:j(i.modifiers)?i.modifiers:{},N=i.pluralRules||r&&n.pluralRules;function R(){return[l.value,o.value,s.value,f.value,d.value]}const T=Ct({get:()=>a.value?a.value.locale.value:l.value,set:x=>{a.value&&(a.value.locale.value=x),l.value=x}}),B=Ct({get:()=>a.value?a.value.fallbackLocale.value:o.value,set:x=>{a.value&&(a.value.fallbackLocale.value=x),o.value=x}}),L=Ct(()=>a.value?a.value.messages.value:s.value),z=Ct(()=>f.value),ke=Ct(()=>d.value);function W(){return a.value?a.value.getPostTranslationHandler():y}function ge(x){a.value&&a.value.setPostTranslationHandler(x)}function Xe(){return a.value?a.value.getMissingHandler():D}function cn(x){a.value&&a.value.setMissingHandler(x)}function it(x){return R(),x()}function dn(...x){return a.value?it(()=>Reflect.apply(a.value.t,null,[...x])):it(()=>"")}function fn(...x){return a.value?Reflect.apply(a.value.rt,null,[...x]):""}function na(...x){return a.value?it(()=>Reflect.apply(a.value.d,null,[...x])):it(()=>"")}function ia(...x){return a.value?it(()=>Reflect.apply(a.value.n,null,[...x])):it(()=>"")}function ra(x){return a.value?a.value.tm(x):{}}function ut(x,Y){return a.value?a.value.te(x,Y):!1}function $i(x){return a.value?a.value.getLocaleMessage(x):{}}function Vi(x,Y){a.value&&(a.value.setLocaleMessage(x,Y),s.value[x]=Y)}function aa(x,Y){a.value&&a.value.mergeLocaleMessage(x,Y)}function ua(x){return a.value?a.value.getDateTimeFormat(x):{}}function la(x,Y){a.value&&(a.value.setDateTimeFormat(x,Y),f.value[x]=Y)}function Ol(x,Y){a.value&&a.value.mergeDateTimeFormat(x,Y)}function oa(x){return a.value?a.value.getNumberFormat(x):{}}function Ui(x,Y){a.value&&(a.value.setNumberFormat(x,Y),d.value[x]=Y)}function sa(x,Y){a.value&&a.value.mergeNumberFormat(x,Y)}const ca={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:B,messages:L,datetimeFormats:z,numberFormats:ke,get inheritLocale(){return a.value?a.value.inheritLocale:u},set inheritLocale(x){a.value&&(a.value.inheritLocale=x)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(s.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:N},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackWarn(){return a.value?a.value.fallbackWarn:b},set fallbackWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackRoot(){return a.value?a.value.fallbackRoot:S},set fallbackRoot(x){a.value&&(a.value.fallbackRoot=x)},get fallbackFormat(){return a.value?a.value.fallbackFormat:w},set fallbackFormat(x){a.value&&(a.value.fallbackFormat=x)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:O},set warnHtmlMessage(x){a.value&&(a.value.warnHtmlMessage=x)},get escapeParameter(){return a.value?a.value.escapeParameter:_},set escapeParameter(x){a.value&&(a.value.escapeParameter=x)},t:dn,getPostTranslationHandler:W,setPostTranslationHandler:ge,getMissingHandler:Xe,setMissingHandler:cn,rt:fn,d:na,n:ia,tm:ra,te:ut,getLocaleMessage:$i,setLocaleMessage:Vi,mergeLocaleMessage:aa,getDateTimeFormat:ua,setDateTimeFormat:la,mergeDateTimeFormat:Ol,getNumberFormat:oa,setNumberFormat:Ui,mergeNumberFormat:sa};function da(x){x.locale.value=l.value,x.fallbackLocale.value=o.value,Object.keys(s.value).forEach(Y=>{x.mergeLocaleMessage(Y,s.value[Y])}),Object.keys(f.value).forEach(Y=>{x.mergeDateTimeFormat(Y,f.value[Y])}),Object.keys(d.value).forEach(Y=>{x.mergeNumberFormat(Y,d.value[Y])}),x.escapeParameter=_,x.fallbackFormat=w,x.fallbackRoot=S,x.fallbackWarn=b,x.missingWarn=m,x.warnHtmlMessage=O}return QR(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Re(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=a.value=t.proxy.$i18n.__composer;e==="global"?(l.value=x.locale.value,o.value=x.fallbackLocale.value,s.value=x.messages.value,f.value=x.datetimeFormats.value,d.value=x.numberFormats.value):r&&da(x)}),ca}const _N=["locale","fallbackLocale","availableLocales"],Ah=["t","rt","d","n","tm","te"];function bN(t,e){const n=Object.create(null);return _N.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a)throw Re(X.UNEXPECTED_ERROR);const u=Je(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,u)}),t.config.globalProperties.$i18n=n,Ah.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a||!a.value)throw Re(X.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,a)}),()=>{delete t.config.globalProperties.$i18n,Ah.forEach(r=>{delete t.config.globalProperties[`$${r}`]})}}if(MD(),__INTLIFY_JIT_COMPILATION__?Ad(xA):Ad(kA),AA(lA),RA(Id),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=At();t.__INTLIFY__=!0,gA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function EN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rh(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 CN(t,e,n){return e&&Rh(t.prototype,e),n&&Rh(t,n),t}function wN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(){EN(this,t)}return CN(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nO;return sN({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){var r=i;i||(r=tO.zhCN),this.$i18n.global.setLocaleMessage(n,r)}}]),t}();wN(c,"$i18n",c.resetI18n());function IN(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,u){return"."+u}).split("."),r=!1;return i.reduce(function(a,u,l,o){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,u)){kl("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),a,a);return}return l===o.length-1&&!Object.is(s[u],n)&&(s[u]=n,r=!0),s[u]}},t),r}var TN=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},SN={exports:{}};(function(t){(function(e){var n=function(y,O,_){if(!s(O)||d(O)||m(O)||b(O)||o(O))return O;var E,N=0,R=0;if(f(O))for(E=[],R=O.length;N<R;N++)E.push(n(y,O[N],_));else{E={};for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&(E[y(T,_)]=n(y,O[T],_))}return E},i=function(y,O){O=O||{};var _=O.separator||"_",E=O.split||/(?=[A-Z])/;return y.split(E).join(_)},r=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(O,_){return _?_.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var O=r(y);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(y,O){return i(y,O).toLowerCase()},l=Object.prototype.toString,o=function(y){return typeof y=="function"},s=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},d=function(y){return l.call(y)=="[object Date]"},m=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},w=function(y,O){var _=O&&"process"in O?O.process:O;return typeof _!="function"?y:function(E,N){return _(E,y,N)}},D={camelize:r,decamelize:u,pascalize:a,depascalize:u,camelizeKeys:function(y,O){return n(w(r,O),y)},decamelizeKeys:function(y,O){return n(w(u,O),y,O)},pascalizeKeys:function(y,O){return n(w(a,O),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(TN)})(SN);var Dh={};Object.defineProperty(Dh,"__esModule",{value:!0});function Vo(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Vo(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Vo(i)}return e}}var ON=Dh.default=Vo;function AN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ht(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":AN(t))==="object"?ON(t):t}function RN(t){return Object.prototype.toString.call(t)==="[object Object]"}function Uo(t){return Array.isArray(t)}function DN(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ho(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 NN(t){if(Array.isArray(t))return Ho(t)}function Nh(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function PN(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){Nh(a,i,r,u,l,"next",o)}function l(o){Nh(a,i,r,u,l,"throw",o)}u(void 0)})}}function FN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(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 BN(t,e,n){return e&&Ph(t.prototype,e),n&&Ph(t,n),t}function Fh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function LN(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kN(){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 jo(t){return NN(t)||LN(t)||xN(t)||kN()}function xN(t,e){if(!!t){if(typeof t=="string")return Ho(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 Ho(t,e)}}function MN(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var $N=function(){function t(){FN(this,t),Fh(this,"_events",new Map),Fh(this,"debug",!1)}return BN(t,[{key:"emit",value:function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];var u=this;return PN(function(){var l,o,s,f,d,m,b,S,w,D,y,O;return MN(this,function(_){switch(_.label){case 0:if(l=u._events.get(n),o=[],!l)return[3,10];s=l.slice(),f=!0,d=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),b=s[Symbol.iterator](),_.label=2;case 2:if(f=(S=b.next()).done)return[3,7];if(w=S.value,!l.includes(w))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),u.debug&&ud.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(jo(r))),[4,w.apply(null,jo(r))];case 4:return D=_.sent(),u.debug&&ud.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(jo(r),[D])),o.push(D),D===!1?[3,7]:[3,6];case 5:return y=_.sent(),mO(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return O=_.sent(),d=!0,m=O,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(d)throw m}return[7];case 10:return[2,o]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var r=this._events.get(n),a=r==null?void 0:r.indexOf(i);r==null||r.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 VN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(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 UN(t,e,n){return e&&Bh(t.prototype,e),n&&Bh(t,n),t}function HN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jN=[{key:"on_click",name:function(){return c.getMessage("click")}(),code:"click"},{key:"on_click_finish",name:function(){return c.getMessage("fibished")}(),code:"click-finish"},{key:"on_change",name:function(){return c.getMessage("valueChange")}(),code:"change"},{key:"on_search",name:function(){return c.getMessage("search")}(),code:"search"},{key:"on_list_change",name:function(){return c.getMessage("listDataChange")}(),code:"list-change"},{key:"on_list_search",name:function(){return c.getMessage("listDataCreate")}(),code:"list-search"},{key:"on_list_mounted",name:function(){return c.getMessage("listDataBack")}(),code:"list-mounted"},{key:"on_list_delete",name:function(){return c.getMessage("listDataDelete")}(),code:"list-delete"},{key:"on_list_before_insert",name:function(){return c.getMessage("listDataAdd")}(),code:"list-before-insert"},{key:"on_input",name:function(){return c.getMessage("onInput")}(),code:"input"},{key:"on_blur",name:function(){return c.getMessage("onBlur")}(),code:"blur"},{key:"on_focus",name:function(){return c.getMessage("onFocus")}(),code:"focus"},{key:"on_wps_open",name:function(){return c.getMessage("onOpenFile")}(),code:"wps-open"},{key:"on_wps_save",name:function(){return c.getMessage("onSaveFile")}(),code:"wps-save"},{key:"on_wps_rename",name:function(){return c.getMessage("rename")}(),code:"wps-rename"},{key:"on_list_actions",name:function(){return c.getMessage("onClickBtn")}(),code:"list-actions"},{key:"on_list_render_operation",name:function(){return c.getMessage("cellRender")}(),code:"list-render-operation"},{key:"on_list_rowclick",name:function(){return c.getMessage("rowClick")}(),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:function(){return c.getMessage("rowDelete")}(),code:"list-before-rowdelete"},{key:"on_list_before_import",name:function(){return c.getMessage("listDataImport")}(),code:"list-before-import"},{key:"on_list_rows_checked",name:function(){return c.getMessage("rowSelected")}(),code:"list-rows-checked"},{key:"on_change_tab",name:function(){return c.getMessage("tabChange")}(),code:"change-tab"},{key:"on_modal_ok",name:function(){return c.getMessage("modalConfirm")}(),code:"modal-ok"}],WN=function(){function t(){VN(this,t)}return UN(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(r){return i.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],r=n.eventKeys;i=i.concat(t.events.filter(function(u){return r.includes(u.key)}));var a=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return i=i.concat(a),i}}]),t}();HN(WN,"events",jN);function Wo(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 qN(t){if(Array.isArray(t))return Wo(t)}function GN(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function KN(){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 Lh(t){return qN(t)||GN(t)||zN(t)||KN()}function zN(t,e){if(!!t){if(typeof t=="string")return Wo(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 Wo(t,e)}}function qo(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function kh(t,e,n){n!=="Runtime"&&(t.parent=e,qo(t,"parent"))}function XN(t,e,n){t.forEach(function(i){kh(i,e,n)})}var xh=Symbol("targetKey");function Mh(t){var e;return(e=t[xh])!==null&&e!==void 0?e:t}function $h(t,e,n){return XN(t,e,n),new Proxy(t,{get:function(r,a){for(var u=arguments.length,l=new Array(u>2?u-2:0),o=2;o<u;o++)l[o-2]=arguments[o];var s;return a===xh?r:(s=Reflect).get.apply(s,[r,a].concat(Lh(l)))},set:function(r,a,u){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var f;if(Uo(t)&&a==="length"&&u===t.length)return!0;var d=(f=Reflect).set.apply(f,[r,a,u].concat(Lh(o)));return RN(u)&&kh(u,e,n),d}})}function wt(t,e,n,i,r){var a=i!=null?i:t,u=$h(Mh(n!=null?n:[]),a,r);Object.defineProperty(t,e,{get:function(){return u},set:function(o){u=$h(Mh(o),a,r)},enumerable:!0})}function JN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(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 QN(t,e,n){return e&&Vh(t.prototype,e),n&&Vh(t,n),t}function Yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Uh=[],za=function(){function t(e){JN(this,t),Yt(this,"registeredControlTypes",new Set),Yt(this,"controlConfigMap",new Map),Yt(this,"_controls",[]),Yt(this,"_type",void 0),this._type=e,this._initControls(e)}return QN(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__||Ki("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(r){return r.controlType===n.controlType});return i>-1&&(kl("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===Qn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Qn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Qn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Qn.COLUMN}},{key:"createControl",value:function(n,i){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return r.createControl(f,i)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof i=="function"){var o=i(l);o&&(l=o)}var s;return u.mode==="Runtime"?(s=l,s.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new u(l),s}else Ki("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),qo(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,u=i._controlParentIdMap,l=i.instanceMap;if(!(!u||!l)){var o=u[a],s=l[a];if(!(!o&&!s)){var f=s.findIndex(function(b){return b==n}),d=l[o]||[],m;return d.length!==s.length?m=d[0]:m=d[f],m}}}}),qo(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var r=this.getControlFormType(n);if(r)return new r(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(r){i.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var r=t.staticControlsRuntimeRules.get(n),a=[];if(r){var u=new r(i);a=Array.from(u)}return a}},{key:"register",value:function(n,i){var r=n.Designer,a=n.Runtime,u=n.Property;(!r||!a||!r.__is_control__||!a.__is_control__)&&Ki("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(o){return o.Designer.controlType===r.controlType});return l>-1&&(kl("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=i,this}}]),t}();Yt(za,"staticControlsRuntimeRules",new Map),Yt(za,"staticControls",Uh),Yt(za,"staticRegisteredTypes",new Set(Uh.map(function(t){return t.Designer.controlType}))),Yt(za,"staticRegisteredConfigs",new Map);function se(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xa(t){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(t)}function mt(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&&Go(t,e)}function ZN(t,e){return e&&(YN(e)==="object"||typeof e=="function")?e:se(t)}function Go(t,e){return Go=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Go(t,e)}function YN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pN(){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 vt(t){var e=pN();return function(){var i=Xa(t),r;if(e){var a=Xa(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return ZN(this,r)}}var It=function t(e){U(this,t),C(this,"dataCode",void 0),C(this,"fieldCode",void 0),C(this,"fieldType",void 0),C(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Hh=function t(e){U(this,t),C(this,"minWidth",void 0),C(this,"maxWidth",void 0),C(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},jh=function t(e){U(this,t),C(this,"rowHeightType",void 0),C(this,"minRows",void 0),C(this,"maxRows",void 0),C(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},eP=function t(e){U(this,t),C(this,"pc",void 0),C(this,"mobile",void 0),this.pc=new jh(e==null?void 0:e.pc),this.mobile=new jh(e==null?void 0:e.mobile)},Ko=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;r=e.call(this,i),C(se(r),"width",void 0),C(se(r),"widthType",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var u;return r.widthType=(u=i==null?void 0:i.widthType)!==null&&u!==void 0?u:"auto",r}return n}(Hh),tP=function t(e){U(this,t),C(this,"pc",void 0),C(this,"mobile",void 0),this.pc=new Ko(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ko(e==null?void 0:e.mobile):new Ko({width:130,minWidth:180})},nP=function t(e){U(this,t),C(this,"type",void 0),C(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:[]},di=function t(e){U(this,t),C(this,"dataCode",void 0),C(this,"formKey",void 0),C(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 r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},iP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;r=e.call(this,i),C(se(r),"primaryControlId",void 0);var a;return r.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",r}return n}(di),Wh=function t(e){U(this,t),C(this,"fieldCode",void 0),C(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},zo=function t(e){U(this,t);var n;C(this,"appId",void 0),C(this,"formKey",void 0),C(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Wh(u)}))!==null&&a!==void 0?a:[]},rP=function t(e){U(this,t),C(this,"fieldName",void 0),C(this,"fieldCode",void 0),C(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 r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:F.VARCHAR},aP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;r=e.call(this,i),C(se(r),"title",void 0),C(se(r),"svcCode",void 0),C(se(r),"isOpenFilter",void 0),C(se(r),"filters",void 0);var a;r.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var u;r.svcCode=(u=i==null?void 0:i.svcCode)!==null&&u!==void 0?u:"";var l;r.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return r.filters=(o=i==null?void 0:i.filters)!==null&&o!==void 0?o:[],r}return n}(di),uP=function t(e){U(this,t);var n,i;C(this,"type","sublist-page"),C(this,"formBind",void 0),C(this,"displayFields",void 0),C(this,"sublists",void 0),this.formBind=new di(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new rP(u)}))!==null&&r!==void 0?r:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(u){return new aP(u)}))!==null&&a!==void 0?a:[]},lP=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},lr=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(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 r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},Xo=function t(e){var n=this;U(this,t),C(this,"id",void 0),C(this,"ruleId",void 0),C(this,"type","conditions"),C(this,"level",void 0),C(this,"value",void 0),C(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:yt();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var o,s=new t(l);(o=n.children)===null||o===void 0||o.push(s)}else{var f,d=new Ja(l);(f=n.children)===null||f===void 0||f.push(d)}}))},Ja=function t(e){U(this,t),C(this,"id",void 0),C(this,"ruleId",void 0),C(this,"type","condition"),C(this,"symbol",void 0),C(this,"checked",void 0),C(this,"describe",void 0),C(this,"leftVariableBo",void 0),C(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:yt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new lP(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new lr(e==null?void 0:e.rightVariableBo)},oP=function t(e){U(this,t),C(this,"aliasCode",void 0),C(this,"datasourceBind",void 0),C(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Ye=function t(e){U(this,t),C(this,"controlId",void 0),C(this,"fieldCode",void 0),C(this,"fieldType",void 0),C(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 r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Jo=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(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},sP=function t(e){U(this,t),C(this,"columnName",void 0),C(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 Qo(t){var e,n,i,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Xo(l):new Ja(l)}))!==null&&r!==void 0?r:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Xo(l):new Ja(l)}))!==null&&a!==void 0?a:[];var u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new sP(l)}))!==null&&u!==void 0?u:[]}var He=function t(e){var n=this;U(this,t),C(this,"dataCode",void 0),C(this,"valueFieldCode",void 0),C(this,"displayBoList",void 0),C(this,"keywordMapping",void 0),C(this,"svcCode",void 0),C(this,"appId",void 0),C(this,"filters",void 0),C(this,"viewFilters",void 0),C(this,"isOpenViewFilters",void 0),C(this,"orders",void 0),C(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Jo(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",Qo.call(this,e)},Zo=function t(e){U(this,t),C(this,"dataCode",void 0),C(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:[]},Ft=function t(e){U(this,t),C(this,"code",void 0),C(this,"color",void 0),C(this,"command",void 0),C(this,"confirmMessage",void 0),C(this,"defaultState",void 0),C(this,"formKey",void 0),C(this,"formType",void 0),C(this,"icon",void 0),C(this,"needConfirm",void 0),C(this,"openType",void 0),C(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 r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var o;this.icon=(o=e==null?void 0:e.icon)!==null&&o!==void 0?o:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var d;this.priorityProcess=(d=e==null?void 0:e.priorityProcess)!==null&&d!==void 0?d:!0},qh=function t(e){U(this,t);var n;C(this,"name",void 0),C(this,"key",void 0),C(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new Jo(u)}))!==null&&a!==void 0?a:[]},Qa=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r,a;r=e.call(this,i),C(se(r),"attributes",void 0);var u;return r.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new qh(l)}))!==null&&u!==void 0?u:[],r}return n}(He),cP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r,a;r=e.call(this,i),C(se(r),"attributes",void 0),C(se(r),"formCode",void 0);var u;r.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(o){return new qh(o)}))!==null&&u!==void 0?u:[];var l;return r.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",r}return n}(He),Gh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;r=e.call(this,i),C(se(r),"rootNode",void 0),C(se(r),"filterCode",void 0),r.rootNode=new lr(i==null?void 0:i.rootNode);var a;return r.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",r}return n}(Qa),Kh=function t(e){U(this,t);var n;C(this,"dataCode",void 0),C(this,"appId",void 0),C(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new Ye(u)}))!==null&&a!==void 0?a:[]},zh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;return r=e.call(this,i),C(se(r),"filters",void 0),C(se(r),"viewFilters",void 0),C(se(r),"orders",void 0),Qo.call(se(r),i),r}return n}(Kh),Xh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;r=e.call(this,i),C(se(r),"mode",void 0),C(se(r),"multiple",void 0);var a;r.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var u;return r.multiple=(u=i==null?void 0:i.multiple)!==null&&u!==void 0?u:!1,r}return n}(Kh),Jh=function t(e){U(this,t),C(this,"stencilName",void 0),C(this,"expression",void 0),C(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 r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},dP=function t(e){U(this,t),C(this,"id",void 0),C(this,"label",void 0),C(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:yt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Bt(t){var e;return(e=t==null?void 0:t.map(function(n){return new dP(n)}))!==null&&e!==void 0?e:[]}var Yo=function t(){U(this,t)},fP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;return r=e.call(this),C(se(r),"amount",void 0),C(se(r),"currency",void 0),r.amount=new It(i==null?void 0:i.amount),r.currency=new It(i==null?void 0:i.currency),r}return n}(Yo),hP=function t(e){U(this,t),C(this,"amount",void 0),C(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},mP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;return r=e.call(this),C(se(r),"min",void 0),C(se(r),"max",void 0),r.min=new It(i==null?void 0:i.min),r.max=new It(i==null?void 0:i.max),r}return n}(Yo),vP=function t(e){U(this,t),C(this,"min",void 0),C(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:""},gP=function t(e){U(this,t),C(this,"city",void 0),C(this,"cityDisplay",void 0),C(this,"district",void 0),C(this,"districtDisplay",void 0),C(this,"province",void 0),C(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 r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},yP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var r;return r=e.call(this),C(se(r),"result",void 0),C(se(r),"unit",void 0),r.result=new It(i==null?void 0:i.result),r.unit=new It(i==null?void 0:i.unit),r}return n}(Yo),_P=function t(e){U(this,t),C(this,"result",void 0),C(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:""},po;(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"})(po||(po={}));var h;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(h||(h={}));var es;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(es||(es={}));var pt=function t(e){U(this,t),C(this,"isShow",void 0),C(this,"priorityProcess",void 0),C(this,"formKey",void 0),C(this,"content",void 0),C(this,"openType",void 0),C(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 r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},bP=function t(e){U(this,t);var n;C(this,"id",void 0),C(this,"title",void 0),C(this,"filters",void 0),C(this,"viewFilters",void 0),C(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:yt(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Wh(u)}))!==null&&a!==void 0?a:[],Qo.call(this,e)},EP=function t(e){U(this,t),C(this,"width",void 0),C(this,"height",void 0),C(this,"widthConfig",void 0),C(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 r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},CP=function t(e){U(this,t),C(this,"optCode",void 0),C(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},wP=function t(e){U(this,t);var n,i;C(this,"id",void 0),C(this,"name",void 0),C(this,"settings",void 0),C(this,"filters",void 0),C(this,"script",void 0);var r;this.id=(r=e==null?void 0:e.id)!==null&&r!==void 0?r:yt();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Xo(o):new Ja(o)}))!==null&&u!==void 0?u:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(o){return new IP(o)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},IP=function t(e){U(this,t),C(this,"color",void 0),C(this,"fieldCodes",void 0),C(this,"type",void 0),C(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},TP=function t(e){U(this,t);var n;C(this,"type",void 0),C(this,"interval",void 0),C(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new wP(u)}))!==null&&a!==void 0?a:[]:[]};function SP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(t,e,n){return Qh()?Za=Reflect.construct:Za=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&sr(s,u.prototype),s},Za.apply(null,arguments)}function Lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function OP(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&&sr(t,e)}function AP(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function RP(t,e){return e&&(DP(e)==="object"||typeof e=="function")?e:SP(t)}function sr(t,e){return sr=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},sr(t,e)}function DP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ns(t){var e=typeof Map=="function"?new Map:void 0;return ns=function(i){if(i===null||!AP(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,r)}function r(){return Za(i,arguments,or(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),sr(r,i)},ns(t)}function Qh(){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 NP(t){var e=Qh();return function(){var i=or(t),r;if(e){var a=or(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return RP(this,r)}}var De=function t(e){ts(this,t),Lt(this,"isHide",{type:"boolean"})},On=function(t){OP(n,t);var e=NP(n);function n(i){return ts(this,n),e.call(this)}return n}(ns(Array)),Ne=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ts(this,t),Lt(this,"isHide",void 0),Lt(this,"className",void 0),Lt(this,"style",void 0),Lt(this,"caption",void 0),Lt(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new EP(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};Lt(Ne,"mode",void 0),Lt(Ne,"Rules",De),Lt(Ne,"RuntimeRules",On);function Tt(){return Tt=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},Tt.apply(this,arguments)}function PP(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function is(t){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},is(t)}function Ya(t,e){return Ya=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ya(t,e)}function FP(){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 pa(t,e,n){return FP()?pa=Reflect.construct:pa=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&Ya(s,u.prototype),s},pa.apply(null,arguments)}function BP(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rs(t){var e=typeof Map=="function"?new Map:void 0;return rs=function(i){if(i===null||!BP(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,r)}function r(){return pa(i,arguments,is(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ya(r,i)},rs(t)}var LP=/%[sdj%]/g,Zh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Zh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function as(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 et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],a=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(LP,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(o){return"[Circular]"}break;default:return l}});return u}return r}function kP(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Pe(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||kP(e)&&typeof t=="string"&&!t)}function xP(t,e,n){var i=[],r=0,a=t.length;function u(l){i.push.apply(i,l),r++,r===a&&n(i)}t.forEach(function(l){e(l,u)})}function Yh(t,e,n){var i=0,r=t.length;function a(u){if(u&&u.length){n(u);return}var l=i;i=i+1,l<r?e(t[l],a):n([])}a([])}function MP(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ph=function(t){PP(e,t);function e(n,i){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=i,r}return e}(rs(Error));function $P(t,e,n,i){if(e.first){var r=new Promise(function(d,m){var b=function(D){return i(D),D.length?m(new ph(D,as(D))):d()},S=MP(t);Yh(S,n,b)});return r.catch(function(d){return d}),r}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var u=Object.keys(t),l=u.length,o=0,s=[],f=new Promise(function(d,m){var b=function(w){if(s.push.apply(s,w),o++,o===l)return i(s),s.length?m(new ph(s,as(s))):d()};u.length||(i(s),d()),u.forEach(function(S){var w=t[S];a.indexOf(S)!==-1?Yh(w,n,b):xP(w,n,b)})});return f.catch(function(d){return d}),f}function em(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 tm(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]=Tt(Tt({},t[n]),i):t[n]=i}}return t}function nm(t,e,n,i,r,a){t.required&&(!n.hasOwnProperty(t.field)||Pe(e,a||t.type))&&i.push(et(r.messages.required,t.fullField))}function VP(t,e,n,i,r){(/^\s+$/.test(e)||e==="")&&i.push(et(r.messages.whitespace,t.fullField))}var us={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},cr={integer:function(e){return cr.number(e)&&parseInt(e,10)===e},float:function(e){return cr.number(e)&&!cr.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"&&!cr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(us.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(us.url)},hex:function(e){return typeof e=="string"&&!!e.match(us.hex)}};function UP(t,e,n,i,r){if(t.required&&e===void 0){nm(t,e,n,i,r);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;a.indexOf(u)>-1?cr[u](e)||i.push(et(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&i.push(et(r.messages.types[u],t.fullField,t.type))}function HP(t,e,n,i,r){var a=typeof t.len=="number",u=typeof t.min=="number",l=typeof t.max=="number",o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,d=typeof e=="number",m=typeof e=="string",b=Array.isArray(e);if(d?f="number":m?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),m&&(s=e.replace(o,"_").length),a?s!==t.len&&i.push(et(r.messages[f].len,t.fullField,t.len)):u&&!l&&s<t.min?i.push(et(r.messages[f].min,t.fullField,t.min)):l&&!u&&s>t.max?i.push(et(r.messages[f].max,t.fullField,t.max)):u&&l&&(s<t.min||s>t.max)&&i.push(et(r.messages[f].range,t.fullField,t.min,t.max))}var fi="enum";function jP(t,e,n,i,r){t[fi]=Array.isArray(t[fi])?t[fi]:[],t[fi].indexOf(e)===-1&&i.push(et(r.messages[fi],t.fullField,t[fi].join(", ")))}function WP(t,e,n,i,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(et(r.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(et(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var K={required:nm,whitespace:VP,type:UP,range:HP,enum:jP,pattern:WP};function qP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"string")&&!t.required)return n();K.required(t,e,i,a,r,"string"),Pe(e,"string")||(K.type(t,e,i,a,r),K.range(t,e,i,a,r),K.pattern(t,e,i,a,r),t.whitespace===!0&&K.whitespace(t,e,i,a,r))}n(a)}function GP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&K.type(t,e,i,a,r)}n(a)}function KP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&(K.type(t,e,i,a,r),K.range(t,e,i,a,r))}n(a)}function zP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&K.type(t,e,i,a,r)}n(a)}function XP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),Pe(e)||K.type(t,e,i,a,r)}n(a)}function JP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&(K.type(t,e,i,a,r),K.range(t,e,i,a,r))}n(a)}function QP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&(K.type(t,e,i,a,r),K.range(t,e,i,a,r))}n(a)}function ZP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();K.required(t,e,i,a,r,"array"),e!=null&&(K.type(t,e,i,a,r),K.range(t,e,i,a,r))}n(a)}function YP(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&K.type(t,e,i,a,r)}n(a)}var pP="enum";function e5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r),e!==void 0&&K[pP](t,e,i,a,r)}n(a)}function t5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"string")&&!t.required)return n();K.required(t,e,i,a,r),Pe(e,"string")||K.pattern(t,e,i,a,r)}n(a)}function n5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"date")&&!t.required)return n();if(K.required(t,e,i,a,r),!Pe(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),K.type(t,l,i,a,r),l&&K.range(t,l.getTime(),i,a,r)}}n(a)}function i5(t,e,n,i,r){var a=[],u=Array.isArray(e)?"array":typeof e;K.required(t,e,i,a,r,u),n(a)}function ls(t,e,n,i,r){var a=t.type,u=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Pe(e,a)&&!t.required)return n();K.required(t,e,i,u,r,a),Pe(e,a)||K.type(t,e,i,u,r)}n(u)}function r5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,a,r)}n(a)}var dr={string:qP,method:GP,number:KP,boolean:zP,regexp:XP,integer:JP,float:QP,array:ZP,object:YP,enum:e5,pattern:t5,date:n5,url:ls,hex:ls,email:ls,required:i5,any:r5};function os(){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 ss=os();function en(t){this.rules=null,this._messages=ss,this.define(t)}en.prototype={messages:function(e){return e&&(this._messages=tm(os(),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 r=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,u=n,l=i;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function o(w){var D,y=[],O={};function _(E){if(Array.isArray(E)){var N;y=(N=y).concat.apply(N,E)}else y.push(E)}for(D=0;D<w.length;D++)_(w[D]);y.length?O=as(y):(y=null,O=null),l(y,O)}if(u.messages){var s=this.messages();s===ss&&(s=os()),tm(s,u.messages),u.messages=s}else u.messages=this.messages();var f,d,m={},b=u.keys||Object.keys(this.rules);b.forEach(function(w){f=r.rules[w],d=a[w],f.forEach(function(D){var y=D;typeof y.transform=="function"&&(a===e&&(a=Tt({},a)),d=a[w]=y.transform(d)),typeof y=="function"?y={validator:y}:y=Tt({},y),y.validator=r.getValidationMethod(y),y.field=w,y.fullField=y.fullField||w,y.type=r.getType(y),y.validator&&(m[w]=m[w]||[],m[w].push({rule:y,value:d,source:a,field:w}))})});var S={};return $P(m,u,function(w,D){var y=w.rule,O=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");O=O&&(y.required||!y.required&&w.value),y.field=w.field;function _(R,T){return Tt(Tt({},T),{},{fullField:y.fullField+"."+R})}function E(R){R===void 0&&(R=[]);var T=R;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&en.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message)),T=T.map(em(y)),u.first&&T.length)return S[y.field]=1,D(T);if(!O)D(T);else{if(y.required&&!w.value)return y.message!==void 0?T=[].concat(y.message).map(em(y)):u.error&&(T=[u.error(y,et(u.messages.required,y.field))]),D(T);var B={};if(y.defaultField)for(var L in w.value)w.value.hasOwnProperty(L)&&(B[L]=y.defaultField);B=Tt(Tt({},B),w.rule.fields);for(var z in B)if(B.hasOwnProperty(z)){var ke=Array.isArray(B[z])?B[z]:[B[z]];B[z]=ke.map(_.bind(null,z))}var W=new en(B);W.messages(u.messages),w.rule.options&&(w.rule.options.messages=u.messages,w.rule.options.error=u.error),W.validate(w.value,w.rule.options||u,function(ge){var Xe=[];T&&T.length&&Xe.push.apply(Xe,T),ge&&ge.length&&Xe.push.apply(Xe,ge),D(Xe.length?Xe:null)})}}var N;y.asyncValidator?N=y.asyncValidator(y,w.value,E,w.source,u):y.validator&&(N=y.validator(y,w.value,E,w.source,u),N===!0?E():N===!1?E(y.message||y.field+" fails"):N instanceof Array?E(N):N instanceof Error&&E(N.message)),N&&N.then&&N.then(function(){return E()},function(R){return E(R)})},function(w){o(w)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!dr.hasOwnProperty(e.type))throw new Error(et("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"?dr.required:dr[this.getType(e)]||!1}},en.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");dr[e]=n},en.warning=Zh,en.messages=ss,en.validators=dr;var a5={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 u5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new en(t);return n.messages(Object.assign(a5,e)),n}var l5=new $N;function cs(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 o5(t){if(Array.isArray(t))return t}function s5(t){if(Array.isArray(t))return cs(t)}function im(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function rm(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){im(a,i,r,u,l,"next",o)}function l(o){im(a,i,r,u,l,"throw",o)}u(void 0)})}}function c5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function am(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 d5(t,e,n){return e&&am(t.prototype,e),n&&am(t,n),t}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function lm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f5(){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 h5(){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 om(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){te(t,r,n[r])})}return t}function m5(t){return o5(t)||lm(t)||sm(t)||f5()}function ds(t){return s5(t)||lm(t)||sm(t)||h5()}function v5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(t,e){if(!!t){if(typeof t=="string")return cs(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 cs(t,e)}}function cm(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var re=function(){function e(n){var i=this;c5(this,e),te(this,"id",void 0),te(this,"name",void 0),te(this,"icon",void 0),te(this,"type",void 0),te(this,"controlType",void 0),te(this,"props",void 0),te(this,"setting",[]),te(this,"fieldType",void 0),te(this,"eventKeys",[]),te(this,"customEvents",[]),te(this,"parent",null),te(this,"slots",void 0),te(this,"slotPosition",void 0),te(this,"updateSetting",fm),te(this,"removeSetting",dm),this._callControlHooks("preInstance",n);var r=um(this,e)?this.constructor:void 0,a=r.controlName,u=r.controlIcon,l=r.controlType,o=r.controlFieldType,s=r.controlEventKeys,f=r.controlCustomEvents,d=r.name,m=r.setting,b=r.slots,S=r.slotPosition;a&&u&&l||ld("The ".concat(d," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:yt(10),this.name=a,this.icon=u;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:l,this.props=new Ne(n==null?void 0:n.props,(um(this,e)?this.constructor:void 0).controlName);var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base",this.setting=ht(m);var O;this.fieldType=(O=n==null?void 0:n.fieldType)!==null&&O!==void 0?O:o,this.eventKeys=ht(s),this.customEvents=ht(f),this.slots=ht(b),this.slotPosition=ht(S),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return d5(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,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];var u,l=m5(r),o=l[0],s=l.slice(1);return(u=l5).emit.apply(u,[o,this].concat(ds(s)))}},{key:"preUpdate",value:function(i,r){this._callControlHooks("preUpdateProps",i,r)}},{key:"postUpdate",value:function(i,r){this._callControlHooks("postUpdateProps",i,r)}},{key:"updateProps",value:function(i,r){this.preUpdate(i,r),IN(this.props,i,r),this.postUpdate(i,r)}},{key:"preValidate",value:function(){var i=this;return rm(function(){var r,a,u;return cm(this,function(l){switch(l.label){case 0:return r=om({},i.rules),[4,i._callControlHooks("preValidate",r)];case 1:return a=l.sent(),u=a[a.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(i,r){var a=this;return rm(function(){var u,l,o,s;return cm(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:u=f.sent(),l=u!==void 0?u:om({},a.rules),Array.isArray(r)&&r.forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),o=u5(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=a),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,u=this.type,l=this.props,o=l.dataBind,s=l.datasourceBind,f=l.optionConfig,d=l.caption,m=l.required,b=l.maxLength,S=l.options,w=l.encrypted,D=l.encryptedMode;if(!(!r&&!o&&!s)){var y={parentId:i,fieldType:r,controlId:a,caption:d,type:u,props:{}};switch(o&&(y.dataBind=o),f){case"datasource":case void 0:s&&(y.datasourceBind=s);break;case"custom":y.props.options=S;break}return m!==void 0&&(y.required=m),b!==void 0&&(y.maxLength=b),w!==void 0&&(y.encrypted=w),D!==void 0&&(y.encryptedMode=D),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ht(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,r){if(i==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,ds(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();te(re,"mode","Designer"),te(re,"slots",void 0),te(re,"slotPosition",void 0),te(re,"controlName","\u63A7\u4EF6"),te(re,"controlIcon","icon"),te(re,"controlType","control"),te(re,"controlFieldType",void 0),te(re,"controlEventKeys",[]),te(re,"controlCustomEvents",[]),te(re,"setting",[]),te(re,"__is_control__",!0),te(re,"removeSettingItem",dm),te(re,"updateSettingItem",fm);function dm(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var r,a=typeof i!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(s){return s.key===(a?i.key:i)});if(u!==-1){var l,o;a?e.setting[u].showItems=(l=e.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(u,1),a&&!(!((o=e.setting[u].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(u,1)}})}function fm(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(r){var a=n.setting.find(function(s){return s.key===r});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":v5(e))==="object"){var u,l=(u=e.type)!==null&&u!==void 0?u:"replace";if(l==="replace")a.showItems=e.showItems;else{var o;(o=a.showItems).push.apply(o,ds(e.showItems))}}}})}function g5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(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 y5(t,e,n){return e&&hm(t.prototype,e),n&&hm(t,n),t}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Fe=function(){function e(n){g5(this,e),tt(this,"id",void 0),tt(this,"type",void 0),tt(this,"controlType",void 0),tt(this,"props",void 0),tt(this,"fieldType",void 0),tt(this,"customEvents",[]),tt(this,"pageStatus",void 0),tt(this,"parent",null);var i=_5(this,e)?this.constructor:void 0,r=i.controlType,a=i.controlFieldType,u=i.name,l=i.controlCustomEvents;r||ld("The ".concat(u," controlType is not define"));var o;this.id=(o=n==null?void 0:n.id)!==null&&o!==void 0?o:yt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:r,this.props=new Ne(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d:a;var m;this.pageStatus=(m=n==null?void 0:n.pageStatus)!==null&&m!==void 0?m:es.UNKNOWN}return y5(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var r=new i(this.props);return Array.from(r)}return[]}}]),e}();tt(Fe,"mode","Runtime"),tt(Fe,"controlType","control"),tt(Fe,"controlFieldType",void 0),tt(Fe,"__is_control__",!0),tt(Fe,"controlCustomEvents",[]);function fs(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:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:c.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:c.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,r){i.length===0&&r(c.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,i,r){var a=i.map(function(l){return l.value}),u=DN(a);a.length!==u.length?r(c.getMessage("optionIdIsRepeat")):r()},message:c.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(n,i,r){i.length===0&&r(c.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:c.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}])}function eu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:c.getMessage("isNotString")},key:{type:"string",required:!0,message:c.getMessage("isNotString")},value:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(r,a,u){a.length===0&&u(c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}]}function b5(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function he(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(t)}function iu(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&&hs(t,e)}function E5(t,e){return e&&(C5(e)==="object"||typeof e=="function")?e:he(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},hs(t,e)}function C5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w5(){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 ru(t){var e=w5();return function(){var i=nu(t),r;if(e){var a=nu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return E5(this,r)}}var xe=function(t){iu(n,t);var e=ru(n);function n(i){tu(this,n);var r;r=e.call(this,i),me(he(r),"dataBind",{}),me(he(r),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),me(he(r),"isHideCaption",{type:"boolean"}),me(he(r),"labelPosition",{type:"enum",enum:["top","left"]}),me(he(r),"defaultState",{type:"enum",enum:["default","readonly"]}),me(he(r),"required",{type:"boolean"}),me(he(r),"captionTip",{type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")}};if(b5(i.dataBind))r.dataBind={type:"object",required:!0,fields:ht(a),message:c.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:c.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:ht(a),message:c.getMessage("pleaseEnterFieldCode")}}),r.dataBind=u}return i.isShowCaptionTip&&(r.captionTip.required=!0),r}return n}(De),de=function(t){iu(n,t);var e=ru(n);function n(i){tu(this,n);var r;r=e.call(this,i);var a=i.isHide?!1:i.required;return a&&r.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:c.getMessage("runtimeRequired",{caption:i.caption})}),r}return n}(On),Q=function(t){iu(n,t);var e=ru(n);function n(i){tu(this,n);var r;r=e.call(this,i),me(he(r),"caption",void 0),me(he(r),"isHideCaption",void 0),me(he(r),"isShowCaptionTip",void 0),me(he(r),"captionTip",void 0),me(he(r),"labelPosition",void 0),me(he(r),"dataBind",void 0),me(he(r),"defaultValue",void 0),me(he(r),"placeholder",void 0),me(he(r),"defaultState",void 0),me(he(r),"required",void 0),me(he(r),"requiredMessage",void 0);var a;r.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var u;r.isHideCaption=(u=i==null?void 0:i.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;r.captionTip=(o=i==null?void 0:i.captionTip)!==null&&o!==void 0?o:"";var s;r.defaultState=(s=i==null?void 0:i.defaultState)!==null&&s!==void 0?s:"default";var f;r.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var d;r.placeholder=(d=i==null?void 0:i.placeholder)!==null&&d!==void 0?d:"";var m;r.required=(m=i==null?void 0:i.required)!==null&&m!==void 0?m:!1;var b;r.requiredMessage=(b=i==null?void 0:i.requiredMessage)!==null&&b!==void 0?b:"",r.dataBind=new It(i==null?void 0:i.dataBind);var S;return r.defaultValue=(S=i==null?void 0:i.defaultValue)!==null&&S!==void 0?S:"",r}return n}(Ne);me(Q,"Rules",xe),me(Q,"RuntimeRules",de);var hi=function(t){iu(n,t);var e=ru(n);function n(i){tu(this,n);var r;return r=e.call(this,i),me(he(r),"optionConfig",{type:"enum",enum:["custom","datasource"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),me(he(r),"options",[{type:"array",message:c.getMessage("isNotArray")}]),me(he(r),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),fs.call(he(r),i),r}return n}(xe);function ms(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function au(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function T5(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&&vs(t,e)}function S5(t,e){return e&&(O5(e)==="object"||typeof e=="function")?e:ms(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},vs(t,e)}function O5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A5(){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 R5(t){var e=A5();return function(){var i=uu(t),r;if(e){var a=uu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return S5(this,r)}}var Z=function(t){T5(n,t);var e=R5(n);function n(i){I5(this,n);var r;return r=e.call(this,i),au(ms(r),"controlType","form"),au(ms(r),"props",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(re);au(Z,"controlEventKeys",["on_change","on_focus","on_blur"]),au(Z,"controlCustomAttributes",void 0);function lu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function N5(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&&ys(t,e)}function P5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:lu(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ys(t,e)}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function B5(){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 L5(t){var e=B5();return function(){var i=ou(t),r;if(e){var a=ou(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return P5(this,r)}}var ee=function(t){N5(n,t);var e=L5(n);function n(i){D5(this,n);var r;return r=e.call(this,i),gs(lu(r),"controlType","form"),gs(lu(r),"props",void 0),gs(lu(r),"value",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(Fe);function k5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function M5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function $5(t,e){return e&&(V5(e)==="object"||typeof e=="function")?e:k5(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},_s(t,e)}function V5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function U5(){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 H5(t){var e=U5();return function(){var i=su(t),r;if(e){var a=su(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return $5(this,r)}}var ve=function(t){M5(n,t);var e=H5(n);function n(i){return x5(this,n),e.call(this,i)}return n}(Ne);function bs(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 j5(t){if(Array.isArray(t))return bs(t)}function An(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mm(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function W5(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){mm(a,i,r,u,l,"next",o)}function l(o){mm(a,i,r,u,l,"throw",o)}u(void 0)})}}function q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vm(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 G5(t,e,n){return e&&vm(t.prototype,e),n&&vm(t,n),t}function tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mi=Reflect.get:mi=function(r,a,u){var l=eF(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},mi(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function K5(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&&Es(t,e)}function z5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function X5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function J5(){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 Q5(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){tn(t,r,n[r])})}return t}function Z5(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Y5(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Z5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function p5(t,e){return e&&(tF(e)==="object"||typeof e=="function")?e:An(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Es(t,e)}function eF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function gm(t){return j5(t)||X5(t)||nF(t)||J5()}function tF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nF(t,e){if(!!t){if(typeof t=="string")return bs(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 bs(t,e)}}function iF(){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 rF(t){var e=iF();return function(){var i=nn(t),r;if(e){var a=nn(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return p5(this,r)}}function aF(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var uF=1e4,_e=function(e){K5(i,e);var n=rF(i);function i(r){q5(this,i);var a;a=n.call(this,r),tn(An(a),"controlType","layout"),tn(An(a),"children",void 0),tn(An(a),"excludes",void 0),tn(An(a),"childrenMaxLength",void 0),tn(An(a),"props",void 0);var u=z5(this,i)?this.constructor:void 0,l=u.excludes,o=u.childrenMaxLength;return a.props=new ve(r==null?void 0:r.props),wt(An(a),"children",r==null?void 0:r.children,void 0,"Designer"),a.excludes=ht(l),a.childrenMaxLength=o,a}return G5(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var u=this.judgeExcludesChildren(a);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,u){var l=this,o=this,s=function(){return mi(nn(i.prototype),"validate",l)};return W5(function(){return aF(this,function(f){switch(f.label){case 0:return[4,s().call(o,a,u)];case 1:return f.sent(),[4,Promise.all(o.children.map(function(d){return d.validate(a,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=mi(nn(i.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(o,s){var f=s.toDataBindModel(a);if(Array.isArray(f)){var d=f.filter(function(m){return!!m});return gm(o).concat(gm(d))}return f&&o.push(f),o},l)}},{key:"toSchema",value:function(){var a=mi(nn(i.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var o=l.toSchema();return o});return Y5(Q5({},a),{children:u})}}]),i}(re);tn(_e,"excludes",!1),tn(_e,"childrenMaxLength",uF);function fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function oF(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&&ws(t,e)}function sF(t,e){return e&&(cF(e)==="object"||typeof e=="function")?e:fr(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ws(t,e)}function cF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dF(){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 fF(t){var e=dF();return function(){var i=cu(t),r;if(e){var a=cu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return sF(this,r)}}var we=function(t){oF(n,t);var e=fF(n);function n(i){lF(this,n);var r;return r=e.call(this,i),Cs(fr(r),"controlType","layout"),Cs(fr(r),"children",void 0),Cs(fr(r),"props",void 0),r.props=new ve(i==null?void 0:i.props),wt(fr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(Fe);function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function mF(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&&Is(t,e)}function vF(t,e){return e&&(gF(e)==="object"||typeof e=="function")?e:kt(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Is(t,e)}function gF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yF(){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 _F(t){var e=yF();return function(){var i=du(t),r;if(e){var a=du(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return vF(this,r)}}var fu=function(t){mF(n,t);var e=_F(n);function n(i,r,a){hF(this,n);var u;u=e.call(this,r),vi(kt(u),"headers",void 0),vi(kt(u),"footers",void 0),vi(kt(u),"pageIndex",void 0),vi(kt(u),"pageSize",void 0),vi(kt(u),"pageSizeOptions",void 0),vi(kt(u),"totalCount",void 0),wt(kt(u),"headers",r==null?void 0:r.headers,i,a),wt(kt(u),"footers",r==null?void 0:r.footers,i);var l;u.pageIndex=(l=r==null?void 0:r.pageIndex)!==null&&l!==void 0?l:1;var o;u.pageSize=(o=r==null?void 0:r.pageSize)!==null&&o!==void 0?o:20;var s;u.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var f;return u.totalCount=(f=r==null?void 0:r.totalCount)!==null&&f!==void 0?f:0,u}return n}(Ne);function Ts(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 bF(t){if(Array.isArray(t))return Ts(t)}function hu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function EF(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){ym(a,i,r,u,l,"next",o)}function l(o){ym(a,i,r,u,l,"throw",o)}u(void 0)})}}function CF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _m(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 wF(t,e,n){return e&&_m(t.prototype,e),n&&_m(t,n),t}function mu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gi=Reflect.get:gi=function(r,a,u){var l=RF(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},gi(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function IF(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&&Ss(t,e)}function TF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function SF(){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 bm(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){mu(t,r,n[r])})}return t}function OF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Em(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):OF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function AF(t,e){return e&&(DF(e)==="object"||typeof e=="function")?e:hu(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ss(t,e)}function RF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function Cm(t){return bF(t)||TF(t)||NF(t)||SF()}function DF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NF(t,e){if(!!t){if(typeof t=="string")return Ts(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 Ts(t,e)}}function PF(){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 FF(t){var e=PF();return function(){var i=rn(t),r;if(e){var a=rn(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return AF(this,r)}}function BF(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Os=function(t){IF(n,t);var e=FF(n);function n(i){CF(this,n);var r;return r=e.call(this,i),mu(hu(r),"controlType","list"),mu(hu(r),"props",void 0),r.props=new fu(hu(r),i==null?void 0:i.props,"Designer"),r}return wF(n,[{key:"validate",value:function(r,a){var u=this,l=this,o=function(){return gi(rn(n.prototype),"validate",u)};return EF(function(){return BF(this,function(s){switch(s.label){case 0:return[4,o().call(l,r)];case 1:return s.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(r,a)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=gi(rn(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],u=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(u);if(Array.isArray(s)){var f=s.filter(function(d){return!!d});return Cm(l).concat(Cm(f))}return s&&l.push(s),l},a)}},{key:"toSchema",value:function(){var r=gi(rn(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(u){return u.toSchema()});return Em(bm({},r),{props:Em(bm({},this.props),{headers:a})})}}]),n}(re);mu(Os,"controlFieldType",F.LIST);function yi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(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 kF(t,e,n){return e&&wm(t.prototype,e),n&&wm(t,n),t}function As(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(t)}function xF(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&&Rs(t,e)}function MF(t,e){return e&&($F(e)==="object"||typeof e=="function")?e:yi(t)}function Rs(t,e){return Rs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Rs(t,e)}function $F(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VF(){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 UF(t){var e=VF();return function(){var i=vu(t),r;if(e){var a=vu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return MF(this,r)}}var Im=function(t){xF(n,t);var e=UF(n);function n(i){LF(this,n);var r;return r=e.call(this,i),As(yi(r),"controlType","list"),As(yi(r),"children",void 0),As(yi(r),"props",void 0),r.props=new fu(yi(r),i==null?void 0:i.props,"Runtime"),wt(yi(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return kF(n,[{key:"length",get:function(){return this.children.length}}]),n}(Fe);function Le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Ns(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&&Ps(t,e)}function HF(t,e){return e&&(jF(e)==="object"||typeof e=="function")?e:Le(t)}function Ps(t,e){return Ps=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ps(t,e)}function jF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WF(){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 Fs(t){var e=WF();return function(){var i=gu(t),r;if(e){var a=gu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return HF(this,r)}}var St=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var r;return r=e.call(this,i),Me(Le(r),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),Me(Le(r),"width",{type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")}),r.width.required=i.widthType==="px",r}return n}(De),Ie=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var r;r=e.call(this,i),Me(Le(r),"widthType",void 0),Me(Le(r),"width",void 0),Me(Le(r),"caption",void 0),Me(Le(r),"dataBind",void 0),Me(Le(r),"autoWidth",void 0),Me(Le(r),"fixed",void 0),Me(Le(r),"sort",void 0),Me(Le(r),"align",void 0),Me(Le(r),"colSpan",void 0),Me(Le(r),"autoHeight",void 0),Me(Le(r),"children",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,r.widthType=(i==null?void 0:i.widthType)||"auto";var u;r.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"";var l;r.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",r.autoWidth=new Hh(i==null?void 0:i.autoWidth),r.dataBind=new It(i==null?void 0:i.dataBind);var o;r.sort=(o=i==null?void 0:i.sort)!==null&&o!==void 0?o:!0,r.align=i==null?void 0:i.align,r.colSpan=i==null?void 0:i.colSpan;var s;return r.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,r}return n}(Ne);Me(Ie,"Rules",St);var Tm=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var r;return r=e.call(this,i),Me(Le(r),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),Me(Le(r),"options",[{type:"array",message:c.getMessage("isNotArray")}]),Me(Le(r),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),fs.call(Le(r),i),r}return n}(St);function hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sm(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 GF(t,e,n){return e&&Sm(t.prototype,e),n&&Sm(t,n),t}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 _u(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_u=Reflect.get:_u=function(r,a,u){var l=ZF(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},_u(t,e,n||t)}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function KF(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&&Bs(t,e)}function zF(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){yu(t,r,n[r])})}return t}function XF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function JF(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):XF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function QF(t,e){return e&&(YF(e)==="object"||typeof e=="function")?e:hr(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Bs(t,e)}function ZF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_i(t),t!==null););return t}function YF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pF(){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 eB(t){var e=pF();return function(){var i=_i(t),r;if(e){var a=_i(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return QF(this,r)}}var $e=function(t){KF(n,t);var e=eB(n);function n(i){qF(this,n);var r;return r=e.call(this,i),yu(hr(r),"controlType","column"),yu(hr(r),"props",void 0),yu(hr(r),"children",void 0),r.props=new Ie(i==null?void 0:i.props),wt(hr(r),"children",i==null?void 0:i.children,void 0,"Designer"),r}return GF(n,[{key:"toSchema",value:function(){var r=_u(_i(n.prototype),"toSchema",this).call(this);return JF(zF({},r),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(re);function mr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function nB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function iB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:mr(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ks(t,e)}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aB(){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 uB(t){var e=aB();return function(){var i=bu(t),r;if(e){var a=bu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return iB(this,r)}}var Ve=function(t){nB(n,t);var e=uB(n);function n(i){tB(this,n);var r;return r=e.call(this,i),Ls(mr(r),"controlType","column"),Ls(mr(r),"props",void 0),Ls(mr(r),"children",void 0),r.props=new Ie(i==null?void 0:i.props),wt(mr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(Fe);function Om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function sB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xs(t,e)}function cB(t,e){return e&&(dB(e)==="object"||typeof e=="function")?e:Om(t)}function xs(t,e){return xs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},xs(t,e)}function dB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fB(){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 hB(t){var e=fB();return function(){var i=Eu(t),r;if(e){var a=Eu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return cB(this,r)}}var Ms=function(t){sB(n,t);var e=hB(n);function n(i){lB(this,n);var r;return r=e.call(this,i),oB(Om(r),"dataBind",void 0),r.dataBind=new It(i==null?void 0:i.dataBind),r}return n}(ve);function $s(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function vB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vs(t,e)}function gB(t,e){return e&&(yB(e)==="object"||typeof e=="function")?e:$s(t)}function Vs(t,e){return Vs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Vs(t,e)}function yB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _B(){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 bB(t){var e=_B();return function(){var i=Cu(t),r;if(e){var a=Cu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return gB(this,r)}}var EB=function(t){vB(n,t);var e=bB(n);function n(i){mB(this,n);var r;return r=e.call(this,i),Am($s(r),"controlType","search"),Am($s(r),"props",void 0),r.props=new Ms(i==null?void 0:i.props),r}return n}(_e);function Us(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function wB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hs(t,e)}function IB(t,e){return e&&(TB(e)==="object"||typeof e=="function")?e:Us(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Hs(t,e)}function TB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SB(){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 OB(t){var e=SB();return function(){var i=wu(t),r;if(e){var a=wu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return IB(this,r)}}var AB=function(t){wB(n,t);var e=OB(n);function n(i){CB(this,n);var r;return r=e.call(this,i),Rm(Us(r),"controlType","search"),Rm(Us(r),"props",void 0),r.props=new Ms(i==null?void 0:i.props),r}return n}(we);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function NB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function PB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:RB(t)}function js(t,e){return js=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},js(t,e)}function FB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BB(){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 LB(t){var e=BB();return function(){var i=Iu(t),r;if(e){var a=Iu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return PB(this,r)}}var Ws=function(t){NB(n,t);var e=LB(n);function n(i){return DB(this,n),e.call(this,i)}return n}(ve);function qs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function xB(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&&Gs(t,e)}function MB(t,e){return e&&($B(e)==="object"||typeof e=="function")?e:qs(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Gs(t,e)}function $B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VB(){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 UB(t){var e=VB();return function(){var i=Tu(t),r;if(e){var a=Tu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return MB(this,r)}}var HB=function(t){xB(n,t);var e=UB(n);function n(i){kB(this,n);var r;return r=e.call(this,i),Dm(qs(r),"controlType","wrap"),Dm(qs(r),"props",void 0),r.props=new Ws(i==null?void 0:i.props),r}return n}(_e);function Ks(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function WB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zs(t,e)}function qB(t,e){return e&&(GB(e)==="object"||typeof e=="function")?e:Ks(t)}function zs(t,e){return zs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},zs(t,e)}function GB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KB(){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 zB(t){var e=KB();return function(){var i=Su(t),r;if(e){var a=Su(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return qB(this,r)}}var XB=function(t){WB(n,t);var e=zB(n);function n(i){jB(this,n);var r;return r=e.call(this,i),Nm(Ks(r),"controlType","wrap"),Nm(Ks(r),"props",void 0),r.props=new Ws(i==null?void 0:i.props),r}return n}(we);function an(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}])}class Xs extends Ne{constructor(e){var n,i,r,a,u,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(r=e==null?void 0:e.icon)!=null?r:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(u=e==null?void 0:e.content)!=null?u:c.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class Pm extends re{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlName(){return c.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Pm.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class JB extends Fe{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlType(){return"text"}}var Fm={Designer:Pm,Runtime:JB,Property:Xs};class Js extends Ne{constructor(e){var n,i,r;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=(r=e==null?void 0:e.openMode)!=null?r:"new"}}class Qs extends re{constructor(e){super(e),this.props=new Js(e==null?void 0:e.props)}static get controlName(){return c.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Qs.controlEventKeys=["on_click"],Qs.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class QB extends Fe{constructor(e){super(e),this.props=new Js(e==null?void 0:e.props)}static get controlType(){return"link"}}var Bm={Designer:Qs,Runtime:QB,Property:Js};class ze extends Ne{constructor(e){var n,i,r,a,u,l,o,s,f;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=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new CP((f=e==null?void 0:e.optObj)!=null?f:{})}}class je extends re{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return c.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}je.slots=["grid-table-toolbar-slot","action-bar-slot",pc.DEFAULT],je.controlEventKeys=["on_click"],je.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class nt extends Fe{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"button"}}var Lm={Designer:je,Runtime:nt,Property:ze},un=(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))(un||{}),km=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(km||{}),xm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(xm||{});class Ou{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:yt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Zs=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Zs||{});class Au{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:yt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ys=(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))(Ys||{});class ps{constructor(e){var n,i,r,a,u,l,o,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new lr((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(r=e==null?void 0:e.signatureType)!=null?r:[],this.telephone=(u=e==null?void 0:e.telephone)!=null?u:new lr((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(o=e==null?void 0:e.company)!=null?o:new lr((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Mm{constructor(e){var n,i,r,a,u,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(r=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(o=>new ps(o)))!=null?r:[new ps],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(u=e==null?void 0:e.completeControl)!=null?u:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class vr{constructor(e){var n,i,r,a,u,l,o;this.id=(n=e==null?void 0:e.id)!=null?n:yt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(r=e==null?void 0:e.dataCode)!=null?r:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(u=e==null?void 0:e.name)!=null?u:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(o=e==null?void 0:e.active)!=null?o:!1}}class ec{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 $m{constructor(e){var n,i,r,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=(r=e==null?void 0:e.collaborativeRecord)!=null?r:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new ec(e==null?void 0:e.watermark),this.autoRename=new ec(e==null?void 0:e.autoRename)}}class Vm{constructor(e){this.dataCode=e.dataCode}}class Um{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Vm(a)))!=null?r:[]}}class Hm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new vr(a)))!=null?r:[new vr({id:"default",name:c.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const jm=480;function gr(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Wm{constructor(e){var n,i,r,a,u;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(r=e==null?void 0:e.ruleName)!=null?r:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(u=e.rules)!=null?u:[]}}class qm{constructor(e){var n,i,r;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=(r=e==null?void 0:e.alignItems)!=null?r:"flex-start"}}var Gm=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Gm||{}),tc=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(tc||{}),Ru=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ru||{}),ln=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ln||{}),nc=(t=>(t.ALL="all",t.ADMIN="admin",t))(nc||{});class ic extends Ne{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:Ys.SOLID}}class Km extends re{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlName(){return c.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Km.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]}];class ZB extends Fe{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlType(){return"divider"}}var zm={Designer:Km,Runtime:ZB,Property:ic};class YB extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(un.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")}},message:c.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:c.getMessage("pleaseSelectOneField")})}}class Du extends Ne{constructor(e){var n,i,r,a;super(e),this.dataBind=new It(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[un.ShowSubmitUser,un.ShowSubmitDept,un.ShowSubmitTime,un.ShowCurrentApprovar,un.ShowTitle],this.caption=(r=(i=e==null?void 0:e.caption)!=null?i:bi==null?void 0:bi.controlName)!=null?r:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Du.Rules=YB;class bi extends re{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return c.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}bi.controlFieldType=F.AUTO_NUMBER,bi.setting=[{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pB extends Fe{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"title"}}var Xm={Designer:bi,Runtime:pB,Property:Du};class eL extends De{constructor(e){super(e),this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}class Nu extends ze{constructor(e){var n,i,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ei.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ei.controlName,this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Nu.Rules=eL;class Ei extends je{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ei.slots=["grid-table-toolbar-slot"],Ei.controlEventKeys=["on_click","on_click_finish"],Ei.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 tL extends nt{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Jm={Designer:Ei,Runtime:tL,Property:Nu};class nL extends De{constructor(e){super(e),this.processKey=[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterProcess")}]}}class Pu extends ze{constructor(e){var n,i,r,a,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ci.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ci.controlName,this.initiatorMode=(r=e==null?void 0:e.initiatorMode)!=null?r:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Pu.Rules=nL;class Ci extends je{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click","on_click_finish"],Ci.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 iL extends nt{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Qm={Designer:Ci,Runtime:iL,Property:Pu};class rc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wi.controlIcon}}class wi extends je{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click"],wi.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 rL extends nt{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Zm={Designer:wi,Runtime:rL,Property:rc};class ac extends ze{constructor(e){var n,i,r,a,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ii.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ii.controlName,this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system",this.templateList=(u=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new vr(l)))!=null?u:[new vr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ii extends je{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ii.slots=["grid-table-toolbar-slot"],Ii.controlEventKeys=["on_click","on_click_finish"],Ii.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 aL extends nt{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ym={Designer:Ii,Runtime:aL,Property:ac};class uc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ti.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ti.controlIcon}}class Ti extends je{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ti.slots=["grid-table-toolbar-slot"],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:"super-setting",visible:!0}];class uL extends nt{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var pm={Designer:Ti,Runtime:uL,Property:uc};class lL{constructor(e){this.dataCode=e.dataCode}}class lc extends ze{constructor(e){var n,i,r,a,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Si.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Si.controlIcon,this.canImportList=(a=(r=e==null?void 0:e.canImportList)==null?void 0:r.map(l=>new lL(l)))!=null?a:[],this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system"}}class Si extends je{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click","on_click_finish"],Si.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class oL extends nt{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ev={Designer:Si,Runtime:oL,Property:lc};function Fu(){return{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:c.getMessage("pleaseSelectControl")}}}}}}class sL extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:$t({},Fu())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:$t({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},Fu())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:c.getMessage("pleaseSelectControl")})}}class Bu extends ze{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yr.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yr.controlIcon,this.command=(r=e==null?void 0:e.command)!=null?r:"create",this.fillPayload=new zh(e==null?void 0:e.fillPayload),this.formBind=new iP(e==null?void 0:e.formBind),this.fillBack=new Xh(e==null?void 0:e.fillBack)}}Bu.Rules=sL;class yr extends je{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}yr.controlEventKeys=["on_click","on_click_finish"],yr.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class cL extends nt{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var tv={Designer:yr,Runtime:cL,Property:Bu};class dL extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:$t({},Fu())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:$t({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},Fu())}}}class Lu extends ze{constructor(e){var n,i,r,a,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_r.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_r.controlIcon,this.fillPayload=new zh(e==null?void 0:e.fillPayload),this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.fillBack=new Xh(e==null?void 0:e.fillBack),this.showSelectedDetail=(r=e==null?void 0:e.showSelectedDetail)!=null?r:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(u=e==null?void 0:e.disableFilling)!=null?u:!0}}Lu.Rules=dL;class _r extends je{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_r.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],_r.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class fL extends nt{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var nv={Designer:_r,Runtime:fL,Property:Lu};class hL extends De{constructor(e){super(e)}}class mL extends On{constructor(e){super(e)}}class br extends Ne{constructor(e){super(e)}}br.Rules=hL,br.RuntimeRules=mL;class iv extends re{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlName(){return c.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}iv.setting=[];class vL extends Fe{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var rv={Designer:iv,Runtime:vL,Property:br};class gL extends De{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:c.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ku extends Ne{constructor(e){var n,i,r,a,u,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=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(u=e==null?void 0:e.captionTip)!=null?u:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}ku.Rules=gL;class av extends re{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}av.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class yL extends Fe{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var uv={Designer:av,Runtime:yL,Property:ku};class _L extends De{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:c.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class xu extends Ne{constructor(e){var n,i,r;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(r=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new bP(a)))!=null?r:[]}}xu.Rules=_L;class lv extends re{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}lv.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class bL extends Fe{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ov={Designer:lv,Runtime:bL,Property:xu};class EL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:c.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,r){if(i.every(u=>!u.controlId)){r(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mu extends ze{constructor(e){var n,i,r,a,u,l,o,s,f,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oi.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Oi.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Oi.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(d=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?d:[]}}Mu.Rules=EL;class Oi extends je{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Oi.controlEventKeys=["on_click","on_click_finish"],Oi.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class CL extends nt{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var sv={Designer:Oi,Runtime:CL,Property:Mu};class wL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,r){if(i.every(u=>!u.controlId)){r(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $u extends ze{constructor(e){var n,i,r,a,u,l,o,s,f,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ai.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ai.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ai.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(d=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?d:[]}}$u.Rules=wL;class Ai extends je{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return c.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ai.controlEventKeys=["on_click","on_click_finish"],Ai.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class IL extends nt{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var cv={Designer:Ai,Runtime:IL,Property:$u};class TL extends De{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:c.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vu extends ze{constructor(e){var n,i,r,a,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ri.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ri.controlName,this.printTemplates=(a=(r=e==null?void 0:e.printTemplates)==null?void 0:r.map(l=>new Wm(l)))!=null?a:[],this.autoSelectTemplate=(u=e==null?void 0:e.autoSelectTemplate)!=null?u:!1}}Vu.Rules=TL;class Ri extends je{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ri.slots=["grid-table-toolbar-slot"],Ri.controlEventKeys=["on_click","on_click_finish"],Ri.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 SL extends nt{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var dv={Designer:Ri,Runtime:SL,Property:Vu};class oc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Di.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Di.controlIcon}}class Di extends je{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Di.slots=["grid-table-toolbar-slot"],Di.controlEventKeys=["on_click"],Di.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 OL extends nt{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fv={Designer:Di,Runtime:OL,Property:oc};class AL extends De{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")})}}class Uu extends Ne{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.color)!=null?r:"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=(u=e==null?void 0:e.isLoading)!=null?u:!1}}Uu.Rules=AL;class Hu extends re{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Hu.controlEventKeys=["on_click"],Hu.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class RL extends Fe{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var hv={Designer:Hu,Runtime:RL,Property:Uu};class sc extends Ne{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ni.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ni.controlIcon,this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(u=e==null?void 0:e.color)!=null?u:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Ni extends re{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Ni.slots=["grid-table-toolbar-slot"],Ni.controlEventKeys=["on_click"],Ni.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class DL extends Fe{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var mv={Designer:Ni,Runtime:DL,Property:sc},NL=Object.freeze({__proto__:null,Text:Fm,Link:Bm,Button:Lm,Divider:zm,Title:Xm,CreateFormListButton:Jm,BatchSubmissionListButton:Qm,SubmissionRecordListButton:Zm,ExportListButton:Ym,ExportRecordListButton:pm,ImportRecordListButton:ev,FormSelectButton:tv,ListSelectButton:nv,Pagination:rv,Dashboard:uv,ListViewSelect:ov,TextOcrButton:sv,InvoiceCheckButton:cv,BatchPrintListButton:dv,BatchPrintRecordListButton:fv,OperationButton:hv,BatchDeleteButton:mv});class PL extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=gr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class FL extends de{constructor(e){super(e),this.push({type:"string",message:c.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:gr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Pi extends Q{constructor(e){var n,i,r,a,u,l,o;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 Jh(e==null?void 0:e.regularRules),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Fi.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(o=e==null?void 0:e.encryptedMode)!=null?o:""}}Pi.Rules=PL,Pi.RuntimeRules=FL;class Fi extends Z{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Fi.controlFieldType=F.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.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 vv extends ee{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"input"}}vv.controlFieldType=F.VARCHAR;var gv={Designer:Fi,Runtime:vv,Property:Pi};class BL extends hi{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:c.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=r=>r==="unlimited"?void 0:r;this.limitMax.min=i(e.limitMin)}}class LL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Er extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S;super(e),this.options=Bt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(u=e==null?void 0:e.otherOption)!=null?u:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(o=e==null?void 0:e.limitMax)!=null?o:"unlimited",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Cr.controlName,this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:[],this.optionsFormat=(m=e==null?void 0:e.optionsFormat)!=null?m:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(w=>{var D;(D=this.multistageFilling)==null||D.push(new Ye(w))}))}}Er.Rules=BL,Er.RuntimeRules=LL;class Cr extends Z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlName(){return c.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Cr.controlEventKeys=["on_change","on_click"],Cr.controlFieldType=F.ARRAY,Cr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yv extends ee{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}yv.controlFieldType=F.ARRAY;var _v={Designer:Cr,Runtime:yv,Property:Er};class kL extends hi{constructor(e){super(e)}}class ju extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.options=Bt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(u=e==null?void 0:e.optionsOrder)!=null?u:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(o=e==null?void 0:e.optionsFormat)!=null?o:"horizontal",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:wr.controlName,this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}ju.Rules=kL;class wr extends Z{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlName(){return c.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}wr.controlEventKeys=["on_change","on_click"],wr.controlFieldType=F.VARCHAR,wr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bv extends ee{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"radio"}}bv.controlFieldType=F.VARCHAR;var Ev={Designer:wr,Runtime:bv,Property:ju};class xL extends xe{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:c.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=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=gr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ML extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:gr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ir extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S;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=(r=e==null?void 0:e.numberType)!=null?r:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(o=e==null?void 0:e.showUpperCase)!=null?o:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(d=e==null?void 0:e.unit)!=null?d:"",this.caption=(m=e==null?void 0:e.caption)!=null?m:Tr.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:c.getMessage("pleaseEnter"),this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new Jh(e==null?void 0:e.regularRules)}}Ir.Rules=xL,Ir.RuntimeRules=ML;class Tr extends Z{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlName(){return c.getMessage("number")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Tr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Tr.controlFieldType=F.DECIMAL,Tr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_UNIT,h.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:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Cv extends ee{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"number"}}Cv.controlFieldType=F.DECIMAL;var wv={Designer:Tr,Runtime:Cv,Property:Ir};class cc extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Wu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnterDate"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Ou(b)))!=null?f:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(m=e==null?void 0:e.filterWeekend)!=null?m:!1}}class Wu extends Z{constructor(e){super(e),this.props=new cc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Wu.controlFieldType=F.TIMESTAMP,Wu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Iv extends ee{constructor(e){super(e),this.props=new cc(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Iv.controlFieldType=F.TIMESTAMP;var Tv={Designer:Wu,Runtime:Iv,Property:cc};class $L extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class qu extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.dataBind=new mP(e==null?void 0:e.dataBind),this.defaultValue=new vP(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:c.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:c.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Gu.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(b=>new Ou(b)))!=null?m:[]}}qu.RuntimeRules=$L;class Gu extends Z{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Gu.controlFieldType=F.TIMESCOPE,Gu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sv extends ee{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Sv.controlFieldType=F.TIMESCOPE;var Ov={Designer:Gu,Runtime:Sv,Property:qu};class VL extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class UL extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Sr extends Q{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Or.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter"),this.rowHeightSetting=new eP(e==null?void 0:e.rowHeightSetting)}}Sr.Rules=VL,Sr.RuntimeRules=UL;class Or extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Or.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Or.controlFieldType=F.TEXT,Or.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Av extends ee{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Av.controlFieldType=F.TEXT;var Rv={Designer:Or,Runtime:Av,Property:Sr};class HL extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class jL extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ar extends Q{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Rr.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter")}}Ar.Rules=HL,Ar.RuntimeRules=jL;class Rr extends Z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return c.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Rr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Rr.controlFieldType=F.TEXT,Rr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 Dv extends ee{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Dv.controlFieldType=F.TEXT;var Nv={Designer:Rr,Runtime:Dv,Property:Ar};class WL extends hi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ku extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d;super(e),this.options=Bt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:zu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(o=e==null?void 0:e.allowCopyOptions)!=null?o:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new Ye(m))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new di(e==null?void 0:e.formBind)}}Ku.Rules=WL;class zu extends Z{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return c.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}zu.controlFieldType=F.VARCHAR,zu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP,h.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pv extends ee{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"select"}}Pv.controlFieldType=F.VARCHAR;var Fv={Designer:zu,Runtime:Pv,Property:Ku};class qL extends hi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class GL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Dr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.options=Bt((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=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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 Ye(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new di(e==null?void 0:e.formBind)}}Dr.Rules=qL,Dr.RuntimeRules=GL;class Xu extends Z{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Xu.controlFieldType=F.ARRAY,Xu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bv extends ee{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Bv.controlFieldType=F.ARRAY;var Lv={Designer:Xu,Runtime:Bv,Property:Dr};class KL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ju extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Qu.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:c.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new Ye(d))}))}}Ju.RuntimeRules=KL;class Qu extends Z{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qu.controlFieldType=F.EMPLOYEES,Qu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 kv extends ee{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"employee"}}kv.controlFieldType=F.EMPLOYEES;var xv={Designer:Qu,Runtime:kv,Property:Ju};const zL=10485760,XL=104857600,JL=1048576e3;class QL extends xe{constructor(e){super(e),this.maxSize={type:"number",min:0,max:JL,message:c.getMessage("attachmentMaxSize")}}}class ZL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:c.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Bi extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(r=e==null?void 0:e.resultShowType)!=null?r:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(u=e==null?void 0:e.maxLimit)!=null?u:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:XL,this.caption=(s=e==null?void 0:e.caption)!=null?s:Li.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(d=e==null?void 0:e.isShowWatermark)!=null?d:!1,this.watermarkFx=(m=e==null?void 0:e.watermarkFx)!=null?m:{}}}Bi.Rules=QL,Bi.RuntimeRules=ZL;class Li extends Z{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Li.controlEventKeys=["on_change"],Li.controlFieldType=F.FILE,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 dc extends ee{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"attachment"}}dc.controlFieldType=F.FILE;var Mv={Designer:Li,Runtime:dc,Property:Bi};const $v=class extends Li{static get controlName(){return c.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,r;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:$v.controlName,this.props.placeholder=(r=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}};let fc=$v;fc.controlFieldType=F.IMAGE,fc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class YL extends dc{static get controlType(){return"image"}constructor(e){var n,i,r,a,u,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=(r=e==null?void 0:e.props)==null?void 0:r.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(u=e==null?void 0:e.props)==null?void 0:u.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class pL extends Bi{constructor(e){super(e)}}var Vv={Designer:fc,Runtime:YL,Property:pL};class e3 extends hi{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:c.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=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")})}}class t3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[ma($t({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,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=(r=e==null?void 0:e.optionConfig)!=null?r:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:2,this.dataBind=new fP(e==null?void 0:e.dataBind),this.datasourceBind=new He((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Jo({value:"name"})]}),this.defaultValue=new hP((o=e==null?void 0:e.defaultValue)!=null?o:{amount:"",currency:po.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=Bt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:Pr.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseEnter"),this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Nr.Rules=e3,Nr.RuntimeRules=t3;class Pr extends Z{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("amount")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Pr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pr.controlFieldType=F.MONEY,Pr.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.SUBMIT_SELECT_CURRENCY,h.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Uv extends ee{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"amount"}}Uv.controlFieldType=F.MONEY;var Hv={Designer:Pr,Runtime:Uv,Property:Nr};class n3 extends xe{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:c.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:c.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:c.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class i3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Fr extends Q{constructor(e){var n,i,r,a,u,l,o;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:Zs.STAR,this.isShowExplain=(r=e==null?void 0:e.isShowExplain)!=null?r:!0,this.explain=(u=(a=e==null?void 0:e.explain)==null?void 0:a.map(s=>new Au(s)))!=null?u:Array(this.totalScore).fill(void 0).map(()=>new Au),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(o=e==null?void 0:e.caption)!=null?o:Br.controlName}}Fr.Rules=n3,Fr.RuntimeRules=i3;class Br extends Z{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("score")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,r=Array(i).fill(void 0).map(()=>new Au);this.props.explain.push(...r)}}super.postUpdate(e,n)}}Br.controlEventKeys=["on_change","on_click"],Br.controlFieldType=F.DECIMAL,Br.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 jv extends ee{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"score"}}jv.controlFieldType=F.DECIMAL;var Wv={Designer:Br,Runtime:jv,Property:Fr};class r3 extends de{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:c.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:c.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:c.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Zu extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yu.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(r=e==null?void 0:e.addressType)!=null?r:["province","city","district"],this.defaultValue=new gP((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseChooseAddress")}}Zu.RuntimeRules=r3;class Yu extends Z{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Yu.controlFieldType=F.ADDRESS,Yu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class qv extends ee{constructor(e){super(e),this.props=new Zu(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"}}qv.controlFieldType=F.ADDRESS;var Gv={Designer:Yu,Runtime:qv,Property:Zu};class a3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pu extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Lr.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectDept"),this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}pu.RuntimeRules=a3;class Lr extends Z{constructor(e){super(e),this.props=new pu(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Lr.controlName=c.getMessage("department"),Lr.controlFieldType=F.DEPARTMENTS,Lr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 Kv extends ee{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"department"}}Kv.controlFieldType=F.DEPARTMENTS;var zv={Designer:Lr,Runtime:Kv,Property:pu};class hc extends Q{constructor(e){var n,i,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:kr.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:c.getMessage("pleaseEnterAutonumber")}}class kr extends Z{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}kr.controlEventKeys=["on_change"],kr.controlFieldType=F.AUTO_NUMBER,kr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Xv extends ee{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Xv.controlFieldType=F.AUTO_NUMBER;var Jv={Designer:kr,Runtime:Xv,Property:hc};class u3 extends xe{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 l3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:c.getMessage("isNotObject"),fields:{result:[{type:"number",message:c.getMessage("isNotNumber")}],unit:{type:"string",message:c.getMessage("isNotString")}}})}}class xr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(r=e==null?void 0:e.showUpperCase)!=null?r:!1,this.dataBind=new yP(e==null?void 0:e.dataBind),this.defaultValue=new _P(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mr.controlName,this.unitPosition=(u=e==null?void 0:e.unitPosition)!=null?u:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnter"),this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}xr.Rules=u3,xr.RuntimeRules=l3;class Mr extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("calc")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Mr.controlEventKeys=["on_change"],Mr.controlFieldType=F.CALC,Mr.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Qv extends ee{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlType(){return"calc"}}Qv.controlFieldType=F.CALC;var Zv={Designer:Mr,Runtime:Qv,Property:xr};class o3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(c.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class el extends Q{constructor(e){var n,i,r,a,u,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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(u=e==null?void 0:e.placeholderEnd)!=null?u:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:tl.controlName}}el.RuntimeRules=o3;class tl extends Z{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return c.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}tl.controlFieldType=F.DECIMAL_RANGE,tl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yv extends ee{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Yv.controlFieldType=F.DECIMAL_RANGE;var pv={Designer:tl,Runtime:Yv,Property:el};class s3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class nl extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Vt.DATE,this.dateFormat=(r=e==null?void 0:e.dateFormat)!=null?r:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:c.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:c.getMessage("endDate"),this.caption=(d=e==null?void 0:e.caption)!=null?d:il.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(S=>new Ou(S)))!=null?b:[]}}nl.RuntimeRules=s3;class il extends Z{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}il.controlFieldType=F.ARRAY,il.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class eg extends ee{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}eg.controlFieldType=F.ARRAY;var tg={Designer:il,Runtime:eg,Property:nl};class c3 extends xe{constructor(e){super(e),this.dataBind={type:"any"}}}class d3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class $r extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}$r.Rules=c3,$r.RuntimeRules=d3;class ki extends Z{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}ki.controlFieldType=F.ANY,ki.controlEventKeys=[],ki.slots=["grid-table-toolbar-slot",pc.DEFAULT],ki.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.REQUIRED,h.IS_SHOW_CAPTION_TIP,h.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ng extends ee{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ng.controlFieldType=F.ANY;var ig={Designer:ki,Runtime:ng,Property:$r};class f3 extends hi{constructor(e){super(e),this.listPageBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class rl extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m;super(e),this.options=Bt((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Vr.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:c.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(o=e==null?void 0:e.showSelectedDetail)!=null?o:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new di(e==null?void 0:e.formBind),this.optionDisplayConfig=(d=e==null?void 0:e.optionDisplayConfig)!=null?d:[],this.canSearch=(m=e==null?void 0:e.canSearch)!=null?m:!1}}rl.Rules=f3;class Vr extends Z{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("selectRelation")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}Vr.controlFieldType=F.VARCHAR,Vr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Vr.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class rg extends ee{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}rg.controlFieldType=F.VARCHAR;var ag={Designer:Vr,Runtime:rg,Property:rl};class mc extends Pi{constructor(e){super(e)}}class ug extends Fi{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlType(){return"search-input"}}ug.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED]},{key:"super-setting",visible:!0}];class lg extends ee{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}lg.controlFieldType=F.VARCHAR;var og={Designer:ug,Runtime:lg,Property:mc};class h3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],eu.call(this,e,on.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:c.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:c.getMessage("rootNodeIsRequired")}}}])}}class m3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ur extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S,w,D,y,O,_,E;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:c.getMessage("pleaseSelect"),this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(u=e==null?void 0:e.levelType)!=null?u:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(o=e==null?void 0:e.containsSubNode)!=null?o:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(d=e==null?void 0:e.isDefaultCheckSub)!=null?d:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new Gh((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:on.controlCustomAttributes}),this.filterItemDatasourceBind=new Gh((w=e==null?void 0:e.filterItemDatasourceBind)!=null?w:{attributes:on.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(_=(O=e==null?void 0:e.multistageFilling)==null?void 0:O.map(N=>new Ye(N)))!=null?_:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Ur.Rules=h3,Ur.RuntimeRules=m3;class on extends Z{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}static get controlName(){return c.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=F.ARRAY,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.CAN_SEARCH,h.DEFAULT_DISPLAY,h.CONTAINS_SUB_NODE,h.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sg extends ee{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}static get controlType(){return"tree"}}sg.controlFieldType=F.ARRAY;var cg={Designer:on,Runtime:sg,Property:Ur};class v3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.externalScope={type:"any"},eu.call(this,e,xi.controlCustomAttributes),e.externalType===ln.ASSIGN&&(this.externalScope={type:"array",required:!0,message:c.getMessage("pleaseAssignExternal")})}}class g3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S,w;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=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:xi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:c.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Qa((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:xi.controlCustomAttributes}),this.datasourceType=(d=e==null?void 0:e.datasourceType)!=null?d:tc.INTERNAL,this.insideType=(m=e==null?void 0:e.insideType)!=null?m:nc.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:ln.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],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(D=>{var y;(y=this.multistageFilling)==null||y.push(new Ye(D))}))}}Hr.Rules=v3,Hr.RuntimeRules=g3;class xi extends Z{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}xi.controlFieldType=F.EMPLOYEES,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 dg extends ee{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlType(){return"employee2"}}dg.controlFieldType=F.EMPLOYEES;var fg={Designer:xi,Runtime:dg,Property:Hr};class y3 extends xe{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:c.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,r)=>(n[r]={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:c.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,u,l){if(i.type==="public"&&Uo(u.value)&&u.value.length===0){l(c.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(a,u,l){if(i.type==="public"&&i.signatureType.includes("company")&&Uo(u.value)&&u.value.length===0){l(c.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class al extends Q{constructor(e){var n,i,r,a,u,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:jr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Mm(e==null?void 0:e.signatureConfig)}}al.Rules=y3;class jr extends Z{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return c.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}jr.controlEventKeys=["on_click","on_click_finish"],jr.controlFieldType=F.VARCHAR,jr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.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 hg extends ee{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}hg.controlFieldType=F.VARCHAR;var mg={Designer:jr,Runtime:hg,Property:al};class _3 extends xe{constructor(e){super(e),this.content={type:"string",required:!0,message:c.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(c.getMessage("pleaseEnterWatermark"));return}r()}},autoRename:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(c.getMessage("pleaseEnterFileName"));return}r()}}}},this.canAdd={type:"boolean",validator(n,i,r){if(e.canAdd&&!e.addLocal&&!e.addOnline){r(c.getMessage("pleaseChooseAtLeastOne"));return}r()}}}}class b3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(r=e==null?void 0:e.canAdd)!=null?r:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(u=e==null?void 0:e.addOnline)!=null?u:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(o=e==null?void 0:e.canDownload)!=null?o:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:zL,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.wpsSetting=new $m(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}Wr.Rules=_3,Wr.RuntimeRules=b3;class qr extends Z{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}qr.controlEventKeys=["on_change","on_wps_open"],qr.controlFieldType=F.FILE,qr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.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 vg extends ee{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlType(){return"wps"}}vg.controlFieldType=F.FILE;var gg={Designer:qr,Runtime:vg,Property:Wr};class E3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Rn.controlCustomAttributes),e.businessType===ln.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class C3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Gr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S,w,D;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=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectDept"),this.datasourceBind=new Qa((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Rn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ru.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:ln.ALL,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(y=>{var O;(O=this.multistageFilling)==null||O.push(new Ye(y))}))}}Gr.Rules=E3,Gr.RuntimeRules=C3;class Rn extends Z{constructor(e){super(e),this.props=new Gr(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Rn.controlName=c.getMessage("department"),Rn.controlFieldType=F.DEPARTMENTS,Rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 yg extends ee{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlType(){return"department2"}}yg.controlFieldType=F.DEPARTMENTS;var _g={Designer:Rn,Runtime:yg,Property:Gr};class w3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Mi.controlCustomAttributes),e.businessType===ln.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class I3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Kr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b,S,w,D,y,O,_;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=(r=e==null?void 0:e.range)!=null?r:"all",this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Mi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectOrg"),this.datasourceBind=new cP((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Mi.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ru.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:ln.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(O=e==null?void 0:e.showSelectedDetail)!=null?O:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var N;(N=this.multistageFilling)==null||N.push(new Ye(E))}))}}Kr.Rules=w3,Kr.RuntimeRules=I3;class Mi extends Z{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("organizationSelection")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Mi.controlFieldType=F.DEPARTMENTS,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 bg extends ee{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}bg.controlFieldType=F.DEPARTMENTS;var Eg={Designer:Mi,Runtime:bg,Property:Kr};class T3 extends xe{constructor(e){super(e),this.dataBind={type:"any"}}}class S3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class zr extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xr.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}zr.Rules=T3,zr.RuntimeRules=S3;class Xr extends Z{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return H.VUE_PAGE}}Xr.controlFieldType=F.ANY,Xr.controlEventKeys=[],Xr.setting=[];class Cg extends ee{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}static get controlType(){return H.VUE_PAGE}}Cg.controlFieldType=F.ANY;var wg={Designer:Xr,Runtime:Cg,Property:zr},O3=Object.freeze({__proto__:null,Input:gv,Checkbox:_v,Radio:Ev,Number:wv,DatePicker:Tv,DateRange:Ov,Textarea:Rv,RichText:Nv,Select:Fv,SelectMultiple:Lv,Employee:xv,Image:Vv,Attachment:Mv,Amount:Hv,Score:Wv,Address:Gv,Department:zv,AutoNumber:Jv,Calc:Zv,SearchNumberRange:pv,SearchDateRange:tg,VueFormItem:ig,SelectRelation:ag,SearchInput:og,Tree:cg,Employee2:fg,ElectronicSignature:mg,WPS:gg,Department2:_g,OrganizationSelection:Eg,VuePage:wg});class Ig extends _e{static get controlName(){return c.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ig.excludes=[H.GRID];class A3 extends we{static get controlType(){return"grid"}constructor(e){super(e)}}var Tg={Designer:Ig,Runtime:A3,Property:ve};const R3=24;class Dn extends ve{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:R3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Jr extends _e{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Jr.excludes=[H.COL,H.SUBTABLE,H.SUBTABLE_COLUMN,H.GRID_LAYOUT_CONTAINER,H.DIVIDER],Jr.childrenMaxLength=1;class vc extends we{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"col"}}var Sg={Designer:Jr,Runtime:vc,Property:Dn};class ul extends ve{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 ll extends _e{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return c.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ll.excludes=[H.ROW],ll.setting=[{key:"col-setting",visible:!0}];class Og extends we{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ag={Designer:ll,Runtime:Og,Property:ul};const D3=4;class ol extends ll{static get controlName(){return c.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}ol.excludes=[H.GRID_ROW],ol.setting=[],ol.childrenMaxLength=D3;class N3 extends Og{static get controlType(){return"grid-row"}constructor(e){super(e)}}class P3 extends ul{constructor(e){super(e)}}var Rg={Designer:ol,Runtime:N3,Property:P3};class F3 extends ve.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class sl extends ve{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(r=e==null?void 0:e.collapse)!=null?r:"none"}}sl.Rules=F3;class gc extends _e{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}gc.setting=[{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],gc.excludes=[H.CARD_GROUP];class B3 extends we{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Dg={Designer:gc,Runtime:B3,Property:sl};class L3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class cl extends ve{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.metaAutoWidth=new tP(e==null?void 0:e.metaAutoWidth)}}cl.Rules=L3;class gt extends _e{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}gt.controlName=c.getMessage("subtableColumn"),gt.controlType="subtable-column",gt.controlIcon="subtable-column",gt.childrenMaxLength=1,gt.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],gt.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",showItems:[h.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ng extends we{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}Ng.controlType="subtable-column";var Pg={Designer:gt,Runtime:Ng,Property:cl};class yc extends ve{constructor(e){super(e)}}class Nn extends _e{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}}Nn.controlName=c.getMessage("subtableRow"),Nn.controlType="subtable-row",Nn.controlIcon="subtable-row",Nn.childrenMaxLength=1,Nn.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.SUBTABLE_ROW,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Nn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0}];class k3 extends we{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Fg={Designer:Nn,Runtime:k3,Property:yc};class _c extends ve{constructor(e){var n,i,r,a,u,l,o,s,f,d;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=(r=e==null?void 0:e.fixed)!=null?r:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(u=e==null?void 0:e.fieldType)!=null?u:F.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.textCleanFormart=(o=e==null?void 0:e.textCleanFormart)!=null?o:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Vt.DATE,this.departmentDisplayLevel=(d=e==null?void 0:e.departmentDisplayLevel)!=null?d:1}}class Pn extends _e{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}}Pn.controlName="\u5217\u8868\u5355\u5143\u683C",Pn.controlType="gridtable-column",Pn.controlIcon="gridtable-column",Pn.childrenMaxLength=1,Pn.excludes=[H.GRID_TABLE,H.GRID_TABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Pn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Bg extends we{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}}Bg.controlType="gridtable-column";var Lg={Designer:Pn,Runtime:Bg,Property:_c};class bc extends ve{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class Ec extends _e{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Ec.excludes=[H.GRID_LAYOUT_CONTAINER,H.CARD_GROUP,H.TAB],Ec.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class x3 extends we{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var kg={Designer:Ec,Runtime:x3,Property:bc};class Cc extends ve{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class M3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class dl extends ve{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Zr.controlName}}dl.Rules=M3;class Qr extends _e{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Qr.excludes=[H.TAB],Qr.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class $3 extends we{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var xg={Designer:Qr,Runtime:$3,Property:dl};class Zr extends _e{constructor(e){var n;super(e),this.props=new Cc(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Qr,new Qr]}static get controlName(){return c.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Zr.excludes=[H.TAB],Zr.controlEventKeys=["on_change_tab"],Zr.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class V3 extends we{constructor(e){super(e),this.props=new Cc(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Mg={Designer:Zr,Runtime:V3,Property:Cc};class $g extends ve{constructor(e){super(e)}}class Vg extends _e{constructor(e){super(e),this.props=new $g({}),this.children=(e==null?void 0:e.children)||[new Jr({props:new Dn({span:12})}),new Jr({props:new Dn({span:12})})]}static get controlName(){return c.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Vg.excludes=[H.GRID_ROW,H.ROW,H.GRID,H.SUBTABLE,H.TAB,H.TOOLBOX];class U3 extends we{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new vc({props:new Dn({span:12})}),new vc({props:new Dn({span:12})})]}}var Ug={Designer:Vg,Runtime:U3,Property:$g};class H3 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class j3 extends De{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),fs.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 Yr extends ve{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b;super(e),this.datasourceBind=new He(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=(r=e==null?void 0:e.triggerType)!=null?r:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new uP(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(u=e==null?void 0:e.isShowJoinRelation)!=null?u:!1,this.joinRelation=new oP(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!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,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new TP(e==null?void 0:e.rowStyle)}}Yr.Rules=j3,Yr.RuntimeRules=H3;class pr extends _e{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}pr.slotPosition={left:"list-view-left-slot"},pr.excludes=[H.ROW],pr.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"],pr.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class W3 extends we{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Hg={Designer:pr,Runtime:W3,Property:Yr};class q3 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fl extends ve{constructor(e){var n,i,r,a,u,l;super(e),this.save=new pt((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new pt((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new pt((r=e==null?void 0:e.saveAs)!=null?r:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new pt((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(o=>new pt(o)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind)}}fl.RuntimeRules=q3;class jg extends _e{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dataView")}static get controlType(){return"data-view"}}jg.excludes=[];class G3 extends we{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Wg={Designer:jg,Runtime:G3,Property:fl};class K3 extends _e{static get controlName(){return c.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class z3 extends we{static get controlType(){return"page"}constructor(e){super(e)}}class X3 extends ve{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 qg={Designer:K3,Runtime:z3,Property:X3};class J3 extends _e{static get controlName(){return c.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Q3 extends we{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Z3 extends ve{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new qm(e==null?void 0:e.flexConfig)}}var Gg={Designer:J3,Runtime:Q3,Property:Z3};class Y3 extends _e{static get controlName(){return c.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class p3 extends we{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class e1 extends ve{constructor(e){super(e)}}var Kg={Designer:Y3,Runtime:p3,Property:e1};class t1 extends _e{static get controlName(){return c.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class n1 extends we{static get controlType(){return"position"}constructor(e){super(e)}}class i1 extends ve{constructor(e){var n,i,r,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=(r=e==null?void 0:e.left)!=null?r:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var zg={Designer:t1,Runtime:n1,Property:i1};class wc extends ve{constructor(e){var n,i,r;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(r=e==null?void 0:e.align)!=null?r:"right"}}class hl extends _e{constructor(e){var n;super(e),this.props=new wc((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return c.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}hl.slotPosition={default:"action-bar-slot"},hl.excludes=[],hl.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class r1 extends we{constructor(e){var n;super(e),this.props=new wc((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Xg={Designer:hl,Runtime:r1,Property:wc},a1=Object.freeze({__proto__:null,Grid:Tg,Col:Sg,Row:Ag,GridRow:Rg,CardGroup:Dg,SubTableColumn:Pg,SubTableRow:Fg,GridTableColumn:Lg,GridLayoutContainer:kg,Tab:Mg,TabPane:xg,Toolbox:Ug,ListView:Hg,DataView:Wg,Page:qg,AdvancedContainer:Gg,PositioningContainer:Kg,Position:zg,ActionBar:Xg});class u1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:c.getMessage("isNotNumber")},{type:"number",min:0,message:c.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:c.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:c.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:c.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class l1 extends On{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:c.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,r){i.length<e.limitRows&&r(c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),r()},message:c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Jg=class extends fu{constructor(t,e){var n,i,r,a,u,l,o,s,f,d,m,b,S,w,D,y,O,_,E,N,R,T,B,L,z,ke,W,ge,Xe,cn,it,dn,fn;super(t,e,Jg.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:ta.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(u=e==null?void 0:e.openType)!=null?u:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(o=e==null?void 0:e.useCustomHeight)!=null?o:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:jm,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(d=e==null?void 0:e.limitRows)!=null?d:1,this.maxRows=(m=e==null?void 0:e.maxRows)!=null?m:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(w=e==null?void 0:e.canDelete)!=null?w:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(y=e==null?void 0:e.canEdit)!=null?y:!1,this.canImport=(O=e==null?void 0:e.canImport)!=null?O:!1,this.canExport=(_=e==null?void 0:e.canExport)!=null?_:!1,this.canClear=(E=e==null?void 0:e.canClear)!=null?E:!0,this.serverPagination=(N=e==null?void 0:e.serverPagination)!=null?N:!1,this.isShowCaptionTip=(R=e==null?void 0:e.isShowCaptionTip)!=null?R:!1,this.captionTip=(T=e==null?void 0:e.captionTip)!=null?T:"",this.mobileShowType=(B=e==null?void 0:e.mobileShowType)!=null?B:"list",this.mobileDefaultNum=(L=e==null?void 0:e.mobileDefaultNum)!=null?L:10,this.dataStorageDoc=(z=e==null?void 0:e.dataStorageDoc)!=null?z:new nP,this.fixedColumn=(ke=e==null?void 0:e.fixedColumn)!=null?ke:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:"\u660E\u7EC6",this.mobileIsTile=(ge=e==null?void 0:e.mobileIsTile)!=null?ge:!1,this.isPaste=(Xe=e==null?void 0:e.isPaste)!=null?Xe:!1,this.pageSize=(cn=e==null?void 0:e.pageSize)!=null?cn:10,this.pageSizeOptions=(it=e==null?void 0:e.pageSizeOptions)!=null?it:[10,20,50,100],this.importConfig=new Um(e==null?void 0:e.importConfig),this.exportConfig=new Hm(e==null?void 0:e.exportConfig),this.sortable=(dn=e==null?void 0:e.sortable)!=null?dn:!1,this.sortKey=(fn=e==null?void 0:e.sortKey)!=null?fn:{}}};let ea=Jg;ea.Rules=u1,ea.RuntimeRules=l1;class ta extends Os{constructor(e){var n;super(e),this.props=new ea(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 gt,new gt,new gt])}static get controlName(){return c.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new gt,r=typeof e=="number"?e:n;return r===void 0?this.props.headers.push(i):this.props.headers.splice(r,0,i),i}}ta.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],ta.slotPosition={toolbar:"subtable-toolbar-slot"},ta.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.IS_PASTE,h.SERVER_PAGINATION,h.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class o1 extends Im{constructor(e){super(e),this.props=new ea(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}}var Qg={Designer:ta,Runtime:o1,Property:ea};class Ic extends fu{constructor(e,n){var i,r,a,u,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(r=n==null?void 0:n.isShowToolbar)!=null?r:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(u=n==null?void 0:n.isShowCustomColumns)!=null?u:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class s1 extends St{constructor(e){super(e),this.caption.required=!1}}class ml extends Ie{constructor(e){var n,i,r,a,u,l,o,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Fn.controlName,this.width=(r=e==null?void 0:e.width)!=null?r:60,this.autoWidth.minWidth=(u=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?u:60,this.autoWidth.flex=(o=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?o:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}ml.Rules=s1;class Fn extends $e{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Fn.controlType="order-column",Fn.controlName=c.getMessage("order"),Fn.controlIcon="order-column",Fn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class Tc extends Ve{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Tc.controlType="order-column",Tc.controlFieldType=F.DECIMAL;var Zg={Designer:Fn,Runtime:Tc,Property:ml};class Sc extends Ie{constructor(e){var n,i,r,a,u,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(r=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?r:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:xt.controlName,this.showType=(u=e==null?void 0:e.showType)!=null?u:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class xt extends $e{constructor(e){super(e),this.props=new Sc(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Hu.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Jn(this,null,function*(){return yield Xc(xt.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}xt.controlType="operation-column",xt.controlName=c.getMessage("operation"),xt.controlIcon="operation-column",xt.setting=[{key:"caption",showItems:[h.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 Oc extends Ve{constructor(e){super(e),this.props=new Sc(e==null?void 0:e.props)}}Oc.controlType="operation-column",Oc.controlFieldType=F.FILE;var Yg={Designer:xt,Runtime:Oc,Property:Sc};const c1=1e4;class Bn extends Os{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ic(this,e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Fn,new xt]),this.excludes=ht(n),this.childrenMaxLength=i}static get controlName(){return c.getMessage("gridTable")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return ma($t({},e),{children:n})}validate(e,n){return Jn(this,null,function*(){return yield Xc(Bn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Bn.slotPosition={toolbar:"grid-table-toolbar-slot"},Bn.setting=[{key:"list-fixed-header",visible:!0}],Bn.excludes=[],Bn.childrenMaxLength=c1;class d1 extends Im{constructor(e){super(e),this.props=new Ic(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var pg={Designer:Bn,Runtime:d1,Property:Ic},f1=Object.freeze({__proto__:null,SubTable:Qg,GridTable:pg});class h1 extends Tm{constructor(e){super(e),an.call(this,e)}}class vl extends Ie{constructor(e){var n,i,r,a,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Bt((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}vl.Rules=h1;class Ln extends $e{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Ln.controlType="varchar-column",Ln.controlName=c.getMessage("varchar"),Ln.controlIcon="varchar-column",Ln.controlFieldType=F.VARCHAR,Ln.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Ac extends Ve{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Ac.controlType="varchar-column",Ac.controlFieldType=F.VARCHAR;var ey={Designer:Ln,Runtime:Ac,Property:vl};class m1 extends St{constructor(e){super(e),an.call(this,e)}}class gl extends Ie{constructor(e){var n,i,r,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:kn.controlName,this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}gl.Rules=m1;class kn extends $e{constructor(e){super(e),this.props=new gl(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}}kn.controlType="text-column",kn.controlName=c.getMessage("long"),kn.controlIcon="text-column",kn.controlFieldType=F.TEXT,kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Rc extends Ve{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}Rc.controlType="text-column",Rc.controlFieldType=F.TEXT;var ty={Designer:kn,Runtime:Rc,Property:gl};class v1 extends St{constructor(e){super(e),an.call(this,e)}}class yl extends Ie{constructor(e){var n,i,r,a,u,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Bt((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(o=e==null?void 0:e.showLinkOperation)!=null?o:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}yl.Rules=v1;class xn extends $e{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}xn.controlType="decimal-column",xn.controlName=c.getMessage("decimal"),xn.controlIcon="decimal-column",xn.controlFieldType=F.DECIMAL,xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[h.MICROMETER,h.PRECISION,h.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Dc extends Ve{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Dc.controlType="decimal-column",Dc.controlFieldType=F.DECIMAL;var ny={Designer:xn,Runtime:Dc,Property:yl};class g1 extends St{constructor(e){super(e),an.call(this,e)}}class _l extends Ie{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:Mn.controlName}}_l.Rules=g1;class Mn extends $e{constructor(e){super(e),this.props=new _l(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}}Mn.controlType="timescope-column",Mn.controlName=c.getMessage("timescope"),Mn.controlIcon="timescope-column",Mn.controlFieldType=F.TIMESCOPE,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Nc extends Ve{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Nc.controlType="timescope-column",Nc.controlFieldType=F.TIMESCOPE;var iy={Designer:Mn,Runtime:Nc,Property:_l};class y1 extends St{constructor(e){super(e),an.call(this,e)}}class bl extends Ie{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:$n.controlName}}bl.Rules=y1;class $n extends $e{constructor(e){super(e),this.props=new bl(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}}$n.controlType="timestamp-column",$n.controlName=c.getMessage("timestamp"),$n.controlIcon="timestamp-column",$n.controlFieldType=F.TIMESTAMP,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Pc extends Ve{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Pc.controlType="timestamp-column",Pc.controlFieldType=F.TIMESTAMP;var ry={Designer:$n,Runtime:Pc,Property:bl};class _1 extends Tm{constructor(e){super(e),an.call(this,e)}}class El extends Ie{constructor(e){var n,i,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.options=Bt((a=e==null?void 0:e.options)!=null?a:[{}])}}El.Rules=_1;class Vn extends $e{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Vn.controlType="array-column",Vn.controlName=c.getMessage("array"),Vn.controlIcon="array-column",Vn.controlFieldType=F.ARRAY,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Fc extends Ve{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Fc.controlType="array-column",Fc.controlFieldType=F.ARRAY;var ay={Designer:Vn,Runtime:Fc,Property:El};class Bc extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Un extends $e{constructor(e){super(e),this.props=new Bc(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}}Un.controlType="department-column",Un.controlName=c.getMessage("department"),Un.controlIcon="department-column",Un.controlFieldType=F.DEPARTMENTS,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Lc extends Ve{constructor(e){super(e),this.props=new Bc(e==null?void 0:e.props)}}Lc.controlType="department-column",Lc.controlFieldType=F.DEPARTMENTS;var uy={Designer:Un,Runtime:Lc,Property:Bc};class b1 extends St{constructor(e){super(e),an.call(this,e)}}class Cl extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}Cl.Rules=b1;class Hn extends $e{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}Hn.controlType="auto-number-column",Hn.controlName=c.getMessage("autoNumber"),Hn.controlIcon="auto-number-column",Hn.controlFieldType=F.AUTO_NUMBER,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class kc extends Ve{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}kc.controlType="auto-number-column",kc.controlFieldType=F.AUTO_NUMBER;var ly={Designer:Hn,Runtime:kc,Property:Cl};class xc extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jn.controlName}}class jn extends $e{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}jn.controlType="file-column",jn.controlName=c.getMessage("file"),jn.controlIcon="file-column",jn.controlFieldType=F.FILE,jn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Mc extends Ve{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}Mc.controlType="file-column",Mc.controlFieldType=F.FILE;var oy={Designer:jn,Runtime:Mc,Property:xc};class $c extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wn.controlName}}class Wn extends $e{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Wn.controlType="image-column",Wn.controlName=c.getMessage("image"),Wn.controlIcon="image-column",Wn.controlFieldType=F.IMAGE,Wn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Vc extends Ve{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Vc.controlType="image-column",Vc.controlFieldType=F.IMAGE;var sy={Designer:Wn,Runtime:Vc,Property:$c};class Uc extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}class qn extends $e{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}qn.controlType="people-column",qn.controlName=c.getMessage("people"),qn.controlIcon="people-column",qn.controlFieldType=F.EMPLOYEES,qn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Hc extends Ve{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}Hc.controlType="people-column",Hc.controlFieldType=F.EMPLOYEES;var cy={Designer:qn,Runtime:Hc,Property:Uc};class E1 extends St{constructor(e){super(e),an.call(this,e)}}class wl extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}wl.Rules=E1;class Gn extends $e{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Gn.controlType="location-column",Gn.controlName=c.getMessage("location"),Gn.controlIcon="location-column",Gn.controlFieldType=F.ADDRESS,Gn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class jc extends Ve{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}jc.controlType="location-column",jc.controlFieldType=F.ADDRESS;var dy={Designer:Gn,Runtime:jc,Property:wl};class C1 extends St{constructor(e){super(e),this.sortFieldCode={type:"string",message:c.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Il extends Ie{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mt.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(r=e==null?void 0:e.sortFieldCode)!=null?r:""}}Il.Rules=C1;const w1=1;class Mt extends $e{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Il(e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ht(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}}Mt.controlType="custom-column",Mt.controlName=c.getMessage("custom"),Mt.controlIcon="custom-column",Mt.slots=["column-column-slot"],Mt.excludes=[],Mt.childrenMaxLength=w1,Mt.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class fy extends Ve{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}fy.controlType="custom-column";var hy={Designer:Mt,Runtime:fy,Property:Il};class Wc extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.datasourceBind=new Qa((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:sn.controlCustomAttributes})}}class sn extends $e{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}sn.controlType="employee-column",sn.controlName=c.getMessage("employee"),sn.controlIcon="employee-column",sn.controlFieldType=F.EMPLOYEES,sn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class qc extends Ve{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}}qc.controlType="employee-column",qc.controlFieldType=F.EMPLOYEES;var my={Designer:sn,Runtime:qc,Property:Wc};class Gc extends Ie{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}class Kn extends $e{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}}Kn.controlType="approval-status-column",Kn.controlName=c.getMessage("approvalStatusColumn"),Kn.controlIcon="approval-status-column",Kn.excludes=[],Kn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class vy extends Ve{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}}vy.controlType="approval-status-column";var gy={Designer:Kn,Runtime:vy,Property:Gc},I1=Object.freeze({__proto__:null,VarcharColumn:ey,TextColumn:ty,DecimalColumn:ny,TimescopeColumn:iy,TimestampColumn:ry,ArrayColumn:ay,DepartmentColumn:uy,AutoNumberColumn:ly,FileColumn:oy,ImageColumn:sy,PeopleColumn:cy,LocationColumn:dy,CustomColumn:hy,OrderColumn:Zg,OperationColumn:Yg,EmployeeColumn:my,ApprovalStatusColumn:gy});class T1 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Tl extends Ms{constructor(e){var n,i,r,a,u,l,o,s,f,d,m,b;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=(r=e==null?void 0:e.viewType)!=null?r:"mini",this.search=new pt((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new pt((u=e==null?void 0:e.cancel)!=null?u:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(S=>new pt(S)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(d=e==null?void 0:e.colGap)!=null?d:24,this.viewConfig=(m=e==null?void 0:e.viewConfig)!=null?m:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}Tl.RuntimeRules=T1;class Sl extends EB{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Sl.controlType="simple-search",Sl.slotPosition={default:"search"},Sl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"search-view-type",visible:!0}];class yy extends AB{constructor(e){var n;super(e),this.props=new Tl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}yy.controlType="simple-search";var _y={Designer:Sl,Runtime:yy,Property:Tl},S1=Object.freeze({__proto__:null,SimpleSearch:_y});class Kc extends Ws{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class O1 extends HB{constructor(e){super(e),this.props=new Kc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class A1 extends XB{constructor(e){super(e),this.props=new Kc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function j1(t){return t}var R1={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:c.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},by={Designer:O1,Runtime:A1,Property:Kc,Setting:R1},D1=Object.freeze({__proto__:null,GridLayoutWrap:by});I.ActionBar=Xg,I.Address=Gv,I.AdvancedContainer=Gg,I.Amount=Hv,I.ApprovalStatusColumn=gy,I.ArrayColumn=ay,I.AssignType=ln,I.Attachment=Mv,I.AutoNumber=Jv,I.AutoNumberColumn=ly,I.BatchDeleteButton=mv,I.BatchPrintListButton=dv,I.BatchPrintRecordListButton=fv,I.BatchSubmissionListButton=Qm,I.Button=Lm,I.Calc=Zv,I.CardGroup=Dg,I.Checkbox=_v,I.Col=Sg,I.CreateFormListButton=Jm,I.CustomColumn=hy,I.DATE_CONFIG_TYPE=km,I.DATE_LIMIT_TYPE=xm,I.Dashboard=uv,I.DataView=Wg,I.DatePicker=Tv,I.DateRange=Ov,I.DecimalColumn=ny,I.Department=zv,I.Department2=_g,I.DepartmentColumn=uy,I.DepartmentType=Ru,I.Divider=zm,I.ElectronicSignature=mg,I.ElectronicSignatureConfig=Mm,I.Employee=xv,I.Employee2=fg,I.EmployeeColumn=my,I.EncryptTypeEnum=Gm,I.Explain=Au,I.ExportConfig=Hm,I.ExportListButton=Ym,I.ExportRecordListButton=pm,I.ExportTemplate=vr,I.FileColumn=oy,I.FlexStyleConfig=qm,I.FormSelectButton=tv,I.Grid=Tg,I.GridLayoutContainer=kg,I.GridLayoutWrap=by,I.GridRow=Rg,I.GridTable=pg,I.GridTableColumn=Lg,I.Image=Vv,I.ImageColumn=sy,I.ImportConfig=Um,I.ImportListBind=Vm,I.ImportRecordListButton=ev,I.Input=gv,I.InternalType=nc,I.InvoiceCheckButton=cv,I.LINE_STYLE=Ys,I.LimitDate=Ou,I.Link=Bm,I.ListSelectButton=nv,I.ListView=Hg,I.ListViewSelect=ov,I.LocationColumn=dy,I.Number=wv,I.OperationButton=hv,I.OperationColumn=Yg,I.OrderColumn=Zg,I.OrganizationSelection=Eg,I.OrganizeType=tc,I.Page=qg,I.Pagination=rv,I.PeopleColumn=cy,I.Position=zg,I.PositioningContainer=Kg,I.PrintTemplate=Wm,I.Radio=Ev,I.RichText=Nv,I.Row=Ag,I.SCORE_TYPE=Zs,I.SUBTABLE_DEFAULT_MAX_HEIGHT=jm,I.Score=Wv,I.SearchDateRange=tg,I.SearchInput=og,I.SearchNumberRange=pv,I.Select=Fv,I.SelectMultiple=Lv,I.SelectRelation=ag,I.SimpleSearch=_y,I.SubTable=Qg,I.SubTableColumn=Pg,I.SubTableRow=Fg,I.SubmissionRecordListButton=Zm,I.Tab=Mg,I.TabPane=xg,I.Text=Fm,I.TextColumn=ty,I.TextOcrButton=sv,I.Textarea=Rv,I.TimescopeColumn=iy,I.TimestampColumn=ry,I.Title=Xm,I.TitleConfigEnum=un,I.Toolbox=Ug,I.Tree=cg,I.UndersignedPerson=ps,I.VarcharColumn=ey,I.VueFormItem=ig,I.VuePage=wg,I.WPS=gg,I.WPSSetting=$m,I.WpsOperationItem=ec,I.baseControls=NL,I.columnControls=I1,I.formControls=O3,I.initExpression=gr,I.layoutControls=a1,I.listControls=f1,I.searchControls=S1,I.wrapControls=D1,Object.defineProperty(I,"__esModule",{value:!0})});