vite-plugin-vue-devtools 0.0.1-alpha.9 → 0.0.2

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 (26) hide show
  1. package/README.md +85 -2
  2. package/dist/client/assets/{VCard-2c64c235.js → VCard-bd163775.js} +1 -1
  3. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js → VIcon.vue_vue_type_script_setup_true_lang-ace21790.js} +1 -1
  4. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js → VIconTitle.vue_vue_type_script_setup_true_lang-158277be.js} +1 -1
  5. package/dist/client/assets/{VPanelGrids-258e71bf.js → VPanelGrids-aa63351b.js} +1 -1
  6. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js → VTextInput.vue_vue_type_script_setup_true_lang-f891cb2d.js} +3 -3
  7. package/dist/client/assets/{__inspecting-ac0f47cd.js → __inspecting-286ae191.js} +2 -2
  8. package/dist/client/assets/{assets-16670a42.js → assets-cd4715cf.js} +7 -7
  9. package/dist/client/assets/{components-d61f66d3.js → components-9972c4c4.js} +38 -8
  10. package/dist/client/assets/{graph-06e5c153.js → graph-57712452.js} +3 -2
  11. package/dist/client/assets/{index-ecdbdbf3.js → index-46e82560.js} +121 -37
  12. package/dist/client/assets/{inspect-debc5551.js → inspect-78d7aad4.js} +2 -2
  13. package/dist/client/assets/{overview-8074b6b6.js → overview-b595f4c8.js} +4 -4
  14. package/dist/client/assets/{pages-8bbcb7f6.js → pages-d2cd252f.js} +4 -4
  15. package/dist/client/assets/{pinia-704b2690.js → pinia-663071c7.js} +9 -8
  16. package/dist/client/assets/{routes-2f7ef553.js → routes-4ac43e84.js} +5 -5
  17. package/dist/client/assets/{rpc-ff946cbe.js → rpc-b3f8e657.js} +1 -1
  18. package/dist/client/assets/{settings-0b0be9f6.js → settings-56399403.js} +3 -3
  19. package/dist/client/assets/{splitpanes.es-aae37be3.js → splitpanes.es-39cc6ffd.js} +8 -9
  20. package/dist/client/assets/timeline-3b917d7d.js +1500 -0
  21. package/dist/client/assets/timeline-b315b2e0.css +1 -0
  22. package/dist/client/index.html +1 -1
  23. package/dist/index.d.ts +2 -2
  24. package/package.json +19 -14
  25. package/src/node/Container.vue +1 -0
  26. package/dist/client/assets/timeline-32808aaa.js +0 -209
