@nuxt/devtools 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/chunks/module-main.mjs +11 -7
  2. package/dist/chunks/plugin-metrics.mjs +1 -1
  3. package/dist/chunks/timeline.mjs +1 -1
  4. package/dist/chunks/vite-inspect.mjs +1 -1
  5. package/dist/chunks/vscode.mjs +1 -1
  6. package/dist/chunks/vue-inspector.mjs +1 -1
  7. package/dist/client/200.html +37 -41
  8. package/dist/client/404.html +37 -41
  9. package/dist/client/_nuxt/{CodeDiff.vue.470b870b.js → CodeDiff.vue._dCq5f_z.js} +2 -2
  10. package/dist/client/_nuxt/{ComposableItem.vue.4be0b467.js → ComposableItem.vue.xjjgcokF.js} +1 -1
  11. package/dist/client/_nuxt/{DataSchemaButton.vue.7acec8bd.js → DataSchemaButton.vue.xvehQ20c.js} +1 -1
  12. package/dist/client/_nuxt/{DataSchemaDrawer.6f0305ae.js → DataSchemaDrawer.IkoxYN9B.js} +91 -91
  13. package/dist/client/_nuxt/{DurationDisplay.vue.d5eecd01.js → DurationDisplay.vue.EcbbfLCJ.js} +1 -1
  14. package/dist/client/_nuxt/{FilepathItem.vue.0f604f99.js → FilepathItem.vue.KRS5685n.js} +1 -1
  15. package/dist/client/_nuxt/HelpFab.vue.K4yHYYQx.js +1 -0
  16. package/dist/client/_nuxt/LaunchPage.vue.TOWJvQ6t.js +1 -0
  17. package/dist/client/_nuxt/{NBadge.1af19adc.js → NBadge.IQAZmm2D.js} +1 -1
  18. package/dist/client/_nuxt/NCheckbox.vue._sgKubGr.js +1 -0
  19. package/dist/client/_nuxt/NCodeBlock.XH4dGkTz.css +1 -0
  20. package/dist/client/_nuxt/NCodeBlock.vue.2w5Cy5b6.js +2 -0
  21. package/dist/client/_nuxt/{NDrawer.vue.99f5580b.js → NDrawer.vue.16o-RaPU.js} +1 -1
  22. package/dist/client/_nuxt/NDropdown.vue.ZtGr97L2.js +1 -0
  23. package/dist/client/_nuxt/NIconTitle.vue.WxyT9iC2.js +1 -0
  24. package/dist/client/_nuxt/{NLink.vue.090d2b6e.js → NLink.vue.R78P2sWn.js} +1 -1
  25. package/dist/client/_nuxt/{NMarkdown.vue.4a9638b7.js → NMarkdown.vue.cV8rBrR_.js} +1 -1
  26. package/dist/client/_nuxt/{NNavbar.vue.329d273e.js → NNavbar.vue._6IXF0Xt.js} +1 -1
  27. package/dist/client/_nuxt/NSectionBlock.o39x0IHF.js +1 -0
  28. package/dist/client/_nuxt/{NSelect.vue.73b358c9.js → NSelect.vue.-sTE6wwQ.js} +1 -1
  29. package/dist/client/_nuxt/{NSelectTabs.vue.c879b497.js → NSelectTabs.vue.fSn-iFey.js} +1 -1
  30. package/dist/client/_nuxt/{NSwitch.vue.8e26c951.js → NSwitch.vue.hSNKFLMl.js} +1 -1
  31. package/dist/client/_nuxt/{StacktraceList.vue.8012c829.js → StacktraceList.vue.Gb_bhKzx.js} +1 -1
  32. package/dist/client/_nuxt/{StateEditor.vue.de9e5fb0.js → StateEditor.vue.uD82H9Pv.js} +1 -1
  33. package/dist/client/_nuxt/{__blank.b424e04d.js → __blank.rg_1bnXo.js} +1 -1
  34. package/dist/client/_nuxt/{analyze-build.0a92832b.js → analyze-build.JxJ_8lFN.js} +1 -1
  35. package/dist/client/_nuxt/{assets.b1bb5a8b.js → assets.1FyMcY8L.js} +3 -3
  36. package/dist/client/_nuxt/builds/latest.json +1 -1
  37. package/dist/client/_nuxt/builds/meta/08fd0fd8-5cfa-4695-8e27-78457d182dae.json +1 -0
  38. package/dist/client/_nuxt/{client.5139b740.js → client.eqvAG3u2.js} +1 -1
  39. package/dist/client/_nuxt/{components.ec2bc2e0.js → components.cp8uehQU.js} +1 -1
  40. package/dist/client/_nuxt/{css.f61fd02b.js → css.a-KJtBLB.js} +19 -19
  41. package/dist/client/_nuxt/{custom-_name_.22b5de51.js → custom-_name_.djPre3b7.js} +1 -1
  42. package/dist/client/_nuxt/{default.a830102b.js → default.7wQj6c36.js} +1 -1
  43. package/dist/client/_nuxt/diff.-l9-nN5b.js +1 -0
  44. package/dist/client/_nuxt/entry.AC_HBPW1.css +1 -0
  45. package/dist/client/_nuxt/entry.a1BLIhrc.js +48 -0
  46. package/dist/client/_nuxt/error-404.3dfc8fFE.js +1 -0
  47. package/dist/client/_nuxt/error-404.m36D2jj-.css +1 -0
  48. package/dist/client/_nuxt/{error-500.2884d8fb.js → error-500.qvz9zIUY.js} +1 -1
  49. package/dist/client/_nuxt/{error.480298a9.js → error.2PxdKqsT.js} +1 -1
  50. package/dist/client/_nuxt/full.w5ioE28h.js +1 -0
  51. package/dist/client/_nuxt/hooks.13fp5T8X.js +1 -0
  52. package/dist/client/_nuxt/{html.14085b69.js → html.0DSFJ4KV.js} +2 -2
  53. package/dist/client/_nuxt/{imports.9dbeba31.js → imports.E-T17-Mp.js} +1 -1
  54. package/dist/client/_nuxt/index.9SQHhWq3.js +16 -0
  55. package/dist/client/_nuxt/{index.3ee0584e.js → index.ctUdIrWg.js} +1 -1
  56. package/dist/client/_nuxt/javascript.Of8SnKfU.js +699 -0
  57. package/dist/client/_nuxt/{json-editor-vue.e51c968b.js → json-editor-vue.C3M8qDH6.js} +47 -41
  58. package/dist/client/_nuxt/json.t1qiHl76.js +25 -0
  59. package/dist/client/_nuxt/{modules.451e38d7.js → modules.z6wgZaun.js} +2 -2
  60. package/dist/client/_nuxt/{none.67be85f3.js → none.UJDcJL42.js} +1 -1
  61. package/dist/client/_nuxt/open-graph.ovVmSUH6.js +3 -0
  62. package/dist/client/_nuxt/{overview.d4940d4b.js → overview.RtevshhZ.js} +1 -1
  63. package/dist/client/_nuxt/{pages.e7892d8a.js → pages.jN1YZniN.js} +1 -1
  64. package/dist/client/_nuxt/{payload.734d0b5c.js → payload.QEY7GKAn.js} +1 -1
  65. package/dist/client/_nuxt/plugins.OPV4346K.js +1 -0
  66. package/dist/client/_nuxt/{runtime-configs.be989942.js → runtime-configs.BdJla29K.js} +1 -1
  67. package/dist/client/_nuxt/server-routes.7v7M6BNy.js +9 -0
  68. package/dist/client/_nuxt/settings.yb3IRCgQ.js +1 -0
  69. package/dist/client/_nuxt/shellscript.h1L64xId.js +4 -0
  70. package/dist/client/_nuxt/{state-components.558caa8f.js → state-components.7HYELvqe.js} +1 -1
  71. package/dist/client/_nuxt/{state-modules.59c565a3.js → state-modules.oo9Oe5GR.js} +1 -1
  72. package/dist/client/_nuxt/{storage-options.1c93b6a2.js → storage-options.fwiCb1uI.js} +1 -1
  73. package/dist/client/_nuxt/storage.DlSn8HWp.js +1 -0
  74. package/dist/client/_nuxt/{terminals.8201c148.js → terminals.XRY8ruVV.js} +4 -4
  75. package/dist/client/_nuxt/{timeline.ca0d67c3.js → timeline.AZ4Ag11k.js} +2 -2
  76. package/dist/client/_nuxt/typescript.b1Nw_bQe.js +666 -0
  77. package/dist/client/_nuxt/{unocss-runtime.43e5d503.js → unocss-runtime.NnHejI5X.js} +2 -2
  78. package/dist/client/_nuxt/virtual-files.dM-a5WY-.js +1 -0
  79. package/dist/client/_nuxt/vitesse-dark.5VceXvs6.js +1 -0
  80. package/dist/client/_nuxt/vitesse-light.HOMMxGxw.js +1 -0
  81. package/dist/client/_nuxt/vue-html.KfgsLQjp.js +1 -0
  82. package/dist/client/_nuxt/vue.c6DnC5ch.js +2002 -0
  83. package/dist/client/_nuxt/{yaml.b29e536f.js → yaml.FtfhlYqU.js} +2 -2
  84. package/dist/client/index.html +37 -41
  85. package/dist/module.json +1 -1
  86. package/dist/module.mjs +1 -1
  87. package/dist/runtime/function-metrics-helpers.mjs +2 -1
  88. package/dist/runtime/plugins/view/client.mjs +3 -2
  89. package/dist/shared/{devtools.371fa152.mjs → devtools.fc176ede.mjs} +2 -2
  90. package/package.json +41 -41
  91. package/dist/client/_nuxt/HelpFab.vue.308adf61.js +0 -1
  92. package/dist/client/_nuxt/LaunchPage.vue.ffcbcacd.js +0 -1
  93. package/dist/client/_nuxt/NCheckbox.vue.c0c515c4.js +0 -1
  94. package/dist/client/_nuxt/NCodeBlock.a117b19b.css +0 -1
  95. package/dist/client/_nuxt/NCodeBlock.vue.55894991.js +0 -2
  96. package/dist/client/_nuxt/NDropdown.vue.82a0f7a6.js +0 -1
  97. package/dist/client/_nuxt/NIconTitle.vue.a9777fd3.js +0 -1
  98. package/dist/client/_nuxt/NSectionBlock.bc36f09f.js +0 -1
  99. package/dist/client/_nuxt/builds/meta/136dbdb0-d4da-4a06-b141-83ca2e534bfd.json +0 -1
  100. package/dist/client/_nuxt/diff.22e0b108.js +0 -1
  101. package/dist/client/_nuxt/entry.56a3d1dd.css +0 -1
  102. package/dist/client/_nuxt/entry.7025a867.js +0 -27
  103. package/dist/client/_nuxt/error-404.08d4b3ab.js +0 -1
  104. package/dist/client/_nuxt/error-404.82ac0ec5.css +0 -1
  105. package/dist/client/_nuxt/full.7cf1e42e.js +0 -1
  106. package/dist/client/_nuxt/hooks.09b6efe0.js +0 -1
  107. package/dist/client/_nuxt/index.cc851671.js +0 -17
  108. package/dist/client/_nuxt/javascript.b7d6d348.js +0 -699
  109. package/dist/client/_nuxt/json.709f1c4d.js +0 -25
  110. package/dist/client/_nuxt/open-graph.9eed2b01.js +0 -3
  111. package/dist/client/_nuxt/plugins.4ae6abad.js +0 -1
  112. package/dist/client/_nuxt/server-routes.e1a8e445.js +0 -9
  113. package/dist/client/_nuxt/settings.a91f8ddb.js +0 -1
  114. package/dist/client/_nuxt/shellscript.e25d1410.js +0 -4
  115. package/dist/client/_nuxt/storage.d115f7c4.js +0 -1
  116. package/dist/client/_nuxt/typescript.24e7badf.js +0 -666
  117. package/dist/client/_nuxt/virtual-files.19e5fb95.js +0 -1
  118. package/dist/client/_nuxt/vitesse-dark.ff0e7dcb.js +0 -1
  119. package/dist/client/_nuxt/vitesse-light.c6996724.js +0 -1
  120. package/dist/client/_nuxt/vue-html.ded4875c.js +0 -1
  121. package/dist/client/_nuxt/vue.421a3560.js +0 -5603
  122. /package/dist/client/_nuxt/{HelpFab.f179afc3.css → HelpFab.x07F_IqA.css} +0 -0
  123. /package/dist/client/_nuxt/{NSectionBlock.3af235cd.css → NSectionBlock.a3MwpCxg.css} +0 -0
  124. /package/dist/client/_nuxt/{assets.a19ea08e.css → assets.xk970LH3.css} +0 -0
  125. /package/dist/client/_nuxt/{constants.2cc6e981.js → constants.jFgWOlQV.js} +0 -0
  126. /package/dist/client/_nuxt/{error-500.ff959f66.css → error-500.oAiyMzGs.css} +0 -0
  127. /package/dist/client/_nuxt/{nuxt-docs.100caa70.js → nuxt-docs.83FO1Cbd.js} +0 -0
  128. /package/dist/client/_nuxt/{onig.0c57a370.js → onig.mBJmD8D5.js} +0 -0
  129. /package/dist/client/_nuxt/{open-graph.058fa32c.css → open-graph.PgUMoob_.css} +0 -0
  130. /package/dist/client/_nuxt/{terminals.ae8c3544.css → terminals.GzwV8rXv.css} +0 -0
  131. /package/dist/client/_nuxt/{timeline.58bc6682.css → timeline.7wyW2pbe.css} +0 -0
  132. /package/dist/client/_nuxt/{vanilla-picker-NKbIFE8h.23409a58.js → vanilla-picker-NKbIFE8h.vtyeXros.js} +0 -0
  133. /package/dist/client/_nuxt/{virtual-files.a8748389.css → virtual-files.lmRDNyeH.css} +0 -0
