@nuxt/devtools 0.8.3 → 0.8.4

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 (99) hide show
  1. package/README.md +4 -4
  2. package/dist/chunks/module-main.mjs +2 -2
  3. package/dist/chunks/vscode.mjs +1 -1
  4. package/dist/client/200.html +17 -17
  5. package/dist/client/404.html +17 -17
  6. package/dist/client/__blank/index.html +17 -17
  7. package/dist/client/_nuxt/{Badge.efa8b534.js → Badge.a4bd58d4.js} +1 -1
  8. package/dist/client/_nuxt/{CodeDiff.vue.52d6bbaa.js → CodeDiff.vue.a8c9e639.js} +1 -1
  9. package/dist/client/_nuxt/{ComposableItem.vue.1525d3d2.js → ComposableItem.vue.bd112256.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaButton.vue.dabda5da.js → DataSchemaButton.vue.fbb61806.js} +1 -1
  11. package/dist/client/_nuxt/{DataSchemaDrawer.345f79f6.js → DataSchemaDrawer.f84a2081.js} +6 -5
  12. package/dist/client/_nuxt/{DrawerRight.vue.e75b5510.js → DrawerRight.vue.b9dc765f.js} +1 -1
  13. package/dist/client/_nuxt/{DurationDisplay.vue.73c682ac.js → DurationDisplay.vue.1f34b658.js} +1 -1
  14. package/dist/client/_nuxt/{FilepathItem.vue.253590ec.js → FilepathItem.vue.a4d269b8.js} +1 -1
  15. package/dist/client/_nuxt/{HelpFab.vue.b3c1cf3a.js → HelpFab.vue.c0c3f8e6.js} +1 -1
  16. package/dist/client/_nuxt/{LaunchPage.vue.45c2e269.js → LaunchPage.vue.012ddba7.js} +1 -1
  17. package/dist/client/_nuxt/NCheckbox.vue.0e359f85.js +1 -0
  18. package/dist/client/_nuxt/{NCodeBlock.vue.28dd841e.js → NCodeBlock.vue.01eb6d1c.js} +1 -1
  19. package/dist/client/_nuxt/{NDropdown.vue.36b68b91.js → NDropdown.vue.b3117df4.js} +1 -1
  20. package/dist/client/_nuxt/{NIconTitle.vue.635c5682.js → NIconTitle.vue.79485c3a.js} +1 -1
  21. package/dist/client/_nuxt/{NLink.vue.19da93af.js → NLink.vue.6dc3b4af.js} +1 -1
  22. package/dist/client/_nuxt/{NMarkdown.vue.283d6615.js → NMarkdown.vue.7a10e6e6.js} +1 -1
  23. package/dist/client/_nuxt/{NSectionBlock.e780f891.js → NSectionBlock.2d8e1431.js} +1 -1
  24. package/dist/client/_nuxt/{NSelect.vue.60befa30.js → NSelect.vue.9cac29ef.js} +1 -1
  25. package/dist/client/_nuxt/{NSelectTabs.vue.1cae281d.js → NSelectTabs.vue.72adf277.js} +1 -1
  26. package/dist/client/_nuxt/{NSwitch.vue.eb1bdf97.js → NSwitch.vue.67a4fdb0.js} +1 -1
  27. package/dist/client/_nuxt/{NTip.vue.eef318b6.js → NTip.vue.d505e897.js} +1 -1
  28. package/dist/client/_nuxt/{Navbar.vue.d85c454f.js → Navbar.vue.8dc15d25.js} +1 -1
  29. package/dist/client/_nuxt/{StateEditor.vue.83907c9e.js → StateEditor.vue.2463efc9.js} +1 -1
  30. package/dist/client/_nuxt/{__blank.fd22bfe8.js → __blank.20eb2cab.js} +1 -1
  31. package/dist/client/_nuxt/{analyze-build.3961243f.js → analyze-build.423f57eb.js} +1 -1
  32. package/dist/client/_nuxt/{assets.22c374b3.js → assets.dc245910.js} +1 -1
  33. package/dist/client/_nuxt/{client.766a1bb7.js → client.c59e50d6.js} +1 -1
  34. package/dist/client/_nuxt/components.31c6fd6f.js +98 -0
  35. package/dist/client/_nuxt/{custom-_name_.4e0a3203.js → custom-_name_.9b02fa14.js} +1 -1
  36. package/dist/client/_nuxt/{default.7b425b73.js → default.30ac8af4.js} +1 -1
  37. package/dist/client/_nuxt/entry.05b33d7f.js +27 -0
  38. package/dist/client/_nuxt/entry.79095383.css +1 -0
  39. package/dist/client/_nuxt/{error-404.9d0e04bf.js → error-404.5c6d1cc1.js} +1 -1
  40. package/dist/client/_nuxt/{error-500.10115977.js → error-500.b5b10475.js} +1 -1
  41. package/dist/client/_nuxt/{full.4288bf38.js → full.03097bfb.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.1d6c1af1.js → hooks.d674696d.js} +1 -1
  43. package/dist/client/_nuxt/{imports.39a7562f.js → imports.b827859f.js} +1 -1
  44. package/dist/client/_nuxt/{index.94061115.js → index.b2055c8f.js} +1 -1
  45. package/dist/client/_nuxt/{index.14b447a4.js → index.b5454355.js} +1 -1
  46. package/dist/client/_nuxt/json-editor-vue.1bc58c26.js +129 -0
  47. package/dist/client/_nuxt/{middleware.66f1417a.js → middleware.434dc02a.js} +1 -1
  48. package/dist/client/_nuxt/{modules.3b512e2b.js → modules.7dc02a95.js} +1 -1
  49. package/dist/client/_nuxt/{none.d43da723.js → none.2b3e8ddc.js} +1 -1
  50. package/dist/client/_nuxt/{open-graph.c7507223.js → open-graph.693bd031.js} +1 -1
  51. package/dist/client/_nuxt/{overview.dae47b2d.js → overview.f2e48477.js} +1 -1
  52. package/dist/client/_nuxt/{pages.0902f86b.js → pages.745a0630.js} +1 -1
  53. package/dist/client/_nuxt/{payload.7de203b9.js → payload.897ca8fa.js} +1 -1
  54. package/dist/client/_nuxt/{plugins.30d46375.js → plugins.cd2e64ba.js} +1 -1
  55. package/dist/client/_nuxt/{runtime-configs.a32dc753.js → runtime-configs.1f844468.js} +1 -1
  56. package/dist/client/_nuxt/{server-routes.7e333622.js → server-routes.91c861d0.js} +1 -1
  57. package/dist/client/_nuxt/settings.367ae337.js +1 -0
  58. package/dist/client/_nuxt/{state-components.7549d0ff.js → state-components.a223a28c.js} +1 -1
  59. package/dist/client/_nuxt/{state-modules.a4af1949.js → state-modules.c0927595.js} +1 -1
  60. package/dist/client/_nuxt/{storage-options.0b849b9a.js → storage-options.8fdc9b2a.js} +1 -1
  61. package/dist/client/_nuxt/{storage.6d27a7d0.js → storage.76034502.js} +1 -1
  62. package/dist/client/_nuxt/terminals.cb4eb909.js +9 -0
  63. package/dist/client/_nuxt/timeline.60d410a7.js +29 -0
  64. package/dist/client/_nuxt/unocss-runtime.68d64d4a.js +2 -0
  65. package/dist/client/_nuxt/{virtual-files.d393fac8.js → virtual-files.829bd209.js} +1 -1
  66. package/dist/client/index.html +17 -17
  67. package/dist/client/modules/analyze-build/index.html +17 -17
  68. package/dist/client/modules/assets/index.html +17 -17
  69. package/dist/client/modules/components/index.html +17 -17
  70. package/dist/client/modules/hooks/index.html +17 -17
  71. package/dist/client/modules/imports/index.html +17 -17
  72. package/dist/client/modules/middleware/index.html +17 -17
  73. package/dist/client/modules/modules/index.html +17 -17
  74. package/dist/client/modules/open-graph/index.html +17 -17
  75. package/dist/client/modules/overview/index.html +17 -17
  76. package/dist/client/modules/pages/index.html +17 -17
  77. package/dist/client/modules/payload/index.html +17 -17
  78. package/dist/client/modules/plugins/index.html +17 -17
  79. package/dist/client/modules/runtime-configs/index.html +17 -17
  80. package/dist/client/modules/server-routes/index.html +17 -17
  81. package/dist/client/modules/storage/index.html +17 -17
  82. package/dist/client/modules/terminals/index.html +17 -17
  83. package/dist/client/modules/timeline/index.html +17 -17
  84. package/dist/client/modules/virtual-files/index.html +17 -17
  85. package/dist/client/settings/index.html +17 -17
  86. package/dist/module.json +1 -1
  87. package/dist/module.mjs +1 -1
  88. package/dist/runtime/plugins/view/client.mjs +1 -0
  89. package/dist/shared/{devtools.6d7e3a3a.mjs → devtools.4169e037.mjs} +3 -1
  90. package/package.json +32 -32
  91. package/dist/client/_nuxt/NCheckbox.vue.e6a37232.js +0 -1
  92. package/dist/client/_nuxt/components.f4ae9003.js +0 -99
  93. package/dist/client/_nuxt/entry.13b4d578.css +0 -1
  94. package/dist/client/_nuxt/entry.2f74e286.js +0 -27
  95. package/dist/client/_nuxt/json-editor-vue.87488a70.js +0 -130
  96. package/dist/client/_nuxt/settings.5586d729.js +0 -1
  97. package/dist/client/_nuxt/terminals.2f1b22dc.js +0 -9
  98. package/dist/client/_nuxt/timeline.849dbd44.js +0 -57
  99. package/dist/client/_nuxt/unocss-runtime.e58f9c20.js +0 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <a href="https://devtools.nuxtjs.org"><img width="1200" alt="Nuxt DevTools" src="https://github-production-user-asset-6210df.s3.amazonaws.com/904724/261577617-a10567bd-ad33-48cc-9bda-9e37dbe1929f.png"></a>
