vite-plugin-vue-devtools 0.0.22 → 0.1.0

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 (31) hide show
  1. package/README.md +15 -1
  2. package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-7a782b7f.js → IframeView.vue_vue_type_script_setup_true_lang-0449d6b9.js} +2 -2
  3. package/dist/client/assets/{VCard-1a6832d4.js → VCard-29b1adce.js} +1 -1
  4. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-13ffd017.js → VIcon.vue_vue_type_script_setup_true_lang-f66901cc.js} +3 -3
  5. package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-186dde54.js → VIconButton.vue_vue_type_script_setup_true_lang-d5adb3a3.js} +5 -5
  6. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-fc3a2149.js → VIconTitle.vue_vue_type_script_setup_true_lang-88051acd.js} +6 -6
  7. package/dist/client/assets/{VPanelGrids-2dc8992e.js → VPanelGrids-abfaa973.js} +1 -1
  8. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-535b6d73.js → VTextInput.vue_vue_type_script_setup_true_lang-1c9578c9.js} +19 -19
  9. package/dist/client/assets/{__inspecting-f04aca07.js → __inspecting-10ac6572.js} +2 -2
  10. package/dist/client/assets/{assets-e128fa14.js → assets-845f9f7f.js} +37 -37
  11. package/dist/client/assets/{components-5a527785.js → components-2ebcce62.js} +16 -16
  12. package/dist/client/assets/{documentations-f1b6f767.js → documentations-e7bc5c48.js} +20 -20
  13. package/dist/client/assets/{graph-9f30454f.js → graph-9547ed1e.js} +2 -2
  14. package/dist/client/assets/{index-347d3959.js → index-92885597.js} +1 -1
  15. package/dist/client/assets/{index-f8c90594.css → index-d015c21f.css} +1 -1
  16. package/dist/client/assets/{index-ee58a812.js → index-f0b756d9.js} +5979 -6403
  17. package/dist/client/assets/{inspect-400c2b70.js → inspect-14ec3ba4.js} +3 -3
  18. package/dist/client/assets/{npm-cd00dfa9.js → npm-20e4b0ab.js} +7 -7
  19. package/dist/client/assets/{overview-57c2cbd3.js → overview-4e60a278.js} +5 -5
  20. package/dist/client/assets/{pages-3d8588ac.js → pages-c7c02f81.js} +12 -12
  21. package/dist/client/assets/{pinia-b4b2eaba.js → pinia-1020b7d8.js} +5 -5
  22. package/dist/client/assets/{routes-8e26a6ac.js → routes-9fac0370.js} +7 -7
  23. package/dist/client/assets/{rpc-e28ef409.js → rpc-d18195f5.js} +3 -2
  24. package/dist/client/assets/{settings-b50a459c.js → settings-d7601de4.js} +9 -9
  25. package/dist/client/assets/{splitpanes.es-5f60be7d.js → splitpanes.es-af9ab4de.js} +20 -20
  26. package/dist/client/assets/{timeline-99b31af4.js → timeline-e220561d.js} +13 -13
  27. package/dist/client/index.html +2 -2
  28. package/dist/index.cjs +15 -4
  29. package/dist/index.d.ts +11 -2
  30. package/dist/index.mjs +15 -4
  31. package/package.json +22 -22
package/README.md CHANGED
@@ -111,13 +111,27 @@ export default defineConfig({
111
111
  })
112
112
  ```
113
113
 
114
+ ### Options
115
+
116
+ ```ts
117
+ interface VitePluginVueDevToolsOptions {
118
+ /**
119
+ * append an import to the module id ending with `appendTo` instead of adding a script into body
120
+ * useful for projects that do not use html file as an entry
121
+ *
122
+ * WARNING: only set this if you know exactly what it does.
123
+ */
124
+ appendTo?: string | RegExp
125
+ }
126
+ ```
127
+
114
128
  ## 💡 Notice
115
129
 
116
130
  - Only available in development mode.
117
131
  - Only support Vue3.0+.
118
132
  - Currently only supports single-instance Vue applications (multi-instance support is coming soon).
119
133
  - Doesn't support SSR (If you're using Nuxt, use [nuxt/devtools](https://github.com/nuxt/devtools) directly).
120
- - 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.
134
+ - 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.
121
135
 
122
136
  ```js
123
137
  // This Vue instance will be ignored by the plugin.
