vite-plugin-vue-devtools 0.0.1-alpha.2 → 0.0.1-alpha.3
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-07e53519.js → VCard-9037cc6c.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-c622c694.js → VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js} +1 -1
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js → VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js} +1 -1
- package/dist/client/assets/{VPanelGrids-2e4d7603.js → VPanelGrids-1bf7082d.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js → VTextInput.vue_vue_type_script_setup_true_lang-b905b78e.js} +3 -3
- package/dist/client/assets/{__inspecting-ca212e33.js → __inspecting-62c3dbcc.js} +2 -2
- package/dist/client/assets/{assets-7d94be21.js → assets-95a58404.js} +7 -7
- package/dist/client/assets/{components-f04eb68e.js → components-a220bbbe.js} +3 -3
- package/dist/client/assets/{graph-b9e504aa.js → graph-92ab6145.js} +2 -2
- package/dist/client/assets/{index-ab9e9151.js → index-5b5586cd.js} +248 -225
- package/dist/client/assets/{inspect-d697adb8.js → inspect-82ea9761.js} +2 -2
- package/dist/client/assets/{overview-afb7d69a.js → overview-bfce273d.js} +4 -6
- package/dist/client/assets/{pages-4aa45253.js → pages-fe1fbff1.js} +4 -6
- package/dist/client/assets/{pinia-178be7b6.js → pinia-09a6969e.js} +6 -42
- package/dist/client/assets/{routes-cd4e8e50.js → routes-48f13761.js} +6 -6
- package/dist/client/assets/{rpc-c07563d7.js → rpc-85ddbc2c.js} +1 -1
- package/dist/client/assets/{settings-c9f4467d.js → settings-7d02fcf4.js} +3 -3
- package/dist/client/assets/{splitpanes.es-f2ab0d30.js → splitpanes.es-48981724.js} +2 -2
- package/dist/client/assets/{timeline-6da2fbae.js → timeline-8ad30834.js} +5 -5
- package/dist/client/index.html +1 -1
- package/package.json +1 -1
- package/src/node/Container.vue +1 -1
- package/dist/client/assets/pages-43ddf646.js +0 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ay as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-5b5586cd.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-5b5586cd.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-5b5586cd.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ay as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-5b5586cd.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,
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.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, az as resolveDirective, E as createTextVNode, t as toDisplayString, aA as pushScopeId, aB as popScopeId, ay as _export_sfc, aC as vModelDynamic, ap as mergeProps, z as isRef } from './index-5b5586cd.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,
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-1bf7082d.js';
|
|
2
|
+
import { d as defineComponent, aE as useEventListener, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, aF as useClient } from './index-5b5586cd.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,
|
|
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-1bf7082d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-9037cc6c.js';
|
|
3
|
+
import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js';
|
|
4
|
+
import { d as defineComponent, o as openBlock, a as createBlock, w as withCtx, b as createVNode, ap as mergeProps, aq as resolveDynamicComponent, Q as ref, ar as useElementSize, as as onClickOutside, c as createElementBlock, e as createBaseVNode, v as renderSlot, u as unref, m as createCommentVNode, at as Transition, R as computed, t as toDisplayString, n as normalizeClass, au as useStyleTag, O as normalizeStyle, av as computedAsync, aw as useTimeAgo, F as Fragment, E as createTextVNode, _ as _sfc_main$b, ax as onKeyDown, z as isRef, r as renderList } from './index-5b5586cd.js';
|
|
5
|
+
import { r as rpc } from './rpc-85ddbc2c.js';
|
|
6
|
+
import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-b905b78e.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-cb9f1433.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 {
|
|
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-48981724.js';
|
|
2
|
+
import { ac as getInstanceName, ad as classify, ae as kebabize, af as isFragment, ag as camelize, ah as returnError, ai as isBeingDestroyed, aj as getUniqueComponentId, ak as getRenderKey, Q as ref, al 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, am as onVueInstanceUpdate, b as createVNode, w as withCtx, a4 as reactive, an as instance } from './index-5b5586cd.js';
|
|
3
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js';
|
|
4
4
|
|
|
5
5
|
class ComponentFilter {
|
|
6
6
|
filter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as ref, a8 as useStorage, R as computed, d as defineComponent, o as openBlock, c as createElementBlock, x as withDirectives, a9 as vModelText, u as unref, e as createBaseVNode, z as isRef, A as vModelCheckbox, aa as useDark, f as onMounted, ab as watch, b as createVNode } from './index-5b5586cd.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-85ddbc2c.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|
|
@@ -14102,19 +14102,19 @@ 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-
|
|
14116
|
-
|
|
14117
|
-
const routes = [{"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}];
|
|
14105
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-8ad30834.js'),true?["./timeline-8ad30834.js","./splitpanes.es-48981724.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js","./VPanelGrids-1bf7082d.js","./VCard-9037cc6c.js"]:void 0,import.meta.url);
|
|
14106
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-7d02fcf4.js'),true?["./settings-7d02fcf4.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js","./VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js"]:void 0,import.meta.url);
|
|
14107
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-48f13761.js'),true?["./routes-48f13761.js","./VPanelGrids-1bf7082d.js","./VCard-9037cc6c.js","./splitpanes.es-48981724.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js"]:void 0,import.meta.url);
|
|
14108
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-09a6969e.js'),true?["./pinia-09a6969e.js","./splitpanes.es-48981724.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js"]:void 0,import.meta.url);
|
|
14109
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-fe1fbff1.js'),true?["./pages-fe1fbff1.js","./VTextInput.vue_vue_type_script_setup_true_lang-b905b78e.js","./VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14110
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-bfce273d.js'),true?["./overview-bfce273d.js","./VPanelGrids-1bf7082d.js","./rpc-85ddbc2c.js"]:void 0,import.meta.url);
|
|
14111
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-82ea9761.js'),true?["./inspect-82ea9761.js","./rpc-85ddbc2c.js"]:void 0,import.meta.url);
|
|
14112
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-92ab6145.js'),true?["./graph-92ab6145.js","./fuse.esm-c317b696.js","./rpc-85ddbc2c.js"]:void 0,import.meta.url);
|
|
14113
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./components-a220bbbe.js'),true?["./components-a220bbbe.js","./splitpanes.es-48981724.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js"]:void 0,import.meta.url);
|
|
14114
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./assets-95a58404.js'),true?["./assets-95a58404.js","./VPanelGrids-1bf7082d.js","./VCard-9037cc6c.js","./VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js","./rpc-85ddbc2c.js","./VTextInput.vue_vue_type_script_setup_true_lang-b905b78e.js","./VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14115
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-62c3dbcc.js'),true?["./__inspecting-62c3dbcc.js","./VPanelGrids-1bf7082d.js"]:void 0,import.meta.url);
|
|
14116
|
+
|
|
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! */
|
|
14119
14119
|
|
|
14120
14120
|
const _hoisted_1$3 = ["src", "alt"];
|
|
@@ -14593,43 +14593,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14593
14593
|
|
|
14594
14594
|
/* Injected with object hook! */
|
|
14595
14595
|
|
|
14596
|
-
/*!
|
|
14597
|
-
* pinia v2.0.35
|
|
14598
|
-
* (c) 2023 Eduardo San Martin Morote
|
|
14599
|
-
* @license MIT
|
|
14600
|
-
*/
|
|
14601
|
-
// type DeepReadonly<T> = { readonly [P in keyof T]: DeepReadonly<T[P]> }
|
|
14602
|
-
// TODO: can we change these to numbers?
|
|
14603
|
-
/**
|
|
14604
|
-
* Possible types for SubscriptionCallback
|
|
14605
|
-
*/
|
|
14606
|
-
var MutationType;
|
|
14607
|
-
(function (MutationType) {
|
|
14608
|
-
/**
|
|
14609
|
-
* Direct mutation of the state:
|
|
14610
|
-
*
|
|
14611
|
-
* - `store.name = 'new name'`
|
|
14612
|
-
* - `store.$state.name = 'new name'`
|
|
14613
|
-
* - `store.list.push('new item')`
|
|
14614
|
-
*/
|
|
14615
|
-
MutationType["direct"] = "direct";
|
|
14616
|
-
/**
|
|
14617
|
-
* Mutated the state with `$patch` and an object
|
|
14618
|
-
*
|
|
14619
|
-
* - `store.$patch({ name: 'newName' })`
|
|
14620
|
-
*/
|
|
14621
|
-
MutationType["patchObject"] = "patch object";
|
|
14622
|
-
/**
|
|
14623
|
-
* Mutated the state with `$patch` and a function
|
|
14624
|
-
*
|
|
14625
|
-
* - `store.$patch(state => state.name = 'newName')`
|
|
14626
|
-
*/
|
|
14627
|
-
MutationType["patchFunction"] = "patch function";
|
|
14628
|
-
// maybe reset? for $state = {} and $reset
|
|
14629
|
-
})(MutationType || (MutationType = {}));
|
|
14630
|
-
|
|
14631
|
-
/* Injected with object hook! */
|
|
14632
|
-
|
|
14633
14596
|
function isBeingDestroyed(instance) {
|
|
14634
14597
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
14635
14598
|
}
|
|
@@ -14732,6 +14695,9 @@ function toggleTimelineLayer(id) {
|
|
|
14732
14695
|
activeTimelineEventIndex.value = 0;
|
|
14733
14696
|
}
|
|
14734
14697
|
const timelineApi = {
|
|
14698
|
+
removeTimelineLayer(layerId) {
|
|
14699
|
+
timelineLayer.value = timelineLayer.value.filter((layer) => layer.id !== layerId);
|
|
14700
|
+
},
|
|
14735
14701
|
addTimelineLayer(layer) {
|
|
14736
14702
|
timelineLayer.value.push(layer);
|
|
14737
14703
|
},
|
|
@@ -14826,6 +14792,25 @@ function initTimeline(events) {
|
|
|
14826
14792
|
|
|
14827
14793
|
/* Injected with object hook! */
|
|
14828
14794
|
|
|
14795
|
+
const router$2 = ref();
|
|
14796
|
+
const currentRoute = computed(() => unref(router$2.value?.currentRoute));
|
|
14797
|
+
const map = /* @__PURE__ */ new Map();
|
|
14798
|
+
const routes = computed(() => {
|
|
14799
|
+
return (router$2.value?.getRoutes() || []).map((i) => {
|
|
14800
|
+
return {
|
|
14801
|
+
...i
|
|
14802
|
+
};
|
|
14803
|
+
}).filter((i) => !map.has(i.path) && map.set(i.path, 1));
|
|
14804
|
+
});
|
|
14805
|
+
function initPages() {
|
|
14806
|
+
router$2.value = app$1.value?.config.globalProperties.$router;
|
|
14807
|
+
router$2.value?.afterEach(() => {
|
|
14808
|
+
triggerRef(router$2);
|
|
14809
|
+
});
|
|
14810
|
+
}
|
|
14811
|
+
|
|
14812
|
+
/* Injected with object hook! */
|
|
14813
|
+
|
|
14829
14814
|
const app$1 = shallowRef();
|
|
14830
14815
|
const vueVersion = computed(() => app$1.value?.version);
|
|
14831
14816
|
const instance = shallowRef();
|
|
@@ -14840,6 +14825,7 @@ function initVueApp(_app, component) {
|
|
|
14840
14825
|
if (_app) {
|
|
14841
14826
|
app$1.value = _app;
|
|
14842
14827
|
triggerRef(app$1);
|
|
14828
|
+
initPages();
|
|
14843
14829
|
}
|
|
14844
14830
|
if (component.root) {
|
|
14845
14831
|
instance.value = component.root;
|
|
@@ -14850,7 +14836,197 @@ function initVueApp(_app, component) {
|
|
|
14850
14836
|
|
|
14851
14837
|
/* Injected with object hook! */
|
|
14852
14838
|
|
|
14853
|
-
const
|
|
14839
|
+
const CYAN_400 = 2282478;
|
|
14840
|
+
const ORANGE_400 = 16486972;
|
|
14841
|
+
const DARK = 6710886;
|
|
14842
|
+
const LAYER_ID$1 = "router";
|
|
14843
|
+
const router$1 = ref();
|
|
14844
|
+
const routeRecordMatcher = ref();
|
|
14845
|
+
const activeRouteRecordIndex = ref(0);
|
|
14846
|
+
const routeRecordMatcherState = computed(() => {
|
|
14847
|
+
return routeRecordMatcher.value?.map((route) => {
|
|
14848
|
+
const state = formatRouteRecordMatcherForStateInspector(route);
|
|
14849
|
+
const tags = formatRouteRecordForInspector(route);
|
|
14850
|
+
return {
|
|
14851
|
+
path: state.path,
|
|
14852
|
+
tags,
|
|
14853
|
+
state
|
|
14854
|
+
};
|
|
14855
|
+
}).sort((a, b) => a.path.length - b.path.length);
|
|
14856
|
+
});
|
|
14857
|
+
const activeRouteRecordMatcherState = computed(() => {
|
|
14858
|
+
const state = routeRecordMatcherState.value?.[activeRouteRecordIndex.value]?.state;
|
|
14859
|
+
return {
|
|
14860
|
+
key: "options",
|
|
14861
|
+
value: state
|
|
14862
|
+
};
|
|
14863
|
+
});
|
|
14864
|
+
function formatRouteRecordForInspector(route) {
|
|
14865
|
+
const tags = [];
|
|
14866
|
+
const { record } = route;
|
|
14867
|
+
if (record.name != null) {
|
|
14868
|
+
tags.push({
|
|
14869
|
+
label: String(record.name),
|
|
14870
|
+
bgColor: CYAN_400
|
|
14871
|
+
});
|
|
14872
|
+
}
|
|
14873
|
+
if (record.aliasOf) {
|
|
14874
|
+
tags.push({
|
|
14875
|
+
label: "alias",
|
|
14876
|
+
bgColor: ORANGE_400
|
|
14877
|
+
});
|
|
14878
|
+
}
|
|
14879
|
+
if (record.redirect) {
|
|
14880
|
+
tags.push({
|
|
14881
|
+
label: typeof record.redirect === "string" ? `redirect: ${record.redirect}` : "redirects",
|
|
14882
|
+
bgColor: DARK
|
|
14883
|
+
});
|
|
14884
|
+
}
|
|
14885
|
+
return tags;
|
|
14886
|
+
}
|
|
14887
|
+
function formatRouteRecordMatcherForStateInspector(route) {
|
|
14888
|
+
const { record } = route;
|
|
14889
|
+
const fields = {
|
|
14890
|
+
path: record.path
|
|
14891
|
+
};
|
|
14892
|
+
if (record.name != null)
|
|
14893
|
+
fields.name = record.name;
|
|
14894
|
+
fields.regexp = route.re;
|
|
14895
|
+
if (route.keys.length)
|
|
14896
|
+
fields.keys = toRaw(route.keys);
|
|
14897
|
+
if (record.redirect != null)
|
|
14898
|
+
fields.redirect = record.redirect;
|
|
14899
|
+
if (route.alias.length)
|
|
14900
|
+
fields.aliases = route.alias.map((alias) => alias.record.path);
|
|
14901
|
+
if (Object.keys(route.record.meta).length)
|
|
14902
|
+
fields.meta = route.record.meta;
|
|
14903
|
+
fields.score = toRaw(route.score);
|
|
14904
|
+
return fields;
|
|
14905
|
+
}
|
|
14906
|
+
function toggleRouteRecordMatcher(index) {
|
|
14907
|
+
activeRouteRecordIndex.value = index;
|
|
14908
|
+
}
|
|
14909
|
+
function formatRouteLocation(routeLocation) {
|
|
14910
|
+
const copy = Object.assign({}, routeLocation, {
|
|
14911
|
+
// remove variables that can contain vue instances
|
|
14912
|
+
matched: routeLocation.matched.map(
|
|
14913
|
+
(matched) => reactiveOmit(matched, ["instances", "children", "aliasOf"])
|
|
14914
|
+
)
|
|
14915
|
+
});
|
|
14916
|
+
return copy;
|
|
14917
|
+
}
|
|
14918
|
+
function subscribeRouterChanged(router2) {
|
|
14919
|
+
router2.onError((error, to) => {
|
|
14920
|
+
timelineApi.addTimelineEvent({
|
|
14921
|
+
layerId: LAYER_ID$1,
|
|
14922
|
+
event: {
|
|
14923
|
+
title: "Error during Navigation",
|
|
14924
|
+
subtitle: to.fullPath,
|
|
14925
|
+
time: Date.now(),
|
|
14926
|
+
now: Date.now(),
|
|
14927
|
+
data: { error: error.message }
|
|
14928
|
+
}
|
|
14929
|
+
});
|
|
14930
|
+
});
|
|
14931
|
+
router2.beforeEach((to, from) => {
|
|
14932
|
+
const data = {
|
|
14933
|
+
guard: "beforeEach",
|
|
14934
|
+
from: formatRouteLocation(
|
|
14935
|
+
from
|
|
14936
|
+
),
|
|
14937
|
+
to: formatRouteLocation(to)
|
|
14938
|
+
};
|
|
14939
|
+
timelineApi.addTimelineEvent({
|
|
14940
|
+
layerId: LAYER_ID$1,
|
|
14941
|
+
event: {
|
|
14942
|
+
time: Date.now(),
|
|
14943
|
+
now: Date.now(),
|
|
14944
|
+
title: "Start of navigation",
|
|
14945
|
+
subtitle: to.fullPath,
|
|
14946
|
+
data
|
|
14947
|
+
}
|
|
14948
|
+
});
|
|
14949
|
+
});
|
|
14950
|
+
router2.afterEach((to, from, failure) => {
|
|
14951
|
+
const data = {
|
|
14952
|
+
guard: "afterEach"
|
|
14953
|
+
};
|
|
14954
|
+
if (failure) {
|
|
14955
|
+
data.failure = failure ? failure.message : "";
|
|
14956
|
+
data.status = "❌";
|
|
14957
|
+
} else {
|
|
14958
|
+
data.status = "✅";
|
|
14959
|
+
}
|
|
14960
|
+
data.from = formatRouteLocation(from);
|
|
14961
|
+
data.to = formatRouteLocation(to);
|
|
14962
|
+
timelineApi.addTimelineEvent({
|
|
14963
|
+
layerId: LAYER_ID$1,
|
|
14964
|
+
event: {
|
|
14965
|
+
title: "End of navigation",
|
|
14966
|
+
subtitle: to.fullPath,
|
|
14967
|
+
time: Date.now(),
|
|
14968
|
+
now: Date.now(),
|
|
14969
|
+
data
|
|
14970
|
+
}
|
|
14971
|
+
});
|
|
14972
|
+
});
|
|
14973
|
+
}
|
|
14974
|
+
function initRoutes() {
|
|
14975
|
+
router$1.value = app$1.value?.config.globalProperties.$router;
|
|
14976
|
+
if (router$1.value) {
|
|
14977
|
+
const matcher = createRouterMatcher(router$1.value?.options.routes, router$1.value?.options);
|
|
14978
|
+
routeRecordMatcher.value = matcher.getRoutes();
|
|
14979
|
+
timelineApi.addTimelineLayer({
|
|
14980
|
+
id: LAYER_ID$1,
|
|
14981
|
+
label: "Router Navigations"
|
|
14982
|
+
});
|
|
14983
|
+
subscribeRouterChanged(router$1.value);
|
|
14984
|
+
router$1.value?.afterEach(() => {
|
|
14985
|
+
triggerRef(router$1);
|
|
14986
|
+
});
|
|
14987
|
+
}
|
|
14988
|
+
}
|
|
14989
|
+
|
|
14990
|
+
/* Injected with object hook! */
|
|
14991
|
+
|
|
14992
|
+
/*!
|
|
14993
|
+
* pinia v2.0.35
|
|
14994
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
14995
|
+
* @license MIT
|
|
14996
|
+
*/
|
|
14997
|
+
// type DeepReadonly<T> = { readonly [P in keyof T]: DeepReadonly<T[P]> }
|
|
14998
|
+
// TODO: can we change these to numbers?
|
|
14999
|
+
/**
|
|
15000
|
+
* Possible types for SubscriptionCallback
|
|
15001
|
+
*/
|
|
15002
|
+
var MutationType;
|
|
15003
|
+
(function (MutationType) {
|
|
15004
|
+
/**
|
|
15005
|
+
* Direct mutation of the state:
|
|
15006
|
+
*
|
|
15007
|
+
* - `store.name = 'new name'`
|
|
15008
|
+
* - `store.$state.name = 'new name'`
|
|
15009
|
+
* - `store.list.push('new item')`
|
|
15010
|
+
*/
|
|
15011
|
+
MutationType["direct"] = "direct";
|
|
15012
|
+
/**
|
|
15013
|
+
* Mutated the state with `$patch` and an object
|
|
15014
|
+
*
|
|
15015
|
+
* - `store.$patch({ name: 'newName' })`
|
|
15016
|
+
*/
|
|
15017
|
+
MutationType["patchObject"] = "patch object";
|
|
15018
|
+
/**
|
|
15019
|
+
* Mutated the state with `$patch` and a function
|
|
15020
|
+
*
|
|
15021
|
+
* - `store.$patch(state => state.name = 'newName')`
|
|
15022
|
+
*/
|
|
15023
|
+
MutationType["patchFunction"] = "patch function";
|
|
15024
|
+
// maybe reset? for $state = {} and $reset
|
|
15025
|
+
})(MutationType || (MutationType = {}));
|
|
15026
|
+
|
|
15027
|
+
/* Injected with object hook! */
|
|
15028
|
+
|
|
15029
|
+
const LAYER_ID = "pinia";
|
|
14854
15030
|
const piniaVisible = ref(false);
|
|
14855
15031
|
const stores = ref();
|
|
14856
15032
|
const subscribes = ref([]);
|
|
@@ -14900,7 +15076,7 @@ function formatMutationType(type) {
|
|
|
14900
15076
|
function subscribeStore(store) {
|
|
14901
15077
|
const action = store.$onAction(({ after, onError, name, args }) => {
|
|
14902
15078
|
timelineApi.addTimelineEvent({
|
|
14903
|
-
layerId: LAYER_ID
|
|
15079
|
+
layerId: LAYER_ID,
|
|
14904
15080
|
event: {
|
|
14905
15081
|
time: Date.now(),
|
|
14906
15082
|
title: `🛫 ${name}`,
|
|
@@ -14915,7 +15091,7 @@ function subscribeStore(store) {
|
|
|
14915
15091
|
});
|
|
14916
15092
|
after((result) => {
|
|
14917
15093
|
timelineApi.addTimelineEvent({
|
|
14918
|
-
layerId: LAYER_ID
|
|
15094
|
+
layerId: LAYER_ID,
|
|
14919
15095
|
event: {
|
|
14920
15096
|
time: Date.now(),
|
|
14921
15097
|
title: `🛬 ${name}`,
|
|
@@ -14932,7 +15108,7 @@ function subscribeStore(store) {
|
|
|
14932
15108
|
});
|
|
14933
15109
|
onError((error) => {
|
|
14934
15110
|
timelineApi.addTimelineEvent({
|
|
14935
|
-
layerId: LAYER_ID
|
|
15111
|
+
layerId: LAYER_ID,
|
|
14936
15112
|
event: {
|
|
14937
15113
|
now: Date.now(),
|
|
14938
15114
|
time: Date.now(),
|
|
@@ -14955,7 +15131,7 @@ function subscribeStore(store) {
|
|
|
14955
15131
|
() => unref(store[name]),
|
|
14956
15132
|
(newValue, oldValue) => {
|
|
14957
15133
|
timelineApi.addTimelineEvent({
|
|
14958
|
-
layerId: LAYER_ID
|
|
15134
|
+
layerId: LAYER_ID,
|
|
14959
15135
|
event: {
|
|
14960
15136
|
now: Date.now(),
|
|
14961
15137
|
time: Date.now(),
|
|
@@ -14990,7 +15166,7 @@ function subscribeStore(store) {
|
|
|
14990
15166
|
else if (events && !Array.isArray(events))
|
|
14991
15167
|
eventData.subtitle = events.type;
|
|
14992
15168
|
timelineApi.addTimelineEvent({
|
|
14993
|
-
layerId: LAYER_ID
|
|
15169
|
+
layerId: LAYER_ID,
|
|
14994
15170
|
event: eventData
|
|
14995
15171
|
});
|
|
14996
15172
|
},
|
|
@@ -14999,7 +15175,7 @@ function subscribeStore(store) {
|
|
|
14999
15175
|
subscribes.value.push(subscribe);
|
|
15000
15176
|
store._hotUpdate = markRaw((newStore) => {
|
|
15001
15177
|
timeApi.addTimelineEvent({
|
|
15002
|
-
layerId: LAYER_ID
|
|
15178
|
+
layerId: LAYER_ID,
|
|
15003
15179
|
event: {
|
|
15004
15180
|
time: Date.now(),
|
|
15005
15181
|
now: Date.now(),
|
|
@@ -15030,190 +15206,35 @@ function normalizePiniaInfo() {
|
|
|
15030
15206
|
subscribeStore(store);
|
|
15031
15207
|
});
|
|
15032
15208
|
}
|
|
15033
|
-
function updatePinia() {
|
|
15209
|
+
function updatePinia(component) {
|
|
15034
15210
|
stores.value = null;
|
|
15035
15211
|
subscribes.value.forEach((stop) => stop());
|
|
15036
15212
|
subscribes.value = [];
|
|
15213
|
+
piniaState.value = {};
|
|
15214
|
+
piniaGetters.value = {};
|
|
15215
|
+
piniaStoresId.value = ["🍍 Pinia (root)"];
|
|
15037
15216
|
nextTick(() => {
|
|
15038
|
-
const proxy =
|
|
15217
|
+
const proxy = component?.proxy;
|
|
15039
15218
|
const _stores = proxy?._pStores;
|
|
15040
15219
|
piniaVisible.value = !!_stores;
|
|
15041
15220
|
if (_stores) {
|
|
15042
15221
|
stores.value = _stores;
|
|
15043
|
-
piniaState.value = {};
|
|
15044
|
-
piniaGetters.value = {};
|
|
15045
|
-
piniaStoresId.value = ["🍍 Pinia (root)"];
|
|
15046
15222
|
normalizePiniaInfo();
|
|
15047
15223
|
}
|
|
15048
15224
|
});
|
|
15049
15225
|
}
|
|
15050
|
-
function initPinia() {
|
|
15051
|
-
updatePinia();
|
|
15226
|
+
function initPinia(component) {
|
|
15227
|
+
updatePinia(component);
|
|
15052
15228
|
setTimeout(() => {
|
|
15053
15229
|
if (stores.value) {
|
|
15230
|
+
timelineApi.removeTimelineLayer(LAYER_ID);
|
|
15054
15231
|
timelineApi.addTimelineLayer({
|
|
15055
|
-
id:
|
|
15232
|
+
id: LAYER_ID,
|
|
15056
15233
|
label: "Pinia 🍍"
|
|
15057
15234
|
});
|
|
15058
15235
|
}
|
|
15059
15236
|
});
|
|
15060
15237
|
}
|
|
15061
|
-
onVueInstanceUpdate(() => {
|
|
15062
|
-
updatePinia();
|
|
15063
|
-
});
|
|
15064
|
-
|
|
15065
|
-
/* Injected with object hook! */
|
|
15066
|
-
|
|
15067
|
-
const CYAN_400 = 2282478;
|
|
15068
|
-
const ORANGE_400 = 16486972;
|
|
15069
|
-
const DARK = 6710886;
|
|
15070
|
-
const LAYER_ID = "router";
|
|
15071
|
-
const router$1 = ref();
|
|
15072
|
-
const routeRecordMatcher = ref();
|
|
15073
|
-
const activeRouteRecordIndex = ref(0);
|
|
15074
|
-
const routeRecordMatcherState = computed(() => {
|
|
15075
|
-
return routeRecordMatcher.value?.map((route) => {
|
|
15076
|
-
const state = formatRouteRecordMatcherForStateInspector(route);
|
|
15077
|
-
const tags = formatRouteRecordForInspector(route);
|
|
15078
|
-
return {
|
|
15079
|
-
path: state.path,
|
|
15080
|
-
tags,
|
|
15081
|
-
state
|
|
15082
|
-
};
|
|
15083
|
-
}).sort((a, b) => a.path.length - b.path.length);
|
|
15084
|
-
});
|
|
15085
|
-
const activeRouteRecordMatcherState = computed(() => {
|
|
15086
|
-
const state = routeRecordMatcherState.value?.[activeRouteRecordIndex.value]?.state;
|
|
15087
|
-
return {
|
|
15088
|
-
key: "options",
|
|
15089
|
-
value: state
|
|
15090
|
-
};
|
|
15091
|
-
});
|
|
15092
|
-
function formatRouteRecordForInspector(route) {
|
|
15093
|
-
const tags = [];
|
|
15094
|
-
const { record } = route;
|
|
15095
|
-
if (record.name != null) {
|
|
15096
|
-
tags.push({
|
|
15097
|
-
label: String(record.name),
|
|
15098
|
-
bgColor: CYAN_400
|
|
15099
|
-
});
|
|
15100
|
-
}
|
|
15101
|
-
if (record.aliasOf) {
|
|
15102
|
-
tags.push({
|
|
15103
|
-
label: "alias",
|
|
15104
|
-
bgColor: ORANGE_400
|
|
15105
|
-
});
|
|
15106
|
-
}
|
|
15107
|
-
if (record.redirect) {
|
|
15108
|
-
tags.push({
|
|
15109
|
-
label: typeof record.redirect === "string" ? `redirect: ${record.redirect}` : "redirects",
|
|
15110
|
-
bgColor: DARK
|
|
15111
|
-
});
|
|
15112
|
-
}
|
|
15113
|
-
return tags;
|
|
15114
|
-
}
|
|
15115
|
-
function formatRouteRecordMatcherForStateInspector(route) {
|
|
15116
|
-
const { record } = route;
|
|
15117
|
-
const fields = {
|
|
15118
|
-
path: record.path
|
|
15119
|
-
};
|
|
15120
|
-
if (record.name != null)
|
|
15121
|
-
fields.name = record.name;
|
|
15122
|
-
fields.regexp = route.re;
|
|
15123
|
-
if (route.keys.length)
|
|
15124
|
-
fields.keys = toRaw(route.keys);
|
|
15125
|
-
if (record.redirect != null)
|
|
15126
|
-
fields.redirect = record.redirect;
|
|
15127
|
-
if (route.alias.length)
|
|
15128
|
-
fields.aliases = route.alias.map((alias) => alias.record.path);
|
|
15129
|
-
if (Object.keys(route.record.meta).length)
|
|
15130
|
-
fields.meta = route.record.meta;
|
|
15131
|
-
fields.score = toRaw(route.score);
|
|
15132
|
-
return fields;
|
|
15133
|
-
}
|
|
15134
|
-
function toggleRouteRecordMatcher(index) {
|
|
15135
|
-
activeRouteRecordIndex.value = index;
|
|
15136
|
-
}
|
|
15137
|
-
function formatRouteLocation(routeLocation) {
|
|
15138
|
-
const copy = Object.assign({}, routeLocation, {
|
|
15139
|
-
// remove variables that can contain vue instances
|
|
15140
|
-
matched: routeLocation.matched.map(
|
|
15141
|
-
(matched) => reactiveOmit(matched, ["instances", "children", "aliasOf"])
|
|
15142
|
-
)
|
|
15143
|
-
});
|
|
15144
|
-
return copy;
|
|
15145
|
-
}
|
|
15146
|
-
function subscribeRouterChanged(router2) {
|
|
15147
|
-
router2.onError((error, to) => {
|
|
15148
|
-
timelineApi.addTimelineEvent({
|
|
15149
|
-
layerId: LAYER_ID,
|
|
15150
|
-
event: {
|
|
15151
|
-
title: "Error during Navigation",
|
|
15152
|
-
subtitle: to.fullPath,
|
|
15153
|
-
time: Date.now(),
|
|
15154
|
-
now: Date.now(),
|
|
15155
|
-
data: { error: error.message }
|
|
15156
|
-
}
|
|
15157
|
-
});
|
|
15158
|
-
});
|
|
15159
|
-
router2.beforeEach((to, from) => {
|
|
15160
|
-
const data = {
|
|
15161
|
-
guard: "beforeEach",
|
|
15162
|
-
from: formatRouteLocation(
|
|
15163
|
-
from
|
|
15164
|
-
),
|
|
15165
|
-
to: formatRouteLocation(to)
|
|
15166
|
-
};
|
|
15167
|
-
timelineApi.addTimelineEvent({
|
|
15168
|
-
layerId: LAYER_ID,
|
|
15169
|
-
event: {
|
|
15170
|
-
time: Date.now(),
|
|
15171
|
-
now: Date.now(),
|
|
15172
|
-
title: "Start of navigation",
|
|
15173
|
-
subtitle: to.fullPath,
|
|
15174
|
-
data
|
|
15175
|
-
}
|
|
15176
|
-
});
|
|
15177
|
-
});
|
|
15178
|
-
router2.afterEach((to, from, failure) => {
|
|
15179
|
-
const data = {
|
|
15180
|
-
guard: "afterEach"
|
|
15181
|
-
};
|
|
15182
|
-
if (failure) {
|
|
15183
|
-
data.failure = failure ? failure.message : "";
|
|
15184
|
-
data.status = "❌";
|
|
15185
|
-
} else {
|
|
15186
|
-
data.status = "✅";
|
|
15187
|
-
}
|
|
15188
|
-
data.from = formatRouteLocation(from);
|
|
15189
|
-
data.to = formatRouteLocation(to);
|
|
15190
|
-
timelineApi.addTimelineEvent({
|
|
15191
|
-
layerId: LAYER_ID,
|
|
15192
|
-
event: {
|
|
15193
|
-
title: "End of navigation",
|
|
15194
|
-
subtitle: to.fullPath,
|
|
15195
|
-
time: Date.now(),
|
|
15196
|
-
now: Date.now(),
|
|
15197
|
-
data
|
|
15198
|
-
}
|
|
15199
|
-
});
|
|
15200
|
-
});
|
|
15201
|
-
}
|
|
15202
|
-
function initRoutes() {
|
|
15203
|
-
router$1.value = app$1.value?.config.globalProperties.$router;
|
|
15204
|
-
if (router$1.value) {
|
|
15205
|
-
const matcher = createRouterMatcher(router$1.value?.options.routes, router$1.value?.options);
|
|
15206
|
-
routeRecordMatcher.value = matcher.getRoutes();
|
|
15207
|
-
timelineApi.addTimelineLayer({
|
|
15208
|
-
id: LAYER_ID,
|
|
15209
|
-
label: "Router Navigations"
|
|
15210
|
-
});
|
|
15211
|
-
subscribeRouterChanged(router$1.value);
|
|
15212
|
-
router$1.value?.afterEach(() => {
|
|
15213
|
-
triggerRef(router$1);
|
|
15214
|
-
});
|
|
15215
|
-
}
|
|
15216
|
-
}
|
|
15217
15238
|
|
|
15218
15239
|
/* Injected with object hook! */
|
|
15219
15240
|
|
|
@@ -15235,6 +15256,7 @@ function connect() {
|
|
|
15235
15256
|
initVueApp(app, component);
|
|
15236
15257
|
});
|
|
15237
15258
|
hook.on("component:added" /* COMPONENT_ADDED */, (app, uid, parentUid, component) => {
|
|
15259
|
+
initPinia(component);
|
|
15238
15260
|
if (!app || typeof uid !== "number" && !uid || !component || hideInDevtools(component))
|
|
15239
15261
|
return;
|
|
15240
15262
|
initVueApp(app, component);
|
|
@@ -15251,7 +15273,9 @@ function connect() {
|
|
|
15251
15273
|
});
|
|
15252
15274
|
}
|
|
15253
15275
|
function initHook(buffer) {
|
|
15254
|
-
buffer.forEach(([
|
|
15276
|
+
buffer.forEach(([eventType, { app, component }]) => {
|
|
15277
|
+
if (eventType === "component:added" /* COMPONENT_ADDED */)
|
|
15278
|
+
initPinia(component);
|
|
15255
15279
|
initVueApp(app, component);
|
|
15256
15280
|
});
|
|
15257
15281
|
}
|
|
@@ -15320,7 +15344,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15320
15344
|
onMounted(() => {
|
|
15321
15345
|
setTimeout(() => {
|
|
15322
15346
|
initRoutes();
|
|
15323
|
-
initPinia();
|
|
15324
15347
|
}, 200);
|
|
15325
15348
|
watchEffect(() => {
|
|
15326
15349
|
document.body.style.fontSize = `${scale.value * 15}px`;
|
|
@@ -15361,7 +15384,7 @@ connect();
|
|
|
15361
15384
|
const app = createApp(_sfc_main);
|
|
15362
15385
|
const router = createRouter({
|
|
15363
15386
|
history: createMemoryHistory(),
|
|
15364
|
-
routes
|
|
15387
|
+
routes: routes$1
|
|
15365
15388
|
});
|
|
15366
15389
|
app.use(router);
|
|
15367
15390
|
app.use(plugin);
|
|
@@ -15369,4 +15392,4 @@ app.mount("#app");
|
|
|
15369
15392
|
|
|
15370
15393
|
/* Injected with object hook! */
|
|
15371
15394
|
|
|
15372
|
-
export {
|
|
15395
|
+
export { router$2 as $, vModelCheckbox as A, withKeys as B, useTabs as C, useCategorizedTabs as D, createTextVNode as E, Fragment as F, useDevToolsSettings as G, _sfc_main$3 as H, _sfc_main$5 as I, router$1 as J, routeRecordMatcherState as K, activeRouteRecordMatcherState as L, activeRouteRecordIndex as M, toggleRouteRecordMatcher as N, normalizeStyle as O, __unplugin_components_1 as P, ref as Q, computed as R, piniaStoresId as S, reactivePick as T, toRaw as U, piniaState as V, piniaGetters as W, resolveComponent as X, withModifiers as Y, currentRoute as Z, _sfc_main$9 as _, createBlock as a, routes as a0, vueVersion as a1, __unplugin_components_0 as a2, useColorMode as a3, reactive as a4, useElementBounding as a5, nextTick as a6, watchEffect as a7, useStorage as a8, vModelText as a9, pushScopeId as aA, popScopeId as aB, vModelDynamic as aC, __vitePreload as aD, useEventListener as aE, useClient as aF, useDark as aa, watch as ab, getInstanceName as ac, classify as ad, kebabize as ae, isFragment as af, camelize as ag, returnError as ah, isBeingDestroyed as ai, getUniqueComponentId as aj, getRenderKey as ak, shallowRef as al, onVueInstanceUpdate as am, instance as an, h as ao, mergeProps as ap, resolveDynamicComponent as aq, useElementSize as ar, onClickOutside as as, Transition as at, useStyleTag as au, computedAsync as av, useTimeAgo as aw, onKeyDown as ax, _export_sfc as ay, resolveDirective as az, createVNode as b, createElementBlock as c, defineComponent as d, createBaseVNode as e, onMounted as f, onUnmounted as g, timelineLayer as h, activeTimelineEvents as i, activeTimelineEventIndex as j, toggleTimelineEventIndex as k, timelineEventDetails as l, createCommentVNode as m, normalizeClass as n, openBlock as o, activeLayerId as p, toggleTimelineLayer as q, renderList as r, useVModel as s, toDisplayString as t, unref as u, renderSlot as v, withCtx as w, withDirectives as x, vModelSelect as y, isRef as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
1
|
+
import { d as defineComponent, a3 as useColorMode, Q as ref, R as computed, a4 as reactive, a5 as useElementBounding, f as onMounted, a6 as nextTick, a7 as watchEffect, g as onUnmounted, o as openBlock, c as createElementBlock, b as createVNode, u as unref } from './index-5b5586cd.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-85ddbc2c.js';
|
|
3
3
|
|
|
4
4
|
const iframeCacheMap = /* @__PURE__ */ new Map();
|
|
5
5
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0$1 } from './VPanelGrids-
|
|
2
|
-
import {
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
4
|
-
import { i as initPages, a as routes } from './pages-43ddf646.js';
|
|
1
|
+
import { _ as __unplugin_components_0$1 } from './VPanelGrids-1bf7082d.js';
|
|
2
|
+
import { Q as ref, R as computed, a0 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, a1 as vueVersion, E as createTextVNode, c as createElementBlock, F as Fragment, a2 as __unplugin_components_0, P as __unplugin_components_1, X as resolveComponent, _ as _sfc_main$1 } from './index-5b5586cd.js';
|
|
3
|
+
import { r as rpc } from './rpc-85ddbc2c.js';
|
|
5
4
|
|
|
6
|
-
const version = "0.0.1-alpha.
|
|
5
|
+
const version = "0.0.1-alpha.3";
|
|
7
6
|
|
|
8
7
|
/* Injected with object hook! */
|
|
9
8
|
|
|
10
|
-
initPages();
|
|
11
9
|
const modules = ref(await rpc.componentGraph());
|
|
12
10
|
const vueModules = computed(() => modules.value.filter((i) => i.id.match(/\.vue($|\?v=)/)));
|
|
13
11
|
const pageCount = computed(() => routes.value.length);
|
|
@@ -1,8 +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,
|
|
3
|
-
import
|
|
4
|
-
import './
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
|
|
1
|
+
import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-b905b78e.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, $ as router, z as isRef, B as withKeys, a0 as routes } from './index-5b5586cd.js';
|
|
3
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.js';
|
|
4
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js';
|
|
6
5
|
|
|
7
6
|
const _hoisted_1$2 = {
|
|
8
7
|
block: "",
|
|
@@ -246,7 +245,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
246
245
|
setup(__props) {
|
|
247
246
|
const routeInput = ref("");
|
|
248
247
|
onMounted(() => {
|
|
249
|
-
initPages();
|
|
250
248
|
routeInput.value = currentRoute.value?.path ?? "/";
|
|
251
249
|
});
|
|
252
250
|
const routeInputMatched = computed(() => {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { g, M, _ as _sfc_main$2 } from './splitpanes.es-f2ab0d30.js';
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
|
|
1
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-48981724.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-5b5586cd.js';
|
|
3
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js';
|
|
6
4
|
|
|
7
5
|
const _hoisted_1 = {
|
|
8
|
-
key: 0,
|
|
9
6
|
"h-screen": "",
|
|
10
7
|
"n-panel-grids": ""
|
|
11
8
|
};
|
|
@@ -25,11 +22,6 @@ const _hoisted_5 = {
|
|
|
25
22
|
"p-2": "",
|
|
26
23
|
class: "no-scrollbar"
|
|
27
24
|
};
|
|
28
|
-
const _hoisted_6 = /* @__PURE__ */ createBaseVNode("h1", { "text-xl": "" }, " Install Pinia ", -1);
|
|
29
|
-
const _hoisted_7 = /* @__PURE__ */ createBaseVNode("p", {
|
|
30
|
-
"text-sm": "",
|
|
31
|
-
op50: ""
|
|
32
|
-
}, " It seems you don't have pinia installed. ", -1);
|
|
33
25
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
26
|
__name: "pinia",
|
|
35
27
|
setup(__props) {
|
|
@@ -57,11 +49,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
49
|
].filter(Boolean);
|
|
58
50
|
});
|
|
59
51
|
return (_ctx, _cache) => {
|
|
60
|
-
const _component_StateFields = _sfc_main$
|
|
61
|
-
|
|
62
|
-
const _component_VCard = __unplugin_components_7;
|
|
63
|
-
const _component_VPanelGrids = __unplugin_components_0;
|
|
64
|
-
return unref(piniaVisible) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
52
|
+
const _component_StateFields = _sfc_main$1;
|
|
53
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
65
54
|
createVNode(unref(M), null, {
|
|
66
55
|
default: withCtx(() => [
|
|
67
56
|
createVNode(unref(g), { border: "r base" }, {
|
|
@@ -102,32 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
102
91
|
]),
|
|
103
92
|
_: 1
|
|
104
93
|
})
|
|
105
|
-
])
|
|
106
|
-
key: 1,
|
|
107
|
-
px5: ""
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(() => [
|
|
110
|
-
createVNode(_component_VCard, {
|
|
111
|
-
flex: "~ col gap2",
|
|
112
|
-
"min-w-30": "",
|
|
113
|
-
"items-center": "",
|
|
114
|
-
p3: ""
|
|
115
|
-
}, {
|
|
116
|
-
default: withCtx(() => [
|
|
117
|
-
createVNode(_component_TabIcon, {
|
|
118
|
-
mb2: "",
|
|
119
|
-
"text-5xl": "",
|
|
120
|
-
icon: "icon-park-outline:pineapple",
|
|
121
|
-
title: "Pinia"
|
|
122
|
-
}),
|
|
123
|
-
_hoisted_6,
|
|
124
|
-
_hoisted_7
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
})
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
}));
|
|
94
|
+
]);
|
|
131
95
|
};
|
|
132
96
|
}
|
|
133
97
|
});
|
|
@@ -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, f as onMounted, u as unref, J as
|
|
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-1bf7082d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-9037cc6c.js';
|
|
3
|
+
import { d as defineComponent, f as onMounted, 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-5b5586cd.js';
|
|
4
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-48981724.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.js';
|
|
6
6
|
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
key: 0,
|
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
const _component_TabIcon = _sfc_main$2;
|
|
42
42
|
const _component_VCard = __unplugin_components_7;
|
|
43
43
|
const _component_VPanelGrids = __unplugin_components_0;
|
|
44
|
-
return unref(
|
|
44
|
+
return unref(router) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
45
45
|
createVNode(unref(M), null, {
|
|
46
46
|
default: withCtx(() => [
|
|
47
47
|
createVNode(unref(g), { border: "r base" }, {
|
|
@@ -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-b2faf063.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-5b5586cd.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-cb9f1433.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,
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.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, ao as h, v as renderSlot, O as normalizeStyle } from './index-5b5586cd.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-48981724.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-1bf7082d.js';
|
|
3
|
+
import { _ as __unplugin_components_7 } from './VCard-9037cc6c.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-5b5586cd.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-b2faf063.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-5b5586cd.js"></script>
|
|
9
9
|
<link rel="stylesheet" href="./assets/index-f0fa9f81.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
package/src/node/Container.vue
CHANGED
|
@@ -191,7 +191,7 @@ function collectHookBuffer() {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
function skipCollect(component) {
|
|
194
|
-
return component?.root
|
|
194
|
+
return component?.root?.type?.devtools?.hide || iframe.value?.contentWindow?.__VUE_DEVTOOLS_VIEW__
|
|
195
195
|
}
|
|
196
196
|
props.hook.on(DevtoolsHooks.PERF_START, (app, uid, component, type, time) => {
|
|
197
197
|
if (skipCollect(component))
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { P as ref, Q as computed, u as unref, a0 as app, a1 as triggerRef } from './index-ab9e9151.js';
|
|
2
|
-
|
|
3
|
-
const router = ref();
|
|
4
|
-
const currentRoute = computed(() => unref(router.value?.currentRoute));
|
|
5
|
-
const routes = computed(() => {
|
|
6
|
-
return (router.value?.getRoutes() || []).map((i) => {
|
|
7
|
-
return {
|
|
8
|
-
...i
|
|
9
|
-
};
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
function initPages() {
|
|
13
|
-
router.value = app.value?.config.globalProperties.$router;
|
|
14
|
-
router.value?.afterEach(() => {
|
|
15
|
-
triggerRef(router);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Injected with object hook! */
|
|
20
|
-
|
|
21
|
-
export { routes as a, currentRoute as c, initPages as i, router as r };
|