1
+ <a href="https://devtools.nuxt.com"><img width="1200" alt="Nuxt DevTools" src="https://github-production-user-asset-6210df.s3.amazonaws.com/904724/261577617-a10567bd-ad33-48cc-9bda-9e37dbe1929f.png"></a>
2
2
  <br>
3
3
  <h1>
4
4
  Nuxt DevTools <sup>Preview</sup>
@@ -18,7 +18,7 @@ Unleash Nuxt Developer Experience.
18
18
  <p>
19
19
  <a href="https://github.com/nuxt/devtools/discussions/29">💡 Ideas & Suggestions</a> |
20
20
  <a href="https://github.com/nuxt/devtools/discussions/31">🗺️ Project Roadmap</a> |
21
- <a href="https://devtools.nuxtjs.org/">📚 Documentation</a>
21
+ <a href="https://devtools.nuxt.com/">📚 Documentation</a>
22
22
  </p>
23
23
 
24
24
  <br>
@@ -110,11 +110,11 @@ Read the [**Announcement Blog Post 🎊**](https://nuxt.com/blog/introducing-nux
110
110
 
111
111
  ## Module Authors
112
112
 
113
- Please refer to the [Module Authors Guide](https://devtools.nuxtjs.org/module/guide).
113
+ Please refer to the [Module Authors Guide](https://devtools.nuxt.com/module/guide).
114
114
 
115
115
  ## Contribution Guide
116
116
 
117
- Please refer to the [Contribution Guide](https://devtools.nuxtjs.org/development/contributing).
117
+ Please refer to the [Contribution Guide](https://devtools.nuxt.com/development/contributing).
118
118
 
119
119
  ## License
120
120
 
@@ -6,7 +6,7 @@ import sirv from 'sirv';
6
6
  import c from 'picocolors';
7
7
  import { createBirpcGroup } from 'birpc';
8
8
  import { stringify, parse } from 'flatted';
9
- import { R as ROUTE_AUTH, d as defaultTabOptions, W as WS_EVENT_NAME, a as ROUTE_ANALYZE, b as ROUTE_CLIENT, c as ROUTE_AUTH_VERIFY } from '../shared/devtools.6d7e3a3a.mjs';
9
+ import { R as ROUTE_AUTH, d as defaultTabOptions, W as WS_EVENT_NAME, a as ROUTE_ANALYZE, b as ROUTE_CLIENT, c as ROUTE_AUTH_VERIFY } from '../shared/devtools.4169e037.mjs';
10
10
  import { homedir } from 'node:os';
11
11
  import { join } from 'node:path';
12
12
  import fsp from 'node:fs/promises';
@@ -29,7 +29,7 @@ import Git from 'simple-git';
29
29
  import { hash } from 'ohash';
30
30
  import { runtimeDir, clientDir, packageDir, isGlobalInstall } from '../dirs.mjs';
31
31
 
32
- const version = "0.8.3";
32
+ const version = "0.8.4";
33
33
 
34
34
  let token;
35
35
  async function getDevAuthToken() {
@@ -15,7 +15,7 @@ import 'sirv';
15
15
  import 'picocolors';
16
16
  import 'birpc';
17
17
  import 'flatted';
18
- import '../shared/devtools.6d7e3a3a.mjs';
18
+ import '../shared/devtools.4169e037.mjs';
19
19
  import '../dirs.mjs';
20
20
  import 'node:url';
21
21
  import 'is-installed-globally';
@@ -2,9 +2,9 @@
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.13b4d578.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.14b447a4.js">
5
+ <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.79095383.css">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.b5454355.js">
8
8
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/onig.0c57a370.js">
9
9
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-dark.ab479e3d.js">
10
10
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-light.696edcfd.js">
@@ -18,24 +18,24 @@
18
18
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vue-html.0806679f.js">
19
19
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/diff.22e0b108.js">
20
20
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/shellscript.9d056341.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7b425b73.js">
22
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.4288bf38.js">
23
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.d43da723.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.30ac8af4.js">
22
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.03097bfb.js">
23
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2b3e8ddc.js">
24
24
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js">
25
25
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css">
26
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.345f79f6.js">
27
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.60befa30.js">
28
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.eb1bdf97.js">
29
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.36b68b91.js">
30
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.28dd841e.js">
31
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.766a1bb7.js">
32
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.e75b5510.js">
33
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.e58f9c20.js">
26
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.f84a2081.js">
27
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.9cac29ef.js">
28
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.67a4fdb0.js">
29
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.b3117df4.js">
30
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.01eb6d1c.js">
31
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.c59e50d6.js">
32
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.b9dc765f.js">
33
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.68d64d4a.js">
34
34
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.82ac0ec5.css">
35
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.9d0e04bf.js">
35
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.5c6d1cc1.js">
36
36
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.ff959f66.css">
37
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.10115977.js">
38
- <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
37
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.b5b10475.js">
38
+ <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
39
39
  </script></head>
40
40
  <body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
41
41
  <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
@@ -2,9 +2,9 @@
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.13b4d578.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.14b447a4.js">
5
+ <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.79095383.css">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.b5454355.js">
8
8
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/onig.0c57a370.js">
9
9
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-dark.ab479e3d.js">
10
10
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-light.696edcfd.js">
@@ -18,24 +18,24 @@
18
18
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vue-html.0806679f.js">
19
19
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/diff.22e0b108.js">
20
20
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/shellscript.9d056341.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7b425b73.js">
22
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.4288bf38.js">
23
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.d43da723.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.30ac8af4.js">
22
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.03097bfb.js">
23
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2b3e8ddc.js">
24
24
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js">
25
25
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css">
26
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.345f79f6.js">
27
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.60befa30.js">
28
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.eb1bdf97.js">
29
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.36b68b91.js">
30
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.28dd841e.js">
31
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.766a1bb7.js">
32
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.e75b5510.js">
33
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.e58f9c20.js">
26
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.f84a2081.js">
27
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.9cac29ef.js">
28
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.67a4fdb0.js">
29
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.b3117df4.js">
30
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.01eb6d1c.js">
31
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.c59e50d6.js">
32
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.b9dc765f.js">
33
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.68d64d4a.js">
34
34
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.82ac0ec5.css">
35
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.9d0e04bf.js">
35
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.5c6d1cc1.js">
36
36
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.ff959f66.css">
37
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.10115977.js">
38
- <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
37
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.b5b10475.js">
38
+ <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
39
39
  </script></head>
40
40
  <body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
41
41
  <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
@@ -2,9 +2,9 @@
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.13b4d578.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.14b447a4.js">
5
+ <link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.79095383.css">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.b5454355.js">
8
8
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/onig.0c57a370.js">
9
9
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-dark.ab479e3d.js">
10
10
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vitesse-light.696edcfd.js">
@@ -18,24 +18,24 @@
18
18
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/vue-html.0806679f.js">
19
19
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/diff.22e0b108.js">
20
20
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/shellscript.9d056341.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7b425b73.js">
22
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.4288bf38.js">
23
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.d43da723.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.30ac8af4.js">
22
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.03097bfb.js">
23
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2b3e8ddc.js">
24
24
  <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js">
25
25
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css">
26
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.345f79f6.js">
27
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.60befa30.js">
28
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.eb1bdf97.js">
29
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.36b68b91.js">
30
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.28dd841e.js">
31
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.766a1bb7.js">
32
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.e75b5510.js">
33
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.e58f9c20.js">
26
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.f84a2081.js">
27
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.9cac29ef.js">
28
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.67a4fdb0.js">
29
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.b3117df4.js">
30
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.01eb6d1c.js">
31
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.c59e50d6.js">
32
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.b9dc765f.js">
33
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.68d64d4a.js">
34
34
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.82ac0ec5.css">
35
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.9d0e04bf.js">
35
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.5c6d1cc1.js">
36
36
  <link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.ff959f66.css">
37
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.10115977.js">
38
- <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.2f74e286.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
37
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.b5b10475.js">
38
+ <script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.05b33d7f.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
39
39
  </script></head>
40
40
  <body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
41
41
  <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
@@ -1 +1 @@
1
- import{q as n,o,m as s,a5 as t}from"./entry.2f74e286.js";const c={},r={class:"mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function a(e,_){return o(),s("span",r,[t(e.$slots,"default")])}const l=n(c,[["render",a]]);export{l as _};
1
+ import{q as n,o,m as s,a5 as t}from"./entry.05b33d7f.js";const c={},r={class:"mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function a(e,_){return o(),s("span",r,[t(e.$slots,"default")])}const l=n(c,[["render",a]]);export{l as _};
@@ -1,3 +1,3 @@
1
- import{_ as R}from"./NCodeBlock.vue.28dd841e.js";import{d as _,a as N,r as F,ai as W,bu as A,o as B,h as J,f as V}from"./entry.2f74e286.js";function m(){}m.prototype={diff:function(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=o.callback;typeof o=="function"&&(f=o,o={}),this.options=o;var r=this;function l(c){return f?(setTimeout(function(){f(void 0,c)},0),!0):c}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,s=1,d=i+u;o.maxEditLength&&(d=Math.min(d,o.maxEditLength));var a=[{newPos:-1,components:[]}],p=this.extractCommon(a[0],t,e,0);if(a[0].newPos+1>=i&&p+1>=u)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*s;c<=s;c+=2){var h=void 0,w=a[c-1],C=a[c+1],g=(C?C.newPos:0)-c;w&&(a[c-1]=void 0);var q=w&&w.newPos+1<i,$=C&&0<=g&&g<u;if(!q&&!$){a[c]=void 0;continue}if(!q||$&&w.newPos<C.newPos?(h=Z(C),r.pushComponent(h.components,void 0,!0)):(h=w,h.newPos++,r.pushComponent(h.components,!0,void 0)),g=r.extractCommon(h,t,e,c),h.newPos+1>=i&&g+1>=u)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}s++}if(f)(function c(){setTimeout(function(){if(s>d)return f();v()||c()},0)})();else for(;s<=d;){var y=v();if(y)return y}},pushComponent:function(e,t,o){var f=e[e.length-1];f&&f.added===t&&f.removed===o?e[e.length-1]={count:f.count+1,added:t,removed:o}:e.push({count:1,added:t,removed:o})},extractCommon:function(e,t,o,f){for(var r=t.length,l=o.length,i=e.newPos,u=i-f,s=0;i+1<r&&u+1<l&&this.equals(t[i+1],o[u+1]);)i++,u++,s++;return s&&e.components.push({count:s}),e.newPos=i,u},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};function M(n,e,t,o,f){for(var r=0,l=e.length,i=0,u=0;r<l;r++){var s=e[r];if(s.removed){if(s.value=n.join(o.slice(u,u+s.count)),u+=s.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!s.added&&f){var d=t.slice(i,i+s.count);d=d.map(function(v,y){var c=o[u+y];return c.length>v.length?c:v}),s.value=n.join(d)}else s.value=n.join(t.slice(i,i+s.count));i+=s.count,s.added||(u+=s.count)}}var p=e[l-1];return l>1&&typeof p.value=="string"&&(p.added||p.removed)&&n.equals("",p.value)&&(e[l-2].value+=p.value,e.pop()),e}function Z(n){return{newPos:n.newPos,components:n.components.slice(0)}}var I=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,T=/\S/,O=new m;O.equals=function(n,e){return this.options.ignoreCase&&(n=n.toLowerCase(),e=e.toLowerCase()),n===e||this.options.ignoreWhitespace&&!T.test(n)&&!T.test(e)};O.tokenize=function(n){for(var e=n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<e.length-1;t++)!e[t+1]&&e[t+2]&&I.test(e[t])&&I.test(e[t+2])&&(e[t]+=e[t+2],e.splice(t+1,2),t--);return e};var D=new m;D.tokenize=function(n){var e=[],t=n.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var o=0;o<t.length;o++){var f=t[o];o%2&&!this.options.newlineIsToken?e[e.length-1]+=f:(this.options.ignoreWhitespace&&(f=f.trim()),e.push(f))}return e};function k(n,e,t){return D.diff(n,e,t)}var G=new m;G.tokenize=function(n){return n.split(/(\S.+?[.!?])(?=\s+|$)/)};var H=new m;H.tokenize=function(n){return n.split(/([{}:;,]|\s+)/)};function z(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(e){return typeof e}:z=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}var Q=Object.prototype.toString,L=new m;L.useLongestToken=!0;L.tokenize=D.tokenize;L.castInput=function(n){var e=this.options,t=e.undefinedReplacement,o=e.stringifyReplacer,f=o===void 0?function(r,l){return typeof l>"u"?t:l}:o;return typeof n=="string"?n:JSON.stringify(E(n,null,null,f),f," ")};L.equals=function(n,e){return m.prototype.equals.call(L,n.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function E(n,e,t,o,f){e=e||[],t=t||[],o&&(n=o(f,n));var r;for(r=0;r<e.length;r+=1)if(e[r]===n)return t[r];var l;if(Q.call(n)==="[object Array]"){for(e.push(n),l=new Array(n.length),t.push(l),r=0;r<n.length;r+=1)l[r]=E(n[r],e,t,o,f);return e.pop(),t.pop(),l}if(n&&n.toJSON&&(n=n.toJSON()),z(n)==="object"&&n!==null){e.push(n),l={},t.push(l);var i=[],u;for(u in n)n.hasOwnProperty(u)&&i.push(u);for(i.sort(),r=0;r<i.length;r+=1)u=i[r],l[u]=E(n[u],e,t,o,u);e.pop(),t.pop()}else l=n;return l}var x=new m;x.tokenize=function(n){return n.slice()};x.join=x.removeEmpty=function(n){return n};const Y=_({__name:"CodeDiff",props:{from:{},to:{},lang:{}},setup(n){const e=n;function t(i,u){const s=k(i.trim(),u.trim()),d=[],a=[],p=[];for(const v of s){const y=v.value.trimEnd().split(`
1
+ import{_ as R}from"./NCodeBlock.vue.01eb6d1c.js";import{d as _,a as N,r as F,ai as W,bu as A,o as B,h as J,f as V}from"./entry.05b33d7f.js";function m(){}m.prototype={diff:function(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=o.callback;typeof o=="function"&&(f=o,o={}),this.options=o;var r=this;function l(c){return f?(setTimeout(function(){f(void 0,c)},0),!0):c}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,s=1,d=i+u;o.maxEditLength&&(d=Math.min(d,o.maxEditLength));var a=[{newPos:-1,components:[]}],p=this.extractCommon(a[0],t,e,0);if(a[0].newPos+1>=i&&p+1>=u)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*s;c<=s;c+=2){var h=void 0,w=a[c-1],C=a[c+1],g=(C?C.newPos:0)-c;w&&(a[c-1]=void 0);var q=w&&w.newPos+1<i,$=C&&0<=g&&g<u;if(!q&&!$){a[c]=void 0;continue}if(!q||$&&w.newPos<C.newPos?(h=Z(C),r.pushComponent(h.components,void 0,!0)):(h=w,h.newPos++,r.pushComponent(h.components,!0,void 0)),g=r.extractCommon(h,t,e,c),h.newPos+1>=i&&g+1>=u)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}s++}if(f)(function c(){setTimeout(function(){if(s>d)return f();v()||c()},0)})();else for(;s<=d;){var y=v();if(y)return y}},pushComponent:function(e,t,o){var f=e[e.length-1];f&&f.added===t&&f.removed===o?e[e.length-1]={count:f.count+1,added:t,removed:o}:e.push({count:1,added:t,removed:o})},extractCommon:function(e,t,o,f){for(var r=t.length,l=o.length,i=e.newPos,u=i-f,s=0;i+1<r&&u+1<l&&this.equals(t[i+1],o[u+1]);)i++,u++,s++;return s&&e.components.push({count:s}),e.newPos=i,u},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};function M(n,e,t,o,f){for(var r=0,l=e.length,i=0,u=0;r<l;r++){var s=e[r];if(s.removed){if(s.value=n.join(o.slice(u,u+s.count)),u+=s.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!s.added&&f){var d=t.slice(i,i+s.count);d=d.map(function(v,y){var c=o[u+y];return c.length>v.length?c:v}),s.value=n.join(d)}else s.value=n.join(t.slice(i,i+s.count));i+=s.count,s.added||(u+=s.count)}}var p=e[l-1];return l>1&&typeof p.value=="string"&&(p.added||p.removed)&&n.equals("",p.value)&&(e[l-2].value+=p.value,e.pop()),e}function Z(n){return{newPos:n.newPos,components:n.components.slice(0)}}var I=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,T=/\S/,O=new m;O.equals=function(n,e){return this.options.ignoreCase&&(n=n.toLowerCase(),e=e.toLowerCase()),n===e||this.options.ignoreWhitespace&&!T.test(n)&&!T.test(e)};O.tokenize=function(n){for(var e=n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<e.length-1;t++)!e[t+1]&&e[t+2]&&I.test(e[t])&&I.test(e[t+2])&&(e[t]+=e[t+2],e.splice(t+1,2),t--);return e};var D=new m;D.tokenize=function(n){var e=[],t=n.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var o=0;o<t.length;o++){var f=t[o];o%2&&!this.options.newlineIsToken?e[e.length-1]+=f:(this.options.ignoreWhitespace&&(f=f.trim()),e.push(f))}return e};function k(n,e,t){return D.diff(n,e,t)}var G=new m;G.tokenize=function(n){return n.split(/(\S.+?[.!?])(?=\s+|$)/)};var H=new m;H.tokenize=function(n){return n.split(/([{}:;,]|\s+)/)};function z(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(e){return typeof e}:z=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}var Q=Object.prototype.toString,L=new m;L.useLongestToken=!0;L.tokenize=D.tokenize;L.castInput=function(n){var e=this.options,t=e.undefinedReplacement,o=e.stringifyReplacer,f=o===void 0?function(r,l){return typeof l>"u"?t:l}:o;return typeof n=="string"?n:JSON.stringify(E(n,null,null,f),f," ")};L.equals=function(n,e){return m.prototype.equals.call(L,n.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function E(n,e,t,o,f){e=e||[],t=t||[],o&&(n=o(f,n));var r;for(r=0;r<e.length;r+=1)if(e[r]===n)return t[r];var l;if(Q.call(n)==="[object Array]"){for(e.push(n),l=new Array(n.length),t.push(l),r=0;r<n.length;r+=1)l[r]=E(n[r],e,t,o,f);return e.pop(),t.pop(),l}if(n&&n.toJSON&&(n=n.toJSON()),z(n)==="object"&&n!==null){e.push(n),l={},t.push(l);var i=[],u;for(u in n)n.hasOwnProperty(u)&&i.push(u);for(i.sort(),r=0;r<i.length;r+=1)u=i[r],l[u]=E(n[u],e,t,o,u);e.pop(),t.pop()}else l=n;return l}var x=new m;x.tokenize=function(n){return n.slice()};x.join=x.removeEmpty=function(n){return n};const Y=_({__name:"CodeDiff",props:{from:{},to:{},lang:{}},setup(n){const e=n;function t(i,u){const s=k(i.trim(),u.trim()),d=[],a=[],p=[];for(const v of s){const y=v.value.trimEnd().split(`
2
2
  `);for(const c of y)v.added?(d.push(p.length),p.push(c)):(v.removed&&a.push(p.length),p.push(c))}return{added:d,removed:a,result:p.join(`
3
3
  `)}}const o=N(()=>t(e.from,e.to));function f(i){let u=0;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,s=>(u++,o.value.added.includes(u-1)?'class="line line-added"':o.value.removed.includes(u-1)?'class="line line-removed"':s))}const r=F();W(l);function l(){const i=A(r);i&&i.querySelector(".line-added,.line-removed")?.scrollIntoView()}return(i,u)=>{const s=R;return B(),J(s,{ref_key:"elRef",ref:r,code:V(o).result,lang:i.lang,"transform-rendered":f,onLoaded:l},null,8,["code","lang"])}}});export{Y as _};
@@ -1 +1 @@
1
- import{_ as I}from"./NMarkdown.vue.283d6615.js";import{d as V,e as D,a6 as U,a as c,al as $,o as s,h as r,j as i,k as o,p as l,i as E,f as e,v as u,m as _,F as v,t as h,n as j,E as F,C as S}from"./entry.2f74e286.js";import{_ as z}from"./FilepathItem.vue.253590ec.js";import{C as k}from"./constants.4e5eba24.js";const L={"hover:text-primary":""},M={key:0,"text-primary":""},O={"max-w-100":""},T={px4:"",py3:"","text-sm":""},W={flex:"~ gap2",n:"primary xs"},q={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},A={"text-sm":""},G=o("span",{op50:""},"It has been referenced ",-1),H={"text-primary":""},J=o("span",{op50:""}," times by:",-1),K={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},P={key:1,"text-sm":"",op50:""},Z=V({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(x){const t=x,b=D(),C=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),g=c(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),y=c(()=>{if(t.item.meta?.docsUrl)return t.item.meta.docsUrl;if(["nuxt","#app","nuxt3"].includes(t.item.from))return k.nuxt[t.item.name];if(t.item.from==="vue")return k.vue[t.item.name]});return(a,p)=>{const w=I,f=S,N=z,B=$("VDropdown");return s(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",O,[o("div",T,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):l("",!0),o("div",W,[E(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m)))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(C)(a.filepath))},{default:i(()=>[u(" Source ")]),_:1})):l("",!0),e(y)?(s(),r(f,{key:1,icon:"carbon-catalog",to:e(y),target:"_blank"},{default:i(()=>[u(" Docs ")]),_:1},8,["to"])):l("",!0)])]),o("div",q,[e(n)?(s(),_(v,{key:0},[o("div",A,[G,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,j(e(g),d=>(s(),r(N,{key:d,filepath:d},null,8,["filepath"]))),128))])],64)):(s(),_("div",P," Not in use via auto import. "))])])]),default:i(()=>[o("button",L,[o("code",{rounded:"","font-mono":"",class:F([a.metadata&&!e(n)?"op30 hover:op100":"",a.classes])},[u(h(e(m))+" ",1),e(n)&&a.counter?(s(),_("sup",M,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
1
+ import{_ as I}from"./NMarkdown.vue.7a10e6e6.js";import{d as V,e as D,a6 as U,a as c,al as $,o as s,h as r,j as i,k as o,p as l,i as E,f as e,v as u,m as _,F as v,t as h,n as j,E as F,C as S}from"./entry.05b33d7f.js";import{_ as z}from"./FilepathItem.vue.a4d269b8.js";import{C as k}from"./constants.4e5eba24.js";const L={"hover:text-primary":""},M={key:0,"text-primary":""},O={"max-w-100":""},T={px4:"",py3:"","text-sm":""},W={flex:"~ gap2",n:"primary xs"},q={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},A={"text-sm":""},G=o("span",{op50:""},"It has been referenced ",-1),H={"text-primary":""},J=o("span",{op50:""}," times by:",-1),K={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},P={key:1,"text-sm":"",op50:""},Z=V({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(x){const t=x,b=D(),C=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),g=c(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),y=c(()=>{if(t.item.meta?.docsUrl)return t.item.meta.docsUrl;if(["nuxt","#app","nuxt3"].includes(t.item.from))return k.nuxt[t.item.name];if(t.item.from==="vue")return k.vue[t.item.name]});return(a,p)=>{const w=I,f=S,N=z,B=$("VDropdown");return s(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",O,[o("div",T,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):l("",!0),o("div",W,[E(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m)))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(C)(a.filepath))},{default:i(()=>[u(" Source ")]),_:1})):l("",!0),e(y)?(s(),r(f,{key:1,icon:"carbon-catalog",to:e(y),target:"_blank"},{default:i(()=>[u(" Docs ")]),_:1},8,["to"])):l("",!0)])]),o("div",q,[e(n)?(s(),_(v,{key:0},[o("div",A,[G,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,j(e(g),d=>(s(),r(N,{key:d,filepath:d},null,8,["filepath"]))),128))])],64)):(s(),_("div",P," Not in use via auto import. "))])])]),default:i(()=>[o("button",L,[o("code",{rounded:"","font-mono":"",class:F([a.metadata&&!e(n)?"op30 hover:op100":"",a.classes])},[u(h(e(m))+" ",1),e(n)&&a.counter?(s(),_("sup",M,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
@@ -1 +1 @@
1
- import{d as c,u as s,a9 as r,H as i,o as p,h as _,_ as u}from"./entry.2f74e286.js";const h=c({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(m){const t=s();return(n,e)=>{const o=u,a=r("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",onClick:e[0]||(e[0]=l=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{h as _};
1
+ import{d as c,u as s,a9 as r,H as i,o as p,h as _,_ as u}from"./entry.05b33d7f.js";const h=c({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(m){const t=s();return(n,e)=>{const o=u,a=r("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",onClick:e[0]||(e[0]=l=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{h as _};