vite-plugin-vue-devtools 0.1.6 → 0.2.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.
- package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-0b033310.js → IframeView.vue_vue_type_script_setup_true_lang-b43ce04d.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-ddaa9f9f.js → StateFields.vue_vue_type_script_setup_true_lang-2eb76810.js} +4 -4
- package/dist/client/assets/{VCard-5e511cfb.js → VCard-85379c8f.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-e3f9dc2c.js → VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-33c079ff.js → VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-f41c9e93.js → VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js} +1 -1
- package/dist/client/assets/{VPanelGrids-ecdefe60.js → VPanelGrids-8fb6dd3e.js} +1 -1
- package/dist/client/assets/{VSectionBlock-57896fbc.js → VSectionBlock-6c230ee0.js} +3 -3
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-72d4be1b.js → VTextInput.vue_vue_type_script_setup_true_lang-db4f1ff5.js} +2 -2
- package/dist/client/assets/__eyedropper-356eb298.js +112 -0
- package/dist/client/assets/{__inspecting-2cd3d8ef.js → __inspecting-e140eb7b.js} +2 -2
- package/dist/client/assets/{assets-172a5e81.js → assets-e0b8d4d7.js} +9 -9
- package/dist/client/assets/{component-docs-5aa27f70.js → component-docs-b9ee379e.js} +6 -6
- package/dist/client/assets/{components-2208748b.js → components-00f431db.js} +8 -8
- package/dist/client/assets/{documentations-9edd139a.js → documentations-1dde3300.js} +4 -4
- package/dist/client/assets/{graph-c5342cea.js → graph-cc854637.js} +2 -2
- package/dist/client/assets/{index-9206e97a.js → index-2b9ce289.js} +28 -18
- package/dist/client/assets/index-76a3c684.css +466 -0
- package/dist/client/assets/{index-8dd37505.js → index-789b3f11.js} +1 -1
- package/dist/client/assets/{inspect-b0d0f0fd.js → inspect-7051b204.js} +3 -3
- package/dist/client/assets/{npm-d2e1b27a.js → npm-d6d3b7aa.js} +175 -31
- package/dist/client/assets/{overview-bc357c8f.js → overview-1af2ca59.js} +5 -5
- package/dist/client/assets/{pages-5ca8f485.js → pages-46d19766.js} +5 -5
- package/dist/client/assets/{pinia-c6908786.js → pinia-ec20f871.js} +6 -6
- package/dist/client/assets/{routes-9d3e51a6.js → routes-0105fa20.js} +8 -8
- package/dist/client/assets/{rpc-3bf5ad60.js → rpc-ec85f8ba.js} +1 -1
- package/dist/client/assets/{settings-9420d6e3.js → settings-7e727d67.js} +3 -3
- package/dist/client/assets/{splitpanes.es-be62d1e3.js → splitpanes.es-6bb61903.js} +1 -1
- package/dist/client/assets/{timeline-134262d1.js → timeline-a5175ebd.js} +8 -8
- package/dist/client/index.html +2 -2
- package/dist/index.cjs +36 -10
- package/dist/index.mjs +35 -9
- package/package.json +1 -1
- package/src/node/Container.vue +18 -5
- 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-
|
|
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-2b9ce289.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-
|
|
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-
|
|
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-
|
|
4
|
-
import { u as useCopy, _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.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-2b9ce289.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-789b3f11.js';
|
|
4
|
+
import { u as useCopy, _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.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-
|
|
1
|
+
import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-2b9ce289.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-2b9ce289.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-
|
|
2
|
-
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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-2b9ce289.js';
|
|
2
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.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-
|
|
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-2b9ce289.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-
|
|
1
|
+
import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-2b9ce289.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-
|
|
2
|
-
import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.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-2b9ce289.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-
|
|
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-
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.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-2b9ce289.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-8fb6dd3e.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-2b9ce289.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-
|
|
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-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-8fb6dd3e.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-2b9ce289.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-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
7
|
-
import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-8fb6dd3e.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-85379c8f.js';
|
|
3
|
+
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.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-2b9ce289.js';
|
|
5
|
+
import { r as rpc } from './rpc-ec85f8ba.js';
|
|
6
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-6c230ee0.js';
|
|
7
|
+
import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-db4f1ff5.js';
|
|
8
|
+
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
9
9
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
10
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js';
|
|
11
11
|
|
|
12
12
|
const _hoisted_1$7 = {
|
|
13
13
|
relative: "",
|