vite-plugin-vue-devtools 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{VCard-65264b37.js → VCard-c441f774.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-5893e206.js → VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js} +1 -1
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-feb9e14f.js → VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js} +1 -1
- package/dist/client/assets/{VPanelGrids-52bb6c41.js → VPanelGrids-3484ea9d.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-b9920c67.js → VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js} +3 -3
- package/dist/client/assets/{__inspecting-d9e62132.js → __inspecting-bbaec4fe.js} +2 -2
- package/dist/client/assets/{assets-431b8987.js → assets-facbb582.js} +7 -7
- package/dist/client/assets/{components-d8f32606.js → components-dfc74ac0.js} +6 -6
- package/dist/client/assets/{graph-f44206a6.js → graph-736aa653.js} +2 -2
- package/dist/client/assets/{index-6a394992.js → index-359dd67c.js} +19 -13
- package/dist/client/assets/{index-d65e5f1d.js → index-9285098c.js} +1 -1
- package/dist/client/assets/{inspect-8a7cbbc2.js → inspect-115c7185.js} +2 -2
- package/dist/client/assets/{overview-c600a68d.js → overview-17f2d4a9.js} +5 -5
- package/dist/client/assets/{pages-ae439d07.js → pages-f46ac6f6.js} +4 -4
- package/dist/client/assets/{pinia-10180e11.js → pinia-9a9e9407.js} +4 -4
- package/dist/client/assets/{routes-1ee4f2a9.js → routes-2c268c33.js} +6 -6
- package/dist/client/assets/{rpc-21eaaba7.js → rpc-5a46e853.js} +1 -1
- package/dist/client/assets/{settings-5efa5027.js → settings-391a112a.js} +3 -3
- package/dist/client/assets/{splitpanes.es-bea176c5.js → splitpanes.es-f1d0c1c1.js} +3 -3
- package/dist/client/assets/{timeline-995617aa.js → timeline-7c8f87a4.js} +6 -6
- package/dist/client/index.html +1 -1
- package/package.json +1 -1
- package/src/node/Container.vue +75 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-359dd67c.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-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-359dd67c.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-
|
|
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-359dd67c.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-359dd67c.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-
|
|
2
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { v as defineComponent, I 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, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aw as _export_sfc, ax as vModelDynamic, k as mergeProps, K as isRef } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
3
|
+
import { v as defineComponent, I 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, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aw as _export_sfc, ax as vModelDynamic, k as mergeProps, K as isRef } from './index-359dd67c.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-
|
|
2
|
-
import { v as defineComponent, az as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aA as useDevtoolsClient } from './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3484ea9d.js';
|
|
2
|
+
import { v as defineComponent, az as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aA as useDevtoolsClient } from './index-359dd67c.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-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, Z as ref, ap as useElementSize, aq as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, z as unref, g as createCommentVNode, ar as Transition, $ as computed, y as toDisplayString, q as normalizeClass, as as useStyleTag, l as normalizeStyle, at as computedAsync, au as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$b, av as onKeyDown, K as isRef, i as renderList } from './index-
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3484ea9d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-c441f774.js';
|
|
3
|
+
import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
4
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, Z as ref, ap as useElementSize, aq as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, z as unref, g as createCommentVNode, ar as Transition, $ as computed, y as toDisplayString, q as normalizeClass, as as useStyleTag, l as normalizeStyle, at as computedAsync, au as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$b, av as onKeyDown, K as isRef, i as renderList } from './index-359dd67c.js';
|
|
5
|
+
import { r as rpc } from './rpc-5a46e853.js';
|
|
6
|
+
import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js';
|
|
7
7
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
8
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js';
|
|
9
9
|
|
|
10
10
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VIconButton",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-
|
|
4
|
-
import { F as Fragment, Z as ref, aj as shallowRef, $ 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, i as renderList, g as createCommentVNode, a5 as onMounted, ak as onVueInstanceUpdate, u as createVNode, h as withCtx, ab as reactive, al as instance } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3484ea9d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-c441f774.js';
|
|
3
|
+
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-f1d0c1c1.js';
|
|
4
|
+
import { F as Fragment, Z as ref, aj as shallowRef, $ 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, i as renderList, g as createCommentVNode, a5 as onMounted, ak as onVueInstanceUpdate, u as createVNode, h as withCtx, ab as reactive, al as instance } from './index-359dd67c.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
6
|
+
import './index-9285098c.js';
|
|
7
7
|
|
|
8
8
|
function isBeingDestroyed(instance) {
|
|
9
9
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as ref, af as useStorage, $ as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ag as vModelText, z as unref, x as createBaseVNode, K as isRef, L as vModelCheckbox, ah as useDark, a5 as onMounted, ai as watch, u as createVNode } from './index-
|
|
1
|
+
import { Z as ref, af as useStorage, $ as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ag as vModelText, z as unref, x as createBaseVNode, K as isRef, L as vModelCheckbox, ah as useDark, a5 as onMounted, ai as watch, u as createVNode } from './index-359dd67c.js';
|
|
2
2
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
3
|
+
import { r as rpc } from './rpc-5a46e853.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|
|
@@ -14157,17 +14157,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14157
14157
|
|
|
14158
14158
|
/* Injected with object hook! */
|
|
14159
14159
|
|
|
14160
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14161
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14162
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14163
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14164
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14165
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14166
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-
|
|
14167
|
-
const __pages_import_8__ = () => __vitePreload(() => import('./graph-
|
|
14168
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./components-
|
|
14169
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./assets-
|
|
14170
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-
|
|
14160
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-7c8f87a4.js'),true?["./timeline-7c8f87a4.js","./splitpanes.es-f1d0c1c1.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./index-9285098c.js","./VPanelGrids-3484ea9d.js","./VCard-c441f774.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14161
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-391a112a.js'),true?["./settings-391a112a.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js"]:void 0,import.meta.url);
|
|
14162
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-2c268c33.js'),true?["./routes-2c268c33.js","./VPanelGrids-3484ea9d.js","./VCard-c441f774.js","./splitpanes.es-f1d0c1c1.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./index-9285098c.js"]:void 0,import.meta.url);
|
|
14163
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-9a9e9407.js'),true?["./pinia-9a9e9407.js","./splitpanes.es-f1d0c1c1.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./index-9285098c.js"]:void 0,import.meta.url);
|
|
14164
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-f46ac6f6.js'),true?["./pages-f46ac6f6.js","./VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14165
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-17f2d4a9.js'),true?["./overview-17f2d4a9.js","./VPanelGrids-3484ea9d.js","./rpc-5a46e853.js","./index-9285098c.js"]:void 0,import.meta.url);
|
|
14166
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-115c7185.js'),true?["./inspect-115c7185.js","./rpc-5a46e853.js"]:void 0,import.meta.url);
|
|
14167
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-736aa653.js'),true?["./graph-736aa653.js","./fuse.esm-c317b696.js","./rpc-5a46e853.js"]:void 0,import.meta.url);
|
|
14168
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./components-dfc74ac0.js'),true?["./components-dfc74ac0.js","./VPanelGrids-3484ea9d.js","./VCard-c441f774.js","./splitpanes.es-f1d0c1c1.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./index-9285098c.js"]:void 0,import.meta.url);
|
|
14169
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./assets-facbb582.js'),true?["./assets-facbb582.js","./VPanelGrids-3484ea9d.js","./VCard-c441f774.js","./VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js","./rpc-5a46e853.js","./VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14170
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-bbaec4fe.js'),true?["./__inspecting-bbaec4fe.js","./VPanelGrids-3484ea9d.js"]:void 0,import.meta.url);
|
|
14171
14171
|
|
|
14172
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$7,"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}];
|
|
14173
14173
|
/* Injected with object hook! */
|
|
@@ -14944,6 +14944,8 @@ function normalizePiniaInfo() {
|
|
|
14944
14944
|
}
|
|
14945
14945
|
function updatePinia(component) {
|
|
14946
14946
|
const proxy = component?.proxy;
|
|
14947
|
+
if (!proxy || !("_pStores" in proxy))
|
|
14948
|
+
return;
|
|
14947
14949
|
const _stores = proxy?._pStores;
|
|
14948
14950
|
if (!_stores)
|
|
14949
14951
|
return;
|
|
@@ -15201,7 +15203,7 @@ function subscribeRouterChanged(router2) {
|
|
|
15201
15203
|
});
|
|
15202
15204
|
});
|
|
15203
15205
|
}
|
|
15204
|
-
function initRoutes() {
|
|
15206
|
+
function initRoutes(buffer) {
|
|
15205
15207
|
if (router$1.value) {
|
|
15206
15208
|
let addRoute = function(parentOrRoute, route) {
|
|
15207
15209
|
let parent;
|
|
@@ -15226,6 +15228,10 @@ function initRoutes() {
|
|
|
15226
15228
|
};
|
|
15227
15229
|
const matcher = createRouterMatcher(router$1.value?.options.routes, router$1.value?.options);
|
|
15228
15230
|
routeRecordMatcher.value = matcher.getRoutes();
|
|
15231
|
+
buffer.forEach(([type, payload]) => {
|
|
15232
|
+
type === "router:add-route" ? addRoute(...payload.args) : removeRoute(...payload.args);
|
|
15233
|
+
updateRecordMatcher();
|
|
15234
|
+
});
|
|
15229
15235
|
const _addRoute = router$1.value.addRoute;
|
|
15230
15236
|
router$1.value.addRoute = (...args) => {
|
|
15231
15237
|
const res = _addRoute(...args);
|
|
@@ -15279,7 +15285,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15279
15285
|
client.value.markClientLoaded();
|
|
15280
15286
|
hookApi.produce();
|
|
15281
15287
|
hookApi.consume(hookBuffer.filter(([type]) => type.startsWith("component:")));
|
|
15282
|
-
initRoutes();
|
|
15288
|
+
initRoutes(hookBuffer.filter(([type]) => type.startsWith("router:")));
|
|
15283
15289
|
initPinia();
|
|
15284
15290
|
hookApi.hook.on("host:inspector:close", () => {
|
|
15285
15291
|
if (route.path === "/__inspecting")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as defineComponent, aa as useColorMode, Z as ref, $ as computed, ab as reactive, ac as useElementBounding, a5 as onMounted, n as nextTick, ad as watchEffect, ae as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
1
|
+
import { v as defineComponent, aa as useColorMode, Z as ref, $ as computed, ab as reactive, ac as useElementBounding, a5 as onMounted, n as nextTick, ad as watchEffect, ae as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-359dd67c.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-5a46e853.js';
|
|
3
3
|
|
|
4
4
|
const iframeCacheMap = /* @__PURE__ */ new Map();
|
|
5
5
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0$1 } from './VPanelGrids-
|
|
2
|
-
import { Z as ref, $ as computed, a7 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, a8 as vueVersion, O as createTextVNode, e as createElementBlock, F as Fragment, a9 as __unplugin_components_0, Y as __unplugin_components_1, r as resolveComponent, Q as _sfc_main$1 } from './index-
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
4
|
-
import { i as isMacOS } from './index-
|
|
1
|
+
import { _ as __unplugin_components_0$1 } from './VPanelGrids-3484ea9d.js';
|
|
2
|
+
import { Z as ref, $ as computed, a7 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, a8 as vueVersion, O as createTextVNode, e as createElementBlock, F as Fragment, a9 as __unplugin_components_0, Y as __unplugin_components_1, r as resolveComponent, Q as _sfc_main$1 } from './index-359dd67c.js';
|
|
3
|
+
import { r as rpc } from './rpc-5a46e853.js';
|
|
4
|
+
import { i as isMacOS } from './index-9285098c.js';
|
|
5
5
|
|
|
6
|
-
const version = "0.0.
|
|
6
|
+
const version = "0.0.10";
|
|
7
7
|
|
|
8
8
|
/* Injected with object hook! */
|
|
9
9
|
|
|
@@ -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 { v as defineComponent, Z as ref, $ 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, a4 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, O as createTextVNode, q as normalizeClass, Q as _sfc_main$4, Y as __unplugin_components_1, a5 as onMounted, a6 as currentRoute, T as router, K as isRef, M as withKeys, a7 as routes } from './index-
|
|
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-9d53f290.js';
|
|
2
|
+
import { v as defineComponent, Z as ref, $ 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, a4 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, O as createTextVNode, q as normalizeClass, Q as _sfc_main$4, Y as __unplugin_components_1, a5 as onMounted, a6 as currentRoute, T as router, K as isRef, M as withKeys, a7 as routes } from './index-359dd67c.js';
|
|
3
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js';
|
|
4
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1$2 = {
|
|
7
7
|
block: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-
|
|
2
|
-
import { v as defineComponent, Z as ref, $ as computed, a0 as piniaStoresCategory, a1 as toRaw, a2 as piniaState, a3 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-
|
|
3
|
-
import { p as pick } from './index-
|
|
4
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-f1d0c1c1.js';
|
|
2
|
+
import { v as defineComponent, Z as ref, $ as computed, a0 as piniaStoresCategory, a1 as toRaw, a2 as piniaState, a3 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-359dd67c.js';
|
|
3
|
+
import { p as pick } from './index-9285098c.js';
|
|
4
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = {
|
|
7
7
|
"h-screen": "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { v as defineComponent, z as unref, T as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, U as routeRecordMatcherState, V as activeRouteRecordMatcherState, c as createBlock, S as _sfc_main$2, q as normalizeClass, W as activeRouteRecordIndex, X as toggleRouteRecordMatcher, O as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, Y as __unplugin_components_1 } from './index-
|
|
4
|
-
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3484ea9d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-c441f774.js';
|
|
3
|
+
import { v as defineComponent, z as unref, T as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, U as routeRecordMatcherState, V as activeRouteRecordMatcherState, c as createBlock, S as _sfc_main$2, q as normalizeClass, W as activeRouteRecordIndex, X as toggleRouteRecordMatcher, O as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, Y as __unplugin_components_1 } from './index-359dd67c.js';
|
|
4
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-f1d0c1c1.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
6
|
+
import './index-9285098c.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, O as createTextVNode, P as useDevToolsSettings, _ as _sfc_main$5, Q as _sfc_main$6, R as _sfc_main$7, q as normalizeClass, S as _sfc_main$8 } from './index-
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
2
|
+
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, O as createTextVNode, P as useDevToolsSettings, _ as _sfc_main$5, Q as _sfc_main$6, R as _sfc_main$7, q as normalizeClass, S as _sfc_main$8 } from './index-359dd67c.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.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,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, K as isRef, a1 as toRaw, $ as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, am as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, Z as ref, u as createVNode, d as withDirectives, an as vShow, ao as h, f as renderSlot, l as normalizeStyle } from './index-
|
|
3
|
-
import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, K as isRef, a1 as toRaw, $ as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, am as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, Z as ref, u as createVNode, d as withDirectives, an as vShow, ao as h, f as renderSlot, l as normalizeStyle } from './index-359dd67c.js';
|
|
3
|
+
import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-9285098c.js';
|
|
4
4
|
|
|
5
5
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "VExpandIcon",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g, M, _ as _sfc_main$2 } from './splitpanes.es-
|
|
2
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
3
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
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 timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
1
|
+
import { g, M, _ as _sfc_main$2 } from './splitpanes.es-f1d0c1c1.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3484ea9d.js';
|
|
3
|
+
import { _ as __unplugin_components_7 } from './VCard-c441f774.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 timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-359dd67c.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
|
|
6
|
+
import './index-9285098c.js';
|
|
7
7
|
|
|
8
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
9
9
|
|
package/dist/client/index.html
CHANGED
|
@@ -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-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-359dd67c.js"></script>
|
|
9
9
|
<link rel="stylesheet" href="./assets/index-62a10721.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
package/src/node/Container.vue
CHANGED
|
@@ -8,6 +8,18 @@ const props = defineProps({
|
|
|
8
8
|
},
|
|
9
9
|
})
|
|
10
10
|
|
|
11
|
+
const DevtoolsHooks = {
|
|
12
|
+
APP_INIT: 'app:init',
|
|
13
|
+
COMPONENT_UPDATED: 'component:updated',
|
|
14
|
+
COMPONENT_ADDED: 'component:added',
|
|
15
|
+
COMPONENT_REMOVED: 'component:removed',
|
|
16
|
+
COMPONENT_EMIT: 'component:emit',
|
|
17
|
+
PERF_START: 'perf:start',
|
|
18
|
+
PERF_END: 'perf:end',
|
|
19
|
+
ADD_ROUTE: 'router:add-route',
|
|
20
|
+
REMOVE_ROUTE: 'router:remove-route',
|
|
21
|
+
}
|
|
22
|
+
|
|
11
23
|
window.__VUE_DEVTOOLS_GLOBAL_HOOKS__ = function () {
|
|
12
24
|
return props.hook
|
|
13
25
|
}
|
|
@@ -240,17 +252,40 @@ function initPanelPosition() {
|
|
|
240
252
|
}
|
|
241
253
|
}
|
|
242
254
|
|
|
255
|
+
function captureDynamicRoute(app) {
|
|
256
|
+
const router = app?.config?.globalProperties?.$router
|
|
257
|
+
if (!router)
|
|
258
|
+
return
|
|
259
|
+
|
|
260
|
+
const _addRoute = router.addRoute
|
|
261
|
+
router.addRoute = (...args) => {
|
|
262
|
+
const res = _addRoute(...args)
|
|
263
|
+
|
|
264
|
+
if (!iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__?.loaded) {
|
|
265
|
+
hookBuffer.push([DevtoolsHooks.ADD_ROUTE, {
|
|
266
|
+
args: [...args],
|
|
267
|
+
}])
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return res
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const _removeRoute = router.removeRoute
|
|
274
|
+
router.removeRoute = (...args) => {
|
|
275
|
+
const res = _removeRoute(...args)
|
|
276
|
+
|
|
277
|
+
if (!iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__?.loaded) {
|
|
278
|
+
hookBuffer.push([DevtoolsHooks.REMOVE_ROUTE, {
|
|
279
|
+
args: [...args],
|
|
280
|
+
}])
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
return res
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
243
287
|
function collectHookBuffer() {
|
|
244
288
|
let sortId = 0
|
|
245
|
-
const DevtoolsHooks = {
|
|
246
|
-
APP_INIT: 'app:init',
|
|
247
|
-
COMPONENT_UPDATED: 'component:updated',
|
|
248
|
-
COMPONENT_ADDED: 'component:added',
|
|
249
|
-
COMPONENT_REMOVED: 'component:removed',
|
|
250
|
-
COMPONENT_EMIT: 'component:emit',
|
|
251
|
-
PERF_START: 'perf:start',
|
|
252
|
-
PERF_END: 'perf:end',
|
|
253
|
-
}
|
|
254
289
|
|
|
255
290
|
function stopCollect(component) {
|
|
256
291
|
return component?.root?.type?.devtools?.hide || iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__?.loaded
|
|
@@ -260,6 +295,7 @@ function collectHookBuffer() {
|
|
|
260
295
|
if (!app || app._instance.type?.devtools?.hide)
|
|
261
296
|
return
|
|
262
297
|
|
|
298
|
+
captureDynamicRoute(app)
|
|
263
299
|
hookBuffer.push([DevtoolsHooks.APP_INIT, {
|
|
264
300
|
app,
|
|
265
301
|
}])
|
|
@@ -295,9 +331,9 @@ function collectHookBuffer() {
|
|
|
295
331
|
time,
|
|
296
332
|
sortId: sortId++,
|
|
297
333
|
}])
|
|
298
|
-
})
|
|
334
|
+
});
|
|
299
335
|
|
|
300
|
-
|
|
336
|
+
[
|
|
301
337
|
DevtoolsHooks.COMPONENT_UPDATED,
|
|
302
338
|
DevtoolsHooks.COMPONENT_ADDED,
|
|
303
339
|
DevtoolsHooks.COMPONENT_REMOVED,
|
|
@@ -326,29 +362,35 @@ initPanelPosition()
|
|
|
326
362
|
|
|
327
363
|
<template>
|
|
328
364
|
<div class="vue-devtools-panel" :style="panelPosition">
|
|
329
|
-
<iframe
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
:style="{
|
|
333
|
-
'pointer-events': isDragging ? 'none' : 'auto',
|
|
334
|
-
}"
|
|
335
|
-
@load="onLoad"
|
|
336
|
-
/>
|
|
365
|
+
<iframe ref="iframe" :src="clientUrl" :style="{
|
|
366
|
+
'pointer-events': isDragging ? 'none' : 'auto',
|
|
367
|
+
}" @load="onLoad" />
|
|
337
368
|
<template v-if="panelState.viewMode === 'default'">
|
|
338
|
-
<div v-if="panelState.position !== 'top'" class="vue-devtools-resize-handle vue-devtools-resize-handle-horizontal"
|
|
339
|
-
|
|
340
|
-
<div v-if="panelState.position !== '
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
<div v-if="panelState.position !== '
|
|
344
|
-
|
|
345
|
-
<div v-if="panelState.position !== '
|
|
369
|
+
<div v-if="panelState.position !== 'top'" class="vue-devtools-resize-handle vue-devtools-resize-handle-horizontal"
|
|
370
|
+
:style="{ top: 0 }" @mousedown.prevent="() => isDragging = 'horizontal'" />
|
|
371
|
+
<div v-if="panelState.position !== 'bottom'"
|
|
372
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-horizontal" :style="{ bottom: 0 }"
|
|
373
|
+
@mousedown.prevent="() => isDragging = 'horizontal'" />
|
|
374
|
+
<div v-if="panelState.position !== 'left'" class="vue-devtools-resize-handle vue-devtools-resize-handle-vertical"
|
|
375
|
+
:style="{ left: 0 }" @mousedown.prevent="() => isDragging = 'vertical'" />
|
|
376
|
+
<div v-if="panelState.position !== 'right'" class="vue-devtools-resize-handle vue-devtools-resize-handle-vertical"
|
|
377
|
+
:style="{ right: 0 }" @mousedown.prevent="() => isDragging = 'vertical'" />
|
|
378
|
+
<div v-if="panelState.position !== 'top' && panelState.position !== 'left'"
|
|
379
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
380
|
+
:style="{ top: 0, left: 0, cursor: 'nwse-resize' }" @mousedown.prevent="() => isDragging = 'both'" />
|
|
381
|
+
<div v-if="panelState.position !== 'top' && panelState.position !== 'right'"
|
|
382
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
383
|
+
:style="{ top: 0, right: 0, cursor: 'nesw-resize' }" @mousedown.prevent="() => isDragging = 'both'" />
|
|
384
|
+
<div v-if="panelState.position !== 'bottom' && panelState.position !== 'right'"
|
|
385
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
386
|
+
:style="{ bottom: 0, right: 0, cursor: 'nwse-resize' }" @mousedown.prevent="() => isDragging = 'both'" />
|
|
387
|
+
<div v-if="panelState.position !== 'bottom' && panelState.position !== 'left'"
|
|
388
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
389
|
+
:style="{ bottom: 0, left: 0, cursor: 'nesw-resize' }" @mousedown.prevent="() => isDragging = 'both'" />
|
|
346
390
|
</template>
|
|
347
391
|
</div>
|
|
348
|
-
<button
|
|
349
|
-
|
|
350
|
-
@click.prevent="togglePanel"
|
|
351
|
-
>
|
|
392
|
+
<button class="vue-devtools-toggle" aria-label="Toggle devtools panel" :style="toggleButtonPosition"
|
|
393
|
+
@click.prevent="togglePanel">
|
|
352
394
|
<svg viewBox="0 0 256 198" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
353
395
|
<path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z" />
|
|
354
396
|
<path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z" />
|
|
@@ -400,7 +442,7 @@ initPanelPosition()
|
|
|
400
442
|
}
|
|
401
443
|
|
|
402
444
|
.vue-devtools-resize-handle:hover {
|
|
403
|
-
background: rgba(125,125,125,0.1);
|
|
445
|
+
background: rgba(125, 125, 125, 0.1);
|
|
404
446
|
}
|
|
405
447
|
|
|
406
448
|
.vue-devtools-resize-handle-horizontal {
|
|
@@ -421,7 +463,7 @@ initPanelPosition()
|
|
|
421
463
|
border-radius: 6px;
|
|
422
464
|
}
|
|
423
465
|
|
|
424
|
-
.vue-devtools-resize-handle-vertical{
|
|
466
|
+
.vue-devtools-resize-handle-vertical {
|
|
425
467
|
position: absolute;
|
|
426
468
|
top: 6px;
|
|
427
469
|
bottom: 0;
|