vite-plugin-vue-devtools 0.4.14 → 0.5.0

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.
Files changed (34) hide show
  1. package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-a1185393.js → IframeView.vue_vue_type_script_setup_true_lang-c6f176d1.js} +1 -1
  2. package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-400324ec.js → StateFields.vue_vue_type_script_setup_true_lang-617e4d70.js} +20 -5
  3. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js → VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js} +1 -1
  4. package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js → VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js} +2 -2
  5. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js → VIconTitle.vue_vue_type_script_setup_true_lang-1ad26587.js} +1 -1
  6. package/dist/client/assets/{VPanelGrids-6b407e75.js → VPanelGrids-4b915e62.js} +1 -1
  7. package/dist/client/assets/{VSectionBlock-bada460c.js → VSectionBlock-8dcfb48d.js} +3 -3
  8. package/dist/client/assets/{VSwitch.vue_vue_type_script_setup_true_lang-9db804e8.js → VSwitch.vue_vue_type_script_setup_true_lang-ed954339.js} +2 -2
  9. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js → VTextInput.vue_vue_type_script_setup_true_lang-5edeb245.js} +2 -2
  10. package/dist/client/assets/{__eyedropper-c919226e.js → __eyedropper-67c21231.js} +23 -9
  11. package/dist/client/assets/{assets-09e0693c.js → assets-bf6dd9e4.js} +9 -9
  12. package/dist/client/assets/{component-docs-554bae64.js → component-docs-b2752be1.js} +5 -5
  13. package/dist/client/assets/{components-81f4a69f.js → components-c9aae4bc.js} +114 -10
  14. package/dist/client/assets/{documentations-cee1b26d.js → documentations-e0b483de.js} +3 -3
  15. package/dist/client/assets/{graph-b9e616a5.js → graph-f081d3a5.js} +4 -4
  16. package/dist/client/assets/{index-12ebe994.js → index-197edebf.js} +2788 -2561
  17. package/dist/client/assets/{index-07eaeded.js → index-f977bcde.js} +1 -1
  18. package/dist/client/assets/index-fb18df65.css +474 -0
  19. package/dist/client/assets/{inspect-517cfc3b.js → inspect-8d04bb08.js} +3 -3
  20. package/dist/client/assets/{npm-5ff3b150.js → npm-73c6479f.js} +9 -9
  21. package/dist/client/assets/{overview-ddb35c98.js → overview-edc8c0a8.js} +5 -5
  22. package/dist/client/assets/{pages-0f764a73.js → pages-562d1ae5.js} +8 -8
  23. package/dist/client/assets/{pinia-68a51789.js → pinia-89f6b4c0.js} +6 -6
  24. package/dist/client/assets/{routes-f7af2877.js → routes-ddddc2d7.js} +7 -7
  25. package/dist/client/assets/{rpc-97467545.js → rpc-b9c94a3a.js} +1 -1
  26. package/dist/client/assets/{settings-f852d24f.js → settings-7722ba4d.js} +8 -8
  27. package/dist/client/assets/{splitpanes.es-56cabd81.js → splitpanes.es-2f5182b4.js} +1 -1
  28. package/dist/client/assets/{timeline-28278daa.js → timeline-bc5ea36f.js} +7 -7
  29. package/dist/client/index.html +2 -2
  30. package/package.json +16 -16
  31. package/src/node/views/ComponentInspector.vue +67 -0
  32. package/src/node/views/Main.vue +9 -1
  33. package/src/node/views/composables.ts +40 -0
  34. package/dist/client/assets/index-8fbe34c5.css +0 -474
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-a1185393.js';
2
- import { i as inspectClientUrl } from './rpc-97467545.js';
3
- import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-12ebe994.js';
1
+ import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-c6f176d1.js';
2
+ import { i as inspectClientUrl } from './rpc-b9c94a3a.js';
3
+ import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-197edebf.js';
4
4
 
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "inspect",
@@ -1,10 +1,10 @@
1
- import { v as defineComponent, a$ as ref, aP as onMounted, cb as useEventListener, cc as hookApi, o as openBlock, e as createElementBlock, cd as useScrollLock, by as watch, ce as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, aC as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString, d as withDirectives, a9 as createTextVNode, q as normalizeClass, bL as _sfc_main$3 } from './index-12ebe994.js';
2
- import { _ as __unplugin_components_3 } from './VSectionBlock-bada460c.js';
3
- import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js';
1
+ import { v as defineComponent, a$ as ref, aP as onMounted, cb as useEventListener, cc as hookApi, o as openBlock, e as createElementBlock, cd as useScrollLock, by as watch, ce as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, aC as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString, d as withDirectives, a9 as createTextVNode, q as normalizeClass, bL as _sfc_main$3 } from './index-197edebf.js';
2
+ import { _ as __unplugin_components_3 } from './VSectionBlock-8dcfb48d.js';
3
+ import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-5edeb245.js';
4
4
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-65004790.js';
5
- import { r as rpc } from './rpc-97467545.js';
6
- import './VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js';
7
- import './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
5
+ import { r as rpc } from './rpc-b9c94a3a.js';
6
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-1ad26587.js';
7
+ import './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
8
8
 