@@ -8,7 +8,7 @@ import sirv from 'sirv';
8
8
  import { colors } from 'consola/utils';
9
9
  import { createBirpcGroup } from 'birpc';
10
10
  import { stringify, parse as parse$1 } from 'flatted';
11
- import { d as defaultAllowedExtensions, a as defaultTabOptions, W as WS_EVENT_NAME } from '../shared/devtools.371fa152.mjs';
11
+ import { d as defaultAllowedExtensions, a as defaultTabOptions, W as WS_EVENT_NAME } from '../shared/devtools.fc176ede.mjs';
12
12
  import { dirname, join as join$1, parse } from 'node:path';
13
13
  import { randomStr } from '@antfu/utils';
14
14
  import { hash } from 'ohash';
@@ -30,7 +30,7 @@ import { snakeCase } from 'scule';
30
30
  import Git from 'simple-git';
31
31
  import { runtimeDir, clientDir, packageDir, isGlobalInstall } from '../dirs.mjs';
32
32
 
33
- const version = "1.0.5";
33
+ const version = "1.0.7";
34
34
 
35
35
  function getHomeDir() {
36
36
  return process.env.XDG_CONFIG_HOME || homedir();
@@ -1262,19 +1262,21 @@ function setupRPC(nuxt, options) {
1262
1262
  }
1263
1263
 
1264
1264
  async function enableModule(options, nuxt) {
1265
- if (process.env.TEST || process.env.NODE_ENV === "test")
1265
+ if (process.env.TEST || process.env.NODE_ENV === "test" || nuxt.options.test)
1266
1266
  return;
1267
1267
  if (nuxt.options.builder !== "@nuxt/vite-builder") {
1268
1268
  logger.warn("Nuxt DevTools only supports Vite mode, module is disabled.");
1269
1269
  return;
1270
1270
  }
1271
- if (!nuxt.options.dev || nuxt.options.test) {
1271
+ if (!nuxt.options.dev) {
1272
1272
  if (nuxt.options.build.analyze)
1273
1273
  await import('./analyze-build.mjs').then(({ setup }) => setup(nuxt, options));
1274
1274
  return;
1275
1275
  }
1276
1276
  const enabledExplicitly = nuxt.options.devtools === true || nuxt.options.devtools && nuxt.options.devtools.enabled || !!nuxt.options.modules.find((m) => m === "@nuxt/devtools" || m === "@nuxt/devtools-edge");
1277
1277
  await nuxt.callHook("devtools:before");
1278
+ if (options.iframeProps)
1279
+ nuxt.options.runtimeConfig.app.iframeProps = options.iframeProps;
1278
1280
  nuxt.options.imports.collectMeta = true;
1279
1281
  addPlugin({
1280
1282
  src: join(runtimeDir, "plugins/devtools.client"),
@@ -1392,10 +1394,12 @@ window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
1392
1394
  }
1393
1395
  });
1394
1396
  });
