vite-plugin-vue-devtools 0.0.1 → 0.0.3

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 (21) hide show
  1. package/dist/client/assets/{VCard-1d26a3c3.js → VCard-13907a46.js} +1 -1
  2. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-06188541.js → VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js} +1 -1
  3. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js → VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js} +1 -1
  4. package/dist/client/assets/{VPanelGrids-0d71921d.js → VPanelGrids-a4608de3.js} +1 -1
  5. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-38328457.js → VTextInput.vue_vue_type_script_setup_true_lang-cb2bd7f3.js} +3 -3
  6. package/dist/client/assets/{__inspecting-b04290ae.js → __inspecting-b4c46d4c.js} +2 -2
  7. package/dist/client/assets/{assets-e0c8ff78.js → assets-91d26c5a.js} +7 -7
  8. package/dist/client/assets/{components-9660e7aa.js → components-82bf5bc7.js} +5 -5
  9. package/dist/client/assets/{graph-b29c71b4.js → graph-f1653469.js} +2 -2
  10. package/dist/client/assets/{index-d9de2c94.js → index-b6d93299.js} +86 -37
  11. package/dist/client/assets/{inspect-56184e71.js → inspect-6024fe00.js} +2 -2
  12. package/dist/client/assets/{overview-c580d40f.js → overview-287c2c9c.js} +4 -4
  13. package/dist/client/assets/{pages-ec3d53ab.js → pages-414480b4.js} +4 -4
  14. package/dist/client/assets/{pinia-8b81a9d8.js → pinia-3952f28a.js} +11 -10
  15. package/dist/client/assets/{routes-f600cbfa.js → routes-736ebb1f.js} +5 -5
  16. package/dist/client/assets/{rpc-80e3af11.js → rpc-dc061b6e.js} +1 -1
  17. package/dist/client/assets/{settings-0c6220b2.js → settings-c0ffed60.js} +3 -3
  18. package/dist/client/assets/{splitpanes.es-8cd9ad22.js → splitpanes.es-fe752aba.js} +13 -10
  19. package/dist/client/assets/{timeline-79d66fc7.js → timeline-cda2b315.js} +5 -5
  20. package/dist/client/index.html +1 -1
  21. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { aE as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d9de2c94.js';
1
+ import { aF as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-b6d93299.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-d9de2c94.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-b6d93299.js';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "VIcon",
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-d9de2c94.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-b6d93299.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -1,4 +1,4 @@
1
- import { aE as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d9de2c94.js';
1
+ import { aF as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-b6d93299.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
2
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
3
- import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, b as resolveDirective, R as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aE as _export_sfc, aF as vModelDynamic, k as mergeProps, M as isRef } from './index-d9de2c94.js';
1
+ import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js';
2
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
3
+ import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, b as resolveDirective, R as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aF as _export_sfc, aG as vModelDynamic, k as mergeProps, M as isRef } from './index-b6d93299.js';
4
4
 
5
5
  const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
6
6
  const _hoisted_1$1 = ["open"];
@@ -1,5 +1,5 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
2
- import { v as defineComponent, aH as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aI as useDevtoolsClient } from './index-d9de2c94.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-a4608de3.js';
2
+ import { v as defineComponent, aI as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aJ as useDevtoolsClient } from './index-b6d93299.js';
3
3
 
4
4
  const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,11 +1,11 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
2
- import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
3
- import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
4
- import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, a0 as ref, ax as useElementSize, ay as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, z as unref, g as createCommentVNode, az as Transition, a1 as computed, y as toDisplayString, q as normalizeClass, aA as useStyleTag, l as normalizeStyle, aB as computedAsync, aC as useTimeAgo, F as Fragment, R as createTextVNode, _ as _sfc_main$b, aD as onKeyDown, M as isRef, i as renderList } from './index-d9de2c94.js';
5
- import { r as rpc } from './rpc-80e3af11.js';
6
- import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-38328457.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-a4608de3.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-13907a46.js';
3
+ import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
4
+ import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, a0 as ref, ay as useElementSize, az as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, z as unref, g as createCommentVNode, aA as Transition, a1 as computed, y as toDisplayString, q as normalizeClass, aB as useStyleTag, l as normalizeStyle, aC as computedAsync, aD as useTimeAgo, F as Fragment, R as createTextVNode, _ as _sfc_main$b, aE as onKeyDown, M as isRef, i as renderList } from './index-b6d93299.js';
5
+ import { r as rpc } from './rpc-dc061b6e.js';
6
+ import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-cb2bd7f3.js';
7
7
  import { F as Fuse } from './fuse.esm-c317b696.js';
8
- import './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
8
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js';
9
9
 
