vite-plugin-vue-devtools 0.1.7 → 0.2.1

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 (35) hide show
  1. package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-b97575a4.js → IframeView.vue_vue_type_script_setup_true_lang-3a43e6ae.js} +1 -1
  2. package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-6afd54d1.js → StateFields.vue_vue_type_script_setup_true_lang-f9c67da8.js} +4 -4
  3. package/dist/client/assets/{VCard-50fbc1c6.js → VCard-8f584a44.js} +1 -1
  4. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-fa37679c.js → VIcon.vue_vue_type_script_setup_true_lang-b5034521.js} +1 -1
  5. package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-bb9d2409.js → VIconButton.vue_vue_type_script_setup_true_lang-66a83f1a.js} +2 -2
  6. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-4c3fb496.js → VIconTitle.vue_vue_type_script_setup_true_lang-276880a3.js} +1 -1
  7. package/dist/client/assets/{VPanelGrids-06a48044.js → VPanelGrids-08531872.js} +1 -1
  8. package/dist/client/assets/{VSectionBlock-c2aabf14.js → VSectionBlock-c9cecc8a.js} +3 -3
  9. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-00787f29.js → VTextInput.vue_vue_type_script_setup_true_lang-96ef132c.js} +2 -2
  10. package/dist/client/assets/__eyedropper-dbdd9188.js +112 -0
  11. package/dist/client/assets/{__inspecting-110158f6.js → __inspecting-c3942849.js} +2 -2
  12. package/dist/client/assets/{assets-81886869.js → assets-dc890f94.js} +9 -9
  13. package/dist/client/assets/{component-docs-8efb505d.js → component-docs-0d4eec65.js} +6 -6
  14. package/dist/client/assets/{components-34ee71ab.js → components-4bbb4d42.js} +8 -8
  15. package/dist/client/assets/{documentations-980e4452.js → documentations-0772e28d.js} +4 -4
  16. package/dist/client/assets/{graph-82f7576a.js → graph-f04f0659.js} +2 -2
  17. package/dist/client/assets/{index-896fa224.js → index-4ea8507d.js} +1 -1
  18. package/dist/client/assets/index-76a3c684.css +466 -0
  19. package/dist/client/assets/{index-4557c2db.js → index-f743edb2.js} +28 -18
  20. package/dist/client/assets/{inspect-70b2e8de.js → inspect-ef16c665.js} +3 -3
  21. package/dist/client/assets/{npm-812fea30.js → npm-8aa51398.js} +175 -31
  22. package/dist/client/assets/{overview-b7346332.js → overview-d04e0943.js} +5 -5
  23. package/dist/client/assets/{pages-fec4d4eb.js → pages-c8759169.js} +5 -5
  24. package/dist/client/assets/{pinia-056be81a.js → pinia-a1d3abba.js} +6 -6
  25. package/dist/client/assets/{routes-f230a5cb.js → routes-b6e1361f.js} +8 -8
  26. package/dist/client/assets/{rpc-54e81694.js → rpc-901b9577.js} +1 -1
  27. package/dist/client/assets/{settings-82fab955.js → settings-7dc3a0fa.js} +3 -3
  28. package/dist/client/assets/{splitpanes.es-331a3b1f.js → splitpanes.es-cb929c19.js} +1 -1
  29. package/dist/client/assets/{timeline-fa753dd6.js → timeline-01c3c8d8.js} +8 -8
  30. package/dist/client/index.html +2 -2
  31. package/dist/index.cjs +34 -8
  32. package/dist/index.mjs +34 -8
  33. package/package.json +2 -2
  34. package/src/node/Container.vue +18 -5
  35. package/dist/client/assets/index-4825b66d.css +0 -466
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, ak as useColorMode, $ as ref, a0 as computed, al as reactive, am as useElementBounding, a6 as onMounted, n as nextTick, an as watchEffect, ao as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-4557c2db.js';
1
+ import { v as defineComponent, ak as useColorMode, $ as ref, a0 as computed, al as reactive, am as useElementBounding, a6 as onMounted, n as nextTick, an as watchEffect, ao as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-f743edb2.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  key: 0,
@@ -1,7 +1,7 @@
1
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-fa37679c.js';
2
- import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, K as isRef, a2 as toRaw, a0 as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, as as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, $ as ref, u as createVNode, a5 as withModifiers, d as withDirectives, at as vShow } from './index-4557c2db.js';
3
- import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-896fa224.js';
4
- import { u as useCopy, _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-bb9d2409.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-b5034521.js';
2
+ import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, K as isRef, a2 as toRaw, a0 as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, as as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, $ as ref, u as createVNode, a5 as withModifiers, d as withDirectives, at as vShow } from './index-f743edb2.js';
3
+ import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-4ea8507d.js';
4
+ import { u as useCopy, _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-66a83f1a.js';
5
5
 
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "VExpandIcon",
@@ -1,4 +1,4 @@
1
- import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-4557c2db.js';
1
+ import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-f743edb2.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-4557c2db.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-f743edb2.js';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "VIcon",
@@ -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-4557c2db.js';
2
- import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-fa37679c.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-f743edb2.js';
2
+ import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-b5034521.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-4557c2db.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-f743edb2.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -1,4 +1,4 @@
1
- import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-4557c2db.js';
1
+ import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-f743edb2.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$1 } from './VIconTitle.vue_vue_type_script_setup_true_lang-4c3fb496.js';
2
- import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-fa37679c.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, aD as _export_sfc } from './index-4557c2db.js';
1
+ import { _ as _sfc_main$1 } from './VIconTitle.vue_vue_type_script_setup_true_lang-276880a3.js';
2
+ import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-b5034521.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, aD as _export_sfc } from './index-f743edb2.js';
4
4
 
