vite-plugin-vue-devtools 0.4.5 → 0.4.7
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/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-18f96c83.js → IframeView.vue_vue_type_script_setup_true_lang-4c77817b.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-7f1db859.js → StateFields.vue_vue_type_script_setup_true_lang-6969f024.js} +24 -23
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-5cf9518d.js → VIcon.vue_vue_type_script_setup_true_lang-41c110ef.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-429a5f16.js → VIconButton.vue_vue_type_script_setup_true_lang-a89f6c88.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-8eeb6f8e.js → VIconTitle.vue_vue_type_script_setup_true_lang-d3431291.js} +1 -1
- package/dist/client/assets/{VPanelGrids-71cdc426.js → VPanelGrids-24560813.js} +1 -1
- package/dist/client/assets/{VSectionBlock-8248c927.js → VSectionBlock-ba31730a.js} +3 -3
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-b14dc8e6.js → VTextInput.vue_vue_type_script_setup_true_lang-5373326c.js} +2 -2
- package/dist/client/assets/{__eyedropper-b3bd8fa7.js → __eyedropper-8e124d1e.js} +2 -2
- package/dist/client/assets/{assets-da0bceb9.js → assets-136b5c5e.js} +8 -8
- package/dist/client/assets/{component-docs-d3303e85.js → component-docs-49ee42b3.js} +5 -5
- package/dist/client/assets/{components-f9b8424a.js → components-f31cfed4.js} +7 -7
- package/dist/client/assets/{documentations-10712699.js → documentations-99f74693.js} +3 -3
- package/dist/client/assets/{graph-39bc8444.js → graph-65afb14a.js} +2 -2
- package/dist/client/assets/{index-bdd28d2d.js → index-233a79fb.js} +14 -14
- package/dist/client/assets/{index-99f31726.css → index-7c5b746a.css} +1 -1
- package/dist/client/assets/{index-24772eab.js → index-8d0405da.js} +1 -1
- package/dist/client/assets/{inspect-9c3a60cb.js → inspect-4188d5cc.js} +3 -3
- package/dist/client/assets/{npm-d795cc3b.js → npm-6d9ce0f4.js} +6 -6
- package/dist/client/assets/{overview-a84fefd9.js → overview-aef80b27.js} +5 -5
- package/dist/client/assets/{pages-ff342b52.js → pages-f80c7a3e.js} +5 -5
- package/dist/client/assets/{pinia-a7d4272d.js → pinia-8c6ed567.js} +6 -6
- package/dist/client/assets/{routes-03fdcf34.js → routes-64dbd0f9.js} +7 -7
- package/dist/client/assets/{rpc-11624dba.js → rpc-358fc96c.js} +1 -1
- package/dist/client/assets/{settings-e508fcbd.js → settings-5fd1add1.js} +3 -3
- package/dist/client/assets/{splitpanes.es-a84fc7b8.js → splitpanes.es-2be998f1.js} +1 -1
- package/dist/client/assets/{timeline-9bb4ffc4.js → timeline-0c017176.js} +7 -7
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/src/node/views/utils.ts +32 -12
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { g, M } from './splitpanes.es-
|
|
3
|
-
import { v as defineComponent, a1 as ref, a2 as computed, a3 as piniaStoresCategory, a4 as toRaw, a5 as piniaState, a6 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-
|
|
4
|
-
import { p as pick } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-6969f024.js';
|
|
2
|
+
import { g, M } from './splitpanes.es-2be998f1.js';
|
|
3
|
+
import { v as defineComponent, a1 as ref, a2 as computed, a3 as piniaStoresCategory, a4 as toRaw, a5 as piniaState, a6 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-233a79fb.js';
|
|
4
|
+
import { p as pick } from './index-8d0405da.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-41c110ef.js';
|
|
6
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-a89f6c88.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
"h-screen": "",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent, z as unref, W as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, X as routeRecordMatcherState, Y as activeRouteRecordMatcherState, c as createBlock, V as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, Z as activeRouteRecordIndex, $ as toggleRouteRecordMatcher, P as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, a0 as __unplugin_components_1 } from './index-
|
|
3
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { g, M } from './splitpanes.es-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
7
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-24560813.js';
|
|
2
|
+
import { v as defineComponent, z as unref, W as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, X as routeRecordMatcherState, Y as activeRouteRecordMatcherState, c as createBlock, V as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, Z as activeRouteRecordIndex, $ as toggleRouteRecordMatcher, P as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, a0 as __unplugin_components_1 } from './index-233a79fb.js';
|
|
3
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-6969f024.js';
|
|
4
|
+
import { g, M } from './splitpanes.es-2be998f1.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-41c110ef.js';
|
|
6
|
+
import './index-8d0405da.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-a89f6c88.js';
|
|
8
8
|
|
|
9
9
|
const _hoisted_1 = {
|
|
10
10
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, O as isInPopup, h as withCtx, P as createTextVNode, Q as useDevToolsSettings, R as useFrameState, S as _sfc_main$5, T as _sfc_main$6, U as _sfc_main$7, q as normalizeClass, V as _sfc_main$8 } from './index-
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-41c110ef.js';
|
|
2
|
+
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, O as isInPopup, h as withCtx, P as createTextVNode, Q as useDevToolsSettings, R as useFrameState, S as _sfc_main$5, T as _sfc_main$6, U as _sfc_main$7, q as normalizeClass, V as _sfc_main$8 } from './index-233a79fb.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-d3431291.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1$2 = { 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" };
|
|
6
6
|
const _hoisted_2$2 = ["disabled"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ay as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-
|
|
1
|
+
import { ay as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-233a79fb.js';
|
|
2
2
|
|
|
3
3
|
const M = {
|
|
4
4
|
name: "splitpanes",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
3
|
-
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-6969f024.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-24560813.js';
|
|
3
|
+
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-233a79fb.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-c0d8ada0.js';
|
|
5
|
-
import { g, M } from './splitpanes.es-
|
|
6
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './index-
|
|
8
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { g, M } from './splitpanes.es-2be998f1.js';
|
|
6
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-41c110ef.js';
|
|
7
|
+
import './index-8d0405da.js';
|
|
8
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-a89f6c88.js';
|
|
9
9
|
|
|
10
10
|
var dayjs_min = {exports: {}};/* Injected with object hook! */
|
|
11
11
|
|
package/dist/client/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
7
7
|
<title>Vue DevTools</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-233a79fb.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="./assets/index-7c5b746a.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="app"></div>
|
package/package.json
CHANGED
package/src/node/views/utils.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
computed, getCurrentScope, onScopeDispose, ref,
|
|
2
|
+
computed, getCurrentScope, onScopeDispose, ref, watch, watchEffect,
|
|
3
3
|
} from 'vue'
|
|
4
4
|
import type { Ref } from 'vue'
|
|
5
5
|
|
|
@@ -31,12 +31,22 @@ export function useObjectStorage<T>(key: string, initial: T, readonly = false):
|
|
|
31
31
|
}, { deep: true, flush: 'post' })
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
const storageChanged = (newValue: string) => {
|
|
35
|
+
updating = true
|
|
36
|
+
data.value = JSON.parse(newValue)
|
|
37
|
+
updating = false
|
|
38
|
+
}
|
|
39
|
+
|
|
34
40
|
useWindowEventListener('storage', (e: StorageEvent) => {
|
|
35
|
-
if (e.key === key && e.newValue && e.newValue !== wrote)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
if (e.key === key && e.newValue && e.newValue !== wrote)
|
|
42
|
+
storageChanged(e.newValue)
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
// @ts-expect-error custom event
|
|
46
|
+
useWindowEventListener('vueuse-storage', (e: CustomEvent) => {
|
|
47
|
+
const event = e.detail as StorageEvent
|
|
48
|
+
if (event.key === key && event.newValue && event.newValue !== wrote)
|
|
49
|
+
storageChanged(event.newValue)
|
|
40
50
|
})
|
|
41
51
|
|
|
42
52
|
return data
|
|
@@ -58,12 +68,22 @@ export function useStorage<T>(key: string, initial: T, readonly = false) {
|
|
|
58
68
|
}, { deep: true, flush: 'post' })
|
|
59
69
|
}
|
|
60
70
|
|
|
71
|
+
const storageChanged = (newValue: string) => {
|
|
72
|
+
updating = true
|
|
73
|
+
data.value = newValue
|
|
74
|
+
updating = false
|
|
75
|
+
}
|
|
76
|
+
|
|
61
77
|
useWindowEventListener('storage', (e: StorageEvent) => {
|
|
62
|
-
if (e.key === key && e.newValue && e.newValue !== wrote)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
78
|
+
if (e.key === key && e.newValue && e.newValue !== wrote)
|
|
79
|
+
storageChanged(e.newValue)
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
// @ts-expect-error custom event
|
|
83
|
+
useWindowEventListener('vueuse-storage', (e: CustomEvent) => {
|
|
84
|
+
const event = e.detail as StorageEvent
|
|
85
|
+
if (event.key === key && event.newValue && event.newValue !== wrote)
|
|
86
|
+
storageChanged(event.newValue)
|
|
67
87
|
})
|
|
68
88
|
|
|
69
89
|
return data
|
|
@@ -173,7 +193,7 @@ export function useMediaQuery(query: string) {
|
|
|
173
193
|
|
|
174
194
|
cleanup()
|
|
175
195
|
|
|
176
|
-
mediaQuery = window!.matchMedia(
|
|
196
|
+
mediaQuery = window!.matchMedia(ref(query).value)
|
|
177
197
|
matches.value = !!mediaQuery?.matches
|
|
178
198
|
|
|
179
199
|
if (!mediaQuery)
|