vite-plugin-vue-devtools 0.0.11 → 0.0.13
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/{inspect-bb122b4f.js → IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js} +3 -20
- package/dist/client/assets/{VCard-1be3aeea.js → VCard-17cdc61a.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js → VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js → VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js → VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js} +1 -1
- package/dist/client/assets/{VPanelGrids-e35ca1b2.js → VPanelGrids-ebf42a7c.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js → VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js} +3 -3
- package/dist/client/assets/{__inspecting-a5f31235.js → __inspecting-bd7248d3.js} +2 -2
- package/dist/client/assets/{assets-fa06fb0b.js → assets-0e67cb8d.js} +8 -8
- package/dist/client/assets/{components-82b9b93b.js → components-ab0312bf.js} +7 -7
- package/dist/client/assets/documentations-744b76d4.js +255 -0
- package/dist/client/assets/{graph-c19b9cea.js → graph-132869aa.js} +2 -2
- package/dist/client/assets/{index-462602ed.js → index-29942063.js} +1 -1
- package/dist/client/assets/{index-35968ba5.js → index-85d2f156.js} +237 -30
- package/dist/client/assets/{index-80cdb5c4.css → index-890fc037.css} +1 -1
- package/dist/client/assets/inspect-c239e96b.js +21 -0
- package/dist/client/assets/{overview-b83e2480.js → overview-2ad06721.js} +5 -5
- package/dist/client/assets/{pages-968ac2c8.js → pages-eefab96d.js} +4 -4
- package/dist/client/assets/pinia-7ed2c830.svg +1 -0
- package/dist/client/assets/{pinia-745e8151.js → pinia-faf73d09.js} +5 -5
- package/dist/client/assets/{routes-7fb87fa2.js → routes-28ae4830.js} +7 -7
- package/dist/client/assets/{rpc-1f60df18.js → rpc-0c341c21.js} +1 -1
- package/dist/client/assets/{settings-ff419377.js → settings-b3328fda.js} +3 -3
- package/dist/client/assets/{splitpanes.es-fcdb2062.js → splitpanes.es-5efc4585.js} +4 -4
- package/dist/client/assets/{timeline-53aba586.js → timeline-6db09f05.js} +7 -7
- package/dist/client/assets/vue-5d4e674c.svg +1 -0
- package/dist/client/assets/vueuse-995374f6.svg +1 -0
- package/dist/client/index.html +3 -3
- package/dist/index.cjs +24 -1
- package/dist/index.mjs +24 -1
- package/package.json +1 -1
- package/src/node/Container.vue +148 -121
- package/src/node/app.js +1 -25
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { v as defineComponent,
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-1f60df18.js';
|
|
1
|
+
import { v as defineComponent, af as useColorMode, Z as ref, $ as computed, ag as reactive, ah as useElementBounding, a5 as onMounted, n as nextTick, ai as watchEffect, aj as onUnmounted, o as openBlock, e as createElementBlock } from './index-85d2f156.js';
|
|
3
2
|
|
|
4
3
|
const iframeCacheMap = /* @__PURE__ */ new Map();
|
|
5
|
-
const _sfc_main
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "IframeView",
|
|
7
6
|
props: {
|
|
8
7
|
src: null
|
|
@@ -77,20 +76,4 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
77
76
|
|
|
78
77
|
/* Injected with object hook! */
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
__name: "inspect",
|
|
82
|
-
setup(__props) {
|
|
83
|
-
return (_ctx, _cache) => {
|
|
84
|
-
const _component_IframeView = _sfc_main$1;
|
|
85
|
-
return openBlock(), createElementBlock("div", null, [
|
|
86
|
-
createVNode(_component_IframeView, { src: unref(inspectClientUrl) }, null, 8, ["src"])
|
|
87
|
-
]);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
/* Injected with object hook! */
|
|
93
|
-
|
|
94
|
-
/* Injected with object hook! */
|
|
95
|
-
|
|
96
|
-
export { _sfc_main as default };
|
|
79
|
+
export { _sfc_main as _ };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ax as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-85d2f156.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-85d2f156.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { aA as useClipboard, aB as useNotification, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-85d2f156.js';
|
|
2
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js';
|
|
3
3
|
|
|
4
4
|
function useCopy() {
|
|
5
5
|
const clipboard = useClipboard();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-85d2f156.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ax as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-85d2f156.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, b as resolveDirective, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId,
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js';
|
|
3
|
+
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, b as resolveDirective, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, ax as _export_sfc, ay as vModelDynamic, k as mergeProps, K as isRef } from './index-85d2f156.js';
|
|
4
4
|
|
|
5
5
|
const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
|
|
6
6
|
const _hoisted_1$1 = ["open"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent,
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-ebf42a7c.js';
|
|
2
|
+
import { v as defineComponent, aC as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aD as useDevtoolsClient } from './index-85d2f156.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { v as defineComponent, Z as ref,
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-ebf42a7c.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-17cdc61a.js';
|
|
3
|
+
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js';
|
|
4
|
+
import { v as defineComponent, Z as ref, aq as useElementSize, ar as onClickOutside, o as openBlock, c as createBlock, h as withCtx, e as createElementBlock, u as createVNode, x as createBaseVNode, f as renderSlot, k as mergeProps, z as unref, g as createCommentVNode, as as Transition, $ as computed, y as toDisplayString, q as normalizeClass, at as useStyleTag, l as normalizeStyle, au as computedAsync, av as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$a, aw as onKeyDown, K as isRef, i as renderList } from './index-85d2f156.js';
|
|
5
|
+
import { r as rpc } from './rpc-0c341c21.js';
|
|
6
|
+
import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js';
|
|
7
|
+
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js';
|
|
8
8
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
9
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js';
|
|
10
10
|
|
|
11
11
|
const _hoisted_1$7 = {
|
|
12
12
|
relative: "",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-
|
|
4
|
-
import { F as Fragment, Z as ref,
|
|
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-ebf42a7c.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-17cdc61a.js';
|
|
3
|
+
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-5efc4585.js';
|
|
4
|
+
import { F as Fragment, Z as ref, ak as shallowRef, $ as computed, v as defineComponent, r as resolveComponent, o as openBlock, e as createElementBlock, x as createBaseVNode, z as unref, c as createBlock, q as normalizeClass, y as toDisplayString, l as normalizeStyle, i as renderList, g as createCommentVNode, a5 as onMounted, al as onVueInstanceUpdate, u as createVNode, h as withCtx, ag as reactive, am as instance } from './index-85d2f156.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js';
|
|
6
|
+
import './index-29942063.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js';
|
|
8
8
|
|
|
9
9
|
function isBeingDestroyed(instance) {
|
|
10
10
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { _ as __unplugin_components_7 } from './VCard-17cdc61a.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, y as toDisplayString, e as createElementBlock, g as createCommentVNode, a4 as withModifiers, f as renderSlot, Z as ref, z as unref, u as createVNode, ae as Teleport, F as Fragment, i as renderList } from './index-85d2f156.js';
|
|
3
|
+
import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js';
|
|
4
|
+
import { r as rpc } from './rpc-0c341c21.js';
|
|
5
|
+
|
|
6
|
+
const _hoisted_1$1 = {
|
|
7
|
+
flex: "~ col gap2",
|
|
8
|
+
"flex-auto": "",
|
|
9
|
+
"of-hidden": "",
|
|
10
|
+
px1: ""
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2$1 = {
|
|
13
|
+
"of-hidden": "",
|
|
14
|
+
"text-ellipsis": "",
|
|
15
|
+
"ws-nowrap": "",
|
|
16
|
+
"text-lg": ""
|
|
17
|
+
};
|
|
18
|
+
const _hoisted_3$1 = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "line-clamp-2",
|
|
21
|
+
"mt--1": "",
|
|
22
|
+
"text-sm": "",
|
|
23
|
+
op50: ""
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_4$1 = /* @__PURE__ */ createBaseVNode("div", { "flex-auto": "" }, null, -1);
|
|
26
|
+
const _hoisted_5$1 = {
|
|
27
|
+
key: 1,
|
|
28
|
+
flex: "~ gap-2",
|
|
29
|
+
title: "Documentation"
|
|
30
|
+
};
|
|
31
|
+
const _hoisted_6 = /* @__PURE__ */ createBaseVNode("span", {
|
|
32
|
+
"i-carbon-link": "",
|
|
33
|
+
"text-lg": "",
|
|
34
|
+
op50: ""
|
|
35
|
+
}, null, -1);
|
|
36
|
+
const _hoisted_7 = {
|
|
37
|
+
key: 2,
|
|
38
|
+
flex: "~ gap-2"
|
|
39
|
+
};
|
|
40
|
+
const _hoisted_8 = /* @__PURE__ */ createBaseVNode("span", {
|
|
41
|
+
"i-carbon-logo-github": "",
|
|
42
|
+
"text-lg": "",
|
|
43
|
+
op50: ""
|
|
44
|
+
}, null, -1);
|
|
45
|
+
const _hoisted_9 = { flex: "~ col" };
|
|
46
|
+
const _hoisted_10 = {
|
|
47
|
+
key: 0,
|
|
48
|
+
"h-20": "",
|
|
49
|
+
"w-20": "",
|
|
50
|
+
flex: "",
|
|
51
|
+
"flex-none": "",
|
|
52
|
+
rounded: "",
|
|
53
|
+
"bg-gray:3": "",
|
|
54
|
+
p4: ""
|
|
55
|
+
};
|
|
56
|
+
const _hoisted_11 = ["src", "alt"];
|
|
57
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
58
|
+
__name: "DocDetails",
|
|
59
|
+
props: {
|
|
60
|
+
data: null
|
|
61
|
+
},
|
|
62
|
+
emits: ["navigate"],
|
|
63
|
+
setup(__props, { emit }) {
|
|
64
|
+
function navigate(path) {
|
|
65
|
+
window.open(path, "_blank");
|
|
66
|
+
}
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
const _component_VCard = __unplugin_components_7;
|
|
69
|
+
return openBlock(), createBlock(_component_VCard, {
|
|
70
|
+
flex: "~ gap2",
|
|
71
|
+
"max-h": "50vh",
|
|
72
|
+
"cursor-pointer": "",
|
|
73
|
+
p4: "",
|
|
74
|
+
hover: __props.data.id === "vue" ? "" : "border-primary",
|
|
75
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("navigate", __props.data))
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [
|
|
78
|
+
createBaseVNode("div", _hoisted_1$1, [
|
|
79
|
+
createBaseVNode("div", _hoisted_2$1, [
|
|
80
|
+
createBaseVNode("span", null, toDisplayString(__props.data.name), 1)
|
|
81
|
+
]),
|
|
82
|
+
__props.data.description ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(__props.data.description), 1)) : createCommentVNode("", true),
|
|
83
|
+
_hoisted_4$1,
|
|
84
|
+
__props.data.website ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
85
|
+
_hoisted_6,
|
|
86
|
+
createBaseVNode("span", {
|
|
87
|
+
"of-hidden": "",
|
|
88
|
+
truncate: "",
|
|
89
|
+
"ws-nowrap": "",
|
|
90
|
+
"text-sm": "",
|
|
91
|
+
op50: "",
|
|
92
|
+
hover: "op100 underline text-primary",
|
|
93
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => navigate(__props.data.website), ["self", "stop"]))
|
|
94
|
+
}, toDisplayString(__props.data.website.replace(/^https?:\/\//, "")), 1)
|
|
95
|
+
])) : createCommentVNode("", true),
|
|
96
|
+
__props.data.github ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
97
|
+
_hoisted_8,
|
|
98
|
+
createBaseVNode("span", {
|
|
99
|
+
"of-hidden": "",
|
|
100
|
+
truncate: "",
|
|
101
|
+
"ws-nowrap": "",
|
|
102
|
+
"text-sm": "",
|
|
103
|
+
op50: "",
|
|
104
|
+
hover: "op100 underline text-primary",
|
|
105
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => navigate(__props.data.github), ["self", "stop"]))
|
|
106
|
+
}, toDisplayString(__props.data.github.replace(/^https?:\/\/github.com\//, "")), 1)
|
|
107
|
+
])) : createCommentVNode("", true),
|
|
108
|
+
renderSlot(_ctx.$slots, "items")
|
|
109
|
+
]),
|
|
110
|
+
createBaseVNode("div", _hoisted_9, [
|
|
111
|
+
__props.data.icon ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
112
|
+
__props.data.icon ? (openBlock(), createElementBlock("img", {
|
|
113
|
+
key: 0,
|
|
114
|
+
src: __props.data.icon,
|
|
115
|
+
alt: __props.data.name,
|
|
116
|
+
ma: "",
|
|
117
|
+
"h-full": ""
|
|
118
|
+
}, null, 8, _hoisted_11)) : createCommentVNode("", true)
|
|
119
|
+
])) : createCommentVNode("", true)
|
|
120
|
+
])
|
|
121
|
+
]),
|
|
122
|
+
_: 3
|
|
123
|
+
}, 8, ["hover"]);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
/* Injected with object hook! */
|
|
129
|
+
|
|
130
|
+
const VueIcon = ""+new URL('vue-5d4e674c.svg', import.meta.url).href+"";
|
|
131
|
+
/* Injected with object hook! */
|
|
132
|
+
|
|
133
|
+
const PiniaIcon = ""+new URL('pinia-7ed2c830.svg', import.meta.url).href+"";
|
|
134
|
+
/* Injected with object hook! */
|
|
135
|
+
|
|
136
|
+
const VueUseIcon = ""+new URL('vueuse-995374f6.svg', import.meta.url).href+"";
|
|
137
|
+
/* Injected with object hook! */
|
|
138
|
+
|
|
139
|
+
const data = [
|
|
140
|
+
{
|
|
141
|
+
id: "vue",
|
|
142
|
+
name: "Vue.js",
|
|
143
|
+
description: "The Progressive JavaScript Framework",
|
|
144
|
+
website: "https://vuejs.org",
|
|
145
|
+
github: "https://github.com/vuejs/core",
|
|
146
|
+
icon: VueIcon
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "vue-router",
|
|
150
|
+
name: "Vue Router",
|
|
151
|
+
description: "The official Router for Vue.js",
|
|
152
|
+
website: "https://router.vuejs.org",
|
|
153
|
+
github: "https://github.com/vuejs/router",
|
|
154
|
+
icon: VueIcon
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
id: "pinia",
|
|
158
|
+
name: "Pinia",
|
|
159
|
+
description: "The intuitive store for Vue.js",
|
|
160
|
+
website: "https://pinia.vuejs.org",
|
|
161
|
+
github: "https://github.com/vuejs/pinia",
|
|
162
|
+
icon: PiniaIcon
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: "@vueuse/core",
|
|
166
|
+
name: "VueUse",
|
|
167
|
+
description: "Collection of essential Vue Composition Utilities for Vue 2 and 3",
|
|
168
|
+
website: "https://vueuse.org",
|
|
169
|
+
github: "https://github.com/vueuse/vueuse",
|
|
170
|
+
icon: VueUseIcon
|
|
171
|
+
}
|
|
172
|
+
];
|
|
173
|
+
|
|
174
|
+
/* Injected with object hook! */
|
|
175
|
+
|
|
176
|
+
const _hoisted_1 = {
|
|
177
|
+
key: 0,
|
|
178
|
+
relative: "",
|
|
179
|
+
"h-screen": ""
|
|
180
|
+
};
|
|
181
|
+
const _hoisted_2 = ["onClick"];
|
|
182
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("i", { "tabler:arrow-back-up": "" }, null, -1);
|
|
183
|
+
const _hoisted_4 = [
|
|
184
|
+
_hoisted_3
|
|
185
|
+
];
|
|
186
|
+
const _hoisted_5 = {
|
|
187
|
+
key: 1,
|
|
188
|
+
grid: "",
|
|
189
|
+
"grid-cols-minmax-400px": "",
|
|
190
|
+
"h-screen": "",
|
|
191
|
+
"select-none": "",
|
|
192
|
+
gap3: "",
|
|
193
|
+
"overflow-scroll": "",
|
|
194
|
+
p4: "",
|
|
195
|
+
class: "no-scrollbar"
|
|
196
|
+
};
|
|
197
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
198
|
+
__name: "documentations",
|
|
199
|
+
setup(__props) {
|
|
200
|
+
const items = ref(data);
|
|
201
|
+
const iframeViewUrl = ref("");
|
|
202
|
+
rpc.getPackages().then((res) => {
|
|
203
|
+
const packagesName = Object.keys(res.packages);
|
|
204
|
+
items.value = items.value.filter((item) => packagesName.includes(item.id));
|
|
205
|
+
});
|
|
206
|
+
function navigate(data2) {
|
|
207
|
+
if (data2.id === "vue")
|
|
208
|
+
return;
|
|
209
|
+
iframeViewUrl.value = data2.website;
|
|
210
|
+
}
|
|
211
|
+
function back() {
|
|
212
|
+
iframeViewUrl.value = "";
|
|
213
|
+
}
|
|
214
|
+
return (_ctx, _cache) => {
|
|
215
|
+
const _component_IframeView = _sfc_main$2;
|
|
216
|
+
const _component_DocDetails = _sfc_main$1;
|
|
217
|
+
return unref(iframeViewUrl) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
218
|
+
createVNode(_component_IframeView, { src: unref(iframeViewUrl) }, null, 8, ["src"]),
|
|
219
|
+
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
220
|
+
createBaseVNode("span", {
|
|
221
|
+
fixed: "",
|
|
222
|
+
"left-2": "",
|
|
223
|
+
"top-2": "",
|
|
224
|
+
"z-1000": "",
|
|
225
|
+
"h-8": "",
|
|
226
|
+
"w-8": "",
|
|
227
|
+
flex: "",
|
|
228
|
+
"cursor-pointer": "",
|
|
229
|
+
"select-none": "",
|
|
230
|
+
"items-center": "",
|
|
231
|
+
"justify-center": "",
|
|
232
|
+
"rounded-5": "",
|
|
233
|
+
"bg-base": "",
|
|
234
|
+
hover: "text-primary",
|
|
235
|
+
onClick: withModifiers(back, ["prevent", "stop"])
|
|
236
|
+
}, _hoisted_4, 8, _hoisted_2)
|
|
237
|
+
]))
|
|
238
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
239
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
|
|
240
|
+
return openBlock(), createBlock(_component_DocDetails, {
|
|
241
|
+
key: index,
|
|
242
|
+
data: item,
|
|
243
|
+
onNavigate: navigate
|
|
244
|
+
}, null, 8, ["data"]);
|
|
245
|
+
}), 128))
|
|
246
|
+
]));
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
/* Injected with object hook! */
|
|
252
|
+
|
|
253
|
+
/* Injected with object hook! */
|
|
254
|
+
|
|
255
|
+
export { _sfc_main as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as ref,
|
|
1
|
+
import { Z as ref, aa as useStorage, $ as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ab as vModelText, z as unref, x as createBaseVNode, K as isRef, L as vModelCheckbox, ac as useDark, a5 as onMounted, ad as watch, u as createVNode } from './index-85d2f156.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-0c341c21.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|