vite-plugin-vue-devtools 0.0.1-alpha.9 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -2
- package/dist/client/assets/{VCard-2c64c235.js → VCard-1d26a3c3.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-8f4aa88f.js → VIcon.vue_vue_type_script_setup_true_lang-06188541.js} +1 -1
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-7396a93b.js → VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js} +1 -1
- package/dist/client/assets/{VPanelGrids-258e71bf.js → VPanelGrids-0d71921d.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-bf165828.js → VTextInput.vue_vue_type_script_setup_true_lang-38328457.js} +3 -3
- package/dist/client/assets/{__inspecting-ac0f47cd.js → __inspecting-b04290ae.js} +2 -2
- package/dist/client/assets/{assets-16670a42.js → assets-e0c8ff78.js} +7 -7
- package/dist/client/assets/{components-d61f66d3.js → components-9660e7aa.js} +38 -8
- package/dist/client/assets/{graph-06e5c153.js → graph-b29c71b4.js} +3 -2
- package/dist/client/assets/{index-ecdbdbf3.js → index-d9de2c94.js} +49 -13
- package/dist/client/assets/{inspect-debc5551.js → inspect-56184e71.js} +2 -2
- package/dist/client/assets/{overview-8074b6b6.js → overview-c580d40f.js} +4 -4
- package/dist/client/assets/{pages-8bbcb7f6.js → pages-ec3d53ab.js} +4 -4
- package/dist/client/assets/{pinia-704b2690.js → pinia-8b81a9d8.js} +3 -3
- package/dist/client/assets/{routes-2f7ef553.js → routes-f600cbfa.js} +5 -5
- package/dist/client/assets/{rpc-ff946cbe.js → rpc-80e3af11.js} +1 -1
- package/dist/client/assets/{settings-0b0be9f6.js → settings-0c6220b2.js} +3 -3
- package/dist/client/assets/{splitpanes.es-aae37be3.js → splitpanes.es-8cd9ad22.js} +2 -2
- package/dist/client/assets/timeline-79d66fc7.js +1500 -0
- package/dist/client/assets/timeline-b315b2e0.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +20 -15
- package/src/node/Container.vue +1 -0
- package/dist/client/assets/timeline-32808aaa.js +0 -209
package/README.md
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
<
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/bg.png" />
|
|
3
|
+
</p>
|
|
4
|
+
<h1 align="center">
|
|
2
5
|
Vue DevTools <sup>Preview</sup>
|
|
3
6
|
</h1>
|
|
4
7
|
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://www.npmjs.com/package/vite-plugin-vue-devtools" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/npm/v/vite-plugin-vue-devtools" alt="NPM Version" /></a>
|
|
11
|
+
<!-- <a href="https://www.npmjs.com/package/vite-plugin-vue-devtools" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/npm/dt/vite-plugin-vue-devtools" alt="NPM Downloads" /></a> -->
|
|
12
|
+
<a href="https://github.com/webfansplz/vite-plugin-vue-devtools/blob/main/LICENSE" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/github/license/webfansplz/vite-plugin-vue-devtools" alt="License" /></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://stackblitz.com/edit/vitejs-vite-oxbwzk?embed=1&file=vite.config.ts&view=preview"><img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt=""></a>
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
|
|
5
20
|
## 📖 Introduction
|
|
6
21
|
|
|
7
22
|
`vite-plugin-vue-devtools` is a Vite plugin designed to enhance the Vue developer experience.
|
|
@@ -11,6 +26,62 @@ Vue DevTools <sup>Preview</sup>
|
|
|
11
26
|
<a href="https://github.com/webfansplz/vite-plugin-vue-devtools/discussions/2">🗺️ Project Roadmap</a> |
|
|
12
27
|
</p> -->
|
|
13
28
|
|
|
29
|
+
## 🎉 Features
|
|
30
|
+
|
|
31
|
+
### Pages
|
|
32
|
+
|
|
33
|
+
The pages tab shows your current routes and provide a quick way to navigate to them. For dynamic routes, it also provide a form to fill with each params interactively. You can also use the textbox to play and test how each route is matched.
|
|
34
|
+
|
|
35
|
+
<img src="./assets/pages.png" />
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Components
|
|
39
|
+
|
|
40
|
+
Components tab show all the components you are using in your app and hierarchy. You can also select them to see the details of the component (e.g. data,props).
|
|
41
|
+
|
|
42
|
+
<img src="./assets/components.png" />
|
|
43
|
+
|
|
44
|
+
### Assets
|
|
45
|
+
|
|
46
|
+
Assets tab that shows all your static assets (vite config.publicDir only now) and their information. You can open the asset in the browser or download it.
|
|
47
|
+
|
|
48
|
+
<img src="./assets/assets.png" />
|
|
49
|
+
|
|
50
|
+
### Timeline
|
|
51
|
+
|
|
52
|
+
Timeline tab has three categories: Performance, Router Navigations, and Pinia. You can switch between them to see the state changes and timelines.
|
|
53
|
+
|
|
54
|
+
<img src="./assets/timeline.png" />
|
|
55
|
+
|
|
56
|
+
### Routes
|
|
57
|
+
|
|
58
|
+
Routes tab is a feature integrated with [Vue Router](https://github.com/vuejs/router), allowing you to view the registered routes and their details.
|
|
59
|
+
|
|
60
|
+
<img src="./assets/routes.png" />
|
|
61
|
+
|
|
62
|
+
### Pinia
|
|
63
|
+
|
|
64
|
+
Pinia tab is a feature integrated with [Pinia](https://github.com/vuejs/pinia), allowing you to view the registered modules and their details.
|
|
65
|
+
|
|
66
|
+
<img src="./assets/pinia.png" />
|
|
67
|
+
|
|
68
|
+
### Graph
|
|
69
|
+
|
|
70
|
+
Graph tab provides a graph view that show the relationship between components.
|
|
71
|
+
|
|
72
|
+
<img src="./assets/graph.png" />
|
|
73
|
+
|
|
74
|
+
### Inspect
|
|
75
|
+
|
|
76
|
+
Inspect expose the [vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect) integration, allowing you to inspect transformation steps of Vite. It can be helpful to understand how each plugin is transforming your code and spot potential issues.
|
|
77
|
+
|
|
78
|
+
<img src="./assets/inspect.png" />
|
|
79
|
+
|
|
80
|
+
### Inspector
|
|
81
|
+
|
|
82
|
+
You can also use the "Inspector" feature to inspect the DOM tree and see which component is rendering it. Click to go to your editor of the specific line. Making it much easier to make changes, without the requirement of understanding the project structure thoroughly. (This feature is implemented based on the [vite-plugin-vue-inspector](https://github.com/webfansplz/vite-plugin-vue-inspector))
|
|
83
|
+
|
|
84
|
+
<img src="./assets/inspector.png" height=450 />
|
|
14
85
|
|
|
15
86
|
## 📦 Installation
|
|
16
87
|
|
|
@@ -42,11 +113,23 @@ export default defineConfig({
|
|
|
42
113
|
|
|
43
114
|
- Only available in development mode.
|
|
44
115
|
- Only support Vue3.0+.
|
|
116
|
+
- Currently only supports single-instance Vue applications (multi-instance support is coming soon).
|
|
45
117
|
- Doesn't support SSR (If you're using Nuxt, use [nuxt/devtools](https://github.com/nuxt/devtools) directly).
|
|
118
|
+
- The plugin follows Vue's devtools configuration, so if you have configured the `hide` option, it will also be applied in this plugin. e.g.
|
|
119
|
+
|
|
120
|
+
```js
|
|
121
|
+
// This Vue instance will be ignored by the plugin.
|
|
122
|
+
createApp({
|
|
123
|
+
render: () => h(App),
|
|
124
|
+
devtools: {
|
|
125
|
+
hide: true,
|
|
126
|
+
},
|
|
127
|
+
})
|
|
128
|
+
```
|
|
46
129
|
|
|
47
130
|
## 🌸 Credits
|
|
48
131
|
|
|
49
|
-
- This project is highly inspired by [nuxt/devtools](https://github.com/nuxt/devtools).
|
|
132
|
+
- This project is highly inspired by [nuxt/devtools](https://github.com/nuxt/devtools). Kudos to Anthony Fu for the awesome work!
|
|
50
133
|
|
|
51
134
|
## 📄 License
|
|
52
135
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aE as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d9de2c94.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-d9de2c94.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-d9de2c94.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aE as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d9de2c94.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 {
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
3
|
+
import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, b as resolveDirective, R as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aE as _export_sfc, aF as vModelDynamic, k as mergeProps, M as isRef } from './index-d9de2c94.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 {
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
|
|
2
|
+
import { v as defineComponent, aH as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aI as useDevtoolsClient } from './index-d9de2c94.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 {
|
|
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-0d71921d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
|
|
3
|
+
import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
4
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, a0 as ref, ax as useElementSize, ay as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, z as unref, g as createCommentVNode, az as Transition, a1 as computed, y as toDisplayString, q as normalizeClass, aA as useStyleTag, l as normalizeStyle, aB as computedAsync, aC as useTimeAgo, F as Fragment, R as createTextVNode, _ as _sfc_main$b, aD as onKeyDown, M as isRef, i as renderList } from './index-d9de2c94.js';
|
|
5
|
+
import { r as rpc } from './rpc-80e3af11.js';
|
|
6
|
+
import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-38328457.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-a7b04584.js';
|
|
9
9
|
|
|
10
10
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VIconButton",
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import './
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-0d71921d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
|
|
3
|
+
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-8cd9ad22.js';
|
|
4
|
+
import { ak as getInstanceName, al as classify, am as kebabize, an as isFragment, ao as camelize, ap as returnError, aq as isBeingDestroyed, ar as getUniqueComponentId, as as getRenderKey, a0 as ref, at as shallowRef, a1 as computed, v as defineComponent, r as resolveComponent, o as openBlock, e as createElementBlock, x as createBaseVNode, z as unref, c as createBlock, q as normalizeClass, y as toDisplayString, l as normalizeStyle, F as Fragment, i as renderList, g as createCommentVNode, A as onMounted, au as onVueInstanceUpdate, u as createVNode, h as withCtx, ad as reactive, av as instance } from './index-d9de2c94.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
4
6
|
|
|
5
7
|
class ComponentFilter {
|
|
6
8
|
filter;
|
|
@@ -603,12 +605,18 @@ const _hoisted_2 = {
|
|
|
603
605
|
class: "no-scrollbar"
|
|
604
606
|
};
|
|
605
607
|
const _hoisted_3 = {
|
|
608
|
+
key: 0,
|
|
606
609
|
"h-screen": "",
|
|
607
610
|
"select-none": "",
|
|
608
611
|
"overflow-scroll": "",
|
|
609
612
|
"p-2": "",
|
|
610
613
|
class: "no-scrollbar"
|
|
611
614
|
};
|
|
615
|
+
const _hoisted_4 = /* @__PURE__ */ createBaseVNode("h1", {
|
|
616
|
+
"text-sm": "",
|
|
617
|
+
italic: "",
|
|
618
|
+
op50: ""
|
|
619
|
+
}, " No Data ", -1);
|
|
612
620
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
613
621
|
__name: "components",
|
|
614
622
|
setup(__props) {
|
|
@@ -652,14 +660,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
652
660
|
});
|
|
653
661
|
}
|
|
654
662
|
onMounted(() => {
|
|
655
|
-
onVueInstanceUpdate(() => {
|
|
656
|
-
|
|
657
|
-
|
|
663
|
+
onVueInstanceUpdate((v) => {
|
|
664
|
+
if (v) {
|
|
665
|
+
init();
|
|
666
|
+
selected.value = "vue-devtools:root";
|
|
667
|
+
}
|
|
658
668
|
});
|
|
659
669
|
});
|
|
660
670
|
return (_ctx, _cache) => {
|
|
661
671
|
const _component_ComponentTreeNode = _sfc_main$1;
|
|
662
672
|
const _component_StateFields = _sfc_main$3;
|
|
673
|
+
const _component_VCard = __unplugin_components_7;
|
|
674
|
+
const _component_VPanelGrids = __unplugin_components_0;
|
|
663
675
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
664
676
|
createVNode(unref(M), null, {
|
|
665
677
|
default: withCtx(() => [
|
|
@@ -678,7 +690,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
678
690
|
}),
|
|
679
691
|
createVNode(unref(g), null, {
|
|
680
692
|
default: withCtx(() => [
|
|
681
|
-
|
|
693
|
+
unref(normalizedComponentState).length ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
682
694
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(normalizedComponentState), (item, index) => {
|
|
683
695
|
return openBlock(), createBlock(_component_StateFields, {
|
|
684
696
|
id: index,
|
|
@@ -686,7 +698,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
686
698
|
data: item
|
|
687
699
|
}, null, 8, ["id", "data"]);
|
|
688
700
|
}), 128))
|
|
689
|
-
])
|
|
701
|
+
])) : (openBlock(), createBlock(_component_VPanelGrids, {
|
|
702
|
+
key: 1,
|
|
703
|
+
px5: ""
|
|
704
|
+
}, {
|
|
705
|
+
default: withCtx(() => [
|
|
706
|
+
createVNode(_component_VCard, {
|
|
707
|
+
flex: "~ col gap2",
|
|
708
|
+
"min-w-30": "",
|
|
709
|
+
"items-center": "",
|
|
710
|
+
p3: ""
|
|
711
|
+
}, {
|
|
712
|
+
default: withCtx(() => [
|
|
713
|
+
_hoisted_4
|
|
714
|
+
]),
|
|
715
|
+
_: 1
|
|
716
|
+
})
|
|
717
|
+
]),
|
|
718
|
+
_: 1
|
|
719
|
+
}))
|
|
690
720
|
]),
|
|
691
721
|
_: 1
|
|
692
722
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as ref, ag as useStorage, a1 as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ah as vModelText, z as unref, x as createBaseVNode, M as isRef, N as vModelCheckbox, ai as useDark, A as onMounted, aj as watch, u as createVNode } from './index-d9de2c94.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-80e3af11.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|
|
@@ -13203,6 +13203,7 @@ function isDataViewLike(idProp, v) {
|
|
|
13203
13203
|
* vis.js may be distributed under either license.
|
|
13204
13204
|
*/
|
|
13205
13205
|
|
|
13206
|
+
|
|
13206
13207
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
13207
13208
|
|
|
13208
13209
|
function getDefaultExportFromCjs (x) {
|
|
@@ -1654,6 +1654,8 @@ function flushJobs(seen) {
|
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
+
new Set();
|
|
1658
|
+
new Map();
|
|
1657
1659
|
|
|
1658
1660
|
function emit(instance, event, ...rawArgs) {
|
|
1659
1661
|
if (instance.isUnmounted)
|
|
@@ -2957,6 +2959,20 @@ function ensureValidVNode(vnodes) {
|
|
|
2957
2959
|
: null;
|
|
2958
2960
|
}
|
|
2959
2961
|
|
|
2962
|
+
/**
|
|
2963
|
+
* For prefixing keys in v-on="obj" with "on"
|
|
2964
|
+
* @private
|
|
2965
|
+
*/
|
|
2966
|
+
function toHandlers(obj, preserveCaseIfNecessary) {
|
|
2967
|
+
const ret = {};
|
|
2968
|
+
for (const key in obj) {
|
|
2969
|
+
ret[preserveCaseIfNecessary && /[A-Z]/.test(key)
|
|
2970
|
+
? `on:${key}`
|
|
2971
|
+
: toHandlerKey(key)] = obj[key];
|
|
2972
|
+
}
|
|
2973
|
+
return ret;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2960
2976
|
/**
|
|
2961
2977
|
* #2437 In Vue 3, functional components do not have a public instance proxy but
|
|
2962
2978
|
* they exist in the internal parent chain. For code that relies on traversing
|
|
@@ -6658,6 +6674,9 @@ function forceReflow() {
|
|
|
6658
6674
|
return document.body.offsetHeight;
|
|
6659
6675
|
}
|
|
6660
6676
|
|
|
6677
|
+
new WeakMap();
|
|
6678
|
+
new WeakMap();
|
|
6679
|
+
|
|
6661
6680
|
const getModelAssigner = (vnode) => {
|
|
6662
6681
|
const fn = vnode.props['onUpdate:modelValue'] ||
|
|
6663
6682
|
(false );
|
|
@@ -14102,17 +14121,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
14102
14121
|
|
|
14103
14122
|
/* Injected with object hook! */
|
|
14104
14123
|
|
|
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-
|
|
14124
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-79d66fc7.js'),true?["./timeline-79d66fc7.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14125
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-0c6220b2.js'),true?["./settings-0c6220b2.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js"]:void 0,import.meta.url);
|
|
14126
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-f600cbfa.js'),true?["./routes-f600cbfa.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
|
|
14127
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-8b81a9d8.js'),true?["./pinia-8b81a9d8.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
|
|
14128
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-ec3d53ab.js'),true?["./pages-ec3d53ab.js","./VTextInput.vue_vue_type_script_setup_true_lang-38328457.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14129
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-c580d40f.js'),true?["./overview-c580d40f.js","./VPanelGrids-0d71921d.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
|
|
14130
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-56184e71.js'),true?["./inspect-56184e71.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
|
|
14131
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-b29c71b4.js'),true?["./graph-b29c71b4.js","./fuse.esm-c317b696.js","./rpc-80e3af11.js"]:void 0,import.meta.url);
|
|
14132
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./components-9660e7aa.js'),true?["./components-9660e7aa.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./splitpanes.es-8cd9ad22.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js"]:void 0,import.meta.url);
|
|
14133
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./assets-e0c8ff78.js'),true?["./assets-e0c8ff78.js","./VPanelGrids-0d71921d.js","./VCard-1d26a3c3.js","./VIcon.vue_vue_type_script_setup_true_lang-06188541.js","./rpc-80e3af11.js","./VTextInput.vue_vue_type_script_setup_true_lang-38328457.js","./VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14134
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-b04290ae.js'),true?["./__inspecting-b04290ae.js","./VPanelGrids-0d71921d.js"]:void 0,import.meta.url);
|
|
14116
14135
|
|
|
14117
14136
|
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
14137
|
/* Injected with object hook! */
|
|
@@ -14632,6 +14651,23 @@ var MutationType;
|
|
|
14632
14651
|
|
|
14633
14652
|
/* Injected with object hook! */
|
|
14634
14653
|
|
|
14654
|
+
let nanoid = (size = 21) =>
|
|
14655
|
+
crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
|
|
14656
|
+
byte &= 63;
|
|
14657
|
+
if (byte < 36) {
|
|
14658
|
+
id += byte.toString(36);
|
|
14659
|
+
} else if (byte < 62) {
|
|
14660
|
+
id += (byte - 26).toString(36).toUpperCase();
|
|
14661
|
+
} else if (byte > 62) {
|
|
14662
|
+
id += '-';
|
|
14663
|
+
} else {
|
|
14664
|
+
id += '_';
|
|
14665
|
+
}
|
|
14666
|
+
return id
|
|
14667
|
+
}, '');
|
|
14668
|
+
|
|
14669
|
+
/* Injected with object hook! */
|
|
14670
|
+
|
|
14635
14671
|
function isBeingDestroyed(instance) {
|
|
14636
14672
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
14637
14673
|
}
|
|
@@ -14726,7 +14762,7 @@ const timelineLayer = ref([]);
|
|
|
14726
14762
|
const timelineEvent = ref([]);
|
|
14727
14763
|
const activeLayerId = ref("performance");
|
|
14728
14764
|
const activeTimelineEvents = computed(() => {
|
|
14729
|
-
return timelineEvent.value.filter((item) => item.layerId === activeLayerId.value);
|
|
14765
|
+
return timelineEvent.value.map((item) => ({ ...item, id: nanoid() })).filter((item) => item.layerId === activeLayerId.value);
|
|
14730
14766
|
});
|
|
14731
14767
|
const activeTimelineEventIndex = ref(0);
|
|
14732
14768
|
function toggleTimelineLayer(id) {
|
|
@@ -15397,4 +15433,4 @@ app.mount("#app");
|
|
|
15397
15433
|
|
|
15398
15434
|
/* Injected with object hook! */
|
|
15399
15435
|
|
|
15400
|
-
export {
|
|
15436
|
+
export { __unplugin_components_1 as $, onMounted as A, onUnmounted as B, timelineLayer as C, activeTimelineEvents as D, activeTimelineEventIndex as E, Fragment as F, toggleTimelineEventIndex as G, timelineEventDetails as H, activeLayerId as I, toggleTimelineLayer as J, useVModel as K, vModelSelect as L, isRef as M, vModelCheckbox as N, withKeys as O, useTabs as P, useCategorizedTabs as Q, createTextVNode as R, useDevToolsSettings as S, _sfc_main$3 as T, _sfc_main$5 as U, router$1 as V, routeRecordMatcherState as W, activeRouteRecordMatcherState as X, activeRouteRecordIndex as Y, toggleRouteRecordMatcher as Z, _sfc_main$9 as _, popScopeId as a, ref as a0, computed as a1, piniaStoresId as a2, reactivePick as a3, toRaw as a4, piniaState as a5, piniaGetters as a6, withModifiers as a7, currentRoute as a8, routes as a9, useStyleTag as aA, computedAsync as aB, useTimeAgo as aC, onKeyDown as aD, _export_sfc as aE, vModelDynamic as aF, __vitePreload as aG, useEventListener as aH, useDevtoolsClient as aI, vueVersion as aa, __unplugin_components_0 as ab, useColorMode as ac, reactive as ad, useElementBounding as ae, watchEffect as af, useStorage as ag, vModelText as ah, useDark as ai, watch as aj, getInstanceName as ak, classify as al, kebabize as am, isFragment as an, camelize as ao, returnError as ap, isBeingDestroyed as aq, getUniqueComponentId as ar, getRenderKey as as, shallowRef as at, onVueInstanceUpdate as au, instance as av, h as aw, useElementSize as ax, onClickOutside as ay, Transition as az, resolveDirective as b, createBlock as c, withDirectives as d, createElementBlock as e, renderSlot as f, createCommentVNode as g, withCtx as h, renderList as i, resolveDynamicComponent as j, mergeProps as k, normalizeStyle as l, markRaw as m, nextTick as n, openBlock as o, pushScopeId as p, normalizeClass as q, resolveComponent as r, shallowReactive as s, toHandlers as t, createVNode as u, defineComponent as v, withScopeId as w, createBaseVNode as x, toDisplayString as y, unref as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
1
|
+
import { v as defineComponent, ac as useColorMode, a0 as ref, a1 as computed, ad as reactive, ae as useElementBounding, A as onMounted, n as nextTick, af as watchEffect, B as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-d9de2c94.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-80e3af11.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 {
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
1
|
+
import { _ as __unplugin_components_0$1 } from './VPanelGrids-0d71921d.js';
|
|
2
|
+
import { a0 as ref, a1 as computed, a9 as routes, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, aa as vueVersion, R as createTextVNode, e as createElementBlock, F as Fragment, ab as __unplugin_components_0, $ as __unplugin_components_1, r as resolveComponent, _ as _sfc_main$1 } from './index-d9de2c94.js';
|
|
3
|
+
import { r as rpc } from './rpc-80e3af11.js';
|
|
4
4
|
|
|
5
|
-
const version = "0.0.1
|
|
5
|
+
const version = "0.0.1";
|
|
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 {
|
|
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-38328457.js';
|
|
2
|
+
import { v as defineComponent, a0 as ref, a1 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, a7 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, R as createTextVNode, q as normalizeClass, _ as _sfc_main$4, $ as __unplugin_components_1, A as onMounted, a8 as currentRoute, V as router, M as isRef, O as withKeys, a9 as routes } from './index-d9de2c94.js';
|
|
3
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
|
|
4
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1$2 = {
|
|
7
7
|
block: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-
|
|
2
|
-
import {
|
|
3
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-8cd9ad22.js';
|
|
2
|
+
import { v as defineComponent, a0 as ref, a1 as computed, a2 as piniaStoresId, a3 as reactivePick, 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-d9de2c94.js';
|
|
3
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-06188541.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 {
|
|
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-0d71921d.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-1d26a3c3.js';
|
|
3
|
+
import { v as defineComponent, z as unref, V as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, W as routeRecordMatcherState, X as activeRouteRecordMatcherState, c as createBlock, U as _sfc_main$2, q as normalizeClass, Y as activeRouteRecordIndex, Z as toggleRouteRecordMatcher, R as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, $ as __unplugin_components_1 } from './index-d9de2c94.js';
|
|
4
|
+
import { g, M, _ as _sfc_main$1 } from './splitpanes.es-8cd9ad22.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
6
6
|
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
2
|
+
import { v as defineComponent, K as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, L as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, M as isRef, c as createBlock, N as vModelCheckbox, O as withKeys, P as useTabs, Q as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, R as createTextVNode, S as useDevToolsSettings, _ as _sfc_main$5, T as _sfc_main$6, q as normalizeClass, U as _sfc_main$7 } from './index-d9de2c94.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-a7b04584.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1$2 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
6
6
|
const _hoisted_2$2 = ["disabled"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-06188541.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, M as isRef, a4 as toRaw, a1 as computed, r as resolveComponent, e as createElementBlock, i as renderList, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, z as unref, F as Fragment, a0 as ref, u as createVNode, aw as h, f as renderSlot, l as normalizeStyle } from './index-d9de2c94.js';
|
|
3
3
|
|
|
4
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "VExpandIcon",
|