@nuxt/devtools 0.7.0 → 0.7.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 +1 -1
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +7 -0
- package/dist/client/_nuxt/{AuthRequiredPanel.vue.d0cfb6b2.js → AuthRequiredPanel.vue.17c2a7bd.js} +1 -1
- package/dist/client/_nuxt/{Badge.51add8bd.js → Badge.8d650e3b.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.ef3840bb.js → CodeDiff.vue.cc3f76a7.js} +1 -1
- package/dist/client/_nuxt/{CodeSnippets.vue.ac1ba0c8.js → CodeSnippets.vue.b4698473.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.a20c44a4.js → ComposableItem.vue.6d7b799a.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.53f21930.js → DrawerRight.vue.3ab85e5b.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.8283fdb3.js → DurationDisplay.vue.aba5fa70.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.6f4d3680.js → FilepathItem.vue.84aa0a31.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.58531843.js → HelpFab.vue.a8d95bd1.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.36ead88c.js → LaunchPage.vue.00d3a484.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.a57ff0bb.js → NCheckbox.vue.63949e52.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.2012eb81.js → NCodeBlock.vue.77e54b2e.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.c1ac3b5f.js → NIconTitle.vue.0a904b99.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.c45070c9.js → NLink.vue.ec1f69e3.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.6bccbb92.js → NMarkdown.vue.a74698d6.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.7613319f.js → NSectionBlock.b074e0b8.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.b9c29645.js → NSelect.vue.9556d6e0.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.fa9b060a.js → NSwitch.vue.6c2556d0.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.95e4ec9e.js → NTip.vue.861372f7.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.6c01dcab.js → Navbar.vue.1a2a587f.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.c5cc22ae.js → StateEditor.vue.05c4fc16.js} +1 -1
- package/dist/client/_nuxt/{__blank.87af3281.js → __blank.3f7b27a6.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.cf3dea6a.js → analyze-build.c314de67.js} +1 -1
- package/dist/client/_nuxt/{assets.4f097b22.js → assets.722939b7.js} +1 -1
- package/dist/client/_nuxt/{client.247a64bd.js → client.ece13385.js} +1 -1
- package/dist/client/_nuxt/{components.07744e27.js → components.27bdfae4.js} +1 -1
- package/dist/client/_nuxt/{constants.2fec5dff.js → constants.4e5eba24.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_.6e463663.js → custom-_name_.95a8297c.js} +1 -1
- package/dist/client/_nuxt/default.7e3f9818.js +1 -0
- package/dist/client/_nuxt/entry.6507cb32.js +21 -0
- package/dist/client/_nuxt/entry.6f7d64f9.css +1 -0
- package/dist/client/_nuxt/{error-404.b216bd73.js → error-404.66ff8897.js} +1 -1
- package/dist/client/_nuxt/{error-500.1bc58b0e.js → error-500.34984f69.js} +1 -1
- package/dist/client/_nuxt/full.748a1c93.js +1 -0
- package/dist/client/_nuxt/{hooks.259d0a69.js → hooks.3ec974a8.js} +1 -1
- package/dist/client/_nuxt/{imports.cc27dbf7.js → imports.8485b75c.js} +1 -1
- package/dist/client/_nuxt/{index.064a7a87.js → index.5152a001.js} +1 -1
- package/dist/client/_nuxt/{index.8f3e434d.js → index.7ae8a638.js} +2 -2
- package/dist/client/_nuxt/{json-editor-vue.af845b1c.js → json-editor-vue.bbdad521.js} +1 -1
- package/dist/client/_nuxt/{middleware.fcdb1770.js → middleware.3c73e553.js} +1 -1
- package/dist/client/_nuxt/{modules.5891e891.js → modules.67fd6240.js} +1 -1
- package/dist/client/_nuxt/{none.e5b666cf.js → none.2f8cf810.js} +1 -1
- package/dist/client/_nuxt/{open-graph.1141dd15.js → open-graph.79a7c77c.js} +1 -1
- package/dist/client/_nuxt/{overview.2af20256.js → overview.d953fa7e.js} +1 -1
- package/dist/client/_nuxt/{pages.b3fe162f.js → pages.7b386c55.js} +1 -1
- package/dist/client/_nuxt/{payload.2d5cef36.js → payload.f36f4355.js} +1 -1
- package/dist/client/_nuxt/{plugins.f25d8e7c.js → plugins.1c37e55d.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.68765f10.js → runtime-configs.67f4f0b3.js} +1 -1
- package/dist/client/_nuxt/server-routes.64373863.js +9 -0
- package/dist/client/_nuxt/{settings.cb26edfb.js → settings.b7df1779.js} +1 -1
- package/dist/client/_nuxt/{state-components.3bf21c12.js → state-components.cd34df16.js} +1 -1
- package/dist/client/_nuxt/{state-modules.dfd5fe81.js → state-modules.c2527930.js} +1 -1
- package/dist/client/_nuxt/{storage.921a198c.js → storage.13c667f3.js} +1 -1
- package/dist/client/_nuxt/{terminals.67898f73.js → terminals.1c5a4ee9.js} +1 -1
- package/dist/client/_nuxt/timeline.1ad3a70f.css +1 -0
- package/dist/client/_nuxt/{timeline.6b8e8f78.js → timeline.741d9e72.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime.5034abfc.js → unocss-runtime.d07b0096.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.e3271a06.js → virtual-files.4e8316be.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +7 -0
- package/dist/client/modules/assets/index.html +7 -0
- package/dist/client/modules/components/index.html +7 -0
- package/dist/client/modules/hooks/index.html +7 -0
- package/dist/client/modules/imports/index.html +7 -0
- package/dist/client/modules/middleware/index.html +7 -0
- package/dist/client/modules/modules/index.html +7 -0
- package/dist/client/modules/open-graph/index.html +7 -0
- package/dist/client/modules/overview/index.html +7 -0
- package/dist/client/modules/pages/index.html +7 -0
- package/dist/client/modules/payload/index.html +7 -0
- package/dist/client/modules/plugins/index.html +7 -0
- package/dist/client/modules/runtime-configs/index.html +7 -0
- package/dist/client/modules/server-routes/index.html +7 -0
- package/dist/client/modules/storage/index.html +7 -0
- package/dist/client/modules/terminals/index.html +7 -0
- package/dist/client/modules/timeline/index.html +7 -0
- package/dist/client/modules/virtual-files/index.html +7 -0
- package/dist/client/settings/index.html +7 -0
- package/dist/module.json +1 -1
- package/package.json +20 -20
- package/dist/client/_nuxt/default.3a13b5c9.js +0 -1
- package/dist/client/_nuxt/entry.185d6835.css +0 -1
- package/dist/client/_nuxt/entry.33b5be03.js +0 -21
- package/dist/client/_nuxt/full.92d6a5f8.js +0 -1
- package/dist/client/_nuxt/server-routes.ab41fbf6.js +0 -9
- package/dist/client/_nuxt/timeline.289e5c9e.css +0 -1
package/dist/client/200.html
CHANGED
|
@@ -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.6507cb32.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.7ae8a638.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7e3f9818.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.748a1c93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2f8cf810.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.d07b0096.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.66ff8897.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.34984f69.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.6507cb32.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
package/dist/client/404.html
CHANGED
|
@@ -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.6507cb32.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.7ae8a638.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7e3f9818.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.748a1c93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2f8cf810.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.d07b0096.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.66ff8897.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.34984f69.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
|
|
5
5
|
</script></head>
|
|
6
|
-
<body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.
|
|
6
|
+
<body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.6507cb32.js" crossorigin></script></body>
|
|
7
7
|
</html>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html >
|
|
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.6507cb32.js"><link rel="preload" as="style" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/index.7ae8a638.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/default.7e3f9818.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/full.748a1c93.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/none.2f8cf810.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/nuxt-docs.100caa70.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/unocss-runtime.d07b0096.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-404.91003ceb.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-404.66ff8897.js"><link rel="prefetch" as="style" href="/__nuxt_devtools__/client/_nuxt/error-500.7e02f53c.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt_devtools__/client/_nuxt/error-500.34984f69.js"><link rel="stylesheet" href="/__nuxt_devtools__/client/_nuxt/entry.6f7d64f9.css"><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
|
|
5
|
+
</script></head>
|
|
6
|
+
<body ><div id="__nuxt"><svg class="nuxt-spa-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 25" fill="none" width="80"><path d="M24.236 22.006h10.742L25.563 5.822l-8.979 14.31a4 4 0 0 1-3.388 1.874H2.978l11.631-20 5.897 10.567"></path></svg><style>.nuxt-spa-loading{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.nuxt-spa-loading>path{fill:none;stroke:#00DC82;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:128;stroke-dashoffset:128;animation:nuxt-spa-loading-move 3s linear infinite}@keyframes nuxt-spa-loading-move{100%{stroke-dashoffset:-128}}</style></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__nuxt_devtools__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/__nuxt_devtools__/client/_nuxt/entry.6507cb32.js" crossorigin></script></body>
|
|
7
|
+
</html>
|
package/dist/client/_nuxt/{AuthRequiredPanel.vue.d0cfb6b2.js → AuthRequiredPanel.vue.17c2a7bd.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as y,aa as x,ar as n,
|
|
1
|
+
import{g as y,aa as x,ar as n,bm as _,A as l,r as m,s as c,h as g,w as d,Y as A,i as w,o as N,b as s,a as e,d as i,L as T,aR as q,a$ as V,bn as B,k as $,M as C,S as D,ad as P}from"./entry.6507cb32.js";const S=e("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[e("span",{class:"i-carbon-information-square"}),i(" Permissions required ")],-1),I=e("p",null," This operation requires permissions for running command and access files from the browser. ",-1),K=e("p",null,[i(" A request is sent to the server."),e("br"),i(" Please check your terminal for the instructions and then come back. ")],-1),M={flex:"~ gap-3",mt2:"","justify-end":""},R=e("p",null,"Or you can manually paste the token here:",-1),F=["onSubmit"],E=y({__name:"AuthRequiredPanel",setup(j){x(async()=>{n.value||_.value&&await l.verifyAuthToken(_.value)&&(n.value=!0),n.value||l.requestForAuth()});const o=m(""),r=m(!1);async function u(){const t=o.value.trim();r.value=!1,await l.verifyAuthToken(t).then(a=>{a?(n.value=!0,B(t)):r.value=!0})}return(t,a)=>{const f=$,p=C,h=D,v=P,k=w;return("isDevAuthed"in t?t.isDevAuthed:c(n))?A(t.$slots,"default",{key:1}):(N(),g(k,{key:0},{default:d(()=>[s(v,{flex:"~ col gap-2",mxa:"","items-center":"",p6:"","text-center":""},{default:d(()=>[S,I,K,e("div",M,[s(f,{disabled:"",icon:"i-carbon-time"},{default:d(()=>[i(" Waiting for authorization... ")]),_:1})]),R,e("form",{flex:"~ inline gap-2 items-center",onSubmit:V(u,["prevent"])},[s(p,{modelValue:c(o),"onUpdate:modelValue":a[0]||(a[0]=b=>T(o)?o.value=b:null),placeholder:"Enter token here",n:c(r)?"red":void 0,onKeydown:q(u,["enter"])},null,8,["modelValue","n","onKeydown"]),s(h,{icon:"i-carbon-arrow-right",onClick:u})],40,F)]),_:1})]),_:1}))}}});export{E as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as n,o,c as s,Y as t}from"./entry.
|
|
1
|
+
import{_ as n,o,c as s,Y as t}from"./entry.6507cb32.js";const c={},r={class:"mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function _(e,a){return o(),s("span",r,[t(e.$slots,"default")])}const l=n(c,[["render",_]]);export{l as _};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{_ as R}from"./NCodeBlock.vue.
|
|
1
|
+
import{_ as R}from"./NCodeBlock.vue.77e54b2e.js";import{g as _,m as N,r as F,aa as W,bq as A,o as B,h as J,s as V}from"./entry.6507cb32.js";function m(){}m.prototype={diff:function(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=o.callback;typeof o=="function"&&(f=o,o={}),this.options=o;var r=this;function l(c){return f?(setTimeout(function(){f(void 0,c)},0),!0):c}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,s=e.length,u=1,d=i+s;o.maxEditLength&&(d=Math.min(d,o.maxEditLength));var a=[{newPos:-1,components:[]}],p=this.extractCommon(a[0],t,e,0);if(a[0].newPos+1>=i&&p+1>=s)return l([{value:this.join(t),count:t.length}]);function v(){for(var c=-1*u;c<=u;c+=2){var h=void 0,w=a[c-1],C=a[c+1],L=(C?C.newPos:0)-c;w&&(a[c-1]=void 0);var q=w&&w.newPos+1<i,$=C&&0<=L&&L<s;if(!q&&!$){a[c]=void 0;continue}if(!q||$&&w.newPos<C.newPos?(h=Z(C),r.pushComponent(h.components,void 0,!0)):(h=w,h.newPos++,r.pushComponent(h.components,!0,void 0)),L=r.extractCommon(h,t,e,c),h.newPos+1>=i&&L+1>=s)return l(M(r,h.components,t,e,r.useLongestToken));a[c]=h}u++}if(f)(function c(){setTimeout(function(){if(u>d)return f();v()||c()},0)})();else for(;u<=d;){var y=v();if(y)return y}},pushComponent:function(e,t,o){var f=e[e.length-1];f&&f.added===t&&f.removed===o?e[e.length-1]={count:f.count+1,added:t,removed:o}:e.push({count:1,added:t,removed:o})},extractCommon:function(e,t,o,f){for(var r=t.length,l=o.length,i=e.newPos,s=i-f,u=0;i+1<r&&s+1<l&&this.equals(t[i+1],o[s+1]);)i++,s++,u++;return u&&e.components.push({count:u}),e.newPos=i,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};function M(n,e,t,o,f){for(var r=0,l=e.length,i=0,s=0;r<l;r++){var u=e[r];if(u.removed){if(u.value=n.join(o.slice(s,s+u.count)),s+=u.count,r&&e[r-1].added){var a=e[r-1];e[r-1]=e[r],e[r]=a}}else{if(!u.added&&f){var d=t.slice(i,i+u.count);d=d.map(function(v,y){var c=o[s+y];return c.length>v.length?c:v}),u.value=n.join(d)}else u.value=n.join(t.slice(i,i+u.count));i+=u.count,u.added||(s+=u.count)}}var p=e[l-1];return l>1&&typeof p.value=="string"&&(p.added||p.removed)&&n.equals("",p.value)&&(e[l-2].value+=p.value,e.pop()),e}function Z(n){return{newPos:n.newPos,components:n.components.slice(0)}}var I=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,T=/\S/,O=new m;O.equals=function(n,e){return this.options.ignoreCase&&(n=n.toLowerCase(),e=e.toLowerCase()),n===e||this.options.ignoreWhitespace&&!T.test(n)&&!T.test(e)};O.tokenize=function(n){for(var e=n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<e.length-1;t++)!e[t+1]&&e[t+2]&&I.test(e[t])&&I.test(e[t+2])&&(e[t]+=e[t+2],e.splice(t+1,2),t--);return e};var D=new m;D.tokenize=function(n){var e=[],t=n.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var o=0;o<t.length;o++){var f=t[o];o%2&&!this.options.newlineIsToken?e[e.length-1]+=f:(this.options.ignoreWhitespace&&(f=f.trim()),e.push(f))}return e};function k(n,e,t){return D.diff(n,e,t)}var G=new m;G.tokenize=function(n){return n.split(/(\S.+?[.!?])(?=\s+|$)/)};var H=new m;H.tokenize=function(n){return n.split(/([{}:;,]|\s+)/)};function z(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(e){return typeof e}:z=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}var Q=Object.prototype.toString,g=new m;g.useLongestToken=!0;g.tokenize=D.tokenize;g.castInput=function(n){var e=this.options,t=e.undefinedReplacement,o=e.stringifyReplacer,f=o===void 0?function(r,l){return typeof l>"u"?t:l}:o;return typeof n=="string"?n:JSON.stringify(E(n,null,null,f),f," ")};g.equals=function(n,e){return m.prototype.equals.call(g,n.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function E(n,e,t,o,f){e=e||[],t=t||[],o&&(n=o(f,n));var r;for(r=0;r<e.length;r+=1)if(e[r]===n)return t[r];var l;if(Q.call(n)==="[object Array]"){for(e.push(n),l=new Array(n.length),t.push(l),r=0;r<n.length;r+=1)l[r]=E(n[r],e,t,o,f);return e.pop(),t.pop(),l}if(n&&n.toJSON&&(n=n.toJSON()),z(n)==="object"&&n!==null){e.push(n),l={},t.push(l);var i=[],s;for(s in n)n.hasOwnProperty(s)&&i.push(s);for(i.sort(),r=0;r<i.length;r+=1)s=i[r],l[s]=E(n[s],e,t,o,s);e.pop(),t.pop()}else l=n;return l}var x=new m;x.tokenize=function(n){return n.slice()};x.join=x.removeEmpty=function(n){return n};const Y=_({__name:"CodeDiff",props:{from:{},to:{},lang:{}},setup(n){const e=n;function t(i,s){const u=k(i.trim(),s.trim()),d=[],a=[],p=[];for(const v of u){const y=v.value.trimEnd().split(`
|
|
2
2
|
`);for(const c of y)v.added?(d.push(p.length),p.push(c)):(v.removed&&a.push(p.length),p.push(c))}return{added:d,removed:a,result:p.join(`
|
|
3
3
|
`)}}const o=N(()=>t(e.from,e.to));function f(i){let s=0;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,u=>(s++,o.value.added.includes(s-1)?'class="line line-added"':o.value.removed.includes(s-1)?'class="line line-removed"':u))}const r=F();W(l);function l(){const i=A(r);i&&i.querySelector(".line-added,.line-removed")?.scrollIntoView()}return(i,s)=>{const u=R;return B(),J(u,{ref_key:"elRef",ref:r,code:V(o).result,lang:i.lang,"transform-rendered":f,onLoaded:l},null,8,["code","lang"])}}});export{Y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as y}from"./NCodeBlock.vue.
|
|
1
|
+
import{_ as y}from"./NCodeBlock.vue.77e54b2e.js";import{g as C,bf as h,a2 as S,am as w,o as s,c as n,a,F as i,n as x,q as u,s as o,t as B,b as _,w as f,d as m,h as N,v as l,k as V}from"./entry.6507cb32.js";const $={key:0,relative:"","n-code-block":""},D={flex:"~ wrap","w-full":""},E=["onClick"],F=a("div",{border:"b base","flex-auto":""},null,-1),q={flex:"~ gap-2",px3:"",pb3:"",n:"sm primary"},T=C({__name:"CodeSnippets",props:{codeSnippets:{}},setup(b){const c=b,e=h(c.codeSnippets[0]),k=S();return w(()=>{c.codeSnippets.includes(e.value)||(e.value=c.codeSnippets[0])}),(r,p)=>{const v=y,d=V;return r.codeSnippets.length?(s(),n("div",$,[a("div",D,[(s(!0),n(i,null,x(r.codeSnippets,(t,g)=>(s(),n("button",{key:g,px4:"",py2:"",border:"r base",hover:"bg-active",class:u(t===o(e)?"":"border-b"),onClick:z=>e.value=t},[a("div",{class:u(t===o(e)?"":"op30"),"font-mono":""},B(t.name),3)],10,E))),128)),F]),o(e)?(s(),n(i,{key:0},[_(v,{code:o(e).code,lang:o(e).lang,lines:!1,"w-full":"","of-auto":"",p3:""},null,8,["code","lang"]),a("div",q,[_(d,{icon:"carbon-copy",onClick:p[0]||(p[0]=t=>o(k)(o(e).code))},{default:f(()=>[m(" Copy ")]),_:1}),o(e)?.docs?(s(),N(d,{key:0,to:o(e).docs,target:"_blank",icon:"carbon-catalog"},{default:f(()=>[m(" Docs ")]),_:1},8,["to"])):l("",!0)])],64)):l("",!0)])):l("",!0)}}});export{T as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as I}from"./NMarkdown.vue.
|
|
1
|
+
import{_ as I}from"./NMarkdown.vue.a74698d6.js";import{g as V,a2 as D,Z as U,m as c,ae as $,o as a,h as r,w as i,a as o,v as l,b as E,s as e,d as u,c as _,F as v,t as h,n as F,q as j,k as S}from"./entry.6507cb32.js";import{_ as q}from"./FilepathItem.vue.84aa0a31.js";import{C as k}from"./constants.4e5eba24.js";const z={"hover:text-primary":""},L={key:0,"text-primary":""},M={"max-w-100":""},O={px4:"",py3:"","text-sm":""},T={flex:"~ gap2",n:"primary xs"},W={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},Z={"text-sm":""},A=o("span",{op50:""},"It has been referenced ",-1),G={"text-primary":""},H=o("span",{op50:""}," times by:",-1),J={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},K={key:1,"text-sm":"",op50:""},Y=V({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(x){const t=x,b=D(),g=U(),m=c(()=>t.item.as||t.item.name),n=c(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),C=c(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(s=>!s.endsWith("?macro=true"))),y=c(()=>{if(t.item.meta?.docsUrl)return t.item.meta.docsUrl;if(["nuxt","#app","nuxt3"].includes(t.item.from))return k.nuxt[t.item.name];if(t.item.from==="vue")return k.vue[t.item.name]});return(s,p)=>{const w=I,f=S,N=q,B=$("VDropdown");return a(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",M,[o("div",O,[s.item.meta?.description?(a(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:s.item.meta.description},null,8,["markdown"])):l("",!0),o("div",T,[E(f,{icon:"carbon-copy",onClick:p[0]||(p[0]=d=>e(b)(e(m)))},{default:i(()=>[u(" Copy ")]),_:1}),s.filepath?(a(),r(f,{key:0,icon:"carbon-code",onClick:p[1]||(p[1]=d=>s.filepath&&e(g)(s.filepath))},{default:i(()=>[u(" Source ")]),_:1})):l("",!0),e(y)?(a(),r(f,{key:1,icon:"carbon-catalog",to:e(y),target:"_blank"},{default:i(()=>[u(" Docs ")]),_:1},8,["to"])):l("",!0)])]),o("div",W,[e(n)?(a(),_(v,{key:0},[o("div",Z,[A,o("strong",G,h(e(n)),1),H]),o("div",J,[(a(!0),_(v,null,F(e(C),d=>(a(),r(N,{key:d,filepath:d},null,8,["filepath"]))),128))])],64)):(a(),_("div",K," Not in use via auto import. "))])])]),default:i(()=>[o("button",z,[o("code",{rounded:"","font-mono":"",class:j([s.metadata&&!e(n)?"op30 hover:op100":"",s.classes])},[u(h(e(m))+" ",1),e(n)&&s.counter?(a(),_("sup",L,"x"+h(e(n)),1)):l("",!0)],2)])]),_:1},8,["disabled"])}}});export{Y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as i,r as u,
|
|
1
|
+
import{g as i,r as u,bg as m,aw as f,h as d,w as p,aG as b,o as s,c as v,b as _,a as g,Y as h,aE as x,s as y,v as k,S as B}from"./entry.6507cb32.js";const C={relative:"","h-full":"","w-full":"","of-auto":""},V={inheritAttrs:!1},z=i({...V,__name:"DrawerRight",props:{modelValue:{type:Boolean},navbar:{},autoClose:{type:Boolean}},emits:["close"],setup(r,{emit:l}){const t=r,a=u(),{height:n}=m(()=>t.navbar,void 0,{box:"border-box"});return f(a,()=>{t.modelValue&&t.autoClose&&l("close")},{ignore:["a","button","summary"]}),(e,o)=>{const c=B;return s(),d(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:p(()=>[e.modelValue?(s(),v("div",x({key:0,ref_key:"el",ref:a,border:"l base",flex:"~ col gap-1",absolute:"","bottom-0":"","right-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","glass-effect":"",style:{top:`${y(n)}px`}},e.$attrs),[_(c,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",onClick:o[0]||(o[0]=$=>e.$emit("close"))}),g("div",C,[h(e.$slots,"default")])],16)):k("",!0)]),_:3})}}});export{z as _};
|
package/dist/client/_nuxt/{DurationDisplay.vue.8283fdb3.js → DurationDisplay.vue.aba5fa70.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as s,m as u,o as d,c as f,d as c,t as o,s as n,a as p,q as m}from"./entry.
|
|
1
|
+
import{g as s,m as u,o as d,c as f,d as c,t as o,s as n,a as p,q as m}from"./entry.6507cb32.js";const x={"ml-1":"","text-xs":"",op50:""},g=s({__name:"DurationDisplay",props:{duration:{},factor:{default:1},color:{type:Boolean,default:!0}},setup(a){const t=a;function i(r){return t.color?r?(r=r*t.factor,r<.5?"text-gray:50":r>1e3?"text-red-400":r>500?"text-orange-400":r>200?"text-yellow-400":""):"text-gray-400":""}const e=u(()=>!t.duration||t.duration<1?["<1","ms"]:t.duration<1e3?[t.duration.toFixed(0),"ms"]:t.duration<1e3*60?[(t.duration/1e3).toFixed(1),"s"]:[(t.duration/1e3/60).toFixed(1),"min"]);return(r,l)=>(d(),f("div",{class:m(i(r.duration))},[c(o(n(e)[0]),1),p("span",x,o(n(e)[1]),1)],2))}});export{g as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as u,Z as f,a1 as c,m as v,a_ as k,o as t,h as y,w as B,c as s,F as l,d,t as n,s as a,a as C,v as g,q as N,ai as b}from"./entry.
|
|
1
|
+
import{g as u,Z as f,a1 as c,m as v,a_ as k,o as t,h as y,w as B,c as s,F as l,d,t as n,s as a,a as C,v as g,q as N,ai as b}from"./entry.6507cb32.js";const w={key:0,op50:""},F=u({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(m){const r=m,h=f(),p=c(),o=v(()=>r.filepath&&p.value?k(r.filepath,p.value.rootDir):{path:r.filepath||""});return(e,i)=>(t(),y(b(e.filepath?"button":"span"),{class:N([e.filepath?"hover:underline":"",e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath,onClick:i[0]||(i[0]=D=>e.filepath&&a(h)(e.filepath))},{default:B(()=>[e.override?(t(),s(l,{key:0},[d(n(e.override),1)],64)):a(o).moduleName?(t(),s(l,{key:1},[C("span",null,n(a(o).moduleName),1),e.subpath?(t(),s("span",w,n(a(o).path.slice(a(o).moduleName.length)),1)):g("",!0)],64)):(t(),s(l,{key:2},[d(n(a(o).path),1)],64))]),_:1},8,["class","title"]))}});export{F as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as f,r as _,s as o,c as s,a as d,b as a,w as i,aG as u,F as m,v as n,o as l,Y as v,ac as g,S as k}from"./entry.
|
|
1
|
+
import{g as f,r as _,s as o,c as s,a as d,b as a,w as i,aG as u,F as m,v as n,o as l,Y as v,ac as g,S as k}from"./entry.6507cb32.js";const h=d("div",{"i-ri:question-mark":""},null,-1),x=[h],w={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},B=f({__name:"HelpFab",setup(y){const e=_(!1),{showHelpButtons:p}=g();return(b,t)=>{const c=k;return o(p)?(l(),s(m,{key:0},[d("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:t[0]||(t[0]=r=>e.value=!o(e))},x),a(u,{name:"fade-in"},{default:i(()=>[o(e)?(l(),s("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:t[1]||(t[1]=r=>e.value=!1)})):n("",!0)]),_:1}),a(u,{name:"slide-in"},{default:i(()=>[o(e)?(l(),s("div",w,[v(b.$slots,"default"),a(c,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{B as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as k,h as o,w as a,i as b,o as t,b as r,a as c,t as i,v as _,c as g,n as h,aE as N,d as w,F as x,
|
|
1
|
+
import{g as k,h as o,w as a,i as b,o as t,b as r,a as c,t as i,v as _,c as g,n as h,aE as N,d as w,F as x,br as C,T as y,k as B,ad as $}from"./entry.6507cb32.js";import{_ as V}from"./NMarkdown.vue.a74698d6.js";const v={"text-xl":""},P={flex:"~ gap2 wrap"},L=k({__name:"LaunchPage",props:{icon:{},title:{},description:{},actions:{}},emits:["action"],setup(T){return(e,E)=>{const l=C,m=V,p=y,d=B,u=$,f=b;return t(),o(f,null,{default:a(()=>[r(u,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:a(()=>[r(l,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),c("h1",v,i(e.title),1),e.description?(t(),o(m,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):_("",!0),c("div",P,[(t(!0),g(x,null,h(e.actions,(n,s)=>(t(),o(d,N({key:s,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:()=>{n.handle?.(),e.$emit("action",s)}}),{default:a(()=>[n.pending?(t(),o(p,{key:0,icon:"carbon-circle-dash","animate-spin":""})):_("",!0),w(" "+i(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{L as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as i,X as r,c as p,y as b,
|
|
1
|
+
import{g as i,X as r,c as p,y as b,by as u,s as o,a as n,L as h,aR as k,b as f,Y as m,q as v,o as _,T as x}from"./entry.6507cb32.js";const y=["checked","disabled"],V=["disabled"],B={class:"n-checkbox-box n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},$=i({__name:"NCheckbox",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(c,{emit:t}){const e=r(c,"modelValue",t,{passive:!0});return(a,s)=>{const d=x;return _(),p("label",{class:"n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled",checked:o(e)||null,disabled:a.disabled||null},[b(n("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>h(e)?e.value=l:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=k(l=>e.value=!o(e),["enter"]))},null,40,V),[[u,o(e)]]),n("span",B,[f(d,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),n("span",{class:v([o(e)?"":"op50","n-transition"])},[m(a.$slots,"default")],2)],8,y)}}});export{$ as _};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as u}from"./client.
|
|
1
|
+
import{d as u}from"./client.ece13385.js";import{g as _,m,al as k,o as n,c as s,q as r,a as t,F as d,n as f,t as g}from"./entry.6507cb32.js";const h=["innerHTML"],C={class:"shiki"},v=["textContent"],y=t("br",null,null,-1),H=_({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(a,{emit:c}){const o=a,l=m(()=>{const e=u.value?.devtools.renderCodeHighlight(o.code,o.lang)||{code:o.code,supported:!1};return e.supported&&o.transformRendered&&(e.code=o.transformRendered(e.code)),e.supported&&k(()=>c("loaded")),e});return(e,B)=>e.lang&&l.value.supported?(n(),s("pre",{key:0,class:r(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:l.value.code},null,10,h)):(n(),s("pre",{key:1,class:r(["n-code-block",e.lines?"n-code-block-lines":""])},[t("pre",C,[t("code",null,[(n(!0),s(d,null,f(e.code.split(`
|
|
2
2
|
`),(i,p)=>(n(),s(d,{key:p},[t("span",{class:"line",textContent:g(i)},null,8,v),y],64))),128))])])],2))}});export{H as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as t,o,c as s,q as a,v as n,Y as r,a as l,t as i}from"./entry.
|
|
1
|
+
import{g as t,o,c as s,q as a,v as n,Y as r,a as l,t as i}from"./entry.6507cb32.js";const c={flex:"~ gap-3","items-center":""},u=t({__name:"NIconTitle",props:{icon:{},text:{}},setup(p){return(e,m)=>(o(),s("div",c,[e.icon?(o(),s("div",{key:0,class:a(e.icon)},null,2)):n("",!0),r(e.$slots,"default",{},()=>[l("div",null,i(e.text),1)])]))}});export{u as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as n,o as a,h as o,w as s,Y as r,aE as t,ai as p,s as i,e as l}from"./entry.
|
|
1
|
+
import{g as n,o as a,h as o,w as s,Y as r,aE as t,ai as p,s as i,e as l}from"./entry.6507cb32.js";const c=n({__name:"NLink",props:{to:{},href:{},target:{}},setup(_){return(e,m)=>(a(),o(p(e.href||e.target?"a":i(l)),t(e.$props,{class:"n-link n-transition hover:n-link-hover n-link-base"}),{default:s(()=>[r(e.$slots,"default")]),_:3},16))}});export{c as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as o}from"./client.
|
|
1
|
+
import{d as o}from"./client.ece13385.js";import{g as t,s as e,o as a,h as r,ai as s,t as d}from"./entry.6507cb32.js";const i=t({__name:"NMarkdown",props:{markdown:{},tag:{}},setup(m){return(n,l)=>n.markdown&&e(o)?.devtools?.renderMarkdown?(a(),r(s(n.tag||"span"),{key:0,class:"n-markdown",innerHTML:e(o).devtools.renderMarkdown(n.markdown)},null,8,["innerHTML"])):(a(),r(s(n.tag||"span"),{key:1,class:"n-markdown",textContent:d(n.markdown)},null,8,["textContent"]))}});export{i as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g,X as y,c as r,a as o,q as n,b,w,s as i,F as c,y as B,z as S,Y as s,v as d,o as l,d as u,t as v,h as $,p as C,f as N,T as k,_ as I}from"./entry.
|
|
1
|
+
import{g,X as y,c as r,a as o,q as n,b,w,s as i,F as c,y as B,z as S,Y as s,v as d,o as l,d as u,t as v,h as $,p as C,f as N,T as k,_ as I}from"./entry.6507cb32.js";import{_ as x}from"./NIconTitle.vue.0a904b99.js";const f=t=>(C("data-v-a73dbcfe"),t=t(),N(),t),V=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=f(()=>o("div",{class:"flex-auto"},null,-1)),F=f(()=>o("div",{class:"x-divider"},null,-1)),q=g({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const a=y(t,"open",void 0,{passive:!0});function _(e){a.value=e.target.open}return(e,p)=>{const m=k,h=x;return l(),r(c,null,[o("details",{open:i(a),onToggle:_},[o("summary",{class:n(["cursor-pointer select-none hover:bg-active p4",e.collapse?"":"pointer-events-none"])},[b(h,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:n([i(a)?"op100":"op60",e.headerClass])},{default:w(()=>[o("div",null,[o("div",z,[s(e.$slots,"text",{},()=>[u(v(e.text),1)],!0)]),e.description||e.$slots.description?(l(),r("div",T,[s(e.$slots,"description",{},()=>[u(v(e.description),1)],!0)])):d("",!0)]),D,s(e.$slots,"actions",{},void 0,!0),e.collapse?(l(),$(m,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),p._lazyshow1||i(a)?(p._lazyshow1=!0,l(),r(c,null,[B(o("div",{class:n(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(e.$slots,"details",{},void 0,!0),o("div",{class:n([e.containerClass,"mt1"])},[s(e.$slots,"default",{},void 0,!0)],2),s(e.$slots,"footer",{},void 0,!0)],2),[[S,i(a)]])],64)):d("v-show-if",!0)],40,V),F],64)}}});const Y=I(q,[["__scopeId","data-v-a73dbcfe"]]);export{Y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as u,X as p,c as t,Y as l,y as f,
|
|
1
|
+
import{g as u,X as p,c as t,Y as l,y as f,bz as m,s as b,a as h,t as v,v as n,L as _,o as s,h as y,T as V}from"./entry.6507cb32.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"],g={key:0,value:"",disabled:"",hidden:""},S=u({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(d,{emit:i}){const o=p(d,"modelValue",i,{passive:!0});return(e,a)=>{const r=V;return s(),t("div",k,[l(e.$slots,"icon",{},()=>[e.icon?(s(),y(r,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):n("",!0)]),f(h("select",{"onUpdate:modelValue":a[0]||(a[0]=c=>_(o)?o.value=c:null),disabled:e.disabled,class:"w-full flex-auto n-bg-base !outline-none"},[e.placeholder?(s(),t("option",g,v(e.placeholder),1)):n("",!0),l(e.$slots,"default")],8,B),[[m,b(o)]])])}}});export{S as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as i,X as c,o as r,c as u,y as h,
|
|
1
|
+
import{g as i,X as c,o as r,c as u,y as h,by as p,s as l,a as t,L as b,aR as v,Y as f}from"./entry.6507cb32.js";const k=["checked","disabled"],m=["disabled"],w=t("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[t("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),B=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(o,{emit:d}){const e=c(o,"modelValue",d,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:l(e)||null,disabled:a.disabled||null},[h(t("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>b(e)?e.value=n:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=v(n=>e.value=!l(e),["enter"]))},null,40,m),[[p,l(e)]]),w,f(a.$slots,"default")],8,k))}});export{B as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as a,o,c,Y as n,h as t,v as i,a as r,T as l}from"./entry.
|
|
1
|
+
import{g as a,o,c,Y as n,h as t,v as i,a as r,T as l}from"./entry.6507cb32.js";const p={class:"n-tip n-tip-base"},u=a({__name:"NTip",props:{icon:{}},setup(_){return(e,m)=>{const s=l;return o(),c("div",p,[n(e.$slots,"icon",{},()=>[e.icon?(o(),t(s,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):i("",!0)]),r("div",null,[n(e.$slots,"default")])])}}});export{u as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as r,c,a as d,Y as s,q as n,o as i,b as p,M as u}from"./entry.
|
|
1
|
+
import{g as r,c,a as d,Y as s,q as n,o as i,b as p,M as u}from"./entry.6507cb32.js";const f={flex:"~ gap4","items-center":""},g=r({__name:"Navbar",props:{search:{type:String,default:void 0},noPadding:{type:Boolean,default:!1}},emits:["update:search"],setup(a,{emit:t}){function o(e){t("update:search",e.target.value)}return(e,m)=>{const l=u;return i(),c("div",{flex:"~ col gap2",border:"b base","flex-1":"","navbar-glass":"",class:n([{p4:!a.noPadding}])},[d("div",f,[s(e.$slots,"search",{},()=>[p(l,{placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:n({"px-5 py-2":!a.noPadding}),value:a.search,onInput:o},null,8,["class","value"])]),s(e.$slots,"actions")]),s(e.$slots,"default")],2)}}});export{g as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as h,X as S,a7 as N,r as B,b1 as O,o as r,c as l,a as p,q as d,s,t as V,v as u,Y as C,aH as w,aI as j,h as f,F as J,aE as P,b2 as _,L as $,al as z,S as E}from"./entry.
|
|
1
|
+
import{g as h,X as S,a7 as N,r as B,b1 as O,o as r,c as l,a as p,q as d,s,t as V,v as u,Y as C,aH as w,aI as j,h as f,F as J,aE as P,b2 as _,L as $,al as z,S as E}from"./entry.6507cb32.js";import{U as M}from"./json-editor-vue.bbdad521.js";const R=["open"],U={flex:"~ gap2","select-none":"","items-center":"",px4:""},A={key:1,"bg-active":"",p5:"",italic:""},F=p("span",{op50:""},"No data",-1),I=[F],H=h({__name:"StateEditor",props:{name:{},open:{type:Boolean},state:{},readonly:{type:Boolean}},emits:["update:open"],setup(v,{emit:b}){const i=v,n=S(i,"open",b,{passive:!0}),k=N(),o=B();o.value=JSON.parse(JSON.stringify(i.state));const c=O(o,e=>{m(e,i.state)},{deep:!0});function m(e,t){for(const a in e)e[a]===null?t[a]=null:Array.isArray(e[a])?t[a]=e[a].slice():typeof e[a]=="object"?m(e[a],t[a]):t[a]=e[a]}async function g(){c.pause(),o.value=JSON.parse(JSON.stringify(i.state)),await z(),c.resume()}return(e,t)=>{const a=E;return r(),l("div",{class:"state-editor-details",open:e.name?s(n):!0},[p("div",U,[e.name?(r(),l("button",{key:0,flex:"~","cursor-pointer":"","items-center":"",class:d(s(n)?"":"op50"),onClick:t[0]||(t[0]=y=>n.value=!s(n))},[p("div",{"i-carbon-chevron-right":"",transition:"",class:d(s(n)?"rotate-90 op0":"")},null,2),p("code",{px3:"",py1:"","font-mono":"",class:d(s(n)?"bg-[#8881] rounded-t":"rounded hover:bg-active")},V(e.name),3)],2)):u("",!0),C(e.$slots,"actions",w(j({isOpen:s(n),name:e.name,state:e.state}))),s(n)?(r(),f(a,{key:1,title:"Refresh View",icon:"carbon-renew",onClick:g})):u("",!0)]),s(n)||!e.name?(r(),l(J,{key:0},[e.state&&Object.keys(e.state).length>0?(r(),f(s(M),P({key:0,modelValue:s(o),"onUpdate:modelValue":t[1]||(t[1]=y=>$(o)?o.value=y:null)},e.$attrs,{class:["json-editor-vue",[s(k).value==="dark"?"jse-theme-dark":"",(e.name,"")]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":"readonly"in e?e.readonly:s(_),indentation:2,"tab-size":2}),null,16,["modelValue","class","read-only"])):(r(),l("div",A,I))],64)):u("",!0)],8,R)}}});export{H as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as n,h as o,w as t,i as _,o as a,a as s}from"./entry.
|
|
1
|
+
import{g as n,h as o,w as t,i as _,o as a,a as s}from"./entry.6507cb32.js";const c=s("div",null," Your App ",-1),u=n({__name:"__blank",setup(r){return(p,i)=>{const e=_;return a(),o(e,{"h-screen":"","w-screen":"",px5:""},{default:t(()=>[c]),_:1})}}});export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as R,m as V,r as F,o,c as i,a as e,F as c,n as j,q as S,s as n,t as m,v as b,x as G,b as r,w as a,d as _,y as A,z as D,A as E,B as L,k as U,C as X,D as ee,E as te,G as ne,H as oe,I as le,J as ie,K as k,h as w,L as P,M as se,N as ae,i as re}from"./entry.
|
|
1
|
+
import{g as R,m as V,r as F,o,c as i,a as e,F as c,n as j,q as S,s as n,t as m,v as b,x as G,b as r,w as a,d as _,y as A,z as D,A as E,B as L,k as U,C as X,D as ee,E as te,G as ne,H as oe,I as le,J as ie,K as k,h as w,L as P,M as se,N as ae,i as re}from"./entry.6507cb32.js";import{_ as ue}from"./FilepathItem.vue.84aa0a31.js";import{_ as de}from"./NTip.vue.861372f7.js";import{_ as ce}from"./NCodeBlock.vue.77e54b2e.js";import{_ as me}from"./NCheckbox.vue.63949e52.js";import{_ as _e}from"./HelpFab.vue.a8d95bd1.js";import"./client.ece13385.js";const pe={"h-full":"",grid:"~ rows-[max-content_1fr]"},fe={flex:"~ wrap","w-full":""},ve=["onClick"],he=e("div",{border:"b base","flex-auto":""},null,-1),ye={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},be=e("div",{"flex-auto":""},null,-1),$e={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},xe=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),ge=e("div",{"text-sm":"",op50:""}," Name ",-1),we=e("div",{"i-carbon-time":"","text-xl":""},null,-1),ze=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Be=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ce=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Ne=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Te=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),Ae=e("div",{"text-sm":"",op50:""}," Built ",-1),De=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ie=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Ve=e("div",{"flex-auto":""},null,-1),I="/__nuxt_devtools__/analyze/",Fe=R({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(C){const p=C,f=V(()=>{const t=[{name:"Overview",id:"overview"}];return p.current.features.bundleClient&&t.push({name:"Client Bundle",id:"bundle-client"}),p.current.features.bundleNitro&&t.push({name:"Nitro Bundle",id:"bundle-nitro"}),p.current.features.viteInspect&&t.push({name:"Vite Inspect",id:"vite-inspect"}),t}),l=F(f.value[0]);function $(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:t<1024*1024*1024?`${(t/1024/1024).toFixed(1)}MB`:`${(t/1024/1024/1024).toFixed(1)}GB`}function g(t){return`${((t.endTime-t.startTime)/1e3).toFixed(1)}s`}async function x(t){return E.clearAnalyzeBuilds(await L(),[t])}return(t,u)=>{const z=ue,N=U;return o(),i("div",pe,[e("div",fe,[(o(!0),i(c,null,j(n(f),(v,T)=>(o(),i("button",{key:T,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(v.id===n(l).id?"":"border-b"),onClick:d=>l.value=v},[e("div",{class:S(v.id===n(l).id?"":"op30")},m(v.name),3)],10,ve))),128)),he]),n(l).id==="overview"?(o(),i("div",ye,[be,e("div",$e,[xe,e("div",null,[ge,e("div",null,m(t.current.name),1)]),we,e("div",null,[ze,e("div",null,m(g(t.current)),1)]),t.current.size?.clientBundle?(o(),i(c,{key:0},[Be,e("div",null,[ke,e("div",null,m($(t.current.size.clientBundle)),1)])],64)):b("",!0),t.current.size.nitroBundle?(o(),i(c,{key:1},[Ce,e("div",null,[Ne,e("div",null,m($(t.current.size.nitroBundle)),1)])],64)):b("",!0),Te,e("div",null,[Ae,e("div",null,m(n(G)(new Date(t.current.endTime))),1)]),De,e("div",null,[Ie,r(z,{filepath:t.current.analyzeDir},null,8,["filepath"])])]),Ve,r(N,{n:"rose",icon:"carbon-delete",onClick:u[0]||(u[0]=v=>x(t.current.name))},{default:a(()=>[_(" Delete this report ")]),_:1})])):b("",!0),u._lazyshow1||n(l).id==="bundle-client"?(u._lazyshow1=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-client"]])],64)):b("v-show-if",!0),u._lazyshow2||n(l).id==="bundle-nitro"?(u._lazyshow2=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-nitro"]])],64)):b("v-show-if",!0),u._lazyshow3||n(l).id==="vite-inspect"?(u._lazyshow3=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Se={class:"markdown-body"},Ee=e("h1",null,"Build Analyze",-1),Pe=e("p",null,[_("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),_(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Re=[Ee,Pe],je={__name:"analyze-build",setup(C,{expose:p}){return p({frontmatter:{}}),(l,$)=>(o(),i("div",Se,Re))}},Ge={flex:"~ col"},Le=["onClick"],Ue={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),Oe={flex:"~ items-center justify-center wrap",p4:""},qe={flex:"~ col gap-1","w-250":"",p4:""},Je=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),We=e("p",{op50:""}," Enter the name of the build: ",-1),Ye=e("div",{my3:"","x-divider":""},null,-1),Ze=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),Qe={flex:"~ gap-3",mt2:"","justify-end":""},st=R({__name:"analyze-build",setup(C){const p=X(),f=ee(),l=te(),$=ne("analyze-build:slug",""),g=V(()=>f.value?.builds.find(d=>d.slug===$.value)??f.value?.builds[0]),x=F(!1),t=F(""),u=V(()=>f.value?.builds.some(d=>d.name===t.value.trim()));async function z(){t.value=await E.generateAnalyzeBuildName(),await p.start()&&(k.value={name:t.value,processId:await E.startAnalyzeBuild(await L(),t.value)},x.value&&v())}const N=oe();function v(){k.value?.processId&&(N.value=k.value.processId,l.push("/modules/terminals"))}function T(d){return`${((d.endTime-d.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:z}]),(d,h)=>{const B=U,H=Fe,K=re,M=ie,O=se,q=de,J=ce,W=me,Y=ae,Z=je,Q=_e;return o(),i(c,null,[r(M,{"left-size":30},{left:a(()=>[e("div",Ge,[(o(!0),i(c,null,j(n(f)?.builds,s=>(o(),i(c,{key:s.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(s.slug===n(g)?.slug?"text-primary bg-active":""),onClick:y=>$.value=s.slug},[e("code",null,m(s.name),1),e("div",Ue,[He,e("span",null,m(T(s)),1),Ke,e("span",null,m(n(G)(new Date(s.endTime))),1)])],10,Le),Me],64))),128)),e("div",Oe,[("processAnalyzeBuildInfo"in d?d.processAnalyzeBuildInfo:n(k))?(o(),w(B,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:h[1]||(h[1]=s=>v())},{default:a(()=>[_(" Building... ")]),_:1})):(o(),w(B,{key:0,n:"primary",icon:"carbon-edge-node",onClick:h[0]||(h[0]=s=>z())},{default:a(()=>[_(" Start a new build ")]),_:1}))])])]),right:a(()=>[n(g)?(o(),w(H,{key:0,current:n(g)},null,8,["current"])):(o(),w(K,{key:1}))]),_:1}),r(n(p),null,{default:a(({resolve:s})=>[r(Y,{"model-value":!0,onClose:y=>s(!1)},{default:a(()=>[e("div",qe,[Je,We,r(O,{modelValue:n(t),"onUpdate:modelValue":h[2]||(h[2]=y=>P(t)?t.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),n(u)?(o(),w(q,{key:0,"n-orange":""},{default:a(()=>[_(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Ye,Ze,r(J,{code:`npx nuxi analyze --no-serve --name=${n(t)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),r(W,{modelValue:n(x),"onUpdate:modelValue":h[3]||(h[3]=y=>P(x)?x.value=y:null),mt2:"",n:"primary"},{default:a(()=>[_(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",Qe,[r(B,{onClick:y=>s(!1)},{default:a(()=>[_(" Cancel ")]),_:2},1032,["onClick"]),r(B,{n:"solid primary",onClick:y=>s(!0)},{default:a(()=>[_(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),r(Q,null,{default:a(()=>[r(Z)]),_:1})],64)}}});export{st as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as E,r as S,O as U,o,c as u,b as g,s as t,a as e,d as B,F as N,n as L,h as F,w as T,v as D,q as R,P as O,Q as te,R as ne,A as X,B as se,S as q,T as K,M as oe,k as W,m as $,U as ae,V as ie,W as Q,t as P,X as le,Y as re,L as Z,Z as ce,a0 as G,a1 as ue,a2 as de,a3 as pe,a4 as me,a5 as fe,a6 as he}from"./entry.
|
|
1
|
+
import{g as E,r as S,O as U,o,c as u,b as g,s as t,a as e,d as B,F as N,n as L,h as F,w as T,v as D,q as R,P as O,Q as te,R as ne,A as X,B as se,S as q,T as K,M as oe,k as W,m as $,U as ae,V as ie,W as Q,t as P,X as le,Y as re,L as Z,Z as ce,a0 as G,a1 as ue,a2 as de,a3 as pe,a4 as me,a5 as fe,a6 as he}from"./entry.6507cb32.js";import{_ as _e}from"./Navbar.vue.1a2a587f.js";import{_ as ve}from"./NSectionBlock.b074e0b8.js";import{_ as ge}from"./FilepathItem.vue.84aa0a31.js";import{_ as xe}from"./CodeSnippets.vue.b4698473.js";import{_ as be}from"./DrawerRight.vue.3ab85e5b.js";import{D as we}from"./constants.4e5eba24.js";import"./NIconTitle.vue.0a904b99.js";import"./NCodeBlock.vue.77e54b2e.js";import"./client.ece13385.js";const ye={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},$e={for:"drop-zone-input","text-3xl":""},ke={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},Ce=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),Pe={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},Ae={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Fe=["src"],De={flex:"~ gap1","items-center":""},Ie={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},Ne=E({__name:"DropZone",props:{folder:{type:String,required:!0}},setup(A){const n=A,l=S(!1),r=S(),c=S([]),k=["image","video"];function V(a){r.value=a.target,l.value=!0}function p(a){a.target===r.value&&(l.value=!1)}function C(a){a.preventDefault()}function j(a){a.preventDefault(),I(a.dataTransfer.files)}function I(a){const d=Array.from(a||[]);if(d.length){const v=[],y=c.value.map(i=>i.name);for(const i of d)if(y.includes(i.name)){let _=1;const[w,z]=i.name.split(".");for(;y.includes(`${w} (${_}).${z}`);)_++;const M=`${w}-${_}.${z}`,J=new Blob([i],{type:i.type}),ee=new File([J],M,{lastModified:Date.now()});v.push(ee),y.push(M)}else i.type===""?O({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}):k.some(_=>i.type.includes(_))?v.push(i):O({message:`"${i.type}" file type is not allowed`,icon:"carbon:face-dissatisfied",classes:"text-orange"});c.value=[...c.value,...v]}}async function h(){if(te.value||ne.value)return;const a=[];for(const d of c.value){const v=new FileReader;v.readAsDataURL(d);const i=(await new Promise(_=>{v.onload=()=>_(v.result)})).split(";base64,").pop();a.push({name:d.name,data:i})}await X.writeStaticAssets(await se(),[...a],n.folder).then(()=>{b(),O({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(d=>{console.error(d),b(),O({message:`Error uploading files: ${d}`,icon:"i-carbon-warning",classes:"text-red"})}),l.value=!1}function f(a){c.value?.splice(a,1)}function s(a){return URL.createObjectURL(a)}function m(a,d){const[v,y]=a.name.split("."),i=d.replace(/\.\w+$/,""),_=`${i}.${y}`;return i.length===0?(alert("File name must be at least 1 characters long"),v):(Object.defineProperty(a,"name",{value:_,writable:!1}),c.value.splice(c.value.indexOf(a),1,a),a)}function x(){c.value=[]}function b(){l.value=!1,x()}return U("dragenter",V),U("dragleave",p),U("dragover",C),U("drop",j),(a,d)=>{const v=q,y=K,i=oe,_=W;return o(),u("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:R(t(l)?"opacity-100 visible":"opacity-0 invisible")},[g(v,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:b}),t(c)?.length?(o(),u("div",ke,[Ce,e("div",Pe,[(o(!0),u(N,null,L(t(c),(w,z)=>(o(),u("div",{key:w.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",Ae,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:s(w)},null,8,Fe)]),e("div",De,[g(i,{n:"xs","flex-auto":"","model-value":w.name,"onUpdate:modelValue":M=>m(w,M.target.value)},null,8,["model-value","onUpdate:modelValue"]),g(v,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:M=>f(z)},null,8,["onClick"])])]))),128))]),e("div",Ie,[t(c).length?(o(),F(_,{key:0,n:"red",onClick:x},{default:T(()=>[g(y,{icon:"carbon-clean"}),B(" Clear ")]),_:1})):D("",!0),g(_,{disabled:!t(c).length,n:"primary solid",onClick:h},{default:T(()=>[g(y,{icon:"carbon-cloud-upload"}),B(" Upload ")]),_:1},8,["disabled"])])])):(o(),u("div",ye,[e("label",$e,[g(y,{icon:"carbon-cloud-upload","mr-2":""}),B(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:d[0]||(d[0]=w=>I(w.target.files))},null,32)]))],2)}}}),Se=E({__name:"AssetFontPreview",props:{asset:{}},setup(A){const n=A,l=$(()=>`devtools-assets-${ae(n.asset)}`);return ie($(()=>`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: '${l.value}';
|
|
4
4
|
src: url('${n.asset.publicPath}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bf as f,bv as r}from"./entry.6507cb32.js";let o;const n=[];function s(i){if(n.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&n.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&n.forEach(t=>t(e))},get(){return o.value},configurable:!0}),()=>{n.splice(n.indexOf(i),1)}}function u(){o||(o=f(),s(e));function i(){r(o)}function e(t){o.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return o}const c=u();export{c as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as fe,c as lt,a as ee,d as ja,g as Gi,m as rn,t as ok,s as Z,a2 as sk,b as Be,h as $t,v as Qt,Y as Vu,S as g_,r as Sa,a7 as uk,a8 as lk,a1 as ck,a9 as hk,aa as dk,ab as fk,w as qe,F as Vr,ac as y_,ad as vk,L as pi,k as pk,ae as gk,a5 as yk,af as mk,ag as $k,n as ga,ah as bk,ai as wk}from"./entry.
|
|
1
|
+
import{o as fe,c as lt,a as ee,d as ja,g as Gi,m as rn,t as ok,s as Z,a2 as sk,b as Be,h as $t,v as Qt,Y as Vu,S as g_,r as Sa,a7 as uk,a8 as lk,a1 as ck,a9 as hk,aa as dk,ab as fk,w as qe,F as Vr,ac as y_,ad as vk,L as pi,k as pk,ae as gk,a5 as yk,af as mk,ag as $k,n as ga,ah as bk,ai as wk}from"./entry.6507cb32.js";import{_ as _k}from"./HelpFab.vue.a8d95bd1.js";import{u as Ek,a as Sk}from"./state-components.cd34df16.js";import{_ as Ok}from"./NCheckbox.vue.63949e52.js";import{_ as m_}from"./Navbar.vue.1a2a587f.js";import{_ as $_}from"./Badge.8d650e3b.js";import{_ as b_}from"./FilepathItem.vue.84aa0a31.js";import{_ as Tk}from"./DrawerRight.vue.3ab85e5b.js";import{_ as xk}from"./NSectionBlock.b074e0b8.js";import{_ as Pk}from"./NIconTitle.vue.0a904b99.js";import{D as jl}from"./constants.4e5eba24.js";const kk={class:"markdown-body"},Ik=ee("h1",null,"Components",-1),Ck=ee("p",null,[ja("Vue components under the "),ee("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Ak=ee("p",null,[ee("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),Rk=[Ik,Ck,Ak],Dk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(fe(),lt("div",kk,Rk))}},Mk=/\d/,Nk=["-","_","/","."];function Fk(t=""){if(!Mk.test(t))return t.toUpperCase()===t}function Bk(t,i){const e=i??Nk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Fk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Lk(t){return t?t[0].toUpperCase()+t.slice(1):""}function w_(t){return t?(Array.isArray(t)?t:Bk(t)).map(i=>Lk(i)).join(""):""}const jk={"text-sm":"","font-mono":""},zk=ee("span",{mr1:"",op20:""},"<",-1),Hk=ee("span",{ml1:"",op20:""},"/>",-1),__=Gi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(fe(),lt("code",jk,[zk,ja(ok(Z(e)),1),Hk]))}}),Wk={flex:"~ col gap1","items-start":"","of-hidden":""},Vk={flex:"~ gap2"},E_=Gi({__name:"ComponentDetails",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||"")),r=rn(()=>i.component.filePath||i.component.file||i.component.__file||""),n=sk();return(a,o)=>{const s=__,u=g_,l=$_,c=b_;return fe(),lt("div",Wk,[ee("div",Vk,[Be(s,{component:a.component},null,8,["component"]),Be(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>Z(n)(`<${Z(e)}></${Z(e)}>`))}),a.component.global?(fe(),$t(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):Qt("",!0)]),ee("div",null,[Z(r)?(fe(),$t(c,{key:0,filepath:Z(r),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):Qt("",!0)]),Vu(a.$slots,"default")])}}});/**
|
|
2
2
|
* vis-data
|
|
3
3
|
* http://visjs.org/
|
|
4
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=35,e={nuxt:{useAppConfig:"https://nuxt.com/docs/api/composables/use-app-config",useAsyncData:"https://nuxt.com/docs/api/composables/use-async-data",useCookie:"https://nuxt.com/docs/api/composables/use-cookie",useError:"https://nuxt.com/docs/api/composables/use-error",useFetch:"https://nuxt.com/docs/api/composables/use-fetch",useHead:"https://nuxt.com/docs/api/composables/use-head",useHeadSafe:"https://nuxt.com/docs/api/composables/use-head-safe",useLazyAsyncData:"https://nuxt.com/docs/api/composables/use-lazy-async-data",useLazyFetch:"https://nuxt.com/docs/api/composables/use-lazy-fetch",useNuxtApp:"https://nuxt.com/docs/api/composables/use-nuxt-app",useRoute:"https://nuxt.com/docs/api/composables/use-route",useRouter:"https://nuxt.com/docs/api/composables/use-router",useRuntimeConfig:"https://nuxt.com/docs/api/composables/use-runtime-config",useState:"https://nuxt.com/docs/api/composables/use-state",$fetch:"https://nuxt.com/docs/api/utils/dollarfetch",abortNavigation:"https://nuxt.com/docs/api/utils/abort-navigation",createError:"https://nuxt.com/docs/api/utils/create-error",defineNuxtComponent:"https://nuxt.com/docs/api/utils/define-nuxt-component",definePageMeta:"https://nuxt.com/docs/api/utils/define-page-meta",navigateTo:"https://nuxt.com/docs/api/utils/navigate-to#navigateto",onBeforeRouteLeave:"https://nuxt.com/docs/api/utils/on-before-route-leave",onBeforeRouteUpdate:"https://nuxt.com/docs/api/utils/on-before-route-update",updateAppConfig:"https://nuxt.com/docs/api/utils/update-app-config"},vue:{ref:"https://vuejs.org/api/reactivity-core.html#ref",computed:"https://vuejs.org/api/reactivity-core.html#computed",reactive:"https://vuejs.org/api/reactivity-core.html#reactive",watch:"https://vuejs.org/api/reactivity-core.html#watch",watchEffect:"https://vuejs.org/api/reactivity-core.html#watcheffect",watchPostEffect:"https://vuejs.org/api/reactivity-core.html#watchposteffect",watchSyncEffect:"https://vuejs.org/api/reactivity-core.html#watchsynceffect",onMounted:"https://vuejs.org/api/composition-api-lifecycle.html#onmounted",onUnmounted:"https://vuejs.org/api/composition-api-lifecycle.html#onunmounted",onActivated:"https://vuejs.org/api/composition-api-lifecycle.html#onactivated",onDeactivated:"https://vuejs.org/api/composition-api-lifecycle.html#ondeactivated",onBeforeMount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforemount",onBeforeUnmount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeunmount",onUpdated:"https://vuejs.org/api/composition-api-lifecycle.html#onupdated",onBeforeUpdate:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeupdate",nextTick:"https://vuejs.org/api/general.html#nexttick"}},o={snippet:"i-carbon-code",headers:"i-carbon-html-reference",params:"i-carbon-text-selection",query:"i-carbon-help",body:"i-carbon-document"};export{e as C,t as D,o as S};
|
|
1
|
+
const t=35,e={nuxt:{useAppConfig:"https://nuxt.com/docs/api/composables/use-app-config",useAsyncData:"https://nuxt.com/docs/api/composables/use-async-data",useCookie:"https://nuxt.com/docs/api/composables/use-cookie",useError:"https://nuxt.com/docs/api/composables/use-error",useFetch:"https://nuxt.com/docs/api/composables/use-fetch",useHead:"https://nuxt.com/docs/api/composables/use-head",useHeadSafe:"https://nuxt.com/docs/api/composables/use-head-safe",useLazyAsyncData:"https://nuxt.com/docs/api/composables/use-lazy-async-data",useLazyFetch:"https://nuxt.com/docs/api/composables/use-lazy-fetch",useNuxtApp:"https://nuxt.com/docs/api/composables/use-nuxt-app",useRoute:"https://nuxt.com/docs/api/composables/use-route",useRouter:"https://nuxt.com/docs/api/composables/use-router",useRuntimeConfig:"https://nuxt.com/docs/api/composables/use-runtime-config",useState:"https://nuxt.com/docs/api/composables/use-state",$fetch:"https://nuxt.com/docs/api/utils/dollarfetch",abortNavigation:"https://nuxt.com/docs/api/utils/abort-navigation",createError:"https://nuxt.com/docs/api/utils/create-error",defineNuxtComponent:"https://nuxt.com/docs/api/utils/define-nuxt-component",definePageMeta:"https://nuxt.com/docs/api/utils/define-page-meta",navigateTo:"https://nuxt.com/docs/api/utils/navigate-to#navigateto",onBeforeRouteLeave:"https://nuxt.com/docs/api/utils/on-before-route-leave",onBeforeRouteUpdate:"https://nuxt.com/docs/api/utils/on-before-route-update",updateAppConfig:"https://nuxt.com/docs/api/utils/update-app-config"},vue:{ref:"https://vuejs.org/api/reactivity-core.html#ref",computed:"https://vuejs.org/api/reactivity-core.html#computed",reactive:"https://vuejs.org/api/reactivity-core.html#reactive",watch:"https://vuejs.org/api/reactivity-core.html#watch",watchEffect:"https://vuejs.org/api/reactivity-core.html#watcheffect",watchPostEffect:"https://vuejs.org/api/reactivity-core.html#watchposteffect",watchSyncEffect:"https://vuejs.org/api/reactivity-core.html#watchsynceffect",onMounted:"https://vuejs.org/api/composition-api-lifecycle.html#onmounted",onUnmounted:"https://vuejs.org/api/composition-api-lifecycle.html#onunmounted",onActivated:"https://vuejs.org/api/composition-api-lifecycle.html#onactivated",onDeactivated:"https://vuejs.org/api/composition-api-lifecycle.html#ondeactivated",onBeforeMount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforemount",onBeforeUnmount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeunmount",onUpdated:"https://vuejs.org/api/composition-api-lifecycle.html#onupdated",onBeforeUpdate:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeupdate",nextTick:"https://vuejs.org/api/general.html#nexttick"}},o={snippet:"i-carbon-code",headers:"i-carbon-html-reference",cookies:"i-carbon-cookie",params:"i-carbon-text-selection",query:"i-carbon-help",body:"i-carbon-document"};export{e as C,t as D,o as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as j,a7 as N,r as A,m as k,aj as V,ak as $,aa as E,al as B,am as b,an as D,ao as I,c as M,o as s,ap as L,E as P,aq as W,ar as C,A as T,s as o,h as c,w as y,v as F,ai as O,F as R,i as S,a as u,d as w,t as q,b as U,ad as G}from"./entry.
|
|
1
|
+
import{g as j,a7 as N,r as A,m as k,aj as V,ak as $,aa as E,al as B,am as b,an as D,ao as I,c as M,o as s,ap as L,E as P,aq as W,ar as C,A as T,s as o,h as c,w as y,v as F,ai as O,F as R,i as S,a as u,d as w,t as q,b as U,ad as G}from"./entry.6507cb32.js";import{_ as X}from"./AuthRequiredPanel.vue.17c2a7bd.js";import{_ as z}from"./LaunchPage.vue.00d3a484.js";import"./NMarkdown.vue.a74698d6.js";import"./client.ece13385.js";const g=new Map,H=j({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=N(),p=A(),i=k(()=>m.tab.name),e=A(),t=V($(p));E(()=>{const n=m.tab.view,l=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(g.get(i.value)&&l)e.value=g.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),l&&g.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),a(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(_)}setTimeout(a,100)}),b(_),b(a),b(d),D(()=>{e.value&&(e.value.style.visibility="hidden")});function a(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const v=I();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=v.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(n,l)=>(s(),M("div",{ref_key:"anchor",ref:p,"h-full":"","w-full":""},null,512))}}),J={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),Q={"text-xl":""},Y={"text-rose":""},Z=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),ee=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ie=j({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=L(),p=P(),i=k(()=>m.name??r.params.name),e=W(),t=k(()=>e.value.find(a=>a.name===i.value));return E(()=>{t.value?t.value.requireAuth&&!C.value&&T.requestForAuth():setTimeout(()=>{t.value||p.push("/modules/overview")},2e3)}),(a,v)=>{const d=S,_=X,n=H,l=z,h=G;return s(),M(R,null,[o(t)?F("",!0):(s(),c(d,{key:0},{default:y(()=>[u("div",J,[K,u("p",Q,[w(" Tab "),u("code",Y,q(o(i)),1),w(" not found ")]),Z,ee])]),_:1})),o(t).requireAuth&&!("isDevAuthed"in a?a.isDevAuthed:o(C))?(s(),c(_,{key:1})):o(t).view.type==="iframe"?(s(),c(n,{key:2,tab:o(t)},null,8,["tab"])):o(t).view.type==="vnode"?(s(),c(O(o(t).view.vnode),{key:3})):o(t).view.type==="launch"?(s(),c(l,{key:4,icon:o(t).view.icon||o(t).icon,title:o(t).view.title||o(t).title,description:o(t).view.description,actions:o(t).view.actions,onAction:v[0]||(v[0]=x=>("rpc"in a?a.rpc:o(T)).customTabAction(o(t).name,x))},null,8,["icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+q(o(t).view),1)]),_:1})]),_:1}))],64)}}});export{ie as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as o,c as s,a as t,Y as a,o as c}from"./entry.6507cb32.js";const n={},r={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return c(),s("div",r,[t("div",l,[a(e.$slots,"default")])])}const i=o(n,[["render",_]]);export{i as default};
|