@vue/devtools-applet 8.0.7 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +444 -455
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as Z, withDirectives as q, createElementBlock as h, openBlock as c, normalizeStyle as Ee, unref as a, createTextVNode as Q, toDisplayString as re, mergeModels as De, useModel as Ye, Fragment as se, renderList as ce, normalizeClass as ie, createBlock as B, inject as
|
|
2
|
-
import { vTooltip as J, VueButton as fe, VueIcon as ue, VueDropdown as
|
|
3
|
-
import { isPlainObject as
|
|
4
|
-
import { rpc as
|
|
1
|
+
import { defineComponent as Z, withDirectives as q, createElementBlock as h, openBlock as c, normalizeStyle as Ee, unref as a, createTextVNode as Q, toDisplayString as re, mergeModels as De, useModel as Ye, Fragment as se, renderList as ce, normalizeClass as ie, createBlock as B, inject as xe, toValue as Y, ref as V, computed as $, h as un, provide as ye, createElementVNode as u, renderSlot as Xe, createCommentVNode as U, isRef as Ke, shallowRef as me, shallowReadonly as cn, onMounted as At, nextTick as Ze, watch as te, getCurrentScope as dn, onScopeDispose as pn, getCurrentInstance as Qe, reactive as xt, toRaw as Rt, createVNode as y, mergeProps as Se, withModifiers as he, withCtx as M, watchEffect as et, onUnmounted as Ie, vShow as fn, createStaticVNode as vn } from "vue";
|
|
2
|
+
import { vTooltip as J, VueButton as fe, VueIcon as ue, VueDropdown as mn, VueDropdownButton as yt, VueInput as ge, VueIcIcon as Fe, VueCodeBlock as hn, VueDialog as gn, VueSwitch as Cn, VueSelect as xn } from "@vue/devtools-ui";
|
|
3
|
+
import { isPlainObject as yn, UNDEFINED as Dt, NAN as bn, INFINITY as _n, NEGATIVE_INFINITY as wn, getRaw as Pt, toSubmit as ze, formatInspectorStateValue as kn, getInspectorStateValueType as bt, escape as In, toEdit as $n, parse as le } from "@vue/devtools-kit";
|
|
4
|
+
import { rpc as E, useDevToolsState as Lt, DevToolsMessagingEvents as X, onRpcConnected as Pe } from "@vue/devtools-core";
|
|
5
5
|
import { Splitpanes as Le, Pane as de } from "splitpanes";
|
|
6
|
-
import { isArray as _t, isObject as wt, sortByKey as Mt, isInSeparateWindow as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { RecycleScroller as
|
|
9
|
-
import { flatten as
|
|
6
|
+
import { isArray as _t, isObject as wt, sortByKey as Mt, isInSeparateWindow as Sn, isInChromePanel as kt } from "@vue/devtools-shared";
|
|
7
|
+
import { debounce as Tn } from "perfect-debounce";
|
|
8
|
+
import { RecycleScroller as En } from "vue-virtual-scroller";
|
|
9
|
+
import { flatten as Vn, groupBy as Nn } from "lodash-es";
|
|
10
10
|
function It(e) {
|
|
11
11
|
return e.toString(16).padStart(6, "0");
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function An(e, t) {
|
|
14
14
|
const o = new Date(e);
|
|
15
15
|
return `${o.toString().match(/\d\d:\d\d:\d\d/)[0]}${t === "ms" ? `.${String(o.getMilliseconds()).padStart(3, "0")}` : ""}`;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function Rn(e, t) {
|
|
18
18
|
const o = /* @__PURE__ */ new Map(), n = Ot(e, t.toLowerCase(), o, 0);
|
|
19
19
|
return o.clear(), n;
|
|
20
20
|
}
|
|
@@ -31,15 +31,15 @@ function Ot(e, t, o, n) {
|
|
|
31
31
|
}
|
|
32
32
|
function Ut(e, t, o, n, l) {
|
|
33
33
|
let s = !1, p;
|
|
34
|
-
return t === "_custom" && (t = o.display, o = o.value), (p =
|
|
34
|
+
return t === "_custom" && (t = o.display, o = o.value), (p = Dn(o)) && (o = p), t && $t(t, e) ? (s = !0, n.set(o, !0)) : n.has(o) ? s = n.get(o) : Array.isArray(o) ? (n.set(o, null), s = Pn(o, e, n, l), n.set(o, s)) : yn(o) ? (n.set(o, null), s = Ot(o, e, n, l), n.set(o, s)) : $t(o, e) && (s = !0, n.set(o, !0)), s;
|
|
35
35
|
}
|
|
36
36
|
function $t(e, t) {
|
|
37
37
|
return `${e}`.toLowerCase().includes(t);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return e === null ? "null" : e === Dt ? "undefined" : e ===
|
|
39
|
+
function Dn(e) {
|
|
40
|
+
return e === null ? "null" : e === Dt ? "undefined" : e === bn ? "NaN" : e === _n ? "Infinity" : e === wn ? "-Infinity" : !1;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Pn(e, t, o, n) {
|
|
43
43
|
if (n > Ht)
|
|
44
44
|
return !1;
|
|
45
45
|
let l = !1, s;
|
|
@@ -53,7 +53,7 @@ function tt(e) {
|
|
|
53
53
|
return t;
|
|
54
54
|
const l = {};
|
|
55
55
|
for (const s in t) {
|
|
56
|
-
const i = t[s].filter((r) =>
|
|
56
|
+
const i = t[s].filter((r) => Rn({
|
|
57
57
|
// @ts-expect-error typing weak
|
|
58
58
|
[r.key]: r.value
|
|
59
59
|
}, o));
|
|
@@ -82,7 +82,7 @@ const jt = /* @__PURE__ */ Z({
|
|
|
82
82
|
}]
|
|
83
83
|
]);
|
|
84
84
|
}
|
|
85
|
-
}),
|
|
85
|
+
}), Ln = { class: "p2" }, Mn = ["onClick"], Hn = /* @__PURE__ */ Z({
|
|
86
86
|
__name: "SelectiveList",
|
|
87
87
|
props: /* @__PURE__ */ De({
|
|
88
88
|
data: {}
|
|
@@ -96,7 +96,7 @@ const jt = /* @__PURE__ */ Z({
|
|
|
96
96
|
function l(s) {
|
|
97
97
|
n.value = s, o("select", s);
|
|
98
98
|
}
|
|
99
|
-
return (s, p) => (c(), h("ul",
|
|
99
|
+
return (s, p) => (c(), h("ul", Ln, [
|
|
100
100
|
(c(!0), h(se, null, ce(e.data, (i) => (c(), h("li", {
|
|
101
101
|
key: i.id,
|
|
102
102
|
class: ie(["selectable-item", { active: i.id === n.value }]),
|
|
@@ -107,18 +107,18 @@ const jt = /* @__PURE__ */ Z({
|
|
|
107
107
|
key: f,
|
|
108
108
|
tag: r
|
|
109
109
|
}, null, 8, ["tag"]))), 128))
|
|
110
|
-
], 10,
|
|
110
|
+
], 10, Mn))), 128))
|
|
111
111
|
]));
|
|
112
112
|
}
|
|
113
113
|
}), nt = Symbol("VirtualRouteKey"), zt = Symbol("VirtualRoutesKey");
|
|
114
114
|
function ot(e, t) {
|
|
115
|
-
const o = t?.defaultRoutePath ?? Y(e)[0].path, n =
|
|
115
|
+
const o = t?.defaultRoutePath ?? Y(e)[0].path, n = V({
|
|
116
116
|
path: o
|
|
117
117
|
}), l = $(() => Y(e)), s = $(() => n.value.path), p = Z({
|
|
118
118
|
setup() {
|
|
119
119
|
return () => {
|
|
120
120
|
const r = l.value.find((f) => f.path === s.value);
|
|
121
|
-
return r ?
|
|
121
|
+
return r ? un(r.component) : null;
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
});
|
|
@@ -128,24 +128,24 @@ function ot(e, t) {
|
|
|
128
128
|
return ye(nt, n), ye(zt, l), { VirtualRouterView: p, restoreRouter: i };
|
|
129
129
|
}
|
|
130
130
|
function Me() {
|
|
131
|
-
const e =
|
|
131
|
+
const e = xe(nt);
|
|
132
132
|
return {
|
|
133
133
|
push(t) {
|
|
134
134
|
e.value.path = t;
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const e =
|
|
138
|
+
function On() {
|
|
139
|
+
const e = xe(zt), t = xe(nt);
|
|
140
140
|
return {
|
|
141
141
|
routes: e,
|
|
142
142
|
currentRoute: t
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const Un = {
|
|
146
146
|
border: "b base",
|
|
147
147
|
class: "flex items-center justify-between px3"
|
|
148
|
-
},
|
|
148
|
+
}, jn = ["href"], zn = ["href"], Ve = /* @__PURE__ */ Z({
|
|
149
149
|
__name: "DevToolsHeader",
|
|
150
150
|
props: {
|
|
151
151
|
githubRepoLink: {},
|
|
@@ -153,7 +153,7 @@ const jn = {
|
|
|
153
153
|
},
|
|
154
154
|
setup(e) {
|
|
155
155
|
const t = Me();
|
|
156
|
-
return (o, n) => (c(), h("div",
|
|
156
|
+
return (o, n) => (c(), h("div", Un, [
|
|
157
157
|
u("div", null, [
|
|
158
158
|
Xe(o.$slots, "default", {}, () => [
|
|
159
159
|
u("i", {
|
|
@@ -170,7 +170,7 @@ const jn = {
|
|
|
170
170
|
title: "View Documentation"
|
|
171
171
|
}, [...n[1] || (n[1] = [
|
|
172
172
|
u("i", { class: "i-clarity:document-line cursor-pointer text-base op70 hover:op100" }, null, -1)
|
|
173
|
-
])], 8,
|
|
173
|
+
])], 8, jn),
|
|
174
174
|
e.githubRepoLink ? (c(), h("a", {
|
|
175
175
|
key: 0,
|
|
176
176
|
href: e.githubRepoLink,
|
|
@@ -178,7 +178,7 @@ const jn = {
|
|
|
178
178
|
title: "Star on GitHub"
|
|
179
179
|
}, [...n[2] || (n[2] = [
|
|
180
180
|
u("i", { class: "i-mdi:github cursor-pointer text-base op70 hover:op100" }, null, -1)
|
|
181
|
-
])], 8,
|
|
181
|
+
])], 8, zn)) : U("", !0)
|
|
182
182
|
])
|
|
183
183
|
]));
|
|
184
184
|
}
|
|
@@ -187,25 +187,25 @@ const jn = {
|
|
|
187
187
|
for (const [n, l] of t)
|
|
188
188
|
o[n] = l;
|
|
189
189
|
return o;
|
|
190
|
-
},
|
|
191
|
-
function
|
|
192
|
-
return c(), h("div",
|
|
190
|
+
}, Bn = {}, Zn = { class: "h-full flex flex-col items-center justify-center op50" };
|
|
191
|
+
function Fn(e, t) {
|
|
192
|
+
return c(), h("div", Zn, [
|
|
193
193
|
t[0] || (t[0] = u("i", { class: "i-lets-icons:blank-light" }, null, -1)),
|
|
194
194
|
u("span", null, [
|
|
195
195
|
Xe(e.$slots, "default")
|
|
196
196
|
])
|
|
197
197
|
]);
|
|
198
198
|
}
|
|
199
|
-
const Te = /* @__PURE__ */ _e(
|
|
199
|
+
const Te = /* @__PURE__ */ _e(Bn, [["render", Fn]]), Kn = { class: "flex gap3" }, Gn = ["onClick"], Ne = /* @__PURE__ */ Z({
|
|
200
200
|
__name: "Navbar",
|
|
201
201
|
setup(e) {
|
|
202
|
-
const { routes: t, currentRoute: o } =
|
|
203
|
-
return (l, s) => (c(), h("ul",
|
|
202
|
+
const { routes: t, currentRoute: o } = On(), n = Me();
|
|
203
|
+
return (l, s) => (c(), h("ul", Kn, [
|
|
204
204
|
(c(!0), h(se, null, ce(a(t), (p, i) => (c(), h("li", {
|
|
205
205
|
key: i,
|
|
206
206
|
class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", a(o).path === p.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
|
|
207
207
|
onClick: (r) => a(n).push(p.path)
|
|
208
|
-
}, re(p.name), 11,
|
|
208
|
+
}, re(p.name), 11, Gn))), 128))
|
|
209
209
|
]));
|
|
210
210
|
}
|
|
211
211
|
}), lt = /* @__PURE__ */ Z({
|
|
@@ -221,17 +221,17 @@ const Te = /* @__PURE__ */ _e(Zn, [["render", Kn]]), Gn = { class: "flex gap3" }
|
|
|
221
221
|
}, null, 2));
|
|
222
222
|
}
|
|
223
223
|
}), Bt = Symbol("StateEditorSymbol");
|
|
224
|
-
function
|
|
225
|
-
const t =
|
|
224
|
+
function Wn(e) {
|
|
225
|
+
const t = V(e);
|
|
226
226
|
return ye(Bt, t), {
|
|
227
227
|
context: t
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
function st() {
|
|
231
|
-
return
|
|
231
|
+
return xe(Bt);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
const e =
|
|
233
|
+
function qn() {
|
|
234
|
+
const e = V(""), t = V("string"), o = V(!1), n = st();
|
|
235
235
|
return {
|
|
236
236
|
editingText: e,
|
|
237
237
|
editing: o,
|
|
@@ -242,7 +242,7 @@ function Jn() {
|
|
|
242
242
|
nodeId: $(() => n.value.nodeId)
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Jn(e, t) {
|
|
246
246
|
if (e === "array")
|
|
247
247
|
return t.length;
|
|
248
248
|
const o = "newProp";
|
|
@@ -254,14 +254,14 @@ function Yn(e, t) {
|
|
|
254
254
|
n++;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
const e =
|
|
257
|
+
function Yn() {
|
|
258
|
+
const e = V({
|
|
259
259
|
enable: !1,
|
|
260
260
|
key: "",
|
|
261
261
|
value: "undefined"
|
|
262
262
|
});
|
|
263
263
|
function t(n, l) {
|
|
264
|
-
const s =
|
|
264
|
+
const s = Jn(n, l);
|
|
265
265
|
e.value = {
|
|
266
266
|
enable: !0,
|
|
267
267
|
key: s.toString(),
|
|
@@ -282,14 +282,14 @@ function Xn() {
|
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
const Zt = "expanded-state";
|
|
285
|
-
function
|
|
286
|
-
const t =
|
|
285
|
+
function Ce(e = "") {
|
|
286
|
+
const t = V([]);
|
|
287
287
|
return ye(`${Zt}-${e}`, t), {
|
|
288
288
|
expanded: t
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
291
|
function at(e = "") {
|
|
292
|
-
const t =
|
|
292
|
+
const t = xe(`${Zt}-${e}`, V([]));
|
|
293
293
|
function o(n) {
|
|
294
294
|
const l = t.value.indexOf(n);
|
|
295
295
|
l === -1 ? t.value.push(n) : t.value.splice(l, 1);
|
|
@@ -300,11 +300,11 @@ function at(e = "") {
|
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
function it(e) {
|
|
303
|
-
return
|
|
303
|
+
return dn() ? (pn(e), !0) : !1;
|
|
304
304
|
}
|
|
305
305
|
const rt = typeof window < "u" && typeof document < "u";
|
|
306
306
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
307
|
-
const
|
|
307
|
+
const Xn = (e) => typeof e < "u", Qn = Object.prototype.toString, eo = (e) => Qn.call(e) === "[object Object]", qe = () => {
|
|
308
308
|
};
|
|
309
309
|
function Ft(e, t) {
|
|
310
310
|
function o(...n) {
|
|
@@ -314,7 +314,7 @@ function Ft(e, t) {
|
|
|
314
314
|
}
|
|
315
315
|
return o;
|
|
316
316
|
}
|
|
317
|
-
const
|
|
317
|
+
const to = (e) => e();
|
|
318
318
|
function Kt(e, t = {}) {
|
|
319
319
|
let o, n, l = qe;
|
|
320
320
|
const s = (r) => {
|
|
@@ -337,7 +337,7 @@ function St(e, t = !1, o = "Timeout") {
|
|
|
337
337
|
setTimeout(t ? () => l(o) : n, e);
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function no(e) {
|
|
341
341
|
let t;
|
|
342
342
|
function o() {
|
|
343
343
|
return t || (t = e()), t;
|
|
@@ -350,7 +350,7 @@ function oo(e) {
|
|
|
350
350
|
function Be(e) {
|
|
351
351
|
return Array.isArray(e) ? e : [e];
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function oo(e) {
|
|
354
354
|
return Qe();
|
|
355
355
|
}
|
|
356
356
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -360,9 +360,9 @@ function Tt(e, t = 200, o = {}) {
|
|
|
360
360
|
e
|
|
361
361
|
);
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function lo(e, t, o = {}) {
|
|
364
364
|
const {
|
|
365
|
-
eventFilter: n =
|
|
365
|
+
eventFilter: n = to,
|
|
366
366
|
...l
|
|
367
367
|
} = o;
|
|
368
368
|
return te(
|
|
@@ -374,8 +374,8 @@ function so(e, t, o = {}) {
|
|
|
374
374
|
l
|
|
375
375
|
);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
|
|
377
|
+
function so(e, t = !0, o) {
|
|
378
|
+
oo() ? At(e, o) : t ? e() : Ze(e);
|
|
379
379
|
}
|
|
380
380
|
function Je(e, t = !1) {
|
|
381
381
|
function o(d, { flush: g = "sync", deep: T = !1, timeout: R, throwOnTimeout: k } = {}) {
|
|
@@ -469,7 +469,7 @@ function Je(e, t = !1) {
|
|
|
469
469
|
function Gt(e) {
|
|
470
470
|
return Je(e);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function ao(e, t, o = {}) {
|
|
473
473
|
const {
|
|
474
474
|
immediate: n = !0,
|
|
475
475
|
immediateCallback: l = !1
|
|
@@ -487,7 +487,7 @@ function io(e, t, o = {}) {
|
|
|
487
487
|
}, Y(t));
|
|
488
488
|
}
|
|
489
489
|
return n && (s.value = !0, rt && f()), it(r), {
|
|
490
|
-
isPending:
|
|
490
|
+
isPending: cn(s),
|
|
491
491
|
start: f,
|
|
492
492
|
stop: r
|
|
493
493
|
};
|
|
@@ -514,7 +514,7 @@ function qt(e, t, o = {}) {
|
|
|
514
514
|
maxWait: l = void 0,
|
|
515
515
|
...s
|
|
516
516
|
} = o;
|
|
517
|
-
return
|
|
517
|
+
return lo(
|
|
518
518
|
e,
|
|
519
519
|
t,
|
|
520
520
|
{
|
|
@@ -523,7 +523,7 @@ function qt(e, t, o = {}) {
|
|
|
523
523
|
}
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function io(e, t, o) {
|
|
527
527
|
return te(
|
|
528
528
|
e,
|
|
529
529
|
t,
|
|
@@ -545,7 +545,7 @@ function ve(...e) {
|
|
|
545
545
|
}, n = (i, r, f, m) => (i.addEventListener(r, f, m), () => i.removeEventListener(r, f, m)), l = $(() => {
|
|
546
546
|
const i = Be(Y(e[0])).filter((r) => r != null);
|
|
547
547
|
return i.every((r) => typeof r != "string") ? i : void 0;
|
|
548
|
-
}), s =
|
|
548
|
+
}), s = io(
|
|
549
549
|
() => {
|
|
550
550
|
var i, r;
|
|
551
551
|
return [
|
|
@@ -559,7 +559,7 @@ function ve(...e) {
|
|
|
559
559
|
([i, r, f, m]) => {
|
|
560
560
|
if (o(), !i?.length || !r?.length || !f?.length)
|
|
561
561
|
return;
|
|
562
|
-
const d =
|
|
562
|
+
const d = eo(m) ? { ...m } : m;
|
|
563
563
|
t.push(
|
|
564
564
|
...i.flatMap(
|
|
565
565
|
(g) => r.flatMap(
|
|
@@ -575,7 +575,7 @@ function ve(...e) {
|
|
|
575
575
|
return it(o), p;
|
|
576
576
|
}
|
|
577
577
|
// @__NO_SIDE_EFFECTS__
|
|
578
|
-
function
|
|
578
|
+
function ro() {
|
|
579
579
|
const e = me(!1), t = Qe();
|
|
580
580
|
return t && At(() => {
|
|
581
581
|
e.value = !0;
|
|
@@ -583,10 +583,10 @@ function uo() {
|
|
|
583
583
|
}
|
|
584
584
|
// @__NO_SIDE_EFFECTS__
|
|
585
585
|
function ut(e) {
|
|
586
|
-
const t = /* @__PURE__ */
|
|
586
|
+
const t = /* @__PURE__ */ ro();
|
|
587
587
|
return $(() => (t.value, !!e()));
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function uo(e) {
|
|
590
590
|
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
591
591
|
}
|
|
592
592
|
function Ae(...e) {
|
|
@@ -597,7 +597,7 @@ function Ae(...e) {
|
|
|
597
597
|
eventName: s = "keydown",
|
|
598
598
|
passive: p = !1,
|
|
599
599
|
dedupe: i = !1
|
|
600
|
-
} = n, r =
|
|
600
|
+
} = n, r = uo(t);
|
|
601
601
|
return ve(l, s, (m) => {
|
|
602
602
|
m.repeat && Y(i) || r(m) && o(m);
|
|
603
603
|
}, p);
|
|
@@ -612,7 +612,7 @@ function Et(e, t = {}) {
|
|
|
612
612
|
i.value = (d = (m = s.value) == null ? void 0 : m.state) != null ? d : "prompt";
|
|
613
613
|
};
|
|
614
614
|
ve(s, "change", r, { passive: !0 });
|
|
615
|
-
const f =
|
|
615
|
+
const f = no(async () => {
|
|
616
616
|
if (l.value) {
|
|
617
617
|
if (!s.value)
|
|
618
618
|
try {
|
|
@@ -632,14 +632,14 @@ function Et(e, t = {}) {
|
|
|
632
632
|
query: f
|
|
633
633
|
} : i;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function co(e = {}) {
|
|
636
636
|
const {
|
|
637
637
|
navigator: t = Jt,
|
|
638
638
|
read: o = !1,
|
|
639
639
|
source: n,
|
|
640
640
|
copiedDuring: l = 1500,
|
|
641
641
|
legacy: s = !1
|
|
642
|
-
} = e, p = /* @__PURE__ */ ut(() => t && "clipboard" in t), i = /* @__PURE__ */ Et("clipboard-read"), r = /* @__PURE__ */ Et("clipboard-write"), f = $(() => p.value || s), m = me(""), d = me(!1), g =
|
|
642
|
+
} = e, p = /* @__PURE__ */ ut(() => t && "clipboard" in t), i = /* @__PURE__ */ Et("clipboard-read"), r = /* @__PURE__ */ Et("clipboard-write"), f = $(() => p.value || s), m = me(""), d = me(!1), g = ao(() => d.value = !1, l, { immediate: !1 });
|
|
643
643
|
async function T() {
|
|
644
644
|
let A = !(p.value && N(i.value));
|
|
645
645
|
if (!A)
|
|
@@ -681,10 +681,10 @@ function po(e = {}) {
|
|
|
681
681
|
copy: R
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function po(e) {
|
|
685
685
|
return JSON.parse(JSON.stringify(e));
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function fo(e, t, o = {}) {
|
|
688
688
|
const { window: n = He, ...l } = o;
|
|
689
689
|
let s;
|
|
690
690
|
const p = /* @__PURE__ */ ut(() => n && "ResizeObserver" in n), i = () => {
|
|
@@ -710,11 +710,11 @@ function vo(e, t, o = {}) {
|
|
|
710
710
|
stop: m
|
|
711
711
|
};
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function vo(e, t = { width: 0, height: 0 }, o = {}) {
|
|
714
714
|
const { window: n = He, box: l = "content-box" } = o, s = $(() => {
|
|
715
715
|
var d, g;
|
|
716
716
|
return (g = (d = ke(e)) == null ? void 0 : d.namespaceURI) == null ? void 0 : g.includes("svg");
|
|
717
|
-
}), p = me(t.width), i = me(t.height), { stop: r } =
|
|
717
|
+
}), p = me(t.width), i = me(t.height), { stop: r } = fo(
|
|
718
718
|
e,
|
|
719
719
|
([d]) => {
|
|
720
720
|
const g = l === "border-box" ? d.borderBoxSize : l === "content-box" ? d.contentBoxSize : d.devicePixelContentBoxSize;
|
|
@@ -732,7 +732,7 @@ function mo(e, t = { width: 0, height: 0 }, o = {}) {
|
|
|
732
732
|
},
|
|
733
733
|
o
|
|
734
734
|
);
|
|
735
|
-
|
|
735
|
+
so(() => {
|
|
736
736
|
const d = ke(e);
|
|
737
737
|
d && (p.value = "offsetWidth" in d ? d.offsetWidth : t.width, i.value = "offsetHeight" in d ? d.offsetHeight : t.height);
|
|
738
738
|
});
|
|
@@ -751,7 +751,7 @@ function mo(e, t = { width: 0, height: 0 }, o = {}) {
|
|
|
751
751
|
stop: m
|
|
752
752
|
};
|
|
753
753
|
}
|
|
754
|
-
const
|
|
754
|
+
const mo = {
|
|
755
755
|
ctrl: "control",
|
|
756
756
|
command: "meta",
|
|
757
757
|
cmd: "meta",
|
|
@@ -761,11 +761,11 @@ const ho = {
|
|
|
761
761
|
left: "arrowleft",
|
|
762
762
|
right: "arrowright"
|
|
763
763
|
};
|
|
764
|
-
function
|
|
764
|
+
function ho(e = {}) {
|
|
765
765
|
const {
|
|
766
766
|
reactive: t = !1,
|
|
767
767
|
target: o = He,
|
|
768
|
-
aliasMap: n =
|
|
768
|
+
aliasMap: n = mo,
|
|
769
769
|
passive: l = !0,
|
|
770
770
|
onEventFired: s = qe
|
|
771
771
|
} = e, p = xt(/* @__PURE__ */ new Set()), i = {
|
|
@@ -819,7 +819,7 @@ function go(e = {}) {
|
|
|
819
819
|
return k;
|
|
820
820
|
}
|
|
821
821
|
// @__NO_SIDE_EFFECTS__
|
|
822
|
-
function
|
|
822
|
+
function go(e, t, o, n = {}) {
|
|
823
823
|
var l, s, p;
|
|
824
824
|
const {
|
|
825
825
|
clone: i = !1,
|
|
@@ -831,11 +831,11 @@ function Co(e, t, o, n = {}) {
|
|
|
831
831
|
} = n, T = Qe(), R = o || T?.emit || ((l = T?.$emit) == null ? void 0 : l.bind(T)) || ((p = (s = T?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind(T?.proxy));
|
|
832
832
|
let k = f;
|
|
833
833
|
k = k || `update:${t.toString()}`;
|
|
834
|
-
const S = (w) => i ? typeof i == "function" ? i(w) :
|
|
834
|
+
const S = (w) => i ? typeof i == "function" ? i(w) : po(w) : w, N = () => Xn(e[t]) ? S(e[t]) : d, A = (w) => {
|
|
835
835
|
g ? g(w) && R(k, w) : R(k, w);
|
|
836
836
|
};
|
|
837
837
|
if (r) {
|
|
838
|
-
const w = N(), D =
|
|
838
|
+
const w = N(), D = V(w);
|
|
839
839
|
let j = !1;
|
|
840
840
|
return te(
|
|
841
841
|
() => e[t],
|
|
@@ -859,14 +859,14 @@ function Co(e, t, o, n = {}) {
|
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function Co(e, t = {}) {
|
|
863
863
|
const {
|
|
864
864
|
enter: o = () => {
|
|
865
865
|
},
|
|
866
866
|
leave: n = () => {
|
|
867
867
|
},
|
|
868
868
|
initial: l = !1
|
|
869
|
-
} = t, s =
|
|
869
|
+
} = t, s = V(l);
|
|
870
870
|
return ve(e, "mouseenter", () => {
|
|
871
871
|
s.value = !0, o();
|
|
872
872
|
}), ve(e, "mouseleave", () => {
|
|
@@ -875,7 +875,7 @@ function xo(e, t = {}) {
|
|
|
875
875
|
isHovering: s
|
|
876
876
|
};
|
|
877
877
|
}
|
|
878
|
-
const
|
|
878
|
+
const xo = { class: "flex pl5px" }, yo = { class: "w160px py5px" }, bo = /* @__PURE__ */ Z({
|
|
879
879
|
__name: "StateFieldEditor",
|
|
880
880
|
props: {
|
|
881
881
|
data: {},
|
|
@@ -886,14 +886,14 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
886
886
|
},
|
|
887
887
|
emits: ["enableEditInput", "addNewProp"],
|
|
888
888
|
setup(e) {
|
|
889
|
-
const t = e, o = st(), { copy: n, isSupported: l } =
|
|
889
|
+
const t = e, o = st(), { copy: n, isSupported: l } = co(), s = V(!1), p = $(() => Pt(t.data.value)), i = $(() => p.value.value), r = $(() => p.value.customType), f = $(() => i.value === null ? "null" : typeof i.value), m = {
|
|
890
890
|
flat: !0,
|
|
891
891
|
size: "mini"
|
|
892
892
|
}, d = $(() => ({
|
|
893
893
|
"opacity-0": !t.hovering
|
|
894
894
|
}));
|
|
895
895
|
async function g(R, k = !1) {
|
|
896
|
-
await
|
|
896
|
+
await E.value.editInspectorState({
|
|
897
897
|
path: t.data.path || [t.data.key],
|
|
898
898
|
inspectorId: o.value.inspectorId,
|
|
899
899
|
type: t.data.stateType,
|
|
@@ -904,13 +904,13 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
904
904
|
type: f.value,
|
|
905
905
|
remove: k
|
|
906
906
|
}
|
|
907
|
-
}), await
|
|
907
|
+
}), await E.value.sendInspectorState(o.value.inspectorId);
|
|
908
908
|
}
|
|
909
909
|
function T(R, k) {
|
|
910
910
|
const S = typeof R == "number" ? R + k : BigInt(R) + BigInt(k);
|
|
911
911
|
g(S);
|
|
912
912
|
}
|
|
913
|
-
return (R, k) => (c(), h("div",
|
|
913
|
+
return (R, k) => (c(), h("div", xo, [
|
|
914
914
|
!t.disableEdit && e.data.editable ? (c(), h(se, { key: 0 }, [
|
|
915
915
|
f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (c(), h(se, { key: 0 }, [
|
|
916
916
|
q((c(), B(a(fe), Se(m, {
|
|
@@ -980,7 +980,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
980
980
|
]),
|
|
981
981
|
_: 1
|
|
982
982
|
}, 16, ["class"])) : U("", !0),
|
|
983
|
-
y(a(
|
|
983
|
+
y(a(mn), {
|
|
984
984
|
class: ie({
|
|
985
985
|
"opacity-0": !e.hovering && !s.value
|
|
986
986
|
}),
|
|
@@ -992,7 +992,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
992
992
|
"onUpdate:visible": k[8] || (k[8] = (S) => s.value = S)
|
|
993
993
|
}, {
|
|
994
994
|
popper: M(() => [
|
|
995
|
-
u("div",
|
|
995
|
+
u("div", yo, [
|
|
996
996
|
y(a(yt), {
|
|
997
997
|
onClick: k[6] || (k[6] = (S) => a(n)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
|
|
998
998
|
}, {
|
|
@@ -1028,7 +1028,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1028
1028
|
}, 8, ["class", "disabled"])
|
|
1029
1029
|
]));
|
|
1030
1030
|
}
|
|
1031
|
-
}),
|
|
1031
|
+
}), _o = { class: "flex-inline items-center gap4px" }, We = /* @__PURE__ */ Z({
|
|
1032
1032
|
__name: "StateFieldInputEditor",
|
|
1033
1033
|
props: {
|
|
1034
1034
|
modelValue: {},
|
|
@@ -1038,11 +1038,11 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1038
1038
|
},
|
|
1039
1039
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
1040
1040
|
setup(e, { emit: t }) {
|
|
1041
|
-
const o = e, n = t, l = $(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } =
|
|
1041
|
+
const o = e, n = t, l = $(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = ho();
|
|
1042
1042
|
et(() => {
|
|
1043
1043
|
s.value ? n("cancel") : p.value && n("submit");
|
|
1044
1044
|
});
|
|
1045
|
-
const i = /* @__PURE__ */
|
|
1045
|
+
const i = /* @__PURE__ */ go(o, "modelValue", n);
|
|
1046
1046
|
function r(d) {
|
|
1047
1047
|
try {
|
|
1048
1048
|
return ze(d, o.customType), !0;
|
|
@@ -1050,11 +1050,11 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1050
1050
|
return !1;
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
const f =
|
|
1054
|
-
return te(i,
|
|
1053
|
+
const f = V(!1);
|
|
1054
|
+
return te(i, Tn(() => {
|
|
1055
1055
|
f.value = !r(i.value);
|
|
1056
|
-
}, 300)), (d, g) => (c(), h("span",
|
|
1057
|
-
y(a(
|
|
1056
|
+
}, 300)), (d, g) => (c(), h("span", _o, [
|
|
1057
|
+
y(a(ge), {
|
|
1058
1058
|
modelValue: a(i),
|
|
1059
1059
|
"onUpdate:modelValue": g[0] || (g[0] = (T) => Ke(i) ? i.value = T : null),
|
|
1060
1060
|
type: l.value,
|
|
@@ -1107,20 +1107,20 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1107
1107
|
], 64)) : U("", !0)
|
|
1108
1108
|
]));
|
|
1109
1109
|
}
|
|
1110
|
-
}),
|
|
1110
|
+
}), wo = {
|
|
1111
1111
|
key: 1,
|
|
1112
1112
|
pl5: ""
|
|
1113
|
-
},
|
|
1113
|
+
}, ko = {
|
|
1114
1114
|
"whitespace-nowrap": "",
|
|
1115
1115
|
"text-purple-700": "",
|
|
1116
1116
|
op70: "",
|
|
1117
1117
|
"dark:text-purple-300": ""
|
|
1118
|
-
},
|
|
1118
|
+
}, Io = ["innerHTML"], $o = { key: 0 }, So = {
|
|
1119
1119
|
"overflow-hidden": "",
|
|
1120
1120
|
"text-ellipsis": "",
|
|
1121
1121
|
"whitespace-nowrap": "",
|
|
1122
1122
|
"state-key": ""
|
|
1123
|
-
}, Vt = 30,
|
|
1123
|
+
}, Vt = 30, To = /* @__PURE__ */ Z({
|
|
1124
1124
|
__name: "StateFieldViewer",
|
|
1125
1125
|
props: {
|
|
1126
1126
|
data: {},
|
|
@@ -1129,7 +1129,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1129
1129
|
expandedStateId: {}
|
|
1130
1130
|
},
|
|
1131
1131
|
setup(e) {
|
|
1132
|
-
const t = e, o =
|
|
1132
|
+
const t = e, o = V(Vt), n = $(() => kn(t.data.value, !1, {
|
|
1133
1133
|
customClass: {
|
|
1134
1134
|
string: "max-w-120 truncate"
|
|
1135
1135
|
}
|
|
@@ -1143,7 +1143,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1143
1143
|
if (t.data.value?.fields?.abstract)
|
|
1144
1144
|
return "";
|
|
1145
1145
|
{
|
|
1146
|
-
const C = t.data.value?._custom?.type, P = l.value === "custom" && !C ? `"${n.value}"` : n.value === "" ? '""' : n.value, z = l.value === "custom" && C === "ref" ? bt(P) : l.value, oe = l.value === "string" ? "select-text" : "", we = `<span title="${l.value === "string" ?
|
|
1146
|
+
const C = t.data.value?._custom?.type, P = l.value === "custom" && !C ? `"${n.value}"` : n.value === "" ? '""' : n.value, z = l.value === "custom" && C === "ref" ? bt(P) : l.value, oe = l.value === "string" ? "select-text" : "", we = `<span title="${l.value === "string" ? In(t.data.value) : ""}" class="${z}-state-type flex whitespace-nowrap ${oe}">${P}</span>`;
|
|
1147
1147
|
return v ? `${we} <span class="text-gray-500">(${v})</span>` : we;
|
|
1148
1148
|
}
|
|
1149
1149
|
}), T = $(() => {
|
|
@@ -1175,17 +1175,17 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1175
1175
|
editable: t.data.editable && !P,
|
|
1176
1176
|
creating: !1
|
|
1177
1177
|
})), l.value !== "custom" && (z = Mt(z))), z === t.data.value ? [] : z);
|
|
1178
|
-
}), k = $(() => R.value.length > 0), S =
|
|
1178
|
+
}), k = $(() => R.value.length > 0), S = V(), N = st(), { isHovering: A } = Co(() => S.value), { editingType: w, editing: D, editingText: j, toggleEditing: K, nodeId: G } = qn();
|
|
1179
1179
|
te(() => D.value, (I) => {
|
|
1180
1180
|
if (I) {
|
|
1181
1181
|
const { value: v } = s.value;
|
|
1182
|
-
j.value =
|
|
1182
|
+
j.value = $n(v, s.value.customType);
|
|
1183
1183
|
} else
|
|
1184
1184
|
j.value = "";
|
|
1185
1185
|
});
|
|
1186
1186
|
async function O() {
|
|
1187
1187
|
const I = t.data;
|
|
1188
|
-
await
|
|
1188
|
+
await E.value.editInspectorState({
|
|
1189
1189
|
path: m.value,
|
|
1190
1190
|
inspectorId: N.value.inspectorId,
|
|
1191
1191
|
type: I.stateType,
|
|
@@ -1195,16 +1195,16 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1195
1195
|
type: w.value,
|
|
1196
1196
|
value: ze(j.value, s.value.customType)
|
|
1197
1197
|
}
|
|
1198
|
-
}), await
|
|
1198
|
+
}), await E.value.sendInspectorState(N.value.inspectorId), K();
|
|
1199
1199
|
}
|
|
1200
|
-
const { addNewProp: _, draftingNewProp: H, resetDrafting: ne } =
|
|
1200
|
+
const { addNewProp: _, draftingNewProp: H, resetDrafting: ne } = Yn();
|
|
1201
1201
|
function ae(I) {
|
|
1202
1202
|
const v = `${t.depth}-${t.index}`;
|
|
1203
1203
|
p.value.includes(v) || i(v), _(I, s.value.value);
|
|
1204
1204
|
}
|
|
1205
1205
|
async function W() {
|
|
1206
1206
|
const I = t.data;
|
|
1207
|
-
await
|
|
1207
|
+
await E.value.editInspectorState({
|
|
1208
1208
|
path: [...m.value, H.value.key],
|
|
1209
1209
|
inspectorId: N.value.inspectorId,
|
|
1210
1210
|
type: I.stateType,
|
|
@@ -1214,7 +1214,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1214
1214
|
type: typeof ze(H.value.value),
|
|
1215
1215
|
value: ze(H.value.value)
|
|
1216
1216
|
}
|
|
1217
|
-
}), await
|
|
1217
|
+
}), await E.value.sendInspectorState(N.value.inspectorId), ne();
|
|
1218
1218
|
}
|
|
1219
1219
|
return (I, v) => (c(), h("div", null, [
|
|
1220
1220
|
u("div", {
|
|
@@ -1227,8 +1227,8 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1227
1227
|
k.value ? (c(), B(lt, {
|
|
1228
1228
|
key: 0,
|
|
1229
1229
|
value: a(p).includes(`${e.depth}-${e.index}`)
|
|
1230
|
-
}, null, 8, ["value"])) : (c(), h("span",
|
|
1231
|
-
u("span",
|
|
1230
|
+
}, null, 8, ["value"])) : (c(), h("span", wo)),
|
|
1231
|
+
u("span", ko, re(d.value), 1),
|
|
1232
1232
|
v[5] || (v[5] = u("span", { mx1: "" }, ":", -1)),
|
|
1233
1233
|
a(D) ? (c(), B(We, {
|
|
1234
1234
|
key: 2,
|
|
@@ -1245,11 +1245,11 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1245
1245
|
q(u("span", {
|
|
1246
1246
|
class: "flex",
|
|
1247
1247
|
innerHTML: g.value
|
|
1248
|
-
}, null, 8,
|
|
1248
|
+
}, null, 8, Io), [
|
|
1249
1249
|
[a(J), T.value]
|
|
1250
1250
|
])
|
|
1251
1251
|
], 2),
|
|
1252
|
-
y(
|
|
1252
|
+
y(bo, {
|
|
1253
1253
|
hovering: a(A),
|
|
1254
1254
|
"disable-edit": a(N).disableEdit || a(D),
|
|
1255
1255
|
data: e.data,
|
|
@@ -1258,7 +1258,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1258
1258
|
onAddNewProp: ae
|
|
1259
1259
|
}, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
|
|
1260
1260
|
], 6),
|
|
1261
|
-
k.value && a(p).includes(`${e.depth}-${e.index}`) ? (c(), h("div",
|
|
1261
|
+
k.value && a(p).includes(`${e.depth}-${e.index}`) ? (c(), h("div", $o, [
|
|
1262
1262
|
y(Yt, {
|
|
1263
1263
|
data: R.value,
|
|
1264
1264
|
depth: e.depth,
|
|
@@ -1282,7 +1282,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1282
1282
|
key: 1,
|
|
1283
1283
|
style: Ee({ paddingLeft: `${(e.depth + 1) * 15 + 4}px` })
|
|
1284
1284
|
}, [
|
|
1285
|
-
u("span",
|
|
1285
|
+
u("span", So, [
|
|
1286
1286
|
y(We, {
|
|
1287
1287
|
modelValue: a(H).key,
|
|
1288
1288
|
"onUpdate:modelValue": v[3] || (v[3] = (C) => a(H).key = C),
|
|
@@ -1301,7 +1301,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1301
1301
|
])) : U("", !0)
|
|
1302
1302
|
]));
|
|
1303
1303
|
}
|
|
1304
|
-
}),
|
|
1304
|
+
}), Eo = /* @__PURE__ */ _e(To, [["__scopeId", "data-v-1662487a"]]), Yt = /* @__PURE__ */ Z({
|
|
1305
1305
|
__name: "ChildStateViewer",
|
|
1306
1306
|
props: {
|
|
1307
1307
|
data: {},
|
|
@@ -1312,7 +1312,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1312
1312
|
setup(e) {
|
|
1313
1313
|
return (t, o) => (c(), h("div", null, [
|
|
1314
1314
|
(c(!0), h(se, null, ce(e.data, (n, l) => (c(), h("div", { key: l }, [
|
|
1315
|
-
y(
|
|
1315
|
+
y(Eo, {
|
|
1316
1316
|
data: n,
|
|
1317
1317
|
depth: e.depth + 1,
|
|
1318
1318
|
index: `${e.index}-${l}`,
|
|
@@ -1321,14 +1321,14 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1321
1321
|
]))), 128))
|
|
1322
1322
|
]));
|
|
1323
1323
|
}
|
|
1324
|
-
}),
|
|
1324
|
+
}), Vo = ["onClick"], No = {
|
|
1325
1325
|
key: 1,
|
|
1326
1326
|
pl5: ""
|
|
1327
|
-
},
|
|
1327
|
+
}, Ao = {
|
|
1328
1328
|
"font-state-field": "",
|
|
1329
1329
|
"text-3.5": "",
|
|
1330
1330
|
"text-hex-a3a3a3": ""
|
|
1331
|
-
},
|
|
1331
|
+
}, Ro = { key: 0 }, Oe = /* @__PURE__ */ Z({
|
|
1332
1332
|
__name: "RootStateViewer",
|
|
1333
1333
|
props: {
|
|
1334
1334
|
data: {},
|
|
@@ -1346,7 +1346,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1346
1346
|
disableEdit: t.disableEdit
|
|
1347
1347
|
};
|
|
1348
1348
|
}
|
|
1349
|
-
const { context: n } =
|
|
1349
|
+
const { context: n } = Wn(o());
|
|
1350
1350
|
et(() => {
|
|
1351
1351
|
n.value = o();
|
|
1352
1352
|
});
|
|
@@ -1360,10 +1360,10 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1360
1360
|
r?.length ? (c(), B(lt, {
|
|
1361
1361
|
key: 0,
|
|
1362
1362
|
value: a(l).includes(`${m}`)
|
|
1363
|
-
}, null, 8, ["value"])) : (c(), h("span",
|
|
1364
|
-
u("span",
|
|
1365
|
-
], 10,
|
|
1366
|
-
r?.length && a(l).includes(`${m}`) ? (c(), h("div",
|
|
1363
|
+
}, null, 8, ["value"])) : (c(), h("span", No)),
|
|
1364
|
+
u("span", Ao, re(f), 1)
|
|
1365
|
+
], 10, Vo),
|
|
1366
|
+
r?.length && a(l).includes(`${m}`) ? (c(), h("div", Ro, [
|
|
1367
1367
|
y(Yt, {
|
|
1368
1368
|
data: r,
|
|
1369
1369
|
index: `${m}`,
|
|
@@ -1373,20 +1373,20 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1373
1373
|
]))), 128))
|
|
1374
1374
|
]));
|
|
1375
1375
|
}
|
|
1376
|
-
}),
|
|
1376
|
+
}), Do = { class: "p3" }, Po = ["onClick"], Lo = {
|
|
1377
1377
|
key: 0,
|
|
1378
1378
|
class: "absolute left-5px top-4.5 h10 w0 border-l-2",
|
|
1379
1379
|
border: "solid gray2"
|
|
1380
|
-
},
|
|
1380
|
+
}, Mo = { class: "h-full flex items-center truncate pl5" }, Ho = {
|
|
1381
1381
|
absolute: "",
|
|
1382
1382
|
"top-5": "",
|
|
1383
1383
|
pr2: "",
|
|
1384
1384
|
"text-3": "",
|
|
1385
1385
|
op40: ""
|
|
1386
|
-
},
|
|
1386
|
+
}, Oo = {
|
|
1387
1387
|
pl2: "",
|
|
1388
1388
|
op30: ""
|
|
1389
|
-
},
|
|
1389
|
+
}, Uo = /* @__PURE__ */ Z({
|
|
1390
1390
|
__name: "EventList",
|
|
1391
1391
|
props: /* @__PURE__ */ De({
|
|
1392
1392
|
data: {}
|
|
@@ -1396,7 +1396,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1396
1396
|
}),
|
|
1397
1397
|
emits: ["update:modelValue"],
|
|
1398
1398
|
setup(e) {
|
|
1399
|
-
const t = e, o = Ye(e, "modelValue"), n = ["#3e5770", "#42b983", "#0098c4"], l =
|
|
1399
|
+
const t = e, o = Ye(e, "modelValue"), n = ["#3e5770", "#42b983", "#0098c4"], l = V(null), s = $(() => {
|
|
1400
1400
|
let p = -1, i = 0;
|
|
1401
1401
|
return t.data.forEach((r, f) => {
|
|
1402
1402
|
(r.groupId !== i || p === -1) && (p = (p + 1) % n.length), i = r.groupId ?? i, r.id = f, r.color = n[p];
|
|
@@ -1404,8 +1404,8 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1404
1404
|
});
|
|
1405
1405
|
return te(() => s.value.length, (p) => {
|
|
1406
1406
|
l.value?.scrollToItem(p - 1);
|
|
1407
|
-
}, { flush: "post" }), (p, i) => (c(), h("div",
|
|
1408
|
-
y(a(
|
|
1407
|
+
}, { flush: "post" }), (p, i) => (c(), h("div", Do, [
|
|
1408
|
+
y(a(En), {
|
|
1409
1409
|
ref_key: "scrollerRef",
|
|
1410
1410
|
ref: l,
|
|
1411
1411
|
items: s.value,
|
|
@@ -1426,40 +1426,40 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1426
1426
|
class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
|
|
1427
1427
|
style: Ee({ border: `3px solid ${r.color}` })
|
|
1428
1428
|
}, null, 4),
|
|
1429
|
-
r.id < e.data.length - 1 ? (c(), h("span",
|
|
1430
|
-
u("p",
|
|
1431
|
-
u("span",
|
|
1429
|
+
r.id < e.data.length - 1 ? (c(), h("span", Lo)) : U("", !0),
|
|
1430
|
+
u("p", Mo, [
|
|
1431
|
+
u("span", Ho, "[" + re(a(An)(r.time)) + "]", 1),
|
|
1432
1432
|
Q(" " + re(r.title) + " ", 1),
|
|
1433
|
-
u("span",
|
|
1433
|
+
u("span", Oo, re(r.subtitle), 1)
|
|
1434
1434
|
])
|
|
1435
|
-
], 12,
|
|
1435
|
+
], 12, Po)
|
|
1436
1436
|
]),
|
|
1437
1437
|
_: 1
|
|
1438
1438
|
}, 8, ["items"])
|
|
1439
1439
|
]));
|
|
1440
1440
|
}
|
|
1441
|
-
}),
|
|
1441
|
+
}), jo = { class: "relative h-full flex flex-col" }, zo = {
|
|
1442
1442
|
key: 1,
|
|
1443
1443
|
class: "flex-1 overflow-hidden"
|
|
1444
|
-
},
|
|
1444
|
+
}, Bo = {
|
|
1445
1445
|
"h-full": "",
|
|
1446
1446
|
"select-none": "",
|
|
1447
1447
|
"overflow-scroll": "",
|
|
1448
1448
|
class: "no-scrollbar"
|
|
1449
|
-
},
|
|
1449
|
+
}, Zo = {
|
|
1450
1450
|
"h-full": "",
|
|
1451
1451
|
"overflow-scroll": "",
|
|
1452
1452
|
class: "no-scrollbar"
|
|
1453
|
-
},
|
|
1453
|
+
}, Fo = {
|
|
1454
1454
|
key: 3,
|
|
1455
1455
|
class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
|
|
1456
|
-
},
|
|
1456
|
+
}, Ko = { class: "flex items-center gap-2 px-1" }, Go = {
|
|
1457
1457
|
key: 0,
|
|
1458
1458
|
class: "recording recording-btn bg-[#ef4444]"
|
|
1459
|
-
},
|
|
1459
|
+
}, Wo = {
|
|
1460
1460
|
key: 1,
|
|
1461
1461
|
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
1462
|
-
},
|
|
1462
|
+
}, qo = { class: "flex items-center gap1" }, Jo = /* @__PURE__ */ Z({
|
|
1463
1463
|
__name: "index",
|
|
1464
1464
|
props: {
|
|
1465
1465
|
layerIds: {},
|
|
@@ -1470,9 +1470,9 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1470
1470
|
switcherVisible: { type: Boolean, default: !0 }
|
|
1471
1471
|
},
|
|
1472
1472
|
setup(e, { expose: t }) {
|
|
1473
|
-
const o = e, { expanded: n } =
|
|
1473
|
+
const o = e, { expanded: n } = Ce("timeline-state");
|
|
1474
1474
|
n.value = ["0", "1"];
|
|
1475
|
-
const l =
|
|
1475
|
+
const l = V([]), s = V(/* @__PURE__ */ new Map()), p = V(0), i = Lt(), r = $(() => i.timelineLayersState.value?.[o.pluginId]), f = $(() => l.value[p.value] ?? null), m = $(() => r.value ? "Stop recording" : "Start recording"), d = $(() => {
|
|
1476
1476
|
const A = [];
|
|
1477
1477
|
for (const w in f.value?.data)
|
|
1478
1478
|
A.push({
|
|
@@ -1510,8 +1510,8 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1510
1510
|
const { layerId: D, event: j } = w;
|
|
1511
1511
|
o.layerIds.includes(D) && (l.value.push(j), R(j));
|
|
1512
1512
|
}
|
|
1513
|
-
|
|
1514
|
-
|
|
1513
|
+
E.functions.on(X.TIMELINE_EVENT_UPDATED, k), Ie(() => {
|
|
1514
|
+
E.functions.off(X.TIMELINE_EVENT_UPDATED, k);
|
|
1515
1515
|
});
|
|
1516
1516
|
function S() {
|
|
1517
1517
|
l.value = [], s.value.clear();
|
|
@@ -1520,11 +1520,11 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1520
1520
|
clear: S
|
|
1521
1521
|
});
|
|
1522
1522
|
function N() {
|
|
1523
|
-
|
|
1523
|
+
E.value.updateTimelineLayersState({
|
|
1524
1524
|
[o.pluginId]: !r.value
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
|
-
return (A, w) => (c(), h("div",
|
|
1527
|
+
return (A, w) => (c(), h("div", jo, [
|
|
1528
1528
|
e.headerVisible ? (c(), B(Ve, {
|
|
1529
1529
|
key: 0,
|
|
1530
1530
|
"doc-link": e.docLink,
|
|
@@ -1535,7 +1535,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1535
1535
|
]),
|
|
1536
1536
|
_: 1
|
|
1537
1537
|
}, 8, ["doc-link", "github-repo-link"])) : U("", !0),
|
|
1538
|
-
l.value.length ? (c(), h("div",
|
|
1538
|
+
l.value.length ? (c(), h("div", zo, [
|
|
1539
1539
|
y(a(Le), { class: "h-full" }, {
|
|
1540
1540
|
default: M(() => [
|
|
1541
1541
|
y(a(de), {
|
|
@@ -1544,8 +1544,8 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1544
1544
|
"h-full": ""
|
|
1545
1545
|
}, {
|
|
1546
1546
|
default: M(() => [
|
|
1547
|
-
u("div",
|
|
1548
|
-
y(
|
|
1547
|
+
u("div", Bo, [
|
|
1548
|
+
y(Uo, {
|
|
1549
1549
|
modelValue: p.value,
|
|
1550
1550
|
"onUpdate:modelValue": w[0] || (w[0] = (D) => p.value = D),
|
|
1551
1551
|
data: l.value
|
|
@@ -1556,7 +1556,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1556
1556
|
}),
|
|
1557
1557
|
y(a(de), { size: "60" }, {
|
|
1558
1558
|
default: M(() => [
|
|
1559
|
-
u("div",
|
|
1559
|
+
u("div", Zo, [
|
|
1560
1560
|
y(Oe, {
|
|
1561
1561
|
class: "p3",
|
|
1562
1562
|
data: T.value,
|
|
@@ -1581,13 +1581,13 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1581
1581
|
])]),
|
|
1582
1582
|
_: 1
|
|
1583
1583
|
})),
|
|
1584
|
-
e.switcherVisible ? (c(), h("div",
|
|
1585
|
-
u("div",
|
|
1584
|
+
e.switcherVisible ? (c(), h("div", Fo, [
|
|
1585
|
+
u("div", Ko, [
|
|
1586
1586
|
q((c(), h("div", {
|
|
1587
1587
|
class: "flex items-center gap1",
|
|
1588
1588
|
onClick: N
|
|
1589
1589
|
}, [
|
|
1590
|
-
r.value ? (c(), h("span",
|
|
1590
|
+
r.value ? (c(), h("span", Go)) : (c(), h("span", Wo))
|
|
1591
1591
|
])), [
|
|
1592
1592
|
[
|
|
1593
1593
|
a(J),
|
|
@@ -1615,7 +1615,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1615
1615
|
{ "bottom-end": !0 }
|
|
1616
1616
|
]
|
|
1617
1617
|
]),
|
|
1618
|
-
q((c(), h("div",
|
|
1618
|
+
q((c(), h("div", qo, [
|
|
1619
1619
|
y(a(Fe), {
|
|
1620
1620
|
name: "baseline-tips-and-updates",
|
|
1621
1621
|
"cursor-pointer": "",
|
|
@@ -1635,70 +1635,53 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
|
|
|
1635
1635
|
])) : U("", !0)
|
|
1636
1636
|
]));
|
|
1637
1637
|
}
|
|
1638
|
-
}), ct = /* @__PURE__ */ _e(
|
|
1639
|
-
function
|
|
1640
|
-
const e =
|
|
1638
|
+
}), ct = /* @__PURE__ */ _e(Jo, [["__scopeId", "data-v-3dbcfd2a"]]);
|
|
1639
|
+
function hs() {
|
|
1640
|
+
const e = V([]), t = V([]);
|
|
1641
1641
|
function o(l) {
|
|
1642
1642
|
t.value = l, l.length < e.value.length && (e.value = []), t.value.forEach((s) => {
|
|
1643
1643
|
n(s);
|
|
1644
1644
|
});
|
|
1645
1645
|
}
|
|
1646
1646
|
Pe(() => {
|
|
1647
|
-
|
|
1647
|
+
E.value.getCustomInspector().then((l) => {
|
|
1648
1648
|
t.value = l, t.value.forEach((s) => {
|
|
1649
1649
|
n(s);
|
|
1650
1650
|
});
|
|
1651
|
-
}),
|
|
1651
|
+
}), E.functions.on(X.INSPECTOR_UPDATED, o);
|
|
1652
1652
|
});
|
|
1653
1653
|
function n(l) {
|
|
1654
1654
|
e.value.some((s) => s.id === l.id) || e.value.push(l);
|
|
1655
1655
|
}
|
|
1656
1656
|
return Ie(() => {
|
|
1657
|
-
|
|
1657
|
+
E.functions.off(X.INSPECTOR_UPDATED, o);
|
|
1658
1658
|
}), {
|
|
1659
1659
|
registeredInspector: e,
|
|
1660
1660
|
register: n
|
|
1661
1661
|
};
|
|
1662
1662
|
}
|
|
1663
|
-
const
|
|
1664
|
-
function Xo() {
|
|
1665
|
-
const e = E("");
|
|
1666
|
-
return ye(Xt, e), {
|
|
1667
|
-
selected: e
|
|
1668
|
-
};
|
|
1669
|
-
}
|
|
1670
|
-
function Qo() {
|
|
1671
|
-
const e = ge(Xt, E(""));
|
|
1672
|
-
function t(o) {
|
|
1673
|
-
e.value = o;
|
|
1674
|
-
}
|
|
1675
|
-
return {
|
|
1676
|
-
selected: e,
|
|
1677
|
-
select: t
|
|
1678
|
-
};
|
|
1679
|
-
}
|
|
1680
|
-
const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
1663
|
+
const Yo = ["onClick", "onDblclick", "onMouseover"], Xo = {
|
|
1681
1664
|
key: 1,
|
|
1682
1665
|
pl5: ""
|
|
1683
|
-
},
|
|
1666
|
+
}, Qo = {
|
|
1684
1667
|
"font-state-field": "",
|
|
1685
1668
|
"text-3.5": ""
|
|
1686
|
-
},
|
|
1669
|
+
}, el = {
|
|
1687
1670
|
key: 0,
|
|
1688
1671
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1689
|
-
},
|
|
1672
|
+
}, tl = {
|
|
1690
1673
|
"group-hover:text-white": "",
|
|
1691
1674
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1692
|
-
},
|
|
1675
|
+
}, nl = {
|
|
1693
1676
|
key: 2,
|
|
1694
1677
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1695
|
-
},
|
|
1678
|
+
}, ol = {
|
|
1696
1679
|
key: 2,
|
|
1697
1680
|
class: "ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"
|
|
1698
|
-
},
|
|
1681
|
+
}, ll = {
|
|
1699
1682
|
key: 3,
|
|
1700
1683
|
class: "ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"
|
|
1701
|
-
},
|
|
1684
|
+
}, sl = { key: 0 }, Ue = /* @__PURE__ */ Z({
|
|
1702
1685
|
__name: "TreeViewer",
|
|
1703
1686
|
props: /* @__PURE__ */ De({
|
|
1704
1687
|
data: {},
|
|
@@ -1711,7 +1694,6 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
|
1711
1694
|
emits: /* @__PURE__ */ De(["hover", "leave"], ["update:modelValue"]),
|
|
1712
1695
|
setup(e, { emit: t }) {
|
|
1713
1696
|
const o = t, n = Ye(e, "modelValue"), { expanded: l, toggleExpanded: s } = at();
|
|
1714
|
-
Qo();
|
|
1715
1697
|
function p(r) {
|
|
1716
1698
|
return "name" in r && r?.name || "label" in r && r.label;
|
|
1717
1699
|
}
|
|
@@ -1737,10 +1719,10 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
|
1737
1719
|
value: a(l).includes(m.id),
|
|
1738
1720
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1739
1721
|
onClick: he((g) => a(s)(m.id), ["stop"])
|
|
1740
|
-
}, null, 8, ["value", "onClick"])) : (c(), h("span",
|
|
1741
|
-
u("span",
|
|
1742
|
-
e.withTag ? (c(), h("span",
|
|
1743
|
-
u("span",
|
|
1722
|
+
}, null, 8, ["value", "onClick"])) : (c(), h("span", Xo)),
|
|
1723
|
+
u("span", Qo, [
|
|
1724
|
+
e.withTag ? (c(), h("span", el, "<")) : U("", !0),
|
|
1725
|
+
u("span", tl, re(p(m)), 1),
|
|
1744
1726
|
(m.renderKey === 0 || m.renderKey) && m.renderKey !== a(Dt) ? (c(), h("span", {
|
|
1745
1727
|
key: 1,
|
|
1746
1728
|
class: ie(["text-xs opacity-50", {
|
|
@@ -1753,14 +1735,14 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
|
1753
1735
|
f[4] || (f[4] = Q("=", -1)),
|
|
1754
1736
|
u("span", null, re(m.renderKey), 1)
|
|
1755
1737
|
], 2)) : U("", !0),
|
|
1756
|
-
e.withTag ? (c(), h("span",
|
|
1738
|
+
e.withTag ? (c(), h("span", nl, ">")) : U("", !0)
|
|
1757
1739
|
]),
|
|
1758
|
-
m.isFragment ? q((c(), h("span",
|
|
1740
|
+
m.isFragment ? q((c(), h("span", ol, [...f[5] || (f[5] = [
|
|
1759
1741
|
Q(" fragment ", -1)
|
|
1760
1742
|
])])), [
|
|
1761
1743
|
[a(J), "Has multiple root DOM nodes"]
|
|
1762
1744
|
]) : U("", !0),
|
|
1763
|
-
m.inactive ? q((c(), h("span",
|
|
1745
|
+
m.inactive ? q((c(), h("span", ll, [...f[6] || (f[6] = [
|
|
1764
1746
|
Q(" inactive ", -1)
|
|
1765
1747
|
])])), [
|
|
1766
1748
|
[a(J), "Currently inactive but not destroyed"]
|
|
@@ -1769,8 +1751,8 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
|
1769
1751
|
key: T,
|
|
1770
1752
|
tag: g
|
|
1771
1753
|
}, null, 8, ["tag"]))), 128))
|
|
1772
|
-
], 46,
|
|
1773
|
-
m?.children?.length && a(l).includes(m.id) ? (c(), h("div",
|
|
1754
|
+
], 46, Yo),
|
|
1755
|
+
m?.children?.length && a(l).includes(m.id) ? (c(), h("div", sl, [
|
|
1774
1756
|
y(Ue, {
|
|
1775
1757
|
modelValue: n.value,
|
|
1776
1758
|
"onUpdate:modelValue": f[1] || (f[1] = (g) => n.value = g),
|
|
@@ -1784,13 +1766,20 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
|
|
|
1784
1766
|
], 2))), 128));
|
|
1785
1767
|
}
|
|
1786
1768
|
}), Nt = 200;
|
|
1787
|
-
function
|
|
1769
|
+
function al() {
|
|
1788
1770
|
return {
|
|
1789
|
-
highlight: /* @__PURE__ */ Tt((o) =>
|
|
1790
|
-
unhighlight: /* @__PURE__ */ Tt(() =>
|
|
1771
|
+
highlight: /* @__PURE__ */ Tt((o) => E.value.highlighComponent(o), Nt),
|
|
1772
|
+
unhighlight: /* @__PURE__ */ Tt(() => E.value.unhighlight(), Nt)
|
|
1773
|
+
};
|
|
1774
|
+
}
|
|
1775
|
+
const il = Symbol("SelectedSymbolKey");
|
|
1776
|
+
function rl() {
|
|
1777
|
+
const e = V("");
|
|
1778
|
+
return ye(il, e), {
|
|
1779
|
+
selected: e
|
|
1791
1780
|
};
|
|
1792
1781
|
}
|
|
1793
|
-
const
|
|
1782
|
+
const ul = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212" }, cl = { class: "flex-1 overflow-scroll text-3.5" }, dl = /* @__PURE__ */ Z({
|
|
1794
1783
|
__name: "RenderCode",
|
|
1795
1784
|
props: {
|
|
1796
1785
|
code: {}
|
|
@@ -1801,7 +1790,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1801
1790
|
function n() {
|
|
1802
1791
|
o("close");
|
|
1803
1792
|
}
|
|
1804
|
-
return (l, s) => (c(), h("div",
|
|
1793
|
+
return (l, s) => (c(), h("div", ul, [
|
|
1805
1794
|
u("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
1806
1795
|
s[0] || (s[0] = u("span", { class: "font-500" }, "Render Code", -1)),
|
|
1807
1796
|
u("i", {
|
|
@@ -1809,38 +1798,38 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1809
1798
|
onClick: n
|
|
1810
1799
|
})
|
|
1811
1800
|
]),
|
|
1812
|
-
u("div",
|
|
1813
|
-
y(a(
|
|
1801
|
+
u("div", cl, [
|
|
1802
|
+
y(a(hn), {
|
|
1814
1803
|
code: e.code,
|
|
1815
1804
|
lang: "javascript"
|
|
1816
1805
|
}, null, 8, ["code"])
|
|
1817
1806
|
])
|
|
1818
1807
|
]));
|
|
1819
1808
|
}
|
|
1820
|
-
}),
|
|
1809
|
+
}), pl = { class: "h-full w-full" }, fl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, vl = {
|
|
1821
1810
|
key: 0,
|
|
1822
1811
|
class: "h-full flex flex-col p2"
|
|
1823
|
-
},
|
|
1812
|
+
}, ml = { class: "flex py2" }, hl = {
|
|
1824
1813
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1825
1814
|
style: { height: "1.1em", width: "1.1em" },
|
|
1826
1815
|
class: "op-80 hover:op-100",
|
|
1827
1816
|
viewBox: "0 0 24 24"
|
|
1828
|
-
},
|
|
1817
|
+
}, gl = { class: "h-full flex flex-col p2" }, Cl = { class: "flex py2" }, xl = {
|
|
1829
1818
|
key: 0,
|
|
1830
1819
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1831
|
-
},
|
|
1820
|
+
}, yl = {
|
|
1832
1821
|
"group-hover:text-white": "",
|
|
1833
1822
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1834
|
-
},
|
|
1823
|
+
}, bl = { class: "flex items-center gap-2 px-1" }, _l = { class: "h-full flex flex-col items-center justify-center gap-2" }, wl = { class: "block" }, kl = {
|
|
1835
1824
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1836
1825
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1837
1826
|
class: "animate-fade",
|
|
1838
1827
|
viewBox: "0 0 24 24"
|
|
1839
|
-
},
|
|
1828
|
+
}, Il = { class: "flex items-center justify-center" }, Re = "components", $l = /* @__PURE__ */ Z({
|
|
1840
1829
|
__name: "index",
|
|
1841
1830
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1842
1831
|
setup(e, { emit: t }) {
|
|
1843
|
-
const o = t, n =
|
|
1832
|
+
const o = t, n = V(), l = V(!1), { width: s } = vo(n), p = $(() => l.value ? s.value < 700 : !1), i = V(""), r = V(""), [f, m] = /* @__PURE__ */ Wt(!0), d = V(!1), g = V(!1), T = V(""), R = V(!1), k = al();
|
|
1844
1833
|
function S(b, x = [], L = []) {
|
|
1845
1834
|
return x.push(b.id), b.children?.length === 0 && L.push([...x]), Array.isArray(b.children) && b.children.forEach((F) => {
|
|
1846
1835
|
S(F, x, L);
|
|
@@ -1867,7 +1856,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1867
1856
|
ee !== -1 && L.push(...F.slice(0, ee + 1));
|
|
1868
1857
|
}), [...new Set(L)];
|
|
1869
1858
|
}
|
|
1870
|
-
const D =
|
|
1859
|
+
const D = V([]), j = $(() => D.value?.length ? S(D.value?.[0]) : []), K = $(() => N(D.value)), G = $(() => K.value.map((b) => b.id)), O = V({}), _ = V(""), H = $(() => {
|
|
1871
1860
|
const b = [], x = (L) => {
|
|
1872
1861
|
L.forEach((F) => {
|
|
1873
1862
|
F.id === _.value && b.push(F), F.children?.length && x(F.children);
|
|
@@ -1878,12 +1867,12 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1878
1867
|
state: O.value,
|
|
1879
1868
|
filterKey: r.value,
|
|
1880
1869
|
processGroup(b) {
|
|
1881
|
-
return
|
|
1870
|
+
return Vn(Object.values(Nn(Mt(b), "stateType")));
|
|
1882
1871
|
}
|
|
1883
|
-
})), { expanded: W } =
|
|
1884
|
-
|
|
1872
|
+
})), { expanded: W } = Ce(), { expanded: I } = Ce("component-state");
|
|
1873
|
+
rl();
|
|
1885
1874
|
async function v(b = "") {
|
|
1886
|
-
return
|
|
1875
|
+
return E.value.getInspectorTree({ inspectorId: Re, filter: b }).then((x) => {
|
|
1887
1876
|
const L = le(x);
|
|
1888
1877
|
D.value = L, _.value = D.value?.[0]?.id, W.value = A(j.value, 1), d.value = !0;
|
|
1889
1878
|
});
|
|
@@ -1897,7 +1886,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1897
1886
|
}), x;
|
|
1898
1887
|
}
|
|
1899
1888
|
function P(b) {
|
|
1900
|
-
|
|
1889
|
+
E.value.getInspectorState({ inspectorId: Re, nodeId: b }).then((x) => {
|
|
1901
1890
|
const L = le(x);
|
|
1902
1891
|
L && (O.value = C(L), I.value = Array.from({ length: Object.keys(O.value).length }, (F, ee) => `${ee}`));
|
|
1903
1892
|
});
|
|
@@ -1909,7 +1898,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1909
1898
|
const x = le(b);
|
|
1910
1899
|
x.inspectorId !== Re || x.nodeId !== _.value || (O.value = C({ state: x.state.state }));
|
|
1911
1900
|
}
|
|
1912
|
-
|
|
1901
|
+
E.functions.on(X.INSPECTOR_STATE_UPDATED, z), v();
|
|
1913
1902
|
function oe(b) {
|
|
1914
1903
|
const x = b.trim().toLowerCase();
|
|
1915
1904
|
m(), v(x).then(() => {
|
|
@@ -1923,34 +1912,34 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1923
1912
|
const x = le(b);
|
|
1924
1913
|
x.inspectorId === Re && (i.value ? oe(i.value) : D.value = x.rootNodes, G.value.includes(_.value) || (_.value = D.value?.[0]?.id, W.value = A(j.value, 1)));
|
|
1925
1914
|
}
|
|
1926
|
-
|
|
1927
|
-
|
|
1915
|
+
E.functions.on(X.INSPECTOR_TREE_UPDATED, we), Ie(() => {
|
|
1916
|
+
E.functions.off(X.INSPECTOR_STATE_UPDATED, z), E.functions.off(X.INSPECTOR_TREE_UPDATED, we);
|
|
1928
1917
|
});
|
|
1929
1918
|
const $e = Lt(), pt = $(() => $e.appRecords.value.map((b) => ({
|
|
1930
1919
|
label: b.name + (b.version ? ` (${b.version})` : ""),
|
|
1931
1920
|
value: b.id,
|
|
1932
1921
|
iframe: b.iframe
|
|
1933
|
-
}))),
|
|
1922
|
+
}))), tn = $(() => pt.value.map((b) => ({
|
|
1934
1923
|
label: b.label + (b.iframe ? ` (iframe: ${b.iframe})` : ""),
|
|
1935
1924
|
id: b.value
|
|
1936
|
-
}))), je =
|
|
1925
|
+
}))), je = V($e.activeAppRecordId.value);
|
|
1937
1926
|
et(() => {
|
|
1938
1927
|
je.value = $e.activeAppRecordId.value;
|
|
1939
1928
|
});
|
|
1940
1929
|
async function ft(b, x = {}) {
|
|
1941
|
-
await
|
|
1930
|
+
await E.value.toggleApp(b, x), _.value = "", await v();
|
|
1942
1931
|
}
|
|
1943
1932
|
async function vt() {
|
|
1944
1933
|
g.value = !0, o("onInspectComponentStart");
|
|
1945
1934
|
try {
|
|
1946
|
-
const b = JSON.parse(await
|
|
1947
|
-
je.value !== b.appId && await ft(x, { inspectingComponent: !0 }), _.value = b.id, W.value.includes(b.id) || W.value.push(b.id), W.value = [.../* @__PURE__ */ new Set([...W.value, ...w(j.value, b.id)])],
|
|
1935
|
+
const b = JSON.parse(await E.value.inspectComponentInspector()), x = b.id.split(":")[0];
|
|
1936
|
+
je.value !== b.appId && await ft(x, { inspectingComponent: !0 }), _.value = b.id, W.value.includes(b.id) || W.value.push(b.id), W.value = [.../* @__PURE__ */ new Set([...W.value, ...w(j.value, b.id)])], an();
|
|
1948
1937
|
} finally {
|
|
1949
1938
|
g.value = !1, o("onInspectComponentEnd");
|
|
1950
1939
|
}
|
|
1951
1940
|
}
|
|
1952
1941
|
function mt() {
|
|
1953
|
-
g.value = !1,
|
|
1942
|
+
g.value = !1, E.value.cancelInspectComponentInspector();
|
|
1954
1943
|
}
|
|
1955
1944
|
ve("keydown", (b) => {
|
|
1956
1945
|
b.key === "s" && (b.ctrlKey || b.metaKey) && !g.value ? vt() : b.key === "Escape" && g.value && mt();
|
|
@@ -1966,7 +1955,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1966
1955
|
else {
|
|
1967
1956
|
if (b === 0)
|
|
1968
1957
|
return !1;
|
|
1969
|
-
_.value =
|
|
1958
|
+
_.value = nn();
|
|
1970
1959
|
}
|
|
1971
1960
|
}), Ae("ArrowUp", () => {
|
|
1972
1961
|
const b = _.value, x = j.value.find((Ge) => Ge.includes(b));
|
|
@@ -1996,39 +1985,39 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
1996
1985
|
}
|
|
1997
1986
|
return F || x;
|
|
1998
1987
|
}
|
|
1999
|
-
function
|
|
1988
|
+
function nn() {
|
|
2000
1989
|
const b = j.value, x = [...b].findLastIndex((pe) => pe?.includes(_.value));
|
|
2001
1990
|
if (x === -1)
|
|
2002
1991
|
return _.value;
|
|
2003
1992
|
const L = b[x], F = b[x + 1], ee = F?.findIndex((pe, Ge) => pe !== L[Ge]) ?? -1;
|
|
2004
1993
|
return ee !== -1 ? F[ee] : _.value;
|
|
2005
1994
|
}
|
|
2006
|
-
function
|
|
2007
|
-
|
|
1995
|
+
function on() {
|
|
1996
|
+
E.value.scrollToComponent(_.value);
|
|
2008
1997
|
}
|
|
2009
|
-
function
|
|
2010
|
-
|
|
1998
|
+
function ln() {
|
|
1999
|
+
E.value.inspectDOM(_.value).then(() => {
|
|
2011
2000
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
2012
2001
|
});
|
|
2013
2002
|
}
|
|
2014
2003
|
function gt() {
|
|
2015
|
-
|
|
2004
|
+
E.value.getComponentRenderCode(_.value).then((b) => {
|
|
2016
2005
|
T.value = b, R.value = !0;
|
|
2017
2006
|
});
|
|
2018
2007
|
}
|
|
2019
|
-
function
|
|
2008
|
+
function sn() {
|
|
2020
2009
|
o("openInEditor", ne.value);
|
|
2021
2010
|
}
|
|
2022
|
-
const Ct =
|
|
2023
|
-
function
|
|
2011
|
+
const Ct = V();
|
|
2012
|
+
function an() {
|
|
2024
2013
|
setTimeout(() => {
|
|
2025
2014
|
Ct.value?.querySelector(".active")?.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
2026
2015
|
}, 300);
|
|
2027
2016
|
}
|
|
2028
|
-
function
|
|
2017
|
+
function rn() {
|
|
2029
2018
|
T.value = "", R.value = !1;
|
|
2030
2019
|
}
|
|
2031
|
-
return (b, x) => (c(), h("div",
|
|
2020
|
+
return (b, x) => (c(), h("div", pl, [
|
|
2032
2021
|
y(a(Le), {
|
|
2033
2022
|
ref_key: "splitpanesRef",
|
|
2034
2023
|
ref: n,
|
|
@@ -2043,11 +2032,11 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2043
2032
|
size: "20"
|
|
2044
2033
|
}, {
|
|
2045
2034
|
default: M(() => [
|
|
2046
|
-
u("div",
|
|
2047
|
-
y(
|
|
2035
|
+
u("div", fl, [
|
|
2036
|
+
y(Hn, {
|
|
2048
2037
|
modelValue: je.value,
|
|
2049
2038
|
"onUpdate:modelValue": x[0] || (x[0] = (L) => je.value = L),
|
|
2050
|
-
data:
|
|
2039
|
+
data: tn.value,
|
|
2051
2040
|
class: "w-full",
|
|
2052
2041
|
onSelect: ft
|
|
2053
2042
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -2060,9 +2049,9 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2060
2049
|
"h-full": ""
|
|
2061
2050
|
}, {
|
|
2062
2051
|
default: M(() => [
|
|
2063
|
-
d.value ? (c(), h("div",
|
|
2064
|
-
u("div",
|
|
2065
|
-
y(a(
|
|
2052
|
+
d.value ? (c(), h("div", vl, [
|
|
2053
|
+
u("div", ml, [
|
|
2054
|
+
y(a(ge), {
|
|
2066
2055
|
modelValue: i.value,
|
|
2067
2056
|
"onUpdate:modelValue": x[1] || (x[1] = (L) => i.value = L),
|
|
2068
2057
|
"loading-debounce-time": 250,
|
|
@@ -2070,13 +2059,13 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2070
2059
|
placeholder: "Find components...",
|
|
2071
2060
|
class: "flex-1 text-3.5"
|
|
2072
2061
|
}, null, 8, ["modelValue", "loading"]),
|
|
2073
|
-
a(
|
|
2062
|
+
a(Sn) ? U("", !0) : q((c(), h("button", {
|
|
2074
2063
|
key: 0,
|
|
2075
2064
|
"px-1": "",
|
|
2076
2065
|
class: "hover:color-#00dc82",
|
|
2077
2066
|
onClick: vt
|
|
2078
2067
|
}, [
|
|
2079
|
-
(c(), h("svg",
|
|
2068
|
+
(c(), h("svg", hl, [...x[6] || (x[6] = [
|
|
2080
2069
|
u("path", {
|
|
2081
2070
|
fill: "currentColor",
|
|
2082
2071
|
d: "M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"
|
|
@@ -2114,24 +2103,24 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2114
2103
|
"h-full": ""
|
|
2115
2104
|
}, {
|
|
2116
2105
|
default: M(() => [
|
|
2117
|
-
u("div",
|
|
2118
|
-
u("div",
|
|
2119
|
-
H.value?.name ? (c(), h("span",
|
|
2106
|
+
u("div", gl, [
|
|
2107
|
+
u("div", Cl, [
|
|
2108
|
+
H.value?.name ? (c(), h("span", xl, [
|
|
2120
2109
|
x[7] || (x[7] = u("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
|
|
2121
|
-
u("span",
|
|
2110
|
+
u("span", yl, re(H.value.name), 1),
|
|
2122
2111
|
x[8] || (x[8] = u("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
|
|
2123
2112
|
])) : U("", !0),
|
|
2124
|
-
y(a(
|
|
2113
|
+
y(a(ge), {
|
|
2125
2114
|
modelValue: r.value,
|
|
2126
2115
|
"onUpdate:modelValue": x[3] || (x[3] = (L) => r.value = L),
|
|
2127
2116
|
"loading-debounce-time": 250,
|
|
2128
2117
|
placeholder: "Filter State...",
|
|
2129
2118
|
class: "flex-1 text-3.5"
|
|
2130
2119
|
}, null, 8, ["modelValue"]),
|
|
2131
|
-
u("div",
|
|
2120
|
+
u("div", bl, [
|
|
2132
2121
|
q(u("i", {
|
|
2133
2122
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
2134
|
-
onClick:
|
|
2123
|
+
onClick: on
|
|
2135
2124
|
}, null, 512), [
|
|
2136
2125
|
[
|
|
2137
2126
|
a(J),
|
|
@@ -2154,7 +2143,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2154
2143
|
a(kt) ? q((c(), h("i", {
|
|
2155
2144
|
key: 0,
|
|
2156
2145
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
2157
|
-
onClick:
|
|
2146
|
+
onClick: ln
|
|
2158
2147
|
}, null, 512)), [
|
|
2159
2148
|
[
|
|
2160
2149
|
a(J),
|
|
@@ -2166,7 +2155,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2166
2155
|
ne.value ? q((c(), h("i", {
|
|
2167
2156
|
key: 1,
|
|
2168
2157
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
2169
|
-
onClick:
|
|
2158
|
+
onClick: sn
|
|
2170
2159
|
}, null, 512)), [
|
|
2171
2160
|
[
|
|
2172
2161
|
a(J),
|
|
@@ -2185,10 +2174,10 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2185
2174
|
"expanded-state-id": "component-state"
|
|
2186
2175
|
}, null, 8, ["data", "node-id"])
|
|
2187
2176
|
]),
|
|
2188
|
-
R.value && T.value ? (c(), B(
|
|
2177
|
+
R.value && T.value ? (c(), B(dl, {
|
|
2189
2178
|
key: 0,
|
|
2190
2179
|
code: T.value,
|
|
2191
|
-
onClose:
|
|
2180
|
+
onClose: rn
|
|
2192
2181
|
}, null, 8, ["code"])) : U("", !0)
|
|
2193
2182
|
]),
|
|
2194
2183
|
_: 1
|
|
@@ -2196,7 +2185,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2196
2185
|
]),
|
|
2197
2186
|
_: 1
|
|
2198
2187
|
}, 8, ["horizontal"]),
|
|
2199
|
-
a(kt) ? (c(), B(a(
|
|
2188
|
+
a(kt) ? (c(), B(a(gn), {
|
|
2200
2189
|
key: 0,
|
|
2201
2190
|
modelValue: g.value,
|
|
2202
2191
|
"onUpdate:modelValue": x[5] || (x[5] = (L) => g.value = L),
|
|
@@ -2205,7 +2194,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2205
2194
|
closable: !1
|
|
2206
2195
|
}, {
|
|
2207
2196
|
footer: M(() => [
|
|
2208
|
-
u("div",
|
|
2197
|
+
u("div", Il, [
|
|
2209
2198
|
y(a(fe), { onClick: mt }, {
|
|
2210
2199
|
default: M(() => [...x[11] || (x[11] = [
|
|
2211
2200
|
Q(" Cancel ", -1)
|
|
@@ -2215,9 +2204,9 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2215
2204
|
])
|
|
2216
2205
|
]),
|
|
2217
2206
|
default: M(() => [
|
|
2218
|
-
u("div",
|
|
2219
|
-
u("span",
|
|
2220
|
-
(c(), h("svg",
|
|
2207
|
+
u("div", _l, [
|
|
2208
|
+
u("span", wl, [
|
|
2209
|
+
(c(), h("svg", kl, [...x[9] || (x[9] = [
|
|
2221
2210
|
u("g", {
|
|
2222
2211
|
fill: "none",
|
|
2223
2212
|
stroke: "currentColor",
|
|
@@ -2242,9 +2231,9 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
|
|
|
2242
2231
|
}, 8, ["modelValue"])) : U("", !0)
|
|
2243
2232
|
]));
|
|
2244
2233
|
}
|
|
2245
|
-
}),
|
|
2246
|
-
function
|
|
2247
|
-
return c(), h("div",
|
|
2234
|
+
}), gs = /* @__PURE__ */ _e($l, [["__scopeId", "data-v-fbde5eca"]]), Sl = {}, Tl = { class: "h-screen w-screen $ui-fcc flex-col" };
|
|
2235
|
+
function El(e, t) {
|
|
2236
|
+
return c(), h("div", Tl, [
|
|
2248
2237
|
t[0] || (t[0] = u("div", { class: "outer" }, [
|
|
2249
2238
|
u("div", { class: "inner" }, [
|
|
2250
2239
|
u("i", {
|
|
@@ -2256,108 +2245,108 @@ function Vl(e, t) {
|
|
|
2256
2245
|
Xe(e.$slots, "default", {}, void 0, !0)
|
|
2257
2246
|
]);
|
|
2258
2247
|
}
|
|
2259
|
-
const
|
|
2248
|
+
const Vl = /* @__PURE__ */ _e(Sl, [["render", El], ["__scopeId", "data-v-b8018f07"]]), Xt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
2260
2249
|
function be() {
|
|
2261
|
-
return
|
|
2250
|
+
return xe(Xt);
|
|
2262
2251
|
}
|
|
2263
2252
|
function dt() {
|
|
2264
|
-
const e =
|
|
2253
|
+
const e = V({
|
|
2265
2254
|
homepage: "",
|
|
2266
2255
|
id: "",
|
|
2267
2256
|
label: "",
|
|
2268
2257
|
logo: "",
|
|
2269
2258
|
timelineLayerIds: []
|
|
2270
2259
|
});
|
|
2271
|
-
return ye(
|
|
2260
|
+
return ye(Xt, e), e;
|
|
2272
2261
|
}
|
|
2273
|
-
const
|
|
2262
|
+
const Nl = {}, Al = {
|
|
2274
2263
|
width: "175",
|
|
2275
2264
|
height: "34",
|
|
2276
2265
|
viewBox: "0 0 175 34",
|
|
2277
2266
|
fill: "none",
|
|
2278
2267
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2279
2268
|
};
|
|
2280
|
-
function
|
|
2281
|
-
return c(), h("svg",
|
|
2269
|
+
function Rl(e, t) {
|
|
2270
|
+
return c(), h("svg", Al, [...t[0] || (t[0] = [
|
|
2282
2271
|
u("path", {
|
|
2283
2272
|
fill: "currentColor",
|
|
2284
2273
|
d: "M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"
|
|
2285
2274
|
}, null, -1)
|
|
2286
2275
|
])]);
|
|
2287
2276
|
}
|
|
2288
|
-
const
|
|
2277
|
+
const Dl = /* @__PURE__ */ _e(Nl, [["render", Rl]]), Pl = {
|
|
2289
2278
|
"h-full": "",
|
|
2290
2279
|
"w-full": "",
|
|
2291
2280
|
flex: "",
|
|
2292
2281
|
"items-center": ""
|
|
2293
|
-
},
|
|
2282
|
+
}, Ll = {
|
|
2294
2283
|
flex: "~ col gap2",
|
|
2295
2284
|
ma: "",
|
|
2296
2285
|
"px-5": ""
|
|
2297
|
-
},
|
|
2286
|
+
}, Ml = {
|
|
2298
2287
|
flex: "~ col",
|
|
2299
2288
|
"mt-20": "",
|
|
2300
2289
|
"items-center": ""
|
|
2301
|
-
},
|
|
2290
|
+
}, Hl = {
|
|
2302
2291
|
flex: "~",
|
|
2303
2292
|
"mt--10": "",
|
|
2304
2293
|
"items-center": "",
|
|
2305
2294
|
"justify-center": ""
|
|
2306
|
-
},
|
|
2295
|
+
}, Ol = { class: "mr-1" }, Ul = {
|
|
2307
2296
|
key: 0,
|
|
2308
2297
|
class: "inline-block w20"
|
|
2309
|
-
},
|
|
2298
|
+
}, jl = ["src", "alt"], zl = {
|
|
2310
2299
|
key: 1,
|
|
2311
2300
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2312
|
-
},
|
|
2301
|
+
}, Bl = {
|
|
2313
2302
|
mb6: "",
|
|
2314
2303
|
"mt--1": "",
|
|
2315
2304
|
"text-center": "",
|
|
2316
2305
|
"text-sm": "",
|
|
2317
2306
|
flex: "~ gap-1"
|
|
2318
|
-
},
|
|
2307
|
+
}, Zl = { op40: "" }, Fl = { flex: "~ gap2 wrap" }, Kl = {
|
|
2319
2308
|
flex: "~ gap-6 wrap",
|
|
2320
2309
|
"mt-5": "",
|
|
2321
2310
|
"items-center": "",
|
|
2322
2311
|
"justify-center": ""
|
|
2323
|
-
},
|
|
2312
|
+
}, Gl = ["href"], Wl = /* @__PURE__ */ Z({
|
|
2324
2313
|
__name: "About",
|
|
2325
2314
|
setup(e) {
|
|
2326
|
-
const t = Me(), o = be(), n =
|
|
2315
|
+
const t = Me(), o = be(), n = V(!1), l = V(!1);
|
|
2327
2316
|
function s() {
|
|
2328
2317
|
n.value = !0;
|
|
2329
2318
|
}
|
|
2330
2319
|
function p() {
|
|
2331
2320
|
n.value = !0, l.value = !0;
|
|
2332
2321
|
}
|
|
2333
|
-
return (i, r) => (c(), h("div",
|
|
2334
|
-
u("div",
|
|
2322
|
+
return (i, r) => (c(), h("div", Pl, [
|
|
2323
|
+
u("div", Ll, [
|
|
2335
2324
|
r[5] || (r[5] = u("div", { "flex-auto": "" }, null, -1)),
|
|
2336
|
-
u("div",
|
|
2337
|
-
u("div",
|
|
2338
|
-
u("span",
|
|
2339
|
-
n.value ? U("", !0) : (c(), h("span",
|
|
2325
|
+
u("div", Ml, [
|
|
2326
|
+
u("div", Hl, [
|
|
2327
|
+
u("span", Ol, [
|
|
2328
|
+
n.value ? U("", !0) : (c(), h("span", Ul)),
|
|
2340
2329
|
q(u("img", {
|
|
2341
2330
|
src: a(o).logo,
|
|
2342
2331
|
alt: `${a(o).label} Logo`,
|
|
2343
2332
|
class: "inline-block h16",
|
|
2344
2333
|
onError: p,
|
|
2345
2334
|
onLoad: s
|
|
2346
|
-
}, null, 40,
|
|
2347
|
-
[
|
|
2335
|
+
}, null, 40, jl), [
|
|
2336
|
+
[fn, n.value && !l.value]
|
|
2348
2337
|
]),
|
|
2349
|
-
l.value ? (c(), h("span",
|
|
2338
|
+
l.value ? (c(), h("span", zl, re(a(o).label), 1)) : U("", !0)
|
|
2350
2339
|
]),
|
|
2351
2340
|
u("span", null, [
|
|
2352
|
-
y(
|
|
2341
|
+
y(Dl, { "h-18": "" })
|
|
2353
2342
|
])
|
|
2354
2343
|
]),
|
|
2355
|
-
u("div",
|
|
2356
|
-
u("span",
|
|
2344
|
+
u("div", Bl, [
|
|
2345
|
+
u("span", Zl, re(a(o).label) + " DevTools ", 1)
|
|
2357
2346
|
])
|
|
2358
2347
|
]),
|
|
2359
2348
|
r[6] || (r[6] = u("div", { "flex-auto": "" }, null, -1)),
|
|
2360
|
-
u("div",
|
|
2349
|
+
u("div", Fl, [
|
|
2361
2350
|
u("div", {
|
|
2362
2351
|
flex: "~ col auto",
|
|
2363
2352
|
"min-w-40": "",
|
|
@@ -2386,7 +2375,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2386
2375
|
u("div", null, "Timeline", -1)
|
|
2387
2376
|
])])) : U("", !0)
|
|
2388
2377
|
]),
|
|
2389
|
-
u("div",
|
|
2378
|
+
u("div", Kl, [
|
|
2390
2379
|
u("a", {
|
|
2391
2380
|
href: a(o).homepage,
|
|
2392
2381
|
target: "_blank",
|
|
@@ -2398,16 +2387,16 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2398
2387
|
}, [...r[4] || (r[4] = [
|
|
2399
2388
|
u("div", { "i-carbon-document": "" }, null, -1),
|
|
2400
2389
|
Q(" View Documentation ", -1)
|
|
2401
|
-
])], 8,
|
|
2390
|
+
])], 8, Gl)
|
|
2402
2391
|
]),
|
|
2403
2392
|
r[7] || (r[7] = u("div", { "flex-auto": "" }, null, -1))
|
|
2404
2393
|
])
|
|
2405
2394
|
]));
|
|
2406
2395
|
}
|
|
2407
|
-
}),
|
|
2396
|
+
}), ql = { class: "flex-1 overflow-y-auto p2" }, Jl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Yl = { class: "w-4/5" }, Xl = {
|
|
2408
2397
|
key: 0,
|
|
2409
2398
|
class: "flex justify-start"
|
|
2410
|
-
},
|
|
2399
|
+
}, Ql = { key: 1 }, Qt = /* @__PURE__ */ Z({
|
|
2411
2400
|
__name: "Settings",
|
|
2412
2401
|
props: {
|
|
2413
2402
|
pluginId: {},
|
|
@@ -2418,31 +2407,31 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2418
2407
|
setup(e, { emit: t }) {
|
|
2419
2408
|
const o = e, n = t, l = $(() => o.options), s = $(() => o.values);
|
|
2420
2409
|
function p(i, r) {
|
|
2421
|
-
|
|
2410
|
+
E.value.updatePluginSettings(o.pluginId, i, r), E.value.getPluginSettings(o.pluginId).then((f) => {
|
|
2422
2411
|
n("update", f);
|
|
2423
2412
|
});
|
|
2424
2413
|
}
|
|
2425
|
-
return (i, r) => (c(), h("div",
|
|
2414
|
+
return (i, r) => (c(), h("div", ql, [
|
|
2426
2415
|
u("ul", null, [
|
|
2427
2416
|
(c(!0), h(se, null, ce(l.value, (f, m) => (c(), h("li", {
|
|
2428
2417
|
key: m,
|
|
2429
2418
|
class: "flex items-center py-2"
|
|
2430
2419
|
}, [
|
|
2431
|
-
u("div",
|
|
2432
|
-
u("div",
|
|
2433
|
-
f.type === "boolean" ? (c(), h("div",
|
|
2434
|
-
y(a(
|
|
2420
|
+
u("div", Jl, re(f.label), 1),
|
|
2421
|
+
u("div", Yl, [
|
|
2422
|
+
f.type === "boolean" ? (c(), h("div", Xl, [
|
|
2423
|
+
y(a(Cn), {
|
|
2435
2424
|
"model-value": s.value[m],
|
|
2436
2425
|
class: "row-reverse flex py1 pl2 pr1 hover:bg-active",
|
|
2437
2426
|
"onUpdate:modelValue": (d) => p(m, d)
|
|
2438
2427
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2439
|
-
])) : f.type === "choice" ? (c(), h("div",
|
|
2440
|
-
y(a(
|
|
2428
|
+
])) : f.type === "choice" ? (c(), h("div", Ql, [
|
|
2429
|
+
y(a(xn), {
|
|
2441
2430
|
"model-value": s.value[m],
|
|
2442
2431
|
options: f.options,
|
|
2443
2432
|
"onUpdate:modelValue": (d) => p(m, d)
|
|
2444
2433
|
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
2445
|
-
])) : f.type === "text" ? (c(), B(a(
|
|
2434
|
+
])) : f.type === "text" ? (c(), B(a(ge), {
|
|
2446
2435
|
key: 2,
|
|
2447
2436
|
"model-value": s.value[m],
|
|
2448
2437
|
"onUpdate:modelValue": (d) => p(m, d)
|
|
@@ -2452,14 +2441,14 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2452
2441
|
])
|
|
2453
2442
|
]));
|
|
2454
2443
|
}
|
|
2455
|
-
}),
|
|
2444
|
+
}), e1 = { class: "h-full flex flex-col" }, t1 = /* @__PURE__ */ Z({
|
|
2456
2445
|
__name: "Settings",
|
|
2457
2446
|
setup(e) {
|
|
2458
|
-
const t =
|
|
2447
|
+
const t = xe("pluginSettings"), o = be(), n = $(() => t.value.options), l = $(() => t.value.values);
|
|
2459
2448
|
function s(p) {
|
|
2460
2449
|
t.value = p;
|
|
2461
2450
|
}
|
|
2462
|
-
return (p, i) => (c(), h("div",
|
|
2451
|
+
return (p, i) => (c(), h("div", e1, [
|
|
2463
2452
|
y(Ve, {
|
|
2464
2453
|
"doc-link": a(o).homepage
|
|
2465
2454
|
}, {
|
|
@@ -2468,7 +2457,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2468
2457
|
]),
|
|
2469
2458
|
_: 1
|
|
2470
2459
|
}, 8, ["doc-link"]),
|
|
2471
|
-
y(
|
|
2460
|
+
y(Qt, {
|
|
2472
2461
|
"plugin-id": a(o).pluginId,
|
|
2473
2462
|
options: n.value,
|
|
2474
2463
|
values: l.value,
|
|
@@ -2476,25 +2465,25 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2476
2465
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2477
2466
|
]));
|
|
2478
2467
|
}
|
|
2479
|
-
}),
|
|
2468
|
+
}), n1 = { class: "h-full flex flex-col" }, o1 = { class: "h-full flex flex-col p2" }, l1 = {
|
|
2480
2469
|
class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
|
|
2481
2470
|
border: "b dashed base"
|
|
2482
|
-
},
|
|
2471
|
+
}, s1 = {
|
|
2483
2472
|
key: 0,
|
|
2484
2473
|
class: "flex items-center gap-2 px-1"
|
|
2485
|
-
},
|
|
2474
|
+
}, a1 = ["onClick"], i1 = {
|
|
2486
2475
|
key: 0,
|
|
2487
2476
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2488
|
-
},
|
|
2477
|
+
}, r1 = { class: "h-full flex flex-col p2" }, u1 = {
|
|
2489
2478
|
class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
|
|
2490
2479
|
border: "b dashed base"
|
|
2491
|
-
},
|
|
2480
|
+
}, c1 = {
|
|
2492
2481
|
key: 0,
|
|
2493
2482
|
class: "flex items-center gap-2 px-1"
|
|
2494
|
-
},
|
|
2483
|
+
}, d1 = ["onClick"], p1 = /* @__PURE__ */ Z({
|
|
2495
2484
|
__name: "Index",
|
|
2496
2485
|
setup(e) {
|
|
2497
|
-
const { expanded: t } =
|
|
2486
|
+
const { expanded: t } = Ce(), { expanded: o } = Ce("custom-inspector-state"), n = be(), l = $(() => n.value.id), s = V([]), p = V([]), i = V([]), r = $(() => i.value?.length ? A(i.value?.[0]) : []), f = $(() => D(i.value)), m = $(() => f.value.map((v) => v.id)), d = V(""), g = V({}), T = $(() => !Object.keys(g.value).length), R = be(), k = V(""), S = V("");
|
|
2498
2487
|
te(k, (v, C) => {
|
|
2499
2488
|
!v.trim().length && !C.trim().length || ae(v);
|
|
2500
2489
|
});
|
|
@@ -2522,21 +2511,21 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2522
2511
|
return P(v), C;
|
|
2523
2512
|
}
|
|
2524
2513
|
function j() {
|
|
2525
|
-
|
|
2514
|
+
E.value.getInspectorNodeActions(l.value).then((v) => {
|
|
2526
2515
|
s.value = v;
|
|
2527
2516
|
});
|
|
2528
2517
|
}
|
|
2529
2518
|
function K() {
|
|
2530
|
-
|
|
2519
|
+
E.value.getInspectorActions(l.value).then((v) => {
|
|
2531
2520
|
p.value = v;
|
|
2532
2521
|
});
|
|
2533
2522
|
}
|
|
2534
2523
|
j(), K();
|
|
2535
2524
|
function G(v) {
|
|
2536
|
-
|
|
2525
|
+
E.value.callInspectorNodeAction(l.value, v, d.value);
|
|
2537
2526
|
}
|
|
2538
2527
|
function O(v) {
|
|
2539
|
-
|
|
2528
|
+
E.value.callInspectorAction(l.value, v);
|
|
2540
2529
|
}
|
|
2541
2530
|
function _(v) {
|
|
2542
2531
|
for (const C in v)
|
|
@@ -2544,7 +2533,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2544
2533
|
return v;
|
|
2545
2534
|
}
|
|
2546
2535
|
function H(v) {
|
|
2547
|
-
|
|
2536
|
+
E.value.getInspectorState({ inspectorId: l.value, nodeId: v }).then((C) => {
|
|
2548
2537
|
const P = le(C);
|
|
2549
2538
|
P && (g.value = _(P), o.value = Array.from({ length: Object.keys(g.value).length }, (z, oe) => `${oe}`));
|
|
2550
2539
|
});
|
|
@@ -2556,7 +2545,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2556
2545
|
ne(), H(d.value);
|
|
2557
2546
|
});
|
|
2558
2547
|
function ae(v = "") {
|
|
2559
|
-
|
|
2548
|
+
E.value.getInspectorTree({ inspectorId: l.value, filter: v }).then((C) => {
|
|
2560
2549
|
const P = le(C);
|
|
2561
2550
|
i.value = P, !d.value && P.length && (d.value = P[0].id, t.value = w(r.value, 1), H(P[0].id));
|
|
2562
2551
|
});
|
|
@@ -2574,10 +2563,10 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2574
2563
|
g.value = _(z);
|
|
2575
2564
|
}
|
|
2576
2565
|
return Pe(() => {
|
|
2577
|
-
|
|
2566
|
+
E.functions.on(X.INSPECTOR_TREE_UPDATED, W), E.functions.on(X.INSPECTOR_STATE_UPDATED, I);
|
|
2578
2567
|
}), Ie(() => {
|
|
2579
|
-
|
|
2580
|
-
}), (v, C) => (c(), h("div",
|
|
2568
|
+
E.functions.off(X.INSPECTOR_TREE_UPDATED, W), E.functions.off(X.INSPECTOR_STATE_UPDATED, I);
|
|
2569
|
+
}), (v, C) => (c(), h("div", n1, [
|
|
2581
2570
|
y(Ve, {
|
|
2582
2571
|
"doc-link": a(n).homepage
|
|
2583
2572
|
}, {
|
|
@@ -2602,14 +2591,14 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2602
2591
|
"h-full": ""
|
|
2603
2592
|
}, {
|
|
2604
2593
|
default: M(() => [
|
|
2605
|
-
u("div",
|
|
2606
|
-
u("div",
|
|
2607
|
-
y(a(
|
|
2594
|
+
u("div", o1, [
|
|
2595
|
+
u("div", l1, [
|
|
2596
|
+
y(a(ge), {
|
|
2608
2597
|
modelValue: k.value,
|
|
2609
2598
|
"onUpdate:modelValue": C[0] || (C[0] = (P) => k.value = P),
|
|
2610
2599
|
placeholder: a(R).treeFilterPlaceholder
|
|
2611
2600
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
2612
|
-
p.value?.length ? (c(), h("div",
|
|
2601
|
+
p.value?.length ? (c(), h("div", s1, [
|
|
2613
2602
|
(c(!0), h(se, null, ce(p.value, (P, z) => q((c(), h("div", {
|
|
2614
2603
|
key: z,
|
|
2615
2604
|
class: "flex items-center gap1",
|
|
@@ -2622,7 +2611,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2622
2611
|
op70: "",
|
|
2623
2612
|
"hover:op100": ""
|
|
2624
2613
|
}, null, 8, ["name"])
|
|
2625
|
-
], 8,
|
|
2614
|
+
], 8, a1)), [
|
|
2626
2615
|
[
|
|
2627
2616
|
a(J),
|
|
2628
2617
|
{ content: P.tooltip },
|
|
@@ -2632,7 +2621,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2632
2621
|
])), 128))
|
|
2633
2622
|
])) : U("", !0)
|
|
2634
2623
|
]),
|
|
2635
|
-
i.value.length ? (c(), h("div",
|
|
2624
|
+
i.value.length ? (c(), h("div", i1, [
|
|
2636
2625
|
y(Ue, {
|
|
2637
2626
|
modelValue: d.value,
|
|
2638
2627
|
"onUpdate:modelValue": C[1] || (C[1] = (P) => d.value = P),
|
|
@@ -2650,14 +2639,14 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2650
2639
|
}),
|
|
2651
2640
|
y(a(de), { size: "60" }, {
|
|
2652
2641
|
default: M(() => [
|
|
2653
|
-
u("div",
|
|
2654
|
-
u("div",
|
|
2655
|
-
y(a(
|
|
2642
|
+
u("div", r1, [
|
|
2643
|
+
u("div", u1, [
|
|
2644
|
+
y(a(ge), {
|
|
2656
2645
|
modelValue: S.value,
|
|
2657
2646
|
"onUpdate:modelValue": C[2] || (C[2] = (P) => S.value = P),
|
|
2658
2647
|
placeholder: a(R).stateFilterPlaceholder
|
|
2659
2648
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
2660
|
-
s.value?.length ? (c(), h("div",
|
|
2649
|
+
s.value?.length ? (c(), h("div", c1, [
|
|
2661
2650
|
(c(!0), h(se, null, ce(s.value, (P, z) => q((c(), h("div", {
|
|
2662
2651
|
key: z,
|
|
2663
2652
|
class: "flex items-center gap1",
|
|
@@ -2670,7 +2659,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2670
2659
|
op70: "",
|
|
2671
2660
|
"hover:op100": ""
|
|
2672
2661
|
}, null, 8, ["name"])
|
|
2673
|
-
], 8,
|
|
2662
|
+
], 8, d1)), [
|
|
2674
2663
|
[
|
|
2675
2664
|
a(J),
|
|
2676
2665
|
{ content: P.tooltip },
|
|
@@ -2702,7 +2691,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2702
2691
|
}))
|
|
2703
2692
|
]));
|
|
2704
2693
|
}
|
|
2705
|
-
}),
|
|
2694
|
+
}), f1 = /* @__PURE__ */ Z({
|
|
2706
2695
|
__name: "Index",
|
|
2707
2696
|
setup(e) {
|
|
2708
2697
|
const t = be();
|
|
@@ -2712,10 +2701,10 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2712
2701
|
"plugin-id": a(t).pluginId
|
|
2713
2702
|
}, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
|
|
2714
2703
|
}
|
|
2715
|
-
}),
|
|
2704
|
+
}), v1 = {
|
|
2716
2705
|
"h-full": "",
|
|
2717
2706
|
"w-full": ""
|
|
2718
|
-
},
|
|
2707
|
+
}, m1 = { key: 0 }, Cs = /* @__PURE__ */ Z({
|
|
2719
2708
|
__name: "index",
|
|
2720
2709
|
props: {
|
|
2721
2710
|
id: {},
|
|
@@ -2723,30 +2712,30 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2723
2712
|
},
|
|
2724
2713
|
emits: ["loadError"],
|
|
2725
2714
|
setup(e, { emit: t }) {
|
|
2726
|
-
const o = e, n = t, l = dt(), s =
|
|
2715
|
+
const o = e, n = t, l = dt(), s = V(!1), p = V(null);
|
|
2727
2716
|
ye("pluginSettings", p);
|
|
2728
2717
|
const i = $(() => [
|
|
2729
2718
|
{
|
|
2730
2719
|
path: "/state",
|
|
2731
2720
|
name: "State",
|
|
2732
|
-
component:
|
|
2721
|
+
component: p1,
|
|
2733
2722
|
icon: "i-carbon-tree-view-alt"
|
|
2734
2723
|
},
|
|
2735
2724
|
l.value.timelineLayerIds?.length && {
|
|
2736
2725
|
path: "/timeline",
|
|
2737
2726
|
name: "Timeline",
|
|
2738
|
-
component:
|
|
2727
|
+
component: f1,
|
|
2739
2728
|
icon: "i-mdi:timeline-clock-outline"
|
|
2740
2729
|
},
|
|
2741
2730
|
{
|
|
2742
2731
|
path: "/about",
|
|
2743
2732
|
name: "About",
|
|
2744
|
-
component:
|
|
2733
|
+
component: Wl
|
|
2745
2734
|
},
|
|
2746
2735
|
p.value && {
|
|
2747
2736
|
path: "/settings",
|
|
2748
2737
|
name: "Settings",
|
|
2749
|
-
component:
|
|
2738
|
+
component: t1,
|
|
2750
2739
|
icon: "i-mdi:cog-outline"
|
|
2751
2740
|
}
|
|
2752
2741
|
].filter(Boolean)), { VirtualRouterView: r, restoreRouter: f } = ot(i, {
|
|
@@ -2754,7 +2743,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2754
2743
|
});
|
|
2755
2744
|
function m() {
|
|
2756
2745
|
s.value = !0, Pe(() => {
|
|
2757
|
-
|
|
2746
|
+
E.value.getInspectorInfo(o.id).then((d) => {
|
|
2758
2747
|
if (!d) {
|
|
2759
2748
|
n("loadError");
|
|
2760
2749
|
return;
|
|
@@ -2770,7 +2759,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2770
2759
|
stateFilterPlaceholder: d.stateFilterPlaceholder
|
|
2771
2760
|
};
|
|
2772
2761
|
l.value = g, f(), s.value = !1;
|
|
2773
|
-
}),
|
|
2762
|
+
}), E.value.getPluginSettings(o.pluginId).then((d) => {
|
|
2774
2763
|
d.options ? p.value = d : p.value = null;
|
|
2775
2764
|
});
|
|
2776
2765
|
});
|
|
@@ -2780,51 +2769,51 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
|
|
|
2780
2769
|
}, {
|
|
2781
2770
|
immediate: !0
|
|
2782
2771
|
}), Ie(() => {
|
|
2783
|
-
|
|
2784
|
-
}), (d, g) => (c(), h("div",
|
|
2785
|
-
s.value ? (c(), h("div",
|
|
2786
|
-
y(
|
|
2772
|
+
E.value.unhighlight();
|
|
2773
|
+
}), (d, g) => (c(), h("div", v1, [
|
|
2774
|
+
s.value ? (c(), h("div", m1, [
|
|
2775
|
+
y(Vl)
|
|
2787
2776
|
])) : (c(), B(a(r), { key: 1 }))
|
|
2788
2777
|
]));
|
|
2789
2778
|
}
|
|
2790
|
-
}),
|
|
2779
|
+
}), h1 = {}, g1 = {
|
|
2791
2780
|
viewBox: "0 0 566 154",
|
|
2792
2781
|
fill: "none",
|
|
2793
2782
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2794
2783
|
};
|
|
2795
|
-
function
|
|
2796
|
-
return c(), h("svg",
|
|
2797
|
-
mn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
|
|
2784
|
+
function C1(e, t) {
|
|
2785
|
+
return c(), h("svg", g1, [...t[0] || (t[0] = [
|
|
2786
|
+
vn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
|
|
2798
2787
|
])]);
|
|
2799
2788
|
}
|
|
2800
|
-
const
|
|
2789
|
+
const x1 = /* @__PURE__ */ _e(h1, [["render", C1]]), y1 = {
|
|
2801
2790
|
"h-full": "",
|
|
2802
2791
|
"w-full": "",
|
|
2803
2792
|
flex: "",
|
|
2804
2793
|
"items-center": ""
|
|
2805
|
-
},
|
|
2794
|
+
}, b1 = {
|
|
2806
2795
|
flex: "~ col gap2",
|
|
2807
2796
|
ma: "",
|
|
2808
2797
|
"px-5": ""
|
|
2809
|
-
},
|
|
2798
|
+
}, _1 = {
|
|
2810
2799
|
flex: "~ col",
|
|
2811
2800
|
"mt-20": "",
|
|
2812
2801
|
"items-center": ""
|
|
2813
|
-
},
|
|
2802
|
+
}, w1 = {
|
|
2814
2803
|
flex: "~",
|
|
2815
2804
|
"mt--10": "",
|
|
2816
2805
|
"items-center": "",
|
|
2817
2806
|
"justify-center": ""
|
|
2818
|
-
},
|
|
2807
|
+
}, k1 = { flex: "~ gap2 wrap" }, I1 = /* @__PURE__ */ Z({
|
|
2819
2808
|
__name: "About",
|
|
2820
2809
|
setup(e) {
|
|
2821
2810
|
const t = Me();
|
|
2822
|
-
return (o, n) => (c(), h("div",
|
|
2823
|
-
u("div",
|
|
2811
|
+
return (o, n) => (c(), h("div", y1, [
|
|
2812
|
+
u("div", b1, [
|
|
2824
2813
|
n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
|
|
2825
|
-
u("div",
|
|
2826
|
-
u("div",
|
|
2827
|
-
y(
|
|
2814
|
+
u("div", _1, [
|
|
2815
|
+
u("div", w1, [
|
|
2816
|
+
y(x1, { "h-18": "" })
|
|
2828
2817
|
]),
|
|
2829
2818
|
n[2] || (n[2] = u("div", {
|
|
2830
2819
|
mb6: "",
|
|
@@ -2837,7 +2826,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2837
2826
|
], -1))
|
|
2838
2827
|
]),
|
|
2839
2828
|
n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
|
|
2840
|
-
u("div",
|
|
2829
|
+
u("div", k1, [
|
|
2841
2830
|
u("div", {
|
|
2842
2831
|
flex: "~ col auto",
|
|
2843
2832
|
"min-w-40": "",
|
|
@@ -2900,14 +2889,14 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2900
2889
|
])
|
|
2901
2890
|
]));
|
|
2902
2891
|
}
|
|
2903
|
-
}),
|
|
2892
|
+
}), $1 = { class: "h-full flex flex-col" }, S1 = /* @__PURE__ */ Z({
|
|
2904
2893
|
__name: "Settings",
|
|
2905
2894
|
setup(e) {
|
|
2906
|
-
const t =
|
|
2895
|
+
const t = xe("pluginSettings"), o = $(() => t.value.options), n = $(() => t.value.values);
|
|
2907
2896
|
function l(s) {
|
|
2908
2897
|
t.value = s;
|
|
2909
2898
|
}
|
|
2910
|
-
return (s, p) => (c(), h("div",
|
|
2899
|
+
return (s, p) => (c(), h("div", $1, [
|
|
2911
2900
|
y(Ve, {
|
|
2912
2901
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2913
2902
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
@@ -2917,7 +2906,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2917
2906
|
]),
|
|
2918
2907
|
_: 1
|
|
2919
2908
|
}),
|
|
2920
|
-
y(
|
|
2909
|
+
y(Qt, {
|
|
2921
2910
|
"plugin-id": "dev.esm.pinia",
|
|
2922
2911
|
options: o.value,
|
|
2923
2912
|
values: n.value,
|
|
@@ -2925,22 +2914,22 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2925
2914
|
}, null, 8, ["options", "values"])
|
|
2926
2915
|
]));
|
|
2927
2916
|
}
|
|
2928
|
-
}),
|
|
2917
|
+
}), T1 = "dev.esm.pinia", en = "pinia", E1 = { class: "h-full flex flex-col" }, V1 = { class: "h-full flex flex-col p2" }, N1 = {
|
|
2929
2918
|
class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
|
|
2930
2919
|
border: "b dashed base"
|
|
2931
|
-
},
|
|
2920
|
+
}, A1 = {
|
|
2932
2921
|
key: 0,
|
|
2933
2922
|
class: "flex items-center gap-2 px-1"
|
|
2934
|
-
},
|
|
2923
|
+
}, R1 = ["onClick"], D1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, P1 = { class: "h-full flex flex-col p2" }, L1 = {
|
|
2935
2924
|
class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
|
|
2936
2925
|
border: "b dashed base"
|
|
2937
|
-
},
|
|
2926
|
+
}, M1 = {
|
|
2938
2927
|
key: 0,
|
|
2939
2928
|
class: "flex items-center gap-2 px-1"
|
|
2940
|
-
},
|
|
2929
|
+
}, H1 = ["onClick"], O1 = /* @__PURE__ */ Z({
|
|
2941
2930
|
__name: "Index",
|
|
2942
2931
|
setup(e) {
|
|
2943
|
-
const { expanded: t } =
|
|
2932
|
+
const { expanded: t } = Ce(), { expanded: o } = Ce("pinia-store-state"), n = en, l = V([]), s = V([]), p = be(), i = V(""), r = V([]), f = $(() => r.value?.length ? N(r.value?.[0]) : []), m = $(() => w(r.value)), d = $(() => m.value.map((I) => I.id)), g = V({}), T = V(""), R = V("");
|
|
2944
2933
|
te(T, (I, v) => {
|
|
2945
2934
|
!I.trim().length && !v.trim().length || ne(I);
|
|
2946
2935
|
});
|
|
@@ -2968,21 +2957,21 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2968
2957
|
return C(I), v;
|
|
2969
2958
|
}
|
|
2970
2959
|
function D() {
|
|
2971
|
-
|
|
2960
|
+
E.value.getInspectorNodeActions(n).then((I) => {
|
|
2972
2961
|
l.value = I;
|
|
2973
2962
|
});
|
|
2974
2963
|
}
|
|
2975
2964
|
function j() {
|
|
2976
|
-
|
|
2965
|
+
E.value.getInspectorActions(n).then((I) => {
|
|
2977
2966
|
s.value = I;
|
|
2978
2967
|
});
|
|
2979
2968
|
}
|
|
2980
2969
|
D(), j();
|
|
2981
2970
|
function K(I) {
|
|
2982
|
-
|
|
2971
|
+
E.value.callInspectorNodeAction(n, I, i.value);
|
|
2983
2972
|
}
|
|
2984
2973
|
function G(I) {
|
|
2985
|
-
|
|
2974
|
+
E.value.callInspectorAction(n, I);
|
|
2986
2975
|
}
|
|
2987
2976
|
function O(I) {
|
|
2988
2977
|
for (const v in I)
|
|
@@ -2990,7 +2979,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
2990
2979
|
return I;
|
|
2991
2980
|
}
|
|
2992
2981
|
function _(I) {
|
|
2993
|
-
|
|
2982
|
+
E.value.getInspectorState({ inspectorId: n, nodeId: I }).then((v) => {
|
|
2994
2983
|
const C = le(v);
|
|
2995
2984
|
C && (g.value = O(C), o.value = Array.from({ length: Object.keys(g.value).length }, (P, z) => `${z}`));
|
|
2996
2985
|
});
|
|
@@ -3002,7 +2991,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3002
2991
|
H(), _(i.value);
|
|
3003
2992
|
});
|
|
3004
2993
|
function ne(I = "") {
|
|
3005
|
-
|
|
2994
|
+
E.value.getInspectorTree({ inspectorId: n, filter: I }).then((v) => {
|
|
3006
2995
|
const C = le(v);
|
|
3007
2996
|
r.value = C, !i.value && C.length && (i.value = C[0].id, _(C[0].id), t.value = A(f.value, 1));
|
|
3008
2997
|
});
|
|
@@ -3022,9 +3011,9 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3022
3011
|
getters: C.getters
|
|
3023
3012
|
}));
|
|
3024
3013
|
}
|
|
3025
|
-
return
|
|
3026
|
-
|
|
3027
|
-
}), (I, v) => (c(), h("div",
|
|
3014
|
+
return E.functions.on(X.INSPECTOR_TREE_UPDATED, ae), E.functions.on(X.INSPECTOR_STATE_UPDATED, W), Ie(() => {
|
|
3015
|
+
E.functions.off(X.INSPECTOR_TREE_UPDATED, ae), E.functions.off(X.INSPECTOR_STATE_UPDATED, W);
|
|
3016
|
+
}), (I, v) => (c(), h("div", E1, [
|
|
3028
3017
|
y(Ve, {
|
|
3029
3018
|
"doc-link": "https://pinia.vuejs.org/",
|
|
3030
3019
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
@@ -3042,14 +3031,14 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3042
3031
|
"h-full": ""
|
|
3043
3032
|
}, {
|
|
3044
3033
|
default: M(() => [
|
|
3045
|
-
u("div",
|
|
3046
|
-
u("div",
|
|
3047
|
-
y(a(
|
|
3034
|
+
u("div", V1, [
|
|
3035
|
+
u("div", N1, [
|
|
3036
|
+
y(a(ge), {
|
|
3048
3037
|
modelValue: T.value,
|
|
3049
3038
|
"onUpdate:modelValue": v[0] || (v[0] = (C) => T.value = C),
|
|
3050
3039
|
placeholder: a(p).treeFilterPlaceholder
|
|
3051
3040
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
3052
|
-
s.value?.length ? (c(), h("div",
|
|
3041
|
+
s.value?.length ? (c(), h("div", A1, [
|
|
3053
3042
|
(c(!0), h(se, null, ce(s.value, (C, P) => q((c(), h("div", {
|
|
3054
3043
|
key: P,
|
|
3055
3044
|
class: "flex items-center gap1",
|
|
@@ -3062,7 +3051,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3062
3051
|
op70: "",
|
|
3063
3052
|
"hover:op100": ""
|
|
3064
3053
|
}, null, 2)
|
|
3065
|
-
], 8,
|
|
3054
|
+
], 8, R1)), [
|
|
3066
3055
|
[
|
|
3067
3056
|
a(J),
|
|
3068
3057
|
{ content: C.tooltip },
|
|
@@ -3072,7 +3061,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3072
3061
|
])), 128))
|
|
3073
3062
|
])) : U("", !0)
|
|
3074
3063
|
]),
|
|
3075
|
-
u("div",
|
|
3064
|
+
u("div", D1, [
|
|
3076
3065
|
y(Ue, {
|
|
3077
3066
|
modelValue: i.value,
|
|
3078
3067
|
"onUpdate:modelValue": v[1] || (v[1] = (C) => i.value = C),
|
|
@@ -3085,14 +3074,14 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3085
3074
|
}),
|
|
3086
3075
|
y(a(de), { size: "60" }, {
|
|
3087
3076
|
default: M(() => [
|
|
3088
|
-
u("div",
|
|
3089
|
-
u("div",
|
|
3090
|
-
y(a(
|
|
3077
|
+
u("div", P1, [
|
|
3078
|
+
u("div", L1, [
|
|
3079
|
+
y(a(ge), {
|
|
3091
3080
|
modelValue: R.value,
|
|
3092
3081
|
"onUpdate:modelValue": v[2] || (v[2] = (C) => R.value = C),
|
|
3093
3082
|
placeholder: a(p).stateFilterPlaceholder
|
|
3094
3083
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
3095
|
-
l.value?.length ? (c(), h("div",
|
|
3084
|
+
l.value?.length ? (c(), h("div", M1, [
|
|
3096
3085
|
(c(!0), h(se, null, ce(l.value, (C, P) => q((c(), h("div", {
|
|
3097
3086
|
key: P,
|
|
3098
3087
|
class: "flex items-center gap1",
|
|
@@ -3105,7 +3094,7 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3105
3094
|
op70: "",
|
|
3106
3095
|
"hover:op100": ""
|
|
3107
3096
|
}, null, 2)
|
|
3108
|
-
], 8,
|
|
3097
|
+
], 8, H1)), [
|
|
3109
3098
|
[
|
|
3110
3099
|
a(J),
|
|
3111
3100
|
{ content: C.tooltip },
|
|
@@ -3137,73 +3126,73 @@ const ys = /* @__PURE__ */ _e(gs, [["render", xs]]), bs = {
|
|
|
3137
3126
|
})
|
|
3138
3127
|
]));
|
|
3139
3128
|
}
|
|
3140
|
-
}),
|
|
3129
|
+
}), U1 = "dev.esm.pinia", j1 = /* @__PURE__ */ Z({
|
|
3141
3130
|
__name: "Index",
|
|
3142
3131
|
setup(e) {
|
|
3143
3132
|
const t = ["pinia:mutations"];
|
|
3144
3133
|
return (o, n) => (c(), B(ct, {
|
|
3145
3134
|
"layer-ids": t,
|
|
3146
3135
|
"doc-link": "https://pinia.vuejs.org/",
|
|
3147
|
-
"plugin-id":
|
|
3136
|
+
"plugin-id": U1,
|
|
3148
3137
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
3149
3138
|
}));
|
|
3150
3139
|
}
|
|
3151
|
-
}),
|
|
3140
|
+
}), z1 = {
|
|
3152
3141
|
"h-full": "",
|
|
3153
3142
|
"w-full": ""
|
|
3154
|
-
},
|
|
3143
|
+
}, xs = /* @__PURE__ */ Z({
|
|
3155
3144
|
__name: "index",
|
|
3156
3145
|
setup(e) {
|
|
3157
|
-
const t =
|
|
3146
|
+
const t = V(null);
|
|
3158
3147
|
ye("pluginSettings", t);
|
|
3159
3148
|
const o = $(() => [
|
|
3160
3149
|
{
|
|
3161
3150
|
path: "/store",
|
|
3162
3151
|
name: "Store",
|
|
3163
|
-
component:
|
|
3152
|
+
component: O1,
|
|
3164
3153
|
icon: "i-carbon-tree-view-alt"
|
|
3165
3154
|
},
|
|
3166
3155
|
{
|
|
3167
3156
|
path: "/timeline",
|
|
3168
3157
|
name: "Timeline",
|
|
3169
|
-
component:
|
|
3158
|
+
component: j1,
|
|
3170
3159
|
icon: "i-mdi:timeline-clock-outline"
|
|
3171
3160
|
},
|
|
3172
3161
|
{
|
|
3173
3162
|
path: "/",
|
|
3174
3163
|
name: "About",
|
|
3175
|
-
component:
|
|
3164
|
+
component: I1,
|
|
3176
3165
|
icon: "i-logos-pinia"
|
|
3177
3166
|
},
|
|
3178
3167
|
t.value && {
|
|
3179
3168
|
path: "/settings",
|
|
3180
3169
|
name: "Settings",
|
|
3181
|
-
component:
|
|
3170
|
+
component: S1,
|
|
3182
3171
|
icon: "i-mdi:cog-outline"
|
|
3183
3172
|
}
|
|
3184
3173
|
].filter(Boolean)), { VirtualRouterView: n } = ot(o, {
|
|
3185
3174
|
defaultRoutePath: "/store"
|
|
3186
3175
|
}), l = dt();
|
|
3187
3176
|
return Pe(() => {
|
|
3188
|
-
|
|
3177
|
+
E.value.getPluginSettings(T1).then((s) => {
|
|
3189
3178
|
s.options ? t.value = s : t.value = null;
|
|
3190
|
-
}),
|
|
3179
|
+
}), E.value.getInspectorInfo(en).then((s) => {
|
|
3191
3180
|
s && (l.value = {
|
|
3192
3181
|
stateFilterPlaceholder: s.stateFilterPlaceholder,
|
|
3193
3182
|
treeFilterPlaceholder: s.treeFilterPlaceholder
|
|
3194
3183
|
});
|
|
3195
3184
|
});
|
|
3196
|
-
}), (s, p) => (c(), h("div",
|
|
3185
|
+
}), (s, p) => (c(), h("div", z1, [
|
|
3197
3186
|
y(a(n))
|
|
3198
3187
|
]));
|
|
3199
3188
|
}
|
|
3200
|
-
}),
|
|
3189
|
+
}), B1 = {}, Z1 = {
|
|
3201
3190
|
viewBox: "0 0 566 154",
|
|
3202
3191
|
fill: "none",
|
|
3203
3192
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3204
3193
|
};
|
|
3205
|
-
function
|
|
3206
|
-
return c(), h("svg",
|
|
3194
|
+
function F1(e, t) {
|
|
3195
|
+
return c(), h("svg", Z1, [...t[0] || (t[0] = [
|
|
3207
3196
|
u("svg", {
|
|
3208
3197
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3209
3198
|
width: "8em",
|
|
@@ -3221,34 +3210,34 @@ function Ks(e, t) {
|
|
|
3221
3210
|
}, null, -1)
|
|
3222
3211
|
])]);
|
|
3223
3212
|
}
|
|
3224
|
-
const
|
|
3213
|
+
const K1 = /* @__PURE__ */ _e(B1, [["render", F1]]), G1 = {
|
|
3225
3214
|
"h-full": "",
|
|
3226
3215
|
"w-full": "",
|
|
3227
3216
|
flex: "",
|
|
3228
3217
|
"items-center": ""
|
|
3229
|
-
},
|
|
3218
|
+
}, W1 = {
|
|
3230
3219
|
flex: "~ col gap2",
|
|
3231
3220
|
ma: "",
|
|
3232
3221
|
"px-5": ""
|
|
3233
|
-
},
|
|
3222
|
+
}, q1 = {
|
|
3234
3223
|
flex: "~ col",
|
|
3235
3224
|
"mt-20": "",
|
|
3236
3225
|
"items-center": ""
|
|
3237
|
-
},
|
|
3226
|
+
}, J1 = {
|
|
3238
3227
|
flex: "~",
|
|
3239
3228
|
"mt--10": "",
|
|
3240
3229
|
"items-center": "",
|
|
3241
3230
|
"justify-center": ""
|
|
3242
|
-
},
|
|
3231
|
+
}, Y1 = { flex: "~ gap2 wrap" }, X1 = /* @__PURE__ */ Z({
|
|
3243
3232
|
__name: "About",
|
|
3244
3233
|
setup(e) {
|
|
3245
3234
|
const t = Me();
|
|
3246
|
-
return (o, n) => (c(), h("div",
|
|
3247
|
-
u("div",
|
|
3235
|
+
return (o, n) => (c(), h("div", G1, [
|
|
3236
|
+
u("div", W1, [
|
|
3248
3237
|
n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
|
|
3249
|
-
u("div",
|
|
3250
|
-
u("div",
|
|
3251
|
-
y(
|
|
3238
|
+
u("div", q1, [
|
|
3239
|
+
u("div", J1, [
|
|
3240
|
+
y(K1, { "h-18": "" })
|
|
3252
3241
|
]),
|
|
3253
3242
|
n[2] || (n[2] = u("div", {
|
|
3254
3243
|
mb6: "",
|
|
@@ -3261,7 +3250,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3261
3250
|
], -1))
|
|
3262
3251
|
]),
|
|
3263
3252
|
n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
|
|
3264
|
-
u("div",
|
|
3253
|
+
u("div", Y1, [
|
|
3265
3254
|
u("div", {
|
|
3266
3255
|
flex: "~ col auto",
|
|
3267
3256
|
"min-w-40": "",
|
|
@@ -3324,20 +3313,20 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3324
3313
|
])
|
|
3325
3314
|
]));
|
|
3326
3315
|
}
|
|
3327
|
-
}),
|
|
3316
|
+
}), Q1 = { class: "h-full flex flex-col" }, es = {
|
|
3328
3317
|
"h-full": "",
|
|
3329
3318
|
"select-none": "",
|
|
3330
3319
|
"overflow-scroll": "",
|
|
3331
3320
|
p2: "",
|
|
3332
3321
|
class: "no-scrollbar"
|
|
3333
|
-
},
|
|
3322
|
+
}, ts = { class: "pb2" }, ns = {
|
|
3334
3323
|
"h-full": "",
|
|
3335
3324
|
"overflow-scroll": "",
|
|
3336
3325
|
class: "no-scrollbar"
|
|
3337
|
-
},
|
|
3326
|
+
}, os = /* @__PURE__ */ Z({
|
|
3338
3327
|
__name: "Index",
|
|
3339
3328
|
setup(e) {
|
|
3340
|
-
const { expanded: t } =
|
|
3329
|
+
const { expanded: t } = Ce(), { expanded: o } = Ce("routes-state"), n = be(), l = $(() => n.value.id), s = V(""), p = V(""), [i, r] = /* @__PURE__ */ Wt(!0), f = V([]), m = $(() => f.value?.length ? R(f.value?.[0]) : []), d = $(() => S(f.value)), g = $(() => d.value.map((O) => O.id)), T = V({});
|
|
3341
3330
|
function R(O, _ = [], H = []) {
|
|
3342
3331
|
return _.push(O.id), O.children?.length === 0 && H.push([..._]), Array.isArray(O.children) && O.children.forEach((ne) => {
|
|
3343
3332
|
R(ne, _, H);
|
|
@@ -3363,7 +3352,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3363
3352
|
return O;
|
|
3364
3353
|
}
|
|
3365
3354
|
function A(O) {
|
|
3366
|
-
|
|
3355
|
+
E.value.getInspectorState({ inspectorId: l.value, nodeId: O }).then((_) => {
|
|
3367
3356
|
const H = le(_);
|
|
3368
3357
|
H && (T.value = N(H), o.value = Array.from({ length: Object.keys(T.value).length }, (ne, ae) => `${ae}`));
|
|
3369
3358
|
});
|
|
@@ -3375,7 +3364,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3375
3364
|
w(), A(s.value);
|
|
3376
3365
|
});
|
|
3377
3366
|
const D = async (O = "") => {
|
|
3378
|
-
await
|
|
3367
|
+
await E.value.getInspectorTree({ inspectorId: l.value, filter: O }).then((_) => {
|
|
3379
3368
|
const H = le(_);
|
|
3380
3369
|
f.value = H, !s.value && H.length && (s.value = H[0].id, A(H[0].id), t.value = k(m.value, 1));
|
|
3381
3370
|
});
|
|
@@ -3394,8 +3383,8 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3394
3383
|
const H = _.state;
|
|
3395
3384
|
T.value = N(H);
|
|
3396
3385
|
}
|
|
3397
|
-
|
|
3398
|
-
|
|
3386
|
+
E.functions.on(X.INSPECTOR_TREE_UPDATED, j), E.functions.on(X.INSPECTOR_STATE_UPDATED, K), Ie(() => {
|
|
3387
|
+
E.functions.off(X.INSPECTOR_TREE_UPDATED, j), E.functions.off(X.INSPECTOR_STATE_UPDATED, K);
|
|
3399
3388
|
});
|
|
3400
3389
|
function G(O) {
|
|
3401
3390
|
const _ = O.trim().toLowerCase();
|
|
@@ -3405,7 +3394,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3405
3394
|
}
|
|
3406
3395
|
return qt(p, (O) => {
|
|
3407
3396
|
G(O);
|
|
3408
|
-
}, { debounce: 300 }), (O, _) => (c(), h("div",
|
|
3397
|
+
}, { debounce: 300 }), (O, _) => (c(), h("div", Q1, [
|
|
3409
3398
|
y(Ve, {
|
|
3410
3399
|
"doc-link": "https://router.vuejs.org/",
|
|
3411
3400
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
@@ -3423,9 +3412,9 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3423
3412
|
"h-full": ""
|
|
3424
3413
|
}, {
|
|
3425
3414
|
default: M(() => [
|
|
3426
|
-
u("div",
|
|
3427
|
-
u("div",
|
|
3428
|
-
y(a(
|
|
3415
|
+
u("div", es, [
|
|
3416
|
+
u("div", ts, [
|
|
3417
|
+
y(a(ge), {
|
|
3429
3418
|
modelValue: p.value,
|
|
3430
3419
|
"onUpdate:modelValue": _[0] || (_[0] = (H) => p.value = H),
|
|
3431
3420
|
placeholder: "Search routes",
|
|
@@ -3445,7 +3434,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3445
3434
|
}),
|
|
3446
3435
|
y(a(de), { size: "60" }, {
|
|
3447
3436
|
default: M(() => [
|
|
3448
|
-
u("div",
|
|
3437
|
+
u("div", ns, [
|
|
3449
3438
|
s.value ? (c(), B(Oe, {
|
|
3450
3439
|
key: 0,
|
|
3451
3440
|
class: "p3",
|
|
@@ -3468,43 +3457,43 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3468
3457
|
})
|
|
3469
3458
|
]));
|
|
3470
3459
|
}
|
|
3471
|
-
}),
|
|
3460
|
+
}), ls = "org.vuejs.router", ss = /* @__PURE__ */ Z({
|
|
3472
3461
|
__name: "Index",
|
|
3473
3462
|
setup(e) {
|
|
3474
3463
|
const t = be();
|
|
3475
3464
|
return (o, n) => (c(), B(ct, {
|
|
3476
3465
|
"layer-ids": a(t).timelineLayerIds,
|
|
3477
3466
|
"doc-link": "https://router.vuejs.org/",
|
|
3478
|
-
"plugin-id":
|
|
3467
|
+
"plugin-id": ls,
|
|
3479
3468
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3480
3469
|
}, null, 8, ["layer-ids"]));
|
|
3481
3470
|
}
|
|
3482
|
-
}),
|
|
3471
|
+
}), as = {
|
|
3483
3472
|
"h-full": "",
|
|
3484
3473
|
"w-full": ""
|
|
3485
|
-
},
|
|
3474
|
+
}, ys = /* @__PURE__ */ Z({
|
|
3486
3475
|
__name: "index",
|
|
3487
3476
|
props: {
|
|
3488
3477
|
id: {}
|
|
3489
3478
|
},
|
|
3490
3479
|
setup(e) {
|
|
3491
|
-
const t = e, o = dt(), n =
|
|
3480
|
+
const t = e, o = dt(), n = V(!1), { VirtualRouterView: l, restoreRouter: s } = ot([
|
|
3492
3481
|
{
|
|
3493
3482
|
path: "/routes",
|
|
3494
3483
|
name: "Routes",
|
|
3495
|
-
component:
|
|
3484
|
+
component: os,
|
|
3496
3485
|
icon: "i-carbon-tree-view-alt"
|
|
3497
3486
|
},
|
|
3498
3487
|
{
|
|
3499
3488
|
path: "/timeline",
|
|
3500
3489
|
name: "Timeline",
|
|
3501
|
-
component:
|
|
3490
|
+
component: ss,
|
|
3502
3491
|
icon: "i-mdi:timeline-clock-outline"
|
|
3503
3492
|
},
|
|
3504
3493
|
{
|
|
3505
3494
|
path: "/about",
|
|
3506
3495
|
name: "About",
|
|
3507
|
-
component:
|
|
3496
|
+
component: X1,
|
|
3508
3497
|
icon: "i-ri-route-line"
|
|
3509
3498
|
}
|
|
3510
3499
|
], {
|
|
@@ -3512,7 +3501,7 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3512
3501
|
});
|
|
3513
3502
|
function p() {
|
|
3514
3503
|
n.value = !0, Pe(() => {
|
|
3515
|
-
|
|
3504
|
+
E.value.getInspectorInfo(t.id).then((i) => {
|
|
3516
3505
|
if (!i)
|
|
3517
3506
|
return;
|
|
3518
3507
|
const r = {
|
|
@@ -3528,17 +3517,17 @@ const Gs = /* @__PURE__ */ _e(Zs, [["render", Ks]]), Ws = {
|
|
|
3528
3517
|
}
|
|
3529
3518
|
return te(() => t.id, (i) => {
|
|
3530
3519
|
i && p();
|
|
3531
|
-
}), (i, r) => (c(), h("div",
|
|
3520
|
+
}), (i, r) => (c(), h("div", as, [
|
|
3532
3521
|
y(a(l))
|
|
3533
3522
|
]));
|
|
3534
3523
|
}
|
|
3535
3524
|
});
|
|
3536
3525
|
export {
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3526
|
+
gs as Components,
|
|
3527
|
+
Cs as CustomInspector,
|
|
3528
|
+
xs as Pinia,
|
|
3529
|
+
ys as Router,
|
|
3530
|
+
Hn as SelectiveList,
|
|
3542
3531
|
ct as Timeline,
|
|
3543
|
-
|
|
3532
|
+
hs as useCustomInspector
|
|
3544
3533
|
};
|