@nuxt/devtools 0.7.5 → 0.7.6

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/dist/chunks/module-main.mjs +28 -18
  2. package/dist/chunks/plugin-metrics.mjs +8 -1
  3. package/dist/chunks/vscode.mjs +1 -1
  4. package/dist/client/200.html +2 -2
  5. package/dist/client/404.html +2 -2
  6. package/dist/client/__blank/index.html +2 -2
  7. package/dist/client/_nuxt/{Badge.809c442f.js → Badge.f2e9b29c.js} +1 -1
  8. package/dist/client/_nuxt/{CodeDiff.vue.1cd1f35a.js → CodeDiff.vue.9b0b0885.js} +1 -1
  9. package/dist/client/_nuxt/{ComposableItem.vue.a490c449.js → ComposableItem.vue.3f961e9e.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaButton.vue.31fe918d.js → DataSchemaButton.vue.a6df5cb8.js} +1 -1
  11. package/dist/client/_nuxt/{DataSchemaDrawer.7a8538ed.js → DataSchemaDrawer.be265d1e.js} +1 -1
  12. package/dist/client/_nuxt/{DrawerRight.vue.3bbd0e76.js → DrawerRight.vue.92472251.js} +1 -1
  13. package/dist/client/_nuxt/{DurationDisplay.vue.1533a045.js → DurationDisplay.vue.ebef3eee.js} +1 -1
  14. package/dist/client/_nuxt/FilepathItem.vue.a967b383.js +1 -0
  15. package/dist/client/_nuxt/{HelpFab.vue.5d67494b.js → HelpFab.vue.4d768974.js} +1 -1
  16. package/dist/client/_nuxt/LaunchPage.vue.c2e514b2.js +1 -0
  17. package/dist/client/_nuxt/{NCheckbox.vue.76b79ec0.js → NCheckbox.vue.78fd8d82.js} +1 -1
  18. package/dist/client/_nuxt/{NCodeBlock.vue.a8601f10.js → NCodeBlock.vue.c7ed33b1.js} +1 -1
  19. package/dist/client/_nuxt/{NDropdown.vue.c183f72d.js → NDropdown.vue.c7f63cd6.js} +1 -1
  20. package/dist/client/_nuxt/{NIconTitle.vue.e492e44a.js → NIconTitle.vue.2f7c2128.js} +1 -1
  21. package/dist/client/_nuxt/{NLink.vue.e00535a9.js → NLink.vue.3fcc5a37.js} +1 -1
  22. package/dist/client/_nuxt/{NMarkdown.vue.7d7a1e6e.js → NMarkdown.vue.e4405095.js} +1 -1
  23. package/dist/client/_nuxt/{NSectionBlock.6778ba18.js → NSectionBlock.9c411590.js} +1 -1
  24. package/dist/client/_nuxt/{NSelect.vue.6e592a84.js → NSelect.vue.7a8edc85.js} +1 -1
  25. package/dist/client/_nuxt/{NSwitch.vue.855c3f98.js → NSwitch.vue.defcd586.js} +1 -1
  26. package/dist/client/_nuxt/{NTip.vue.6bf7cf97.js → NTip.vue.04791b31.js} +1 -1
  27. package/dist/client/_nuxt/{Navbar.vue.c8f5ea35.js → Navbar.vue.3fbf7ca0.js} +1 -1
  28. package/dist/client/_nuxt/{StateEditor.vue.082de4fa.js → StateEditor.vue.01c203b9.js} +1 -1
  29. package/dist/client/_nuxt/{__blank.8beed58c.js → __blank.3dddd973.js} +1 -1
  30. package/dist/client/_nuxt/{analyze-build.88782d48.js → analyze-build.3db956f4.js} +1 -1
  31. package/dist/client/_nuxt/assets.634c950e.js +16 -0
  32. package/dist/client/_nuxt/{client.fbe3eaa6.js → client.d5aff798.js} +1 -1
  33. package/dist/client/_nuxt/{components.99398ea7.js → components.e360f866.js} +1 -1
  34. package/dist/client/_nuxt/custom-_name_.95236ea5.js +1 -0
  35. package/dist/client/_nuxt/{default.2ae1a40e.js → default.8f859e18.js} +1 -1
  36. package/dist/client/_nuxt/entry.2ee3a83f.css +1 -0
  37. package/dist/client/_nuxt/{entry.704683a1.js → entry.b81bf245.js} +8 -8
  38. package/dist/client/_nuxt/{error-404.bde0cadd.js → error-404.50ed5273.js} +1 -1
  39. package/dist/client/_nuxt/{error-500.524ae368.js → error-500.3f0ba72e.js} +1 -1
  40. package/dist/client/_nuxt/{full.6451054a.js → full.778b4958.js} +1 -1
  41. package/dist/client/_nuxt/{hooks.d1ff16ee.js → hooks.22b55b1c.js} +1 -1
  42. package/dist/client/_nuxt/imports.2a0fb129.js +1 -0
  43. package/dist/client/_nuxt/{index.2ab6466f.js → index.622264a3.js} +1 -1
  44. package/dist/client/_nuxt/{index.ef0631d4.js → index.76729ecb.js} +1 -1
  45. package/dist/client/_nuxt/{json-editor-vue.d2d6ca22.js → json-editor-vue.58ea58a4.js} +1 -1
  46. package/dist/client/_nuxt/{middleware.c86c494b.js → middleware.f7a35d95.js} +1 -1
  47. package/dist/client/_nuxt/{modules.e419f21a.js → modules.15421639.js} +2 -2
  48. package/dist/client/_nuxt/{none.bdacb36e.js → none.3d88124b.js} +1 -1
  49. package/dist/client/_nuxt/{open-graph.ae9112ee.js → open-graph.73aa4a70.js} +2 -2
  50. package/dist/client/_nuxt/{overview.b36ec18b.js → overview.0aabd2ca.js} +1 -1
  51. package/dist/client/_nuxt/{pages.f4173ed6.js → pages.7e22d9e3.js} +1 -1
  52. package/dist/client/_nuxt/{payload.8138f0c2.js → payload.cc8ba563.js} +1 -1
  53. package/dist/client/_nuxt/{plugins.192ab129.js → plugins.b4d83e48.js} +1 -1
  54. package/dist/client/_nuxt/{runtime-configs.399a5d6f.js → runtime-configs.15955414.js} +1 -1
  55. package/dist/client/_nuxt/server-routes.10f98ec2.js +9 -0
  56. package/dist/client/_nuxt/{settings.2dfbccf3.js → settings.b2b35d44.js} +1 -1
  57. package/dist/client/_nuxt/{state-components.eea2cf71.js → state-components.c65acb0d.js} +1 -1
  58. package/dist/client/_nuxt/{state-modules.8cc9b26b.js → state-modules.e0b57d1b.js} +1 -1
  59. package/dist/client/_nuxt/storage-options.f095012b.js +1 -0
  60. package/dist/client/_nuxt/{storage.7aca7890.js → storage.81e195cf.js} +1 -1
  61. package/dist/client/_nuxt/{terminals.b71c30e6.js → terminals.57b44373.js} +1 -1
  62. package/dist/client/_nuxt/{timeline.32019995.js → timeline.e3f428d4.js} +2 -2
  63. package/dist/client/_nuxt/{unocss-runtime.0935bd38.js → unocss-runtime.2f2f07ae.js} +1 -1
  64. package/dist/client/_nuxt/{virtual-files.2f2a88f3.js → virtual-files.02aedd29.js} +1 -1
  65. package/dist/client/index.html +2 -2
  66. package/dist/client/modules/analyze-build/index.html +2 -2
  67. package/dist/client/modules/assets/index.html +2 -2
  68. package/dist/client/modules/components/index.html +2 -2
  69. package/dist/client/modules/hooks/index.html +2 -2
  70. package/dist/client/modules/imports/index.html +2 -2
  71. package/dist/client/modules/middleware/index.html +2 -2
  72. package/dist/client/modules/modules/index.html +2 -2
  73. package/dist/client/modules/open-graph/index.html +2 -2
  74. package/dist/client/modules/overview/index.html +2 -2
  75. package/dist/client/modules/pages/index.html +2 -2
  76. package/dist/client/modules/payload/index.html +2 -2
  77. package/dist/client/modules/plugins/index.html +2 -2
  78. package/dist/client/modules/runtime-configs/index.html +2 -2
  79. package/dist/client/modules/server-routes/index.html +2 -2
  80. package/dist/client/modules/storage/index.html +2 -2
  81. package/dist/client/modules/terminals/index.html +2 -2
  82. package/dist/client/modules/timeline/index.html +2 -2
  83. package/dist/client/modules/virtual-files/index.html +2 -2
  84. package/dist/client/settings/index.html +2 -2
  85. package/dist/module.json +1 -1
  86. package/dist/module.mjs +1 -1
  87. package/dist/runtime/function-metrics-helpers.mjs +17 -12
  88. package/dist/runtime/plugins/devtools.client.mjs +6 -1
  89. package/dist/runtime/plugins/view/Main.vue +1 -1
  90. package/dist/shared/{devtools.c34e61ba.mjs → devtools.6d7e3a3a.mjs} +3 -0
  91. package/package.json +11 -11
  92. package/dist/client/_nuxt/CodeSnippets.vue.e2cc365d.js +0 -1
  93. package/dist/client/_nuxt/FilepathItem.vue.a9853d6c.js +0 -1
  94. package/dist/client/_nuxt/LaunchPage.vue.304a6918.js +0 -1
  95. package/dist/client/_nuxt/assets.dec2c564.js +0 -16
  96. package/dist/client/_nuxt/custom-_name_.53810490.js +0 -1
  97. package/dist/client/_nuxt/entry.6293ec9a.css +0 -1
  98. package/dist/client/_nuxt/imports.9142e1cd.js +0 -1
  99. package/dist/client/_nuxt/server-routes.a3646010.js +0 -9
