@vue/devtools-applet 7.5.5 → 7.5.6
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/components/timeline/index.vue.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +156 -152
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as B, withDirectives as W, openBlock as p, createElementBlock as v, normalizeStyle as Ie, unref as u, createTextVNode as ne, toDisplayString as le, mergeModels as ze, useModel as et, Fragment as te, renderList as ae, normalizeClass as ie, createBlock as z, toValue as vt, ref as T, computed as V, h as Yt, provide as ge, inject as ve, createElementVNode as r, renderSlot as tt, createCommentVNode as
|
|
1
|
+
import { defineComponent as B, withDirectives as W, openBlock as p, createElementBlock as v, normalizeStyle as Ie, unref as u, createTextVNode as ne, toDisplayString as le, mergeModels as ze, useModel as et, Fragment as te, renderList as ae, normalizeClass as ie, createBlock as z, toValue as vt, ref as T, computed as V, h as Yt, provide as ge, inject as ve, createElementVNode as r, renderSlot as tt, createCommentVNode as O, isRef as Ke, watch as Q, onMounted as St, nextTick as Be, readonly as Xt, getCurrentScope as Qt, onScopeDispose as en, getCurrentInstance as nt, reactive as mt, shallowRef as ht, toRaw as Tt, mergeProps as ke, withModifiers as fe, withCtx as H, createVNode as y, watchEffect as ot, onUnmounted as be, vShow as tn, createStaticVNode as nn } from "vue";
|
|
2
2
|
import { vTooltip as J, VueButton as de, VueIcon as oe, VueDropdown as on, VueDropdownButton as gt, VueInput as Ze, VueIcIcon as Fe, VueCodeBlock as ln, VueDialog as sn, VueSwitch as an, VueSelect as rn } from "@vue/devtools-ui";
|
|
3
3
|
import { isPlainObject as un, UNDEFINED as cn, NAN as dn, INFINITY as pn, NEGATIVE_INFINITY as fn, getRaw as Et, toSubmit as Ue, formatInspectorStateValue as vn, getInspectorStateValueType as Ct, toEdit as mn, parse as X } from "@vue/devtools-kit";
|
|
4
|
-
import { rpc as
|
|
4
|
+
import { rpc as P, useDevToolsState as Vt, DevToolsMessagingEvents as q, onRpcConnected as Re } from "@vue/devtools-core";
|
|
5
5
|
import { Splitpanes as Ae, Pane as ue } from "splitpanes";
|
|
6
6
|
import { isArray as _t, isObject as xt, sortByKey as Nt, isInSeparateWindow as hn, isInChromePanel as yt } from "@vue/devtools-shared";
|
|
7
7
|
import { debounce as gn } from "perfect-debounce";
|
|
@@ -164,7 +164,7 @@ const En = {
|
|
|
164
164
|
title: "Star on GitHub"
|
|
165
165
|
}, t[2] || (t[2] = [
|
|
166
166
|
r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1)
|
|
167
|
-
]), 8, Nn)) :
|
|
167
|
+
]), 8, Nn)) : O("", !0)
|
|
168
168
|
])
|
|
169
169
|
]));
|
|
170
170
|
}
|
|
@@ -358,7 +358,7 @@ function Jn(n, e = !0, o) {
|
|
|
358
358
|
function Qe(n, e = !1) {
|
|
359
359
|
function o(a, { flush: m = "sync", deep: E = !1, timeout: A, throwOnTimeout: g } = {}) {
|
|
360
360
|
let $ = null;
|
|
361
|
-
const
|
|
361
|
+
const D = [new Promise((_) => {
|
|
362
362
|
$ = Q(
|
|
363
363
|
n,
|
|
364
364
|
(C) => {
|
|
@@ -371,20 +371,20 @@ function Qe(n, e = !1) {
|
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
373
|
})];
|
|
374
|
-
return A != null &&
|
|
374
|
+
return A != null && D.push(
|
|
375
375
|
kt(A, g).then(() => ee(n)).finally(() => $ == null ? void 0 : $())
|
|
376
|
-
), Promise.race(
|
|
376
|
+
), Promise.race(D);
|
|
377
377
|
}
|
|
378
378
|
function t(a, m) {
|
|
379
379
|
if (!Ke(a))
|
|
380
380
|
return o((C) => C === a, m);
|
|
381
381
|
const { flush: E = "sync", deep: A = !1, timeout: g, throwOnTimeout: $ } = m ?? {};
|
|
382
|
-
let
|
|
382
|
+
let U = null;
|
|
383
383
|
const _ = [new Promise((C) => {
|
|
384
|
-
|
|
384
|
+
U = Q(
|
|
385
385
|
[n, a],
|
|
386
386
|
([S, L]) => {
|
|
387
|
-
e !== (S === L) && (
|
|
387
|
+
e !== (S === L) && (U ? U() : Be(() => U == null ? void 0 : U()), C(S));
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
flush: E,
|
|
@@ -394,7 +394,7 @@ function Qe(n, e = !1) {
|
|
|
394
394
|
);
|
|
395
395
|
})];
|
|
396
396
|
return g != null && _.push(
|
|
397
|
-
kt(g, $).then(() => ee(n)).finally(() => (
|
|
397
|
+
kt(g, $).then(() => ee(n)).finally(() => (U == null || U(), ee(n)))
|
|
398
398
|
), Promise.race(_);
|
|
399
399
|
}
|
|
400
400
|
function s(a) {
|
|
@@ -576,24 +576,24 @@ function to(n = {}) {
|
|
|
576
576
|
legacy: l = !1
|
|
577
577
|
} = n, i = dt(() => e && "clipboard" in e), c = It("clipboard-read"), d = It("clipboard-write"), h = V(() => i.value || l), f = T(""), a = T(!1), m = Yn(() => a.value = !1, s);
|
|
578
578
|
function E() {
|
|
579
|
-
i.value &&
|
|
580
|
-
f.value =
|
|
579
|
+
i.value && U(c.value) ? e.clipboard.readText().then((D) => {
|
|
580
|
+
f.value = D;
|
|
581
581
|
}) : f.value = $();
|
|
582
582
|
}
|
|
583
583
|
h.value && o && he(["copy", "cut"], E);
|
|
584
|
-
async function A(
|
|
585
|
-
h.value &&
|
|
584
|
+
async function A(D = ee(t)) {
|
|
585
|
+
h.value && D != null && (i.value && U(d.value) ? await e.clipboard.writeText(D) : g(D), f.value = D, a.value = !0, m.start());
|
|
586
586
|
}
|
|
587
|
-
function g(
|
|
587
|
+
function g(D) {
|
|
588
588
|
const _ = document.createElement("textarea");
|
|
589
|
-
_.value =
|
|
589
|
+
_.value = D ?? "", _.style.position = "absolute", _.style.opacity = "0", document.body.appendChild(_), _.select(), document.execCommand("copy"), _.remove();
|
|
590
590
|
}
|
|
591
591
|
function $() {
|
|
592
|
-
var
|
|
593
|
-
return (C = (_ = (
|
|
592
|
+
var D, _, C;
|
|
593
|
+
return (C = (_ = (D = document == null ? void 0 : document.getSelection) == null ? void 0 : D.call(document)) == null ? void 0 : _.toString()) != null ? C : "";
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
return
|
|
595
|
+
function U(D) {
|
|
596
|
+
return D === "granted" || D === "prompt";
|
|
597
597
|
}
|
|
598
598
|
return {
|
|
599
599
|
isSupported: h,
|
|
@@ -704,8 +704,8 @@ function ao(n = {}) {
|
|
|
704
704
|
a(g, !1);
|
|
705
705
|
}
|
|
706
706
|
function E(g, $) {
|
|
707
|
-
var
|
|
708
|
-
const _ = (
|
|
707
|
+
var U, D;
|
|
708
|
+
const _ = (U = g.key) == null ? void 0 : U.toLowerCase(), S = [(D = g.code) == null ? void 0 : D.toLowerCase(), _].filter(Boolean);
|
|
709
709
|
_ && ($ ? i.add(_) : i.delete(_));
|
|
710
710
|
for (const L of S)
|
|
711
711
|
f.add(L), a(L, $);
|
|
@@ -717,17 +717,17 @@ function ao(n = {}) {
|
|
|
717
717
|
const A = new Proxy(
|
|
718
718
|
d,
|
|
719
719
|
{
|
|
720
|
-
get(g, $,
|
|
720
|
+
get(g, $, U) {
|
|
721
721
|
if (typeof $ != "string")
|
|
722
|
-
return Reflect.get(g, $,
|
|
722
|
+
return Reflect.get(g, $, U);
|
|
723
723
|
if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in d))
|
|
724
724
|
if (/[+_-]/.test($)) {
|
|
725
725
|
const _ = $.split(/[+_-]/g).map((C) => C.trim());
|
|
726
726
|
d[$] = V(() => _.every((C) => ee(A[C])));
|
|
727
727
|
} else
|
|
728
728
|
d[$] = T(!1);
|
|
729
|
-
const
|
|
730
|
-
return e ? ee(
|
|
729
|
+
const D = Reflect.get(g, $, U);
|
|
730
|
+
return e ? ee(D) : D;
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
);
|
|
@@ -745,11 +745,11 @@ function io(n, e, o, t = {}) {
|
|
|
745
745
|
} = t, E = nt(), A = o || (E == null ? void 0 : E.emit) || ((s = E == null ? void 0 : E.$emit) == null ? void 0 : s.bind(E)) || ((i = (l = E == null ? void 0 : E.proxy) == null ? void 0 : l.$emit) == null ? void 0 : i.bind(E == null ? void 0 : E.proxy));
|
|
746
746
|
let g = h;
|
|
747
747
|
g = g || `update:${e.toString()}`;
|
|
748
|
-
const $ = (_) => c ? typeof c == "function" ? c(_) : no(_) : _,
|
|
748
|
+
const $ = (_) => c ? typeof c == "function" ? c(_) : no(_) : _, U = () => Un(n[e]) ? $(n[e]) : a, D = (_) => {
|
|
749
749
|
m ? m(_) && A(g, _) : A(g, _);
|
|
750
750
|
};
|
|
751
751
|
if (d) {
|
|
752
|
-
const _ =
|
|
752
|
+
const _ = U(), C = T(_);
|
|
753
753
|
let S = !1;
|
|
754
754
|
return Q(
|
|
755
755
|
() => n[e],
|
|
@@ -759,17 +759,17 @@ function io(n, e, o, t = {}) {
|
|
|
759
759
|
), Q(
|
|
760
760
|
C,
|
|
761
761
|
(L) => {
|
|
762
|
-
!S && (L !== n[e] || f) &&
|
|
762
|
+
!S && (L !== n[e] || f) && D(L);
|
|
763
763
|
},
|
|
764
764
|
{ deep: f }
|
|
765
765
|
), C;
|
|
766
766
|
} else
|
|
767
767
|
return V({
|
|
768
768
|
get() {
|
|
769
|
-
return
|
|
769
|
+
return U();
|
|
770
770
|
},
|
|
771
771
|
set(_) {
|
|
772
|
-
|
|
772
|
+
D(_);
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
}
|
|
@@ -807,7 +807,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
807
807
|
"opacity-0": !e.hovering
|
|
808
808
|
}));
|
|
809
809
|
async function m(A, g = !1) {
|
|
810
|
-
await
|
|
810
|
+
await P.value.editInspectorState({
|
|
811
811
|
path: e.data.path || [e.data.key],
|
|
812
812
|
inspectorId: o.value.inspectorId,
|
|
813
813
|
type: e.data.stateType,
|
|
@@ -818,7 +818,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
818
818
|
type: h.value,
|
|
819
819
|
remove: g
|
|
820
820
|
}
|
|
821
|
-
}), await
|
|
821
|
+
}), await P.value.sendInspectorState(o.value.inspectorId);
|
|
822
822
|
}
|
|
823
823
|
function E(A, g) {
|
|
824
824
|
const $ = typeof A == "number" ? A + g : BigInt(A) + BigInt(g);
|
|
@@ -852,8 +852,8 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
852
852
|
[u(J), {
|
|
853
853
|
content: "Add new value"
|
|
854
854
|
}]
|
|
855
|
-
]) :
|
|
856
|
-
], 64)) :
|
|
855
|
+
]) : O("", !0)
|
|
856
|
+
], 64)) : O("", !0),
|
|
857
857
|
h.value === "boolean" ? (p(), z(u(de), ke({ key: 1 }, f, {
|
|
858
858
|
class: a.value,
|
|
859
859
|
onClick: g[2] || (g[2] = ($) => m(!c.value))
|
|
@@ -883,8 +883,8 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
883
883
|
]),
|
|
884
884
|
_: 1
|
|
885
885
|
}, 16, ["class"])
|
|
886
|
-
], 64)) :
|
|
887
|
-
], 64)) :
|
|
886
|
+
], 64)) : O("", !0)
|
|
887
|
+
], 64)) : O("", !0),
|
|
888
888
|
!e.disableEdit && A.depth > 0 && A.data.editable ? (p(), z(u(de), ke({ key: 1 }, f, {
|
|
889
889
|
class: a.value,
|
|
890
890
|
onClick: g[5] || (g[5] = fe(($) => m(c.value, !0), ["stop"]))
|
|
@@ -893,7 +893,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
893
893
|
y(u(oe), { icon: "i-material-symbols-delete-rounded" })
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
|
-
}, 16, ["class"])) :
|
|
896
|
+
}, 16, ["class"])) : O("", !0),
|
|
897
897
|
y(u(on), {
|
|
898
898
|
class: ie({
|
|
899
899
|
"opacity-0": !A.hovering && !l.value
|
|
@@ -1018,7 +1018,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1018
1018
|
content: "Enter to submit change"
|
|
1019
1019
|
}]
|
|
1020
1020
|
])
|
|
1021
|
-
], 64)) :
|
|
1021
|
+
], 64)) : O("", !0)
|
|
1022
1022
|
]));
|
|
1023
1023
|
}
|
|
1024
1024
|
}), vo = {
|
|
@@ -1080,7 +1080,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1080
1080
|
editable: e.data.editable && !se,
|
|
1081
1081
|
creating: !1
|
|
1082
1082
|
})), s.value !== "custom" && (re = Nt(re))), re === e.data.value ? [] : re);
|
|
1083
|
-
}), A = V(() => E.value.length > 0), g = T(), $ = it(), { isHovering:
|
|
1083
|
+
}), A = V(() => E.value.length > 0), g = T(), $ = it(), { isHovering: U } = ro(() => g.value), { editingType: D, editing: _, editingText: C, toggleEditing: S, nodeId: L } = Hn();
|
|
1084
1084
|
Q(() => _.value, (x) => {
|
|
1085
1085
|
if (x) {
|
|
1086
1086
|
const { value: R } = l.value;
|
|
@@ -1090,17 +1090,17 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1090
1090
|
});
|
|
1091
1091
|
async function K() {
|
|
1092
1092
|
const x = e.data;
|
|
1093
|
-
await
|
|
1093
|
+
await P.value.editInspectorState({
|
|
1094
1094
|
path: f.value,
|
|
1095
1095
|
inspectorId: $.value.inspectorId,
|
|
1096
1096
|
type: x.stateType,
|
|
1097
1097
|
nodeId: L.value,
|
|
1098
1098
|
state: {
|
|
1099
1099
|
newKey: null,
|
|
1100
|
-
type:
|
|
1100
|
+
type: D.value,
|
|
1101
1101
|
value: Ue(C.value, l.value.customType)
|
|
1102
1102
|
}
|
|
1103
|
-
}), await
|
|
1103
|
+
}), await P.value.sendInspectorState($.value.inspectorId), S();
|
|
1104
1104
|
}
|
|
1105
1105
|
const { addNewProp: Z, draftingNewProp: N, resetDrafting: M } = On();
|
|
1106
1106
|
function w(x) {
|
|
@@ -1109,7 +1109,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1109
1109
|
}
|
|
1110
1110
|
async function k() {
|
|
1111
1111
|
const x = e.data;
|
|
1112
|
-
await
|
|
1112
|
+
await P.value.editInspectorState({
|
|
1113
1113
|
path: [...f.value, N.value.key],
|
|
1114
1114
|
inspectorId: $.value.inspectorId,
|
|
1115
1115
|
type: x.stateType,
|
|
@@ -1119,7 +1119,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1119
1119
|
type: typeof Ue(N.value.value),
|
|
1120
1120
|
value: Ue(N.value.value)
|
|
1121
1121
|
}
|
|
1122
|
-
}), await
|
|
1122
|
+
}), await P.value.sendInspectorState($.value.inspectorId), M();
|
|
1123
1123
|
}
|
|
1124
1124
|
return (x, R) => (p(), v("div", null, [
|
|
1125
1125
|
r("div", {
|
|
@@ -1143,7 +1143,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1143
1143
|
"custom-type": l.value.customType,
|
|
1144
1144
|
onCancel: u(S),
|
|
1145
1145
|
onSubmit: K
|
|
1146
|
-
}, null, 8, ["modelValue", "custom-type", "onCancel"])) :
|
|
1146
|
+
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : O("", !0),
|
|
1147
1147
|
r("span", {
|
|
1148
1148
|
class: ie([d.value, "flex whitespace-nowrap"])
|
|
1149
1149
|
}, [
|
|
@@ -1153,7 +1153,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1153
1153
|
}, null, 8, ho)
|
|
1154
1154
|
], 2),
|
|
1155
1155
|
y(po, {
|
|
1156
|
-
hovering: u(
|
|
1156
|
+
hovering: u(U),
|
|
1157
1157
|
"disable-edit": u($).disableEdit || u(_),
|
|
1158
1158
|
data: x.data,
|
|
1159
1159
|
depth: x.depth,
|
|
@@ -1180,7 +1180,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1180
1180
|
_: 1
|
|
1181
1181
|
})), [
|
|
1182
1182
|
[u(J), "Show more"]
|
|
1183
|
-
]) :
|
|
1183
|
+
]) : O("", !0),
|
|
1184
1184
|
u(N).enable ? (p(), v("div", {
|
|
1185
1185
|
key: 1,
|
|
1186
1186
|
style: Ie({ paddingLeft: `${(x.depth + 1) * 15 + 4}px` })
|
|
@@ -1200,8 +1200,8 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1200
1200
|
onCancel: u(M),
|
|
1201
1201
|
onSubmit: k
|
|
1202
1202
|
}, null, 8, ["modelValue", "onCancel"])
|
|
1203
|
-
], 4)) :
|
|
1204
|
-
])) :
|
|
1203
|
+
], 4)) : O("", !0)
|
|
1204
|
+
])) : O("", !0)
|
|
1205
1205
|
]));
|
|
1206
1206
|
}
|
|
1207
1207
|
}), xo = /* @__PURE__ */ Ce(_o, [["__scopeId", "data-v-18a10784"]]), Ut = /* @__PURE__ */ B({
|
|
@@ -1271,7 +1271,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1271
1271
|
index: `${f}`,
|
|
1272
1272
|
"expanded-state-id": i.expandedStateId
|
|
1273
1273
|
}, null, 8, ["data", "index", "expanded-state-id"])
|
|
1274
|
-
])) :
|
|
1274
|
+
])) : O("", !0)
|
|
1275
1275
|
]))), 128))
|
|
1276
1276
|
]));
|
|
1277
1277
|
}
|
|
@@ -1329,7 +1329,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1329
1329
|
class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
|
|
1330
1330
|
style: Ie({ border: `3px solid ${d.color}` })
|
|
1331
1331
|
}, null, 4),
|
|
1332
|
-
d.id < i.data.length - 1 ? (p(), v("span", So)) :
|
|
1332
|
+
d.id < i.data.length - 1 ? (p(), v("span", So)) : O("", !0),
|
|
1333
1333
|
r("p", To, [
|
|
1334
1334
|
r("span", Eo, "[" + le(u(yn)(d.time)) + "]", 1),
|
|
1335
1335
|
ne(" " + le(d.title) + " ", 1),
|
|
@@ -1354,7 +1354,10 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1354
1354
|
"select-none": "",
|
|
1355
1355
|
"overflow-scroll": "",
|
|
1356
1356
|
class: "no-scrollbar"
|
|
1357
|
-
}, Mo = {
|
|
1357
|
+
}, Mo = {
|
|
1358
|
+
key: 3,
|
|
1359
|
+
class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
|
|
1360
|
+
}, Lo = { class: "flex items-center gap-2 px-1" }, Ho = {
|
|
1358
1361
|
key: 0,
|
|
1359
1362
|
class: "recording recording-btn bg-[#ef4444]"
|
|
1360
1363
|
}, jo = {
|
|
@@ -1367,28 +1370,29 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1367
1370
|
pluginId: {},
|
|
1368
1371
|
docLink: {},
|
|
1369
1372
|
githubRepoLink: {},
|
|
1370
|
-
headerVisible: { type: Boolean, default: !0 }
|
|
1373
|
+
headerVisible: { type: Boolean, default: !0 },
|
|
1374
|
+
switcherVisible: { type: Boolean, default: !0 }
|
|
1371
1375
|
},
|
|
1372
1376
|
setup(n, { expose: e }) {
|
|
1373
1377
|
const o = n, { expanded: t } = me("timeline-state");
|
|
1374
1378
|
t.value = ["0", "1"];
|
|
1375
1379
|
const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0), c = Vt(), d = V(() => {
|
|
1376
|
-
var
|
|
1377
|
-
return (
|
|
1380
|
+
var D;
|
|
1381
|
+
return (D = c.timelineLayersState.value) == null ? void 0 : D[o.pluginId];
|
|
1378
1382
|
}), h = V(() => s.value[i.value] ?? null), f = V(() => d.value ? "Stop recording" : "Start recording"), a = V(() => {
|
|
1379
1383
|
var _;
|
|
1380
|
-
const
|
|
1384
|
+
const D = [];
|
|
1381
1385
|
for (const C in (_ = h.value) == null ? void 0 : _.data)
|
|
1382
|
-
|
|
1386
|
+
D.push({
|
|
1383
1387
|
key: C,
|
|
1384
1388
|
type: C,
|
|
1385
1389
|
editable: !1,
|
|
1386
1390
|
value: h.value.data[C]
|
|
1387
1391
|
});
|
|
1388
|
-
return
|
|
1392
|
+
return D;
|
|
1389
1393
|
}), m = V(() => {
|
|
1390
1394
|
var C, S, L;
|
|
1391
|
-
const
|
|
1395
|
+
const D = (C = h.value) == null ? void 0 : C.groupId, _ = l.value.get(D);
|
|
1392
1396
|
if (_) {
|
|
1393
1397
|
const K = ((S = _[_.length - 1]) == null ? void 0 : S.time) - (((L = _[0]) == null ? void 0 : L.time) ?? 0);
|
|
1394
1398
|
return [{
|
|
@@ -1404,20 +1408,20 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1404
1408
|
}].filter(Boolean);
|
|
1405
1409
|
}
|
|
1406
1410
|
}), E = V(() => ({ "Event Info": a.value, ...m.value && { "Group Info": m.value } }));
|
|
1407
|
-
function A(
|
|
1411
|
+
function A(D) {
|
|
1408
1412
|
var C;
|
|
1409
|
-
const _ =
|
|
1410
|
-
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(
|
|
1413
|
+
const _ = D.groupId;
|
|
1414
|
+
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(D));
|
|
1411
1415
|
}
|
|
1412
|
-
function g(
|
|
1413
|
-
const _ = X(
|
|
1416
|
+
function g(D) {
|
|
1417
|
+
const _ = X(D);
|
|
1414
1418
|
if (!_)
|
|
1415
1419
|
return;
|
|
1416
1420
|
const { layerId: C, event: S } = _;
|
|
1417
1421
|
o.layerIds.includes(C) && (s.value.push(S), A(S));
|
|
1418
1422
|
}
|
|
1419
|
-
|
|
1420
|
-
|
|
1423
|
+
P.functions.on(q.TIMELINE_EVENT_UPDATED, g), be(() => {
|
|
1424
|
+
P.functions.off(q.TIMELINE_EVENT_UPDATED, g);
|
|
1421
1425
|
});
|
|
1422
1426
|
function $() {
|
|
1423
1427
|
s.value = [], l.value.clear();
|
|
@@ -1425,22 +1429,22 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1425
1429
|
e({
|
|
1426
1430
|
clear: $
|
|
1427
1431
|
});
|
|
1428
|
-
function
|
|
1429
|
-
|
|
1432
|
+
function U() {
|
|
1433
|
+
P.value.updateTimelineLayersState({
|
|
1430
1434
|
[o.pluginId]: !d.value
|
|
1431
1435
|
});
|
|
1432
1436
|
}
|
|
1433
|
-
return (
|
|
1434
|
-
|
|
1437
|
+
return (D, _) => (p(), v("div", Ro, [
|
|
1438
|
+
D.headerVisible ? (p(), z($e, {
|
|
1435
1439
|
key: 0,
|
|
1436
|
-
"doc-link":
|
|
1437
|
-
"github-repo-link":
|
|
1440
|
+
"doc-link": D.docLink,
|
|
1441
|
+
"github-repo-link": D.githubRepoLink
|
|
1438
1442
|
}, {
|
|
1439
1443
|
default: H(() => [
|
|
1440
1444
|
y(Se)
|
|
1441
1445
|
]),
|
|
1442
1446
|
_: 1
|
|
1443
|
-
}, 8, ["doc-link", "github-repo-link"])) :
|
|
1447
|
+
}, 8, ["doc-link", "github-repo-link"])) : O("", !0),
|
|
1444
1448
|
s.value.length ? (p(), v("div", Ao, [
|
|
1445
1449
|
y(u(Ae), { class: "h-full" }, {
|
|
1446
1450
|
default: H(() => [
|
|
@@ -1487,11 +1491,11 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1487
1491
|
])),
|
|
1488
1492
|
_: 1
|
|
1489
1493
|
})),
|
|
1490
|
-
|
|
1494
|
+
D.switcherVisible ? (p(), v("div", Mo, [
|
|
1491
1495
|
r("div", Lo, [
|
|
1492
1496
|
W((p(), v("div", {
|
|
1493
1497
|
class: "flex items-center gap1",
|
|
1494
|
-
onClick:
|
|
1498
|
+
onClick: U
|
|
1495
1499
|
}, [
|
|
1496
1500
|
d.value ? (p(), v("span", Ho)) : (p(), v("span", jo))
|
|
1497
1501
|
])), [
|
|
@@ -1538,10 +1542,10 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1538
1542
|
]
|
|
1539
1543
|
])
|
|
1540
1544
|
])
|
|
1541
|
-
])
|
|
1545
|
+
])) : O("", !0)
|
|
1542
1546
|
]));
|
|
1543
1547
|
}
|
|
1544
|
-
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-
|
|
1548
|
+
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-f59e6cce"]]);
|
|
1545
1549
|
function ns() {
|
|
1546
1550
|
const n = T([]), e = T([]);
|
|
1547
1551
|
function o(s) {
|
|
@@ -1550,17 +1554,17 @@ function ns() {
|
|
|
1550
1554
|
});
|
|
1551
1555
|
}
|
|
1552
1556
|
Re(() => {
|
|
1553
|
-
|
|
1557
|
+
P.value.getCustomInspector().then((s) => {
|
|
1554
1558
|
e.value = s, e.value.forEach((l) => {
|
|
1555
1559
|
t(l);
|
|
1556
1560
|
});
|
|
1557
|
-
}),
|
|
1561
|
+
}), P.functions.on(q.INSPECTOR_UPDATED, o);
|
|
1558
1562
|
});
|
|
1559
1563
|
function t(s) {
|
|
1560
1564
|
n.value.some((l) => l.id === s.id) || n.value.push(s);
|
|
1561
1565
|
}
|
|
1562
1566
|
return be(() => {
|
|
1563
|
-
|
|
1567
|
+
P.functions.off(q.INSPECTOR_UPDATED, o);
|
|
1564
1568
|
}), {
|
|
1565
1569
|
registeredInspector: n,
|
|
1566
1570
|
register: t
|
|
@@ -1639,9 +1643,9 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1639
1643
|
onClick: fe((m) => u(t)(d.id), ["stop"])
|
|
1640
1644
|
}, null, 8, ["value", "onClick"])) : (p(), v("span", Fo)),
|
|
1641
1645
|
r("span", Go, [
|
|
1642
|
-
i.withTag ? (p(), v("span", Ko, "<")) :
|
|
1646
|
+
i.withTag ? (p(), v("span", Ko, "<")) : O("", !0),
|
|
1643
1647
|
r("span", Wo, le(s(d)), 1),
|
|
1644
|
-
i.withTag ? (p(), v("span", qo, ">")) :
|
|
1648
|
+
i.withTag ? (p(), v("span", qo, ">")) : O("", !0)
|
|
1645
1649
|
]),
|
|
1646
1650
|
(p(!0), v(te, null, ae(d.tags, (m, E) => (p(), z(Pt, {
|
|
1647
1651
|
key: E,
|
|
@@ -1656,7 +1660,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1656
1660
|
depth: i.depth + 1,
|
|
1657
1661
|
"with-tag": i.withTag
|
|
1658
1662
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
1659
|
-
])) :
|
|
1663
|
+
])) : O("", !0)
|
|
1660
1664
|
], 2);
|
|
1661
1665
|
}), 128));
|
|
1662
1666
|
}
|
|
@@ -1726,13 +1730,13 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1726
1730
|
};
|
|
1727
1731
|
return j(I), b;
|
|
1728
1732
|
}
|
|
1729
|
-
function
|
|
1733
|
+
function U(I, b) {
|
|
1730
1734
|
const j = [];
|
|
1731
1735
|
return I == null || I.forEach((G) => {
|
|
1732
1736
|
j.push(...G.slice(0, b + 1));
|
|
1733
1737
|
}), [...new Set(j)];
|
|
1734
1738
|
}
|
|
1735
|
-
function
|
|
1739
|
+
function D(I, b) {
|
|
1736
1740
|
const j = [];
|
|
1737
1741
|
return I.forEach((G) => {
|
|
1738
1742
|
const Y = G.indexOf(b);
|
|
@@ -1773,10 +1777,10 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1773
1777
|
}), { expanded: k } = me(), { expanded: x } = me("component-state");
|
|
1774
1778
|
zo();
|
|
1775
1779
|
async function R(I = "") {
|
|
1776
|
-
return
|
|
1780
|
+
return P.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
|
|
1777
1781
|
var G, Y;
|
|
1778
1782
|
const j = X(b);
|
|
1779
|
-
_.value = j, Z.value = (Y = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : Y.id, k.value =
|
|
1783
|
+
_.value = j, Z.value = (Y = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : Y.id, k.value = U(C.value, 1), a.value = !0;
|
|
1780
1784
|
});
|
|
1781
1785
|
}
|
|
1782
1786
|
function F(I) {
|
|
@@ -1788,7 +1792,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1788
1792
|
}), b;
|
|
1789
1793
|
}
|
|
1790
1794
|
function se(I) {
|
|
1791
|
-
|
|
1795
|
+
P.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
|
|
1792
1796
|
const j = X(b);
|
|
1793
1797
|
j && (K.value = F(j), x.value = Array.from({ length: Object.keys(K.value).length }, (G, Y) => `${Y}`));
|
|
1794
1798
|
});
|
|
@@ -1800,7 +1804,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1800
1804
|
const b = X(I);
|
|
1801
1805
|
b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
|
|
1802
1806
|
}
|
|
1803
|
-
|
|
1807
|
+
P.functions.on(q.INSPECTOR_STATE_UPDATED, re), R();
|
|
1804
1808
|
function ce(I) {
|
|
1805
1809
|
const b = I.trim().toLowerCase();
|
|
1806
1810
|
f(), R(b).then(() => {
|
|
@@ -1813,32 +1817,32 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1813
1817
|
function _e(I) {
|
|
1814
1818
|
var j, G;
|
|
1815
1819
|
const b = X(I);
|
|
1816
|
-
b.inspectorId === Ve && (c.value ? ce(c.value) : _.value = b.rootNodes, L.value.includes(Z.value) || (Z.value = (G = (j = _.value) == null ? void 0 : j[0]) == null ? void 0 : G.id, k.value =
|
|
1820
|
+
b.inspectorId === Ve && (c.value ? ce(c.value) : _.value = b.rootNodes, L.value.includes(Z.value) || (Z.value = (G = (j = _.value) == null ? void 0 : j[0]) == null ? void 0 : G.id, k.value = U(C.value, 1)));
|
|
1817
1821
|
}
|
|
1818
|
-
|
|
1819
|
-
|
|
1822
|
+
P.functions.on(q.INSPECTOR_TREE_UPDATED, _e), be(() => {
|
|
1823
|
+
P.functions.off(q.INSPECTOR_STATE_UPDATED, re), P.functions.off(q.INSPECTOR_TREE_UPDATED, _e);
|
|
1820
1824
|
});
|
|
1821
1825
|
function xe() {
|
|
1822
|
-
m.value = !0, o("onInspectComponentStart"),
|
|
1826
|
+
m.value = !0, o("onInspectComponentStart"), P.value.inspectComponentInspector().then((I) => {
|
|
1823
1827
|
const b = JSON.parse(I);
|
|
1824
|
-
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...
|
|
1828
|
+
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...D(C.value, b.id)])], Gt();
|
|
1825
1829
|
}).finally(() => {
|
|
1826
1830
|
m.value = !1, o("onInspectComponentEnd");
|
|
1827
1831
|
});
|
|
1828
1832
|
}
|
|
1829
1833
|
function Le() {
|
|
1830
|
-
m.value = !1,
|
|
1834
|
+
m.value = !1, P.value.cancelInspectComponentInspector();
|
|
1831
1835
|
}
|
|
1832
1836
|
function He() {
|
|
1833
|
-
|
|
1837
|
+
P.value.scrollToComponent(Z.value);
|
|
1834
1838
|
}
|
|
1835
1839
|
function je() {
|
|
1836
|
-
|
|
1840
|
+
P.value.inspectDOM(Z.value).then(() => {
|
|
1837
1841
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
1838
1842
|
});
|
|
1839
1843
|
}
|
|
1840
1844
|
function Oe() {
|
|
1841
|
-
|
|
1845
|
+
P.value.getComponentRenderCode(Z.value).then((I) => {
|
|
1842
1846
|
E.value = I, A.value = !0;
|
|
1843
1847
|
});
|
|
1844
1848
|
}
|
|
@@ -1867,7 +1871,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1867
1871
|
Ye.value = Je.activeAppRecordId.value;
|
|
1868
1872
|
});
|
|
1869
1873
|
function qt(I) {
|
|
1870
|
-
|
|
1874
|
+
P.value.toggleApp(I).then(() => {
|
|
1871
1875
|
Z.value = "", R();
|
|
1872
1876
|
});
|
|
1873
1877
|
}
|
|
@@ -1897,7 +1901,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1897
1901
|
])
|
|
1898
1902
|
]),
|
|
1899
1903
|
_: 1
|
|
1900
|
-
})) :
|
|
1904
|
+
})) : O("", !0),
|
|
1901
1905
|
y(u(ue), {
|
|
1902
1906
|
border: "base",
|
|
1903
1907
|
"h-full": ""
|
|
@@ -1913,7 +1917,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1913
1917
|
placeholder: "Find components...",
|
|
1914
1918
|
class: "flex-1 text-3.5"
|
|
1915
1919
|
}, null, 8, ["modelValue", "loading"]),
|
|
1916
|
-
u(hn) ?
|
|
1920
|
+
u(hn) ? O("", !0) : W((p(), v("button", {
|
|
1917
1921
|
key: 0,
|
|
1918
1922
|
"px-1": "",
|
|
1919
1923
|
class: "hover:color-#00dc82",
|
|
@@ -1946,7 +1950,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1946
1950
|
"with-tag": !0
|
|
1947
1951
|
}, null, 8, ["modelValue", "data"])
|
|
1948
1952
|
], 512)
|
|
1949
|
-
])) :
|
|
1953
|
+
])) : O("", !0)
|
|
1950
1954
|
]),
|
|
1951
1955
|
_: 1
|
|
1952
1956
|
}),
|
|
@@ -1963,7 +1967,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1963
1967
|
b[7] || (b[7] = r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
|
|
1964
1968
|
r("span", rl, le(N.value.name), 1),
|
|
1965
1969
|
b[8] || (b[8] = r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
|
|
1966
|
-
])) :
|
|
1970
|
+
])) : O("", !0),
|
|
1967
1971
|
y(u(Ze), {
|
|
1968
1972
|
modelValue: d.value,
|
|
1969
1973
|
"onUpdate:modelValue": b[3] || (b[3] = (G) => d.value = G),
|
|
@@ -2005,7 +2009,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2005
2009
|
void 0,
|
|
2006
2010
|
{ bottom: !0 }
|
|
2007
2011
|
]
|
|
2008
|
-
]) :
|
|
2012
|
+
]) : O("", !0),
|
|
2009
2013
|
M.value ? W((p(), v("i", {
|
|
2010
2014
|
key: 1,
|
|
2011
2015
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
@@ -2017,7 +2021,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2017
2021
|
void 0,
|
|
2018
2022
|
{ bottom: !0 }
|
|
2019
2023
|
]
|
|
2020
|
-
]) :
|
|
2024
|
+
]) : O("", !0)
|
|
2021
2025
|
])
|
|
2022
2026
|
]),
|
|
2023
2027
|
y(Pe, {
|
|
@@ -2032,7 +2036,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2032
2036
|
key: 0,
|
|
2033
2037
|
code: E.value,
|
|
2034
2038
|
onClose: Kt
|
|
2035
|
-
}, null, 8, ["code"])) :
|
|
2039
|
+
}, null, 8, ["code"])) : O("", !0)
|
|
2036
2040
|
];
|
|
2037
2041
|
}),
|
|
2038
2042
|
_: 1
|
|
@@ -2083,7 +2087,7 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2083
2087
|
])
|
|
2084
2088
|
]),
|
|
2085
2089
|
_: 1
|
|
2086
|
-
}, 8, ["modelValue"])) :
|
|
2090
|
+
}, 8, ["modelValue"])) : O("", !0)
|
|
2087
2091
|
]));
|
|
2088
2092
|
}
|
|
2089
2093
|
}), os = /* @__PURE__ */ Ce(vl, [["__scopeId", "data-v-38589395"]]), ml = {}, hl = { class: "h-screen w-screen $ui-fcc flex-col" };
|
|
@@ -2182,7 +2186,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2182
2186
|
r("div", Il, [
|
|
2183
2187
|
r("div", $l, [
|
|
2184
2188
|
r("span", Sl, [
|
|
2185
|
-
t.value ?
|
|
2189
|
+
t.value ? O("", !0) : (p(), v("span", Tl)),
|
|
2186
2190
|
W(r("img", {
|
|
2187
2191
|
src: u(o).logo,
|
|
2188
2192
|
alt: `${u(o).label} Logo`,
|
|
@@ -2192,7 +2196,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2192
2196
|
}, null, 40, El), [
|
|
2193
2197
|
[tn, t.value && !s.value]
|
|
2194
2198
|
]),
|
|
2195
|
-
s.value ? (p(), v("span", Vl, le(u(o).label), 1)) :
|
|
2199
|
+
s.value ? (p(), v("span", Vl, le(u(o).label), 1)) : O("", !0)
|
|
2196
2200
|
]),
|
|
2197
2201
|
r("span", null, [
|
|
2198
2202
|
y(bl, { "h-18": "" })
|
|
@@ -2230,7 +2234,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2230
2234
|
"text-3xl": ""
|
|
2231
2235
|
}, null, -1),
|
|
2232
2236
|
r("div", null, "Timeline", -1)
|
|
2233
|
-
]))) :
|
|
2237
|
+
]))) : O("", !0)
|
|
2234
2238
|
]),
|
|
2235
2239
|
r("div", Dl, [
|
|
2236
2240
|
r("a", {
|
|
@@ -2265,7 +2269,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2265
2269
|
setup(n, { emit: e }) {
|
|
2266
2270
|
const o = n, t = e, s = V(() => o.options), l = V(() => o.values);
|
|
2267
2271
|
function i(c, d) {
|
|
2268
|
-
|
|
2272
|
+
P.value.updatePluginSettings(o.pluginId, c, d), P.value.getPluginSettings(o.pluginId).then((h) => {
|
|
2269
2273
|
t("update", h);
|
|
2270
2274
|
});
|
|
2271
2275
|
}
|
|
@@ -2293,7 +2297,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2293
2297
|
key: 2,
|
|
2294
2298
|
"model-value": l.value[f],
|
|
2295
2299
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2296
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])) :
|
|
2300
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : O("", !0)
|
|
2297
2301
|
])
|
|
2298
2302
|
]))), 128))
|
|
2299
2303
|
])
|
|
@@ -2359,22 +2363,22 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2359
2363
|
};
|
|
2360
2364
|
return x(w), k;
|
|
2361
2365
|
}
|
|
2362
|
-
function
|
|
2363
|
-
|
|
2366
|
+
function U() {
|
|
2367
|
+
P.value.getInspectorNodeActions(s.value).then((w) => {
|
|
2364
2368
|
l.value = w;
|
|
2365
2369
|
});
|
|
2366
2370
|
}
|
|
2367
|
-
function
|
|
2368
|
-
|
|
2371
|
+
function D() {
|
|
2372
|
+
P.value.getInspectorActions(s.value).then((w) => {
|
|
2369
2373
|
i.value = w;
|
|
2370
2374
|
});
|
|
2371
2375
|
}
|
|
2372
|
-
|
|
2376
|
+
U(), D();
|
|
2373
2377
|
function _(w) {
|
|
2374
|
-
|
|
2378
|
+
P.value.callInspectorNodeAction(s.value, w, a.value);
|
|
2375
2379
|
}
|
|
2376
2380
|
function C(w) {
|
|
2377
|
-
|
|
2381
|
+
P.value.callInspectorAction(s.value, w);
|
|
2378
2382
|
}
|
|
2379
2383
|
function S(w) {
|
|
2380
2384
|
var k;
|
|
@@ -2383,7 +2387,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2383
2387
|
return w;
|
|
2384
2388
|
}
|
|
2385
2389
|
function L(w) {
|
|
2386
|
-
|
|
2390
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
|
|
2387
2391
|
const x = X(k);
|
|
2388
2392
|
x && (m.value = S(x), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
|
|
2389
2393
|
});
|
|
@@ -2395,7 +2399,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2395
2399
|
K(), L(a.value);
|
|
2396
2400
|
});
|
|
2397
2401
|
const Z = () => {
|
|
2398
|
-
|
|
2402
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
2399
2403
|
const k = X(w);
|
|
2400
2404
|
c.value = k, !a.value && k.length && (a.value = k[0].id, e.value = g(d.value, 1), L(k[0].id));
|
|
2401
2405
|
});
|
|
@@ -2414,9 +2418,9 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2414
2418
|
m.value = S(R);
|
|
2415
2419
|
}
|
|
2416
2420
|
return Re(() => {
|
|
2417
|
-
|
|
2421
|
+
P.functions.on(q.INSPECTOR_TREE_UPDATED, N), P.functions.on(q.INSPECTOR_STATE_UPDATED, M);
|
|
2418
2422
|
}), be(() => {
|
|
2419
|
-
|
|
2423
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, N), P.functions.off(q.INSPECTOR_STATE_UPDATED, M);
|
|
2420
2424
|
}), (w, k) => (p(), v("div", Zl, [
|
|
2421
2425
|
y($e, {
|
|
2422
2426
|
"doc-link": u(t).homepage
|
|
@@ -2463,7 +2467,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2463
2467
|
]
|
|
2464
2468
|
])), 128))
|
|
2465
2469
|
])
|
|
2466
|
-
])) :
|
|
2470
|
+
])) : O("", !0),
|
|
2467
2471
|
r("div", ql, [
|
|
2468
2472
|
y(Me, {
|
|
2469
2473
|
modelValue: a.value,
|
|
@@ -2504,7 +2508,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2504
2508
|
]
|
|
2505
2509
|
])), 128))
|
|
2506
2510
|
])
|
|
2507
|
-
])) :
|
|
2511
|
+
])) : O("", !0),
|
|
2508
2512
|
a.value && !E.value ? (p(), z(Pe, {
|
|
2509
2513
|
key: 1,
|
|
2510
2514
|
data: m.value,
|
|
@@ -2588,7 +2592,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2588
2592
|
});
|
|
2589
2593
|
function f() {
|
|
2590
2594
|
l.value = !0, Re(() => {
|
|
2591
|
-
|
|
2595
|
+
P.value.getInspectorInfo(o.id).then((a) => {
|
|
2592
2596
|
if (!a) {
|
|
2593
2597
|
t("loadError");
|
|
2594
2598
|
return;
|
|
@@ -2602,7 +2606,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2602
2606
|
pluginId: o.pluginId
|
|
2603
2607
|
};
|
|
2604
2608
|
s.value = m, h(), l.value = !1;
|
|
2605
|
-
}),
|
|
2609
|
+
}), P.value.getPluginSettings(o.pluginId).then((a) => {
|
|
2606
2610
|
a.options ? i.value = a : i.value = null;
|
|
2607
2611
|
});
|
|
2608
2612
|
});
|
|
@@ -2612,7 +2616,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2612
2616
|
}, {
|
|
2613
2617
|
immediate: !0
|
|
2614
2618
|
}), be(() => {
|
|
2615
|
-
|
|
2619
|
+
P.value.unhighlight();
|
|
2616
2620
|
}), (a, m) => (p(), v("div", n1, [
|
|
2617
2621
|
l.value ? (p(), v("div", o1, [
|
|
2618
2622
|
y(Cl)
|
|
@@ -2797,21 +2801,21 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2797
2801
|
return w(N), M;
|
|
2798
2802
|
}
|
|
2799
2803
|
function g() {
|
|
2800
|
-
|
|
2804
|
+
P.value.getInspectorNodeActions(pe).then((N) => {
|
|
2801
2805
|
t.value = N;
|
|
2802
2806
|
});
|
|
2803
2807
|
}
|
|
2804
2808
|
function $() {
|
|
2805
|
-
|
|
2809
|
+
P.value.getInspectorActions(pe).then((N) => {
|
|
2806
2810
|
s.value = N;
|
|
2807
2811
|
});
|
|
2808
2812
|
}
|
|
2809
2813
|
g(), $();
|
|
2810
|
-
function
|
|
2811
|
-
|
|
2814
|
+
function U(N) {
|
|
2815
|
+
P.value.callInspectorNodeAction(pe, N, l.value);
|
|
2812
2816
|
}
|
|
2813
|
-
function
|
|
2814
|
-
|
|
2817
|
+
function D(N) {
|
|
2818
|
+
P.value.callInspectorAction(pe, N);
|
|
2815
2819
|
}
|
|
2816
2820
|
function _(N) {
|
|
2817
2821
|
var M;
|
|
@@ -2820,7 +2824,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2820
2824
|
return N;
|
|
2821
2825
|
}
|
|
2822
2826
|
function C(N) {
|
|
2823
|
-
|
|
2827
|
+
P.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
|
|
2824
2828
|
const w = X(M);
|
|
2825
2829
|
w && (f.value = _(w), o.value = Array.from({ length: Object.keys(f.value).length }, (k, x) => `${x}`));
|
|
2826
2830
|
});
|
|
@@ -2831,7 +2835,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2831
2835
|
Q(l, () => {
|
|
2832
2836
|
S(), C(l.value);
|
|
2833
2837
|
}), (() => {
|
|
2834
|
-
|
|
2838
|
+
P.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
|
|
2835
2839
|
const M = X(N);
|
|
2836
2840
|
i.value = M, !l.value && M.length && (l.value = M[0].id, C(M[0].id), e.value = E(c.value, 1));
|
|
2837
2841
|
});
|
|
@@ -2850,8 +2854,8 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2850
2854
|
getters: w.getters
|
|
2851
2855
|
});
|
|
2852
2856
|
}
|
|
2853
|
-
return
|
|
2854
|
-
|
|
2857
|
+
return P.functions.on(q.INSPECTOR_TREE_UPDATED, K), P.functions.on(q.INSPECTOR_STATE_UPDATED, Z), be(() => {
|
|
2858
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, K), P.functions.off(q.INSPECTOR_STATE_UPDATED, Z);
|
|
2855
2859
|
}), (N, M) => (p(), v("div", h1, [
|
|
2856
2860
|
y($e, {
|
|
2857
2861
|
"doc-link": "https://pinia.vuejs.org/",
|
|
@@ -2878,7 +2882,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2878
2882
|
(p(!0), v(te, null, ae(s.value, (k, x) => W((p(), v("div", {
|
|
2879
2883
|
key: x,
|
|
2880
2884
|
class: "flex items-center gap1",
|
|
2881
|
-
onClick: (R) =>
|
|
2885
|
+
onClick: (R) => D(x)
|
|
2882
2886
|
}, [
|
|
2883
2887
|
r("i", {
|
|
2884
2888
|
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
@@ -2896,7 +2900,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2896
2900
|
]
|
|
2897
2901
|
])), 128))
|
|
2898
2902
|
])
|
|
2899
|
-
])) :
|
|
2903
|
+
])) : O("", !0),
|
|
2900
2904
|
r("div", y1, [
|
|
2901
2905
|
y(Me, {
|
|
2902
2906
|
modelValue: l.value,
|
|
@@ -2919,7 +2923,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2919
2923
|
(p(!0), v(te, null, ae(t.value, (k, x) => W((p(), v("div", {
|
|
2920
2924
|
key: x,
|
|
2921
2925
|
class: "flex items-center gap1",
|
|
2922
|
-
onClick: (R) =>
|
|
2926
|
+
onClick: (R) => U(x)
|
|
2923
2927
|
}, [
|
|
2924
2928
|
r("i", {
|
|
2925
2929
|
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
@@ -2937,7 +2941,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2937
2941
|
]
|
|
2938
2942
|
])), 128))
|
|
2939
2943
|
])
|
|
2940
|
-
])) :
|
|
2944
|
+
])) : O("", !0),
|
|
2941
2945
|
l.value && !a.value ? (p(), z(Pe, {
|
|
2942
2946
|
key: 1,
|
|
2943
2947
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
@@ -3009,7 +3013,7 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
3009
3013
|
defaultRoutePath: "/store"
|
|
3010
3014
|
});
|
|
3011
3015
|
return Re(() => {
|
|
3012
|
-
|
|
3016
|
+
P.value.getPluginSettings("dev.esm.pinia").then((i) => {
|
|
3013
3017
|
i.options ? e.value = i : e.value = null;
|
|
3014
3018
|
});
|
|
3015
3019
|
}), (l, i) => (p(), v("div", E1, [
|
|
@@ -3189,7 +3193,7 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3189
3193
|
return C;
|
|
3190
3194
|
}
|
|
3191
3195
|
function g(C) {
|
|
3192
|
-
|
|
3196
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
|
|
3193
3197
|
const L = X(S);
|
|
3194
3198
|
L && (f.value = A(L), o.value = Array.from({ length: Object.keys(f.value).length }, (K, Z) => `${Z}`));
|
|
3195
3199
|
});
|
|
@@ -3200,14 +3204,14 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3200
3204
|
Q(l, () => {
|
|
3201
3205
|
$(), g(l.value);
|
|
3202
3206
|
});
|
|
3203
|
-
const
|
|
3204
|
-
|
|
3207
|
+
const U = () => {
|
|
3208
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
|
|
3205
3209
|
const S = X(C);
|
|
3206
3210
|
i.value = S, !l.value && S.length && (l.value = S[0].id, g(S[0].id), e.value = m(c.value, 1));
|
|
3207
3211
|
});
|
|
3208
3212
|
};
|
|
3209
|
-
jt(s).toBeTruthy().then(
|
|
3210
|
-
function
|
|
3213
|
+
jt(s).toBeTruthy().then(U);
|
|
3214
|
+
function D(C) {
|
|
3211
3215
|
const S = X(C);
|
|
3212
3216
|
S.inspectorId !== s.value || !S.rootNodes.length || (i.value = S.rootNodes, h.value.includes(l.value) || (l.value = S.rootNodes[0].id, e.value = m(c.value, 1), g(S.rootNodes[0].id)));
|
|
3213
3217
|
}
|
|
@@ -3218,8 +3222,8 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3218
3222
|
const L = S.state;
|
|
3219
3223
|
f.value = A(L);
|
|
3220
3224
|
}
|
|
3221
|
-
return
|
|
3222
|
-
|
|
3225
|
+
return P.functions.on(q.INSPECTOR_TREE_UPDATED, D), P.functions.on(q.INSPECTOR_STATE_UPDATED, _), be(() => {
|
|
3226
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, D), P.functions.off(q.INSPECTOR_STATE_UPDATED, _);
|
|
3223
3227
|
}), (C, S) => (p(), v("div", O1, [
|
|
3224
3228
|
y($e, {
|
|
3225
3229
|
"doc-link": "https://router.vuejs.org/",
|
|
@@ -3317,7 +3321,7 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3317
3321
|
});
|
|
3318
3322
|
function i() {
|
|
3319
3323
|
t.value = !0, Re(() => {
|
|
3320
|
-
|
|
3324
|
+
P.value.getInspectorInfo(e.id).then((c) => {
|
|
3321
3325
|
if (!c)
|
|
3322
3326
|
return;
|
|
3323
3327
|
const d = {
|