vite-plugin-vue-devtools 0.0.12 → 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.
Files changed (26) hide show
  1. package/dist/client/assets/{inspect-95be8b35.js → IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js} +3 -20
  2. package/dist/client/assets/{VCard-7914da83.js → VCard-17cdc61a.js} +1 -1
  3. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js → VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js} +1 -1
  4. package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js → VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js} +2 -2
  5. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js → VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js} +1 -1
  6. package/dist/client/assets/{VPanelGrids-733278d6.js → VPanelGrids-ebf42a7c.js} +1 -1
  7. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js → VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js} +3 -3
  8. package/dist/client/assets/{__inspecting-ac57cfe2.js → __inspecting-bd7248d3.js} +2 -2
  9. package/dist/client/assets/{assets-40310f26.js → assets-0e67cb8d.js} +8 -8
  10. package/dist/client/assets/{components-8abb94d8.js → components-ab0312bf.js} +7 -7
  11. package/dist/client/assets/{documentations-ab483662.js → documentations-744b76d4.js} +92 -44
  12. package/dist/client/assets/{graph-45c33d8f.js → graph-132869aa.js} +2 -2
  13. package/dist/client/assets/{index-7930cd83.js → index-29942063.js} +1 -1
  14. package/dist/client/assets/{index-d7f947d1.js → index-85d2f156.js} +205 -13
  15. package/dist/client/assets/{index-ea632118.css → index-890fc037.css} +1 -1
  16. package/dist/client/assets/inspect-c239e96b.js +21 -0
  17. package/dist/client/assets/{overview-f2a16196.js → overview-2ad06721.js} +5 -5
  18. package/dist/client/assets/{pages-52fb2c5c.js → pages-eefab96d.js} +4 -4
  19. package/dist/client/assets/{pinia-69e3497c.js → pinia-faf73d09.js} +5 -5
  20. package/dist/client/assets/{routes-f32e8bb5.js → routes-28ae4830.js} +7 -7
  21. package/dist/client/assets/{rpc-5116c57e.js → rpc-0c341c21.js} +1 -1
  22. package/dist/client/assets/{settings-a4c43db5.js → settings-b3328fda.js} +3 -3
  23. package/dist/client/assets/{splitpanes.es-09f32a7b.js → splitpanes.es-5efc4585.js} +4 -4
  24. package/dist/client/assets/{timeline-9da4ec07.js → timeline-6db09f05.js} +7 -7
  25. package/dist/client/index.html +2 -2
  26. package/package.json +1 -1
