vite-plugin-vue-devtools 0.0.1-alpha.7 → 0.0.1-alpha.9
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 +54 -2
- package/dist/client/assets/{VCard-925fd18d.js → VCard-2c64c235.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-b2c0c55b.js → VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js} +1 -1
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-cc47c786.js → VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js} +1 -1
- package/dist/client/assets/{VPanelGrids-36f4f0da.js → VPanelGrids-258e71bf.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-8bbedf1b.js → VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js} +3 -3
- package/dist/client/assets/{__inspecting-7346f6ac.js → __inspecting-ac0f47cd.js} +2 -2
- package/dist/client/assets/{assets-ffdb6a2d.js → assets-16670a42.js} +7 -7
- package/dist/client/assets/{components-539f2105.js → components-d61f66d3.js} +10 -4
- package/dist/client/assets/{graph-f60fd04d.js → graph-06e5c153.js} +2 -2
- package/dist/client/assets/{index-80f8bde5.js → index-ecdbdbf3.js} +11 -11
- package/dist/client/assets/{inspect-1ec95d81.js → inspect-debc5551.js} +2 -2
- package/dist/client/assets/{overview-ab9a2b0b.js → overview-8074b6b6.js} +4 -4
- package/dist/client/assets/{pages-45f5a59a.js → pages-8bbcb7f6.js} +4 -4
- package/dist/client/assets/{pinia-c53b0b14.js → pinia-704b2690.js} +3 -3
- package/dist/client/assets/{routes-43e30c86.js → routes-2f7ef553.js} +20 -18
- package/dist/client/assets/{rpc-89874498.js → rpc-ff946cbe.js} +1 -1
- package/dist/client/assets/{settings-e7c6c8b0.js → settings-0b0be9f6.js} +3 -3
- package/dist/client/assets/{splitpanes.es-5e9186fe.js → splitpanes.es-aae37be3.js} +2 -2
- package/dist/client/assets/{timeline-9c2f9940.js → timeline-32808aaa.js} +5 -5
- package/dist/client/index.html +1 -1
- package/package.json +3 -4
- package/src/node/Container.vue +6 -2
package/README.md
CHANGED
|
@@ -1,2 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
Vue
|
|
1
|
+
<h1>
|
|
2
|
+
Vue DevTools <sup>Preview</sup>
|
|
3
|
+
</h1>
|
|
4
|
+
|
|
5
|
+
## 📖 Introduction
|
|
6
|
+
|
|
7
|
+
`vite-plugin-vue-devtools` is a Vite plugin designed to enhance the Vue developer experience.
|
|
8
|
+
|
|
9
|
+
<!-- <p>
|
|
10
|
+
<a href="https://github.com/webfansplz/vite-plugin-vue-devtools/discussions/1">💡 Ideas & Suggestions</a> |
|
|
11
|
+
<a href="https://github.com/webfansplz/vite-plugin-vue-devtools/discussions/2">🗺️ Project Roadmap</a> |
|
|
12
|
+
</p> -->
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 📦 Installation
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
# vite-plugin-vue-devtools
|
|
20
|
+
|
|
21
|
+
pnpm install vite-plugin-vue-devtools -D
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 🦄 Usage
|
|
26
|
+
|
|
27
|
+
### Configuration Vite
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { defineConfig } from 'vite'
|
|
31
|
+
import VueDevtools from 'vite-plugin-vue-devtools'
|
|
32
|
+
|
|
33
|
+
export default defineConfig({
|
|
34
|
+
plugins: [
|
|
35
|
+
VueDevtools(),
|
|
36
|
+
vue(),
|
|
37
|
+
],
|
|
38
|
+
})
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 💡 Notice
|
|
42
|
+
|
|
43
|
+
- Only available in development mode.
|
|
44
|
+
- Only support Vue3.0+.
|
|
45
|
+
- Doesn't support SSR (If you're using Nuxt, use [nuxt/devtools](https://github.com/nuxt/devtools) directly).
|
|
46
|
+
|
|
47
|
+
## 🌸 Credits
|
|
48
|
+
|
|
49
|
+
- This project is highly inspired by [nuxt/devtools](https://github.com/nuxt/devtools).
|
|
50
|
+
|
|
51
|
+
## 📄 License
|
|
52
|
+
|
|
53
|
+
[MIT LICENSE](./LICENSE)
|
|
54
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-
|
|
1
|
+
import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-ecdbdbf3.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass } from './index-
|
|
1
|
+
import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass } from './index-ecdbdbf3.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass, m as createCommentVNode, v as renderSlot, e as createBaseVNode, t as toDisplayString } from './index-
|
|
1
|
+
import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass, m as createCommentVNode, v as renderSlot, e as createBaseVNode, t as toDisplayString } from './index-ecdbdbf3.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-
|
|
1
|
+
import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-ecdbdbf3.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 { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, e as createBaseVNode, n as normalizeClass, b as createVNode, w as withCtx, v as renderSlot, m as createCommentVNode, a as createBlock, u as unref, x as withDirectives, F as Fragment, ay as resolveDirective, E as createTextVNode, t as toDisplayString, az as pushScopeId, aA as popScopeId, ax as _export_sfc, aB as vModelDynamic, ao as mergeProps, z as isRef } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
|
|
3
|
+
import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, e as createBaseVNode, n as normalizeClass, b as createVNode, w as withCtx, v as renderSlot, m as createCommentVNode, a as createBlock, u as unref, x as withDirectives, F as Fragment, ay as resolveDirective, E as createTextVNode, t as toDisplayString, az as pushScopeId, aA as popScopeId, ax as _export_sfc, aB as vModelDynamic, ao as mergeProps, z as isRef } from './index-ecdbdbf3.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 { d as defineComponent, aD as useEventListener, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, aE as useDevtoolsClient } from './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-258e71bf.js';
|
|
2
|
+
import { d as defineComponent, aD as useEventListener, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, aE as useDevtoolsClient } from './index-ecdbdbf3.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 { d as defineComponent, o as openBlock, a as createBlock, w as withCtx, b as createVNode, ao as mergeProps, ap as resolveDynamicComponent, Q as ref, aq as useElementSize, ar as onClickOutside, c as createElementBlock, e as createBaseVNode, v as renderSlot, u as unref, m as createCommentVNode, as as Transition, R as computed, t as toDisplayString, n as normalizeClass, at as useStyleTag, O as normalizeStyle, au as computedAsync, av as useTimeAgo, F as Fragment, E as createTextVNode, _ as _sfc_main$b, aw as onKeyDown, z as isRef, r 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-258e71bf.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-2c64c235.js';
|
|
3
|
+
import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
|
|
4
|
+
import { d as defineComponent, o as openBlock, a as createBlock, w as withCtx, b as createVNode, ao as mergeProps, ap as resolveDynamicComponent, Q as ref, aq as useElementSize, ar as onClickOutside, c as createElementBlock, e as createBaseVNode, v as renderSlot, u as unref, m as createCommentVNode, as as Transition, R as computed, t as toDisplayString, n as normalizeClass, at as useStyleTag, O as normalizeStyle, au as computedAsync, av as useTimeAgo, F as Fragment, E as createTextVNode, _ as _sfc_main$b, aw as onKeyDown, z as isRef, r as renderList } from './index-ecdbdbf3.js';
|
|
5
|
+
import { r as rpc } from './rpc-ff946cbe.js';
|
|
6
|
+
import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-bf165828.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-7396a93b.js';
|
|
9
9
|
|
|
10
10
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VIconButton",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-
|
|
2
|
-
import { ab as getInstanceName, ac as classify, ad as kebabize, ae as isFragment, af as camelize, ag as returnError, ah as isBeingDestroyed, ai as getUniqueComponentId, aj as getRenderKey, Q as ref, ak as shallowRef, R as computed, d as defineComponent, X as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, u as unref, a as createBlock, n as normalizeClass, t as toDisplayString, O as normalizeStyle, F as Fragment, r as renderList, m as createCommentVNode, f as onMounted, al as onVueInstanceUpdate, b as createVNode, w as withCtx, a3 as reactive, am as instance } from './index-
|
|
3
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-aae37be3.js';
|
|
2
|
+
import { ab as getInstanceName, ac as classify, ad as kebabize, ae as isFragment, af as camelize, ag as returnError, ah as isBeingDestroyed, ai as getUniqueComponentId, aj as getRenderKey, Q as ref, ak as shallowRef, R as computed, d as defineComponent, X as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, u as unref, a as createBlock, n as normalizeClass, t as toDisplayString, O as normalizeStyle, F as Fragment, r as renderList, m as createCommentVNode, f as onMounted, al as onVueInstanceUpdate, b as createVNode, w as withCtx, a3 as reactive, am as instance } from './index-ecdbdbf3.js';
|
|
3
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js';
|
|
4
4
|
|
|
5
5
|
class ComponentFilter {
|
|
6
6
|
filter;
|
|
@@ -595,7 +595,13 @@ const _hoisted_1 = {
|
|
|
595
595
|
"h-screen": "",
|
|
596
596
|
"n-panel-grids": ""
|
|
597
597
|
};
|
|
598
|
-
const _hoisted_2 = {
|
|
598
|
+
const _hoisted_2 = {
|
|
599
|
+
"h-screen": "",
|
|
600
|
+
"select-none": "",
|
|
601
|
+
"overflow-scroll": "",
|
|
602
|
+
"p-2": "",
|
|
603
|
+
class: "no-scrollbar"
|
|
604
|
+
};
|
|
599
605
|
const _hoisted_3 = {
|
|
600
606
|
"h-screen": "",
|
|
601
607
|
"select-none": "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Q as ref, a7 as useStorage, R as computed, d as defineComponent, o as openBlock, c as createElementBlock, x as withDirectives, a8 as vModelText, u as unref, e as createBaseVNode, z as isRef, A as vModelCheckbox, a9 as useDark, f as onMounted, aa as watch, b as createVNode } from './index-
|
|
1
|
+
import { Q as ref, a7 as useStorage, R as computed, d as defineComponent, o as openBlock, c as createElementBlock, x as withDirectives, a8 as vModelText, u as unref, e as createBaseVNode, z as isRef, A as vModelCheckbox, a9 as useDark, f as onMounted, aa as watch, b as createVNode } from './index-ecdbdbf3.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-ff946cbe.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|
|
@@ -14102,17 +14102,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
14102
14102
|
|
|
14103
14103
|
/* Injected with object hook! */
|
|
14104
14104
|
|
|
14105
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14106
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14107
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14108
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14109
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14110
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14111
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-
|
|
14112
|
-
const __pages_import_8__ = () => __vitePreload(() => import('./graph-
|
|
14113
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./components-
|
|
14114
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./assets-
|
|
14115
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-
|
|
14105
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-32808aaa.js'),true?["./timeline-32808aaa.js","./splitpanes.es-aae37be3.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js","./VPanelGrids-258e71bf.js","./VCard-2c64c235.js"]:void 0,import.meta.url);
|
|
14106
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-0b0be9f6.js'),true?["./settings-0b0be9f6.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js","./VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js"]:void 0,import.meta.url);
|
|
14107
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-2f7ef553.js'),true?["./routes-2f7ef553.js","./VPanelGrids-258e71bf.js","./VCard-2c64c235.js","./splitpanes.es-aae37be3.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js"]:void 0,import.meta.url);
|
|
14108
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-704b2690.js'),true?["./pinia-704b2690.js","./splitpanes.es-aae37be3.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js"]:void 0,import.meta.url);
|
|
14109
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-8bbcb7f6.js'),true?["./pages-8bbcb7f6.js","./VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js","./VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14110
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-8074b6b6.js'),true?["./overview-8074b6b6.js","./VPanelGrids-258e71bf.js","./rpc-ff946cbe.js"]:void 0,import.meta.url);
|
|
14111
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-debc5551.js'),true?["./inspect-debc5551.js","./rpc-ff946cbe.js"]:void 0,import.meta.url);
|
|
14112
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-06e5c153.js'),true?["./graph-06e5c153.js","./fuse.esm-c317b696.js","./rpc-ff946cbe.js"]:void 0,import.meta.url);
|
|
14113
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./components-d61f66d3.js'),true?["./components-d61f66d3.js","./splitpanes.es-aae37be3.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js"]:void 0,import.meta.url);
|
|
14114
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./assets-16670a42.js'),true?["./assets-16670a42.js","./VPanelGrids-258e71bf.js","./VCard-2c64c235.js","./VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js","./rpc-ff946cbe.js","./VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js","./VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14115
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-ac0f47cd.js'),true?["./__inspecting-ac0f47cd.js","./VPanelGrids-258e71bf.js"]:void 0,import.meta.url);
|
|
14116
14116
|
|
|
14117
14117
|
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}];
|
|
14118
14118
|
/* Injected with object hook! */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, a2 as useColorMode, Q as ref, R as computed, a3 as reactive, a4 as useElementBounding, f as onMounted, a5 as nextTick, a6 as watchEffect, g as onUnmounted, o as openBlock, c as createElementBlock, b as createVNode, u as unref } from './index-
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
1
|
+
import { d as defineComponent, a2 as useColorMode, Q as ref, R as computed, a3 as reactive, a4 as useElementBounding, f as onMounted, a5 as nextTick, a6 as watchEffect, g as onUnmounted, o as openBlock, c as createElementBlock, b as createVNode, u as unref } from './index-ecdbdbf3.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-ff946cbe.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-
|
|
2
|
-
import { Q as ref, R as computed, $ as routes, d as defineComponent, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, b as createVNode, t as toDisplayString, u as unref, a0 as vueVersion, E as createTextVNode, c as createElementBlock, F as Fragment, a1 as __unplugin_components_0, P as __unplugin_components_1, X as resolveComponent, _ as _sfc_main$1 } from './index-
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
1
|
+
import { _ as __unplugin_components_0$1 } from './VPanelGrids-258e71bf.js';
|
|
2
|
+
import { Q as ref, R as computed, $ as routes, d as defineComponent, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, b as createVNode, t as toDisplayString, u as unref, a0 as vueVersion, E as createTextVNode, c as createElementBlock, F as Fragment, a1 as __unplugin_components_0, P as __unplugin_components_1, X as resolveComponent, _ as _sfc_main$1 } from './index-ecdbdbf3.js';
|
|
3
|
+
import { r as rpc } from './rpc-ff946cbe.js';
|
|
4
4
|
|
|
5
|
-
const version = "0.0.1-alpha.
|
|
5
|
+
const version = "0.0.1-alpha.9";
|
|
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-
|
|
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-
|
|
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-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';
|
|
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 { 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-
|
|
3
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"h-screen": "",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
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, P 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-
|
|
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';
|
|
6
6
|
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
key: 0,
|
|
@@ -58,19 +58,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
}, [
|
|
59
59
|
createTextVNode(toDisplayString(item.path) + " ", 1),
|
|
60
60
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.tags, (tag, childIndex) => {
|
|
61
|
-
return openBlock(),
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
61
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
62
|
+
tag.label ? (openBlock(), createBlock(_component_VBadge, {
|
|
63
|
+
key: childIndex,
|
|
64
|
+
"text-black": "",
|
|
65
|
+
style: normalizeStyle({
|
|
66
|
+
backgroundColor: `#${tag.bgColor.toString(16)}`
|
|
67
|
+
})
|
|
68
|
+
}, {
|
|
69
|
+
default: withCtx(() => [
|
|
70
|
+
createTextVNode(toDisplayString(tag.label), 1)
|
|
71
|
+
]),
|
|
72
|
+
_: 2
|
|
73
|
+
}, 1032, ["style"])) : createCommentVNode("", true)
|
|
74
|
+
], 64);
|
|
75
|
+
}), 256))
|
|
74
76
|
], 2)
|
|
75
77
|
])
|
|
76
78
|
], 10, _hoisted_3);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
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-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';
|
|
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 { 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-
|
|
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';
|
|
3
3
|
|
|
4
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "VExpandIcon",
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { d as defineComponent, o as openBlock, c as createElementBlock, F as Fragment, r as renderList, a as createBlock, w as withCtx, b as createVNode, e as createBaseVNode, n as normalizeClass, t as toDisplayString, u as unref, f as onMounted, g as onUnmounted, h as timelineLayer, i as activeTimelineEvents, j as activeTimelineEventIndex, k as toggleTimelineEventIndex, l as timelineEventDetails, m as createCommentVNode, p as activeLayerId, q as toggleTimelineLayer } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { g, M, _ as _sfc_main$2 } from './splitpanes.es-aae37be3.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-258e71bf.js';
|
|
3
|
+
import { _ as __unplugin_components_7 } from './VCard-2c64c235.js';
|
|
4
|
+
import { d as defineComponent, o as openBlock, c as createElementBlock, F as Fragment, r as renderList, a as createBlock, w as withCtx, b as createVNode, e as createBaseVNode, n as normalizeClass, t as toDisplayString, u as unref, f as onMounted, g as onUnmounted, h as timelineLayer, i as activeTimelineEvents, j as activeTimelineEventIndex, k as toggleTimelineEventIndex, l as timelineEventDetails, m as createCommentVNode, p as activeLayerId, q as toggleTimelineLayer } from './index-ecdbdbf3.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.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
|
|
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-ecdbdbf3.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-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.9",
|
|
4
4
|
"packageManager": "pnpm@7.30.0",
|
|
5
5
|
"description": "A vite plugin for Vue Devtools",
|
|
6
6
|
"author": "webfansplz",
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
"vue-devtools",
|
|
18
18
|
"vite-plugin",
|
|
19
19
|
"vite-plugin-vue-devtools",
|
|
20
|
-
"
|
|
21
|
-
"vite"
|
|
20
|
+
"dx"
|
|
22
21
|
],
|
|
23
22
|
"exports": {
|
|
24
23
|
".": {
|
|
@@ -58,6 +57,7 @@
|
|
|
58
57
|
"sirv": "^2.0.2",
|
|
59
58
|
"splitpanes": "^3.1.5",
|
|
60
59
|
"vite-hot-client": "^0.2.1",
|
|
60
|
+
"vite-plugin-inspect": "^0.7.23",
|
|
61
61
|
"vite-plugin-vue-inspector": "^3.4.1",
|
|
62
62
|
"vue-router": "^4.1.6"
|
|
63
63
|
},
|
|
@@ -95,7 +95,6 @@
|
|
|
95
95
|
"vis-network": "^9.1.6",
|
|
96
96
|
"vite": "^4.3.1",
|
|
97
97
|
"vite-dev-rpc": "^0.1.2",
|
|
98
|
-
"vite-plugin-inspect": "^0.7.23",
|
|
99
98
|
"vite-plugin-pages": "^0.29.0",
|
|
100
99
|
"vue": "^3.2.47"
|
|
101
100
|
}
|
package/src/node/Container.vue
CHANGED
|
@@ -20,6 +20,7 @@ const panelState = ref({
|
|
|
20
20
|
})
|
|
21
21
|
const panelVisible = ref(false)
|
|
22
22
|
const hookBuffer = []
|
|
23
|
+
let isAppCreated = false
|
|
23
24
|
const panelStyle = computed(() => {
|
|
24
25
|
if (panelState.value.viewMode === 'component-inspector') {
|
|
25
26
|
return {
|
|
@@ -118,8 +119,8 @@ function disableComponentInspector() {
|
|
|
118
119
|
panelState.value.viewMode = 'default'
|
|
119
120
|
}
|
|
120
121
|
|
|
121
|
-
function waitForClientInjection(retry =
|
|
122
|
-
const test = () => !!iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__
|
|
122
|
+
function waitForClientInjection(retry = 50, timeout = 200) {
|
|
123
|
+
const test = () => !!iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__ && isAppCreated
|
|
123
124
|
|
|
124
125
|
if (test())
|
|
125
126
|
return
|
|
@@ -200,6 +201,9 @@ function collectHookBuffer() {
|
|
|
200
201
|
hookBuffer.push([DevtoolsHooks.APP_INIT, {
|
|
201
202
|
app,
|
|
202
203
|
}])
|
|
204
|
+
setTimeout(() => {
|
|
205
|
+
isAppCreated = true
|
|
206
|
+
}, 80)
|
|
203
207
|
})
|
|
204
208
|
|
|
205
209
|
props.hook.on(DevtoolsHooks.PERF_START, (app, uid, component, type, time) => {
|