10
10
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11
11
  __name: "VIconButton",
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
2
- import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
3
- import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-8cd9ad22.js';
4
- import { ak as getInstanceName, al as classify, am as kebabize, an as isFragment, ao as camelize, ap as returnError, aq as isBeingDestroyed, ar as getUniqueComponentId, as as getRenderKey, a0 as ref, at as shallowRef, a1 as computed, v as defineComponent, r as resolveComponent, o as openBlock, e as createElementBlock, x as createBaseVNode, z as unref, c as createBlock, q as normalizeClass, y as toDisplayString, l as normalizeStyle, F as Fragment, i as renderList, g as createCommentVNode, A as onMounted, au as onVueInstanceUpdate, u as createVNode, h as withCtx, ad as reactive, av as instance } from './index-d9de2c94.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-a4608de3.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-13907a46.js';
3
+ import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-fe752aba.js';
4
+ import { aj as getInstanceName, ak as classify, al as kebabize, am as isFragment, an as camelize, ao as returnError, ap as isBeingDestroyed, aq as getUniqueComponentId, ar as getRenderKey, a0 as ref, as as shallowRef, a1 as computed, v as defineComponent, r as resolveComponent, o as openBlock, e as createElementBlock, x as createBaseVNode, z as unref, c as createBlock, q as normalizeClass, y as toDisplayString, l as normalizeStyle, F as Fragment, i as renderList, g as createCommentVNode, A as onMounted, at as onVueInstanceUpdate, u as createVNode, h as withCtx, ac as reactive, au as instance } from './index-b6d93299.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
6
6
 
7
7
  class ComponentFilter {
8
8
  filter;
@@ -1,6 +1,6 @@
1
- import { a0 as ref, ag as useStorage, a1 as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ah as vModelText, z as unref, x as createBaseVNode, M as isRef, N as vModelCheckbox, ai as useDark, A as onMounted, aj as watch, u as createVNode } from './index-d9de2c94.js';
1
+ import { a0 as ref, af as useStorage, a1 as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ag as vModelText, z as unref, x as createBaseVNode, M as isRef, N as vModelCheckbox, ah as useDark, A as onMounted, ai as watch, u as createVNode } from './index-b6d93299.js';
2
2
  import { F as Fuse } from './fuse.esm-c317b696.js';
3
- import { r as rpc } from './rpc-80e3af11.js';
3
+ import { r as rpc } from './rpc-dc061b6e.js';
4
4
 
5
5
  const list = ref(await rpc.componentGraph());
6
6
  const searchText = useStorage("vite-inspect-search-text", "");
@@ -6979,6 +6979,48 @@ const withKeys = (fn, modifiers) => {
6979
6979
  };
6980
6980
  };
6981
6981
 
6982
+ const vShow = {
6983
+ beforeMount(el, { value }, { transition }) {
6984
+ el._vod = el.style.display === 'none' ? '' : el.style.display;
6985
+ if (transition && value) {
6986
+ transition.beforeEnter(el);
6987
+ }
6988
+ else {
6989
+ setDisplay(el, value);
6990
+ }
6991
+ },
6992
+ mounted(el, { value }, { transition }) {
6993
+ if (transition && value) {
6994
+ transition.enter(el);
6995
+ }
6996
+ },
6997
+ updated(el, { value, oldValue }, { transition }) {
6998
+ if (!value === !oldValue)
6999
+ return;
7000
+ if (transition) {
7001
+ if (value) {
7002
+ transition.beforeEnter(el);
7003
+ setDisplay(el, true);
7004
+ transition.enter(el);
7005
+ }
7006
+ else {
7007
+ transition.leave(el, () => {
7008
+ setDisplay(el, false);
7009
+ });
7010
+ }
7011
+ }
7012
+ else {
7013
+ setDisplay(el, value);
7014
+ }
7015
+ },
7016
+ beforeUnmount(el, { value }) {
7017
+ setDisplay(el, value);
7018
+ }
7019
+ };
7020
+ function setDisplay(el, value) {
7021
+ el.style.display = value ? el._vod : 'none';
7022
+ }
7023
+
6982
7024
  const rendererOptions = /*#__PURE__*/ extend({ patchProp }, nodeOps);
6983
7025
  // lazy create the renderer - this makes core renderer logic tree-shakable
6984
7026
  // in case the user only imports reactivity utilities from Vue.
@@ -12734,12 +12776,6 @@ function toRef(...args) {
12734
12776
  return typeof r === "function" ? readonly(customRef(() => ({ get: r, set: noop }))) : ref(r);
12735
12777
  }
12736
12778
 
12737
- function reactivePick(obj, ...keys) {
12738
- const flatKeys = keys.flat();
12739
- const predicate = flatKeys[0];
12740
- return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));
12741
- }
12742
-
12743
12779
  var __defProp$9 = Object.defineProperty;
12744
12780
  var __defProps$7 = Object.defineProperties;
12745
12781
  var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
@@ -14121,17 +14157,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14121
14157
 
14122
14158
  /* Injected with object hook! */
14123
14159
 