@@ -1,7 +1,7 @@
1
- import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js';
2
- import { d as defineComponent, Q as ref, R as computed, X as resolveComponent, u as unref, o as openBlock, c as createElementBlock, e as createBaseVNode, t as toDisplayString, a as createBlock, w as withCtx, Y as withModifiers, F as Fragment, r as renderList, m as createCommentVNode, b as createVNode, E as createTextVNode, n as normalizeClass, _ as _sfc_main$4, P as __unplugin_components_1, f as onMounted, Z as currentRoute, J as router, z as isRef, B as withKeys, $ as routes } from './index-ecdbdbf3.js';
3
- import './VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js';
4
- import './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
1
+ import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-f891cb2d.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-46e82560.js';
3
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-158277be.js';
4
+ import './VIcon.vue_vue_type_script_setup_true_lang-ace21790.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-aae37be3.js';
2
- import { d as defineComponent, Q as ref, R as computed, S as piniaStoresId, T as reactivePick, U as toRaw, V as piniaState, W as piniaGetters, u as unref, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, n as normalizeClass, t as toDisplayString, a as createBlock } from './index-ecdbdbf3.js';
3
- import './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
1
+ import { g, M, _ as _sfc_main$1 } from './splitpanes.es-39cc6ffd.js';
2
+ import { v as defineComponent, a0 as ref, a1 as computed, a2 as piniaStoresId, 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-46e82560.js';
3
+ import './VIcon.vue_vue_type_script_setup_true_lang-ace21790.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(() => {
29
+ const pickStoreId = computed(() => {
30
30
  return activeIndex.value === 0 ? "" : piniaStoresId.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
  });
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-258e71bf.js';
2
- import { _ as __unplugin_components_7 } from './VCard-2c64c235.js';
3
- import { d as defineComponent, u as unref, J as router, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, K as routeRecordMatcherState, L as activeRouteRecordMatcherState, a as createBlock, I as _sfc_main$2, n as normalizeClass, M as activeRouteRecordIndex, N as toggleRouteRecordMatcher, E as createTextVNode, t as toDisplayString, O as normalizeStyle, m as createCommentVNode, P as __unplugin_components_1 } from './index-ecdbdbf3.js';
4
- import { g, M, _ as _sfc_main$1 } from './splitpanes.es-aae37be3.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-aa63351b.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-bd163775.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-46e82560.js';
4
+ import { g, M, _ as _sfc_main$1 } from './splitpanes.es-39cc6ffd.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-ace21790.js';
6
6
 
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -1,4 +1,4 @@
1
- import { aC as __vitePreload } from './index-ecdbdbf3.js';
1
+ import { aH as __vitePreload } from './index-46e82560.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-8f4aa88f.js';
2
- import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, v as renderSlot, x as withDirectives, y as vModelSelect, u as unref, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, z as isRef, a as createBlock, A as vModelCheckbox, B as withKeys, C as useTabs, D as useCategorizedTabs, b as createVNode, F as Fragment, r as renderList, w as withCtx, E as createTextVNode, G as useDevToolsSettings, _ as _sfc_main$5, H as _sfc_main$6, n as normalizeClass, I as _sfc_main$7 } from './index-ecdbdbf3.js';
3
- import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-ace21790.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-46e82560.js';
3
+ import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-158277be.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-8f4aa88f.js';
2
- import { d as defineComponent, o as openBlock, a as createBlock, n as normalizeClass, z as isRef, U as toRaw, R as computed, X as resolveComponent, c as createElementBlock, r as renderList, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, u as unref, F as Fragment, Q as ref, b as createVNode, an as h, v as renderSlot, O as normalizeStyle } from './index-ecdbdbf3.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-ace21790.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-46e82560.js';
3
3
 
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "VExpandIcon",
@@ -279,7 +279,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
279
279
  const _component_StateFieldsTree = resolveComponent("StateFieldsTree", true);
280
280
  return openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (item, index) => {
281
281
  return openBlock(), createElementBlock("code", {
282
- key: index,
282
+ key: unref(nanoid)(),
283
283
  block: "",
284
284
  "select-none": "",
285
285
  "pl-2": "",
@@ -329,10 +329,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
329
329
  /* Injected with object hook! */
330
330
 
331
331
  const _hoisted_1 = { "text-primary": "" };
332
- const _hoisted_2 = {
333
- key: 0,
334
- "pl-3": ""
335
- };
332
+ const _hoisted_2 = { "pl-3": "" };
336
333
  const expandedIdCache = ref([]);
337
334
  const _sfc_main = /* @__PURE__ */ defineComponent({
338
335
  __name: "StateFields",
@@ -367,14 +364,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
367
364
  createVNode(_component_VExpandIcon, { value: unref(isExpanded) }, null, 8, ["value"]),
368
365
  createBaseVNode("span", _hoisted_1, toDisplayString(__props.data.key), 1)
369
366
  ]),
370
- unref(isExpanded) ? (openBlock(), createElementBlock("div", _hoisted_2, [
367
+ withDirectives(createBaseVNode("div", _hoisted_2, [
371
368
  createVNode(_component_StateFieldsTree, {
372
369
  id: __props.id,
373
370
  data: __props.data.value,
374
371
  "expanded-id": unref(expandedIdCache),
375
372
  onUpdateExpanded: updateExpandedIdCache
376
373
  }, null, 8, ["id", "data", "expanded-id"])
377
- ])) : createCommentVNode("", true)
374
+ ], 512), [
375
+ [vShow, unref(isExpanded)]
376
+ ])
378
377
  ]);
379
378
  };
380
379
  }