1397
+ await import('./plugin-metrics.mjs').then(({ setup }) => setup(ctx));
1398
+ if (options.viteInspect !== false)
1399
+ await import('./vite-inspect.mjs').then(({ setup }) => setup(ctx));
1400
+ if (options.componentInspector !== false)
1401
+ await import('./vue-inspector.mjs').then(({ setup }) => setup(ctx));
1395
1402
  const integrations = [
1396
- import('./plugin-metrics.mjs').then(({ setup }) => setup(ctx)),
1397
- options.viteInspect !== false ? import('./vite-inspect.mjs').then(({ setup }) => setup(ctx)) : null,
1398
- options.componentInspector !== false ? import('./vue-inspector.mjs').then(({ setup }) => setup(ctx)) : null,
1399
1403
  options.vscode?.enabled ? import('./vscode.mjs').then(({ setup }) => setup(ctx)) : null,
1400
1404
  options.experimental?.timeline || options.timeline?.enabled ? import('./timeline.mjs').then(({ setup }) => setup(ctx)) : null
1401
1405
  ];
@@ -1,4 +1,4 @@
1
- async function setup({ nuxt }) {
1
+ function setup({ nuxt }) {
2
2
  if (!nuxt.options.dev || nuxt.options.test)
3
3
  return;
4
4
  nuxt.hook("app:templates", (app) => {
@@ -5,7 +5,7 @@ import 'node:path';
5
5
  import 'node:url';
6
6
  import 'is-installed-globally';
7
7
 
8
- async function setup({ nuxt, options }) {
8
+ function setup({ nuxt, options }) {
9
9
  const helperPath = resolve(runtimeDir, "function-metrics-helpers");
10
10
  const includeFrom = options.timeline?.functions?.includeFrom || [
11
11
  "#app",
@@ -2,7 +2,7 @@ import { addVitePlugin } from '@nuxt/kit';
2
2
  import Inspect from 'vite-plugin-inspect';
3
3
  import { addCustomTab } from '@nuxt/devtools-kit';
4
4
 
5
- async function setup({ nuxt, rpc }) {
5
+ function setup({ nuxt, rpc }) {
6
6
  const plugin = Inspect();
7
7
  addVitePlugin(plugin);
8
8
  let api;
@@ -14,7 +14,7 @@ import 'sirv';
14
14
  import 'consola/utils';
15
15
  import 'birpc';
16
16
  import 'flatted';
17
- import '../shared/devtools.371fa152.mjs';
17
+ import '../shared/devtools.fc176ede.mjs';
18
18
  import '../dirs.mjs';
19
19
  import 'node:url';
20
20
  import 'is-installed-globally';
@@ -1,7 +1,7 @@
1
1
  import { addVitePlugin } from '@nuxt/kit';
2
2
  import VueInspector from 'vite-plugin-vue-inspector';
3
3
 
4
- async function setup({ nuxt, options }) {
4
+ function setup({ nuxt, options }) {
5
5
  if (!nuxt.options.dev || nuxt.options.test)
6
6
  return;
7
7
  addVitePlugin(VueInspector({
@@ -1,42 +1,38 @@
1
- <!DOCTYPE html>
2
- <html >
3
- <head><meta charset="utf-8">
1
+ <!DOCTYPE html><html><head><meta charset="utf-8">
4
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.56a3d1dd.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.7025a867.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/index.cc851671.js">
8
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/onig.0c57a370.js">
9
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-dark.ff0e7dcb.js">
10
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-light.c6996724.js">
11
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/json.709f1c4d.js">
12
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/yaml.b29e536f.js">
13
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/css.f61fd02b.js">
14
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/javascript.b7d6d348.js">
15
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/typescript.24e7badf.js">
16
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue.421a3560.js">
17
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/html.14085b69.js">
18
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/shellscript.e25d1410.js">
19
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/diff.22e0b108.js">
20
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-html.ded4875c.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default.a830102b.js">
22
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full.7cf1e42e.js">
23
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none.67be85f3.js">
24
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-docs.100caa70.js">
25
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.a117b19b.css">
26
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DataSchemaDrawer.6f0305ae.js">
27
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSelect.vue.73b358c9.js">
28
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSwitch.vue.8e26c951.js">
29
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDropdown.vue.82a0f7a6.js">
30
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.vue.55894991.js">
31
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client.5139b740.js">
32
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDrawer.vue.99f5580b.js">
33
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime.43e5d503.js">
34
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.82ac0ec5.css">
35
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.08d4b3ab.js">
36
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.ff959f66.css">
37
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.2884d8fb.js">
38
- <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.7025a867.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(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 d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
39
- </script></head>
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
- <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
42
- </html>
3
+ <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.AC_HBPW1.css">
4
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.a1BLIhrc.js">
5
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/index.9SQHhWq3.js">
6
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/onig.mBJmD8D5.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-dark.5VceXvs6.js">
8
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-light.HOMMxGxw.js">
9
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/json.t1qiHl76.js">
10
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/yaml.FtfhlYqU.js">
11
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/css.a-KJtBLB.js">
12
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/javascript.Of8SnKfU.js">
13
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/typescript.b1Nw_bQe.js">
14
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue.c6DnC5ch.js">
15
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/html.0DSFJ4KV.js">
16
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-html.KfgsLQjp.js">
17
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/diff.-l9-nN5b.js">
18
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/shellscript.h1L64xId.js">
19
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default.7wQj6c36.js">
20
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full.w5ioE28h.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none.UJDcJL42.js">
22
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-docs.83FO1Cbd.js">
23
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.XH4dGkTz.css">
24
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DataSchemaDrawer.IkoxYN9B.js">
25
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSelect.vue.-sTE6wwQ.js">
26
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSwitch.vue.hSNKFLMl.js">
27
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDropdown.vue.ZtGr97L2.js">
28
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.vue.2w5Cy5b6.js">
29
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client.eqvAG3u2.js">
30
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDrawer.vue.16o-RaPU.js">
31
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime.NnHejI5X.js">
32
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.m36D2jj-.css">
33
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.3dfc8fFE.js">
34
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.oAiyMzGs.css">
35
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.qvz9zIUY.js">
36
+ <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.a1BLIhrc.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(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 d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
37
+ </script></head><body><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
38
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1,42 +1,38 @@
1
- <!DOCTYPE html>
2
- <html >
3
- <head><meta charset="utf-8">
1
+ <!DOCTYPE html><html><head><meta charset="utf-8">
4
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.56a3d1dd.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.7025a867.js">
7
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/index.cc851671.js">
8
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/onig.0c57a370.js">
9
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-dark.ff0e7dcb.js">
10
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-light.c6996724.js">
11
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/json.709f1c4d.js">
12
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/yaml.b29e536f.js">
13
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/css.f61fd02b.js">
14
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/javascript.b7d6d348.js">
15
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/typescript.24e7badf.js">
16
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue.421a3560.js">
17
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/html.14085b69.js">
18
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/shellscript.e25d1410.js">
19
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/diff.22e0b108.js">
20
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-html.ded4875c.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default.a830102b.js">
22
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full.7cf1e42e.js">
23
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none.67be85f3.js">
24
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-docs.100caa70.js">
25
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.a117b19b.css">
26
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DataSchemaDrawer.6f0305ae.js">
27
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSelect.vue.73b358c9.js">
28
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSwitch.vue.8e26c951.js">
29
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDropdown.vue.82a0f7a6.js">
30
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.vue.55894991.js">
31
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client.5139b740.js">
32
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDrawer.vue.99f5580b.js">
33
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime.43e5d503.js">
34
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.82ac0ec5.css">
35
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.08d4b3ab.js">
36
- <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.ff959f66.css">
37
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.2884d8fb.js">
38
- <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.7025a867.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(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 d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
39
- </script></head>
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
- <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
42
- </html>
3
+ <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.AC_HBPW1.css">
4
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.a1BLIhrc.js">
5
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/index.9SQHhWq3.js">
6
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/onig.mBJmD8D5.js">
7
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-dark.5VceXvs6.js">
8
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vitesse-light.HOMMxGxw.js">
9
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/json.t1qiHl76.js">
10
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/yaml.FtfhlYqU.js">
11
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/css.a-KJtBLB.js">
12
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/javascript.Of8SnKfU.js">
13
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/typescript.b1Nw_bQe.js">
14
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue.c6DnC5ch.js">
15
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/html.0DSFJ4KV.js">
16
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-html.KfgsLQjp.js">
17
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/diff.-l9-nN5b.js">
18
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/shellscript.h1L64xId.js">
19
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default.7wQj6c36.js">
20
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full.w5ioE28h.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none.UJDcJL42.js">
22
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-docs.83FO1Cbd.js">
23
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.XH4dGkTz.css">
24
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DataSchemaDrawer.IkoxYN9B.js">
25
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSelect.vue.-sTE6wwQ.js">
26
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NSwitch.vue.hSNKFLMl.js">
27
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDropdown.vue.ZtGr97L2.js">
28
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.vue.2w5Cy5b6.js">
29
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client.eqvAG3u2.js">
30
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NDrawer.vue.16o-RaPU.js">
31
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime.NnHejI5X.js">
32
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.m36D2jj-.css">
33
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.3dfc8fFE.js">
34
+ <link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.oAiyMzGs.css">
35
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.qvz9zIUY.js">
36
+ <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.a1BLIhrc.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(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 d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
37
+ </script></head><body><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
38
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1,3 +1,3 @@
1
- import{_ as R}from"./NCodeBlock.vue.55894991.js";import{d as _,a as F,r as N,an as W,bF as A,o as B,h as J,f as V}from"./entry.7025a867.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(`
1
+ import{_ as R}from"./NCodeBlock.vue.2w5Cy5b6.js";import{d as _,a as N,r as F,an as W,bG as A,o as B,h as J,f as V}from"./entry.a1BLIhrc.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=G(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 G(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 Z(n,e,t){return D.diff(n,e,t)}var k=new m;k.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=Z(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
- `)}}const o=F(()=>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=N();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 _};
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.4a9638b7.js";import{d as V,e as D,ac as U,a as c,ap 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,G as F,_ as S}from"./entry.7025a867.js";import{_ as z}from"./FilepathItem.vue.0f604f99.js";import{C as k}from"./constants.2cc6e981.js";const G={"hover:text-primary":""},L={key:0,"text-primary":""},M={"max-w-100":""},O={px4:"",py3:"","text-sm":""},T={flex:"~ gap2",n:"primary xs"},W={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},q={"text-sm":""},A=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(),g=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),C=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",M,[o("div",O,[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",T,[j(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m),"imports-name"))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(g)(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",W,[e(n)?(s(),_(v,{key:0},[o("div",q,[A,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,E(e(C),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",G,[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",L,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
1
+ import{_ as I}from"./NMarkdown.vue.cV8rBrR_.js";import{d as V,e as D,ac as U,a as c,ap as $,o as s,h as r,j as i,n as l,f as e,v as u,i as j,p as o,F as v,t as h,m as E,l as _,G as F,_ as S}from"./entry.a1BLIhrc.js";import{_ as z}from"./FilepathItem.vue.KRS5685n.js";import{C as x}from"./constants.jFgWOlQV.js";const G={"hover:text-primary":""},L={key:0,"text-primary":""},M={"max-w-100":""},O={px4:"",py3:"","text-sm":""},T={flex:"~ gap2",n:"primary xs"},W={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},q={"text-sm":""},A=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(k){const t=k,b=D(),g=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),C=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 x.nuxt[t.item.name];if(t.item.from==="vue")return x.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",M,[o("div",O,[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",T,[j(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m),"imports-name"))},{default:i(()=>[u(" Copy ")]),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>a.filepath&&e(g)(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",W,[e(n)?(s(),_(v,{key:0},[o("div",q,[A,o("strong",H,h(e(n)),1),J]),o("div",K,[(s(!0),_(v,null,E(e(C),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",G,[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",L,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Z as _};
@@ -1 +1 @@
1
- import{d as r,u as s,a2 as c,I as i,o as p,h as _,_ as u}from"./entry.7025a867.js";const f=r({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(l){const t=s();return(n,e)=>{const o=u,a=c("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",border:!1,onClick:e[0]||(e[0]=m=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{f as _};
1
+ import{d as r,u as s,a2 as c,I as i,o as p,h as _,_ as u}from"./entry.a1BLIhrc.js";const f=r({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(l){const t=s();return(n,e)=>{const o=u,a=c("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",border:!1,onClick:e[0]||(e[0]=m=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{f as _};