@nuxt/devtools 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +2 -2
- 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.0a290709.js → Badge.18a1faa1.js} +1 -1
- package/dist/client/_nuxt/CodeSnippets.vue.93d86055.js +1 -0
- package/dist/client/_nuxt/DrawerRight.vue.753ffedf.js +1 -0
- package/dist/client/_nuxt/{DurationDisplay.vue.9816695d.js → DurationDisplay.vue.2e10a9ab.js} +1 -1
- package/dist/client/_nuxt/FilepathItem.vue.17a1ef3b.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.d669f6a6.js +1 -0
- package/dist/client/_nuxt/{NCheckbox.vue.f52d0a98.js → NCheckbox.vue.e9f99715.js} +1 -1
- package/dist/client/_nuxt/NCodeBlock.vue.bac56013.js +2 -0
- package/dist/client/_nuxt/NIconButton.vue.dc045a77.js +1 -0
- package/dist/client/_nuxt/{NIconTitle.vue.d1747349.js → NIconTitle.vue.20baf9ca.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.20a8169f.js → NMarkdown.vue.04a4db38.js} +1 -1
- package/dist/client/_nuxt/NPanelGrids.02a70c97.js +1 -0
- package/dist/client/_nuxt/{NSectionBlock.e666450f.js → NSectionBlock.a11f230b.js} +1 -1
- package/dist/client/_nuxt/NSelect.vue.ee701084.js +1 -0
- package/dist/client/_nuxt/{NSwitch.vue.28747f12.js → NSwitch.vue.57428898.js} +1 -1
- package/dist/client/_nuxt/NTextInput.vue.321edbfc.js +1 -0
- package/dist/client/_nuxt/{NTip.vue.eda7f11a.js → NTip.vue.6b28ea49.js} +1 -1
- package/dist/client/_nuxt/{NpmVersionCheck.vue.d7b26b31.js → NpmVersionCheck.vue.cf2f92dc.js} +1 -1
- package/dist/client/_nuxt/{NuxtLogo.1c0728be.js → NuxtLogo.9393be93.js} +1 -1
- package/dist/client/_nuxt/{PanelLeftRight.vue.005018fa.js → PanelLeftRight.vue.9f476475.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.4b8051fa.js → StateEditor.vue.780bea4b.js} +1 -1
- package/dist/client/_nuxt/__inspecting.dca08c99.js +1 -0
- package/dist/client/_nuxt/assets.32f43d91.js +16 -0
- package/dist/client/_nuxt/components.cf2ad6d8.js +1 -0
- package/dist/client/_nuxt/constants.126da185.js +1 -0
- package/dist/client/_nuxt/custom-_name_.02a0e7a4.js +1 -0
- package/dist/client/_nuxt/default.15ad6f94.js +1 -0
- package/dist/client/_nuxt/editor.21c0f631.js +1 -0
- package/dist/client/_nuxt/entry.573eb475.js +259 -0
- package/dist/client/_nuxt/entry.7a4bae62.css +32 -0
- package/dist/client/_nuxt/{error-404.5dd28b39.js → error-404.362e6f4b.js} +1 -1
- package/dist/client/_nuxt/{error-500.40852059.js → error-500.333947d6.js} +1 -1
- package/dist/client/_nuxt/{error-component.7b83568a.js → error-component.9b2b9ea0.js} +2 -2
- package/dist/client/_nuxt/full.11c5f922.js +1 -0
- package/dist/client/_nuxt/{fuse.esm.69d72a3b.js → fuse.esm.dd081c31.js} +1 -1
- package/dist/client/_nuxt/{hooks.b54081d4.js → hooks.5ac5215b.js} +1 -1
- package/dist/client/_nuxt/imports.a42ed4e0.js +1 -0
- package/dist/client/_nuxt/{index.b2230878.js → index.207404a1.js} +1 -1
- package/dist/client/_nuxt/{middleware.d5000709.js → middleware.8446ef05.js} +1 -1
- package/dist/client/_nuxt/modules.7af01df4.js +1 -0
- package/dist/client/_nuxt/{none.b1b5b9b7.js → none.a6f40eb7.js} +1 -1
- package/dist/client/_nuxt/overview.57469504.js +1 -0
- package/dist/client/_nuxt/{pages.2c54d081.js → pages.e7c45d03.js} +1 -1
- package/dist/client/_nuxt/payload.45880f90.js +1 -0
- package/dist/client/_nuxt/plugins.c2b464a0.js +1 -0
- package/dist/client/_nuxt/{runtime-configs.255185da.js → runtime-configs.c3bb5842.js} +1 -1
- package/dist/client/_nuxt/server-routes.39ca7aaf.js +9 -0
- package/dist/client/_nuxt/settings.63e9273e.js +1 -0
- package/dist/client/_nuxt/storage.997cf777.js +1 -0
- package/dist/client/_nuxt/terminals.c017f557.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.f4f04b37.js → unocss-runtime.32a65eb2.js} +1 -1
- package/dist/client/_nuxt/virtual-files.554fde6c.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/modules/assets/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/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/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/package.json +14 -15
- package/dist/client/_nuxt/DrawerRight.vue.a83a778f.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.288f8cb4.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.25e8c415.js +0 -1
- package/dist/client/_nuxt/NCodeBlock.vue.b2b8c3ac.js +0 -2
- package/dist/client/_nuxt/NIconButton.vue.c1838c30.js +0 -1
- package/dist/client/_nuxt/NLoading.f33a8f5a.js +0 -1
- package/dist/client/_nuxt/NPanelGrids.ac7957ef.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.7264b851.js +0 -1
- package/dist/client/_nuxt/NTextInput.vue.352ba30f.js +0 -1
- package/dist/client/_nuxt/TabIcon.vue.84eecba6.js +0 -1
- package/dist/client/_nuxt/__inspecting.2df5f253.js +0 -1
- package/dist/client/_nuxt/assets.c48069ab.js +0 -16
- package/dist/client/_nuxt/components.0e258eba.js +0 -1
- package/dist/client/_nuxt/constants.bd39e314.js +0 -1
- package/dist/client/_nuxt/context.6844f837.js +0 -1
- package/dist/client/_nuxt/custom-_name_.5de364a2.js +0 -1
- package/dist/client/_nuxt/default.57fc1d9b.js +0 -1
- package/dist/client/_nuxt/editor.59beec6a.js +0 -1
- package/dist/client/_nuxt/entry.9f02ddf0.css +0 -32
- package/dist/client/_nuxt/entry.bcd35db3.js +0 -259
- package/dist/client/_nuxt/imports.cca795e7.js +0 -1
- package/dist/client/_nuxt/layouts.5513175b.js +0 -1
- package/dist/client/_nuxt/modules.26682582.js +0 -1
- package/dist/client/_nuxt/overview.28a5ffd6.js +0 -1
- package/dist/client/_nuxt/payload.28c2ffd0.js +0 -1
- package/dist/client/_nuxt/plugins.2a8f86bc.js +0 -1
- package/dist/client/_nuxt/server-routes.f29871aa.js +0 -9
- package/dist/client/_nuxt/settings.2b491e6d.js +0 -1
- package/dist/client/_nuxt/storage.709c30ef.js +0 -1
- package/dist/client/_nuxt/terminals.7858d68a.js +0 -1
- package/dist/client/_nuxt/virtual-files.383ad39e.js +0 -1
- package/dist/client/modules/layouts/index.html +0 -7
|
@@ -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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.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.573eb475.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.ce8efa93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.15ad6f94.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.11c5f922.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.a6f40eb7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.32a65eb2.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-component.9b2b9ea0.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.7a4bae62.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:""}}
|
|
6
|
+
<body ><div id="__nuxt"></div><script>window.__NUXT__={_errors:{},serverRendered:false,data:{},state:{},config:{public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"\u002F__nuxt_devtools__\u002Fclient",buildAssetsDir:"\u002F_nuxt\u002F",cdnURL:""}}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.573eb475.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "nuxt/devtools",
|
|
7
7
|
"exports": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"vite": "*"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nuxt/kit": "^3.
|
|
33
|
+
"@nuxt/kit": "^3.4.1",
|
|
34
34
|
"birpc": "^0.2.11",
|
|
35
|
-
"consola": "^3.0
|
|
35
|
+
"consola": "^3.1.0",
|
|
36
36
|
"execa": "^7.1.1",
|
|
37
37
|
"fast-glob": "^3.2.12",
|
|
38
38
|
"get-port-please": "^3.0.1",
|
|
@@ -43,37 +43,37 @@
|
|
|
43
43
|
"is-installed-globally": "^0.4.0",
|
|
44
44
|
"launch-editor": "^2.6.0",
|
|
45
45
|
"local-pkg": "^0.4.3",
|
|
46
|
-
"nypm": "^0.
|
|
46
|
+
"nypm": "^0.2.0",
|
|
47
47
|
"pacote": "^15.1.1",
|
|
48
48
|
"pathe": "^1.1.0",
|
|
49
49
|
"picocolors": "^1.0.0",
|
|
50
50
|
"pkg-types": "^1.0.2",
|
|
51
51
|
"rc9": "^2.1.0",
|
|
52
|
-
"semver": "^7.
|
|
52
|
+
"semver": "^7.5.0",
|
|
53
53
|
"sirv": "^2.0.2",
|
|
54
54
|
"tinyws": "^0.1.0",
|
|
55
55
|
"unimport": "^3.0.6",
|
|
56
|
-
"vite-plugin-inspect": "^0.7.
|
|
56
|
+
"vite-plugin-inspect": "^0.7.22",
|
|
57
57
|
"vite-plugin-vue-inspector": "^3.4.0",
|
|
58
58
|
"wait-on": "^7.0.1",
|
|
59
59
|
"which": "^3.0.0",
|
|
60
60
|
"ws": "^8.13.0",
|
|
61
|
-
"@nuxt/devtools-kit": "0.4.
|
|
62
|
-
"@nuxt/devtools-wizard": "0.4.
|
|
61
|
+
"@nuxt/devtools-kit": "0.4.1",
|
|
62
|
+
"@nuxt/devtools-wizard": "0.4.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@antfu/utils": "^0.7.2",
|
|
66
66
|
"@iconify-json/carbon": "^1.1.16",
|
|
67
67
|
"@iconify-json/logos": "^1.1.24",
|
|
68
68
|
"@iconify-json/mdi": "^1.1.50",
|
|
69
|
-
"@iconify-json/ri": "^1.1.
|
|
70
|
-
"@iconify-json/tabler": "^1.1.
|
|
69
|
+
"@iconify-json/ri": "^1.1.8",
|
|
70
|
+
"@iconify-json/tabler": "^1.1.73",
|
|
71
71
|
"@nuxtjs/color-mode": "^3.2.0",
|
|
72
72
|
"@unocss/nuxt": "^0.51.4",
|
|
73
73
|
"@unocss/preset-icons": "^0.51.4",
|
|
74
74
|
"@unocss/preset-uno": "^0.51.4",
|
|
75
75
|
"@unocss/runtime": "^0.51.4",
|
|
76
|
-
"@vueuse/nuxt": "^
|
|
76
|
+
"@vueuse/nuxt": "^10.0.2",
|
|
77
77
|
"esno": "^0.16.3",
|
|
78
78
|
"flatted": "^3.2.7",
|
|
79
79
|
"floating-vue": "2.0.0-beta.20",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"json-editor-vue": "^0.10.5",
|
|
82
82
|
"markdown-it": "^13.0.1",
|
|
83
83
|
"nanoid": "^4.0.2",
|
|
84
|
-
"nuxt": "^3.
|
|
84
|
+
"nuxt": "^3.4.1",
|
|
85
85
|
"nuxt-vitest": "^0.6.9",
|
|
86
86
|
"ofetch": "^1.0.1",
|
|
87
87
|
"ohash": "^1.0.0",
|
|
@@ -90,14 +90,13 @@
|
|
|
90
90
|
"splitpanes": "^3.1.5",
|
|
91
91
|
"theme-vitesse": "^0.6.4",
|
|
92
92
|
"unocss": "^0.51.4",
|
|
93
|
-
"vanilla-jsoneditor": "^0.
|
|
93
|
+
"vanilla-jsoneditor": "^0.17.1",
|
|
94
94
|
"vis-data": "^7.1.6",
|
|
95
95
|
"vis-network": "^9.1.6",
|
|
96
|
-
"vue-template-promise": "^0.1.3",
|
|
97
96
|
"vue-tsc": "^1.2.0",
|
|
98
97
|
"xterm": "^5.1.0",
|
|
99
98
|
"xterm-addon-fit": "^0.7.0",
|
|
100
|
-
"@nuxt/devtools": "0.4.
|
|
99
|
+
"@nuxt/devtools": "0.4.1"
|
|
101
100
|
},
|
|
102
101
|
"scripts": {
|
|
103
102
|
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client && esno scripts/prepare.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as i}from"./NIconButton.vue.c1838c30.js";import{a as u,D as m,a0 as f,a1 as d,o as l,c as p,w as _,a2 as b,f as v,i as h,h as x,L as y,a3 as g,u as k,y as B}from"./entry.bcd35db3.js";const C={relative:"","h-full":"","w-full":"","of-auto":""},V={inheritAttrs:!1},N=u({...V,__name:"DrawerRight",props:{modelValue:{type:Boolean},navbar:null,autoClose:{type:Boolean}},emits:["close"],setup(a,{emit:r}){const e=a,o=m(),{height:n}=f(()=>e.navbar,void 0,{box:"border-box"});return d(o,()=>{e.modelValue&&e.autoClose&&r("close")},{ignore:["a","button","summary"]}),(t,s)=>{const c=i;return l(),p(b,{"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:_(()=>[a.modelValue?(l(),v("div",g({key:0,ref_key:"el",ref:o,border:"l base",flex:"~ col gap-1",absolute:"","bottom-0":"","right-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","glass-effect":"",style:{top:`${k(n)}px`}},t.$attrs),[h(c,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",onClick:s[0]||(s[0]=$=>t.$emit("close"))}),x("div",C,[y(t.$slots,"default")])],16)):B("",!0)]),_:3})}}});export{N as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as u,A as d,m as h,ae as c,o,f as n,u as e,F as m,h as f,t as l,y as k,l as y,x as B}from"./entry.bcd35db3.js";import{o as N}from"./editor.59beec6a.js";const g=["title"],v={key:0,op50:""},I=u({__name:"FilepathItem",props:{filepath:null,lineBreak:{type:Boolean},subpath:{type:Boolean}},setup(a){const s=a,i=d(),t=h(()=>s.filepath&&i.value?c(s.filepath,i.value.rootDir):{path:s.filepath});return(r,p)=>(o(),n("button",{"font-mono":"","hover:underline":"",class:B(a.lineBreak?"":"ws-nowrap of-hidden truncate"),title:a.filepath,onClick:p[0]||(p[0]=C=>("openInEditor"in r?r.openInEditor:e(N))(a.filepath))},[e(t).moduleName?(o(),n(m,{key:0},[f("span",null,l(e(t).moduleName),1),a.subpath?(o(),n("span",v,l(e(t).path.slice(e(t).moduleName.length)),1)):k("",!0)],64)):(o(),n(m,{key:1},[y(l(e(t).path),1)],64))],10,g))}});export{I as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as x}from"./TabIcon.vue.84eecba6.js";import{_ as g}from"./NMarkdown.vue.20a8169f.js";import{a as b,o as n,c as o,w as a,i as s,h as i,t as l,y as r,f as h,v as N,a3 as w,l as y,F as C,H as B,k as $,ai as V}from"./entry.bcd35db3.js";import{_ as v}from"./NPanelGrids.ac7957ef.js";const P={"text-xl":""},F={flex:"~ gap2 wrap"},G=b({__name:"LaunchPage",props:{icon:null,title:null,description:null,actions:null},emits:["action"],setup(e){return(m,I)=>{const _=x,d=g,u=B,p=$,f=V,k=v;return n(),o(k,null,{default:a(()=>[s(f,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:a(()=>[s(_,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",P,l(e.title),1),e.description?(n(),o(d,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):r("",!0),i("div",F,[(n(!0),h(C,null,N(e.actions,(t,c)=>(n(),o(p,w({key:c,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0},t.attrs,{onClick:()=>{t.handle?.(),m.$emit("action",c)}}),{default:a(()=>[t.pending?(n(),o(u,{key:0,icon:"carbon-circle-dash","animate-spin":""})):r("",!0),y(" "+l(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{G as _};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as u,m as p,az as k,u as a,o as n,f as o,x as c,h as l,F as d,v as m,t as h}from"./entry.bcd35db3.js";const f=["innerHTML"],g={class:"shiki"},C=["textContent"],_=l("br",null,null,-1),B=u({__name:"NCodeBlock",props:{code:null,lang:null,lines:{type:Boolean,default:!0}},setup(e){const s=e,t=p(()=>k.value?.devtools.renderCodeHighlight(s.code,s.lang)||{code:s.code,supported:!1});return(b,x)=>e.lang&&a(t).supported?(n(),o("pre",{key:0,class:c(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:a(t).code},null,10,f)):(n(),o("pre",{key:1,class:c(["n-code-block",e.lines?"n-code-block-lines":""])},[l("pre",g,[l("code",null,[(n(!0),o(d,null,m(e.code.split(`
|
|
2
|
-
`),(r,i)=>(n(),o(d,{key:i},[l("span",{class:"line",textContent:h(r)},null,8,C),_],64))),128))])])],2))}});export{B as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,o as c,c as s,w as r,i,a3 as u,Z as l,u as m,ah as _,H as p}from"./entry.bcd35db3.js";const h=e({__name:"NIconButton",props:{to:null,icon:null},setup(n){const o=n;return(t,f)=>{const a=p;return c(),s(l(n.to?m(_):"button"),u({to:n.to},t.$attrs,{class:"n-transition n-icon-button"}),{default:r(()=>[i(a,{icon:o.icon},null,8,["icon"])]),_:1},16,["to"])}}});export{h as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{am as t,o as n,f as o,h as e,L as a,l as c}from"./entry.bcd35db3.js";const l={},r={class:"n-loading n-panel-grids"},i={class:"flex flex-col animate-pulse items-center text-lg"},_=e("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function d(s,f){return n(),o("div",r,[e("div",i,[_,a(s.$slots,"default",{},()=>[c(" Loading... ")])])])}const p=t(l,[["render",d]]);export{p as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{am as n,o,f as s,L as t}from"./entry.bcd35db3.js";const c={},r={class:"n-panel-grids"};function _(e,a){return o(),s("div",r,[t(e.$slots,"default")])}const d=n(c,[["render",_]]);export{d as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,aA as f,o as s,f as l,L as n,aD as m,aS as p,u as b,h,t as v,y as d,K as x,c as y,H as V}from"./entry.bcd35db3.js";const k={class:"n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base"},B=["disabled"],S={key:0,value:"",disabled:"",hidden:""},g=r({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(e,{emit:c}){const o=f(e,"modelValue",c,{passive:!0});return(t,a)=>{const i=V;return s(),l("div",k,[n(t.$slots,"icon",{},()=>[e.icon?(s(),y(i,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):d("",!0)]),m(h("select",{"onUpdate:modelValue":a[0]||(a[0]=u=>x(o)?o.value=u:null),disabled:e.disabled,class:"w-full flex-auto n-bg-base !outline-none"},[e.placeholder?(s(),l("option",S,v(e.placeholder),1)):d("",!0),n(t.$slots,"default")],8,B),[[p,b(o)]])])}}});export{g as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as d,aA as i,o,f as u,L as r,aD as m,aQ as p,u as f,h as b,K as h,c as x,y,H as V}from"./entry.bcd35db3.js";const v={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},B=["type","disabled","placeholder"],N=d({__name:"NTextInput",props:{modelValue:{default:""},placeholder:null,icon:null,disabled:{type:Boolean,default:!1},type:{default:"text"}},setup(e,{emit:a}){const t=i(e,"modelValue",a,{passive:!0});return(n,l)=>{const s=V;return o(),u("div",v,[r(n.$slots,"icon",{},()=>[e.icon?(o(),x(s,{key:0,icon:e.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):y("",!0)]),m(b("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>h(t)?t.value=c:null),class:"ml-0.4em w-full flex-auto n-bg-base !outline-none",type:e.type,disabled:e.disabled,placeholder:e.placeholder},null,8,B),[[p,f(t)]])])}}});export{N as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l,o as n,f as i,a3 as a}from"./entry.bcd35db3.js";const c=["src","alt"],o=["title"],m=l({__name:"TabIcon",props:{icon:null,title:null},setup(t){return(e,s)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(n(),i("img",a({key:0,style:{width:"1em",height:"1em"}},e.$attrs,{src:t.icon,alt:t.title}),null,16,c)):(n(),i("div",a({key:1,style:{width:"1em",height:"1em"}},e.$attrs,{class:t.icon||"carbon-bring-forward",title:t.title}),null,16,o))}});export{m as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o,b as c,e as a,o as i,f as r,h as e}from"./entry.bcd35db3.js";const p={flex:"~","h-screen":"","items-center":"","justify-center":"",px5:"","bg-base":""},l=e("div",null," Inspecting Vue components ",-1),f=o({__name:"__inspecting",setup(_){const s=c();a("keydown",n=>{n.key==="Escape"&&t()});function t(){s.value?.inspector?.disable()}return(n,u)=>(i(),r("div",p,[e("div",{absolute:"","right-0":"","top-0":"",p2:""},[e("button",{"carbon-close":"",ma:"","text-xl":"",op50:"","hover:op100":"",onClick:t})]),l]))}});export{f as default};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{a as j,m as $,p as ee,o as n,f as l,q as te,u as t,c as x,h as e,t as g,s as ne,r as oe,F as I,v as R,x as G,w as P,l as E,y as k,k as X,z as q,A as se,B as ae,i as m,C as K,D as M,e as V,E as ie,G as le,H as Z,I as re,J as ce,K as ue}from"./entry.bcd35db3.js";import{F as de,_ as pe}from"./fuse.esm.69d72a3b.js";import{_ as H}from"./NIconButton.vue.c1838c30.js";import{_ as me}from"./NTextInput.vue.352ba30f.js";import{u as fe}from"./context.6844f837.js";import{h as he}from"./index.c769634a.js";import{_ as _e}from"./NSectionBlock.e666450f.js";import{_ as ve}from"./FilepathItem.vue.288f8cb4.js";import{_ as ge}from"./NCodeBlock.vue.b2b8c3ac.js";import{u as J,o as xe}from"./editor.59beec6a.js";import{_ as be}from"./DrawerRight.vue.a83a778f.js";import{D as ye}from"./constants.bd39e314.js";import"./NIconTitle.vue.d1747349.js";const we=j({__name:"AssetFontPreview",props:{asset:null},setup(a){const s=a,o=$(()=>`devtools-assets-${he(s.asset)}`);return ee($(()=>`
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: '${o.value}';
|
|
4
|
-
src: url('${s.asset.publicPath}');
|
|
5
|
-
}
|
|
6
|
-
`)),(_,f)=>(n(),l("div",{"of-hidden":"",style:te({fontFamily:`'${t(o)}'`})}," Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz ",4))}}),$e={flex:"","items-center":"","justify-center":"","of-hidden":"","bg-active":"","object-cover":"",p1:""},ke=["src"],Ce={key:2,"i-carbon-document":"","text-3xl":"",op20:""},Fe={key:3,"w-full":"","self-start":"",p4:""},Pe=["textContent"],Ae={key:4,"i-carbon-help":"","text-3xl":"",op20:""},W=j({__name:"AssetPreview",props:{asset:null,textContent:null},setup(a){return(s,o)=>{const _=we;return n(),l("div",$e,[a.asset.type==="image"?(n(),l("img",{key:0,src:a.asset.publicPath},null,8,ke)):a.asset.type==="font"?(n(),x(_,{key:a.asset.publicPath,asset:a.asset,"self-stretch":"",p2:"","text-2xl":""},null,8,["asset"])):a.asset.type==="text"&&!a.textContent?(n(),l("div",Ce)):a.asset.type==="text"&&a.textContent?(n(),l("div",Fe,[e("pre",{"max-h-10rem":"","of-hidden":"","font-mono":"","text-xs":"",textContent:g(a.textContent)},null,8,Pe)])):(n(),l("div",Ae))])}}}),De={key:0,relative:"","n-code-block":""},Ie={flex:"~ wrap","w-full":""},Ne=["onClick"],Se=e("div",{"flex-auto":""},null,-1),ze=e("div",{"x-divider":""},null,-1),Ee=j({__name:"CodeSnippets",props:{codeSnippets:null},setup(a){const s=a,o=ne(s.codeSnippets[0]),_=J();return oe(()=>{s.codeSnippets.includes(o.value)||(o.value=s.codeSnippets[0])}),(f,y)=>{const c=X,F=ge;return a.codeSnippets.length?(n(),l("div",De,[e("div",Ie,[(n(!0),l(I,null,R(a.codeSnippets,(C,N)=>(n(),l("button",{key:N,p2:"",border:"r base",hover:"bg-active",class:G(C===t(o)?"bg-active":""),onClick:B=>o.value=C},[e("div",{class:G(C===t(o)?"":"op50")},g(C.name),3)],10,Ne))),128)),Se,t(o)?.docs?(n(),x(c,{key:0,to:t(o).docs,target:"_blank",icon:"carbon-help",n:"sm primary",border:"none",my1:"","px-2":""},{default:P(()=>[E(" Docs ")]),_:1},8,["to"])):k("",!0),t(o)?(n(),x(c,{key:1,icon:"carbon-copy",n:"sm primary",border:"none",my1:"",mr1:"","px-2":"",onClick:y[0]||(y[0]=C=>t(_)(t(o).code))},{default:P(()=>[E(" Copy ")]),_:1})):k("",!0)]),ze,t(o)?(n(),x(F,{key:0,code:t(o).code,lang:t(o).lang,lines:!1,"w-full":"","of-auto":"",p3:""},null,8,["code","lang"])):k("",!0)])):k("",!0)}}}),je={flex:"~ col gap-4","min-h-full":"","w-full":"","of-hidden":"",p4:""},Be=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Preview "),e("div",{"x-divider":""})],-1),Te={flex:"~","items-center":"","justify-center":""},Le=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Details "),e("div",{"x-divider":""})],-1),Me={"max-w-full":"","w-full":"","table-fixed":""},Re=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Filepath ",-1),Ue={flex:"~ gap-1","w-full":"","items-center":""},Oe=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Public Path ",-1),Ve={flex:"~ gap-1","w-full":"","items-center":"","of-hidden":""},Ge={"flex-auto":"","of-hidden":"",truncate:"","ws-pre":"","font-mono":""},Ke=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Type ",-1),Xe={capitalize:""},qe=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Image Size ",-1),Ze={key:0},He=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Aspect Ratio ",-1),Je=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," File size ",-1),We=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Last modified ",-1),Qe={op70:""},Ye=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Actions "),e("div",{"x-divider":""})],-1),et={flex:"~ gap2 wrap"},tt=e("div",{"flex-auto":""},null,-1),nt=j({__name:"AssetDetails",props:{asset:null},setup(a){const s=a,o=q(()=>{if(s.asset.type==="image")return K.getImageMeta(s.asset.filePath)}),_=q(()=>{if(s.asset.type==="text")return K.getTextAssetContent(s.asset.filePath)}),f=se(),y=$(()=>(f.value?._installedModules||[]).some(d=>d.meta?.name==="@nuxt/image"||d.meta?.name==="@nuxt/image-edge")),c=$(()=>{const i=[];if(s.asset.type==="image"){const d=o.value?.width?`
|
|
7
|
-
width="${o.value.width}"
|
|
8
|
-
height="${o.value.height}" `:" ";return i.push({lang:"vue-html",code:`<img${d}
|
|
9
|
-
src="${s.asset.publicPath}"
|
|
10
|
-
/>`,name:"Plain Image"}),y.value&&i.push({lang:"vue-html",code:`<NuxtImage${d}
|
|
11
|
-
src="${s.asset.publicPath}"
|
|
12
|
-
/>`,name:"Nuxt Image",docs:"https://image.nuxtjs.org/components/nuxt-img"},{lang:"vue-html",code:`<NuxtPicture${d}
|
|
13
|
-
src="${s.asset.publicPath}"
|
|
14
|
-
/>`,name:"Nuxt Picture",docs:"https://image.nuxtjs.org/components/nuxt-picture"}),i}return i.push({lang:"html",code:`<a download href="${s.asset.publicPath}">
|
|
15
|
-
Download ${s.asset.path.split("/").slice(-1)[0]}
|
|
16
|
-
</a>`,name:"Download link"}),i}),F=J(),C=ae(()=>s.asset.mtime),N=$(()=>{const i=s.asset.size;return i<1024?`${i} B`:i<1024*1024?`${(i/1024).toFixed(2)} KB`:`${(i/1024/1024).toFixed(2)} MB`}),B=$(()=>{if(!o.value?.width||!o.value?.height)return"";const i=(S,A)=>A?i(A,S%A):S,d=i(o.value.width,o.value.height);return d>3?`${o.value.width/d}:${o.value.height/d}`:""}),w=$(()=>["image","text","video","font"].includes(s.asset.type));return(i,d)=>{const S=W,A=ve,z=H,T=X,L=Ee;return n(),l("div",je,[t(w)?(n(),l(I,{key:0},[Be,e("div",Te,[m(S,{"max-h-80":"","min-h-20":"","min-w-20":"","w-auto":"",rounded:"",border:"~ base",asset:a.asset,"text-content":t(_)},null,8,["asset","text-content"])])],64)):k("",!0),Le,e("table",Me,[e("tbody",null,[e("tr",null,[Re,e("td",null,[e("div",Ue,[m(A,{filepath:a.asset.filePath,"text-left":""},null,8,["filepath"]),m(z,{"flex-none":"",title:"Open in Editor",icon:"carbon-launch",onClick:d[0]||(d[0]=r=>("openInEditor"in i?i.openInEditor:t(xe))(a.asset.filePath))})])])]),e("tr",null,[Oe,e("td",null,[e("div",Ve,[e("div",Ge,g(a.asset.publicPath),1),m(z,{"flex-none":"",title:"Copy public path",icon:"carbon-copy",onClick:d[1]||(d[1]=r=>t(F)(a.asset.publicPath))}),m(z,{"flex-none":"",to:a.asset.publicPath,icon:"carbon-launch",target:"_blank",title:"Open in browser"},null,8,["to"])])])]),e("tr",null,[Ke,e("td",Xe,g(a.asset.type),1)]),t(o)?.width?(n(),l(I,{key:0},[e("tr",null,[qe,e("td",null,g(t(o).width)+" x "+g(t(o).height),1)]),t(B)?(n(),l("tr",Ze,[He,e("td",null,g(t(B)),1)])):k("",!0)],64)):k("",!0),e("tr",null,[Je,e("td",null,g(t(N)),1)]),e("tr",null,[We,e("td",null,[E(g(new Date(a.asset.mtime).toLocaleString())+" ",1),e("span",Qe,"("+g(t(C))+")",1)])])])]),Ye,e("div",et,[m(T,{to:a.asset.publicPath,download:"",target:"_blank",icon:"carbon-download"},{default:P(()=>[E(" Download ")]),_:1},8,["to"]),a.asset.type==="image"?(n(),x(T,{key:0,disabled:"",icon:"carbon-image-service"},{default:P(()=>[E(" Optimize image (Coming soon) ")]),_:1})):k("",!0)]),tt,t(c).length?(n(),x(L,{key:1,border:"t base","mx--4":"","mb--4":"","code-snippets":t(c)},null,8,["code-snippets"])):k("",!0)])}}}),ot={flex:"~ col gap-1",hover:"bg-active","items-center":"","of-hidden":"",rounded:"",p2:""},st={"w-full":"","of-hidden":"",truncate:"","ws-nowrap":"","text-center":"","text-xs":""},at=j({__name:"AssetGridItem",props:{asset:null,folder:null},setup(a){const s=a,o=$(()=>s.folder&&s.asset.path.startsWith(s.folder)?s.asset.path.slice(s.folder.length):s.asset.path);return(_,f)=>{const y=W;return n(),l("button",ot,[m(y,{"h-30":"","w-30":"",rounded:"",border:"~ base",asset:a.asset},null,8,["asset"]),e("div",st,g(t(o)),1)])}}}),it={flex:"~ gap-1","w-full":"","items-center":"",hover:"bg-active",rounded:"",px4:"",py2:""},lt={"of-hidden":"",truncate:"","ws-nowrap":"","text-center":""},rt=j({__name:"AssetListItem",props:{asset:null},setup(a){const s=a,o=$(()=>s.asset.type==="image"?"i-carbon-image":s.asset.type==="video"?"i-carbon-video":s.asset.type==="audio"?"i-carbon-volume-up":s.asset.type==="font"?"i-carbon-text-small-caps":s.asset.type==="text"?"i-carbon-document":s.asset.type==="json"?"i-carbon-json":"i-carbon-document-blank");return(_,f)=>(n(),l("button",it,[e("div",{class:G(t(o))},null,2),e("div",lt,g(a.asset.path),1)]))}}),ct={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},ut={for:"drop-zone-input","text-3xl":""},dt={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},pt=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),mt={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},ft={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},ht=["src"],_t={flex:"~ gap1","items-center":""},vt={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},gt=j({__name:"DropZone",props:{folder:{type:String,required:!0}},emits:["uploaded"],setup(a,{emit:s}){const o=a,_=fe(),f=M(!1),y=M(),c=M([]),F=["image","video"];function C(r){y.value=r.target,f.value=!0}function N(r){r.target===y.value&&(f.value=!1)}function B(r){r.preventDefault()}function w(r){r.preventDefault(),i(r.dataTransfer.files)}function i(r){const v=Array.from(r||[]);if(v.length){const u=[],h=c.value.map(p=>p.name);for(const p of v)if(h.includes(p.name)){let b=1;const[D,O]=p.name.split(".");for(;h.includes(`${D} (${b}).${O}`);)b++;const U=`${D}-${b}.${O}`,Q=new Blob([p],{type:p.type}),Y=new File([Q],U,{lastModified:Date.now()});u.push(Y),h.push(U)}else p.type===""?_("Folders are not supported yet","carbon:face-dissatisfied"):F.some(b=>p.type.includes(b))?u.push(p):_(`"${p.type}" file type is not allowed`,"carbon:face-dizzy");c.value=[...c.value,...u]}}async function d(){if(ie.value||le.value)return;const r=[];for(const v of c.value){const u=new FileReader;u.readAsDataURL(v);const p=(await new Promise(b=>{u.onload=()=>b(u.result)})).split(";base64,").pop();r.push({name:v.name,data:p})}await K.writeStaticAssets([...r],o.folder).then(()=>{s("uploaded"),L(),_("Files uploaded successfully!","carbon:face-cool")}).catch(v=>{console.error(v),L(),_("Upload failed!","carbon:face-dizzy")}),f.value=!1}function S(r){c.value?.splice(r,1)}function A(r){return URL.createObjectURL(r)}function z(r,v){const[u,h]=r.name.split("."),p=v.replace(/\.\w+$/,""),b=`${p}.${h}`;return p.length===0?(alert("File name must be at least 1 characters long"),u):(Object.defineProperty(r,"name",{value:b,writable:!1}),c.value.splice(c.value.indexOf(r),1,r),r)}function T(){c.value=[]}function L(){f.value=!1,T()}return V("dragenter",C),V("dragleave",N),V("dragover",B),V("drop",w),(r,v)=>{const u=H,h=Z,p=me,b=X;return n(),l("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:G(t(f)?"opacity-100 visible":"opacity-0 invisible")},[m(u,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:L}),t(c)?.length?(n(),l("div",dt,[pt,e("div",mt,[(n(!0),l(I,null,R(t(c),(D,O)=>(n(),l("div",{key:D.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",ft,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:A(D)},null,8,ht)]),e("div",_t,[m(p,{n:"xs","flex-auto":"","model-value":D.name,"onUpdate:modelValue":U=>z(D,U.target.value)},null,8,["model-value","onUpdate:modelValue"]),m(u,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:U=>S(O)},null,8,["onClick"])])]))),128))]),e("div",vt,[t(c).length?(n(),x(b,{key:0,n:"red",onClick:T},{default:P(()=>[m(h,{icon:"carbon-clean"}),E(" Clear ")]),_:1})):k("",!0),m(b,{disabled:!t(c).length,n:"primary solid",onClick:d},{default:P(()=>[m(h,{icon:"carbon-cloud-upload"}),E(" Upload ")]),_:1},8,["disabled"])])])):(n(),l("div",ct,[e("label",ut,[m(h,{icon:"carbon-cloud-upload","mr-2":""}),E(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:v[0]||(v[0]=D=>i(D.target.files))},null,32)]))],2)}}}),xt={"h-full":"","of-auto":""},bt={"flex-none":"",flex:"~ gap4"},yt={op50:""},wt={key:0},$t={"mt--4":"",px2:"",grid:"~ cols-minmax-8rem"},kt={key:1,p2:"",grid:"~ cols-minmax-8rem"},Ct={key:1},Mt=j({__name:"assets",setup(a){const s=re(),o=M(""),_=$(()=>new de(s.value||[],{keys:["path"]})),f=$(()=>o.value?_.value.search(o.value).map(i=>i.item):s.value||[]),y=$(()=>{const w={};for(const i of f.value){const d=`${i.path.split("/").slice(0,-1).join("/")}/`;w[d]||(w[d]=[]),w[d].push(i)}return Object.entries(w).sort(([i],[d])=>i.localeCompare(d))}),c=M(),F=M("grid");function C(){F.value=F.value==="list"?"grid":"list"}ce("Escape",()=>{c.value=void 0});const N=M();function B(){}return(w,i)=>{const d=Z,S=pe,A=gt,z=at,T=_e,L=rt,r=nt,v=be;return n(),l("div",xt,[m(S,{ref_key:"navbar",ref:N,search:t(o),"onUpdate:search":i[0]||(i[0]=u=>ue(o)?o.value=u:null),pb2:""},{actions:P(()=>[e("div",bt,[e("button",{title:"Toggle view",onClick:C},[t(F)==="grid"?(n(),x(d,{key:0,icon:"i-carbon-list"})):(n(),x(d,{key:1,icon:"i-carbon-grid"}))])])]),default:P(()=>[e("div",yt,[t(o)?(n(),l("span",wt,g(t(f).length)+" matched · ",1)):k("",!0),e("span",null,g(t(s)?.length)+" assets in total",1)])]),_:1},8,["search"]),m(A,{folder:"/",onUploaded:B}),t(F)==="grid"?(n(),l(I,{key:0},[t(y).length>1?(n(!0),l(I,{key:0},R(t(y),([u,h])=>(n(),x(T,{key:u,text:u,description:`${h.length} items`,open:h.length<=("DETAILS_MAX_ITEMS"in w?w.DETAILS_MAX_ITEMS:t(ye)),padding:!1},{default:P(()=>[e("div",$t,[(n(!0),l(I,null,R(h,p=>(n(),x(z,{key:p.path,asset:p,folder:u,onClick:b=>c.value=p},null,8,["asset","folder","onClick"]))),128))])]),_:2},1032,["text","description","open"]))),128)):(n(),l("div",kt,[(n(!0),l(I,null,R(t(f),u=>(n(),x(z,{key:u.path,asset:u,onClick:h=>c.value=u},null,8,["asset","onClick"]))),128))]))],64)):(n(),l("div",Ct,[(n(!0),l(I,null,R(t(f),u=>(n(),x(L,{key:u.path,asset:u,onClick:h=>c.value=u},null,8,["asset","onClick"]))),128))])),m(v,{"model-value":!!t(c),"auto-close":"","w-120":"",navbar:t(N),onClose:i[1]||(i[1]=u=>c.value=void 0)},{default:P(()=>[t(c)?(n(),x(r,{key:0,asset:t(c)},null,8,["asset"])):k("",!0)]),_:1},8,["model-value","navbar"])])}}});export{Mt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as P,m as M,o as l,f as y,l as X,t as Z,u as e,h,i as v,c as g,y as C,L as R,M as J,w as k,D as E,N as ee,O as oe,A as ne,P as te,Q as se,R as le,S as ae,T as ie,F as I,U as z,K as L,k as re,V as pe,W as ce,v as D,b as ue,X as me,Y as de,Z as fe,H as _e}from"./entry.bcd35db3.js";import{_ as he}from"./NCheckbox.vue.f52d0a98.js";import{_ as W,F as ve}from"./fuse.esm.69d72a3b.js";import{_ as be}from"./NIconButton.vue.c1838c30.js";import{_ as j}from"./Badge.0a290709.js";import{_ as H}from"./FilepathItem.vue.288f8cb4.js";import{u as ge}from"./editor.59beec6a.js";import{_ as ye}from"./DrawerRight.vue.a83a778f.js";import{_ as ke}from"./NSectionBlock.e666450f.js";import{_ as $e}from"./NIconTitle.vue.d1747349.js";import{D as F}from"./constants.bd39e314.js";import"./NTextInput.vue.352ba30f.js";import"./context.6844f837.js";const we=/\d/,Ce=["-","_","/","."];function Se(t=""){if(!we.test(t))return t.toUpperCase()===t}function xe(t,a){const c=a??Ce,u=[];if(!t||typeof t!="string")return u;let o="",n,m;for(const d of t){const _=c.includes(d);if(_===!0){u.push(o),o="",n=void 0;continue}const r=Se(d);if(m===!1){if(n===!1&&r===!0){u.push(o),o=d,n=r;continue}if(n===!0&&r===!1&&o.length>1){const w=o[o.length-1];u.push(o.slice(0,Math.max(0,o.length-1))),o=w+d,n=r;continue}}o+=d,n=r,m=_}return u.push(o),u}function Ne(t){return t?t[0].toUpperCase()+t.slice(1):""}function q(t){return t?(Array.isArray(t)?t:xe(t)).map(a=>Ne(a)).join(""):""}const Me={"font-mono":"","text-sm":""},Te=h("span",{mr1:"",op20:""},"<",-1),Ie=h("span",{ml1:"",op20:""},"/>",-1),K=P({__name:"ComponentName",props:{component:null},setup(t){const a=t,c=M(()=>a.component.pascalName||q(a.component.name||a.component.__name||a.component.kebabName||""));return(u,o)=>(l(),y("code",Me,[Te,X(Z(e(c)),1),Ie]))}}),Ve={flex:"~ col gap1","items-start":"","of-hidden":""},Pe={flex:"~ gap2"},O=P({__name:"ComponentDetails",props:{component:null},setup(t){const a=t,c=M(()=>a.component.pascalName||q(a.component.name||a.component.__name||a.component.kebabName||"")),u=M(()=>a.component.filePath||a.component.file||a.component.__file||""),o=ge();return(n,m)=>{const d=K,_=be,r=j,w=H;return l(),y("div",Ve,[h("div",Pe,[v(d,{component:t.component},null,8,["component"]),v(_,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:m[0]||(m[0]=s=>e(o)(`<${e(c)}></${e(c)}>`))}),t.component.global?(l(),g(r,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):C("",!0)]),h("div",null,[e(u)?(l(),g(w,{key:0,filepath:e(u),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):C("",!0)]),R(n.$slots,"default")])}}}),Ae={hover:"bg-active",class:"group",flex:"~ gap2","w-full":"","items-center":"",rounded:"",px2:"",py1:""},De={"hover:text-primary":""},Ee=P({__name:"ComponentItem",props:{component:null},setup(t){const a=t,c=M(()=>a.component.filePath||a.component.file||a.component.__file||"");return(u,o)=>{const n=K,m=O,d=J("VDropdown"),_=j,r=H;return l(),y("div",Ae,[v(d,null,{popper:k(()=>[v(m,{component:t.component,p4:""},null,8,["component"])]),default:k(()=>[h("button",De,[v(n,{component:t.component},null,8,["component"])])]),_:1}),t.component.global?(l(),g(_,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):C("",!0),R(u.$slots,"default"),e(c)?(l(),g(r,{key:1,filepath:e(c),"text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):C("",!0)])}}}),Le=h("span",{op75:""},"Show pages",-1),Be=h("span",{op75:""},"Show layouts",-1),Re=h("span",{op75:""},"Show workspace",-1),Ue=h("span",{op75:""},"Show node_modules",-1),Fe=h("div",{"i-carbon-close":""},null,-1),Xe=h("div",{"flex-auto":""},null,-1),Ge={relative:"","h-full":"","w-full":""},ze={key:0,p4:"",pr10:"",pt4:"",flex:"~ col gap4"},We=P({__name:"ComponentsGraph",props:{components:null},setup(t){const a=t,c=E(),u=E(),o=ee(),n=E(),m=oe(),d=ne(),_=te(),r=se(),{componentsGraphShowNodeModules:w,componentsGraphShowPages:s,componentsGraphShowLayouts:$,componentsGraphShowWorkspace:T}=z(),V=E(),G=M(()=>{const S=r.value||[];if(V.value){let p=function(b){!b||i.has(b)||(i.add(b),b.deps.forEach(x=>{p(S.find(N=>N.id===x))}))};const i=new Set;return S.find(b=>b.id===n.value?.id),p(V.value),Array.from(i)}return S}),B=M(()=>{const S=G.value.map(i=>{const b=a.components.find(A=>A.filePath===i.id),x=m.value?.find(A=>A.file===i.id),N=_.value?.find(A=>A.file===i.id),U=i.id.replace(/\?.*$/,"").replace(/\#.*$/,""),f=i.id.includes("/node_modules/")?"lib":b?"user":N?"layout":x?"page":"unknown";if(!w.value&&f==="lib"||!s.value&&f==="page"||!$.value&&f==="layout"||!T.value&&f==="user"&&d.value&&!i.id.startsWith(d.value.rootDir))return null;const Y=f==="layout"?"hexagon":f==="page"?"square":"dot";return{id:i.id,label:U.split("/").splice(-1)[0].replace(/\.\w+$/,""),group:f,shape:Y,size:15+Math.min(i.deps.length/2,8),font:{color:o.value==="dark"?"white":"black"},color:V.value?.id===i.id?"#82c742":void 0,extra:{id:i.id,component:b,page:x,layout:N,relationship:i}}}).filter(i=>!!i),p=G.value.flatMap(i=>i.deps.map(b=>({from:i.id,to:b,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:S,edges:p}});le(()=>{const S={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"}}},p=new ae(c.value,B.value,S);p.on("click",i=>{const b=i.nodes?.[0],x=B.value.nodes?.find(N=>N.id===b)?.extra;x&&(n.value=x)}),ie(B,()=>{p.setData(B.value)})});function Q(){V.value=n.value?.relationship,n.value=void 0}return(S,p)=>{const i=he,b=W,x=O,N=re,U=ye;return l(),y(I,null,[v(b,{ref_key:"navbar",ref:u,absolute:"","left-0":"","right-0":"","top-0":""},{search:k(()=>[v(i,{modelValue:e(s),"onUpdate:modelValue":p[0]||(p[0]=f=>L(s)?s.value=f:null),n:"primary sm"},{default:k(()=>[Le]),_:1},8,["modelValue"]),v(i,{modelValue:e($),"onUpdate:modelValue":p[1]||(p[1]=f=>L($)?$.value=f:null),n:"primary sm"},{default:k(()=>[Be]),_:1},8,["modelValue"]),v(i,{modelValue:e(T),"onUpdate:modelValue":p[2]||(p[2]=f=>L(T)?T.value=f:null),n:"primary sm"},{default:k(()=>[Re]),_:1},8,["modelValue"]),v(i,{modelValue:e(w),"onUpdate:modelValue":p[3]||(p[3]=f=>L(w)?w.value=f:null),n:"primary sm"},{default:k(()=>[Ue]),_:1},8,["modelValue"]),e(V)?(l(),y("button",{key:0,flex:"~ gap-1","items-center":"","rounded-full":"","bg-gray:20":"",py1:"",pl3:"",pr2:"","text-xs":"",op50:"","hover:op100":"",onClick:p[4]||(p[4]=f=>V.value=void 0)},[X(" Clear filter "),Fe])):C("",!0),Xe,R(S.$slots,"default")]),_:3},512),h("div",Ge,[h("div",{ref_key:"container",ref:c,"h-full":"","w-full":""},null,512),v(U,{"model-value":!!(e(n)&&e(n).component),navbar:e(u),"w-80":"",onClose:p[6]||(p[6]=f=>n.value=void 0)},{default:k(()=>[e(n)&&e(n).component?(l(),y("div",ze,[v(x,{component:e(n).component},null,8,["component"]),h("div",null,[v(N,{n:"primary solid",onClick:p[5]||(p[5]=f=>Q())},{default:k(()=>[X(" Filter to this component ")]),_:1})])])):C("",!0)]),_:1},8,["model-value","navbar"])])],64)}}}),je={pl4:""},He=P({__name:"ComponentsList",props:{components:null},setup(t){const a=t,c=E(""),u=M(()=>new ve(a.components,{keys:["pascalName","filePath","kebabName"]})),o=M(()=>{const n=[],m=new Map,d=[],_=[],r={user:0,lib:0,builtin:0,runtime:0};return(c.value?u.value.search(c.value).map(s=>s.item):a.components).forEach(s=>{if(s.filePath&&pe(s.filePath)){const $=ce(s.filePath);if(!$)return;$==="nuxt"?(d.push(s),r.builtin++):(m.has($)||m.set($,[]),m.get($).push(s),r.lib++)}else s.global&&!s.filePath?(_.push(s),r.runtime++):(n.push(s),r.user++)}),{count:r,user:n,builtin:d,lib:m,runtime:_}});return(n,m)=>{const d=W,_=Ee,r=ke,w=$e;return l(),y(I,null,[v(d,{search:e(c),"onUpdate:search":m[0]||(m[0]=s=>L(c)?c.value=s:null)},{actions:k(()=>[R(n.$slots,"default")]),_:3},8,["search"]),e(o).user.length?(l(),g(r,{key:0,icon:"carbon-nominal",text:"User components",open:e(o).user.length<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(F)),description:`Total components: ${e(o).count.user}`},{default:k(()=>[(l(!0),y(I,null,D(e(o).user,s=>(l(),g(_,{key:s.filePath,component:s},null,8,["component"]))),128))]),_:1},8,["open","description"])):C("",!0),e(o).runtime.length?(l(),g(r,{key:1,icon:"carbon-load-balancer-global",open:e(o).runtime.length<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(F)),text:"Runtime components",description:`Total components: ${e(o).count.runtime}`},{default:k(()=>[(l(!0),y(I,null,D(e(o).runtime,s=>(l(),g(_,{key:s.filePath,component:s},null,8,["component"]))),128))]),_:1},8,["open","description"])):C("",!0),e(o).builtin.length?(l(),g(r,{key:2,icon:"simple-icons-nuxtdotjs",text:"Built-in components",description:`Total components: ${e(o).count.builtin}`},{default:k(()=>[(l(!0),y(I,null,D(e(o).builtin,s=>(l(),g(_,{key:s.filePath,component:s},null,8,["component"]))),128))]),_:1},8,["description"])):C("",!0),e(o).lib.size?(l(),g(r,{key:3,open:e(o).count.lib<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(F)),icon:"carbon-3d-mpr-toggle",text:"Components from libraries",description:`${e(o).count.lib} components from ${e(o).lib.size} packages`},{default:k(()=>[(l(!0),y(I,null,D(e(o).lib.entries(),([s,$])=>(l(),y("div",{key:s,"ml-2":""},[v(w,{text:`${s} (${$.length})`,py1:"",op50:""},null,8,["text"]),h("div",je,[(l(!0),y(I,null,D($,T=>(l(),g(_,{key:T.filePath,component:T},null,8,["component"]))),128))])]))),128))]),_:1},8,["open","description"])):C("",!0)],64)}}}),qe={relative:"","h-full":"","of-auto":""},Ke={"flex-none":"",flex:"~ gap4"},ro=P({__name:"components",setup(t){const a=ue(),c=me(),u=de(),{componentsView:o}=z();function n(){a.value?.inspector?.instance&&(a.value.inspector.enable(),c.push("/__inspecting"))}function m(){o.value=o.value==="list"?"graph":"list"}return(d,_)=>{const r=_e;return l(),y("div",qe,[(l(),g(fe(e(o)==="list"?He:We),{components:e(u)},{default:k(()=>[h("div",Ke,[h("button",{title:"Toggle view",onClick:m},[e(o)==="graph"?(l(),g(r,{key:0,icon:"i-carbon-list"})):(l(),g(r,{key:1,icon:"i-carbon-network-4"}))]),e(a)?.inspector?.instance?(l(),y("button",{key:0,title:"Inspect Vue components",onClick:n},[v(r,{icon:"i-carbon-select-window"})])):C("",!0)])]),_:1},8,["components"]))])}}});export{ro as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=20;export{o as D};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aW as e,aX as i}from"./entry.bcd35db3.js";function r(){const t=Symbol("singleton");return[function(n){e()?.appContext.app.provide(t,n)},function(n){return i(t,n)}]}const[c,p]=r();export{c as p,p as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as C,N as j,D as g,m as y,a4 as B,a5 as E,R as T,a6 as M,r as f,a7 as $,a8 as I,o as i,f as w,a9 as V,X as D,aa as L,u as t,h as l,l as x,t as k,c as _,Z as N,C as R}from"./entry.bcd35db3.js";import{_ as W}from"./LaunchPage.vue.25e8c415.js";import"./TabIcon.vue.84eecba6.js";import"./NMarkdown.vue.20a8169f.js";import"./NPanelGrids.ac7957ef.js";const h=new Map,O=C({__name:"IframeView",props:{tab:null},setup(b){const u=b,r=j(),s=g(),c=y(()=>u.tab.name),e=g(),n=B(E(s));T(()=>{const o=u.tab.view,m=o.persistent!==!1;if(h.get(c.value)&&m)e.value=h.get(c.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),m&&h.set(c.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{p(),a(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),M(d)}setTimeout(a,100)}),f(d),f(a),f(p),$(()=>{e.value&&(e.value.style.visibility="hidden")});function a(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",r.value==="dark"),o?.classList.toggle("light",r.value==="dark")}catch{}}const v=I();function p(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=v.value}catch{}}function d(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,height:`${n.height}px`,outline:"none"})}return(o,m)=>(i(),w("div",{ref_key:"anchor",ref:s,"h-full":"","w-full":""},null,512))}}),S={key:0,flex:"~ col gap-2","h-full":"","items-center":"","justify-center":""},U=l("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),q={"text-xl":""},A={"text-rose":""},P=l("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),X=l("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),Z={key:4,flex:"~ col","h-full":"","items-center":"","justify-center":""},Q=C({__name:"custom-[name]",setup(b){const u=V(),r=D(),s=y(()=>u.params.name),c=L(),e=y(()=>c.all.value.find(n=>n.name===s.value));return T(()=>{e.value||setTimeout(()=>{e.value||r.push("/modules/overview")},2e3)}),(n,a)=>{const v=O,p=W;return t(e)?t(e).view.type==="iframe"?(i(),_(v,{key:1,tab:t(e)},null,8,["tab"])):t(e).view.type==="vnode"?(i(),_(N(t(e).view.vnode),{key:2})):t(e).view.type==="launch"?(i(),_(p,{key:3,icon:t(e).view.icon||t(e).icon,title:t(e).view.title||t(e).title,description:t(e).view.description,actions:t(e).view.actions,onAction:a[0]||(a[0]=d=>("rpc"in n?n.rpc:t(R)).customTabAction(t(e).name,d))},null,8,["icon","title","description","actions"])):(i(),w("div",Z," Unknown tab type "+k(t(e).view),1)):(i(),w("div",S,[U,l("p",q,[x(" Tab "),l("code",A,k(t(s)),1),x(" not found ")]),P,X]))}}});export{Q as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as P}from"./context.6844f837.js";import{a as h,D as k,R as z,f as _,am as B,aT as L,o as i,c as b,w as u,L as N,N as R,m as T,aU as F,n as I,g as M,b as y,an as O,u as n,h as s,x as f,y as x,i as m,l as g,t as D,aV as j,k as q,q as A,M as w,Z as E,U,ah as H,aa as W,F as C,v as S,al as Y}from"./entry.bcd35db3.js";import{_ as Z}from"./NLoading.f33a8f5a.js";import{_ as G}from"./TabIcon.vue.84eecba6.js";const J=h({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(l,{slots:e,attrs:t}){const r=k(!1);return z(()=>{r.value=!0}),c=>{if(r.value)return e.default?.();const o=e.fallback||e.placeholder;if(o)return o();const d=c.fallback||c.placeholder||"",a=c.fallbackTag||c.placeholderTag||"span";return _(a,t,d)}}}),K={name:L,props:{placeholder:String,tag:{type:String,default:"span"}}};function Q(l,e,t,r,c,o){const d=J;return i(),b(d,{placeholder:t.placeholder,"placeholder-tag":t.tag},{default:u(()=>[N(l.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const X=B(K,[["render",Q]]),ee=h({__name:"NDarkToggle",setup(l){const e=R(),t=T({get(){return e.value==="dark"},set(){e.preference=t.value?"light":"dark"}}),r=F(t),c={mode:e,isDark:t,toggle:r};return(o,d)=>{const a=X;return i(),b(a,{tag:"span"},{default:u(()=>[N(o.$slots,"default",I(M(c)))]),_:3})}}}),te={key:0,px3:"",py2:"",border:"b base",flex:"~ col gap-1"},ne=s("div",{"text-sm":"",op50:""}," Dock devtools to ",-1),oe={flex:"~ gap-1","text-lg":""},ae={px3:"",py2:"",border:"b base",flex:"~ gap-2"},se=s("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),le=s("div",{"carbon-settings":"","translate-y--1px":""},null,-1),ie={px3:"",py2:"",flex:"~ gap2"},re=h({__name:"DockingPanel",setup(l){const e=j(),t=y(),r=O();function c(){r.hooks.callHookParallel("app:data:refresh",Object.keys(r.payload.data)),t.value&&(t.value={...t.value})}function o(){location.reload()}return(d,a)=>{const p=q,$=ee;return i(),_("div",null,[n(t)?(i(),_("div",te,[ne,s("div",oe,[s("button",{"i-carbon-open-panel-filled-bottom":"",class:f(n(e).position==="bottom"?"text-primary":"op50"),onClick:a[0]||(a[0]=v=>n(e).position="bottom")},null,2),s("button",{"i-carbon-open-panel-filled-right":"",class:f(n(e).position==="right"?"text-primary":"op50"),onClick:a[1]||(a[1]=v=>n(e).position="right")},null,2),s("button",{"i-carbon-open-panel-filled-left":"",class:f(n(e).position==="left"?"text-primary":"op50"),onClick:a[2]||(a[2]=v=>n(e).position="left")},null,2),s("button",{"i-carbon-open-panel-filled-top":"",class:f(n(e).position==="top"?"text-primary":"op50"),onClick:a[3]||(a[3]=v=>n(e).position="top")},null,2)])])):x("",!0),s("div",ae,[m($,null,{default:u(({toggle:v,isDark:V})=>[m(p,{n:"sm primary",onClick:ye=>v()},{default:u(()=>[se,g(" "+D(V.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),m(p,{n:"sm primary",to:"/settings"},{default:u(()=>[le,g(" Settings ")]),_:1})]),s("div",ie,[m(p,{n:"solid primary xs",onClick:c},{default:u(()=>[g(" Refetch Data ")]),_:1}),m(p,{n:"solid primary xs",onClick:o},{default:u(()=>[g(" Refresh Page ")]),_:1})])])}}}),ce=h({__name:"Notification",setup(l){const e=k(!1),t=k(),r=k();return P((c,o,d=1500)=>{r.value=c,t.value=o,e.value=!0,setTimeout(()=>{e.value=!1},d)}),(c,o)=>(i(),_("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:f(n(e)?"":"pointer-events-none overflow-hidden")},[s("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","text-primary":"","transition-all":"","duration-300":"","bg-base":"",style:A(n(e)?{}:{transform:"translateY(-300%)"}),class:f(n(e)?"shadow":"shadow-none")},[n(t)?(i(),_("div",{key:0,class:f(n(t))},null,2)):x("",!0),s("div",null,D(n(r)),1)],6)],2))}}),ue={key:0,hidden:"","lg:block":""},de=h({__name:"SideNavItem",props:{tab:null},setup(l){const e=l,t=U(),r=y(),c=T(()=>{const o=e.tab;return!(o.shouldShow&&!o.shouldShow()||o.requireClient&&!r.value||t.hiddenTabs.value.includes(o.name))});return(o,d)=>{const a=G,p=H,$=w("VTooltip");return n(c)?(i(),b($,{key:0,placement:"right"},{popper:u(()=>[s("div",null,D(l.tab.title),1),"extraTabVNode"in l.tab&&l.tab.extraTabVNode?(i(),_("div",ue,[(i(),b(E(l.tab.extraTabVNode)))])):x("",!0)]),default:u(()=>[m(p,{to:"path"in l.tab?l.tab.path:`/modules/custom-${l.tab.name}`,flex:"~",hover:"bg-active","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:u(()=>[m(a,{"text-xl":"",icon:l.tab.icon,title:l.tab.title},null,8,["icon","title"])]),_:1},8,["to"])]),_:1})):x("",!0)}}}),pe={border:"r base",flex:"~ col gap-0.5","z-100":"","h-full":"","items-center":"","bg-base":"",class:"no-scrollbar"},_e={flex:"~ col",sticky:"","top-0":"","z-1":"",mb1:"","items-center":"",pt3:"","bg-base":""},me=["title"],fe=s("div",{"mt-2":"","h-1px":"","w-8":"",border:"b base"},null,-1),be=s("div",{my1:"","h-1px":"","w-8":"",border:"b base"},null,-1),he=s("div",{"flex-auto":""},null,-1),ve=h({__name:"SideNav",setup(l){const e=y(),t=W();return(r,c)=>{const o=re,d=w("VDropdown"),a=de;return i(),_("div",pe,[s("div",_e,[m(d,{placement:"left-start",distance:20},{popper:u(()=>[m(o)]),default:u(()=>[s("button",{"i-logos-nuxt-icon":"","h-6":"","w-6":"","text-lg":"",class:f(n(e)?"":"saturate-0"),title:n(e)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode"},null,10,me)]),_:1}),fe]),(i(!0),_(C,null,S(n(t).builtin.value,p=>(i(),b(a,{key:p.name,tab:p},null,8,["tab"]))),128)),n(t).custom.value.length?(i(),_(C,{key:0},[be,(i(!0),_(C,null,S(n(t).custom.value,p=>(i(),b(a,{key:p.name,tab:p},null,8,["tab"]))),128)),he],64)):x("",!0)])}}}),ge={"h-screen":"","of-hidden":"","font-sans":"","bg-base":""},xe={key:1,grid:"~ cols-[50px_1fr]","h-full":"","of-hidden":""},ke={"h-full":"","of-auto":""},De=h({__name:"default",setup(l){const e=y(),t=T(()=>!e.value&&!Y.value);return(r,c)=>{const o=ce,d=Z,a=ve;return i(),_("div",ge,[m(o),n(t)?(i(),b(d,{key:0},{default:u(()=>[g(" Connecting.... ")]),_:1})):(i(),_("div",xe,[m(a,{"of-x-hidden":"","of-y-auto":""}),s("div",ke,[N(r.$slots,"default")])]))])}}});export{De as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as t,aK as n}from"./entry.bcd35db3.js";import{u as r}from"./context.6844f837.js";async function s(o){await t.openInEditor(o)}function e(){const o=n(),i=r();return a=>{o.copy(a),i("Copied to clipboard","carbon-checkmark")}}export{s as o,e as u};
|