vite-plugin-vue-devtools 0.4.14 → 0.5.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.
- package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-a1185393.js → IframeView.vue_vue_type_script_setup_true_lang-8e5b8335.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-400324ec.js → StateFields.vue_vue_type_script_setup_true_lang-fe7c7e4d.js} +20 -5
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-53acfb91.js → VIcon.vue_vue_type_script_setup_true_lang-3e22beca.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-64de857d.js → VIconButton.vue_vue_type_script_setup_true_lang-ff741416.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-47b8a07a.js → VIconTitle.vue_vue_type_script_setup_true_lang-02e99d8a.js} +1 -1
- package/dist/client/assets/{VPanelGrids-6b407e75.js → VPanelGrids-885eb297.js} +1 -1
- package/dist/client/assets/{VSectionBlock-bada460c.js → VSectionBlock-2f35c742.js} +3 -3
- package/dist/client/assets/{VSwitch.vue_vue_type_script_setup_true_lang-9db804e8.js → VSwitch.vue_vue_type_script_setup_true_lang-a0d66c22.js} +2 -2
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-1ec609c7.js → VTextInput.vue_vue_type_script_setup_true_lang-ae0954a4.js} +2 -2
- package/dist/client/assets/{__eyedropper-c919226e.js → __eyedropper-4021b943.js} +24 -10
- package/dist/client/assets/{assets-09e0693c.js → assets-02a93a40.js} +10 -10
- package/dist/client/assets/{component-docs-554bae64.js → component-docs-add44d87.js} +5 -5
- package/dist/client/assets/{components-81f4a69f.js → components-c141317d.js} +233 -16
- package/dist/client/assets/{documentations-cee1b26d.js → documentations-30350ca6.js} +3 -3
- package/dist/client/assets/{graph-b9e616a5.js → graph-ca7151be.js} +5 -5
- package/dist/client/assets/{index-07eaeded.js → index-133eebe9.js} +1 -1
- package/dist/client/assets/{index-12ebe994.js → index-14f26dd8.js} +2818 -2576
- package/dist/client/assets/index-d3dcbe9e.css +474 -0
- package/dist/client/assets/{inspect-517cfc3b.js → inspect-5ed32f17.js} +3 -3
- package/dist/client/assets/{npm-5ff3b150.js → npm-804ed8d6.js} +9 -9
- package/dist/client/assets/{overview-ddb35c98.js → overview-84e0d21c.js} +5 -5
- package/dist/client/assets/{pages-0f764a73.js → pages-6df9c706.js} +8 -8
- package/dist/client/assets/{pinia-68a51789.js → pinia-760b2ad2.js} +6 -6
- package/dist/client/assets/{routes-f7af2877.js → routes-6636ff43.js} +7 -7
- package/dist/client/assets/{rpc-97467545.js → rpc-acb85b35.js} +1 -1
- package/dist/client/assets/{settings-f852d24f.js → settings-85b594bd.js} +9 -9
- package/dist/client/assets/{splitpanes.es-56cabd81.js → splitpanes.es-34ce2868.js} +1 -1
- package/dist/client/assets/{timeline-28278daa.js → timeline-34b2c182.js} +7 -7
- package/dist/client/index.html +2 -2
- package/package.json +17 -17
- package/src/node/views/ComponentInspector.vue +67 -0
- package/src/node/views/Main.vue +25 -2
- package/src/node/views/composables.ts +40 -0
- package/dist/client/assets/index-8fbe34c5.css +0 -474
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { F as Fragment, a$ as ref, b8 as shallowRef,
|
|
3
|
-
import { a as _sfc_main$2, _ as _sfc_main$3 } 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-885eb297.js';
|
|
2
|
+
import { F as Fragment, a$ as ref, a1 as computed, b8 as shallowRef, cj as useDevToolsClient, cm as useThrottleFn, 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, aP as onMounted, cn as onVueInstanceUpdate, u as createVNode, h as withCtx, aZ as reactive, _ as __unplugin_components_7, co as instance } from './index-14f26dd8.js';
|
|
3
|
+
import { a as _sfc_main$2, _ as _sfc_main$3 } from './StateFields.vue_vue_type_script_setup_true_lang-fe7c7e4d.js';
|
|
4
|
+
import { g, M } from './splitpanes.es-34ce2868.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-3e22beca.js';
|
|
6
|
+
import './index-133eebe9.js';
|
|
7
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-ff741416.js';
|
|
8
8
|
|
|
9
9
|
function isBeingDestroyed(instance) {
|
|
10
10
|
return instance._isBeingDestroyed || instance.isUnmounted;
|
|
@@ -135,6 +135,89 @@ function getFragmentRootElements(vnode) {
|
|
|
135
135
|
}
|
|
136
136
|
return list;
|
|
137
137
|
}
|
|
138
|
+
function getInstanceOrVnodeRect(instance) {
|
|
139
|
+
const el = instance.subTree.el;
|
|
140
|
+
if (typeof window === "undefined") {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
if (isFragment(instance))
|
|
144
|
+
return addIframePosition(getFragmentRect(instance.subTree), getElWindow(el));
|
|
145
|
+
else if (el.nodeType === 1)
|
|
146
|
+
return addIframePosition(el.getBoundingClientRect(), getElWindow(el));
|
|
147
|
+
else if (instance.subTree.component)
|
|
148
|
+
return getInstanceOrVnodeRect(instance.subTree.component);
|
|
149
|
+
}
|
|
150
|
+
function createRect() {
|
|
151
|
+
const rect = {
|
|
152
|
+
top: 0,
|
|
153
|
+
bottom: 0,
|
|
154
|
+
left: 0,
|
|
155
|
+
right: 0,
|
|
156
|
+
get width() {
|
|
157
|
+
return rect.right - rect.left;
|
|
158
|
+
},
|
|
159
|
+
get height() {
|
|
160
|
+
return rect.bottom - rect.top;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
return rect;
|
|
164
|
+
}
|
|
165
|
+
function mergeRects(a, b) {
|
|
166
|
+
if (!a.top || b.top < a.top)
|
|
167
|
+
a.top = b.top;
|
|
168
|
+
if (!a.bottom || b.bottom > a.bottom)
|
|
169
|
+
a.bottom = b.bottom;
|
|
170
|
+
if (!a.left || b.left < a.left)
|
|
171
|
+
a.left = b.left;
|
|
172
|
+
if (!a.right || b.right > a.right)
|
|
173
|
+
a.right = b.right;
|
|
174
|
+
return a;
|
|
175
|
+
}
|
|
176
|
+
let range;
|
|
177
|
+
function getTextRect(node) {
|
|
178
|
+
if (!range)
|
|
179
|
+
range = document.createRange();
|
|
180
|
+
range.selectNode(node);
|
|
181
|
+
return range.getBoundingClientRect();
|
|
182
|
+
}
|
|
183
|
+
function getFragmentRect(vnode) {
|
|
184
|
+
const rect = createRect();
|
|
185
|
+
if (!vnode.children)
|
|
186
|
+
return rect;
|
|
187
|
+
for (let i = 0, l = vnode.children.length; i < l; i++) {
|
|
188
|
+
const childVnode = vnode.children[i];
|
|
189
|
+
let childRect;
|
|
190
|
+
if (childVnode.component) {
|
|
191
|
+
childRect = getInstanceOrVnodeRect(childVnode.component);
|
|
192
|
+
} else if (childVnode.el) {
|
|
193
|
+
const el = childVnode.el;
|
|
194
|
+
if (el.nodeType === 1 || el.getBoundingClientRect)
|
|
195
|
+
childRect = el.getBoundingClientRect();
|
|
196
|
+
else if (el.nodeType === 3 && el.data.trim())
|
|
197
|
+
childRect = getTextRect(el);
|
|
198
|
+
}
|
|
199
|
+
if (childRect)
|
|
200
|
+
mergeRects(rect, childRect);
|
|
201
|
+
}
|
|
202
|
+
return rect;
|
|
203
|
+
}
|
|
204
|
+
function getElWindow(el) {
|
|
205
|
+
return el.ownerDocument.defaultView;
|
|
206
|
+
}
|
|
207
|
+
function addIframePosition(bounds, win) {
|
|
208
|
+
if (win.__VUE_DEVTOOLS_IFRAME__) {
|
|
209
|
+
const rect = mergeRects(createRect(), bounds);
|
|
210
|
+
const iframeBounds = win.__VUE_DEVTOOLS_IFRAME__.getBoundingClientRect();
|
|
211
|
+
rect.top += iframeBounds.top;
|
|
212
|
+
rect.bottom += iframeBounds.top;
|
|
213
|
+
rect.left += iframeBounds.left;
|
|
214
|
+
rect.right += iframeBounds.left;
|
|
215
|
+
if (win.parent)
|
|
216
|
+
return addIframePosition(rect, win.parent);
|
|
217
|
+
return rect;
|
|
218
|
+
}
|
|
219
|
+
return bounds;
|
|
220
|
+
}
|
|
138
221
|
|
|
139
222
|
/* Injected with object hook! */
|
|
140
223
|
|
|
@@ -191,6 +274,14 @@ const vueBuiltins = [
|
|
|
191
274
|
"withDirectives",
|
|
192
275
|
"withModifiers"
|
|
193
276
|
];
|
|
277
|
+
function getInstanceDetails(instance) {
|
|
278
|
+
return {
|
|
279
|
+
id: getUniqueComponentId(instance),
|
|
280
|
+
name: getInstanceName(instance),
|
|
281
|
+
file: instance?.type?.__file,
|
|
282
|
+
state: getInstanceState(instance)
|
|
283
|
+
};
|
|
284
|
+
}
|
|
194
285
|
function getInstanceState(instance) {
|
|
195
286
|
const mergedType = resolveMergedOptions(instance);
|
|
196
287
|
return processProps(instance).concat(
|
|
@@ -600,15 +691,20 @@ class ComponentWalker {
|
|
|
600
691
|
/* Injected with object hook! */
|
|
601
692
|
|
|
602
693
|
const selected = ref("vue-devtools:root");
|
|
694
|
+
const selectedComponentName = ref("");
|
|
695
|
+
const selectedComponentNode = ref();
|
|
696
|
+
const selectedComponentNodeFilePath = computed(() => selectedComponentNode.value?.instance ? getInstanceDetails(selectedComponentNode.value.instance)?.file : null);
|
|
603
697
|
const expandedMap = ref({
|
|
604
698
|
"vue-devtools:root": true
|
|
605
699
|
});
|
|
606
700
|
const selectedComponent = ref();
|
|
607
701
|
const selectedComponentState = shallowRef([]);
|
|
608
702
|
function useComponent(instance) {
|
|
609
|
-
function select(
|
|
610
|
-
selected.value = id;
|
|
611
|
-
|
|
703
|
+
function select(data) {
|
|
704
|
+
selected.value = data.id;
|
|
705
|
+
selectedComponentName.value = data.name;
|
|
706
|
+
selectedComponentState.value = InstanceMap.get(data.id);
|
|
707
|
+
selectedComponentNode.value = data;
|
|
612
708
|
}
|
|
613
709
|
function toggleExpand(id) {
|
|
614
710
|
expandedMap.value[id] = !expandedMap.value[id];
|
|
@@ -617,6 +713,46 @@ function useComponent(instance) {
|
|
|
617
713
|
const isExpanded = computed(() => expandedMap.value[instance.id]);
|
|
618
714
|
return { isSelected, select, isExpanded, toggleExpand };
|
|
619
715
|
}
|
|
716
|
+
function useHighlightComponent(node) {
|
|
717
|
+
const client = useDevToolsClient();
|
|
718
|
+
const highlight = useThrottleFn(() => {
|
|
719
|
+
const instance = node.instance;
|
|
720
|
+
const bounds = getInstanceOrVnodeRect(instance);
|
|
721
|
+
const name = getInstanceName(instance);
|
|
722
|
+
client.value?.componentInspector.highlight(name, bounds);
|
|
723
|
+
}, 300);
|
|
724
|
+
const unhighlight = () => {
|
|
725
|
+
client.value?.componentInspector.unHighlight();
|
|
726
|
+
};
|
|
727
|
+
return {
|
|
728
|
+
highlight,
|
|
729
|
+
unhighlight
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
scrollToComponent.timer = null;
|
|
733
|
+
function scrollToComponent() {
|
|
734
|
+
if (scrollToComponent.timer)
|
|
735
|
+
clearTimeout(scrollToComponent.timer);
|
|
736
|
+
const client = useDevToolsClient();
|
|
737
|
+
const { highlight, unhighlight } = useHighlightComponent(selectedComponentNode.value);
|
|
738
|
+
const instance = selectedComponentNode.value.instance;
|
|
739
|
+
const [el] = getRootElementsFromComponentInstance(instance);
|
|
740
|
+
if (typeof el.scrollIntoView === "function") {
|
|
741
|
+
el.scrollIntoView({
|
|
742
|
+
behavior: "smooth"
|
|
743
|
+
});
|
|
744
|
+
} else {
|
|
745
|
+
const _bounds = getInstanceOrVnodeRect(instance);
|
|
746
|
+
client.value.componentInspector.scrollToComponent(_bounds);
|
|
747
|
+
}
|
|
748
|
+
scrollToComponent.timer = setTimeout(() => {
|
|
749
|
+
highlight();
|
|
750
|
+
scrollToComponent.timer = setTimeout(() => {
|
|
751
|
+
unhighlight();
|
|
752
|
+
scrollToComponent.timer = null;
|
|
753
|
+
}, 1500);
|
|
754
|
+
}, 1200);
|
|
755
|
+
}
|
|
620
756
|
|
|
621
757
|
/* Injected with object hook! */
|
|
622
758
|
|
|
@@ -636,6 +772,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
636
772
|
setup(__props) {
|
|
637
773
|
const props = __props;
|
|
638
774
|
const { isSelected, select, isExpanded, toggleExpand } = useComponent(props.data);
|
|
775
|
+
const { highlight, unhighlight } = useHighlightComponent(props.data);
|
|
639
776
|
return (_ctx, _cache) => {
|
|
640
777
|
const _component_VExpandIcon = _sfc_main$2;
|
|
641
778
|
const _component_ComponentTreeNode = resolveComponent("ComponentTreeNode", true);
|
|
@@ -646,7 +783,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
646
783
|
}),
|
|
647
784
|
"vue-block": "",
|
|
648
785
|
class: normalizeClass([unref(isSelected) ? "vue-block-active" : "vue-block-hover"]),
|
|
649
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(select)(_ctx.data
|
|
786
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(select)(_ctx.data)),
|
|
787
|
+
onMouseover: _cache[2] || (_cache[2] = //@ts-ignore
|
|
788
|
+
(...args) => unref(highlight) && unref(highlight)(...args)),
|
|
789
|
+
onMouseleave: _cache[3] || (_cache[3] = //@ts-ignore
|
|
790
|
+
(...args) => unref(unhighlight) && unref(unhighlight)(...args))
|
|
650
791
|
}, [
|
|
651
792
|
createBaseVNode("h3", {
|
|
652
793
|
"vue-block-title": "",
|
|
@@ -671,7 +812,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
671
812
|
])
|
|
672
813
|
}, ">", 2)
|
|
673
814
|
])
|
|
674
|
-
],
|
|
815
|
+
], 38),
|
|
675
816
|
unref(isExpanded) && _ctx.data.hasChildren ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
676
817
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data.children, (item) => {
|
|
677
818
|
return openBlock(), createBlock(_component_ComponentTreeNode, {
|
|
@@ -701,13 +842,40 @@ const _hoisted_2 = {
|
|
|
701
842
|
};
|
|
702
843
|
const _hoisted_3 = {
|
|
703
844
|
key: 0,
|
|
845
|
+
border: "b base",
|
|
846
|
+
flex: "",
|
|
847
|
+
"justify-between": "",
|
|
848
|
+
"px-4": "",
|
|
849
|
+
"py-2": ""
|
|
850
|
+
};
|
|
851
|
+
const _hoisted_4 = {
|
|
852
|
+
key: 0,
|
|
853
|
+
"text-sm": "",
|
|
854
|
+
"text-primary": "",
|
|
855
|
+
op90: ""
|
|
856
|
+
};
|
|
857
|
+
const _hoisted_5 = { flex: "" };
|
|
858
|
+
const _hoisted_6 = /* @__PURE__ */ createBaseVNode("p", {
|
|
859
|
+
"text-xs": "",
|
|
860
|
+
"op-50": ""
|
|
861
|
+
}, " Scroll to component ", -1);
|
|
862
|
+
const _hoisted_7 = {
|
|
863
|
+
key: 0,
|
|
864
|
+
"pl-2": ""
|
|
865
|
+
};
|
|
866
|
+
const _hoisted_8 = /* @__PURE__ */ createBaseVNode("p", {
|
|
867
|
+
"text-xs": "",
|
|
868
|
+
"op-50": ""
|
|
869
|
+
}, " Open component in editor ", -1);
|
|
870
|
+
const _hoisted_9 = {
|
|
871
|
+
key: 1,
|
|
704
872
|
"h-screen": "",
|
|
705
873
|
"select-none": "",
|
|
706
874
|
"overflow-scroll": "",
|
|
707
875
|
"p-2": "",
|
|
708
876
|
class: "no-scrollbar"
|
|
709
877
|
};
|
|
710
|
-
const
|
|
878
|
+
const _hoisted_10 = /* @__PURE__ */ createBaseVNode("h1", {
|
|
711
879
|
"text-sm": "",
|
|
712
880
|
italic: "",
|
|
713
881
|
op50: ""
|
|
@@ -752,6 +920,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
752
920
|
selectedComponentState.value = getInstanceState(instance.value);
|
|
753
921
|
walker.getComponentTree(instance.value).then((res) => {
|
|
754
922
|
componentTree.value = res;
|
|
923
|
+
selectedComponentName.value = res?.[0]?.name ?? "";
|
|
924
|
+
selectedComponentNode.value = res?.[0];
|
|
755
925
|
});
|
|
756
926
|
}
|
|
757
927
|
onMounted(() => {
|
|
@@ -762,8 +932,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
762
932
|
}
|
|
763
933
|
});
|
|
764
934
|
});
|
|
935
|
+
function openInEditor() {
|
|
936
|
+
const client = useDevToolsClient();
|
|
937
|
+
client.value.openInEditor(selectedComponentNodeFilePath.value);
|
|
938
|
+
}
|
|
765
939
|
return (_ctx, _cache) => {
|
|
766
940
|
const _component_ComponentTreeNode = _sfc_main$1;
|
|
941
|
+
const _component_VTooltip = resolveComponent("VTooltip");
|
|
767
942
|
const _component_StateFields = _sfc_main$3;
|
|
768
943
|
const _component_VCard = __unplugin_components_7;
|
|
769
944
|
const _component_VPanelGrids = __unplugin_components_0;
|
|
@@ -786,15 +961,57 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
786
961
|
createVNode(unref(g), null, {
|
|
787
962
|
default: withCtx(() => [
|
|
788
963
|
unref(normalizedComponentState).length ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
964
|
+
unref(selectedComponentName) ? (openBlock(), createElementBlock("span", _hoisted_4, "<" + toDisplayString(unref(selectedComponentName)) + ">", 1)) : createCommentVNode("", true),
|
|
965
|
+
createBaseVNode("p", _hoisted_5, [
|
|
966
|
+
createBaseVNode("span", null, [
|
|
967
|
+
createVNode(_component_VTooltip, { placement: "bottom" }, {
|
|
968
|
+
popper: withCtx(() => [
|
|
969
|
+
_hoisted_6
|
|
970
|
+
]),
|
|
971
|
+
default: withCtx(() => [
|
|
972
|
+
createBaseVNode("i", {
|
|
973
|
+
"gg:scroll-h": "",
|
|
974
|
+
"cursor-pointer": "",
|
|
975
|
+
"text-xl": "",
|
|
976
|
+
op70: "",
|
|
977
|
+
hover: "op100",
|
|
978
|
+
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
979
|
+
(...args) => unref(scrollToComponent) && unref(scrollToComponent)(...args))
|
|
980
|
+
})
|
|
981
|
+
]),
|
|
982
|
+
_: 1
|
|
983
|
+
})
|
|
984
|
+
]),
|
|
985
|
+
unref(selectedComponentNodeFilePath) ? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
986
|
+
createVNode(_component_VTooltip, { placement: "bottom" }, {
|
|
987
|
+
popper: withCtx(() => [
|
|
988
|
+
_hoisted_8
|
|
989
|
+
]),
|
|
990
|
+
default: withCtx(() => [
|
|
991
|
+
createBaseVNode("i", {
|
|
992
|
+
"carbon-launch": "",
|
|
993
|
+
"cursor-pointer": "",
|
|
994
|
+
"text-sm": "",
|
|
995
|
+
op70: "",
|
|
996
|
+
hover: "op100",
|
|
997
|
+
onClick: openInEditor
|
|
998
|
+
})
|
|
999
|
+
]),
|
|
1000
|
+
_: 1
|
|
1001
|
+
})
|
|
1002
|
+
])) : createCommentVNode("", true)
|
|
1003
|
+
])
|
|
1004
|
+
])) : createCommentVNode("", true),
|
|
1005
|
+
unref(normalizedComponentState).length ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
789
1006
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(normalizedComponentState), (item, index) => {
|
|
790
1007
|
return openBlock(), createBlock(_component_StateFields, {
|
|
791
1008
|
id: index,
|
|
792
|
-
key: item.
|
|
1009
|
+
key: item.key,
|
|
793
1010
|
data: item
|
|
794
1011
|
}, null, 8, ["id", "data"]);
|
|
795
1012
|
}), 128))
|
|
796
1013
|
])) : (openBlock(), createBlock(_component_VPanelGrids, {
|
|
797
|
-
key:
|
|
1014
|
+
key: 2,
|
|
798
1015
|
px5: ""
|
|
799
1016
|
}, {
|
|
800
1017
|
default: withCtx(() => [
|
|
@@ -805,7 +1022,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
805
1022
|
p3: ""
|
|
806
1023
|
}, {
|
|
807
1024
|
default: withCtx(() => [
|
|
808
|
-
|
|
1025
|
+
_hoisted_10
|
|
809
1026
|
]),
|
|
810
1027
|
_: 1
|
|
811
1028
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, a9 as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, bG as withModifiers, f as renderSlot, _ as __unplugin_components_7, a$ as ref, z as unref, u as createVNode, T as Teleport, F as Fragment, i as renderList } from './index-
|
|
2
|
-
import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
1
|
+
import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, a9 as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, bG as withModifiers, f as renderSlot, _ as __unplugin_components_7, a$ as ref, z as unref, u as createVNode, T as Teleport, F as Fragment, i as renderList } from './index-14f26dd8.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-8e5b8335.js';
|
|
3
|
+
import { r as rpc } from './rpc-acb85b35.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1$1 = {
|
|
6
6
|
flex: "~ col gap2",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a$ as ref, cf as useLocalStorage, a1 as computed, aN as onDeactivated, aL as onBeforeUnmount, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, e as createElementBlock, i as renderList, F as Fragment, z as unref, aC as isRef, bM as _sfc_main$3, y as toDisplayString, g as createCommentVNode, j as resolveDynamicComponent, u as createVNode, aF as isVNode, cg as useStorage, d as withDirectives, bu as vModelText, bq as vModelCheckbox, f as renderSlot, ch as useDark, b8 as shallowRef, ci as useMagicKeys, aP as onMounted, by as watch, q as normalizeClass, cj as
|
|
2
|
-
import { a as _sfc_main$4, _ as _sfc_main$5 } from './VSwitch.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { a$ as ref, cf as useLocalStorage, a1 as computed, aN as onDeactivated, aL as onBeforeUnmount, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, e as createElementBlock, i as renderList, F as Fragment, z as unref, aC as isRef, bM as _sfc_main$3, y as toDisplayString, g as createCommentVNode, j as resolveDynamicComponent, u as createVNode, aF as isVNode, cg as useStorage, d as withDirectives, bu as vModelText, bq as vModelCheckbox, f as renderSlot, ch as useDark, b8 as shallowRef, ci as useMagicKeys, aP as onMounted, by as watch, q as normalizeClass, cj as useDevToolsClient } from './index-14f26dd8.js';
|
|
2
|
+
import { a as _sfc_main$4, _ as _sfc_main$5 } from './VSwitch.vue_vue_type_script_setup_true_lang-a0d66c22.js';
|
|
3
3
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs$2 } from './_commonjsHelpers-65004790.js';
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { r as rpc } from './rpc-acb85b35.js';
|
|
6
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-3e22beca.js';
|
|
7
7
|
|
|
8
8
|
const showGraphSetting = ref(false);
|
|
9
9
|
const graphSettingsInStorage = useLocalStorage("__vue-devtools-graph-settings__", {
|
|
@@ -54444,7 +54444,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54444
54444
|
});
|
|
54445
54445
|
const isHoveringNode = ref(false);
|
|
54446
54446
|
const lastSelectedNode = ref();
|
|
54447
|
-
const client =
|
|
54447
|
+
const client = useDevToolsClient();
|
|
54448
54448
|
function getHoverPath(level, fullPath, rootPath2) {
|
|
54449
54449
|
switch (level) {
|
|
54450
54450
|
case "absolute":
|