14124
- const __pages_import_0__ = () => __vitePreload(() => import('./timeline-79d66fc7.js'),true?["./timeline-79d66fc7.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
14125
- const __pages_import_1__ = () => __vitePreload(() => import('./settings-0c6220b2.js'),true?["./settings-0c6220b2.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js"]:void 0,import.meta.url);
14126
- const __pages_import_2__ = () => __vitePreload(() => import('./routes-f600cbfa.js'),true?["./routes-f600cbfa.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
14127
- const __pages_import_3__ = () => __vitePreload(() => import('./pinia-8b81a9d8.js'),true?["./pinia-8b81a9d8.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
14128
- const __pages_import_4__ = () => __vitePreload(() => import('./pages-ec3d53ab.js'),true?["./pages-ec3d53ab.js","./VTextInput.vue_vue_type_script_setup_true_lang-38328457.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
14129
- const __pages_import_5__ = () => __vitePreload(() => import('./overview-c580d40f.js'),true?["./overview-c580d40f.js","./VPanelGrids-0d71921d.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
14130
- const __pages_import_6__ = () => __vitePreload(() => import('./inspect-56184e71.js'),true?["./inspect-56184e71.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
14131
- const __pages_import_8__ = () => __vitePreload(() => import('./graph-b29c71b4.js'),true?["./graph-b29c71b4.js","./fuse.esm-c317b696.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
14132
- const __pages_import_9__ = () => __vitePreload(() => import('./components-9660e7aa.js'),true?["./components-9660e7aa.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
14133
- const __pages_import_10__ = () => __vitePreload(() => import('./assets-e0c8ff78.js'),true?["./assets-e0c8ff78.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./rpc-80e3af11.js","./VTextInput.vue_vue_type_script_setup_true_lang-38328457.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14134
- const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-b04290ae.js'),true?["./__inspecting-b04290ae.js","./VPanelGrids-0d71921d.js"]:void 0,import.meta.url);
14160
+ const __pages_import_0__ = () => __vitePreload(() => import('./timeline-cda2b315.js'),true?["./timeline-cda2b315.js","./splitpanes.es-fe752aba.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js","./VPanelGrids-a4608de3.js","./VCard-13907a46.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
14161
+ const __pages_import_1__ = () => __vitePreload(() => import('./settings-c0ffed60.js'),true?["./settings-c0ffed60.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js","./VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js"]:void 0,import.meta.url);
14162
+ const __pages_import_2__ = () => __vitePreload(() => import('./routes-736ebb1f.js'),true?["./routes-736ebb1f.js","./VPanelGrids-a4608de3.js","./VCard-13907a46.js","./splitpanes.es-fe752aba.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js"]:void 0,import.meta.url);
14163
+ const __pages_import_3__ = () => __vitePreload(() => import('./pinia-3952f28a.js'),true?["./pinia-3952f28a.js","./splitpanes.es-fe752aba.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js"]:void 0,import.meta.url);
14164
+ const __pages_import_4__ = () => __vitePreload(() => import('./pages-414480b4.js'),true?["./pages-414480b4.js","./VTextInput.vue_vue_type_script_setup_true_lang-cb2bd7f3.js","./VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
14165
+ const __pages_import_5__ = () => __vitePreload(() => import('./overview-287c2c9c.js'),true?["./overview-287c2c9c.js","./VPanelGrids-a4608de3.js","./rpc-dc061b6e.js"]:void 0,import.meta.url);
14166
+ const __pages_import_6__ = () => __vitePreload(() => import('./inspect-6024fe00.js'),true?["./inspect-6024fe00.js","./rpc-dc061b6e.js"]:void 0,import.meta.url);
14167
+ const __pages_import_8__ = () => __vitePreload(() => import('./graph-f1653469.js'),true?["./graph-f1653469.js","./fuse.esm-c317b696.js","./rpc-dc061b6e.js"]:void 0,import.meta.url);
14168
+ const __pages_import_9__ = () => __vitePreload(() => import('./components-82bf5bc7.js'),true?["./components-82bf5bc7.js","./VPanelGrids-a4608de3.js","./VCard-13907a46.js","./splitpanes.es-fe752aba.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js"]:void 0,import.meta.url);
14169
+ const __pages_import_10__ = () => __vitePreload(() => import('./assets-91d26c5a.js'),true?["./assets-91d26c5a.js","./VPanelGrids-a4608de3.js","./VCard-13907a46.js","./VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js","./rpc-dc061b6e.js","./VTextInput.vue_vue_type_script_setup_true_lang-cb2bd7f3.js","./VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14170
+ const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-b4c46d4c.js'),true?["./__inspecting-b4c46d4c.js","./VPanelGrids-a4608de3.js"]:void 0,import.meta.url);
14135
14171
 
14136
14172
  const routes$1 = [{"name":"timeline","path":"/timeline","component":__pages_import_0__,"props":true},{"name":"settings","path":"/settings","component":__pages_import_1__,"props":true},{"name":"routes","path":"/routes","component":__pages_import_2__,"props":true},{"name":"pinia","path":"/pinia","component":__pages_import_3__,"props":true},{"name":"pages","path":"/pages","component":__pages_import_4__,"props":true},{"name":"overview","path":"/overview","component":__pages_import_5__,"props":true},{"name":"inspect","path":"/inspect","component":__pages_import_6__,"props":true},{"name":"index","path":"/","component":_sfc_main$6,"props":true},{"name":"graph","path":"/graph","component":__pages_import_8__,"props":true},{"name":"components","path":"/components","component":__pages_import_9__,"props":true},{"name":"assets","path":"/assets","component":__pages_import_10__,"props":true},{"name":"__inspecting","path":"/__inspecting","component":__pages_import_11__,"props":true}];
14137
14173
  /* Injected with object hook! */
@@ -14870,8 +14906,9 @@ function initPerfTimeline(events) {
14870
14906
  const LAYER_ID$1 = "pinia";
14871
14907
  const piniaVisible = ref(false);
14872
14908
  const stores = ref();
14873
- const subscribes = ref([]);
14874
- const piniaStoresId = ref(["🍍 Pinia (root)"]);
14909
+ const subscribes = ref({});
14910
+ const piniaStoresId = ref([]);
14911
+ const piniaStoresCategory = computed(() => ["🍍 Pinia (root)", ...piniaStoresId.value.sort()]);
14875
14912
  const piniaState = ref({});
14876
14913
  const piniaGetters = ref({});
14877
14914
  function formatEventData(events) {
@@ -14966,7 +15003,10 @@ function subscribeStore(store) {
14966
15003
  });
14967
15004
  });
14968
15005
  }, true);
14969
- subscribes.value.push(action);
15006
+ if (subscribes.value[store.$id])
15007
+ subscribes.value[store.$id].push(action);
15008
+ else
15009
+ subscribes.value[store.$id] = [action];
14970
15010
  store._customProperties.forEach((name) => {
14971
15011
  const stop = watch(
14972
15012
  () => unref(store[name]),
@@ -14987,7 +15027,7 @@ function subscribeStore(store) {
14987
15027
  },
14988
15028
  { deep: true }
14989
15029
  );
14990
- subscribes.value.push(stop);
15030
+ subscribes.value[store.$id].push(stop);
14991
15031
  });
14992
15032
  const subscribe = store.$subscribe(
14993
15033
  ({ events, type }, state) => {
@@ -15013,7 +15053,7 @@ function subscribeStore(store) {
15013
15053
  },
15014
15054
  { detached: true, flush: "sync" }
15015
15055
  );
15016
- subscribes.value.push(subscribe);
15056
+ subscribes.value[store.$id].push(subscribe);
15017
15057
  store._hotUpdate = markRaw((newStore) => {
15018
15058
  timeApi.addTimelineEvent({
15019
15059
  layerId: LAYER_ID$1,
@@ -15032,6 +15072,15 @@ function subscribeStore(store) {
15032
15072
  }
15033
15073
  function normalizePiniaInfo() {
15034
15074
  Object.values(stores.value)?.forEach((store) => {
15075
+ let insertIndex = -1;
15076
+ if (piniaStoresId.value.includes(store.$id)) {
15077
+ subscribes.value[store.$id].forEach((stop) => stop());
15078
+ subscribes.value[store.$id] = [];
15079
+ delete piniaState.value[store.$id];
15080
+ delete piniaGetters.value[store.$id];
15081
+ insertIndex = piniaStoresId.value.indexOf(store.$id);
15082
+ piniaStoresId.value.splice(insertIndex, 1);
15083
+ }
15035
15084
  const state = store._isOptionsAPI ? toRaw(store.$state) : Object.keys(store.$state).reduce((state2, key) => {
15036
15085
  state2[key] = store.$state[key];
15037
15086
  return state2;
@@ -15043,25 +15092,23 @@ function normalizePiniaInfo() {
15043
15092
  return getters;
15044
15093
  }, {});
15045
15094
  }
15046
- piniaStoresId.value.push(store.$id);
15095
+ if (insertIndex)
15096
+ piniaStoresId.value.splice(insertIndex, 0, store.$id);
15097
+ else
15098
+ piniaStoresId.value.push(store.$id);
15047
15099
  subscribeStore(store);
15048
15100
  });
15049
15101
  }
15050
15102
  function updatePinia(component) {
15103
+ const proxy = component?.proxy;
15104
+ const _stores = proxy?._pStores;
15105
+ if (!_stores)
15106
+ return;
15051
15107
  stores.value = null;
15052
- subscribes.value.forEach((stop) => stop());
15053
- subscribes.value = [];
15054
- piniaState.value = {};
15055
- piniaGetters.value = {};
15056
- piniaStoresId.value = ["🍍 Pinia (root)"];
15057
15108
  nextTick(() => {
15058
- const proxy = component?.proxy;
15059
- const _stores = proxy?._pStores;
15060
15109
  piniaVisible.value = !!_stores;
15061
- if (_stores) {
15062
- stores.value = _stores;
15063
- normalizePiniaInfo();
15064
- }
15110
+ stores.value = _stores;
15111
+ normalizePiniaInfo();
15065
15112
  });
15066
15113
  }
15067
15114
  function initPinia() {
@@ -15135,6 +15182,7 @@ function produceHook() {
15135
15182
  return !app || typeof uid !== "number" && !uid || !component || hideInDevtools(component);
15136
15183
  }
15137
15184
  hook.on("component:updated" /* COMPONENT_UPDATED */, (app, uid, parentUid, component) => {
15185
+ updatePinia(component);
15138
15186
  if (skipCollect(app, uid, component))
15139
15187
  return;
15140
15188
  updateApp(app, component);
@@ -15146,11 +15194,13 @@ function produceHook() {
15146
15194
  updateApp(app, component);
15147
15195
  });
15148
15196
  hook.on("component:removed" /* COMPONENT_REMOVED */, (app, uid, parentUid, component) => {
15197
+ updatePinia(component);
15149
15198
  if (skipCollect(app, uid, component))
15150
15199
  return;
15151
15200
  updateApp(app, component);
15152
15201
  });
15153
15202
  hook.on("component:emit" /* COMPONENT_EMIT */, (app, uid, parentUid, component) => {
15203
+ updatePinia(component);
15154
15204
  if (skipCollect(app, uid, component))
15155
15205
  return;
15156
15206
  updateApp(app, component);
@@ -15158,8 +15208,7 @@ function produceHook() {
15158
15208
  }
15159
15209
  function ConsumeHook(buffer) {
15160
15210
  buffer.forEach(([eventType, { app, component }]) => {
15161
- if (eventType === "component:added" /* COMPONENT_ADDED */)
15162
- updatePinia(component);
15211
+ updatePinia(component);
15163
15212
  updateApp(app, component);
15164
15213
  });
15165
15214
  }
@@ -15433,4 +15482,4 @@ app.mount("#app");
15433
15482
 
15434
15483
  /* Injected with object hook! */
15435
15484
 
15436
- export { __unplugin_components_1 as $, onMounted as A, onUnmounted as B, timelineLayer as C, activeTimelineEvents as D, activeTimelineEventIndex as E, Fragment as F, toggleTimelineEventIndex as G, timelineEventDetails as H, activeLayerId as I, toggleTimelineLayer as J, useVModel as K, vModelSelect as L, isRef as M, vModelCheckbox as N, withKeys as O, useTabs as P, useCategorizedTabs as Q, createTextVNode as R, useDevToolsSettings as S, _sfc_main$3 as T, _sfc_main$5 as U, router$1 as V, routeRecordMatcherState as W, activeRouteRecordMatcherState as X, activeRouteRecordIndex as Y, toggleRouteRecordMatcher as Z, _sfc_main$9 as _, popScopeId as a, ref as a0, computed as a1, piniaStoresId as a2, reactivePick as a3, toRaw as a4, piniaState as a5, piniaGetters as a6, withModifiers as a7, currentRoute as a8, routes as a9, useStyleTag as aA, computedAsync as aB, useTimeAgo as aC, onKeyDown as aD, _export_sfc as aE, vModelDynamic as aF, __vitePreload as aG, useEventListener as aH, useDevtoolsClient as aI, vueVersion as aa, __unplugin_components_0 as ab, useColorMode as ac, reactive as ad, useElementBounding as ae, watchEffect as af, useStorage as ag, vModelText as ah, useDark as ai, watch as aj, getInstanceName as ak, classify as al, kebabize as am, isFragment as an, camelize as ao, returnError as ap, isBeingDestroyed as aq, getUniqueComponentId as ar, getRenderKey as as, shallowRef as at, onVueInstanceUpdate as au, instance as av, h as aw, useElementSize as ax, onClickOutside as ay, Transition as az, resolveDirective as b, createBlock as c, withDirectives as d, createElementBlock as e, renderSlot as f, createCommentVNode as g, withCtx as h, renderList as i, resolveDynamicComponent as j, mergeProps as k, normalizeStyle as l, markRaw as m, nextTick as n, openBlock as o, pushScopeId as p, normalizeClass as q, resolveComponent as r, shallowReactive as s, toHandlers as t, createVNode as u, defineComponent as v, withScopeId as w, createBaseVNode as x, toDisplayString as y, unref as z };
15485
+ export { __unplugin_components_1 as $, onMounted as A, onUnmounted as B, timelineLayer as C, activeTimelineEvents as D, activeTimelineEventIndex as E, Fragment as F, toggleTimelineEventIndex as G, timelineEventDetails as H, activeLayerId as I, toggleTimelineLayer as J, useVModel as K, vModelSelect as L, isRef as M, vModelCheckbox as N, withKeys as O, useTabs as P, useCategorizedTabs as Q, createTextVNode as R, useDevToolsSettings as S, _sfc_main$3 as T, _sfc_main$5 as U, router$1 as V, routeRecordMatcherState as W, activeRouteRecordMatcherState as X, activeRouteRecordIndex as Y, toggleRouteRecordMatcher as Z, _sfc_main$9 as _, popScopeId as a, ref as a0, computed as a1, piniaStoresCategory as a2, toRaw as a3, piniaState as a4, piniaGetters as a5, withModifiers as a6, currentRoute as a7, routes as a8, vueVersion as a9, Transition as aA, useStyleTag as aB, computedAsync as aC, useTimeAgo as aD, onKeyDown as aE, _export_sfc as aF, vModelDynamic as aG, __vitePreload as aH, useEventListener as aI, useDevtoolsClient as aJ, __unplugin_components_0 as aa, useColorMode as ab, reactive as ac, useElementBounding as ad, watchEffect as ae, useStorage as af, vModelText as ag, useDark as ah, watch as ai, getInstanceName as aj, classify as ak, kebabize as al, isFragment as am, camelize as an, returnError as ao, isBeingDestroyed as ap, getUniqueComponentId as aq, getRenderKey as ar, shallowRef as as, onVueInstanceUpdate as at, instance as au, nanoid as av, vShow as aw, h as ax, useElementSize as ay, onClickOutside as az, resolveDirective as b, createBlock as c, withDirectives as d, createElementBlock as e, renderSlot as f, createCommentVNode as g, withCtx as h, renderList as i, resolveDynamicComponent as j, mergeProps as k, normalizeStyle as l, markRaw as m, nextTick as n, openBlock as o, pushScopeId as p, normalizeClass as q, resolveComponent as r, shallowReactive as s, toHandlers as t, createVNode as u, defineComponent as v, withScopeId as w, createBaseVNode as x, toDisplayString as y, unref as z };
@@ -1,5 +1,5 @@
1
- import { v as defineComponent, ac as useColorMode, a0 as ref, a1 as computed, ad as reactive, ae as useElementBounding, A as onMounted, n as nextTick, af as watchEffect, B as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-d9de2c94.js';
2
- import { i as inspectClientUrl } from './rpc-80e3af11.js';
1
+ import { v as defineComponent, ab as useColorMode, a0 as ref, a1 as computed, ac as reactive, ad as useElementBounding, A as onMounted, n as nextTick, ae as watchEffect, B as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-b6d93299.js';
2
+ import { i as inspectClientUrl } from './rpc-dc061b6e.js';
3
3
 
4
4
  const iframeCacheMap = /* @__PURE__ */ new Map();
5
5
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0$1 } from './VPanelGrids-0d71921d.js';
2
- import { a0 as ref, a1 as computed, a9 as routes, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, aa as vueVersion, R as createTextVNode, e as createElementBlock, F as Fragment, ab as __unplugin_components_0, $ as __unplugin_components_1, r as resolveComponent, _ as _sfc_main$1 } from './index-d9de2c94.js';
3
- import { r as rpc } from './rpc-80e3af11.js';
1
+ import { _ as __unplugin_components_0$1 } from './VPanelGrids-a4608de3.js';
2
+ import { a0 as ref, a1 as computed, a8 as routes, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, a9 as vueVersion, R as createTextVNode, e as createElementBlock, F as Fragment, aa as __unplugin_components_0, $ as __unplugin_components_1, r as resolveComponent, _ as _sfc_main$1 } from './index-b6d93299.js';
3
+ import { r as rpc } from './rpc-dc061b6e.js';
4
4
 
5
- const version = "0.0.1";
5
+ const version = "0.0.3";
6
6
 
7
7
  /* Injected with object hook! */
8
8
 
@@ -1,7 +1,7 @@
1
- import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-38328457.js';
2
- import { v as defineComponent, a0 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, a7 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, R as createTextVNode, q as normalizeClass, _ as _sfc_main$4, $ as __unplugin_components_1, A as onMounted, a8 as currentRoute, V as router, M as isRef, O as withKeys, a9 as routes } from './index-d9de2c94.js';
3
- import './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
4
- import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
1
+ import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-cb2bd7f3.js';
2
+ import { v as defineComponent, a0 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, a6 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, R as createTextVNode, q as normalizeClass, _ as _sfc_main$4, $ as __unplugin_components_1, A as onMounted, a7 as currentRoute, V as router, M as isRef, O as withKeys, a8 as routes } from './index-b6d93299.js';
3
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.js';
4
+ import './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
5
5
 
6
6
  const _hoisted_1$2 = {
7
7
  block: "",
@@ -1,6 +1,6 @@
1
- import { g, M, _ as _sfc_main$1 } from './splitpanes.es-8cd9ad22.js';
2
- import { v as defineComponent, a0 as ref, a1 as computed, a2 as piniaStoresId, a3 as reactivePick, 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-d9de2c94.js';
3
- import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
1
+ import { g, M, _ as _sfc_main$1 } from './splitpanes.es-fe752aba.js';
2
+ import { v as defineComponent, a0 as ref, a1 as computed, a2 as piniaStoresCategory, a3 as toRaw, a4 as piniaState, a5 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-b6d93299.js';
3
+ import './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
4
4
 
5
5
  const _hoisted_1 = {
6
6
  "h-screen": "",
@@ -26,25 +26,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  __name: "pinia",
27
27
  setup(__props) {
28
28
  const activeIndex = ref(0);
29
- const omitStoreId = computed(() => {
30
- return activeIndex.value === 0 ? "" : piniaStoresId.value[activeIndex.value];
29
+ const pickStoreId = computed(() => {
30
+ return activeIndex.value === 0 ? "" : piniaStoresCategory.value[activeIndex.value];
31
31
  });
32
32
  function select(index) {
33
33
  activeIndex.value = index;
34
34
  }
35
+ const pick = (obj, keys) => keys.reduce((pre, cur) => (cur in obj && (pre[cur] = obj[cur]), pre), {});
35
36
  const data = computed(() => {
36
- const state = omitStoreId.value ? reactivePick(toRaw(piniaState.value), omitStoreId.value) : piniaState.value;
37
- const getters = omitStoreId.value ? reactivePick(toRaw(piniaGetters.value), omitStoreId.value) : piniaGetters.value;
37
+ const state = pickStoreId.value ? pick(toRaw(piniaState.value), [pickStoreId.value]) : piniaState.value;
38
+ const getters = pickStoreId.value ? pick(toRaw(piniaGetters.value), [pickStoreId.value]) : piniaGetters.value;
38
39
  const hasState = Object.values(unref(state)).some((item) => item !== void 0);
39
40
  const hasGetters = Object.values(unref(getters)).some((item) => item !== void 0);
40
41
  return [
41
42
  hasState && {
42
43
  key: "state",
43
- value: toRaw(state)
44
+ value: unref(state)
44
45
  },
45
46
  hasGetters && {
46
47
  key: "getters",
47
- value: toRaw(getters)
48
+ value: unref(getters)
48
49
  }
49
50
  ].filter(Boolean);
50
51
  });
@@ -56,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
57
  createVNode(unref(g), { border: "r base" }, {
57
58
  default: withCtx(() => [
58
59
  createBaseVNode("div", _hoisted_2, [
59
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(piniaStoresId), (item, index) => {
60
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(piniaStoresCategory), (item, index) => {
60
61
  return openBlock(), createElementBlock("div", {
61
62
  key: index,
62
63
  "vue-block": "",
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
2
- import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
3
- import { v as defineComponent, z as unref, V as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, W as routeRecordMatcherState, X as activeRouteRecordMatcherState, c as createBlock, U as _sfc_main$2, q as normalizeClass, Y as activeRouteRecordIndex, Z as toggleRouteRecordMatcher, R as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, $ as __unplugin_components_1 } from './index-d9de2c94.js';
4
- import { g, M, _ as _sfc_main$1 } from './splitpanes.es-8cd9ad22.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-a4608de3.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-13907a46.js';
3
+ import { v as defineComponent, z as unref, V as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, W as routeRecordMatcherState, X as activeRouteRecordMatcherState, c as createBlock, U as _sfc_main$2, q as normalizeClass, Y as activeRouteRecordIndex, Z as toggleRouteRecordMatcher, R as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, $ as __unplugin_components_1 } from './index-b6d93299.js';
4
+ import { g, M, _ as _sfc_main$1 } from './splitpanes.es-fe752aba.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
6
6
 
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -1,4 +1,4 @@
1
- import { aG as __vitePreload } from './index-d9de2c94.js';
1
+ import { aH as __vitePreload } from './index-b6d93299.js';
2
2
 
3
3
  const DEFAULT_TIMEOUT = 6e4;
4
4
  function defaultSerialize(i) {
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
2
- import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, L as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, M as isRef, c as createBlock, N as vModelCheckbox, O as withKeys, P as useTabs, Q as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, R as createTextVNode, S as useDevToolsSettings, _ as _sfc_main$5, T as _sfc_main$6, q as normalizeClass, U as _sfc_main$7 } from './index-d9de2c94.js';
3
- import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
2
+ import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, L as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, M as isRef, c as createBlock, N as vModelCheckbox, O as withKeys, P as useTabs, Q as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, R as createTextVNode, S as useDevToolsSettings, _ as _sfc_main$5, T as _sfc_main$6, q as normalizeClass, U as _sfc_main$7 } from './index-b6d93299.js';
3
+ import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-52a154e6.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,5 +1,5 @@
1
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
2
- import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, M as isRef, a4 as toRaw, a1 as computed, r as resolveComponent, e as createElementBlock, i as renderList, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, z as unref, F as Fragment, a0 as ref, u as createVNode, aw as h, f as renderSlot, l as normalizeStyle } from './index-d9de2c94.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
2
+ import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, M as isRef, a3 as toRaw, a1 as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, av as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a0 as ref, u as createVNode, d as withDirectives, aw as vShow, ax as h, f as renderSlot, l as normalizeStyle } from './index-b6d93299.js';
3
3
 
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "VExpandIcon",
@@ -266,7 +266,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
266
266
  const key = k;
267
267
  o[key] = formatStateType(props.data[k]);
268
268
  }
269
- return o;
269
+ const sorted = {};
270
+ Object.keys(o).sort().forEach((key) => {
271
+ sorted[key] = o[key];
272
+ });
273
+ return sorted;
270
274
  } else {
271
275
  return formatStateType("");
272
276
  }
@@ -279,7 +283,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
279
283
  const _component_StateFieldsTree = resolveComponent("StateFieldsTree", true);
280
284
  return openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (item, index) => {
281
285
  return openBlock(), createElementBlock("code", {
282
- key: index,
286
+ key: unref(nanoid)(),
283
287
  block: "",
284
288
  "select-none": "",
285
289
  "pl-2": "",
@@ -329,10 +333,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
329
333
  /* Injected with object hook! */
330
334
 
331
335
  const _hoisted_1 = { "text-primary": "" };
332
- const _hoisted_2 = {
333
- key: 0,
334
- "pl-3": ""
335
- };
336
+ const _hoisted_2 = { "pl-3": "" };
336
337
  const expandedIdCache = ref([]);
337
338
  const _sfc_main = /* @__PURE__ */ defineComponent({
338
339
  __name: "StateFields",
@@ -367,14 +368,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
367
368
  createVNode(_component_VExpandIcon, { value: unref(isExpanded) }, null, 8, ["value"]),
368
369
  createBaseVNode("span", _hoisted_1, toDisplayString(__props.data.key), 1)
369
370
  ]),
370
- unref(isExpanded) ? (openBlock(), createElementBlock("div", _hoisted_2, [
371
+ withDirectives(createBaseVNode("div", _hoisted_2, [
371
372
  createVNode(_component_StateFieldsTree, {
372
373
  id: __props.id,
373
374
  data: __props.data.value,
374
375
  "expanded-id": unref(expandedIdCache),
375
376
  onUpdateExpanded: updateExpandedIdCache
376
377
  }, null, 8, ["id", "data", "expanded-id"])
377
- ])) : createCommentVNode("", true)
378
+ ], 512), [
379
+ [vShow, unref(isExpanded)]
380
+ ])
378
381
  ]);
379
382
  };
380
383
  }
@@ -1,8 +1,8 @@
1
- import { g, M, _ as _sfc_main$2 } from './splitpanes.es-8cd9ad22.js';
2
- import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
3
- import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
4
- 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, A as onMounted, B as onUnmounted, C as timelineLayer, D as activeTimelineEvents, E as activeTimelineEventIndex, G as toggleTimelineEventIndex, H as timelineEventDetails, I as activeLayerId, J as toggleTimelineLayer } from './index-d9de2c94.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
1
+ import { g, M, _ as _sfc_main$2 } from './splitpanes.es-fe752aba.js';
2
+ import { _ as __unplugin_components_0 } from './VPanelGrids-a4608de3.js';
3
+ import { _ as __unplugin_components_7 } from './VCard-13907a46.js';
4
+ 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, A as onMounted, B as onUnmounted, C as timelineLayer, D as activeTimelineEvents, E as activeTimelineEventIndex, G as toggleTimelineEventIndex, H as timelineEventDetails, I as activeLayerId, J as toggleTimelineLayer } from './index-b6d93299.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-4c0f4564.js';
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -5,7 +5,7 @@
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-d9de2c94.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-b6d93299.js"></script>
9
9
  <link rel="stylesheet" href="./assets/index-f0fa9f81.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-vue-devtools",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "packageManager": "pnpm@8.4.0",
5
5
  "description": "A vite plugin for Vue Devtools",
6
6
  "author": "webfansplz",
@@ -65,7 +65,7 @@
65
65
  "vue-router": "^4.1.6"
66
66
  },
67
67
  "devDependencies": {
68
- "@antfu/eslint-config": "^0.38.6",
68
+ "@antfu/eslint-config": "^0.38.5",
69
69
  "@antfu/ni": "^0.21.3",
70
70
  "@iconify/json": "^2.2.61",
71
71
  "@nuxt/devtools-ui-kit": "^0.4.5",
@@ -79,7 +79,7 @@
79
79
  "codemirror": "^6.0.1",
80
80
  "codemirror-theme-vars": "^0.1.2",
81
81
  "dayjs": "^1.11.7",
82
- "eslint": "^8.40.0",
82
+ "eslint": "8.38.0",
83
83
  "fast-glob": "^3.2.12",
84
84
  "floating-vue": "2.0.0-beta.20",
85
85
  "fuse.js": "^6.6.2",