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.
- package/README.md +85 -2
- package/dist/client/assets/{VCard-2c64c235.js → VCard-bd163775.js} +1 -1
- 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
- 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
- package/dist/client/assets/{VPanelGrids-258e71bf.js → VPanelGrids-aa63351b.js} +1 -1
- 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
- package/dist/client/assets/{__inspecting-ac0f47cd.js → __inspecting-286ae191.js} +2 -2
- package/dist/client/assets/{assets-16670a42.js → assets-cd4715cf.js} +7 -7
- package/dist/client/assets/{components-d61f66d3.js → components-9972c4c4.js} +38 -8
- package/dist/client/assets/{graph-06e5c153.js → graph-57712452.js} +3 -2
- package/dist/client/assets/{index-ecdbdbf3.js → index-46e82560.js} +121 -37
- package/dist/client/assets/{inspect-debc5551.js → inspect-78d7aad4.js} +2 -2
- package/dist/client/assets/{overview-8074b6b6.js → overview-b595f4c8.js} +4 -4
- package/dist/client/assets/{pages-8bbcb7f6.js → pages-d2cd252f.js} +4 -4
- package/dist/client/assets/{pinia-704b2690.js → pinia-663071c7.js} +9 -8
- package/dist/client/assets/{routes-2f7ef553.js → routes-4ac43e84.js} +5 -5
- package/dist/client/assets/{rpc-ff946cbe.js → rpc-b3f8e657.js} +1 -1
- package/dist/client/assets/{settings-0b0be9f6.js → settings-56399403.js} +3 -3
- package/dist/client/assets/{splitpanes.es-aae37be3.js → splitpanes.es-39cc6ffd.js} +8 -9
- package/dist/client/assets/timeline-3b917d7d.js +1500 -0
- package/dist/client/assets/timeline-b315b2e0.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +19 -14
- package/src/node/Container.vue +1 -0
- 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-
|
|
2
|
-
import {
|
|
3
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
2
|
-
import {
|
|
3
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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
|
|
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 =
|
|
37
|
-
const getters =
|
|
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:
|
|
44
|
+
value: unref(state)
|
|
44
45
|
},
|
|
45
46
|
hasGetters && {
|
|
46
47
|
key: "getters",
|
|
47
|
-
value:
|
|
48
|
+
value: unref(getters)
|
|
48
49
|
}
|
|
49
50
|
].filter(Boolean);
|
|
50
51
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import {
|
|
4
|
-
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-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-
|
|
2
|
-
import {
|
|
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:
|
|
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
|
-
|
|
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
|
-
])
|
|
374
|
+
], 512), [
|
|
375
|
+
[vShow, unref(isExpanded)]
|
|
376
|
+
])
|
|
378
377
|
]);
|
|
379
378
|
};
|
|
380
379
|
}
|