vite-plugin-vue-devtools 0.4.11 → 0.4.14
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-fd720d18.js → IframeView.vue_vue_type_script_setup_true_lang-a1185393.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-0e4af331.js → StateFields.vue_vue_type_script_setup_true_lang-400324ec.js} +4 -4
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-d1646658.js → VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-5c7fa25b.js → VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-3af9d81d.js → VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js} +1 -1
- package/dist/client/assets/{VPanelGrids-08ef47ce.js → VPanelGrids-6b407e75.js} +1 -1
- package/dist/client/assets/{VSectionBlock-44a9204b.js → VSectionBlock-bada460c.js} +3 -3
- package/dist/client/assets/{VSwitch.vue_vue_type_script_setup_true_lang-b1b6daad.js → VSwitch.vue_vue_type_script_setup_true_lang-9db804e8.js} +2 -2
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-4df2a1eb.js → VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js} +2 -2
- package/dist/client/assets/__eyedropper-c919226e.js +132 -0
- package/dist/client/assets/{assets-4ff4283a.js → assets-09e0693c.js} +8 -8
- package/dist/client/assets/{component-docs-1e5f0727.js → component-docs-554bae64.js} +5 -5
- package/dist/client/assets/{components-5011f272.js → components-81f4a69f.js} +8 -8
- package/dist/client/assets/{documentations-ec90fa66.js → documentations-cee1b26d.js} +3 -3
- package/dist/client/assets/{graph-c8cae02e.js → graph-b9e616a5.js} +4 -4
- package/dist/client/assets/{index-37b80b18.js → index-07eaeded.js} +5 -2
- package/dist/client/assets/{index-793e4620.js → index-12ebe994.js} +63 -83
- package/dist/client/assets/index-8fbe34c5.css +474 -0
- package/dist/client/assets/{inspect-c464cac5.js → inspect-517cfc3b.js} +3 -3
- package/dist/client/assets/{npm-de038c5b.js → npm-5ff3b150.js} +6 -6
- package/dist/client/assets/{overview-fc79467d.js → overview-ddb35c98.js} +5 -5
- package/dist/client/assets/{pages-d51e51ec.js → pages-0f764a73.js} +5 -5
- package/dist/client/assets/{pinia-e230dd12.js → pinia-68a51789.js} +12 -9
- package/dist/client/assets/{routes-7d3d04cf.js → routes-f7af2877.js} +14 -11
- package/dist/client/assets/{rpc-d8afe028.js → rpc-97467545.js} +1 -1
- package/dist/client/assets/{settings-2e4656aa.js → settings-f852d24f.js} +22 -39
- package/dist/client/assets/{splitpanes.es-8a68d356.js → splitpanes.es-56cabd81.js} +1 -1
- package/dist/client/assets/{timeline-202ca852.js → timeline-28278daa.js} +8 -8
- package/dist/client/index.html +2 -2
- package/package.json +4 -3
- package/src/node/views/Main.vue +1 -4
- package/dist/client/assets/__eyedropper-9aeb7406.js +0 -112
- package/dist/client/assets/index-ee2ca8be.css +0 -474
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent,
|
|
1
|
+
import { v as defineComponent, ck as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cl as useElementBounding, aP as onMounted, n as nextTick, bz as watchEffect, aU as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-12ebe994.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, aC as isRef, bd as toRaw, a1 as computed,
|
|
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 { _ 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-53acfb91.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, co as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cp as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-12ebe994.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-07eaeded.js';
|
|
4
|
+
import { _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
|
|
5
5
|
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VExpandIcon",
|
|
@@ -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-12ebe994.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-12ebe994.js';
|
|
3
3
|
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "VIconButton",
|
|
@@ -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-12ebe994.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-12ebe994.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, bK 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, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
|
|
3
|
+
import { v as defineComponent, bK 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, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-12ebe994.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$2 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
|
|
2
|
+
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-12ebe994.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1$1 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
5
5
|
const _hoisted_2$1 = ["disabled"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC 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-53acfb91.js';
|
|
2
|
+
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-12ebe994.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,132 @@
|
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-6b407e75.js';
|
|
2
|
+
import { v as defineComponent, cx as useRouter, a$ as ref, cb as useEventListener, aP as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, a9 as createTextVNode, y as toDisplayString, cj as useDevtoolsClient, bX as useFrameState, u as createVNode } from './index-12ebe994.js';
|
|
3
|
+
import { h as checkIsSecurityContext } from './index-07eaeded.js';
|
|
4
|
+
|
|
5
|
+
const _hoisted_1 = {
|
|
6
|
+
key: 0
|
|
7
|
+
};
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_3 = {
|
|
12
|
+
key: 1,
|
|
13
|
+
flex: "",
|
|
14
|
+
"items-center": ""
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_4 = {
|
|
17
|
+
flex: "",
|
|
18
|
+
"items-center": ""
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_5 = /*#__PURE__*/createBaseVNode("i", {
|
|
21
|
+
class: "i-mdi:eyedropper",
|
|
22
|
+
"text-3": ""
|
|
23
|
+
}, null, -1);
|
|
24
|
+
const _hoisted_6 = [_hoisted_5];
|
|
25
|
+
const _sfc_main = /*#__PURE__*/defineComponent({
|
|
26
|
+
__name: '__eyedropper',
|
|
27
|
+
setup(__props) {
|
|
28
|
+
const client = useDevtoolsClient();
|
|
29
|
+
const frameState = useFrameState();
|
|
30
|
+
const router = useRouter();
|
|
31
|
+
const color = ref('');
|
|
32
|
+
useEventListener('keydown', e => {
|
|
33
|
+
if (e.key === 'Escape') close();
|
|
34
|
+
});
|
|
35
|
+
function close() {
|
|
36
|
+
client.value?.panel?.toggleViewMode();
|
|
37
|
+
router.replace(frameState.route.value);
|
|
38
|
+
}
|
|
39
|
+
const inSecurityContext = checkIsSecurityContext();
|
|
40
|
+
// @ts-expect-error missing types
|
|
41
|
+
const supportEyeDropper = !!window.EyeDropper;
|
|
42
|
+
const isSupported = inSecurityContext && supportEyeDropper;
|
|
43
|
+
async function open() {
|
|
44
|
+
if (!isSupported) return;
|
|
45
|
+
// @ts-expect-error missing types?
|
|
46
|
+
const eyeDropper = new EyeDropper();
|
|
47
|
+
return eyeDropper.open();
|
|
48
|
+
}
|
|
49
|
+
async function restart() {
|
|
50
|
+
color.value = '';
|
|
51
|
+
open().then(res => {
|
|
52
|
+
color.value = res.sRGBHex;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
onMounted(() => {
|
|
56
|
+
open().then(res => {
|
|
57
|
+
color.value = res.sRGBHex;
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
function ErrorBoundary() {
|
|
61
|
+
let content = createVNode("div", null, null);
|
|
62
|
+
if (!inSecurityContext) {
|
|
63
|
+
content = createVNode("p", null, [createTextVNode("EyeDropper is not available due to "), createVNode("a", {
|
|
64
|
+
"class": "text-primary transition-colors hover:text-primary/80",
|
|
65
|
+
"href": "https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts",
|
|
66
|
+
"target": '_blank'
|
|
67
|
+
}, [createTextVNode("secure context")]), createTextVNode(" restrict.")]);
|
|
68
|
+
} else if (!supportEyeDropper) {
|
|
69
|
+
content = createVNode("p", null, [createTextVNode("Your browser doesn't support\xA0"), createVNode("a", {
|
|
70
|
+
"class": "text-primary transition-colors hover:text-primary/80",
|
|
71
|
+
"href": "https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper#browser_compatibility",
|
|
72
|
+
"target": '_blank'
|
|
73
|
+
}, [createTextVNode("EyeDropper")]), createTextVNode(".")]);
|
|
74
|
+
}
|
|
75
|
+
return createVNode("div", {
|
|
76
|
+
"class": "flex items-center justify-center text-12px"
|
|
77
|
+
}, [content]);
|
|
78
|
+
}
|
|
79
|
+
return (_ctx, _cache) => {
|
|
80
|
+
const _component_VPanelGrids = __unplugin_components_0;
|
|
81
|
+
return openBlock(), createBlock(_component_VPanelGrids, {
|
|
82
|
+
"h-screen": "",
|
|
83
|
+
"w-screen": "",
|
|
84
|
+
px5: ""
|
|
85
|
+
}, {
|
|
86
|
+
default: withCtx(() => [createBaseVNode("div", {
|
|
87
|
+
absolute: "",
|
|
88
|
+
"right-0": "",
|
|
89
|
+
"top-0": "",
|
|
90
|
+
p2: ""
|
|
91
|
+
}, [createBaseVNode("button", {
|
|
92
|
+
"carbon-close": "",
|
|
93
|
+
ma: "",
|
|
94
|
+
"text-xl": "",
|
|
95
|
+
op50: "",
|
|
96
|
+
"hover:op100": "",
|
|
97
|
+
onClick: close
|
|
98
|
+
})]), unref(isSupported) ? (openBlock(), createElementBlock("div", _hoisted_1, [!unref(color) ? (openBlock(), createElementBlock("div", _hoisted_2, " Launching EyeDropper ")) : (openBlock(), createElementBlock("div", _hoisted_3, [createBaseVNode("span", _hoisted_4, [createBaseVNode("em", {
|
|
99
|
+
"mr-2": "",
|
|
100
|
+
"inline-block": "",
|
|
101
|
+
"h-5": "",
|
|
102
|
+
"w-5": "",
|
|
103
|
+
border: "",
|
|
104
|
+
"border-base": "",
|
|
105
|
+
rounded: "",
|
|
106
|
+
style: normalizeStyle({
|
|
107
|
+
backgroundColor: unref(color)
|
|
108
|
+
})
|
|
109
|
+
}, null, 4), createTextVNode(" : " + toDisplayString(unref(color)), 1)]), createBaseVNode("span", {
|
|
110
|
+
"ml-2": "",
|
|
111
|
+
flex: "",
|
|
112
|
+
"cursor-pointer": "",
|
|
113
|
+
"items-center": "",
|
|
114
|
+
border: "",
|
|
115
|
+
"border-base": "",
|
|
116
|
+
"rounded-10": "",
|
|
117
|
+
"p-2": "",
|
|
118
|
+
hover: "bg-active",
|
|
119
|
+
onClick: restart
|
|
120
|
+
}, _hoisted_6)]))])) : (openBlock(), createBlock(ErrorBoundary, {
|
|
121
|
+
key: 1
|
|
122
|
+
}))]),
|
|
123
|
+
_: 1
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
/* Injected with object hook! */
|
|
129
|
+
|
|
130
|
+
/* Injected with object hook! */
|
|
131
|
+
|
|
132
|
+
export { _sfc_main as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent, a$ as ref,
|
|
3
|
-
import { _ as _sfc_main$9 } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { r as rpc } from './rpc-
|
|
5
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
6
|
-
import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-6b407e75.js';
|
|
2
|
+
import { v as defineComponent, a$ as ref, cq as useElementSize, cr 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, P as Transition, a1 as computed, y as toDisplayString, q as normalizeClass, cs as useStyleTag, l as normalizeStyle, ct as computedAsync, co as useCopy, cu as useTimeAgo, F as Fragment, a9 as createTextVNode, cj as useDevtoolsClient, bL as _sfc_main$a, cv as onKeyDown, aC as isRef, i as renderList, _ as __unplugin_components_7 } from './index-12ebe994.js';
|
|
3
|
+
import { _ as _sfc_main$9 } from './VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js';
|
|
4
|
+
import { r as rpc } from './rpc-97467545.js';
|
|
5
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-bada460c.js';
|
|
6
|
+
import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js';
|
|
7
|
+
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js';
|
|
8
8
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
9
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js';
|
|
10
10
|
|
|
11
11
|
const _hoisted_1$7 = {
|
|
12
12
|
relative: "",
|