@nuxt/devtools 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -106
- package/dist/chunks/module-main.mjs +4 -4
- package/dist/chunks/vscode.mjs +2 -2
- package/dist/cli.mjs +1 -1
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__inspecting/index.html +2 -2
- package/dist/client/_nuxt/{Badge.4a77fa78.js → Badge.35e3d75f.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.979135a2.js → FilepathItem.vue.70457130.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.b76c79ef.js → LaunchPage.vue.15ef3f8b.js} +1 -1
- package/dist/client/_nuxt/{NButton.vue.1a112b83.js → NButton.vue.1aeb67fb.js} +1 -1
- package/dist/client/_nuxt/NCheckbox.vue.7252d00f.js +1 -0
- package/dist/client/_nuxt/{NIcon.vue.87f21f5b.js → NIcon.vue.6416325d.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.7c35c1a8.js +1 -0
- package/dist/client/_nuxt/NSectionBlock.891fa081.css +1 -0
- package/dist/client/_nuxt/NTextInput.vue.0fd513ee.js +1 -0
- package/dist/client/_nuxt/{NuxtLogo.042990f0.js → NuxtLogo.3b286105.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.a07128f1.js → StateEditor.vue.4b3d62c1.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.36646f40.js → StateEditor.vue.b4b0d299.js} +1 -1
- package/dist/client/_nuxt/{TabIcon.vue.5b095463.js → TabIcon.vue.dd710d5f.js} +1 -1
- package/dist/client/_nuxt/{__inspecting.8e04d312.js → __inspecting.3eb70499.js} +1 -1
- package/dist/client/_nuxt/{asyncData.1fda28f3.js → asyncData.f4eab2cf.js} +1 -1
- package/dist/client/_nuxt/components.b8fa7f92.js +1 -0
- package/dist/client/_nuxt/composables.8ff5f6b6.js +1 -0
- package/dist/client/_nuxt/{context.9698c0b7.js → context.c1f50e17.js} +1 -1
- package/dist/client/_nuxt/custom-_name_.681ffd04.js +1 -0
- package/dist/client/_nuxt/default.2963fb37.js +1 -0
- package/dist/client/_nuxt/editor.b5249ede.js +1 -0
- package/dist/client/_nuxt/entry.27ee4abf.css +1 -0
- package/dist/client/_nuxt/{entry.86f6ad34.js → entry.53ee6248.js} +1 -1
- package/dist/client/_nuxt/{error-404.e8158634.js → error-404.4d908286.js} +1 -1
- package/dist/client/_nuxt/{error-500.47af0385.js → error-500.e65c4924.js} +1 -1
- package/dist/client/_nuxt/{error-component.c0967733.js → error-component.1a84e289.js} +2 -2
- package/dist/client/_nuxt/hooks.b85de4f3.js +1 -0
- package/dist/client/_nuxt/imports.48d7ddd5.js +1 -0
- package/dist/client/_nuxt/index.747f17a4.js +1 -0
- package/dist/client/_nuxt/layouts.8029422d.js +1 -0
- package/dist/client/_nuxt/{middleware.69b6216a.js → middleware.671f87b6.js} +1 -1
- package/dist/client/_nuxt/modules.56768ce2.js +1 -0
- package/dist/client/_nuxt/{none.31b2b728.js → none.fa32461d.js} +1 -1
- package/dist/client/_nuxt/{nuxt-link.5c23b37c.js → nuxt-link.bdfe480b.js} +1 -1
- package/dist/client/_nuxt/overview.71ae3521.js +1 -0
- package/dist/client/_nuxt/pages.611146bd.js +1 -0
- package/dist/client/_nuxt/payload.e24f2347.js +1 -0
- package/dist/client/_nuxt/plugins.a24c21cb.js +1 -0
- package/dist/client/_nuxt/runtime-configs.9225ca28.js +1 -0
- package/dist/client/_nuxt/{server-routes.3adfcc71.js → server-routes.7c4496d9.js} +1 -1
- package/dist/client/_nuxt/state.647f0c35.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.25c772f5.js → unocss-runtime.6f823b2d.js} +1 -1
- package/dist/client/_nuxt/virtual-files.33ac3fab.js +9 -0
- package/dist/client/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/layouts/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/shared/{devtools.20f5aa36.mjs → devtools.95cf6023.mjs} +3 -0
- package/dist/shared/{devtools.e021beee.mjs → devtools.b6178134.mjs} +1 -1
- package/dist/types.d.ts +13 -0
- package/package.json +4 -3
- package/dist/client/_nuxt/NCheckbox.vue.a0c90a66.js +0 -1
- package/dist/client/_nuxt/NTextInput.vue.fd5ccf6b.js +0 -1
- package/dist/client/_nuxt/SectionBlock.48da9d80.css +0 -1
- package/dist/client/_nuxt/SectionBlock.6f644f93.js +0 -1
- package/dist/client/_nuxt/components.54475639.js +0 -1
- package/dist/client/_nuxt/composables.d26f66f1.js +0 -1
- package/dist/client/_nuxt/custom-_name_.3bf9ba62.js +0 -1
- package/dist/client/_nuxt/default.ddc4865a.js +0 -1
- package/dist/client/_nuxt/editor.09625e23.js +0 -1
- package/dist/client/_nuxt/entry.aace963d.css +0 -1
- package/dist/client/_nuxt/hooks.5083417d.js +0 -1
- package/dist/client/_nuxt/imports.dd507f13.js +0 -1
- package/dist/client/_nuxt/index.5d8d473c.js +0 -1
- package/dist/client/_nuxt/layouts.87dc2998.js +0 -1
- package/dist/client/_nuxt/modules.81a5998b.js +0 -1
- package/dist/client/_nuxt/overview.03a7bccb.js +0 -1
- package/dist/client/_nuxt/pages.e8864866.js +0 -1
- package/dist/client/_nuxt/payload.7a85ff3c.js +0 -1
- package/dist/client/_nuxt/plugins.1128c839.js +0 -1
- package/dist/client/_nuxt/runtime-configs.6a712d37.js +0 -1
- package/dist/client/_nuxt/state.567d3ef4.js +0 -1
- package/dist/client/_nuxt/virtual-files.5e4c425c.js +0 -9
|
@@ -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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.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.
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="modulepreload" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.2963fb37.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NSectionBlock.891fa081.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/NButton.a7fda268.css"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/StateEditor.ce27b0a9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/context.c1f50e17.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NuxtLogo.3b286105.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/_plugin-vue_export-helper.c27b6911.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NButton.vue.1aeb67fb.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/NIcon.vue.6416325d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-link.bdfe480b.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/StateEditor.vue.b4b0d299.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/composables.8ff5f6b6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/TabIcon.vue.dd710d5f.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/state.647f0c35.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/asyncData.f4eab2cf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.fa32461d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.6f823b2d.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.1a84e289.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.27ee4abf.css"><script>"use strict";const w=window,de=document.documentElement,knownColorSchemes=["dark","light"],preference=window.localStorage.getItem("nuxt-color-mode")||"system";let value=preference==="system"?getColorScheme():preference;const forcedColorMode=de.getAttribute("data-color-mode-forced");forcedColorMode&&(value=forcedColorMode),addColorScheme(value),w["__NUXT_COLOR_MODE__"]={preference,value,getColorScheme,addColorScheme,removeColorScheme};function addColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.add(o):de.className+=" "+o,t&&de.setAttribute("data-"+t,e)}function removeColorScheme(e){const o=""+e+"",t="";de.classList?de.classList.remove(o):de.className=de.className.replace(new RegExp(o,"g"),""),t&&de.removeAttribute("data-"+t)}function prefersColorScheme(e){return w.matchMedia("(prefers-color-scheme"+e+")")}function getColorScheme(){if(w.matchMedia&&prefersColorScheme("").media!=="not all"){for(const e of knownColorSchemes)if(prefersColorScheme(":"+e).matches)return e}return"light"}
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={serverRendered:false,config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}},data:{},state:{}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.53ee6248.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -6,6 +6,9 @@ const ROUTE_ENTRY = `${ROUTE_PATH}/entry`;
|
|
|
6
6
|
const ROUTE_CLIENT = `${ROUTE_PATH}/client`;
|
|
7
7
|
const defaultOptions = {
|
|
8
8
|
enabled: void 0,
|
|
9
|
+
// determine multiple conditions
|
|
10
|
+
componentInspector: true,
|
|
11
|
+
viteInspect: true,
|
|
9
12
|
vscode: {
|
|
10
13
|
enabled: true,
|
|
11
14
|
startOnBoot: false,
|
package/dist/types.d.ts
CHANGED
|
@@ -27,6 +27,18 @@ interface ModuleOptions {
|
|
|
27
27
|
* VS Code Server integration options.
|
|
28
28
|
*/
|
|
29
29
|
vscode?: VSCodeIntegrationOptions;
|
|
30
|
+
/**
|
|
31
|
+
* Enable Vue Component Inspector
|
|
32
|
+
*
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
componentInspector?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Enable vite-plugin-inspect
|
|
38
|
+
*
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
viteInspect?: boolean;
|
|
30
42
|
}
|
|
31
43
|
interface ModuleGlobalOptions {
|
|
32
44
|
/**
|
|
@@ -282,6 +294,7 @@ interface DevToolsUISettings {
|
|
|
282
294
|
componentsGraphShowNodeModules: boolean;
|
|
283
295
|
componentsGraphShowPages: boolean;
|
|
284
296
|
componentsGraphShowLayouts: boolean;
|
|
297
|
+
componentsGraphShowWorkspace: boolean;
|
|
285
298
|
interactionCloseOnOutsideClick: boolean;
|
|
286
299
|
}
|
|
287
300
|
interface ComponentRelationship {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "nuxt/devtools",
|
|
7
7
|
"exports": {
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"shiki": "^0.14.1",
|
|
84
84
|
"shiki-es": "^0.2.0",
|
|
85
85
|
"sirv": "^2.0.2",
|
|
86
|
+
"splitpanes": "^3.1.5",
|
|
86
87
|
"theme-vitesse": "^0.6.2",
|
|
87
88
|
"tinyws": "^0.1.0",
|
|
88
89
|
"unocss": "^0.50.0",
|
|
@@ -93,8 +94,8 @@
|
|
|
93
94
|
"wait-on": "^7.0.1",
|
|
94
95
|
"which": "^3.0.0",
|
|
95
96
|
"ws": "^8.12.1",
|
|
96
|
-
"@nuxt/devtools": "0.2.
|
|
97
|
-
"@nuxt/devtools-ui-kit": "0.2.
|
|
97
|
+
"@nuxt/devtools": "0.2.4",
|
|
98
|
+
"@nuxt/devtools-ui-kit": "0.2.4"
|
|
98
99
|
},
|
|
99
100
|
"scripts": {
|
|
100
101
|
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client && cp ../../README.md .",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as i}from"./NIcon.vue.87f21f5b.js";import{a as r,M as b,o as p,f as u,N as h,O as f,u as n,h as a,x as k,P as m,i as x,r as v}from"./entry.86f6ad34.js";const _=["checked","disabled"],V=["disabled"],y={class:"n-transition n-checkbox-box n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base"},M=r({__name:"NCheckbox",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(o,{emit:c}){const e=b(o,"modelValue",c,{passive:!0});return(t,s)=>{const d=i;return p(),u("label",{class:"items-center select-none n-disabled:n-disabled n-checkbox inline-flex hover:n-checkbox-hover",checked:n(e)||null,disabled:o.disabled||null},[h(a("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>k(e)?e.value=l:null),type:"checkbox",class:"absolute op0 peer",disabled:o.disabled,onKeypress:s[1]||(s[1]=m(l=>e.value=!n(e),["enter"]))},null,40,V),[[f,n(e)]]),a("span",y,[x(d,{class:"n-transition op0 n-checkbox-icon transform scale-0 n-checked:op100 n-checked:scale-100"})]),a("span",null,[v(t.$slots,"default")])],8,_)}}});export{M as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as r}from"./NIcon.vue.87f21f5b.js";import{a as u,M as i,f as d,r as p,N as m,a2 as f,u as x,h as b,x as h,o as n,c as y,m as V}from"./entry.86f6ad34.js";const v={class:"n-bg-base rounded py-1 border n-border-base flex items-center flex n-text-input focus-within:n-focus-base focus-within:border-context px-2"},B=["type","placeholder"],w=u({__name:"NTextInput",props:{modelValue:{default:""},placeholder:null,icon:null,disabled:{type:Boolean,default:!1},type:{default:"text"}},setup(e,{emit:a}){const o=i(e,"modelValue",a,{passive:!0});return(l,t)=>{const s=r;return n(),d("div",v,[p(l.$slots,"icon",{},()=>[e.icon?(n(),y(s,{key:0,icon:e.icon,class:"op50 mr-0.4em text-1.1em"},null,8,["icon"])):V("",!0)]),m(b("input",{"onUpdate:modelValue":t[0]||(t[0]=c=>h(o)?o.value=c:null),class:"flex-auto n-bg-base w-full !outline-none",type:e.type,placeholder:e.placeholder},null,8,B),[[f,x(o)]])])}}});export{w as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
details[data-v-5fb801ab]{border-style:none}summary[data-v-5fb801ab]{border-style:none;list-style:none}details[open] summary[data-v-5fb801ab]{border-style:none}details summary[data-v-5fb801ab]::-webkit-details-marker{display:none}details[open] .chevron[data-v-5fb801ab]{opacity:.75;transform:rotate(180deg)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as f}from"./NIcon.vue.87f21f5b.js";import{a as d,o as n,f as c,K as a,m as l,r as s,h as t,t as i,i as v,w as x,F as h,k as g,c as _,a0 as y,a1 as b}from"./entry.86f6ad34.js";/* empty css */import{_ as k}from"./_plugin-vue_export-helper.c27b6911.js";const B={flex:"~ gap2","items-center":""},I=d({__name:"IconTitle",props:{icon:null,text:null},setup(e){return(o,u)=>(n(),c("div",B,[e.icon?(n(),c("div",{key:0,class:a(e.icon)},null,2)):l("",!0),s(o.$slots,"default",{},()=>[t("div",null,i(e.text),1)])]))}}),r=e=>(y("data-v-5fb801ab"),e=e(),b(),e),S=["open"],$={key:0,op50:"","text-sm":""},C=r(()=>t("div",{"flex-auto":""},null,-1)),N=r(()=>t("div",{"x-divider":""},null,-1)),w=d({__name:"SectionBlock",props:{icon:null,text:null,description:null,containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){return(o,u)=>{const p=f,m=I;return n(),c(h,null,[t("details",{open:e.open},[t("summary",{"select-none":"","cursor-pointer":"",p4:"","hover:bg-active":"",class:a(e.collapse?"":"pointer-events-none")},[v(m,{icon:e.icon,text:e.text,"text-xl":"",op75:""},{default:x(()=>[t("div",null,[g(i(e.text)+" ",1),e.description?(n(),c("div",$,i(e.description),1)):l("",!0)]),C,e.collapse?(n(),_(p,{key:0,icon:"carbon-chevron-down","text-base":"",op50:"","cursor-pointer":"",transition:"","duration-500":"","place-self-start":"",class:"chevron"})):l("",!0)]),_:1},8,["icon","text"])],2),t("div",{flex:"~ col gap2",pt2:"",pb6:"",class:a(typeof e.padding=="string"?e.padding:e.padding?"px8":"")},[s(o.$slots,"details",{},void 0,!0),t("div",{class:a(e.containerClass),mt1:""},[s(o.$slots,"default",{},void 0,!0)],2),s(o.$slots,"footer",{},void 0,!0)],2)],8,S),N],64)}}}),D=k(w,[["__scopeId","data-v-5fb801ab"]]);export{D as _,I as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as K}from"./NTextInput.vue.fd5ccf6b.js";import{_ as O}from"./NIcon.vue.87f21f5b.js";import{_ as Q}from"./NCheckbox.vue.a0c90a66.js";import{a as T,l as N,o as a,f as y,k as D,t as W,u as e,h as _,i as x,c as b,m as $,r as L,p as X,w as k,q as R,s as Y,v as Z,x as U,T as ee,F as V,y as z,z as F,b as oe,A as te}from"./entry.86f6ad34.js";import{_ as A}from"./Badge.4a77fa78.js";import{_ as E}from"./FilepathItem.vue.979135a2.js";import{u as ne}from"./editor.09625e23.js";import{N as se,_ as ae}from"./NButton.vue.1a112b83.js";import{u as le}from"./composables.d26f66f1.js";import{u as ie,a as re,b as ce,i as pe,g as ue,c as me}from"./state.567d3ef4.js";import{_ as de,a as fe}from"./SectionBlock.6f644f93.js";import{F as _e}from"./fuse.esm.88e2763d.js";import"./_plugin-vue_export-helper.c27b6911.js";import"./context.9698c0b7.js";import"./nuxt-link.5c23b37c.js";/* empty css */import"./StateEditor.vue.36646f40.js";import"./asyncData.1fda28f3.js";const he=/\d/,be=["-","_","/","."];function ve(t=""){if(!he.test(t))return t.toUpperCase()===t}function ge(t,n){const h=n??be,s=[];if(!t||typeof t!="string")return s;let o="",r,d;for(const p of t){const u=h.includes(p);if(u===!0){s.push(o),o="",r=void 0;continue}const l=ve(p);if(d===!1){if(r===!1&&l===!0){s.push(o),o=p,r=l;continue}if(r===!0&&l===!1&&o.length>1){const c=o[o.length-1];s.push(o.slice(0,Math.max(0,o.length-1))),o=c+p,r=l;continue}}o+=p,r=l,d=u}return s.push(o),s}function ye(t){return t?t[0].toUpperCase()+t.slice(1):""}function G(t){return t?(Array.isArray(t)?t:ge(t)).map(n=>ye(n)).join(""):""}const xe={"text-sm":"","font-mono":""},ke=_("span",{op20:"",mr1:""},"<",-1),$e=_("span",{op20:"",ml1:""},"/>",-1),j=T({__name:"ComponentName",props:{component:null},setup(t){const n=t,h=N(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||""));return(s,o)=>(a(),y("code",xe,[ke,D(W(e(h)),1),$e]))}}),Ce={flex:"~ col gap1"},we={flex:"~ gap2"},Ne=_("div",{"i-carbon-copy":""},null,-1),Ve=[Ne],q=T({__name:"ComponentDetails",props:{component:null},setup(t){const n=t,h=N(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||"")),s=N(()=>n.component.filePath||n.component.file||n.component.__file||""),o=ne();return(r,d)=>{const p=j,u=A,l=E;return a(),y("div",Ce,[_("div",we,[_("div",null,[x(p,{component:t.component},null,8,["component"])]),_("button",{title:"Copy name","n-icon-btn":"",onClick:d[0]||(d[0]=c=>e(o)(`<${e(h)}></${e(h)}>`))},Ve),t.component.global?(a(),b(u,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):$("",!0)]),e(s)?(a(),b(l,{key:0,filepath:e(s),"text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):$("",!0),L(r.$slots,"default")])}}}),Pe={rounded:"",px2:"",py1:"",hover:"bg-active",class:"group",flex:"~ gap2","w-full":"","items-center":""},Se={"hover:text-primary":""},Te=T({__name:"ComponentItem",props:{component:null},setup(t){const n=t,h=N(()=>n.component.filePath||n.component.file||n.component.__file||"");return(s,o)=>{const r=j,d=q,p=X("VDropdown"),u=A,l=E;return a(),y("div",Pe,[x(p,null,{popper:k(()=>[x(d,{component:t.component,p4:""},null,8,["component"])]),default:k(()=>[_("button",Se,[x(r,{component:t.component},null,8,["component"])])]),_:1}),t.component.global?(a(),b(u,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):$("",!0),L(s.$slots,"default"),e(h)?(a(),b(l,{key:1,filepath:e(h),"text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):$("",!0)])}}}),Be={border:"b base",flex:"~ gap4",py1:"","items-center":"",px4:"","h-10":"","flex-none":""},Fe=_("span",{op75:""},"Show pages",-1),Me=_("span",{op75:""},"Show layouts",-1),Re=_("span",{op75:""},"Show node_modules",-1),Ue=_("div",{"i-carbon-close":""},null,-1),Ie={"w-full":"",relative:"",style:{height:"calc(100vh - 115px)"}},De={key:0,border:"l base",flex:"~ col gap-1","text-sm":"","items-center":"",absolute:"","right-0":"","top-0":"","bg-base":"",p2:"","bottom-0":""},Le=_("div",{"i-carbon-close":""},null,-1),ze=[Le],Ae=T({__name:"ComponentsGraph",props:{components:null},setup(t){const n=t,h=R(),s=le(),o=R(),r=ie(),d=re(),p=ce(),{componentsGraphShowNodeModules:u,componentsGraphShowPages:l,componentsGraphShowLayouts:c}=z(),f=R(),M=N(()=>{const w=p.value||[];if(f.value){let m=function(v){!v||i.has(v)||(i.add(v),v.deps.forEach(C=>{m(w.find(g=>g.id===C))}))};const i=new Set;return w.find(v=>v.id===o.value?.id),m(f.value),Array.from(i)}return w}),P=N(()=>{const w=M.value.map(i=>{const v=n.components.find(B=>B.filePath===i.id),C=r.value?.find(B=>B.file===i.id),g=d.value?.find(B=>B.file===i.id),H=i.id.replace(/\?.*$/,"").replace(/\#.*$/,""),S=i.id.includes("/node_modules/")?"lib":v?"user":g?"layout":C?"page":"unknown";if(!u.value&&S==="lib"||!l.value&&S==="page"||!c.value&&S==="layout")return null;const J=S==="layout"?"hexagon":S==="page"?"square":"dot";return{id:i.id,label:H.split("/").splice(-1)[0].replace(/\.\w+$/,""),group:S,shape:J,size:15+Math.min(i.deps.length/2,8),font:{color:s.value==="dark"?"white":"black"},color:f.value?.id===i.id?"#82c742":void 0,extra:{id:i.id,component:v,page:C,layout:g,relationship:i}}}).filter(i=>!!i),m=M.value.flatMap(i=>i.deps.map(v=>({from:i.id,to:v,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:w,edges:m}});Y(()=>{const w={nodes:{shape:"dot",size:16},physics:{repulsion:{centralGravity:.7,springLength:100,springConstant:.01},maxVelocity:146,solver:"forceAtlas2Based",timestep:.35,stabilization:{enabled:!0,iterations:200}},groups:{user:{color:"#42b883"},unknown:{color:"#b86542"},lib:{color:"#b4b842"},page:{color:"#42b2b8"},layout:{color:"#4256b8"}}},m=new se(h.value,P.value,w);m.on("click",i=>{const v=i.nodes?.[0],C=P.value.nodes?.find(g=>g.id===v)?.extra;C&&(o.value=C)}),Z(P,()=>{m.setData(P.value)})});function I(){f.value=o.value?.relationship,o.value=void 0}return(w,m)=>{const i=Q,v=q,C=ae;return a(),y(V,null,[_("div",Be,[x(i,{modelValue:e(l),"onUpdate:modelValue":m[0]||(m[0]=g=>U(l)?l.value=g:null),n:"primary sm"},{default:k(()=>[Fe]),_:1},8,["modelValue"]),x(i,{modelValue:e(c),"onUpdate:modelValue":m[1]||(m[1]=g=>U(c)?c.value=g:null),n:"primary sm"},{default:k(()=>[Me]),_:1},8,["modelValue"]),x(i,{modelValue:e(u),"onUpdate:modelValue":m[2]||(m[2]=g=>U(u)?u.value=g:null),n:"primary sm"},{default:k(()=>[Re]),_:1},8,["modelValue"]),e(f)?(a(),y("button",{key:0,flex:"~ gap-1","items-center":"",py1:"","bg-gray:20":"",pl3:"",pr2:"","rounded-full":"","text-xs":"",op50:"","hover:op100":"",onClick:m[3]||(m[3]=g=>f.value=void 0)},[D(" Clear filter "),Ue])):$("",!0)]),_("div",Ie,[_("div",{ref_key:"container",ref:h,"w-full":"","h-full":""},null,512),x(ee,{"enter-active-class":"duration-200 ease-in","enter-from-class":"transform translate-x-1/1","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100","leave-to-class":"transform translate-x-1/1"},{default:k(()=>[e(o)&&e(o).component?(a(),y("div",De,[_("button",{"n-icon-btn":"",absolute:"","text-xl":"","right-2":"","top-2":"",onClick:m[4]||(m[4]=g=>o.value=void 0)},ze),x(v,{component:e(o).component,p4:""},null,8,["component"]),x(C,{n:"primary solid",onClick:m[5]||(m[5]=g=>I())},{default:k(()=>[D(" Filter to this component ")]),_:1})])):$("",!0)]),_:1})])],64)}}}),Ee={pl4:""},Ge=T({__name:"ComponentsList",props:{components:null,search:null},setup(t){const n=t,h=N(()=>new _e(n.components,{keys:["pascalName","filePath","kebabName"]})),s=N(()=>{const o=[],r=new Map,d=[],p=[],u={user:0,lib:0,builtin:0,runtime:0};return(n.search?h.value.search(n.search).map(c=>c.item):n.components).forEach(c=>{if(c.global){p.push(c),u.runtime++;return}if(c.filePath&&pe(c.filePath)){const f=ue(c.filePath);if(!f)return;f==="nuxt"?(d.push(c),u.builtin++):(r.has(f)||r.set(f,[]),r.get(f).push(c),u.lib++)}else o.push(c),u.user++}),{count:u,user:o,builtin:d,lib:r,runtime:p}});return(o,r)=>{const d=Te,p=de,u=fe;return a(),y(V,null,[e(s).user.length?(a(),b(p,{key:0,icon:"carbon-nominal",text:"User components",description:`Total components: ${e(s).count.user}`},{default:k(()=>[(a(!0),y(V,null,F(e(s).user,l=>(a(),b(d,{key:l.filePath,"ml--5":"",component:l},null,8,["component"]))),128))]),_:1},8,["description"])):$("",!0),e(s).runtime.length?(a(),b(p,{key:1,icon:"carbon-load-balancer-global",text:"Runtime components",description:`Total components: ${e(s).count.runtime}`},{default:k(()=>[(a(!0),y(V,null,F(e(s).runtime,l=>(a(),b(d,{key:l.filePath,"ml--5":"",component:l},null,8,["component"]))),128))]),_:1},8,["description"])):$("",!0),e(s).builtin.length?(a(),b(p,{key:2,icon:"simple-icons-nuxtdotjs",text:"Built-in components",description:`Total components: ${e(s).count.builtin}`},{default:k(()=>[(a(!0),y(V,null,F(e(s).builtin,l=>(a(),b(d,{key:l.filePath,"ml--5":"",component:l},null,8,["component"]))),128))]),_:1},8,["description"])):$("",!0),e(s).lib.size?(a(),b(p,{key:3,icon:"carbon-3d-mpr-toggle",text:"Components from libraries",description:`${e(s).count.lib} components from ${e(s).lib.size} packages`},{default:k(()=>[(a(!0),y(V,null,F(e(s).lib.entries(),([l,c])=>(a(),y("div",{key:l},[x(u,{text:`${l} (${c.length})`,op50:"",py1:""},null,8,["text"]),_("div",Ee,[(a(!0),y(V,null,F(c,f=>(a(),b(d,{key:f.filePath,component:f},null,8,["component"]))),128))])]))),128))]),_:1},8,["description"])):$("",!0)],64)}}}),je={"h-full":"","of-auto":""},qe={p4:"",flex:"~ gap4","flex-1":"",border:"b base","navbar-glass":""},co=T({__name:"components",setup(t){const n=oe(),h=te(),s=me(),o=R(""),{componentsView:r}=z();function d(){n.value?.inspector?.instance&&(n.value.inspector.enable(),h.push("/__inspecting"))}function p(){r.value=r.value==="list"?"graph":"list"}return(u,l)=>{const c=K,f=O,M=Ae,P=Ge;return a(),y("div",je,[_("div",qe,[x(c,{modelValue:e(o),"onUpdate:modelValue":l[0]||(l[0]=I=>U(o)?o.value=I:null),placeholder:"Search...",icon:"carbon-search",p:"x5 y2",n:"primary","flex-auto":"","bg-base":"","border-base":""},null,8,["modelValue"]),_("button",{title:"Toggle view",onClick:p},[e(r)==="graph"?(a(),b(f,{key:0,icon:"i-carbon-network-4"})):(a(),b(f,{key:1,icon:"i-carbon-list"}))]),e(n)?.inspector?.instance?(a(),y("button",{key:0,title:"Inspect Vue components",onClick:d},[x(f,{icon:"i-carbon-select-window"})])):$("",!0)]),e(r)==="graph"?(a(),b(M,{key:0,components:e(s)},null,8,["components"])):(a(),b(P,{key:1,search:e(o),components:e(s)},null,8,["search","components"]))])}}});export{co as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aa as o}from"./entry.86f6ad34.js";const r=()=>o("color-mode").value;export{r as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as k,b as x,q as b,l as y,B as C,C as E,s as T,D as B,E as v,G as M,H as g,f as _,o as s,I as $,u as n,c as f,J as j,t as D}from"./entry.86f6ad34.js";import{u as I}from"./composables.d26f66f1.js";import{_ as L}from"./LaunchPage.vue.b76c79ef.js";import{d as W}from"./state.567d3ef4.js";import"./TabIcon.vue.5b095463.js";import"./NIcon.vue.87f21f5b.js";import"./NButton.vue.1a112b83.js";import"./nuxt-link.5c23b37c.js";/* empty css */import"./StateEditor.vue.36646f40.js";import"./asyncData.1fda28f3.js";const d=new Map,O=k({__name:"IframeView",props:{tab:null},setup(h){const c=h,m=x(),r=I(),t=b(),o=y(()=>c.tab.name),e=b(),i=C(E(t));T(()=>{const a=c.tab.view,p=a.persistent!==!1;if(d.get(o.value)&&p)e.value=d.get(o.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),p&&d.set(o.value,e.value),e.value.src=a.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{u(),l(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(w)}setTimeout(l,100)}),v(w),v(l),v(u),M(()=>{e.value&&(e.value.style.visibility="hidden")});function l(){if(!(!e.value||!e.value.contentWindow))try{const a=e.value.contentWindow.document.querySelector("html");a?.classList.toggle("dark",r.value==="dark"),a?.classList.toggle("light",r.value==="dark")}catch{}}function u(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__={host:m.value,devtools:{rpc:g}}}catch{}}function w(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${i.left}px`,top:`${i.top}px`,width:`${i.width}px`,height:`${i.height}px`,outline:"none"})}return(a,p)=>(s(),_("div",{ref_key:"anchor",ref:t,"w-full":"","h-full":""},null,512))}}),S={key:0,flex:"~ col","h-full":"","items-center":"","justify-center":""},U={key:4,flex:"~ col","h-full":"","items-center":"","justify-center":""},K=k({__name:"custom-[name]",setup(h){const c=$(),m=y(()=>c.params.name),r=W(),t=y(()=>r.all.value.find(o=>o.name===m.value));return(o,e)=>{const i=O,l=L;return n(t)?n(t).view.type==="iframe"?(s(),f(i,{key:1,tab:n(t)},null,8,["tab"])):n(t).view.type==="vnode"?(s(),f(j(n(t).view.vnode),{key:2})):n(t).view.type==="launch"?(s(),f(l,{key:3,icon:n(t).view.icon||n(t).icon,title:n(t).view.title||n(t).title,description:n(t).view.description,actions:n(t).view.actions,onAction:e[0]||(e[0]=u=>("rpc"in o?o.rpc:n(g)).customTabAction(n(t).name,u))},null,8,["icon","title","description","actions"])):(s(),_("div",U," Unknown tab type "+D(n(t).view),1)):(s(),_("div",S," Tab not found "))}}});export{K as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as V}from"./context.9698c0b7.js";import{a as h,b as y,a3 as P,o as a,f as d,u as o,h as n,K as m,m as b,i as p,w as f,k as C,a4 as z,q as k,s as B,a5 as j,c as x,r as w,l as D,a6 as L,n as R,g as F,t as N,J as I,p as M,F as $,z as T,R as S,L as O}from"./entry.86f6ad34.js";import{_ as W}from"./NuxtLogo.042990f0.js";import{_ as q}from"./NButton.vue.1a112b83.js";import{_ as A}from"./_plugin-vue_export-helper.c27b6911.js";import{u as E}from"./composables.d26f66f1.js";import{_ as H}from"./TabIcon.vue.5b095463.js";import{_ as J}from"./nuxt-link.5c23b37c.js";import{d as K}from"./state.567d3ef4.js";import"./NIcon.vue.87f21f5b.js";/* empty css */import"./StateEditor.vue.36646f40.js";import"./asyncData.1fda28f3.js";const Y={key:0,px4:"",py2:"",border:"b base",flex:"~ col gap-1"},G=n("div",{"text-sm":"",op50:""}," Dock devtools to ",-1),Q={flex:"~ gap-1","text-lg":""},U={px4:"",py3:"",flex:"~ gap2"},X=h({__name:"DockingPanel",setup(l){const e=z(),t=y(),s=P();function r(){s.hooks.callHookParallel("app:data:refresh",Object.keys(s.payload.data)),t.value&&(t.value={...t.value})}function c(){location.reload()}return(u,i)=>{const v=q;return a(),d("div",null,[o(t)?(a(),d("div",Y,[G,n("div",Q,[n("button",{"i-carbon-open-panel-filled-bottom":"",class:m(o(e).position==="bottom"?"text-primary":"op50"),onClick:i[0]||(i[0]=g=>o(e).position="bottom")},null,2),n("button",{"i-carbon-open-panel-filled-right":"",class:m(o(e).position==="right"?"text-primary":"op50"),onClick:i[1]||(i[1]=g=>o(e).position="right")},null,2),n("button",{"i-carbon-open-panel-filled-left":"",class:m(o(e).position==="left"?"text-primary":"op50"),onClick:i[2]||(i[2]=g=>o(e).position="left")},null,2),n("button",{"i-carbon-open-panel-filled-top":"",class:m(o(e).position==="top"?"text-primary":"op50"),onClick:i[3]||(i[3]=g=>o(e).position="top")},null,2)])])):b("",!0),n("div",U,[p(v,{n:"solid primary xs",onClick:r},{default:f(()=>[C(" Refetch Data ")]),_:1}),p(v,{n:"solid primary xs",onClick:c},{default:f(()=>[C(" Refresh Page ")]),_:1})])])}}}),Z=h({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(l,{slots:e,attrs:t}){const s=k(!1);return B(()=>{s.value=!0}),r=>{if(s.value)return e.default?.();const c=e.fallback||e.placeholder;if(c)return c();const u=r.fallback||r.placeholder||"",i=r.fallbackTag||r.placeholderTag||"span";return d(i,t,u)}}}),ee={name:j,props:{placeholder:String,tag:{type:String,default:"span"}}};function te(l,e,t,s,r,c){const u=Z;return a(),x(u,{placeholder:t.placeholder,"placeholder-tag":t.tag},{default:f(()=>[w(l.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const oe=A(ee,[["render",te]]),ne=h({__name:"NDarkToggle",setup(l){const e=E(),t=D({get(){return e.value==="dark"},set(){e.preference=t.value?"light":"dark"}}),s=L(t),r={mode:e,isDark:t,toggle:s};return(c,u)=>{const i=oe;return a(),x(i,{tag:"span"},{default:f(()=>[w(c.$slots,"default",R(F(r)))]),_:3})}}}),ae={hidden:"","lg:block":"","flex-auto":"",pl2:""},le={key:0,hidden:"","lg:block":""},se=h({__name:"DrawerItem",props:{tab:null},setup(l){const e=l,t=y(),s=D(()=>!(e.tab.requireClient&&!t.value));return(r,c)=>{const u=H,i=J;return o(s)?(a(),x(i,{key:0,to:"path"in l.tab?l.tab.path:`/modules/custom-${l.tab.name}`,flex:"~",p2:"","items-center":"","justify-center":"","text-true-gray":"",border:"base",lg:"border-b px3 py1.5 justify-start","hover:bg-active":"","select-none":"","exact-active-class":"!text-primary"},{default:f(()=>[p(u,{"text-lg":"","lg:text-base":"",icon:l.tab.icon,title:l.tab.title},null,8,["icon","title"]),n("div",ae,N(l.tab.title),1),"extraTabVNode"in l.tab&&l.tab.extraTabVNode?(a(),d("div",le,[(a(),x(I(l.tab.extraTabVNode)))])):b("",!0)]),_:1},8,["to"])):b("",!0)}}}),re={border:"r base",flex:"~ col","h-full":""},ie={flex:"~",p2:"","items-center":"",border:"b base"},ce=n("div",{hidden:"","lg:block":"","flex-auto":""},null,-1),de=["onClick"],ue=n("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),pe=[ue],_e=n("div",{"i-carbon-close":"","scale-140":""},null,-1),me=[_e],fe=n("div",{"text-xs":"",p1:"","lg:p2":"","text-hex-888":"","text-center":"",uppercase:"","tracking-widest":"",border:"b base"},[n("span",{hidden:"","lg:inline":""},"Modules")],-1),be=n("div",{"flex-auto":""},null,-1),he={key:0,px4:"",hidden:"","theme-banner-yellow":"","justify-center":"","lg:flex":"",gap3:""},ge=h({__name:"Drawer",setup(l){const e=y(),t=K();return(s,r)=>{const c=W,u=X,i=M("VDropdown"),v=ne,g=se;return a(),d("div",re,[n("div",ie,[p(i,{placement:"left-start",distance:20,hidden:"","lg:block":""},{popper:f(()=>[p(u)]),default:f(()=>[p(c,{"h-8":"",class:m(o(e)?"":"saturate-0"),title:o(e)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode"},null,8,["class","title"])]),_:1}),ce,p(v,null,{default:f(({toggle:_})=>[n("button",{"n-icon-btn":"","w-7":"","mr--1":"","h-7":"",class:"hidden! lg:block!",onClick:De=>_()},pe,8,de)]),_:1}),o(e)?(a(),d("button",{key:0,"n-icon-btn":"","w-7":"","h-7":"",onClick:r[0]||(r[0]=_=>o(e).closeDevTools())},me)):b("",!0)]),(a(!0),d($,null,T(o(t).builtin.value,_=>(a(),x(g,{key:_.name,tab:_},null,8,["tab"]))),128)),o(t).custom.value.length?(a(),d($,{key:0},[fe,(a(!0),d($,null,T(o(t).custom.value,_=>(a(),x(g,{key:_.name,tab:_},null,8,["tab"]))),128)),be,("showConnectionWarning"in s?s.showConnectionWarning:o(S))?(a(),d("div",he," Server data only ")):b("",!0)],64)):b("",!0)])}}}),xe=h({__name:"Notification",setup(l){const e=k(!1),t=k(),s=k();return V((r,c,u=1500)=>{s.value=r,t.value=c,e.value=!0,setTimeout(()=>{e.value=!1},u)}),(r,c)=>(a(),d("div",{"text-center":"","top-0":"","right-0":"",fixed:"","left-0":"","z-50":"",class:m(o(e)?"":"pointer-events-none overflow-hidden")},[n("div",{border:"~ base",flex:"~ inline gap2",rounded:"","bg-base":"","text-primary":"","items-center":"","px-4":"","py-1":"","inline-block":"","m-3":"","transition-all":"","duration-300":"",style:O(o(e)?{}:{transform:"translateY(-300%)"}),class:m(o(e)?"shadow":"shadow-none")},[o(t)?(a(),d("div",{key:0,class:m(o(t))},null,2)):b("",!0),n("div",null,N(o(s)),1)],6)],2))}}),ve={"of-hidden":"","bg-base":"","h-screen":"","font-sans":""},ke={key:0,"h-full":"","w-full":"",flex:""},ye=n("div",{ma:"","text-lg":"",flex:"~ col","items-center":"","animate-pulse":""},[n("div",{"i-carbon-circle-dash":"","animate-spin":"","text-4xl":"",op50:""}),C(" Connecting... ")],-1),$e=[ye],Ce={key:1,grid:"~ cols-[45px_1fr] lg:cols-[200px_1fr]","h-full":"","of-hidden":""},we={"h-full":"","of-auto":""},Oe=h({__name:"default",setup(l){const e=y(),t=D(()=>!e.value&&!S.value);return(s,r)=>{const c=xe,u=ge;return a(),d("div",ve,[p(c),o(t)?(a(),d("div",ke,$e)):(a(),d("div",Ce,[p(u,{"of-auto":""}),n("div",we,[w(s.$slots,"default")])]))])}}});export{Oe as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as a,Y as n}from"./entry.86f6ad34.js";import{u as r}from"./context.9698c0b7.js";async function s(o){await a.openInEditor(o)}function e(){const o=n(),i=r();return t=>{o.copy(t),i("Copied to clipboard","carbon-checkmark")}}export{s as o,e as u};
|