5
5
  const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
6
6
  const _hoisted_1 = ["open"];
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-fa37679c.js';
2
- import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, aG as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, K as isRef, c as createBlock, g as createCommentVNode } from './index-4557c2db.js';
1
+ import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-b5034521.js';
2
+ import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, aG as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, K as isRef, c as createBlock, g as createCommentVNode } from './index-f743edb2.js';
3
3
 
4
4
  const _hoisted_1 = { class: "n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -0,0 +1,112 @@
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-08531872.js';
2
+ import { v as defineComponent, aJ as useRouter, $ as ref, ab as useEventListener, a6 as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, O as createTextVNode, y as toDisplayString, aI as useDevtoolsClient, Q as useFrameState } from './index-f743edb2.js';
3
+
4
+ const _hoisted_1 = { key: 0 };
5
+ const _hoisted_2 = {
6
+ key: 1,
7
+ flex: "",
8
+ "items-center": ""
9
+ };
10
+ const _hoisted_3 = {
11
+ flex: "",
12
+ "items-center": ""
13
+ };
14
+ const _hoisted_4 = /* @__PURE__ */ createBaseVNode("i", {
15
+ class: "i-mdi:eyedropper",
16
+ "text-3": ""
17
+ }, null, -1);
18
+ const _hoisted_5 = [
19
+ _hoisted_4
20
+ ];
21
+ const _sfc_main = /* @__PURE__ */ defineComponent({
22
+ __name: "__eyedropper",
23
+ setup(__props) {
24
+ const client = useDevtoolsClient();
25
+ const frameState = useFrameState();
26
+ const router = useRouter();
27
+ const color = ref("");
28
+ useEventListener("keydown", (e) => {
29
+ if (e.key === "Escape")
30
+ close();
31
+ });
32
+ function close() {
33
+ client.value?.panel?.toggleViewMode();
34
+ router.replace(frameState.route.value);
35
+ }
36
+ async function open() {
37
+ const eyeDropper = new EyeDropper();
38
+ return eyeDropper.open();
39
+ }
40
+ async function restart() {
41
+ color.value = "";
42
+ open().then((res) => {
43
+ color.value = res.sRGBHex;
44
+ });
45
+ }
46
+ onMounted(() => {
47
+ open().then((res) => {
48
+ color.value = res.sRGBHex;
49
+ });
50
+ });
51
+ return (_ctx, _cache) => {
52
+ const _component_VPanelGrids = __unplugin_components_0;
53
+ return openBlock(), createBlock(_component_VPanelGrids, {
54
+ "h-screen": "",
55
+ "w-screen": "",
56
+ px5: ""
57
+ }, {
58
+ default: withCtx(() => [
59
+ createBaseVNode("div", {
60
+ absolute: "",
61
+ "right-0": "",
62
+ "top-0": "",
63
+ p2: ""
64
+ }, [
65
+ createBaseVNode("button", {
66
+ "carbon-close": "",
67
+ ma: "",
68
+ "text-xl": "",
69
+ op50: "",
70
+ "hover:op100": "",
71
+ onClick: close
72
+ })
73
+ ]),
74
+ !unref(color) ? (openBlock(), createElementBlock("div", _hoisted_1, " Launching EyeDropper ")) : (openBlock(), createElementBlock("div", _hoisted_2, [
75
+ createBaseVNode("span", _hoisted_3, [
76
+ createBaseVNode("em", {
77
+ "mr-2": "",
78
+ "inline-block": "",
79
+ "h-5": "",
80
+ "w-5": "",
81
+ border: "",
82
+ "border-base": "",
83
+ rounded: "",
84
+ style: normalizeStyle({ backgroundColor: unref(color) })
85
+ }, null, 4),
86
+ createTextVNode(" : " + toDisplayString(unref(color)), 1)
87
+ ]),
88
+ createBaseVNode("span", {
89
+ "ml-2": "",
90
+ flex: "",
91
+ "cursor-pointer": "",
92
+ "items-center": "",
93
+ border: "",
94
+ "border-base": "",
95
+ "rounded-10": "",
96
+ "p-2": "",
97
+ hover: "bg-active",
98
+ onClick: restart
99
+ }, _hoisted_5)
100
+ ]))
101
+ ]),
102
+ _: 1
103
+ });
104
+ };
105
+ }
106
+ });
107
+
108
+ /* Injected with object hook! */
109
+
110
+ /* Injected with object hook! */
111
+
112
+ export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-06a48044.js';
2
- import { v as defineComponent, ab as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aI as useDevtoolsClient } from './index-4557c2db.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-08531872.js';
2
+ import { v as defineComponent, ab as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aI as useDevtoolsClient } from './index-f743edb2.js';
3
3
 
4
4
  const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,13 +1,13 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-06a48044.js';
2
- import { _ as __unplugin_components_7 } from './VCard-50fbc1c6.js';
3
- import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-bb9d2409.js';
4
- import { v as defineComponent, $ as ref, aw as useElementSize, ax 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, ay as Transition, a0 as computed, y as toDisplayString, q as normalizeClass, az as useStyleTag, l as normalizeStyle, aA as computedAsync, aB as useTimeAgo, F as Fragment, O as createTextVNode, R as _sfc_main$a, aC as onKeyDown, K as isRef, i as renderList } from './index-4557c2db.js';
5
- import { r as rpc } from './rpc-54e81694.js';
6
- import { _ as __unplugin_components_3 } from './VSectionBlock-c2aabf14.js';
7
- import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-00787f29.js';
8
- import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-fa37679c.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-08531872.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-8f584a44.js';
3
+ import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-66a83f1a.js';
4
+ import { v as defineComponent, $ as ref, aw as useElementSize, ax 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, ay as Transition, a0 as computed, y as toDisplayString, q as normalizeClass, az as useStyleTag, l as normalizeStyle, aA as computedAsync, aB as useTimeAgo, F as Fragment, O as createTextVNode, R as _sfc_main$a, aC as onKeyDown, K as isRef, i as renderList } from './index-f743edb2.js';
5
+ import { r as rpc } from './rpc-901b9577.js';
6
+ import { _ as __unplugin_components_3 } from './VSectionBlock-c9cecc8a.js';
7
+ import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-96ef132c.js';
8
+ import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-b5034521.js';
9
9
  import { F as Fuse } from './fuse.esm-c317b696.js';
10
- import './VIconTitle.vue_vue_type_script_setup_true_lang-4c3fb496.js';
10
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-276880a3.js';
11
11
 
12
12
  const _hoisted_1$7 = {
13
13
  relative: "",