agentworkshop 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1799) hide show
  1. package/.AgentWorkShop/prompts/host-tools.en.json +196 -68
  2. package/.AgentWorkShop/prompts/host-tools.json +5 -5
  3. package/.output/.AgentWorkShop/aml-python/train-example.py +92 -92
  4. package/.output/.AgentWorkShop/prompts/host-tools.en.json +196 -68
  5. package/.output/.AgentWorkShop/prompts/host-tools.json +5 -5
  6. package/.output/nitro.json +1 -1
  7. package/.output/public/_nuxt/9Kt-rxrm.js +1 -0
  8. package/.output/public/_nuxt/ATAvN55g.js +1 -0
  9. package/.output/public/_nuxt/B3GEA4IW.js +1 -0
  10. package/.output/public/_nuxt/B9qIhT7k2.js +1 -0
  11. package/.output/public/_nuxt/BBTI9r9T2.js +1 -0
  12. package/.output/public/_nuxt/BE9oKpOt.js +1 -0
  13. package/.output/public/_nuxt/BHOjkDAJ.js +21 -0
  14. package/.output/public/_nuxt/BTaGYNZF2.js +1 -0
  15. package/.output/public/_nuxt/BXUDD9fv.js +1 -0
  16. package/.output/public/_nuxt/BXbZ_hei.js +1 -0
  17. package/.output/public/_nuxt/BaGy_jAI2.js +1 -0
  18. package/.output/public/_nuxt/BdfAuX81.js +1 -0
  19. package/.output/public/_nuxt/Buj_DMJ-.js +1 -0
  20. package/.output/public/_nuxt/Bv7dyPx4.js +1 -0
  21. package/.output/public/_nuxt/BvjY-Xks.js +1 -0
  22. package/.output/public/_nuxt/BxC9PAu-2.js +1 -0
  23. package/.output/public/_nuxt/Bzfzp9-f.js +1 -0
  24. package/.output/public/_nuxt/CT4bi_Y4.js +1 -0
  25. package/.output/public/_nuxt/CWcaJnFp.js +1 -0
  26. package/.output/public/_nuxt/CYLe9LKr.js +1 -0
  27. package/.output/public/_nuxt/CeCSjB9O2.js +1 -0
  28. package/.output/public/_nuxt/CnoJJb7B.js +1 -0
  29. package/.output/public/_nuxt/Crf8_Ad02.js +1 -0
  30. package/.output/public/_nuxt/CtMTOx_-2.js +1 -0
  31. package/.output/public/_nuxt/Cv9OcYm3.js +1 -0
  32. package/.output/public/_nuxt/CxIF09Zj2.js +1 -0
  33. package/.output/public/_nuxt/CxR0TyUA.js +1 -0
  34. package/.output/public/_nuxt/D9tNM-1a.js +9 -0
  35. package/.output/public/_nuxt/DL8QM0x5.js +1 -0
  36. package/.output/public/_nuxt/DO9Y3eoU.js +20 -0
  37. package/.output/public/_nuxt/DQLBGo6O.js +1 -0
  38. package/.output/public/_nuxt/DSqQKrMK2.js +1 -0
  39. package/.output/public/_nuxt/DXc4yISs.js +47 -0
  40. package/.output/public/_nuxt/DXmEuVFQ2.js +1 -0
  41. package/.output/public/_nuxt/DeXAMdSa2.js +1 -0
  42. package/.output/public/_nuxt/DjjOAXrj2.js +1 -0
  43. package/.output/public/_nuxt/DkRozlDP2.js +1 -0
  44. package/.output/public/_nuxt/DvI5fMX12.js +1 -0
  45. package/.output/public/_nuxt/DzWyfYJ12.js +2 -0
  46. package/.output/public/_nuxt/EXs4hr_w2.js +2 -0
  47. package/.output/public/_nuxt/LS9Wa05P.js +1 -0
  48. package/.output/public/_nuxt/MmlCf-EZ.js +1 -0
  49. package/.output/public/_nuxt/OmpTerminalPanel.DMWgGwDs.css +1 -0
  50. package/.output/public/_nuxt/PluginSlot.BqBzLD4T.css +1 -0
  51. package/.output/public/_nuxt/TownView.DQaU1HuK.css +1 -0
  52. package/.output/public/_nuxt/TugRY_4O.js +1 -0
  53. package/.output/public/_nuxt/UgCvr7b2.js +1 -0
  54. package/.output/public/_nuxt/WCG1-KXf2.js +16 -0
  55. package/.output/public/_nuxt/WybiLTow2.js +8 -0
  56. package/.output/public/_nuxt/YWsTLN5m.js +1 -0
  57. package/.output/public/_nuxt/Zn0BZpf0.js +3 -0
  58. package/.output/public/_nuxt/_id_.Be5JaH-P.css +1 -0
  59. package/.output/public/_nuxt/_wsId_.DSOfdfx2.css +1 -0
  60. package/.output/public/_nuxt/agents.CRomddYR.css +1 -0
  61. package/.output/public/_nuxt/aml.DgOMpDpv.css +1 -0
  62. package/.output/public/_nuxt/builds/latest.json +1 -1
  63. package/.output/public/_nuxt/builds/meta/02ba4bc7-f353-4183-a619-716921b5f0dc.json +1 -0
  64. package/.output/public/_nuxt/default.CpAx70gC.css +1 -0
  65. package/.output/public/_nuxt/eNEgl-ZF.js +1 -0
  66. package/.output/public/_nuxt/entry.Buc3k7Ha.css +1 -0
  67. package/.output/public/_nuxt/fJv3DH8b.js +1 -0
  68. package/.output/public/_nuxt/logs.6VGjPS34.css +1 -0
  69. package/.output/public/_nuxt/monitor.OoNTwfMJ.css +1 -0
  70. package/.output/public/_nuxt/ontology.D4P756Tc.css +1 -0
  71. package/.output/public/_nuxt/operations.C48ggFa5.css +1 -0
  72. package/.output/public/_nuxt/pages.Dpa28tJW.css +1 -0
  73. package/.output/public/_nuxt/permissions.CrV-4t-6.css +1 -0
  74. package/.output/public/_nuxt/px0VQ09m.js +2 -0
  75. package/.output/public/_nuxt/schedules.DYWOjGHm.css +1 -0
  76. package/.output/public/_nuxt/teams.DEJoJ4QV.css +1 -0
  77. package/.output/public/_nuxt/tokens.DKZWCP5v.css +1 -0
  78. package/.output/public/_nuxt/tools.DP-nsTli.css +1 -0
  79. package/.output/public/_nuxt/workshop.PT1xhP8C.css +1 -0
  80. package/.output/public/favicon.svg +14 -14
  81. package/.output/public/robots.txt +3 -3
  82. package/.output/server/chunks/_/AuthGate-G74Wr5IV.mjs +716 -0
  83. package/.output/server/chunks/_/AuthGate-G74Wr5IV.mjs.map +1 -0
  84. package/.output/server/chunks/_/FormItemContext-DmuQqaeJ.mjs +72 -0
  85. package/.output/server/chunks/_/FormItemContext-DmuQqaeJ.mjs.map +1 -0
  86. package/.output/server/chunks/_/LeftOutlined.mjs.map +1 -1
  87. package/.output/server/chunks/_/OmpTerminalPanel-CVn7GF98.mjs +942 -0
  88. package/.output/server/chunks/_/OmpTerminalPanel-CVn7GF98.mjs.map +1 -0
  89. package/.output/server/chunks/_/PluginSlot-CZlGlRoR.mjs +141 -0
  90. package/.output/server/chunks/_/PluginSlot-CZlGlRoR.mjs.map +1 -0
  91. package/.output/server/chunks/_/RightOutlined.mjs.map +1 -1
  92. package/.output/server/chunks/_/SearchOutlined.mjs +13 -13
  93. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -1
  94. package/.output/server/chunks/_/TownView-CaxNtCrZ.mjs +6496 -0
  95. package/.output/server/chunks/_/TownView-CaxNtCrZ.mjs.map +1 -0
  96. package/.output/server/chunks/_/_id_-CvCH8aqA.mjs +2045 -0
  97. package/.output/server/chunks/_/_id_-CvCH8aqA.mjs.map +1 -0
  98. package/.output/server/chunks/_/_id_-X_k47fyM.mjs +392 -0
  99. package/.output/server/chunks/_/_id_-X_k47fyM.mjs.map +1 -0
  100. package/.output/server/chunks/_/_wsId_-CIXvt220.mjs +14589 -0
  101. package/.output/server/chunks/_/_wsId_-CIXvt220.mjs.map +1 -0
  102. package/.output/server/chunks/_/access.mjs +1 -1
  103. package/.output/server/chunks/_/agents-Bipi0xxl.mjs +1078 -0
  104. package/.output/server/chunks/_/agents-Bipi0xxl.mjs.map +1 -0
  105. package/.output/server/chunks/_/alert-CNGhs--Y.mjs +263 -0
  106. package/.output/server/chunks/_/alert-CNGhs--Y.mjs.map +1 -0
  107. package/.output/server/chunks/_/aml-gCTIxLoE.mjs +814 -0
  108. package/.output/server/chunks/_/aml-gCTIxLoE.mjs.map +1 -0
  109. package/.output/server/chunks/_/analysis-BrSFajFi.mjs +533 -0
  110. package/.output/server/chunks/_/analysis-BrSFajFi.mjs.map +1 -0
  111. package/.output/server/chunks/_/api--f4L9O86.mjs +64 -0
  112. package/.output/server/chunks/_/api--f4L9O86.mjs.map +1 -0
  113. package/.output/server/chunks/_/api-CRGCw6io.mjs +53 -0
  114. package/.output/server/chunks/_/api-CRGCw6io.mjs.map +1 -0
  115. package/.output/server/chunks/_/api-DKutH26K.mjs +72 -0
  116. package/.output/server/chunks/_/api-DKutH26K.mjs.map +1 -0
  117. package/.output/server/chunks/_/api-error-BrL8jXVC.mjs +47 -0
  118. package/.output/server/chunks/_/api-error-BrL8jXVC.mjs.map +1 -0
  119. package/.output/server/chunks/_/apiClient-DrCvj3Zb.mjs +81 -0
  120. package/.output/server/chunks/_/apiClient-DrCvj3Zb.mjs.map +1 -0
  121. package/.output/server/chunks/_/binding-authz.mjs +4 -1
  122. package/.output/server/chunks/_/binding-authz.mjs.map +1 -1
  123. package/.output/server/chunks/_/board-DB55AvRS.mjs +189 -0
  124. package/.output/server/chunks/_/board-DB55AvRS.mjs.map +1 -0
  125. package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs.map +1 -0
  126. package/.output/server/chunks/_/card-BECE6y_G.mjs +953 -0
  127. package/.output/server/chunks/_/card-BECE6y_G.mjs.map +1 -0
  128. package/.output/server/chunks/_/channel-templates-C0Njk-Ir.mjs +942 -0
  129. package/.output/server/chunks/_/channel-templates-C0Njk-Ir.mjs.map +1 -0
  130. package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs.map +1 -0
  131. package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs.map +1 -0
  132. package/.output/server/chunks/_/checkbox-C6xY5uc6.mjs +439 -0
  133. package/.output/server/chunks/_/checkbox-C6xY5uc6.mjs.map +1 -0
  134. package/.output/server/chunks/_/client-only-DQ6Q0w4J.mjs +43 -0
  135. package/.output/server/chunks/_/client-only-DQ6Q0w4J.mjs.map +1 -0
  136. package/.output/server/chunks/_/constants-HPHJvjne.mjs +142 -0
  137. package/.output/server/chunks/_/constants-HPHJvjne.mjs.map +1 -0
  138. package/.output/server/chunks/_/core-CRlsQhzd.mjs +294 -0
  139. package/.output/server/chunks/_/core-CRlsQhzd.mjs.map +1 -0
  140. package/.output/server/chunks/_/daq-VLM0Ud2Y.mjs +1266 -0
  141. package/.output/server/chunks/_/daq-VLM0Ud2Y.mjs.map +1 -0
  142. package/.output/server/chunks/_/data-Bgx_w04W.mjs +481 -0
  143. package/.output/server/chunks/_/data-Bgx_w04W.mjs.map +1 -0
  144. package/.output/server/chunks/_/dcw-BstEJzQ4.mjs +505 -0
  145. package/.output/server/chunks/_/dcw-BstEJzQ4.mjs.map +1 -0
  146. package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs.map +1 -0
  147. package/.output/server/chunks/_/default-Dmo-rt5V.mjs +2353 -0
  148. package/.output/server/chunks/_/default-Dmo-rt5V.mjs.map +1 -0
  149. package/.output/server/chunks/_/descriptions-B3uhDesi.mjs +406 -0
  150. package/.output/server/chunks/_/descriptions-B3uhDesi.mjs.map +1 -0
  151. package/.output/server/chunks/_/drawer-DwXxapMg.mjs +834 -0
  152. package/.output/server/chunks/_/drawer-DwXxapMg.mjs.map +1 -0
  153. package/.output/server/chunks/_/dropdown-DLrGy-Fs.mjs +14 -0
  154. package/.output/server/chunks/_/dropdown-DLrGy-Fs.mjs.map +1 -0
  155. package/.output/server/chunks/_/dropdown-nsGv8Gqx.mjs +540 -0
  156. package/.output/server/chunks/_/dropdown-nsGv8Gqx.mjs.map +1 -0
  157. package/.output/server/chunks/_/entity.mjs +1 -1
  158. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  159. package/.output/server/chunks/_/es-DXSEkmAm.mjs +43 -0
  160. package/.output/server/chunks/_/es-DXSEkmAm.mjs.map +1 -0
  161. package/.output/server/chunks/_/firstNotUndefined-laiThpLD.mjs +2448 -0
  162. package/.output/server/chunks/_/firstNotUndefined-laiThpLD.mjs.map +1 -0
  163. package/.output/server/chunks/_/form-Cw2Ex9w5.mjs +4712 -0
  164. package/.output/server/chunks/_/form-Cw2Ex9w5.mjs.map +1 -0
  165. package/.output/server/chunks/_/hasIn-RYRGomyg.mjs +553 -0
  166. package/.output/server/chunks/_/hasIn-RYRGomyg.mjs.map +1 -0
  167. package/.output/server/chunks/_/hitl-CQowkJ6s.mjs +132 -0
  168. package/.output/server/chunks/_/hitl-CQowkJ6s.mjs.map +1 -0
  169. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  170. package/.output/server/chunks/_/index.mjs +1 -1
  171. package/.output/server/chunks/_/input-CJgB-RL6.mjs +2181 -0
  172. package/.output/server/chunks/_/input-CJgB-RL6.mjs.map +1 -0
  173. package/.output/server/chunks/_/input-number-CQKL42p_.mjs +1120 -0
  174. package/.output/server/chunks/_/input-number-CQKL42p_.mjs.map +1 -0
  175. package/.output/server/chunks/_/interval-CfceaI3F.mjs +9 -0
  176. package/.output/server/chunks/_/interval-CfceaI3F.mjs.map +1 -0
  177. package/.output/server/chunks/_/isNumeric-DQiJ-b15.mjs +7 -0
  178. package/.output/server/chunks/_/isNumeric-DQiJ-b15.mjs.map +1 -0
  179. package/.output/server/chunks/_/line-scope.mjs +1 -1
  180. package/.output/server/chunks/_/logs-Dt4ejjjU.mjs +492 -0
  181. package/.output/server/chunks/_/logs-Dt4ejjjU.mjs.map +1 -0
  182. package/.output/server/chunks/_/menu-xO8ocVtL.mjs +1952 -0
  183. package/.output/server/chunks/_/menu-xO8ocVtL.mjs.map +1 -0
  184. package/.output/server/chunks/_/monitor-vqmGVVN5.mjs +2253 -0
  185. package/.output/server/chunks/_/monitor-vqmGVVN5.mjs.map +1 -0
  186. package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs.map +1 -0
  187. package/.output/server/chunks/_/nitro.mjs +3017 -2781
  188. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  189. package/.output/server/chunks/_/ontology-ih0HgPpL.mjs +1406 -0
  190. package/.output/server/chunks/_/ontology-ih0HgPpL.mjs.map +1 -0
  191. package/.output/server/chunks/_/operations-BHmdVOUk.mjs +311 -0
  192. package/.output/server/chunks/_/operations-BHmdVOUk.mjs.map +1 -0
  193. package/.output/server/chunks/_/optimizer-DyvIYE4A.mjs +202 -0
  194. package/.output/server/chunks/_/optimizer-DyvIYE4A.mjs.map +1 -0
  195. package/.output/server/chunks/_/pages-C2KTn0U1.mjs +542 -0
  196. package/.output/server/chunks/_/pages-C2KTn0U1.mjs.map +1 -0
  197. package/.output/server/chunks/_/pagination-BTzq7dD5.mjs +1346 -0
  198. package/.output/server/chunks/_/pagination-BTzq7dD5.mjs.map +1 -0
  199. package/.output/server/chunks/_/permissions-BbTI02WI.mjs +637 -0
  200. package/.output/server/chunks/_/permissions-BbTI02WI.mjs.map +1 -0
  201. package/.output/server/chunks/_/pipeline-BgNjQ4J3.mjs +212 -0
  202. package/.output/server/chunks/_/pipeline-BgNjQ4J3.mjs.map +1 -0
  203. package/.output/server/chunks/_/plugins-CplEv3mY.mjs +272 -0
  204. package/.output/server/chunks/_/plugins-CplEv3mY.mjs.map +1 -0
  205. package/.output/server/chunks/_/popconfirm-DuGF7ty-.mjs +340 -0
  206. package/.output/server/chunks/_/popconfirm-DuGF7ty-.mjs.map +1 -0
  207. package/.output/server/chunks/_/responsiveObserve-CzRpNXkr.mjs +78 -0
  208. package/.output/server/chunks/_/responsiveObserve-CzRpNXkr.mjs.map +1 -0
  209. package/.output/server/chunks/_/rest-auth.mjs +1 -1
  210. package/.output/server/chunks/_/schedules-BN4t_4PG.mjs +7172 -0
  211. package/.output/server/chunks/_/schedules-BN4t_4PG.mjs.map +1 -0
  212. package/.output/server/chunks/_/segmented-29uEKZ3D.mjs +341 -0
  213. package/.output/server/chunks/_/segmented-29uEKZ3D.mjs.map +1 -0
  214. package/.output/server/chunks/_/select-CJb2XrQf.mjs +3923 -0
  215. package/.output/server/chunks/_/select-CJb2XrQf.mjs.map +1 -0
  216. package/.output/server/chunks/_/settings-BQaAoT4q.mjs +1014 -0
  217. package/.output/server/chunks/_/settings-BQaAoT4q.mjs.map +1 -0
  218. package/.output/server/chunks/_/space-BByD-mFE.mjs +110 -0
  219. package/.output/server/chunks/_/space-BByD-mFE.mjs.map +1 -0
  220. package/.output/server/chunks/_/spin-XhbgGeLP.mjs +357 -0
  221. package/.output/server/chunks/_/spin-XhbgGeLP.mjs.map +1 -0
  222. package/.output/server/chunks/_/studio-D5r5Rzaq.mjs +336 -0
  223. package/.output/server/chunks/_/studio-D5r5Rzaq.mjs.map +1 -0
  224. package/.output/server/chunks/_/switch-DWcwVFxW.mjs +377 -0
  225. package/.output/server/chunks/_/switch-DWcwVFxW.mjs.map +1 -0
  226. package/.output/server/chunks/_/table-Zhuo7Fq-.mjs +7546 -0
  227. package/.output/server/chunks/_/table-Zhuo7Fq-.mjs.map +1 -0
  228. package/.output/server/chunks/_/tabs-BCwBXjNt.mjs +1924 -0
  229. package/.output/server/chunks/_/tabs-BCwBXjNt.mjs.map +1 -0
  230. package/.output/server/chunks/_/tag-CRW-anwy.mjs +1156 -0
  231. package/.output/server/chunks/_/tag-CRW-anwy.mjs.map +1 -0
  232. package/.output/server/chunks/_/teams-BUtsNTet.mjs +1203 -0
  233. package/.output/server/chunks/_/teams-BUtsNTet.mjs.map +1 -0
  234. package/.output/server/chunks/_/tokens-o8lT3x-p.mjs +1062 -0
  235. package/.output/server/chunks/_/tokens-o8lT3x-p.mjs.map +1 -0
  236. package/.output/server/chunks/_/tools-DRb5HTtU.mjs +487 -0
  237. package/.output/server/chunks/_/tools-DRb5HTtU.mjs.map +1 -0
  238. package/.output/server/chunks/_/tooltip-GlMrUZzx.mjs +920 -0
  239. package/.output/server/chunks/_/tooltip-GlMrUZzx.mjs.map +1 -0
  240. package/.output/server/chunks/_/town-BPA3G6yX.mjs +133 -0
  241. package/.output/server/chunks/_/town-BPA3G6yX.mjs.map +1 -0
  242. package/.output/server/chunks/_/town-BV-hbwb5.mjs +75 -0
  243. package/.output/server/chunks/_/town-BV-hbwb5.mjs.map +1 -0
  244. package/.output/server/chunks/_/types-D6J7slEa.mjs +5565 -0
  245. package/.output/server/chunks/_/types-D6J7slEa.mjs.map +1 -0
  246. package/.output/server/chunks/_/types-DWqIeMRP.mjs +76 -0
  247. package/.output/server/chunks/_/types-DWqIeMRP.mjs.map +1 -0
  248. package/.output/server/chunks/_/useAgentHarnessOptions-dDHiEoK2.mjs +124 -0
  249. package/.output/server/chunks/_/useAgentHarnessOptions-dDHiEoK2.mjs.map +1 -0
  250. package/.output/server/chunks/_/useAgentTemplateActions-S3dtH5UW.mjs +77 -0
  251. package/.output/server/chunks/_/useAgentTemplateActions-S3dtH5UW.mjs.map +1 -0
  252. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs +67 -0
  253. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -0
  254. package/.output/server/chunks/_/useAgentTemplateForm-D8gneIvd.mjs +117 -0
  255. package/.output/server/chunks/_/useAgentTemplateForm-D8gneIvd.mjs.map +1 -0
  256. package/.output/server/chunks/_/useAgentTemplatesCatalog-DHUpubKM.mjs +133 -0
  257. package/.output/server/chunks/_/useAgentTemplatesCatalog-DHUpubKM.mjs.map +1 -0
  258. package/.output/server/chunks/_/useAmlDatasets-CDg3Qbpv.mjs +92 -0
  259. package/.output/server/chunks/_/useAmlDatasets-CDg3Qbpv.mjs.map +1 -0
  260. package/.output/server/chunks/_/useAmlEntities-Bcaput4Y.mjs +86 -0
  261. package/.output/server/chunks/_/useAmlEntities-Bcaput4Y.mjs.map +1 -0
  262. package/.output/server/chunks/_/useAmlEnv-Dga_Nq6z.mjs +194 -0
  263. package/.output/server/chunks/_/useAmlEnv-Dga_Nq6z.mjs.map +1 -0
  264. package/.output/server/chunks/_/useAmlExperiments-CFngqLM3.mjs +89 -0
  265. package/.output/server/chunks/_/useAmlExperiments-CFngqLM3.mjs.map +1 -0
  266. package/.output/server/chunks/_/useAmlFormat-C2sl3MGB.mjs +82 -0
  267. package/.output/server/chunks/_/useAmlFormat-C2sl3MGB.mjs.map +1 -0
  268. package/.output/server/chunks/_/useAmlJobs-C7onZkcR.mjs +267 -0
  269. package/.output/server/chunks/_/useAmlJobs-C7onZkcR.mjs.map +1 -0
  270. package/.output/server/chunks/_/useAmlModels-B2b3mx4d.mjs +93 -0
  271. package/.output/server/chunks/_/useAmlModels-B2b3mx4d.mjs.map +1 -0
  272. package/.output/server/chunks/_/useAmlNotes-6gZX7tbx.mjs +86 -0
  273. package/.output/server/chunks/_/useAmlNotes-6gZX7tbx.mjs.map +1 -0
  274. package/.output/server/chunks/_/useAmlPredict-DwOmM2ke.mjs +130 -0
  275. package/.output/server/chunks/_/useAmlPredict-DwOmM2ke.mjs.map +1 -0
  276. package/.output/server/chunks/_/useAnalysisFeed-CpPsKh_I.mjs +129 -0
  277. package/.output/server/chunks/_/useAnalysisFeed-CpPsKh_I.mjs.map +1 -0
  278. package/.output/server/chunks/_/useDaqAddNode-QtJja03_.mjs +142 -0
  279. package/.output/server/chunks/_/useDaqAddNode-QtJja03_.mjs.map +1 -0
  280. package/.output/server/chunks/_/useDaqDetailBinding-Dd5c4bep.mjs +70 -0
  281. package/.output/server/chunks/_/useDaqDetailBinding-Dd5c4bep.mjs.map +1 -0
  282. package/.output/server/chunks/_/useDaqDetailFrames-C2gvrOr6.mjs +79 -0
  283. package/.output/server/chunks/_/useDaqDetailFrames-C2gvrOr6.mjs.map +1 -0
  284. package/.output/server/chunks/_/useDaqDetailHistory-Bhht_iFw.mjs +176 -0
  285. package/.output/server/chunks/_/useDaqDetailHistory-Bhht_iFw.mjs.map +1 -0
  286. package/.output/server/chunks/_/useDaqDetailNode-BayXtr5W.mjs +99 -0
  287. package/.output/server/chunks/_/useDaqDetailNode-BayXtr5W.mjs.map +1 -0
  288. package/.output/server/chunks/_/useDaqDetailParams-D8d1l3_R.mjs +159 -0
  289. package/.output/server/chunks/_/useDaqDetailParams-D8d1l3_R.mjs.map +1 -0
  290. package/.output/server/chunks/_/useDaqFilters-TYucwywj.mjs +222 -0
  291. package/.output/server/chunks/_/useDaqFilters-TYucwywj.mjs.map +1 -0
  292. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs +90 -0
  293. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -0
  294. package/.output/server/chunks/_/useDaqOptimizations-o5hubsm8.mjs +136 -0
  295. package/.output/server/chunks/_/useDaqOptimizations-o5hubsm8.mjs.map +1 -0
  296. package/.output/server/chunks/_/useDaqStream-BCTOU87S.mjs +395 -0
  297. package/.output/server/chunks/_/useDaqStream-BCTOU87S.mjs.map +1 -0
  298. package/.output/server/chunks/_/useDaqTemplates-Fj64LHfn.mjs +187 -0
  299. package/.output/server/chunks/_/useDaqTemplates-Fj64LHfn.mjs.map +1 -0
  300. package/.output/server/chunks/_/useDashboardCharts-D45083s_.mjs +354 -0
  301. package/.output/server/chunks/_/useDashboardCharts-D45083s_.mjs.map +1 -0
  302. package/.output/server/chunks/_/useDashboardData-Cm_-daeI.mjs +153 -0
  303. package/.output/server/chunks/_/useDashboardData-Cm_-daeI.mjs.map +1 -0
  304. package/.output/server/chunks/_/useDcwAddNode-DaqIQSXN.mjs +219 -0
  305. package/.output/server/chunks/_/useDcwAddNode-DaqIQSXN.mjs.map +1 -0
  306. package/.output/server/chunks/_/useDcwCards-OhzgHbAI.mjs +67 -0
  307. package/.output/server/chunks/_/useDcwCards-OhzgHbAI.mjs.map +1 -0
  308. package/.output/server/chunks/_/useDcwDetailScope-CaWcaiBg.mjs +184 -0
  309. package/.output/server/chunks/_/useDcwDetailScope-CaWcaiBg.mjs.map +1 -0
  310. package/.output/server/chunks/_/useDcwDetailTemplates-CrOgqQMX.mjs +148 -0
  311. package/.output/server/chunks/_/useDcwDetailTemplates-CrOgqQMX.mjs.map +1 -0
  312. package/.output/server/chunks/_/useDcwFilter-RH511Ra2.mjs +71 -0
  313. package/.output/server/chunks/_/useDcwFilter-RH511Ra2.mjs.map +1 -0
  314. package/.output/server/chunks/_/useDcwLedger-Dg61GD1J.mjs +79 -0
  315. package/.output/server/chunks/_/useDcwLedger-Dg61GD1J.mjs.map +1 -0
  316. package/.output/server/chunks/_/useDcwLineMutations-CiurWUFF.mjs +137 -0
  317. package/.output/server/chunks/_/useDcwLineMutations-CiurWUFF.mjs.map +1 -0
  318. package/.output/server/chunks/_/useDcwLineRun-DTSemEZb.mjs +104 -0
  319. package/.output/server/chunks/_/useDcwLineRun-DTSemEZb.mjs.map +1 -0
  320. package/.output/server/chunks/_/useDcwParamApprovals-DpnD-yw0.mjs +121 -0
  321. package/.output/server/chunks/_/useDcwParamApprovals-DpnD-yw0.mjs.map +1 -0
  322. package/.output/server/chunks/_/useDcwProducts-CRAl59cn.mjs +93 -0
  323. package/.output/server/chunks/_/useDcwProducts-CRAl59cn.mjs.map +1 -0
  324. package/.output/server/chunks/_/useDcwQuery-Cyh_iGa9.mjs +98 -0
  325. package/.output/server/chunks/_/useDcwQuery-Cyh_iGa9.mjs.map +1 -0
  326. package/.output/server/chunks/_/useDcwQuickActions-BW5-5HFn.mjs +88 -0
  327. package/.output/server/chunks/_/useDcwQuickActions-BW5-5HFn.mjs.map +1 -0
  328. package/.output/server/chunks/_/useDcwRecipes-Ct9bWJwP.mjs +258 -0
  329. package/.output/server/chunks/_/useDcwRecipes-Ct9bWJwP.mjs.map +1 -0
  330. package/.output/server/chunks/_/useDcwStream-BerzMqxo.mjs +455 -0
  331. package/.output/server/chunks/_/useDcwStream-BerzMqxo.mjs.map +1 -0
  332. package/.output/server/chunks/_/useDcwTemplates-PMVeSLNP.mjs +91 -0
  333. package/.output/server/chunks/_/useDcwTemplates-PMVeSLNP.mjs.map +1 -0
  334. package/.output/server/chunks/_/useDcwWrites-CND_sZdb.mjs +140 -0
  335. package/.output/server/chunks/_/useDcwWrites-CND_sZdb.mjs.map +1 -0
  336. package/.output/server/chunks/_/useDeviceTwins-FB6rTm-6.mjs +128 -0
  337. package/.output/server/chunks/_/useDeviceTwins-FB6rTm-6.mjs.map +1 -0
  338. package/.output/server/chunks/_/useExpConfirmations-b0bE75Yq.mjs +107 -0
  339. package/.output/server/chunks/_/useExpConfirmations-b0bE75Yq.mjs.map +1 -0
  340. package/.output/server/chunks/_/useLocalTime-BJ_4vg1E.mjs +55 -0
  341. package/.output/server/chunks/_/useLocalTime-BJ_4vg1E.mjs.map +1 -0
  342. package/.output/server/chunks/_/useLogsFormat-B-o4MHy7.mjs +77 -0
  343. package/.output/server/chunks/_/useLogsFormat-B-o4MHy7.mjs.map +1 -0
  344. package/.output/server/chunks/_/useLogsManual-Cxka55hz.mjs +89 -0
  345. package/.output/server/chunks/_/useLogsManual-Cxka55hz.mjs.map +1 -0
  346. package/.output/server/chunks/_/useLogsQuery-DxMHc7M4.mjs +150 -0
  347. package/.output/server/chunks/_/useLogsQuery-DxMHc7M4.mjs.map +1 -0
  348. package/.output/server/chunks/_/useLogsScope-HuOiW-OR.mjs +83 -0
  349. package/.output/server/chunks/_/useLogsScope-HuOiW-OR.mjs.map +1 -0
  350. package/.output/server/chunks/_/useMonitorColumns-vVnt3r5Q.mjs +217 -0
  351. package/.output/server/chunks/_/useMonitorColumns-vVnt3r5Q.mjs.map +1 -0
  352. package/.output/server/chunks/_/useMonitorData-Bf3w2khj.mjs +135 -0
  353. package/.output/server/chunks/_/useMonitorData-Bf3w2khj.mjs.map +1 -0
  354. package/.output/server/chunks/_/useMonitorFormat-DsiVqWoa.mjs +91 -0
  355. package/.output/server/chunks/_/useMonitorFormat-DsiVqWoa.mjs.map +1 -0
  356. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs +71 -0
  357. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -0
  358. package/.output/server/chunks/_/useOperationsFeed-Bg35fcgt.mjs +195 -0
  359. package/.output/server/chunks/_/useOperationsFeed-Bg35fcgt.mjs.map +1 -0
  360. package/.output/server/chunks/_/useOpsLog-BEzBrMf4.mjs +149 -0
  361. package/.output/server/chunks/_/useOpsLog-BEzBrMf4.mjs.map +1 -0
  362. package/.output/server/chunks/_/useRecipeDispatchApprovals-CZfcMRYk.mjs +156 -0
  363. package/.output/server/chunks/_/useRecipeDispatchApprovals-CZfcMRYk.mjs.map +1 -0
  364. package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs.map +1 -0
  365. package/.output/server/chunks/_/useTeamActions-CmiuiQiG.mjs +79 -0
  366. package/.output/server/chunks/_/useTeamActions-CmiuiQiG.mjs.map +1 -0
  367. package/.output/server/chunks/_/useTeamAddMemberDialog-CMpzf0jO.mjs +84 -0
  368. package/.output/server/chunks/_/useTeamAddMemberDialog-CMpzf0jO.mjs.map +1 -0
  369. package/.output/server/chunks/_/useTeamCreateDialog-BnvjXWso.mjs +97 -0
  370. package/.output/server/chunks/_/useTeamCreateDialog-BnvjXWso.mjs.map +1 -0
  371. package/.output/server/chunks/_/useTeamDeployDialog-C0FOUYep.mjs +80 -0
  372. package/.output/server/chunks/_/useTeamDeployDialog-C0FOUYep.mjs.map +1 -0
  373. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs +82 -0
  374. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs.map +1 -0
  375. package/.output/server/chunks/_/useTeamPluginDialog-Do-07a47.mjs +103 -0
  376. package/.output/server/chunks/_/useTeamPluginDialog-Do-07a47.mjs.map +1 -0
  377. package/.output/server/chunks/_/useTeamsCatalog-ClG_gBI8.mjs +123 -0
  378. package/.output/server/chunks/_/useTeamsCatalog-ClG_gBI8.mjs.map +1 -0
  379. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs +72 -0
  380. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs.map +1 -0
  381. package/.output/server/chunks/_/useTokenCreate-C4g5eKd3.mjs +115 -0
  382. package/.output/server/chunks/_/useTokenCreate-C4g5eKd3.mjs.map +1 -0
  383. package/.output/server/chunks/_/useTokenRename-ClWrxpNk.mjs +87 -0
  384. package/.output/server/chunks/_/useTokenRename-ClWrxpNk.mjs.map +1 -0
  385. package/.output/server/chunks/_/useTokenReveal-C8n1Vt9t.mjs +118 -0
  386. package/.output/server/chunks/_/useTokenReveal-C8n1Vt9t.mjs.map +1 -0
  387. package/.output/server/chunks/_/useTokensList-CgiH2W1C.mjs +92 -0
  388. package/.output/server/chunks/_/useTokensList-CgiH2W1C.mjs.map +1 -0
  389. package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs.map +1 -0
  390. package/.output/server/chunks/_/useWorkbenchAuth-DSstfK5Z.mjs +141 -0
  391. package/.output/server/chunks/_/useWorkbenchAuth-DSstfK5Z.mjs.map +1 -0
  392. package/.output/server/chunks/_/useWorkbenchWorkspaces-l_0SUOzn.mjs +138 -0
  393. package/.output/server/chunks/_/useWorkbenchWorkspaces-l_0SUOzn.mjs.map +1 -0
  394. package/.output/server/chunks/_/useWorkshopApi-Bqe2FlsB.mjs +127 -0
  395. package/.output/server/chunks/_/useWorkshopApi-Bqe2FlsB.mjs.map +1 -0
  396. package/.output/server/chunks/_/useWorkshopWs-DP4MbZsb.mjs +1659 -0
  397. package/.output/server/chunks/_/useWorkshopWs-DP4MbZsb.mjs.map +1 -0
  398. package/.output/server/chunks/_/useWorkspaceAuth-CzDigJGl.mjs +60 -0
  399. package/.output/server/chunks/_/useWorkspaceAuth-CzDigJGl.mjs.map +1 -0
  400. package/.output/server/chunks/_/useWorkspaceChannels-BLtsS6-m.mjs +92 -0
  401. package/.output/server/chunks/_/useWorkspaceChannels-BLtsS6-m.mjs.map +1 -0
  402. package/.output/server/chunks/_/useWorkspacePanels-CTwREmq0.mjs +78 -0
  403. package/.output/server/chunks/_/useWorkspacePanels-CTwREmq0.mjs.map +1 -0
  404. package/.output/server/chunks/_/useWorkspaceShell-rQHWNNWJ.mjs +168 -0
  405. package/.output/server/chunks/_/useWorkspaceShell-rQHWNNWJ.mjs.map +1 -0
  406. package/.output/server/chunks/_/users-BM1ZzxPp.mjs +569 -0
  407. package/.output/server/chunks/_/users-BM1ZzxPp.mjs.map +1 -0
  408. package/.output/server/chunks/_/workshop-CUXCV3RH.mjs +546 -0
  409. package/.output/server/chunks/_/workshop-CUXCV3RH.mjs.map +1 -0
  410. package/.output/server/chunks/_/workspaces-CmW0cpOt.mjs.map +1 -0
  411. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +1 -1
  412. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +1 -1
  413. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +1 -1
  414. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +1 -1
  415. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
  416. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +19 -0
  417. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -1
  418. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +1 -1
  419. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +1 -1
  420. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +1 -1
  421. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +1 -1
  422. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +1 -1
  423. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +1 -1
  424. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +1 -1
  425. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +1 -1
  426. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +1 -1
  427. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +1 -1
  428. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +1 -1
  429. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +1 -1
  430. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +1 -1
  431. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +1 -1
  432. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +1 -1
  433. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +1 -1
  434. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +1 -1
  435. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +1 -1
  436. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +1 -1
  437. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +1 -1
  438. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +1 -1
  439. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +1 -1
  440. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +1 -1
  441. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +1 -1
  442. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +1 -1
  443. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +1 -1
  444. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +1 -1
  445. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +1 -1
  446. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +1 -1
  447. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +1 -1
  448. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +1 -1
  449. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +1 -1
  450. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +1 -1
  451. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +1 -1
  452. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +1 -1
  453. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +1 -1
  454. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +1 -1
  455. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +1 -1
  456. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
  457. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +1 -1
  458. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +1 -1
  459. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +1 -1
  460. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +1 -1
  461. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +1 -1
  462. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
  463. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +1 -1
  464. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +1 -1
  465. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +1 -1
  466. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +1 -1
  467. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +1 -1
  468. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +1 -1
  469. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
  470. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
  471. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
  472. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
  473. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
  474. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
  475. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
  476. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
  477. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +1 -1
  478. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +1 -1
  479. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
  480. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
  481. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
  482. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
  483. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
  484. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +1 -1
  485. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
  486. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +1 -1
  487. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +1 -1
  488. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
  489. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
  490. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
  491. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
  492. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
  493. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
  494. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
  495. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
  496. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +1 -1
  497. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
  498. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
  499. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
  500. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
  501. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +1 -1
  502. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +1 -1
  503. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +1 -1
  504. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +1 -1
  505. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +1 -1
  506. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +1 -1
  507. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
  508. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
  509. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
  510. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
  511. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
  512. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
  513. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +1 -1
  514. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +1 -1
  515. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +1 -1
  516. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
  517. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
  518. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +1 -1
  519. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +1 -1
  520. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +1 -1
  521. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +1 -1
  522. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
  523. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +1 -1
  524. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +1 -1
  525. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +1 -1
  526. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +18 -6
  527. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
  528. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +1 -1
  529. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +1 -1
  530. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +1 -1
  531. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +1 -1
  532. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +1 -1
  533. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +1 -1
  534. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +1 -1
  535. package/.output/server/chunks/routes/renderer.mjs +1 -1
  536. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  537. package/.output/server/chunks/virtual/entry.mjs +394 -376
  538. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  539. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  540. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -1
  541. package/.output/server/index.mjs +1 -1
  542. package/.output/server/package.json +1 -1
  543. package/README-zh.md +4 -3
  544. package/README.md +13 -8
  545. package/app/components/AwLogo.vue +75 -75
  546. package/app/components/aml/AmlDatasetFormModal.vue +279 -279
  547. package/app/components/aml/AmlDatasetTable.vue +319 -319
  548. package/app/components/aml/AmlExperimentsTable.vue +142 -142
  549. package/app/components/aml/AmlInfraBanner.vue +23 -23
  550. package/app/components/aml/AmlJobsTable.vue +248 -248
  551. package/app/components/aml/AmlOverviewBar.vue +62 -62
  552. package/app/components/aml/AmlPageHeader.vue +47 -47
  553. package/app/components/aml/AmlPredictConsole.vue +201 -201
  554. package/app/components/app-header/HitlBell.vue +423 -423
  555. package/app/components/daq/DaqAddNodeModal.vue +209 -209
  556. package/app/components/daq/DaqAlarmBar.vue +46 -46
  557. package/app/components/daq/DaqControlCard.vue +159 -159
  558. package/app/components/daq/DaqInfraBanner.vue +31 -31
  559. package/app/components/daq/DaqLineBanner.vue +47 -47
  560. package/app/components/daq/DaqNodePanel.vue +396 -396
  561. package/app/components/daq/DaqOptPanel.vue +197 -197
  562. package/app/components/daq/DaqTemplateModal.vue +246 -246
  563. package/app/components/dashboard/DashboardGaugeBand.vue +78 -78
  564. package/app/components/dashboard/DashboardHero.vue +209 -209
  565. package/app/components/dashboard/DashboardLineStatePanel.vue +78 -78
  566. package/app/components/dashboard/DashboardNodeStatePanel.vue +46 -46
  567. package/app/components/dashboard/DashboardPipelinePanel.vue +46 -46
  568. package/app/components/dashboard/DashboardTrendPanel.vue +83 -83
  569. package/app/components/dashboard/DashboardWritePanel.vue +52 -52
  570. package/app/components/dcw/DcwCreateLineModal.vue +105 -105
  571. package/app/components/dcw/DcwDeleteLineModal.vue +73 -73
  572. package/app/components/dcw/DcwDetailTemplateModal.vue +238 -238
  573. package/app/components/dcw/DcwLedgerCard.vue +160 -160
  574. package/app/components/dcw/DcwMesArtifacts.vue +140 -140
  575. package/app/components/dcw/DcwProductCreateModal.vue +113 -113
  576. package/app/components/dcw/DcwRecipeDispatchHistoryModal.vue +244 -244
  577. package/app/components/dcw/DcwRecipeEditModal.vue +399 -399
  578. package/app/components/dcw/DcwRecipeHistoryModal.vue +165 -165
  579. package/app/components/dcw/DcwRunDataModal.vue +191 -191
  580. package/app/components/dcw/DcwTemplateModal.vue +227 -227
  581. package/app/components/dcw/DcwWriteHistoryCard.vue +96 -96
  582. package/app/components/dcw/ExpConfirmCard.vue +103 -103
  583. package/app/components/dcw/RecipeDispatchApprovalCard.vue +330 -330
  584. package/app/components/logs/LogsEventTable.vue +36 -3
  585. package/app/components/logs/LogsManualModal.vue +23 -1
  586. package/app/components/logs/LogsPageHead.vue +122 -71
  587. package/app/components/monitor/MonitorAgentTable.vue +143 -143
  588. package/app/components/monitor/MonitorChannelTable.vue +80 -80
  589. package/app/components/monitor/MonitorLoginGate.vue +24 -24
  590. package/app/components/monitor/MonitorPageHead.vue +92 -92
  591. package/app/components/monitor/MonitorProcessTable.vue +159 -159
  592. package/app/components/ontology/OntologyGraph.vue +356 -356
  593. package/app/components/operations/OperationsFilterCard.vue +164 -164
  594. package/app/components/operations/OperationsPageHead.vue +47 -47
  595. package/app/components/tokens/TokenCreateModal.vue +42 -42
  596. package/app/components/tokens/TokenOnceModal.vue +164 -164
  597. package/app/components/tokens/TokenRenameModal.vue +40 -40
  598. package/app/components/tokens/TokensPageHead.vue +76 -76
  599. package/app/components/workshop/A2aRpcDebugger.vue +237 -237
  600. package/app/components/workshop/AgentInspectorDrawer.vue +424 -424
  601. package/app/components/workshop/AgentLanesView.vue +278 -278
  602. package/app/components/workshop/ArtifactCard.vue +120 -120
  603. package/app/components/workshop/AssetLibrary.vue +452 -452
  604. package/app/components/workshop/ChatMemberPanel.vue +556 -556
  605. package/app/components/workshop/CommandPalette.vue +270 -270
  606. package/app/components/workshop/Composer.vue +540 -540
  607. package/app/components/workshop/DaqTemplateIcon.vue +33 -33
  608. package/app/components/workshop/DeviceTwinPanel.vue +167 -167
  609. package/app/components/workshop/FileSelectorModal.vue +188 -188
  610. package/app/components/workshop/InspectorPanel.vue +301 -301
  611. package/app/components/workshop/PluginSlot.vue +120 -120
  612. package/app/components/workshop/TranscriptTimeline.vue +223 -223
  613. package/app/components/workshop/agents/AgentTemplateEditModal.vue +139 -139
  614. package/app/components/workshop/blocks/ClusterArtifact.vue +61 -61
  615. package/app/components/workshop/blocks/ClusterError.vue +85 -85
  616. package/app/components/workshop/blocks/ClusterLife.vue +87 -87
  617. package/app/components/workshop/blocks/ClusterMember.vue +95 -95
  618. package/app/components/workshop/blocks/ClusterMemory.vue +84 -84
  619. package/app/components/workshop/blocks/ClusterOther.vue +67 -67
  620. package/app/components/workshop/blocks/ClusterStatus.vue +149 -149
  621. package/app/components/workshop/blocks/ClusterTool.vue +176 -176
  622. package/app/components/workshop/blocks/EventBlockAvatar.vue +114 -114
  623. package/app/components/workshop/blocks/EventBlockHead.vue +232 -232
  624. package/app/components/workshop/composer/ComposerToolbar.vue +278 -278
  625. package/app/components/workshop/composer/MentionMenu.vue +135 -135
  626. package/app/components/workshop/composer/ReplyChip.vue +65 -65
  627. package/app/components/workshop/composer/StatusChip.vue +171 -171
  628. package/app/components/workshop/console/Dock.vue +71 -71
  629. package/app/components/workshop/console/LeftPane.vue +84 -84
  630. package/app/components/workshop/device-twin/DeviceTwinCard.vue +265 -265
  631. package/app/components/workshop/device-twin/DeviceTwinDcwSection.vue +203 -203
  632. package/app/components/workshop/lanes/AddMemberModal.vue +270 -270
  633. package/app/components/workshop/lanes/EditMemberModal.vue +106 -106
  634. package/app/components/workshop/lanes/LanesToolbar.vue +97 -97
  635. package/app/components/workshop/session-list/MountChannelModal.vue +124 -124
  636. package/app/components/workshop/session-list/SaveTemplateModal.vue +93 -93
  637. package/app/components/workshop/task-board/Card.vue +172 -172
  638. package/app/components/workshop/task-board/Column.vue +151 -151
  639. package/app/components/workshop/task-board/List.vue +157 -157
  640. package/app/components/workshop/task-board/StatusMenu.vue +88 -88
  641. package/app/components/workshop/teams/TeamAddMemberModal.vue +53 -53
  642. package/app/components/workshop/teams/TeamCreateModal.vue +94 -94
  643. package/app/components/workshop/teams/TeamDeployModal.vue +40 -40
  644. package/app/components/workshop/teams/TeamPluginModal.vue +119 -119
  645. package/app/components/workshop/terminal/OmpTerminalPanel.vue +270 -270
  646. package/app/components/workshop/terminal/TerminalHitlCard.vue +170 -170
  647. package/app/components/workshop/town/TownScene.ts +466 -466
  648. package/app/components/workshop/town/TownView.vue +561 -561
  649. package/app/components/workshop/town/components/AutoModeConfirmModal.vue +94 -94
  650. package/app/components/workshop/town/components/TownAgentBindings.vue +417 -405
  651. package/app/components/workshop/town/components/TownAgentInspector.vue +554 -554
  652. package/app/components/workshop/town/components/TownAlarmList.vue +147 -147
  653. package/app/components/workshop/town/components/TownBoundaryPanel.vue +350 -350
  654. package/app/components/workshop/town/components/TownCalloutLayer.vue +147 -147
  655. package/app/components/workshop/town/components/TownChannelDock.vue +116 -116
  656. package/app/components/workshop/town/components/TownControlDock.vue +405 -405
  657. package/app/components/workshop/town/components/TownDaqNodeInspector.vue +345 -345
  658. package/app/components/workshop/town/components/TownDaqTree.vue +366 -366
  659. package/app/components/workshop/town/components/TownDcwBindSection.vue +473 -473
  660. package/app/components/workshop/town/components/TownDcwNodeInspector.vue +185 -185
  661. package/app/components/workshop/town/components/TownDcwTree.vue +280 -280
  662. package/app/components/workshop/town/components/TownDeviceBindings.vue +394 -394
  663. package/app/components/workshop/town/components/TownDeviceTransform.vue +248 -248
  664. package/app/components/workshop/town/components/TownEventList.vue +120 -120
  665. package/app/components/workshop/town/components/TownHealthBody.vue +100 -100
  666. package/app/components/workshop/town/components/TownKpiStrip.vue +207 -207
  667. package/app/components/workshop/town/components/TownLeftRail.vue +308 -308
  668. package/app/components/workshop/town/components/TownLoadingMask.vue +61 -61
  669. package/app/components/workshop/town/components/TownNavMap.vue +154 -154
  670. package/app/components/workshop/town/components/TownRightRail.vue +543 -543
  671. package/app/components/workshop/town/components/TownStage.vue +281 -281
  672. package/app/components/workshop/town/components/TownStageTop.vue +238 -238
  673. package/app/components/workshop/town/components/TownStatusBar.vue +108 -108
  674. package/app/components/workshop/town/components/TownTopNav.vue +367 -367
  675. package/app/components/workshop/town/components/TownTrendDock.vue +178 -178
  676. package/app/components/workshop/town/scene/town-scene-agents.ts +254 -254
  677. package/app/components/workshop/town/scene/town-scene-behavior.ts +194 -194
  678. package/app/components/workshop/town/scene/town-scene-bubbles.ts +96 -96
  679. package/app/components/workshop/town/scene/town-scene-core.ts +158 -158
  680. package/app/components/workshop/town/scene/town-scene-models.ts +109 -109
  681. package/app/components/workshop/town/scene/town-scene-visuals.ts +279 -279
  682. package/app/components/workshop/town/scene/town-scene3d-agents.ts +308 -308
  683. package/app/components/workshop/town/scene/town-scene3d-blocks.ts +297 -297
  684. package/app/components/workshop/town/scene/town-scene3d-bubbles.ts +281 -281
  685. package/app/components/workshop/town/scene/town-scene3d-camera.ts +282 -282
  686. package/app/components/workshop/town/scene/town-scene3d-devices.ts +433 -433
  687. package/app/components/workshop/town/scene/town-scene3d-editing.ts +490 -490
  688. package/app/components/workshop/town/scene/town-scene3d-events.ts +173 -173
  689. package/app/components/workshop/town/scene/town-scene3d-factory.ts +412 -412
  690. package/app/components/workshop/town/scene/town-scene3d-hud.ts +110 -110
  691. package/app/components/workshop/town/scene/town-scene3d-lifecycle.ts +144 -144
  692. package/app/components/workshop/town/scene/town-scene3d-links.ts +141 -141
  693. package/app/components/workshop/town/scene/town-scene3d-loop.ts +286 -286
  694. package/app/components/workshop/town/scene/town-scene3d-models.ts +154 -154
  695. package/app/components/workshop/town/scene/town-scene3d-nodes.ts +562 -562
  696. package/app/components/workshop/town/scene/town-scene3d-ranges.ts +273 -273
  697. package/app/components/workshop/town/scene/town-scene3d-renderer.ts +320 -320
  698. package/app/components/workshop/town/scene/town-scene3d-selection.ts +257 -257
  699. package/app/components/workshop/town/scene/town-scene3d-types.ts +264 -264
  700. package/app/components/workshop/transcript/TranscriptBlockList.vue +68 -68
  701. package/app/components/workshop/transcript/TranscriptEarlierPager.vue +81 -81
  702. package/app/components/workshop/transcript/TranscriptFilterBar.vue +126 -126
  703. package/app/components/workshop/workbench/CreateWorkspaceModal.vue +36 -36
  704. package/app/components/workshop/workbench/WorkspaceEmpty.vue +56 -56
  705. package/app/composables/useResponsive.ts +88 -88
  706. package/app/composables/workshop/device-twin-types.ts +29 -29
  707. package/app/composables/workshop/event-blocks/attention.ts +58 -58
  708. package/app/composables/workshop/event-blocks/classify.ts +44 -44
  709. package/app/composables/workshop/event-blocks/clusterer.ts +231 -231
  710. package/app/composables/workshop/event-blocks/fold-stream.ts +45 -45
  711. package/app/composables/workshop/event-blocks/markdown.ts +81 -81
  712. package/app/composables/workshop/event-blocks/mentions.ts +49 -49
  713. package/app/composables/workshop/event-blocks/text-utils.ts +100 -100
  714. package/app/composables/workshop/event-blocks/types.ts +40 -40
  715. package/app/composables/workshop/town/town-relay-props.ts +231 -231
  716. package/app/composables/workshop/town/town-view-types.ts +145 -145
  717. package/app/composables/workshop/town/useTownAgentBindings.ts +183 -182
  718. package/app/composables/workshop/town/useTownAgentChat.ts +203 -203
  719. package/app/composables/workshop/town/useTownAlarms.ts +36 -36
  720. package/app/composables/workshop/town/useTownCallouts.ts +174 -174
  721. package/app/composables/workshop/town/useTownChannels.ts +220 -220
  722. package/app/composables/workshop/town/useTownHealth.ts +66 -66
  723. package/app/composables/workshop/town/useTownHudTickers.ts +77 -77
  724. package/app/composables/workshop/town/useTownLayout.ts +277 -277
  725. package/app/composables/workshop/town/useTownNavMap.ts +301 -301
  726. package/app/composables/workshop/town/useTownNodeBindings.ts +345 -345
  727. package/app/composables/workshop/town/useTownPanelDrag.ts +91 -91
  728. package/app/composables/workshop/town/useTownRailData.ts +421 -421
  729. package/app/composables/workshop/town/useTownSceneControl.ts +92 -92
  730. package/app/composables/workshop/town/useTownSceneInput.ts +275 -275
  731. package/app/composables/workshop/town/useTownSceneRuntime.ts +390 -390
  732. package/app/composables/workshop/town/useTownSheets.ts +41 -41
  733. package/app/composables/workshop/town/useTownTrends.ts +93 -93
  734. package/app/composables/workshop/useChannelList.ts +88 -88
  735. package/app/composables/workshop/useChannelTerminals.ts +65 -65
  736. package/app/composables/workshop/useComposerMentions.ts +130 -130
  737. package/app/composables/workshop/useDcwStream.ts +377 -374
  738. package/app/composables/workshop/useDeviceTwinDcwWrite.ts +77 -77
  739. package/app/composables/workshop/useDeviceTwinPanel.ts +56 -56
  740. package/app/composables/workshop/useEscClose.ts +44 -44
  741. package/app/composables/workshop/useEventBlockView.ts +159 -159
  742. package/app/composables/workshop/useEventBlocks.ts +33 -33
  743. package/app/composables/workshop/useHitlAnswer.ts +184 -184
  744. package/app/composables/workshop/useLaneWidths.ts +27 -27
  745. package/app/composables/workshop/useOmpTerminalSession.ts +424 -424
  746. package/app/composables/workshop/useOpsLog.ts +1 -1
  747. package/app/composables/workshop/usePluginAdmin.ts +152 -152
  748. package/app/composables/workshop/usePluginPanels.ts +72 -72
  749. package/app/composables/workshop/useRuntimeConfigDraft.ts +118 -118
  750. package/app/composables/workshop/useSettingsGroups.ts +243 -243
  751. package/app/composables/workshop/useTaskBoardColumns.ts +47 -47
  752. package/app/composables/workshop/useTerminalRenderer.ts +308 -308
  753. package/app/composables/workshop/useTranscriptEnterStage.ts +48 -48
  754. package/app/composables/workshop/useTranscriptHistory.ts +52 -52
  755. package/app/composables/workshop/useTranscriptScroll.ts +113 -113
  756. package/app/composables/workshop/useVisibleInterval.ts +42 -42
  757. package/app/composables/workshop/useWorkshopWs.ts +265 -265
  758. package/app/config/index.ts +1 -1
  759. package/app/middleware/locale-cookie.global.ts +22 -22
  760. package/app/pages/aml/api.ts +6 -6
  761. package/app/pages/aml/composables/useAmlDatasets.ts +38 -38
  762. package/app/pages/aml/composables/useAmlEntities.ts +57 -57
  763. package/app/pages/aml/composables/useAmlEnv.ts +191 -191
  764. package/app/pages/aml/composables/useAmlExperiments.ts +45 -45
  765. package/app/pages/aml/composables/useAmlFormat.ts +44 -44
  766. package/app/pages/aml/composables/useAmlJobs.ts +131 -131
  767. package/app/pages/aml/composables/useAmlModels.ts +56 -56
  768. package/app/pages/aml/composables/useAmlNotes.ts +47 -47
  769. package/app/pages/aml/composables/useAmlPredict.ts +93 -93
  770. package/app/pages/aml/constants.ts +63 -63
  771. package/app/pages/aml/index.vue +236 -236
  772. package/app/pages/composables/useDashboardCharts.ts +192 -192
  773. package/app/pages/composables/useDashboardData.ts +144 -144
  774. package/app/pages/daq/composables/useDaqAddNode.ts +126 -126
  775. package/app/pages/daq/composables/useDaqDetailBinding.ts +29 -29
  776. package/app/pages/daq/composables/useDaqDetailFrames.ts +42 -42
  777. package/app/pages/daq/composables/useDaqDetailNode.ts +53 -53
  778. package/app/pages/daq/composables/useDaqDetailParams.ts +138 -138
  779. package/app/pages/daq/composables/useDaqFilters.ts +187 -187
  780. package/app/pages/daq/composables/useDaqNodeWindow.ts +86 -86
  781. package/app/pages/daq/composables/useDaqOptimizations.ts +99 -99
  782. package/app/pages/daq/composables/useDaqTemplates.ts +152 -152
  783. package/app/pages/daq/index.vue +260 -260
  784. package/app/pages/dcw/composables/useDcwCards.ts +27 -27
  785. package/app/pages/dcw/composables/useDcwDetailScope.ts +145 -145
  786. package/app/pages/dcw/composables/useDcwDetailTemplates.ts +94 -94
  787. package/app/pages/dcw/composables/useDcwFilter.ts +29 -29
  788. package/app/pages/dcw/composables/useDcwLedger.ts +34 -34
  789. package/app/pages/dcw/composables/useDcwLineMutations.ts +115 -115
  790. package/app/pages/dcw/composables/useDcwLineRun.ts +60 -60
  791. package/app/pages/dcw/composables/useDcwProducts.ts +54 -54
  792. package/app/pages/dcw/composables/useDcwQuery.ts +68 -68
  793. package/app/pages/dcw/composables/useDcwQuickActions.ts +47 -47
  794. package/app/pages/dcw/composables/useDcwRecipes.ts +256 -256
  795. package/app/pages/dcw/composables/useDcwTemplates.ts +50 -50
  796. package/app/pages/dcw/index.vue +195 -195
  797. package/app/pages/dcw/types.ts +9 -9
  798. package/app/pages/index.vue +126 -126
  799. package/app/pages/logs/composables/useLogsFormat.ts +43 -43
  800. package/app/pages/logs/composables/useLogsManual.ts +3 -0
  801. package/app/pages/logs/composables/useLogsScope.ts +39 -39
  802. package/app/pages/logs/index.vue +34 -1
  803. package/app/pages/monitor/types.ts +61 -61
  804. package/app/pages/operations.vue +61 -61
  805. package/app/pages/permissions/index.vue +369 -369
  806. package/app/pages/tokens/composables/useTokenClipboard.ts +33 -33
  807. package/app/pages/tokens/composables/useTokenCreate.ts +93 -93
  808. package/app/pages/tokens/composables/useTokenRename.ts +54 -54
  809. package/app/pages/tokens/composables/useTokenReveal.ts +84 -84
  810. package/app/pages/tokens/composables/useTokensList.ts +60 -60
  811. package/app/pages/tokens.vue +111 -111
  812. package/app/pages/tools/index.vue +98 -98
  813. package/app/pages/workshop/agents.vue +130 -130
  814. package/app/pages/workshop/composables/useAgentHarnessOptions.ts +59 -59
  815. package/app/pages/workshop/composables/useAgentTemplateActions.ts +42 -42
  816. package/app/pages/workshop/composables/useAgentTemplateDialogState.ts +24 -24
  817. package/app/pages/workshop/composables/useAgentTemplateForm.ts +88 -88
  818. package/app/pages/workshop/composables/useAgentTemplatesCatalog.ts +92 -92
  819. package/app/pages/workshop/composables/useTeamActions.ts +44 -44
  820. package/app/pages/workshop/composables/useTeamAddMemberDialog.ts +49 -49
  821. package/app/pages/workshop/composables/useTeamCreateDialog.ts +67 -67
  822. package/app/pages/workshop/composables/useTeamDeployDialog.ts +49 -49
  823. package/app/pages/workshop/composables/useTeamDialogState.ts +46 -46
  824. package/app/pages/workshop/composables/useTeamPluginDialog.ts +72 -72
  825. package/app/pages/workshop/composables/useTeamsCatalog.ts +100 -100
  826. package/app/pages/workshop/composables/useWorkbenchWorkspaces.ts +123 -123
  827. package/app/pages/workshop/composables/useWorkspaceAuth.ts +31 -31
  828. package/app/pages/workshop/composables/useWorkspaceChannels.ts +62 -62
  829. package/app/pages/workshop/composables/useWorkspaceShell.ts +136 -136
  830. package/app/pages/workshop/schedules.vue +553 -553
  831. package/app/pages/workshop/w/[wsId].vue +221 -221
  832. package/app/plugins/aw-plugins.client.ts +213 -213
  833. package/app/plugins/esc-close.client.ts +31 -31
  834. package/app/stores/workshop/hitl.ts +183 -183
  835. package/app/stores/workshop/narrow-fetch.ts +23 -23
  836. package/app/utils/api-error.ts +75 -75
  837. package/app/utils/builtin-catalog.ts +104 -104
  838. package/app/utils/chart-trend.ts +97 -97
  839. package/app/utils/dcw-driver-badge.ts +16 -16
  840. package/app/utils/dcw-recipe-form.ts +26 -26
  841. package/cli/commands/tui.mjs +28 -28
  842. package/cli/commands/update.mjs +124 -124
  843. package/cli/core/child-lifecycle.mjs +136 -136
  844. package/cli/core/meta.mjs +38 -38
  845. package/cli/core/post-build.mjs +96 -96
  846. package/config.yml +1 -1
  847. package/docs/cli.en.md +2 -2
  848. package/docs/cli.md +2 -2
  849. package/docs/mcp.en.md +27 -27
  850. package/docs/multi-harness-architecture.md +248 -248
  851. package/docs/plugins.en.md +1 -1
  852. package/docs/plugins.md +1 -1
  853. package/docs/sdk.en.md +1 -1
  854. package/docs/sdk.md +1 -1
  855. package/docs/tui.md +43 -43
  856. package/i18n/dicts/_en.json +1551 -1551
  857. package/i18n/dicts/_en2.json +300 -300
  858. package/i18n/dicts/_en4.json +114 -114
  859. package/i18n/dicts/agentLanesView.json +61 -61
  860. package/i18n/dicts/appHeader.json +17 -17
  861. package/i18n/dicts/channelSessionList.json +51 -51
  862. package/i18n/dicts/chat.json +79 -79
  863. package/i18n/dicts/clusterTool.json +4 -4
  864. package/i18n/dicts/composer.json +38 -38
  865. package/i18n/dicts/ctpl.json +37 -37
  866. package/i18n/dicts/dcwDetail.json +219 -219
  867. package/i18n/dicts/lineOps.json +14 -14
  868. package/i18n/dicts/multiChannelView.json +13 -13
  869. package/i18n/dicts/notifications.json +13 -13
  870. package/i18n/dicts/taskInspectorDrawer.json +25 -25
  871. package/i18n/dicts/teamPlugins.json +10 -10
  872. package/i18n/dicts/townView.json +211 -209
  873. package/i18n/locales/en.ts +9 -0
  874. package/i18n/locales/zh-CN.ts +9 -0
  875. package/mcp/discovery.mjs +227 -227
  876. package/package.json +3 -1
  877. package/public/favicon.svg +14 -14
  878. package/public/robots.txt +3 -3
  879. package/scripts/_audit/_live-mqtt-e2e-20261028.mjs +219 -219
  880. package/scripts/_audit/audit-harness-adapters.md +664 -664
  881. package/scripts/_audit/aw-mcp-live-e2e.mjs +293 -293
  882. package/scripts/_audit/bump-version.mjs +51 -51
  883. package/scripts/_audit/detached-instance.mjs +112 -112
  884. package/scripts/_audit/detached-start.mjs +103 -103
  885. package/scripts/_audit/eda-ui-fix-acceptance.mjs +212 -212
  886. package/scripts/_audit/guard-upstream-liveness.mjs +104 -104
  887. package/scripts/_audit/http-api-authz-audit.md +657 -657
  888. package/scripts/_audit/kb-team-mock-e2e.mjs +146 -146
  889. package/scripts/_audit/kb-team-omp-e2e.mjs +229 -229
  890. package/scripts/_audit/prompt-injection-probe.mts +76 -76
  891. package/scripts/_audit/run.mjs +21 -21
  892. package/scripts/_audit/runtime-audit.md +716 -716
  893. package/scripts/_audit/skills-guided-e2e.mjs +316 -316
  894. package/scripts/_audit/stability-soak.mjs +252 -252
  895. package/scripts/_audit/stubs/nuxt-imports.mjs +67 -67
  896. package/scripts/_audit/ts-register-hook.mjs +12 -12
  897. package/scripts/_audit/ts-resolve-hook.mjs +96 -96
  898. package/scripts/_aw0746-stage12.mjs +94 -94
  899. package/scripts/_aw0746-stage34.mjs +136 -136
  900. package/scripts/_aw0746-stage6b-train-sweep.mjs +145 -145
  901. package/scripts/_aw0746-stage6c-jobsmoke.mjs +69 -69
  902. package/scripts/_dbg-configroot-audit.mjs +86 -86
  903. package/scripts/_dbg-daq-intervals-func.mjs +115 -115
  904. package/scripts/_dbg-perms-e2e.mjs +142 -142
  905. package/scripts/_dbg-protocol-matrix.mjs +462 -462
  906. package/scripts/_dbg-render-regression.mjs +193 -193
  907. package/scripts/_dbg-schedule-e2e.mjs +262 -262
  908. package/scripts/_e2e-ui-functional.mjs +371 -371
  909. package/scripts/_lib-aml-python-run.mjs +17 -17
  910. package/scripts/_plc-sim-detached.cjs +22 -22
  911. package/scripts/_provision-injection-line.mjs +39 -39
  912. package/scripts/_run-matrix.ps1 +53 -53
  913. package/scripts/_sweep-button-contrast.mjs +87 -87
  914. package/scripts/acceptance-aml-hybrid-e2e.ts +396 -396
  915. package/scripts/acceptance-aml-hybrid-live.mjs +93 -93
  916. package/scripts/acceptance-aml-model-identity.ts +137 -137
  917. package/scripts/agent-daq-isolation-e2e.mjs +91 -91
  918. package/scripts/api-contract-smoke.mjs +126 -126
  919. package/scripts/ask-hitl-e2e.mjs +96 -96
  920. package/scripts/aw-expose.mjs +159 -159
  921. package/scripts/channel-interaction-smoke.mjs +80 -80
  922. package/scripts/data-studio-ui-e2e.mjs +163 -163
  923. package/scripts/demo-group-chat-all-real.ts +279 -279
  924. package/scripts/dev-modbus-simulator.mjs +55 -55
  925. package/scripts/docs-shots.mjs +36 -36
  926. package/scripts/e2e-agentteam-chat.mjs +473 -473
  927. package/scripts/e2e-agentteam-real-triage.mjs +421 -421
  928. package/scripts/e2e-aml-decoupled.mjs +162 -162
  929. package/scripts/e2e-analysis-ledger.mjs +202 -0
  930. package/scripts/e2e-aw-tui-global.mjs +277 -277
  931. package/scripts/e2e-binding-modes-real.mjs +442 -0
  932. package/scripts/e2e-business-loop-real.mjs +391 -0
  933. package/scripts/e2e-closedloop/cleanup.mjs +27 -27
  934. package/scripts/e2e-closedloop/lib.mjs +109 -109
  935. package/scripts/e2e-closedloop/main.mjs +59 -59
  936. package/scripts/e2e-closedloop/scenarios-accounts.mjs +210 -210
  937. package/scripts/e2e-closedloop/scenarios-authz.mjs +196 -196
  938. package/scripts/e2e-closedloop/scenarios-daq-dcw.mjs +222 -222
  939. package/scripts/e2e-closedloop/scenarios-plugins.mjs +169 -169
  940. package/scripts/e2e-closedloop/state.mjs +10 -10
  941. package/scripts/e2e-config-groups.mjs +238 -238
  942. package/scripts/e2e-core-bridges-matrix.mjs +303 -0
  943. package/scripts/e2e-crash-cycle.mjs +108 -108
  944. package/scripts/e2e-error-handling.mjs +190 -0
  945. package/scripts/e2e-full-closedloop.mjs +16 -16
  946. package/scripts/e2e-golive-matrix.mjs +515 -0
  947. package/scripts/e2e-hil-multi-user.mjs +307 -307
  948. package/scripts/e2e-hil-restart.mjs +339 -339
  949. package/scripts/e2e-line-governance.mjs +352 -352
  950. package/scripts/e2e-mes-mirror-real.mjs +418 -0
  951. package/scripts/e2e-multiexpert-remediation-real.mjs +453 -453
  952. package/scripts/e2e-node-binding-3mode-real.mjs +792 -697
  953. package/scripts/e2e-node-binding-authz.mjs +372 -332
  954. package/scripts/e2e-ontology.mjs +393 -393
  955. package/scripts/e2e-optimizer-live.mjs +4 -0
  956. package/scripts/e2e-physical-effect-real.mjs +570 -0
  957. package/scripts/e2e-plc-plugin-closedloop.mjs +549 -549
  958. package/scripts/full-stack-shots.mjs +145 -145
  959. package/scripts/full-tool-injection-harness-e2e.mjs +214 -214
  960. package/scripts/hitl-reject-e2e.mjs +131 -131
  961. package/scripts/line-log-smoke.mjs +260 -260
  962. package/scripts/live-aml-mockomp.mjs +304 -304
  963. package/scripts/live-aml-optloop-resume.mjs +322 -322
  964. package/scripts/live-aml-optloop.mjs +588 -588
  965. package/scripts/live-aml-stage9.mjs +169 -169
  966. package/scripts/live-aml-two-goals.mjs +315 -315
  967. package/scripts/live-demo-seed.mjs +157 -0
  968. package/scripts/live-optloop-two-modes.mjs +857 -857
  969. package/scripts/mes-agent-integration-e2e.mjs +361 -361
  970. package/scripts/ops-plugins-e2e.mjs +85 -85
  971. package/scripts/scenario-suite-setup.mjs +337 -337
  972. package/scripts/scenario-suite-stability.mjs +144 -144
  973. package/scripts/security-acceptance.mjs +218 -218
  974. package/scripts/team-coordination-e2e.mjs +96 -96
  975. package/scripts/test-agentteam-workflow.ts +472 -472
  976. package/scripts/test-aw-skills.mjs +102 -102
  977. package/scripts/test-daq-frame-race.mjs +358 -358
  978. package/scripts/test-data-root.mjs +208 -208
  979. package/scripts/test-events-index.mjs +176 -176
  980. package/scripts/test-group-chat-unit/lib.ts +186 -186
  981. package/scripts/test-group-chat-unit/main.ts +45 -45
  982. package/scripts/test-group-chat-unit.ts +35 -35
  983. package/scripts/test-hitl-decision.ts +526 -526
  984. package/scripts/test-hitl-registry.ts +112 -112
  985. package/scripts/test-log-flooding.mjs +160 -160
  986. package/scripts/test-lru.mjs +101 -101
  987. package/scripts/test-plugin-hardening.mjs +90 -90
  988. package/scripts/test-plugin-lifecycle.mjs +173 -173
  989. package/scripts/test-rollback-index.mjs +137 -137
  990. package/scripts/test-schedule-runtime.ts +309 -309
  991. package/scripts/test-sdk-surface.mjs +158 -158
  992. package/scripts/test-serial-bridge.mjs +418 -418
  993. package/scripts/test-tui-commands.mjs +148 -148
  994. package/scripts/test-tui-reducers.mjs +72 -72
  995. package/scripts/three-system-e2e/lib.mjs +79 -79
  996. package/scripts/three-system-e2e/main.mjs +40 -40
  997. package/scripts/three-system-e2e/phases/phase-0-user-token.mjs +42 -42
  998. package/scripts/three-system-e2e/phases/phase-0a2-line-autoselect.mjs +35 -35
  999. package/scripts/three-system-e2e/phases/phase-0b-fixture-grants.mjs +39 -39
  1000. package/scripts/three-system-e2e/phases/phase-0c-plugin-outbound-auth.mjs +95 -95
  1001. package/scripts/three-system-e2e/phases/stage-1-health.mjs +47 -47
  1002. package/scripts/three-system-e2e/phases/stage-2-5-team-plugins.mjs +84 -84
  1003. package/scripts/three-system-e2e/phases/stage-2-teams-tools-hitl.mjs +184 -184
  1004. package/scripts/three-system-e2e/phases/stage-3-diag.mjs +73 -73
  1005. package/scripts/three-system-e2e/phases/stage-4-plugin-toggle.mjs +53 -53
  1006. package/scripts/three-system-e2e/state.mjs +87 -87
  1007. package/scripts/three-system-e2e.mjs +40 -40
  1008. package/scripts/tool-face-batch-identity-e2e.mjs +222 -222
  1009. package/scripts/tsconfig.json +14 -14
  1010. package/scripts/tui-smoke.mjs +100 -100
  1011. package/scripts/typecheck.mjs +75 -75
  1012. package/scripts/ui/md-lint.mjs +80 -80
  1013. package/scripts/ui/readme-assets.mjs +30 -30
  1014. package/scripts/ui/readme-shots.mjs +42 -42
  1015. package/scripts/ui/record-demo.mjs +557 -557
  1016. package/scripts/ui/record.mjs +225 -225
  1017. package/scripts/ui/seed-admin.mjs +68 -68
  1018. package/scripts/ui/seed-demo.mjs +83 -83
  1019. package/scripts/ui/seed-industrial-demo.mjs +171 -171
  1020. package/scripts/ui/shot-hero.mjs +25 -25
  1021. package/scripts/ui/shots.mjs +75 -75
  1022. package/scripts/ui/verify-nav.mjs +51 -51
  1023. package/scripts/ui/verify-responsive.mjs +285 -285
  1024. package/sdk/client.d.mts +110 -110
  1025. package/sdk/examples/line-sentinel/index.mjs +105 -105
  1026. package/sdk/examples/ops-notifier/index.mjs +34 -34
  1027. package/sdk/examples/sample-insight/index.mjs +39 -39
  1028. package/server/api/plugins/client/[name].get.ts +18 -18
  1029. package/server/api/plugins/i18n.get.ts +12 -12
  1030. package/server/api/plugins/manifest.get.ts +10 -10
  1031. package/server/api/system/backup/list.get.ts +32 -32
  1032. package/server/api/system/backup/run.post.ts +21 -21
  1033. package/server/api/system/config-groups/[id].delete.ts +21 -21
  1034. package/server/api/system/config-groups/[id].patch.ts +26 -26
  1035. package/server/api/system/config-groups/index.get.ts +21 -21
  1036. package/server/api/system/config-groups/index.post.ts +33 -33
  1037. package/server/api/system/timezone.get.ts +20 -20
  1038. package/server/api/users/tokens/[id]/token.get.ts +11 -11
  1039. package/server/api/workshop/[...path].ts +13 -13
  1040. package/server/api/workshop/agent-tools/approvals/index.get.ts +45 -43
  1041. package/server/api/workshop/agent-tools/bindings/[id].delete.ts +26 -26
  1042. package/server/api/workshop/agent-tools/bindings/grant.post.ts +45 -45
  1043. package/server/api/workshop/agent-tools/bindings/index.get.ts +41 -41
  1044. package/server/api/workshop/agent-tools/bindings/index.post.ts +38 -16
  1045. package/server/api/workshop/agent-tools/bindings/revoke.post.ts +42 -42
  1046. package/server/api/workshop/aml/datasets/[id]/preview.get.ts +68 -68
  1047. package/server/api/workshop/aml/datasets/[id].delete.ts +39 -39
  1048. package/server/api/workshop/aml/datasets/[id].get.ts +53 -53
  1049. package/server/api/workshop/aml/datasets/[id].patch.ts +30 -30
  1050. package/server/api/workshop/aml/datasets/index.get.ts +20 -20
  1051. package/server/api/workshop/aml/datasets/index.post.ts +27 -27
  1052. package/server/api/workshop/aml/entities/index.get.ts +13 -13
  1053. package/server/api/workshop/aml/entities/prune.post.ts +28 -28
  1054. package/server/api/workshop/aml/env/index.get.ts +13 -13
  1055. package/server/api/workshop/aml/env/recheck.post.ts +14 -14
  1056. package/server/api/workshop/aml/env/uv.post.ts +21 -21
  1057. package/server/api/workshop/aml/env/venv.post.ts +24 -24
  1058. package/server/api/workshop/aml/experiments/index.get.ts +35 -35
  1059. package/server/api/workshop/aml/index.get.ts +37 -37
  1060. package/server/api/workshop/aml/jobs/[id]/cancel.post.ts +21 -21
  1061. package/server/api/workshop/aml/jobs/[id]/logs.get.ts +23 -23
  1062. package/server/api/workshop/aml/jobs/[id]/retry.post.ts +20 -20
  1063. package/server/api/workshop/aml/jobs/[id].delete.ts +44 -44
  1064. package/server/api/workshop/aml/jobs/[id].get.ts +23 -23
  1065. package/server/api/workshop/aml/jobs/index.get.ts +26 -26
  1066. package/server/api/workshop/aml/models/[id]/predict.post.ts +24 -24
  1067. package/server/api/workshop/aml/models/[id]/promote.post.ts +30 -30
  1068. package/server/api/workshop/aml/models/index.get.ts +48 -48
  1069. package/server/api/workshop/aml/training-plans/[id]/train.post.ts +18 -18
  1070. package/server/api/workshop/aml/training-plans/[id].delete.ts +18 -18
  1071. package/server/api/workshop/aml/training-plans/[id].patch.ts +30 -30
  1072. package/server/api/workshop/aml/training-plans/index.get.ts +9 -9
  1073. package/server/api/workshop/aml/training-plans/index.post.ts +43 -43
  1074. package/server/api/workshop/analysis/index.post.ts +54 -54
  1075. package/server/api/workshop/approvals/[id]/decide.post.ts +30 -30
  1076. package/server/api/workshop/approvals/index.get.ts +22 -22
  1077. package/server/api/workshop/audit.get.ts +43 -43
  1078. package/server/api/workshop/channels/[id]/chat/messages/[messageId]/read.post.ts +22 -22
  1079. package/server/api/workshop/channels/[id]/chat/messages/index.get.ts +29 -29
  1080. package/server/api/workshop/channels/[id]/chat/messages/index.post.ts +51 -51
  1081. package/server/api/workshop/channels/[id]/chat/permissions.get.ts +35 -35
  1082. package/server/api/workshop/channels/[id]/index.patch.ts +64 -64
  1083. package/server/api/workshop/channels/[id]/members/[userId]/approve.post.ts +20 -20
  1084. package/server/api/workshop/channels/[id]/members/[userId].delete.ts +21 -21
  1085. package/server/api/workshop/channels/[id]/members/index.get.ts +23 -23
  1086. package/server/api/workshop/channels/[id]/members/leave.post.ts +20 -20
  1087. package/server/api/workshop/channels/[id]/twin-profile.get.ts +45 -45
  1088. package/server/api/workshop/channels/[id]/twin-profile.patch.ts +72 -72
  1089. package/server/api/workshop/daq/[id]/test.post.ts +1 -1
  1090. package/server/api/workshop/dcw/[id]/write.post.ts +4 -4
  1091. package/server/api/workshop/dcw/[id].delete.ts +41 -41
  1092. package/server/api/workshop/dcw/mes-test-read.post.ts +24 -24
  1093. package/server/api/workshop/dcw/params/[id]/write.post.ts +21 -21
  1094. package/server/api/workshop/dcw/params/[id].delete.ts +19 -19
  1095. package/server/api/workshop/dcw/params/[id].patch.ts +23 -23
  1096. package/server/api/workshop/dcw/params/index.get.ts +27 -27
  1097. package/server/api/workshop/dcw/params/index.post.ts +25 -25
  1098. package/server/api/workshop/dcw/templates/[key].delete.ts +14 -14
  1099. package/server/api/workshop/dcw/templates/[key].patch.ts +16 -16
  1100. package/server/api/workshop/dcw/templates/index.post.ts +15 -15
  1101. package/server/api/workshop/device-twins/[id].delete.ts +25 -25
  1102. package/server/api/workshop/eda/runs/[id]/labels.patch.ts +25 -25
  1103. package/server/api/workshop/eda/templates/[id].delete.ts +14 -14
  1104. package/server/api/workshop/eda/templates/[id].get.ts +15 -15
  1105. package/server/api/workshop/eda/templates/[id].patch.ts +20 -20
  1106. package/server/api/workshop/eda/templates/index.get.ts +11 -11
  1107. package/server/api/workshop/eda/templates/index.post.ts +20 -20
  1108. package/server/api/workshop/exp/confirmations/[id]/decide.post.ts +41 -41
  1109. package/server/api/workshop/exp/confirmations/index.get.ts +25 -25
  1110. package/server/api/workshop/harnesses/[id]/providers.get.ts +16 -16
  1111. package/server/api/workshop/hitl/respond.post.ts +94 -94
  1112. package/server/api/workshop/notifications/index.get.ts +60 -60
  1113. package/server/api/workshop/notifications/read.post.ts +31 -31
  1114. package/server/api/workshop/ontology/drafts/[draftId]/subgraph.ts +24 -24
  1115. package/server/api/workshop/ops-logs/index.post.ts +20 -2
  1116. package/server/api/workshop/plugins/[name]/disable.post.ts +21 -21
  1117. package/server/api/workshop/plugins/[name]/enable.post.ts +21 -21
  1118. package/server/api/workshop/plugins/[name]/index.get.ts +14 -14
  1119. package/server/api/workshop/schedules/[id]/run.post.ts +15 -15
  1120. package/server/api/workshop/schedules/[id]/runs.get.ts +15 -15
  1121. package/server/api/workshop/schedules/[id].delete.ts +14 -14
  1122. package/server/api/workshop/schedules/[id].get.ts +13 -13
  1123. package/server/api/workshop/schedules/[id].patch.ts +29 -29
  1124. package/server/api/workshop/schedules/index.get.ts +12 -12
  1125. package/server/api/workshop/schedules/index.post.ts +32 -32
  1126. package/server/api/workshop/tasks/[id]/reassign.post.ts +32 -32
  1127. package/server/api/workshop/tasks/[id]/update.post.ts +35 -35
  1128. package/server/api/workshop/teams/[id]/plugins/index.get.ts +36 -36
  1129. package/server/api/workshop/teams/[id]/plugins/index.put.ts +42 -42
  1130. package/server/api/workshop/ws/audience.ts +56 -56
  1131. package/server/api/workshop/ws/db-buffer.ts +68 -68
  1132. package/server/api/workshop/ws/event-mapping.ts +47 -47
  1133. package/server/api/workshop/ws/handlers.ts +132 -132
  1134. package/server/api/workshop/ws/hub.ts +134 -134
  1135. package/server/api/workshop/ws/index.ts +23 -23
  1136. package/server/api/workshop/ws/notification-uplink.ts +77 -77
  1137. package/server/api/workshop/ws/shared.ts +94 -94
  1138. package/server/api/workshop/ws/streams.ts +146 -146
  1139. package/server/middleware/00-security-headers.ts +38 -38
  1140. package/server/middleware/01-rate-guard.ts +101 -101
  1141. package/server/plugins/01-instance-guard.ts +82 -82
  1142. package/server/plugins/aml-twin-worker.ts +32 -32
  1143. package/server/plugins/aw-plugins.ts +4 -1
  1144. package/server/plugins/dev-stability-guard.ts +46 -42
  1145. package/server/plugins/error-ledger.ts +21 -0
  1146. package/server/plugins-builtin/diag-bridge/host/constants.mjs +25 -25
  1147. package/server/plugins-builtin/diag-bridge/host/exports.mjs +104 -104
  1148. package/server/plugins-builtin/diag-bridge/host/index.mjs +15 -15
  1149. package/server/plugins-builtin/diag-bridge/host/intents.mjs +62 -62
  1150. package/server/plugins-builtin/diag-bridge/host/snapshot.mjs +93 -93
  1151. package/server/plugins-builtin/diag-bridge/index.mjs +9 -9
  1152. package/server/plugins-builtin/serial-bridge/client.mjs +211 -211
  1153. package/server/plugins-builtin/serial-bridge/drivers.mjs +409 -409
  1154. package/server/plugins-builtin/serial-bridge/i18n.json +62 -62
  1155. package/server/plugins-builtin/serial-bridge/index.mjs +247 -247
  1156. package/server/plugins-builtin/serial-bridge/lib.mjs +208 -208
  1157. package/server/plugins-builtin/serial-bridge/rtu.mjs +168 -168
  1158. package/server/services/system-config/contracts.ts +29 -29
  1159. package/server/services/system-config/dispose.ts +19 -19
  1160. package/server/services/system-config/facade.ts +26 -26
  1161. package/server/services/system-config/groups.ts +108 -108
  1162. package/server/services/system-config/index.ts +21 -21
  1163. package/server/services/system-config/init.ts +26 -26
  1164. package/server/services/system-config/mutate.ts +103 -103
  1165. package/server/services/system-config/plugins.ts +104 -104
  1166. package/server/services/system-config/snapshot.ts +59 -59
  1167. package/server/services/system-config/state.ts +79 -79
  1168. package/server/services/system-config/types.ts +58 -58
  1169. package/server/services/workshop/agents/adapters/omp-rpc-client/api.ts +111 -111
  1170. package/server/services/workshop/agents/adapters/omp-rpc-client/contracts.ts +22 -22
  1171. package/server/services/workshop/agents/adapters/omp-rpc-client/facade.ts +7 -7
  1172. package/server/services/workshop/agents/adapters/omp-rpc-client/helpers.ts +38 -38
  1173. package/server/services/workshop/agents/adapters/omp-rpc-client/index.ts +25 -25
  1174. package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +70 -70
  1175. package/server/services/workshop/agents/adapters/omp-rpc-client/state.ts +65 -65
  1176. package/server/services/workshop/agents/adapters/omp-rpc-client/stdout.ts +92 -92
  1177. package/server/services/workshop/agents/adapters/omp-rpc-client/usage.ts +47 -47
  1178. package/server/services/workshop/agents/agent-badge.ts +38 -38
  1179. package/server/services/workshop/agents/agent-dto.ts +54 -54
  1180. package/server/services/workshop/agents/binding-authz.ts +66 -60
  1181. package/server/services/workshop/agents/binding-mode.ts +51 -51
  1182. package/server/services/workshop/agents/codex-agent/client.ts +170 -170
  1183. package/server/services/workshop/agents/codex-agent/core.ts +119 -119
  1184. package/server/services/workshop/agents/codex-agent/facade.ts +8 -8
  1185. package/server/services/workshop/agents/codex-agent/helpers.ts +13 -13
  1186. package/server/services/workshop/agents/codex-agent/hitl.ts +138 -138
  1187. package/server/services/workshop/agents/codex-agent/index.ts +14 -14
  1188. package/server/services/workshop/agents/codex-agent/turn.ts +367 -367
  1189. package/server/services/workshop/agents/codex-agent/types.ts +42 -42
  1190. package/server/services/workshop/agents/harness-process.ts +3 -3
  1191. package/server/services/workshop/agents/harness-spawn-policy.ts +114 -114
  1192. package/server/services/workshop/agents/harness-terminal/api.ts +197 -197
  1193. package/server/services/workshop/agents/harness-terminal/index.ts +17 -17
  1194. package/server/services/workshop/agents/harness-terminal/io.ts +120 -120
  1195. package/server/services/workshop/agents/harness-terminal/park.ts +55 -55
  1196. package/server/services/workshop/agents/harness-terminal/sanitize.ts +98 -98
  1197. package/server/services/workshop/agents/harness-terminal/session.ts +124 -124
  1198. package/server/services/workshop/agents/harness-terminal/shared.ts +74 -74
  1199. package/server/services/workshop/agents/hitl-capabilities.ts +312 -312
  1200. package/server/services/workshop/agents/hitl-decision/answers.ts +32 -32
  1201. package/server/services/workshop/agents/hitl-decision/decide.ts +268 -268
  1202. package/server/services/workshop/agents/hitl-decision/payload.ts +45 -45
  1203. package/server/services/workshop/agents/hitl-decision/shared.ts +108 -108
  1204. package/server/services/workshop/agents/hitl-decision/visibility.ts +94 -94
  1205. package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +17 -3
  1206. package/server/services/workshop/agents/host-tool-bridge/tools/progress.ts +84 -84
  1207. package/server/services/workshop/agents/host-tool-bridge/tools/team-delegation.ts +109 -108
  1208. package/server/services/workshop/agents/host-tool-bridge/tools/team.ts +70 -70
  1209. package/server/services/workshop/agents/industrial/aml-activity.ts +131 -131
  1210. package/server/services/workshop/agents/industrial/audit-query.ts +66 -66
  1211. package/server/services/workshop/agents/industrial/dcw-tools.ts +11 -1
  1212. package/server/services/workshop/agents/industrial/exp-tools.ts +104 -104
  1213. package/server/services/workshop/agents/industrial/ops-tools.ts +8 -2
  1214. package/server/services/workshop/agents/industrial/param-tools.ts +69 -69
  1215. package/server/services/workshop/agents/industrial/recipe-gate.ts +57 -29
  1216. package/server/services/workshop/agents/industrial/recipe-propose-tools.ts +2 -1
  1217. package/server/services/workshop/agents/industrial/tool-verify.ts +23 -3
  1218. package/server/services/workshop/agents/node-bindings.repo.ts +210 -208
  1219. package/server/services/workshop/agents/node-delegation.ts +204 -204
  1220. package/server/services/workshop/agents/omp-agent/core.ts +146 -146
  1221. package/server/services/workshop/agents/omp-agent/facade.ts +8 -8
  1222. package/server/services/workshop/agents/omp-agent/helpers.ts +37 -37
  1223. package/server/services/workshop/agents/omp-agent/index.ts +16 -16
  1224. package/server/services/workshop/agents/omp-agent/types.ts +45 -45
  1225. package/server/services/workshop/agents/opencode-agent/core.ts +77 -77
  1226. package/server/services/workshop/agents/opencode-agent/facade.ts +8 -8
  1227. package/server/services/workshop/agents/opencode-agent/helpers.ts +29 -29
  1228. package/server/services/workshop/agents/opencode-agent/hitl.ts +113 -113
  1229. package/server/services/workshop/agents/opencode-agent/index.ts +16 -16
  1230. package/server/services/workshop/agents/opencode-agent/lifecycle.ts +44 -44
  1231. package/server/services/workshop/agents/opencode-agent/server.ts +244 -244
  1232. package/server/services/workshop/agents/opencode-agent/turn.ts +278 -278
  1233. package/server/services/workshop/agents/opencode-agent/types.ts +54 -54
  1234. package/server/services/workshop/agents/tool-approvals.ts +6 -4
  1235. package/server/services/workshop/agents/tool-classes.ts +44 -44
  1236. package/server/services/workshop/aml/clean.ts +120 -120
  1237. package/server/services/workshop/aml/entity.ts +367 -367
  1238. package/server/services/workshop/aml/job-orchestrator/broadcast.ts +37 -37
  1239. package/server/services/workshop/aml/job-orchestrator/control.ts +94 -94
  1240. package/server/services/workshop/aml/job-orchestrator/failure.ts +96 -96
  1241. package/server/services/workshop/aml/job-orchestrator/index.ts +22 -22
  1242. package/server/services/workshop/aml/job-orchestrator/process.ts +101 -101
  1243. package/server/services/workshop/aml/job-orchestrator/shared.ts +53 -53
  1244. package/server/services/workshop/aml/job-orchestrator/status.ts +20 -20
  1245. package/server/services/workshop/aml/job-orchestrator/tick.ts +37 -37
  1246. package/server/services/workshop/aml/python/train-example.py +92 -92
  1247. package/server/services/workshop/aml/runtime.ts +137 -137
  1248. package/server/services/workshop/aml/stats.ts +140 -140
  1249. package/server/services/workshop/aml/twin/calibration-worker.ts +150 -150
  1250. package/server/services/workshop/aml/twin/model-backed-provider.ts +332 -332
  1251. package/server/services/workshop/aml/twin/physics-spec-draft.ts +185 -185
  1252. package/server/services/workshop/aml/twin/prompt-composer.ts +143 -143
  1253. package/server/services/workshop/aml/twin/training-plans.ts +260 -260
  1254. package/server/services/workshop/aml/twin/write-guard.ts +19 -19
  1255. package/server/services/workshop/assets/character-asset.repo.ts +1 -1
  1256. package/server/services/workshop/assets/device-twin.repo.ts +1 -1
  1257. package/server/services/workshop/daq/daq-controller/contracts.ts +39 -39
  1258. package/server/services/workshop/daq/daq-controller/facade.ts +28 -28
  1259. package/server/services/workshop/daq/daq-controller/frames.ts +137 -137
  1260. package/server/services/workshop/daq/daq-controller/helpers.ts +52 -52
  1261. package/server/services/workshop/daq/daq-controller/index.ts +22 -22
  1262. package/server/services/workshop/daq/drivers/mock.ts +130 -130
  1263. package/server/services/workshop/daq/drivers/modbus-rtu.ts +67 -67
  1264. package/server/services/workshop/daq/drivers/modbus-tcp.ts +310 -310
  1265. package/server/services/workshop/daq/drivers/opcua.ts +227 -227
  1266. package/server/services/workshop/daq/drivers/s7-stub.ts +29 -29
  1267. package/server/services/workshop/daq/host-bindings.ts +71 -71
  1268. package/server/services/workshop/daq/host-ports.ts +65 -65
  1269. package/server/services/workshop/db/aml-team-seeds.ts +118 -118
  1270. package/server/services/workshop/db/backup-registry.ts +33 -33
  1271. package/server/services/workshop/db/channel-member.repo.ts +122 -122
  1272. package/server/services/workshop/db/channel.repo.ts +203 -203
  1273. package/server/services/workshop/db/chat-message.repo.ts +233 -233
  1274. package/server/services/workshop/db/database/index.ts +18 -18
  1275. package/server/services/workshop/db/database/json.ts +14 -14
  1276. package/server/services/workshop/db/database/seed-data.ts +60 -60
  1277. package/server/services/workshop/db/hitl-request.repo.ts +221 -221
  1278. package/server/services/workshop/db/notification.repo.ts +199 -199
  1279. package/server/services/workshop/db/readonly.ts +30 -30
  1280. package/server/services/workshop/db/scheduled-task.repo.ts +235 -235
  1281. package/server/services/workshop/db/transaction.ts +72 -72
  1282. package/server/services/workshop/dcw/dcw-controller/contracts.ts +16 -16
  1283. package/server/services/workshop/dcw/dcw-controller/control.ts +78 -78
  1284. package/server/services/workshop/dcw/dcw-controller/facade.ts +19 -19
  1285. package/server/services/workshop/dcw/dcw-controller/index.ts +22 -22
  1286. package/server/services/workshop/dcw/dcw-controller/params.ts +97 -97
  1287. package/server/services/workshop/dcw/dcw-controller/products.ts +103 -103
  1288. package/server/services/workshop/dcw/dcw-controller/write.ts +12 -0
  1289. package/server/services/workshop/dcw/dcw-node.ts +13 -1
  1290. package/server/services/workshop/dcw/dcw-runtime.ts +2 -1
  1291. package/server/services/workshop/dcw/dcw-templates.ts +136 -136
  1292. package/server/services/workshop/dcw/param-conversion.ts +78 -78
  1293. package/server/services/workshop/dcw/param-map.repo.ts +349 -349
  1294. package/server/services/workshop/dcw/plugin-bridge.ts +45 -45
  1295. package/server/services/workshop/dcw/recipe-rollback-manager/contracts.ts +26 -26
  1296. package/server/services/workshop/dcw/recipe-rollback-manager/facade.ts +13 -13
  1297. package/server/services/workshop/dcw/recipe-rollback-manager/helpers.ts +30 -30
  1298. package/server/services/workshop/dcw/recipe-rollback-manager/index.ts +17 -17
  1299. package/server/services/workshop/dcw/recipe-rollback-manager/internal.ts +33 -33
  1300. package/server/services/workshop/dcw/recipe-rollback-manager/judge.ts +52 -52
  1301. package/server/services/workshop/dcw/recipe-rollback-manager/lock.ts +137 -137
  1302. package/server/services/workshop/dcw/recipe-rollback-manager/state.ts +21 -21
  1303. package/server/services/workshop/dcw/recipe-rollback-manager/types.ts +3 -3
  1304. package/server/services/workshop/dcw/recipe-rollback-manager/views.ts +214 -214
  1305. package/server/services/workshop/eda/template-repo.ts +101 -101
  1306. package/server/services/workshop/exp/exp-collector.ts +275 -275
  1307. package/server/services/workshop/exp/exp-state.repo.ts +339 -339
  1308. package/server/services/workshop/line-scope.ts +80 -80
  1309. package/server/services/workshop/mes/mes-controller.ts +1164 -1155
  1310. package/server/services/workshop/mes/mes-hook.ts +567 -567
  1311. package/server/services/workshop/ontology/subgraph.core.ts +300 -300
  1312. package/server/services/workshop/ontology/subgraph.service.ts +113 -113
  1313. package/server/services/workshop/ops/error-ledger.ts +209 -0
  1314. package/server/services/workshop/plugins/host/api.mjs +90 -90
  1315. package/server/services/workshop/plugins/host/config.mjs +135 -135
  1316. package/server/services/workshop/plugins/host/index.mjs +23 -23
  1317. package/server/services/workshop/plugins/host/init.mjs +109 -109
  1318. package/server/services/workshop/plugins/host/rollback.mjs +72 -72
  1319. package/server/services/workshop/plugins/host/state.mjs +54 -54
  1320. package/server/services/workshop/plugins/host/toggle.mjs +64 -64
  1321. package/server/services/workshop/plugins/host.mjs +9 -9
  1322. package/server/services/workshop/runtime/agent-runtime/facade.ts +7 -7
  1323. package/server/services/workshop/runtime/agent-runtime/helpers.ts +18 -18
  1324. package/server/services/workshop/runtime/agent-runtime/index.ts +19 -19
  1325. package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +137 -137
  1326. package/server/services/workshop/runtime/chat-mention.ts +164 -164
  1327. package/server/services/workshop/runtime/chat-projection.ts +246 -246
  1328. package/server/services/workshop/runtime/manager/admin-agents.ts +268 -268
  1329. package/server/services/workshop/runtime/manager/bus.ts +182 -182
  1330. package/server/services/workshop/runtime/manager/channel-template-constants.ts +20 -20
  1331. package/server/services/workshop/runtime/manager/chat-reply.ts +181 -181
  1332. package/server/services/workshop/runtime/manager/chat.ts +386 -386
  1333. package/server/services/workshop/runtime/manager/facade.ts +24 -24
  1334. package/server/services/workshop/runtime/manager/helpers.ts +119 -119
  1335. package/server/services/workshop/runtime/manager/index.ts +42 -42
  1336. package/server/services/workshop/runtime/manager/internal.ts +73 -73
  1337. package/server/services/workshop/runtime/manager/notifications.ts +108 -108
  1338. package/server/services/workshop/runtime/manager/state.ts +2 -2
  1339. package/server/services/workshop/runtime/manager/teams.ts +148 -148
  1340. package/server/services/workshop/runtime/memory/contracts.ts +18 -18
  1341. package/server/services/workshop/runtime/memory/facade.ts +10 -10
  1342. package/server/services/workshop/runtime/memory/helpers.ts +196 -196
  1343. package/server/services/workshop/runtime/memory/index.ts +27 -27
  1344. package/server/services/workshop/runtime/memory/score.ts +33 -33
  1345. package/server/services/workshop/runtime/memory/state.ts +40 -40
  1346. package/server/services/workshop/runtime/monitor.ts +3 -3
  1347. package/server/services/workshop/runtime/platform-notice.ts +113 -113
  1348. package/server/services/workshop/runtime/schedule-runtime.ts +347 -347
  1349. package/server/services/workshop/runtime/scheduler-loop/contracts.ts +29 -29
  1350. package/server/services/workshop/runtime/scheduler-loop/facade.ts +7 -7
  1351. package/server/services/workshop/runtime/scheduler-loop/helpers.ts +14 -14
  1352. package/server/services/workshop/runtime/scheduler-loop/index.ts +16 -16
  1353. package/server/services/workshop/runtime/task-engine/facade.ts +7 -7
  1354. package/server/services/workshop/runtime/task-engine/index.ts +15 -15
  1355. package/server/services/workshop/runtime/task-engine/types.ts +3 -3
  1356. package/server/services/workshop/runtime/user-notification-hub.ts +192 -192
  1357. package/server/types/pg.d.ts +49 -49
  1358. package/server/utils/approval-gate.ts +67 -67
  1359. package/server/utils/mojibake-guard.ts +29 -29
  1360. package/server/utils/stability-severity.ts +77 -77
  1361. package/shared/config/groups.mjs +241 -241
  1362. package/shared/dcw-protocol/line.ts +4 -1
  1363. package/shared/lru.mjs +97 -97
  1364. package/tui/README.md +74 -74
  1365. package/tui/aw-tui.mjs +445 -445
  1366. package/tui/commands/index.mjs +287 -287
  1367. package/tui/components/chat-log.mjs +42 -42
  1368. package/tui/components/monitor-pane.mjs +39 -39
  1369. package/tui/components/root.mjs +53 -53
  1370. package/tui/components/status-bar.mjs +33 -33
  1371. package/tui/lib/api.mjs +82 -82
  1372. package/tui/lib/pickers.mjs +121 -121
  1373. package/tui/lib/reducers.mjs +218 -218
  1374. package/tui/lib/state.mjs +86 -86
  1375. package/tui/lib/virtual-terminal.mjs +48 -48
  1376. package/tui/lib/ws.mjs +125 -125
  1377. package/tui/theme.mjs +38 -38
  1378. package/.output/.AgentWorkShop/aml-python/__pycache__/aml_eval.cpython-312.pyc +0 -0
  1379. package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
  1380. package/.output/.AgentWorkShop/aml-python/__pycache__/train-example.cpython-312.pyc +0 -0
  1381. package/.output/.AgentWorkShop/aml-python/__pycache__/train-hybrid-example.cpython-312.pyc +0 -0
  1382. package/.output/public/_nuxt/26OL4Ao82.js +0 -1
  1383. package/.output/public/_nuxt/7op-BMk82.js +0 -1
  1384. package/.output/public/_nuxt/B1SIgyrl.js +0 -1
  1385. package/.output/public/_nuxt/BA2lmfW4.js +0 -1
  1386. package/.output/public/_nuxt/BDXQqSkl2.js +0 -1
  1387. package/.output/public/_nuxt/BI9jj13f2.js +0 -2
  1388. package/.output/public/_nuxt/BPUQZ9Lq2.js +0 -8
  1389. package/.output/public/_nuxt/BVg2R2VB2.js +0 -1
  1390. package/.output/public/_nuxt/BaYDgyaR.js +0 -3
  1391. package/.output/public/_nuxt/BfvuWqSa.js +0 -1
  1392. package/.output/public/_nuxt/BiXqyYNw2.js +0 -1
  1393. package/.output/public/_nuxt/BkEokGX5.js +0 -1
  1394. package/.output/public/_nuxt/BlOm8JIs2.js +0 -1
  1395. package/.output/public/_nuxt/BtZKe9ZV2.js +0 -1
  1396. package/.output/public/_nuxt/BuLoPmcf.js +0 -1
  1397. package/.output/public/_nuxt/BwOK42JQ.js +0 -1
  1398. package/.output/public/_nuxt/BwOko01T.js +0 -47
  1399. package/.output/public/_nuxt/C1RMfPoB2.js +0 -1
  1400. package/.output/public/_nuxt/CBkXv24C2.js +0 -1
  1401. package/.output/public/_nuxt/COfo_Bg3.js +0 -1
  1402. package/.output/public/_nuxt/CY2NkFvI.js +0 -1
  1403. package/.output/public/_nuxt/C_4mzQ5X.js +0 -1
  1404. package/.output/public/_nuxt/CdvMP3lv.js +0 -1
  1405. package/.output/public/_nuxt/CjdxNYpU2.js +0 -1
  1406. package/.output/public/_nuxt/CmuGMxDP.js +0 -1
  1407. package/.output/public/_nuxt/CooauJ7D.js +0 -1
  1408. package/.output/public/_nuxt/D1eVi1zr.js +0 -21
  1409. package/.output/public/_nuxt/D6PUmBb0.js +0 -1
  1410. package/.output/public/_nuxt/D8AvmPUH.js +0 -1
  1411. package/.output/public/_nuxt/DC8sMA36.js +0 -1
  1412. package/.output/public/_nuxt/DDHh85c42.js +0 -2
  1413. package/.output/public/_nuxt/DDXOfmo2.js +0 -20
  1414. package/.output/public/_nuxt/DMFwLxfu.js +0 -1
  1415. package/.output/public/_nuxt/DZqVVvR0.js +0 -1
  1416. package/.output/public/_nuxt/Dr1FVeQG2.js +0 -1
  1417. package/.output/public/_nuxt/DtnsTW7e.js +0 -1
  1418. package/.output/public/_nuxt/DuUc4bbY2.js +0 -1
  1419. package/.output/public/_nuxt/DxDqd6T42.js +0 -16
  1420. package/.output/public/_nuxt/DzU3zEKX.js +0 -1
  1421. package/.output/public/_nuxt/EMbqTHfT.js +0 -1
  1422. package/.output/public/_nuxt/EgO70wrE.js +0 -1
  1423. package/.output/public/_nuxt/HJKu4eEV2.js +0 -1
  1424. package/.output/public/_nuxt/OmpTerminalPanel.ComMDrA8.css +0 -1
  1425. package/.output/public/_nuxt/PluginSlot.CGH0vb95.css +0 -1
  1426. package/.output/public/_nuxt/Rb4o4o-82.js +0 -1
  1427. package/.output/public/_nuxt/Tf6SJSDj.js +0 -1
  1428. package/.output/public/_nuxt/TownView.CC3t-Dte.css +0 -1
  1429. package/.output/public/_nuxt/_id_.BQRWK7J2.css +0 -1
  1430. package/.output/public/_nuxt/_wsId_.CQMH8t8j.css +0 -1
  1431. package/.output/public/_nuxt/agents.D-JPovTZ.css +0 -1
  1432. package/.output/public/_nuxt/aml.PalMp-5n.css +0 -1
  1433. package/.output/public/_nuxt/azOGy_tU2.js +0 -1
  1434. package/.output/public/_nuxt/be-4wyTo.js +0 -1
  1435. package/.output/public/_nuxt/builds/meta/593b65bd-cf1d-4b7f-a993-57e939c38f36.json +0 -1
  1436. package/.output/public/_nuxt/byZYInPk2.js +0 -1
  1437. package/.output/public/_nuxt/dHwWyr6b.js +0 -1
  1438. package/.output/public/_nuxt/dcjPjLPI.js +0 -1
  1439. package/.output/public/_nuxt/default.BEXGWZFQ.css +0 -1
  1440. package/.output/public/_nuxt/entry.D6nBdXet.css +0 -1
  1441. package/.output/public/_nuxt/h-Fn7pRD.js +0 -1
  1442. package/.output/public/_nuxt/logs.BkJPbR_K.css +0 -1
  1443. package/.output/public/_nuxt/monitor.D3yEqqrv.css +0 -1
  1444. package/.output/public/_nuxt/ontology.CkuUThtY.css +0 -1
  1445. package/.output/public/_nuxt/operations.-l6u44Ar.css +0 -1
  1446. package/.output/public/_nuxt/pages.Cdpm_B-G.css +0 -1
  1447. package/.output/public/_nuxt/permissions.DxuOOIqQ.css +0 -1
  1448. package/.output/public/_nuxt/rDvMijKA.js +0 -9
  1449. package/.output/public/_nuxt/schedules.BXNJ9q_I.css +0 -1
  1450. package/.output/public/_nuxt/teams.CLQaXno5.css +0 -1
  1451. package/.output/public/_nuxt/tokens.BDSUWF-L.css +0 -1
  1452. package/.output/public/_nuxt/tools.BwXFAb-X.css +0 -1
  1453. package/.output/public/_nuxt/workshop.BBiFhXuM.css +0 -1
  1454. package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs +0 -716
  1455. package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs.map +0 -1
  1456. package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs +0 -72
  1457. package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs.map +0 -1
  1458. package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs +0 -942
  1459. package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs.map +0 -1
  1460. package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs +0 -141
  1461. package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs.map +0 -1
  1462. package/.output/server/chunks/build/TownView-BWMDbosY.mjs +0 -6489
  1463. package/.output/server/chunks/build/TownView-BWMDbosY.mjs.map +0 -1
  1464. package/.output/server/chunks/build/_id_-BK-t8nRG.mjs +0 -392
  1465. package/.output/server/chunks/build/_id_-BK-t8nRG.mjs.map +0 -1
  1466. package/.output/server/chunks/build/_id_-CZPlPDm4.mjs +0 -2045
  1467. package/.output/server/chunks/build/_id_-CZPlPDm4.mjs.map +0 -1
  1468. package/.output/server/chunks/build/_wsId_-C871SDPN.mjs +0 -14589
  1469. package/.output/server/chunks/build/_wsId_-C871SDPN.mjs.map +0 -1
  1470. package/.output/server/chunks/build/agents-D7CdEUTv.mjs +0 -1078
  1471. package/.output/server/chunks/build/agents-D7CdEUTv.mjs.map +0 -1
  1472. package/.output/server/chunks/build/alert-D0ivtTGy.mjs +0 -263
  1473. package/.output/server/chunks/build/alert-D0ivtTGy.mjs.map +0 -1
  1474. package/.output/server/chunks/build/aml-DRAFRcGU.mjs +0 -814
  1475. package/.output/server/chunks/build/aml-DRAFRcGU.mjs.map +0 -1
  1476. package/.output/server/chunks/build/analysis-p-dBkjoK.mjs +0 -533
  1477. package/.output/server/chunks/build/analysis-p-dBkjoK.mjs.map +0 -1
  1478. package/.output/server/chunks/build/api-B4Om0mEc.mjs +0 -53
  1479. package/.output/server/chunks/build/api-B4Om0mEc.mjs.map +0 -1
  1480. package/.output/server/chunks/build/api-BEW_ebY_.mjs +0 -64
  1481. package/.output/server/chunks/build/api-BEW_ebY_.mjs.map +0 -1
  1482. package/.output/server/chunks/build/api-BsAgXWxi.mjs +0 -72
  1483. package/.output/server/chunks/build/api-BsAgXWxi.mjs.map +0 -1
  1484. package/.output/server/chunks/build/api-error-BwAQLw44.mjs +0 -47
  1485. package/.output/server/chunks/build/api-error-BwAQLw44.mjs.map +0 -1
  1486. package/.output/server/chunks/build/apiClient-BvXtNzC8.mjs +0 -81
  1487. package/.output/server/chunks/build/apiClient-BvXtNzC8.mjs.map +0 -1
  1488. package/.output/server/chunks/build/board-CJUc032b.mjs +0 -189
  1489. package/.output/server/chunks/build/board-CJUc032b.mjs.map +0 -1
  1490. package/.output/server/chunks/build/builtin-catalog-edpDcgfL.mjs.map +0 -1
  1491. package/.output/server/chunks/build/card-Cqk0Ur-L.mjs +0 -953
  1492. package/.output/server/chunks/build/card-Cqk0Ur-L.mjs.map +0 -1
  1493. package/.output/server/chunks/build/channel-templates-ggsBacZF.mjs +0 -942
  1494. package/.output/server/chunks/build/channel-templates-ggsBacZF.mjs.map +0 -1
  1495. package/.output/server/chunks/build/chart-pipeline-BpoWYMK_.mjs.map +0 -1
  1496. package/.output/server/chunks/build/chart-trend-BWeZh5Lv.mjs.map +0 -1
  1497. package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs +0 -439
  1498. package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs.map +0 -1
  1499. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +0 -43
  1500. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +0 -1
  1501. package/.output/server/chunks/build/constants-HPHJvjne.mjs +0 -142
  1502. package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +0 -1
  1503. package/.output/server/chunks/build/core-CgTOPS4t.mjs +0 -294
  1504. package/.output/server/chunks/build/core-CgTOPS4t.mjs.map +0 -1
  1505. package/.output/server/chunks/build/daq-CdxcfY_G.mjs +0 -1266
  1506. package/.output/server/chunks/build/daq-CdxcfY_G.mjs.map +0 -1
  1507. package/.output/server/chunks/build/data-D8uX1dnm.mjs +0 -481
  1508. package/.output/server/chunks/build/data-D8uX1dnm.mjs.map +0 -1
  1509. package/.output/server/chunks/build/dcw-BlDQtS4q.mjs +0 -505
  1510. package/.output/server/chunks/build/dcw-BlDQtS4q.mjs.map +0 -1
  1511. package/.output/server/chunks/build/dcw-driver-badge-Df5wL_ZA.mjs.map +0 -1
  1512. package/.output/server/chunks/build/default-CNWS6NUw.mjs +0 -2353
  1513. package/.output/server/chunks/build/default-CNWS6NUw.mjs.map +0 -1
  1514. package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs +0 -406
  1515. package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs.map +0 -1
  1516. package/.output/server/chunks/build/drawer-Caji0PLs.mjs +0 -834
  1517. package/.output/server/chunks/build/drawer-Caji0PLs.mjs.map +0 -1
  1518. package/.output/server/chunks/build/dropdown-BNwTVGde.mjs +0 -14
  1519. package/.output/server/chunks/build/dropdown-BNwTVGde.mjs.map +0 -1
  1520. package/.output/server/chunks/build/dropdown-Cd-xPhR6.mjs +0 -540
  1521. package/.output/server/chunks/build/dropdown-Cd-xPhR6.mjs.map +0 -1
  1522. package/.output/server/chunks/build/es-Bxu10NJ2.mjs +0 -43
  1523. package/.output/server/chunks/build/es-Bxu10NJ2.mjs.map +0 -1
  1524. package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs +0 -2448
  1525. package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs.map +0 -1
  1526. package/.output/server/chunks/build/form-D_UpWPN4.mjs +0 -4712
  1527. package/.output/server/chunks/build/form-D_UpWPN4.mjs.map +0 -1
  1528. package/.output/server/chunks/build/hasIn-DBdElbjM.mjs +0 -553
  1529. package/.output/server/chunks/build/hasIn-DBdElbjM.mjs.map +0 -1
  1530. package/.output/server/chunks/build/hitl-Bd30yr1J.mjs +0 -132
  1531. package/.output/server/chunks/build/hitl-Bd30yr1J.mjs.map +0 -1
  1532. package/.output/server/chunks/build/input-GtPuSEgt.mjs +0 -2181
  1533. package/.output/server/chunks/build/input-GtPuSEgt.mjs.map +0 -1
  1534. package/.output/server/chunks/build/input-number-BNlNDK7H.mjs +0 -1120
  1535. package/.output/server/chunks/build/input-number-BNlNDK7H.mjs.map +0 -1
  1536. package/.output/server/chunks/build/interval-DvHBIIZh.mjs +0 -9
  1537. package/.output/server/chunks/build/interval-DvHBIIZh.mjs.map +0 -1
  1538. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs +0 -7
  1539. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs.map +0 -1
  1540. package/.output/server/chunks/build/logs-pRb-TMWa.mjs +0 -427
  1541. package/.output/server/chunks/build/logs-pRb-TMWa.mjs.map +0 -1
  1542. package/.output/server/chunks/build/menu-BXt-X0dt.mjs +0 -1952
  1543. package/.output/server/chunks/build/menu-BXt-X0dt.mjs.map +0 -1
  1544. package/.output/server/chunks/build/monitor-Cq6hRFeQ.mjs +0 -2253
  1545. package/.output/server/chunks/build/monitor-Cq6hRFeQ.mjs.map +0 -1
  1546. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs.map +0 -1
  1547. package/.output/server/chunks/build/ontology-ohICfVVb.mjs +0 -1406
  1548. package/.output/server/chunks/build/ontology-ohICfVVb.mjs.map +0 -1
  1549. package/.output/server/chunks/build/operations-SMQrRAcr.mjs +0 -311
  1550. package/.output/server/chunks/build/operations-SMQrRAcr.mjs.map +0 -1
  1551. package/.output/server/chunks/build/optimizer-BlWTsM-W.mjs +0 -202
  1552. package/.output/server/chunks/build/optimizer-BlWTsM-W.mjs.map +0 -1
  1553. package/.output/server/chunks/build/pages-DsMKUw7i.mjs +0 -542
  1554. package/.output/server/chunks/build/pages-DsMKUw7i.mjs.map +0 -1
  1555. package/.output/server/chunks/build/pagination-DTAconUo.mjs +0 -1346
  1556. package/.output/server/chunks/build/pagination-DTAconUo.mjs.map +0 -1
  1557. package/.output/server/chunks/build/permissions-DgXQZSyx.mjs +0 -637
  1558. package/.output/server/chunks/build/permissions-DgXQZSyx.mjs.map +0 -1
  1559. package/.output/server/chunks/build/pipeline-CkavMBhk.mjs +0 -212
  1560. package/.output/server/chunks/build/pipeline-CkavMBhk.mjs.map +0 -1
  1561. package/.output/server/chunks/build/plugins-LRjaSEZy.mjs +0 -272
  1562. package/.output/server/chunks/build/plugins-LRjaSEZy.mjs.map +0 -1
  1563. package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs +0 -340
  1564. package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs.map +0 -1
  1565. package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs +0 -78
  1566. package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs.map +0 -1
  1567. package/.output/server/chunks/build/schedules-Hz2DJUE2.mjs +0 -7172
  1568. package/.output/server/chunks/build/schedules-Hz2DJUE2.mjs.map +0 -1
  1569. package/.output/server/chunks/build/segmented-D3HWtHPw.mjs +0 -341
  1570. package/.output/server/chunks/build/segmented-D3HWtHPw.mjs.map +0 -1
  1571. package/.output/server/chunks/build/select-B3Dsb9yq.mjs +0 -3923
  1572. package/.output/server/chunks/build/select-B3Dsb9yq.mjs.map +0 -1
  1573. package/.output/server/chunks/build/settings-DXLJPq7d.mjs +0 -1014
  1574. package/.output/server/chunks/build/settings-DXLJPq7d.mjs.map +0 -1
  1575. package/.output/server/chunks/build/space-Dwu2Skt8.mjs +0 -110
  1576. package/.output/server/chunks/build/space-Dwu2Skt8.mjs.map +0 -1
  1577. package/.output/server/chunks/build/spin-C2cuvGth.mjs +0 -357
  1578. package/.output/server/chunks/build/spin-C2cuvGth.mjs.map +0 -1
  1579. package/.output/server/chunks/build/studio-hSqH9TYS.mjs +0 -336
  1580. package/.output/server/chunks/build/studio-hSqH9TYS.mjs.map +0 -1
  1581. package/.output/server/chunks/build/switch-CyR-H6Fb.mjs +0 -377
  1582. package/.output/server/chunks/build/switch-CyR-H6Fb.mjs.map +0 -1
  1583. package/.output/server/chunks/build/table-CmVD-cA9.mjs +0 -7546
  1584. package/.output/server/chunks/build/table-CmVD-cA9.mjs.map +0 -1
  1585. package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs +0 -1924
  1586. package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs.map +0 -1
  1587. package/.output/server/chunks/build/tag-y0sn-xv9.mjs +0 -1156
  1588. package/.output/server/chunks/build/tag-y0sn-xv9.mjs.map +0 -1
  1589. package/.output/server/chunks/build/teams-BbwYJyzv.mjs +0 -1203
  1590. package/.output/server/chunks/build/teams-BbwYJyzv.mjs.map +0 -1
  1591. package/.output/server/chunks/build/tokens-GYaGJ35Z.mjs +0 -1062
  1592. package/.output/server/chunks/build/tokens-GYaGJ35Z.mjs.map +0 -1
  1593. package/.output/server/chunks/build/tools-CnYi9cou.mjs +0 -487
  1594. package/.output/server/chunks/build/tools-CnYi9cou.mjs.map +0 -1
  1595. package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs +0 -920
  1596. package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs.map +0 -1
  1597. package/.output/server/chunks/build/town-B5aoiG98.mjs +0 -133
  1598. package/.output/server/chunks/build/town-B5aoiG98.mjs.map +0 -1
  1599. package/.output/server/chunks/build/town-BV-hbwb5.mjs +0 -75
  1600. package/.output/server/chunks/build/town-BV-hbwb5.mjs.map +0 -1
  1601. package/.output/server/chunks/build/types-D6J7slEa.mjs +0 -5565
  1602. package/.output/server/chunks/build/types-D6J7slEa.mjs.map +0 -1
  1603. package/.output/server/chunks/build/types-DWqIeMRP.mjs +0 -76
  1604. package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +0 -1
  1605. package/.output/server/chunks/build/useAgentHarnessOptions-Dq0l0Z6d.mjs +0 -124
  1606. package/.output/server/chunks/build/useAgentHarnessOptions-Dq0l0Z6d.mjs.map +0 -1
  1607. package/.output/server/chunks/build/useAgentTemplateActions-BFOHb5-L.mjs +0 -77
  1608. package/.output/server/chunks/build/useAgentTemplateActions-BFOHb5-L.mjs.map +0 -1
  1609. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +0 -67
  1610. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +0 -1
  1611. package/.output/server/chunks/build/useAgentTemplateForm-CuJPOPcK.mjs +0 -117
  1612. package/.output/server/chunks/build/useAgentTemplateForm-CuJPOPcK.mjs.map +0 -1
  1613. package/.output/server/chunks/build/useAgentTemplatesCatalog-B2bIhZLA.mjs +0 -133
  1614. package/.output/server/chunks/build/useAgentTemplatesCatalog-B2bIhZLA.mjs.map +0 -1
  1615. package/.output/server/chunks/build/useAmlDatasets-DeoE1idn.mjs +0 -92
  1616. package/.output/server/chunks/build/useAmlDatasets-DeoE1idn.mjs.map +0 -1
  1617. package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs +0 -86
  1618. package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs.map +0 -1
  1619. package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs +0 -194
  1620. package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs.map +0 -1
  1621. package/.output/server/chunks/build/useAmlExperiments-Dloi834i.mjs +0 -89
  1622. package/.output/server/chunks/build/useAmlExperiments-Dloi834i.mjs.map +0 -1
  1623. package/.output/server/chunks/build/useAmlFormat-C2sl3MGB.mjs +0 -82
  1624. package/.output/server/chunks/build/useAmlFormat-C2sl3MGB.mjs.map +0 -1
  1625. package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs +0 -267
  1626. package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs.map +0 -1
  1627. package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs +0 -93
  1628. package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs.map +0 -1
  1629. package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs +0 -86
  1630. package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs.map +0 -1
  1631. package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs +0 -130
  1632. package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs.map +0 -1
  1633. package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs +0 -129
  1634. package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs.map +0 -1
  1635. package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs +0 -142
  1636. package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs.map +0 -1
  1637. package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs +0 -70
  1638. package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs.map +0 -1
  1639. package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs +0 -79
  1640. package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs.map +0 -1
  1641. package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs +0 -176
  1642. package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs.map +0 -1
  1643. package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs +0 -99
  1644. package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs.map +0 -1
  1645. package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs +0 -159
  1646. package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs.map +0 -1
  1647. package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs +0 -222
  1648. package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs.map +0 -1
  1649. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +0 -90
  1650. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +0 -1
  1651. package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs +0 -136
  1652. package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs.map +0 -1
  1653. package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs +0 -395
  1654. package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs.map +0 -1
  1655. package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs +0 -187
  1656. package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs.map +0 -1
  1657. package/.output/server/chunks/build/useDashboardCharts-D45083s_.mjs +0 -354
  1658. package/.output/server/chunks/build/useDashboardCharts-D45083s_.mjs.map +0 -1
  1659. package/.output/server/chunks/build/useDashboardData-NJ7rKxhx.mjs +0 -153
  1660. package/.output/server/chunks/build/useDashboardData-NJ7rKxhx.mjs.map +0 -1
  1661. package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs +0 -219
  1662. package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs.map +0 -1
  1663. package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs +0 -67
  1664. package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs.map +0 -1
  1665. package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs +0 -184
  1666. package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs.map +0 -1
  1667. package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs +0 -148
  1668. package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs.map +0 -1
  1669. package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs +0 -71
  1670. package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs.map +0 -1
  1671. package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs +0 -79
  1672. package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs.map +0 -1
  1673. package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs +0 -137
  1674. package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs.map +0 -1
  1675. package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs +0 -104
  1676. package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs.map +0 -1
  1677. package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs +0 -121
  1678. package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs.map +0 -1
  1679. package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs +0 -93
  1680. package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs.map +0 -1
  1681. package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs +0 -98
  1682. package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs.map +0 -1
  1683. package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs +0 -88
  1684. package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs.map +0 -1
  1685. package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs +0 -258
  1686. package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs.map +0 -1
  1687. package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs +0 -452
  1688. package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs.map +0 -1
  1689. package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs +0 -91
  1690. package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs.map +0 -1
  1691. package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs +0 -140
  1692. package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs.map +0 -1
  1693. package/.output/server/chunks/build/useDeviceTwins-BqwVJaZg.mjs +0 -128
  1694. package/.output/server/chunks/build/useDeviceTwins-BqwVJaZg.mjs.map +0 -1
  1695. package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs +0 -107
  1696. package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs.map +0 -1
  1697. package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs +0 -55
  1698. package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs.map +0 -1
  1699. package/.output/server/chunks/build/useLogsFormat-B-o4MHy7.mjs +0 -77
  1700. package/.output/server/chunks/build/useLogsFormat-B-o4MHy7.mjs.map +0 -1
  1701. package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs +0 -88
  1702. package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs.map +0 -1
  1703. package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs +0 -150
  1704. package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs.map +0 -1
  1705. package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs +0 -83
  1706. package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs.map +0 -1
  1707. package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs +0 -217
  1708. package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs.map +0 -1
  1709. package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs +0 -135
  1710. package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs.map +0 -1
  1711. package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs +0 -91
  1712. package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs.map +0 -1
  1713. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +0 -71
  1714. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +0 -1
  1715. package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs +0 -195
  1716. package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs.map +0 -1
  1717. package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs +0 -149
  1718. package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs.map +0 -1
  1719. package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs +0 -156
  1720. package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs.map +0 -1
  1721. package/.output/server/chunks/build/useResponsive-BKDMGTHs.mjs.map +0 -1
  1722. package/.output/server/chunks/build/useTeamActions-BDjU06LP.mjs +0 -79
  1723. package/.output/server/chunks/build/useTeamActions-BDjU06LP.mjs.map +0 -1
  1724. package/.output/server/chunks/build/useTeamAddMemberDialog-J3oFn3FI.mjs +0 -84
  1725. package/.output/server/chunks/build/useTeamAddMemberDialog-J3oFn3FI.mjs.map +0 -1
  1726. package/.output/server/chunks/build/useTeamCreateDialog-fbn4ixYu.mjs +0 -97
  1727. package/.output/server/chunks/build/useTeamCreateDialog-fbn4ixYu.mjs.map +0 -1
  1728. package/.output/server/chunks/build/useTeamDeployDialog-BNezMD2k.mjs +0 -80
  1729. package/.output/server/chunks/build/useTeamDeployDialog-BNezMD2k.mjs.map +0 -1
  1730. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +0 -82
  1731. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +0 -1
  1732. package/.output/server/chunks/build/useTeamPluginDialog-BZznrOVe.mjs +0 -103
  1733. package/.output/server/chunks/build/useTeamPluginDialog-BZznrOVe.mjs.map +0 -1
  1734. package/.output/server/chunks/build/useTeamsCatalog-DuZFP3oG.mjs +0 -123
  1735. package/.output/server/chunks/build/useTeamsCatalog-DuZFP3oG.mjs.map +0 -1
  1736. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +0 -72
  1737. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +0 -1
  1738. package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs +0 -115
  1739. package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs.map +0 -1
  1740. package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs +0 -87
  1741. package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs.map +0 -1
  1742. package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs +0 -118
  1743. package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs.map +0 -1
  1744. package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs +0 -92
  1745. package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs.map +0 -1
  1746. package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs.map +0 -1
  1747. package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs +0 -141
  1748. package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs.map +0 -1
  1749. package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs +0 -138
  1750. package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs.map +0 -1
  1751. package/.output/server/chunks/build/useWorkshopApi-BxHn-4iR.mjs +0 -127
  1752. package/.output/server/chunks/build/useWorkshopApi-BxHn-4iR.mjs.map +0 -1
  1753. package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs +0 -1659
  1754. package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs.map +0 -1
  1755. package/.output/server/chunks/build/useWorkspaceAuth-Dlvj9csD.mjs +0 -60
  1756. package/.output/server/chunks/build/useWorkspaceAuth-Dlvj9csD.mjs.map +0 -1
  1757. package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs +0 -92
  1758. package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs.map +0 -1
  1759. package/.output/server/chunks/build/useWorkspacePanels-CTwREmq0.mjs +0 -78
  1760. package/.output/server/chunks/build/useWorkspacePanels-CTwREmq0.mjs.map +0 -1
  1761. package/.output/server/chunks/build/useWorkspaceShell-BCypjjjE.mjs +0 -168
  1762. package/.output/server/chunks/build/useWorkspaceShell-BCypjjjE.mjs.map +0 -1
  1763. package/.output/server/chunks/build/users-DjiVC_tS.mjs +0 -569
  1764. package/.output/server/chunks/build/users-DjiVC_tS.mjs.map +0 -1
  1765. package/.output/server/chunks/build/workshop-1gKeDASV.mjs +0 -546
  1766. package/.output/server/chunks/build/workshop-1gKeDASV.mjs.map +0 -1
  1767. package/.output/server/chunks/build/workspaces-CmW0cpOt.mjs.map +0 -1
  1768. package/app/.mimosa/hook-state/sess_05189059-e42d-4188-8911-4f7baabe009b.json +0 -1
  1769. package/app/.mimosa/hook-state/sess_05189059-e42d-4188-8911-4f7baabe009b.mtg0vz68-49792-75b0709555.baseline/1459e6269990a5d229b9228c8b2f62ffaa7d350068380ae8b875fee0db45cca6.source +0 -180
  1770. package/app/.mimosa/hook-state/sess_05189059-e42d-4188-8911-4f7baabe009b.mtg0vz68-49792-75b0709555.baseline/c2991e909c70c5c12b90a407c7adcf63384c51668a2b334e6e047fa675c268fe.source +0 -305
  1771. package/app/.mimosa/hook-state/sess_05189059-e42d-4188-8911-4f7baabe009b.mtg0vz68-49792-75b0709555.baseline/e09129039d1e27e3fac24becc9bdafd2d1a7c8049bff24173df007be865f0165.source +0 -264
  1772. package/app/.mimosa/hook-status/sess_05189059-e42d-4188-8911-4f7baabe009b-28ef7c75ea.json +0 -14
  1773. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.json +0 -1
  1774. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/942d2679b87b96c612b4f2a425c3ccc5b6f3234f0cf589a8441602f866fbe277.source +0 -41
  1775. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/dd617a82339d2c61e49e28e416aabeb2fc100fb3cb1beca18d02dfb833214af6.source +0 -51
  1776. package/server/.mimosa/hook-status/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2-e67b6b91bf.json +0 -14
  1777. package/server/services/workshop/.mimosa/hook-state/sess_fed429fb-c8b7-4a50-bbd6-45afc580893f.json +0 -1
  1778. package/server/services/workshop/.mimosa/hook-status/sess_fed429fb-c8b7-4a50-bbd6-45afc580893f-e6b75bbfe6.json +0 -14
  1779. package/server/services/workshop/aml/python/__pycache__/aml_eval.cpython-312.pyc +0 -0
  1780. package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
  1781. package/server/services/workshop/aml/python/__pycache__/train-example.cpython-312.pyc +0 -0
  1782. package/server/services/workshop/aml/python/__pycache__/train-hybrid-example.cpython-312.pyc +0 -0
  1783. package/server/services/workshop/optimization/python/.mimosa/hook-state/session_187ec97f45d4bd02369bbe94da527cf1.json +0 -1
  1784. package/server/services/workshop/optimization/python/.mimosa/hook-state/session_187ec97f45d4bd02369bbe94da527cf1.mvjqkcs6-68688-fb7131a89c.baseline/190a6772a4e43801737b4ba6072eb9d53d3099b5d8a9e6f57bc5e8592a26a6c4.source +0 -274
  1785. package/server/services/workshop/optimization/python/.mimosa/hook-status/session_187ec97f45d4bd02369bbe94da527cf1-01ed7f04fa.json +0 -14
  1786. package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
  1787. /package/.output/public/_nuxt/{6P4ZAzxa2.js → 6P4ZAzxa.js} +0 -0
  1788. /package/.output/public/_nuxt/{9j2J4k4w.js → 9j2J4k4w2.js} +0 -0
  1789. /package/.output/public/_nuxt/{DgrK8UCQ.js → BvRk9kiK2.js} +0 -0
  1790. /package/.output/public/_nuxt/{dVw8IHY62.js → dVw8IHY6.js} +0 -0
  1791. /package/.output/public/_nuxt/{k9b520K-.js → k9b520K-2.js} +0 -0
  1792. /package/.output/server/chunks/{build → _}/builtin-catalog-edpDcgfL.mjs +0 -0
  1793. /package/.output/server/chunks/{build → _}/chart-pipeline-BpoWYMK_.mjs +0 -0
  1794. /package/.output/server/chunks/{build → _}/chart-trend-BWeZh5Lv.mjs +0 -0
  1795. /package/.output/server/chunks/{build → _}/dcw-driver-badge-Df5wL_ZA.mjs +0 -0
  1796. /package/.output/server/chunks/{build → _}/narrow-fetch-CcG-BPxc.mjs +0 -0
  1797. /package/.output/server/chunks/{build → _}/useResponsive-BKDMGTHs.mjs +0 -0
  1798. /package/.output/server/chunks/{build → _}/useTownBus-D9SoIsAN.mjs +0 -0
  1799. /package/.output/server/chunks/{build → _}/workspaces-CmW0cpOt.mjs +0 -0
@@ -1,4712 +0,0 @@
1
- import { aT as Icon, k as useConfigInject_default, aU as useProviderSize, aV as useProviderDisabled, aW as useInjectGlobalForm, o as _extends$1, q as classNames, r as _objectSpread2, v as initDefaultProps, ap as LoadingOutlined, C as CloseCircleFilled, a8 as ExclamationCircleFilled, D as CheckCircleFilled, z as filterEmpty, x as genComponentStyleHook, y as merge, aX as zoomIn, P as PropTypes, J as functionType, I as booleanType, E as stringType, F as someType, H as anyType, G as objectType, aa as tuple, ab as useLocaleReceiver, ac as localeValues, K as resetComponent, a1 as isObject$1, aY as _getTag_default, aZ as isBuffer, a_ as isArrayLike, a$ as getTransitionGroupProps, s as getTransitionProps, aB as isArray, b0 as isPrototype, b1 as baseUnary, b2 as baseKeys, S as isValidElement, b3 as isObjectLike, aC as Symbol$1, a3 as root, b4 as nodeUtil, aE as isArguments, b5 as isTypedArray, b6 as Map$1 } from '../virtual/entry.mjs';
2
- import { t as tooltip_default } from './tooltip-C2n2nNiQ.mjs';
3
- import { g as genCollapseMotion, h as collapseMotion, c as baseAssignValue, j as getPrototype, L as ListCache, k as SetCache, e as eq, l as cacheHas, s as setToArray, M as MapCache, m as baseFindIndex, f as isPlainObject, n as arrayIncludes } from './input-GtPuSEgt.mjs';
4
- import { f as flatRest, a as arrayMap, b as assignValue, c as castPath, t as toKey, i as identity, d as arrayPush, e as baseGet, g as isKey, h as hasIn, j as isIndex, s as setToString, o as overRest } from './hasIn-DBdElbjM.mjs';
5
- import { a as useProvideFormItemContext, F as FormItemInputContext, u as useInjectFormItemContext, b as FormItemContext_default } from './FormItemContext-BlyzocS0.mjs';
6
- import { d as debounce, t as toNumber } from './tag-y0sn-xv9.mjs';
7
- import { u as useResponsiveObserver, r as responsiveArray } from './responsiveObserve-DM3hpzhU.mjs';
8
- import { u as useFlexGapSupport_default } from './space-Dwu2Skt8.mjs';
9
- import { createVNode, defineComponent, computed, ref, watch, shallowRef, watchEffect, reactive, Fragment, unref, provide, inject, nextTick, toRaw, Transition, withDirectives, TransitionGroup, vShow, cloneVNode } from 'vue';
10
-
11
- // This icon file is generated automatically.
12
- var QuestionCircleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, "name": "question-circle", "theme": "outlined" };
13
-
14
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
15
-
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
-
18
- var QuestionCircleOutlined = function QuestionCircleOutlined(props, context) {
19
- var p = _objectSpread({}, props, context.attrs);
20
-
21
- return createVNode(Icon, _objectSpread({}, p, {
22
- "icon": QuestionCircleOutlined$1
23
- }), null);
24
- };
25
-
26
- QuestionCircleOutlined.displayName = 'QuestionCircleOutlined';
27
- QuestionCircleOutlined.inheritAttrs = false;
28
-
29
- //#region node_modules/.pnpm/compute-scroll-into-view@1.0.20/node_modules/compute-scroll-into-view/dist/index.mjs
30
- function t(t) {
31
- return "object" == typeof t && null != t && 1 === t.nodeType;
32
- }
33
- function e(t, e) {
34
- return (!e || "hidden" !== t) && "visible" !== t && "clip" !== t;
35
- }
36
- function n(t, n) {
37
- if (t.clientHeight < t.scrollHeight || t.clientWidth < t.scrollWidth) {
38
- var r = getComputedStyle(t, null);
39
- return e(r.overflowY, n) || e(r.overflowX, n) || function(t) {
40
- var e = function(t) {
41
- if (!t.ownerDocument || !t.ownerDocument.defaultView) return null;
42
- try {
43
- return t.ownerDocument.defaultView.frameElement;
44
- } catch (t) {
45
- return null;
46
- }
47
- }(t);
48
- return !!e && (e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth);
49
- }(t);
50
- }
51
- return false;
52
- }
53
- function r(t, e, n, r, i, o, l, d) {
54
- return o < t && l > e || o > t && l < e ? 0 : o <= t && d <= n || l >= e && d >= n ? o - t - r : l > e && d < n || o < t && d > n ? l - e + i : 0;
55
- }
56
- var i = function(e, i) {
57
- var o = void 0, l = i.scrollMode, d = i.block, f = i.inline, h = i.boundary, u = i.skipOverflowHiddenElements, s = "function" == typeof h ? h : function(t) {
58
- return t !== h;
59
- };
60
- if (!t(e)) throw new TypeError("Invalid target");
61
- for (var a, c, g = (void 0).scrollingElement || (void 0).documentElement, p = [], m = e; t(m) && s(m);) {
62
- if ((m = null == (c = (a = m).parentElement) ? a.getRootNode().host || null : c) === g) {
63
- p.push(m);
64
- break;
65
- }
66
- null != m && m === (void 0).body && n(m) && !n((void 0).documentElement) || null != m && n(m, u) && p.push(m);
67
- }
68
- for (var w = o.visualViewport ? o.visualViewport.width : innerWidth, v = o.visualViewport ? o.visualViewport.height : innerHeight, W = (void 0).scrollX || pageXOffset, H = (void 0).scrollY || pageYOffset, b = e.getBoundingClientRect(), y = b.height, E = b.width, M = b.top, V = b.right, x = b.bottom, I = b.left, C = "start" === d || "nearest" === d ? M : "end" === d ? x : M + y / 2, R = "center" === f ? I + E / 2 : "end" === f ? V : I, T = [], k = 0; k < p.length; k++) {
69
- var B = p[k], D = B.getBoundingClientRect(), O = D.height, X = D.width, Y = D.top, L = D.right, S = D.bottom, j = D.left;
70
- if ("if-needed" === l && M >= 0 && I >= 0 && x <= v && V <= w && M >= Y && x <= S && I >= j && V <= L) return T;
71
- var N = getComputedStyle(B), q = parseInt(N.borderLeftWidth, 10), z = parseInt(N.borderTopWidth, 10), A = parseInt(N.borderRightWidth, 10), F = parseInt(N.borderBottomWidth, 10), G = 0, J = 0, K = "offsetWidth" in B ? B.offsetWidth - B.clientWidth - q - A : 0, P = "offsetHeight" in B ? B.offsetHeight - B.clientHeight - z - F : 0, Q = "offsetWidth" in B ? 0 === B.offsetWidth ? 0 : X / B.offsetWidth : 0, U = "offsetHeight" in B ? 0 === B.offsetHeight ? 0 : O / B.offsetHeight : 0;
72
- if (g === B) G = "start" === d ? C : "end" === d ? C - v : "nearest" === d ? r(H, H + v, v, z, F, H + C, H + C + y, y) : C - v / 2, J = "start" === f ? R : "center" === f ? R - w / 2 : "end" === f ? R - w : r(W, W + w, w, q, A, W + R, W + R + E, E), G = Math.max(0, G + H), J = Math.max(0, J + W);
73
- else {
74
- G = "start" === d ? C - Y - z : "end" === d ? C - S + F + P : "nearest" === d ? r(Y, S, O, z, F + P, C, C + y, y) : C - (Y + O / 2) + P / 2, J = "start" === f ? R - j - q : "center" === f ? R - (j + X / 2) + K / 2 : "end" === f ? R - L + A + K : r(j, L, X, q, A + K, R, R + E, E);
75
- var Z = B.scrollLeft, $ = B.scrollTop;
76
- C += $ - (G = Math.max(0, Math.min($ + G / U, B.scrollHeight - O / U + P))), R += Z - (J = Math.max(0, Math.min(Z + J / Q, B.scrollWidth - X / Q + K)));
77
- }
78
- T.push({
79
- el: B,
80
- top: G,
81
- left: J
82
- });
83
- }
84
- return T;
85
- };
86
- //#endregion
87
- //#region node_modules/.pnpm/scroll-into-view-if-needed@2.2.31/node_modules/scroll-into-view-if-needed/es/index.js
88
- function isOptionsObject(options) {
89
- return options === Object(options) && Object.keys(options).length !== 0;
90
- }
91
- function defaultBehavior(actions, behavior) {
92
- if (behavior === void 0) behavior = "auto";
93
- var canSmoothScroll = "scrollBehavior" in (void 0).body.style;
94
- actions.forEach(function(_ref) {
95
- var el = _ref.el, top = _ref.top, left = _ref.left;
96
- if (el.scroll && canSmoothScroll) el.scroll({
97
- top,
98
- left,
99
- behavior
100
- });
101
- else {
102
- el.scrollTop = top;
103
- el.scrollLeft = left;
104
- }
105
- });
106
- }
107
- function getOptions(options) {
108
- if (options === false) return {
109
- block: "end",
110
- inline: "nearest"
111
- };
112
- if (isOptionsObject(options)) return options;
113
- return {
114
- block: "start",
115
- inline: "nearest"
116
- };
117
- }
118
- function scrollIntoView(target, options) {
119
- var isTargetAttached = target.isConnected || target.ownerDocument.documentElement.contains(target);
120
- if (isOptionsObject(options) && typeof options.behavior === "function") return options.behavior(isTargetAttached ? i(target, options) : []);
121
- if (!isTargetAttached) return;
122
- var computeOptions = getOptions(options);
123
- return defaultBehavior(i(target, computeOptions), computeOptions.behavior);
124
- }
125
- //#endregion
126
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
127
- /**
128
- * Removes all key-value entries from the stack.
129
- *
130
- * @private
131
- * @name clear
132
- * @memberOf Stack
133
- */
134
- function stackClear() {
135
- this.__data__ = new ListCache();
136
- this.size = 0;
137
- }
138
- //#endregion
139
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
140
- /**
141
- * Removes `key` and its value from the stack.
142
- *
143
- * @private
144
- * @name delete
145
- * @memberOf Stack
146
- * @param {string} key The key of the value to remove.
147
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
148
- */
149
- function stackDelete(key) {
150
- var data = this.__data__, result = data["delete"](key);
151
- this.size = data.size;
152
- return result;
153
- }
154
- //#endregion
155
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
156
- /**
157
- * Gets the stack value for `key`.
158
- *
159
- * @private
160
- * @name get
161
- * @memberOf Stack
162
- * @param {string} key The key of the value to get.
163
- * @returns {*} Returns the entry value.
164
- */
165
- function stackGet(key) {
166
- return this.__data__.get(key);
167
- }
168
- //#endregion
169
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
170
- /**
171
- * Checks if a stack value for `key` exists.
172
- *
173
- * @private
174
- * @name has
175
- * @memberOf Stack
176
- * @param {string} key The key of the entry to check.
177
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
178
- */
179
- function stackHas(key) {
180
- return this.__data__.has(key);
181
- }
182
- //#endregion
183
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
184
- /** Used as the size to enable large array optimizations. */
185
- var LARGE_ARRAY_SIZE = 200;
186
- /**
187
- * Sets the stack `key` to `value`.
188
- *
189
- * @private
190
- * @name set
191
- * @memberOf Stack
192
- * @param {string} key The key of the value to set.
193
- * @param {*} value The value to set.
194
- * @returns {Object} Returns the stack cache instance.
195
- */
196
- function stackSet(key, value) {
197
- var data = this.__data__;
198
- if (data instanceof ListCache) {
199
- var pairs = data.__data__;
200
- if (!Map$1 || pairs.length < LARGE_ARRAY_SIZE - 1) {
201
- pairs.push([key, value]);
202
- this.size = ++data.size;
203
- return this;
204
- }
205
- data = this.__data__ = new MapCache(pairs);
206
- }
207
- data.set(key, value);
208
- this.size = data.size;
209
- return this;
210
- }
211
- //#endregion
212
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
213
- /**
214
- * Creates a stack cache object to store key-value pairs.
215
- *
216
- * @private
217
- * @constructor
218
- * @param {Array} [entries] The key-value pairs to cache.
219
- */
220
- function Stack(entries) {
221
- var data = this.__data__ = new ListCache(entries);
222
- this.size = data.size;
223
- }
224
- Stack.prototype.clear = stackClear;
225
- Stack.prototype["delete"] = stackDelete;
226
- Stack.prototype.get = stackGet;
227
- Stack.prototype.has = stackHas;
228
- Stack.prototype.set = stackSet;
229
- //#endregion
230
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
231
- /**
232
- * A specialized version of `_.some` for arrays without support for iteratee
233
- * shorthands.
234
- *
235
- * @private
236
- * @param {Array} [array] The array to iterate over.
237
- * @param {Function} predicate The function invoked per iteration.
238
- * @returns {boolean} Returns `true` if any element passes the predicate check,
239
- * else `false`.
240
- */
241
- function arraySome(array, predicate) {
242
- var index = -1, length = array == null ? 0 : array.length;
243
- while (++index < length) if (predicate(array[index], index, array)) return true;
244
- return false;
245
- }
246
- //#endregion
247
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
248
- /** Used to compose bitmasks for value comparisons. */
249
- var COMPARE_PARTIAL_FLAG$5 = 1;
250
- var COMPARE_UNORDERED_FLAG$3 = 2;
251
- /**
252
- * A specialized version of `baseIsEqualDeep` for arrays with support for
253
- * partial deep comparisons.
254
- *
255
- * @private
256
- * @param {Array} array The array to compare.
257
- * @param {Array} other The other array to compare.
258
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
259
- * @param {Function} customizer The function to customize comparisons.
260
- * @param {Function} equalFunc The function to determine equivalents of values.
261
- * @param {Object} stack Tracks traversed `array` and `other` objects.
262
- * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
263
- */
264
- function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
265
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
266
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) return false;
267
- var arrStacked = stack.get(array);
268
- var othStacked = stack.get(other);
269
- if (arrStacked && othStacked) return arrStacked == other && othStacked == array;
270
- var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
271
- stack.set(array, other);
272
- stack.set(other, array);
273
- while (++index < arrLength) {
274
- var arrValue = array[index], othValue = other[index];
275
- if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
276
- if (compared !== void 0) {
277
- if (compared) continue;
278
- result = false;
279
- break;
280
- }
281
- if (seen) {
282
- if (!arraySome(other, function(othValue, othIndex) {
283
- if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) return seen.push(othIndex);
284
- })) {
285
- result = false;
286
- break;
287
- }
288
- } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
289
- result = false;
290
- break;
291
- }
292
- }
293
- stack["delete"](array);
294
- stack["delete"](other);
295
- return result;
296
- }
297
- //#endregion
298
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
299
- /** Built-in value references. */
300
- var Uint8Array = root.Uint8Array;
301
- //#endregion
302
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
303
- /**
304
- * Converts `map` to its key-value pairs.
305
- *
306
- * @private
307
- * @param {Object} map The map to convert.
308
- * @returns {Array} Returns the key-value pairs.
309
- */
310
- function mapToArray(map) {
311
- var index = -1, result = Array(map.size);
312
- map.forEach(function(value, key) {
313
- result[++index] = [key, value];
314
- });
315
- return result;
316
- }
317
- //#endregion
318
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
319
- /** Used to compose bitmasks for value comparisons. */
320
- var COMPARE_PARTIAL_FLAG$4 = 1;
321
- var COMPARE_UNORDERED_FLAG$2 = 2;
322
- /** `Object#toString` result references. */
323
- var boolTag$2 = "[object Boolean]";
324
- var dateTag$2 = "[object Date]";
325
- var errorTag$1 = "[object Error]";
326
- var mapTag$3 = "[object Map]";
327
- var numberTag$2 = "[object Number]";
328
- var regexpTag$2 = "[object RegExp]";
329
- var setTag$3 = "[object Set]";
330
- var stringTag$2 = "[object String]";
331
- var symbolTag$2 = "[object Symbol]";
332
- var arrayBufferTag$2 = "[object ArrayBuffer]";
333
- var dataViewTag$2 = "[object DataView]";
334
- /** Used to convert symbols to primitives and strings. */
335
- var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
336
- var symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
337
- /**
338
- * A specialized version of `baseIsEqualDeep` for comparing objects of
339
- * the same `toStringTag`.
340
- *
341
- * **Note:** This function only supports comparing values with tags of
342
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
343
- *
344
- * @private
345
- * @param {Object} object The object to compare.
346
- * @param {Object} other The other object to compare.
347
- * @param {string} tag The `toStringTag` of the objects to compare.
348
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
349
- * @param {Function} customizer The function to customize comparisons.
350
- * @param {Function} equalFunc The function to determine equivalents of values.
351
- * @param {Object} stack Tracks traversed `object` and `other` objects.
352
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
353
- */
354
- function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
355
- switch (tag) {
356
- case dataViewTag$2:
357
- if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) return false;
358
- object = object.buffer;
359
- other = other.buffer;
360
- case arrayBufferTag$2:
361
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) return false;
362
- return true;
363
- case boolTag$2:
364
- case dateTag$2:
365
- case numberTag$2: return eq(+object, +other);
366
- case errorTag$1: return object.name == other.name && object.message == other.message;
367
- case regexpTag$2:
368
- case stringTag$2: return object == other + "";
369
- case mapTag$3: var convert = mapToArray;
370
- case setTag$3:
371
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
372
- convert || (convert = setToArray);
373
- if (object.size != other.size && !isPartial) return false;
374
- var stacked = stack.get(object);
375
- if (stacked) return stacked == other;
376
- bitmask |= COMPARE_UNORDERED_FLAG$2;
377
- stack.set(object, other);
378
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
379
- stack["delete"](object);
380
- return result;
381
- case symbolTag$2: if (symbolValueOf$1) return symbolValueOf$1.call(object) == symbolValueOf$1.call(other);
382
- }
383
- return false;
384
- }
385
- //#endregion
386
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
387
- /**
388
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
389
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
390
- * symbols of `object`.
391
- *
392
- * @private
393
- * @param {Object} object The object to query.
394
- * @param {Function} keysFunc The function to get the keys of `object`.
395
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
396
- * @returns {Array} Returns the array of property names and symbols.
397
- */
398
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
399
- var result = keysFunc(object);
400
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
401
- }
402
- //#endregion
403
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
404
- /**
405
- * A specialized version of `_.filter` for arrays without support for
406
- * iteratee shorthands.
407
- *
408
- * @private
409
- * @param {Array} [array] The array to iterate over.
410
- * @param {Function} predicate The function invoked per iteration.
411
- * @returns {Array} Returns the new filtered array.
412
- */
413
- function arrayFilter(array, predicate) {
414
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
415
- while (++index < length) {
416
- var value = array[index];
417
- if (predicate(value, index, array)) result[resIndex++] = value;
418
- }
419
- return result;
420
- }
421
- //#endregion
422
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
423
- /**
424
- * This method returns a new empty array.
425
- *
426
- * @static
427
- * @memberOf _
428
- * @since 4.13.0
429
- * @category Util
430
- * @returns {Array} Returns the new empty array.
431
- * @example
432
- *
433
- * var arrays = _.times(2, _.stubArray);
434
- *
435
- * console.log(arrays);
436
- * // => [[], []]
437
- *
438
- * console.log(arrays[0] === arrays[1]);
439
- * // => false
440
- */
441
- function stubArray() {
442
- return [];
443
- }
444
- //#endregion
445
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
446
- /** Built-in value references. */
447
- var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
448
- var nativeGetSymbols = Object.getOwnPropertySymbols;
449
- /**
450
- * Creates an array of the own enumerable symbols of `object`.
451
- *
452
- * @private
453
- * @param {Object} object The object to query.
454
- * @returns {Array} Returns the array of symbols.
455
- */
456
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
457
- if (object == null) return [];
458
- object = Object(object);
459
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
460
- return propertyIsEnumerable.call(object, symbol);
461
- });
462
- };
463
- //#endregion
464
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
465
- /**
466
- * The base implementation of `_.times` without support for iteratee shorthands
467
- * or max array length checks.
468
- *
469
- * @private
470
- * @param {number} n The number of times to invoke `iteratee`.
471
- * @param {Function} iteratee The function invoked per iteration.
472
- * @returns {Array} Returns the array of results.
473
- */
474
- function baseTimes(n, iteratee) {
475
- var index = -1, result = Array(n);
476
- while (++index < n) result[index] = iteratee(index);
477
- return result;
478
- }
479
- //#endregion
480
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
481
- /** Used to check objects for own properties. */
482
- var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
483
- /**
484
- * Creates an array of the enumerable property names of the array-like `value`.
485
- *
486
- * @private
487
- * @param {*} value The value to query.
488
- * @param {boolean} inherited Specify returning inherited property names.
489
- * @returns {Array} Returns the array of property names.
490
- */
491
- function arrayLikeKeys(value, inherited) {
492
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
493
- for (var key in value) if ((inherited || hasOwnProperty$5.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
494
- return result;
495
- }
496
- //#endregion
497
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
498
- /**
499
- * Creates an array of the own enumerable property names of `object`.
500
- *
501
- * **Note:** Non-object values are coerced to objects. See the
502
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
503
- * for more details.
504
- *
505
- * @static
506
- * @since 0.1.0
507
- * @memberOf _
508
- * @category Object
509
- * @param {Object} object The object to query.
510
- * @returns {Array} Returns the array of property names.
511
- * @example
512
- *
513
- * function Foo() {
514
- * this.a = 1;
515
- * this.b = 2;
516
- * }
517
- *
518
- * Foo.prototype.c = 3;
519
- *
520
- * _.keys(new Foo);
521
- * // => ['a', 'b'] (iteration order is not guaranteed)
522
- *
523
- * _.keys('hi');
524
- * // => ['0', '1']
525
- */
526
- function keys(object) {
527
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
528
- }
529
- //#endregion
530
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
531
- /**
532
- * Creates an array of own enumerable property names and symbols of `object`.
533
- *
534
- * @private
535
- * @param {Object} object The object to query.
536
- * @returns {Array} Returns the array of property names and symbols.
537
- */
538
- function getAllKeys(object) {
539
- return baseGetAllKeys(object, keys, getSymbols);
540
- }
541
- //#endregion
542
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
543
- /** Used to compose bitmasks for value comparisons. */
544
- var COMPARE_PARTIAL_FLAG$3 = 1;
545
- /** Used to check objects for own properties. */
546
- var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
547
- /**
548
- * A specialized version of `baseIsEqualDeep` for objects with support for
549
- * partial deep comparisons.
550
- *
551
- * @private
552
- * @param {Object} object The object to compare.
553
- * @param {Object} other The other object to compare.
554
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
555
- * @param {Function} customizer The function to customize comparisons.
556
- * @param {Function} equalFunc The function to determine equivalents of values.
557
- * @param {Object} stack Tracks traversed `object` and `other` objects.
558
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
559
- */
560
- function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
561
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length;
562
- if (objLength != getAllKeys(other).length && !isPartial) return false;
563
- var index = objLength;
564
- while (index--) {
565
- var key = objProps[index];
566
- if (!(isPartial ? key in other : hasOwnProperty$4.call(other, key))) return false;
567
- }
568
- var objStacked = stack.get(object);
569
- var othStacked = stack.get(other);
570
- if (objStacked && othStacked) return objStacked == other && othStacked == object;
571
- var result = true;
572
- stack.set(object, other);
573
- stack.set(other, object);
574
- var skipCtor = isPartial;
575
- while (++index < objLength) {
576
- key = objProps[index];
577
- var objValue = object[key], othValue = other[key];
578
- if (customizer) var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
579
- if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
580
- result = false;
581
- break;
582
- }
583
- skipCtor || (skipCtor = key == "constructor");
584
- }
585
- if (result && !skipCtor) {
586
- var objCtor = object.constructor, othCtor = other.constructor;
587
- if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) result = false;
588
- }
589
- stack["delete"](object);
590
- stack["delete"](other);
591
- return result;
592
- }
593
- //#endregion
594
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
595
- /** Used to compose bitmasks for value comparisons. */
596
- var COMPARE_PARTIAL_FLAG$2 = 1;
597
- /** `Object#toString` result references. */
598
- var argsTag$1 = "[object Arguments]";
599
- var arrayTag$1 = "[object Array]";
600
- var objectTag$1 = "[object Object]";
601
- /** Used to check objects for own properties. */
602
- var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
603
- /**
604
- * A specialized version of `baseIsEqual` for arrays and objects which performs
605
- * deep comparisons and tracks traversed objects enabling objects with circular
606
- * references to be compared.
607
- *
608
- * @private
609
- * @param {Object} object The object to compare.
610
- * @param {Object} other The other object to compare.
611
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
612
- * @param {Function} customizer The function to customize comparisons.
613
- * @param {Function} equalFunc The function to determine equivalents of values.
614
- * @param {Object} [stack] Tracks traversed `object` and `other` objects.
615
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
616
- */
617
- function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
618
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag$1 : _getTag_default(object), othTag = othIsArr ? arrayTag$1 : _getTag_default(other);
619
- objTag = objTag == argsTag$1 ? objectTag$1 : objTag;
620
- othTag = othTag == argsTag$1 ? objectTag$1 : othTag;
621
- var objIsObj = objTag == objectTag$1, othIsObj = othTag == objectTag$1, isSameTag = objTag == othTag;
622
- if (isSameTag && isBuffer(object)) {
623
- if (!isBuffer(other)) return false;
624
- objIsArr = true;
625
- objIsObj = false;
626
- }
627
- if (isSameTag && !objIsObj) {
628
- stack || (stack = new Stack());
629
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
630
- }
631
- if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
632
- var objIsWrapped = objIsObj && hasOwnProperty$3.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$3.call(other, "__wrapped__");
633
- if (objIsWrapped || othIsWrapped) {
634
- var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
635
- stack || (stack = new Stack());
636
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
637
- }
638
- }
639
- if (!isSameTag) return false;
640
- stack || (stack = new Stack());
641
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
642
- }
643
- //#endregion
644
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
645
- /**
646
- * The base implementation of `_.isEqual` which supports partial comparisons
647
- * and tracks traversed objects.
648
- *
649
- * @private
650
- * @param {*} value The value to compare.
651
- * @param {*} other The other value to compare.
652
- * @param {boolean} bitmask The bitmask flags.
653
- * 1 - Unordered comparison
654
- * 2 - Partial comparison
655
- * @param {Function} [customizer] The function to customize comparisons.
656
- * @param {Object} [stack] Tracks traversed `value` and `other` objects.
657
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
658
- */
659
- function baseIsEqual(value, other, bitmask, customizer, stack) {
660
- if (value === other) return true;
661
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) return value !== value && other !== other;
662
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
663
- }
664
- //#endregion
665
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
666
- /**
667
- * Performs a deep comparison between two values to determine if they are
668
- * equivalent.
669
- *
670
- * **Note:** This method supports comparing arrays, array buffers, booleans,
671
- * date objects, error objects, maps, numbers, `Object` objects, regexes,
672
- * sets, strings, symbols, and typed arrays. `Object` objects are compared
673
- * by their own, not inherited, enumerable properties. Functions and DOM
674
- * nodes are compared by strict equality, i.e. `===`.
675
- *
676
- * @static
677
- * @memberOf _
678
- * @since 0.1.0
679
- * @category Lang
680
- * @param {*} value The value to compare.
681
- * @param {*} other The other value to compare.
682
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
683
- * @example
684
- *
685
- * var object = { 'a': 1 };
686
- * var other = { 'a': 1 };
687
- *
688
- * _.isEqual(object, other);
689
- * // => true
690
- *
691
- * object === other;
692
- * // => false
693
- */
694
- function isEqual(value, other) {
695
- return baseIsEqual(value, other);
696
- }
697
- //#endregion
698
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
699
- /** Used as references for various `Number` constants. */
700
- var INFINITY = 1 / 0;
701
- var MAX_INTEGER = 17976931348623157e292;
702
- /**
703
- * Converts `value` to a finite number.
704
- *
705
- * @static
706
- * @memberOf _
707
- * @since 4.12.0
708
- * @category Lang
709
- * @param {*} value The value to convert.
710
- * @returns {number} Returns the converted number.
711
- * @example
712
- *
713
- * _.toFinite(3.2);
714
- * // => 3.2
715
- *
716
- * _.toFinite(Number.MIN_VALUE);
717
- * // => 5e-324
718
- *
719
- * _.toFinite(Infinity);
720
- * // => 1.7976931348623157e+308
721
- *
722
- * _.toFinite('3.2');
723
- * // => 3.2
724
- */
725
- function toFinite(value) {
726
- if (!value) return value === 0 ? value : 0;
727
- value = toNumber(value);
728
- if (value === INFINITY || value === -INFINITY) return (value < 0 ? -1 : 1) * MAX_INTEGER;
729
- return value === value ? value : 0;
730
- }
731
- //#endregion
732
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js
733
- /**
734
- * Converts `value` to an integer.
735
- *
736
- * **Note:** This method is loosely based on
737
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
738
- *
739
- * @static
740
- * @memberOf _
741
- * @since 4.0.0
742
- * @category Lang
743
- * @param {*} value The value to convert.
744
- * @returns {number} Returns the converted integer.
745
- * @example
746
- *
747
- * _.toInteger(3.2);
748
- * // => 3
749
- *
750
- * _.toInteger(Number.MIN_VALUE);
751
- * // => 0
752
- *
753
- * _.toInteger(Infinity);
754
- * // => 1.7976931348623157e+308
755
- *
756
- * _.toInteger('3.2');
757
- * // => 3
758
- */
759
- function toInteger(value) {
760
- var result = toFinite(value), remainder = result % 1;
761
- return result === result ? remainder ? result - remainder : result : 0;
762
- }
763
- //#endregion
764
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
765
- /** Built-in value references. */
766
- var objectCreate = Object.create;
767
- /**
768
- * The base implementation of `_.create` without support for assigning
769
- * properties to the created object.
770
- *
771
- * @private
772
- * @param {Object} proto The object to inherit from.
773
- * @returns {Object} Returns the new object.
774
- */
775
- var baseCreate = function() {
776
- function object() {}
777
- return function(proto) {
778
- if (!isObject$1(proto)) return {};
779
- if (objectCreate) return objectCreate(proto);
780
- object.prototype = proto;
781
- var result = new object();
782
- object.prototype = void 0;
783
- return result;
784
- };
785
- }();
786
- //#endregion
787
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
788
- /**
789
- * Copies the values of `source` to `array`.
790
- *
791
- * @private
792
- * @param {Array} source The array to copy values from.
793
- * @param {Array} [array=[]] The array to copy values to.
794
- * @returns {Array} Returns `array`.
795
- */
796
- function copyArray(source, array) {
797
- var index = -1, length = source.length;
798
- array || (array = Array(length));
799
- while (++index < length) array[index] = source[index];
800
- return array;
801
- }
802
- //#endregion
803
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
804
- /**
805
- * A specialized version of `_.forEach` for arrays without support for
806
- * iteratee shorthands.
807
- *
808
- * @private
809
- * @param {Array} [array] The array to iterate over.
810
- * @param {Function} iteratee The function invoked per iteration.
811
- * @returns {Array} Returns `array`.
812
- */
813
- function arrayEach(array, iteratee) {
814
- var index = -1, length = array == null ? 0 : array.length;
815
- while (++index < length) if (iteratee(array[index], index, array) === false) break;
816
- return array;
817
- }
818
- //#endregion
819
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
820
- /**
821
- * Copies properties of `source` to `object`.
822
- *
823
- * @private
824
- * @param {Object} source The object to copy properties from.
825
- * @param {Array} props The property identifiers to copy.
826
- * @param {Object} [object={}] The object to copy properties to.
827
- * @param {Function} [customizer] The function to customize copied values.
828
- * @returns {Object} Returns `object`.
829
- */
830
- function copyObject(source, props, object, customizer) {
831
- var isNew = !object;
832
- object || (object = {});
833
- var index = -1, length = props.length;
834
- while (++index < length) {
835
- var key = props[index];
836
- var newValue = void 0;
837
- if (newValue === void 0) newValue = source[key];
838
- if (isNew) baseAssignValue(object, key, newValue);
839
- else assignValue(object, key, newValue);
840
- }
841
- return object;
842
- }
843
- //#endregion
844
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
845
- /**
846
- * The base implementation of `_.rest` which doesn't validate or coerce arguments.
847
- *
848
- * @private
849
- * @param {Function} func The function to apply a rest parameter to.
850
- * @param {number} [start=func.length-1] The start position of the rest parameter.
851
- * @returns {Function} Returns the new function.
852
- */
853
- function baseRest(func, start) {
854
- return setToString(overRest(func, start, identity), func + "");
855
- }
856
- //#endregion
857
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
858
- /**
859
- * This function is like
860
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
861
- * except that it includes inherited enumerable properties.
862
- *
863
- * @private
864
- * @param {Object} object The object to query.
865
- * @returns {Array} Returns the array of property names.
866
- */
867
- function nativeKeysIn(object) {
868
- var result = [];
869
- if (object != null) for (var key in Object(object)) result.push(key);
870
- return result;
871
- }
872
- //#endregion
873
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
874
- /** Used to check objects for own properties. */
875
- var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
876
- /**
877
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
878
- *
879
- * @private
880
- * @param {Object} object The object to query.
881
- * @returns {Array} Returns the array of property names.
882
- */
883
- function baseKeysIn(object) {
884
- if (!isObject$1(object)) return nativeKeysIn(object);
885
- var isProto = isPrototype(object), result = [];
886
- for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$2.call(object, key)))) result.push(key);
887
- return result;
888
- }
889
- //#endregion
890
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
891
- /**
892
- * Creates an array of the own and inherited enumerable property names of `object`.
893
- *
894
- * **Note:** Non-object values are coerced to objects.
895
- *
896
- * @static
897
- * @memberOf _
898
- * @since 3.0.0
899
- * @category Object
900
- * @param {Object} object The object to query.
901
- * @returns {Array} Returns the array of property names.
902
- * @example
903
- *
904
- * function Foo() {
905
- * this.a = 1;
906
- * this.b = 2;
907
- * }
908
- *
909
- * Foo.prototype.c = 3;
910
- *
911
- * _.keysIn(new Foo);
912
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
913
- */
914
- function keysIn(object) {
915
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
916
- }
917
- //#endregion
918
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
919
- /**
920
- * Gets the value at `path` of `object`. If the resolved value is
921
- * `undefined`, the `defaultValue` is returned in its place.
922
- *
923
- * @static
924
- * @memberOf _
925
- * @since 3.7.0
926
- * @category Object
927
- * @param {Object} object The object to query.
928
- * @param {Array|string} path The path of the property to get.
929
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
930
- * @returns {*} Returns the resolved value.
931
- * @example
932
- *
933
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
934
- *
935
- * _.get(object, 'a[0].b.c');
936
- * // => 3
937
- *
938
- * _.get(object, ['a', '0', 'b', 'c']);
939
- * // => 3
940
- *
941
- * _.get(object, 'a.b.c', 'default');
942
- * // => 'default'
943
- */
944
- function get$1(object, path, defaultValue) {
945
- var result = object == null ? void 0 : baseGet(object, path);
946
- return result === void 0 ? defaultValue : result;
947
- }
948
- //#endregion
949
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js
950
- /**
951
- * The base implementation of `_.slice` without an iteratee call guard.
952
- *
953
- * @private
954
- * @param {Array} array The array to slice.
955
- * @param {number} [start=0] The start position.
956
- * @param {number} [end=array.length] The end position.
957
- * @returns {Array} Returns the slice of `array`.
958
- */
959
- function baseSlice(array, start, end) {
960
- var index = -1, length = array.length;
961
- if (start < 0) start = -start > length ? 0 : length + start;
962
- end = end > length ? length : end;
963
- if (end < 0) end += length;
964
- length = start > end ? 0 : end - start >>> 0;
965
- start >>>= 0;
966
- var result = Array(length);
967
- while (++index < length) result[index] = array[index + start];
968
- return result;
969
- }
970
- //#endregion
971
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
972
- /**
973
- * The base implementation of `_.assign` without support for multiple sources
974
- * or `customizer` functions.
975
- *
976
- * @private
977
- * @param {Object} object The destination object.
978
- * @param {Object} source The source object.
979
- * @returns {Object} Returns `object`.
980
- */
981
- function baseAssign(object, source) {
982
- return object && copyObject(source, keys(source), object);
983
- }
984
- //#endregion
985
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
986
- /**
987
- * The base implementation of `_.assignIn` without support for multiple sources
988
- * or `customizer` functions.
989
- *
990
- * @private
991
- * @param {Object} object The destination object.
992
- * @param {Object} source The source object.
993
- * @returns {Object} Returns `object`.
994
- */
995
- function baseAssignIn(object, source) {
996
- return object && copyObject(source, keysIn(source), object);
997
- }
998
- //#endregion
999
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
1000
- /** Detect free variable `exports`. */
1001
- var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
1002
- /** Detect free variable `module`. */
1003
- var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
1004
- /** Built-in value references. */
1005
- var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
1006
- var allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
1007
- /**
1008
- * Creates a clone of `buffer`.
1009
- *
1010
- * @private
1011
- * @param {Buffer} buffer The buffer to clone.
1012
- * @param {boolean} [isDeep] Specify a deep clone.
1013
- * @returns {Buffer} Returns the cloned buffer.
1014
- */
1015
- function cloneBuffer(buffer, isDeep) {
1016
- if (isDeep) return buffer.slice();
1017
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
1018
- buffer.copy(result);
1019
- return result;
1020
- }
1021
- //#endregion
1022
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
1023
- /**
1024
- * Copies own symbols of `source` to `object`.
1025
- *
1026
- * @private
1027
- * @param {Object} source The object to copy symbols from.
1028
- * @param {Object} [object={}] The object to copy symbols to.
1029
- * @returns {Object} Returns `object`.
1030
- */
1031
- function copySymbols(source, object) {
1032
- return copyObject(source, getSymbols(source), object);
1033
- }
1034
- //#endregion
1035
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
1036
- /**
1037
- * Creates an array of the own and inherited enumerable symbols of `object`.
1038
- *
1039
- * @private
1040
- * @param {Object} object The object to query.
1041
- * @returns {Array} Returns the array of symbols.
1042
- */
1043
- var getSymbolsIn = !Object.getOwnPropertySymbols ? stubArray : function(object) {
1044
- var result = [];
1045
- while (object) {
1046
- arrayPush(result, getSymbols(object));
1047
- object = getPrototype(object);
1048
- }
1049
- return result;
1050
- };
1051
- //#endregion
1052
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
1053
- /**
1054
- * Copies own and inherited symbols of `source` to `object`.
1055
- *
1056
- * @private
1057
- * @param {Object} source The object to copy symbols from.
1058
- * @param {Object} [object={}] The object to copy symbols to.
1059
- * @returns {Object} Returns `object`.
1060
- */
1061
- function copySymbolsIn(source, object) {
1062
- return copyObject(source, getSymbolsIn(source), object);
1063
- }
1064
- //#endregion
1065
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
1066
- /**
1067
- * Creates an array of own and inherited enumerable property names and
1068
- * symbols of `object`.
1069
- *
1070
- * @private
1071
- * @param {Object} object The object to query.
1072
- * @returns {Array} Returns the array of property names and symbols.
1073
- */
1074
- function getAllKeysIn(object) {
1075
- return baseGetAllKeys(object, keysIn, getSymbolsIn);
1076
- }
1077
- //#endregion
1078
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
1079
- /** Used to check objects for own properties. */
1080
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1081
- /**
1082
- * Initializes an array clone.
1083
- *
1084
- * @private
1085
- * @param {Array} array The array to clone.
1086
- * @returns {Array} Returns the initialized clone.
1087
- */
1088
- function initCloneArray(array) {
1089
- var length = array.length, result = new array.constructor(length);
1090
- if (length && typeof array[0] == "string" && hasOwnProperty$1.call(array, "index")) {
1091
- result.index = array.index;
1092
- result.input = array.input;
1093
- }
1094
- return result;
1095
- }
1096
- //#endregion
1097
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
1098
- /**
1099
- * Creates a clone of `arrayBuffer`.
1100
- *
1101
- * @private
1102
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1103
- * @returns {ArrayBuffer} Returns the cloned array buffer.
1104
- */
1105
- function cloneArrayBuffer(arrayBuffer) {
1106
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1107
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
1108
- return result;
1109
- }
1110
- //#endregion
1111
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
1112
- /**
1113
- * Creates a clone of `dataView`.
1114
- *
1115
- * @private
1116
- * @param {Object} dataView The data view to clone.
1117
- * @param {boolean} [isDeep] Specify a deep clone.
1118
- * @returns {Object} Returns the cloned data view.
1119
- */
1120
- function cloneDataView(dataView, isDeep) {
1121
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1122
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1123
- }
1124
- //#endregion
1125
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
1126
- /** Used to match `RegExp` flags from their coerced string values. */
1127
- var reFlags = /\w*$/;
1128
- /**
1129
- * Creates a clone of `regexp`.
1130
- *
1131
- * @private
1132
- * @param {Object} regexp The regexp to clone.
1133
- * @returns {Object} Returns the cloned regexp.
1134
- */
1135
- function cloneRegExp(regexp) {
1136
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1137
- result.lastIndex = regexp.lastIndex;
1138
- return result;
1139
- }
1140
- //#endregion
1141
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
1142
- /** Used to convert symbols to primitives and strings. */
1143
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
1144
- var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1145
- /**
1146
- * Creates a clone of the `symbol` object.
1147
- *
1148
- * @private
1149
- * @param {Object} symbol The symbol object to clone.
1150
- * @returns {Object} Returns the cloned symbol object.
1151
- */
1152
- function cloneSymbol(symbol) {
1153
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1154
- }
1155
- //#endregion
1156
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
1157
- /**
1158
- * Creates a clone of `typedArray`.
1159
- *
1160
- * @private
1161
- * @param {Object} typedArray The typed array to clone.
1162
- * @param {boolean} [isDeep] Specify a deep clone.
1163
- * @returns {Object} Returns the cloned typed array.
1164
- */
1165
- function cloneTypedArray(typedArray, isDeep) {
1166
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1167
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1168
- }
1169
- //#endregion
1170
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
1171
- /** `Object#toString` result references. */
1172
- var boolTag$1 = "[object Boolean]";
1173
- var dateTag$1 = "[object Date]";
1174
- var mapTag$2 = "[object Map]";
1175
- var numberTag$1 = "[object Number]";
1176
- var regexpTag$1 = "[object RegExp]";
1177
- var setTag$2 = "[object Set]";
1178
- var stringTag$1 = "[object String]";
1179
- var symbolTag$1 = "[object Symbol]";
1180
- var arrayBufferTag$1 = "[object ArrayBuffer]";
1181
- var dataViewTag$1 = "[object DataView]";
1182
- var float32Tag$1 = "[object Float32Array]";
1183
- var float64Tag$1 = "[object Float64Array]";
1184
- var int8Tag$1 = "[object Int8Array]";
1185
- var int16Tag$1 = "[object Int16Array]";
1186
- var int32Tag$1 = "[object Int32Array]";
1187
- var uint8Tag$1 = "[object Uint8Array]";
1188
- var uint8ClampedTag$1 = "[object Uint8ClampedArray]";
1189
- var uint16Tag$1 = "[object Uint16Array]";
1190
- var uint32Tag$1 = "[object Uint32Array]";
1191
- /**
1192
- * Initializes an object clone based on its `toStringTag`.
1193
- *
1194
- * **Note:** This function only supports cloning values with tags of
1195
- * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
1196
- *
1197
- * @private
1198
- * @param {Object} object The object to clone.
1199
- * @param {string} tag The `toStringTag` of the object to clone.
1200
- * @param {boolean} [isDeep] Specify a deep clone.
1201
- * @returns {Object} Returns the initialized clone.
1202
- */
1203
- function initCloneByTag(object, tag, isDeep) {
1204
- var Ctor = object.constructor;
1205
- switch (tag) {
1206
- case arrayBufferTag$1: return cloneArrayBuffer(object);
1207
- case boolTag$1:
1208
- case dateTag$1: return new Ctor(+object);
1209
- case dataViewTag$1: return cloneDataView(object, isDeep);
1210
- case float32Tag$1:
1211
- case float64Tag$1:
1212
- case int8Tag$1:
1213
- case int16Tag$1:
1214
- case int32Tag$1:
1215
- case uint8Tag$1:
1216
- case uint8ClampedTag$1:
1217
- case uint16Tag$1:
1218
- case uint32Tag$1: return cloneTypedArray(object, isDeep);
1219
- case mapTag$2: return new Ctor();
1220
- case numberTag$1:
1221
- case stringTag$1: return new Ctor(object);
1222
- case regexpTag$1: return cloneRegExp(object);
1223
- case setTag$2: return new Ctor();
1224
- case symbolTag$1: return cloneSymbol(object);
1225
- }
1226
- }
1227
- //#endregion
1228
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
1229
- /**
1230
- * Initializes an object clone.
1231
- *
1232
- * @private
1233
- * @param {Object} object The object to clone.
1234
- * @returns {Object} Returns the initialized clone.
1235
- */
1236
- function initCloneObject(object) {
1237
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
1238
- }
1239
- //#endregion
1240
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
1241
- /** `Object#toString` result references. */
1242
- var mapTag$1 = "[object Map]";
1243
- /**
1244
- * The base implementation of `_.isMap` without Node.js optimizations.
1245
- *
1246
- * @private
1247
- * @param {*} value The value to check.
1248
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1249
- */
1250
- function baseIsMap(value) {
1251
- return isObjectLike(value) && _getTag_default(value) == mapTag$1;
1252
- }
1253
- //#endregion
1254
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
1255
- var nodeIsMap = nodeUtil && nodeUtil.isMap;
1256
- /**
1257
- * Checks if `value` is classified as a `Map` object.
1258
- *
1259
- * @static
1260
- * @memberOf _
1261
- * @since 4.3.0
1262
- * @category Lang
1263
- * @param {*} value The value to check.
1264
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1265
- * @example
1266
- *
1267
- * _.isMap(new Map);
1268
- * // => true
1269
- *
1270
- * _.isMap(new WeakMap);
1271
- * // => false
1272
- */
1273
- var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
1274
- //#endregion
1275
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
1276
- /** `Object#toString` result references. */
1277
- var setTag$1 = "[object Set]";
1278
- /**
1279
- * The base implementation of `_.isSet` without Node.js optimizations.
1280
- *
1281
- * @private
1282
- * @param {*} value The value to check.
1283
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1284
- */
1285
- function baseIsSet(value) {
1286
- return isObjectLike(value) && _getTag_default(value) == setTag$1;
1287
- }
1288
- //#endregion
1289
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
1290
- var nodeIsSet = nodeUtil && nodeUtil.isSet;
1291
- /**
1292
- * Checks if `value` is classified as a `Set` object.
1293
- *
1294
- * @static
1295
- * @memberOf _
1296
- * @since 4.3.0
1297
- * @category Lang
1298
- * @param {*} value The value to check.
1299
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1300
- * @example
1301
- *
1302
- * _.isSet(new Set);
1303
- * // => true
1304
- *
1305
- * _.isSet(new WeakSet);
1306
- * // => false
1307
- */
1308
- var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
1309
- //#endregion
1310
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
1311
- /** Used to compose bitmasks for cloning. */
1312
- var CLONE_DEEP_FLAG$2 = 1;
1313
- var CLONE_FLAT_FLAG$1 = 2;
1314
- var CLONE_SYMBOLS_FLAG$2 = 4;
1315
- /** `Object#toString` result references. */
1316
- var argsTag = "[object Arguments]";
1317
- var arrayTag = "[object Array]";
1318
- var boolTag = "[object Boolean]";
1319
- var dateTag = "[object Date]";
1320
- var errorTag = "[object Error]";
1321
- var funcTag = "[object Function]";
1322
- var genTag = "[object GeneratorFunction]";
1323
- var mapTag = "[object Map]";
1324
- var numberTag = "[object Number]";
1325
- var objectTag = "[object Object]";
1326
- var regexpTag = "[object RegExp]";
1327
- var setTag = "[object Set]";
1328
- var stringTag = "[object String]";
1329
- var symbolTag = "[object Symbol]";
1330
- var weakMapTag = "[object WeakMap]";
1331
- var arrayBufferTag = "[object ArrayBuffer]";
1332
- var dataViewTag = "[object DataView]";
1333
- var float32Tag = "[object Float32Array]";
1334
- var float64Tag = "[object Float64Array]";
1335
- var int8Tag = "[object Int8Array]";
1336
- var int16Tag = "[object Int16Array]";
1337
- var int32Tag = "[object Int32Array]";
1338
- var uint8Tag = "[object Uint8Array]";
1339
- var uint8ClampedTag = "[object Uint8ClampedArray]";
1340
- var uint16Tag = "[object Uint16Array]";
1341
- var uint32Tag = "[object Uint32Array]";
1342
- /** Used to identify `toStringTag` values supported by `_.clone`. */
1343
- var cloneableTags = {};
1344
- cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
1345
- cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
1346
- /**
1347
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
1348
- * traversed objects.
1349
- *
1350
- * @private
1351
- * @param {*} value The value to clone.
1352
- * @param {boolean} bitmask The bitmask flags.
1353
- * 1 - Deep clone
1354
- * 2 - Flatten inherited properties
1355
- * 4 - Clone symbols
1356
- * @param {Function} [customizer] The function to customize cloning.
1357
- * @param {string} [key] The key of `value`.
1358
- * @param {Object} [object] The parent object of `value`.
1359
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
1360
- * @returns {*} Returns the cloned value.
1361
- */
1362
- function baseClone(value, bitmask, customizer, key, object, stack) {
1363
- var result, isDeep = bitmask & CLONE_DEEP_FLAG$2, isFlat = bitmask & CLONE_FLAT_FLAG$1, isFull = bitmask & CLONE_SYMBOLS_FLAG$2;
1364
- if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
1365
- if (result !== void 0) return result;
1366
- if (!isObject$1(value)) return value;
1367
- var isArr = isArray(value);
1368
- if (isArr) {
1369
- result = initCloneArray(value);
1370
- if (!isDeep) return copyArray(value, result);
1371
- } else {
1372
- var tag = _getTag_default(value), isFunc = tag == funcTag || tag == genTag;
1373
- if (isBuffer(value)) return cloneBuffer(value, isDeep);
1374
- if (tag == objectTag || tag == argsTag || isFunc && !object) {
1375
- result = isFlat || isFunc ? {} : initCloneObject(value);
1376
- if (!isDeep) return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
1377
- } else {
1378
- if (!cloneableTags[tag]) return object ? value : {};
1379
- result = initCloneByTag(value, tag, isDeep);
1380
- }
1381
- }
1382
- stack || (stack = new Stack());
1383
- var stacked = stack.get(value);
1384
- if (stacked) return stacked;
1385
- stack.set(value, result);
1386
- if (isSet(value)) value.forEach(function(subValue) {
1387
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
1388
- });
1389
- else if (isMap(value)) value.forEach(function(subValue, key) {
1390
- result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
1391
- });
1392
- var props = isArr ? void 0 : (isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys)(value);
1393
- arrayEach(props || value, function(subValue, key) {
1394
- if (props) {
1395
- key = subValue;
1396
- subValue = value[key];
1397
- }
1398
- assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
1399
- });
1400
- return result;
1401
- }
1402
- //#endregion
1403
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
1404
- /** Used to compose bitmasks for cloning. */
1405
- var CLONE_DEEP_FLAG$1 = 1;
1406
- var CLONE_SYMBOLS_FLAG$1 = 4;
1407
- /**
1408
- * This method is like `_.clone` except that it recursively clones `value`.
1409
- *
1410
- * @static
1411
- * @memberOf _
1412
- * @since 1.0.0
1413
- * @category Lang
1414
- * @param {*} value The value to recursively clone.
1415
- * @returns {*} Returns the deep cloned value.
1416
- * @see _.clone
1417
- * @example
1418
- *
1419
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
1420
- *
1421
- * var deep = _.cloneDeep(objects);
1422
- * console.log(deep[0] === objects[0]);
1423
- * // => false
1424
- */
1425
- function cloneDeep(value) {
1426
- return baseClone(value, CLONE_DEEP_FLAG$1 | CLONE_SYMBOLS_FLAG$1);
1427
- }
1428
- //#endregion
1429
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
1430
- /** Used to compose bitmasks for value comparisons. */
1431
- var COMPARE_PARTIAL_FLAG$1 = 1;
1432
- var COMPARE_UNORDERED_FLAG$1 = 2;
1433
- /**
1434
- * The base implementation of `_.isMatch` without support for iteratee shorthands.
1435
- *
1436
- * @private
1437
- * @param {Object} object The object to inspect.
1438
- * @param {Object} source The object of property values to match.
1439
- * @param {Array} matchData The property names, values, and compare flags to match.
1440
- * @param {Function} [customizer] The function to customize comparisons.
1441
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
1442
- */
1443
- function baseIsMatch(object, source, matchData, customizer) {
1444
- var index = matchData.length, length = index;
1445
- if (object == null) return !length;
1446
- object = Object(object);
1447
- while (index--) {
1448
- var data = matchData[index];
1449
- if (data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) return false;
1450
- }
1451
- while (++index < length) {
1452
- data = matchData[index];
1453
- var key = data[0], objValue = object[key], srcValue = data[1];
1454
- if (data[2]) {
1455
- if (objValue === void 0 && !(key in object)) return false;
1456
- } else {
1457
- var stack = new Stack();
1458
- var result;
1459
- if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) return false;
1460
- }
1461
- }
1462
- return true;
1463
- }
1464
- //#endregion
1465
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
1466
- /**
1467
- * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
1468
- *
1469
- * @private
1470
- * @param {*} value The value to check.
1471
- * @returns {boolean} Returns `true` if `value` if suitable for strict
1472
- * equality comparisons, else `false`.
1473
- */
1474
- function isStrictComparable(value) {
1475
- return value === value && !isObject$1(value);
1476
- }
1477
- //#endregion
1478
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
1479
- /**
1480
- * Gets the property names, values, and compare flags of `object`.
1481
- *
1482
- * @private
1483
- * @param {Object} object The object to query.
1484
- * @returns {Array} Returns the match data of `object`.
1485
- */
1486
- function getMatchData(object) {
1487
- var result = keys(object), length = result.length;
1488
- while (length--) {
1489
- var key = result[length], value = object[key];
1490
- result[length] = [
1491
- key,
1492
- value,
1493
- isStrictComparable(value)
1494
- ];
1495
- }
1496
- return result;
1497
- }
1498
- //#endregion
1499
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
1500
- /**
1501
- * A specialized version of `matchesProperty` for source values suitable
1502
- * for strict equality comparisons, i.e. `===`.
1503
- *
1504
- * @private
1505
- * @param {string} key The key of the property to get.
1506
- * @param {*} srcValue The value to match.
1507
- * @returns {Function} Returns the new spec function.
1508
- */
1509
- function matchesStrictComparable(key, srcValue) {
1510
- return function(object) {
1511
- if (object == null) return false;
1512
- return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
1513
- };
1514
- }
1515
- //#endregion
1516
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
1517
- /**
1518
- * The base implementation of `_.matches` which doesn't clone `source`.
1519
- *
1520
- * @private
1521
- * @param {Object} source The object of property values to match.
1522
- * @returns {Function} Returns the new spec function.
1523
- */
1524
- function baseMatches(source) {
1525
- var matchData = getMatchData(source);
1526
- if (matchData.length == 1 && matchData[0][2]) return matchesStrictComparable(matchData[0][0], matchData[0][1]);
1527
- return function(object) {
1528
- return object === source || baseIsMatch(object, source, matchData);
1529
- };
1530
- }
1531
- //#endregion
1532
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
1533
- /** Used to compose bitmasks for value comparisons. */
1534
- var COMPARE_PARTIAL_FLAG = 1;
1535
- var COMPARE_UNORDERED_FLAG = 2;
1536
- /**
1537
- * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
1538
- *
1539
- * @private
1540
- * @param {string} path The path of the property to get.
1541
- * @param {*} srcValue The value to match.
1542
- * @returns {Function} Returns the new spec function.
1543
- */
1544
- function baseMatchesProperty(path, srcValue) {
1545
- if (isKey(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey(path), srcValue);
1546
- return function(object) {
1547
- var objValue = get$1(object, path);
1548
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1549
- };
1550
- }
1551
- //#endregion
1552
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
1553
- /**
1554
- * The base implementation of `_.property` without support for deep paths.
1555
- *
1556
- * @private
1557
- * @param {string} key The key of the property to get.
1558
- * @returns {Function} Returns the new accessor function.
1559
- */
1560
- function baseProperty(key) {
1561
- return function(object) {
1562
- return object == null ? void 0 : object[key];
1563
- };
1564
- }
1565
- //#endregion
1566
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
1567
- /**
1568
- * A specialized version of `baseProperty` which supports deep paths.
1569
- *
1570
- * @private
1571
- * @param {Array|string} path The path of the property to get.
1572
- * @returns {Function} Returns the new accessor function.
1573
- */
1574
- function basePropertyDeep(path) {
1575
- return function(object) {
1576
- return baseGet(object, path);
1577
- };
1578
- }
1579
- //#endregion
1580
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
1581
- /**
1582
- * Creates a function that returns the value at `path` of a given object.
1583
- *
1584
- * @static
1585
- * @memberOf _
1586
- * @since 2.4.0
1587
- * @category Util
1588
- * @param {Array|string} path The path of the property to get.
1589
- * @returns {Function} Returns the new accessor function.
1590
- * @example
1591
- *
1592
- * var objects = [
1593
- * { 'a': { 'b': 2 } },
1594
- * { 'a': { 'b': 1 } }
1595
- * ];
1596
- *
1597
- * _.map(objects, _.property('a.b'));
1598
- * // => [2, 1]
1599
- *
1600
- * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
1601
- * // => [1, 2]
1602
- */
1603
- function property(path) {
1604
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
1605
- }
1606
- //#endregion
1607
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
1608
- /**
1609
- * The base implementation of `_.iteratee`.
1610
- *
1611
- * @private
1612
- * @param {*} [value=_.identity] The value to convert to an iteratee.
1613
- * @returns {Function} Returns the iteratee.
1614
- */
1615
- function baseIteratee(value) {
1616
- if (typeof value == "function") return value;
1617
- if (value == null) return identity;
1618
- if (typeof value == "object") return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1619
- return property(value);
1620
- }
1621
- //#endregion
1622
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
1623
- /**
1624
- * This method is like `_.isArrayLike` except that it also checks if `value`
1625
- * is an object.
1626
- *
1627
- * @static
1628
- * @memberOf _
1629
- * @since 4.0.0
1630
- * @category Lang
1631
- * @param {*} value The value to check.
1632
- * @returns {boolean} Returns `true` if `value` is an array-like object,
1633
- * else `false`.
1634
- * @example
1635
- *
1636
- * _.isArrayLikeObject([1, 2, 3]);
1637
- * // => true
1638
- *
1639
- * _.isArrayLikeObject(document.body.children);
1640
- * // => true
1641
- *
1642
- * _.isArrayLikeObject('abc');
1643
- * // => false
1644
- *
1645
- * _.isArrayLikeObject(_.noop);
1646
- * // => false
1647
- */
1648
- function isArrayLikeObject(value) {
1649
- return isObjectLike(value) && isArrayLike(value);
1650
- }
1651
- //#endregion
1652
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.js
1653
- /**
1654
- * Gets the last element of `array`.
1655
- *
1656
- * @static
1657
- * @memberOf _
1658
- * @since 0.1.0
1659
- * @category Array
1660
- * @param {Array} array The array to query.
1661
- * @returns {*} Returns the last element of `array`.
1662
- * @example
1663
- *
1664
- * _.last([1, 2, 3]);
1665
- * // => 3
1666
- */
1667
- function last(array) {
1668
- var length = array == null ? 0 : array.length;
1669
- return length ? array[length - 1] : void 0;
1670
- }
1671
- //#endregion
1672
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js
1673
- /**
1674
- * Creates a `_.find` or `_.findLast` function.
1675
- *
1676
- * @private
1677
- * @param {Function} findIndexFunc The function to find the collection index.
1678
- * @returns {Function} Returns the new find function.
1679
- */
1680
- function createFind(findIndexFunc) {
1681
- return function(collection, predicate, fromIndex) {
1682
- var iterable = Object(collection);
1683
- if (!isArrayLike(collection)) {
1684
- var iteratee = baseIteratee(predicate);
1685
- collection = keys(collection);
1686
- predicate = function(key) {
1687
- return iteratee(iterable[key], key, iterable);
1688
- };
1689
- }
1690
- var index = findIndexFunc(collection, predicate, fromIndex);
1691
- return index > -1 ? iterable[iteratee ? collection[index] : index] : void 0;
1692
- };
1693
- }
1694
- //#endregion
1695
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
1696
- var nativeMax = Math.max;
1697
- /**
1698
- * This method is like `_.find` except that it returns the index of the first
1699
- * element `predicate` returns truthy for instead of the element itself.
1700
- *
1701
- * @static
1702
- * @memberOf _
1703
- * @since 1.1.0
1704
- * @category Array
1705
- * @param {Array} array The array to inspect.
1706
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
1707
- * @param {number} [fromIndex=0] The index to search from.
1708
- * @returns {number} Returns the index of the found element, else `-1`.
1709
- * @example
1710
- *
1711
- * var users = [
1712
- * { 'user': 'barney', 'active': false },
1713
- * { 'user': 'fred', 'active': false },
1714
- * { 'user': 'pebbles', 'active': true }
1715
- * ];
1716
- *
1717
- * _.findIndex(users, function(o) { return o.user == 'barney'; });
1718
- * // => 0
1719
- *
1720
- * // The `_.matches` iteratee shorthand.
1721
- * _.findIndex(users, { 'user': 'fred', 'active': false });
1722
- * // => 1
1723
- *
1724
- * // The `_.matchesProperty` iteratee shorthand.
1725
- * _.findIndex(users, ['active', false]);
1726
- * // => 0
1727
- *
1728
- * // The `_.property` iteratee shorthand.
1729
- * _.findIndex(users, 'active');
1730
- * // => 2
1731
- */
1732
- function findIndex(array, predicate, fromIndex) {
1733
- var length = array == null ? 0 : array.length;
1734
- if (!length) return -1;
1735
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
1736
- if (index < 0) index = nativeMax(length + index, 0);
1737
- return baseFindIndex(array, baseIteratee(predicate), index);
1738
- }
1739
- //#endregion
1740
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/find.js
1741
- /**
1742
- * Iterates over elements of `collection`, returning the first element
1743
- * `predicate` returns truthy for. The predicate is invoked with three
1744
- * arguments: (value, index|key, collection).
1745
- *
1746
- * @static
1747
- * @memberOf _
1748
- * @since 0.1.0
1749
- * @category Collection
1750
- * @param {Array|Object} collection The collection to inspect.
1751
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
1752
- * @param {number} [fromIndex=0] The index to search from.
1753
- * @returns {*} Returns the matched element, else `undefined`.
1754
- * @example
1755
- *
1756
- * var users = [
1757
- * { 'user': 'barney', 'age': 36, 'active': true },
1758
- * { 'user': 'fred', 'age': 40, 'active': false },
1759
- * { 'user': 'pebbles', 'age': 1, 'active': true }
1760
- * ];
1761
- *
1762
- * _.find(users, function(o) { return o.age < 40; });
1763
- * // => object for 'barney'
1764
- *
1765
- * // The `_.matches` iteratee shorthand.
1766
- * _.find(users, { 'age': 1, 'active': true });
1767
- * // => object for 'pebbles'
1768
- *
1769
- * // The `_.matchesProperty` iteratee shorthand.
1770
- * _.find(users, ['active', false]);
1771
- * // => object for 'fred'
1772
- *
1773
- * // The `_.property` iteratee shorthand.
1774
- * _.find(users, 'active');
1775
- * // => object for 'barney'
1776
- */
1777
- var find = createFind(findIndex);
1778
- //#endregion
1779
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js
1780
- var nativeMin = Math.min;
1781
- /**
1782
- * The base implementation of methods like `_.intersection`, without support
1783
- * for iteratee shorthands, that accepts an array of arrays to inspect.
1784
- *
1785
- * @private
1786
- * @param {Array} arrays The arrays to inspect.
1787
- * @param {Function} [iteratee] The iteratee invoked per element.
1788
- * @param {Function} [comparator] The comparator invoked per element.
1789
- * @returns {Array} Returns the new array of shared values.
1790
- */
1791
- function baseIntersection(arrays, iteratee, comparator) {
1792
- var includes = arrayIncludes, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array(othLength), maxLength = Infinity, result = [];
1793
- while (othIndex--) {
1794
- var array = arrays[othIndex];
1795
- maxLength = nativeMin(array.length, maxLength);
1796
- caches[othIndex] = (length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : void 0;
1797
- }
1798
- array = arrays[0];
1799
- var index = -1, seen = caches[0];
1800
- outer: while (++index < length && result.length < maxLength) {
1801
- var value = array[index], computed = value;
1802
- value = value !== 0 ? value : 0;
1803
- if (!(seen ? cacheHas(seen, computed) : includes(result, computed))) {
1804
- othIndex = othLength;
1805
- while (--othIndex) {
1806
- var cache = caches[othIndex];
1807
- if (!(cache ? cacheHas(cache, computed) : includes(arrays[othIndex], computed))) continue outer;
1808
- }
1809
- if (seen) seen.push(computed);
1810
- result.push(value);
1811
- }
1812
- }
1813
- return result;
1814
- }
1815
- //#endregion
1816
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castArrayLikeObject.js
1817
- /**
1818
- * Casts `value` to an empty array if it's not an array like object.
1819
- *
1820
- * @private
1821
- * @param {*} value The value to inspect.
1822
- * @returns {Array|Object} Returns the cast array-like object.
1823
- */
1824
- function castArrayLikeObject(value) {
1825
- return isArrayLikeObject(value) ? value : [];
1826
- }
1827
- //#endregion
1828
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/intersection.js
1829
- /**
1830
- * Creates an array of unique values that are included in all given arrays
1831
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1832
- * for equality comparisons. The order and references of result values are
1833
- * determined by the first array.
1834
- *
1835
- * @static
1836
- * @memberOf _
1837
- * @since 0.1.0
1838
- * @category Array
1839
- * @param {...Array} [arrays] The arrays to inspect.
1840
- * @returns {Array} Returns the new array of intersecting values.
1841
- * @example
1842
- *
1843
- * _.intersection([2, 1], [2, 3]);
1844
- * // => [2]
1845
- */
1846
- var intersection = baseRest(function(arrays) {
1847
- var mapped = arrayMap(arrays, castArrayLikeObject);
1848
- return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];
1849
- });
1850
- //#endregion
1851
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.js
1852
- /**
1853
- * Gets the parent value at `path` of `object`.
1854
- *
1855
- * @private
1856
- * @param {Object} object The object to query.
1857
- * @param {Array} path The path to get the parent value of.
1858
- * @returns {*} Returns the parent value.
1859
- */
1860
- function parent(object, path) {
1861
- return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
1862
- }
1863
- //#endregion
1864
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.js
1865
- /** Used to check objects for own properties. */
1866
- var hasOwnProperty = Object.prototype.hasOwnProperty;
1867
- /**
1868
- * The base implementation of `_.unset`.
1869
- *
1870
- * @private
1871
- * @param {Object} object The object to modify.
1872
- * @param {Array|string} path The property path to unset.
1873
- * @returns {boolean} Returns `true` if the property is deleted, else `false`.
1874
- */
1875
- function baseUnset(object, path) {
1876
- path = castPath(path, object);
1877
- var index = -1, length = path.length;
1878
- if (!length) return true;
1879
- while (++index < length) {
1880
- var key = toKey(path[index]);
1881
- if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) return false;
1882
- if ((key === "constructor" || key === "prototype") && index < length - 1) return false;
1883
- }
1884
- var obj = parent(object, path);
1885
- return obj == null || delete obj[toKey(last(path))];
1886
- }
1887
- //#endregion
1888
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.js
1889
- /**
1890
- * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
1891
- * objects.
1892
- *
1893
- * @private
1894
- * @param {*} value The value to inspect.
1895
- * @param {string} key The key of the property to inspect.
1896
- * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
1897
- */
1898
- function customOmitClone(value) {
1899
- return isPlainObject(value) ? void 0 : value;
1900
- }
1901
- //#endregion
1902
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.js
1903
- /** Used to compose bitmasks for cloning. */
1904
- var CLONE_DEEP_FLAG = 1;
1905
- var CLONE_FLAT_FLAG = 2;
1906
- var CLONE_SYMBOLS_FLAG = 4;
1907
- /**
1908
- * The opposite of `_.pick`; this method creates an object composed of the
1909
- * own and inherited enumerable property paths of `object` that are not omitted.
1910
- *
1911
- * **Note:** This method is considerably slower than `_.pick`.
1912
- *
1913
- * @static
1914
- * @since 0.1.0
1915
- * @memberOf _
1916
- * @category Object
1917
- * @param {Object} object The source object.
1918
- * @param {...(string|string[])} [paths] The property paths to omit.
1919
- * @returns {Object} Returns the new object.
1920
- * @example
1921
- *
1922
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
1923
- *
1924
- * _.omit(object, ['a', 'c']);
1925
- * // => { 'b': '2' }
1926
- */
1927
- var omit = flatRest(function(object, paths) {
1928
- var result = {};
1929
- if (object == null) return result;
1930
- var isDeep = false;
1931
- paths = arrayMap(paths, function(path) {
1932
- path = castPath(path, object);
1933
- isDeep || (isDeep = path.length > 1);
1934
- return path;
1935
- });
1936
- copyObject(object, getAllKeysIn(object), result);
1937
- if (isDeep) result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
1938
- var length = paths.length;
1939
- while (length--) baseUnset(result, paths[length]);
1940
- return result;
1941
- });
1942
- //#endregion
1943
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/grid/context.js
1944
- var RowContextKey = Symbol("rowContextKey");
1945
- var useProvideRow = (state) => {
1946
- provide(RowContextKey, state);
1947
- };
1948
- var useInjectRow = () => {
1949
- return inject(RowContextKey, {
1950
- gutter: computed(() => void 0),
1951
- wrap: computed(() => void 0),
1952
- supportFlexGap: computed(() => void 0)
1953
- });
1954
- };
1955
- //#endregion
1956
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/grid/style/index.js
1957
- var genGridRowStyle = (token) => {
1958
- const { componentCls } = token;
1959
- return { [componentCls]: {
1960
- display: "flex",
1961
- flexFlow: "row wrap",
1962
- minWidth: 0,
1963
- "&::before, &::after": { display: "flex" },
1964
- "&-no-wrap": { flexWrap: "nowrap" },
1965
- "&-start": { justifyContent: "flex-start" },
1966
- "&-center": { justifyContent: "center" },
1967
- "&-end": { justifyContent: "flex-end" },
1968
- "&-space-between": { justifyContent: "space-between" },
1969
- "&-space-around ": { justifyContent: "space-around" },
1970
- "&-space-evenly ": { justifyContent: "space-evenly" },
1971
- "&-top": { alignItems: "flex-start" },
1972
- "&-middle": { alignItems: "center" },
1973
- "&-bottom": { alignItems: "flex-end" }
1974
- } };
1975
- };
1976
- var genGridColStyle = (token) => {
1977
- const { componentCls } = token;
1978
- return { [componentCls]: {
1979
- position: "relative",
1980
- maxWidth: "100%",
1981
- minHeight: 1
1982
- } };
1983
- };
1984
- var genLoopGridColumnsStyle = (token, sizeCls) => {
1985
- const { componentCls, gridColumns } = token;
1986
- const gridColumnsStyle = {};
1987
- for (let i = gridColumns; i >= 0; i--) if (i === 0) {
1988
- gridColumnsStyle[`${componentCls}${sizeCls}-${i}`] = { display: "none" };
1989
- gridColumnsStyle[`${componentCls}-push-${i}`] = { insetInlineStart: "auto" };
1990
- gridColumnsStyle[`${componentCls}-pull-${i}`] = { insetInlineEnd: "auto" };
1991
- gridColumnsStyle[`${componentCls}${sizeCls}-push-${i}`] = { insetInlineStart: "auto" };
1992
- gridColumnsStyle[`${componentCls}${sizeCls}-pull-${i}`] = { insetInlineEnd: "auto" };
1993
- gridColumnsStyle[`${componentCls}${sizeCls}-offset-${i}`] = { marginInlineEnd: 0 };
1994
- gridColumnsStyle[`${componentCls}${sizeCls}-order-${i}`] = { order: 0 };
1995
- } else {
1996
- gridColumnsStyle[`${componentCls}${sizeCls}-${i}`] = {
1997
- display: "block",
1998
- flex: `0 0 ${i / gridColumns * 100}%`,
1999
- maxWidth: `${i / gridColumns * 100}%`
2000
- };
2001
- gridColumnsStyle[`${componentCls}${sizeCls}-push-${i}`] = { insetInlineStart: `${i / gridColumns * 100}%` };
2002
- gridColumnsStyle[`${componentCls}${sizeCls}-pull-${i}`] = { insetInlineEnd: `${i / gridColumns * 100}%` };
2003
- gridColumnsStyle[`${componentCls}${sizeCls}-offset-${i}`] = { marginInlineStart: `${i / gridColumns * 100}%` };
2004
- gridColumnsStyle[`${componentCls}${sizeCls}-order-${i}`] = { order: i };
2005
- }
2006
- return gridColumnsStyle;
2007
- };
2008
- var genGridStyle = (token, sizeCls) => genLoopGridColumnsStyle(token, sizeCls);
2009
- var genGridMediaStyle = (token, screenSize, sizeCls) => ({ [`@media (min-width: ${screenSize}px)`]: _extends$1({}, genGridStyle(token, sizeCls)) });
2010
- var useRowStyle = genComponentStyleHook("Grid", (token) => [genGridRowStyle(token)]);
2011
- var useColStyle = genComponentStyleHook("Grid", (token) => {
2012
- const gridToken = merge(token, { gridColumns: 24 });
2013
- const gridMediaSizesMap = {
2014
- "-sm": gridToken.screenSMMin,
2015
- "-md": gridToken.screenMDMin,
2016
- "-lg": gridToken.screenLGMin,
2017
- "-xl": gridToken.screenXLMin,
2018
- "-xxl": gridToken.screenXXLMin
2019
- };
2020
- return [
2021
- genGridColStyle(gridToken),
2022
- genGridStyle(gridToken, ""),
2023
- genGridStyle(gridToken, "-xs"),
2024
- Object.keys(gridMediaSizesMap).map((key) => genGridMediaStyle(gridToken, gridMediaSizesMap[key], key)).reduce((pre, cur) => _extends$1(_extends$1({}, pre), cur), {})
2025
- ];
2026
- });
2027
- //#endregion
2028
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/grid/Row.js
2029
- var rowProps = () => ({
2030
- align: someType([String, Object]),
2031
- justify: someType([String, Object]),
2032
- prefixCls: String,
2033
- gutter: someType([
2034
- Number,
2035
- Array,
2036
- Object
2037
- ], 0),
2038
- wrap: {
2039
- type: Boolean,
2040
- default: void 0
2041
- }
2042
- });
2043
- var ARow = defineComponent({
2044
- compatConfig: { MODE: 3 },
2045
- name: "ARow",
2046
- inheritAttrs: false,
2047
- props: rowProps(),
2048
- setup(props, _ref) {
2049
- let { slots, attrs } = _ref;
2050
- const { prefixCls, direction } = useConfigInject_default("row", props);
2051
- const [wrapSSR, hashId] = useRowStyle(prefixCls);
2052
- useResponsiveObserver();
2053
- const screens = ref({
2054
- xs: true,
2055
- sm: true,
2056
- md: true,
2057
- lg: true,
2058
- xl: true,
2059
- xxl: true
2060
- });
2061
- const curScreens = ref({
2062
- xs: false,
2063
- sm: false,
2064
- md: false,
2065
- lg: false,
2066
- xl: false,
2067
- xxl: false
2068
- });
2069
- const mergePropsByScreen = (oriProp) => {
2070
- return computed(() => {
2071
- if (typeof props[oriProp] === "string") return props[oriProp];
2072
- if (typeof props[oriProp] !== "object") return "";
2073
- for (let i = 0; i < responsiveArray.length; i++) {
2074
- const breakpoint = responsiveArray[i];
2075
- if (!curScreens.value[breakpoint]) continue;
2076
- const curVal = props[oriProp][breakpoint];
2077
- if (curVal !== void 0) return curVal;
2078
- }
2079
- return "";
2080
- });
2081
- };
2082
- const mergeAlign = mergePropsByScreen("align");
2083
- const mergeJustify = mergePropsByScreen("justify");
2084
- const supportFlexGap = useFlexGapSupport_default();
2085
- const gutter = computed(() => {
2086
- const results = [void 0, void 0];
2087
- const { gutter = 0 } = props;
2088
- (Array.isArray(gutter) ? gutter : [gutter, void 0]).forEach((g, index) => {
2089
- if (typeof g === "object") for (let i = 0; i < responsiveArray.length; i++) {
2090
- const breakpoint = responsiveArray[i];
2091
- if (screens.value[breakpoint] && g[breakpoint] !== void 0) {
2092
- results[index] = g[breakpoint];
2093
- break;
2094
- }
2095
- }
2096
- else results[index] = g;
2097
- });
2098
- return results;
2099
- });
2100
- useProvideRow({
2101
- gutter,
2102
- supportFlexGap,
2103
- wrap: computed(() => props.wrap)
2104
- });
2105
- const classes = computed(() => classNames(prefixCls.value, {
2106
- [`${prefixCls.value}-no-wrap`]: props.wrap === false,
2107
- [`${prefixCls.value}-${mergeJustify.value}`]: mergeJustify.value,
2108
- [`${prefixCls.value}-${mergeAlign.value}`]: mergeAlign.value,
2109
- [`${prefixCls.value}-rtl`]: direction.value === "rtl"
2110
- }, attrs.class, hashId.value));
2111
- const rowStyle = computed(() => {
2112
- const gt = gutter.value;
2113
- const style = {};
2114
- const horizontalGutter = gt[0] != null && gt[0] > 0 ? `${gt[0] / -2}px` : void 0;
2115
- const verticalGutter = gt[1] != null && gt[1] > 0 ? `${gt[1] / -2}px` : void 0;
2116
- if (horizontalGutter) {
2117
- style.marginLeft = horizontalGutter;
2118
- style.marginRight = horizontalGutter;
2119
- }
2120
- if (supportFlexGap.value) style.rowGap = `${gt[1]}px`;
2121
- else if (verticalGutter) {
2122
- style.marginTop = verticalGutter;
2123
- style.marginBottom = verticalGutter;
2124
- }
2125
- return style;
2126
- });
2127
- return () => {
2128
- var _a;
2129
- return wrapSSR(createVNode("div", _objectSpread2(_objectSpread2({}, attrs), {}, {
2130
- "class": classes.value,
2131
- "style": _extends$1(_extends$1({}, rowStyle.value), attrs.style)
2132
- }), [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]));
2133
- };
2134
- }
2135
- });
2136
- //#endregion
2137
- //#region node_modules/.pnpm/async-validator@4.2.5/node_modules/async-validator/dist-web/index.js
2138
- function _extends() {
2139
- _extends = Object.assign ? Object.assign.bind() : function(target) {
2140
- for (var i = 1; i < arguments.length; i++) {
2141
- var source = arguments[i];
2142
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
2143
- }
2144
- return target;
2145
- };
2146
- return _extends.apply(this, arguments);
2147
- }
2148
- function _inheritsLoose(subClass, superClass) {
2149
- subClass.prototype = Object.create(superClass.prototype);
2150
- subClass.prototype.constructor = subClass;
2151
- _setPrototypeOf(subClass, superClass);
2152
- }
2153
- function _getPrototypeOf(o) {
2154
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
2155
- return o.__proto__ || Object.getPrototypeOf(o);
2156
- };
2157
- return _getPrototypeOf(o);
2158
- }
2159
- function _setPrototypeOf(o, p) {
2160
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
2161
- o.__proto__ = p;
2162
- return o;
2163
- };
2164
- return _setPrototypeOf(o, p);
2165
- }
2166
- function _isNativeReflectConstruct() {
2167
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2168
- if (Reflect.construct.sham) return false;
2169
- if (typeof Proxy === "function") return true;
2170
- try {
2171
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2172
- return true;
2173
- } catch (e) {
2174
- return false;
2175
- }
2176
- }
2177
- function _construct(Parent, args, Class) {
2178
- if (_isNativeReflectConstruct()) _construct = Reflect.construct.bind();
2179
- else _construct = function _construct(Parent, args, Class) {
2180
- var a = [null];
2181
- a.push.apply(a, args);
2182
- var instance = new (Function.bind.apply(Parent, a))();
2183
- if (Class) _setPrototypeOf(instance, Class.prototype);
2184
- return instance;
2185
- };
2186
- return _construct.apply(null, arguments);
2187
- }
2188
- function _isNativeFunction(fn) {
2189
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
2190
- }
2191
- function _wrapNativeSuper(Class) {
2192
- var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
2193
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
2194
- if (Class === null || !_isNativeFunction(Class)) return Class;
2195
- if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
2196
- if (typeof _cache !== "undefined") {
2197
- if (_cache.has(Class)) return _cache.get(Class);
2198
- _cache.set(Class, Wrapper);
2199
- }
2200
- function Wrapper() {
2201
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
2202
- }
2203
- Wrapper.prototype = Object.create(Class.prototype, { constructor: {
2204
- value: Wrapper,
2205
- enumerable: false,
2206
- writable: true,
2207
- configurable: true
2208
- } });
2209
- return _setPrototypeOf(Wrapper, Class);
2210
- };
2211
- return _wrapNativeSuper(Class);
2212
- }
2213
- var formatRegExp = /%[sdj%]/g;
2214
- var warning = function warning() {};
2215
- if (typeof process !== "undefined" && process.env && false);
2216
- function convertFieldsError(errors) {
2217
- if (!errors || !errors.length) return null;
2218
- var fields = {};
2219
- errors.forEach(function(error) {
2220
- var field = error.field;
2221
- fields[field] = fields[field] || [];
2222
- fields[field].push(error);
2223
- });
2224
- return fields;
2225
- }
2226
- function format(template) {
2227
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) args[_key - 1] = arguments[_key];
2228
- var i = 0;
2229
- var len = args.length;
2230
- if (typeof template === "function") return template.apply(null, args);
2231
- if (typeof template === "string") return template.replace(formatRegExp, function(x) {
2232
- if (x === "%%") return "%";
2233
- if (i >= len) return x;
2234
- switch (x) {
2235
- case "%s": return String(args[i++]);
2236
- case "%d": return Number(args[i++]);
2237
- case "%j": try {
2238
- return JSON.stringify(args[i++]);
2239
- } catch (_) {
2240
- return "[Circular]";
2241
- }
2242
- default: return x;
2243
- }
2244
- });
2245
- return template;
2246
- }
2247
- function isNativeStringType(type) {
2248
- return type === "string" || type === "url" || type === "hex" || type === "email" || type === "date" || type === "pattern";
2249
- }
2250
- function isEmptyValue(value, type) {
2251
- if (value === void 0 || value === null) return true;
2252
- if (type === "array" && Array.isArray(value) && !value.length) return true;
2253
- if (isNativeStringType(type) && typeof value === "string" && !value) return true;
2254
- return false;
2255
- }
2256
- function asyncParallelArray(arr, func, callback) {
2257
- var results = [];
2258
- var total = 0;
2259
- var arrLength = arr.length;
2260
- function count(errors) {
2261
- results.push.apply(results, errors || []);
2262
- total++;
2263
- if (total === arrLength) callback(results);
2264
- }
2265
- arr.forEach(function(a) {
2266
- func(a, count);
2267
- });
2268
- }
2269
- function asyncSerialArray(arr, func, callback) {
2270
- var index = 0;
2271
- var arrLength = arr.length;
2272
- function next(errors) {
2273
- if (errors && errors.length) {
2274
- callback(errors);
2275
- return;
2276
- }
2277
- var original = index;
2278
- index = index + 1;
2279
- if (original < arrLength) func(arr[original], next);
2280
- else callback([]);
2281
- }
2282
- next([]);
2283
- }
2284
- function flattenObjArr(objArr) {
2285
- var ret = [];
2286
- Object.keys(objArr).forEach(function(k) {
2287
- ret.push.apply(ret, objArr[k] || []);
2288
- });
2289
- return ret;
2290
- }
2291
- var AsyncValidationError = /*#__PURE__*/ function(_Error) {
2292
- _inheritsLoose(AsyncValidationError, _Error);
2293
- function AsyncValidationError(errors, fields) {
2294
- var _this = _Error.call(this, "Async Validation Error") || this;
2295
- _this.errors = errors;
2296
- _this.fields = fields;
2297
- return _this;
2298
- }
2299
- return AsyncValidationError;
2300
- }(/*#__PURE__*/ _wrapNativeSuper(Error));
2301
- function asyncMap(objArr, option, func, callback, source) {
2302
- if (option.first) {
2303
- var _pending = new Promise(function(resolve, reject) {
2304
- asyncSerialArray(flattenObjArr(objArr), func, function next(errors) {
2305
- callback(errors);
2306
- return errors.length ? reject(new AsyncValidationError(errors, convertFieldsError(errors))) : resolve(source);
2307
- });
2308
- });
2309
- _pending["catch"](function(e) {
2310
- return e;
2311
- });
2312
- return _pending;
2313
- }
2314
- var firstFields = option.firstFields === true ? Object.keys(objArr) : option.firstFields || [];
2315
- var objArrKeys = Object.keys(objArr);
2316
- var objArrLength = objArrKeys.length;
2317
- var total = 0;
2318
- var results = [];
2319
- var pending = new Promise(function(resolve, reject) {
2320
- var next = function next(errors) {
2321
- results.push.apply(results, errors);
2322
- total++;
2323
- if (total === objArrLength) {
2324
- callback(results);
2325
- return results.length ? reject(new AsyncValidationError(results, convertFieldsError(results))) : resolve(source);
2326
- }
2327
- };
2328
- if (!objArrKeys.length) {
2329
- callback(results);
2330
- resolve(source);
2331
- }
2332
- objArrKeys.forEach(function(key) {
2333
- var arr = objArr[key];
2334
- if (firstFields.indexOf(key) !== -1) asyncSerialArray(arr, func, next);
2335
- else asyncParallelArray(arr, func, next);
2336
- });
2337
- });
2338
- pending["catch"](function(e) {
2339
- return e;
2340
- });
2341
- return pending;
2342
- }
2343
- function isErrorObj(obj) {
2344
- return !!(obj && obj.message !== void 0);
2345
- }
2346
- function getValue$1(value, path) {
2347
- var v = value;
2348
- for (var i = 0; i < path.length; i++) {
2349
- if (v == void 0) return v;
2350
- v = v[path[i]];
2351
- }
2352
- return v;
2353
- }
2354
- function complementError(rule, source) {
2355
- return function(oe) {
2356
- var fieldValue;
2357
- if (rule.fullFields) fieldValue = getValue$1(source, rule.fullFields);
2358
- else fieldValue = source[oe.field || rule.fullField];
2359
- if (isErrorObj(oe)) {
2360
- oe.field = oe.field || rule.fullField;
2361
- oe.fieldValue = fieldValue;
2362
- return oe;
2363
- }
2364
- return {
2365
- message: typeof oe === "function" ? oe() : oe,
2366
- fieldValue,
2367
- field: oe.field || rule.fullField
2368
- };
2369
- };
2370
- }
2371
- function deepMerge(target, source) {
2372
- if (source) {
2373
- for (var s in source) if (source.hasOwnProperty(s)) {
2374
- var value = source[s];
2375
- if (typeof value === "object" && typeof target[s] === "object") target[s] = _extends({}, target[s], value);
2376
- else target[s] = value;
2377
- }
2378
- }
2379
- return target;
2380
- }
2381
- var required$1 = function required(rule, value, source, errors, options, type) {
2382
- if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) errors.push(format(options.messages.required, rule.fullField));
2383
- };
2384
- /**
2385
- * Rule for validating whitespace.
2386
- *
2387
- * @param rule The validation rule.
2388
- * @param value The value of the field on the source object.
2389
- * @param source The source object being validated.
2390
- * @param errors An array of errors that this rule may add
2391
- * validation errors to.
2392
- * @param options The validation options.
2393
- * @param options.messages The validation messages.
2394
- */
2395
- var whitespace = function whitespace(rule, value, source, errors, options) {
2396
- if (/^\s+$/.test(value) || value === "") errors.push(format(options.messages.whitespace, rule.fullField));
2397
- };
2398
- var urlReg;
2399
- var getUrlRegex = (function() {
2400
- if (urlReg) return urlReg;
2401
- var word = "[a-fA-F\\d:]";
2402
- var b = function b(options) {
2403
- return options && options.includeBoundaries ? "(?:(?<=\\s|^)(?=" + word + ")|(?<=" + word + ")(?=\\s|$))" : "";
2404
- };
2405
- var v4 = "(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}";
2406
- var v6seg = "[a-fA-F\\d]{1,4}";
2407
- var v6 = ("\n(?:\n(?:" + v6seg + ":){7}(?:" + v6seg + "|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:" + v6seg + ":){6}(?:" + v4 + "|:" + v6seg + "|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:" + v6seg + ":){5}(?::" + v4 + "|(?::" + v6seg + "){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:" + v6seg + ":){4}(?:(?::" + v6seg + "){0,1}:" + v4 + "|(?::" + v6seg + "){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:" + v6seg + ":){3}(?:(?::" + v6seg + "){0,2}:" + v4 + "|(?::" + v6seg + "){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:" + v6seg + ":){2}(?:(?::" + v6seg + "){0,3}:" + v4 + "|(?::" + v6seg + "){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:" + v6seg + ":){1}(?:(?::" + v6seg + "){0,4}:" + v4 + "|(?::" + v6seg + "){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::" + v6seg + "){0,5}:" + v4 + "|(?::" + v6seg + "){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim();
2408
- var v46Exact = new RegExp("(?:^" + v4 + "$)|(?:^" + v6 + "$)");
2409
- var v4exact = new RegExp("^" + v4 + "$");
2410
- var v6exact = new RegExp("^" + v6 + "$");
2411
- var ip = function ip(options) {
2412
- return options && options.exact ? v46Exact : new RegExp("(?:" + b(options) + v4 + b(options) + ")|(?:" + b(options) + v6 + b(options) + ")", "g");
2413
- };
2414
- ip.v4 = function(options) {
2415
- return options && options.exact ? v4exact : new RegExp("" + b(options) + v4 + b(options), "g");
2416
- };
2417
- ip.v6 = function(options) {
2418
- return options && options.exact ? v6exact : new RegExp("" + b(options) + v6 + b(options), "g");
2419
- };
2420
- var protocol = "(?:(?:[a-z]+:)?//)";
2421
- var auth = "(?:\\S+(?::\\S*)?@)?";
2422
- var ipv4 = ip.v4().source;
2423
- var ipv6 = ip.v6().source;
2424
- var regex = "(?:" + protocol + "|www\\.)" + auth + "(?:localhost|" + ipv4 + "|" + ipv6 + "|(?:(?:[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,})))(?::\\d{2,5})?(?:[/?#][^\\s\"]*)?";
2425
- urlReg = new RegExp("(?:^" + regex + "$)", "i");
2426
- return urlReg;
2427
- });
2428
- var pattern$2 = {
2429
- email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
2430
- hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
2431
- };
2432
- var types = {
2433
- integer: function integer(value) {
2434
- return types.number(value) && parseInt(value, 10) === value;
2435
- },
2436
- "float": function float(value) {
2437
- return types.number(value) && !types.integer(value);
2438
- },
2439
- array: function array(value) {
2440
- return Array.isArray(value);
2441
- },
2442
- regexp: function regexp(value) {
2443
- if (value instanceof RegExp) return true;
2444
- try {
2445
- return !!new RegExp(value);
2446
- } catch (e) {
2447
- return false;
2448
- }
2449
- },
2450
- date: function date(value) {
2451
- return typeof value.getTime === "function" && typeof value.getMonth === "function" && typeof value.getYear === "function" && !isNaN(value.getTime());
2452
- },
2453
- number: function number(value) {
2454
- if (isNaN(value)) return false;
2455
- return typeof value === "number";
2456
- },
2457
- object: function object(value) {
2458
- return typeof value === "object" && !types.array(value);
2459
- },
2460
- method: function method(value) {
2461
- return typeof value === "function";
2462
- },
2463
- email: function email(value) {
2464
- return typeof value === "string" && value.length <= 320 && !!value.match(pattern$2.email);
2465
- },
2466
- url: function url(value) {
2467
- return typeof value === "string" && value.length <= 2048 && !!value.match(getUrlRegex());
2468
- },
2469
- hex: function hex(value) {
2470
- return typeof value === "string" && !!value.match(pattern$2.hex);
2471
- }
2472
- };
2473
- var type$1 = function type(rule, value, source, errors, options) {
2474
- if (rule.required && value === void 0) {
2475
- required$1(rule, value, source, errors, options);
2476
- return;
2477
- }
2478
- var custom = [
2479
- "integer",
2480
- "float",
2481
- "array",
2482
- "regexp",
2483
- "object",
2484
- "method",
2485
- "email",
2486
- "number",
2487
- "date",
2488
- "url",
2489
- "hex"
2490
- ];
2491
- var ruleType = rule.type;
2492
- if (custom.indexOf(ruleType) > -1) {
2493
- if (!types[ruleType](value)) errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
2494
- } else if (ruleType && typeof value !== rule.type) errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
2495
- };
2496
- var range = function range(rule, value, source, errors, options) {
2497
- var len = typeof rule.len === "number";
2498
- var min = typeof rule.min === "number";
2499
- var max = typeof rule.max === "number";
2500
- var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
2501
- var val = value;
2502
- var key = null;
2503
- var num = typeof value === "number";
2504
- var str = typeof value === "string";
2505
- var arr = Array.isArray(value);
2506
- if (num) key = "number";
2507
- else if (str) key = "string";
2508
- else if (arr) key = "array";
2509
- if (!key) return false;
2510
- if (arr) val = value.length;
2511
- if (str) val = value.replace(spRegexp, "_").length;
2512
- if (len) {
2513
- if (val !== rule.len) errors.push(format(options.messages[key].len, rule.fullField, rule.len));
2514
- } else if (min && !max && val < rule.min) errors.push(format(options.messages[key].min, rule.fullField, rule.min));
2515
- else if (max && !min && val > rule.max) errors.push(format(options.messages[key].max, rule.fullField, rule.max));
2516
- else if (min && max && (val < rule.min || val > rule.max)) errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
2517
- };
2518
- var ENUM$1 = "enum";
2519
- var rules = {
2520
- required: required$1,
2521
- whitespace,
2522
- type: type$1,
2523
- range,
2524
- "enum": function enumerable(rule, value, source, errors, options) {
2525
- rule[ENUM$1] = Array.isArray(rule[ENUM$1]) ? rule[ENUM$1] : [];
2526
- if (rule[ENUM$1].indexOf(value) === -1) errors.push(format(options.messages[ENUM$1], rule.fullField, rule[ENUM$1].join(", ")));
2527
- },
2528
- pattern: function pattern(rule, value, source, errors, options) {
2529
- if (rule.pattern) {
2530
- if (rule.pattern instanceof RegExp) {
2531
- rule.pattern.lastIndex = 0;
2532
- if (!rule.pattern.test(value)) errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
2533
- } else if (typeof rule.pattern === "string") {
2534
- if (!new RegExp(rule.pattern).test(value)) errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
2535
- }
2536
- }
2537
- }
2538
- };
2539
- var string = function string(rule, value, callback, source, options) {
2540
- var errors = [];
2541
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2542
- if (isEmptyValue(value, "string") && !rule.required) return callback();
2543
- rules.required(rule, value, source, errors, options, "string");
2544
- if (!isEmptyValue(value, "string")) {
2545
- rules.type(rule, value, source, errors, options);
2546
- rules.range(rule, value, source, errors, options);
2547
- rules.pattern(rule, value, source, errors, options);
2548
- if (rule.whitespace === true) rules.whitespace(rule, value, source, errors, options);
2549
- }
2550
- }
2551
- callback(errors);
2552
- };
2553
- var method = function method(rule, value, callback, source, options) {
2554
- var errors = [];
2555
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2556
- if (isEmptyValue(value) && !rule.required) return callback();
2557
- rules.required(rule, value, source, errors, options);
2558
- if (value !== void 0) rules.type(rule, value, source, errors, options);
2559
- }
2560
- callback(errors);
2561
- };
2562
- var number = function number(rule, value, callback, source, options) {
2563
- var errors = [];
2564
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2565
- if (value === "") value = void 0;
2566
- if (isEmptyValue(value) && !rule.required) return callback();
2567
- rules.required(rule, value, source, errors, options);
2568
- if (value !== void 0) {
2569
- rules.type(rule, value, source, errors, options);
2570
- rules.range(rule, value, source, errors, options);
2571
- }
2572
- }
2573
- callback(errors);
2574
- };
2575
- var _boolean = function _boolean(rule, value, callback, source, options) {
2576
- var errors = [];
2577
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2578
- if (isEmptyValue(value) && !rule.required) return callback();
2579
- rules.required(rule, value, source, errors, options);
2580
- if (value !== void 0) rules.type(rule, value, source, errors, options);
2581
- }
2582
- callback(errors);
2583
- };
2584
- var regexp = function regexp(rule, value, callback, source, options) {
2585
- var errors = [];
2586
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2587
- if (isEmptyValue(value) && !rule.required) return callback();
2588
- rules.required(rule, value, source, errors, options);
2589
- if (!isEmptyValue(value)) rules.type(rule, value, source, errors, options);
2590
- }
2591
- callback(errors);
2592
- };
2593
- var integer = function integer(rule, value, callback, source, options) {
2594
- var errors = [];
2595
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2596
- if (isEmptyValue(value) && !rule.required) return callback();
2597
- rules.required(rule, value, source, errors, options);
2598
- if (value !== void 0) {
2599
- rules.type(rule, value, source, errors, options);
2600
- rules.range(rule, value, source, errors, options);
2601
- }
2602
- }
2603
- callback(errors);
2604
- };
2605
- var floatFn = function floatFn(rule, value, callback, source, options) {
2606
- var errors = [];
2607
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2608
- if (isEmptyValue(value) && !rule.required) return callback();
2609
- rules.required(rule, value, source, errors, options);
2610
- if (value !== void 0) {
2611
- rules.type(rule, value, source, errors, options);
2612
- rules.range(rule, value, source, errors, options);
2613
- }
2614
- }
2615
- callback(errors);
2616
- };
2617
- var array = function array(rule, value, callback, source, options) {
2618
- var errors = [];
2619
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2620
- if ((value === void 0 || value === null) && !rule.required) return callback();
2621
- rules.required(rule, value, source, errors, options, "array");
2622
- if (value !== void 0 && value !== null) {
2623
- rules.type(rule, value, source, errors, options);
2624
- rules.range(rule, value, source, errors, options);
2625
- }
2626
- }
2627
- callback(errors);
2628
- };
2629
- var object = function object(rule, value, callback, source, options) {
2630
- var errors = [];
2631
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2632
- if (isEmptyValue(value) && !rule.required) return callback();
2633
- rules.required(rule, value, source, errors, options);
2634
- if (value !== void 0) rules.type(rule, value, source, errors, options);
2635
- }
2636
- callback(errors);
2637
- };
2638
- var ENUM = "enum";
2639
- var enumerable = function enumerable(rule, value, callback, source, options) {
2640
- var errors = [];
2641
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2642
- if (isEmptyValue(value) && !rule.required) return callback();
2643
- rules.required(rule, value, source, errors, options);
2644
- if (value !== void 0) rules[ENUM](rule, value, source, errors, options);
2645
- }
2646
- callback(errors);
2647
- };
2648
- var pattern = function pattern(rule, value, callback, source, options) {
2649
- var errors = [];
2650
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2651
- if (isEmptyValue(value, "string") && !rule.required) return callback();
2652
- rules.required(rule, value, source, errors, options);
2653
- if (!isEmptyValue(value, "string")) rules.pattern(rule, value, source, errors, options);
2654
- }
2655
- callback(errors);
2656
- };
2657
- var date = function date(rule, value, callback, source, options) {
2658
- var errors = [];
2659
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2660
- if (isEmptyValue(value, "date") && !rule.required) return callback();
2661
- rules.required(rule, value, source, errors, options);
2662
- if (!isEmptyValue(value, "date")) {
2663
- var dateObject;
2664
- if (value instanceof Date) dateObject = value;
2665
- else dateObject = new Date(value);
2666
- rules.type(rule, dateObject, source, errors, options);
2667
- if (dateObject) rules.range(rule, dateObject.getTime(), source, errors, options);
2668
- }
2669
- }
2670
- callback(errors);
2671
- };
2672
- var required = function required(rule, value, callback, source, options) {
2673
- var errors = [];
2674
- var type = Array.isArray(value) ? "array" : typeof value;
2675
- rules.required(rule, value, source, errors, options, type);
2676
- callback(errors);
2677
- };
2678
- var type = function type(rule, value, callback, source, options) {
2679
- var ruleType = rule.type;
2680
- var errors = [];
2681
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2682
- if (isEmptyValue(value, ruleType) && !rule.required) return callback();
2683
- rules.required(rule, value, source, errors, options, ruleType);
2684
- if (!isEmptyValue(value, ruleType)) rules.type(rule, value, source, errors, options);
2685
- }
2686
- callback(errors);
2687
- };
2688
- var validators = {
2689
- string,
2690
- method,
2691
- number,
2692
- "boolean": _boolean,
2693
- regexp,
2694
- integer,
2695
- "float": floatFn,
2696
- array,
2697
- object,
2698
- "enum": enumerable,
2699
- pattern,
2700
- date,
2701
- url: type,
2702
- hex: type,
2703
- email: type,
2704
- required,
2705
- any: function any(rule, value, callback, source, options) {
2706
- var errors = [];
2707
- if (rule.required || !rule.required && source.hasOwnProperty(rule.field)) {
2708
- if (isEmptyValue(value) && !rule.required) return callback();
2709
- rules.required(rule, value, source, errors, options);
2710
- }
2711
- callback(errors);
2712
- }
2713
- };
2714
- function newMessages() {
2715
- return {
2716
- "default": "Validation error on field %s",
2717
- required: "%s is required",
2718
- "enum": "%s must be one of %s",
2719
- whitespace: "%s cannot be empty",
2720
- date: {
2721
- format: "%s date %s is invalid for format %s",
2722
- parse: "%s date could not be parsed, %s is invalid ",
2723
- invalid: "%s date %s is invalid"
2724
- },
2725
- types: {
2726
- string: "%s is not a %s",
2727
- method: "%s is not a %s (function)",
2728
- array: "%s is not an %s",
2729
- object: "%s is not an %s",
2730
- number: "%s is not a %s",
2731
- date: "%s is not a %s",
2732
- "boolean": "%s is not a %s",
2733
- integer: "%s is not an %s",
2734
- "float": "%s is not a %s",
2735
- regexp: "%s is not a valid %s",
2736
- email: "%s is not a valid %s",
2737
- url: "%s is not a valid %s",
2738
- hex: "%s is not a valid %s"
2739
- },
2740
- string: {
2741
- len: "%s must be exactly %s characters",
2742
- min: "%s must be at least %s characters",
2743
- max: "%s cannot be longer than %s characters",
2744
- range: "%s must be between %s and %s characters"
2745
- },
2746
- number: {
2747
- len: "%s must equal %s",
2748
- min: "%s cannot be less than %s",
2749
- max: "%s cannot be greater than %s",
2750
- range: "%s must be between %s and %s"
2751
- },
2752
- array: {
2753
- len: "%s must be exactly %s in length",
2754
- min: "%s cannot be less than %s in length",
2755
- max: "%s cannot be greater than %s in length",
2756
- range: "%s must be between %s and %s in length"
2757
- },
2758
- pattern: { mismatch: "%s value %s does not match pattern %s" },
2759
- clone: function clone() {
2760
- var cloned = JSON.parse(JSON.stringify(this));
2761
- cloned.clone = this.clone;
2762
- return cloned;
2763
- }
2764
- };
2765
- }
2766
- var messages = newMessages();
2767
- /**
2768
- * Encapsulates a validation schema.
2769
- *
2770
- * @param descriptor An object declaring validation rules
2771
- * for this schema.
2772
- */
2773
- var Schema = /*#__PURE__*/ function() {
2774
- function Schema(descriptor) {
2775
- this.rules = null;
2776
- this._messages = messages;
2777
- this.define(descriptor);
2778
- }
2779
- var _proto = Schema.prototype;
2780
- _proto.define = function define(rules) {
2781
- var _this = this;
2782
- if (!rules) throw new Error("Cannot configure a schema with no rules");
2783
- if (typeof rules !== "object" || Array.isArray(rules)) throw new Error("Rules must be an object");
2784
- this.rules = {};
2785
- Object.keys(rules).forEach(function(name) {
2786
- var item = rules[name];
2787
- _this.rules[name] = Array.isArray(item) ? item : [item];
2788
- });
2789
- };
2790
- _proto.messages = function messages(_messages) {
2791
- if (_messages) this._messages = deepMerge(newMessages(), _messages);
2792
- return this._messages;
2793
- };
2794
- _proto.validate = function validate(source_, o, oc) {
2795
- var _this2 = this;
2796
- if (o === void 0) o = {};
2797
- if (oc === void 0) oc = function oc() {};
2798
- var source = source_;
2799
- var options = o;
2800
- var callback = oc;
2801
- if (typeof options === "function") {
2802
- callback = options;
2803
- options = {};
2804
- }
2805
- if (!this.rules || Object.keys(this.rules).length === 0) {
2806
- if (callback) callback(null, source);
2807
- return Promise.resolve(source);
2808
- }
2809
- function complete(results) {
2810
- var errors = [];
2811
- var fields = {};
2812
- function add(e) {
2813
- if (Array.isArray(e)) {
2814
- var _errors;
2815
- errors = (_errors = errors).concat.apply(_errors, e);
2816
- } else errors.push(e);
2817
- }
2818
- for (var i = 0; i < results.length; i++) add(results[i]);
2819
- if (!errors.length) callback(null, source);
2820
- else {
2821
- fields = convertFieldsError(errors);
2822
- callback(errors, fields);
2823
- }
2824
- }
2825
- if (options.messages) {
2826
- var messages$1 = this.messages();
2827
- if (messages$1 === messages) messages$1 = newMessages();
2828
- deepMerge(messages$1, options.messages);
2829
- options.messages = messages$1;
2830
- } else options.messages = this.messages();
2831
- var series = {};
2832
- (options.keys || Object.keys(this.rules)).forEach(function(z) {
2833
- var arr = _this2.rules[z];
2834
- var value = source[z];
2835
- arr.forEach(function(r) {
2836
- var rule = r;
2837
- if (typeof rule.transform === "function") {
2838
- if (source === source_) source = _extends({}, source);
2839
- value = source[z] = rule.transform(value);
2840
- }
2841
- if (typeof rule === "function") rule = { validator: rule };
2842
- else rule = _extends({}, rule);
2843
- rule.validator = _this2.getValidationMethod(rule);
2844
- if (!rule.validator) return;
2845
- rule.field = z;
2846
- rule.fullField = rule.fullField || z;
2847
- rule.type = _this2.getType(rule);
2848
- series[z] = series[z] || [];
2849
- series[z].push({
2850
- rule,
2851
- value,
2852
- source,
2853
- field: z
2854
- });
2855
- });
2856
- });
2857
- var errorFields = {};
2858
- return asyncMap(series, options, function(data, doIt) {
2859
- var rule = data.rule;
2860
- var deep = (rule.type === "object" || rule.type === "array") && (typeof rule.fields === "object" || typeof rule.defaultField === "object");
2861
- deep = deep && (rule.required || !rule.required && data.value);
2862
- rule.field = data.field;
2863
- function addFullField(key, schema) {
2864
- return _extends({}, schema, {
2865
- fullField: rule.fullField + "." + key,
2866
- fullFields: rule.fullFields ? [].concat(rule.fullFields, [key]) : [key]
2867
- });
2868
- }
2869
- function cb(e) {
2870
- if (e === void 0) e = [];
2871
- var errorList = Array.isArray(e) ? e : [e];
2872
- if (!options.suppressWarning && errorList.length) Schema.warning("async-validator:", errorList);
2873
- if (errorList.length && rule.message !== void 0) errorList = [].concat(rule.message);
2874
- var filledErrors = errorList.map(complementError(rule, source));
2875
- if (options.first && filledErrors.length) {
2876
- errorFields[rule.field] = 1;
2877
- return doIt(filledErrors);
2878
- }
2879
- if (!deep) doIt(filledErrors);
2880
- else {
2881
- if (rule.required && !data.value) {
2882
- if (rule.message !== void 0) filledErrors = [].concat(rule.message).map(complementError(rule, source));
2883
- else if (options.error) filledErrors = [options.error(rule, format(options.messages.required, rule.field))];
2884
- return doIt(filledErrors);
2885
- }
2886
- var fieldsSchema = {};
2887
- if (rule.defaultField) Object.keys(data.value).map(function(key) {
2888
- fieldsSchema[key] = rule.defaultField;
2889
- });
2890
- fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);
2891
- var paredFieldsSchema = {};
2892
- Object.keys(fieldsSchema).forEach(function(field) {
2893
- var fieldSchema = fieldsSchema[field];
2894
- paredFieldsSchema[field] = (Array.isArray(fieldSchema) ? fieldSchema : [fieldSchema]).map(addFullField.bind(null, field));
2895
- });
2896
- var schema = new Schema(paredFieldsSchema);
2897
- schema.messages(options.messages);
2898
- if (data.rule.options) {
2899
- data.rule.options.messages = options.messages;
2900
- data.rule.options.error = options.error;
2901
- }
2902
- schema.validate(data.value, data.rule.options || options, function(errs) {
2903
- var finalErrors = [];
2904
- if (filledErrors && filledErrors.length) finalErrors.push.apply(finalErrors, filledErrors);
2905
- if (errs && errs.length) finalErrors.push.apply(finalErrors, errs);
2906
- doIt(finalErrors.length ? finalErrors : null);
2907
- });
2908
- }
2909
- }
2910
- var res;
2911
- if (rule.asyncValidator) res = rule.asyncValidator(rule, data.value, cb, data.source, options);
2912
- else if (rule.validator) {
2913
- try {
2914
- res = rule.validator(rule, data.value, cb, data.source, options);
2915
- } catch (error) {
2916
- console.error == null || console.error(error);
2917
- if (!options.suppressValidatorError) setTimeout(function() {
2918
- throw error;
2919
- }, 0);
2920
- cb(error.message);
2921
- }
2922
- if (res === true) cb();
2923
- else if (res === false) cb(typeof rule.message === "function" ? rule.message(rule.fullField || rule.field) : rule.message || (rule.fullField || rule.field) + " fails");
2924
- else if (res instanceof Array) cb(res);
2925
- else if (res instanceof Error) cb(res.message);
2926
- }
2927
- if (res && res.then) res.then(function() {
2928
- return cb();
2929
- }, function(e) {
2930
- return cb(e);
2931
- });
2932
- }, function(results) {
2933
- complete(results);
2934
- }, source);
2935
- };
2936
- _proto.getType = function getType(rule) {
2937
- if (rule.type === void 0 && rule.pattern instanceof RegExp) rule.type = "pattern";
2938
- if (typeof rule.validator !== "function" && rule.type && !validators.hasOwnProperty(rule.type)) throw new Error(format("Unknown rule type %s", rule.type));
2939
- return rule.type || "string";
2940
- };
2941
- _proto.getValidationMethod = function getValidationMethod(rule) {
2942
- if (typeof rule.validator === "function") return rule.validator;
2943
- var keys = Object.keys(rule);
2944
- var messageIndex = keys.indexOf("message");
2945
- if (messageIndex !== -1) keys.splice(messageIndex, 1);
2946
- if (keys.length === 1 && keys[0] === "required") return validators.required;
2947
- return validators[this.getType(rule)] || void 0;
2948
- };
2949
- return Schema;
2950
- }();
2951
- Schema.register = function register(type, validator) {
2952
- if (typeof validator !== "function") throw new Error("Cannot register a validator by type, validator is not a function");
2953
- validators[type] = validator;
2954
- };
2955
- Schema.warning = warning;
2956
- Schema.messages = messages;
2957
- Schema.validators = validators;
2958
- //#endregion
2959
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/typeUtil.js
2960
- function toArray$1(value) {
2961
- if (value === void 0 || value === null) return [];
2962
- return Array.isArray(value) ? value : [value];
2963
- }
2964
- //#endregion
2965
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-util/get.js
2966
- function get(entity, path) {
2967
- let current = entity;
2968
- for (let i = 0; i < path.length; i += 1) {
2969
- if (current === null || current === void 0) return;
2970
- current = current[path[i]];
2971
- }
2972
- return current;
2973
- }
2974
- //#endregion
2975
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-util/set.js
2976
- function internalSet(entity, paths, value, removeIfUndefined) {
2977
- if (!paths.length) return value;
2978
- const [path, ...restPath] = paths;
2979
- let clone;
2980
- if (!entity && typeof path === "number") clone = [];
2981
- else if (Array.isArray(entity)) clone = [...entity];
2982
- else clone = _extends$1({}, entity);
2983
- if (removeIfUndefined && value === void 0 && restPath.length === 1) delete clone[path][restPath[0]];
2984
- else clone[path] = internalSet(clone[path], restPath, value, removeIfUndefined);
2985
- return clone;
2986
- }
2987
- function set(entity, paths, value) {
2988
- let removeIfUndefined = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
2989
- if (paths.length && removeIfUndefined && value === void 0 && !get(entity, paths.slice(0, -1))) return entity;
2990
- return internalSet(entity, paths, value, removeIfUndefined);
2991
- }
2992
- //#endregion
2993
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/valueUtil.js
2994
- /**
2995
- * Convert name to internal supported format.
2996
- * This function should keep since we still thinking if need support like `a.b.c` format.
2997
- * 'a' => ['a']
2998
- * 123 => [123]
2999
- * ['a', 123] => ['a', 123]
3000
- */
3001
- function getNamePath(path) {
3002
- return toArray$1(path);
3003
- }
3004
- function getValue(store, namePath) {
3005
- return get(store, namePath);
3006
- }
3007
- function setValue(store, namePath, value) {
3008
- return set(store, namePath, value, arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false);
3009
- }
3010
- function containsNamePath(namePathList, namePath) {
3011
- return namePathList && namePathList.some((path) => matchNamePath(path, namePath));
3012
- }
3013
- function isObject(obj) {
3014
- return typeof obj === "object" && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
3015
- }
3016
- /**
3017
- * Copy values into store and return a new values object
3018
- * ({ a: 1, b: { c: 2 } }, { a: 4, b: { d: 5 } }) => { a: 4, b: { c: 2, d: 5 } }
3019
- */
3020
- function internalSetValues(store, values) {
3021
- const newStore = Array.isArray(store) ? [...store] : _extends$1({}, store);
3022
- if (!values) return newStore;
3023
- Object.keys(values).forEach((key) => {
3024
- const prevValue = newStore[key];
3025
- const value = values[key];
3026
- const recursive = isObject(prevValue) && isObject(value);
3027
- newStore[key] = recursive ? internalSetValues(prevValue, value || {}) : value;
3028
- });
3029
- return newStore;
3030
- }
3031
- function setValues(store) {
3032
- for (var _len = arguments.length, restValues = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) restValues[_key - 1] = arguments[_key];
3033
- return restValues.reduce((current, newStore) => internalSetValues(current, newStore), store);
3034
- }
3035
- function cloneByNamePathList(store, namePathList) {
3036
- let newStore = {};
3037
- namePathList.forEach((namePath) => {
3038
- const value = getValue(store, namePath);
3039
- newStore = setValue(newStore, namePath, value);
3040
- });
3041
- return newStore;
3042
- }
3043
- function matchNamePath(namePath, changedNamePath) {
3044
- if (!namePath || !changedNamePath || namePath.length !== changedNamePath.length) return false;
3045
- return namePath.every((nameUnit, i) => changedNamePath[i] === nameUnit);
3046
- }
3047
- //#endregion
3048
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/messages.js
3049
- var typeTemplate = "'${name}' is not a valid ${type}";
3050
- var defaultValidateMessages = {
3051
- default: "Validation error on field '${name}'",
3052
- required: "'${name}' is required",
3053
- enum: "'${name}' must be one of [${enum}]",
3054
- whitespace: "'${name}' cannot be empty",
3055
- date: {
3056
- format: "'${name}' is invalid for format date",
3057
- parse: "'${name}' could not be parsed as date",
3058
- invalid: "'${name}' is invalid date"
3059
- },
3060
- types: {
3061
- string: typeTemplate,
3062
- method: typeTemplate,
3063
- array: typeTemplate,
3064
- object: typeTemplate,
3065
- number: typeTemplate,
3066
- date: typeTemplate,
3067
- boolean: typeTemplate,
3068
- integer: typeTemplate,
3069
- float: typeTemplate,
3070
- regexp: typeTemplate,
3071
- email: typeTemplate,
3072
- url: typeTemplate,
3073
- hex: typeTemplate
3074
- },
3075
- string: {
3076
- len: "'${name}' must be exactly ${len} characters",
3077
- min: "'${name}' must be at least ${min} characters",
3078
- max: "'${name}' cannot be longer than ${max} characters",
3079
- range: "'${name}' must be between ${min} and ${max} characters"
3080
- },
3081
- number: {
3082
- len: "'${name}' must equal ${len}",
3083
- min: "'${name}' cannot be less than ${min}",
3084
- max: "'${name}' cannot be greater than ${max}",
3085
- range: "'${name}' must be between ${min} and ${max}"
3086
- },
3087
- array: {
3088
- len: "'${name}' must be exactly ${len} in length",
3089
- min: "'${name}' cannot be less than ${min} in length",
3090
- max: "'${name}' cannot be greater than ${max} in length",
3091
- range: "'${name}' must be between ${min} and ${max} in length"
3092
- },
3093
- pattern: { mismatch: "'${name}' does not match pattern ${pattern}" }
3094
- };
3095
- //#endregion
3096
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/validateUtil.js
3097
- var __awaiter = function(thisArg, _arguments, P, generator) {
3098
- function adopt(value) {
3099
- return value instanceof P ? value : new P(function(resolve) {
3100
- resolve(value);
3101
- });
3102
- }
3103
- return new (P || (P = Promise))(function(resolve, reject) {
3104
- function fulfilled(value) {
3105
- try {
3106
- step(generator.next(value));
3107
- } catch (e) {
3108
- reject(e);
3109
- }
3110
- }
3111
- function rejected(value) {
3112
- try {
3113
- step(generator["throw"](value));
3114
- } catch (e) {
3115
- reject(e);
3116
- }
3117
- }
3118
- function step(result) {
3119
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
3120
- }
3121
- step((generator = generator.apply(thisArg, [])).next());
3122
- });
3123
- };
3124
- var AsyncValidator = Schema;
3125
- /**
3126
- * Replace with template.
3127
- * `I'm ${name}` + { name: 'bamboo' } = I'm bamboo
3128
- */
3129
- function replaceMessage(template, kv) {
3130
- return template.replace(/\$\{\w+\}/g, (str) => {
3131
- return kv[str.slice(2, -1)];
3132
- });
3133
- }
3134
- function validateRule(name, value, rule, options, messageVariables) {
3135
- return __awaiter(this, void 0, void 0, function* () {
3136
- const cloneRule = _extends$1({}, rule);
3137
- delete cloneRule.ruleIndex;
3138
- delete cloneRule.trigger;
3139
- let subRuleField = null;
3140
- if (cloneRule && cloneRule.type === "array" && cloneRule.defaultField) {
3141
- subRuleField = cloneRule.defaultField;
3142
- delete cloneRule.defaultField;
3143
- }
3144
- const validator = new AsyncValidator({ [name]: [cloneRule] });
3145
- const messages = setValues({}, defaultValidateMessages, options.validateMessages);
3146
- validator.messages(messages);
3147
- let result = [];
3148
- try {
3149
- yield Promise.resolve(validator.validate({ [name]: value }, _extends$1({}, options)));
3150
- } catch (errObj) {
3151
- if (errObj.errors) result = errObj.errors.map((_ref, index) => {
3152
- let { message } = _ref;
3153
- return isValidElement(message) ? cloneVNode(message, { key: `error_${index}` }) : message;
3154
- });
3155
- else {
3156
- console.error(errObj);
3157
- result = [messages.default()];
3158
- }
3159
- }
3160
- if (!result.length && subRuleField) return (yield Promise.all(value.map((subValue, i) => validateRule(`${name}.${i}`, subValue, subRuleField, options, messageVariables)))).reduce((prev, errors) => [...prev, ...errors], []);
3161
- const kv = _extends$1(_extends$1(_extends$1({}, rule), {
3162
- name,
3163
- enum: (rule.enum || []).join(", ")
3164
- }), messageVariables);
3165
- return result.map((error) => {
3166
- if (typeof error === "string") return replaceMessage(error, kv);
3167
- return error;
3168
- });
3169
- });
3170
- }
3171
- /**
3172
- * We use `async-validator` to validate the value.
3173
- * But only check one value in a time to avoid namePath validate issue.
3174
- */
3175
- function validateRules(namePath, value, rules, options, validateFirst, messageVariables) {
3176
- const name = namePath.join(".");
3177
- const filledRules = rules.map((currentRule, ruleIndex) => {
3178
- const originValidatorFunc = currentRule.validator;
3179
- const cloneRule = _extends$1(_extends$1({}, currentRule), { ruleIndex });
3180
- if (originValidatorFunc) cloneRule.validator = (rule, val, callback) => {
3181
- let hasPromise = false;
3182
- const wrappedCallback = function() {
3183
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
3184
- Promise.resolve().then(() => {
3185
- if (!hasPromise) callback(...args);
3186
- });
3187
- };
3188
- const promise = originValidatorFunc(rule, val, wrappedCallback);
3189
- hasPromise = promise && typeof promise.then === "function" && typeof promise.catch === "function";
3190
- if (hasPromise) promise.then(() => {
3191
- callback();
3192
- }).catch((err) => {
3193
- callback(err || " ");
3194
- });
3195
- };
3196
- return cloneRule;
3197
- }).sort((_ref2, _ref3) => {
3198
- let { warningOnly: w1, ruleIndex: i1 } = _ref2;
3199
- let { warningOnly: w2, ruleIndex: i2 } = _ref3;
3200
- if (!!w1 === !!w2) return i1 - i2;
3201
- if (w1) return 1;
3202
- return -1;
3203
- });
3204
- let summaryPromise;
3205
- if (validateFirst === true) summaryPromise = new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
3206
- for (let i = 0; i < filledRules.length; i += 1) {
3207
- const rule = filledRules[i];
3208
- const errors = yield validateRule(name, value, rule, options, messageVariables);
3209
- if (errors.length) {
3210
- reject([{
3211
- errors,
3212
- rule
3213
- }]);
3214
- return;
3215
- }
3216
- }
3217
- resolve([]);
3218
- }));
3219
- else {
3220
- const rulePromises = filledRules.map((rule) => validateRule(name, value, rule, options, messageVariables).then((errors) => ({
3221
- errors,
3222
- rule
3223
- })));
3224
- summaryPromise = (validateFirst ? finishOnFirstFailed(rulePromises) : finishOnAllFailed(rulePromises)).then((errors) => {
3225
- return Promise.reject(errors);
3226
- });
3227
- }
3228
- summaryPromise.catch((e) => e);
3229
- return summaryPromise;
3230
- }
3231
- function finishOnAllFailed(rulePromises) {
3232
- return __awaiter(this, void 0, void 0, function* () {
3233
- return Promise.all(rulePromises).then((errorsList) => {
3234
- return [].concat(...errorsList);
3235
- });
3236
- });
3237
- }
3238
- function finishOnFirstFailed(rulePromises) {
3239
- return __awaiter(this, void 0, void 0, function* () {
3240
- let count = 0;
3241
- return new Promise((resolve) => {
3242
- rulePromises.forEach((promise) => {
3243
- promise.then((ruleError) => {
3244
- if (ruleError.errors.length) resolve([ruleError]);
3245
- count += 1;
3246
- if (count === rulePromises.length) resolve([]);
3247
- });
3248
- });
3249
- });
3250
- });
3251
- }
3252
- //#endregion
3253
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/context.js
3254
- var FormContextKey = Symbol("formContextKey");
3255
- var useProvideForm = (state) => {
3256
- provide(FormContextKey, state);
3257
- };
3258
- var useInjectForm = () => {
3259
- return inject(FormContextKey, {
3260
- name: computed(() => void 0),
3261
- labelAlign: computed(() => "right"),
3262
- vertical: computed(() => false),
3263
- addField: (_eventKey, _field) => {},
3264
- removeField: (_eventKey) => {},
3265
- model: computed(() => void 0),
3266
- rules: computed(() => void 0),
3267
- colon: computed(() => void 0),
3268
- labelWrap: computed(() => void 0),
3269
- labelCol: computed(() => void 0),
3270
- requiredMark: computed(() => false),
3271
- validateTrigger: computed(() => void 0),
3272
- onValidate: () => {},
3273
- validateMessages: computed(() => defaultValidateMessages)
3274
- });
3275
- };
3276
- var FormItemPrefixContextKey = Symbol("formItemPrefixContextKey");
3277
- var useProvideFormItemPrefix = (state) => {
3278
- provide(FormItemPrefixContextKey, state);
3279
- };
3280
- var useInjectFormItemPrefix = () => {
3281
- return inject(FormItemPrefixContextKey, { prefixCls: computed(() => "") });
3282
- };
3283
- //#endregion
3284
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/grid/Col.js
3285
- function parseFlex(flex) {
3286
- if (typeof flex === "number") return `${flex} ${flex} auto`;
3287
- if (/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)) return `0 0 ${flex}`;
3288
- return flex;
3289
- }
3290
- var colProps = () => ({
3291
- span: [String, Number],
3292
- order: [String, Number],
3293
- offset: [String, Number],
3294
- push: [String, Number],
3295
- pull: [String, Number],
3296
- xs: {
3297
- type: [
3298
- String,
3299
- Number,
3300
- Object
3301
- ],
3302
- default: void 0
3303
- },
3304
- sm: {
3305
- type: [
3306
- String,
3307
- Number,
3308
- Object
3309
- ],
3310
- default: void 0
3311
- },
3312
- md: {
3313
- type: [
3314
- String,
3315
- Number,
3316
- Object
3317
- ],
3318
- default: void 0
3319
- },
3320
- lg: {
3321
- type: [
3322
- String,
3323
- Number,
3324
- Object
3325
- ],
3326
- default: void 0
3327
- },
3328
- xl: {
3329
- type: [
3330
- String,
3331
- Number,
3332
- Object
3333
- ],
3334
- default: void 0
3335
- },
3336
- xxl: {
3337
- type: [
3338
- String,
3339
- Number,
3340
- Object
3341
- ],
3342
- default: void 0
3343
- },
3344
- prefixCls: String,
3345
- flex: [String, Number]
3346
- });
3347
- var sizes = [
3348
- "xs",
3349
- "sm",
3350
- "md",
3351
- "lg",
3352
- "xl",
3353
- "xxl"
3354
- ];
3355
- var Col_default = defineComponent({
3356
- compatConfig: { MODE: 3 },
3357
- name: "ACol",
3358
- inheritAttrs: false,
3359
- props: colProps(),
3360
- setup(props, _ref) {
3361
- let { slots, attrs } = _ref;
3362
- const { gutter, supportFlexGap, wrap } = useInjectRow();
3363
- const { prefixCls, direction } = useConfigInject_default("col", props);
3364
- const [wrapSSR, hashId] = useColStyle(prefixCls);
3365
- const classes = computed(() => {
3366
- const { span, order, offset, push, pull } = props;
3367
- const pre = prefixCls.value;
3368
- let sizeClassObj = {};
3369
- sizes.forEach((size) => {
3370
- let sizeProps = {};
3371
- const propSize = props[size];
3372
- if (typeof propSize === "number") sizeProps.span = propSize;
3373
- else if (typeof propSize === "object") sizeProps = propSize || {};
3374
- sizeClassObj = _extends$1(_extends$1({}, sizeClassObj), {
3375
- [`${pre}-${size}-${sizeProps.span}`]: sizeProps.span !== void 0,
3376
- [`${pre}-${size}-order-${sizeProps.order}`]: sizeProps.order || sizeProps.order === 0,
3377
- [`${pre}-${size}-offset-${sizeProps.offset}`]: sizeProps.offset || sizeProps.offset === 0,
3378
- [`${pre}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0,
3379
- [`${pre}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0,
3380
- [`${pre}-rtl`]: direction.value === "rtl"
3381
- });
3382
- });
3383
- return classNames(pre, {
3384
- [`${pre}-${span}`]: span !== void 0,
3385
- [`${pre}-order-${order}`]: order,
3386
- [`${pre}-offset-${offset}`]: offset,
3387
- [`${pre}-push-${push}`]: push,
3388
- [`${pre}-pull-${pull}`]: pull
3389
- }, sizeClassObj, attrs.class, hashId.value);
3390
- });
3391
- const mergedStyle = computed(() => {
3392
- const { flex } = props;
3393
- const gutterVal = gutter.value;
3394
- const style = {};
3395
- if (gutterVal && gutterVal[0] > 0) {
3396
- const horizontalGutter = `${gutterVal[0] / 2}px`;
3397
- style.paddingLeft = horizontalGutter;
3398
- style.paddingRight = horizontalGutter;
3399
- }
3400
- if (gutterVal && gutterVal[1] > 0 && !supportFlexGap.value) {
3401
- const verticalGutter = `${gutterVal[1] / 2}px`;
3402
- style.paddingTop = verticalGutter;
3403
- style.paddingBottom = verticalGutter;
3404
- }
3405
- if (flex) {
3406
- style.flex = parseFlex(flex);
3407
- if (wrap.value === false && !style.minWidth) style.minWidth = 0;
3408
- }
3409
- return style;
3410
- });
3411
- return () => {
3412
- var _a;
3413
- return wrapSSR(createVNode("div", _objectSpread2(_objectSpread2({}, attrs), {}, {
3414
- "class": classes.value,
3415
- "style": [mergedStyle.value, attrs.style]
3416
- }), [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]));
3417
- };
3418
- }
3419
- });
3420
- //#endregion
3421
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/FormItemLabel.js
3422
- var FormItemLabel = (props, _ref) => {
3423
- let { slots, emit, attrs } = _ref;
3424
- var _a, _b, _c, _d, _e;
3425
- const { prefixCls, htmlFor, labelCol, labelAlign, colon, required, requiredMark } = _extends$1(_extends$1({}, props), attrs);
3426
- const [formLocale] = useLocaleReceiver("Form");
3427
- const label = (_a = props.label) !== null && _a !== void 0 ? _a : (_b = slots.label) === null || _b === void 0 ? void 0 : _b.call(slots);
3428
- if (!label) return null;
3429
- const { vertical, labelAlign: contextLabelAlign, labelCol: contextLabelCol, labelWrap, colon: contextColon } = useInjectForm();
3430
- const mergedLabelCol = labelCol || (contextLabelCol === null || contextLabelCol === void 0 ? void 0 : contextLabelCol.value) || {};
3431
- const mergedLabelAlign = labelAlign || (contextLabelAlign === null || contextLabelAlign === void 0 ? void 0 : contextLabelAlign.value);
3432
- const labelClsBasic = `${prefixCls}-item-label`;
3433
- const labelColClassName = classNames(labelClsBasic, mergedLabelAlign === "left" && `${labelClsBasic}-left`, mergedLabelCol.class, { [`${labelClsBasic}-wrap`]: !!labelWrap.value });
3434
- let labelChildren = label;
3435
- const computedColon = colon === true || (contextColon === null || contextColon === void 0 ? void 0 : contextColon.value) !== false && colon !== false;
3436
- if (computedColon && !vertical.value && typeof label === "string" && label.trim() !== "") labelChildren = label.replace(/[:|:]\s*$/, "");
3437
- if (props.tooltip || slots.tooltip) {
3438
- const tooltipNode = createVNode("span", { "class": `${prefixCls}-item-tooltip` }, [createVNode(tooltip_default, { "title": props.tooltip }, { default: () => [createVNode(QuestionCircleOutlined, null, null)] })]);
3439
- labelChildren = createVNode(Fragment, null, [labelChildren, slots.tooltip ? (_c = slots.tooltip) === null || _c === void 0 ? void 0 : _c.call(slots, { class: `${prefixCls}-item-tooltip` }) : tooltipNode]);
3440
- }
3441
- if (requiredMark === "optional" && !required) labelChildren = createVNode(Fragment, null, [labelChildren, createVNode("span", { "class": `${prefixCls}-item-optional` }, [((_d = formLocale.value) === null || _d === void 0 ? void 0 : _d.optional) || ((_e = localeValues.Form) === null || _e === void 0 ? void 0 : _e.optional)])]);
3442
- const labelClassName = classNames({
3443
- [`${prefixCls}-item-required`]: required,
3444
- [`${prefixCls}-item-required-mark-optional`]: requiredMark === "optional",
3445
- [`${prefixCls}-item-no-colon`]: !computedColon
3446
- });
3447
- return createVNode(Col_default, _objectSpread2(_objectSpread2({}, mergedLabelCol), {}, { "class": labelColClassName }), { default: () => [createVNode("label", {
3448
- "for": htmlFor,
3449
- "class": labelClassName,
3450
- "title": typeof label === "string" ? label : "",
3451
- "onClick": (e) => emit("click", e)
3452
- }, [labelChildren])] });
3453
- };
3454
- FormItemLabel.displayName = "FormItemLabel";
3455
- FormItemLabel.inheritAttrs = false;
3456
- //#endregion
3457
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/style/explain.js
3458
- var genFormValidateMotionStyle = (token) => {
3459
- const { componentCls } = token;
3460
- const helpCls = `${componentCls}-show-help`;
3461
- const helpItemCls = `${componentCls}-show-help-item`;
3462
- return { [helpCls]: {
3463
- transition: `opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`,
3464
- "&-appear, &-enter": {
3465
- opacity: 0,
3466
- "&-active": { opacity: 1 }
3467
- },
3468
- "&-leave": {
3469
- opacity: 1,
3470
- "&-active": { opacity: 0 }
3471
- },
3472
- [helpItemCls]: {
3473
- overflow: "hidden",
3474
- transition: `height ${token.motionDurationSlow} ${token.motionEaseInOut},
3475
- opacity ${token.motionDurationSlow} ${token.motionEaseInOut},
3476
- transform ${token.motionDurationSlow} ${token.motionEaseInOut} !important`,
3477
- [`&${helpItemCls}-appear, &${helpItemCls}-enter`]: {
3478
- transform: `translateY(-5px)`,
3479
- opacity: 0,
3480
- [`&-active`]: {
3481
- transform: "translateY(0)",
3482
- opacity: 1
3483
- }
3484
- },
3485
- [`&${helpItemCls}-leave-active`]: { transform: `translateY(-5px)` }
3486
- }
3487
- } };
3488
- };
3489
- //#endregion
3490
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/style/index.js
3491
- var resetForm = (token) => ({
3492
- legend: {
3493
- display: "block",
3494
- width: "100%",
3495
- marginBottom: token.marginLG,
3496
- padding: 0,
3497
- color: token.colorTextDescription,
3498
- fontSize: token.fontSizeLG,
3499
- lineHeight: "inherit",
3500
- border: 0,
3501
- borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`
3502
- },
3503
- label: { fontSize: token.fontSize },
3504
- "input[type=\"search\"]": { boxSizing: "border-box" },
3505
- "input[type=\"radio\"], input[type=\"checkbox\"]": { lineHeight: "normal" },
3506
- "input[type=\"file\"]": { display: "block" },
3507
- "input[type=\"range\"]": {
3508
- display: "block",
3509
- width: "100%"
3510
- },
3511
- "select[multiple], select[size]": { height: "auto" },
3512
- [`input[type='file']:focus,
3513
- input[type='radio']:focus,
3514
- input[type='checkbox']:focus`]: {
3515
- outline: 0,
3516
- boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`
3517
- },
3518
- output: {
3519
- display: "block",
3520
- paddingTop: 15,
3521
- color: token.colorText,
3522
- fontSize: token.fontSize,
3523
- lineHeight: token.lineHeight
3524
- }
3525
- });
3526
- var genFormSize = (token, height) => {
3527
- const { formItemCls } = token;
3528
- return { [formItemCls]: {
3529
- [`${formItemCls}-label > label`]: { height },
3530
- [`${formItemCls}-control-input`]: { minHeight: height }
3531
- } };
3532
- };
3533
- var genFormStyle = (token) => {
3534
- const { componentCls } = token;
3535
- return { [token.componentCls]: _extends$1(_extends$1(_extends$1({}, resetComponent(token)), resetForm(token)), {
3536
- [`${componentCls}-text`]: {
3537
- display: "inline-block",
3538
- paddingInlineEnd: token.paddingSM
3539
- },
3540
- "&-small": _extends$1({}, genFormSize(token, token.controlHeightSM)),
3541
- "&-large": _extends$1({}, genFormSize(token, token.controlHeightLG))
3542
- }) };
3543
- };
3544
- var genFormItemStyle = (token) => {
3545
- const { formItemCls, iconCls, componentCls, rootPrefixCls } = token;
3546
- return { [formItemCls]: _extends$1(_extends$1({}, resetComponent(token)), {
3547
- marginBottom: token.marginLG,
3548
- verticalAlign: "top",
3549
- "&-with-help": { transition: "none" },
3550
- [`&-hidden,
3551
- &-hidden.${rootPrefixCls}-row`]: { display: "none" },
3552
- "&-has-warning": { [`${formItemCls}-split`]: { color: token.colorError } },
3553
- "&-has-error": { [`${formItemCls}-split`]: { color: token.colorWarning } },
3554
- [`${formItemCls}-label`]: {
3555
- display: "inline-block",
3556
- flexGrow: 0,
3557
- overflow: "hidden",
3558
- whiteSpace: "nowrap",
3559
- textAlign: "end",
3560
- verticalAlign: "middle",
3561
- "&-left": { textAlign: "start" },
3562
- "&-wrap": {
3563
- overflow: "unset",
3564
- lineHeight: `${token.lineHeight} - 0.25em`,
3565
- whiteSpace: "unset"
3566
- },
3567
- "> label": {
3568
- position: "relative",
3569
- display: "inline-flex",
3570
- alignItems: "center",
3571
- maxWidth: "100%",
3572
- height: token.controlHeight,
3573
- color: token.colorTextHeading,
3574
- fontSize: token.fontSize,
3575
- [`> ${iconCls}`]: {
3576
- fontSize: token.fontSize,
3577
- verticalAlign: "top"
3578
- },
3579
- [`&${formItemCls}-required:not(${formItemCls}-required-mark-optional)::before`]: {
3580
- display: "inline-block",
3581
- marginInlineEnd: token.marginXXS,
3582
- color: token.colorError,
3583
- fontSize: token.fontSize,
3584
- fontFamily: "SimSun, sans-serif",
3585
- lineHeight: 1,
3586
- content: "\"*\"",
3587
- [`${componentCls}-hide-required-mark &`]: { display: "none" }
3588
- },
3589
- [`${formItemCls}-optional`]: {
3590
- display: "inline-block",
3591
- marginInlineStart: token.marginXXS,
3592
- color: token.colorTextDescription,
3593
- [`${componentCls}-hide-required-mark &`]: { display: "none" }
3594
- },
3595
- [`${formItemCls}-tooltip`]: {
3596
- color: token.colorTextDescription,
3597
- cursor: "help",
3598
- writingMode: "horizontal-tb",
3599
- marginInlineStart: token.marginXXS
3600
- },
3601
- "&::after": {
3602
- content: "\":\"",
3603
- position: "relative",
3604
- marginBlock: 0,
3605
- marginInlineStart: token.marginXXS / 2,
3606
- marginInlineEnd: token.marginXS
3607
- },
3608
- [`&${formItemCls}-no-colon::after`]: { content: "\" \"" }
3609
- }
3610
- },
3611
- [`${formItemCls}-control`]: {
3612
- display: "flex",
3613
- flexDirection: "column",
3614
- flexGrow: 1,
3615
- [`&:first-child:not([class^="'${rootPrefixCls}-col-'"]):not([class*="' ${rootPrefixCls}-col-'"])`]: { width: "100%" },
3616
- "&-input": {
3617
- position: "relative",
3618
- display: "flex",
3619
- alignItems: "center",
3620
- minHeight: token.controlHeight,
3621
- "&-content": {
3622
- flex: "auto",
3623
- maxWidth: "100%"
3624
- }
3625
- }
3626
- },
3627
- [formItemCls]: {
3628
- "&-explain, &-extra": {
3629
- clear: "both",
3630
- color: token.colorTextDescription,
3631
- fontSize: token.fontSize,
3632
- lineHeight: token.lineHeight
3633
- },
3634
- "&-explain-connected": { width: "100%" },
3635
- "&-extra": {
3636
- minHeight: token.controlHeightSM,
3637
- transition: `color ${token.motionDurationMid} ${token.motionEaseOut}`
3638
- },
3639
- "&-explain": {
3640
- "&-error": { color: token.colorError },
3641
- "&-warning": { color: token.colorWarning }
3642
- }
3643
- },
3644
- [`&-with-help ${formItemCls}-explain`]: {
3645
- height: "auto",
3646
- opacity: 1
3647
- },
3648
- [`${formItemCls}-feedback-icon`]: {
3649
- fontSize: token.fontSize,
3650
- textAlign: "center",
3651
- visibility: "visible",
3652
- animationName: zoomIn,
3653
- animationDuration: token.motionDurationMid,
3654
- animationTimingFunction: token.motionEaseOutBack,
3655
- pointerEvents: "none",
3656
- "&-success": { color: token.colorSuccess },
3657
- "&-error": { color: token.colorError },
3658
- "&-warning": { color: token.colorWarning },
3659
- "&-validating": { color: token.colorPrimary }
3660
- }
3661
- }) };
3662
- };
3663
- var genHorizontalStyle = (token) => {
3664
- const { componentCls, formItemCls, rootPrefixCls } = token;
3665
- return { [`${componentCls}-horizontal`]: {
3666
- [`${formItemCls}-label`]: { flexGrow: 0 },
3667
- [`${formItemCls}-control`]: {
3668
- flex: "1 1 0",
3669
- minWidth: 0
3670
- },
3671
- [`${formItemCls}-label.${rootPrefixCls}-col-24 + ${formItemCls}-control`]: { minWidth: "unset" }
3672
- } };
3673
- };
3674
- var genInlineStyle = (token) => {
3675
- const { componentCls, formItemCls } = token;
3676
- return { [`${componentCls}-inline`]: {
3677
- display: "flex",
3678
- flexWrap: "wrap",
3679
- [formItemCls]: {
3680
- flex: "none",
3681
- flexWrap: "nowrap",
3682
- marginInlineEnd: token.margin,
3683
- marginBottom: 0,
3684
- "&-with-help": { marginBottom: token.marginLG },
3685
- [`> ${formItemCls}-label,
3686
- > ${formItemCls}-control`]: {
3687
- display: "inline-block",
3688
- verticalAlign: "top"
3689
- },
3690
- [`> ${formItemCls}-label`]: { flex: "none" },
3691
- [`${componentCls}-text`]: { display: "inline-block" },
3692
- [`${formItemCls}-has-feedback`]: { display: "inline-block" }
3693
- }
3694
- } };
3695
- };
3696
- var makeVerticalLayoutLabel = (token) => ({
3697
- margin: 0,
3698
- padding: `0 0 ${token.paddingXS}px`,
3699
- whiteSpace: "initial",
3700
- textAlign: "start",
3701
- "> label": {
3702
- margin: 0,
3703
- "&::after": { display: "none" }
3704
- }
3705
- });
3706
- var makeVerticalLayout = (token) => {
3707
- const { componentCls, formItemCls } = token;
3708
- return {
3709
- [`${formItemCls} ${formItemCls}-label`]: makeVerticalLayoutLabel(token),
3710
- [componentCls]: { [formItemCls]: {
3711
- flexWrap: "wrap",
3712
- [`${formItemCls}-label,
3713
- ${formItemCls}-control`]: {
3714
- flex: "0 0 100%",
3715
- maxWidth: "100%"
3716
- }
3717
- } }
3718
- };
3719
- };
3720
- var genVerticalStyle = (token) => {
3721
- const { componentCls, formItemCls, rootPrefixCls } = token;
3722
- return {
3723
- [`${componentCls}-vertical`]: { [formItemCls]: {
3724
- "&-row": { flexDirection: "column" },
3725
- "&-label > label": { height: "auto" },
3726
- [`${componentCls}-item-control`]: { width: "100%" }
3727
- } },
3728
- [`${componentCls}-vertical ${formItemCls}-label,
3729
- .${rootPrefixCls}-col-24${formItemCls}-label,
3730
- .${rootPrefixCls}-col-xl-24${formItemCls}-label`]: makeVerticalLayoutLabel(token),
3731
- [`@media (max-width: ${token.screenXSMax}px)`]: [makeVerticalLayout(token), { [componentCls]: { [`.${rootPrefixCls}-col-xs-24${formItemCls}-label`]: makeVerticalLayoutLabel(token) } }],
3732
- [`@media (max-width: ${token.screenSMMax}px)`]: { [componentCls]: { [`.${rootPrefixCls}-col-sm-24${formItemCls}-label`]: makeVerticalLayoutLabel(token) } },
3733
- [`@media (max-width: ${token.screenMDMax}px)`]: { [componentCls]: { [`.${rootPrefixCls}-col-md-24${formItemCls}-label`]: makeVerticalLayoutLabel(token) } },
3734
- [`@media (max-width: ${token.screenLGMax}px)`]: { [componentCls]: { [`.${rootPrefixCls}-col-lg-24${formItemCls}-label`]: makeVerticalLayoutLabel(token) } }
3735
- };
3736
- };
3737
- var style_default = genComponentStyleHook("Form", (token, _ref) => {
3738
- let { rootPrefixCls } = _ref;
3739
- const formToken = merge(token, {
3740
- formItemCls: `${token.componentCls}-item`,
3741
- rootPrefixCls
3742
- });
3743
- return [
3744
- genFormStyle(formToken),
3745
- genFormItemStyle(formToken),
3746
- genFormValidateMotionStyle(formToken),
3747
- genHorizontalStyle(formToken),
3748
- genInlineStyle(formToken),
3749
- genVerticalStyle(formToken),
3750
- genCollapseMotion(formToken),
3751
- zoomIn
3752
- ];
3753
- });
3754
- //#endregion
3755
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/ErrorList.js
3756
- var ErrorList_default = defineComponent({
3757
- compatConfig: { MODE: 3 },
3758
- name: "ErrorList",
3759
- inheritAttrs: false,
3760
- props: [
3761
- "errors",
3762
- "help",
3763
- "onErrorVisibleChanged",
3764
- "helpStatus",
3765
- "warnings"
3766
- ],
3767
- setup(props, _ref) {
3768
- let { attrs } = _ref;
3769
- const { prefixCls, status } = useInjectFormItemPrefix();
3770
- const baseClassName = computed(() => `${prefixCls.value}-item-explain`);
3771
- const visible = computed(() => !!(props.errors && props.errors.length));
3772
- const innerStatus = ref(status.value);
3773
- const [, hashId] = style_default(prefixCls);
3774
- watch([visible, status], () => {
3775
- if (visible.value) innerStatus.value = status.value;
3776
- });
3777
- return () => {
3778
- var _a, _b;
3779
- const colMItem = collapseMotion(`${prefixCls.value}-show-help-item`);
3780
- const transitionGroupProps = getTransitionGroupProps(`${prefixCls.value}-show-help-item`, colMItem);
3781
- transitionGroupProps.role = "alert";
3782
- transitionGroupProps.class = [
3783
- hashId.value,
3784
- baseClassName.value,
3785
- attrs.class,
3786
- `${prefixCls.value}-show-help`
3787
- ];
3788
- return createVNode(Transition, _objectSpread2(_objectSpread2({}, getTransitionProps(`${prefixCls.value}-show-help`)), {}, {
3789
- "onAfterEnter": () => props.onErrorVisibleChanged(true),
3790
- "onAfterLeave": () => props.onErrorVisibleChanged(false)
3791
- }), { default: () => [withDirectives(createVNode(TransitionGroup, _objectSpread2(_objectSpread2({}, transitionGroupProps), {}, { "tag": "div" }), { default: () => [(_b = props.errors) === null || _b === void 0 ? void 0 : _b.map((error, index) => createVNode("div", {
3792
- "key": index,
3793
- "class": innerStatus.value ? `${baseClassName.value}-${innerStatus.value}` : ""
3794
- }, [error]))] }), [[vShow, !!((_a = props.errors) === null || _a === void 0 ? void 0 : _a.length)]])] });
3795
- };
3796
- }
3797
- });
3798
- //#endregion
3799
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/FormItemInput.js
3800
- var FormItemInput = defineComponent({
3801
- compatConfig: { MODE: 3 },
3802
- slots: Object,
3803
- inheritAttrs: false,
3804
- props: [
3805
- "prefixCls",
3806
- "errors",
3807
- "hasFeedback",
3808
- "onDomErrorVisibleChange",
3809
- "wrapperCol",
3810
- "help",
3811
- "extra",
3812
- "status",
3813
- "marginBottom",
3814
- "onErrorVisibleChanged"
3815
- ],
3816
- setup(props, _ref) {
3817
- let { slots } = _ref;
3818
- const formContext = useInjectForm();
3819
- const { wrapperCol: contextWrapperCol } = formContext;
3820
- const subFormContext = _extends$1({}, formContext);
3821
- delete subFormContext.labelCol;
3822
- delete subFormContext.wrapperCol;
3823
- useProvideForm(subFormContext);
3824
- useProvideFormItemPrefix({
3825
- prefixCls: computed(() => props.prefixCls),
3826
- status: computed(() => props.status)
3827
- });
3828
- return () => {
3829
- var _a, _b, _c;
3830
- const { prefixCls, wrapperCol, marginBottom, onErrorVisibleChanged, help = (_a = slots.help) === null || _a === void 0 ? void 0 : _a.call(slots), errors = filterEmpty((_b = slots.errors) === null || _b === void 0 ? void 0 : _b.call(slots)), extra = (_c = slots.extra) === null || _c === void 0 ? void 0 : _c.call(slots) } = props;
3831
- const baseClassName = `${prefixCls}-item`;
3832
- const mergedWrapperCol = wrapperCol || (contextWrapperCol === null || contextWrapperCol === void 0 ? void 0 : contextWrapperCol.value) || {};
3833
- const className = classNames(`${baseClassName}-control`, mergedWrapperCol.class);
3834
- return createVNode(Col_default, _objectSpread2(_objectSpread2({}, mergedWrapperCol), {}, { "class": className }), { default: () => {
3835
- var _a;
3836
- return createVNode(Fragment, null, [
3837
- createVNode("div", { "class": `${baseClassName}-control-input` }, [createVNode("div", { "class": `${baseClassName}-control-input-content` }, [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)])]),
3838
- marginBottom !== null || errors.length ? createVNode("div", { "style": {
3839
- display: "flex",
3840
- flexWrap: "nowrap"
3841
- } }, [createVNode(ErrorList_default, {
3842
- "errors": errors,
3843
- "help": help,
3844
- "class": `${baseClassName}-explain-connected`,
3845
- "onErrorVisibleChanged": onErrorVisibleChanged
3846
- }, null), !!marginBottom && createVNode("div", { "style": {
3847
- width: 0,
3848
- height: `${marginBottom}px`
3849
- } }, null)]) : null,
3850
- extra ? createVNode("div", { "class": `${baseClassName}-extra` }, [extra]) : null
3851
- ]);
3852
- } });
3853
- };
3854
- }
3855
- });
3856
- //#endregion
3857
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/useDebounce.js
3858
- function useDebounce(value) {
3859
- const cacheValue = shallowRef(value.value.slice());
3860
- let timeout = null;
3861
- watchEffect(() => {
3862
- clearTimeout(timeout);
3863
- timeout = setTimeout(() => {
3864
- cacheValue.value = value.value;
3865
- }, value.value.length ? 0 : 10);
3866
- });
3867
- return cacheValue;
3868
- }
3869
- //#endregion
3870
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/FormItem.js
3871
- tuple("success", "warning", "error", "validating", "");
3872
- var iconMap = {
3873
- success: CheckCircleFilled,
3874
- warning: ExclamationCircleFilled,
3875
- error: CloseCircleFilled,
3876
- validating: LoadingOutlined
3877
- };
3878
- function getPropByPath$1(obj, namePathList, strict) {
3879
- let tempObj = obj;
3880
- const keyArr = namePathList;
3881
- let i = 0;
3882
- try {
3883
- for (let len = keyArr.length; i < len - 1; ++i) {
3884
- if (!tempObj && !strict) break;
3885
- const key = keyArr[i];
3886
- if (key in tempObj) tempObj = tempObj[key];
3887
- else {
3888
- if (strict) throw Error("please transfer a valid name path to form item!");
3889
- break;
3890
- }
3891
- }
3892
- if (strict && !tempObj) throw Error("please transfer a valid name path to form item!");
3893
- } catch (error) {
3894
- console.error("please transfer a valid name path to form item!");
3895
- }
3896
- return {
3897
- o: tempObj,
3898
- k: keyArr[i],
3899
- v: tempObj ? tempObj[keyArr[i]] : void 0
3900
- };
3901
- }
3902
- var formItemProps = () => ({
3903
- htmlFor: String,
3904
- prefixCls: String,
3905
- label: PropTypes.any,
3906
- help: PropTypes.any,
3907
- extra: PropTypes.any,
3908
- labelCol: { type: Object },
3909
- wrapperCol: { type: Object },
3910
- hasFeedback: {
3911
- type: Boolean,
3912
- default: false
3913
- },
3914
- colon: {
3915
- type: Boolean,
3916
- default: void 0
3917
- },
3918
- labelAlign: String,
3919
- prop: { type: [
3920
- String,
3921
- Number,
3922
- Array
3923
- ] },
3924
- name: { type: [
3925
- String,
3926
- Number,
3927
- Array
3928
- ] },
3929
- rules: [Array, Object],
3930
- autoLink: {
3931
- type: Boolean,
3932
- default: true
3933
- },
3934
- required: {
3935
- type: Boolean,
3936
- default: void 0
3937
- },
3938
- validateFirst: {
3939
- type: Boolean,
3940
- default: void 0
3941
- },
3942
- validateStatus: PropTypes.oneOf(tuple("", "success", "warning", "error", "validating")),
3943
- validateTrigger: { type: [String, Array] },
3944
- messageVariables: { type: Object },
3945
- hidden: Boolean,
3946
- noStyle: Boolean,
3947
- tooltip: String
3948
- });
3949
- var indexGuid = 0;
3950
- var defaultItemNamePrefixCls = "form_item";
3951
- var FormItem_default = defineComponent({
3952
- compatConfig: { MODE: 3 },
3953
- name: "AFormItem",
3954
- inheritAttrs: false,
3955
- __ANT_NEW_FORM_ITEM: true,
3956
- props: formItemProps(),
3957
- slots: Object,
3958
- setup(props, _ref) {
3959
- let { slots, attrs, expose } = _ref;
3960
- props.prop;
3961
- const eventKey = `form-item-${++indexGuid}`;
3962
- const { prefixCls } = useConfigInject_default("form", props);
3963
- const [wrapSSR, hashId] = style_default(prefixCls);
3964
- const itemRef = shallowRef();
3965
- const formContext = useInjectForm();
3966
- const fieldName = computed(() => props.name || props.prop);
3967
- const errors = shallowRef([]);
3968
- const validateDisabled = shallowRef(false);
3969
- const inputRef = shallowRef();
3970
- const namePath = computed(() => {
3971
- const val = fieldName.value;
3972
- return getNamePath(val);
3973
- });
3974
- const fieldId = computed(() => {
3975
- if (!namePath.value.length) return;
3976
- else {
3977
- const formName = formContext.name.value;
3978
- const mergedId = namePath.value.join("_");
3979
- return formName ? `${formName}_${mergedId}` : `${defaultItemNamePrefixCls}_${mergedId}`;
3980
- }
3981
- });
3982
- const getNewFieldValue = () => {
3983
- const model = formContext.model.value;
3984
- if (!model || !fieldName.value) return;
3985
- else return getPropByPath$1(model, namePath.value, true).v;
3986
- };
3987
- const fieldValue = computed(() => getNewFieldValue());
3988
- const initialValue = shallowRef(cloneDeep(fieldValue.value));
3989
- const mergedValidateTrigger = computed(() => {
3990
- let validateTrigger = props.validateTrigger !== void 0 ? props.validateTrigger : formContext.validateTrigger.value;
3991
- validateTrigger = validateTrigger === void 0 ? "change" : validateTrigger;
3992
- return toArray$1(validateTrigger);
3993
- });
3994
- const rulesRef = computed(() => {
3995
- let formRules = formContext.rules.value;
3996
- const selfRules = props.rules;
3997
- const requiredRule = props.required !== void 0 ? {
3998
- required: !!props.required,
3999
- trigger: mergedValidateTrigger.value
4000
- } : [];
4001
- const prop = getPropByPath$1(formRules, namePath.value);
4002
- formRules = formRules ? prop.o[prop.k] || prop.v : [];
4003
- const rules = [].concat(selfRules || formRules || []);
4004
- if (find(rules, (rule) => rule.required)) return rules;
4005
- else return rules.concat(requiredRule);
4006
- });
4007
- const isRequired = computed(() => {
4008
- const rules = rulesRef.value;
4009
- let isRequired = false;
4010
- if (rules && rules.length) rules.every((rule) => {
4011
- if (rule.required) {
4012
- isRequired = true;
4013
- return false;
4014
- }
4015
- return true;
4016
- });
4017
- return isRequired || props.required;
4018
- });
4019
- const validateState = shallowRef();
4020
- watchEffect(() => {
4021
- validateState.value = props.validateStatus;
4022
- });
4023
- const messageVariables = computed(() => {
4024
- let variables = {};
4025
- if (typeof props.label === "string") variables.label = props.label;
4026
- else if (props.name) variables.label = String(props.name);
4027
- if (props.messageVariables) variables = _extends$1(_extends$1({}, variables), props.messageVariables);
4028
- return variables;
4029
- });
4030
- const validateRules$1 = (options) => {
4031
- if (namePath.value.length === 0) return;
4032
- const { validateFirst = false } = props;
4033
- const { triggerName } = options || {};
4034
- let filteredRules = rulesRef.value;
4035
- if (triggerName) filteredRules = filteredRules.filter((rule) => {
4036
- const { trigger } = rule;
4037
- if (!trigger && !mergedValidateTrigger.value.length) return true;
4038
- return toArray$1(trigger || mergedValidateTrigger.value).includes(triggerName);
4039
- });
4040
- if (!filteredRules.length) return Promise.resolve();
4041
- const promise = validateRules(namePath.value, fieldValue.value, filteredRules, _extends$1({ validateMessages: formContext.validateMessages.value }, options), validateFirst, messageVariables.value);
4042
- validateState.value = "validating";
4043
- errors.value = [];
4044
- promise.catch((e) => e).then(function() {
4045
- let results = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
4046
- if (validateState.value === "validating") {
4047
- const res = results.filter((result) => result && result.errors.length);
4048
- validateState.value = res.length ? "error" : "success";
4049
- errors.value = res.map((r) => r.errors);
4050
- formContext.onValidate(fieldName.value, !errors.value.length, errors.value.length ? toRaw(errors.value[0]) : null);
4051
- }
4052
- });
4053
- return promise;
4054
- };
4055
- const onFieldBlur = () => {
4056
- validateRules$1({ triggerName: "blur" });
4057
- };
4058
- const onFieldChange = () => {
4059
- if (validateDisabled.value) {
4060
- validateDisabled.value = false;
4061
- return;
4062
- }
4063
- validateRules$1({ triggerName: "change" });
4064
- };
4065
- const clearValidate = () => {
4066
- validateState.value = props.validateStatus;
4067
- validateDisabled.value = false;
4068
- errors.value = [];
4069
- };
4070
- const resetField = () => {
4071
- var _a;
4072
- validateState.value = props.validateStatus;
4073
- validateDisabled.value = true;
4074
- errors.value = [];
4075
- const model = formContext.model.value || {};
4076
- const value = fieldValue.value;
4077
- const prop = getPropByPath$1(model, namePath.value, true);
4078
- if (Array.isArray(value)) prop.o[prop.k] = [].concat((_a = initialValue.value) !== null && _a !== void 0 ? _a : []);
4079
- else prop.o[prop.k] = initialValue.value;
4080
- nextTick(() => {
4081
- validateDisabled.value = false;
4082
- });
4083
- };
4084
- const htmlFor = computed(() => {
4085
- return props.htmlFor === void 0 ? fieldId.value : props.htmlFor;
4086
- });
4087
- const onLabelClick = () => {
4088
- const id = htmlFor.value;
4089
- if (!id || !inputRef.value) return;
4090
- const control = inputRef.value.$el.querySelector(`[id="${id}"]`);
4091
- if (control && control.focus) control.focus();
4092
- };
4093
- expose({
4094
- onFieldBlur,
4095
- onFieldChange,
4096
- clearValidate,
4097
- resetField
4098
- });
4099
- useProvideFormItemContext({
4100
- id: fieldId,
4101
- onFieldBlur: () => {
4102
- if (props.autoLink) onFieldBlur();
4103
- },
4104
- onFieldChange: () => {
4105
- if (props.autoLink) onFieldChange();
4106
- },
4107
- clearValidate
4108
- }, computed(() => {
4109
- return !!(props.autoLink && formContext.model.value && fieldName.value);
4110
- }));
4111
- let registered = false;
4112
- watch(fieldName, (val) => {
4113
- if (val) {
4114
- if (!registered) {
4115
- registered = true;
4116
- formContext.addField(eventKey, {
4117
- fieldValue,
4118
- fieldId,
4119
- fieldName,
4120
- resetField,
4121
- clearValidate,
4122
- namePath,
4123
- validateRules: validateRules$1,
4124
- rules: rulesRef
4125
- });
4126
- }
4127
- } else {
4128
- registered = false;
4129
- formContext.removeField(eventKey);
4130
- }
4131
- }, { immediate: true });
4132
- const debounceErrors = useDebounce(errors);
4133
- const mergedValidateStatus = computed(() => {
4134
- if (props.validateStatus !== void 0) return props.validateStatus;
4135
- else if (debounceErrors.value.length) return "error";
4136
- return validateState.value;
4137
- });
4138
- const itemClassName = computed(() => ({
4139
- [`${prefixCls.value}-item`]: true,
4140
- [hashId.value]: true,
4141
- [`${prefixCls.value}-item-has-feedback`]: mergedValidateStatus.value && props.hasFeedback,
4142
- [`${prefixCls.value}-item-has-success`]: mergedValidateStatus.value === "success",
4143
- [`${prefixCls.value}-item-has-warning`]: mergedValidateStatus.value === "warning",
4144
- [`${prefixCls.value}-item-has-error`]: mergedValidateStatus.value === "error",
4145
- [`${prefixCls.value}-item-is-validating`]: mergedValidateStatus.value === "validating",
4146
- [`${prefixCls.value}-item-hidden`]: props.hidden
4147
- }));
4148
- const formItemInputContext = reactive({});
4149
- FormItemInputContext.useProvide(formItemInputContext);
4150
- watchEffect(() => {
4151
- let feedbackIcon;
4152
- if (props.hasFeedback) {
4153
- const IconNode = mergedValidateStatus.value && iconMap[mergedValidateStatus.value];
4154
- feedbackIcon = IconNode ? createVNode("span", { "class": classNames(`${prefixCls.value}-item-feedback-icon`, `${prefixCls.value}-item-feedback-icon-${mergedValidateStatus.value}`) }, [createVNode(IconNode, null, null)]) : null;
4155
- }
4156
- _extends$1(formItemInputContext, {
4157
- status: mergedValidateStatus.value,
4158
- hasFeedback: props.hasFeedback,
4159
- feedbackIcon,
4160
- isFormItemInput: true
4161
- });
4162
- });
4163
- const marginBottom = shallowRef(null);
4164
- const showMarginOffset = shallowRef(false);
4165
- const onErrorVisibleChanged = (nextVisible) => {
4166
- if (!nextVisible) marginBottom.value = null;
4167
- };
4168
- return () => {
4169
- var _a, _b;
4170
- if (props.noStyle) return (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots);
4171
- const help = (_b = props.help) !== null && _b !== void 0 ? _b : slots.help ? filterEmpty(slots.help()) : null;
4172
- const withHelp = !!(help !== void 0 && help !== null && Array.isArray(help) && help.length || debounceErrors.value.length);
4173
- showMarginOffset.value = withHelp;
4174
- return wrapSSR(createVNode("div", {
4175
- "class": [
4176
- itemClassName.value,
4177
- withHelp ? `${prefixCls.value}-item-with-help` : "",
4178
- attrs.class
4179
- ],
4180
- "ref": itemRef
4181
- }, [createVNode(ARow, _objectSpread2(_objectSpread2({}, attrs), {}, {
4182
- "class": `${prefixCls.value}-item-row`,
4183
- "key": "row"
4184
- }), { default: () => {
4185
- var _a, _b;
4186
- return createVNode(Fragment, null, [createVNode(FormItemLabel, _objectSpread2(_objectSpread2({}, props), {}, {
4187
- "htmlFor": htmlFor.value,
4188
- "required": isRequired.value,
4189
- "requiredMark": formContext.requiredMark.value,
4190
- "prefixCls": prefixCls.value,
4191
- "onClick": onLabelClick,
4192
- "label": props.label
4193
- }), {
4194
- label: slots.label,
4195
- tooltip: slots.tooltip
4196
- }), createVNode(FormItemInput, _objectSpread2(_objectSpread2({}, props), {}, {
4197
- "errors": help !== void 0 && help !== null ? toArray$1(help) : debounceErrors.value,
4198
- "marginBottom": marginBottom.value,
4199
- "prefixCls": prefixCls.value,
4200
- "status": mergedValidateStatus.value,
4201
- "ref": inputRef,
4202
- "help": help,
4203
- "extra": (_a = props.extra) !== null && _a !== void 0 ? _a : (_b = slots.extra) === null || _b === void 0 ? void 0 : _b.call(slots),
4204
- "onErrorVisibleChanged": onErrorVisibleChanged
4205
- }), { default: slots.default })]);
4206
- } }), !!marginBottom.value && createVNode("div", {
4207
- "class": `${prefixCls.value}-margin-offset`,
4208
- "style": { marginBottom: `-${marginBottom.value}px` }
4209
- }, null)]));
4210
- };
4211
- }
4212
- });
4213
- //#endregion
4214
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/utils/asyncUtil.js
4215
- function allPromiseFinish(promiseList) {
4216
- let hasError = false;
4217
- let count = promiseList.length;
4218
- const results = [];
4219
- if (!promiseList.length) return Promise.resolve([]);
4220
- return new Promise((resolve, reject) => {
4221
- promiseList.forEach((promise, index) => {
4222
- promise.catch((e) => {
4223
- hasError = true;
4224
- return e;
4225
- }).then((result) => {
4226
- count -= 1;
4227
- results[index] = result;
4228
- if (count > 0) return;
4229
- if (hasError) reject(results);
4230
- resolve(results);
4231
- });
4232
- });
4233
- });
4234
- }
4235
- //#endregion
4236
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/useForm.js
4237
- function isRequired(rules) {
4238
- let isRequired = false;
4239
- if (rules && rules.length) rules.every((rule) => {
4240
- if (rule.required) {
4241
- isRequired = true;
4242
- return false;
4243
- }
4244
- return true;
4245
- });
4246
- return isRequired;
4247
- }
4248
- function toArray(value) {
4249
- if (value === void 0 || value === null) return [];
4250
- return Array.isArray(value) ? value : [value];
4251
- }
4252
- function getPropByPath(obj, path, strict) {
4253
- let tempObj = obj;
4254
- path = path.replace(/\[(\w+)\]/g, ".$1");
4255
- path = path.replace(/^\./, "");
4256
- const keyArr = path.split(".");
4257
- let i = 0;
4258
- for (let len = keyArr.length; i < len - 1; ++i) {
4259
- if (!tempObj && !strict) break;
4260
- const key = keyArr[i];
4261
- if (key in tempObj) tempObj = tempObj[key];
4262
- else {
4263
- if (strict) throw new Error("please transfer a valid name path to validate!");
4264
- break;
4265
- }
4266
- }
4267
- return {
4268
- o: tempObj,
4269
- k: keyArr[i],
4270
- v: tempObj ? tempObj[keyArr[i]] : null,
4271
- isValid: tempObj && keyArr[i] in tempObj
4272
- };
4273
- }
4274
- function useForm(modelRef) {
4275
- let rulesRef = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ref({});
4276
- let options = arguments.length > 2 ? arguments[2] : void 0;
4277
- const initialModel = cloneDeep(unref(modelRef));
4278
- const validateInfos = reactive({});
4279
- const rulesKeys = shallowRef([]);
4280
- const resetFields = (newValues) => {
4281
- _extends$1(unref(modelRef), _extends$1(_extends$1({}, cloneDeep(initialModel)), newValues));
4282
- nextTick(() => {
4283
- Object.keys(validateInfos).forEach((key) => {
4284
- validateInfos[key] = {
4285
- autoLink: false,
4286
- required: isRequired(unref(rulesRef)[key])
4287
- };
4288
- });
4289
- });
4290
- };
4291
- const filterRules = function() {
4292
- let rules = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
4293
- let trigger = arguments.length > 1 ? arguments[1] : void 0;
4294
- if (!trigger.length) return rules;
4295
- else return rules.filter((rule) => {
4296
- return intersection(toArray(rule.trigger || "change"), trigger).length;
4297
- });
4298
- };
4299
- let lastValidatePromise = null;
4300
- const validateFields = function(names) {
4301
- let option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4302
- let strict = arguments.length > 2 ? arguments[2] : void 0;
4303
- const promiseList = [];
4304
- const values = {};
4305
- for (let i = 0; i < names.length; i++) {
4306
- const name = names[i];
4307
- const prop = getPropByPath(unref(modelRef), name, strict);
4308
- if (!prop.isValid) continue;
4309
- values[name] = prop.v;
4310
- const rules = filterRules(unref(rulesRef)[name], toArray(option && option.trigger));
4311
- if (rules.length) promiseList.push(validateField(name, prop.v, rules, option || {}).then(() => ({
4312
- name,
4313
- errors: [],
4314
- warnings: []
4315
- })).catch((ruleErrors) => {
4316
- const mergedErrors = [];
4317
- const mergedWarnings = [];
4318
- ruleErrors.forEach((_ref) => {
4319
- let { rule: { warningOnly }, errors } = _ref;
4320
- if (warningOnly) mergedWarnings.push(...errors);
4321
- else mergedErrors.push(...errors);
4322
- });
4323
- if (mergedErrors.length) return Promise.reject({
4324
- name,
4325
- errors: mergedErrors,
4326
- warnings: mergedWarnings
4327
- });
4328
- return {
4329
- name,
4330
- errors: mergedErrors,
4331
- warnings: mergedWarnings
4332
- };
4333
- }));
4334
- }
4335
- const summaryPromise = allPromiseFinish(promiseList);
4336
- lastValidatePromise = summaryPromise;
4337
- const returnPromise = summaryPromise.then(() => {
4338
- if (lastValidatePromise === summaryPromise) return Promise.resolve(values);
4339
- return Promise.reject([]);
4340
- }).catch((results) => {
4341
- const errorList = results.filter((result) => result && result.errors.length);
4342
- return errorList.length ? Promise.reject({
4343
- values,
4344
- errorFields: errorList,
4345
- outOfDate: lastValidatePromise !== summaryPromise
4346
- }) : Promise.resolve(values);
4347
- });
4348
- returnPromise.catch((e) => e);
4349
- return returnPromise;
4350
- };
4351
- const validateField = function(name, value, rules) {
4352
- let option = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
4353
- const promise = validateRules([name], value, rules, _extends$1({ validateMessages: defaultValidateMessages }, option), !!option.validateFirst);
4354
- if (!validateInfos[name]) return promise.catch((e) => e);
4355
- validateInfos[name].validateStatus = "validating";
4356
- promise.catch((e) => e).then(function() {
4357
- let results = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
4358
- var _a;
4359
- if (validateInfos[name].validateStatus === "validating") {
4360
- const res = results.filter((result) => result && result.errors.length);
4361
- validateInfos[name].validateStatus = res.length ? "error" : "success";
4362
- validateInfos[name].help = res.length ? res.map((r) => r.errors) : null;
4363
- (_a = options === null || options === void 0 ? void 0 : options.onValidate) === null || _a === void 0 || _a.call(options, name, !res.length, res.length ? toRaw(validateInfos[name].help[0]) : null);
4364
- }
4365
- });
4366
- return promise;
4367
- };
4368
- const validate = (names, option) => {
4369
- let keys = [];
4370
- let strict = true;
4371
- if (!names) {
4372
- strict = false;
4373
- keys = rulesKeys.value;
4374
- } else if (Array.isArray(names)) keys = names;
4375
- else keys = [names];
4376
- const promises = validateFields(keys, option || {}, strict);
4377
- promises.catch((e) => e);
4378
- return promises;
4379
- };
4380
- const clearValidate = (names) => {
4381
- let keys = [];
4382
- if (!names) keys = rulesKeys.value;
4383
- else if (Array.isArray(names)) keys = names;
4384
- else keys = [names];
4385
- keys.forEach((key) => {
4386
- validateInfos[key] && _extends$1(validateInfos[key], {
4387
- validateStatus: "",
4388
- help: null
4389
- });
4390
- });
4391
- };
4392
- const mergeValidateInfo = (items) => {
4393
- const info = { autoLink: false };
4394
- const help = [];
4395
- const infos = Array.isArray(items) ? items : [items];
4396
- for (let i = 0; i < infos.length; i++) {
4397
- const arg = infos[i];
4398
- if ((arg === null || arg === void 0 ? void 0 : arg.validateStatus) === "error") {
4399
- info.validateStatus = "error";
4400
- arg.help && help.push(arg.help);
4401
- }
4402
- info.required = info.required || (arg === null || arg === void 0 ? void 0 : arg.required);
4403
- }
4404
- info.help = help;
4405
- return info;
4406
- };
4407
- let oldModel = initialModel;
4408
- let isFirstTime = true;
4409
- const modelFn = (model) => {
4410
- const names = [];
4411
- rulesKeys.value.forEach((key) => {
4412
- const prop = getPropByPath(model, key, false);
4413
- const oldProp = getPropByPath(oldModel, key, false);
4414
- if (isFirstTime && (options === null || options === void 0 ? void 0 : options.immediate) && prop.isValid || !isEqual(prop.v, oldProp.v)) names.push(key);
4415
- });
4416
- validate(names, { trigger: "change" });
4417
- isFirstTime = false;
4418
- oldModel = cloneDeep(toRaw(model));
4419
- };
4420
- const debounceOptions = options === null || options === void 0 ? void 0 : options.debounce;
4421
- let first = true;
4422
- watch(rulesRef, () => {
4423
- rulesKeys.value = rulesRef ? Object.keys(unref(rulesRef)) : [];
4424
- if (!first && options && options.validateOnRuleChange) validate();
4425
- first = false;
4426
- }, {
4427
- deep: true,
4428
- immediate: true
4429
- });
4430
- watch(rulesKeys, () => {
4431
- const newValidateInfos = {};
4432
- rulesKeys.value.forEach((key) => {
4433
- newValidateInfos[key] = _extends$1({}, validateInfos[key], {
4434
- autoLink: false,
4435
- required: isRequired(unref(rulesRef)[key])
4436
- });
4437
- delete validateInfos[key];
4438
- });
4439
- for (const key in validateInfos) if (Object.prototype.hasOwnProperty.call(validateInfos, key)) delete validateInfos[key];
4440
- _extends$1(validateInfos, newValidateInfos);
4441
- }, { immediate: true });
4442
- watch(modelRef, debounceOptions && debounceOptions.wait ? debounce(modelFn, debounceOptions.wait, omit(debounceOptions, ["wait"])) : modelFn, {
4443
- immediate: options && !!options.immediate,
4444
- deep: true
4445
- });
4446
- return {
4447
- modelRef,
4448
- rulesRef,
4449
- initialModel,
4450
- validateInfos,
4451
- resetFields,
4452
- validate,
4453
- validateField,
4454
- mergeValidateInfo,
4455
- clearValidate
4456
- };
4457
- }
4458
- //#endregion
4459
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/Form.js
4460
- var formProps = () => ({
4461
- layout: PropTypes.oneOf(tuple("horizontal", "inline", "vertical")),
4462
- labelCol: objectType(),
4463
- wrapperCol: objectType(),
4464
- colon: booleanType(),
4465
- labelAlign: stringType(),
4466
- labelWrap: booleanType(),
4467
- prefixCls: String,
4468
- requiredMark: someType([String, Boolean]),
4469
- /** @deprecated Will warning in future branch. Pls use `requiredMark` instead. */
4470
- hideRequiredMark: booleanType(),
4471
- model: PropTypes.object,
4472
- rules: objectType(),
4473
- validateMessages: objectType(),
4474
- validateOnRuleChange: booleanType(),
4475
- scrollToFirstError: anyType(),
4476
- onSubmit: functionType(),
4477
- name: String,
4478
- validateTrigger: someType([String, Array]),
4479
- size: stringType(),
4480
- disabled: booleanType(),
4481
- onValuesChange: functionType(),
4482
- onFieldsChange: functionType(),
4483
- onFinish: functionType(),
4484
- onFinishFailed: functionType(),
4485
- onValidate: functionType()
4486
- });
4487
- function isEqualName(name1, name2) {
4488
- return isEqual(toArray$1(name1), toArray$1(name2));
4489
- }
4490
- var Form = defineComponent({
4491
- compatConfig: { MODE: 3 },
4492
- name: "AForm",
4493
- inheritAttrs: false,
4494
- props: initDefaultProps(formProps(), {
4495
- layout: "horizontal",
4496
- hideRequiredMark: false,
4497
- colon: true
4498
- }),
4499
- Item: FormItem_default,
4500
- useForm,
4501
- setup(props, _ref) {
4502
- let { emit, slots, expose, attrs } = _ref;
4503
- const { prefixCls, direction, form: contextForm, size, disabled } = useConfigInject_default("form", props);
4504
- const requiredMark = computed(() => props.requiredMark === "" || props.requiredMark);
4505
- const mergedRequiredMark = computed(() => {
4506
- var _a;
4507
- if (requiredMark.value !== void 0) return requiredMark.value;
4508
- if (contextForm && ((_a = contextForm.value) === null || _a === void 0 ? void 0 : _a.requiredMark) !== void 0) return contextForm.value.requiredMark;
4509
- if (props.hideRequiredMark) return false;
4510
- return true;
4511
- });
4512
- useProviderSize(size);
4513
- useProviderDisabled(disabled);
4514
- const mergedColon = computed(() => {
4515
- var _a, _b;
4516
- return (_a = props.colon) !== null && _a !== void 0 ? _a : (_b = contextForm.value) === null || _b === void 0 ? void 0 : _b.colon;
4517
- });
4518
- const { validateMessages: globalValidateMessages } = useInjectGlobalForm();
4519
- const validateMessages = computed(() => {
4520
- return _extends$1(_extends$1(_extends$1({}, defaultValidateMessages), globalValidateMessages.value), props.validateMessages);
4521
- });
4522
- const [wrapSSR, hashId] = style_default(prefixCls);
4523
- const formClassName = computed(() => classNames(prefixCls.value, {
4524
- [`${prefixCls.value}-${props.layout}`]: true,
4525
- [`${prefixCls.value}-hide-required-mark`]: mergedRequiredMark.value === false,
4526
- [`${prefixCls.value}-rtl`]: direction.value === "rtl",
4527
- [`${prefixCls.value}-${size.value}`]: size.value
4528
- }, hashId.value));
4529
- const lastValidatePromise = ref();
4530
- const fields = {};
4531
- const addField = (eventKey, field) => {
4532
- fields[eventKey] = field;
4533
- };
4534
- const removeField = (eventKey) => {
4535
- delete fields[eventKey];
4536
- };
4537
- const getFieldsByNameList = (nameList) => {
4538
- const provideNameList = !!nameList;
4539
- const namePathList = provideNameList ? toArray$1(nameList).map(getNamePath) : [];
4540
- if (!provideNameList) return Object.values(fields);
4541
- else return Object.values(fields).filter((field) => namePathList.findIndex((namePath) => isEqualName(namePath, field.fieldName.value)) > -1);
4542
- };
4543
- const resetFields = (name) => {
4544
- if (!props.model) {
4545
- return;
4546
- }
4547
- getFieldsByNameList(name).forEach((field) => {
4548
- field.resetField();
4549
- });
4550
- };
4551
- const clearValidate = (name) => {
4552
- getFieldsByNameList(name).forEach((field) => {
4553
- field.clearValidate();
4554
- });
4555
- };
4556
- const handleFinishFailed = (errorInfo) => {
4557
- const { scrollToFirstError } = props;
4558
- emit("finishFailed", errorInfo);
4559
- if (scrollToFirstError && errorInfo.errorFields.length) {
4560
- let scrollToFieldOptions = {};
4561
- if (typeof scrollToFirstError === "object") scrollToFieldOptions = scrollToFirstError;
4562
- scrollToField(errorInfo.errorFields[0].name, scrollToFieldOptions);
4563
- }
4564
- };
4565
- const validate = function() {
4566
- return validateField(...arguments);
4567
- };
4568
- const scrollToField = function(name) {
4569
- let options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4570
- const fields = getFieldsByNameList(name ? [name] : void 0);
4571
- if (fields.length) {
4572
- const fieldId = fields[0].fieldId.value;
4573
- const node = fieldId ? (void 0).getElementById(fieldId) : null;
4574
- if (node) scrollIntoView(node, _extends$1({
4575
- scrollMode: "if-needed",
4576
- block: "nearest"
4577
- }, options));
4578
- }
4579
- };
4580
- const getFieldsValue = function() {
4581
- let nameList = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true;
4582
- if (nameList === true) {
4583
- const allNameList = [];
4584
- Object.values(fields).forEach((_ref2) => {
4585
- let { namePath } = _ref2;
4586
- allNameList.push(namePath.value);
4587
- });
4588
- return cloneByNamePathList(props.model, allNameList);
4589
- } else return cloneByNamePathList(props.model, nameList);
4590
- };
4591
- const validateFields = (nameList, options) => {
4592
- if (!props.model) {
4593
- return Promise.reject("Form `model` is required for validateFields to work.");
4594
- }
4595
- const provideNameList = !!nameList;
4596
- const namePathList = provideNameList ? toArray$1(nameList).map(getNamePath) : [];
4597
- const promiseList = [];
4598
- Object.values(fields).forEach((field) => {
4599
- var _a;
4600
- if (!provideNameList) namePathList.push(field.namePath.value);
4601
- if (!((_a = field.rules) === null || _a === void 0 ? void 0 : _a.value.length)) return;
4602
- const fieldNamePath = field.namePath.value;
4603
- if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {
4604
- const promise = field.validateRules(_extends$1({ validateMessages: validateMessages.value }, options));
4605
- promiseList.push(promise.then(() => ({
4606
- name: fieldNamePath,
4607
- errors: [],
4608
- warnings: []
4609
- })).catch((ruleErrors) => {
4610
- const mergedErrors = [];
4611
- const mergedWarnings = [];
4612
- ruleErrors.forEach((_ref3) => {
4613
- let { rule: { warningOnly }, errors } = _ref3;
4614
- if (warningOnly) mergedWarnings.push(...errors);
4615
- else mergedErrors.push(...errors);
4616
- });
4617
- if (mergedErrors.length) return Promise.reject({
4618
- name: fieldNamePath,
4619
- errors: mergedErrors,
4620
- warnings: mergedWarnings
4621
- });
4622
- return {
4623
- name: fieldNamePath,
4624
- errors: mergedErrors,
4625
- warnings: mergedWarnings
4626
- };
4627
- }));
4628
- }
4629
- });
4630
- const summaryPromise = allPromiseFinish(promiseList);
4631
- lastValidatePromise.value = summaryPromise;
4632
- const returnPromise = summaryPromise.then(() => {
4633
- if (lastValidatePromise.value === summaryPromise) return Promise.resolve(getFieldsValue(namePathList));
4634
- return Promise.reject([]);
4635
- }).catch((results) => {
4636
- const errorList = results.filter((result) => result && result.errors.length);
4637
- return Promise.reject({
4638
- values: getFieldsValue(namePathList),
4639
- errorFields: errorList,
4640
- outOfDate: lastValidatePromise.value !== summaryPromise
4641
- });
4642
- });
4643
- returnPromise.catch((e) => e);
4644
- return returnPromise;
4645
- };
4646
- const validateField = function() {
4647
- return validateFields(...arguments);
4648
- };
4649
- const handleSubmit = (e) => {
4650
- e.preventDefault();
4651
- e.stopPropagation();
4652
- emit("submit", e);
4653
- if (props.model) validateFields().then((values) => {
4654
- emit("finish", values);
4655
- }).catch((errors) => {
4656
- handleFinishFailed(errors);
4657
- });
4658
- };
4659
- expose({
4660
- resetFields,
4661
- clearValidate,
4662
- validateFields,
4663
- getFieldsValue,
4664
- validate,
4665
- scrollToField
4666
- });
4667
- useProvideForm({
4668
- model: computed(() => props.model),
4669
- name: computed(() => props.name),
4670
- labelAlign: computed(() => props.labelAlign),
4671
- labelCol: computed(() => props.labelCol),
4672
- labelWrap: computed(() => props.labelWrap),
4673
- wrapperCol: computed(() => props.wrapperCol),
4674
- vertical: computed(() => props.layout === "vertical"),
4675
- colon: mergedColon,
4676
- requiredMark: mergedRequiredMark,
4677
- validateTrigger: computed(() => props.validateTrigger),
4678
- rules: computed(() => props.rules),
4679
- addField,
4680
- removeField,
4681
- onValidate: (name, status, errors) => {
4682
- emit("validate", name, status, errors);
4683
- },
4684
- validateMessages
4685
- });
4686
- watch(() => props.rules, () => {
4687
- if (props.validateOnRuleChange) validateFields();
4688
- });
4689
- return () => {
4690
- var _a;
4691
- return wrapSSR(createVNode("form", _objectSpread2(_objectSpread2({}, attrs), {}, {
4692
- "onSubmit": handleSubmit,
4693
- "class": [formClassName.value, attrs.class]
4694
- }), [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]));
4695
- };
4696
- }
4697
- });
4698
- //#endregion
4699
- //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/form/index.js
4700
- Form.useInjectFormItemContext = useInjectFormItemContext;
4701
- Form.ItemRest = FormItemContext_default;
4702
- /* istanbul ignore next */
4703
- Form.install = function(app) {
4704
- app.component(Form.name, Form);
4705
- app.component(Form.Item.name, Form.Item);
4706
- app.component(FormItemContext_default.name, FormItemContext_default);
4707
- return app;
4708
- };
4709
- var form_default = Form;
4710
-
4711
- export { FormItem_default as F, form_default as f };
4712
- //# sourceMappingURL=form-D_UpWPN4.mjs.map