vite-plugin-vue-devtools 0.0.10 → 0.0.11

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 (25) hide show
  1. package/dist/client/assets/{VCard-c441f774.js → VCard-1be3aeea.js} +1 -1
  2. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js → VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js} +1 -1
  3. package/dist/client/assets/VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js +39 -0
  4. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js → VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js} +1 -1
  5. package/dist/client/assets/{VPanelGrids-3484ea9d.js → VPanelGrids-e35ca1b2.js} +1 -1
  6. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js → VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js} +3 -3
  7. package/dist/client/assets/{__inspecting-bbaec4fe.js → __inspecting-a5f31235.js} +2 -2
  8. package/dist/client/assets/{assets-facbb582.js → assets-fa06fb0b.js} +18 -34
  9. package/dist/client/assets/{components-dfc74ac0.js → components-82b9b93b.js} +7 -6
  10. package/dist/client/assets/{graph-736aa653.js → graph-c19b9cea.js} +2 -2
  11. package/dist/client/assets/{index-359dd67c.js → index-35968ba5.js} +240 -57
  12. package/dist/client/assets/{index-9285098c.js → index-462602ed.js} +1 -1
  13. package/dist/client/assets/{index-62a10721.css → index-80cdb5c4.css} +13 -1
  14. package/dist/client/assets/{inspect-115c7185.js → inspect-bb122b4f.js} +2 -2
  15. package/dist/client/assets/{overview-17f2d4a9.js → overview-b83e2480.js} +5 -5
  16. package/dist/client/assets/{pages-f46ac6f6.js → pages-968ac2c8.js} +4 -4
  17. package/dist/client/assets/{pinia-9a9e9407.js → pinia-745e8151.js} +5 -4
  18. package/dist/client/assets/{routes-2c268c33.js → routes-7fb87fa2.js} +7 -6
  19. package/dist/client/assets/{rpc-5a46e853.js → rpc-1f60df18.js} +1 -1
  20. package/dist/client/assets/{settings-391a112a.js → settings-ff419377.js} +5 -5
  21. package/dist/client/assets/{splitpanes.es-f1d0c1c1.js → splitpanes.es-fcdb2062.js} +22 -6
  22. package/dist/client/assets/{timeline-7c8f87a4.js → timeline-53aba586.js} +7 -6
  23. package/dist/client/index.html +2 -2
  24. package/package.json +9 -1
  25. package/src/node/Container.vue +2 -2
@@ -1,4 +1,4 @@
1
- import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-359dd67c.js';
1
+ import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-35968ba5.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-359dd67c.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-35968ba5.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-35968ba5.js';
2
+ import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-1695d8db.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-359dd67c.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-35968ba5.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-359dd67c.js';
1
+ import { aw as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-35968ba5.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-3789570c.js';
2
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.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-359dd67c.js';
1
+ import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js';
2
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-1695d8db.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-35968ba5.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-3484ea9d.js';
2
- import { v as defineComponent, az as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aA as useDevtoolsClient } from './index-359dd67c.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-e35ca1b2.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-35968ba5.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-3484ea9d.js';
2
- import { _ as __unplugin_components_7 } from './VCard-c441f774.js';
3
- import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
4
- import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent, Z as ref, ap as useElementSize, aq as onClickOutside, e as createElementBlock, x as createBaseVNode, f as renderSlot, 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$b, av as onKeyDown, K as isRef, i as renderList } from './index-359dd67c.js';
5
- import { r as rpc } from './rpc-5a46e853.js';
6
- import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-e35ca1b2.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-1be3aeea.js';
3
+ import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.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-35968ba5.js';
5
+ import { r as rpc } from './rpc-1f60df18.js';
6
+ import { _ as _sfc_main$b, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js';
7
+ import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js';
7
8
  import { F as Fuse } from './fuse.esm-c317b696.js';
8
- import './VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js';
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-572a0964.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$b;
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$c;
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$a;
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-3484ea9d.js';
2
- import { _ as __unplugin_components_7 } from './VCard-c441f774.js';
3
- import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-f1d0c1c1.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-359dd67c.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js';
6
- import './index-9285098c.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-e35ca1b2.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-1be3aeea.js';
3
+ import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-fcdb2062.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-35968ba5.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js';
6
+ import './index-462602ed.js';
7
+ import './VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js';
7
8
 
8
9
  function isBeingDestroyed(instance) {
9
10
  return instance._isBeingDestroyed || instance.isUnmounted;
@@ -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-359dd67c.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, ai as watch, u as createVNode } from './index-35968ba5.js';
2
2
  import { F as Fuse } from './fuse.esm-c317b696.js';
3
- import { r as rpc } from './rpc-5a46e853.js';
3
+ import { r as rpc } from './rpc-1f60df18.js';
4
4
 
5
5
  const list = ref(await rpc.componentGraph());
6
6
  const searchText = useStorage("vite-inspect-search-text", "");