@@ -1,10 +1,10 @@
1
- import { v as defineComponent, aj as useColorMode, Z as ref, $ as computed, ak as reactive, al as useElementBounding, a5 as onMounted, n as nextTick, am as watchEffect, an as onUnmounted, o as openBlock, e as createElementBlock } from './index-ee58a812.js';
1
+ import { v as defineComponent, aj as useColorMode, Z as ref, $ as computed, ak as reactive, al as useElementBounding, a5 as onMounted, n as nextTick, am as watchEffect, an as onUnmounted, o as openBlock, e as createElementBlock } from './index-f0b756d9.js';
2
2
 
3
3
  const iframeCacheMap = /* @__PURE__ */ new Map();
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "IframeView",
6
6
  props: {
7
- src: null
7
+ src: {}
8
8
  },
9
9
  setup(__props) {
10
10
  const props = __props;
@@ -1,4 +1,4 @@
1
- import { aB as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-ee58a812.js';
1
+ import { aB as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-f0b756d9.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,14 +1,14 @@
1
- import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-ee58a812.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-f0b756d9.js';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "VIcon",
5
5
  props: {
6
- icon: null
6
+ icon: {}
7
7
  },
8
8
  setup(__props) {
9
9
  return (_ctx, _cache) => {
10
10
  return openBlock(), createElementBlock("div", {
11
- class: normalizeClass(["n-icon", __props.icon])
11
+ class: normalizeClass(["n-icon", _ctx.icon])
12
12
  }, null, 2);
13
13
  };
14
14
  }
@@ -1,5 +1,5 @@
1
- import { aE as useClipboard, aF 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-ee58a812.js';
2
- import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-13ffd017.js';
1
+ import { aE as useClipboard, aF 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-f0b756d9.js';
2
+ import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-f66901cc.js';
3
3
 
4
4
  function useCopy() {
5
5
  const clipboard = useClipboard();
@@ -15,14 +15,14 @@ function useCopy() {
15
15
  const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  __name: "VIconButton",
17
17
  props: {
18
- to: null,
19
- icon: null
18
+ to: {},
19
+ icon: {}
20
20
  },
21
21
  setup(__props) {
22
22
  const props = __props;
23
23
  return (_ctx, _cache) => {
24
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" }), {
25
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? "a" : "button"), mergeProps({ href: _ctx.to }, _ctx.$attrs, { class: "n-transition n-icon-button" }), {
26
26
  default: withCtx(() => [
27
27
  createVNode(_component_VIcon, {
28
28
  icon: props.icon
@@ -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-ee58a812.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-f0b756d9.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -7,18 +7,18 @@ const _hoisted_1 = {
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "VIconTitle",
9
9
  props: {
10
- icon: null,
11
- text: null
10
+ icon: {},
11
+ text: {}
12
12
  },
13
13
  setup(__props) {
14
14
  return (_ctx, _cache) => {
15
15
  return openBlock(), createElementBlock("div", _hoisted_1, [
16
- __props.icon ? (openBlock(), createElementBlock("div", {
16
+ _ctx.icon ? (openBlock(), createElementBlock("div", {
17
17
  key: 0,
18
- class: normalizeClass(__props.icon)
18
+ class: normalizeClass(_ctx.icon)
19
19
  }, null, 2)) : createCommentVNode("", true),
20
20
  renderSlot(_ctx.$slots, "default", {}, () => [
21
- createBaseVNode("div", null, toDisplayString(__props.text), 1)
21
+ createBaseVNode("div", null, toDisplayString(_ctx.text), 1)
22
22
  ])
23
23
  ]);
24
24
  };
@@ -1,4 +1,4 @@
1
- import { aB as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-ee58a812.js';
1
+ import { aB as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-f0b756d9.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-fc3a2149.js';
2
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-13ffd017.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, aB as _export_sfc, aC as vModelDynamic, k as mergeProps, K as isRef } from './index-ee58a812.js';
1
+ import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-88051acd.js';
2
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-f66901cc.js';
3
+ import { v as defineComponent, I as useVModel, b as resolveDirective, 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, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aB as _export_sfc, aC as vModelDynamic, k as mergeProps, K as isRef } from './index-f0b756d9.js';
4
4
 
5
5
  const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
6
6
  const _hoisted_1$1 = ["open"];
@@ -15,9 +15,9 @@ const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBase
15
15
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
16
16
  __name: "VSectionBlock",
17
17
  props: {
18
- icon: null,
19
- text: null,
20
- description: null,
18
+ icon: {},
19
+ text: {},
20
+ description: {},
21
21
  containerClass: { default: "" },
22
22
  collapse: { type: Boolean, default: true },
23
23
  open: { type: Boolean, default: true },
@@ -39,11 +39,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
39
39
  onToggle
40
40
  }, [
41
41
  createBaseVNode("summary", {
42
- class: normalizeClass(["cursor-pointer select-none hover:bg-active p4", __props.collapse ? "" : "pointer-events-none"])
42
+ class: normalizeClass(["cursor-pointer select-none hover:bg-active p4", _ctx.collapse ? "" : "pointer-events-none"])
43
43
  }, [
44
44
  createVNode(_component_VIconTitle, {
45
- icon: __props.icon,
46
- text: __props.text,
45
+ icon: _ctx.icon,
46
+ text: _ctx.text,
47
47
  "text-xl": "",
48
48
  transition: "",
49
49
  class: normalizeClass(unref(open) ? "op100" : "op60")
@@ -52,18 +52,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
52
52
  createBaseVNode("div", null, [
53
53
  createBaseVNode("div", _hoisted_2, [
54
54
  renderSlot(_ctx.$slots, "text", {}, () => [
55
- createTextVNode(toDisplayString(__props.text), 1)
55
+ createTextVNode(toDisplayString(_ctx.text), 1)
56
56
  ], true)
57
57
  ]),
58
- __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
58
+ _ctx.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
59
59
  renderSlot(_ctx.$slots, "description", {}, () => [
60
- createTextVNode(toDisplayString(__props.description), 1)
60
+ createTextVNode(toDisplayString(_ctx.description), 1)
61
61
  ], true)
62
62
  ])) : createCommentVNode("", true)
63
63
  ]),
64
64
  _hoisted_4,
65
65
  renderSlot(_ctx.$slots, "actions", {}, void 0, true),
66
- __props.collapse ? (openBlock(), createBlock(_component_VIcon, {
66
+ _ctx.collapse ? (openBlock(), createBlock(_component_VIcon, {
67
67
  key: 0,
68
68
  icon: "carbon-chevron-down",
69
69
  class: "chevron",
@@ -79,11 +79,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
79
79
  }, 8, ["icon", "text", "class"])
80
80
  ], 2),
81
81
  withDirectives((openBlock(), createElementBlock("div", {
82
- class: normalizeClass(["flex flex-col flex-gap2 pb6 pt2", typeof __props.padding === "string" ? __props.padding : __props.padding ? "px4" : ""])
82
+ class: normalizeClass(["flex flex-col flex-gap2 pb6 pt2", typeof _ctx.padding === "string" ? _ctx.padding : _ctx.padding ? "px4" : ""])
83
83
  }, [
84
84
  renderSlot(_ctx.$slots, "details", {}, void 0, true),
85
85
  createBaseVNode("div", {
86
- class: normalizeClass([__props.containerClass, "mt1"])
86
+ class: normalizeClass([_ctx.containerClass, "mt1"])
87
87
  }, [
88
88
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
89
89
  ], 2),
@@ -112,8 +112,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
112
  __name: "VTextInput",
113
113
  props: {
114
114
  modelValue: { default: "" },
115
- icon: null,
116
- placeholder: null,
115
+ icon: {},
116
+ placeholder: {},
117
117
  disabled: { type: Boolean },
118
118
  type: { default: "text" }
119
119
  },
@@ -124,9 +124,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
124
124
  const _component_VIcon = _sfc_main$3;
125
125
  return openBlock(), createElementBlock("div", _hoisted_1, [
126
126
  renderSlot(_ctx.$slots, "icon", {}, () => [
127
- __props.icon ? (openBlock(), createBlock(_component_VIcon, {
127
+ _ctx.icon ? (openBlock(), createBlock(_component_VIcon, {
128
128
  key: 0,
129
- icon: __props.icon,
129
+ icon: _ctx.icon,
130
130
  class: "ml-0.3em mr-0.1em text-1.1em op50"
131
131
  }, null, 8, ["icon"])) : createCommentVNode("", true)
132
132
  ]),
@@ -1,5 +1,5 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-2dc8992e.js';
2
- import { v as defineComponent, aa as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aG as useDevtoolsClient } from './index-ee58a812.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-abfaa973.js';
2
+ import { v as defineComponent, aa as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aG as useDevtoolsClient } from './index-f0b756d9.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-2dc8992e.js';
2
- import { _ as __unplugin_components_7 } from './VCard-1a6832d4.js';
3
- import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-186dde54.js';
4
- import { v as defineComponent, Z as ref, au as useElementSize, av 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, aw as Transition, $ as computed, y as toDisplayString, q as normalizeClass, ax as useStyleTag, l as normalizeStyle, ay as computedAsync, az as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$a, aA as onKeyDown, K as isRef, i as renderList } from './index-ee58a812.js';
5
- import { r as rpc } from './rpc-e28ef409.js';
6
- import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-535b6d73.js';
7
- import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-13ffd017.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-abfaa973.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-29b1adce.js';
3
+ import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-d5adb3a3.js';
4
+ import { v as defineComponent, Z as ref, au as useElementSize, av 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, aw as Transition, $ as computed, y as toDisplayString, q as normalizeClass, ax as useStyleTag, l as normalizeStyle, ay as computedAsync, az as useTimeAgo, F as Fragment, O as createTextVNode, Q as _sfc_main$a, aA as onKeyDown, K as isRef, i as renderList } from './index-f0b756d9.js';
5
+ import { r as rpc } from './rpc-d18195f5.js';
6
+ import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-1c9578c9.js';
7
+ import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-f66901cc.js';
8
8
  import { F as Fuse } from './fuse.esm-c317b696.js';
9
- import './VIconTitle.vue_vue_type_script_setup_true_lang-fc3a2149.js';
9
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-88051acd.js';
10
10
 
11
11
  const _hoisted_1$7 = {
12
12
  relative: "",
@@ -22,7 +22,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22
22
  __name: "DrawerRight",
23
23
  props: {
24
24
  modelValue: { type: Boolean },
25
- navbar: null,
25
+ navbar: {},
26
26
  autoClose: { type: Boolean }
27
27
  },
28
28
  emits: ["close"],
@@ -47,7 +47,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47
47
  "leave-to-class": "transform translate-x-1/1"
48
48
  }, {
49
49
  default: withCtx(() => [
50
- __props.modelValue ? (openBlock(), createElementBlock("div", mergeProps({
50
+ _ctx.modelValue ? (openBlock(), createElementBlock("div", mergeProps({
51
51
  key: 0,
52
52
  ref_key: "el",
53
53
  ref: el,
@@ -89,7 +89,7 @@ const _hoisted_1$6 = ["title"];
89
89
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
90
90
  __name: "FilepathItem",
91
91
  props: {
92
- filepath: null,
92
+ filepath: {},
93
93
  lineBreak: { type: Boolean },
94
94
  subpath: { type: Boolean }
95
95
  },
@@ -102,8 +102,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
102
102
  return openBlock(), createElementBlock("button", {
103
103
  "font-mono": "",
104
104
  "hover:underline": "",
105
- class: normalizeClass(__props.lineBreak ? "" : "ws-nowrap of-hidden truncate"),
106
- title: __props.filepath
105
+ class: normalizeClass(_ctx.lineBreak ? "" : "ws-nowrap of-hidden truncate"),
106
+ title: _ctx.filepath
107
107
  }, toDisplayString(unref(parsed).path), 11, _hoisted_1$6);
108
108
  };
109
109
  }
@@ -689,7 +689,7 @@ function hash(object, options = {}) {
689
689
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
690
690
  __name: "AssetFontPreview",
691
691
  props: {
692
- asset: null
692
+ asset: {}
693
693
  },
694
694
  setup(__props) {
695
695
  const props = __props;
@@ -743,29 +743,29 @@ const _hoisted_6$2 = {
743
743
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
744
744
  __name: "AssetPreview",
745
745
  props: {
746
- asset: null,
747
- textContent: null
746
+ asset: {},
747
+ textContent: {}
748
748
  },
749
749
  setup(__props) {
750
750
  return (_ctx, _cache) => {
751
751
  const _component_AssetFontPreview = _sfc_main$6;
752
752
  return openBlock(), createElementBlock("div", _hoisted_1$5, [
753
- __props.asset.type === "image" ? (openBlock(), createElementBlock("img", {
753
+ _ctx.asset.type === "image" ? (openBlock(), createElementBlock("img", {
754
754
  key: 0,
755
- src: __props.asset.publicPath
756
- }, null, 8, _hoisted_2$4)) : __props.asset.type === "font" ? (openBlock(), createBlock(_component_AssetFontPreview, {
757
- key: __props.asset.publicPath,
758
- asset: __props.asset,
755
+ src: _ctx.asset.publicPath
756
+ }, null, 8, _hoisted_2$4)) : _ctx.asset.type === "font" ? (openBlock(), createBlock(_component_AssetFontPreview, {
757
+ key: _ctx.asset.publicPath,
758
+ asset: _ctx.asset,
759
759
  "self-stretch": "",
760
760
  p2: "",
761
761
  "text-2xl": ""
762
- }, null, 8, ["asset"])) : __props.asset.type === "text" && !__props.textContent ? (openBlock(), createElementBlock("div", _hoisted_3$2)) : __props.asset.type === "text" && __props.textContent ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
762
+ }, null, 8, ["asset"])) : _ctx.asset.type === "text" && !_ctx.textContent ? (openBlock(), createElementBlock("div", _hoisted_3$2)) : _ctx.asset.type === "text" && _ctx.textContent ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
763
763
  createBaseVNode("pre", {
764
764
  "max-h-10rem": "",
765
765
  "of-hidden": "",
766
766
  "font-mono": "",
767
767
  "text-xs": "",
768
- textContent: toDisplayString(__props.textContent)
768
+ textContent: toDisplayString(_ctx.textContent)
769
769
  }, null, 8, _hoisted_5$2)
770
770
  ])) : (openBlock(), createElementBlock("div", _hoisted_6$2))
771
771
  ]);
@@ -897,7 +897,7 @@ const _hoisted_21 = /* @__PURE__ */ createBaseVNode("div", { "flex-auto": "" },
897
897
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
898
898
  __name: "AssetDetails",
899
899
  props: {
900
- asset: null
900
+ asset: {}
901
901
  },
902
902
  setup(__props) {
903
903
  const props = __props;
@@ -959,7 +959,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
959
959
  "w-auto": "",
960
960
  rounded: "",
961
961
  border: "~ base",
962
- asset: __props.asset,
962
+ asset: _ctx.asset,
963
963
  "text-content": unref(textContent)
964
964
  }, null, 8, ["asset", "text-content"])
965
965
  ])
@@ -972,7 +972,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
972
972
  createBaseVNode("td", null, [
973
973
  createBaseVNode("div", _hoisted_7$1, [
974
974
  createVNode(_component_FilepathItem, {
975
- filepath: __props.asset.filePath,
975
+ filepath: _ctx.asset.filePath,
976
976
  "text-left": ""
977
977
  }, null, 8, ["filepath"])
978
978
  ])
@@ -982,16 +982,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
982
982
  _hoisted_8$1,
983
983
  createBaseVNode("td", null, [
984
984
  createBaseVNode("div", _hoisted_9, [
985
- createBaseVNode("div", _hoisted_10, toDisplayString(__props.asset.publicPath), 1),
985
+ createBaseVNode("div", _hoisted_10, toDisplayString(_ctx.asset.publicPath), 1),
986
986
  createVNode(_component_VIconButton, {
987
987
  "flex-none": "",
988
988
  title: "Copy public path",
989
989
  icon: "carbon-copy",
990
- onClick: _cache[0] || (_cache[0] = ($event) => unref(copy)(__props.asset.publicPath))
990
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(copy)(_ctx.asset.publicPath))
991
991
  }),
992
992
  createVNode(_component_VIconButton, {
993
993
  "flex-none": "",
994
- to: `${unref(origin)}${__props.asset.publicPath}`,
994
+ to: `${unref(origin)}${_ctx.asset.publicPath}`,
995
995
  icon: "carbon-launch",
996
996
  target: "_blank",
997
997
  title: "Open in browser"
@@ -1001,7 +1001,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1001
1001
  ]),
1002
1002
  createBaseVNode("tr", null, [
1003
1003
  _hoisted_11,
1004
- createBaseVNode("td", _hoisted_12, toDisplayString(__props.asset.type), 1)
1004
+ createBaseVNode("td", _hoisted_12, toDisplayString(_ctx.asset.type), 1)
1005
1005
  ]),
1006
1006
  unref(imageMeta)?.width ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1007
1007
  createBaseVNode("tr", null, [
@@ -1020,7 +1020,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1020
1020
  createBaseVNode("tr", null, [
1021
1021
  _hoisted_17,
1022
1022
  createBaseVNode("td", null, [
1023
- createTextVNode(toDisplayString(new Date(__props.asset.mtime).toLocaleString()) + " ", 1),
1023
+ createTextVNode(toDisplayString(new Date(_ctx.asset.mtime).toLocaleString()) + " ", 1),
1024
1024
  createBaseVNode("span", _hoisted_18, "(" + toDisplayString(unref(timeago)) + ")", 1)
1025
1025
  ])
1026
1026
  ])
@@ -1029,7 +1029,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1029
1029
  _hoisted_19,
1030
1030
  createBaseVNode("div", _hoisted_20, [
1031
1031
  createVNode(_component_VButton, {
1032
- to: `${unref(origin)}${__props.asset.publicPath}`,
1032
+ to: `${unref(origin)}${_ctx.asset.publicPath}`,
1033
1033
  download: "",
1034
1034
  target: "_blank",
1035
1035
  icon: "carbon-download"
@@ -1066,7 +1066,7 @@ const _hoisted_2$2 = {
1066
1066
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1067
1067
  __name: "AssetListItem",
1068
1068
  props: {
1069
- asset: null
1069
+ asset: {}
1070
1070
  },
1071
1071
  setup(__props) {
1072
1072
  const props = __props;
@@ -1090,7 +1090,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1090
1090
  createBaseVNode("div", {
1091
1091
  class: normalizeClass(unref(icon))
1092
1092
  }, null, 2),
1093
- createBaseVNode("div", _hoisted_2$2, toDisplayString(__props.asset.path), 1)
1093
+ createBaseVNode("div", _hoisted_2$2, toDisplayString(_ctx.asset.path), 1)
1094
1094
  ]);
1095
1095
  };
1096
1096
  }
@@ -1117,8 +1117,8 @@ const _hoisted_2$1 = {
1117
1117
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1118
1118
  __name: "AssetGridItem",
1119
1119
  props: {
1120
- asset: null,
1121
- folder: null
1120
+ asset: {},
1121
+ folder: {}
1122
1122
  },
1123
1123
  setup(__props) {
1124
1124
  const props = __props;
@@ -1135,7 +1135,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1135
1135
  "w-30": "",
1136
1136
  rounded: "",
1137
1137
  border: "~ base",
1138
- asset: __props.asset
1138
+ asset: _ctx.asset
1139
1139
  }, null, 8, ["asset"]),
1140
1140
  createBaseVNode("div", _hoisted_2$1, toDisplayString(unref(path)), 1)
1141
1141
  ]);
@@ -1,10 +1,10 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-2dc8992e.js';
2
- import { _ as __unplugin_components_7 } from './VCard-1a6832d4.js';
3
- import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-5f60be7d.js';
4
- import { F as Fragment, Z as ref, ao 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, ap as onVueInstanceUpdate, u as createVNode, h as withCtx, ak as reactive, aq as instance } from './index-ee58a812.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-13ffd017.js';
6
- import './index-347d3959.js';
7
- import './VIconButton.vue_vue_type_script_setup_true_lang-186dde54.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-abfaa973.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-29b1adce.js';
3
+ import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-af9ab4de.js';
4
+ import { F as Fragment, Z as ref, ao 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, ap as onVueInstanceUpdate, u as createVNode, h as withCtx, ak as reactive, aq as instance } from './index-f0b756d9.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-f66901cc.js';
6
+ import './index-92885597.js';
7
+ import './VIconButton.vue_vue_type_script_setup_true_lang-d5adb3a3.js';
8
8
 
9
9
  function isBeingDestroyed(instance) {
10
10
  return instance._isBeingDestroyed || instance.isUnmounted;
@@ -627,7 +627,7 @@ const _hoisted_2$1 = { key: 0 };
627
627
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
628
628
  __name: "ComponentTreeNode",
629
629
  props: {
630
- data: null,
630
+ data: {},
631
631
  depth: { default: 0 }
632
632
  },
633
633
  setup(__props) {
@@ -639,18 +639,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
639
639
  return openBlock(), createElementBlock(Fragment, null, [
640
640
  createBaseVNode("div", {
641
641
  style: normalizeStyle({
642
- paddingLeft: `${__props.depth * 15 + 4}px`
642
+ paddingLeft: `${_ctx.depth * 15 + 4}px`
643
643
  }),
644
644
  "vue-block": "",
645
645
  class: normalizeClass([unref(isSelected) ? "vue-block-active" : "vue-block-hover"]),
646
- onClick: _cache[1] || (_cache[1] = ($event) => unref(select)(__props.data.id))
646
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(select)(_ctx.data.id))
647
647
  }, [
648
648
  createBaseVNode("h3", {
649
649
  "vue-block-title": "",
650
- onClick: _cache[0] || (_cache[0] = ($event) => __props.data.hasChildren ? unref(toggleExpand)(__props.data.id) : () => {
650
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.data.hasChildren ? unref(toggleExpand)(_ctx.data.id) : () => {
651
651
  })
652
652
  }, [
653
- __props.data.hasChildren ? (openBlock(), createBlock(_component_VExpandIcon, {
653
+ _ctx.data.hasChildren ? (openBlock(), createBlock(_component_VExpandIcon, {
654
654
  key: 0,
655
655
  value: unref(isExpanded)
656
656
  }, null, 8, ["value"])) : (openBlock(), createElementBlock("i", _hoisted_1$1)),
@@ -661,7 +661,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
661
661
  }, "<", 2),
662
662
  createBaseVNode("span", {
663
663
  class: normalizeClass([unref(isSelected) ? "text-white" : "vue-block-text"])
664
- }, toDisplayString(__props.data.name), 3),
664
+ }, toDisplayString(_ctx.data.name), 3),
665
665
  createBaseVNode("span", {
666
666
  class: normalizeClass([
667
667
  unref(isSelected) ? "vue-tag-symbol-active" : "vue-tag-symbol"
@@ -669,12 +669,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
669
669
  }, ">", 2)
670
670
  ])
671
671
  ], 6),
672
- unref(isExpanded) && __props.data.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
673
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.data.children, (item) => {
672
+ unref(isExpanded) && _ctx.data.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
673
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data.children, (item) => {
674
674
  return openBlock(), createBlock(_component_ComponentTreeNode, {
675
675
  key: item.id,
676
676
  data: item,
677
- depth: __props.depth + 1
677
+ depth: _ctx.depth + 1
678
678
  }, null, 8, ["data", "depth"]);
679
679
  }), 128))
680
680
  ])) : createCommentVNode("", true)
@@ -1,7 +1,7 @@
1
- import { _ as __unplugin_components_7 } from './VCard-1a6832d4.js';
2
- import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, O as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, a4 as withModifiers, f as renderSlot, Z as ref, z as unref, u as createVNode, ai as Teleport, F as Fragment, i as renderList } from './index-ee58a812.js';
3
- import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-7a782b7f.js';
4
- import { r as rpc } from './rpc-e28ef409.js';
1
+ import { _ as __unplugin_components_7 } from './VCard-29b1adce.js';
2
+ import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, O as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, a4 as withModifiers, f as renderSlot, Z as ref, z as unref, u as createVNode, ai as Teleport, F as Fragment, i as renderList } from './index-f0b756d9.js';
3
+ import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-0449d6b9.js';
4
+ import { r as rpc } from './rpc-d18195f5.js';
5
5
 
6
6
  const _hoisted_1$1 = {
7
7
  flex: "~ col gap2",
@@ -67,7 +67,7 @@ const _hoisted_13 = ["src", "alt"];
67
67
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
68
68
  __name: "DocDetails",
69
69
  props: {
70
- data: null
70
+ data: {}
71
71
  },
72
72
  emits: ["navigate"],
73
73
  setup(__props, { emit }) {
@@ -83,19 +83,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
83
83
  "cursor-pointer": "",
84
84
  p4: "",
85
85
  hover: "border-primary",
86
- onClick: _cache[2] || (_cache[2] = ($event) => emit("navigate", __props.data))
86
+ onClick: _cache[2] || (_cache[2] = ($event) => emit("navigate", _ctx.data))
87
87
  }, {
88
88
  default: withCtx(() => [
89
89
  createBaseVNode("div", _hoisted_1$1, [
90
90
  createBaseVNode("div", _hoisted_2$1, [
91
91
  createBaseVNode("span", _hoisted_3$1, [
92
- createTextVNode(toDisplayString(__props.data.name) + " ", 1),
93
- __props.data.tips ? (openBlock(), createBlock(_component_VTooltip, {
92
+ createTextVNode(toDisplayString(_ctx.data.name) + " ", 1),
93
+ _ctx.data.tips ? (openBlock(), createBlock(_component_VTooltip, {
94
94
  key: 0,
95
95
  placement: "bottom-start"
96
96
  }, {
97
97
  popper: withCtx(() => [
98
- createBaseVNode("p", null, toDisplayString(__props.data.tips), 1)
98
+ createBaseVNode("p", null, toDisplayString(_ctx.data.tips), 1)
99
99
  ]),
100
100
  default: withCtx(() => [
101
101
  _hoisted_4$1
@@ -104,9 +104,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
104
104
  })) : createCommentVNode("", true)
105
105
  ])
106
106
  ]),
107
- __props.data.description ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(__props.data.description), 1)) : createCommentVNode("", true),
107
+ _ctx.data.description ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(_ctx.data.description), 1)) : createCommentVNode("", true),
108
108
  _hoisted_6,
109
- __props.data.website ? (openBlock(), createElementBlock("div", _hoisted_7, [
109
+ _ctx.data.website ? (openBlock(), createElementBlock("div", _hoisted_7, [
110
110
  _hoisted_8,
111
111
  createBaseVNode("span", {
112
112
  "of-hidden": "",
@@ -115,10 +115,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
115
115
  "text-sm": "",
116
116
  op50: "",
117
117
  hover: "op100 underline text-primary",
118
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => navigate(__props.data.website), ["self", "stop"]))
119
- }, toDisplayString(__props.data.website.replace(/^https?:\/\//, "")), 1)
118
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => navigate(_ctx.data.website), ["self", "stop"]))
119
+ }, toDisplayString(_ctx.data.website.replace(/^https?:\/\//, "")), 1)
120
120
  ])) : createCommentVNode("", true),
121
- __props.data.github ? (openBlock(), createElementBlock("div", _hoisted_9, [
121
+ _ctx.data.github ? (openBlock(), createElementBlock("div", _hoisted_9, [
122
122
  _hoisted_10,
123
123
  createBaseVNode("span", {
124
124
  "of-hidden": "",
@@ -127,17 +127,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
127
127
  "text-sm": "",
128
128
  op50: "",
129
129
  hover: "op100 underline text-primary",
130
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => navigate(__props.data.github), ["self", "stop"]))
131
- }, toDisplayString(__props.data.github.replace(/^https?:\/\/github.com\//, "")), 1)
130
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => navigate(_ctx.data.github), ["self", "stop"]))
131
+ }, toDisplayString(_ctx.data.github.replace(/^https?:\/\/github.com\//, "")), 1)
132
132
  ])) : createCommentVNode("", true),
133
133
  renderSlot(_ctx.$slots, "items")
134
134
  ]),
135
135
  createBaseVNode("div", _hoisted_11, [
136
- __props.data.icon ? (openBlock(), createElementBlock("div", _hoisted_12, [
137
- __props.data.icon ? (openBlock(), createElementBlock("img", {
136
+ _ctx.data.icon ? (openBlock(), createElementBlock("div", _hoisted_12, [
137
+ _ctx.data.icon ? (openBlock(), createElementBlock("img", {
138
138
  key: 0,
139
- src: __props.data.icon,
140
- alt: __props.data.name,
139
+ src: _ctx.data.icon,
140
+ alt: _ctx.data.name,
141
141
  ma: "",
142
142
  "h-full": ""
143
143
  }, null, 8, _hoisted_13)) : createCommentVNode("", true)
@@ -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, ad as watch, u as createVNode } from './index-ee58a812.js';
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, ad as watch, u as createVNode } from './index-f0b756d9.js';
2
2
  import { F as Fuse } from './fuse.esm-c317b696.js';
3
- import { r as rpc } from './rpc-e28ef409.js';
3
+ import { r as rpc } from './rpc-d18195f5.js';
4
4
 
5
5
  const list = ref(await rpc.componentGraph());
6
6
  const searchText = useStorage("vite-inspect-search-text", "");