vite-plugin-vue-devtools 0.4.11 → 0.4.12
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-97a0e754.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-dd6974e1.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-4dcb121c.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-4054707d.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-4531a0e4.js} +1 -1
- package/dist/client/assets/{VPanelGrids-08ef47ce.js → VPanelGrids-ea9ac4bd.js} +1 -1
- package/dist/client/assets/{VSectionBlock-44a9204b.js → VSectionBlock-0d870ae2.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-dc4a336f.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-cd591fdb.js} +2 -2
- package/dist/client/assets/__eyedropper-41422dc8.js +132 -0
- package/dist/client/assets/{assets-4ff4283a.js → assets-fc847d7b.js} +8 -8
- package/dist/client/assets/{component-docs-1e5f0727.js → component-docs-b0456b1b.js} +5 -5
- package/dist/client/assets/{components-5011f272.js → components-41827ea5.js} +7 -7
- package/dist/client/assets/{documentations-ec90fa66.js → documentations-e948ad25.js} +3 -3
- package/dist/client/assets/{graph-c8cae02e.js → graph-ed9ec08f.js} +4 -4
- package/dist/client/assets/{index-ee2ca8be.css → index-8135098e.css} +1 -1
- package/dist/client/assets/{index-793e4620.js → index-d268ce4d.js} +14 -14
- package/dist/client/assets/{index-37b80b18.js → index-fb7e673c.js} +5 -2
- package/dist/client/assets/{inspect-c464cac5.js → inspect-4e046378.js} +3 -3
- package/dist/client/assets/{npm-de038c5b.js → npm-81f351e2.js} +6 -6
- package/dist/client/assets/{overview-fc79467d.js → overview-9d7f0c3c.js} +5 -5
- package/dist/client/assets/{pages-d51e51ec.js → pages-7d46ae82.js} +5 -5
- package/dist/client/assets/{pinia-e230dd12.js → pinia-c576b594.js} +6 -6
- package/dist/client/assets/{routes-7d3d04cf.js → routes-56017e0a.js} +7 -7
- package/dist/client/assets/{rpc-d8afe028.js → rpc-6c4cc8d5.js} +1 -1
- package/dist/client/assets/{settings-2e4656aa.js → settings-4e36485a.js} +6 -6
- package/dist/client/assets/{splitpanes.es-8a68d356.js → splitpanes.es-db7e975b.js} +1 -1
- package/dist/client/assets/{timeline-202ca852.js → timeline-0fd22aff.js} +7 -7
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/__eyedropper-9aeb7406.js +0 -112
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { g, M } from './splitpanes.es-
|
|
3
|
-
import { v as defineComponent, a$ as ref, a1 as computed, c6 as piniaStoresCategory, bd as toRaw, c7 as piniaState, c8 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-
|
|
4
|
-
import { p as pick } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-dd6974e1.js';
|
|
2
|
+
import { g, M } from './splitpanes.es-db7e975b.js';
|
|
3
|
+
import { v as defineComponent, a$ as ref, a1 as computed, c6 as piniaStoresCategory, bd as toRaw, c7 as piniaState, c8 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-d268ce4d.js';
|
|
4
|
+
import { p as pick } from './index-fb7e673c.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4dcb121c.js';
|
|
6
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-4054707d.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
"h-screen": "",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent, z as unref, c0 as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, c1 as routeRecordMatcherState, c2 as activeRouteRecordMatcherState, c as createBlock, b$ as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, c3 as activeRouteRecordIndex, c4 as toggleRouteRecordMatcher, a9 as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, c5 as __unplugin_components_1 } from './index-
|
|
3
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { g, M } from './splitpanes.es-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './index-
|
|
7
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-ea9ac4bd.js';
|
|
2
|
+
import { v as defineComponent, z as unref, c0 as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, c1 as routeRecordMatcherState, c2 as activeRouteRecordMatcherState, c as createBlock, b$ as _sfc_main$2, _ as __unplugin_components_7, q as normalizeClass, c3 as activeRouteRecordIndex, c4 as toggleRouteRecordMatcher, a9 as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, c5 as __unplugin_components_1 } from './index-d268ce4d.js';
|
|
3
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-dd6974e1.js';
|
|
4
|
+
import { g, M } from './splitpanes.es-db7e975b.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4dcb121c.js';
|
|
6
|
+
import './index-fb7e673c.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-4054707d.js';
|
|
8
8
|
|
|
9
9
|
const _hoisted_1 = {
|
|
10
10
|
key: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as _sfc_main$a, a as _sfc_main$d } from './VSwitch.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { I as BaseTransition, J as BaseTransitionPropsValidators, K as Comment, L as EffectScope, F as Fragment, M as KeepAlive, R as ReactiveEffect, S as Static, N as Suspense, T as Teleport, O as Text, P as Transition, Q as TransitionGroup, V as VueElement, U as assertNumber, W as callWithAsyncErrorHandling, X as callWithErrorHandling, Y as camelize, Z as capitalize, $ as cloneVNode, a0 as compatUtils, a1 as computed, a2 as createApp, c as createBlock, g as createCommentVNode, e as createElementBlock, x as createBaseVNode, a3 as createHydrationRenderer, a4 as createPropsRestProxy, a5 as createRenderer, a6 as createSSRApp, a7 as createSlots, a8 as createStaticVNode, a9 as createTextVNode, u as createVNode, aa as customRef, ab as defineAsyncComponent, v as defineComponent, ac as defineCustomElement, ad as defineEmits, ae as defineExpose, af as defineModel, ag as defineOptions, ah as defineProps, ai as defineSSRCustomElement, aj as defineSlots, ak as devtools, al as effect, am as effectScope, an as getCurrentInstance, ao as getCurrentScope, ap as getTransitionRawChildren, aq as guardReactiveProps, ar as h, as as handleError, at as hasInjectionContext, au as hydrate, av as initCustomFormatter, aw as initDirectivesForSSR, ax as inject, ay as isMemoSame, az as isProxy, aA as isReactive, aB as isReadonly, aC as isRef, aD as isRuntimeOnly, aE as isShallow, aF as isVNode, m as markRaw, aG as mergeDefaults, aH as mergeModels, k as mergeProps, n as nextTick, q as normalizeClass, aI as normalizeProps, l as normalizeStyle, aJ as onActivated, aK as onBeforeMount, aL as onBeforeUnmount, aM as onBeforeUpdate, aN as onDeactivated, aO as onErrorCaptured, aP as onMounted, aQ as onRenderTracked, aR as onRenderTriggered, aS as onScopeDispose, aT as onServerPrefetch, aU as onUnmounted, aV as onUpdated, o as openBlock, a as popScopeId, aW as provide, aX as proxyRefs, p as pushScopeId, aY as queuePostFlushCb, aZ as reactive, a_ as readonly, a$ as ref, b0 as registerRuntimeCompiler, b1 as render, i as renderList, f as renderSlot, r as resolveComponent, b as resolveDirective, j as resolveDynamicComponent, b2 as resolveFilter, b3 as resolveTransitionHooks, b4 as setBlockTracking, b5 as setDevtoolsHook, b6 as setTransitionHooks, s as shallowReactive, b7 as shallowReadonly, b8 as shallowRef, b9 as ssrContextKey, ba as ssrUtils, bb as stop, y as toDisplayString, bc as toHandlerKey, t as toHandlers, bd as toRaw, be as toRef, bf as toRefs, bg as toValue, bh as transformVNodeArgs, bi as triggerRef, z as unref, bj as useAttrs, bk as useCssModule, bl as useCssVars, bm as useModel, bn as useSSRContext, bo as useSlots, bp as useTransitionState, bq as vModelCheckbox, br as vModelDynamic, bs as vModelRadio, bt as vModelSelect, bu as vModelText, bv as vShow, bw as version$1, bx as warn, by as watch, bz as watchEffect, bA as watchPostEffect, bB as watchSyncEffect, bC as withAsyncContext, h as withCtx, bD as withDefaults, d as withDirectives, bE as withKeys, bF as withMemo, bG as withModifiers, w as withScopeId, bH as getSortedTabs, bI as updateTabsPosition, bJ as _export_sfc, bK as useVModel, bL as _sfc_main$5, bM as _sfc_main$6, bN as useToggle, bO as shouldHideTabGroup, bP as DEFAULT_TAB_GROUP, bQ as useGroupedTabs, bR as ungroupAllTabs, bS as resetAllTabs, bT as removeTabGroup, bU as checkGroupExist, bV as createGroup, bW as isInPopup, bX as useDevToolsSettings, bY as useFrameState, bZ as _sfc_main$b, b_ as _sfc_main$c, b$ as _sfc_main$e } from './index-
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$a, a as _sfc_main$d } from './VSwitch.vue_vue_type_script_setup_true_lang-dc4a336f.js';
|
|
2
|
+
import { I as BaseTransition, J as BaseTransitionPropsValidators, K as Comment, L as EffectScope, F as Fragment, M as KeepAlive, R as ReactiveEffect, S as Static, N as Suspense, T as Teleport, O as Text, P as Transition, Q as TransitionGroup, V as VueElement, U as assertNumber, W as callWithAsyncErrorHandling, X as callWithErrorHandling, Y as camelize, Z as capitalize, $ as cloneVNode, a0 as compatUtils, a1 as computed, a2 as createApp, c as createBlock, g as createCommentVNode, e as createElementBlock, x as createBaseVNode, a3 as createHydrationRenderer, a4 as createPropsRestProxy, a5 as createRenderer, a6 as createSSRApp, a7 as createSlots, a8 as createStaticVNode, a9 as createTextVNode, u as createVNode, aa as customRef, ab as defineAsyncComponent, v as defineComponent, ac as defineCustomElement, ad as defineEmits, ae as defineExpose, af as defineModel, ag as defineOptions, ah as defineProps, ai as defineSSRCustomElement, aj as defineSlots, ak as devtools, al as effect, am as effectScope, an as getCurrentInstance, ao as getCurrentScope, ap as getTransitionRawChildren, aq as guardReactiveProps, ar as h, as as handleError, at as hasInjectionContext, au as hydrate, av as initCustomFormatter, aw as initDirectivesForSSR, ax as inject, ay as isMemoSame, az as isProxy, aA as isReactive, aB as isReadonly, aC as isRef, aD as isRuntimeOnly, aE as isShallow, aF as isVNode, m as markRaw, aG as mergeDefaults, aH as mergeModels, k as mergeProps, n as nextTick, q as normalizeClass, aI as normalizeProps, l as normalizeStyle, aJ as onActivated, aK as onBeforeMount, aL as onBeforeUnmount, aM as onBeforeUpdate, aN as onDeactivated, aO as onErrorCaptured, aP as onMounted, aQ as onRenderTracked, aR as onRenderTriggered, aS as onScopeDispose, aT as onServerPrefetch, aU as onUnmounted, aV as onUpdated, o as openBlock, a as popScopeId, aW as provide, aX as proxyRefs, p as pushScopeId, aY as queuePostFlushCb, aZ as reactive, a_ as readonly, a$ as ref, b0 as registerRuntimeCompiler, b1 as render, i as renderList, f as renderSlot, r as resolveComponent, b as resolveDirective, j as resolveDynamicComponent, b2 as resolveFilter, b3 as resolveTransitionHooks, b4 as setBlockTracking, b5 as setDevtoolsHook, b6 as setTransitionHooks, s as shallowReactive, b7 as shallowReadonly, b8 as shallowRef, b9 as ssrContextKey, ba as ssrUtils, bb as stop, y as toDisplayString, bc as toHandlerKey, t as toHandlers, bd as toRaw, be as toRef, bf as toRefs, bg as toValue, bh as transformVNodeArgs, bi as triggerRef, z as unref, bj as useAttrs, bk as useCssModule, bl as useCssVars, bm as useModel, bn as useSSRContext, bo as useSlots, bp as useTransitionState, bq as vModelCheckbox, br as vModelDynamic, bs as vModelRadio, bt as vModelSelect, bu as vModelText, bv as vShow, bw as version$1, bx as warn, by as watch, bz as watchEffect, bA as watchPostEffect, bB as watchSyncEffect, bC as withAsyncContext, h as withCtx, bD as withDefaults, d as withDirectives, bE as withKeys, bF as withMemo, bG as withModifiers, w as withScopeId, bH as getSortedTabs, bI as updateTabsPosition, bJ as _export_sfc, bK as useVModel, bL as _sfc_main$5, bM as _sfc_main$6, bN as useToggle, bO as shouldHideTabGroup, bP as DEFAULT_TAB_GROUP, bQ as useGroupedTabs, bR as ungroupAllTabs, bS as resetAllTabs, bT as removeTabGroup, bU as checkGroupExist, bV as createGroup, bW as isInPopup, bX as useDevToolsSettings, bY as useFrameState, bZ as _sfc_main$b, b_ as _sfc_main$c, b$ as _sfc_main$e } from './index-d268ce4d.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIcon.vue_vue_type_script_setup_true_lang-4dcb121c.js';
|
|
4
4
|
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-65004790.js';
|
|
5
|
-
import { _ as _sfc_main$8 } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as _sfc_main$7 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as _sfc_main$9 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as _sfc_main$8 } from './VIconButton.vue_vue_type_script_setup_true_lang-4054707d.js';
|
|
6
|
+
import { _ as _sfc_main$7 } from './VTextInput.vue_vue_type_script_setup_true_lang-cd591fdb.js';
|
|
7
|
+
import { _ as _sfc_main$9 } from './VIconTitle.vue_vue_type_script_setup_true_lang-4531a0e4.js';
|
|
8
8
|
|
|
9
9
|
const compile = () => {
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ar as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-
|
|
1
|
+
import { ar as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-d268ce4d.js';
|
|
2
2
|
|
|
3
3
|
const M = {
|
|
4
4
|
name: "splitpanes",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
3
|
-
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-dd6974e1.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-ea9ac4bd.js';
|
|
3
|
+
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, _ as __unplugin_components_7, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-d268ce4d.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-65004790.js';
|
|
5
|
-
import { g, M } from './splitpanes.es-
|
|
6
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './index-
|
|
8
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { g, M } from './splitpanes.es-db7e975b.js';
|
|
6
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-4dcb121c.js';
|
|
7
|
+
import './index-fb7e673c.js';
|
|
8
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-4054707d.js';
|
|
9
9
|
|
|
10
10
|
var dayjs_min = {exports: {}};/* Injected with object hook! */
|
|
11
11
|
|
package/dist/client/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
7
7
|
<title>Vue DevTools</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-d268ce4d.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="./assets/index-8135098e.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-08ef47ce.js';
|
|
2
|
-
import { v as defineComponent, cz as useRouter, a$ as ref, cd 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, cl as useDevtoolsClient, bY as useFrameState } from './index-793e4620.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 };
|