@nuxt/devtools-nightly 3.1.0-29394938.bc1d11c → 3.1.0-29401018.9b54c01
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 +52 -52
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/__blank-lxstpk89.js +1 -0
- package/dist/client/_nuxt/{analyze-build-kh1reua7.js → analyze-build-oryoen0q.js} +1 -1
- package/dist/client/_nuxt/{assets-b7oqoqew.js → assets-n9frj9gs.js} +3 -3
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/9cd22f38-896a-41f8-aa4d-d312195cbf04.json +1 -0
- package/dist/client/_nuxt/{client-c7ye0k5n.js → client-c6aoxv2l.js} +1 -1
- package/dist/client/_nuxt/{code-diff-injlkjgq.js → code-diff-li4lnfub.js} +3 -3
- package/dist/client/_nuxt/{code-snippets-m6659svv.js → code-snippets-gyl3bqgb.js} +1 -1
- package/dist/client/_nuxt/components-ggso4i6i.js +1 -0
- package/dist/client/_nuxt/{composable-item-fx38xsht.js → composable-item-gqqnydns.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-k1aynmvq.js → custom-_name_-co66swg3.js} +1 -1
- package/dist/client/_nuxt/{data-schema-button-n4i5g8zd.js → data-schema-button-euw6cc96.js} +1 -1
- package/dist/client/_nuxt/data-schema-drawer-e3po2log.js +2 -0
- package/dist/client/_nuxt/debug-cuicjd4l.js +1 -0
- package/dist/client/_nuxt/default-j8chlr6s.js +1 -0
- package/dist/client/_nuxt/duration-display-f44008lc.js +1 -0
- package/dist/client/_nuxt/{error-404-g850e3ag.js → error-404-mn9wiz9j.js} +1 -1
- package/dist/client/_nuxt/error-404.css-fede2tas.css +1 -0
- package/dist/client/_nuxt/{error-500-b1u3qwf0.js → error-500-bof7kh8i.js} +1 -1
- package/dist/client/_nuxt/error-500.css-m89l6mhd.css +1 -0
- package/dist/client/_nuxt/{error-kayaahpn.js → error-g70zruof.js} +2 -2
- package/dist/client/_nuxt/filepath-item-f2iy8phl.js +1 -0
- package/dist/client/_nuxt/full-cxl562yo.js +1 -0
- package/dist/client/_nuxt/help-fab-izt1nioe.js +1 -0
- package/dist/client/_nuxt/{hooks-j4jm8cxf.js → hooks-jggtji8p.js} +1 -1
- package/dist/client/_nuxt/{imports-b882dmai.js → imports-evfg34zj.js} +1 -1
- package/dist/client/_nuxt/{index-f6gsrt8e.js → index-n9hjmqqi.js} +1 -1
- package/dist/client/_nuxt/launch-page-gkflizue.js +1 -0
- package/dist/client/_nuxt/modules-nmajsl2l.js +1 -0
- package/dist/client/_nuxt/n2w4aghx.js +5 -0
- package/dist/client/_nuxt/nbadge-dv1e6eny.js +1 -0
- package/dist/client/_nuxt/ncheckbox-dg5nbt1d.js +1 -0
- package/dist/client/_nuxt/{ncode-block-j34pr9ay.js → ncode-block-esxkr86l.js} +2 -2
- package/dist/client/_nuxt/ndrawer-j5h6fmbh.js +1 -0
- package/dist/client/_nuxt/ndropdown-gskb7sy5.js +1 -0
- package/dist/client/_nuxt/nicon-title-n11g9rad.js +1 -0
- package/dist/client/_nuxt/nlink-cmgg7q58.js +1 -0
- package/dist/client/_nuxt/{nmarkdown-nigjp7j4.js → nmarkdown-pb9g5o14.js} +1 -1
- package/dist/client/_nuxt/nnavbar-eqdsa2v0.js +1 -0
- package/dist/client/_nuxt/none-dhs2miin.js +1 -0
- package/dist/client/_nuxt/nsection-block-owu5vx1c.js +1 -0
- package/dist/client/_nuxt/nselect-h7b4tp2d.js +1 -0
- package/dist/client/_nuxt/nselect-tabs-b4x1017q.js +1 -0
- package/dist/client/_nuxt/nswitch-ikgdy16r.js +1 -0
- package/dist/client/_nuxt/{open-graph-bzjkgtlq.js → open-graph-gfl9s9at.js} +2 -2
- package/dist/client/_nuxt/{overview-bu8j3ysa.js → overview-xo16vopp.js} +1 -1
- package/dist/client/_nuxt/{pages-cu9m7yws.js → pages-dw24ytau.js} +1 -1
- package/dist/client/_nuxt/payload-ogaoikzi.js +1 -0
- package/dist/client/_nuxt/{pinia-ms5glvf6.js → pinia-hmhq53g4.js} +1 -1
- package/dist/client/_nuxt/plugins-k2vr7wkg.js +1 -0
- package/dist/client/_nuxt/render-tree-i8t9hbyk.js +1 -0
- package/dist/client/_nuxt/{runtime-configs-j90mlite.js → runtime-configs-7zs2ddgp.js} +1 -1
- package/dist/client/_nuxt/{server-discovery-hzkw8v5u.js → server-discovery-milekulq.js} +1 -1
- package/dist/client/_nuxt/server-route-inputs-ewvvpkab.js +1 -0
- package/dist/client/_nuxt/server-routes-e4vzoapc.js +9 -0
- package/dist/client/_nuxt/server-tasks-jk3bydrn.js +1 -0
- package/dist/client/_nuxt/{settings-bqg9ark9.js → settings-gu07lwa8.js} +1 -1
- package/dist/client/_nuxt/stacktrace-list-hxyb5x3b.js +1 -0
- package/dist/client/_nuxt/{state-components-fc2pwsp2.js → state-components-jdafqa4i.js} +1 -1
- package/dist/client/_nuxt/state-editor-baqu4p5i.js +1 -0
- package/dist/client/_nuxt/state-modules-kxdkrymq.js +1 -0
- package/dist/client/_nuxt/{storage-fojtun8d.js → storage-ox8b0yzs.js} +1 -1
- package/dist/client/_nuxt/{terminals-ekxokcf3.js → terminals-ejfs7r9d.js} +1 -1
- package/dist/client/_nuxt/{timeline-orhzj0rd.js → timeline-oydk1loo.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime-jbnso4iq.js → unocss-runtime-hhfs3crr.js} +1 -1
- package/dist/client/_nuxt/vendor/{json-editor-vue-gjlsq8io.js → json-editor-vue-ho2zu772.js} +99 -99
- package/dist/client/_nuxt/vendor/{quicktype-core-bmjj6ua7.js → quicktype-core-jsgpnknz.js} +46 -46
- package/dist/client/_nuxt/vendor/{unocss-fw2uvwtg.js → unocss-dnflwp77.js} +3 -3
- package/dist/client/_nuxt/{virtual-files-hee0b5vz.js → virtual-files-gk8uglt8.js} +1 -1
- package/dist/client/_nuxt/vue-devtools-eqo8l0nw.js +2 -0
- package/dist/client/_nuxt/{vue-virtual-scroller.esm-uia1jucn.js → vue-virtual-scroller.esm-c1c6kquq.js} +2 -2
- package/dist/client/discovery/index.html +80 -80
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/shared/{devtools-nightly.Dlu0WIXO.mjs → devtools-nightly.DuFZOCNN.mjs} +2 -2
- package/dist/webcomponents/index.mjs +1 -1
- package/package.json +20 -20
- package/dist/client/_nuxt/__blank-jhf8n41f.js +0 -1
- package/dist/client/_nuxt/builds/meta/90331f69-d7e3-4c89-ac73-34bb3fde4f13.json +0 -1
- package/dist/client/_nuxt/components-itvtakyx.js +0 -1
- package/dist/client/_nuxt/data-schema-drawer-gkn4sc3w.js +0 -2
- package/dist/client/_nuxt/debug-ctlexf0w.js +0 -1
- package/dist/client/_nuxt/default-fph7azfr.js +0 -1
- package/dist/client/_nuxt/duration-display-jckntkny.js +0 -1
- package/dist/client/_nuxt/error-404.css-comgjw6y.css +0 -1
- package/dist/client/_nuxt/error-500.css-mrt4j707.css +0 -1
- package/dist/client/_nuxt/filepath-item-i5bipy7o.js +0 -1
- package/dist/client/_nuxt/full-j4mfippe.js +0 -1
- package/dist/client/_nuxt/g9ft9ky3.js +0 -5
- package/dist/client/_nuxt/help-fab-9epbigv8.js +0 -1
- package/dist/client/_nuxt/launch-page-hs2f7bb3.js +0 -1
- package/dist/client/_nuxt/modules-h6wp0xrw.js +0 -1
- package/dist/client/_nuxt/nbadge-b5jyufiz.js +0 -1
- package/dist/client/_nuxt/ncheckbox-dhpz73wm.js +0 -1
- package/dist/client/_nuxt/ndrawer-drb8l4me.js +0 -1
- package/dist/client/_nuxt/ndropdown-nmlejt8k.js +0 -1
- package/dist/client/_nuxt/nicon-title-d35s6mci.js +0 -1
- package/dist/client/_nuxt/nlink-c419gh8c.js +0 -1
- package/dist/client/_nuxt/nnavbar-l4xos9kw.js +0 -1
- package/dist/client/_nuxt/none-b5no966s.js +0 -1
- package/dist/client/_nuxt/nsection-block-egbswicp.js +0 -1
- package/dist/client/_nuxt/nselect-ioi0seuc.js +0 -1
- package/dist/client/_nuxt/nselect-tabs-g53jlfar.js +0 -1
- package/dist/client/_nuxt/nswitch-fe63il2r.js +0 -1
- package/dist/client/_nuxt/payload-c6eeghas.js +0 -1
- package/dist/client/_nuxt/plugins-dil8aepe.js +0 -1
- package/dist/client/_nuxt/render-tree-n8w5jnmy.js +0 -1
- package/dist/client/_nuxt/server-route-inputs-b67yt8gz.js +0 -1
- package/dist/client/_nuxt/server-routes-ow5yd99m.js +0 -9
- package/dist/client/_nuxt/server-tasks-d3frd8d2.js +0 -1
- package/dist/client/_nuxt/stacktrace-list-bcj6vnom.js +0 -1
- package/dist/client/_nuxt/state-editor-dk0l27xr.js +0 -1
- package/dist/client/_nuxt/state-modules-kznlrvp3.js +0 -1
- package/dist/client/_nuxt/vue-devtools-f6dfrqr1.js +0 -2
package/dist/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/n2w4aghx.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-isd0m9wk.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-f8ezrn37.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-c5u30s53.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/n2w4aghx.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-ho2zu772.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-g7cm1eew.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-dnflwp77.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/n2w4aghx.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1764061179984,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"9cd22f38-896a-41f8-aa4d-d312195cbf04",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -97,7 +97,7 @@ const defaultAllowedExtensions = [
|
|
|
97
97
|
"webm"
|
|
98
98
|
];
|
|
99
99
|
|
|
100
|
-
const module = defineNuxtModule({
|
|
100
|
+
const module$1 = defineNuxtModule({
|
|
101
101
|
meta: {
|
|
102
102
|
name: "@nuxt/devtools",
|
|
103
103
|
configKey: "devtools"
|
|
@@ -119,4 +119,4 @@ const module = defineNuxtModule({
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { WS_EVENT_NAME as W, defaultTabOptions as a, defaultAllowedExtensions as d, module as m };
|
|
122
|
+
export { WS_EVENT_NAME as W, defaultTabOptions as a, defaultAllowedExtensions as d, module$1 as m };
|
|
@@ -1500,7 +1500,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1500
1500
|
"div",
|
|
1501
1501
|
{
|
|
1502
1502
|
ref: "el",
|
|
1503
|
-
class: normalizeClass(["
|
|
1503
|
+
class: normalizeClass(["fixed relative z-9999999 w-400px flex flex-col of-hidden rounded-lg bg-glass text-sm color-base shadow-lg ring-1 ring-base backdrop-blur duration-200", [
|
|
1504
1504
|
$setup.isDragging ? "transition-none" : "transition-opacity",
|
|
1505
1505
|
$props.props.matched ? "op100" : "op0 pointer-events-none"
|
|
1506
1506
|
]]),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.1.0-
|
|
4
|
+
"version": "3.1.0-29401018.9b54c01",
|
|
5
5
|
"description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devtools.nuxt.com",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@3.1.0-
|
|
46
|
-
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@3.1.0-
|
|
45
|
+
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@3.1.0-29401018.9b54c01",
|
|
46
|
+
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@3.1.0-29401018.9b54c01",
|
|
47
47
|
"@nuxt/kit": "^4.2.1",
|
|
48
|
-
"@vue/devtools-core": "^8.0.
|
|
49
|
-
"@vue/devtools-kit": "^8.0.
|
|
50
|
-
"birpc": "^2.
|
|
48
|
+
"@vue/devtools-core": "^8.0.5",
|
|
49
|
+
"@vue/devtools-kit": "^8.0.5",
|
|
50
|
+
"birpc": "^2.8.0",
|
|
51
51
|
"consola": "^3.4.2",
|
|
52
52
|
"destr": "^2.0.5",
|
|
53
53
|
"error-stack-parser-es": "^1.0.5",
|
|
@@ -71,38 +71,38 @@
|
|
|
71
71
|
"structured-clone-es": "^1.0.0",
|
|
72
72
|
"tinyglobby": "^0.2.15",
|
|
73
73
|
"vite-plugin-inspect": "^11.3.3",
|
|
74
|
-
"vite-plugin-vue-tracer": "^1.1.
|
|
74
|
+
"vite-plugin-vue-tracer": "^1.1.3",
|
|
75
75
|
"which": "^5.0.0",
|
|
76
76
|
"ws": "^8.18.3"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@antfu/utils": "^9.3.0",
|
|
80
|
-
"@discoveryjs/cli": "^2.14.
|
|
80
|
+
"@discoveryjs/cli": "^2.14.7",
|
|
81
81
|
"@discoveryjs/discovery": "1.0.0-beta.92",
|
|
82
82
|
"@iconify-json/bxl": "^1.2.2",
|
|
83
83
|
"@iconify-json/carbon": "^1.2.14",
|
|
84
84
|
"@iconify-json/logos": "^1.2.10",
|
|
85
85
|
"@iconify-json/ph": "^1.2.2",
|
|
86
86
|
"@iconify-json/ri": "^1.2.6",
|
|
87
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
87
|
+
"@iconify-json/simple-icons": "^1.2.60",
|
|
88
88
|
"@iconify-json/tabler": "^1.2.23",
|
|
89
|
-
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@3.1.0-
|
|
89
|
+
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@3.1.0-29401018.9b54c01",
|
|
90
90
|
"@nuxt/test-utils": "^3.20.1",
|
|
91
91
|
"@parcel/watcher": "^2.5.1",
|
|
92
92
|
"@types/markdown-it-link-attributes": "^3.0.5",
|
|
93
93
|
"@unhead/schema": "^2.0.19",
|
|
94
|
-
"@unocss/nuxt": "^66.5.
|
|
95
|
-
"@unocss/preset-icons": "^66.5.
|
|
96
|
-
"@unocss/preset-uno": "^66.5.
|
|
97
|
-
"@unocss/runtime": "^66.5.
|
|
94
|
+
"@unocss/nuxt": "^66.5.9",
|
|
95
|
+
"@unocss/preset-icons": "^66.5.9",
|
|
96
|
+
"@unocss/preset-uno": "^66.5.9",
|
|
97
|
+
"@unocss/runtime": "^66.5.9",
|
|
98
98
|
"@vitejs/devtools": "^0.0.0-alpha.7",
|
|
99
|
-
"@vitest/ui": "^4.0.
|
|
100
|
-
"@vue/devtools-applet": "^8.0.
|
|
99
|
+
"@vitest/ui": "^4.0.13",
|
|
100
|
+
"@vue/devtools-applet": "^8.0.5",
|
|
101
101
|
"@vueuse/nuxt": "^14.0.0",
|
|
102
102
|
"@xterm/addon-fit": "^0.10.0",
|
|
103
103
|
"@xterm/xterm": "^5.5.0",
|
|
104
104
|
"cronstrue": "^3.9.0",
|
|
105
|
-
"exsolve": "^1.0.
|
|
105
|
+
"exsolve": "^1.0.8",
|
|
106
106
|
"floating-vue": "^5.2.2",
|
|
107
107
|
"fuse.js": "^7.1.0",
|
|
108
108
|
"json-editor-vue": "^0.18.1",
|
|
@@ -120,13 +120,13 @@
|
|
|
120
120
|
"theme-vitesse": "^1.0.0",
|
|
121
121
|
"tsx": "^4.20.6",
|
|
122
122
|
"unimport": "^5.5.0",
|
|
123
|
-
"unocss": "^66.5.
|
|
124
|
-
"unplugin-vue": "^7.0.
|
|
123
|
+
"unocss": "^66.5.9",
|
|
124
|
+
"unplugin-vue": "^7.0.8",
|
|
125
125
|
"unplugin-vue-markdown": "^29.2.0",
|
|
126
126
|
"vanilla-jsoneditor": "^3.10.0",
|
|
127
127
|
"vis-data": "^8.0.3",
|
|
128
128
|
"vis-network": "^10.0.2",
|
|
129
|
-
"vue-tsc": "^3.1.
|
|
129
|
+
"vue-tsc": "^3.1.5",
|
|
130
130
|
"vue-virtual-scroller": "^2.0.0-beta.8"
|
|
131
131
|
},
|
|
132
132
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,J as n,Y as t}from"./vendor/json-editor-vue-gjlsq8io.js";const c={"h-screen":"","w-screen":"","bg-black":""},r=e({__name:"__blank",setup(o){return(s,_)=>(t(),n("div",c))}});export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"90331f69-d7e3-4c89-ac73-34bb3fde4f13","timestamp":1763696329935,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as pe,a as ue,_ as X,a4 as re,aq as ce,A as me,B as de,g as J,ar as fe,n as ve,as as _e,S as he,Y as xe,W as be,I as ge,f as ye}from"#entry";import{J as r,Y as t,a3 as n,p as F,q as P,ac as R,ab as E,a4 as b,a0 as W,a1 as u,X as x,$ as m,u as V,F as B,ah as M,k as U,n as we,D as Ce,x as ke,j as A,Z as Ne,a7 as $e,a2 as z,aj as Ve,ad as Y,ag as De}from"./vendor/json-editor-vue-gjlsq8io.js";import{_ as Pe}from"./help-fab-9epbigv8.js";import{_ as Se}from"./ncheckbox-dhpz73wm.js";import{_ as Z}from"./nnavbar-l4xos9kw.js";import{p as K}from"./index-jc4yj4to.js";import{_ as Q}from"./nbadge-b5jyufiz.js";import{_ as ee}from"./filepath-item-i5bipy7o.js";import{_ as Le}from"./ndrawer-drb8l4me.js";import{D as Be,N as Ie}from"./vendor/vis-lxvjz9wh.js";import{_ as Te}from"./nselect-tabs-g53jlfar.js";import{_ as Me}from"./nsection-block-egbswicp.js";import{_ as Ge}from"./nicon-title-d35s6mci.js";import{D as H}from"./constants-b32h69zq.js";import{u as Ue,a as Fe}from"./state-components-fc2pwsp2.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";const Oe={},je={class:"markdown-body"};function Ae(s,l){return t(),r("div",je,[...l[0]||(l[0]=[n("template",null,[n("div",{class:"markdown-body"},[n("h1",null,"Components"),n("p",null,"Vue Components allow us to split the UI into independent and reusable pieces, and think about each piece in isolation. This is very similar to how we nest native HTML elements, but Vue implements its own component model that allow us to encapsulate custom content and logic in each component."),n("p",null,"Components placed in the components/ directory are automatically registered by Nuxt. They can be used in your templates without importing them."),n("p",null,[n("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more in the documentation")])])],-1)])])}const Re=pe(Oe,[["render",Ae]]),ze={"text-sm":"","font-mono":""},Ee=F({__name:"ComponentName",props:{component:{}},setup(s){const l=s,_=P(()=>l.component.pascalName||K(l.component.name||l.component.__name||l.component.kebabName||""));return(w,h)=>(t(),r("code",ze,[h[0]||(h[0]=n("span",{mr1:"",op20:""},"<",-1)),R(E(_.value),1),h[1]||(h[1]=n("span",{ml1:"",op20:""},"/>",-1))]))}}),ne=Object.assign(Ee,{__name:"ComponentName"}),We={flex:"~ col gap1","items-start":"","of-hidden":""},qe={flex:"~ gap2 items-center",px3:""},He={px3:"",pb2:""},Xe={key:0,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},Ye={"text-sm":""},Je={"text-primary":""},Ze={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},Ke={key:1,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},Qe={"text-sm":""},en={"text-primary":""},nn={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},tn=F({__name:"ComponentDetails",props:{component:{},dependencies:{},dependents:{}},setup(s){const l=s,_=P(()=>l.component.pascalName||K(l.component.name||l.component.__name||l.component.kebabName||"")),w=P(()=>l.component.filePath||l.component.file||l.component.__file||""),h=ue();return(c,f)=>{const i=ne,g=X,a=Q,C=ee;return t(),r("div",We,[n("div",qe,[u(i,{component:s.component},null,8,["component"]),s.component.meta?.docs&&typeof s.component.meta.docs=="string"?(t(),x(g,{key:0,title:"Open docs","flex-none":"",n:"xs",to:s.component.meta.docs,target:"_blank",icon:"carbon-catalog"},{default:m(()=>[...f[1]||(f[1]=[R(" Docs ",-1)])]),_:1},8,["to"])):b("",!0),u(g,{title:"Copy name","flex-none":"",n:"xs",icon:"carbon-copy",onClick:f[0]||(f[0]=v=>V(h)(`<${_.value}></${_.value}>`,"component-name"))},{default:m(()=>[...f[2]||(f[2]=[R(" Copy ",-1)])]),_:1}),s.component.global?(t(),x(a,{key:1,n:"green",title:"Registered at runtime as a global component",textContent:"runtime"})):b("",!0)]),n("div",He,[w.value?(t(),x(C,{key:0,filepath:w.value,"w-full":"","text-sm":"",op40:"","group-hover:op75":""},null,8,["filepath"])):b("",!0)]),s.dependents?(t(),r("div",Xe,[n("div",Ye,[n("strong",Je,E(s.dependents.length),1),f[3]||(f[3]=n("span",{op50:""}," references",-1))]),s.dependents.length?(t(),r("div",Ze,[(t(!0),r(B,null,M(s.dependents,v=>(t(),x(C,{key:v,filepath:v},null,8,["filepath"]))),128))])):b("",!0)])):b("",!0),s.dependencies?(t(),r("div",Ke,[n("div",Qe,[n("strong",en,E(s.dependencies.length),1),f[4]||(f[4]=n("span",{op50:""}," dependencies",-1))]),s.dependencies.length?(t(),r("div",nn,[(t(!0),r(B,null,M(s.dependencies,v=>(t(),x(C,{key:v,filepath:v},null,8,["filepath"]))),128))])):b("",!0)])):b("",!0),W(c.$slots,"default")])}}}),te=Object.assign(tn,{__name:"ComponentDetails"}),on={flex:"~ gap-x-3 gap-y-1 wrap","w-full":""},sn={relative:"","h-full":"","w-full":""},ln={key:0,py4:"",pt3:"",flex:"~ col"},an={border:"t base",p4:""},pn=F({__name:"ComponentsGraph",props:{components:{},relationships:{}},setup(s){const l=s,_=U(),w=U(),h=re(),c=we(),f=ce(),i=me(),g=de(),{componentsGraphShowNodeModules:a,componentsGraphShowGlobalComponents:C,componentsGraphShowPages:v,componentsGraphShowLayouts:k,componentsGraphShowWorkspace:S}=J("ui"),d=U(),N=U(""),p=fe(N,300),O=P(()=>{const D=l.relationships||[];if(d.value){let e=function($){!$||o.has($)||(o.add($),$.deps.forEach(I=>{e(D.find(G=>G.id===I))}))};const o=new Set;return e(d.value),Array.from(o)}return D}),T=P(()=>{const D=O.value.map(o=>{const $=l.components.find(j=>j.filePath===o.id),I=f.value?.find(j=>j.file===o.id),G=g.value?.find(j=>j.file===o.id),L=o.id.includes("/node_modules/")?"lib":$?$.global?"global":"user":G?"layout":I?"page":"unknown";if(!a.value&&L==="lib"||!v.value&&L==="page"||!k.value&&L==="layout"||!S.value&&L==="user"&&i.value&&!o.id.startsWith(i.value.rootDir)||!C.value&&L==="global")return null;const q=L==="layout"?"hexagon":L==="page"?"square":"dot",y=p.value&&!o.id.toLowerCase().includes(p.value.toLowerCase());return{id:o.id,label:ae(o.id),group:L,shape:q,size:15+Math.min(o.deps.length/2,8),font:{color:y?"#8885":h.value==="dark"?"white":"black"},color:y?"#8885":d.value?.id===o.id?"#82c742":void 0,extra:{id:o.id,component:$,page:I,layout:G,relationship:o}}}).filter(o=>!!o),e=O.value.flatMap(o=>o.deps.map($=>({from:o.id,to:$,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:new Be(D),edges:e}}),oe=P(()=>c.value?.component?l.relationships?.find(e=>e.id===c.value?.component?.filePath)?.deps?.map(e=>l.relationships?.find(o=>o.id===e)?.id).filter(Boolean):[]),se=P(()=>c.value?.component?l.relationships?.filter(e=>e.deps.includes(c.value.component.filePath))?.map(e=>l.relationships?.find(o=>o.id===e.id)?.id).filter(Boolean):[]);Ce(()=>{const D={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"}}},e=new Ie(_.value,T.value,D);e.on("click",o=>{const $=o.nodes?.[0],I=T.value.nodes.get($).extra;c.value=I}),ke(T,()=>{e.setData(T.value)})});function le(){c.value=void 0}function ae(D){const e=l.components.find(o=>o.filePath===D);return e?e.pascalName:D.replace(/.*\/components\//,"").replace(/\.vue$/,"").replace(/\/index$/,"").split("/").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join("")}function ie(){d.value=c.value?.relationship,c.value=void 0}return(D,e)=>{const o=Se,$=Z,I=ve,G=te,L=X,q=Le;return t(),r(B,null,[u($,{ref_key:"navbar",ref:w,search:N.value,"onUpdate:search":e[6]||(e[6]=y=>N.value=y),absolute:"","left-0":"","right-0":"","top-0":""},{actions:m(()=>[n("div",on,[u(o,{modelValue:V(v),"onUpdate:modelValue":e[0]||(e[0]=y=>A(v)?v.value=y:null),n:"primary sm"},{default:m(()=>[...e[8]||(e[8]=[n("span",{op75:""},"Show pages",-1)])]),_:1},8,["modelValue"]),u(o,{modelValue:V(k),"onUpdate:modelValue":e[1]||(e[1]=y=>A(k)?k.value=y:null),n:"primary sm"},{default:m(()=>[...e[9]||(e[9]=[n("span",{op75:""},"Show layouts",-1)])]),_:1},8,["modelValue"]),u(o,{modelValue:V(S),"onUpdate:modelValue":e[2]||(e[2]=y=>A(S)?S.value=y:null),n:"primary sm"},{default:m(()=>[...e[10]||(e[10]=[n("span",{op75:""},"Show workspace",-1)])]),_:1},8,["modelValue"]),u(o,{modelValue:V(a),"onUpdate:modelValue":e[3]||(e[3]=y=>A(a)?a.value=y:null),n:"primary sm"},{default:m(()=>[...e[11]||(e[11]=[n("span",{op75:""},"Show node_modules",-1)])]),_:1},8,["modelValue"]),u(o,{modelValue:V(C),"onUpdate:modelValue":e[4]||(e[4]=y=>A(C)?C.value=y:null),n:"primary sm"},{default:m(()=>[...e[12]||(e[12]=[n("span",{op75:""},"Show global components",-1)])]),_:1},8,["modelValue"])]),d.value?(t(),r("button",{key:0,flex:"~ gap-1","flex-none":"","items-center":"","rounded-full":"","bg-gray:20":"",py1:"",pl3:"",pr2:"","text-xs":"",op50:"","hover:op100":"",onClick:e[5]||(e[5]=y=>d.value=void 0)},[...e[13]||(e[13]=[R(" Clear filter ",-1),n("div",{"i-carbon-close":""},null,-1)])])):b("",!0),e[14]||(e[14]=n("div",{"flex-auto":""},null,-1)),W(D.$slots,"default")]),_:3},8,["search"]),n("div",sn,[n("div",{ref_key:"container",ref:_,"h-full":"","w-full":""},null,512),u(I,{absolute:"","bottom-3":"","left-3":"","border-0":"","n-glass-effect":"",p2:"",px3:"","text-sm":""},{default:m(()=>[...e[15]||(e[15]=[n("div",{grid:"~ cols-[20px_1fr] items-center gap-y-1"},[n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-42b883":""}),n("div",{op50:""}," Component "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-97c2fc":""}),n("div",{op50:""}," Global Component "),n("div",{"h-3":"","w-3":"","bg-hex-42b2b8":""}),n("div",{op50:""}," Page "),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 726 628","ml--1px":"","h-3":""},[n("path",{fill:"#4256b8","stroke-width":"4",d:"M723 314 543 625.8H183L3 314 183 2.2h360L723 314z"})]),n("div",{op50:""}," Layout "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-b4b842":""}),n("div",{op50:""}," Library Component "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-b86542":""}),n("div",{op50:""}," Unknown ")],-1)])]),_:1}),u(q,{"model-value":!!(c.value&&c.value.component),top:w.value,border:"t l base","w-80":"",onClose:le},{default:m(()=>[c.value&&c.value.component?(t(),r("div",ln,[u(G,{component:c.value.component,dependencies:oe.value,dependents:se.value},null,8,["component","dependencies","dependents"]),n("div",an,[u(L,{n:"primary solid",onClick:e[7]||(e[7]=y=>ie())},{default:m(()=>[...e[16]||(e[16]=[R(" Filter to this component ",-1)])]),_:1})])])):b("",!0)]),_:1},8,["model-value","top"])])],64)}}}),un=Object.assign(pn,{__name:"ComponentsGraph"}),rn={hover:"bg-active",class:"group",flex:"~ gap2","w-full":"","items-center":"",rounded:"",px2:"",py1:""},cn={key:0,"ml--1":"","text-primary":""},mn=F({__name:"ComponentItem",props:{component:{},dependencies:{},dependents:{}},setup(s){const l=s,_=P(()=>l.component.filePath||l.component.file||l.component.__file||"");return(w,h)=>{const c=ne,f=te,i=Ne("VDropdown"),g=Q,a=ee;return t(),r("div",rn,[u(i,null,{popper:m(()=>[u(f,{component:s.component,dependencies:s.dependencies,dependents:s.dependents,"w-100":"",pt3:""},null,8,["component","dependencies","dependents"])]),default:m(()=>[n("button",{"hover:text-primary":"",class:$e(s.dependents&&s.dependents.length===0?"op50":"")},[u(c,{component:s.component},null,8,["component"])],2)]),_:1}),s.dependents?.length?(t(),r("sup",cn," x"+E(s.dependents?.length),1)):b("",!0),s.component.global?(t(),x(g,{key:1,n:"green",title:"Registered at runtime as a global component",textContent:"runtime"})):b("",!0),W(w.$slots,"default"),_.value?(t(),x(a,{key:2,filepath:_.value,"text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):b("",!0)])}}}),dn=Object.assign(mn,{__name:"ComponentItem"}),fn={flex:"~ gap-2 items-center"},vn={pl4:""},_n=F({__name:"ComponentsList",props:{components:{},relationships:{}},setup(s){const l=s,_=U(""),w=U("all"),h=P(()=>{const g=l.components.map(a=>_e(a,l.relationships));return w.value==="using"?g.filter(a=>a.dependents?.length):w.value==="not-used"?g.filter(a=>!a.dependents?.length):g}),c={ClientOnly:"https://nuxt.com/docs/api/components/client-only",DevOnly:"https://nuxt.com/docs/api/components/dev-only",NuxtClientFallback:"https://nuxt.com/docs/api/components/nuxt-client-fallback",NuxtPicture:"https://nuxt.com/docs/api/components/nuxt-picture",NuxtRouteAnnouncer:"https://nuxt.com/docs/api/components/nuxt-route-announcer",NuxtTime:"https://nuxt.com/docs/api/components/nuxt-time",NuxtPage:"https://nuxt.com/docs/api/components/nuxt-page",NuxtLayout:"https://nuxt.com/docs/api/components/nuxt-layout",NuxtLink:"https://nuxt.com/docs/api/components/nuxt-link",NuxtLoadingIndicator:"https://nuxt.com/docs/api/components/nuxt-loading-indicator",NuxtErrorBoundary:"https://nuxt.com/docs/api/components/nuxt-error-boundary",NuxtWelcome:"https://nuxt.com/docs/api/components/nuxt-welcome",NuxtIsland:"https://nuxt.com/docs/api/components/nuxt-island",NuxtImg:"https://nuxt.com/docs/api/components/nuxt-img"},f=P(()=>new he(h.value,{keys:["component.pascalName","component.filePath","component.kebabName"]})),i=P(()=>{const g=[],a=new Map,C=[],v=[],k={user:0,lib:0,builtin:0,runtime:0};return(_.value?f.value.search(_.value).map(d=>d.item):h.value).forEach(d=>{const N=d.component;if(N.filePath&&xe(N.filePath)){const p=be(N.filePath);if(!p)return;p==="nuxt"?(N.meta??={},N.meta.docs??=c?.[N.pascalName],C.push(d),k.builtin++):(a.has(p)||a.set(p,[]),a.get(p).push(d),k.lib++)}else N.global&&!N.filePath?(v.push(d),k.runtime++):(g.push(d),k.user++)}),{count:k,user:g,builtin:C,lib:a,runtime:v}});return(g,a)=>{const C=ge,v=Te,k=Z,S=dn,d=Me,N=Ge;return t(),r(B,null,[u(k,{search:_.value,"onUpdate:search":a[1]||(a[1]=p=>_.value=p),pb3:""},{actions:m(()=>[W(g.$slots,"default")]),default:m(()=>[n("div",fn,[u(C,{icon:"carbon-filter",op50:""}),u(v,{modelValue:w.value,"onUpdate:modelValue":a[0]||(a[0]=p=>w.value=p),n:"primary sm",options:[{label:"All",value:"all"},{label:"Using",value:"using"},{label:"Not used",value:"not-used"}]},null,8,["modelValue"])])]),_:3},8,["search"]),i.value.user.length?(t(),x(d,{key:0,icon:"carbon-nominal",text:"User components",open:i.value.user.length<=V(H),description:`Total components: ${i.value.count.user}`},{default:m(()=>[(t(!0),r(B,null,M(i.value.user,p=>(t(),x(S,z({key:p.component.filePath},{ref_for:!0},p),null,16))),128))]),_:1},8,["open","description"])):b("",!0),i.value.runtime.length?(t(),x(d,{key:1,icon:"carbon-load-balancer-global",open:i.value.runtime.length<=V(H),text:"Runtime components",description:`Total components: ${i.value.count.runtime}`},{default:m(()=>[(t(!0),r(B,null,M(i.value.runtime,p=>(t(),x(S,z({key:p.component.filePath},{ref_for:!0},p),null,16))),128))]),_:1},8,["open","description"])):b("",!0),i.value.builtin.length?(t(),x(d,{key:2,icon:"simple-icons-nuxtdotjs",text:"Built-in components",description:`Total components: ${i.value.count.builtin}`},{default:m(()=>[(t(!0),r(B,null,M(i.value.builtin,p=>(t(),x(S,z({key:p.component.filePath},{ref_for:!0},p),null,16))),128))]),_:1},8,["description"])):b("",!0),i.value.lib.size?(t(),x(d,{key:3,open:i.value.count.lib<=V(H),icon:"carbon-3d-mpr-toggle",text:"Components from libraries",description:`${i.value.count.lib} components from ${i.value.lib.size} packages`},{default:m(()=>[(t(!0),r(B,null,M(i.value.lib.entries(),([p,O])=>(t(),r("div",{key:p,"ml-2":""},[u(N,{text:`${p} (${O.length})`,py1:"",op50:""},null,8,["text"]),n("div",vn,[(t(!0),r(B,null,M(O,T=>(t(),x(S,z({key:T.component.filePath},{ref_for:!0},T),null,16))),128))])]))),128))]),_:1},8,["open","description"])):b("",!0)],64)}}}),hn=Object.assign(_n,{__name:"ComponentsList"}),xn={relative:"","h-full":"","of-auto":""},bn={"flex-none":"",flex:"~ gap3"},Un=F({__name:"components",setup(s){const l=ye(),_=Ue(),w=Fe(),{componentsView:h}=J("ui");function c(){l.value?.inspector?.enable()}function f(){h.value=h.value==="list"?"graph":"list"}return(i,g)=>{const a=X,C=Re,v=Pe,k=Ve("tooltip");return t(),r(B,null,[n("div",xn,[(t(),x(De(V(h)==="list"?hn:un),{components:V(_),relationships:V(w)},{default:m(()=>[n("div",bn,[Y(u(a,{"text-lg":"",border:!1,icon:V(h)==="graph"?"i-carbon-list":"i-carbon-network-4",title:"Toggle view",onClick:f},null,8,["icon"]),[[k,"Toggle View",void 0,{"bottom-end":!0}]]),V(l)?.inspector?.isAvailable?Y((t(),x(a,{key:0,"text-lg":"",border:!1,icon:"i-tabler-focus-2",title:"Inspect Vue components",onClick:c},null,512)),[[k,"Inspect Vue components",void 0,{"bottom-end":!0}]]):b("",!0)])]),_:1},8,["components","relationships"]))]),u(v,null,{default:m(()=>[u(C)]),_:1})],64)}}});export{Un as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as E}from"./nselect-ioi0seuc.js";import{u as F,c as U,a as W,_ as q}from"#entry";import{_ as z}from"./nswitch-fe63il2r.js";import{_ as J}from"./ndropdown-nmlejt8k.js";import{_ as O}from"./ncode-block-j34pr9ay.js";import{_ as X}from"./ndrawer-drb8l4me.js";import{A as V,d as x}from"./vendor/quicktype-core-bmjj6ua7.js";import{p as Y,k,q as D,x as N,X as c,a4 as m,Y as n,a1 as d,$ as r,a3 as p,J as _,F as C,ah as S,u as f,ab as b,af as G}from"./vendor/json-editor-vue-gjlsq8io.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";import"./client-c7ye0k5n.js";const H={border:"b base",flex:"~ items-center gap-2",sticky:"","left-0":"","right-0":"","top-0":"","z-1":"","bg-base":"",p3:""},K={key:0,flex:"~ items-center justify-center",absolute:"","bottom--1":"","right--2":"","h-4":"","w-4":"","rounded-full":"","bg-lime:30":"","text-8px":""},M={flex:"~ col","w-100":"","of-auto":"",py2:""},P={"text-xs":"",capitalize:"",op75:""},Q=Y({__name:"DataSchemaDrawer",setup(R){const s=F(),w=k(0),l=k("TypeScript"),v=D(()=>V.all.find(e=>e.displayName===l.value)),a=k(v.value?.optionDefinitions.filter(e=>typeof e.defaultValue=="boolean")),y=U(async()=>{if(w.value,!s.value)return"";const e=x.jsonInputForTargetLanguage(l.value);await e.addSource({name:s.value.name??"Data",samples:[s.value.input]});const t=new x.InputData;return t.addInput(e),(await x.quicktype({inputData:t,lang:l.value,rendererOptions:a.value?.reduce((u,i)=>(u[i.name]=i.defaultValue,u),{})})).lines.join(`
|
|
2
|
-
`)}),j=D(()=>{const e=l.value.toLocaleLowerCase();return e.startsWith("javascript")?"javascript":e.startsWith("json")?"json":e.startsWith("typescript")?"typescript":e});N(a,()=>{w.value++},{deep:!0}),N(l,()=>{a.value=v.value?.optionDefinitions.filter(e=>typeof e.defaultValue=="boolean")});const B=W();function L(){B(y.value||"")}return(e,t)=>{const h=E,u=q,i=z,I=J,T=O,$=X;return v.value?(n(),c(G,{key:0,to:"body"},[d($,{"model-value":!!f(s)?.input,"auto-close":"","max-w-screen":"","w-2xl":"","n-code-block":"",onClose:t[2]||(t[2]=o=>s.value=null)},{default:r(()=>[p("div",H,[t[3]||(t[3]=p("p",{"mr-2":""}," Schema ",-1)),d(h,{modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=o=>l.value=o),n:"xs primary"},{default:r(()=>[(n(!0),_(C,null,S(f(V.all),o=>(n(),_("option",{key:o.displayName},b(o.displayName),1))),128))]),_:1},8,["modelValue"]),a.value?.length?(n(),c(I,{key:0,n:"sm lime"},{trigger:r(({click:o})=>[d(u,{icon:"carbon-settings","h-full":"",onClick:g=>o()},null,8,["onClick"]),a.value?(n(),_("span",K,b(a.value.length),1)):m("",!0)]),default:r(()=>[p("div",M,[(n(!0),_(C,null,S(a.value,(o,g)=>(n(),c(i,{key:o.name,modelValue:a.value[g].defaultValue,"onUpdate:modelValue":A=>a.value[g].defaultValue=A,flex:"~ gap-2",rounded:"",px2:"",py2:""},{default:r(()=>[p("span",P,b(o.description),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))])]),_:1})):m("",!0),t[4]||(t[4]=p("div",{"flex-auto":""},null,-1)),d(u,{icon:"carbon-copy","mr-6":"","h-full":"",onClick:t[1]||(t[1]=o=>L())})]),f(y)?(n(),c(T,{key:0,lang:j.value,code:f(y)},null,8,["lang","code"])):m("",!0)]),_:1},8,["model-value"])])):m("",!0)}}}),ie=Object.assign(Q,{__name:"DataSchemaDrawer"});export{ie as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as H}from"./nsection-block-egbswicp.js";import{_ as T}from"./ncheckbox-dhpz73wm.js";import{g as B}from"./color-mt9xuhgy.js";import{_ as U}from"./nbadge-b5jyufiz.js";import{p as h,q as $,X as y,Y as l,$ as m,ac as I,a0 as O,ab as k,a5 as P,k as _,J as u,F as x,a3 as t,a1 as a,a4 as C,ah as N,a7 as z,u as R}from"./vendor/json-editor-vue-gjlsq8io.js";import{_ as E,p as W}from"#entry";import{_ as q}from"./filepath-item-i5bipy7o.js";import{_ as J}from"./ncode-block-j34pr9ay.js";import"./nicon-title-d35s6mci.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";import"./client-c7ye0k5n.js";const K=h({__name:"NBadgeHashed",props:{text:{}},setup(i){const d=i,c=$(()=>{const s=B(d.text,50,60),r=B(d.text,50,60,.05);return{color:s,background:r}});return(s,r)=>(l(),y(U,{style:P(c.value)},{default:m(()=>[I(k(i.text),1),O(s.$slots,"default")]),_:3},8,["style"]))}}),L=Object.assign(K,{__name:"NBadgeHashed"}),X={flex:"~ gap-2 col",mb4:""},Y={flex:"~ gap-3 items-center"},A={key:0,flex:"~ gap-1","items-center":"",p1:"",border:"~ base rounded"},G={"max-w-full":"","of-auto":""},Q={"text-center":"",op50:""},Z={flex:"~",px4:""},ee={key:0,op50:""},te={px2:"","text-center":""},oe={"of-auto":""},ne=h({__name:"DebugModuleMutationRecords",props:{moduleMutationRecords:{}},setup(i){const d=i;function c(n){return n.startsWith("/")||n.match(/^[a-z]:[\\/]/i)}const s=_(!1),r=_(!1),v=_(!1),b=_(!1),g=_(!1),p=_(""),S=$(()=>{let n=d.moduleMutationRecords;return s.value||(n=n.filter(e=>!e.name.startsWith("nuxt:")&&e.name!=="@nuxt/devtools")),r.value||(n=n.filter(e=>e.keys.join(".")!=="build.templates")),v.value||(n=n.filter(e=>e.keys.join(".")!=="build.transpile")),b.value||(n=n.filter(e=>e.keys.join(".")!=="plugins")),g.value||(n=n.filter(e=>e.method||e.value!=="[]"&&e.value!=="{}")),p.value&&(n=n.filter(e=>e.name===p.value)),n});return(n,e)=>{const f=T,w=L,D=E,F=q,j=J;return l(),u(x,null,[t("div",X,[t("div",Y,[a(f,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=o=>s.value=o),n:"primary"},{default:m(()=>[...e[6]||(e[6]=[t("span",{"ws-nowrap":"",op75:""},"Builtin Modules",-1)])]),_:1},8,["modelValue"]),a(f,{modelValue:r.value,"onUpdate:modelValue":e[1]||(e[1]=o=>r.value=o),n:"primary"},{default:m(()=>[...e[7]||(e[7]=[t("span",{"ws-nowrap":"",op75:""},"Templates",-1)])]),_:1},8,["modelValue"]),a(f,{modelValue:v.value,"onUpdate:modelValue":e[2]||(e[2]=o=>v.value=o),n:"primary"},{default:m(()=>[...e[8]||(e[8]=[t("span",{"ws-nowrap":"",op75:""},"Transpile",-1)])]),_:1},8,["modelValue"]),a(f,{modelValue:b.value,"onUpdate:modelValue":e[3]||(e[3]=o=>b.value=o),n:"primary"},{default:m(()=>[...e[9]||(e[9]=[t("span",{"ws-nowrap":"",op75:""},"Plugins",-1)])]),_:1},8,["modelValue"]),a(f,{modelValue:g.value,"onUpdate:modelValue":e[4]||(e[4]=o=>g.value=o),n:"primary"},{default:m(()=>[...e[10]||(e[10]=[t("span",{"ws-nowrap":"",op75:""},"Empty Initial",-1)])]),_:1},8,["modelValue"]),p.value?(l(),u("div",A,[a(w,{"font-mono":"",text:p.value},null,8,["text"]),a(D,{icon:"carbon-close",border:!1,onClick:e[5]||(e[5]=o=>p.value="")})])):C("",!0)])]),t("table",G,[e[11]||(e[11]=t("thead",{border:"b base"},[t("tr",null,[t("th",{"ws-nowrap":"",p1:"","text-center":"","font-bold":""}," Index "),t("th",{"ws-nowrap":"",p1:"","text-center":"","font-bold":""}," Module "),t("th",{"ws-nowrap":"",p1:"","text-center":"","font-bold":""}," Key Path "),t("th",{"ws-nowrap":"",p1:"","text-center":"","font-bold":""}," Method "),t("th",{"ws-nowrap":"",p1:"","text-center":"","font-bold":""}," Value ")])],-1)),t("tbody",null,[(l(!0),u(x,null,N(S.value,o=>(l(),u("tr",{key:i.moduleMutationRecords.indexOf(o),border:"b dashed transparent hover:base"},[t("td",Q,[t("div",null,k(i.moduleMutationRecords.indexOf(o)+1),1)]),t("td",null,[o.name&&c(o.name)?(l(),y(F,{key:0,filepath:o.name},null,8,["filepath"])):(l(),y(w,{key:1,role:"button","font-mono":"",text:o.name,onClick:V=>p.value=o.name},null,8,["text","onClick"]))]),t("td",null,[t("code",Z,[(l(!0),u(x,null,N(o.keys,(V,M)=>(l(),u(x,{key:M},[t("span",null,k(V),1),M<o.keys.length-1?(l(),u("span",ee," . ")):C("",!0)],64))),128))])]),t("td",te,[a(w,{"font-mono":"",text:o.method||"=",class:z(o.method?"":"saturate-0")},null,8,["text","class"])]),t("td",oe,[a(j,{code:String(o.value),lang:"ts","grammar-context-code":"let a = ","ws-normal":"","break-all":"",py1:"",lines:!1,inline:!0},null,8,["code"])])]))),128))])])],64)}}}),le=Object.assign(ne,{__name:"DebugModuleMutationRecords"}),ae={key:0,p6:""},se={key:1},ge=h({__name:"debug",setup(i){const d=W();return(c,s)=>{const r=H;return R(d)?(l(),u("div",se,[a(r,{icon:"carbon-container-image-push-pull",text:"Module Mutation Records",description:"Records of module mutations to nuxt options"},{default:m(()=>[a(le,{"module-mutation-records":R(d).moduleMutationRecords||[]},null,8,["module-mutation-records"])]),_:1})])):(l(),u("div",ae,[...s[0]||(s[0]=[t("div",null,"No Debug Context Found",-1),t("div",null,"Set `debug: true` in your nuxt.config.ts to enable this panel",-1)])]))}}});export{ge as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as o}from"#entry";import{J as t,Y as s,a3 as a,a0 as r}from"./vendor/json-editor-vue-gjlsq8io.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";const n={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,f){return s(),t("div",c,[a("div",l,[r(e.$slots,"default")])])}const u=o(n,[["render",d]]);export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as i,q as u,J as d,Y as f,a7 as c,a0 as a,ac as l,a3 as p,ab as n}from"./vendor/json-editor-vue-gjlsq8io.js";const m={"ml-1":"","text-xs":"",op50:""},x=i({__name:"DurationDisplay",props:{duration:{},factor:{default:1},color:{type:Boolean,default:!0}},setup(r){const e=r;function s(t){return e.color?t?(t=t*e.factor,t<.5?"text-gray:50":t>1e3?"text-red-400":t>500?"text-orange-400":t>200?"text-yellow-400":""):"text-gray-400":""}const o=u(()=>!e.duration||e.duration<1?["<1","ms"]:e.duration<1e3?[e.duration.toFixed(0),"ms"]:e.duration<1e3*60?[(e.duration/1e3).toFixed(1),"s"]:[(e.duration/1e3/60).toFixed(1),"min"]);return(t,_)=>(f(),d("div",{class:c(s(r.duration))},[a(t.$slots,"before"),l(" "+n(o.value[0]),1),p("span",m,n(o.value[1]),1),a(t.$slots,"after")],2))}}),D=Object.assign(x,{__name:"DurationDisplay"});export{D as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-f5d16621]{display:grid}.mb-2[data-v-f5d16621]{margin-bottom:.5rem}.mb-4[data-v-f5d16621]{margin-bottom:1rem}.max-w-520px[data-v-f5d16621]{max-width:520px}.min-h-screen[data-v-f5d16621]{min-height:100vh}.w-full[data-v-f5d16621]{width:100%}.flex[data-v-f5d16621]{display:flex}.place-content-center[data-v-f5d16621]{place-content:center}.items-center[data-v-f5d16621]{align-items:center}.justify-center[data-v-f5d16621]{justify-content:center}.overflow-hidden[data-v-f5d16621]{overflow:hidden}.bg-white[data-v-f5d16621]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-f5d16621]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-f5d16621]{text-align:center}.text-\[80px\][data-v-f5d16621]{font-size:80px}.text-2xl[data-v-f5d16621]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-f5d16621]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-f5d16621]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-f5d16621]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-f5d16621]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-f5d16621]{font-weight:500}.font-semibold[data-v-f5d16621]{font-weight:600}.leading-none[data-v-f5d16621]{line-height:1}.tracking-wide[data-v-f5d16621]{letter-spacing:.025em}.font-sans[data-v-f5d16621]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-f5d16621]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-f5d16621]{text-decoration-line:underline}.underline-offset-3[data-v-f5d16621]{text-underline-offset:3px}.antialiased[data-v-f5d16621]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-f5d16621]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-f5d16621]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-f5d16621]{font-size:110px}.sm\:text-3xl[data-v-f5d16621]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-4ce31dd8]{display:grid}.mb-2[data-v-4ce31dd8]{margin-bottom:.5rem}.mb-4[data-v-4ce31dd8]{margin-bottom:1rem}.max-w-520px[data-v-4ce31dd8]{max-width:520px}.min-h-screen[data-v-4ce31dd8]{min-height:100vh}.place-content-center[data-v-4ce31dd8]{place-content:center}.overflow-hidden[data-v-4ce31dd8]{overflow:hidden}.bg-white[data-v-4ce31dd8]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-4ce31dd8]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-4ce31dd8]{text-align:center}.text-\[80px\][data-v-4ce31dd8]{font-size:80px}.text-2xl[data-v-4ce31dd8]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-4ce31dd8]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-4ce31dd8]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-4ce31dd8]{font-weight:600}.leading-none[data-v-4ce31dd8]{line-height:1}.tracking-wide[data-v-4ce31dd8]{letter-spacing:.025em}.font-sans[data-v-4ce31dd8]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-4ce31dd8]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-4ce31dd8]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-4ce31dd8]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-4ce31dd8]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-4ce31dd8]{font-size:110px}.sm\:text-3xl[data-v-4ce31dd8]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{w as y,a as k,A as g,a3 as b}from"#entry";import{p as x,q as C,J as a,Y as o,a3 as n,a0 as B,a4 as u,a7 as N,F as r,ac as m,ab as i,u as d}from"./vendor/json-editor-vue-gjlsq8io.js";const F={flex:"~ gap-2 items-center",class:"group"},I=["title"],w={key:0,op50:""},E={key:0,flex:"~ gap1",pr2:"",op0:"","group-hover:op100":""},O=x({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(e){const l=e,c=y(),f=k(),p=g(),s=C(()=>l.filepath&&p.value?b(l.filepath,p.value.rootDir):{path:l.filepath||""});return(v,t)=>(o(),a("span",F,[n("span",{class:N([e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath},[e.override?(o(),a(r,{key:0},[m(i(e.override),1)],64)):s.value.moduleName?(o(),a(r,{key:1},[n("span",null,i(s.value.moduleName),1),e.subpath?(o(),a("span",w,i(s.value.path.slice(s.value.moduleName.length)),1)):u("",!0)],64)):(o(),a(r,{key:2},[m(i(s.value.path),1)],64))],10,I),B(v.$slots,"default"),e.filepath?(o(),a("div",E,[n("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:t[0]||(t[0]=h=>d(c)(e.filepath))},[...t[2]||(t[2]=[n("div",{"i-carbon-script-reference":""},null,-1)])]),n("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Copy path",onClick:t[1]||(t[1]=h=>d(f)(e.filepath))},[...t[3]||(t[3]=[n("div",{"i-carbon-copy":""},null,-1)])])])):u("",!0)]))}}),$=Object.assign(O,{__name:"FilepathItem"});export{$ as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as t}from"#entry";import{J as e,Y as r,a0 as s}from"./vendor/json-editor-vue-gjlsq8io.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";const a={},c={"h-full":"","of-auto":""};function n(o,f){return r(),e("div",c,[s(o.$slots,"default")])}const d=t(a,[["render",n]]);export{d as default};
|