vite-plugin-vue-devtools 0.0.10 → 0.0.12
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-c441f774.js → VCard-7914da83.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js → VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js} +1 -1
- package/dist/client/assets/VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js +39 -0
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js → VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js} +1 -1
- package/dist/client/assets/{VPanelGrids-3484ea9d.js → VPanelGrids-733278d6.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js → VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js} +3 -3
- package/dist/client/assets/{__inspecting-bbaec4fe.js → __inspecting-ac57cfe2.js} +2 -2
- package/dist/client/assets/{assets-facbb582.js → assets-40310f26.js} +18 -34
- package/dist/client/assets/{components-dfc74ac0.js → components-8abb94d8.js} +7 -6
- package/dist/client/assets/documentations-ab483662.js +207 -0
- package/dist/client/assets/{graph-736aa653.js → graph-45c33d8f.js} +2 -2
- package/dist/client/assets/{index-9285098c.js → index-7930cd83.js} +1 -1
- package/dist/client/assets/{index-359dd67c.js → index-d7f947d1.js} +271 -73
- package/dist/client/assets/{index-62a10721.css → index-ea632118.css} +13 -1
- package/dist/client/assets/{inspect-115c7185.js → inspect-95be8b35.js} +2 -2
- package/dist/client/assets/{overview-17f2d4a9.js → overview-f2a16196.js} +5 -5
- package/dist/client/assets/{pages-f46ac6f6.js → pages-52fb2c5c.js} +4 -4
- package/dist/client/assets/{pinia-9a9e9407.js → pinia-69e3497c.js} +5 -4
- package/dist/client/assets/pinia-7ed2c830.svg +1 -0
- package/dist/client/assets/{routes-2c268c33.js → routes-f32e8bb5.js} +7 -6
- package/dist/client/assets/{rpc-5a46e853.js → rpc-5116c57e.js} +1 -1
- package/dist/client/assets/{settings-391a112a.js → settings-a4c43db5.js} +5 -5
- package/dist/client/assets/{splitpanes.es-f1d0c1c1.js → splitpanes.es-09f32a7b.js} +22 -6
- package/dist/client/assets/{timeline-7c8f87a4.js → timeline-9da4ec07.js} +7 -6
- 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 +9 -1
- package/src/node/Container.vue +150 -123
- package/src/node/app.js +1 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d7f947d1.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-d7f947d1.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { az as useClipboard, aA 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-d7f947d1.js';
|
|
2
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js';
|
|
3
|
+
|
|
4
|
+
function useCopy() {
|
|
5
|
+
const clipboard = useClipboard();
|
|
6
|
+
const showNotification = useNotification();
|
|
7
|
+
return (text) => {
|
|
8
|
+
clipboard.copy(text);
|
|
9
|
+
showNotification("Copied to clipboard", "i-carbon-checkmark");
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Injected with object hook! */
|
|
14
|
+
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "VIconButton",
|
|
17
|
+
props: {
|
|
18
|
+
to: null,
|
|
19
|
+
icon: null
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
const _component_VIcon = _sfc_main$1;
|
|
25
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.to ? "a" : "button"), mergeProps({ href: __props.to }, _ctx.$attrs, { class: "n-transition n-icon-button" }), {
|
|
26
|
+
default: withCtx(() => [
|
|
27
|
+
createVNode(_component_VIcon, {
|
|
28
|
+
icon: props.icon
|
|
29
|
+
}, null, 8, ["icon"])
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 16, ["href"]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
/* Injected with object hook! */
|
|
38
|
+
|
|
39
|
+
export { _sfc_main as _, useCopy as u };
|
|
@@ -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-d7f947d1.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d7f947d1.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, aw as _export_sfc, ax as vModelDynamic, k as mergeProps, K as isRef } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js';
|
|
2
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.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, aw as _export_sfc, ax as vModelDynamic, k as mergeProps, K as isRef } from './index-d7f947d1.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-733278d6.js';
|
|
2
|
+
import { v as defineComponent, aB as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aC as useDevtoolsClient } from './index-d7f947d1.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,35 +1,12 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { _ as _sfc_main$
|
|
4
|
-
import { v as defineComponent,
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-733278d6.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-7914da83.js';
|
|
3
|
+
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js';
|
|
4
|
+
import { v as defineComponent, Z as ref, ap as useElementSize, aq 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, ar as Transition, $ as computed, y as toDisplayString, q as normalizeClass, as as useStyleTag, l as normalizeStyle, at as computedAsync, au as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$a, av as onKeyDown, K as isRef, i as renderList } from './index-d7f947d1.js';
|
|
5
|
+
import { r as rpc } from './rpc-5116c57e.js';
|
|
6
|
+
import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js';
|
|
7
|
+
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js';
|
|
7
8
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
8
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
|
|
10
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11
|
-
__name: "VIconButton",
|
|
12
|
-
props: {
|
|
13
|
-
to: null,
|
|
14
|
-
icon: null
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_VIcon = _sfc_main$a;
|
|
20
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.to ? "a" : "button"), mergeProps({ href: __props.to }, _ctx.$attrs, { class: "n-transition n-icon-button" }), {
|
|
21
|
-
default: withCtx(() => [
|
|
22
|
-
createVNode(_component_VIcon, {
|
|
23
|
-
icon: props.icon
|
|
24
|
-
}, null, 8, ["icon"])
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
}, 16, ["href"]);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
/* Injected with object hook! */
|
|
9
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js';
|
|
33
10
|
|
|
34
11
|
const _hoisted_1$7 = {
|
|
35
12
|
relative: "",
|
|
@@ -935,6 +912,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
935
912
|
return void 0;
|
|
936
913
|
return rpc.getTextAssetContent(props.asset.filePath);
|
|
937
914
|
});
|
|
915
|
+
const copy = useCopy();
|
|
938
916
|
const timeago = useTimeAgo(() => props.asset.mtime);
|
|
939
917
|
const fileSize = computed(() => {
|
|
940
918
|
const size = props.asset.size;
|
|
@@ -969,7 +947,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
969
947
|
const _component_AssetPreview = _sfc_main$5;
|
|
970
948
|
const _component_FilepathItem = _sfc_main$7;
|
|
971
949
|
const _component_VIconButton = _sfc_main$9;
|
|
972
|
-
const _component_VButton = _sfc_main$
|
|
950
|
+
const _component_VButton = _sfc_main$a;
|
|
973
951
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
974
952
|
unref(supportsPreview) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
975
953
|
_hoisted_2$3,
|
|
@@ -1005,6 +983,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1005
983
|
createBaseVNode("td", null, [
|
|
1006
984
|
createBaseVNode("div", _hoisted_9, [
|
|
1007
985
|
createBaseVNode("div", _hoisted_10, toDisplayString(__props.asset.publicPath), 1),
|
|
986
|
+
createVNode(_component_VIconButton, {
|
|
987
|
+
"flex-none": "",
|
|
988
|
+
title: "Copy public path",
|
|
989
|
+
icon: "carbon-copy",
|
|
990
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(copy)(__props.asset.publicPath))
|
|
991
|
+
}),
|
|
1008
992
|
createVNode(_component_VIconButton, {
|
|
1009
993
|
"flex-none": "",
|
|
1010
994
|
to: `${unref(origin)}${__props.asset.publicPath}`,
|
|
@@ -1180,7 +1164,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1180
1164
|
emit("update:search", event.target.value);
|
|
1181
1165
|
}
|
|
1182
1166
|
return (_ctx, _cache) => {
|
|
1183
|
-
const _component_VTextInput = _sfc_main$
|
|
1167
|
+
const _component_VTextInput = _sfc_main$b;
|
|
1184
1168
|
return openBlock(), createElementBlock("div", {
|
|
1185
1169
|
flex: "~ col gap2",
|
|
1186
1170
|
border: "b base",
|
|
@@ -1276,7 +1260,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1276
1260
|
});
|
|
1277
1261
|
const navbar = ref();
|
|
1278
1262
|
return (_ctx, _cache) => {
|
|
1279
|
-
const _component_VIcon = _sfc_main$
|
|
1263
|
+
const _component_VIcon = _sfc_main$c;
|
|
1280
1264
|
const _component_Navbar = _sfc_main$1;
|
|
1281
1265
|
const _component_AssetGridItem = _sfc_main$2;
|
|
1282
1266
|
const _component_VSectionBlock = __unplugin_components_3;
|
|
@@ -1,9 +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, aj 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, ak as onVueInstanceUpdate, u as createVNode, h as withCtx, ab as reactive, al as instance } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-733278d6.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-7914da83.js';
|
|
3
|
+
import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-09f32a7b.js';
|
|
4
|
+
import { F as Fragment, Z as ref, aj 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, ak as onVueInstanceUpdate, u as createVNode, h as withCtx, ab as reactive, al as instance } from './index-d7f947d1.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js';
|
|
6
|
+
import './index-7930cd83.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js';
|
|
7
8
|
|
|
8
9
|
function isBeingDestroyed(instance) {
|
|
9
10
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { _ as __unplugin_components_7 } from './VCard-7914da83.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, y as toDisplayString, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, Z as ref, F as Fragment, i as renderList, z as unref } from './index-d7f947d1.js';
|
|
3
|
+
import { r as rpc } from './rpc-5116c57e.js';
|
|
4
|
+
|
|
5
|
+
const _hoisted_1$1 = {
|
|
6
|
+
flex: "~ col gap2",
|
|
7
|
+
"flex-auto": "",
|
|
8
|
+
"of-hidden": "",
|
|
9
|
+
px1: ""
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_2 = {
|
|
12
|
+
"of-hidden": "",
|
|
13
|
+
"text-ellipsis": "",
|
|
14
|
+
"ws-nowrap": "",
|
|
15
|
+
"text-lg": ""
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("div", { "flex-auto": "" }, null, -1);
|
|
18
|
+
const _hoisted_4 = {
|
|
19
|
+
key: 1,
|
|
20
|
+
flex: "~ gap-2",
|
|
21
|
+
title: "Documentation"
|
|
22
|
+
};
|
|
23
|
+
const _hoisted_5 = /* @__PURE__ */ createBaseVNode("span", {
|
|
24
|
+
"i-carbon-link": "",
|
|
25
|
+
"text-lg": "",
|
|
26
|
+
op50: ""
|
|
27
|
+
}, null, -1);
|
|
28
|
+
const _hoisted_6 = ["href"];
|
|
29
|
+
const _hoisted_7 = {
|
|
30
|
+
key: 2,
|
|
31
|
+
flex: "~ gap-2"
|
|
32
|
+
};
|
|
33
|
+
const _hoisted_8 = /* @__PURE__ */ createBaseVNode("span", {
|
|
34
|
+
"i-carbon-logo-github": "",
|
|
35
|
+
"text-lg": "",
|
|
36
|
+
op50: ""
|
|
37
|
+
}, null, -1);
|
|
38
|
+
const _hoisted_9 = ["href"];
|
|
39
|
+
const _hoisted_10 = { flex: "~ col" };
|
|
40
|
+
const _hoisted_11 = {
|
|
41
|
+
key: 0,
|
|
42
|
+
"h-20": "",
|
|
43
|
+
"w-20": "",
|
|
44
|
+
flex: "",
|
|
45
|
+
"flex-none": "",
|
|
46
|
+
rounded: "",
|
|
47
|
+
"bg-gray:3": "",
|
|
48
|
+
p4: ""
|
|
49
|
+
};
|
|
50
|
+
const _hoisted_12 = ["src", "alt"];
|
|
51
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
52
|
+
__name: "DocDetails",
|
|
53
|
+
props: {
|
|
54
|
+
data: null
|
|
55
|
+
},
|
|
56
|
+
setup(__props) {
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
const _component_VCard = __unplugin_components_7;
|
|
59
|
+
return openBlock(), createBlock(_component_VCard, {
|
|
60
|
+
p4: "",
|
|
61
|
+
flex: "~ gap2",
|
|
62
|
+
"max-h": "50vh"
|
|
63
|
+
}, {
|
|
64
|
+
default: withCtx(() => [
|
|
65
|
+
createBaseVNode("div", _hoisted_1$1, [
|
|
66
|
+
createBaseVNode("div", _hoisted_2, [
|
|
67
|
+
createBaseVNode("span", null, toDisplayString(__props.data.name), 1)
|
|
68
|
+
]),
|
|
69
|
+
__props.data.description ? (openBlock(), createElementBlock("div", {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: normalizeClass(_ctx.compact ? "ws-nowrap of-hidden truncate" : "line-clamp-2"),
|
|
72
|
+
"mt--1": "",
|
|
73
|
+
"text-sm": "",
|
|
74
|
+
op50: ""
|
|
75
|
+
}, toDisplayString(__props.data.description), 3)) : createCommentVNode("", true),
|
|
76
|
+
_hoisted_3,
|
|
77
|
+
__props.data.website ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
78
|
+
_hoisted_5,
|
|
79
|
+
createBaseVNode("a", {
|
|
80
|
+
href: __props.data.website,
|
|
81
|
+
target: "_blank",
|
|
82
|
+
"of-hidden": "",
|
|
83
|
+
truncate: "",
|
|
84
|
+
"ws-nowrap": "",
|
|
85
|
+
"text-sm": "",
|
|
86
|
+
op50: "",
|
|
87
|
+
hover: "op100 underline text-primary"
|
|
88
|
+
}, toDisplayString(__props.data.website.replace(/^https?:\/\//, "")), 9, _hoisted_6)
|
|
89
|
+
])) : createCommentVNode("", true),
|
|
90
|
+
__props.data.github ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
91
|
+
_hoisted_8,
|
|
92
|
+
createBaseVNode("a", {
|
|
93
|
+
href: __props.data.github,
|
|
94
|
+
target: "_blank",
|
|
95
|
+
"of-hidden": "",
|
|
96
|
+
truncate: "",
|
|
97
|
+
"ws-nowrap": "",
|
|
98
|
+
"text-sm": "",
|
|
99
|
+
op50: "",
|
|
100
|
+
hover: "op100 underline text-primary"
|
|
101
|
+
}, toDisplayString(__props.data.github.replace(/^https?:\/\/github.com\//, "")), 9, _hoisted_9)
|
|
102
|
+
])) : createCommentVNode("", true),
|
|
103
|
+
renderSlot(_ctx.$slots, "items")
|
|
104
|
+
]),
|
|
105
|
+
createBaseVNode("div", _hoisted_10, [
|
|
106
|
+
__props.data.icon ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
107
|
+
__props.data.icon ? (openBlock(), createElementBlock("img", {
|
|
108
|
+
key: 0,
|
|
109
|
+
src: __props.data.icon,
|
|
110
|
+
alt: _ctx.name,
|
|
111
|
+
ma: "",
|
|
112
|
+
"h-full": ""
|
|
113
|
+
}, null, 8, _hoisted_12)) : createCommentVNode("", true)
|
|
114
|
+
])) : createCommentVNode("", true)
|
|
115
|
+
])
|
|
116
|
+
]),
|
|
117
|
+
_: 3
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
/* Injected with object hook! */
|
|
124
|
+
|
|
125
|
+
const VueIcon = ""+new URL('vue-5d4e674c.svg', import.meta.url).href+"";
|
|
126
|
+
/* Injected with object hook! */
|
|
127
|
+
|
|
128
|
+
const PiniaIcon = ""+new URL('pinia-7ed2c830.svg', import.meta.url).href+"";
|
|
129
|
+
/* Injected with object hook! */
|
|
130
|
+
|
|
131
|
+
const VueUseIcon = ""+new URL('vueuse-995374f6.svg', import.meta.url).href+"";
|
|
132
|
+
/* Injected with object hook! */
|
|
133
|
+
|
|
134
|
+
const data = [
|
|
135
|
+
{
|
|
136
|
+
id: "vue",
|
|
137
|
+
name: "Vue.js",
|
|
138
|
+
description: "The Progressive JavaScript Framework",
|
|
139
|
+
website: "https://vuejs.org",
|
|
140
|
+
github: "https://github.com/vuejs/core",
|
|
141
|
+
icon: VueIcon
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
id: "vue-router",
|
|
145
|
+
name: "Vue Router",
|
|
146
|
+
description: "The official Router for Vue.js",
|
|
147
|
+
website: "https://router.vuejs.org",
|
|
148
|
+
github: "https://github.com/vuejs/router",
|
|
149
|
+
icon: VueIcon
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "pinia",
|
|
153
|
+
name: "Pinia",
|
|
154
|
+
description: "The intuitive store for Vue.js",
|
|
155
|
+
website: "https://pinia.vuejs.org",
|
|
156
|
+
github: "https://github.com/vuejs/pinia",
|
|
157
|
+
icon: PiniaIcon
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: "@vueuse/core",
|
|
161
|
+
name: "VueUse",
|
|
162
|
+
description: "Collection of essential Vue Composition Utilities for Vue 2 and 3",
|
|
163
|
+
website: "https://vueuse.org",
|
|
164
|
+
github: "https://github.com/vueuse/vueuse",
|
|
165
|
+
icon: VueUseIcon
|
|
166
|
+
}
|
|
167
|
+
];
|
|
168
|
+
|
|
169
|
+
/* Injected with object hook! */
|
|
170
|
+
|
|
171
|
+
const _hoisted_1 = {
|
|
172
|
+
grid: "",
|
|
173
|
+
"grid-cols-minmax-400px": "",
|
|
174
|
+
"h-screen": "",
|
|
175
|
+
"select-none": "",
|
|
176
|
+
gap3: "",
|
|
177
|
+
"overflow-scroll": "",
|
|
178
|
+
p4: "",
|
|
179
|
+
class: "no-scrollbar"
|
|
180
|
+
};
|
|
181
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
182
|
+
__name: "documentations",
|
|
183
|
+
setup(__props) {
|
|
184
|
+
const items = ref(data);
|
|
185
|
+
rpc.getPackages().then((res) => {
|
|
186
|
+
const packagesName = Object.keys(res.packages);
|
|
187
|
+
items.value = items.value.filter((item) => packagesName.includes(item.id));
|
|
188
|
+
});
|
|
189
|
+
return (_ctx, _cache) => {
|
|
190
|
+
const _component_DocDetails = _sfc_main$1;
|
|
191
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
192
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
|
|
193
|
+
return openBlock(), createBlock(_component_DocDetails, {
|
|
194
|
+
key: index,
|
|
195
|
+
data: item
|
|
196
|
+
}, null, 8, ["data"]);
|
|
197
|
+
}), 128))
|
|
198
|
+
]);
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
/* Injected with object hook! */
|
|
204
|
+
|
|
205
|
+
/* Injected with object hook! */
|
|
206
|
+
|
|
207
|
+
export { _sfc_main as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as ref, af as useStorage, $ as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ag as vModelText, z as unref, x as createBaseVNode, K as isRef, L as vModelCheckbox, ah as useDark, a5 as onMounted, ai as watch, u as createVNode } from './index-
|
|
1
|
+
import { Z as ref, af as useStorage, $ as computed, v as defineComponent, o as openBlock, e as createElementBlock, d as withDirectives, ag as vModelText, z as unref, x as createBaseVNode, K as isRef, L as vModelCheckbox, ah as useDark, a5 as onMounted, ai as watch, u as createVNode } from './index-d7f947d1.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-5116c57e.js';
|
|
4
4
|
|
|
5
5
|
const list = ref(await rpc.componentGraph());
|
|
6
6
|
const searchText = useStorage("vite-inspect-search-text", "");
|