9
9
  var xterm$1 = {exports: {}};/* Injected with object hook! */
10
10
 
@@ -162,9 +162,9 @@ const _hoisted_17 = {
162
162
  "ws-nowrap": "",
163
163
  "pr-1": "",
164
164
  "text-left": "",
165
- "font-mono": "",
166
165
  "text-sm": "",
167
166
  "lh-7": "",
167
+ "font-mono": "",
168
168
  underline: "",
169
169
  op70: ""
170
170
  };
@@ -179,8 +179,8 @@ const _hoisted_20 = {
179
179
  "ws-nowrap": "",
180
180
  "pr-1": "",
181
181
  "text-left": "",
182
- "font-mono": "",
183
182
  "text-sm": "",
183
+ "font-mono": "",
184
184
  underline: "",
185
185
  op70: "",
186
186
  hover: "text-primary"
@@ -191,8 +191,8 @@ const _hoisted_22 = {
191
191
  "ws-nowrap": "",
192
192
  "pr-1": "",
193
193
  "text-left": "",
194
- "font-mono": "",
195
194
  "text-sm": "",
195
+ "font-mono": "",
196
196
  op70: ""
197
197
  };
198
198
  const _hoisted_23 = {
@@ -1,9 +1,9 @@
1
- import { _ as __unplugin_components_0$1 } from './VPanelGrids-6b407e75.js';
2
- import { a$ as ref, a1 as computed, c8 as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, c9 as vueVersion, a9 as createTextVNode, e as createElementBlock, F as Fragment, ca as __unplugin_components_0, c3 as __unplugin_components_1, bL as _sfc_main$1 } from './index-12ebe994.js';
3
- import { r as rpc } from './rpc-97467545.js';
4
- import { i as isMacOS } from './index-07eaeded.js';
1
+ import { _ as __unplugin_components_0$1 } from './VPanelGrids-4b915e62.js';
2
+ import { a$ as ref, a1 as computed, c8 as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, c9 as vueVersion, a9 as createTextVNode, e as createElementBlock, F as Fragment, ca as __unplugin_components_0, c3 as __unplugin_components_1, bL as _sfc_main$1 } from './index-197edebf.js';
3
+ import { r as rpc } from './rpc-b9c94a3a.js';
4
+ import { i as isMacOS } from './index-f977bcde.js';
5
5
 
6
- const version = "0.4.14";
6
+ const version = "0.5.0";
7
7
 
8
8
  /* Injected with object hook! */
9
9
 
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_3 } from './VSectionBlock-bada460c.js';
2
- import { v as defineComponent, a$ as ref, a1 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, bG as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, a9 as createTextVNode, q as normalizeClass, bL as _sfc_main$4, c3 as __unplugin_components_1, aP as onMounted, c7 as currentRoute, b_ as router, aC as isRef, bE as withKeys, c8 as routes } from './index-12ebe994.js';
3
- import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js';
4
- import './VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
1
+ import { _ as __unplugin_components_3 } from './VSectionBlock-8dcfb48d.js';
2
+ import { v as defineComponent, a$ as ref, a1 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, bG as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, a9 as createTextVNode, q as normalizeClass, bL as _sfc_main$4, c3 as __unplugin_components_1, aP as onMounted, c7 as currentRoute, b_ as router, aC as isRef, bE as withKeys, c8 as routes } from './index-197edebf.js';
3
+ import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-5edeb245.js';
4
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-1ad26587.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
6
6
 
7
7
  const _hoisted_1$2 = {
8
8
  block: "",
@@ -19,8 +19,8 @@ const _hoisted_5$2 = {
19
19
  flex: "~",
20
20
  "items-center": "",
21
21
  p2: "",
22
- "font-mono": "",
23
- "text-sm": ""
22
+ "text-sm": "",
23
+ "font-mono": ""
24
24
  };
25
25
  const _hoisted_6$2 = { key: 1 };
26
26
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -138,8 +138,8 @@ const _hoisted_7$1 = {
138
138
  "ws-nowrap": "",
139
139
  "pr-1": "",
140
140
  "text-left": "",
141
- "font-mono": "",
142
141
  "text-sm": "",
142
+ "font-mono": "",
143
143
  op50: ""
144
144
  };
145
145
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
- import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-400324ec.js';
2
- import { g, M } from './splitpanes.es-56cabd81.js';
3
- import { v as defineComponent, a$ as ref, a1 as computed, c4 as piniaStoresCategory, bd as toRaw, c5 as piniaState, c6 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-12ebe994.js';
4
- import { p as pick } from './index-07eaeded.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
6
- import './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
1
+ import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-617e4d70.js';
2
+ import { g, M } from './splitpanes.es-2f5182b4.js';
3
+ import { v as defineComponent, a$ as ref, a1 as computed, c4 as piniaStoresCategory, bd as toRaw, c5 as piniaState, c6 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-197edebf.js';
4
+ import { p as pick } from './index-f977bcde.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
6
+ import './VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js';
7
7
 
8
8
  const _hoisted_1 = {
9
9
  "h-screen": "",
@@ -1,10 +1,10 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-6b407e75.js';
2
- import { v as defineComponent, z as unref, b_ as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, b$ as routeRecordMatcherState, c0 as activeRouteRecordMatcherState, c as createBlock, bZ as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, c1 as activeRouteRecordIndex, c2 as toggleRouteRecordMatcher, a9 as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, c3 as __unplugin_components_1 } from './index-12ebe994.js';
3
- import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-400324ec.js';
4
- import { g, M } from './splitpanes.es-56cabd81.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
6
- import './index-07eaeded.js';
7
- import './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-4b915e62.js';
2
+ import { v as defineComponent, z as unref, b_ as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, b$ as routeRecordMatcherState, c0 as activeRouteRecordMatcherState, c as createBlock, bZ as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, c1 as activeRouteRecordIndex, c2 as toggleRouteRecordMatcher, a9 as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, c3 as __unplugin_components_1 } from './index-197edebf.js';
3
+ import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-617e4d70.js';
4
+ import { g, M } from './splitpanes.es-2f5182b4.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
6
+ import './index-f977bcde.js';
7
+ import './VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js';
8
8
 
9
9
  const _hoisted_1 = {
10
10
  key: 0,
@@ -1,4 +1,4 @@
1
- import { cw as __vitePreload, cc as hookApi } from './index-12ebe994.js';
1
+ import { cy as __vitePreload, cc as hookApi } from './index-197edebf.js';
2
2
 
3
3
  async function getViteClient(base = "/", warning = true) {
4
4
  try {
@@ -1,10 +1,10 @@
1
- import { _ as _sfc_main$a, a as _sfc_main$c } from './VSwitch.vue_vue_type_script_setup_true_lang-9db804e8.js';
2
- import { I as BaseTransition, J as BaseTransitionPropsValidators, K as Comment, L as EffectScope, F as Fragment, M as KeepAlive, R as ReactiveEffect, S as Static, N as Suspense, T as Teleport, O as Text, P as Transition, Q as TransitionGroup, V as VueElement, U as assertNumber, W as callWithAsyncErrorHandling, X as callWithErrorHandling, Y as camelize, Z as capitalize, $ as cloneVNode, a0 as compatUtils, a1 as computed, a2 as createApp, c as createBlock, g as createCommentVNode, e as createElementBlock, x as createBaseVNode, a3 as createHydrationRenderer, a4 as createPropsRestProxy, a5 as createRenderer, a6 as createSSRApp, a7 as createSlots, a8 as createStaticVNode, a9 as createTextVNode, u as createVNode, aa as customRef, ab as defineAsyncComponent, v as defineComponent, ac as defineCustomElement, ad as defineEmits, ae as defineExpose, af as defineModel, ag as defineOptions, ah as defineProps, ai as defineSSRCustomElement, aj as defineSlots, ak as devtools, al as effect, am as effectScope, an as getCurrentInstance, ao as getCurrentScope, ap as getTransitionRawChildren, aq as guardReactiveProps, ar as h, as as handleError, at as hasInjectionContext, au as hydrate, av as initCustomFormatter, aw as initDirectivesForSSR, ax as inject, ay as isMemoSame, az as isProxy, aA as isReactive, aB as isReadonly, aC as isRef, aD as isRuntimeOnly, aE as isShallow, aF as isVNode, m as markRaw, aG as mergeDefaults, aH as mergeModels, k as mergeProps, n as nextTick, q as normalizeClass, aI as normalizeProps, l as normalizeStyle, aJ as onActivated, aK as onBeforeMount, aL as onBeforeUnmount, aM as onBeforeUpdate, aN as onDeactivated, aO as onErrorCaptured, aP as onMounted, aQ as onRenderTracked, aR as onRenderTriggered, aS as onScopeDispose, aT as onServerPrefetch, aU as onUnmounted, aV as onUpdated, o as openBlock, a as popScopeId, aW as provide, aX as proxyRefs, p as pushScopeId, aY as queuePostFlushCb, aZ as reactive, a_ as readonly, a$ as ref, b0 as registerRuntimeCompiler, b1 as render, i as renderList, f as renderSlot, r as resolveComponent, b as resolveDirective, j as resolveDynamicComponent, b2 as resolveFilter, b3 as resolveTransitionHooks, b4 as setBlockTracking, b5 as setDevtoolsHook, b6 as setTransitionHooks, s as shallowReactive, b7 as shallowReadonly, b8 as shallowRef, b9 as ssrContextKey, ba as ssrUtils, bb as stop, y as toDisplayString, bc as toHandlerKey, t as toHandlers, bd as toRaw, be as toRef, bf as toRefs, bg as toValue, bh as transformVNodeArgs, bi as triggerRef, z as unref, bj as useAttrs, bk as useCssModule, bl as useCssVars, bm as useModel, bn as useSSRContext, bo as useSlots, bp as useTransitionState, bq as vModelCheckbox, br as vModelDynamic, bs as vModelRadio, bt as vModelSelect, bu as vModelText, bv as vShow, bw as version$1, bx as warn, by as watch, bz as watchEffect, bA as watchPostEffect, bB as watchSyncEffect, bC as withAsyncContext, h as withCtx, bD as withDefaults, d as withDirectives, bE as withKeys, bF as withMemo, bG as withModifiers, w as withScopeId, bH as getSortedTabs, bI as updateTabsPosition, bJ as _export_sfc, bK as useVModel, bL as _sfc_main$5, bM as _sfc_main$6, bN as useToggle, bO as shouldHideTabGroup, bP as DEFAULT_TAB_GROUP, bQ as useGroupedTabs, bR as ungroupAllTabs, bS as resetAllTabs, bT as removeTabGroup, bU as checkGroupExist, bV as createGroup, bW as useDevToolsSettings, bX as useFrameState, bY as _sfc_main$b, bZ as _sfc_main$d } from './index-12ebe994.js';
3
- import { _ as _sfc_main$4 } from './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
1
+ import { _ as _sfc_main$a, a as _sfc_main$c } from './VSwitch.vue_vue_type_script_setup_true_lang-ed954339.js';
2
+ import { I as BaseTransition, J as BaseTransitionPropsValidators, K as Comment, L as EffectScope, F as Fragment, M as KeepAlive, R as ReactiveEffect, S as Static, N as Suspense, T as Teleport, O as Text, P as Transition, Q as TransitionGroup, V as VueElement, U as assertNumber, W as callWithAsyncErrorHandling, X as callWithErrorHandling, Y as camelize, Z as capitalize, $ as cloneVNode, a0 as compatUtils, a1 as computed, a2 as createApp, c as createBlock, g as createCommentVNode, e as createElementBlock, x as createBaseVNode, a3 as createHydrationRenderer, a4 as createPropsRestProxy, a5 as createRenderer, a6 as createSSRApp, a7 as createSlots, a8 as createStaticVNode, a9 as createTextVNode, u as createVNode, aa as customRef, ab as defineAsyncComponent, v as defineComponent, ac as defineCustomElement, ad as defineEmits, ae as defineExpose, af as defineModel, ag as defineOptions, ah as defineProps, ai as defineSSRCustomElement, aj as defineSlots, ak as devtools, al as effect, am as effectScope, an as getCurrentInstance, ao as getCurrentScope, ap as getTransitionRawChildren, aq as guardReactiveProps, ar as h, as as handleError, at as hasInjectionContext, au as hydrate, av as initCustomFormatter, aw as initDirectivesForSSR, ax as inject, ay as isMemoSame, az as isProxy, aA as isReactive, aB as isReadonly, aC as isRef, aD as isRuntimeOnly, aE as isShallow, aF as isVNode, m as markRaw, aG as mergeDefaults, aH as mergeModels, k as mergeProps, n as nextTick, q as normalizeClass, aI as normalizeProps, l as normalizeStyle, aJ as onActivated, aK as onBeforeMount, aL as onBeforeUnmount, aM as onBeforeUpdate, aN as onDeactivated, aO as onErrorCaptured, aP as onMounted, aQ as onRenderTracked, aR as onRenderTriggered, aS as onScopeDispose, aT as onServerPrefetch, aU as onUnmounted, aV as onUpdated, o as openBlock, a as popScopeId, aW as provide, aX as proxyRefs, p as pushScopeId, aY as queuePostFlushCb, aZ as reactive, a_ as readonly, a$ as ref, b0 as registerRuntimeCompiler, b1 as render, i as renderList, f as renderSlot, r as resolveComponent, b as resolveDirective, j as resolveDynamicComponent, b2 as resolveFilter, b3 as resolveTransitionHooks, b4 as setBlockTracking, b5 as setDevtoolsHook, b6 as setTransitionHooks, s as shallowReactive, b7 as shallowReadonly, b8 as shallowRef, b9 as ssrContextKey, ba as ssrUtils, bb as stop, y as toDisplayString, bc as toHandlerKey, t as toHandlers, bd as toRaw, be as toRef, bf as toRefs, bg as toValue, bh as transformVNodeArgs, bi as triggerRef, z as unref, bj as useAttrs, bk as useCssModule, bl as useCssVars, bm as useModel, bn as useSSRContext, bo as useSlots, bp as useTransitionState, bq as vModelCheckbox, br as vModelDynamic, bs as vModelRadio, bt as vModelSelect, bu as vModelText, bv as vShow, bw as version$1, bx as warn, by as watch, bz as watchEffect, bA as watchPostEffect, bB as watchSyncEffect, bC as withAsyncContext, h as withCtx, bD as withDefaults, d as withDirectives, bE as withKeys, bF as withMemo, bG as withModifiers, w as withScopeId, bH as getSortedTabs, bI as updateTabsPosition, bJ as _export_sfc, bK as useVModel, bL as _sfc_main$5, bM as _sfc_main$6, bN as useToggle, bO as shouldHideTabGroup, bP as DEFAULT_TAB_GROUP, bQ as useGroupedTabs, bR as ungroupAllTabs, bS as resetAllTabs, bT as removeTabGroup, bU as checkGroupExist, bV as createGroup, bW as useDevToolsSettings, bX as useFrameState, bY as _sfc_main$b, bZ as _sfc_main$d } from './index-197edebf.js';
3
+ import { _ as _sfc_main$4 } from './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
4
4
  import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-65004790.js';
5
- import { _ as _sfc_main$8 } from './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
6
- import { _ as _sfc_main$7 } from './VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js';
7
- import { _ as _sfc_main$9 } from './VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js';
5
+ import { _ as _sfc_main$8 } from './VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js';
6
+ import { _ as _sfc_main$7 } from './VTextInput.vue_vue_type_script_setup_true_lang-5edeb245.js';
7
+ import { _ as _sfc_main$9 } from './VIconTitle.vue_vue_type_script_setup_true_lang-1ad26587.js';
8
8
 
9
9
  const compile = () => {
10
10
  };
@@ -9384,8 +9384,8 @@ const _hoisted_12 = /* @__PURE__ */ createBaseVNode("h3", {
9384
9384
  }, " Appearance ", -1);
9385
9385
  const _hoisted_13 = /* @__PURE__ */ createBaseVNode("div", {
9386
9386
  "carbon-sun": "",
9387
- "dark:carbon-moon": "",
9388
- "translate-y--1px": ""
9387
+ "translate-y--1px": "",
9388
+ "dark:carbon-moon": ""
9389
9389
  }, null, -1);
9390
9390
  const _hoisted_14 = {
9391
9391
  py3: "",
@@ -1,4 +1,4 @@
1
- import { ar as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-12ebe994.js';
1
+ import { ar as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-197edebf.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-400324ec.js';
2
- import { _ as __unplugin_components_0 } from './VPanelGrids-6b407e75.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-12ebe994.js';
1
+ import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-617e4d70.js';
2
+ import { _ as __unplugin_components_0 } from './VPanelGrids-4b915e62.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-197edebf.js';
4
4
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-65004790.js';
5
- import { g, M } from './splitpanes.es-56cabd81.js';
6
- import './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
7
- import './index-07eaeded.js';
8
- import './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
5
+ import { g, M } from './splitpanes.es-2f5182b4.js';
6
+ import './VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js';
7
+ import './index-f977bcde.js';
8
+ import './VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js';
9
9
 
10
10
  var dayjs_min = {exports: {}};/* Injected with object hook! */
11
11
 
@@ -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-12ebe994.js"></script>
9
- <link rel="stylesheet" href="./assets/index-8fbe34c5.css">
8
+ <script type="module" crossorigin src="./assets/index-197edebf.js"></script>
9
+ <link rel="stylesheet" href="./assets/index-fb18df65.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="app"></div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-vue-devtools",
3
- "version": "0.4.14",
4
- "packageManager": "pnpm@8.6.5",
3
+ "version": "0.5.0",
4
+ "packageManager": "pnpm@8.6.7",
5
5
  "description": "A vite plugin for Vue Devtools",
6
6
  "author": "webfansplz",
7
7
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "*.d.ts"
38
38
  ],
39
39
  "engines": {
40
- "node": ">=14"
40
+ "node": ">=v14"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "rimraf dist && run-s build:*",
@@ -54,7 +54,7 @@
54
54
  "dep:up": "taze -I major"
55
55
  },
56
56
  "peerDependencies": {
57
- "vite": "^3.0.0-0 || ^4.0.0-0"
57
+ "vite": "^3.1.0 || ^4.0.0-0"
58
58
  },
59
59
  "dependencies": {
60
60
  "@vueuse/core": "^10.2.1",
@@ -64,7 +64,7 @@
64
64
  "birpc": "^0.2.12",
65
65
  "execa": "^7.1.1",
66
66
  "json-editor-vue": "^0.10.6",
67
- "minimatch": "^9.0.2",
67
+ "minimatch": "^9.0.3",
68
68
  "nanoid": "^4.0.2",
69
69
  "sirv": "^2.0.3",
70
70
  "splitpanes": "^3.1.5",
@@ -72,22 +72,22 @@
72
72
  "vite-hot-client": "^0.2.1",
73
73
  "vite-plugin-inspect": "^0.7.32",
74
74
  "vite-plugin-vue-inspector": "^3.4.2",
75
- "vue-router": "^4.2.2",
75
+ "vue-router": "^4.2.4",
76
76
  "vuedraggable": "^4.1.0",
77
77
  "xterm": "^5.2.1",
78
78
  "xterm-addon-fit": "^0.7.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@algolia/client-search": "^4.18.0",
82
- "@antfu/eslint-config": "^0.39.6",
82
+ "@antfu/eslint-config": "^0.39.7",
83
83
  "@antfu/ni": "^0.21.4",
84
- "@iconify/json": "^2.2.85",
85
- "@nuxt/devtools-ui-kit": "^0.6.6",
84
+ "@iconify/json": "^2.2.88",
85
+ "@nuxt/devtools-ui-kit": "^0.6.7",
86
86
  "@types/codemirror": "^5.60.8",
87
- "@types/node": "^20.3.3",
87
+ "@types/node": "^20.4.1",
88
88
  "@types/splitpanes": "^2.2.1",
89
- "@unocss/eslint-config": "^0.53.4",
90
- "@unocss/reset": "^0.53.4",
89
+ "@unocss/eslint-config": "^0.53.5",
90
+ "@unocss/reset": "^0.53.5",
91
91
  "@vitejs/plugin-vue": "^4.2.3",
92
92
  "@vitejs/plugin-vue-jsx": "^3.0.1",
93
93
  "bumpp": "^9.1.1",
@@ -105,18 +105,18 @@
105
105
  "ohash": "^1.1.2",
106
106
  "pathe": "^1.1.1",
107
107
  "pinia": "^2.1.4",
108
- "pnpm": "^8.6.5",
108
+ "pnpm": "^8.6.7",
109
109
  "rimraf": "^5.0.1",
110
110
  "simple-git-hooks": "^2.8.1",
111
111
  "taze": "^0.11.2",
112
112
  "typescript": "^5.1.6",
113
113
  "unbuild": "^1.2.1",
114
- "unocss": "^0.53.4",
115
- "unplugin-auto-import": "^0.16.4",
114
+ "unocss": "^0.53.5",
115
+ "unplugin-auto-import": "^0.16.6",
116
116
  "unplugin-vue-components": "^0.25.1",
117
117
  "vis-data": "^7.1.6",
118
118
  "vis-network": "^9.1.6",
119
- "vite": "^4.3.9",
119
+ "vite": "^4.4.2",
120
120
  "vite-dev-rpc": "^0.1.2",
121
121
  "vite-plugin-pages": "^0.31.0",
122
122
  "vue": "^3.3.4",
@@ -0,0 +1,67 @@
1
+ <script setup lang="ts">
2
+ import { computed } from 'vue'
3
+
4
+ const props = defineProps<{
5
+ bounds: {
6
+ width: number
7
+ height: number
8
+ top: number
9
+ left: number
10
+ }
11
+ name: string
12
+ }>()
13
+
14
+ const inspectorStyle = computed(() => {
15
+ const { width, height, top, left } = props.bounds
16
+ return {
17
+ width: `${width}px`,
18
+ height: `${height}px`,
19
+ top: `${top}px`,
20
+ left: `${left}px`,
21
+ }
22
+ })
23
+ const inspectorCardStyle = computed(() => ({ top: props.bounds.top < 35 ? 0 : '-35px' }))
24
+ </script>
25
+
26
+ <template>
27
+ <div class="vue-devtools-component-inspector" :style="inspectorStyle">
28
+ <span class="vue-devtools-component-inspector-card" :style="inspectorCardStyle">
29
+ &lt;{{ name }}&gt;
30
+ <i>{{ bounds.width }} x {{ bounds.height }}</i>
31
+ </span>
32
+ </div>
33
+ </template>
34
+
35
+ <style scoped>
36
+ .vue-devtools-component-inspector {
37
+ z-index: 2147483646;
38
+ position: fixed;
39
+ background-color:#42b88325;
40
+ border: 1px solid #42b88350;
41
+ border-radius: 5px;
42
+ transition: all 0.1s ease-in;
43
+ pointer-events: none;
44
+ }
45
+
46
+ .vue-devtools-component-inspector-card {
47
+ font-family: Arial, Helvetica, sans-serif;
48
+ padding: 5px 8px;
49
+ border-radius: 4px;
50
+ text-align: left;
51
+ position: absolute;
52
+ left: 0;
53
+ color:#e9e9e9;
54
+ font-size: 14px;
55
+ font-weight: 600;
56
+ line-height: 24px;
57
+ background-color:#42b883;
58
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
59
+ }
60
+
61
+ .vue-devtools-component-inspector-card i {
62
+ font-weight: 400;
63
+ font-style: normal;
64
+ font-size: 12px;
65
+ opacity: 0.7;
66
+ }
67
+ </style>
@@ -4,7 +4,8 @@ import { computed, ref } from 'vue'
4
4
  // @ts-expect-error virtual module
5
5
  import vueDevToolsOptions from 'virtual:vue-devtools-options'
6
6
  import Frame from './FrameBox.vue'
7
- import { useIframe, useInspector, usePanelVisible, usePiPMode, usePosition } from './composables'
7
+ import ComponentInspector from './ComponentInspector.vue'
8
+ import { useHighlightComponent, useIframe, useInspector, usePanelVisible, usePiPMode, usePosition } from './composables'
8
9
  import { checkIsSafari, useColorScheme, usePreferredColorScheme, warn } from './utils'
9
10
 
10
11
  const props = defineProps({
@@ -88,6 +89,7 @@ const { iframe, getIframe } = useIframe(clientUrl, async () => {
88
89
 
89
90
  // Picture-in-Picture mode
90
91
  const { popup } = usePiPMode(getIframe, hook)
92
+ const { overlayVisible, name: componentName, bounds, highlight, unHighlight } = useHighlightComponent()
91
93
 
92
94
  async function setupClient(iframe: HTMLIFrameElement) {
93
95
  const injection: any = iframe?.contentWindow?.__VUE_DEVTOOLS_VIEW__
@@ -114,6 +116,10 @@ async function setupClient(iframe: HTMLIFrameElement) {
114
116
  openInEditor: openInEditor.value ?? (() => {
115
117
  warn('Unable to load inspector, open-in-editor is not available.')
116
118
  }),
119
+ componentInspector: {
120
+ highlight,
121
+ unHighlight,
122
+ },
117
123
  })
118
124
  }
119
125
 
@@ -276,6 +282,8 @@ collectHookBuffer()
276
282
  :view-mode="panelState.viewMode"
277
283
  />
278
284
  </div>
285
+ <!-- component inspector -->
286
+ <ComponentInspector v-if="overlayVisible" :bounds="bounds" :name="componentName" />
279
287
  </template>
280
288
 
281
289
  <style scoped>
@@ -15,6 +15,13 @@ interface DevToolsFrameState {
15
15
  closeOnOutsideClick: boolean
16
16
  }
17
17
 
18
+ interface ComponentInspectorBounds {
19
+ width: number
20
+ height: number
21
+ top: number
22
+ left: number
23
+ }
24
+
18
25
  // ---- state ----
19
26
  export const PANEL_PADDING = 10
20
27
  export const PANEL_MIN = 20
@@ -435,3 +442,36 @@ export function usePosition(panelEl: Ref<HTMLElement | undefined>) {
435
442
  iframeStyle,
436
443
  }
437
444
  }
445
+
446
+ // ---- useHighlightComponent ----
447
+
448
+ export function useHighlightComponent() {
449
+ const name = ref('')
450
+ const overlayVisible = ref(false)
451
+ const initialBounds = {
452
+ width: 0,
453
+ height: 0,
454
+ left: 0,
455
+ top: 0,
456
+ }
457
+ const bounds = ref<ComponentInspectorBounds>(initialBounds)
458
+
459
+ function highlight(_name: string, _bounds: ComponentInspectorBounds) {
460
+ name.value = _name
461
+ bounds.value = _bounds
462
+ overlayVisible.value = true
463
+ }
464
+
465
+ function unHighlight() {
466
+ bounds.value = initialBounds
467
+ overlayVisible.value = false
468
+ }
469
+
470
+ return {
471
+ name,
472
+ overlayVisible,
473
+ bounds,
474
+ highlight,
475
+ unHighlight,
476
+ }
477
+ }