vite-hub 0.0.4 → 0.3.1

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 (1432) hide show
  1. package/README.md +265 -14
  2. package/dist/_internal/auth/internal/server.d.ts +1 -0
  3. package/dist/_internal/auth/internal/server.js +2 -0
  4. package/dist/_internal/auth/runtime/server.d.ts +1 -0
  5. package/dist/_internal/auth/runtime/server.js +2 -0
  6. package/dist/_internal/runtime/browser-errors.d.ts +22 -0
  7. package/dist/_internal/runtime/browser-errors.js +156 -0
  8. package/dist/_internal/runtime/internal/h3.d.ts +1 -0
  9. package/dist/_internal/runtime/internal/h3.js +2 -0
  10. package/dist/_internal/runtime/redirects.d.ts +37 -0
  11. package/dist/_internal/runtime/redirects.js +71 -0
  12. package/dist/_internal/runtime/request-policy.d.ts +43 -0
  13. package/dist/_internal/runtime/request-policy.js +62 -0
  14. package/dist/_internal/runtime/security.d.ts +27 -0
  15. package/dist/_internal/runtime/security.js +104 -0
  16. package/dist/access-F0YP5D5E.js +439 -0
  17. package/dist/access-policy-B_DCpZUt.js +73 -0
  18. package/dist/access-policy-BsB3QVe5.d.ts +109 -0
  19. package/dist/account-Bsu-LBOF.d.ts +195 -0
  20. package/dist/agent/capabilities.d.ts +1 -20
  21. package/dist/agent/capabilities.js +1 -7
  22. package/dist/agent/invocations/database.d.ts +1 -0
  23. package/dist/agent/invocations/database.js +2 -0
  24. package/dist/agent/invocations/drizzle.d.ts +1 -0
  25. package/dist/agent/invocations/drizzle.js +2 -0
  26. package/dist/agent/invocations.d.ts +1 -0
  27. package/dist/agent/invocations.js +2 -0
  28. package/dist/agent/observability.d.ts +1 -0
  29. package/dist/agent/observability.js +2 -0
  30. package/dist/agent/page.d.ts +1 -0
  31. package/dist/agent/page.js +2 -0
  32. package/dist/agent/process.d.ts +1 -0
  33. package/dist/agent/process.js +2 -0
  34. package/dist/agent/state.d.ts +1 -0
  35. package/dist/agent/state.js +2 -0
  36. package/dist/agent/ui/vue.d.ts +1 -0
  37. package/dist/agent/ui/vue.js +2 -0
  38. package/dist/agent/ui.d.ts +1 -0
  39. package/dist/agent/ui.js +2 -0
  40. package/dist/agent/vite.d.ts +1 -0
  41. package/dist/agent/vite.js +2 -0
  42. package/dist/agent-invocations.post-DIm8tJV2.js +423 -0
  43. package/dist/agent.d.ts +1 -7
  44. package/dist/agent.js +1 -31
  45. package/dist/agents-C94A4N9u.d.ts +29 -0
  46. package/dist/agents-DnHexzTJ.js +123 -0
  47. package/dist/agents-y5hBFHUQ.js +2 -0
  48. package/dist/auth/abilities.d.ts +1 -0
  49. package/dist/auth/abilities.js +2 -0
  50. package/dist/auth/database.d.ts +1 -0
  51. package/dist/auth/database.js +2 -0
  52. package/dist/auth/forward.d.ts +1 -0
  53. package/dist/auth/forward.js +2 -0
  54. package/dist/auth/mcp.d.ts +1 -0
  55. package/dist/auth/mcp.js +2 -0
  56. package/dist/auth/presets.d.ts +1 -0
  57. package/dist/auth/presets.js +2 -0
  58. package/dist/auth/schema.d.ts +1 -0
  59. package/dist/auth/schema.js +2 -0
  60. package/dist/auth-BFVHYizM.d.ts +120 -0
  61. package/dist/auth-operations-GcQk0O0X.js +34 -0
  62. package/dist/auth-types-DWpTBZvp.d.ts +90 -0
  63. package/dist/bin.d.ts +1 -1
  64. package/dist/bin.js +318 -50
  65. package/dist/blob/client.d.ts +1 -0
  66. package/dist/blob/client.js +2 -0
  67. package/dist/blob/media.d.ts +1 -0
  68. package/dist/blob/media.js +2 -0
  69. package/dist/blob/nuxt-image.d.ts +3 -0
  70. package/dist/blob/nuxt-image.js +3 -0
  71. package/dist/blob/vue.d.ts +1 -0
  72. package/dist/blob/vue.js +2 -0
  73. package/dist/blob-BRV6_wZa.js +26 -0
  74. package/dist/blob-CiUmptIp.d.ts +9 -0
  75. package/dist/bundle.d.ts +1 -0
  76. package/dist/bundle.js +2 -0
  77. package/dist/cache/operations.d.ts +5 -0
  78. package/dist/cache/operations.js +51 -0
  79. package/dist/cache.d.ts +28 -0
  80. package/dist/cache.js +219 -0
  81. package/dist/cli-DjoDGgT4.js +36 -0
  82. package/dist/cli-config--rAg6V-a.js +2 -0
  83. package/dist/cli-config-Bpjjfz5j.js +105 -0
  84. package/dist/cloudflare-env-lookup-DKXdr4P_.js +16 -0
  85. package/dist/cloudflare-prerender.mjs +3 -0
  86. package/dist/cloudflare-workers.d.ts +12 -0
  87. package/dist/cms/access.d.ts +1 -0
  88. package/dist/cms/access.js +2 -0
  89. package/dist/cms/vite.d.ts +1 -0
  90. package/dist/cms/vite.js +2 -0
  91. package/dist/cms.d.ts +3 -0
  92. package/dist/cms.js +3 -0
  93. package/dist/comments/anchor.d.ts +1 -0
  94. package/dist/comments/anchor.js +2 -0
  95. package/dist/comments/client.d.ts +1 -0
  96. package/dist/comments/client.js +2 -0
  97. package/dist/comments/database/postgres.d.ts +1 -0
  98. package/dist/comments/database/postgres.js +2 -0
  99. package/dist/comments/database.d.ts +1 -0
  100. package/dist/comments/database.js +2 -0
  101. package/dist/comments/realtime.d.ts +1 -0
  102. package/dist/comments/realtime.js +2 -0
  103. package/dist/comments/rpc.d.ts +1 -0
  104. package/dist/comments/rpc.js +2 -0
  105. package/dist/comments/runtime/auth.d.ts +1 -0
  106. package/dist/comments/runtime/auth.js +2 -0
  107. package/dist/comments/runtime.d.ts +1 -0
  108. package/dist/comments/runtime.js +2 -0
  109. package/dist/comments/server.d.ts +1 -0
  110. package/dist/comments/server.js +2 -0
  111. package/dist/comments/testing.d.ts +1 -0
  112. package/dist/comments/testing.js +2 -0
  113. package/dist/comments.d.ts +1 -0
  114. package/dist/comments.js +2 -0
  115. package/dist/connections/agent.d.ts +1 -0
  116. package/dist/connections/agent.js +2 -0
  117. package/dist/connections/chatgpt.d.ts +1 -0
  118. package/dist/connections/chatgpt.js +2 -0
  119. package/dist/connections/google.d.ts +1 -0
  120. package/dist/connections/google.js +2 -0
  121. package/dist/connections/operations.d.ts +1 -0
  122. package/dist/connections/operations.js +2 -0
  123. package/dist/connections/server.d.ts +1 -0
  124. package/dist/connections/server.js +2 -0
  125. package/dist/connections.d.ts +1 -0
  126. package/dist/connections.js +2 -0
  127. package/dist/console/auth-types.d.ts +2 -0
  128. package/dist/console/auth-types.js +1 -0
  129. package/dist/console/auth.d.ts +6 -0
  130. package/dist/console/auth.js +9 -0
  131. package/dist/console/runtime/auth-operations.d.ts +35 -0
  132. package/dist/console/runtime/auth-operations.js +2 -0
  133. package/dist/console/runtime/client/account-views.d.ts +17 -0
  134. package/dist/console/runtime/client/account-views.js +8 -0
  135. package/dist/console/runtime/client/account.d.ts +2 -0
  136. package/dist/console/runtime/client/account.js +1125 -0
  137. package/dist/console/runtime/client/add-primitive.ts +59 -0
  138. package/dist/console/runtime/client/app-identity.ts +44 -0
  139. package/dist/console/runtime/client/appearance.d.ts +62 -0
  140. package/dist/console/runtime/client/appearance.js +87 -0
  141. package/dist/console/runtime/client/auth-management.ts +67 -0
  142. package/dist/console/runtime/client/blob-media.d.ts +46 -0
  143. package/dist/console/runtime/client/blob-media.js +257 -0
  144. package/dist/console/runtime/client/command-search.ts +103 -0
  145. package/dist/console/runtime/client/comment-thread.d.ts +33 -0
  146. package/dist/console/runtime/client/comment-thread.js +62 -0
  147. package/dist/console/runtime/client/document-cache.ts +13 -0
  148. package/dist/console/runtime/client/documents.d.ts +3 -0
  149. package/dist/console/runtime/client/documents.js +2 -0
  150. package/dist/console/runtime/client/editor.d.ts +83 -0
  151. package/dist/console/runtime/client/editor.js +269 -0
  152. package/dist/console/runtime/client/env-groups.d.ts +28 -0
  153. package/dist/console/runtime/client/env-groups.js +39 -0
  154. package/dist/console/runtime/client/env-status.d.ts +35 -0
  155. package/dist/console/runtime/client/env-status.js +68 -0
  156. package/dist/console/runtime/client/format.d.ts +91 -0
  157. package/dist/console/runtime/client/format.js +2 -0
  158. package/dist/console/runtime/client/format.ts +267 -0
  159. package/dist/console/runtime/client/highlight-languages.ts +27 -0
  160. package/dist/console/runtime/client/invocation-deletion.d.ts +17 -0
  161. package/dist/console/runtime/client/invocation-deletion.js +25 -0
  162. package/dist/console/runtime/client/invocation.d.ts +28 -0
  163. package/dist/console/runtime/client/invocation.js +81 -0
  164. package/dist/console/runtime/client/live.d.ts +67 -0
  165. package/dist/console/runtime/client/live.js +158 -0
  166. package/dist/console/runtime/client/mcp-client.d.ts +58 -0
  167. package/dist/console/runtime/client/mcp-client.js +125 -0
  168. package/dist/console/runtime/client/media-library.d.ts +2 -0
  169. package/dist/console/runtime/client/media-library.js +2 -0
  170. package/dist/console/runtime/client/media-uploads.d.ts +33 -0
  171. package/dist/console/runtime/client/media-uploads.js +97 -0
  172. package/dist/console/runtime/client/media.d.ts +2 -0
  173. package/dist/console/runtime/client/media.js +13 -0
  174. package/dist/console/runtime/client/operation-view.d.ts +44 -0
  175. package/dist/console/runtime/client/operation-view.js +161 -0
  176. package/dist/console/runtime/client/presence.d.ts +98 -0
  177. package/dist/console/runtime/client/presence.js +255 -0
  178. package/dist/console/runtime/client/preview.d.ts +86 -0
  179. package/dist/console/runtime/client/preview.js +125 -0
  180. package/dist/console/runtime/client/problem.d.ts +19 -0
  181. package/dist/console/runtime/client/problem.js +59 -0
  182. package/dist/console/runtime/client/project-link.d.ts +2 -0
  183. package/dist/console/runtime/client/project-link.js +2 -0
  184. package/dist/console/runtime/client/project-session.d.ts +221 -0
  185. package/dist/console/runtime/client/project-session.js +723 -0
  186. package/dist/console/runtime/client/project.d.ts +48 -0
  187. package/dist/console/runtime/client/project.js +2 -0
  188. package/dist/console/runtime/client/projects.d.ts +2 -0
  189. package/dist/console/runtime/client/projects.js +2 -0
  190. package/dist/console/runtime/client/publish.d.ts +12 -0
  191. package/dist/console/runtime/client/publish.js +18 -0
  192. package/dist/console/runtime/client/rate-limit.d.ts +36 -0
  193. package/dist/console/runtime/client/rate-limit.js +96 -0
  194. package/dist/console/runtime/client/read-only.d.ts +9 -0
  195. package/dist/console/runtime/client/read-only.js +12 -0
  196. package/dist/console/runtime/client/request.d.ts +55 -8
  197. package/dist/console/runtime/client/request.js +2 -133
  198. package/dist/console/runtime/client/route-query.d.ts +60 -0
  199. package/dist/console/runtime/client/route-query.js +2 -0
  200. package/dist/console/runtime/client/schedule-run.d.ts +13 -0
  201. package/dist/console/runtime/client/schedule-run.js +47 -0
  202. package/dist/console/runtime/client/schema-form.d.ts +2 -0
  203. package/dist/console/runtime/client/schema-form.js +296 -0
  204. package/dist/console/runtime/client/sections.d.ts +2 -12
  205. package/dist/console/runtime/client/sections.js +2 -41
  206. package/dist/console/runtime/client/sidebar.ts +84 -0
  207. package/dist/console/runtime/client/site-access.d.ts +32 -0
  208. package/dist/console/runtime/client/site-access.js +932 -0
  209. package/dist/console/runtime/client/stored.d.ts +33 -0
  210. package/dist/console/runtime/client/stored.js +2 -0
  211. package/dist/console/runtime/client/ticket.d.ts +2 -0
  212. package/dist/console/runtime/client/ticket.js +2 -0
  213. package/dist/console/runtime/client/toast.d.ts +39 -0
  214. package/dist/console/runtime/client/toast.js +35 -0
  215. package/dist/console/runtime/client/workflow.d.ts +20 -0
  216. package/dist/console/runtime/client/workflow.js +79 -0
  217. package/dist/console/runtime/components/console-account-api-keys.vue +195 -0
  218. package/dist/console/runtime/components/console-account-env.vue +286 -0
  219. package/dist/console/runtime/components/console-account-home.vue +427 -0
  220. package/dist/console/runtime/components/console-account-link.vue +68 -0
  221. package/dist/console/runtime/components/console-account-menu.vue +126 -0
  222. package/dist/console/runtime/components/console-account-rename.vue +67 -0
  223. package/dist/console/runtime/components/console-account-settings.vue +184 -0
  224. package/dist/console/runtime/components/console-account-setup.vue +82 -0
  225. package/dist/console/runtime/components/console-account-shell.vue +339 -0
  226. package/dist/console/runtime/components/console-account-sign-in.vue +152 -0
  227. package/dist/console/runtime/components/console-account-snippet.vue +89 -0
  228. package/dist/console/runtime/components/console-account-team-settings.vue +131 -0
  229. package/dist/console/runtime/components/console-account-team.vue +199 -0
  230. package/dist/console/runtime/components/console-account-unlink.vue +52 -0
  231. package/dist/console/runtime/components/console-activity-feed.vue +69 -0
  232. package/dist/console/runtime/components/console-add-primitive.vue +176 -0
  233. package/dist/console/runtime/components/console-agent-list.ts +61 -0
  234. package/dist/console/runtime/components/console-agent-session.vue +301 -0
  235. package/dist/console/runtime/components/console-app-crumb.vue +52 -0
  236. package/dist/console/runtime/components/console-app-logo.vue +44 -0
  237. package/dist/console/runtime/components/console-app-settings.vue +271 -0
  238. package/dist/console/runtime/components/console-app.vue +894 -669
  239. package/dist/console/runtime/components/console-auth-action.vue +241 -0
  240. package/dist/console/runtime/components/console-auth-activity.vue +162 -0
  241. package/dist/console/runtime/components/console-auth-chart.vue +105 -0
  242. package/dist/console/runtime/components/console-auth-detail.vue +379 -0
  243. package/dist/console/runtime/components/console-auth-event-list.vue +79 -0
  244. package/dist/console/runtime/components/console-auth-event-setup.vue +39 -0
  245. package/dist/console/runtime/components/console-auth-overview.vue +95 -0
  246. package/dist/console/runtime/components/console-auth-user-events.vue +62 -0
  247. package/dist/console/runtime/components/console-auth.vue +651 -0
  248. package/dist/console/runtime/components/console-blob-detail.vue +83 -0
  249. package/dist/console/runtime/components/console-blob.vue +160 -300
  250. package/dist/console/runtime/components/console-cache.vue +358 -0
  251. package/dist/console/runtime/components/console-code-text.vue +18 -0
  252. package/dist/console/runtime/components/console-comark-component.vue +146 -0
  253. package/dist/console/runtime/components/console-comment-thread.vue +320 -0
  254. package/dist/console/runtime/components/console-confirm.vue +46 -0
  255. package/dist/console/runtime/components/console-connection-state.vue +40 -0
  256. package/dist/console/runtime/components/console-connection.ts +18 -0
  257. package/dist/console/runtime/components/console-database-model.ts +51 -6
  258. package/dist/console/runtime/components/console-database.vue +310 -380
  259. package/dist/console/runtime/components/console-definitions.vue +491 -306
  260. package/dist/console/runtime/components/console-document-dashboard.vue +473 -0
  261. package/dist/console/runtime/components/console-document-diff.vue +43 -0
  262. package/dist/console/runtime/components/console-document-editor.vue +2806 -0
  263. package/dist/console/runtime/components/console-document-history.vue +118 -0
  264. package/dist/console/runtime/components/console-document-list.vue +575 -0
  265. package/dist/console/runtime/components/console-document-preview.vue +409 -0
  266. package/dist/console/runtime/components/console-document-settings.vue +106 -0
  267. package/dist/console/runtime/components/console-documents.vue +544 -0
  268. package/dist/console/runtime/components/console-env-details.vue +49 -0
  269. package/dist/console/runtime/components/console-env.vue +322 -0
  270. package/dist/console/runtime/components/console-facts.ts +13 -0
  271. package/dist/console/runtime/components/console-frame.vue +201 -1
  272. package/dist/console/runtime/components/console-home.vue +575 -155
  273. package/dist/console/runtime/components/console-icon.vue +19 -0
  274. package/dist/console/runtime/components/console-invocation-composer.vue +155 -0
  275. package/dist/console/runtime/components/console-kv.vue +225 -235
  276. package/dist/console/runtime/components/console-lazy-views.ts +2 -0
  277. package/dist/console/runtime/components/console-loading.vue +29 -0
  278. package/dist/console/runtime/components/console-mark.vue +3 -8
  279. package/dist/console/runtime/components/console-markdown-editor.vue +681 -0
  280. package/dist/console/runtime/components/console-mcp-callback.vue +76 -0
  281. package/dist/console/runtime/components/console-mcp-client.vue +255 -0
  282. package/dist/console/runtime/components/console-mcp-connect.vue +162 -0
  283. package/dist/console/runtime/components/console-mcp-connection.vue +219 -0
  284. package/dist/console/runtime/components/console-mcp-content.vue +157 -0
  285. package/dist/console/runtime/components/console-mcp-items.vue +346 -0
  286. package/dist/console/runtime/components/console-media-browser.vue +956 -0
  287. package/dist/console/runtime/components/console-media-crops.vue +168 -0
  288. package/dist/console/runtime/components/console-media-detail.vue +278 -0
  289. package/dist/console/runtime/components/console-media-dialog.vue +74 -0
  290. package/dist/console/runtime/components/console-media-field.vue +161 -0
  291. package/dist/console/runtime/components/console-media-focal.vue +138 -0
  292. package/dist/console/runtime/components/console-media-library.vue +132 -0
  293. package/dist/console/runtime/components/console-media-move.vue +161 -0
  294. package/dist/console/runtime/components/console-media-picker.vue +196 -0
  295. package/dist/console/runtime/components/console-media-uploads.vue +75 -0
  296. package/dist/console/runtime/components/console-new-chat.ts +27 -0
  297. package/dist/console/runtime/components/console-operation-view.vue +327 -0
  298. package/dist/console/runtime/components/console-page-changes.vue +207 -0
  299. package/dist/console/runtime/components/console-page-header.vue +82 -0
  300. package/dist/console/runtime/components/console-page-toolbar.vue +41 -0
  301. package/dist/console/runtime/components/console-presence-avatars.vue +74 -0
  302. package/dist/console/runtime/components/console-project-switcher.vue +212 -0
  303. package/dist/console/runtime/components/console-property-list.vue +41 -0
  304. package/dist/console/runtime/components/console-property-row.vue +59 -0
  305. package/dist/console/runtime/components/console-rail.vue +237 -0
  306. package/dist/console/runtime/components/console-rate-limit.vue +175 -0
  307. package/dist/console/runtime/components/console-relative-time.vue +74 -0
  308. package/dist/console/runtime/components/console-schema-date-input.vue +88 -0
  309. package/dist/console/runtime/components/console-schema-field.vue +450 -0
  310. package/dist/console/runtime/components/console-schema-form.vue +76 -0
  311. package/dist/console/runtime/components/console-schema-list.vue +157 -0
  312. package/dist/console/runtime/components/console-search-palette.vue +1051 -0
  313. package/dist/console/runtime/components/console-search.vue +17 -424
  314. package/dist/console/runtime/components/console-section-icon.vue +18 -0
  315. package/dist/console/runtime/components/console-section.vue +68 -0
  316. package/dist/console/runtime/components/console-seo-panel.vue +261 -0
  317. package/dist/console/runtime/components/console-session-actions.vue +158 -0
  318. package/dist/console/runtime/components/console-session-bootstrap.ts +0 -26
  319. package/dist/console/runtime/components/console-session-cancel.vue +89 -0
  320. package/dist/console/runtime/components/console-session-code-language.ts +32 -0
  321. package/dist/console/runtime/components/console-session-code-preview.vue +42 -40
  322. package/dist/console/runtime/components/console-session-copy-link.vue +11 -0
  323. package/dist/console/runtime/components/console-session-inspector.vue +392 -235
  324. package/dist/console/runtime/components/console-session-loading.vue +19 -27
  325. package/dist/console/runtime/components/console-session-navbar.vue +44 -27
  326. package/dist/console/runtime/components/console-session-trace.vue +30 -84
  327. package/dist/console/runtime/components/console-session.css +438 -818
  328. package/dist/console/runtime/components/console-settings-card.vue +76 -0
  329. package/dist/console/runtime/components/console-settings-value.vue +46 -0
  330. package/dist/console/runtime/components/console-settings.vue +100 -0
  331. package/dist/console/runtime/components/console-setup-hint.vue +15 -0
  332. package/dist/console/runtime/components/console-sidebar-item.vue +62 -0
  333. package/dist/console/runtime/components/console-sidebar-trigger.vue +34 -0
  334. package/dist/console/runtime/components/console-sidebar.vue +352 -0
  335. package/dist/console/runtime/components/console-site.vue +370 -0
  336. package/dist/console/runtime/components/console-skill-file.vue +73 -0
  337. package/dist/console/runtime/components/console-skill-tree.vue +62 -0
  338. package/dist/console/runtime/components/console-skills.vue +193 -0
  339. package/dist/console/runtime/components/console-stat-grid.vue +64 -0
  340. package/dist/console/runtime/components/console-state.vue +150 -0
  341. package/dist/console/runtime/components/console-toaster.vue +75 -0
  342. package/dist/console/runtime/components/console-usage-chart.vue +210 -0
  343. package/dist/console/runtime/components/console-usage-model-detail.vue +138 -0
  344. package/dist/console/runtime/components/console-usage-model.ts +376 -0
  345. package/dist/console/runtime/components/console-usage-share-bar.vue +48 -0
  346. package/dist/console/runtime/components/console-usage.vue +1086 -508
  347. package/dist/console/runtime/components/console-user-menu.vue +42 -0
  348. package/dist/console/runtime/components/console-value.vue +36 -0
  349. package/dist/console/runtime/components/console-workflow-actions.vue +174 -0
  350. package/dist/console/runtime/components/console-workspace-browser.vue +507 -0
  351. package/dist/console/runtime/components/console-workspace-file.ts +12 -0
  352. package/dist/console/runtime/components/console-workspace-history.vue +76 -0
  353. package/dist/console/runtime/components/console-wrap.ts +10 -0
  354. package/dist/console/runtime/components/invocation/agent-capability-inspector.ts +165 -0
  355. package/dist/console/runtime/components/invocation/agent-invocation-list.ts +260 -0
  356. package/dist/console/runtime/components/invocation/agent-invocation-timeline.ts +112 -0
  357. package/dist/console/runtime/components/invocation/agent-invocation.ts +1991 -0
  358. package/dist/console/runtime/components/invocation/index.ts +8 -0
  359. package/dist/console/runtime/components/invocation/internal/brand-icons.ts +65 -0
  360. package/dist/console/runtime/components/invocation/internal/channel-icon.ts +51 -0
  361. package/dist/console/runtime/components/invocation/internal/invocation-activity.ts +745 -0
  362. package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +173 -0
  363. package/dist/console/runtime/components/invocation/internal/invocation-conversation.ts +167 -0
  364. package/dist/console/runtime/components/invocation/internal/invocation-page-changes.ts +64 -0
  365. package/dist/console/runtime/components/invocation/internal/payload-text.ts +27 -0
  366. package/dist/console/runtime/components/invocation/internal/url.ts +8 -0
  367. package/dist/console/runtime/components/invocation/invocation-display.ts +56 -0
  368. package/dist/console/runtime/components/invocation/invocation.css +2789 -0
  369. package/dist/console/runtime/components/invocation/types.ts +97 -0
  370. package/dist/console/runtime/console-route.d.ts +15 -9
  371. package/dist/console/runtime/console-route.js +2 -37
  372. package/dist/console/runtime/definitions.d.ts +2 -2
  373. package/dist/console/runtime/definitions.js +2 -15
  374. package/dist/console/runtime/diagnostics.ts +287 -0
  375. package/dist/console/runtime/mcp-client.d.ts +2 -0
  376. package/dist/console/runtime/mcp-client.js +2 -0
  377. package/dist/console/runtime/page/loader.js +142 -0
  378. package/dist/console/runtime/page-tool/page-tool.js +10 -0
  379. package/dist/console/runtime/public/skills/index.json +47 -0
  380. package/dist/console/runtime/public/skills/vitehub/SKILL.md +99 -0
  381. package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +4 -0
  382. package/dist/console/runtime/public/skills/vitehub/references/agent-definitions.md +36 -0
  383. package/dist/console/runtime/public/skills/vitehub/references/bundle.md +57 -0
  384. package/dist/console/runtime/public/skills/vitehub/references/capabilities-authority.md +30 -0
  385. package/dist/console/runtime/public/skills/vitehub/references/channels-triggers.md +27 -0
  386. package/dist/console/runtime/public/skills/vitehub/references/framework-composition.md +29 -0
  387. package/dist/console/runtime/public/skills/vitehub/references/preview-contract.md +36 -0
  388. package/dist/console/runtime/public/skills/vitehub/references/primitives/auth.md +14 -0
  389. package/dist/console/runtime/public/skills/vitehub/references/primitives/blob.md +13 -0
  390. package/dist/console/runtime/public/skills/vitehub/references/primitives/browser.md +17 -0
  391. package/dist/console/runtime/public/skills/vitehub/references/primitives/cache.md +13 -0
  392. package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +11 -0
  393. package/dist/console/runtime/public/skills/vitehub/references/primitives/connections.md +14 -0
  394. package/dist/console/runtime/public/skills/vitehub/references/primitives/content.md +13 -0
  395. package/dist/console/runtime/public/skills/vitehub/references/primitives/database.md +15 -0
  396. package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +11 -0
  397. package/dist/console/runtime/public/skills/vitehub/references/primitives/env.md +13 -0
  398. package/dist/console/runtime/public/skills/vitehub/references/primitives/kv.md +13 -0
  399. package/dist/console/runtime/public/skills/vitehub/references/primitives/markdown-template.md +13 -0
  400. package/dist/console/runtime/public/skills/vitehub/references/primitives/queue.md +14 -0
  401. package/dist/console/runtime/public/skills/vitehub/references/primitives/rate-limit.md +11 -0
  402. package/dist/console/runtime/public/skills/vitehub/references/primitives/realtime.md +19 -0
  403. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox-task.md +11 -0
  404. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox.md +13 -0
  405. package/dist/console/runtime/public/skills/vitehub/references/primitives/schedule.md +11 -0
  406. package/dist/console/runtime/public/skills/vitehub/references/primitives/shell.md +11 -0
  407. package/dist/console/runtime/public/skills/vitehub/references/primitives/source.md +11 -0
  408. package/dist/console/runtime/public/skills/vitehub/references/primitives/workflow.md +11 -0
  409. package/dist/console/runtime/public/skills/vitehub/references/primitives/workspace.md +11 -0
  410. package/dist/console/runtime/public/skills/vitehub/references/project-patterns.md +19 -0
  411. package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +81 -0
  412. package/dist/console/runtime/public/skills/vitehub/references/proof-recovery.md +31 -0
  413. package/dist/console/runtime/public/skills/vitehub/references/sandboxes-hosts.md +26 -0
  414. package/dist/console/runtime/public/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
  415. package/dist/console/runtime/public/skills/vitehub/references/server-primitives.md +39 -0
  416. package/dist/console/runtime/public/skills/vitehub/references/workspaces-sources-access.md +26 -0
  417. package/dist/console/runtime/rpc.d.ts +2 -35
  418. package/dist/console/runtime/rpc.js +2 -16
  419. package/dist/console/runtime/sections.d.ts +2 -2
  420. package/dist/console/runtime/sections.js +2 -126
  421. package/dist/console/runtime/server/access-policy.d.ts +2 -0
  422. package/dist/console/runtime/server/access-policy.js +2 -0
  423. package/dist/console/runtime/server/agents.get.d.ts +10 -5
  424. package/dist/console/runtime/server/agents.get.js +18 -10
  425. package/dist/console/runtime/server/auth.d.ts +2 -0
  426. package/dist/console/runtime/server/auth.js +81 -0
  427. package/dist/console/runtime/server/blob.d.ts +2 -2
  428. package/dist/console/runtime/server/blob.js +2 -18
  429. package/dist/console/runtime/server/channel-replay.d.ts +23 -0
  430. package/dist/console/runtime/server/channel-replay.js +52 -0
  431. package/dist/console/runtime/server/database.d.ts +1 -1
  432. package/dist/console/runtime/server/database.get.d.ts +34 -6
  433. package/dist/console/runtime/server/database.get.js +77 -40
  434. package/dist/console/runtime/server/database.js +1 -16
  435. package/dist/console/runtime/server/definitions.d.ts +2 -2
  436. package/dist/console/runtime/server/definitions.get.d.ts +10 -9
  437. package/dist/console/runtime/server/definitions.get.js +76 -15
  438. package/dist/console/runtime/server/definitions.js +2 -22
  439. package/dist/console/runtime/server/development.d.ts +2 -0
  440. package/dist/console/runtime/server/development.js +2 -0
  441. package/dist/console/runtime/server/documents.d.ts +2 -0
  442. package/dist/console/runtime/server/documents.js +3 -0
  443. package/dist/console/runtime/server/env.d.ts +6 -0
  444. package/dist/console/runtime/server/env.get.d.ts +9 -0
  445. package/dist/console/runtime/server/env.get.js +16 -0
  446. package/dist/console/runtime/server/env.js +2 -0
  447. package/dist/console/runtime/server/invocation-capabilities.get.d.ts +6 -5
  448. package/dist/console/runtime/server/invocation-capabilities.get.js +14 -11
  449. package/dist/console/runtime/server/invocation-workspace.get.d.ts +8 -0
  450. package/dist/console/runtime/server/invocation-workspace.get.js +77 -0
  451. package/dist/console/runtime/server/invocation.get.d.ts +36 -25
  452. package/dist/console/runtime/server/invocation.get.js +140 -25
  453. package/dist/console/runtime/server/invocations.get.d.ts +12 -5
  454. package/dist/console/runtime/server/invocations.get.js +56 -69
  455. package/dist/console/runtime/server/logs.get.d.ts +16 -0
  456. package/dist/console/runtime/server/logs.get.js +56 -0
  457. package/dist/console/runtime/server/mcp-client-operations.d.ts +5 -0
  458. package/dist/console/runtime/server/mcp-client-operations.js +139 -0
  459. package/dist/console/runtime/server/operation-contributions.d.ts +2 -0
  460. package/dist/console/runtime/server/operation-contributions.js +2 -0
  461. package/dist/console/runtime/server/page-auth.d.ts +18 -0
  462. package/dist/console/runtime/server/page-auth.js +44 -0
  463. package/dist/console/runtime/server/page-session.d.ts +2 -0
  464. package/dist/console/runtime/server/page-session.js +5 -0
  465. package/dist/console/runtime/server/page-tool.d.ts +2 -0
  466. package/dist/console/runtime/server/page-tool.js +105 -0
  467. package/dist/console/runtime/server/rpc.d.ts +27 -0
  468. package/dist/console/runtime/server/rpc.js +222 -0
  469. package/dist/console/runtime/server/runtime.d.ts +2 -0
  470. package/dist/console/runtime/server/runtime.js +2 -0
  471. package/dist/console/runtime/server/search.get.d.ts +2 -6
  472. package/dist/console/runtime/server/search.get.js +97 -2
  473. package/dist/console/runtime/server/sections.d.ts +6 -2
  474. package/dist/console/runtime/server/sections.get.d.ts +2 -9
  475. package/dist/console/runtime/server/sections.get.js +47 -9
  476. package/dist/console/runtime/server/sections.js +7 -16
  477. package/dist/console/runtime/server/setup.d.ts +5 -0
  478. package/dist/console/runtime/server/setup.js +5 -0
  479. package/dist/console/runtime/server/site-entry.d.ts +24 -0
  480. package/dist/console/runtime/server/site-entry.js +142 -0
  481. package/dist/console/runtime/server/site-session.d.ts +85 -0
  482. package/dist/console/runtime/server/site-session.js +2 -0
  483. package/dist/console/runtime/server/status.get.d.ts +16 -0
  484. package/dist/console/runtime/server/status.get.js +30 -0
  485. package/dist/console/runtime/server/tickets.d.ts +2 -0
  486. package/dist/console/runtime/server/tickets.js +2 -0
  487. package/dist/console/runtime/server/usage.get.d.ts +7 -3
  488. package/dist/console/runtime/server/usage.get.js +74 -26
  489. package/dist/console/runtime/server/workspace-files.get.d.ts +12 -0
  490. package/dist/console/runtime/server/workspace-files.get.js +55 -0
  491. package/dist/console/runtime/site-access.d.ts +2 -0
  492. package/dist/console/runtime/site-access.js +2 -0
  493. package/dist/console/runtime/skills.d.ts +18 -0
  494. package/dist/console/runtime/skills.js +17 -0
  495. package/dist/console/server.d.ts +33 -7
  496. package/dist/console/server.js +9 -28
  497. package/dist/console/ui.d.ts +217 -0
  498. package/dist/console/ui.js +3233 -0
  499. package/dist/console-lazy-views-DXnIkdyd.js +2 -0
  500. package/dist/console-route-COvNB_Xj.js +49 -0
  501. package/dist/console.d.ts +3 -2
  502. package/dist/content/client.d.ts +1 -0
  503. package/dist/content/client.js +2 -0
  504. package/dist/content/collections.d.ts +1 -0
  505. package/dist/content/collections.js +2 -0
  506. package/dist/content/database.d.ts +1 -0
  507. package/dist/content/database.js +2 -0
  508. package/dist/content/editor.d.ts +1 -0
  509. package/dist/content/editor.js +2 -0
  510. package/dist/content/markdown.d.ts +1 -0
  511. package/dist/content/markdown.js +2 -0
  512. package/dist/content/preview.d.ts +1 -0
  513. package/dist/content/preview.js +2 -0
  514. package/dist/content/realtime.d.ts +1 -0
  515. package/dist/content/realtime.js +2 -0
  516. package/dist/content/sqlite.d.ts +1 -0
  517. package/dist/content/sqlite.js +2 -0
  518. package/dist/content.d.ts +1 -0
  519. package/dist/content.js +2 -0
  520. package/dist/database-BVyhAxq-.d.ts +6 -0
  521. package/dist/database-J7M0B3ED.js +17 -0
  522. package/dist/decisions/vue.d.ts +1 -0
  523. package/dist/decisions/vue.js +2 -0
  524. package/dist/decisions.d.ts +1 -0
  525. package/dist/decisions.js +2 -0
  526. package/dist/definitions-BDRkT5-f.js +336 -0
  527. package/dist/definitions-CGTWTj67.d.ts +19 -0
  528. package/dist/definitions-CxDT8D8Y.d.ts +243 -0
  529. package/dist/definitions-bepsXY5G.js +98 -0
  530. package/dist/dev-peer-am78OsHH.js +472 -0
  531. package/dist/development-BzeSHZGH.js +18 -0
  532. package/dist/development-DgaQ05jw.d.ts +9 -0
  533. package/dist/device/vue.d.ts +1 -0
  534. package/dist/device/vue.js +2 -0
  535. package/dist/device.d.ts +1 -0
  536. package/dist/device.js +2 -0
  537. package/dist/diagnostics-CjGiniKb.d.ts +11 -0
  538. package/dist/diagnostics-D0DefmQj.js +79 -0
  539. package/dist/docs/assistant.d.ts +1 -0
  540. package/dist/docs/assistant.js +2 -0
  541. package/dist/docs/nuxt.d.ts +3 -0
  542. package/dist/docs/nuxt.js +3 -0
  543. package/dist/docs/server.d.ts +1 -0
  544. package/dist/docs/server.js +2 -0
  545. package/dist/docs.d.ts +1 -0
  546. package/dist/docs.js +2 -0
  547. package/dist/doctor.d.ts +13 -0
  548. package/dist/doctor.js +3096 -0
  549. package/dist/documents-8US1nUgK.js +547 -0
  550. package/dist/documents-C97WMaJZ.d.ts +474 -0
  551. package/dist/documents-DwPfR-fz.js +136 -0
  552. package/dist/documents-RVHsQKFw.d.ts +87 -0
  553. package/dist/durability/operations.d.ts +5 -0
  554. package/dist/durability/operations.js +28 -0
  555. package/dist/email/test.d.ts +1 -0
  556. package/dist/email/test.js +2 -0
  557. package/dist/entries-D48wVEaS.js +142 -0
  558. package/dist/env/bridge.d.ts +1 -0
  559. package/dist/env/bridge.js +2 -0
  560. package/dist/env/database.d.ts +1 -0
  561. package/dist/env/database.js +2 -0
  562. package/dist/env/seal.d.ts +1 -0
  563. package/dist/env/seal.js +2 -0
  564. package/dist/env-Dg1I_DWr.js +11 -0
  565. package/dist/error-diagnostics-C2rjmOlX.js +630 -0
  566. package/dist/error-diagnostics.ts +639 -0
  567. package/dist/forge.d.ts +1 -0
  568. package/dist/forge.js +2 -0
  569. package/dist/format-BOYlanIZ.js +304 -0
  570. package/dist/forms/client.d.ts +1 -0
  571. package/dist/forms/client.js +2 -0
  572. package/dist/forms/database.d.ts +1 -0
  573. package/dist/forms/database.js +2 -0
  574. package/dist/forms/formisch.d.ts +1 -0
  575. package/dist/forms/formisch.js +2 -0
  576. package/dist/forms/operations.d.ts +1 -0
  577. package/dist/forms/operations.js +2 -0
  578. package/dist/forms/runtime.d.ts +1 -0
  579. package/dist/forms/runtime.js +2 -0
  580. package/dist/forms/vue.d.ts +1 -0
  581. package/dist/forms/vue.js +2 -0
  582. package/dist/forms.d.ts +1 -0
  583. package/dist/forms.js +2 -0
  584. package/dist/gateways/ai-sdk.d.ts +1 -0
  585. package/dist/gateways/ai-sdk.js +2 -0
  586. package/dist/gateways.d.ts +1 -0
  587. package/dist/gateways.js +2 -0
  588. package/dist/host-CkL0jjBq.js +11 -0
  589. package/dist/http-error-Bs6e8_-8.js +30 -0
  590. package/dist/i18n/runtime.d.ts +1 -0
  591. package/dist/i18n/runtime.js +2 -0
  592. package/dist/i18n/server.d.ts +1 -0
  593. package/dist/i18n/server.js +2 -0
  594. package/dist/i18n/vue.d.ts +1 -0
  595. package/dist/i18n/vue.js +2 -0
  596. package/dist/i18n.d.ts +1 -0
  597. package/dist/i18n.js +2 -0
  598. package/dist/index.d.ts +7 -2
  599. package/dist/index.js +39 -3
  600. package/dist/inspect-CDw7e0vK.js +127 -0
  601. package/dist/internal/agent-invocations-libsql.d.ts +2 -0
  602. package/dist/internal/agent-invocations-libsql.js +2 -0
  603. package/dist/internal/disabled-redis-driver.d.ts +3 -0
  604. package/dist/internal/disabled-redis-driver.js +7 -0
  605. package/dist/internal/disabled-upstash-driver.d.ts +3 -0
  606. package/dist/internal/disabled-upstash-driver.js +7 -0
  607. package/dist/internal/test-loader.d.ts +8 -0
  608. package/dist/internal/test-loader.js +75 -0
  609. package/dist/internal/test-server.d.ts +1 -0
  610. package/dist/internal/test-server.js +84 -0
  611. package/dist/internal-BP_O70ic.d.ts +59 -0
  612. package/dist/internal-BreyUsQ6.js +31 -0
  613. package/dist/invariant-DolT9EEx.js +22 -0
  614. package/dist/invocation-page-undo-BkUau8X7.js +54 -0
  615. package/dist/invocations-CsucCJuq.js +86 -0
  616. package/dist/limits-BUlwWYQE.js +34 -0
  617. package/dist/logs/host.d.ts +6 -0
  618. package/dist/logs/host.js +2 -0
  619. package/dist/logs/memory.d.ts +2 -0
  620. package/dist/logs/memory.js +2 -0
  621. package/dist/logs/source.d.ts +2 -0
  622. package/dist/logs/source.js +2 -0
  623. package/dist/logs.d.ts +3 -0
  624. package/dist/logs.js +3 -0
  625. package/dist/markdown-template/file.d.ts +1 -0
  626. package/dist/markdown-template/file.js +2 -0
  627. package/dist/mcp-client-CTbTbn7d.js +10 -0
  628. package/dist/mcp-client-C_sEmyQw.d.ts +118 -0
  629. package/dist/mcp-client-D0mUt18v.js +1024 -0
  630. package/dist/mcp.d.ts +1 -0
  631. package/dist/mcp.js +2 -0
  632. package/dist/media-library-BChf8XOd.js +279 -0
  633. package/dist/media-library-CEo-Ye2B.d.ts +212 -0
  634. package/dist/media-uKX4Wy-c.d.ts +74 -0
  635. package/dist/media-wZMY6f2M.js +478 -0
  636. package/dist/memory-2bbl4hcV.d.ts +19 -0
  637. package/dist/memory-DhirB6SA.js +86 -0
  638. package/dist/nuxt-server-imports-Lnaf5Fe-.js +97 -0
  639. package/dist/nuxt.d.ts +14 -60
  640. package/dist/nuxt.js +966 -374
  641. package/dist/object-D8pRdprI.js +15 -0
  642. package/dist/operation-contributions-DflAv5AC.js +50 -0
  643. package/dist/operation-contributions-fZyVo662.d.ts +21 -0
  644. package/dist/operation-definition-Bn8V2hab.js +430 -0
  645. package/dist/operation-registry-BogGwk_I.js +22 -0
  646. package/dist/operation-rpc-DI9txNxK.js +158 -0
  647. package/dist/operations-B6N-ja8x.js +863 -0
  648. package/dist/operations-DX9EkHwb.d.ts +153 -0
  649. package/dist/operations-Dj_cp-UK.js +235 -0
  650. package/dist/operations-H9q0QB2C.js +2 -0
  651. package/dist/operations.d.ts +1 -0
  652. package/dist/operations.js +2 -0
  653. package/dist/optional-owners-Crm6kVS5.js +889 -0
  654. package/dist/owned-paths-BnjT0FhU.js +15 -0
  655. package/dist/page/pill.iife.js +70 -0
  656. package/dist/page-tool-BCRyx3pM.d.ts +68 -0
  657. package/dist/page-tools-BkSSBFoi.js +444 -0
  658. package/dist/page-tools-shared-D3fFoEV2.js +122 -0
  659. package/dist/page-tools-sw4I-Nqx.d.ts +23 -0
  660. package/dist/plugins-5uDXr9Km.d.ts +2124 -0
  661. package/dist/plugins-DQ8pF-38.js +11325 -0
  662. package/dist/presets/babysitter/server.d.ts +1 -0
  663. package/dist/presets/babysitter/server.js +2 -0
  664. package/dist/presets/babysitter.d.ts +1 -0
  665. package/dist/presets/babysitter.js +2 -0
  666. package/dist/presets/labeller.d.ts +1 -0
  667. package/dist/presets/labeller.js +2 -0
  668. package/dist/presets/workspace.d.ts +3 -0
  669. package/dist/presets/workspace.js +3 -0
  670. package/dist/project-5EN7JaXI.d.ts +26 -0
  671. package/dist/project-C2dnB9Kf.js +30 -0
  672. package/dist/project-DOeM0zg3.js +57 -0
  673. package/dist/project-link-D_XQvBOC.d.ts +94 -0
  674. package/dist/project-link-Qi7nltHM.js +149 -0
  675. package/dist/project-root-v6ba4tn7.js +12 -0
  676. package/dist/projects-CAcXztf4.js +154 -0
  677. package/dist/projects-Ddvl9EJp.d.ts +66 -0
  678. package/dist/rate-limit/drivers/cloudflare.d.ts +1 -0
  679. package/dist/rate-limit/drivers/cloudflare.js +2 -0
  680. package/dist/rate-limit/drivers/kv.d.ts +1 -0
  681. package/dist/rate-limit/drivers/kv.js +2 -0
  682. package/dist/rate-limit/drivers/memory.d.ts +1 -0
  683. package/dist/rate-limit/drivers/memory.js +2 -0
  684. package/dist/realtime/agent.d.ts +1 -0
  685. package/dist/realtime/agent.js +2 -0
  686. package/dist/realtime/bus.d.ts +1 -0
  687. package/dist/realtime/bus.js +2 -0
  688. package/dist/realtime/client.d.ts +1 -0
  689. package/dist/realtime/client.js +2 -0
  690. package/dist/registry-CDKLACCZ.js +16 -0
  691. package/dist/registry-zw6aE2N9.js +18 -0
  692. package/dist/request-BUYAlAJl.js +162 -0
  693. package/dist/request-D7h3SQ92.d.ts +21 -0
  694. package/dist/request-origin-Bq7mDQG9.js +23 -0
  695. package/dist/request-yCybBeqT.js +468 -0
  696. package/dist/route-query-CRVWXIrc.js +222 -0
  697. package/dist/rpc-7nlHSv3y.d.ts +37 -0
  698. package/dist/rpc-DIUA61pv.js +4 -0
  699. package/dist/runtime/durability.d.ts +1 -0
  700. package/dist/runtime/durability.js +2 -0
  701. package/dist/runtime-B_btezs1.d.ts +7 -0
  702. package/dist/runtime-DG34DLXc.js +55 -0
  703. package/dist/runtime-DM8Z6KLT.js +10 -0
  704. package/dist/runtime-DxfJOfCd.js +25 -0
  705. package/dist/runtime-YLWfdrtO.js +65 -0
  706. package/dist/runtime-feature-guard-rpZz1eMF.js +55 -0
  707. package/dist/sandbox/ssh.d.ts +1 -0
  708. package/dist/sandbox/ssh.js +2 -0
  709. package/dist/sandbox/task.d.ts +1 -0
  710. package/dist/sandbox/task.js +2 -0
  711. package/dist/scan-module-BTeOuZsp.js +2 -0
  712. package/dist/scan-module-DlHQ8a0X.js +148 -0
  713. package/dist/schedule/os.d.ts +1 -0
  714. package/dist/schedule/os.js +2 -0
  715. package/dist/schedule/runtime/kv.d.ts +1 -0
  716. package/dist/schedule/runtime/kv.js +2 -0
  717. package/dist/schema-form-C-fy3xaU.d.ts +79 -0
  718. package/dist/secret-AZLhaNyr.js +44 -0
  719. package/dist/sections-4xyBoiar.d.ts +159 -0
  720. package/dist/sections-ACHVTCWn.d.ts +10 -0
  721. package/dist/sections-BriKrBgN.d.ts +57 -0
  722. package/dist/sections-C83x0slv.js +13 -0
  723. package/dist/sections-CUJyQA9d.js +122 -0
  724. package/dist/sections-D6AM5Gy5.js +369 -0
  725. package/dist/sections.get-1lHjyKCI.d.ts +20 -0
  726. package/dist/seo/runtime.d.ts +64 -0
  727. package/dist/seo/runtime.js +123 -0
  728. package/dist/seo-CtLywyRx.d.ts +24 -0
  729. package/dist/seo.d.ts +2 -0
  730. package/dist/seo.js +17 -0
  731. package/dist/server-DbjFYSeU.js +18 -0
  732. package/dist/setup-C-5nB7aY.js +22 -0
  733. package/dist/setup-DLZFzuLv.d.ts +12 -0
  734. package/dist/site-access-Bhsty_v4.js +2 -0
  735. package/dist/site-access-BycrwM2v.js +18 -0
  736. package/dist/site-access-CyRtc0gZ.js +292 -0
  737. package/dist/site-access-DxfdOel1.d.ts +55 -0
  738. package/dist/site-session-Jf21TVw8.js +272 -0
  739. package/dist/skills/operations.d.ts +17 -0
  740. package/dist/skills/operations.js +51 -0
  741. package/dist/skills-DdpSMiCI.js +500 -0
  742. package/dist/skills.d.ts +197 -0
  743. package/dist/skills.get-CHQMzSD_.js +48 -0
  744. package/dist/skills.js +2 -0
  745. package/dist/source/drizzle.d.ts +1 -0
  746. package/dist/source/drizzle.js +2 -0
  747. package/dist/source/server.d.ts +1 -24
  748. package/dist/source/server.js +1 -24
  749. package/dist/source/vite.d.ts +1 -8
  750. package/dist/source/vite.js +2 -18
  751. package/dist/source-S-LChQvw.d.ts +59 -0
  752. package/dist/source-w9BHUwyO.js +60 -0
  753. package/dist/source.d.ts +1 -66
  754. package/dist/source.js +1 -103
  755. package/dist/stored-Dhv2qsQv.js +40 -0
  756. package/dist/sync/client.d.ts +1 -0
  757. package/dist/sync/client.js +2 -0
  758. package/dist/sync/database.d.ts +1 -0
  759. package/dist/sync/database.js +2 -0
  760. package/dist/sync/operations.d.ts +1 -0
  761. package/dist/sync/operations.js +2 -0
  762. package/dist/sync/runtime.d.ts +1 -0
  763. package/dist/sync/runtime.js +2 -0
  764. package/dist/sync/vue.d.ts +1 -0
  765. package/dist/sync/vue.js +2 -0
  766. package/dist/sync.d.ts +1 -0
  767. package/dist/sync.js +2 -0
  768. package/dist/task/operations.d.ts +22 -0
  769. package/dist/task/operations.js +36 -0
  770. package/dist/test/register.d.ts +1 -0
  771. package/dist/test/register.js +68 -0
  772. package/dist/test.d.ts +175 -0
  773. package/dist/test.js +49 -0
  774. package/dist/ticket-Pr_8ZtXW.d.ts +14 -0
  775. package/dist/ticket-RKQF6Wy9.js +31 -0
  776. package/dist/tickets-CfJhT7d0.js +358 -0
  777. package/dist/ui/markdown-editor.d.ts +1 -0
  778. package/dist/ui/markdown-editor.js +2 -0
  779. package/dist/ui/playground.d.ts +1 -0
  780. package/dist/ui/playground.js +2 -0
  781. package/dist/ui/styles.css +2 -2562
  782. package/dist/ui/theme.css +2 -0
  783. package/dist/ui/theme.d.ts +1 -0
  784. package/dist/ui/theme.js +2 -0
  785. package/dist/ui/workspace.d.ts +1 -0
  786. package/dist/ui/workspace.js +2 -0
  787. package/dist/usage-Bc0YY_ka.js +569 -0
  788. package/dist/usage-CoQXs5nW.d.ts +22 -0
  789. package/dist/usage-index-CMMT4cXQ.js +335 -0
  790. package/dist/version-DDRL_OYz.js +1080 -0
  791. package/dist/vue-router-C68IU1jM.d.ts +1914 -0
  792. package/dist/web-container/connect.d.ts +1 -0
  793. package/dist/web-container/connect.js +2 -0
  794. package/dist/web-container/env.d.ts +1 -0
  795. package/dist/web-container/env.js +2 -0
  796. package/dist/web-container/snapshot.d.ts +1 -0
  797. package/dist/web-container/snapshot.js +2 -0
  798. package/dist/web-container.d.ts +1 -0
  799. package/dist/web-container.js +2 -0
  800. package/dist/webhooks/database.d.ts +1 -0
  801. package/dist/webhooks/database.js +2 -0
  802. package/dist/webhooks/operations.d.ts +1 -0
  803. package/dist/webhooks/operations.js +2 -0
  804. package/dist/webhooks/runtime.d.ts +1 -0
  805. package/dist/webhooks/runtime.js +2 -0
  806. package/dist/webhooks.d.ts +1 -0
  807. package/dist/webhooks.js +2 -0
  808. package/dist/workflow/openworkflow.d.ts +1 -0
  809. package/dist/workflow/openworkflow.js +2 -0
  810. package/dist/workspace/blob-database.d.ts +1 -0
  811. package/dist/workspace/blob-database.js +2 -0
  812. package/dist/workspace/checkout.d.ts +1 -0
  813. package/dist/workspace/checkout.js +2 -0
  814. package/dist/workspace/files.d.ts +1 -0
  815. package/dist/workspace/files.js +2 -0
  816. package/dist/workspace/lineage.d.ts +1 -0
  817. package/dist/workspace/lineage.js +2 -0
  818. package/dist/workspace-history-CeVwBB6Q.d.ts +52 -0
  819. package/dist/workspace-history-l47NPVSy.js +248 -0
  820. package/package.json +1320 -207
  821. package/dist/_internal/agent/cloudflare/state.d.ts +0 -1
  822. package/dist/_internal/agent/cloudflare/state.js +0 -2
  823. package/dist/_internal/agent/cloudflare.d.ts +0 -1
  824. package/dist/_internal/agent/cloudflare.js +0 -2
  825. package/dist/_internal/agent/eve.d.ts +0 -1
  826. package/dist/_internal/agent/eve.js +0 -2
  827. package/dist/_internal/agent/runtime/workflow.d.ts +0 -1
  828. package/dist/_internal/agent/runtime/workflow.js +0 -2
  829. package/dist/_internal/agent/server/internal.d.ts +0 -1
  830. package/dist/_internal/agent/server/internal.js +0 -2
  831. package/dist/_internal/agent/server/workspace.d.ts +0 -1
  832. package/dist/_internal/agent/server/workspace.js +0 -2
  833. package/dist/_internal/agent/server.d.ts +0 -1
  834. package/dist/_internal/agent/server.js +0 -2
  835. package/dist/_internal/agent/state/sqlite.d.ts +0 -1
  836. package/dist/_internal/agent/state/sqlite.js +0 -2
  837. package/dist/_internal/agent.d.ts +0 -1
  838. package/dist/_internal/agent.js +0 -2
  839. package/dist/_internal/blob/runtime/state.d.ts +0 -1
  840. package/dist/_internal/blob/runtime/state.js +0 -2
  841. package/dist/_internal/blob.d.ts +0 -1
  842. package/dist/_internal/blob.js +0 -2
  843. package/dist/_internal/database/runtime/state.d.ts +0 -4
  844. package/dist/_internal/database/runtime/state.js +0 -5
  845. package/dist/_internal/kv/runtime/disabled-upstash.d.ts +0 -4
  846. package/dist/_internal/kv/runtime/disabled-upstash.js +0 -6
  847. package/dist/_internal/kv.d.ts +0 -1
  848. package/dist/_internal/kv.js +0 -2
  849. package/dist/_internal/markdown-template.d.ts +0 -2
  850. package/dist/_internal/markdown-template.js +0 -2
  851. package/dist/_internal/rate-limit/runtime.d.ts +0 -1
  852. package/dist/_internal/rate-limit/runtime.js +0 -2
  853. package/dist/_internal/sandbox/runtime/state.d.ts +0 -1
  854. package/dist/_internal/sandbox/runtime/state.js +0 -2
  855. package/dist/_internal/schedule/runtime/driver.d.ts +0 -1
  856. package/dist/_internal/schedule/runtime/driver.js +0 -2
  857. package/dist/_internal/schedule/runtime/process.d.ts +0 -1
  858. package/dist/_internal/schedule/runtime/process.js +0 -2
  859. package/dist/_internal/schedule/runtime/static.d.ts +0 -1
  860. package/dist/_internal/schedule/runtime/static.js +0 -2
  861. package/dist/_internal/schedule/runtime.d.ts +0 -1
  862. package/dist/_internal/schedule/runtime.js +0 -2
  863. package/dist/_internal/schedule.d.ts +0 -1
  864. package/dist/_internal/schedule.js +0 -2
  865. package/dist/_internal/workflow/runtime/cloudflare-runner.d.ts +0 -1
  866. package/dist/_internal/workflow/runtime/cloudflare-runner.js +0 -2
  867. package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +0 -1
  868. package/dist/_internal/workflow/runtime/cloudflare-vite.js +0 -2
  869. package/dist/_internal/workflow/runtime/execute.d.ts +0 -1
  870. package/dist/_internal/workflow/runtime/execute.js +0 -2
  871. package/dist/_internal/workflow/runtime/state.d.ts +0 -1
  872. package/dist/_internal/workflow/runtime/state.js +0 -2
  873. package/dist/_internal/workflow/runtime/vercel-vite.d.ts +0 -1
  874. package/dist/_internal/workflow/runtime/vercel-vite.js +0 -2
  875. package/dist/_internal/workflow.d.ts +0 -1
  876. package/dist/_internal/workflow.js +0 -2
  877. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.d.ts +0 -1
  878. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.js +0 -2
  879. package/dist/_internal/workspace/internal/runtime/hosted.d.ts +0 -1
  880. package/dist/_internal/workspace/internal/runtime/hosted.js +0 -2
  881. package/dist/_internal/workspace/internal/runtime/state.d.ts +0 -1
  882. package/dist/_internal/workspace/internal/runtime/state.js +0 -2
  883. package/dist/_internal/workspace/runtime.d.ts +0 -1
  884. package/dist/_internal/workspace/runtime.js +0 -2
  885. package/dist/_internal/workspace.d.ts +0 -1
  886. package/dist/_internal/workspace.js +0 -2
  887. package/dist/agent/invocations/sqlite.d.ts +0 -1
  888. package/dist/agent/invocations/sqlite.js +0 -2
  889. package/dist/agent/runtime/process.d.ts +0 -1
  890. package/dist/agent/runtime/process.js +0 -2
  891. package/dist/agent/state/sqlite.d.ts +0 -1
  892. package/dist/agent/state/sqlite.js +0 -2
  893. package/dist/agents-DGL-2SS3.js +0 -53
  894. package/dist/blob/content-type.d.ts +0 -1
  895. package/dist/blob/content-type.js +0 -2
  896. package/dist/blob-_CeYUuZh.d.ts +0 -8
  897. package/dist/box.d.ts +0 -1
  898. package/dist/box.js +0 -2
  899. package/dist/browser/actions.d.ts +0 -1
  900. package/dist/browser/actions.js +0 -2
  901. package/dist/console/runtime/client/time.d.ts +0 -4
  902. package/dist/console/runtime/client/time.js +0 -8
  903. package/dist/console/runtime/components/console-brand.vue +0 -37
  904. package/dist/console/runtime/components/console-health-model.ts +0 -54
  905. package/dist/console/runtime/components/console-health.vue +0 -236
  906. package/dist/console/runtime/components/console-primitive-switcher.vue +0 -69
  907. package/dist/console/runtime/components/console-provider.vue +0 -12
  908. package/dist/console/runtime/pages/agents.vue +0 -58
  909. package/dist/console/runtime/pages/blob.vue +0 -30
  910. package/dist/console/runtime/pages/databases.vue +0 -67
  911. package/dist/console/runtime/pages/index.vue +0 -29
  912. package/dist/console/runtime/pages/kv.vue +0 -68
  913. package/dist/console/runtime/pages/queues.vue +0 -30
  914. package/dist/console/runtime/pages/rate-limits.vue +0 -30
  915. package/dist/console/runtime/pages/sandboxes.vue +0 -27
  916. package/dist/console/runtime/pages/schedules.vue +0 -30
  917. package/dist/console/runtime/pages/workflows.vue +0 -30
  918. package/dist/console/runtime/pages/workspaces.vue +0 -30
  919. package/dist/console/runtime/public/console/chunks/ChatMessage-CVruGJWM.js +0 -1
  920. package/dist/console/runtime/public/console/chunks/ChatPrompt-BmTjPf5_.js +0 -1
  921. package/dist/console/runtime/public/console/chunks/ChatPromptSubmit-DcxguvaS.js +0 -1
  922. package/dist/console/runtime/public/console/chunks/ChatReasoning-DIMO2K2F.js +0 -1
  923. package/dist/console/runtime/public/console/chunks/ChatShimmer-C613EbHI.js +0 -1
  924. package/dist/console/runtime/public/console/chunks/ChatTool-DDmc-ZK6.js +0 -1
  925. package/dist/console/runtime/public/console/chunks/Collapsible-C0CXnWpw.js +0 -1
  926. package/dist/console/runtime/public/console/chunks/CollapsibleTrigger-CmJucLnT.js +0 -1
  927. package/dist/console/runtime/public/console/chunks/Icon-D-AnqCok.js +0 -1
  928. package/dist/console/runtime/public/console/chunks/abap-LtYK6g-v-CLvhMVsD.js +0 -1
  929. package/dist/console/runtime/public/console/chunks/actionscript-3-Czo0lKSf--17pq3dv.js +0 -1
  930. package/dist/console/runtime/public/console/chunks/ada-twHwrVWN-C5qYipkI.js +0 -1
  931. package/dist/console/runtime/public/console/chunks/andromeeda-DnSv6o6l-vGVdxbeo.js +0 -1
  932. package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +0 -1
  933. package/dist/console/runtime/public/console/chunks/angular-html-Ct-40ew8-D8X9MCxo.js +0 -1
  934. package/dist/console/runtime/public/console/chunks/angular-html-DTyieMYv.js +0 -1
  935. package/dist/console/runtime/public/console/chunks/angular-ts-D3gV1N-x.js +0 -1
  936. package/dist/console/runtime/public/console/chunks/angular-ts-D6akBVit-CAEqTior.js +0 -1
  937. package/dist/console/runtime/public/console/chunks/apache-BIl2qPOf-U0d_L8uA.js +0 -1
  938. package/dist/console/runtime/public/console/chunks/apex-BkQQFAhi-VAyPSnFM.js +0 -1
  939. package/dist/console/runtime/public/console/chunks/apl-Cxjn4xYu-QUZjoXcb.js +0 -1
  940. package/dist/console/runtime/public/console/chunks/applescript-CJ80B5XJ-CCn79oCD.js +0 -1
  941. package/dist/console/runtime/public/console/chunks/ara-IxnQjO6j-4CJ0cIlV.js +0 -1
  942. package/dist/console/runtime/public/console/chunks/asciidoc-Dsw6zvwf-DE70LPWp.js +0 -1
  943. package/dist/console/runtime/public/console/chunks/asm-wBDSgBbA-Cmm7eHzH.js +0 -1
  944. package/dist/console/runtime/public/console/chunks/astro-BPVTb8uX-BMHg0UsI.js +0 -1
  945. package/dist/console/runtime/public/console/chunks/astro-CLAWI0Fn.js +0 -1
  946. package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +0 -1
  947. package/dist/console/runtime/public/console/chunks/aurora-x-XJ5I8rFc-CDeNXAV0.js +0 -1
  948. package/dist/console/runtime/public/console/chunks/awk-D6dA05Ye-BWXHIvNe.js +0 -1
  949. package/dist/console/runtime/public/console/chunks/ayu-dark-CBRGL64--DluEY0Gj.js +0 -1
  950. package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +0 -1
  951. package/dist/console/runtime/public/console/chunks/ayu-light-BlrCS3Ih-C3h-C4tm.js +0 -1
  952. package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +0 -1
  953. package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +0 -1
  954. package/dist/console/runtime/public/console/chunks/ayu-mirage-CqpTmLcF-Bqwy1Gya.js +0 -1
  955. package/dist/console/runtime/public/console/chunks/ballerina-DIdXD2KH-B7ZEbQpA.js +0 -1
  956. package/dist/console/runtime/public/console/chunks/bat-hQslfzu--Bo4NYOV-.js +0 -1
  957. package/dist/console/runtime/public/console/chunks/beancount-CXtOQ8oS-D-usSTwE.js +0 -1
  958. package/dist/console/runtime/public/console/chunks/berry-CgA2ea0_-DKpUyyne.js +0 -1
  959. package/dist/console/runtime/public/console/chunks/bibtex-BzgdqG3s-Ci_nEsc7.js +0 -1
  960. package/dist/console/runtime/public/console/chunks/bicep-CZ338dSk-CUHmPFLl.js +0 -1
  961. package/dist/console/runtime/public/console/chunks/bird2-GLyzhwkD-C6vDhewU.js +0 -1
  962. package/dist/console/runtime/public/console/chunks/blade-0LMawyyw-CZBPwR53.js +0 -1
  963. package/dist/console/runtime/public/console/chunks/blade-CP_mgflB.js +0 -1
  964. package/dist/console/runtime/public/console/chunks/bsl-0NWGiiFE-mk7PqslV.js +0 -1
  965. package/dist/console/runtime/public/console/chunks/bundle-web-DTJmdyvB.js +0 -13
  966. package/dist/console/runtime/public/console/chunks/c-BhmuwSav.js +0 -1
  967. package/dist/console/runtime/public/console/chunks/c-Dc0_AVM6-CjS7AEt5.js +0 -1
  968. package/dist/console/runtime/public/console/chunks/c3-BLXk7BLN-BFHwR3_K.js +0 -1
  969. package/dist/console/runtime/public/console/chunks/cadence-B1ELWULD-CQ2zXKGN.js +0 -1
  970. package/dist/console/runtime/public/console/chunks/cairo-DjG4M3vq-xb-J0v0e.js +0 -1
  971. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-3VR1Za6u.js +0 -1
  972. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-COUg_LSX-3VR1Za6u.js +0 -1
  973. package/dist/console/runtime/public/console/chunks/catppuccin-latte-DwIHMF0Q.js +0 -1
  974. package/dist/console/runtime/public/console/chunks/catppuccin-latte-r30LFfsa-DwIHMF0Q.js +0 -1
  975. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-D-EwZyPh-DYnBP6_5.js +0 -1
  976. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-DYnBP6_5.js +0 -1
  977. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-C6RD5yh3-DYhrFGRu.js +0 -1
  978. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DYhrFGRu.js +0 -1
  979. package/dist/console/runtime/public/console/chunks/chunk-DK3Fl9T5.js +0 -1
  980. package/dist/console/runtime/public/console/chunks/clarity-2iIoRiLx-SemFz856.js +0 -1
  981. package/dist/console/runtime/public/console/chunks/clojure-DDsQ0FaV-DqKBuwfJ.js +0 -1
  982. package/dist/console/runtime/public/console/chunks/cmake-DPsCB_V6-Bj61d0ZC.js +0 -1
  983. package/dist/console/runtime/public/console/chunks/cobol-CocL1RYn-DoHa8rFw.js +0 -1
  984. package/dist/console/runtime/public/console/chunks/codeowners-CxEKPWu0-C8r90Shi.js +0 -1
  985. package/dist/console/runtime/public/console/chunks/codeql-BwdvwJnv-oeQT6MSM.js +0 -1
  986. package/dist/console/runtime/public/console/chunks/coffee-DtqnQNu5-Ca3s2Keu.js +0 -1
  987. package/dist/console/runtime/public/console/chunks/coffee-PUiKoj8Q.js +0 -1
  988. package/dist/console/runtime/public/console/chunks/common-lisp-DJtwvW4V-Cv5bFMCO.js +0 -1
  989. package/dist/console/runtime/public/console/chunks/coq-Ds6Ye5el-BrsZFFmf.js +0 -1
  990. package/dist/console/runtime/public/console/chunks/cpp-CxycoGSa.js +0 -1
  991. package/dist/console/runtime/public/console/chunks/cpp-Mb4ikSI3-tLY9dtiu.js +0 -1
  992. package/dist/console/runtime/public/console/chunks/crystal-D4OMbAh_-C9omPlZ-.js +0 -1
  993. package/dist/console/runtime/public/console/chunks/csharp-CFKaLbHg-oqKa8noW.js +0 -1
  994. package/dist/console/runtime/public/console/chunks/css-DLlZbWMi.js +0 -1
  995. package/dist/console/runtime/public/console/chunks/css-DTzmO9U0-CbxoEllx.js +0 -1
  996. package/dist/console/runtime/public/console/chunks/csv-DqIVFkK7-Dx-8-gkx.js +0 -1
  997. package/dist/console/runtime/public/console/chunks/csv-Dx-8-gkx.js +0 -1
  998. package/dist/console/runtime/public/console/chunks/cue-B5KneM5p-CE9AQfxI.js +0 -1
  999. package/dist/console/runtime/public/console/chunks/cypher-D8Bb8Cq2-ClKdZ_lG.js +0 -1
  1000. package/dist/console/runtime/public/console/chunks/d-BQY8TDgQ-qD-0Kul2.js +0 -1
  1001. package/dist/console/runtime/public/console/chunks/dark-plus-BCxGtnt0-Cs2F2srj.js +0 -1
  1002. package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +0 -1
  1003. package/dist/console/runtime/public/console/chunks/dart-C6DUdjib-CnvKMtbv.js +0 -1
  1004. package/dist/console/runtime/public/console/chunks/dax-S-Noo-ku-BkyTk9wS.js +0 -1
  1005. package/dist/console/runtime/public/console/chunks/desktop-BgOb7Aj4-Dlh5hvp9.js +0 -1
  1006. package/dist/console/runtime/public/console/chunks/diff-Blb4MjsC-woXpYk--.js +0 -1
  1007. package/dist/console/runtime/public/console/chunks/docker-PC1tuYpa-IyjqRm3v.js +0 -1
  1008. package/dist/console/runtime/public/console/chunks/dotenv-Dkdv7Sm2-_5a1GRtc.js +0 -1
  1009. package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +0 -1
  1010. package/dist/console/runtime/public/console/chunks/dracula-fPErIccy-BHWKrbxM.js +0 -1
  1011. package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +0 -1
  1012. package/dist/console/runtime/public/console/chunks/dracula-soft-BrQbqXs8-5eyTD99u.js +0 -1
  1013. package/dist/console/runtime/public/console/chunks/dream-maker-CngiPd8U-DW3nJb8Q.js +0 -1
  1014. package/dist/console/runtime/public/console/chunks/edge-DrFNu-N9-BY3pzybO.js +0 -1
  1015. package/dist/console/runtime/public/console/chunks/elixir-OpZyQ8Ht-CwWfuiQ1.js +0 -1
  1016. package/dist/console/runtime/public/console/chunks/elm-CjX_545P-Dn-DqM39.js +0 -1
  1017. package/dist/console/runtime/public/console/chunks/emacs-lisp-DxhFFVu_-B4R74twV.js +0 -1
  1018. package/dist/console/runtime/public/console/chunks/erb-trZRdc47-DRBdWH-D.js +0 -1
  1019. package/dist/console/runtime/public/console/chunks/erlang-BJeTH9QH-BfDtvnHZ.js +0 -1
  1020. package/dist/console/runtime/public/console/chunks/everforest-dark-gTeBQCos-sB-x3p7T.js +0 -1
  1021. package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +0 -1
  1022. package/dist/console/runtime/public/console/chunks/everforest-light-DUjxsp-2-Df2xbC6M.js +0 -1
  1023. package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +0 -1
  1024. package/dist/console/runtime/public/console/chunks/fennel-B3wtZRne-DQxkIbk2.js +0 -1
  1025. package/dist/console/runtime/public/console/chunks/fish-D7qAeWQz-BJitypiv.js +0 -1
  1026. package/dist/console/runtime/public/console/chunks/fluent-BjfpB34g-C03EYrpw.js +0 -1
  1027. package/dist/console/runtime/public/console/chunks/fortran-fixed-form-B_eBTsj9-C2-rkbip.js +0 -1
  1028. package/dist/console/runtime/public/console/chunks/fortran-free-form-yxJ7igsv-CYNrtFtB.js +0 -1
  1029. package/dist/console/runtime/public/console/chunks/fsharp-UvrT6oWG-LCdvSpj6.js +0 -1
  1030. package/dist/console/runtime/public/console/chunks/gdresource-Dl9wvKCd-C3MGX-jo.js +0 -1
  1031. package/dist/console/runtime/public/console/chunks/gdscript-jjgTGGzd-Cp2uCuqX.js +0 -1
  1032. package/dist/console/runtime/public/console/chunks/gdshader-D7JfdFV3-CBce3t8t.js +0 -1
  1033. package/dist/console/runtime/public/console/chunks/genie-DnK2KWIP-CV2tkWYe.js +0 -1
  1034. package/dist/console/runtime/public/console/chunks/gherkin-D6Lr12YQ-DExj1W_8.js +0 -1
  1035. package/dist/console/runtime/public/console/chunks/git-commit-2LMniMoO-CfgJCLX7.js +0 -1
  1036. package/dist/console/runtime/public/console/chunks/git-rebase-DUOURRPN-DbPsFIae.js +0 -1
  1037. package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +0 -1
  1038. package/dist/console/runtime/public/console/chunks/github-dark-Dg1hl_QD-C-LZuMrd.js +0 -1
  1039. package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.js +0 -1
  1040. package/dist/console/runtime/public/console/chunks/github-dark-default-Dym2P842-DXG-b-1a.js +0 -1
  1041. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-7iDMx266-Bx1FflLF.js +0 -1
  1042. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +0 -1
  1043. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +0 -1
  1044. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-DkV2fyPG-B_tTalzw.js +0 -1
  1045. package/dist/console/runtime/public/console/chunks/github-light-BQKYgor9-EUqPIrTm.js +0 -1
  1046. package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +0 -1
  1047. package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +0 -1
  1048. package/dist/console/runtime/public/console/chunks/github-light-default-BZhIfzqQ-BXViO-2h.js +0 -1
  1049. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +0 -1
  1050. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-C7zHfx4C-B68TUdTA.js +0 -1
  1051. package/dist/console/runtime/public/console/chunks/gleam-CTllUdfC-CSRkHgEL.js +0 -1
  1052. package/dist/console/runtime/public/console/chunks/glimmer-js-D_32hFh8-Dv_1Q6fk.js +0 -1
  1053. package/dist/console/runtime/public/console/chunks/glimmer-ts-CVt002zd-PmMLyqBp.js +0 -1
  1054. package/dist/console/runtime/public/console/chunks/glsl-8MDrjpMp.js +0 -1
  1055. package/dist/console/runtime/public/console/chunks/glsl-pHhzolba-D3h1XPFw.js +0 -1
  1056. package/dist/console/runtime/public/console/chunks/gn-DDjbVPF4-ilITqXS6.js +0 -1
  1057. package/dist/console/runtime/public/console/chunks/gnuplot-DgWvVXI8-7GGW24-e.js +0 -1
  1058. package/dist/console/runtime/public/console/chunks/go-aXtTCanQ-rLFTqkRN.js +0 -1
  1059. package/dist/console/runtime/public/console/chunks/graphql-BjqekQIR-CtUxCAnJ.js +0 -1
  1060. package/dist/console/runtime/public/console/chunks/graphql-C4iAGs1_.js +0 -1
  1061. package/dist/console/runtime/public/console/chunks/groovy-Bw2Ku4bU-CacY0gHj.js +0 -1
  1062. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +0 -1
  1063. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-CQiwpF03-C820rvS2.js +0 -1
  1064. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BKe6XKBS-BPjhmG05.js +0 -1
  1065. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +0 -1
  1066. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-Cz6U6pa4-MrdJrrXF.js +0 -1
  1067. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +0 -1
  1068. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +0 -1
  1069. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-DgU_i19B-BC_s9l72.js +0 -1
  1070. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +0 -1
  1071. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-D64I06ER-BAWPOn9u.js +0 -1
  1072. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-B-YxAs1L-BSMLrYjP.js +0 -1
  1073. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +0 -1
  1074. package/dist/console/runtime/public/console/chunks/hack-BITNGzgt-BwY4KWmq.js +0 -1
  1075. package/dist/console/runtime/public/console/chunks/haml-BJGeH8A5.js +0 -1
  1076. package/dist/console/runtime/public/console/chunks/haml-DVwRP8W9-C4Ue42xj.js +0 -1
  1077. package/dist/console/runtime/public/console/chunks/handlebars-OC1LcHwO.js +0 -1
  1078. package/dist/console/runtime/public/console/chunks/handlebars-T3TJj8Il-BLQCwuJT.js +0 -1
  1079. package/dist/console/runtime/public/console/chunks/haskell-CfGsE1Cf-D8IpX4py.js +0 -1
  1080. package/dist/console/runtime/public/console/chunks/haxe-B0odltAZ-OTjmBuCE.js +0 -1
  1081. package/dist/console/runtime/public/console/chunks/hcl-DHg_Osgo-Dh228itO.js +0 -1
  1082. package/dist/console/runtime/public/console/chunks/hjson-Cuaphql8-CxZEssPk.js +0 -1
  1083. package/dist/console/runtime/public/console/chunks/hlsl-BJLUNfne-Cvrh5tZx.js +0 -1
  1084. package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +0 -1
  1085. package/dist/console/runtime/public/console/chunks/horizon-DYoumREk-CE9ld1lL.js +0 -1
  1086. package/dist/console/runtime/public/console/chunks/horizon-bright-CPyV7XIA-DSNQnXHK.js +0 -1
  1087. package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +0 -1
  1088. package/dist/console/runtime/public/console/chunks/houston-B3NWfq0V-CsvMBhTu.js +0 -1
  1089. package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +0 -1
  1090. package/dist/console/runtime/public/console/chunks/html-CamevgpM-BbT95zHF.js +0 -1
  1091. package/dist/console/runtime/public/console/chunks/html-Cs160JwT.js +0 -1
  1092. package/dist/console/runtime/public/console/chunks/html-derivative-GiQ9zDJU.js +0 -1
  1093. package/dist/console/runtime/public/console/chunks/html-derivative-jMOJf6rB-Kh3SdD3S.js +0 -1
  1094. package/dist/console/runtime/public/console/chunks/http-BEHztmFP-BxphIJE7.js +0 -1
  1095. package/dist/console/runtime/public/console/chunks/http-Cgwuv9UR.js +0 -1
  1096. package/dist/console/runtime/public/console/chunks/hurl-DMKCZZMv.js +0 -1
  1097. package/dist/console/runtime/public/console/chunks/hurl-LmFBxrwm-CGo4dqUD.js +0 -1
  1098. package/dist/console/runtime/public/console/chunks/hxml-BQ4V4Tez-BaHUc7lX.js +0 -1
  1099. package/dist/console/runtime/public/console/chunks/hy-CJKxDzbh-CZbG8q4J.js +0 -1
  1100. package/dist/console/runtime/public/console/chunks/imba-96qKoJCa-DsUTQ-LC.js +0 -1
  1101. package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +0 -1
  1102. package/dist/console/runtime/public/console/chunks/ini-C24lZfdM-B5eOa1yu.js +0 -1
  1103. package/dist/console/runtime/public/console/chunks/java-CUcXVav_.js +0 -1
  1104. package/dist/console/runtime/public/console/chunks/java-Cfowl-Ex-BnGnzH2k.js +0 -1
  1105. package/dist/console/runtime/public/console/chunks/javascript-C4sF7sej-B29qPxDa.js +0 -1
  1106. package/dist/console/runtime/public/console/chunks/javascript-DrVpc-sp.js +0 -1
  1107. package/dist/console/runtime/public/console/chunks/jinja-C17UUgXU.js +0 -1
  1108. package/dist/console/runtime/public/console/chunks/jinja-CCAEwzP4-PaInFpq5.js +0 -1
  1109. package/dist/console/runtime/public/console/chunks/jison-BKCoBkyT-BRL7eVgb.js +0 -1
  1110. package/dist/console/runtime/public/console/chunks/jison-ByjIV4zh.js +0 -1
  1111. package/dist/console/runtime/public/console/chunks/json-E4f3l6hr-DuNL0Aj9.js +0 -1
  1112. package/dist/console/runtime/public/console/chunks/json-qhed-kSA.js +0 -1
  1113. package/dist/console/runtime/public/console/chunks/json5-BR5RXkoi.js +0 -1
  1114. package/dist/console/runtime/public/console/chunks/json5-xULSgPQI-BR5RXkoi.js +0 -1
  1115. package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +0 -1
  1116. package/dist/console/runtime/public/console/chunks/jsonc-Cu6rqcrJ-CYpm1nAK.js +0 -1
  1117. package/dist/console/runtime/public/console/chunks/jsonl-Bp0qqr10-CmCQp5Yx.js +0 -1
  1118. package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +0 -1
  1119. package/dist/console/runtime/public/console/chunks/jsonnet-BafgE6cE-CJTPZ8u_.js +0 -1
  1120. package/dist/console/runtime/public/console/chunks/jssm-Dx5A5sBR-DXw9l8Rf.js +0 -1
  1121. package/dist/console/runtime/public/console/chunks/jsx-BZjOirBP-Dga5sQe3.js +0 -1
  1122. package/dist/console/runtime/public/console/chunks/jsx-C-HlKHLe.js +0 -1
  1123. package/dist/console/runtime/public/console/chunks/julia-Ca_tGyZB.js +0 -1
  1124. package/dist/console/runtime/public/console/chunks/julia-nEdJo0dp-CJRta6ZT.js +0 -1
  1125. package/dist/console/runtime/public/console/chunks/just-Brtw3q7S-DmytbepJ.js +0 -1
  1126. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-CXtmUGW6.js +0 -1
  1127. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DExkuQAs-CXtmUGW6.js +0 -1
  1128. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BN08jTvb.js +0 -1
  1129. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-qdYh7_RY-BN08jTvb.js +0 -1
  1130. package/dist/console/runtime/public/console/chunks/kanagawa-wave-CSW_hADG-CTweb8Dz.js +0 -1
  1131. package/dist/console/runtime/public/console/chunks/kanagawa-wave-CTweb8Dz.js +0 -1
  1132. package/dist/console/runtime/public/console/chunks/kdl-DkTyxPcj-CsD5j6eV.js +0 -1
  1133. package/dist/console/runtime/public/console/chunks/kotlin-BHE8CoV9-DhhofPvG.js +0 -1
  1134. package/dist/console/runtime/public/console/chunks/kusto-6FdaWTzR-C7mF5XQf.js +0 -1
  1135. package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +0 -1
  1136. package/dist/console/runtime/public/console/chunks/laserwave-DkfjiLxA-C_8bwKvT.js +0 -1
  1137. package/dist/console/runtime/public/console/chunks/latex-QHQNiZDD-fcyJN6QK.js +0 -1
  1138. package/dist/console/runtime/public/console/chunks/lean-BwOKScIt-CewbzKMR.js +0 -1
  1139. package/dist/console/runtime/public/console/chunks/less-BzbdhFUi-DVTAwKKz.js +0 -1
  1140. package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +0 -1
  1141. package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +0 -1
  1142. package/dist/console/runtime/public/console/chunks/light-plus-DuO6rXxZ-DVQuIRkW.js +0 -1
  1143. package/dist/console/runtime/public/console/chunks/liquid-DYQ7uW5u-JGNMHTpg.js +0 -1
  1144. package/dist/console/runtime/public/console/chunks/llvm-uY68ROGz-Cm23YOpf.js +0 -1
  1145. package/dist/console/runtime/public/console/chunks/log-Dad54gsi-BNLmms1o.js +0 -1
  1146. package/dist/console/runtime/public/console/chunks/logo-DTXV8SKw-Cluzi2Zq.js +0 -1
  1147. package/dist/console/runtime/public/console/chunks/lua-BhkUWs1q-CVcL4bwV.js +0 -1
  1148. package/dist/console/runtime/public/console/chunks/luau-YC4aaMmR-FMPmPwt6.js +0 -1
  1149. package/dist/console/runtime/public/console/chunks/make-B2ukzWs3-Dixweg8N.js +0 -1
  1150. package/dist/console/runtime/public/console/chunks/markdown-BYOwaDjH.js +0 -1
  1151. package/dist/console/runtime/public/console/chunks/markdown-CkmxmzqY-BYOwaDjH.js +0 -1
  1152. package/dist/console/runtime/public/console/chunks/marko-BHWvxp04-U7nYXRKW.js +0 -1
  1153. package/dist/console/runtime/public/console/chunks/marko-DmV4Eg2F.js +0 -1
  1154. package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +0 -1
  1155. package/dist/console/runtime/public/console/chunks/material-theme-C_YrwKEa-Bm3Qr25_.js +0 -1
  1156. package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +0 -1
  1157. package/dist/console/runtime/public/console/chunks/material-theme-darker-DB3YVCla-2IIEA8gg.js +0 -1
  1158. package/dist/console/runtime/public/console/chunks/material-theme-lighter-D2fgNrBK-uhdI0v04.js +0 -1
  1159. package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +0 -1
  1160. package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +0 -1
  1161. package/dist/console/runtime/public/console/chunks/material-theme-ocean-DVy172Rs-CHQ94UKr.js +0 -1
  1162. package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +0 -1
  1163. package/dist/console/runtime/public/console/chunks/material-theme-palenight-uMMwIfpG-B5W6OYN7.js +0 -1
  1164. package/dist/console/runtime/public/console/chunks/matlab-CfRK6IMC-D7qyCx1q.js +0 -1
  1165. package/dist/console/runtime/public/console/chunks/mdc-BVkdQPZX.js +0 -1
  1166. package/dist/console/runtime/public/console/chunks/mdc-Dg7VPYLa-CshLRYP7.js +0 -1
  1167. package/dist/console/runtime/public/console/chunks/mdx-BK9ZufRc-DQZ5AkYe.js +0 -1
  1168. package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.js +0 -1
  1169. package/dist/console/runtime/public/console/chunks/mermaid-r7OoIYpE-Bk4SNUv9.js +0 -1
  1170. package/dist/console/runtime/public/console/chunks/min-dark-BSWPekZh.js +0 -1
  1171. package/dist/console/runtime/public/console/chunks/min-dark-C7Ec8I_2-BSWPekZh.js +0 -1
  1172. package/dist/console/runtime/public/console/chunks/min-light-Be6foA7m-DDpmG2fV.js +0 -1
  1173. package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +0 -1
  1174. package/dist/console/runtime/public/console/chunks/mipsasm-EL46Y4Xg-BMqwQI7S.js +0 -1
  1175. package/dist/console/runtime/public/console/chunks/mojo-YCzvCoMT-BgCJLMeH.js +0 -1
  1176. package/dist/console/runtime/public/console/chunks/monokai-CREPpJ3k-CdkpiU2Y.js +0 -1
  1177. package/dist/console/runtime/public/console/chunks/monokai-CdkpiU2Y.js +0 -1
  1178. package/dist/console/runtime/public/console/chunks/moonbit-B_9L5rST-CaWjb8XO.js +0 -1
  1179. package/dist/console/runtime/public/console/chunks/move-Dqi5fhOb-B1IS1UjX.js +0 -1
  1180. package/dist/console/runtime/public/console/chunks/narrat-D9rrR0H5-_X_XdTYD.js +0 -1
  1181. package/dist/console/runtime/public/console/chunks/nextflow-CgUAk9iA-CTMUe4Ca.js +0 -1
  1182. package/dist/console/runtime/public/console/chunks/nextflow-groovy-CdFFX-gF-DJMQeKeT.js +0 -1
  1183. package/dist/console/runtime/public/console/chunks/nginx-Q-E8IJvs-DiQO9reH.js +0 -1
  1184. package/dist/console/runtime/public/console/chunks/night-owl-CqqbiLON-DhmEMT88.js +0 -1
  1185. package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +0 -1
  1186. package/dist/console/runtime/public/console/chunks/night-owl-light-B9vYgGRt-eJ-hLW7d.js +0 -1
  1187. package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +0 -1
  1188. package/dist/console/runtime/public/console/chunks/nim-CNcTuF14-W9Ucwkhx.js +0 -1
  1189. package/dist/console/runtime/public/console/chunks/nix-Bm1Ax-Z3-IvuFDN5E.js +0 -1
  1190. package/dist/console/runtime/public/console/chunks/nord-BZ9DVmcN-Cb4Vim4T.js +0 -1
  1191. package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.js +0 -1
  1192. package/dist/console/runtime/public/console/chunks/nushell-r7hBzeS_-DcLAeLz5.js +0 -1
  1193. package/dist/console/runtime/public/console/chunks/objective-c-6dJF64Dt-D1A_Heim.js +0 -1
  1194. package/dist/console/runtime/public/console/chunks/objective-cpp-_ooRQ-PY-BsSzOQcm.js +0 -1
  1195. package/dist/console/runtime/public/console/chunks/ocaml-vm1Y8An6-O90oeIOV.js +0 -1
  1196. package/dist/console/runtime/public/console/chunks/odin-vjOJSyfV-B1RWQWA5.js +0 -1
  1197. package/dist/console/runtime/public/console/chunks/one-dark-pro-CLwyXe_n.js +0 -1
  1198. package/dist/console/runtime/public/console/chunks/one-dark-pro-Ev8UPkf4-CLwyXe_n.js +0 -1
  1199. package/dist/console/runtime/public/console/chunks/one-light-CzxBC38_-D7Lr4KcI.js +0 -1
  1200. package/dist/console/runtime/public/console/chunks/one-light-D7Lr4KcI.js +0 -1
  1201. package/dist/console/runtime/public/console/chunks/openscad-jn-f1Ocl-BUDT5pXO.js +0 -1
  1202. package/dist/console/runtime/public/console/chunks/pascal-D8-gNZ2I-4ZHwLPI5.js +0 -1
  1203. package/dist/console/runtime/public/console/chunks/perl-Bbgb6Twx-CHGXAzGq.js +0 -1
  1204. package/dist/console/runtime/public/console/chunks/php-CBOR45_G-D5pyod9R.js +0 -1
  1205. package/dist/console/runtime/public/console/chunks/php-J5BBb-PR.js +0 -1
  1206. package/dist/console/runtime/public/console/chunks/pierre-code-view-DYpF5M8R-BiohFcCD.js +0 -1511
  1207. package/dist/console/runtime/public/console/chunks/pierre-dark-DDWDl8g6-CpLgRqie.js +0 -1
  1208. package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +0 -1
  1209. package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +0 -1
  1210. package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +0 -1
  1211. package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +0 -1
  1212. package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +0 -1
  1213. package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +0 -1
  1214. package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +0 -1
  1215. package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +0 -1
  1216. package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +0 -1
  1217. package/dist/console/runtime/public/console/chunks/pkl-C7lWzykI-ot-7Btpt.js +0 -1
  1218. package/dist/console/runtime/public/console/chunks/plastic-BGkJ2das-DQwYfKfQ.js +0 -1
  1219. package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +0 -1
  1220. package/dist/console/runtime/public/console/chunks/plsql-DCNXypXO-DGHpHOYJ.js +0 -1
  1221. package/dist/console/runtime/public/console/chunks/po-IjpR1yHO-BiJDBrnU.js +0 -1
  1222. package/dist/console/runtime/public/console/chunks/poimandres-CpnMgZuc-DRFjx7u4.js +0 -1
  1223. package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +0 -1
  1224. package/dist/console/runtime/public/console/chunks/polar-4pN1JrJ8-C7UOKdEL.js +0 -1
  1225. package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +0 -1
  1226. package/dist/console/runtime/public/console/chunks/postcss-D1gKt4z_-BXeXVLqQ.js +0 -1
  1227. package/dist/console/runtime/public/console/chunks/powerquery-SrvS_NBM-DNMTfnFr.js +0 -1
  1228. package/dist/console/runtime/public/console/chunks/powershell-CpTLv_ai-DshXNtvi.js +0 -1
  1229. package/dist/console/runtime/public/console/chunks/prisma-BWfa4-tI-BsRQq5mF.js +0 -1
  1230. package/dist/console/runtime/public/console/chunks/prolog-Bacii3Ue-iXnhIJG7.js +0 -1
  1231. package/dist/console/runtime/public/console/chunks/proto-ClkOcAW0-DB4EqR-F.js +0 -1
  1232. package/dist/console/runtime/public/console/chunks/pug-CfJcGJfh.js +0 -1
  1233. package/dist/console/runtime/public/console/chunks/pug-Cn_U_o_I-Cw4zFEpZ.js +0 -1
  1234. package/dist/console/runtime/public/console/chunks/puppet-CQlPp728-CDv2pdJW.js +0 -1
  1235. package/dist/console/runtime/public/console/chunks/purescript-CLpaGMbw-9MfHhQsQ.js +0 -1
  1236. package/dist/console/runtime/public/console/chunks/python-BjnOIxPe-gzcpVVnB.js +0 -1
  1237. package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +0 -1
  1238. package/dist/console/runtime/public/console/chunks/qml-DNlrbxJT-B_IzAFFX.js +0 -1
  1239. package/dist/console/runtime/public/console/chunks/qmldir-Dz8ttxjf-DCQb3MpD.js +0 -1
  1240. package/dist/console/runtime/public/console/chunks/qss-Iltvkn1C-Fe1Jh2GI.js +0 -1
  1241. package/dist/console/runtime/public/console/chunks/r-Dzep-lPg.js +0 -1
  1242. package/dist/console/runtime/public/console/chunks/r-VqTZMNY_-EnO4GoeC.js +0 -1
  1243. package/dist/console/runtime/public/console/chunks/racket-DRv7j6nv-DcIDlBhZ.js +0 -1
  1244. package/dist/console/runtime/public/console/chunks/raku-DI9yGpeW-B3gFvitq.js +0 -1
  1245. package/dist/console/runtime/public/console/chunks/razor-Bw2un3e8-CtGvw0jo.js +0 -1
  1246. package/dist/console/runtime/public/console/chunks/red-CJ3rzSJv.js +0 -1
  1247. package/dist/console/runtime/public/console/chunks/red-EHiRGXSv-CJ3rzSJv.js +0 -1
  1248. package/dist/console/runtime/public/console/chunks/reg-DpJf71oO-CRGYupPL.js +0 -1
  1249. package/dist/console/runtime/public/console/chunks/regexp-5HbFqwky-C3xQXL6t.js +0 -1
  1250. package/dist/console/runtime/public/console/chunks/regexp-R83qIIH_.js +0 -1
  1251. package/dist/console/runtime/public/console/chunks/rel-BT0iIKKw-BtDbiS_P.js +0 -1
  1252. package/dist/console/runtime/public/console/chunks/riscv-CvzikGLb-Ckw8ddFX.js +0 -1
  1253. package/dist/console/runtime/public/console/chunks/ron-DzAo6FTJ-VUp2lXgN.js +0 -1
  1254. package/dist/console/runtime/public/console/chunks/rose-pine-BthvhNj6.js +0 -1
  1255. package/dist/console/runtime/public/console/chunks/rose-pine-DTI-z1Qp-BthvhNj6.js +0 -1
  1256. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-BIiGXpWs-Dg85fqjY.js +0 -1
  1257. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-Dg85fqjY.js +0 -1
  1258. package/dist/console/runtime/public/console/chunks/rose-pine-moon-DU4wt90U-hon4tzzS.js +0 -1
  1259. package/dist/console/runtime/public/console/chunks/rose-pine-moon-hon4tzzS.js +0 -1
  1260. package/dist/console/runtime/public/console/chunks/rosmsg-CyYq6XdT-CAekHB0j.js +0 -1
  1261. package/dist/console/runtime/public/console/chunks/rst-BZPDb03W-BDIwqmQR.js +0 -1
  1262. package/dist/console/runtime/public/console/chunks/ruby-BbVp0_gQ-BUOn3oxT.js +0 -1
  1263. package/dist/console/runtime/public/console/chunks/rust-COBzcmTx-Cfkwpbl8.js +0 -1
  1264. package/dist/console/runtime/public/console/chunks/sas-DSkdG4wF-BE4zxtJ7.js +0 -1
  1265. package/dist/console/runtime/public/console/chunks/sass-DI2zJwx7-DXrisJhu.js +0 -1
  1266. package/dist/console/runtime/public/console/chunks/sass-DXrisJhu.js +0 -1
  1267. package/dist/console/runtime/public/console/chunks/scala-CtSYTRYT-DKOlJaKm.js +0 -1
  1268. package/dist/console/runtime/public/console/chunks/scheme-D3A2QBtM-DQCgrYNe.js +0 -1
  1269. package/dist/console/runtime/public/console/chunks/scss-BQ7uffpQ-D2aPazKS.js +0 -1
  1270. package/dist/console/runtime/public/console/chunks/scss-DTeHeodw.js +0 -1
  1271. package/dist/console/runtime/public/console/chunks/sdbl-CdQg5gu1-bTVj8UrX.js +0 -1
  1272. package/dist/console/runtime/public/console/chunks/shaderlab-CWP9wBCf-C6U2tjWC.js +0 -1
  1273. package/dist/console/runtime/public/console/chunks/shellscript-B42c0JAn-D5OxpxEd.js +0 -1
  1274. package/dist/console/runtime/public/console/chunks/shellscript-CLZ0U2zV.js +0 -1
  1275. package/dist/console/runtime/public/console/chunks/shellsession-Oc9-NqAv-C1K_F4Is.js +0 -1
  1276. package/dist/console/runtime/public/console/chunks/slack-dark-BS2AOOdo-DnToyrRv.js +0 -1
  1277. package/dist/console/runtime/public/console/chunks/slack-dark-DnToyrRv.js +0 -1
  1278. package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +0 -1
  1279. package/dist/console/runtime/public/console/chunks/slack-ochin-Nc7Cucwk-B2OO5cIa.js +0 -1
  1280. package/dist/console/runtime/public/console/chunks/smalltalk-BEQkVl4K-B16xEiuN.js +0 -1
  1281. package/dist/console/runtime/public/console/chunks/snazzy-light-4G7pJPwS.js +0 -1
  1282. package/dist/console/runtime/public/console/chunks/snazzy-light-C2ghKZXY-4G7pJPwS.js +0 -1
  1283. package/dist/console/runtime/public/console/chunks/solarized-dark-DV17i1UV.js +0 -1
  1284. package/dist/console/runtime/public/console/chunks/solarized-dark-UHgjRWhr-DV17i1UV.js +0 -1
  1285. package/dist/console/runtime/public/console/chunks/solarized-light-B-Zcwve2-DSh2HLQt.js +0 -1
  1286. package/dist/console/runtime/public/console/chunks/solarized-light-DSh2HLQt.js +0 -1
  1287. package/dist/console/runtime/public/console/chunks/solidity-lB9VjfB9-CKzVLygQ.js +0 -1
  1288. package/dist/console/runtime/public/console/chunks/soy-tgh9u9aW-Cm_LtJoW.js +0 -1
  1289. package/dist/console/runtime/public/console/chunks/sparql-B4t0ZbEe-CXgkFCv7.js +0 -1
  1290. package/dist/console/runtime/public/console/chunks/splunk-xP_ZjUH2-BC2Px7Mm.js +0 -1
  1291. package/dist/console/runtime/public/console/chunks/sql-C7n9abzK.js +0 -1
  1292. package/dist/console/runtime/public/console/chunks/sql-CrPlEQn4-COghB3-E.js +0 -1
  1293. package/dist/console/runtime/public/console/chunks/ssh-config-DXFPABYp-BgfXC-Er.js +0 -1
  1294. package/dist/console/runtime/public/console/chunks/stata-D_KqT8cj-oQQpG6t_.js +0 -1
  1295. package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.js +0 -1
  1296. package/dist/console/runtime/public/console/chunks/stylus-ZZDn1yUO-B6D30XZt.js +0 -1
  1297. package/dist/console/runtime/public/console/chunks/surrealql-C0KhgoyZ-DqXNFH_A.js +0 -1
  1298. package/dist/console/runtime/public/console/chunks/svelte-CRpWSJAY.js +0 -1
  1299. package/dist/console/runtime/public/console/chunks/svelte-DuHT0xxw-Bs0TxuUS.js +0 -1
  1300. package/dist/console/runtime/public/console/chunks/swift-BTPQlRLK-DonLKvLd.js +0 -1
  1301. package/dist/console/runtime/public/console/chunks/synthwave-84-CPtGYwOz-nFMaYfgc.js +0 -1
  1302. package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +0 -1
  1303. package/dist/console/runtime/public/console/chunks/system-verilog-BEoxaBuU-DJ5XKQeo.js +0 -1
  1304. package/dist/console/runtime/public/console/chunks/systemd-DFbUltlW-BxMlprV5.js +0 -1
  1305. package/dist/console/runtime/public/console/chunks/talonscript-CLxaFu-b-CohzipZa.js +0 -1
  1306. package/dist/console/runtime/public/console/chunks/tasl-_AAbKiWM-DMoTqEGO.js +0 -1
  1307. package/dist/console/runtime/public/console/chunks/tcl-DLe0Tsfm-CZd0xW_V.js +0 -1
  1308. package/dist/console/runtime/public/console/chunks/templ-DF54artD-BPb_zNLV.js +0 -1
  1309. package/dist/console/runtime/public/console/chunks/terraform-v0KN9QQh-DswuEJGm.js +0 -1
  1310. package/dist/console/runtime/public/console/chunks/tex-Bbhb8xAP-9R8lE_en.js +0 -1
  1311. package/dist/console/runtime/public/console/chunks/tokyo-night-BKYoawWu-oM2G3aXe.js +0 -1
  1312. package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +0 -1
  1313. package/dist/console/runtime/public/console/chunks/toml-B7BHZIqX-CcmNWLt0.js +0 -1
  1314. package/dist/console/runtime/public/console/chunks/ts-tags-DH1AB-Ri-CgEe3BFX.js +0 -1
  1315. package/dist/console/runtime/public/console/chunks/ts-tags-DJjZLMnt.js +0 -1
  1316. package/dist/console/runtime/public/console/chunks/tsv-BorGVq2Z-sltzmVWM.js +0 -1
  1317. package/dist/console/runtime/public/console/chunks/tsx-B7QamQLF.js +0 -1
  1318. package/dist/console/runtime/public/console/chunks/tsx-BR8s1Lhs-DiW36VFk.js +0 -1
  1319. package/dist/console/runtime/public/console/chunks/turtle-BEG5g_eT-ByJddavk.js +0 -1
  1320. package/dist/console/runtime/public/console/chunks/tv-WsfYJXat.js +0 -1
  1321. package/dist/console/runtime/public/console/chunks/twig-DziFF7iU-DLOFbR4k.js +0 -1
  1322. package/dist/console/runtime/public/console/chunks/typescript-D8TR6ff2-CCKRkaRI.js +0 -1
  1323. package/dist/console/runtime/public/console/chunks/typescript-DzLO-qqB.js +0 -1
  1324. package/dist/console/runtime/public/console/chunks/typespec-C_R5TbvO-BRdr0IET.js +0 -1
  1325. package/dist/console/runtime/public/console/chunks/typst-BV9w0z8--DI99ib-x.js +0 -1
  1326. package/dist/console/runtime/public/console/chunks/v-DfbeXLo8-DETTlOr0.js +0 -1
  1327. package/dist/console/runtime/public/console/chunks/vala-BnnASFsX-zf12oZj6.js +0 -1
  1328. package/dist/console/runtime/public/console/chunks/vb-DU29mvss-Djn5o6TS.js +0 -1
  1329. package/dist/console/runtime/public/console/chunks/verilog-BW5U03XW-CiiDBU1e.js +0 -1
  1330. package/dist/console/runtime/public/console/chunks/vesper-ClvmKzqD-DdrHHSXu.js +0 -1
  1331. package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +0 -1
  1332. package/dist/console/runtime/public/console/chunks/vhdl-Co2XFKY7-BroJfC0k.js +0 -1
  1333. package/dist/console/runtime/public/console/chunks/viml-BReTXeDA-DvXPmvsu.js +0 -1
  1334. package/dist/console/runtime/public/console/chunks/vitesse-black-BY6Qtyq--fwtXNY1n.js +0 -1
  1335. package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +0 -1
  1336. package/dist/console/runtime/public/console/chunks/vitesse-dark-BT-v_EgR-BZCL-v6S.js +0 -1
  1337. package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +0 -1
  1338. package/dist/console/runtime/public/console/chunks/vitesse-light-Box8ZFz6-VbXTXTou.js +0 -1
  1339. package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +0 -1
  1340. package/dist/console/runtime/public/console/chunks/vue-BRy8iDCZ-CL7P9CNz.js +0 -1
  1341. package/dist/console/runtime/public/console/chunks/vue-CQQ6_PvN.js +0 -1
  1342. package/dist/console/runtime/public/console/chunks/vue-html-B24bjO_3-BY2skbNe.js +0 -1
  1343. package/dist/console/runtime/public/console/chunks/vue-html-Ce5SCNOK.js +0 -1
  1344. package/dist/console/runtime/public/console/chunks/vue-vine-DKH1_YEZ.js +0 -1
  1345. package/dist/console/runtime/public/console/chunks/vue-vine-l7O7Mg81-CFWzX3HC.js +0 -1
  1346. package/dist/console/runtime/public/console/chunks/vue.runtime.esm-bundler-COh-O3z7.js +0 -3
  1347. package/dist/console/runtime/public/console/chunks/vyper-C6KGx0YU-CgoNMtux.js +0 -1
  1348. package/dist/console/runtime/public/console/chunks/wasm-BRCjOXGL-BnjxR4X6.js +0 -1
  1349. package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +0 -1
  1350. package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +0 -1
  1351. package/dist/console/runtime/public/console/chunks/wasm-gNIKwGlD-ByWQv1Qj.js +0 -1
  1352. package/dist/console/runtime/public/console/chunks/wenyan-BeysbCrW-C8pVoKbM.js +0 -1
  1353. package/dist/console/runtime/public/console/chunks/wgsl-1s5rV5xS-BsKzXJz4.js +0 -1
  1354. package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +0 -1
  1355. package/dist/console/runtime/public/console/chunks/wikitext-wjhjmmzD-ClFFjSW2.js +0 -1
  1356. package/dist/console/runtime/public/console/chunks/wit-CeQiCbz_-DdvCle-K.js +0 -1
  1357. package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +0 -1
  1358. package/dist/console/runtime/public/console/chunks/wolfram-CcZPfnLd-DLL8P-h_.js +0 -1
  1359. package/dist/console/runtime/public/console/chunks/xml-CduVPlYa-BZCwbgEk.js +0 -1
  1360. package/dist/console/runtime/public/console/chunks/xml-G-voesMw.js +0 -1
  1361. package/dist/console/runtime/public/console/chunks/xsl-BeH_vLTK-DeKk-5KU.js +0 -1
  1362. package/dist/console/runtime/public/console/chunks/yaml-Cb0uRU1q-CkSC4c4u.js +0 -1
  1363. package/dist/console/runtime/public/console/chunks/yaml-rwi0_p6S.js +0 -1
  1364. package/dist/console/runtime/public/console/chunks/zenscript-BoijL7rl-BnlCZFoB.js +0 -1
  1365. package/dist/console/runtime/public/console/chunks/zig-lTQvxhLD-CMLA9XwU.js +0 -1
  1366. package/dist/console/runtime/public/console/console-Bwq3z75a.css +0 -3
  1367. package/dist/console/runtime/public/console/console-Cl-xrMah.js +0 -1371
  1368. package/dist/console/runtime/server/blob.get.d.ts +0 -25
  1369. package/dist/console/runtime/server/blob.get.js +0 -74
  1370. package/dist/console/runtime/server/devframe.d.ts +0 -13
  1371. package/dist/console/runtime/server/devframe.js +0 -133
  1372. package/dist/console/runtime/server/kv.d.ts +0 -2
  1373. package/dist/console/runtime/server/kv.get.d.ts +0 -24
  1374. package/dist/console/runtime/server/kv.get.js +0 -236
  1375. package/dist/console/runtime/server/kv.js +0 -18
  1376. package/dist/console/runtime/server/page.get.d.ts +0 -6
  1377. package/dist/console/runtime/server/page.get.js +0 -33
  1378. package/dist/database/drizzle.d.ts +0 -16
  1379. package/dist/database/drizzle.js +0 -9
  1380. package/dist/database-CW-WjW4u.d.ts +0 -8
  1381. package/dist/definitions-BHmB22eM.d.ts +0 -7
  1382. package/dist/definitions-CfSmoS5G.d.ts +0 -17
  1383. package/dist/email/server.d.ts +0 -1
  1384. package/dist/email/server.js +0 -2
  1385. package/dist/env/presets.d.ts +0 -1
  1386. package/dist/env/presets.js +0 -2
  1387. package/dist/env/provider.d.ts +0 -1
  1388. package/dist/env/provider.js +0 -2
  1389. package/dist/env/schema.d.ts +0 -1
  1390. package/dist/env/schema.js +0 -2
  1391. package/dist/env/secret.d.ts +0 -1
  1392. package/dist/env/secret.js +0 -2
  1393. package/dist/index-B072hyCd.d.ts +0 -59
  1394. package/dist/internal-12r-XCbk.d.ts +0 -20
  1395. package/dist/internal-DzLLx0iR.js +0 -304
  1396. package/dist/invocations-qwMRTSy7.js +0 -364
  1397. package/dist/kv-DLGscNQ_.d.ts +0 -8
  1398. package/dist/request-DxBwxGnk.js +0 -72
  1399. package/dist/request-NErg_P5m.d.ts +0 -43
  1400. package/dist/runtime/node.d.ts +0 -1
  1401. package/dist/runtime/node.js +0 -2
  1402. package/dist/schedule/runtime/driver.d.ts +0 -1
  1403. package/dist/schedule/runtime/driver.js +0 -2
  1404. package/dist/search.get-ClTCn-mh.js +0 -100
  1405. package/dist/sections-7HoMOIGH.d.ts +0 -9
  1406. package/dist/sections-DVsqeLAF.d.ts +0 -100
  1407. package/dist/server-BFxDhCzA.d.ts +0 -78
  1408. package/dist/shell/providers/cloudflare.d.ts +0 -1
  1409. package/dist/shell/providers/cloudflare.js +0 -2
  1410. package/dist/source/content/client.d.ts +0 -1
  1411. package/dist/source/content/client.js +0 -2
  1412. package/dist/source/content.d.ts +0 -1
  1413. package/dist/source/content.js +0 -2
  1414. package/dist/source/file.d.ts +0 -1
  1415. package/dist/source/file.js +0 -2
  1416. package/dist/source/github.d.ts +0 -1
  1417. package/dist/source/github.js +0 -2
  1418. package/dist/source/glob.d.ts +0 -1
  1419. package/dist/source/glob.js +0 -2
  1420. package/dist/source/markdown.d.ts +0 -1
  1421. package/dist/source/markdown.js +0 -2
  1422. package/dist/src-XEJGHDr9.js +0 -5247
  1423. package/dist/types-BucGTJnk.js +0 -168
  1424. package/dist/ui/nuxt.d.ts +0 -3
  1425. package/dist/ui/nuxt.js +0 -3
  1426. package/dist/usage-CoZa_8fx.js +0 -361
  1427. package/dist/workspace/collections/client.d.ts +0 -1
  1428. package/dist/workspace/collections/client.js +0 -2
  1429. package/dist/workspace/collections.d.ts +0 -1
  1430. package/dist/workspace/collections.js +0 -2
  1431. package/dist/workspace/publish.d.ts +0 -1
  1432. package/dist/workspace/publish.js +0 -2