@@ -5,7 +5,7 @@ import { searchForWorkspaceRoot } from 'vite';
5
5
  import sirv from 'sirv';
6
6
  import c from 'picocolors';
7
7
  import { createBirpcGroup } from 'birpc';
8
- 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.c34e61ba.mjs';
8
+ 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
9
  import { homedir } from 'node:os';
10
10
  import { join } from 'node:path';
11
11
  import fsp from 'node:fs/promises';
@@ -30,7 +30,7 @@ import require$$0 from 'os';
30
30
  import { spawn } from 'child_process';
31
31
  import { runtimeDir, clientDir, packageDir, isGlobalInstall } from '../dirs.mjs';
32
32
 
33
- const version = "0.7.5";
33
+ const version = "0.7.6";
34
34
 
35
35
  /*! (c) 2020 Andrea Giammarchi */
36
36
 
@@ -289,23 +289,27 @@ function setupAssetsRPC({ nuxt, ensureDevAuthToken, refresh }) {
289
289
  return void 0;
290
290
  }
291
291
  },
292
- async writeStaticAssets(token, files, path) {
292
+ async writeStaticAssets(token, files, folder) {
293
293
  await ensureDevAuthToken(token);
294
- const baseDir = resolve(nuxt.options.srcDir, nuxt.options.dir.public + path);
294
+ const baseDir = resolve(nuxt.options.srcDir, nuxt.options.dir.public + folder);
295
295
  return await Promise.all(
296
- files.map(async ({ name, data }) => {
297
- let dir = resolve(baseDir, name);
298
- try {
299
- await fsp.stat(dir);
300
- const ext = dir.split(".").pop();
301
- const base = dir.slice(0, dir.length - ext.length - 1);
302
- let i = 1;
303
- while (await fsp.access(`${base}-${i}.${ext}`).then(() => true).catch(() => false))
304
- i++;
305
- dir = `${base}-${i}.${ext}`;
306
- } catch (err) {
296
+ files.map(async ({ path, content, encoding, override }) => {
297
+ let dir = resolve(baseDir, path);
298
+ if (!override) {
299
+ try {
300
+ await fsp.stat(dir);
301
+ const ext = dir.split(".").pop();
302
+ const base = dir.slice(0, dir.length - ext.length - 1);
303
+ let i = 1;
304
+ while (await fsp.access(`${base}-${i}.${ext}`).then(() => true).catch(() => false))
305
+ i++;
306
+ dir = `${base}-${i}.${ext}`;
307
+ } catch (err) {
308
+ }
307
309
  }
308
- await fsp.writeFile(dir, data, "base64");
310
+ await fsp.writeFile(dir, content, {
311
+ encoding: encoding ?? "utf-8"
312
+ });
309
313
  return dir;
310
314
  })
311
315
  );
@@ -876,7 +880,7 @@ function setupServerRoutesRPC({ nuxt, refresh }) {
876
880
  if (!nitro)
877
881
  return [];
878
882
  return [
879
- ...nitro.scannedHandlers.map((item) => ({
883
+ ...nitro.scannedHandlers.filter((item) => !item.middleware).map((item) => ({
880
884
  route: item.route,
881
885
  filepath: item.handler,
882
886
  method: item.method,
@@ -7105,7 +7109,13 @@ async function enableModule(options, nuxt) {
7105
7109
  config.externals.inline.push(join$1(runtimeDir, "nitro"));
7106
7110
  config.virtual = config.virtual || {};
7107
7111
  config.virtual["#nuxt-devtools-inline"] = `export const script = \`
7108
- window.__NUXT_DEVTOOLS_TIME_METRIC__ = window.__NUXT_DEVTOOLS_TIME_METRIC__ || {}
7112
+ if (!window.__NUXT_DEVTOOLS_TIME_METRIC__) {
7113
+ Object.defineProperty(window, '__NUXT_DEVTOOLS_TIME_METRIC__', {
7114
+ value: {},
7115
+ enumerable: false,
7116
+ configurable: true,
7117
+ })
7118
+ }
7109
7119
  window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
7110
7120
  \``;
7111
7121
  config.plugins = config.plugins || [];
@@ -13,7 +13,14 @@ async function setup({ nuxt }) {
13
13
  if (content.includes(PAYLOAD_KEY))
14
14
  return content;
15
15
  const snippets = `
16
- globalThis.${PAYLOAD_KEY} = []
16
+ if (!globalThis.${PAYLOAD_KEY}) {
17
+ Object.defineProperty(globalThis, '${PAYLOAD_KEY}', {
18
+ value: [],
19
+ enumerable: false,
20
+ configurable: true,
21
+ })
22
+ }
23
+
17
24
  function ${WRAPPER_KEY} (plugin, src) {
18
25
  if (!plugin)
19
26
  return plugin
@@ -14,7 +14,7 @@ import 'vite';
14
14
  import 'sirv';
15
15
  import 'picocolors';
16
16
  import 'birpc';
17
- import '../shared/devtools.c34e61ba.mjs';
17
+ import '../shared/devtools.6d7e3a3a.mjs';
18
18
  import '../dirs.mjs';
19
19
  import 'node:url';
20
20
  import 'is-installed-globally';
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ef0631d4.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2ae1a40e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.6451054a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bdacb36e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.7a8538ed.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.6e592a84.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.855c3f98.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c183f72d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.a8601f10.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.fbe3eaa6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.3bbd0e76.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.0935bd38.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.bde0cadd.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.524ae368.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><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"}})();
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.76729ecb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.8f859e18.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.778b4958.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.3d88124b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.be265d1e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.7a8edc85.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.defcd586.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c7f63cd6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.c7ed33b1.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.d5aff798.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.92472251.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.2f2f07ae.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.50ed5273.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.3f0ba72e.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><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"}})();
5
5
  </script></head>
6
- <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ef0631d4.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2ae1a40e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.6451054a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bdacb36e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.7a8538ed.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.6e592a84.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.855c3f98.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c183f72d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.a8601f10.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.fbe3eaa6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.3bbd0e76.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.0935bd38.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.bde0cadd.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.524ae368.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><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"}})();
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.76729ecb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.8f859e18.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.778b4958.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.3d88124b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.be265d1e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.7a8edc85.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.defcd586.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c7f63cd6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.c7ed33b1.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.d5aff798.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.92472251.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.2f2f07ae.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.50ed5273.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.3f0ba72e.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><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"}})();
5
5
  </script></head>
6
- <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js" crossorigin></script></body>
7
7
  </html>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html >
3
3
  <head><meta charset="utf-8">
4
- <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ef0631d4.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2ae1a40e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.6451054a.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.bdacb36e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.7a8538ed.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.6e592a84.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.855c3f98.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c183f72d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.a8601f10.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.fbe3eaa6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.3bbd0e76.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.0935bd38.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.bde0cadd.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.524ae368.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6293ec9a.css"><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"}})();
4
+ <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.76729ecb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.8f859e18.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.778b4958.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.3d88124b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.6994516c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DataSchemaDrawer.be265d1e.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSelect.vue.7a8edc85.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NSwitch.vue.defcd586.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NDropdown.vue.c7f63cd6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NCodeBlock.vue.c7ed33b1.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/client.d5aff798.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/DrawerRight.vue.92472251.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.2f2f07ae.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.50ed5273.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.3f0ba72e.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.2ee3a83f.css"><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"}})();
5
5
  </script></head>
6
- <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.704683a1.js" crossorigin></script></body>
6
+ <body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.b81bf245.js" crossorigin></script></body>
7
7
  </html>
@@ -1 +1 @@
1
- import{q as n,o,m as s,a5 as t}from"./entry.704683a1.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.b81bf245.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.a8601f10.js";import{d as _,a as N,r as F,ag as W,bt as A,o as B,h as J,f as V}from"./entry.704683a1.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,s=e.length,u=1,d=i+s;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>=s)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*u;c<=u;c+=2){var h=void 0,w=a[c-1],C=a[c+1],L=(C?C.newPos:0)-c;w&&(a[c-1]=void 0);var q=w&&w.newPos+1<i,$=C&&0<=L&&L<s;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)),L=r.extractCommon(h,t,e,c),h.newPos+1>=i&&L+1>=s)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}u++}if(f)(function c(){setTimeout(function(){if(u>d)return f();v()||c()},0)})();else for(;u<=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,s=i-f,u=0;i+1<r&&s+1<l&&this.equals(t[i+1],o[s+1]);)i++,s++,u++;return u&&e.components.push({count:u}),e.newPos=i,s},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,s=0;r<l;r++){var u=e[r];if(u.removed){if(u.value=n.join(o.slice(s,s+u.count)),s+=u.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!u.added&&f){var d=t.slice(i,i+u.count);d=d.map(function(v,y){var c=o[s+y];return c.length>v.length?c:v}),u.value=n.join(d)}else u.value=n.join(t.slice(i,i+u.count));i+=u.count,u.added||(s+=u.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,g=new m;g.useLongestToken=!0;g.tokenize=D.tokenize;g.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," ")};g.equals=function(n,e){return m.prototype.equals.call(g,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=[],s;for(s in n)n.hasOwnProperty(s)&&i.push(s);for(i.sort(),r=0;r<i.length;r+=1)s=i[r],l[s]=E(n[s],e,t,o,s);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,s){const u=k(i.trim(),s.trim()),d=[],a=[],p=[];for(const v of u){const y=v.value.trimEnd().split(`
1
+ import{_ as R}from"./NCodeBlock.vue.c7ed33b1.js";import{d as _,a as N,r as F,ai as W,bt as A,o as B,h as J,f as V}from"./entry.b81bf245.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,s=e.length,u=1,d=i+s;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>=s)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*u;c<=u;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<s;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>=s)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}u++}if(f)(function c(){setTimeout(function(){if(u>d)return f();v()||c()},0)})();else for(;u<=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,s=i-f,u=0;i+1<r&&s+1<l&&this.equals(t[i+1],o[s+1]);)i++,s++,u++;return u&&e.components.push({count:u}),e.newPos=i,s},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,s=0;r<l;r++){var u=e[r];if(u.removed){if(u.value=n.join(o.slice(s,s+u.count)),s+=u.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!u.added&&f){var d=t.slice(i,i+u.count);d=d.map(function(v,y){var c=o[s+y];return c.length>v.length?c:v}),u.value=n.join(d)}else u.value=n.join(t.slice(i,i+u.count));i+=u.count,u.added||(s+=u.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=[],s;for(s in n)n.hasOwnProperty(s)&&i.push(s);for(i.sort(),r=0;r<i.length;r+=1)s=i[r],l[s]=E(n[s],e,t,o,s);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,s){const u=k(i.trim(),s.trim()),d=[],a=[],p=[];for(const v of u){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 s=0;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,u=>(s++,o.value.added.includes(s-1)?'class="line line-added"':o.value.removed.includes(s-1)?'class="line line-removed"':u))}const r=F();W(l);function l(){const i=A(r);i&&i.querySelector(".line-added,.line-removed")?.scrollIntoView()}return(i,s)=>{const u=R;return B(),J(u,{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.7d7a1e6e.js";import{d as V,e as D,a6 as U,a as c,aj as $,o as s,h as r,j as i,k as o,p as l,i as j,f as e,v as u,m as _,F as v,t as h,n as E,E as F,C as S}from"./entry.704683a1.js";import{_ as z}from"./FilepathItem.vue.a9853d6c.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,[j(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,E(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.e4405095.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.b81bf245.js";import{_ as z}from"./FilepathItem.vue.a967b383.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.704683a1.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.b81bf245.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 _};