@nuxt/devtools-nightly 2.1.3-29016969.64b5139 → 2.1.3-29019252.faa08d3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +2 -2
- package/dist/chunks/vue-tracer.mjs +14 -0
- package/dist/client/200.html +12 -12
- package/dist/client/404.html +12 -12
- package/dist/client/_nuxt/__blank-blayw5g7.js +1 -0
- package/dist/client/_nuxt/{analyze-build-dbfd18ps.js → analyze-build-nvcj1qh3.js} +1 -1
- package/dist/client/_nuxt/{assets-gbxvoh2q.js → assets-gp3qgu7b.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/0877ab63-6561-4611-afcd-21d29b2b84da.json +1 -0
- package/dist/client/_nuxt/{code-diff.vue-j7tj5foh.js → code-diff.vue-oa4nn2y4.js} +1 -1
- package/dist/client/_nuxt/{code-snippets.vue-bgalupro.js → code-snippets.vue-l1sv2a28.js} +1 -1
- package/dist/client/_nuxt/{components-ng335vd4.js → components-cinmckjm.js} +1 -1
- package/dist/client/_nuxt/{composable-item.vue-n13sq25g.js → composable-item.vue-nip811no.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-f2kwifr9.js → custom-_name_-ia3ppp0j.js} +1 -1
- package/dist/client/_nuxt/{data-schema-button.vue-fxcpqge3.js → data-schema-button.vue-jbcpdlkl.js} +1 -1
- package/dist/client/_nuxt/{data-schema-drawer-f43ns7yc.js → data-schema-drawer-g4r9dxov.js} +1 -1
- package/dist/client/_nuxt/{default-j0zfta85.js → default-gm29mgoh.js} +1 -1
- package/dist/client/_nuxt/{error-404-lbtsmapa.js → error-404-kntszln3.js} +1 -1
- package/dist/client/_nuxt/{error-500-gsoj47lx.js → error-500-iz6gt2uy.js} +1 -1
- package/dist/client/_nuxt/{error-bzux4msa.js → error-k1vvx5ma.js} +1 -1
- package/dist/client/_nuxt/{filepath-item.vue-duk3e681.js → filepath-item.vue-dhk4dcyq.js} +1 -1
- package/dist/client/_nuxt/{full-n17rj69g.js → full-311lf88e.js} +1 -1
- package/dist/client/_nuxt/{help-fab.vue-lk8exhqu.js → help-fab.vue-ofledb0f.js} +1 -1
- package/dist/client/_nuxt/{hooks-lxlcp7c0.js → hooks-lvornhx4.js} +1 -1
- package/dist/client/_nuxt/{imports-i8vsks6f.js → imports-fg4j3pwb.js} +1 -1
- package/dist/client/_nuxt/{index-n3kgs27m.js → index-br8pck2c.js} +1 -1
- package/dist/client/_nuxt/{launch-page.vue-ljxtatiz.js → launch-page.vue-2yfqm5ab.js} +1 -1
- package/dist/client/_nuxt/lxfc7iq0.js +17 -0
- package/dist/client/_nuxt/{modules-bzkac96m.js → modules-mi4pdgib.js} +1 -1
- package/dist/client/_nuxt/{nbadge-fu1ez6ey.js → nbadge-cwysplxv.js} +1 -1
- package/dist/client/_nuxt/{ncheckbox.vue-odquj0e2.js → ncheckbox.vue-nr446wq5.js} +1 -1
- package/dist/client/_nuxt/{ndrawer.vue-kf6brslq.js → ndrawer.vue-nnb36pzo.js} +1 -1
- package/dist/client/_nuxt/{ndropdown.vue-cg6x359v.js → ndropdown.vue-mbxpneft.js} +1 -1
- package/dist/client/_nuxt/{nlink.vue-lsci3lom.js → nlink.vue-do5m8i9z.js} +1 -1
- package/dist/client/_nuxt/{nnavbar.vue-acagv3i4.js → nnavbar.vue-eo39ie4q.js} +1 -1
- package/dist/client/_nuxt/{none-fwdp88vx.js → none-eujxoezj.js} +1 -1
- package/dist/client/_nuxt/{nsection-block-np2m6ohj.js → nsection-block-h29uwj1i.js} +1 -1
- package/dist/client/_nuxt/{nselect-tabs.vue-hmrfphff.js → nselect-tabs.vue-f5xjb7jb.js} +1 -1
- package/dist/client/_nuxt/{nselect.vue-b82y3hp8.js → nselect.vue-bf4xb338.js} +1 -1
- package/dist/client/_nuxt/{open-graph-ctf11pj0.js → open-graph-eh12tr9s.js} +1 -1
- package/dist/client/_nuxt/{overview-bc4uxrzt.js → overview-lqy8v3ud.js} +1 -1
- package/dist/client/_nuxt/{pages-o6zpqvj6.js → pages-eoaykvjr.js} +1 -1
- package/dist/client/_nuxt/{payload-jews1228.js → payload-htywoovz.js} +1 -1
- package/dist/client/_nuxt/{pinia-fcjltmi8.js → pinia-ikhpr41p.js} +1 -1
- package/dist/client/_nuxt/{plugins-c4jkjmyq.js → plugins-g4tx2tuz.js} +1 -1
- package/dist/client/_nuxt/{render-tree-pzj5u96p.js → render-tree-l9zb8v9s.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs-oshyzhmg.js → runtime-configs-km7ut6sc.js} +1 -1
- package/dist/client/_nuxt/{server-discovery-7z7xcmkg.js → server-discovery-ldqbv42f.js} +1 -1
- package/dist/client/_nuxt/{server-route-inputs.vue-otmyrxvd.js → server-route-inputs.vue-jc3a0ohn.js} +1 -1
- package/dist/client/_nuxt/{server-routes-nx9wziy3.js → server-routes-kdlnp2n3.js} +1 -1
- package/dist/client/_nuxt/{server-tasks-nagbsfo8.js → server-tasks-cquh6zfq.js} +1 -1
- package/dist/client/_nuxt/{settings-iyh2s1e5.js → settings-ed3v5zco.js} +1 -1
- package/dist/client/_nuxt/{stacktrace-list.vue-m1c72bf9.js → stacktrace-list.vue-numrw3uo.js} +1 -1
- package/dist/client/_nuxt/{state-components-mluaekii.js → state-components-j3n3mgpd.js} +1 -1
- package/dist/client/_nuxt/{state-editor.vue-e3bf4r71.js → state-editor.vue-dnhdhn11.js} +1 -1
- package/dist/client/_nuxt/{state-modules-whgu8dhv.js → state-modules-nv9es698.js} +1 -1
- package/dist/client/_nuxt/{storage-e5ig7v5c.js → storage-hkq9e9jg.js} +1 -1
- package/dist/client/_nuxt/{terminals-ysrsoazq.js → terminals-nmyxxzho.js} +1 -1
- package/dist/client/_nuxt/{timeline-o75qz9fl.js → timeline-h5y26xpp.js} +1 -1
- package/dist/client/_nuxt/{virtual-files-il9rgkrr.js → virtual-files-r66d7yjv.js} +1 -1
- package/dist/client/_nuxt/{vue-devtools-i02bhsu0.js → vue-devtools-cb2egccw.js} +1 -1
- package/dist/client/index.html +12 -12
- package/dist/module.d.mts +1 -2
- package/dist/module.d.ts +1 -2
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/Main.vue +21 -4
- package/dist/runtime/plugins/view/client.js +27 -38
- package/dist/shared/{devtools-nightly.2e078e30.d.mts → devtools-nightly.427ec2e8.d.mts} +0 -9
- package/dist/shared/{devtools-nightly.2e078e30.d.ts → devtools-nightly.427ec2e8.d.ts} +0 -9
- package/dist/types.d.mts +1 -2
- package/dist/types.d.ts +1 -2
- package/package.json +5 -5
- package/dist/chunks/vue-inspector.mjs +0 -15
- package/dist/client/_nuxt/__blank-dudv6g9d.js +0 -1
- package/dist/client/_nuxt/builds/meta/f1757882-74f4-4a1d-9a42-e8d347126f62.json +0 -1
- package/dist/client/_nuxt/ix8eg00v.js +0 -17
package/dist/client/index.html
CHANGED
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-jfo9gib8.css" crossorigin>
|
|
4
4
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css" crossorigin>
|
|
5
5
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-mhvipxpl.css" crossorigin>
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/lxfc7iq0.js">
|
|
7
7
|
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-llkaejaf.js">
|
|
8
8
|
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-mvzv9iuf.js">
|
|
9
9
|
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-kdj4mcqm.js">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-fvu08dbs.js">
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-gm29mgoh.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-311lf88e.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-eujxoezj.js">
|
|
14
14
|
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.css-lvdc77tw.css">
|
|
15
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-
|
|
15
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-g4r9dxov.js">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-bf4xb338.js">
|
|
17
17
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch.vue-jbyu7ls8.js">
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-mbxpneft.js">
|
|
19
19
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.vue-bir2wz4z.js">
|
|
20
20
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-gsjyqe32.js">
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-nnb36pzo.js">
|
|
22
22
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-o2aektoq.js">
|
|
23
23
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-l2otbg6e.js">
|
|
24
24
|
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-hufc5r2t.css">
|
|
25
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-kntszln3.js">
|
|
26
26
|
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-iibxggy2.css">
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-
|
|
28
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
29
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-iz6gt2uy.js">
|
|
28
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/lxfc7iq0.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},1741155187912,false]</script>
|
|
29
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"0877ab63-6561-4611-afcd-21d29b2b84da",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import './shared/devtools-nightly.
|
|
2
|
+
import './shared/devtools-nightly.427ec2e8.mjs';
|
|
3
3
|
import { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
4
4
|
export { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
5
|
-
import 'vite-plugin-vue-inspector';
|
|
6
5
|
|
|
7
6
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
7
|
|
package/dist/module.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import './shared/devtools-nightly.
|
|
2
|
+
import './shared/devtools-nightly.427ec2e8.js';
|
|
3
3
|
import { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
4
4
|
export { ModuleOptions } from '@nuxt/devtools-kit/types';
|
|
5
|
-
import 'vite-plugin-vue-inspector';
|
|
6
5
|
|
|
7
6
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
7
|
|
package/dist/module.json
CHANGED
|
@@ -254,7 +254,7 @@ const iframeStyle = computed(() => {
|
|
|
254
254
|
const style: CSSProperties = {
|
|
255
255
|
position: 'fixed',
|
|
256
256
|
zIndex: -1,
|
|
257
|
-
pointerEvents: isDragging.value || !state.value.open ? 'none' : 'auto',
|
|
257
|
+
pointerEvents: (isDragging.value || !state.value.open || props.client.inspector?.isEnabled.value) ? 'none' : 'auto',
|
|
258
258
|
width: `min(${state.value.width}vw, calc(100vw - ${marginHorizontal}px))`,
|
|
259
259
|
height: `min(${state.value.height}vh, calc(100vh - ${marginVertical}px))`,
|
|
260
260
|
}
|
|
@@ -303,6 +303,10 @@ const iframeStyle = computed(() => {
|
|
|
303
303
|
break
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
+
if (props.client.inspector?.isEnabled.value) {
|
|
307
|
+
style.opacity = 0
|
|
308
|
+
}
|
|
309
|
+
|
|
306
310
|
return style
|
|
307
311
|
})
|
|
308
312
|
|
|
@@ -324,6 +328,20 @@ const time = computed(() => {
|
|
|
324
328
|
return [type, ...millisecondToHumanreadable(time)]
|
|
325
329
|
})
|
|
326
330
|
|
|
331
|
+
function toggleInspector() {
|
|
332
|
+
const isDevToolsOpen = state.value.open
|
|
333
|
+
if (!isDevToolsOpen)
|
|
334
|
+
props.client.devtools.open()
|
|
335
|
+
|
|
336
|
+
props.client.inspector?.enable()
|
|
337
|
+
|
|
338
|
+
if (!isDevToolsOpen) {
|
|
339
|
+
setTimeout(() => {
|
|
340
|
+
props.client.devtools.close()
|
|
341
|
+
}, 500)
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
327
345
|
onMounted(() => {
|
|
328
346
|
bringUp()
|
|
329
347
|
})
|
|
@@ -379,12 +397,12 @@ onMounted(() => {
|
|
|
379
397
|
{{ time[2] }}
|
|
380
398
|
</span>
|
|
381
399
|
</div>
|
|
382
|
-
<template v-if="client.inspector?.
|
|
400
|
+
<template v-if="client.inspector?.isAvailable">
|
|
383
401
|
<div
|
|
384
402
|
style="border-left: 1px solid #8883;width:1px;height:10px;"
|
|
385
403
|
class="nuxt-devtools-panel-content"
|
|
386
404
|
/>
|
|
387
|
-
<button class="nuxt-devtools-icon-button nuxt-devtools-panel-content" title="Toggle Component Inspector" @click
|
|
405
|
+
<button class="nuxt-devtools-icon-button nuxt-devtools-panel-content" title="Toggle Component Inspector" @click.prevent.stop="toggleInspector">
|
|
388
406
|
<svg
|
|
389
407
|
xmlns="http://www.w3.org/2000/svg"
|
|
390
408
|
style="height: 1.2em; width: 1.2em; opacity:0.5;"
|
|
@@ -398,7 +416,6 @@ onMounted(() => {
|
|
|
398
416
|
</div>
|
|
399
417
|
|
|
400
418
|
<div
|
|
401
|
-
v-show="!client.inspector?.isEnabled.value"
|
|
402
419
|
ref="frameBox"
|
|
403
420
|
:style="iframeStyle"
|
|
404
421
|
>
|
|
@@ -2,6 +2,7 @@ import { useAppConfig, useRuntimeConfig } from "#imports";
|
|
|
2
2
|
import { setIframeServerContext } from "@vue/devtools-kit";
|
|
3
3
|
import { createHooks } from "hookable";
|
|
4
4
|
import { debounce } from "perfect-debounce";
|
|
5
|
+
import { events as inspectorEvents, hasData as inspectorHasData, state as inspectorState } from "vite-plugin-vue-tracer/client/overlay";
|
|
5
6
|
import { computed, createApp, h, markRaw, ref, shallowReactive, shallowRef, watch } from "vue";
|
|
6
7
|
import { initTimelineMetrics } from "../../function-metrics-helpers.js";
|
|
7
8
|
import Main from "./Main.vue";
|
|
@@ -14,7 +15,6 @@ export async function setupDevToolsClient({
|
|
|
14
15
|
timeMetric,
|
|
15
16
|
router
|
|
16
17
|
}) {
|
|
17
|
-
const isInspecting = ref(false);
|
|
18
18
|
const colorMode = useClientColorMode();
|
|
19
19
|
const timeline = initTimelineMetrics();
|
|
20
20
|
const client = shallowReactive({
|
|
@@ -138,47 +138,36 @@ export async function setupDevToolsClient({
|
|
|
138
138
|
}, timeout);
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
function getInspector() {
|
|
142
|
-
return window.__NUXT_INSPECTOR__ || window.__VUE_INSPECTOR__;
|
|
143
|
-
}
|
|
144
|
-
function enableComponentInspector() {
|
|
145
|
-
getInspector()?.enable();
|
|
146
|
-
isInspecting.value = true;
|
|
147
|
-
}
|
|
148
|
-
function disableComponentInspector() {
|
|
149
|
-
if (!getInspector()?.enabled)
|
|
150
|
-
return;
|
|
151
|
-
getInspector()?.disable();
|
|
152
|
-
client?.hooks.callHook("host:inspector:close");
|
|
153
|
-
isInspecting.value = false;
|
|
154
|
-
}
|
|
155
141
|
function getInspectorInstance() {
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
142
|
+
const isAvailable = ref(inspectorHasData());
|
|
143
|
+
inspectorEvents.on("disabled", () => {
|
|
144
|
+
inspectorState.isVisible = false;
|
|
145
|
+
client?.hooks.callHook("host:inspector:close");
|
|
146
|
+
});
|
|
147
|
+
inspectorEvents.on("enabled", () => {
|
|
148
|
+
inspectorState.isVisible = true;
|
|
149
|
+
});
|
|
150
|
+
inspectorEvents.on("click", async (info) => {
|
|
151
|
+
inspectorState.isEnabled = false;
|
|
152
|
+
await client.hooks.callHook("host:inspector:click", info.fullpath);
|
|
153
|
+
});
|
|
154
|
+
if (!isAvailable.value) {
|
|
155
|
+
inspectorEvents.on("hover", async () => {
|
|
156
|
+
isAvailable.value = inspectorHasData();
|
|
157
|
+
});
|
|
168
158
|
}
|
|
169
159
|
return markRaw({
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
disableComponentInspector();
|
|
178
|
-
else
|
|
179
|
-
enableComponentInspector();
|
|
160
|
+
isAvailable,
|
|
161
|
+
isEnabled: toRef(inspectorState, "isEnabled"),
|
|
162
|
+
enable: () => {
|
|
163
|
+
inspectorState.isEnabled = true;
|
|
164
|
+
},
|
|
165
|
+
disable: () => {
|
|
166
|
+
inspectorState.isEnabled = false;
|
|
180
167
|
},
|
|
181
|
-
|
|
168
|
+
toggle: () => {
|
|
169
|
+
inspectorState.isEnabled = !inspectorState.isEnabled;
|
|
170
|
+
}
|
|
182
171
|
});
|
|
183
172
|
}
|
|
184
173
|
setupRouteTracking(timeline, router);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VueInspectorClient } from 'vite-plugin-vue-inspector';
|
|
2
1
|
import { NuxtDevtoolsIframeClient, NuxtDevtoolsHostClient, NuxtDevtoolsGlobal, PluginMetric, TimelineMetrics, LoadingTimeMetric } from '@nuxt/devtools-kit/types';
|
|
3
2
|
|
|
4
3
|
declare global {
|
|
@@ -48,14 +47,6 @@ declare global {
|
|
|
48
47
|
* @internal
|
|
49
48
|
*/
|
|
50
49
|
__NUXT_DEVTOOLS_IS_POPUP__?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Vue Inspector client
|
|
53
|
-
*/
|
|
54
|
-
__VUE_INSPECTOR__?: VueInspectorClient;
|
|
55
|
-
/**
|
|
56
|
-
* Vue Inspector client
|
|
57
|
-
*/
|
|
58
|
-
__NUXT_INSPECTOR__?: VueInspectorClient;
|
|
59
50
|
/**
|
|
60
51
|
* Experimental API: Picture-in-Picture mode
|
|
61
52
|
*
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VueInspectorClient } from 'vite-plugin-vue-inspector';
|
|
2
1
|
import { NuxtDevtoolsIframeClient, NuxtDevtoolsHostClient, NuxtDevtoolsGlobal, PluginMetric, TimelineMetrics, LoadingTimeMetric } from '@nuxt/devtools-kit/types';
|
|
3
2
|
|
|
4
3
|
declare global {
|
|
@@ -48,14 +47,6 @@ declare global {
|
|
|
48
47
|
* @internal
|
|
49
48
|
*/
|
|
50
49
|
__NUXT_DEVTOOLS_IS_POPUP__?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Vue Inspector client
|
|
53
|
-
*/
|
|
54
|
-
__VUE_INSPECTOR__?: VueInspectorClient;
|
|
55
|
-
/**
|
|
56
|
-
* Vue Inspector client
|
|
57
|
-
*/
|
|
58
|
-
__NUXT_INSPECTOR__?: VueInspectorClient;
|
|
59
50
|
/**
|
|
60
51
|
* Experimental API: Picture-in-Picture mode
|
|
61
52
|
*
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './shared/devtools-nightly.
|
|
1
|
+
import './shared/devtools-nightly.427ec2e8.mjs';
|
|
2
2
|
import { ModuleStaticInfo } from '@nuxt/devtools-kit/types';
|
|
3
3
|
export * from '@nuxt/devtools-kit/types';
|
|
4
|
-
import 'vite-plugin-vue-inspector';
|
|
5
4
|
|
|
6
5
|
interface SocialPreviewResolved {
|
|
7
6
|
url?: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './shared/devtools-nightly.
|
|
1
|
+
import './shared/devtools-nightly.427ec2e8.js';
|
|
2
2
|
import { ModuleStaticInfo } from '@nuxt/devtools-kit/types';
|
|
3
3
|
export * from '@nuxt/devtools-kit/types';
|
|
4
|
-
import 'vite-plugin-vue-inspector';
|
|
5
4
|
|
|
6
5
|
interface SocialPreviewResolved {
|
|
7
6
|
url?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.3-
|
|
4
|
+
"version": "2.1.3-29019252.faa08d3",
|
|
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",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"vite": ">=6.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@2.1.3-
|
|
36
|
-
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@2.1.3-
|
|
35
|
+
"@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@2.1.3-29019252.faa08d3",
|
|
36
|
+
"@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@2.1.3-29019252.faa08d3",
|
|
37
37
|
"@nuxt/kit": "^3.15.4",
|
|
38
38
|
"@vue/devtools-core": "^7.7.2",
|
|
39
39
|
"@vue/devtools-kit": "^7.7.2",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"structured-clone-es": "^1.0.0",
|
|
62
62
|
"tinyglobby": "^0.2.12",
|
|
63
63
|
"vite-plugin-inspect": "^11.0.0",
|
|
64
|
-
"vite-plugin-vue-
|
|
64
|
+
"vite-plugin-vue-tracer": "^0.1.0",
|
|
65
65
|
"which": "^5.0.0",
|
|
66
66
|
"ws": "^8.18.1"
|
|
67
67
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@iconify-json/simple-icons": "^1.2.27",
|
|
77
77
|
"@iconify-json/tabler": "^1.2.16",
|
|
78
78
|
"@nuxt/content": "^3.2.2",
|
|
79
|
-
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@2.1.3-
|
|
79
|
+
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@2.1.3-29019252.faa08d3",
|
|
80
80
|
"@nuxt/test-utils": "^3.17.1",
|
|
81
81
|
"@parcel/watcher": "^2.5.1",
|
|
82
82
|
"@shikijs/langs-precompiled": "^3.1.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { addVitePlugin } from '@nuxt/kit';
|
|
2
|
-
import VueInspector from 'vite-plugin-vue-inspector';
|
|
3
|
-
|
|
4
|
-
function setup({ nuxt, options }) {
|
|
5
|
-
if (!nuxt.options.dev || nuxt.options.test)
|
|
6
|
-
return;
|
|
7
|
-
addVitePlugin(VueInspector({
|
|
8
|
-
toggleComboKey: "",
|
|
9
|
-
...typeof options.componentInspector === "boolean" ? {} : options.componentInspector,
|
|
10
|
-
appendTo: /\/entry\.m?js$/,
|
|
11
|
-
toggleButtonVisibility: "never"
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { setup };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,P as n,a1 as t}from"./vendor/json-editor-vue-llkaejaf.js";const a={"h-screen":"","w-screen":"","bg-black":""},r=e({__name:"__blank",setup(c){return(o,s)=>(t(),n("div",a))}});export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"f1757882-74f4-4a1d-9a42-e8d347126f62","timestamp":1741018168621,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|