@@ -0,0 +1,1914 @@
1
+ import { AllowedComponentProps, AnchorHTMLAttributes, App, Component as Component$1, ComponentCustomProps, ComponentPublicInstance, ComputedRef, DefineComponent, EffectScope, InjectionKey, MaybeRef, Ref, ShallowRef, UnwrapRef, VNode, VNodeProps } from "vue";
2
+ //#region ../../node_modules/.pnpm/vue-router@5.4.0_@voidzero-dev+vite-plus-core@0.3.3_@types+node@24.19.1_esbuild@0.28.2__771eab81e2fd06a479763e79bcb19884/node_modules/vue-router/dist/index-u4XkZVDG.d.ts
3
+ //#region src/experimental/data-loaders/symbols.d.ts
4
+ /**
5
+ * Retrieves the internal version of loaders.
6
+ * @internal
7
+ */
8
+ declare const LOADER_SET_KEY: unique symbol;
9
+ /**
10
+ * Retrieves the internal version of loader entries.
11
+ * @internal
12
+ */
13
+ declare const LOADER_ENTRIES_KEY: unique symbol;
14
+ /**
15
+ * Added to the loaders returned by `defineLoader()` to identify them.
16
+ * Allows to extract exported useData() from a component.
17
+ * @internal
18
+ */
19
+ declare const IS_USE_DATA_LOADER_KEY: unique symbol;
20
+ /**
21
+ * Symbol used to save the pending location on the router.
22
+ * @internal
23
+ */
24
+ declare const PENDING_LOCATION_KEY: unique symbol;
25
+ /**
26
+ * Symbol used to know there is no value staged for the loader and that commit should be skipped.
27
+ * @internal
28
+ */
29
+ declare const STAGED_NO_VALUE: unique symbol;
30
+ /**
31
+ * Gives access to the current app and it's `runWithContext` method.
32
+ * @internal
33
+ */
34
+ declare const APP_KEY: unique symbol;
35
+ /**
36
+ * Gives access to an AbortController that aborts when the navigation is canceled.
37
+ * @internal
38
+ */
39
+ declare const ABORT_CONTROLLER_KEY: unique symbol;
40
+ /**
41
+ * Symbol used to save the initial data on the router.
42
+ * @internal
43
+ */
44
+ declare const IS_SSR_KEY: unique symbol;
45
+ /**
46
+ * Symbol used to get the effect scope used for data loaders.
47
+ * @internal
48
+ */
49
+ declare const DATA_LOADERS_EFFECT_SCOPE_KEY: unique symbol;
50
+ //#endregion
51
+ //#region src/config.d.ts
52
+ /**
53
+ * Allows customizing existing types of the router that are used globally like `$router`, `<RouterLink>`, etc. **ONLY FOR INTERNAL USAGE**.
54
+ *
55
+ * - `Router` - swaps the public {@link Router} type (e.g. to `EXPERIMENTAL_Router`)
56
+ * - `$router` - the router instance
57
+ * - `$route` - the current route location
58
+ * - `beforeRouteEnter` - Page component option
59
+ * - `beforeRouteUpdate` - Page component option
60
+ * - `beforeRouteLeave` - Page component option
61
+ * - `RouterLink` - RouterLink Component
62
+ * - `RouterView` - RouterView Component
63
+ *
64
+ * @internal
65
+ */
66
+ interface TypesConfig {}
67
+ //#endregion
68
+ //#region src/query.d.ts
69
+ /**
70
+ * Possible values in normalized {@link LocationQuery}. `null` renders the query
71
+ * param but without an `=`.
72
+ *
73
+ * @example
74
+ * ```
75
+ * ?isNull&isEmpty=&other=other
76
+ * gives
77
+ * `{ isNull: null, isEmpty: '', other: 'other' }`.
78
+ * ```
79
+ *
80
+ * @internal
81
+ */
82
+ type LocationQueryValue$1 = string | null;
83
+ /**
84
+ * Possible values when defining a query. `undefined` allows to remove a value.
85
+ *
86
+ * @internal
87
+ */
88
+ type LocationQueryValueRaw$1 = LocationQueryValue$1 | number | undefined;
89
+ /**
90
+ * Normalized query object that appears in {@link RouteLocationNormalized}
91
+ *
92
+ * @public
93
+ */
94
+ type LocationQuery$1 = Record<string, LocationQueryValue$1 | LocationQueryValue$1[]>;
95
+ /**
96
+ * Loose {@link LocationQuery} object that can be passed to functions like
97
+ * {@link Router.push} and {@link Router.replace} or anywhere when creating a
98
+ * {@link RouteLocationRaw}
99
+ *
100
+ * @public
101
+ */
102
+ type LocationQueryRaw$1 = Record<string | number, LocationQueryValueRaw$1 | LocationQueryValueRaw$1[]>;
103
+ /**
104
+ * Stringifies a {@link LocationQueryRaw} object. Like `URLSearchParams`, it
105
+ * doesn't prepend a `?`
106
+ *
107
+ * @internal
108
+ *
109
+ * @param query - query object to stringify
110
+ * @returns string version of the query without the leading `?`
111
+ */
112
+ declare function stringifyQuery(query: LocationQueryRaw$1 | undefined): string;
113
+ //#endregion
114
+ //#region src/matcher/types.d.ts
115
+ /**
116
+ * Normalized version of a {@link RouteRecord | route record}.
117
+ */
118
+ interface RouteRecordNormalized {
119
+ /**
120
+ * {@inheritDoc _RouteRecordBase.path}
121
+ */
122
+ path: _RouteRecordBase['path'];
123
+ /**
124
+ * {@inheritDoc _RouteRecordBase.redirect}
125
+ */
126
+ redirect: _RouteRecordBase['redirect'] | undefined;
127
+ /**
128
+ * {@inheritDoc _RouteRecordBase.name}
129
+ */
130
+ name: _RouteRecordBase['name'];
131
+ /**
132
+ * {@inheritDoc RouteRecordMultipleViews.components}
133
+ */
134
+ components: RouteRecordMultipleViews['components'] | null | undefined;
135
+ /**
136
+ * Contains the original modules for lazy loaded components.
137
+ * @internal
138
+ */
139
+ mods: Record<string, unknown>;
140
+ /**
141
+ * Nested route records.
142
+ */
143
+ children: RouteRecordRaw[];
144
+ /**
145
+ * {@inheritDoc _RouteRecordBase.meta}
146
+ */
147
+ meta: Exclude<_RouteRecordBase['meta'], void>;
148
+ /**
149
+ * {@inheritDoc RouteRecordMultipleViews.props}
150
+ */
151
+ props: Record<string, _RouteRecordProps>;
152
+ /**
153
+ * Registered beforeEnter guards
154
+ */
155
+ beforeEnter: _RouteRecordBase['beforeEnter'];
156
+ /**
157
+ * Registered leave guards
158
+ *
159
+ * @internal
160
+ */
161
+ leaveGuards: Set<NavigationGuard>;
162
+ /**
163
+ * Registered update guards
164
+ *
165
+ * @internal
166
+ */
167
+ updateGuards: Set<NavigationGuard>;
168
+ /**
169
+ * Registered beforeRouteEnter callbacks passed to `next` or returned in guards
170
+ *
171
+ * @internal
172
+ */
173
+ enterCallbacks: Record<string, NavigationGuardNextCallback[]>;
174
+ /**
175
+ * Mounted route component instances
176
+ * Having the instances on the record mean beforeRouteUpdate and
177
+ * beforeRouteLeave guards can only be invoked with the latest mounted app
178
+ * instance if there are multiple application instances rendering the same
179
+ * view, basically duplicating the content on the page, which shouldn't happen
180
+ * in practice. It will work if multiple apps are rendering different named
181
+ * views.
182
+ */
183
+ instances: Record<string, ComponentPublicInstance | undefined | null>;
184
+ /**
185
+ * Defines if this record is the alias of another one. This property is
186
+ * `undefined` if the record is the original one.
187
+ */
188
+ aliasOf: RouteRecordNormalized | undefined;
189
+ }
190
+ /**
191
+ * {@inheritDoc RouteRecordNormalized}
192
+ */
193
+ type RouteRecord = RouteRecordNormalized;
194
+ //#endregion
195
+ //#region src/matcher/pathParserRanker.d.ts
196
+ type PathParams = Record<string, string | string[]>;
197
+ /**
198
+ * A param in a url like `/users/:id`
199
+ */
200
+ interface PathParserParamKey {
201
+ name: string;
202
+ repeatable: boolean;
203
+ optional: boolean;
204
+ }
205
+ interface PathParser {
206
+ /**
207
+ * The regexp used to match a url
208
+ */
209
+ re: RegExp;
210
+ /**
211
+ * The score of the parser
212
+ */
213
+ score: Array<number[]>;
214
+ /**
215
+ * Keys that appeared in the path
216
+ */
217
+ keys: PathParserParamKey[];
218
+ /**
219
+ * Parses a url and returns the matched params or null if it doesn't match. An
220
+ * optional param that isn't preset will be an empty string. A repeatable
221
+ * param will be an array if there is at least one value.
222
+ *
223
+ * @param path - url to parse
224
+ * @returns a Params object, empty if there are no params. `null` if there is
225
+ * no match
226
+ */
227
+ parse(path: string): PathParams | null;
228
+ /**
229
+ * Creates a string version of the url
230
+ *
231
+ * @param params - object of params
232
+ * @returns a url
233
+ */
234
+ stringify(params: PathParams): string;
235
+ }
236
+ /**
237
+ * @internal
238
+ */
239
+ interface _PathParserOptions {
240
+ /**
241
+ * Makes the RegExp case-sensitive.
242
+ *
243
+ * @defaultValue `false`
244
+ */
245
+ sensitive?: boolean;
246
+ /**
247
+ * Whether to disallow a trailing slash or not.
248
+ *
249
+ * @defaultValue `false`
250
+ */
251
+ strict?: boolean;
252
+ /**
253
+ * Should the RegExp match from the beginning by prepending a `^` to it.
254
+ * @internal
255
+ *
256
+ * @defaultValue `true`
257
+ */
258
+ start?: boolean;
259
+ /**
260
+ * Should the RegExp match until the end by appending a `$` to it.
261
+ *
262
+ * @deprecated this option will alsways be `true` in the future. Open a discussion in vuejs/router if you need this to be `false`
263
+ *
264
+ * @defaultValue `true`
265
+ */
266
+ end?: boolean;
267
+ }
268
+ type PathParserOptions = Pick<_PathParserOptions, 'end' | 'sensitive' | 'strict'>;
269
+ //#endregion
270
+ //#region src/matcher/pathMatcher.d.ts
271
+ interface RouteRecordMatcher extends PathParser {
272
+ record: RouteRecord;
273
+ parent: RouteRecordMatcher | undefined;
274
+ children: RouteRecordMatcher[];
275
+ alias: RouteRecordMatcher[];
276
+ }
277
+ //#endregion
278
+ //#region src/matcher/index.d.ts
279
+ /**
280
+ * Internal RouterMatcher
281
+ *
282
+ * @internal
283
+ */
284
+ interface RouterMatcher {
285
+ addRoute: (record: RouteRecordRaw, parent?: RouteRecordMatcher) => () => void;
286
+ removeRoute(matcher: RouteRecordMatcher): void;
287
+ removeRoute(name: NonNullable<RouteRecordNameGeneric>): void;
288
+ clearRoutes: () => void;
289
+ getRoutes: () => RouteRecordMatcher[];
290
+ getRecordMatcher: (name: NonNullable<RouteRecordNameGeneric>) => RouteRecordMatcher | undefined;
291
+ /**
292
+ * Resolves a location. Gives access to the route record that corresponds to the actual path as well as filling the corresponding params objects
293
+ *
294
+ * @param location - MatcherLocationRaw to resolve to a url
295
+ * @param currentLocation - MatcherLocation of the current location
296
+ */
297
+ resolve: (location: MatcherLocationRaw, currentLocation: MatcherLocation) => MatcherLocation;
298
+ }
299
+ //#endregion
300
+ //#region src/history/common.d.ts
301
+ type HistoryLocation = string;
302
+ /**
303
+ * Allowed variables in HTML5 history state. Note that pushState clones the state
304
+ * passed and does not accept everything: e.g.: it doesn't accept symbols, nor
305
+ * functions as values. It also ignores Symbols as keys.
306
+ *
307
+ * @internal
308
+ */
309
+ type HistoryStateValue = string | number | boolean | null | undefined | HistoryState | HistoryStateArray;
310
+ /**
311
+ * Allowed HTML history.state
312
+ */
313
+ interface HistoryState {
314
+ [x: number]: HistoryStateValue;
315
+ [x: string]: HistoryStateValue;
316
+ }
317
+ /**
318
+ * Allowed arrays for history.state.
319
+ *
320
+ * @internal
321
+ */
322
+ interface HistoryStateArray extends Array<HistoryStateValue> {}
323
+ declare enum NavigationType {
324
+ pop = "pop",
325
+ push = "push"
326
+ }
327
+ declare enum NavigationDirection {
328
+ back = "back",
329
+ forward = "forward",
330
+ unknown = ""
331
+ }
332
+ interface NavigationInformation {
333
+ type: NavigationType;
334
+ direction: NavigationDirection;
335
+ delta: number;
336
+ }
337
+ interface NavigationCallback {
338
+ (to: HistoryLocation, from: HistoryLocation, information: NavigationInformation): void;
339
+ }
340
+ /**
341
+ * Interface implemented by History implementations that can be passed to the
342
+ * router as {@link Router.history}
343
+ *
344
+ * @alpha
345
+ */
346
+ interface RouterHistory {
347
+ /**
348
+ * Base path that is prepended to every url. This allows hosting an SPA at a
349
+ * sub-folder of a domain like `example.com/sub-folder` by having a `base` of
350
+ * `/sub-folder`
351
+ */
352
+ readonly base: string;
353
+ /**
354
+ * Current History location
355
+ */
356
+ readonly location: HistoryLocation;
357
+ /**
358
+ * Current History state
359
+ */
360
+ readonly state: HistoryState;
361
+ /**
362
+ * Navigates to a location. In the case of an HTML5 History implementation,
363
+ * this will call `history.pushState` to effectively change the URL.
364
+ *
365
+ * @param to - location to push
366
+ * @param data - optional {@link HistoryState} to be associated with the
367
+ * navigation entry
368
+ */
369
+ push(to: HistoryLocation, data?: HistoryState): void;
370
+ /**
371
+ * Same as {@link RouterHistory.push} but performs a `history.replaceState`
372
+ * instead of `history.pushState`
373
+ *
374
+ * @param to - location to set
375
+ * @param data - optional {@link HistoryState} to be associated with the
376
+ * navigation entry
377
+ */
378
+ replace(to: HistoryLocation, data?: HistoryState): void;
379
+ /**
380
+ * Traverses history in a given direction.
381
+ *
382
+ * @example
383
+ * ```js
384
+ * myHistory.go(-1) // equivalent to window.history.back()
385
+ * myHistory.go(1) // equivalent to window.history.forward()
386
+ * ```
387
+ *
388
+ * @param delta - distance to travel. If delta is \< 0, it will go back,
389
+ * if it's \> 0, it will go forward by that amount of entries.
390
+ * @param triggerListeners - whether this should trigger listeners attached to
391
+ * the history
392
+ */
393
+ go(delta: number, triggerListeners?: boolean): void;
394
+ /**
395
+ * Attach a listener to the History implementation that is triggered when the
396
+ * navigation is triggered from outside (like the Browser back and forward
397
+ * buttons) or when passing `true` to {@link RouterHistory.back} and
398
+ * {@link RouterHistory.forward}
399
+ *
400
+ * @param callback - listener to attach
401
+ * @returns a callback to remove the listener
402
+ */
403
+ listen(callback: NavigationCallback): () => void;
404
+ /**
405
+ * Generates the corresponding href to be used in an anchor tag.
406
+ *
407
+ * @param location - history location that should create an href
408
+ */
409
+ createHref(location: HistoryLocation): string;
410
+ /**
411
+ * Clears any event listener attached by the history implementation.
412
+ */
413
+ destroy(): void;
414
+ }
415
+ //#endregion
416
+ //#region src/errors.d.ts
417
+ /**
418
+ * Flags so we can combine them when checking for multiple errors. This is the internal version of
419
+ * {@link NavigationFailureType}.
420
+ *
421
+ * @internal
422
+ */
423
+ declare const enum ErrorTypes {
424
+ MATCHER_NOT_FOUND = 1,
425
+ NAVIGATION_GUARD_REDIRECT = 2,
426
+ NAVIGATION_ABORTED = 4,
427
+ NAVIGATION_CANCELLED = 8,
428
+ NAVIGATION_DUPLICATED = 16
429
+ }
430
+ /**
431
+ * Extended Error that contains extra information regarding a failed navigation.
432
+ */
433
+ interface NavigationFailure extends Error {
434
+ /**
435
+ * Type of the navigation. One of {@link NavigationFailureType}
436
+ */
437
+ type: ErrorTypes.NAVIGATION_CANCELLED | ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED;
438
+ /**
439
+ * Route location we were navigating from
440
+ */
441
+ from: RouteLocationNormalized;
442
+ /**
443
+ * Route location we were navigating to
444
+ */
445
+ to: RouteLocationNormalized;
446
+ }
447
+ /**
448
+ * Internal type to define an ErrorHandler
449
+ *
450
+ * @param error - error thrown
451
+ * @param to - location we were navigating to when the error happened
452
+ * @param from - location we were navigating from when the error happened
453
+ * @internal
454
+ */
455
+ interface _ErrorListener {
456
+ (error: any, to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded): any;
457
+ }
458
+ //#endregion
459
+ //#region src/experimental/query.d.ts
460
+ /**
461
+ * Possible values in normalized {@link LocationQuery}. `null` renders the query
462
+ * param but without an `=`.
463
+ *
464
+ * @internal
465
+ */
466
+ type LocationQueryValue = string | null;
467
+ /**
468
+ * Normalized query object that appears in {@link RouteLocationNormalized}.
469
+ * Every present key has an array value. `?a` gives `{ a: [null] }`.
470
+ *
471
+ * @public
472
+ */
473
+ type LocationQuery = Record<string, LocationQueryValue[]>;
474
+ /**
475
+ * Transforms a queryString into a {@link LocationQuery} object. Accept both, a
476
+ * version with the leading `?` and without. Uses `Object.create(null)` so the
477
+ * returned object cannot be exploited via prototype pollution.
478
+ *
479
+ * @internal
480
+ *
481
+ * @param search - search string to parse
482
+ * @returns a query object
483
+ */
484
+ declare function experimental_parseQuery(search: string): LocationQuery;
485
+ //#endregion
486
+ //#region src/scrollBehavior.d.ts
487
+ /**
488
+ * Scroll position similar to
489
+ * {@link https://developer.mozilla.org/en-US/docs/Web/API/ScrollToOptions | `ScrollToOptions`}.
490
+ * Note that not all browsers support `behavior`.
491
+ */
492
+ type ScrollPositionCoordinates = {
493
+ behavior?: ScrollOptions['behavior'];
494
+ left?: number;
495
+ top?: number;
496
+ };
497
+ /**
498
+ * Internal normalized version of {@link ScrollPositionCoordinates} that always
499
+ * has `left` and `top` coordinates. Must be a type to be assignable to HistoryStateValue.
500
+ *
501
+ * @internal
502
+ */
503
+ type _ScrollPositionNormalized = {
504
+ behavior?: ScrollOptions['behavior'];
505
+ left: number;
506
+ top: number;
507
+ };
508
+ /**
509
+ * Type of the `scrollBehavior` option that can be passed to `createRouter`.
510
+ */
511
+ interface RouterScrollBehavior {
512
+ /**
513
+ * @param to - Route location where we are navigating to
514
+ * @param from - Route location where we are navigating from
515
+ * @param savedPosition - saved position if it exists, `null` otherwise
516
+ */
517
+ (to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded, savedPosition: _ScrollPositionNormalized | null): Awaitable<ScrollPosition | false | void>;
518
+ }
519
+ interface ScrollPositionElement extends ScrollToOptions {
520
+ /**
521
+ * A valid CSS selector. Note some characters must be escaped in id selectors (https://mathiasbynens.be/notes/css-escapes).
522
+ * @example
523
+ * Here are a few examples:
524
+ *
525
+ * - `.title`
526
+ * - `.content:first-child`
527
+ * - `#marker`
528
+ * - `#marker\~with\~symbols`
529
+ * - `#marker.with.dot`: selects `class="with dot" id="marker"`, not `id="marker.with.dot"`
530
+ *
531
+ */
532
+ el: string | Element;
533
+ }
534
+ type ScrollPosition = ScrollPositionCoordinates | ScrollPositionElement;
535
+ type Awaitable<T> = T | PromiseLike<T>;
536
+ //#endregion
537
+ //#region src/types/utils.d.ts
538
+ /**
539
+ * Creates a union type that still allows autocompletion for strings.
540
+ * @internal
541
+ */
542
+ type _LiteralUnion<LiteralType, BaseType extends string = string> = LiteralType | (BaseType & Record<never, never>);
543
+ /**
544
+ * Maybe a promise maybe not
545
+ * @internal
546
+ */
547
+ type _Awaitable<T> = T | PromiseLike<T>;
548
+ //#endregion
549
+ //#region src/experimental/router.d.ts
550
+ /**
551
+ * Options to initialize a {@link Router} instance.
552
+ */
553
+ interface EXPERIMENTAL_RouterOptions_Base extends PathParserOptions {
554
+ /**
555
+ * History implementation used by the router. Most web applications should use
556
+ * `createWebHistory` but it requires the server to be properly configured.
557
+ * You can also use a _hash_ based history with `createWebHashHistory` that
558
+ * does not require any configuration on the server but isn't handled at all
559
+ * by search engines and does poorly on SEO.
560
+ *
561
+ * @example
562
+ * ```js
563
+ * createRouter({
564
+ * history: createWebHistory(),
565
+ * // other options...
566
+ * })
567
+ * ```
568
+ */
569
+ history: RouterHistory;
570
+ /**
571
+ * Function to control scrolling when navigating between pages. Can return a
572
+ * Promise to delay scrolling.
573
+ *
574
+ * @see {@link RouterScrollBehavior}.
575
+ *
576
+ * @example
577
+ * ```js
578
+ * function scrollBehavior(to, from, savedPosition) {
579
+ * // `to` and `from` are both route locations
580
+ * // `savedPosition` can be null if there isn't one
581
+ * }
582
+ * ```
583
+ *
584
+ * @deprecated Use `ScrollRestoration` and `useScrollRestoration()` from
585
+ * `vue-router/experimental` instead. See the
586
+ * [migration guide](https://router.vuejs.org/experimental/scroll-restoration.html#migrating-from-scrollbehavior).
587
+ */
588
+ scrollBehavior?: RouterScrollBehavior;
589
+ /**
590
+ * Custom implementation to parse a query. See its counterpart,
591
+ * {@link EXPERIMENTAL_RouterOptions_Base.stringifyQuery}.
592
+ *
593
+ * @example
594
+ * Let's say you want to use the [qs package](https://github.com/ljharb/qs)
595
+ * to parse queries, you can provide both `parseQuery` and `stringifyQuery`:
596
+ * ```js
597
+ * import qs from 'qs'
598
+ *
599
+ * createRouter({
600
+ * // other options...
601
+ * parseQuery: qs.parse,
602
+ * stringifyQuery: qs.stringify,
603
+ * })
604
+ * ```
605
+ *
606
+ * @deprecated this option is ignored in favor of using a custom resolver
607
+ * that handles query parsing and adds a `$query` property to the params. See
608
+ * the [TODO: migration guide](https://router.vuejs.org/experimental/query-parsing.html#migrating-from-parsequery-and-stringifyquery).
609
+ */
610
+ parseQuery?: typeof experimental_parseQuery;
611
+ /**
612
+ * Custom implementation to stringify a query object. Should not prepend a leading `?`.
613
+ * {@link parseQuery} counterpart to handle query parsing.
614
+ */
615
+ stringifyQuery?: typeof stringifyQuery;
616
+ /**
617
+ * Default class applied to active {@link RouterLink}. If none is provided,
618
+ * `router-link-active` will be applied.
619
+ */
620
+ linkActiveClass?: string;
621
+ /**
622
+ * Default class applied to exact active {@link RouterLink}. If none is provided,
623
+ * `router-link-exact-active` will be applied.
624
+ */
625
+ linkExactActiveClass?: string;
626
+ }
627
+ /**
628
+ * Router base instance.
629
+ *
630
+ * Relative navigation guard redirects are resolved against the target location.
631
+ *
632
+ * @experimental This version is not stable, it's meant to replace {@link Router} in the future.
633
+ */
634
+ interface EXPERIMENTAL_Router_Base<TRecord> extends DataLoaderExtensions {
635
+ /**
636
+ * Current {@link RouteLocationNormalized}
637
+ */
638
+ readonly currentRoute: ShallowRef<RouteLocationNormalizedLoaded>;
639
+ /**
640
+ * Allows turning off the listening of history events. This is a low level api for micro-frontend.
641
+ */
642
+ listening: boolean;
643
+ /**
644
+ * Checks if a route with a given name exists
645
+ *
646
+ * @param name - Name of the route to check
647
+ */
648
+ hasRoute(name: NonNullable<RouteRecordNameGeneric>): boolean;
649
+ /**
650
+ * Get a full list of all the {@link RouteRecord | route records}.
651
+ */
652
+ getRoutes(): TRecord[];
653
+ /**
654
+ * Returns the {@link RouteLocation | normalized version} of a
655
+ * {@link RouteLocationRaw | route location}. Also includes an `href` property
656
+ * that includes any existing `base`. By default, the `currentLocation` used is
657
+ * `router.currentRoute` and should only be overridden in advanced use cases.
658
+ *
659
+ * @param to - Raw route location to resolve
660
+ * @param currentLocation - Optional current location to resolve against
661
+ */
662
+ resolve<Name extends keyof RouteMap = keyof RouteMap>(to: RouteLocationAsRelativeTyped<RouteMap, Name>, currentLocation?: RouteLocationNormalizedLoaded): RouteLocationResolved<Name>;
663
+ resolve(to: RouteLocationAsString | RouteLocationAsRelative | RouteLocationAsPath, currentLocation?: RouteLocationNormalizedLoaded): RouteLocationResolved;
664
+ /**
665
+ * Programmatically navigate to a new URL by pushing an entry in the history
666
+ * stack.
667
+ *
668
+ * @param to - Route location to navigate to
669
+ */
670
+ push(to: RouteLocationRaw): Promise<NavigationFailure | void | undefined>;
671
+ /**
672
+ * Programmatically navigate to a new URL by replacing the current entry in
673
+ * the history stack.
674
+ *
675
+ * @param to - Route location to navigate to
676
+ */
677
+ replace(to: RouteLocationRaw): Promise<NavigationFailure | void | undefined>;
678
+ /**
679
+ * Go back in history if possible by calling `history.back()`. Equivalent to
680
+ * `router.go(-1)`.
681
+ */
682
+ back(): void;
683
+ /**
684
+ * Go forward in history if possible by calling `history.forward()`.
685
+ * Equivalent to `router.go(1)`.
686
+ */
687
+ forward(): void;
688
+ /**
689
+ * Allows you to move forward or backward through the history. Calls
690
+ * `history.go()`.
691
+ *
692
+ * @param delta - The position in the history to which you want to move,
693
+ * relative to the current page
694
+ */
695
+ go(delta: number): void;
696
+ /**
697
+ * Add a navigation guard that executes before any navigation. Returns a
698
+ * function that removes the registered guard.
699
+ *
700
+ * @param guard - navigation guard to add
701
+ */
702
+ beforeEach(guard: NavigationGuardWithThis<undefined>): () => void;
703
+ /**
704
+ * Add a navigation guard that executes before navigation is about to be
705
+ * resolved. At this state all component have been fetched and other
706
+ * navigation guards have been successful. Returns a function that removes the
707
+ * registered guard.
708
+ *
709
+ * @param guard - navigation guard to add
710
+ * @returns a function that removes the registered guard
711
+ *
712
+ * @example
713
+ * ```js
714
+ * router.beforeResolve(to => {
715
+ * if (to.meta.requiresAuth && !isAuthenticated) return false
716
+ * })
717
+ * ```
718
+ *
719
+ */
720
+ beforeResolve(guard: _NavigationGuardResolved): () => void;
721
+ /**
722
+ * Add a navigation hook that is executed after every navigation. Returns a
723
+ * function that removes the registered hook.
724
+ *
725
+ * @param guard - navigation hook to add
726
+ * @returns a function that removes the registered hook
727
+ *
728
+ * @example
729
+ * ```js
730
+ * router.afterEach((to, from, failure) => {
731
+ * if (isNavigationFailure(failure)) {
732
+ * console.log('failed navigation', failure)
733
+ * }
734
+ * })
735
+ * ```
736
+ */
737
+ afterEach(guard: NavigationHookAfter): () => void;
738
+ /**
739
+ * Adds an error handler that is called every time a non caught error happens
740
+ * during navigation. This includes errors thrown synchronously and
741
+ * asynchronously, errors returned or passed to `next` in any navigation
742
+ * guard, and errors occurred when trying to resolve an async component that
743
+ * is required to render a route.
744
+ *
745
+ * @param handler - error handler to register
746
+ */
747
+ onError(handler: _ErrorListener): () => void;
748
+ /**
749
+ * Returns a Promise that resolves when the router has completed the initial
750
+ * navigation, which means it has resolved all async enter hooks and async
751
+ * components that are associated with the initial route. If the initial
752
+ * navigation already happened, the promise resolves immediately.
753
+ *
754
+ * This is useful in server-side rendering to ensure consistent output on both
755
+ * the server and the client. Note that on server side, you need to manually
756
+ * push the initial location while on client side, the router automatically
757
+ * picks it up from the URL.
758
+ */
759
+ isReady(): Promise<void>;
760
+ /**
761
+ * Called automatically by `app.use(router)`. Should not be called manually by
762
+ * the user. This will trigger the initial navigation when on client side.
763
+ *
764
+ * @internal
765
+ * @param app - Application that uses the router
766
+ */
767
+ install(app: App): void;
768
+ }
769
+ //#endregion
770
+ //#region src/router.d.ts
771
+ /**
772
+ * Options to initialize a {@link Router} instance.
773
+ */
774
+ interface RouterOptions extends EXPERIMENTAL_RouterOptions_Base {
775
+ /**
776
+ * Initial list of routes that should be added to the router.
777
+ */
778
+ routes: Readonly<RouteRecordRaw[]>;
779
+ /**
780
+ * Allows Nuxt and SSR apps to pass a prebuilt matcher created with
781
+ * `createRouterMatcher`. Sharing a matcher between routers is only safe when
782
+ * no router mutates it (e.g. via `addRoute`).
783
+ *
784
+ * @internal for Nuxt only
785
+ * @deprecated This is only exposed for Nuxt, it's replaced in the
786
+ * upcoming router by the `resolver` option
787
+ */
788
+ matcher?: RouterMatcher;
789
+ }
790
+ /**
791
+ * Router instance.
792
+ */
793
+ interface RouterClassic extends EXPERIMENTAL_Router_Base<RouteRecordNormalized> {
794
+ /**
795
+ * Original options object passed to create the Router
796
+ */
797
+ readonly options: RouterOptions;
798
+ /**
799
+ * Add a new {@link RouteRecordRaw | route record} as the child of an existing route.
800
+ *
801
+ * @param parentName - Parent Route Record where `route` should be appended at
802
+ * @param route - Route Record to add
803
+ */
804
+ addRoute(parentName: NonNullable<RouteRecordNameGeneric>, route: RouteRecordRaw): () => void;
805
+ /**
806
+ * Add a new {@link RouteRecordRaw | route record} to the router.
807
+ *
808
+ * @param route - Route Record to add
809
+ */
810
+ addRoute(route: RouteRecordRaw): () => void;
811
+ /**
812
+ * Remove an existing route by its name.
813
+ *
814
+ * @param name - Name of the route to remove
815
+ */
816
+ removeRoute(name: NonNullable<RouteRecordNameGeneric>): void;
817
+ /**
818
+ * Delete all routes from the router.
819
+ */
820
+ clearRoutes(): void;
821
+ }
822
+ /**
823
+ * Router instance.
824
+ *
825
+ * By default this resolves to the classic {@link RouterClassic}. Augment
826
+ * {@link TypesConfig} with a `Router` slot to swap the public type.
827
+ *
828
+ * ```ts
829
+ * import { router } from './router'
830
+ * declare module 'vue-router' {
831
+ * interface TypesConfig {
832
+ * Router: typeof router
833
+ * }
834
+ * }
835
+ * ```
836
+ */
837
+ type Router = TypesConfig extends Record<'Router', infer T> ? T : RouterClassic;
838
+ /**
839
+ * TODO: native parsers ideas:
840
+ * - json -> just JSON.parse(value)
841
+ * - boolean -> 'true' | 'false' -> boolean
842
+ * - number -> Number(value) -> NaN if not a number
843
+ */
844
+ //#endregion
845
+ //#region src/experimental/data-loaders/types-config.d.ts
846
+ /**
847
+ * The default error type used for data loaders. Can be customized via {@link TypesConfig}.
848
+ *
849
+ * @example
850
+ * ```ts
851
+ * // types-extension.d.ts
852
+ * import 'vue-router/experimental'
853
+ * export {}
854
+ * declare module 'vue-router/experimental' {
855
+ * interface TypesConfig {
856
+ * Error: MyCustomError
857
+ * }
858
+ * }
859
+ * ```
860
+ *
861
+ * @internal
862
+ */
863
+ type ErrorDefault = TypesConfig extends Record<'Error', infer E> ? E : Error;
864
+ /**
865
+ * Symbol used to store the data in the router so it can be retrieved after the initial navigation.
866
+ * @internal
867
+ */
868
+ declare const SERVER_INITIAL_DATA_KEY: unique symbol;
869
+ /**
870
+ * Initial data generated on server and consumed on client.
871
+ * @internal
872
+ */
873
+ declare const INITIAL_DATA_KEY: unique symbol;
874
+ //#endregion
875
+ //#region src/types/index.d.ts
876
+ type Lazy<T> = () => Promise<T>;
877
+ /**
878
+ * @internal
879
+ */
880
+ type RouteParamValue = string;
881
+ /**
882
+ * @internal
883
+ */
884
+ type RouteParamValueRaw = RouteParamValue | number | null | undefined;
885
+ type RouteParamsGeneric = Record<string, RouteParamValue | RouteParamValue[]>;
886
+ type RouteParamsRawGeneric = Record<string, RouteParamValueRaw | Exclude<RouteParamValueRaw, null | undefined>[]>;
887
+ /**
888
+ * @internal
889
+ */
890
+ interface RouteQueryAndHash {
891
+ query?: LocationQueryRaw$1;
892
+ hash?: string;
893
+ }
894
+ /**
895
+ * @internal
896
+ */
897
+ interface MatcherLocationAsPath {
898
+ path: string;
899
+ }
900
+ /**
901
+ * @internal
902
+ */
903
+ interface MatcherLocationAsName {
904
+ name: RouteRecordNameGeneric;
905
+ /**
906
+ * Ignored path property since we are dealing with a relative location. Only `undefined` is allowed.
907
+ */
908
+ path?: undefined;
909
+ params?: RouteParamsGeneric;
910
+ }
911
+ /**
912
+ * @internal
913
+ */
914
+ interface MatcherLocationAsRelative {
915
+ /**
916
+ * Ignored path property since we are dealing with a relative location. Only `undefined` is allowed.
917
+ */
918
+ path?: undefined;
919
+ params?: RouteParamsGeneric;
920
+ }
921
+ /**
922
+ * Common options for all navigation methods.
923
+ */
924
+ interface RouteLocationOptions {
925
+ /**
926
+ * Replace the entry in the history instead of pushing a new entry
927
+ */
928
+ replace?: boolean;
929
+ /**
930
+ * Triggers the navigation even if the location is the same as the current one.
931
+ * Note this will also add a new entry to the history unless `replace: true`
932
+ * is passed.
933
+ */
934
+ force?: boolean;
935
+ /**
936
+ * State to save using the History API. This cannot contain any reactive
937
+ * values and some primitives like Symbols are forbidden. More info at
938
+ * https://developer.mozilla.org/en-US/docs/Web/API/History/state
939
+ */
940
+ state?: HistoryState;
941
+ }
942
+ interface RouteLocationMatched extends RouteRecordNormalized {
943
+ components: Record<string, RouteComponent> | null | undefined;
944
+ }
945
+ /**
946
+ * Base properties for a normalized route location.
947
+ *
948
+ * @internal
949
+ */
950
+ interface _RouteLocationBase extends Pick<MatcherLocation, 'name' | 'path' | 'params' | 'meta'> {
951
+ /**
952
+ * The whole location including the `search` and `hash`. This string is
953
+ * percentage encoded.
954
+ */
955
+ fullPath: string;
956
+ /**
957
+ * Object representation of the `search` property of the current location.
958
+ */
959
+ query: LocationQuery$1;
960
+ /**
961
+ * Hash of the current location. If present, starts with a `#`.
962
+ */
963
+ hash: string;
964
+ /**
965
+ * Contains the location we were initially trying to access before ending up
966
+ * on the current location.
967
+ */
968
+ redirectedFrom: RouteLocation | undefined;
969
+ }
970
+ /**
971
+ * Allowed Component in {@link RouteLocationMatched}
972
+ */
973
+ type RouteComponent = Component$1 | DefineComponent;
974
+ /**
975
+ * Allowed Component definitions in route records provided by the user
976
+ */
977
+ type RawRouteComponent = RouteComponent | Lazy<RouteComponent>;
978
+ /**
979
+ * Internal type for common properties among all kind of {@link RouteRecordRaw}.
980
+ */
981
+ interface _RouteRecordBase extends PathParserOptions {
982
+ /**
983
+ * Path of the record. Should start with `/` unless the record is the child of
984
+ * another record.
985
+ *
986
+ * @example `/users/:id` matches `/users/1` as well as `/users/posva`.
987
+ */
988
+ path: string;
989
+ /**
990
+ * Where to redirect if the route is directly matched. The redirection happens
991
+ * before any navigation guard and triggers a new navigation with the new
992
+ * target location.
993
+ */
994
+ redirect?: RouteRecordRedirectOption;
995
+ /**
996
+ * Aliases for the record. Allows defining extra paths that will behave like a
997
+ * copy of the record. Allows having paths shorthands like `/users/:id` and
998
+ * `/u/:id`. All `alias` and `path` values must share the same params.
999
+ */
1000
+ alias?: string | string[];
1001
+ /**
1002
+ * Name for the route record. Must be unique.
1003
+ */
1004
+ name?: RouteRecordNameGeneric;
1005
+ /**
1006
+ * Before Enter guard specific to this record. Note `beforeEnter` has no
1007
+ * effect if the record has a `redirect` property.
1008
+ */
1009
+ beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[];
1010
+ /**
1011
+ * Arbitrary data attached to the record.
1012
+ */
1013
+ meta?: RouteMeta;
1014
+ /**
1015
+ * Array of nested routes.
1016
+ */
1017
+ children?: RouteRecordRaw[];
1018
+ /**
1019
+ * Allow passing down params as props to the component rendered by `router-view`.
1020
+ */
1021
+ props?: _RouteRecordProps | Record<string, _RouteRecordProps>;
1022
+ }
1023
+ /**
1024
+ * Interface to type `meta` fields in route records.
1025
+ *
1026
+ * @example
1027
+ *
1028
+ * ```ts
1029
+ * // typings.d.ts or router.ts
1030
+ * import 'vue-router';
1031
+ *
1032
+ * declare module 'vue-router' {
1033
+ * interface RouteMeta {
1034
+ * requiresAuth?: boolean
1035
+ * }
1036
+ * }
1037
+ * ```
1038
+ */
1039
+ interface RouteMeta extends Record<PropertyKey, unknown> {
1040
+ /**
1041
+ * The data loaders for a route record. Add any data loader to this array to
1042
+ * have it called when the route is navigated to. Note this is only needed
1043
+ * when **not** using lazy components (`() => import('./pages/Home.vue')`) or
1044
+ * when not explicitly exporting data loaders from page components.
1045
+ *
1046
+ * This requires the use of the experimental data loaders and is ignored otherwise.
1047
+ *
1048
+ * @see {@link DataLoaderPlugin}
1049
+ */
1050
+ loaders?: UseDataLoader[];
1051
+ /**
1052
+ * Set of loaders for the current route. This is built once during navigation
1053
+ * and is used to merge the loaders from the lazy import in components or the
1054
+ * `loaders` array in the route record.
1055
+ *
1056
+ * @internal
1057
+ */
1058
+ [LOADER_SET_KEY]?: Set<UseDataLoader>;
1059
+ /**
1060
+ * The signal that is aborted when the navigation is canceled or an error
1061
+ * occurs.
1062
+ *
1063
+ * @internal
1064
+ */
1065
+ [ABORT_CONTROLLER_KEY]?: AbortController;
1066
+ }
1067
+ /**
1068
+ * Route Record defining one single component with the `component` option.
1069
+ */
1070
+ interface RouteRecordSingleView extends _RouteRecordBase {
1071
+ /**
1072
+ * Component to display when the URL matches this route.
1073
+ */
1074
+ component: RawRouteComponent;
1075
+ components?: never;
1076
+ children?: never;
1077
+ redirect?: never;
1078
+ /**
1079
+ * Allow passing down params as props to the component rendered by `router-view`.
1080
+ */
1081
+ props?: _RouteRecordProps;
1082
+ }
1083
+ /**
1084
+ * Route Record defining one single component with a nested view. Differently
1085
+ * from {@link RouteRecordSingleView}, this record has children and allows a
1086
+ * `redirect` option.
1087
+ */
1088
+ interface RouteRecordSingleViewWithChildren extends _RouteRecordBase {
1089
+ /**
1090
+ * Component to display when the URL matches this route.
1091
+ */
1092
+ component?: RawRouteComponent | null | undefined;
1093
+ components?: never;
1094
+ children: RouteRecordRaw[];
1095
+ /**
1096
+ * Allow passing down params as props to the component rendered by `router-view`.
1097
+ */
1098
+ props?: _RouteRecordProps;
1099
+ }
1100
+ /**
1101
+ * Route Record defining multiple named components with the `components` option.
1102
+ */
1103
+ interface RouteRecordMultipleViews extends _RouteRecordBase {
1104
+ /**
1105
+ * Components to display when the URL matches this route. Allow using named views.
1106
+ */
1107
+ components: Record<string, RawRouteComponent>;
1108
+ component?: never;
1109
+ children?: never;
1110
+ redirect?: never;
1111
+ /**
1112
+ * Allow passing down params as props to the component rendered by
1113
+ * `router-view`. Should be an object with the same keys as `components` or a
1114
+ * boolean to be applied to every component.
1115
+ */
1116
+ props?: Record<string, _RouteRecordProps> | boolean;
1117
+ }
1118
+ /**
1119
+ * Route Record defining multiple named components with the `components` option and children.
1120
+ */
1121
+ interface RouteRecordMultipleViewsWithChildren extends _RouteRecordBase {
1122
+ /**
1123
+ * Components to display when the URL matches this route. Allow using named views.
1124
+ */
1125
+ components?: Record<string, RawRouteComponent> | null | undefined;
1126
+ component?: never;
1127
+ children: RouteRecordRaw[];
1128
+ /**
1129
+ * Allow passing down params as props to the component rendered by
1130
+ * `router-view`. Should be an object with the same keys as `components` or a
1131
+ * boolean to be applied to every component.
1132
+ */
1133
+ props?: Record<string, _RouteRecordProps> | boolean;
1134
+ }
1135
+ /**
1136
+ * Route Record that defines a redirect. Cannot have `component` or `components`
1137
+ * as it is never rendered.
1138
+ */
1139
+ interface RouteRecordRedirect extends _RouteRecordBase {
1140
+ redirect: RouteRecordRedirectOption;
1141
+ component?: never;
1142
+ components?: never;
1143
+ props?: never;
1144
+ }
1145
+ type RouteRecordRaw = RouteRecordSingleView | RouteRecordSingleViewWithChildren | RouteRecordMultipleViews | RouteRecordMultipleViewsWithChildren | RouteRecordRedirect;
1146
+ /**
1147
+ * Route location that can be passed to the matcher.
1148
+ */
1149
+ type MatcherLocationRaw = MatcherLocationAsPath | MatcherLocationAsName | MatcherLocationAsRelative;
1150
+ /**
1151
+ * Normalized/resolved Route location that returned by the matcher.
1152
+ */
1153
+ interface MatcherLocation {
1154
+ /**
1155
+ * Name of the matched record
1156
+ */
1157
+ name: RouteRecordNameGeneric | null | undefined;
1158
+ /**
1159
+ * Percentage encoded pathname section of the URL.
1160
+ */
1161
+ path: string;
1162
+ /**
1163
+ * Object of decoded params extracted from the `path`.
1164
+ */
1165
+ params: RouteParamsGeneric;
1166
+ /**
1167
+ * Merged `meta` properties from all the matched route records.
1168
+ */
1169
+ meta: RouteMeta;
1170
+ /**
1171
+ * Array of {@link RouteRecord} containing components as they were
1172
+ * passed when adding records. It can also contain redirect records. This
1173
+ * can't be used directly
1174
+ */
1175
+ matched: RouteRecord[];
1176
+ }
1177
+ //#endregion
1178
+ //#region src/typed-routes/route-map.d.ts
1179
+ /**
1180
+ * Helper type to define a Typed `RouteRecord`
1181
+ * @see {@link RouteRecord}
1182
+ */
1183
+ interface RouteRecordInfo<Name extends string | symbol = string, Path extends string = string, ParamsRaw extends RouteParamsRawGeneric = RouteParamsRawGeneric, Params extends RouteParamsGeneric = RouteParamsGeneric, ChildrenNames extends string | symbol = never> {
1184
+ name: Name;
1185
+ path: Path;
1186
+ paramsRaw: ParamsRaw;
1187
+ params: Params;
1188
+ childrenNames: ChildrenNames;
1189
+ }
1190
+ type RouteRecordInfoGeneric = RouteRecordInfo<string | symbol, string, RouteParamsRawGeneric, RouteParamsGeneric, string | symbol>;
1191
+ /**
1192
+ * Convenience type to get the typed RouteMap or a generic one if not provided.
1193
+ * It is extracted from the {@link TypesConfig} if it exists, it becomes
1194
+ * {@link RouteMapGeneric} otherwise.
1195
+ */
1196
+ type RouteMap = TypesConfig extends Record<'RouteNamedMap', infer RouteNamedMap> ? RouteNamedMap : RouteMapGeneric;
1197
+ /**
1198
+ * Generic version of the `RouteMap`.
1199
+ */
1200
+ type RouteMapGeneric = Record<string | symbol, RouteRecordInfoGeneric>;
1201
+ //#endregion
1202
+ //#region src/typed-routes/route-records.d.ts
1203
+ /**
1204
+ * @internal
1205
+ */
1206
+ type RouteRecordRedirectOption = RouteLocationRaw | ((to: RouteLocation, from: RouteLocationNormalizedLoaded) => RouteLocationRaw);
1207
+ /**
1208
+ * Generic version of {@link RouteRecordName}.
1209
+ */
1210
+ type RouteRecordNameGeneric = string | symbol | undefined;
1211
+ /**
1212
+ * @internal
1213
+ */
1214
+ type _RouteRecordProps<Name extends keyof RouteMap = keyof RouteMap> = boolean | Record<string, any> | ((to: RouteLocationNormalized<Name>) => Record<string, any>);
1215
+ //#endregion
1216
+ //#region src/typed-routes/route-location.d.ts
1217
+ /**
1218
+ * Generic version of {@link RouteLocation}. It is used when no {@link RouteMap} is provided.
1219
+ */
1220
+ interface RouteLocationGeneric extends _RouteLocationBase, RouteLocationOptions {
1221
+ /**
1222
+ * Array of {@link RouteRecord} containing components as they were
1223
+ * passed when adding records. It can also contain redirect records. This
1224
+ * can't be used directly. **This property is non-enumerable**.
1225
+ */
1226
+ matched: RouteRecord[];
1227
+ }
1228
+ /**
1229
+ * Helper to generate a type safe version of the {@link RouteLocation} type.
1230
+ */
1231
+ interface RouteLocationTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; }, Name extends keyof RouteMap> extends RouteLocationGeneric {
1232
+ name: Extract<Name, string | symbol>;
1233
+ params: RouteMap[Name]['params'];
1234
+ }
1235
+ /**
1236
+ * List of all possible {@link RouteLocation} indexed by the route name.
1237
+ * @internal
1238
+ */
1239
+ type RouteLocationTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationTyped<RouteMap, N>; };
1240
+ /**
1241
+ * Generic version of {@link RouteLocationNormalized} that is used when no {@link RouteMap} is provided.
1242
+ */
1243
+ interface RouteLocationNormalizedGeneric extends _RouteLocationBase {
1244
+ name: RouteRecordNameGeneric;
1245
+ /**
1246
+ * Array of {@link RouteRecordNormalized}
1247
+ */
1248
+ matched: RouteRecordNormalized[];
1249
+ }
1250
+ /**
1251
+ * Helper to generate a type safe version of the {@link RouteLocationNormalized} type.
1252
+ */
1253
+ interface RouteLocationNormalizedTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric, Name extends keyof RouteMap = keyof RouteMap> extends RouteLocationNormalizedGeneric {
1254
+ name: Extract<Name, string | symbol>;
1255
+ params: RouteMap[Name]['params'];
1256
+ /**
1257
+ * Array of {@link RouteRecordNormalized}
1258
+ */
1259
+ matched: RouteRecordNormalized[];
1260
+ }
1261
+ /**
1262
+ * List of all possible {@link RouteLocationNormalized} indexed by the route name.
1263
+ * @internal
1264
+ */
1265
+ type RouteLocationNormalizedTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationNormalizedTyped<RouteMap, N>; };
1266
+ /**
1267
+ * Generic version of {@link RouteLocationNormalizedLoaded} that is used when no {@link RouteMap} is provided.
1268
+ */
1269
+ interface RouteLocationNormalizedLoadedGeneric extends RouteLocationNormalizedGeneric {
1270
+ /**
1271
+ * Array of {@link RouteLocationMatched} containing only plain components (any
1272
+ * lazy-loaded components have been loaded and were replaced inside the
1273
+ * `components` object) so it can be directly used to display routes. It
1274
+ * cannot contain redirect records either. **This property is non-enumerable**.
1275
+ */
1276
+ matched: RouteLocationMatched[];
1277
+ }
1278
+ /**
1279
+ * Helper to generate a type safe version of the {@link RouteLocationNormalizedLoaded} type.
1280
+ */
1281
+ interface RouteLocationNormalizedLoadedTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric, Name extends keyof RouteMap = keyof RouteMap> extends RouteLocationNormalizedLoadedGeneric {
1282
+ name: Extract<Name, string | symbol>;
1283
+ params: RouteMap[Name]['params'];
1284
+ }
1285
+ /**
1286
+ * List of all possible {@link RouteLocationNormalizedLoaded} indexed by the route name.
1287
+ * @internal
1288
+ */
1289
+ type RouteLocationNormalizedLoadedTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationNormalizedLoadedTyped<RouteMap, N>; };
1290
+ /**
1291
+ * Generic version of {@link RouteLocationAsRelative}. It is used when no {@link RouteMap} is provided.
1292
+ */
1293
+ interface RouteLocationAsRelativeGeneric extends RouteQueryAndHash, RouteLocationOptions {
1294
+ name?: RouteRecordNameGeneric;
1295
+ params?: RouteParamsRawGeneric;
1296
+ /**
1297
+ * A relative path to the current location. This property should be removed
1298
+ */
1299
+ path?: undefined;
1300
+ }
1301
+ /**
1302
+ * Helper to generate a type safe version of the {@link RouteLocationAsRelative} type.
1303
+ */
1304
+ interface RouteLocationAsRelativeTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric, Name extends keyof RouteMap = keyof RouteMap> extends RouteLocationAsRelativeGeneric {
1305
+ name?: Extract<Name, string | symbol>;
1306
+ params?: RouteMap[Name]['paramsRaw'];
1307
+ }
1308
+ /**
1309
+ * List of all possible {@link RouteLocationAsRelative} indexed by the route name.
1310
+ * @internal
1311
+ */
1312
+ type RouteLocationAsRelativeTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationAsRelativeTyped<RouteMap, N>; };
1313
+ /**
1314
+ * Generic version of {@link RouteLocationAsPath}. It is used when no {@link RouteMap} is provided.
1315
+ */
1316
+ interface RouteLocationAsPathGeneric extends RouteQueryAndHash, RouteLocationOptions {
1317
+ /**
1318
+ * Percentage encoded pathname section of the URL.
1319
+ */
1320
+ path: string;
1321
+ }
1322
+ /**
1323
+ * Helper to generate a type safe version of the {@link RouteLocationAsPath} type.
1324
+ */
1325
+ interface RouteLocationAsPathTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric, Name extends keyof RouteMap = keyof RouteMap> extends RouteLocationAsPathGeneric {
1326
+ path: _LiteralUnion<RouteMap[Name]['path']>;
1327
+ }
1328
+ /**
1329
+ * List of all possible {@link RouteLocationAsPath} indexed by the route name.
1330
+ * @internal
1331
+ */
1332
+ type RouteLocationAsPathTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationAsPathTyped<RouteMap, N>; };
1333
+ /**
1334
+ * Helper to generate a type safe version of the {@link RouteLocationAsString} type.
1335
+ */
1336
+ type RouteLocationAsStringTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric, Name extends keyof RouteMap = keyof RouteMap> = RouteMap[Name]['path'];
1337
+ /**
1338
+ * List of all possible {@link RouteLocationAsString} indexed by the route name.
1339
+ * @internal
1340
+ */
1341
+ type RouteLocationAsStringTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationAsStringTyped<RouteMap, N>; };
1342
+ /**
1343
+ * Generic version of {@link RouteLocationResolved}. It is used when no {@link RouteMap} is provided.
1344
+ */
1345
+ interface RouteLocationResolvedGeneric extends RouteLocationGeneric {
1346
+ /**
1347
+ * Resolved `href` for the route location that will be set on the `<a href="...">`.
1348
+ */
1349
+ href: string;
1350
+ }
1351
+ /**
1352
+ * Helper to generate a type safe version of the {@link RouteLocationResolved} type.
1353
+ */
1354
+ interface RouteLocationResolvedTyped<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; }, Name extends keyof RouteMap> extends RouteLocationTyped<RouteMap, Name> {
1355
+ /**
1356
+ * Resolved `href` for the route location that will be set on the `<a href="...">`.
1357
+ */
1358
+ href: string;
1359
+ }
1360
+ /**
1361
+ * List of all possible {@link RouteLocationResolved} indexed by the route name.
1362
+ * @internal
1363
+ */
1364
+ type RouteLocationResolvedTypedList<RouteMap extends { [K in keyof RouteMap]: RouteRecordInfoGeneric; } = RouteMapGeneric> = { [N in keyof RouteMap]: RouteLocationResolvedTyped<RouteMap, N>; };
1365
+ /**
1366
+ * Type safe versions of types that are exposed by vue-router. We have to use a generic check to allow for names to be `undefined` when no `RouteMap` is provided.
1367
+ */
1368
+ /**
1369
+ * {@link RouteLocationRaw} resolved using the matcher
1370
+ */
1371
+ type RouteLocation<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationGeneric : RouteLocationTypedList<RouteMap>[Name];
1372
+ /**
1373
+ * Similar to {@link RouteLocation} but its
1374
+ * {@link RouteLocationNormalizedTyped.matched | `matched` property} cannot contain redirect records
1375
+ */
1376
+ type RouteLocationNormalized<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationNormalizedGeneric : RouteLocationNormalizedTypedList<RouteMap>[Name];
1377
+ /**
1378
+ * Similar to {@link RouteLocationNormalized} but its `components` do not contain any function to lazy load components.
1379
+ * In other words, it's ready to be rendered by `<RouterView>`.
1380
+ */
1381
+ type RouteLocationNormalizedLoaded<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationNormalizedLoadedGeneric : RouteLocationNormalizedLoadedTypedList<RouteMap>[Name];
1382
+ /**
1383
+ * Route location relative to the current location. It accepts other properties than `path` like `params`, `query` and
1384
+ * `hash` to conveniently change them.
1385
+ */
1386
+ type RouteLocationAsRelative<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationAsRelativeGeneric : RouteLocationAsRelativeTypedList<RouteMap>[Name];
1387
+ /**
1388
+ * Route location resolved with {@link Router | `router.resolve()`}.
1389
+ */
1390
+ type RouteLocationResolved<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationResolvedGeneric : RouteLocationResolvedTypedList<RouteMap>[Name];
1391
+ /**
1392
+ * Same as {@link RouteLocationAsPath} but as a string literal.
1393
+ */
1394
+ type RouteLocationAsString<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? string : _LiteralUnion<RouteLocationAsStringTypedList<RouteMap>[Name], string>;
1395
+ /**
1396
+ * Route location as an object with a `path` property.
1397
+ */
1398
+ type RouteLocationAsPath<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationAsPathGeneric : RouteLocationAsPathTypedList<RouteMap>[Name];
1399
+ /**
1400
+ * Route location that can be passed to `router.push()` and other user-facing APIs.
1401
+ */
1402
+ type RouteLocationRaw<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationAsString | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric : _LiteralUnion<RouteLocationAsStringTypedList<RouteMap>[Name], string> | RouteLocationAsRelativeTypedList<RouteMap>[Name] | RouteLocationAsPathTypedList<RouteMap>[Name];
1403
+ //#endregion
1404
+ //#region src/typed-routes/navigation-guards.d.ts
1405
+ /**
1406
+ * Return types for a Navigation Guard. Based on `TypesConfig`
1407
+ *
1408
+ * @see {@link TypesConfig}
1409
+ */
1410
+ type NavigationGuardReturn = void | Error | boolean | RouteLocationRaw;
1411
+ /**
1412
+ * Navigation Guard with a type parameter for `this`.
1413
+ * @see {@link TypesConfig}
1414
+ */
1415
+ interface NavigationGuardWithThis<T> {
1416
+ (this: T, to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded,
1417
+ /**
1418
+ * @deprecated Return a value from the guard instead of calling `next(value)`.
1419
+ * The callback will be removed in a future version of Vue Router.
1420
+ */
1421
+ next: NavigationGuardNext): _Awaitable<NavigationGuardReturn>;
1422
+ }
1423
+ /**
1424
+ * In `router.beforeResolve((to) => {})`, the `to` is typed as `RouteLocationNormalizedLoaded`, not
1425
+ * `RouteLocationNormalized` like in `router.beforeEach()`. In practice it doesn't change much as users do not rely on
1426
+ * the difference between them but if we update the type in vue-router, we will have to update this type too.
1427
+ * @internal
1428
+ */
1429
+ interface _NavigationGuardResolved {
1430
+ (this: undefined, to: RouteLocationNormalizedLoaded, from: RouteLocationNormalizedLoaded,
1431
+ /**
1432
+ * @deprecated Return a value from the guard instead of calling `next(value)`.
1433
+ * The callback will be removed in a future version of Vue Router.
1434
+ */
1435
+ next: NavigationGuardNext): _Awaitable<NavigationGuardReturn>;
1436
+ }
1437
+ /**
1438
+ * Navigation Guard.
1439
+ */
1440
+ interface NavigationGuard {
1441
+ (to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded,
1442
+ /**
1443
+ * @deprecated Return a value from the guard instead of calling `next(value)`.
1444
+ * The callback will be removed in a future version of Vue Router.
1445
+ */
1446
+ next: NavigationGuardNext): _Awaitable<NavigationGuardReturn>;
1447
+ }
1448
+ /**
1449
+ * Navigation hook triggered after a navigation is settled.
1450
+ */
1451
+ interface NavigationHookAfter {
1452
+ (to: RouteLocationNormalizedLoaded, from: RouteLocationNormalizedLoaded, failure?: NavigationFailure | void): unknown;
1453
+ }
1454
+ /**
1455
+ * Callback passed to navigation guards to continue or abort the navigation.
1456
+ *
1457
+ * @deprecated Prefer returning a value from the guard instead of calling
1458
+ * `next(value)`. The callback will be removed in a future version of Vue Router.
1459
+ */
1460
+ interface NavigationGuardNext {
1461
+ (): void;
1462
+ (error: Error): void;
1463
+ (location: RouteLocationRaw): void;
1464
+ (valid: boolean | undefined): void;
1465
+ (cb: NavigationGuardNextCallback): void;
1466
+ }
1467
+ /**
1468
+ * Callback that can be passed to `next()` in `beforeRouteEnter()` guards.
1469
+ */
1470
+ type NavigationGuardNextCallback = (vm: ComponentPublicInstance) => unknown;
1471
+ //#endregion
1472
+ //#region src/experimental/data-loaders/meta-extensions.d.ts
1473
+ /**
1474
+ * Map type for the entries used by data loaders.
1475
+ * @internal
1476
+ */
1477
+ type _DefineLoaderEntryMap<DataLoaderEntry extends DataLoaderEntryBase<unknown> = DataLoaderEntryBase<unknown>> = WeakMap<object, DataLoaderEntry>;
1478
+ /**
1479
+ * The extensions added to the router instance for data loaders. These are used
1480
+ * internally by the router and should not be accessed directly by users.
1481
+ *
1482
+ * @internal
1483
+ */
1484
+ interface DataLoaderExtensions {
1485
+ /**
1486
+ * The entries used by data loaders. Put on the router for convenience.
1487
+ * @internal
1488
+ */
1489
+ [LOADER_ENTRIES_KEY]: _DefineLoaderEntryMap;
1490
+ /**
1491
+ * Pending navigation that is waiting for data loaders to resolve.
1492
+ * @internal
1493
+ */
1494
+ [PENDING_LOCATION_KEY]: RouteLocationNormalizedLoaded | null;
1495
+ /**
1496
+ * The app instance that is used by the router.
1497
+ * @internal
1498
+ */
1499
+ [APP_KEY]: App<unknown>;
1500
+ /**
1501
+ * Whether the router is running in server-side rendering mode.
1502
+ * @internal
1503
+ */
1504
+ [IS_SSR_KEY]: boolean;
1505
+ /**
1506
+ * The effect scope used to run data loaders.
1507
+ * @internal
1508
+ */
1509
+ [DATA_LOADERS_EFFECT_SCOPE_KEY]: EffectScope;
1510
+ /**
1511
+ * Gives access to the initial state during rendering. Should be set to `false` once it's consumed.
1512
+ * Used by `defineLoader`
1513
+ *
1514
+ * @internal
1515
+ */
1516
+ [SERVER_INITIAL_DATA_KEY]?: Record<string, unknown> | false;
1517
+ /**
1518
+ * Used by `defineLoader`
1519
+ *
1520
+ * @internal
1521
+ */
1522
+ [INITIAL_DATA_KEY]?: Record<string, unknown> | false;
1523
+ }
1524
+ //#endregion
1525
+ //#region src/RouterLink.d.ts
1526
+ interface RouterLinkOptions {
1527
+ /**
1528
+ * Route Location the link should navigate to when clicked on.
1529
+ */
1530
+ to: RouteLocationRaw;
1531
+ /**
1532
+ * Calls `router.replace` instead of `router.push`.
1533
+ */
1534
+ replace?: boolean;
1535
+ }
1536
+ interface RouterLinkProps extends RouterLinkOptions {
1537
+ /**
1538
+ * Whether RouterLink should not wrap its content in an `a` tag. Useful when
1539
+ * using `v-slot` to create a custom RouterLink
1540
+ */
1541
+ custom?: boolean;
1542
+ /**
1543
+ * Class to apply when the link is active
1544
+ */
1545
+ activeClass?: string;
1546
+ /**
1547
+ * Class to apply when the link is exact active
1548
+ */
1549
+ exactActiveClass?: string;
1550
+ /**
1551
+ * Value passed to the attribute `aria-current` when the link is exact active.
1552
+ *
1553
+ * @defaultValue `'page'`
1554
+ */
1555
+ ariaCurrentValue?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
1556
+ /**
1557
+ * Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
1558
+ */
1559
+ viewTransition?: boolean;
1560
+ }
1561
+ /**
1562
+ * Options passed to {@link useLink}.
1563
+ */
1564
+ interface UseLinkOptions<Name extends keyof RouteMap = keyof RouteMap> {
1565
+ to: MaybeRef<RouteLocationAsString | RouteLocationAsRelativeTyped<RouteMap, Name> | RouteLocationAsPath | RouteLocationRaw>;
1566
+ replace?: MaybeRef<boolean | undefined>;
1567
+ /**
1568
+ * Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
1569
+ */
1570
+ viewTransition?: boolean;
1571
+ }
1572
+ /**
1573
+ * Return type of {@link useLink}.
1574
+ * @internal
1575
+ */
1576
+ interface UseLinkReturn<Name extends keyof RouteMap = keyof RouteMap> {
1577
+ route: ComputedRef<RouteLocationResolved<Name>>;
1578
+ href: ComputedRef<string>;
1579
+ isActive: ComputedRef<boolean>;
1580
+ isExactActive: ComputedRef<boolean>;
1581
+ navigate(e?: MouseEvent): Promise<void | NavigationFailure>;
1582
+ }
1583
+ /**
1584
+ * Returns the internal behavior of a {@link RouterLink} without the rendering part.
1585
+ *
1586
+ * @param props - a `to` location and an optional `replace` flag
1587
+ */
1588
+ declare function useLink<Name extends keyof RouteMap = keyof RouteMap>(props: UseLinkOptions<Name>): UseLinkReturn<Name>;
1589
+ /**
1590
+ * Component to render a link that triggers a navigation on click.
1591
+ */
1592
+ declare const RouterLink: _RouterLinkI;
1593
+ /**
1594
+ * @internal
1595
+ */
1596
+ type _RouterLinkPropsTypedBase = AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
1597
+ /**
1598
+ * @internal
1599
+ */
1600
+ type RouterLinkPropsTyped<Custom extends boolean | undefined> = Custom extends true ? _RouterLinkPropsTypedBase & {
1601
+ custom: true;
1602
+ } : _RouterLinkPropsTypedBase & {
1603
+ custom?: false | undefined;
1604
+ } & Omit<AnchorHTMLAttributes, 'href'>;
1605
+ /**
1606
+ * Typed version of the `RouterLink` component. Its generic defaults to the typed router, so it can be inferred
1607
+ * automatically for JSX.
1608
+ *
1609
+ * @internal
1610
+ */
1611
+ interface _RouterLinkI {
1612
+ new <Custom extends boolean | undefined = boolean | undefined>(): {
1613
+ $props: RouterLinkPropsTyped<Custom>;
1614
+ $slots: {
1615
+ default?: ({ route, href, isActive, isExactActive, navigate }: UnwrapRef<UseLinkReturn>) => VNode[];
1616
+ };
1617
+ };
1618
+ /**
1619
+ * Access to `useLink()` without depending on using vue-router
1620
+ *
1621
+ * @internal
1622
+ */
1623
+ useLink: typeof useLink;
1624
+ }
1625
+ //#endregion
1626
+ //#region src/RouterView.d.ts
1627
+ interface RouterViewProps {
1628
+ name?: string;
1629
+ route?: RouteLocationNormalized;
1630
+ }
1631
+ /**
1632
+ * Component to display the current route the user is at.
1633
+ */
1634
+ declare const RouterView: {
1635
+ new (): {
1636
+ $props: AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterViewProps;
1637
+ $slots: {
1638
+ default?: ({ Component, route }: {
1639
+ Component: VNode;
1640
+ route: RouteLocationNormalizedLoaded;
1641
+ }) => VNode[];
1642
+ };
1643
+ };
1644
+ };
1645
+ //#endregion
1646
+ //#region src/index.d.ts
1647
+ declare module 'vue' {
1648
+ interface ComponentCustomOptions {
1649
+ /**
1650
+ * Guard called when the router is navigating to the route that is rendering
1651
+ * this component from a different route. Differently from `beforeRouteUpdate`
1652
+ * and `beforeRouteLeave`, `beforeRouteEnter` does not have access to the
1653
+ * component instance through `this` because it triggers before the component
1654
+ * is even mounted.
1655
+ *
1656
+ * @param to - RouteLocationRaw we are navigating to
1657
+ * @param from - RouteLocationRaw we are navigating from
1658
+ * @param next - function to validate, cancel or modify (by redirecting) the
1659
+ * navigation
1660
+ */
1661
+ beforeRouteEnter?: TypesConfig extends Record<'beforeRouteEnter', infer T> ? T : NavigationGuardWithThis<undefined>;
1662
+ /**
1663
+ * Guard called whenever the route that renders this component has changed, but
1664
+ * it is reused for the new route. This allows you to guard for changes in
1665
+ * params, the query or the hash.
1666
+ *
1667
+ * @param to - RouteLocationRaw we are navigating to
1668
+ * @param from - RouteLocationRaw we are navigating from
1669
+ * @param next - function to validate, cancel or modify (by redirecting) the
1670
+ * navigation
1671
+ */
1672
+ beforeRouteUpdate?: TypesConfig extends Record<'beforeRouteUpdate', infer T> ? T : NavigationGuard;
1673
+ /**
1674
+ * Guard called when the router is navigating away from the current route that
1675
+ * is rendering this component.
1676
+ *
1677
+ * @param to - RouteLocationRaw we are navigating to
1678
+ * @param from - RouteLocationRaw we are navigating from
1679
+ * @param next - function to validate, cancel or modify (by redirecting) the
1680
+ * navigation
1681
+ */
1682
+ beforeRouteLeave?: TypesConfig extends Record<'beforeRouteLeave', infer T> ? T : NavigationGuard;
1683
+ }
1684
+ interface ComponentCustomProperties {
1685
+ /**
1686
+ * Normalized current location. See {@link RouteLocationNormalizedLoaded}.
1687
+ */
1688
+ $route: TypesConfig extends Record<'$route', infer T> ? T : RouteLocationNormalizedLoaded;
1689
+ /**
1690
+ * {@link Router} instance used by the application.
1691
+ */
1692
+ $router: TypesConfig extends Record<'$router', infer T> ? T : Router;
1693
+ }
1694
+ interface GlobalComponents {
1695
+ RouterView: TypesConfig extends Record<'RouterView', infer T> ? T : typeof RouterView;
1696
+ RouterLink: TypesConfig extends Record<'RouterLink', infer T> ? T : typeof RouterLink;
1697
+ }
1698
+ }
1699
+ /**
1700
+ * Object and promise of the object itself. Used when we can await some of the properties of an object to be loaded.
1701
+ * @internal
1702
+ */
1703
+ type _PromiseMerged<PromiseType, RawType = PromiseType> = RawType & Promise<PromiseType>;
1704
+ /**
1705
+ * Possible values to change the result of a navigation within a loader
1706
+ * @internal
1707
+ */
1708
+ type _DataLoaderRedirectResult = Exclude<ReturnType<NavigationGuard>, Promise<unknown> | Function | true | void | undefined>;
1709
+ /**
1710
+ * Allows data loaders to change navigation. Called by {@link reroute}.
1711
+ *
1712
+ * @internal
1713
+ */
1714
+ declare class NavigationResult {
1715
+ readonly value: _DataLoaderRedirectResult;
1716
+ constructor(value: _DataLoaderRedirectResult);
1717
+ }
1718
+ //#endregion
1719
+ //#region src/experimental/data-loaders/createDataLoader.d.ts
1720
+ /**
1721
+ * Base type for a data loader entry. Each Data Loader has its own entry in the `loaderEntries` (accessible via `[LOADER_ENTRIES_KEY]`) map.
1722
+ */
1723
+ interface DataLoaderEntryBase<TData = unknown, TError = unknown, TDataInitial extends TData | undefined = TData | undefined> {
1724
+ /**
1725
+ * Data stored in the entry.
1726
+ */
1727
+ data: ShallowRef<TData | TDataInitial>;
1728
+ /**
1729
+ * Error if there was an error.
1730
+ */
1731
+ error: ShallowRef<TError | null>;
1732
+ /**
1733
+ * Location the data was loaded for or `null` if the data is not loaded.
1734
+ */
1735
+ to: RouteLocationNormalizedLoaded | null;
1736
+ /**
1737
+ * Whether there is an ongoing request.
1738
+ */
1739
+ isLoading: ShallowRef<boolean>;
1740
+ options: DefineDataLoaderOptionsBase_LaxData;
1741
+ /**
1742
+ * Called by the navigation guard when the navigation is duplicated. Should be used to reset pendingTo and pendingLoad and any other property that should be reset.
1743
+ */
1744
+ resetPending: () => void;
1745
+ /**
1746
+ * The latest pending load. Allows to verify if the load is still valid when it resolves.
1747
+ */
1748
+ pendingLoad: Promise<void> | null;
1749
+ /**
1750
+ * The latest pending navigation's `to` route. Used to verify if the navigation is still valid when it resolves.
1751
+ */
1752
+ pendingTo: RouteLocationNormalizedLoaded | null;
1753
+ /**
1754
+ * Data that was staged by a loader. This is used to avoid showing the old data while the new data is loading. Calling
1755
+ * the internal `commit()` function will replace the data with the staged data.
1756
+ */
1757
+ staged: TData | typeof STAGED_NO_VALUE;
1758
+ /**
1759
+ * Error that was staged by a loader. This is used to avoid showing the old error while the new data is loading.
1760
+ * Calling the internal `commit()` function will replace the error with the staged error.
1761
+ */
1762
+ stagedError: TError | null;
1763
+ /**
1764
+ * Other data loaders that depend on this one. This is used to invalidate the data when a dependency is invalidated.
1765
+ */
1766
+ children: Set<DataLoaderEntryBase>;
1767
+ /**
1768
+ * Commits the pending data to the entry. This is called by the navigation guard when all non-lazy loaders have
1769
+ * finished loading. It should be implemented by the loader. It **must be called** from the entry itself:
1770
+ * `entry.commit(to)`.
1771
+ */
1772
+ commit(to: RouteLocationNormalizedLoaded): void;
1773
+ }
1774
+ /**
1775
+ * Common properties for the options of `defineLoader()`. Types are `unknown` to allow for more specific types in the
1776
+ * extended types while having documentation in one single place.
1777
+ * @internal
1778
+ */
1779
+ interface _DefineDataLoaderOptionsBase_Common {
1780
+ /**
1781
+ * When the data should be committed to the entry. In the case of lazy loaders, the loader will try to commit the data
1782
+ * after all non-lazy loaders have finished loading, but it might not be able to if the lazy loader hasn't been
1783
+ * resolved yet.
1784
+ *
1785
+ * @see {@link DefineDataLoaderCommit}
1786
+ * @defaultValue `'after-load'`
1787
+ */
1788
+ commit?: DefineDataLoaderCommit;
1789
+ /**
1790
+ * Whether the data should be lazy loaded without blocking the client side navigation or not. When set to true, the loader will no longer block the navigation and the returned composable can be called even
1791
+ * without having the data ready.
1792
+ *
1793
+ * @defaultValue `false`
1794
+ */
1795
+ lazy?: unknown;
1796
+ /**
1797
+ * Whether this loader should be awaited on the server side or not. Combined with the `lazy` option, this gives full
1798
+ * control over how to await for the data.
1799
+ *
1800
+ * @defaultValue `true`
1801
+ */
1802
+ server?: unknown;
1803
+ /**
1804
+ * List of _expected_ errors that shouldn't abort the navigation (for non-lazy loaders). Provide a list of
1805
+ * constructors that can be checked with `instanceof` or a custom function that returns `true` for expected errors. Can also be set to `true` to accept all globally defined errors. Defaults to `false` to abort on any error.
1806
+ * @default `false`
1807
+ */
1808
+ errors?: unknown;
1809
+ }
1810
+ /**
1811
+ * Options for a data loader that returns a data that is possibly `undefined`. Available for data loaders
1812
+ * implementations so they can be used in `defineLoader()` overloads.
1813
+ */
1814
+ interface DefineDataLoaderOptionsBase_LaxData extends _DefineDataLoaderOptionsBase_Common {
1815
+ lazy?: boolean | ((to: RouteLocationNormalizedLoaded, from?: RouteLocationNormalizedLoaded) => boolean);
1816
+ server?: boolean;
1817
+ errors?: boolean | Array<new (...args: any[]) => any> | ((reason?: unknown) => boolean);
1818
+ }
1819
+ /**
1820
+ * When the data should be committed to the entry.
1821
+ * - `immediate`: the data is committed as soon as it is loaded.
1822
+ * - `after-load`: the data is committed after all non-lazy loaders have finished loading.
1823
+ */
1824
+ type DefineDataLoaderCommit = 'immediate' | 'after-load';
1825
+ /**
1826
+ * Data Loader composable returned by `defineLoader()`.
1827
+ * @see {@link DefineDataLoader}
1828
+ */
1829
+ interface UseDataLoader<Data = unknown, TError = unknown> {
1830
+ [IS_USE_DATA_LOADER_KEY]: true;
1831
+ /**
1832
+ * Data Loader composable returned by `defineLoader()`.
1833
+ *
1834
+ * @example
1835
+ * Returns the Data loader data, isLoading, error etc. Meant to be used in `setup()` or `<script setup>` **without `await`**:
1836
+ * ```vue
1837
+ * <script setup>
1838
+ * const { data, isLoading, error } = useUserData()
1839
+ * </script>
1840
+ * ```
1841
+ *
1842
+ * @example
1843
+ * It also returns a promise of the data when used in nested loaders. Note this `data` is **not a ref**. This is not meant to be used in `setup()` or `<script setup>`.
1844
+ * ```ts
1845
+ * export const useUserConnections = defineLoader(async () => {
1846
+ * const user = await useUserData()
1847
+ * return fetchUserConnections(user.id)
1848
+ * })
1849
+ * ```
1850
+ */
1851
+ (): _PromiseMerged<Exclude<Data, NavigationResult | undefined>, UseDataLoaderResult<Exclude<Data, NavigationResult>, TError>>;
1852
+ /**
1853
+ * Internals of the data loader.
1854
+ * @internal
1855
+ */
1856
+ _: UseDataLoaderInternals<Exclude<Data, NavigationResult | undefined>, TError>;
1857
+ }
1858
+ /**
1859
+ * Internal properties of a data loader composable. Used by the internal implementation of `defineLoader()`. **Should
1860
+ * not be used in application code.**
1861
+ */
1862
+ interface UseDataLoaderInternals<Data = unknown, TError = unknown> {
1863
+ /**
1864
+ * Loads the data from the cache if possible, otherwise loads it from the loader and awaits it.
1865
+ *
1866
+ * @param to - route location to load the data for
1867
+ * @param router - router instance
1868
+ * @param from - route location we are coming from
1869
+ * @param parent - parent data loader entry
1870
+ */
1871
+ load: (to: RouteLocationNormalizedLoaded, router: Router, from?: RouteLocationNormalizedLoaded, parent?: DataLoaderEntryBase) => Promise<void>;
1872
+ /**
1873
+ * Resolved options for the loader.
1874
+ */
1875
+ options: DefineDataLoaderOptionsBase_LaxData;
1876
+ /**
1877
+ * Gets the entry associated with the router instance. Assumes the data loader has been loaded and that the entry
1878
+ * exists.
1879
+ *
1880
+ * @param router - router instance
1881
+ */
1882
+ getEntry(router: Router): DataLoaderEntryBase<Data, TError>;
1883
+ }
1884
+ /**
1885
+ * Return value of a loader composable defined with `defineLoader()`.
1886
+ */
1887
+ interface UseDataLoaderResult<TData = unknown, TError = ErrorDefault> {
1888
+ /**
1889
+ * Data returned by the loader. If the data loader is lazy, it will be undefined until the first load.
1890
+ */
1891
+ data: ShallowRef<TData>;
1892
+ /**
1893
+ * Whether there is an ongoing request.
1894
+ */
1895
+ isLoading: ShallowRef<boolean>;
1896
+ /**
1897
+ * Error if there was an error.
1898
+ */
1899
+ error: ShallowRef<TError | null>;
1900
+ /**
1901
+ * Reload the data using the current route location. Returns a promise that resolves when the data is reloaded. This
1902
+ * method should not be called during a navigation as it can conflict with an ongoing load and lead to
1903
+ * inconsistencies.
1904
+ */
1905
+ reload(): Promise<void>;
1906
+ /**
1907
+ * Reload the data using the route location passed as argument. Returns a promise that resolves when the data is reloaded.
1908
+ *
1909
+ * @param route - route location to load the data for
1910
+ */
1911
+ reload(route: RouteLocationNormalizedLoaded): Promise<void>;
1912
+ }
1913
+ //#endregion
1914
+ export { RouteLocationRaw as a, RouteLocationNormalizedLoaded as i, LocationQueryRaw$1 as n, RouteRecordRaw as o, RouteLocationNormalized as r, Router as s, LocationQuery$1 as t };