vite-plugin-vue-devtools 0.4.1 → 0.4.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/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-07716658.js → IframeView.vue_vue_type_script_setup_true_lang-3efd85cd.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-321ed214.js → StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js} +4 -4
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-22026580.js → VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-325f26b6.js → VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-93fee085.js → VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js} +1 -1
- package/dist/client/assets/{VPanelGrids-ea1fc6cc.js → VPanelGrids-3d676ac1.js} +1 -1
- package/dist/client/assets/{VSectionBlock-22944be5.js → VSectionBlock-ce3de44c.js} +3 -3
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-4c7997d1.js → VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js} +2 -2
- package/dist/client/assets/{__eyedropper-1e766935.js → __eyedropper-e1877d6a.js} +2 -2
- package/dist/client/assets/{assets-ed629e80.js → assets-04d079f5.js} +8 -8
- package/dist/client/assets/{component-docs-df825434.js → component-docs-cb9ad5a2.js} +5 -5
- package/dist/client/assets/{components-8882d725.js → components-733e029a.js} +7 -7
- package/dist/client/assets/{documentations-37907b83.js → documentations-7d8323ed.js} +3 -3
- package/dist/client/assets/{graph-7d844661.js → graph-586e0cca.js} +2 -2
- package/dist/client/assets/{index-dc7de915.js → index-5bdd8c01.js} +1 -1
- package/dist/client/assets/{index-9875586e.js → index-fab050dd.js} +14 -14
- package/dist/client/assets/{inspect-952aeb0a.js → inspect-7b1f893a.js} +3 -3
- package/dist/client/assets/{npm-ec7132af.js → npm-068b3ea8.js} +6 -6
- package/dist/client/assets/{overview-eb213ef4.js → overview-44a22030.js} +5 -5
- package/dist/client/assets/{pages-acabe249.js → pages-635198da.js} +5 -5
- package/dist/client/assets/{pinia-9bb95365.js → pinia-f7635d5a.js} +6 -6
- package/dist/client/assets/{routes-c562ae44.js → routes-78f604b2.js} +7 -7
- package/dist/client/assets/{rpc-a89d2eca.js → rpc-a4b59d16.js} +1 -1
- package/dist/client/assets/{settings-e845812f.js → settings-1082abbf.js} +3 -3
- package/dist/client/assets/{splitpanes.es-b88bf7fe.js → splitpanes.es-8025e7b0.js} +1 -1
- package/dist/client/assets/{timeline-0f12b727.js → timeline-2dc5c96b.js} +7 -7
- package/dist/client/index.html +1 -1
- package/package.json +2 -1
- package/src/node/views/FrameBox.vue +212 -0
- package/src/node/views/Main.vue +382 -0
- package/src/node/views/composables.ts +402 -0
- package/src/node/views/utils.ts +204 -0
|
@@ -14387,20 +14387,20 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
14387
14387
|
|
|
14388
14388
|
/* Injected with object hook! */
|
|
14389
14389
|
|
|
14390
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14391
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14392
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14393
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14394
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14395
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14396
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./npm-
|
|
14397
|
-
const __pages_import_7__ = () => __vitePreload(() => import('./inspect-
|
|
14398
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./graph-
|
|
14399
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./documentations-
|
|
14400
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./components-
|
|
14401
|
-
const __pages_import_12__ = () => __vitePreload(() => import('./component-docs-
|
|
14402
|
-
const __pages_import_13__ = () => __vitePreload(() => import('./assets-
|
|
14403
|
-
const __pages_import_14__ = () => __vitePreload(() => import('./__eyedropper-
|
|
14390
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-2dc5c96b.js'),true?["./timeline-2dc5c96b.js","./StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./index-5bdd8c01.js","./VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js","./VPanelGrids-3d676ac1.js","./_commonjsHelpers-c0d8ada0.js","./splitpanes.es-8025e7b0.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14391
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-1082abbf.js'),true?["./settings-1082abbf.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js"]:void 0,import.meta.url);
|
|
14392
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-78f604b2.js'),true?["./routes-78f604b2.js","./VPanelGrids-3d676ac1.js","./StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./index-5bdd8c01.js","./VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js","./splitpanes.es-8025e7b0.js"]:void 0,import.meta.url);
|
|
14393
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-f7635d5a.js'),true?["./pinia-f7635d5a.js","./StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./index-5bdd8c01.js","./VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js","./splitpanes.es-8025e7b0.js"]:void 0,import.meta.url);
|
|
14394
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-635198da.js'),true?["./pages-635198da.js","./VSectionBlock-ce3de44c.js","./VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./VSectionBlock-52804693.css","./VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js"]:void 0,import.meta.url);
|
|
14395
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-44a22030.js'),true?["./overview-44a22030.js","./VPanelGrids-3d676ac1.js","./rpc-a4b59d16.js","./index-5bdd8c01.js"]:void 0,import.meta.url);
|
|
14396
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./npm-068b3ea8.js'),true?["./npm-068b3ea8.js","./VSectionBlock-ce3de44c.js","./VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./VSectionBlock-52804693.css","./VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js","./_commonjsHelpers-c0d8ada0.js","./rpc-a4b59d16.js","./npm-125f4259.css"]:void 0,import.meta.url);
|
|
14397
|
+
const __pages_import_7__ = () => __vitePreload(() => import('./inspect-7b1f893a.js'),true?["./inspect-7b1f893a.js","./IframeView.vue_vue_type_script_setup_true_lang-3efd85cd.js","./rpc-a4b59d16.js"]:void 0,import.meta.url);
|
|
14398
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./graph-586e0cca.js'),true?["./graph-586e0cca.js","./fuse.esm-c317b696.js","./rpc-a4b59d16.js"]:void 0,import.meta.url);
|
|
14399
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./documentations-7d8323ed.js'),true?["./documentations-7d8323ed.js","./IframeView.vue_vue_type_script_setup_true_lang-3efd85cd.js","./rpc-a4b59d16.js"]:void 0,import.meta.url);
|
|
14400
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./components-733e029a.js'),true?["./components-733e029a.js","./VPanelGrids-3d676ac1.js","./StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./index-5bdd8c01.js","./VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js","./splitpanes.es-8025e7b0.js"]:void 0,import.meta.url);
|
|
14401
|
+
const __pages_import_12__ = () => __vitePreload(() => import('./component-docs-cb9ad5a2.js'),true?["./component-docs-cb9ad5a2.js","./VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./splitpanes.es-8025e7b0.js","./fuse.esm-c317b696.js","./rpc-a4b59d16.js","./component-docs-351d62d5.css"]:void 0,import.meta.url);
|
|
14402
|
+
const __pages_import_13__ = () => __vitePreload(() => import('./assets-04d079f5.js'),true?["./assets-04d079f5.js","./VPanelGrids-3d676ac1.js","./VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js","./VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js","./rpc-a4b59d16.js","./VSectionBlock-ce3de44c.js","./VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js","./VSectionBlock-52804693.css","./VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14403
|
+
const __pages_import_14__ = () => __vitePreload(() => import('./__eyedropper-e1877d6a.js'),true?["./__eyedropper-e1877d6a.js","./VPanelGrids-3d676ac1.js"]:void 0,import.meta.url);
|
|
14404
14404
|
|
|
14405
14405
|
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":"npm","path":"/npm","component":__pages_import_6__,"props":true},{"name":"inspect","path":"/inspect","component":__pages_import_7__,"props":true},{"name":"index","path":"/","component":_sfc_main$a,"props":true},{"name":"graph","path":"/graph","component":__pages_import_9__,"props":true},{"name":"documentations","path":"/documentations","component":__pages_import_10__,"props":true},{"name":"components","path":"/components","component":__pages_import_11__,"props":true},{"name":"component-docs","path":"/component-docs","component":__pages_import_12__,"props":true},{"name":"assets","path":"/assets","component":__pages_import_13__,"props":true},{"name":"__eyedropper","path":"/__eyedropper","component":__pages_import_14__,"props":true}];
|
|
14406
14406
|
/* Injected with object hook! */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
3
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-3efd85cd.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-a4b59d16.js';
|
|
3
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-fab050dd.js';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "inspect",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v as defineComponent, a1 as ref, a8 as onMounted, ad as useEventListener, ae as hookApi, o as openBlock, e as createElementBlock, af as useScrollLock, ag as watch, ah as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, K as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString, d as withDirectives, P as createTextVNode, q as normalizeClass, T as _sfc_main$3 } from './index-
|
|
2
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
3
|
-
import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { v as defineComponent, a1 as ref, a8 as onMounted, ad as useEventListener, ae as hookApi, o as openBlock, e as createElementBlock, af as useScrollLock, ag as watch, ah as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, K as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString, d as withDirectives, P as createTextVNode, q as normalizeClass, T as _sfc_main$3 } from './index-fab050dd.js';
|
|
2
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-ce3de44c.js';
|
|
3
|
+
import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-c0d8ada0.js';
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { r as rpc } from './rpc-a4b59d16.js';
|
|
6
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js';
|
|
7
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js';
|
|
8
8
|
|
|
9
9
|
var xterm$1 = {exports: {}};/* Injected with object hook! */
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0$1 } from './VPanelGrids-
|
|
2
|
-
import { a1 as ref, a2 as computed, aa as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, ab as vueVersion, P as createTextVNode, e as createElementBlock, F as Fragment, ac as __unplugin_components_0, a0 as __unplugin_components_1, T 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-3d676ac1.js';
|
|
2
|
+
import { a1 as ref, a2 as computed, aa as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, ab as vueVersion, P as createTextVNode, e as createElementBlock, F as Fragment, ac as __unplugin_components_0, a0 as __unplugin_components_1, T as _sfc_main$1 } from './index-fab050dd.js';
|
|
3
|
+
import { r as rpc } from './rpc-a4b59d16.js';
|
|
4
|
+
import { i as isMacOS } from './index-5bdd8c01.js';
|
|
5
5
|
|
|
6
|
-
const version = "0.4.
|
|
6
|
+
const version = "0.4.2";
|
|
7
7
|
|
|
8
8
|
/* Injected with object hook! */
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
2
|
-
import { v as defineComponent, a1 as ref, a2 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, a7 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, P as createTextVNode, q as normalizeClass, T as _sfc_main$4, a0 as __unplugin_components_1, a8 as onMounted, a9 as currentRoute, W as router, K as isRef, M as withKeys, aa as routes } from './index-
|
|
3
|
-
import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-ce3de44c.js';
|
|
2
|
+
import { v as defineComponent, a1 as ref, a2 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, a7 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, P as createTextVNode, q as normalizeClass, T as _sfc_main$4, a0 as __unplugin_components_1, a8 as onMounted, a9 as currentRoute, W as router, K as isRef, M as withKeys, aa as routes } from './index-fab050dd.js';
|
|
3
|
+
import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-387f21cb.js';
|
|
4
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js';
|
|
6
6
|
|
|
7
7
|
const _hoisted_1$2 = {
|
|
8
8
|
block: "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { g, M } from './splitpanes.es-
|
|
3
|
-
import { v as defineComponent, a1 as ref, a2 as computed, a3 as piniaStoresCategory, a4 as toRaw, a5 as piniaState, a6 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-
|
|
4
|
-
import { p as pick } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js';
|
|
2
|
+
import { g, M } from './splitpanes.es-8025e7b0.js';
|
|
3
|
+
import { v as defineComponent, a1 as ref, a2 as computed, a3 as piniaStoresCategory, a4 as toRaw, a5 as piniaState, a6 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-fab050dd.js';
|
|
4
|
+
import { p as pick } from './index-5bdd8c01.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js';
|
|
6
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
"h-screen": "",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent, z as unref, W as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, X as routeRecordMatcherState, Y as activeRouteRecordMatcherState, c as createBlock, V as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, Z as activeRouteRecordIndex, $ as toggleRouteRecordMatcher, P as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, a0 as __unplugin_components_1 } from './index-
|
|
3
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { g, M } from './splitpanes.es-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
7
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3d676ac1.js';
|
|
2
|
+
import { v as defineComponent, z as unref, W as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, X as routeRecordMatcherState, Y as activeRouteRecordMatcherState, c as createBlock, V as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, Z as activeRouteRecordIndex, $ as toggleRouteRecordMatcher, P as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, a0 as __unplugin_components_1 } from './index-fab050dd.js';
|
|
3
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js';
|
|
4
|
+
import { g, M } from './splitpanes.es-8025e7b0.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js';
|
|
6
|
+
import './index-5bdd8c01.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js';
|
|
8
8
|
|
|
9
9
|
const _hoisted_1 = {
|
|
10
10
|
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, O as isInPopup, h as withCtx, P as createTextVNode, Q as useDevToolsSettings, R as useFrameState, S as _sfc_main$5, T as _sfc_main$6, U as _sfc_main$7, q as normalizeClass, V 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-bbd0395c.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, O as isInPopup, h as withCtx, P as createTextVNode, Q as useDevToolsSettings, R as useFrameState, S as _sfc_main$5, T as _sfc_main$6, U as _sfc_main$7, q as normalizeClass, V as _sfc_main$8 } from './index-fab050dd.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-6c2f93bc.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,4 +1,4 @@
|
|
|
1
|
-
import { ay as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-
|
|
1
|
+
import { ay as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-fab050dd.js';
|
|
2
2
|
|
|
3
3
|
const M = {
|
|
4
4
|
name: "splitpanes",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
3
|
-
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, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-71b04a17.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-3d676ac1.js';
|
|
3
|
+
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, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-fab050dd.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-c0d8ada0.js';
|
|
5
|
-
import { g, M } from './splitpanes.es-
|
|
6
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './index-
|
|
8
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { g, M } from './splitpanes.es-8025e7b0.js';
|
|
6
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-bbd0395c.js';
|
|
7
|
+
import './index-5bdd8c01.js';
|
|
8
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-6f019c5b.js';
|
|
9
9
|
|
|
10
10
|
var dayjs_min = {exports: {}};/* Injected with object hook! */
|
|
11
11
|
|
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-fab050dd.js"></script>
|
|
9
9
|
<link rel="stylesheet" href="./assets/index-99f31726.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.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"packageManager": "pnpm@8.4.0",
|
|
5
5
|
"description": "A vite plugin for Vue Devtools",
|
|
6
6
|
"author": "webfansplz",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
35
|
+
"src/node/views/*",
|
|
35
36
|
"src/node/app.js",
|
|
36
37
|
"src/node/Container.vue",
|
|
37
38
|
"*.d.ts"
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref, watchEffect } from 'vue'
|
|
3
|
+
import { PANEL_MAX, PANEL_MIN, popupWindow, state } from './composables'
|
|
4
|
+
import { useWindowEventListener } from './utils'
|
|
5
|
+
|
|
6
|
+
const props = defineProps<{
|
|
7
|
+
isDragging: boolean
|
|
8
|
+
|
|
9
|
+
client: {
|
|
10
|
+
close: () => void
|
|
11
|
+
getIFrame: () => HTMLIFrameElement
|
|
12
|
+
inspector: {
|
|
13
|
+
isEnabled: Ref<boolean>
|
|
14
|
+
disable: () => void
|
|
15
|
+
} | undefined
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
viewMode: 'default' | 'xs'
|
|
19
|
+
}>()
|
|
20
|
+
|
|
21
|
+
const container = ref<HTMLElement>()
|
|
22
|
+
const isResizing = ref<false | { top?: boolean; left?: boolean; right?: boolean; bottom?: boolean }>(false)
|
|
23
|
+
|
|
24
|
+
watchEffect(() => {
|
|
25
|
+
if (!container.value)
|
|
26
|
+
return
|
|
27
|
+
if (state.value.open) {
|
|
28
|
+
const iframe = props.client.getIFrame()
|
|
29
|
+
iframe.style.pointerEvents = (isResizing.value || props.isDragging) ? 'none' : 'auto'
|
|
30
|
+
|
|
31
|
+
if (!popupWindow.value) {
|
|
32
|
+
if (Array.from(container.value.children).every(el => el !== iframe))
|
|
33
|
+
container.value.appendChild(iframe)
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
|
|
38
|
+
useWindowEventListener('keydown', (e) => {
|
|
39
|
+
if (e.key === 'Escape' && props.client.inspector?.isEnabled.value) {
|
|
40
|
+
e.preventDefault()
|
|
41
|
+
props.client.inspector?.disable()
|
|
42
|
+
props.client.close()
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
useWindowEventListener('mousedown', (e: MouseEvent) => {
|
|
47
|
+
if (!state.value.closeOnOutsideClick)
|
|
48
|
+
return
|
|
49
|
+
if (popupWindow.value)
|
|
50
|
+
return
|
|
51
|
+
if (!state.value.open || isResizing.value || props.client.inspector?.isEnabled.value)
|
|
52
|
+
return
|
|
53
|
+
|
|
54
|
+
const matched = e.composedPath().find((_el) => {
|
|
55
|
+
const el = _el as HTMLElement
|
|
56
|
+
return Array.from(el.classList || []).some(c => c.startsWith('vue-devtools-'))
|
|
57
|
+
|| el.tagName?.toLowerCase() === 'iframe'
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
if (!matched)
|
|
61
|
+
state.value.open = false
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
useWindowEventListener('mousemove', (e) => {
|
|
65
|
+
if (!isResizing.value)
|
|
66
|
+
return
|
|
67
|
+
if (!state.value.open)
|
|
68
|
+
return
|
|
69
|
+
|
|
70
|
+
const iframe = props.client.getIFrame()
|
|
71
|
+
const box = iframe.getBoundingClientRect()
|
|
72
|
+
|
|
73
|
+
if (isResizing.value.right) {
|
|
74
|
+
const widthPx = Math.abs(e.clientX - (box?.left || 0))
|
|
75
|
+
const width = widthPx / window.innerWidth * 100
|
|
76
|
+
state.value.width = Math.min(PANEL_MAX, Math.max(PANEL_MIN, width))
|
|
77
|
+
}
|
|
78
|
+
else if (isResizing.value.left) {
|
|
79
|
+
const widthPx = Math.abs((box?.right || 0) - e.clientX)
|
|
80
|
+
const width = widthPx / window.innerWidth * 100
|
|
81
|
+
state.value.width = Math.min(PANEL_MAX, Math.max(PANEL_MIN, width))
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (isResizing.value.top) {
|
|
85
|
+
const heightPx = Math.abs((box?.bottom || 0) - e.clientY)
|
|
86
|
+
const height = heightPx / window.innerHeight * 100
|
|
87
|
+
state.value.height = Math.min(PANEL_MAX, Math.max(PANEL_MIN, height))
|
|
88
|
+
}
|
|
89
|
+
else if (isResizing.value.bottom) {
|
|
90
|
+
const heightPx = Math.abs(e.clientY - (box?.top || 0))
|
|
91
|
+
const height = heightPx / window.innerHeight * 100
|
|
92
|
+
state.value.height = Math.min(PANEL_MAX, Math.max(PANEL_MIN, height))
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
useWindowEventListener('mouseup', () => {
|
|
97
|
+
isResizing.value = false
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
useWindowEventListener('mouseleave', () => {
|
|
101
|
+
isResizing.value = false
|
|
102
|
+
})
|
|
103
|
+
</script>
|
|
104
|
+
|
|
105
|
+
<template>
|
|
106
|
+
<div
|
|
107
|
+
v-show="state.open && !client.inspector?.isEnabled.value && !popupWindow"
|
|
108
|
+
ref="container"
|
|
109
|
+
class="vue-devtools-frame"
|
|
110
|
+
:class="{ 'view-mode-xs': props.viewMode === 'xs' }"
|
|
111
|
+
>
|
|
112
|
+
<!-- Handlers -->
|
|
113
|
+
<div
|
|
114
|
+
v-show="state.position !== 'top'"
|
|
115
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-horizontal"
|
|
116
|
+
:style="{ top: 0 }"
|
|
117
|
+
@mousedown.prevent="() => isResizing = { top: true }"
|
|
118
|
+
/>
|
|
119
|
+
<div
|
|
120
|
+
v-show="state.position !== 'bottom'"
|
|
121
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-horizontal"
|
|
122
|
+
:style="{ bottom: 0 }"
|
|
123
|
+
@mousedown.prevent="() => isResizing = { bottom: true }"
|
|
124
|
+
/>
|
|
125
|
+
<div
|
|
126
|
+
v-show="state.position !== 'left'"
|
|
127
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-vertical"
|
|
128
|
+
:style="{ left: 0 }"
|
|
129
|
+
@mousedown.prevent="() => isResizing = { left: true }"
|
|
130
|
+
/>
|
|
131
|
+
<div
|
|
132
|
+
v-show="state.position !== 'right'"
|
|
133
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-vertical"
|
|
134
|
+
:style="{ right: 0 }"
|
|
135
|
+
@mousedown.prevent="() => isResizing = { right: true }"
|
|
136
|
+
/>
|
|
137
|
+
<div
|
|
138
|
+
v-show="state.position !== 'top' && state.position !== 'left'"
|
|
139
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
140
|
+
:style="{ top: 0, left: 0, cursor: 'nwse-resize' }"
|
|
141
|
+
@mousedown.prevent="() => isResizing = { top: true, left: true }"
|
|
142
|
+
/>
|
|
143
|
+
<div
|
|
144
|
+
v-show="state.position !== 'top' && state.position !== 'right'"
|
|
145
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
146
|
+
:style="{ top: 0, right: 0, cursor: 'nesw-resize' }"
|
|
147
|
+
@mousedown.prevent="() => isResizing = { top: true, right: true }"
|
|
148
|
+
/>
|
|
149
|
+
<div
|
|
150
|
+
v-show="state.position !== 'bottom' && state.position !== 'left'"
|
|
151
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
152
|
+
:style="{ bottom: 0, left: 0, cursor: 'nesw-resize' }"
|
|
153
|
+
@mousedown.prevent="() => isResizing = { bottom: true, left: true }"
|
|
154
|
+
/>
|
|
155
|
+
<div
|
|
156
|
+
v-show="state.position !== 'bottom' && state.position !== 'right'"
|
|
157
|
+
class="vue-devtools-resize-handle vue-devtools-resize-handle-corner"
|
|
158
|
+
:style="{ bottom: 0, right: 0, cursor: 'nwse-resize' }"
|
|
159
|
+
@mousedown.prevent="() => isResizing = { bottom: true, right: true }"
|
|
160
|
+
/>
|
|
161
|
+
</div>
|
|
162
|
+
</template>
|
|
163
|
+
|
|
164
|
+
<style scoped>
|
|
165
|
+
.vue-devtools-frame {
|
|
166
|
+
position: fixed;
|
|
167
|
+
z-index: 2147483645;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.vue-devtools-frame :deep(iframe) {
|
|
171
|
+
width: 100%;
|
|
172
|
+
height: 100%;
|
|
173
|
+
outline: none;
|
|
174
|
+
background: var(--vue-devtools-widget-bg);
|
|
175
|
+
border: 1px solid rgba(125,125,125,0.2);
|
|
176
|
+
border-radius: 10px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.vue-devtools-resize-handle-horizontal {
|
|
180
|
+
position: absolute;
|
|
181
|
+
left: 6px;
|
|
182
|
+
right: 6px;
|
|
183
|
+
height: 10px;
|
|
184
|
+
margin: -5px 0;
|
|
185
|
+
cursor: ns-resize;
|
|
186
|
+
border-radius: 5px;
|
|
187
|
+
}
|
|
188
|
+
.vue-devtools-resize-handle-vertical {
|
|
189
|
+
position: absolute;
|
|
190
|
+
top: 6px;
|
|
191
|
+
bottom: 0;
|
|
192
|
+
width: 10px;
|
|
193
|
+
margin: 0 -5px;
|
|
194
|
+
cursor: ew-resize;
|
|
195
|
+
border-radius: 5px;
|
|
196
|
+
}
|
|
197
|
+
.vue-devtools-resize-handle-corner {
|
|
198
|
+
position: absolute;
|
|
199
|
+
width: 14px;
|
|
200
|
+
height: 14px;
|
|
201
|
+
margin: -6px;
|
|
202
|
+
border-radius: 6px;
|
|
203
|
+
}
|
|
204
|
+
.vue-devtools-resize-handle:hover {
|
|
205
|
+
background: rgba(125,125,125,0.1);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.vue-devtools-frame.view-mode-xs {
|
|
209
|
+
width: 400px !important;
|
|
210
|
+
height: 80px !important;
|
|
211
|
+
}
|
|
212
|
+
</style>
|