@@ -1,8 +1,7 @@
1
- import { v as defineComponent, aa as useColorMode, Z as ref, $ as computed, ab as reactive, ac as useElementBounding, a5 as onMounted, n as nextTick, ad as watchEffect, ae as onUnmounted, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-d7f947d1.js';
2
- import { i as inspectClientUrl } from './rpc-5116c57e.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$1 = /* @__PURE__ */ defineComponent({
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
- const _sfc_main = /* @__PURE__ */ defineComponent({
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 { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d7f947d1.js';
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-d7f947d1.js';
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 { 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';
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-d7f947d1.js';
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 { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-d7f947d1.js';
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-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';
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-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';
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-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';
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-1bbb2033.js';
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-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';
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;
@@ -1,6 +1,7 @@
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';
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';
4
5
 
5
6
  const _hoisted_1$1 = {
6
7
  flex: "~ col gap2",
@@ -8,24 +9,30 @@ const _hoisted_1$1 = {
8
9
  "of-hidden": "",
9
10
  px1: ""
10
11
  };
11
- const _hoisted_2 = {
12
+ const _hoisted_2$1 = {
12
13
  "of-hidden": "",
13
14
  "text-ellipsis": "",
14
15
  "ws-nowrap": "",
15
16
  "text-lg": ""
16
17
  };
17
- const _hoisted_3 = /* @__PURE__ */ createBaseVNode("div", { "flex-auto": "" }, null, -1);
18
- const _hoisted_4 = {
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 = {
19
27
  key: 1,
20
28
  flex: "~ gap-2",
21
29
  title: "Documentation"
22
30
  };
23
- const _hoisted_5 = /* @__PURE__ */ createBaseVNode("span", {
31
+ const _hoisted_6 = /* @__PURE__ */ createBaseVNode("span", {
24
32
  "i-carbon-link": "",
25
33
  "text-lg": "",
26
34
  op50: ""
27
35
  }, null, -1);
28
- const _hoisted_6 = ["href"];
29
36
  const _hoisted_7 = {
30
37
  key: 2,
31
38
  flex: "~ gap-2"
@@ -35,9 +42,8 @@ const _hoisted_8 = /* @__PURE__ */ createBaseVNode("span", {
35
42
  "text-lg": "",
36
43
  op50: ""
37
44
  }, null, -1);
38
- const _hoisted_9 = ["href"];
39
- const _hoisted_10 = { flex: "~ col" };
40
- const _hoisted_11 = {
45
+ const _hoisted_9 = { flex: "~ col" };
46
+ const _hoisted_10 = {
41
47
  key: 0,
42
48
  "h-20": "",
43
49
  "w-20": "",
@@ -47,75 +53,74 @@ const _hoisted_11 = {
47
53
  "bg-gray:3": "",
48
54
  p4: ""
49
55
  };
50
- const _hoisted_12 = ["src", "alt"];
56
+ const _hoisted_11 = ["src", "alt"];
51
57
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
52
58
  __name: "DocDetails",
53
59
  props: {
54
60
  data: null
55
61
  },
56
- setup(__props) {
62
+ emits: ["navigate"],
63
+ setup(__props, { emit }) {
64
+ function navigate(path) {
65
+ window.open(path, "_blank");
66
+ }
57
67
  return (_ctx, _cache) => {
58
68
  const _component_VCard = __unplugin_components_7;
59
69
  return openBlock(), createBlock(_component_VCard, {
60
- p4: "",
61
70
  flex: "~ gap2",
62
- "max-h": "50vh"
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))
63
76
  }, {
64
77
  default: withCtx(() => [
65
78
  createBaseVNode("div", _hoisted_1$1, [
66
- createBaseVNode("div", _hoisted_2, [
79
+ createBaseVNode("div", _hoisted_2$1, [
67
80
  createBaseVNode("span", null, toDisplayString(__props.data.name), 1)
68
81
  ]),
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
+ __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", {
82
87
  "of-hidden": "",
83
88
  truncate: "",
84
89
  "ws-nowrap": "",
85
90
  "text-sm": "",
86
91
  op50: "",
87
- hover: "op100 underline text-primary"
88
- }, toDisplayString(__props.data.website.replace(/^https?:\/\//, "")), 9, _hoisted_6)
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)
89
95
  ])) : createCommentVNode("", true),
90
96
  __props.data.github ? (openBlock(), createElementBlock("div", _hoisted_7, [
91
97
  _hoisted_8,
92
- createBaseVNode("a", {
93
- href: __props.data.github,
94
- target: "_blank",
98
+ createBaseVNode("span", {
95
99
  "of-hidden": "",
96
100
  truncate: "",
97
101
  "ws-nowrap": "",
98
102
  "text-sm": "",
99
103
  op50: "",
100
- hover: "op100 underline text-primary"
101
- }, toDisplayString(__props.data.github.replace(/^https?:\/\/github.com\//, "")), 9, _hoisted_9)
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)
102
107
  ])) : createCommentVNode("", true),
103
108
  renderSlot(_ctx.$slots, "items")
104
109
  ]),
105
- createBaseVNode("div", _hoisted_10, [
106
- __props.data.icon ? (openBlock(), createElementBlock("div", _hoisted_11, [
110
+ createBaseVNode("div", _hoisted_9, [
111
+ __props.data.icon ? (openBlock(), createElementBlock("div", _hoisted_10, [
107
112
  __props.data.icon ? (openBlock(), createElementBlock("img", {
108
113
  key: 0,
109
114
  src: __props.data.icon,
110
- alt: _ctx.name,
115
+ alt: __props.data.name,
111
116
  ma: "",
112
117
  "h-full": ""
113
- }, null, 8, _hoisted_12)) : createCommentVNode("", true)
118
+ }, null, 8, _hoisted_11)) : createCommentVNode("", true)
114
119
  ])) : createCommentVNode("", true)
115
120
  ])
116
121
  ]),
117
122
  _: 3
118
- });
123
+ }, 8, ["hover"]);
119
124
  };
120
125
  }
121
126
  });
@@ -169,6 +174,17 @@ const data = [
169
174
  /* Injected with object hook! */
170
175
 
171
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,
172
188
  grid: "",
173
189
  "grid-cols-minmax-400px": "",
174
190
  "h-screen": "",
@@ -182,20 +198,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
182
198
  __name: "documentations",
183
199
  setup(__props) {
184
200
  const items = ref(data);
201
+ const iframeViewUrl = ref("");
185
202
  rpc.getPackages().then((res) => {
186
203
  const packagesName = Object.keys(res.packages);
187
204
  items.value = items.value.filter((item) => packagesName.includes(item.id));
188
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
+ }
189
214
  return (_ctx, _cache) => {
215
+ const _component_IframeView = _sfc_main$2;
190
216
  const _component_DocDetails = _sfc_main$1;
191
- return openBlock(), createElementBlock("div", _hoisted_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, [
192
239
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
193
240
  return openBlock(), createBlock(_component_DocDetails, {
194
241
  key: index,
195
- data: item
242
+ data: item,
243
+ onNavigate: navigate
196
244
  }, null, 8, ["data"]);
197
245
  }), 128))
198
- ]);
246
+ ]));
199
247
  };
200
248
  }
201
249
  });
@@ -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-d7f947d1.js';
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-5116c57e.js';
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", "");
@@ -1,4 +1,4 @@
1
- import { K as isRef } from './index-d7f947d1.js';
1
+ import { K as isRef } from './index-85d2f156.js';
2
2
 
3
3
  const objectToString = Object.prototype.toString;
4
4
  function toTypeString(value) {