@vue/devtools-applet 7.5.6 → 7.6.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.css +1 -1
- package/dist/index.js +998 -970
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { defineComponent as B, withDirectives as W, openBlock as p, createElementBlock as
|
|
2
|
-
import { vTooltip as
|
|
3
|
-
import { isPlainObject as
|
|
4
|
-
import { rpc as P, useDevToolsState as
|
|
1
|
+
import { defineComponent as B, withDirectives as W, openBlock as p, createElementBlock as f, normalizeStyle as Ie, unref as c, createTextVNode as Y, toDisplayString as le, mergeModels as ze, useModel as et, Fragment as ne, renderList as ie, normalizeClass as oe, createBlock as z, toValue as vt, ref as T, computed as V, h as Xt, provide as ge, inject as ve, createElementVNode as d, renderSlot as tt, createCommentVNode as j, isRef as Ke, watch as ee, onMounted as St, nextTick as Be, readonly as Qt, getCurrentScope as en, onScopeDispose as tn, getCurrentInstance as nt, reactive as mt, shallowRef as ht, toRaw as Tt, mergeProps as ke, withModifiers as fe, withCtx as H, createVNode as x, watchEffect as ot, onUnmounted as be, vShow as nn, createStaticVNode as on } from "vue";
|
|
2
|
+
import { vTooltip as q, VueButton as de, VueIcon as se, VueDropdown as ln, VueDropdownButton as gt, VueInput as Ze, VueIcIcon as Fe, VueCodeBlock as sn, VueDialog as an, VueSwitch as rn, VueSelect as un } from "@vue/devtools-ui";
|
|
3
|
+
import { isPlainObject as cn, UNDEFINED as Et, NAN as dn, INFINITY as pn, NEGATIVE_INFINITY as fn, getRaw as Vt, toSubmit as Ue, formatInspectorStateValue as vn, getInspectorStateValueType as Ct, toEdit as mn, parse as Q } from "@vue/devtools-kit";
|
|
4
|
+
import { rpc as P, useDevToolsState as Nt, DevToolsMessagingEvents as J, onRpcConnected as Re } from "@vue/devtools-core";
|
|
5
5
|
import { Splitpanes as Ae, Pane as ue } from "splitpanes";
|
|
6
|
-
import { isArray as _t, isObject as
|
|
6
|
+
import { isArray as _t, isObject as yt, sortByKey as Rt, isInSeparateWindow as hn, isInChromePanel as xt } from "@vue/devtools-shared";
|
|
7
7
|
import { debounce as gn } from "perfect-debounce";
|
|
8
8
|
import { RecycleScroller as Cn } from "vue-virtual-scroller";
|
|
9
|
-
import { flatten as _n, groupBy as
|
|
9
|
+
import { flatten as _n, groupBy as yn } from "lodash-es";
|
|
10
10
|
function bt(n) {
|
|
11
11
|
return n.toString(16).padStart(6, "0");
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function xn(n, e) {
|
|
14
14
|
const o = new Date(n);
|
|
15
15
|
return `${o.toString().match(/\d\d:\d\d:\d\d/)[0]}${e === "ms" ? `.${String(o.getMilliseconds()).padStart(3, "0")}` : ""}`;
|
|
16
16
|
}
|
|
17
17
|
function bn(n, e) {
|
|
18
|
-
const o = /* @__PURE__ */ new Map(), t =
|
|
18
|
+
const o = /* @__PURE__ */ new Map(), t = Dt(n, e.toLowerCase(), o, 0);
|
|
19
19
|
return o.clear(), t;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
if (t >
|
|
21
|
+
const At = 10;
|
|
22
|
+
function Dt(n, e, o, t) {
|
|
23
|
+
if (t > At)
|
|
24
24
|
return !1;
|
|
25
25
|
let s = !1;
|
|
26
26
|
const l = Object.keys(n);
|
|
27
|
-
let
|
|
28
|
-
for (let
|
|
27
|
+
let u, i;
|
|
28
|
+
for (let r = 0; r < l.length && (u = l[r], i = n[u], s = Pt(e, u, i, o, t + 1), !s); r++)
|
|
29
29
|
;
|
|
30
30
|
return s;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
let l = !1,
|
|
34
|
-
return e === "_custom" && (e = o.display, o = o.value), (
|
|
32
|
+
function Pt(n, e, o, t, s) {
|
|
33
|
+
let l = !1, u;
|
|
34
|
+
return e === "_custom" && (e = o.display, o = o.value), (u = wn(o)) && (o = u), e && wt(e, n) ? (l = !0, t.set(o, !0)) : t.has(o) ? l = t.get(o) : Array.isArray(o) ? (t.set(o, null), l = kn(o, n, t, s), t.set(o, l)) : cn(o) ? (t.set(o, null), l = Dt(o, n, t, s), t.set(o, l)) : wt(o, n) && (l = !0, t.set(o, !0)), l;
|
|
35
35
|
}
|
|
36
36
|
function wt(n, e) {
|
|
37
37
|
return `${n}`.toLowerCase().includes(e);
|
|
38
38
|
}
|
|
39
39
|
function wn(n) {
|
|
40
|
-
return n === null ? "null" : n ===
|
|
40
|
+
return n === null ? "null" : n === Et ? "undefined" : n === dn ? "NaN" : n === pn ? "Infinity" : n === fn ? "-Infinity" : !1;
|
|
41
41
|
}
|
|
42
42
|
function kn(n, e, o, t) {
|
|
43
|
-
if (t >
|
|
43
|
+
if (t > At)
|
|
44
44
|
return !1;
|
|
45
45
|
let s = !1, l;
|
|
46
|
-
for (let
|
|
46
|
+
for (let u = 0; u < n.length && (l = n[u], s = Pt(e, null, l, o, t + 1), !s); u++)
|
|
47
47
|
;
|
|
48
48
|
return s;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const Mt = /* @__PURE__ */ B({
|
|
51
51
|
__name: "NodeTag",
|
|
52
52
|
props: {
|
|
53
53
|
tag: {}
|
|
54
54
|
},
|
|
55
55
|
setup(n) {
|
|
56
|
-
return (e, o) => W((p(),
|
|
56
|
+
return (e, o) => W((p(), f("span", {
|
|
57
57
|
style: Ie({
|
|
58
|
-
color: `#${
|
|
59
|
-
backgroundColor: `#${
|
|
58
|
+
color: `#${c(bt)(e.tag.textColor)}`,
|
|
59
|
+
backgroundColor: `#${c(bt)(e.tag.backgroundColor)}`
|
|
60
60
|
}),
|
|
61
61
|
class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
|
|
62
62
|
}, [
|
|
63
|
-
|
|
63
|
+
Y(le(e.tag.label), 1)
|
|
64
64
|
], 4)), [
|
|
65
|
-
[
|
|
65
|
+
[c(q), {
|
|
66
66
|
content: e.tag.tooltip,
|
|
67
67
|
html: !0
|
|
68
68
|
}]
|
|
@@ -82,36 +82,36 @@ const Pt = /* @__PURE__ */ B({
|
|
|
82
82
|
function s(l) {
|
|
83
83
|
t.value = l, o("select", l);
|
|
84
84
|
}
|
|
85
|
-
return (l,
|
|
86
|
-
(p(!0),
|
|
87
|
-
key:
|
|
88
|
-
class:
|
|
89
|
-
onClick: (
|
|
85
|
+
return (l, u) => (p(), f("ul", In, [
|
|
86
|
+
(p(!0), f(ne, null, ie(l.data, (i) => (p(), f("li", {
|
|
87
|
+
key: i.id,
|
|
88
|
+
class: oe(["selectable-item", { active: i.id === t.value }]),
|
|
89
|
+
onClick: (r) => s(i.id)
|
|
90
90
|
}, [
|
|
91
|
-
|
|
92
|
-
(p(!0),
|
|
91
|
+
Y(le(i.label) + " ", 1),
|
|
92
|
+
(p(!0), f(ne, null, ie(i.tags, (r, h) => (p(), z(Mt, {
|
|
93
93
|
key: h,
|
|
94
|
-
tag:
|
|
94
|
+
tag: r
|
|
95
95
|
}, null, 8, ["tag"]))), 128))
|
|
96
96
|
], 10, $n))), 128))
|
|
97
97
|
]));
|
|
98
98
|
}
|
|
99
|
-
}), lt = Symbol("VirtualRouteKey"),
|
|
99
|
+
}), lt = Symbol("VirtualRouteKey"), Lt = Symbol("VirtualRoutesKey");
|
|
100
100
|
function st(n, e) {
|
|
101
101
|
const o = (e == null ? void 0 : e.defaultRoutePath) ?? vt(n)[0].path, t = T({
|
|
102
102
|
path: o
|
|
103
|
-
}), s = V(() => vt(n)), l = V(() => t.value.path),
|
|
103
|
+
}), s = V(() => vt(n)), l = V(() => t.value.path), u = B({
|
|
104
104
|
setup() {
|
|
105
105
|
return () => {
|
|
106
|
-
const
|
|
107
|
-
return
|
|
106
|
+
const r = s.value.find((h) => h.path === l.value);
|
|
107
|
+
return r ? Xt(r.component) : null;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
function
|
|
111
|
+
function i() {
|
|
112
112
|
t.value.path = o;
|
|
113
113
|
}
|
|
114
|
-
return ge(lt, t), ge(
|
|
114
|
+
return ge(lt, t), ge(Lt, s), { VirtualRouterView: u, restoreRouter: i };
|
|
115
115
|
}
|
|
116
116
|
function De() {
|
|
117
117
|
const n = ve(lt);
|
|
@@ -122,7 +122,7 @@ function De() {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function Tn() {
|
|
125
|
-
const n = ve(
|
|
125
|
+
const n = ve(Lt), e = ve(lt);
|
|
126
126
|
return {
|
|
127
127
|
routes: n,
|
|
128
128
|
currentRoute: e
|
|
@@ -139,32 +139,32 @@ const En = {
|
|
|
139
139
|
},
|
|
140
140
|
setup(n) {
|
|
141
141
|
const e = De();
|
|
142
|
-
return (o, t) => (p(),
|
|
143
|
-
|
|
142
|
+
return (o, t) => (p(), f("div", En, [
|
|
143
|
+
d("div", null, [
|
|
144
144
|
tt(o.$slots, "default", {}, () => [
|
|
145
|
-
|
|
145
|
+
d("i", {
|
|
146
146
|
class: "i-ep:back cursor-pointer op70 text-base hover:op100",
|
|
147
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
147
|
+
onClick: t[0] || (t[0] = (s) => c(e).push("/"))
|
|
148
148
|
})
|
|
149
149
|
])
|
|
150
150
|
]),
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
d("div", null, [
|
|
152
|
+
d("a", {
|
|
153
153
|
class: "pr2",
|
|
154
154
|
href: o.docLink,
|
|
155
155
|
target: "_blank",
|
|
156
156
|
title: "View Documentation"
|
|
157
157
|
}, t[1] || (t[1] = [
|
|
158
|
-
|
|
158
|
+
d("i", { class: "i-clarity:document-line cursor-pointer op70 text-base hover:op100" }, null, -1)
|
|
159
159
|
]), 8, Vn),
|
|
160
|
-
o.githubRepoLink ? (p(),
|
|
160
|
+
o.githubRepoLink ? (p(), f("a", {
|
|
161
161
|
key: 0,
|
|
162
162
|
href: o.githubRepoLink,
|
|
163
163
|
target: "_blank",
|
|
164
164
|
title: "Star on GitHub"
|
|
165
165
|
}, t[2] || (t[2] = [
|
|
166
|
-
|
|
167
|
-
]), 8, Nn)) :
|
|
166
|
+
d("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1)
|
|
167
|
+
]), 8, Nn)) : j("", !0)
|
|
168
168
|
])
|
|
169
169
|
]));
|
|
170
170
|
}
|
|
@@ -175,9 +175,9 @@ const En = {
|
|
|
175
175
|
return o;
|
|
176
176
|
}, Rn = {}, An = { class: "h-full flex flex-col items-center justify-center op50" };
|
|
177
177
|
function Dn(n, e) {
|
|
178
|
-
return p(),
|
|
179
|
-
e[0] || (e[0] =
|
|
180
|
-
|
|
178
|
+
return p(), f("div", An, [
|
|
179
|
+
e[0] || (e[0] = d("i", { class: "i-lets-icons:blank-light" }, null, -1)),
|
|
180
|
+
d("span", null, [
|
|
181
181
|
tt(n.$slots, "default")
|
|
182
182
|
])
|
|
183
183
|
]);
|
|
@@ -186,12 +186,12 @@ const Ne = /* @__PURE__ */ Ce(Rn, [["render", Dn]]), Pn = { class: "flex gap3" }
|
|
|
186
186
|
__name: "Navbar",
|
|
187
187
|
setup(n) {
|
|
188
188
|
const { routes: e, currentRoute: o } = Tn(), t = De();
|
|
189
|
-
return (s, l) => (p(),
|
|
190
|
-
(p(!0),
|
|
191
|
-
key:
|
|
192
|
-
class:
|
|
193
|
-
onClick: (
|
|
194
|
-
}, le(
|
|
189
|
+
return (s, l) => (p(), f("ul", Pn, [
|
|
190
|
+
(p(!0), f(ne, null, ie(c(e), (u, i) => (p(), f("li", {
|
|
191
|
+
key: i,
|
|
192
|
+
class: oe(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", c(o).path === u.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
|
|
193
|
+
onClick: (r) => c(t).push(u.path)
|
|
194
|
+
}, le(u.name), 11, Mn))), 128))
|
|
195
195
|
]));
|
|
196
196
|
}
|
|
197
197
|
}), at = /* @__PURE__ */ B({
|
|
@@ -200,21 +200,21 @@ const Ne = /* @__PURE__ */ Ce(Rn, [["render", Dn]]), Pn = { class: "flex gap3" }
|
|
|
200
200
|
value: { type: Boolean }
|
|
201
201
|
},
|
|
202
202
|
setup(n) {
|
|
203
|
-
return (e, o) => (p(),
|
|
204
|
-
class:
|
|
203
|
+
return (e, o) => (p(), f("i", {
|
|
204
|
+
class: oe(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base", {
|
|
205
205
|
"transform rotate-90": e.value
|
|
206
206
|
}])
|
|
207
207
|
}, null, 2));
|
|
208
208
|
}
|
|
209
|
-
}),
|
|
209
|
+
}), Ht = Symbol("StateEditorSymbol");
|
|
210
210
|
function Ln(n) {
|
|
211
211
|
const e = T(n);
|
|
212
|
-
return ge(
|
|
212
|
+
return ge(Ht, e), {
|
|
213
213
|
context: e
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
function it() {
|
|
217
|
-
return ve(
|
|
217
|
+
return ve(Ht);
|
|
218
218
|
}
|
|
219
219
|
function Hn() {
|
|
220
220
|
const n = T(""), e = T("string"), o = T(!1), t = it();
|
|
@@ -228,7 +228,7 @@ function Hn() {
|
|
|
228
228
|
nodeId: V(() => t.value.nodeId)
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function On(n, e) {
|
|
232
232
|
if (n === "array")
|
|
233
233
|
return e.length;
|
|
234
234
|
const o = "newProp";
|
|
@@ -240,14 +240,14 @@ function jn(n, e) {
|
|
|
240
240
|
t++;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function jn() {
|
|
244
244
|
const n = T({
|
|
245
245
|
enable: !1,
|
|
246
246
|
key: "",
|
|
247
247
|
value: "undefined"
|
|
248
248
|
});
|
|
249
249
|
function e(t, s) {
|
|
250
|
-
const l =
|
|
250
|
+
const l = On(t, s);
|
|
251
251
|
n.value = {
|
|
252
252
|
enable: !0,
|
|
253
253
|
key: l.toString(),
|
|
@@ -267,15 +267,15 @@ function On() {
|
|
|
267
267
|
draftingNewProp: n
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
|
-
const
|
|
270
|
+
const Ot = "expanded-state";
|
|
271
271
|
function me(n = "") {
|
|
272
272
|
const e = T([]);
|
|
273
|
-
return ge(`${
|
|
273
|
+
return ge(`${Ot}-${n}`, e), {
|
|
274
274
|
expanded: e
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
function rt(n = "") {
|
|
278
|
-
const e = ve(`${
|
|
278
|
+
const e = ve(`${Ot}-${n}`, T([]));
|
|
279
279
|
function o(t) {
|
|
280
280
|
const s = e.value.indexOf(t);
|
|
281
281
|
s === -1 ? e.value.push(t) : e.value.splice(s, 1);
|
|
@@ -286,10 +286,10 @@ function rt(n = "") {
|
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
288
|
function ut(n) {
|
|
289
|
-
return
|
|
289
|
+
return en() ? (tn(n), !0) : !1;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
292
|
-
return typeof n == "function" ? n() :
|
|
291
|
+
function te(n) {
|
|
292
|
+
return typeof n == "function" ? n() : c(n);
|
|
293
293
|
}
|
|
294
294
|
const ct = typeof window < "u" && typeof document < "u";
|
|
295
295
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -306,17 +306,17 @@ function Zn(n, e) {
|
|
|
306
306
|
const Fn = (n) => n();
|
|
307
307
|
function Gn(n, e = {}) {
|
|
308
308
|
let o, t, s = Ge;
|
|
309
|
-
const l = (
|
|
310
|
-
clearTimeout(
|
|
309
|
+
const l = (i) => {
|
|
310
|
+
clearTimeout(i), s(), s = Ge;
|
|
311
311
|
};
|
|
312
|
-
return (
|
|
313
|
-
const
|
|
314
|
-
return o && l(o),
|
|
315
|
-
s = e.rejectOnCancel ? a :
|
|
316
|
-
o && l(o), t = null,
|
|
312
|
+
return (i) => {
|
|
313
|
+
const r = te(n), h = te(e.maxWait);
|
|
314
|
+
return o && l(o), r <= 0 || h !== void 0 && h <= 0 ? (t && (l(t), t = null), Promise.resolve(i())) : new Promise((v, a) => {
|
|
315
|
+
s = e.rejectOnCancel ? a : v, h && !t && (t = setTimeout(() => {
|
|
316
|
+
o && l(o), t = null, v(i());
|
|
317
317
|
}, h)), o = setTimeout(() => {
|
|
318
|
-
t && l(t), t = null,
|
|
319
|
-
},
|
|
318
|
+
t && l(t), t = null, v(i());
|
|
319
|
+
}, r);
|
|
320
320
|
});
|
|
321
321
|
};
|
|
322
322
|
}
|
|
@@ -343,7 +343,7 @@ function qn(n, e, o = {}) {
|
|
|
343
343
|
eventFilter: t = Fn,
|
|
344
344
|
...s
|
|
345
345
|
} = o;
|
|
346
|
-
return
|
|
346
|
+
return ee(
|
|
347
347
|
n,
|
|
348
348
|
Zn(
|
|
349
349
|
t,
|
|
@@ -359,7 +359,7 @@ function Qe(n, e = !1) {
|
|
|
359
359
|
function o(a, { flush: m = "sync", deep: E = !1, timeout: A, throwOnTimeout: g } = {}) {
|
|
360
360
|
let $ = null;
|
|
361
361
|
const D = [new Promise((_) => {
|
|
362
|
-
$ =
|
|
362
|
+
$ = ee(
|
|
363
363
|
n,
|
|
364
364
|
(C) => {
|
|
365
365
|
a(C) !== e && ($ ? $() : Be(() => $ == null ? void 0 : $()), _(C));
|
|
@@ -372,7 +372,7 @@ function Qe(n, e = !1) {
|
|
|
372
372
|
);
|
|
373
373
|
})];
|
|
374
374
|
return A != null && D.push(
|
|
375
|
-
kt(A, g).then(() =>
|
|
375
|
+
kt(A, g).then(() => te(n)).finally(() => $ == null ? void 0 : $())
|
|
376
376
|
), Promise.race(D);
|
|
377
377
|
}
|
|
378
378
|
function t(a, m) {
|
|
@@ -381,7 +381,7 @@ function Qe(n, e = !1) {
|
|
|
381
381
|
const { flush: E = "sync", deep: A = !1, timeout: g, throwOnTimeout: $ } = m ?? {};
|
|
382
382
|
let U = null;
|
|
383
383
|
const _ = [new Promise((C) => {
|
|
384
|
-
U =
|
|
384
|
+
U = ee(
|
|
385
385
|
[n, a],
|
|
386
386
|
([S, L]) => {
|
|
387
387
|
e !== (S === L) && (U ? U() : Be(() => U == null ? void 0 : U()), C(S));
|
|
@@ -394,7 +394,7 @@ function Qe(n, e = !1) {
|
|
|
394
394
|
);
|
|
395
395
|
})];
|
|
396
396
|
return g != null && _.push(
|
|
397
|
-
kt(g, $).then(() =>
|
|
397
|
+
kt(g, $).then(() => te(n)).finally(() => (U == null || U(), te(n)))
|
|
398
398
|
), Promise.race(_);
|
|
399
399
|
}
|
|
400
400
|
function s(a) {
|
|
@@ -403,30 +403,30 @@ function Qe(n, e = !1) {
|
|
|
403
403
|
function l(a) {
|
|
404
404
|
return t(null, a);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function u(a) {
|
|
407
407
|
return t(void 0, a);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function i(a) {
|
|
410
410
|
return o(Number.isNaN, a);
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function r(a, m) {
|
|
413
413
|
return o((E) => {
|
|
414
414
|
const A = Array.from(E);
|
|
415
|
-
return A.includes(a) || A.includes(
|
|
415
|
+
return A.includes(a) || A.includes(te(a));
|
|
416
416
|
}, m);
|
|
417
417
|
}
|
|
418
418
|
function h(a) {
|
|
419
|
-
return
|
|
419
|
+
return v(1, a);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function v(a = 1, m) {
|
|
422
422
|
let E = -1;
|
|
423
423
|
return o(() => (E += 1, E >= a), m);
|
|
424
424
|
}
|
|
425
|
-
return Array.isArray(
|
|
425
|
+
return Array.isArray(te(n)) ? {
|
|
426
426
|
toMatch: o,
|
|
427
|
-
toContains:
|
|
427
|
+
toContains: r,
|
|
428
428
|
changed: h,
|
|
429
|
-
changedTimes:
|
|
429
|
+
changedTimes: v,
|
|
430
430
|
get not() {
|
|
431
431
|
return Qe(n, !e);
|
|
432
432
|
}
|
|
@@ -435,10 +435,10 @@ function Qe(n, e = !1) {
|
|
|
435
435
|
toBe: t,
|
|
436
436
|
toBeTruthy: s,
|
|
437
437
|
toBeNull: l,
|
|
438
|
-
toBeNaN:
|
|
439
|
-
toBeUndefined:
|
|
438
|
+
toBeNaN: i,
|
|
439
|
+
toBeUndefined: u,
|
|
440
440
|
changed: h,
|
|
441
|
-
changedTimes:
|
|
441
|
+
changedTimes: v,
|
|
442
442
|
get not() {
|
|
443
443
|
return Qe(n, !e);
|
|
444
444
|
}
|
|
@@ -452,21 +452,21 @@ function Yn(n, e, o = {}) {
|
|
|
452
452
|
immediate: t = !0
|
|
453
453
|
} = o, s = T(!1);
|
|
454
454
|
let l = null;
|
|
455
|
-
function
|
|
455
|
+
function u() {
|
|
456
456
|
l && (clearTimeout(l), l = null);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
s.value = !1,
|
|
458
|
+
function i() {
|
|
459
|
+
s.value = !1, u();
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
|
|
461
|
+
function r(...h) {
|
|
462
|
+
u(), s.value = !0, l = setTimeout(() => {
|
|
463
463
|
s.value = !1, l = null, n(...h);
|
|
464
|
-
},
|
|
464
|
+
}, te(e));
|
|
465
465
|
}
|
|
466
|
-
return t && (s.value = !0, ct &&
|
|
467
|
-
isPending:
|
|
468
|
-
start:
|
|
469
|
-
stop:
|
|
466
|
+
return t && (s.value = !0, ct && r()), ut(i), {
|
|
467
|
+
isPending: Qt(s),
|
|
468
|
+
start: r,
|
|
469
|
+
stop: i
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
472
|
function Xn(n = !1, e = {}) {
|
|
@@ -474,15 +474,15 @@ function Xn(n = !1, e = {}) {
|
|
|
474
474
|
truthyValue: o = !0,
|
|
475
475
|
falsyValue: t = !1
|
|
476
476
|
} = e, s = Ke(n), l = T(n);
|
|
477
|
-
function i
|
|
477
|
+
function u(i) {
|
|
478
478
|
if (arguments.length)
|
|
479
|
-
return l.value =
|
|
479
|
+
return l.value = i, l.value;
|
|
480
480
|
{
|
|
481
|
-
const
|
|
482
|
-
return l.value = l.value ===
|
|
481
|
+
const r = te(o);
|
|
482
|
+
return l.value = l.value === r ? te(t) : r, l.value;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
return s ?
|
|
485
|
+
return s ? u : [l, u];
|
|
486
486
|
}
|
|
487
487
|
function Qn(n, e, o = {}) {
|
|
488
488
|
const {
|
|
@@ -499,10 +499,10 @@ function Qn(n, e, o = {}) {
|
|
|
499
499
|
}
|
|
500
500
|
);
|
|
501
501
|
}
|
|
502
|
-
const We = ct ? window : void 0,
|
|
503
|
-
function
|
|
502
|
+
const We = ct ? window : void 0, Ut = ct ? window.navigator : void 0;
|
|
503
|
+
function xe(n) {
|
|
504
504
|
var e;
|
|
505
|
-
const o =
|
|
505
|
+
const o = te(n);
|
|
506
506
|
return (e = o == null ? void 0 : o.$el) != null ? e : o;
|
|
507
507
|
}
|
|
508
508
|
function he(...n) {
|
|
@@ -510,21 +510,21 @@ function he(...n) {
|
|
|
510
510
|
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, t, s] = n, e = We) : [e, o, t, s] = n, !e)
|
|
511
511
|
return Ge;
|
|
512
512
|
Array.isArray(o) || (o = [o]), Array.isArray(t) || (t = [t]);
|
|
513
|
-
const l = [],
|
|
514
|
-
l.forEach((
|
|
515
|
-
},
|
|
516
|
-
() => [
|
|
517
|
-
([
|
|
518
|
-
if (
|
|
513
|
+
const l = [], u = () => {
|
|
514
|
+
l.forEach((v) => v()), l.length = 0;
|
|
515
|
+
}, i = (v, a, m, E) => (v.addEventListener(a, m, E), () => v.removeEventListener(a, m, E)), r = ee(
|
|
516
|
+
() => [xe(e), te(s)],
|
|
517
|
+
([v, a]) => {
|
|
518
|
+
if (u(), !v)
|
|
519
519
|
return;
|
|
520
520
|
const m = Bn(a) ? { ...a } : a;
|
|
521
521
|
l.push(
|
|
522
|
-
...o.flatMap((E) => t.map((A) =>
|
|
522
|
+
...o.flatMap((E) => t.map((A) => i(v, E, A, m)))
|
|
523
523
|
);
|
|
524
524
|
},
|
|
525
525
|
{ immediate: !0, flush: "post" }
|
|
526
526
|
), h = () => {
|
|
527
|
-
|
|
527
|
+
r(), u();
|
|
528
528
|
};
|
|
529
529
|
return ut(h), h;
|
|
530
530
|
}
|
|
@@ -541,48 +541,48 @@ function dt(n) {
|
|
|
541
541
|
function It(n, e = {}) {
|
|
542
542
|
const {
|
|
543
543
|
controls: o = !1,
|
|
544
|
-
navigator: t =
|
|
545
|
-
} = e, s = dt(() => t && "permissions" in t), l = ht(),
|
|
546
|
-
var
|
|
547
|
-
|
|
544
|
+
navigator: t = Ut
|
|
545
|
+
} = e, s = dt(() => t && "permissions" in t), l = ht(), u = typeof n == "string" ? { name: n } : n, i = ht(), r = () => {
|
|
546
|
+
var v, a;
|
|
547
|
+
i.value = (a = (v = l.value) == null ? void 0 : v.state) != null ? a : "prompt";
|
|
548
548
|
};
|
|
549
|
-
he(l, "change",
|
|
549
|
+
he(l, "change", r);
|
|
550
550
|
const h = Kn(async () => {
|
|
551
551
|
if (s.value) {
|
|
552
552
|
if (!l.value)
|
|
553
553
|
try {
|
|
554
|
-
l.value = await t.permissions.query(
|
|
554
|
+
l.value = await t.permissions.query(u);
|
|
555
555
|
} catch {
|
|
556
556
|
l.value = void 0;
|
|
557
557
|
} finally {
|
|
558
|
-
|
|
558
|
+
r();
|
|
559
559
|
}
|
|
560
560
|
if (o)
|
|
561
561
|
return Tt(l.value);
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
564
|
return h(), o ? {
|
|
565
|
-
state:
|
|
565
|
+
state: i,
|
|
566
566
|
isSupported: s,
|
|
567
567
|
query: h
|
|
568
|
-
} :
|
|
568
|
+
} : i;
|
|
569
569
|
}
|
|
570
570
|
function to(n = {}) {
|
|
571
571
|
const {
|
|
572
|
-
navigator: e =
|
|
572
|
+
navigator: e = Ut,
|
|
573
573
|
read: o = !1,
|
|
574
574
|
source: t,
|
|
575
575
|
copiedDuring: s = 1500,
|
|
576
576
|
legacy: l = !1
|
|
577
|
-
} = n,
|
|
577
|
+
} = n, u = dt(() => e && "clipboard" in e), i = It("clipboard-read"), r = It("clipboard-write"), h = V(() => u.value || l), v = T(""), a = T(!1), m = Yn(() => a.value = !1, s);
|
|
578
578
|
function E() {
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}) :
|
|
579
|
+
u.value && U(i.value) ? e.clipboard.readText().then((D) => {
|
|
580
|
+
v.value = D;
|
|
581
|
+
}) : v.value = $();
|
|
582
582
|
}
|
|
583
583
|
h.value && o && he(["copy", "cut"], E);
|
|
584
|
-
async function A(D =
|
|
585
|
-
h.value && D != null && (
|
|
584
|
+
async function A(D = te(t)) {
|
|
585
|
+
h.value && D != null && (u.value && U(r.value) ? await e.clipboard.writeText(D) : g(D), v.value = D, a.value = !0, m.start());
|
|
586
586
|
}
|
|
587
587
|
function g(D) {
|
|
588
588
|
const _ = document.createElement("textarea");
|
|
@@ -597,7 +597,7 @@ function to(n = {}) {
|
|
|
597
597
|
}
|
|
598
598
|
return {
|
|
599
599
|
isSupported: h,
|
|
600
|
-
text:
|
|
600
|
+
text: v,
|
|
601
601
|
copied: a,
|
|
602
602
|
copy: A
|
|
603
603
|
};
|
|
@@ -608,68 +608,68 @@ function no(n) {
|
|
|
608
608
|
function oo(n, e, o = {}) {
|
|
609
609
|
const { window: t = We, ...s } = o;
|
|
610
610
|
let l;
|
|
611
|
-
const
|
|
611
|
+
const u = dt(() => t && "ResizeObserver" in t), i = () => {
|
|
612
612
|
l && (l.disconnect(), l = void 0);
|
|
613
|
-
},
|
|
614
|
-
const a =
|
|
615
|
-
return Array.isArray(a) ? a.map((m) =>
|
|
616
|
-
}), h =
|
|
617
|
-
|
|
613
|
+
}, r = V(() => {
|
|
614
|
+
const a = te(n);
|
|
615
|
+
return Array.isArray(a) ? a.map((m) => xe(m)) : [xe(a)];
|
|
616
|
+
}), h = ee(
|
|
617
|
+
r,
|
|
618
618
|
(a) => {
|
|
619
|
-
if (
|
|
619
|
+
if (i(), u.value && t) {
|
|
620
620
|
l = new ResizeObserver(e);
|
|
621
621
|
for (const m of a)
|
|
622
622
|
m && l.observe(m, s);
|
|
623
623
|
}
|
|
624
624
|
},
|
|
625
625
|
{ immediate: !0, flush: "post" }
|
|
626
|
-
),
|
|
627
|
-
|
|
626
|
+
), v = () => {
|
|
627
|
+
i(), h();
|
|
628
628
|
};
|
|
629
|
-
return ut(
|
|
630
|
-
isSupported:
|
|
631
|
-
stop:
|
|
629
|
+
return ut(v), {
|
|
630
|
+
isSupported: u,
|
|
631
|
+
stop: v
|
|
632
632
|
};
|
|
633
633
|
}
|
|
634
634
|
function lo(n, e = { width: 0, height: 0 }, o = {}) {
|
|
635
635
|
const { window: t = We, box: s = "content-box" } = o, l = V(() => {
|
|
636
636
|
var a, m;
|
|
637
|
-
return (m = (a =
|
|
638
|
-
}),
|
|
637
|
+
return (m = (a = xe(n)) == null ? void 0 : a.namespaceURI) == null ? void 0 : m.includes("svg");
|
|
638
|
+
}), u = T(e.width), i = T(e.height), { stop: r } = oo(
|
|
639
639
|
n,
|
|
640
640
|
([a]) => {
|
|
641
641
|
const m = s === "border-box" ? a.borderBoxSize : s === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
642
642
|
if (t && l.value) {
|
|
643
|
-
const E =
|
|
643
|
+
const E = xe(n);
|
|
644
644
|
if (E) {
|
|
645
645
|
const A = E.getBoundingClientRect();
|
|
646
|
-
|
|
646
|
+
u.value = A.width, i.value = A.height;
|
|
647
647
|
}
|
|
648
648
|
} else if (m) {
|
|
649
649
|
const E = Array.isArray(m) ? m : [m];
|
|
650
|
-
|
|
650
|
+
u.value = E.reduce((A, { inlineSize: g }) => A + g, 0), i.value = E.reduce((A, { blockSize: g }) => A + g, 0);
|
|
651
651
|
} else
|
|
652
|
-
|
|
652
|
+
u.value = a.contentRect.width, i.value = a.contentRect.height;
|
|
653
653
|
},
|
|
654
654
|
o
|
|
655
655
|
);
|
|
656
656
|
Jn(() => {
|
|
657
|
-
const a =
|
|
658
|
-
a && (
|
|
657
|
+
const a = xe(n);
|
|
658
|
+
a && (u.value = "offsetWidth" in a ? a.offsetWidth : e.width, i.value = "offsetHeight" in a ? a.offsetHeight : e.height);
|
|
659
659
|
});
|
|
660
|
-
const h =
|
|
661
|
-
() =>
|
|
660
|
+
const h = ee(
|
|
661
|
+
() => xe(n),
|
|
662
662
|
(a) => {
|
|
663
|
-
|
|
663
|
+
u.value = a ? e.width : 0, i.value = a ? e.height : 0;
|
|
664
664
|
}
|
|
665
665
|
);
|
|
666
|
-
function
|
|
667
|
-
|
|
666
|
+
function v() {
|
|
667
|
+
r(), h();
|
|
668
668
|
}
|
|
669
669
|
return {
|
|
670
|
-
width:
|
|
671
|
-
height:
|
|
672
|
-
stop:
|
|
670
|
+
width: u,
|
|
671
|
+
height: i,
|
|
672
|
+
stop: v
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
675
|
const so = {
|
|
@@ -689,79 +689,79 @@ function ao(n = {}) {
|
|
|
689
689
|
aliasMap: t = so,
|
|
690
690
|
passive: s = !0,
|
|
691
691
|
onEventFired: l = Ge
|
|
692
|
-
} = n,
|
|
692
|
+
} = n, u = mt(/* @__PURE__ */ new Set()), i = {
|
|
693
693
|
toJSON() {
|
|
694
694
|
return {};
|
|
695
695
|
},
|
|
696
|
-
current:
|
|
697
|
-
},
|
|
696
|
+
current: u
|
|
697
|
+
}, r = e ? mt(i) : i, h = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
698
698
|
function a(g, $) {
|
|
699
|
-
g in
|
|
699
|
+
g in r && (e ? r[g] = $ : r[g].value = $);
|
|
700
700
|
}
|
|
701
701
|
function m() {
|
|
702
|
-
|
|
703
|
-
for (const g of
|
|
702
|
+
u.clear();
|
|
703
|
+
for (const g of v)
|
|
704
704
|
a(g, !1);
|
|
705
705
|
}
|
|
706
706
|
function E(g, $) {
|
|
707
707
|
var U, D;
|
|
708
708
|
const _ = (U = g.key) == null ? void 0 : U.toLowerCase(), S = [(D = g.code) == null ? void 0 : D.toLowerCase(), _].filter(Boolean);
|
|
709
|
-
_ && ($ ?
|
|
709
|
+
_ && ($ ? u.add(_) : u.delete(_));
|
|
710
710
|
for (const L of S)
|
|
711
|
-
|
|
711
|
+
v.add(L), a(L, $);
|
|
712
712
|
_ === "meta" && !$ ? (h.forEach((L) => {
|
|
713
|
-
|
|
714
|
-
}), h.clear()) : typeof g.getModifierState == "function" && g.getModifierState("Meta") && $ && [...
|
|
713
|
+
u.delete(L), a(L, !1);
|
|
714
|
+
}), h.clear()) : typeof g.getModifierState == "function" && g.getModifierState("Meta") && $ && [...u, ...S].forEach((L) => h.add(L));
|
|
715
715
|
}
|
|
716
716
|
he(o, "keydown", (g) => (E(g, !0), l(g)), { passive: s }), he(o, "keyup", (g) => (E(g, !1), l(g)), { passive: s }), he("blur", m, { passive: !0 }), he("focus", m, { passive: !0 });
|
|
717
717
|
const A = new Proxy(
|
|
718
|
-
|
|
718
|
+
r,
|
|
719
719
|
{
|
|
720
720
|
get(g, $, U) {
|
|
721
721
|
if (typeof $ != "string")
|
|
722
722
|
return Reflect.get(g, $, U);
|
|
723
|
-
if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in
|
|
723
|
+
if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in r))
|
|
724
724
|
if (/[+_-]/.test($)) {
|
|
725
725
|
const _ = $.split(/[+_-]/g).map((C) => C.trim());
|
|
726
|
-
|
|
726
|
+
r[$] = V(() => _.every((C) => te(A[C])));
|
|
727
727
|
} else
|
|
728
|
-
|
|
728
|
+
r[$] = T(!1);
|
|
729
729
|
const D = Reflect.get(g, $, U);
|
|
730
|
-
return e ?
|
|
730
|
+
return e ? te(D) : D;
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
);
|
|
734
734
|
return A;
|
|
735
735
|
}
|
|
736
736
|
function io(n, e, o, t = {}) {
|
|
737
|
-
var s, l,
|
|
737
|
+
var s, l, u;
|
|
738
738
|
const {
|
|
739
|
-
clone:
|
|
740
|
-
passive:
|
|
739
|
+
clone: i = !1,
|
|
740
|
+
passive: r = !1,
|
|
741
741
|
eventName: h,
|
|
742
|
-
deep:
|
|
742
|
+
deep: v = !1,
|
|
743
743
|
defaultValue: a,
|
|
744
744
|
shouldEmit: m
|
|
745
|
-
} = t, E = nt(), A = o || (E == null ? void 0 : E.emit) || ((s = E == null ? void 0 : E.$emit) == null ? void 0 : s.bind(E)) || ((
|
|
745
|
+
} = t, E = nt(), A = o || (E == null ? void 0 : E.emit) || ((s = E == null ? void 0 : E.$emit) == null ? void 0 : s.bind(E)) || ((u = (l = E == null ? void 0 : E.proxy) == null ? void 0 : l.$emit) == null ? void 0 : u.bind(E == null ? void 0 : E.proxy));
|
|
746
746
|
let g = h;
|
|
747
747
|
g = g || `update:${e.toString()}`;
|
|
748
|
-
const $ = (_) =>
|
|
748
|
+
const $ = (_) => i ? typeof i == "function" ? i(_) : no(_) : _, U = () => Un(n[e]) ? $(n[e]) : a, D = (_) => {
|
|
749
749
|
m ? m(_) && A(g, _) : A(g, _);
|
|
750
750
|
};
|
|
751
|
-
if (
|
|
751
|
+
if (r) {
|
|
752
752
|
const _ = U(), C = T(_);
|
|
753
753
|
let S = !1;
|
|
754
|
-
return
|
|
754
|
+
return ee(
|
|
755
755
|
() => n[e],
|
|
756
756
|
(L) => {
|
|
757
757
|
S || (S = !0, C.value = $(L), Be(() => S = !1));
|
|
758
758
|
}
|
|
759
|
-
),
|
|
759
|
+
), ee(
|
|
760
760
|
C,
|
|
761
761
|
(L) => {
|
|
762
|
-
!S && (L !== n[e] ||
|
|
762
|
+
!S && (L !== n[e] || v) && D(L);
|
|
763
763
|
},
|
|
764
|
-
{ deep:
|
|
764
|
+
{ deep: v }
|
|
765
765
|
), C;
|
|
766
766
|
} else
|
|
767
767
|
return V({
|
|
@@ -800,7 +800,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
800
800
|
},
|
|
801
801
|
emits: ["enableEditInput", "addNewProp"],
|
|
802
802
|
setup(n) {
|
|
803
|
-
const e = n, o = it(), { copy: t, isSupported: s } = to(), l = T(!1),
|
|
803
|
+
const e = n, o = it(), { copy: t, isSupported: s } = to(), l = T(!1), u = V(() => Vt(e.data.value)), i = V(() => u.value.value), r = V(() => u.value.customType), h = V(() => i.value === null ? "null" : typeof i.value), v = {
|
|
804
804
|
flat: !0,
|
|
805
805
|
size: "mini"
|
|
806
806
|
}, a = V(() => ({
|
|
@@ -824,119 +824,119 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
824
824
|
const $ = typeof A == "number" ? A + g : BigInt(A) + BigInt(g);
|
|
825
825
|
m($);
|
|
826
826
|
}
|
|
827
|
-
return (A, g) => (p(),
|
|
828
|
-
!e.disableEdit && A.data.editable ? (p(),
|
|
829
|
-
h.value === "string" || h.value === "number" || h.value === "object" || h.value === "null" ? (p(),
|
|
830
|
-
W((p(), z(
|
|
827
|
+
return (A, g) => (p(), f("div", uo, [
|
|
828
|
+
!e.disableEdit && A.data.editable ? (p(), f(ne, { key: 0 }, [
|
|
829
|
+
h.value === "string" || h.value === "number" || h.value === "object" || h.value === "null" ? (p(), f(ne, { key: 0 }, [
|
|
830
|
+
W((p(), z(c(de), ke(v, {
|
|
831
831
|
class: a.value,
|
|
832
832
|
onClick: g[0] || (g[0] = fe(($) => A.$emit("enableEditInput", h.value), ["stop"]))
|
|
833
833
|
}), {
|
|
834
834
|
icon: H(() => [
|
|
835
|
-
|
|
835
|
+
x(c(se), { icon: "i-material-symbols-edit-rounded" })
|
|
836
836
|
]),
|
|
837
837
|
_: 1
|
|
838
838
|
}, 16, ["class"])), [
|
|
839
|
-
[
|
|
839
|
+
[c(q), {
|
|
840
840
|
content: "Edit value"
|
|
841
841
|
}]
|
|
842
842
|
]),
|
|
843
|
-
h.value === "object" && A.showAddIfNeeded ? W((p(), z(
|
|
843
|
+
h.value === "object" && A.showAddIfNeeded ? W((p(), z(c(de), ke({ key: 0 }, v, {
|
|
844
844
|
class: a.value,
|
|
845
|
-
onClick: g[1] || (g[1] = fe(($) => A.$emit("addNewProp", Array.isArray(
|
|
845
|
+
onClick: g[1] || (g[1] = fe(($) => A.$emit("addNewProp", Array.isArray(i.value) ? "array" : "object"), ["stop"]))
|
|
846
846
|
}), {
|
|
847
847
|
icon: H(() => [
|
|
848
|
-
|
|
848
|
+
x(c(se), { icon: "i-material-symbols-add-circle-rounded" })
|
|
849
849
|
]),
|
|
850
850
|
_: 1
|
|
851
851
|
}, 16, ["class"])), [
|
|
852
|
-
[
|
|
852
|
+
[c(q), {
|
|
853
853
|
content: "Add new value"
|
|
854
854
|
}]
|
|
855
|
-
]) :
|
|
856
|
-
], 64)) :
|
|
857
|
-
h.value === "boolean" ? (p(), z(
|
|
855
|
+
]) : j("", !0)
|
|
856
|
+
], 64)) : j("", !0),
|
|
857
|
+
h.value === "boolean" ? (p(), z(c(de), ke({ key: 1 }, v, {
|
|
858
858
|
class: a.value,
|
|
859
|
-
onClick: g[2] || (g[2] = ($) => m(!
|
|
859
|
+
onClick: g[2] || (g[2] = ($) => m(!i.value))
|
|
860
860
|
}), {
|
|
861
861
|
icon: H(() => [
|
|
862
|
-
|
|
863
|
-
icon:
|
|
862
|
+
x(c(se), {
|
|
863
|
+
icon: i.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
|
|
864
864
|
}, null, 8, ["icon"])
|
|
865
865
|
]),
|
|
866
866
|
_: 1
|
|
867
|
-
}, 16, ["class"])) : h.value === "number" ||
|
|
868
|
-
|
|
867
|
+
}, 16, ["class"])) : h.value === "number" || r.value === "bigint" ? (p(), f(ne, { key: 2 }, [
|
|
868
|
+
x(c(de), ke(v, {
|
|
869
869
|
class: a.value,
|
|
870
|
-
onClick: g[3] || (g[3] = fe(($) => E(
|
|
870
|
+
onClick: g[3] || (g[3] = fe(($) => E(i.value, 1), ["stop"]))
|
|
871
871
|
}), {
|
|
872
872
|
icon: H(() => [
|
|
873
|
-
|
|
873
|
+
x(c(se), { icon: "i-carbon-add" })
|
|
874
874
|
]),
|
|
875
875
|
_: 1
|
|
876
876
|
}, 16, ["class"]),
|
|
877
|
-
|
|
877
|
+
x(c(de), ke(v, {
|
|
878
878
|
class: a.value,
|
|
879
|
-
onClick: g[4] || (g[4] = fe(($) => E(
|
|
879
|
+
onClick: g[4] || (g[4] = fe(($) => E(i.value, -1), ["stop"]))
|
|
880
880
|
}), {
|
|
881
881
|
icon: H(() => [
|
|
882
|
-
|
|
882
|
+
x(c(se), { icon: "i-carbon-subtract" })
|
|
883
883
|
]),
|
|
884
884
|
_: 1
|
|
885
885
|
}, 16, ["class"])
|
|
886
|
-
], 64)) :
|
|
887
|
-
], 64)) :
|
|
888
|
-
!e.disableEdit && A.depth > 0 && A.data.editable ? (p(), z(
|
|
886
|
+
], 64)) : j("", !0)
|
|
887
|
+
], 64)) : j("", !0),
|
|
888
|
+
!e.disableEdit && A.depth > 0 && A.data.editable ? (p(), z(c(de), ke({ key: 1 }, v, {
|
|
889
889
|
class: a.value,
|
|
890
|
-
onClick: g[5] || (g[5] = fe(($) => m(
|
|
890
|
+
onClick: g[5] || (g[5] = fe(($) => m(i.value, !0), ["stop"]))
|
|
891
891
|
}), {
|
|
892
892
|
icon: H(() => [
|
|
893
|
-
|
|
893
|
+
x(c(se), { icon: "i-material-symbols-delete-rounded" })
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
|
-
}, 16, ["class"])) :
|
|
897
|
-
|
|
898
|
-
class:
|
|
896
|
+
}, 16, ["class"])) : j("", !0),
|
|
897
|
+
x(c(ln), {
|
|
898
|
+
class: oe({
|
|
899
899
|
"opacity-0": !A.hovering && !l.value
|
|
900
900
|
}),
|
|
901
901
|
"button-props": {
|
|
902
902
|
flat: !0,
|
|
903
903
|
size: "mini"
|
|
904
904
|
},
|
|
905
|
-
disabled: !
|
|
905
|
+
disabled: !c(s),
|
|
906
906
|
"onUpdate:visible": g[8] || (g[8] = ($) => l.value = $)
|
|
907
907
|
}, {
|
|
908
908
|
popper: H(() => [
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
onClick: g[6] || (g[6] = ($) =>
|
|
909
|
+
d("div", co, [
|
|
910
|
+
x(c(gt), {
|
|
911
|
+
onClick: g[6] || (g[6] = ($) => c(t)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
|
|
912
912
|
}, {
|
|
913
913
|
icon: H(() => [
|
|
914
|
-
|
|
914
|
+
x(c(se), {
|
|
915
915
|
icon: "i-material-symbols-copy-all-rounded",
|
|
916
916
|
class: "mt4px"
|
|
917
917
|
}),
|
|
918
|
-
g[9] || (g[9] =
|
|
918
|
+
g[9] || (g[9] = Y(" Copy Value "))
|
|
919
919
|
]),
|
|
920
920
|
_: 1
|
|
921
921
|
}),
|
|
922
|
-
|
|
922
|
+
x(c(gt), {
|
|
923
923
|
onClick: g[7] || (g[7] = () => {
|
|
924
|
-
|
|
924
|
+
c(t)(A.data.key);
|
|
925
925
|
})
|
|
926
926
|
}, {
|
|
927
927
|
icon: H(() => [
|
|
928
|
-
|
|
928
|
+
x(c(se), {
|
|
929
929
|
icon: "i-material-symbols-copy-all-rounded",
|
|
930
930
|
class: "mt4px"
|
|
931
931
|
}),
|
|
932
|
-
g[10] || (g[10] =
|
|
932
|
+
g[10] || (g[10] = Y(" Copy Path "))
|
|
933
933
|
]),
|
|
934
934
|
_: 1
|
|
935
935
|
})
|
|
936
936
|
])
|
|
937
937
|
]),
|
|
938
938
|
"button-icon": H(() => [
|
|
939
|
-
|
|
939
|
+
x(c(se), { icon: "i-material-symbols:more-vert" })
|
|
940
940
|
]),
|
|
941
941
|
_: 1
|
|
942
942
|
}, 8, ["class", "disabled"])
|
|
@@ -952,12 +952,12 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
952
952
|
},
|
|
953
953
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
954
954
|
setup(n, { emit: e }) {
|
|
955
|
-
const o = n, t = e, s = V(() => o.customType === "date" ? "datetime-local" : ""), { escape: l, enter:
|
|
955
|
+
const o = n, t = e, s = V(() => o.customType === "date" ? "datetime-local" : ""), { escape: l, enter: u } = ao();
|
|
956
956
|
ot(() => {
|
|
957
|
-
l.value ? t("cancel") :
|
|
957
|
+
l.value ? t("cancel") : u.value && t("submit");
|
|
958
958
|
});
|
|
959
|
-
const
|
|
960
|
-
function
|
|
959
|
+
const i = io(o, "modelValue", t);
|
|
960
|
+
function r(a) {
|
|
961
961
|
try {
|
|
962
962
|
return Ue(a, o.customType), !0;
|
|
963
963
|
} catch {
|
|
@@ -965,44 +965,44 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
const h = T(!1);
|
|
968
|
-
return
|
|
969
|
-
h.value = !
|
|
970
|
-
}, 300)), (a, m) => (p(),
|
|
971
|
-
|
|
972
|
-
modelValue:
|
|
973
|
-
"onUpdate:modelValue": m[0] || (m[0] = (E) => Ke(
|
|
968
|
+
return ee(i, gn(() => {
|
|
969
|
+
h.value = !r(i.value);
|
|
970
|
+
}, 300)), (a, m) => (p(), f("span", fo, [
|
|
971
|
+
x(c(Ze), {
|
|
972
|
+
modelValue: c(i),
|
|
973
|
+
"onUpdate:modelValue": m[0] || (m[0] = (E) => Ke(i) ? i.value = E : null),
|
|
974
974
|
type: s.value,
|
|
975
975
|
variant: h.value ? "warning" : "normal",
|
|
976
|
-
class:
|
|
976
|
+
class: oe(["h25px px4px", a.customType === "date" ? "w240px" : "w120px"]),
|
|
977
977
|
"auto-focus": a.autoFocus,
|
|
978
978
|
onClick: m[1] || (m[1] = fe(() => {
|
|
979
979
|
}, ["stop"]))
|
|
980
980
|
}, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
|
|
981
|
-
a.showActions ? (p(),
|
|
982
|
-
W((p(), z(
|
|
981
|
+
a.showActions ? (p(), f(ne, { key: 0 }, [
|
|
982
|
+
W((p(), z(c(de), {
|
|
983
983
|
size: "mini",
|
|
984
984
|
flat: "",
|
|
985
985
|
class: "p2px!",
|
|
986
986
|
onClick: m[2] || (m[2] = fe((E) => a.$emit("cancel"), ["stop"]))
|
|
987
987
|
}, {
|
|
988
988
|
icon: H(() => [
|
|
989
|
-
|
|
989
|
+
x(c(se), { icon: "i-material-symbols-cancel" })
|
|
990
990
|
]),
|
|
991
991
|
_: 1
|
|
992
992
|
})), [
|
|
993
|
-
[
|
|
993
|
+
[c(q), {
|
|
994
994
|
content: "Esc to cancel"
|
|
995
995
|
}]
|
|
996
996
|
]),
|
|
997
|
-
h.value ? W((p(), z(
|
|
997
|
+
h.value ? W((p(), z(c(se), {
|
|
998
998
|
key: 1,
|
|
999
999
|
icon: "i-material-symbols-warning",
|
|
1000
1000
|
class: "color-warning-500 dark:color-warning-300"
|
|
1001
1001
|
}, null, 512)), [
|
|
1002
|
-
[
|
|
1002
|
+
[c(q), {
|
|
1003
1003
|
content: "Invalid value"
|
|
1004
1004
|
}]
|
|
1005
|
-
]) : W((p(), z(
|
|
1005
|
+
]) : W((p(), z(c(de), {
|
|
1006
1006
|
key: 0,
|
|
1007
1007
|
size: "mini",
|
|
1008
1008
|
flat: "",
|
|
@@ -1010,15 +1010,15 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1010
1010
|
onClick: m[3] || (m[3] = fe((E) => a.$emit("submit"), ["stop"]))
|
|
1011
1011
|
}, {
|
|
1012
1012
|
icon: H(() => [
|
|
1013
|
-
|
|
1013
|
+
x(c(se), { icon: "i-material-symbols-save" })
|
|
1014
1014
|
]),
|
|
1015
1015
|
_: 1
|
|
1016
1016
|
})), [
|
|
1017
|
-
[
|
|
1017
|
+
[c(q), {
|
|
1018
1018
|
content: "Enter to submit change"
|
|
1019
1019
|
}]
|
|
1020
1020
|
])
|
|
1021
|
-
], 64)) :
|
|
1021
|
+
], 64)) : j("", !0)
|
|
1022
1022
|
]));
|
|
1023
1023
|
}
|
|
1024
1024
|
}), vo = {
|
|
@@ -1045,55 +1045,55 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1045
1045
|
customClass: {
|
|
1046
1046
|
string: "max-w-120 truncate"
|
|
1047
1047
|
}
|
|
1048
|
-
})), s = V(() => Ct(e.data.value)), l = V(() =>
|
|
1049
|
-
var
|
|
1050
|
-
return s.value === "custom" ? `${((
|
|
1048
|
+
})), s = V(() => Ct(e.data.value)), l = V(() => Vt(e.data.value)), { expanded: u, toggleExpanded: i } = rt(e.expandedStateId ?? ""), r = V(() => {
|
|
1049
|
+
var y;
|
|
1050
|
+
return s.value === "custom" ? `${((y = e.data.value._custom) == null ? void 0 : y.type) ?? "string"}-custom-state` : "";
|
|
1051
1051
|
}), h = V(() => {
|
|
1052
|
-
const { value:
|
|
1053
|
-
return _t(
|
|
1054
|
-
}),
|
|
1055
|
-
var F,
|
|
1056
|
-
const
|
|
1057
|
-
if (
|
|
1052
|
+
const { value: y } = l.value;
|
|
1053
|
+
return _t(y) ? y.length : yt(y) ? Object.keys(y).length : 0;
|
|
1054
|
+
}), v = V(() => e.data.path || [e.data.key]), a = V(() => v.value[v.value.length - 1]), m = V(() => {
|
|
1055
|
+
var F, ae, re, ce, _e, ye, Le;
|
|
1056
|
+
const y = ["Reactive"], R = ((ae = (F = e.data.value) == null ? void 0 : F._custom) == null ? void 0 : ae.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
|
|
1057
|
+
if (y.includes(R))
|
|
1058
1058
|
return R;
|
|
1059
1059
|
if ((_e = (ce = e.data.value) == null ? void 0 : ce.fields) != null && _e.abstract)
|
|
1060
1060
|
return "";
|
|
1061
1061
|
{
|
|
1062
|
-
const He = (Le = (
|
|
1062
|
+
const He = (Le = (ye = e.data.value) == null ? void 0 : ye._custom) == null ? void 0 : Le.type, Oe = s.value === "custom" && !He ? `"${t.value}"` : t.value === "" ? '""' : t.value, je = s.value === "custom" && He === "ref" ? Ct(Oe) : s.value, qe = s.value === "string" ? "select-text" : "", Ee = `<span title="${s.value === "string" ? e.data.value : ""}" class="${je}-state-type flex whitespace-nowrap ${qe}">${Oe}</span>`;
|
|
1063
1063
|
return R ? `${Ee} <span class="text-gray-500">(${R})</span>` : Ee;
|
|
1064
1064
|
}
|
|
1065
1065
|
}), E = V(() => {
|
|
1066
|
-
const { value:
|
|
1066
|
+
const { value: y, inherit: R, customType: F } = l.value, ae = F === "set";
|
|
1067
1067
|
let re = [];
|
|
1068
|
-
return _t(
|
|
1069
|
-
key:
|
|
1070
|
-
path: [...
|
|
1068
|
+
return _t(y) ? y.slice(0, o.value).map((_e, ye) => ({
|
|
1069
|
+
key: ye.toString(),
|
|
1070
|
+
path: [...v.value, ye.toString()],
|
|
1071
1071
|
value: _e,
|
|
1072
1072
|
...R,
|
|
1073
|
-
editable: e.data.editable && !
|
|
1073
|
+
editable: e.data.editable && !ae,
|
|
1074
1074
|
creating: !1
|
|
1075
|
-
})) : (
|
|
1075
|
+
})) : (yt(y) && (re = Object.keys(y).slice(0, o.value).map((ce) => ({
|
|
1076
1076
|
key: ce,
|
|
1077
|
-
path: [...
|
|
1078
|
-
value:
|
|
1077
|
+
path: [...v.value, ce],
|
|
1078
|
+
value: y[ce],
|
|
1079
1079
|
...R,
|
|
1080
|
-
editable: e.data.editable && !
|
|
1080
|
+
editable: e.data.editable && !ae,
|
|
1081
1081
|
creating: !1
|
|
1082
|
-
})), s.value !== "custom" && (re =
|
|
1082
|
+
})), s.value !== "custom" && (re = Rt(re))), re === e.data.value ? [] : re);
|
|
1083
1083
|
}), A = V(() => E.value.length > 0), g = T(), $ = it(), { isHovering: U } = ro(() => g.value), { editingType: D, editing: _, editingText: C, toggleEditing: S, nodeId: L } = Hn();
|
|
1084
|
-
|
|
1085
|
-
if (
|
|
1084
|
+
ee(() => _.value, (y) => {
|
|
1085
|
+
if (y) {
|
|
1086
1086
|
const { value: R } = l.value;
|
|
1087
1087
|
C.value = mn(R, l.value.customType);
|
|
1088
1088
|
} else
|
|
1089
1089
|
C.value = "";
|
|
1090
1090
|
});
|
|
1091
1091
|
async function K() {
|
|
1092
|
-
const
|
|
1092
|
+
const y = e.data;
|
|
1093
1093
|
await P.value.editInspectorState({
|
|
1094
|
-
path:
|
|
1094
|
+
path: v.value,
|
|
1095
1095
|
inspectorId: $.value.inspectorId,
|
|
1096
|
-
type:
|
|
1096
|
+
type: y.stateType,
|
|
1097
1097
|
nodeId: L.value,
|
|
1098
1098
|
state: {
|
|
1099
1099
|
newKey: null,
|
|
@@ -1102,17 +1102,17 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1102
1102
|
}
|
|
1103
1103
|
}), await P.value.sendInspectorState($.value.inspectorId), S();
|
|
1104
1104
|
}
|
|
1105
|
-
const { addNewProp: Z, draftingNewProp: N, resetDrafting: M } =
|
|
1106
|
-
function w(
|
|
1105
|
+
const { addNewProp: Z, draftingNewProp: N, resetDrafting: M } = jn();
|
|
1106
|
+
function w(y) {
|
|
1107
1107
|
const R = `${e.depth}-${e.index}`;
|
|
1108
|
-
|
|
1108
|
+
u.value.includes(R) || i(R), Z(y, l.value.value);
|
|
1109
1109
|
}
|
|
1110
1110
|
async function k() {
|
|
1111
|
-
const
|
|
1111
|
+
const y = e.data;
|
|
1112
1112
|
await P.value.editInspectorState({
|
|
1113
|
-
path: [...
|
|
1113
|
+
path: [...v.value, N.value.key],
|
|
1114
1114
|
inspectorId: $.value.inspectorId,
|
|
1115
|
-
type:
|
|
1115
|
+
type: y.stateType,
|
|
1116
1116
|
nodeId: L.value,
|
|
1117
1117
|
state: {
|
|
1118
1118
|
newKey: N.value.key,
|
|
@@ -1121,53 +1121,53 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1121
1121
|
}
|
|
1122
1122
|
}), await P.value.sendInspectorState($.value.inspectorId), M();
|
|
1123
1123
|
}
|
|
1124
|
-
return (
|
|
1125
|
-
|
|
1124
|
+
return (y, R) => (p(), f("div", null, [
|
|
1125
|
+
d("div", {
|
|
1126
1126
|
ref_key: "containerRef",
|
|
1127
1127
|
ref: g,
|
|
1128
|
-
class:
|
|
1129
|
-
style: Ie({ paddingLeft: `${
|
|
1130
|
-
onClick: R[1] || (R[1] = (F) =>
|
|
1128
|
+
class: oe(["font-state-field flex items-center text-3.5", [A.value && "cursor-pointer hover:bg-active"]]),
|
|
1129
|
+
style: Ie({ paddingLeft: `${y.depth * 15 + 4}px` }),
|
|
1130
|
+
onClick: R[1] || (R[1] = (F) => c(i)(`${y.depth}-${y.index}`))
|
|
1131
1131
|
}, [
|
|
1132
1132
|
A.value ? (p(), z(at, {
|
|
1133
1133
|
key: 0,
|
|
1134
|
-
value: u
|
|
1135
|
-
}, null, 8, ["value"])) : (p(),
|
|
1136
|
-
|
|
1137
|
-
R[5] || (R[5] =
|
|
1138
|
-
|
|
1134
|
+
value: c(u).includes(`${y.depth}-${y.index}`)
|
|
1135
|
+
}, null, 8, ["value"])) : (p(), f("span", vo)),
|
|
1136
|
+
d("span", mo, le(a.value), 1),
|
|
1137
|
+
R[5] || (R[5] = d("span", { mx1: "" }, ":", -1)),
|
|
1138
|
+
c(_) ? (p(), z(Xe, {
|
|
1139
1139
|
key: 2,
|
|
1140
|
-
modelValue:
|
|
1140
|
+
modelValue: c(C),
|
|
1141
1141
|
"onUpdate:modelValue": R[0] || (R[0] = (F) => Ke(C) ? C.value = F : null),
|
|
1142
1142
|
class: "mr-1",
|
|
1143
1143
|
"custom-type": l.value.customType,
|
|
1144
|
-
onCancel:
|
|
1144
|
+
onCancel: c(S),
|
|
1145
1145
|
onSubmit: K
|
|
1146
|
-
}, null, 8, ["modelValue", "custom-type", "onCancel"])) :
|
|
1147
|
-
|
|
1148
|
-
class:
|
|
1146
|
+
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : j("", !0),
|
|
1147
|
+
d("span", {
|
|
1148
|
+
class: oe([r.value, "flex whitespace-nowrap"])
|
|
1149
1149
|
}, [
|
|
1150
|
-
|
|
1150
|
+
d("span", {
|
|
1151
1151
|
class: "flex",
|
|
1152
1152
|
innerHTML: m.value
|
|
1153
1153
|
}, null, 8, ho)
|
|
1154
1154
|
], 2),
|
|
1155
|
-
|
|
1156
|
-
hovering:
|
|
1157
|
-
"disable-edit":
|
|
1158
|
-
data:
|
|
1159
|
-
depth:
|
|
1160
|
-
onEnableEditInput:
|
|
1155
|
+
x(po, {
|
|
1156
|
+
hovering: c(U),
|
|
1157
|
+
"disable-edit": c($).disableEdit || c(_),
|
|
1158
|
+
data: y.data,
|
|
1159
|
+
depth: y.depth,
|
|
1160
|
+
onEnableEditInput: c(S),
|
|
1161
1161
|
onAddNewProp: w
|
|
1162
1162
|
}, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
|
|
1163
1163
|
], 6),
|
|
1164
|
-
A.value && u
|
|
1165
|
-
|
|
1164
|
+
A.value && c(u).includes(`${y.depth}-${y.index}`) ? (p(), f("div", go, [
|
|
1165
|
+
x(zt, {
|
|
1166
1166
|
data: E.value,
|
|
1167
|
-
depth:
|
|
1168
|
-
index:
|
|
1167
|
+
depth: y.depth,
|
|
1168
|
+
index: y.index
|
|
1169
1169
|
}, null, 8, ["data", "depth", "index"]),
|
|
1170
|
-
h.value > o.value ? W((p(), z(
|
|
1170
|
+
h.value > o.value ? W((p(), z(c(de), {
|
|
1171
1171
|
key: 0,
|
|
1172
1172
|
flat: "",
|
|
1173
1173
|
size: "mini",
|
|
@@ -1175,36 +1175,36 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1175
1175
|
onClick: R[2] || (R[2] = (F) => o.value += $t)
|
|
1176
1176
|
}, {
|
|
1177
1177
|
icon: H(() => [
|
|
1178
|
-
|
|
1178
|
+
x(c(se), { icon: "i-material-symbols-more-horiz" })
|
|
1179
1179
|
]),
|
|
1180
1180
|
_: 1
|
|
1181
1181
|
})), [
|
|
1182
|
-
[
|
|
1183
|
-
]) :
|
|
1184
|
-
|
|
1182
|
+
[c(q), "Show more"]
|
|
1183
|
+
]) : j("", !0),
|
|
1184
|
+
c(N).enable ? (p(), f("div", {
|
|
1185
1185
|
key: 1,
|
|
1186
|
-
style: Ie({ paddingLeft: `${(
|
|
1186
|
+
style: Ie({ paddingLeft: `${(y.depth + 1) * 15 + 4}px` })
|
|
1187
1187
|
}, [
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
modelValue:
|
|
1191
|
-
"onUpdate:modelValue": R[3] || (R[3] = (F) =>
|
|
1188
|
+
d("span", Co, [
|
|
1189
|
+
x(Xe, {
|
|
1190
|
+
modelValue: c(N).key,
|
|
1191
|
+
"onUpdate:modelValue": R[3] || (R[3] = (F) => c(N).key = F),
|
|
1192
1192
|
"show-actions": !1
|
|
1193
1193
|
}, null, 8, ["modelValue"])
|
|
1194
1194
|
]),
|
|
1195
|
-
R[6] || (R[6] =
|
|
1196
|
-
|
|
1197
|
-
modelValue:
|
|
1198
|
-
"onUpdate:modelValue": R[4] || (R[4] = (F) =>
|
|
1195
|
+
R[6] || (R[6] = d("span", { "mx-1": "" }, ":", -1)),
|
|
1196
|
+
x(Xe, {
|
|
1197
|
+
modelValue: c(N).value,
|
|
1198
|
+
"onUpdate:modelValue": R[4] || (R[4] = (F) => c(N).value = F),
|
|
1199
1199
|
"auto-focus": !1,
|
|
1200
|
-
onCancel:
|
|
1200
|
+
onCancel: c(M),
|
|
1201
1201
|
onSubmit: k
|
|
1202
1202
|
}, null, 8, ["modelValue", "onCancel"])
|
|
1203
|
-
], 4)) :
|
|
1204
|
-
])) :
|
|
1203
|
+
], 4)) : j("", !0)
|
|
1204
|
+
])) : j("", !0)
|
|
1205
1205
|
]));
|
|
1206
1206
|
}
|
|
1207
|
-
}),
|
|
1207
|
+
}), yo = /* @__PURE__ */ Ce(_o, [["__scopeId", "data-v-18a10784"]]), zt = /* @__PURE__ */ B({
|
|
1208
1208
|
__name: "ChildStateViewer",
|
|
1209
1209
|
props: {
|
|
1210
1210
|
data: {},
|
|
@@ -1213,9 +1213,9 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1213
1213
|
expandedStateId: { default: "" }
|
|
1214
1214
|
},
|
|
1215
1215
|
setup(n) {
|
|
1216
|
-
return (e, o) => (p(),
|
|
1217
|
-
(p(!0),
|
|
1218
|
-
|
|
1216
|
+
return (e, o) => (p(), f("div", null, [
|
|
1217
|
+
(p(!0), f(ne, null, ie(e.data, (t, s) => (p(), f("div", { key: s }, [
|
|
1218
|
+
x(yo, {
|
|
1219
1219
|
data: t,
|
|
1220
1220
|
depth: e.depth + 1,
|
|
1221
1221
|
index: `${e.index}-${s}`,
|
|
@@ -1224,7 +1224,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1224
1224
|
]))), 128))
|
|
1225
1225
|
]));
|
|
1226
1226
|
}
|
|
1227
|
-
}),
|
|
1227
|
+
}), xo = ["onClick"], bo = {
|
|
1228
1228
|
key: 1,
|
|
1229
1229
|
pl5: ""
|
|
1230
1230
|
}, wo = {
|
|
@@ -1253,25 +1253,25 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1253
1253
|
t.value = o();
|
|
1254
1254
|
});
|
|
1255
1255
|
const { expanded: s, toggleExpanded: l } = rt(e.expandedStateId);
|
|
1256
|
-
return (
|
|
1257
|
-
(p(!0),
|
|
1258
|
-
|
|
1259
|
-
class:
|
|
1260
|
-
onClick: (a) =>
|
|
1256
|
+
return (u, i) => (p(), f("div", null, [
|
|
1257
|
+
(p(!0), f(ne, null, ie(u.data, (r, h, v) => (p(), f("div", { key: v }, [
|
|
1258
|
+
d("div", {
|
|
1259
|
+
class: oe(["flex items-center", [(r == null ? void 0 : r.length) && "cursor-pointer hover:bg-active"]]),
|
|
1260
|
+
onClick: (a) => c(l)(`${v}`)
|
|
1261
1261
|
}, [
|
|
1262
|
-
|
|
1262
|
+
r != null && r.length ? (p(), z(at, {
|
|
1263
1263
|
key: 0,
|
|
1264
|
-
value:
|
|
1265
|
-
}, null, 8, ["value"])) : (p(),
|
|
1266
|
-
|
|
1267
|
-
], 10,
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
data:
|
|
1271
|
-
index: `${
|
|
1272
|
-
"expanded-state-id":
|
|
1264
|
+
value: c(s).includes(`${v}`)
|
|
1265
|
+
}, null, 8, ["value"])) : (p(), f("span", bo)),
|
|
1266
|
+
d("span", wo, le(h), 1)
|
|
1267
|
+
], 10, xo),
|
|
1268
|
+
r != null && r.length && c(s).includes(`${v}`) ? (p(), f("div", ko, [
|
|
1269
|
+
x(zt, {
|
|
1270
|
+
data: r,
|
|
1271
|
+
index: `${v}`,
|
|
1272
|
+
"expanded-state-id": u.expandedStateId
|
|
1273
1273
|
}, null, 8, ["data", "index", "expanded-state-id"])
|
|
1274
|
-
])) :
|
|
1274
|
+
])) : j("", !0)
|
|
1275
1275
|
]))), 128))
|
|
1276
1276
|
]));
|
|
1277
1277
|
}
|
|
@@ -1299,16 +1299,16 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1299
1299
|
emits: ["update:modelValue"],
|
|
1300
1300
|
setup(n) {
|
|
1301
1301
|
const e = n, o = et(n, "modelValue"), t = ["#3e5770", "#42b983", "#0098c4"], s = T(null), l = V(() => {
|
|
1302
|
-
let
|
|
1303
|
-
return e.data.forEach((
|
|
1304
|
-
(
|
|
1302
|
+
let u = -1, i = 0;
|
|
1303
|
+
return e.data.forEach((r, h) => {
|
|
1304
|
+
(r.groupId !== i || u === -1) && (u = (u + 1) % t.length), i = r.groupId ?? i, r.id = h, r.color = t[u];
|
|
1305
1305
|
}), e.data;
|
|
1306
1306
|
});
|
|
1307
|
-
return
|
|
1308
|
-
var
|
|
1309
|
-
(
|
|
1310
|
-
}, { flush: "post" }), (
|
|
1311
|
-
|
|
1307
|
+
return ee(() => l.value.length, (u) => {
|
|
1308
|
+
var i;
|
|
1309
|
+
(i = s.value) == null || i.scrollToItem(u - 1);
|
|
1310
|
+
}, { flush: "post" }), (u, i) => (p(), f("div", Io, [
|
|
1311
|
+
x(c(Cn), {
|
|
1312
1312
|
ref_key: "scrollerRef",
|
|
1313
1313
|
ref: s,
|
|
1314
1314
|
items: l.value,
|
|
@@ -1319,21 +1319,21 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1319
1319
|
"list-tag": "ul",
|
|
1320
1320
|
buffer: 20
|
|
1321
1321
|
}, {
|
|
1322
|
-
default: H(({ item:
|
|
1323
|
-
|
|
1322
|
+
default: H(({ item: r }) => [
|
|
1323
|
+
d("div", {
|
|
1324
1324
|
class: "relative mb7 h6 cursor-pointer",
|
|
1325
|
-
style: Ie({ color: o.value ===
|
|
1326
|
-
onClick: (h) => o.value =
|
|
1325
|
+
style: Ie({ color: o.value === r.id ? r.color : "" }),
|
|
1326
|
+
onClick: (h) => o.value = r.id
|
|
1327
1327
|
}, [
|
|
1328
|
-
|
|
1328
|
+
d("span", {
|
|
1329
1329
|
class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
|
|
1330
|
-
style: Ie({ border: `3px solid ${
|
|
1330
|
+
style: Ie({ border: `3px solid ${r.color}` })
|
|
1331
1331
|
}, null, 4),
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1332
|
+
r.id < u.data.length - 1 ? (p(), f("span", So)) : j("", !0),
|
|
1333
|
+
d("p", To, [
|
|
1334
|
+
d("span", Eo, "[" + le(c(xn)(r.time)) + "]", 1),
|
|
1335
|
+
Y(" " + le(r.title) + " ", 1),
|
|
1336
|
+
d("span", Vo, le(r.subtitle), 1)
|
|
1337
1337
|
])
|
|
1338
1338
|
], 12, $o)
|
|
1339
1339
|
]),
|
|
@@ -1360,10 +1360,10 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1360
1360
|
}, Lo = { class: "flex items-center gap-2 px-1" }, Ho = {
|
|
1361
1361
|
key: 0,
|
|
1362
1362
|
class: "recording recording-btn bg-[#ef4444]"
|
|
1363
|
-
},
|
|
1363
|
+
}, Oo = {
|
|
1364
1364
|
key: 1,
|
|
1365
1365
|
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
1366
|
-
},
|
|
1366
|
+
}, jo = { class: "flex items-center gap1" }, Uo = /* @__PURE__ */ B({
|
|
1367
1367
|
__name: "index",
|
|
1368
1368
|
props: {
|
|
1369
1369
|
layerIds: {},
|
|
@@ -1376,10 +1376,10 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1376
1376
|
setup(n, { expose: e }) {
|
|
1377
1377
|
const o = n, { expanded: t } = me("timeline-state");
|
|
1378
1378
|
t.value = ["0", "1"];
|
|
1379
|
-
const s = T([]), l = T(/* @__PURE__ */ new Map()),
|
|
1379
|
+
const s = T([]), l = T(/* @__PURE__ */ new Map()), u = T(0), i = Nt(), r = V(() => {
|
|
1380
1380
|
var D;
|
|
1381
|
-
return (D =
|
|
1382
|
-
}), h = V(() => s.value[
|
|
1381
|
+
return (D = i.timelineLayersState.value) == null ? void 0 : D[o.pluginId];
|
|
1382
|
+
}), h = V(() => s.value[u.value] ?? null), v = V(() => r.value ? "Stop recording" : "Start recording"), a = V(() => {
|
|
1383
1383
|
var _;
|
|
1384
1384
|
const D = [];
|
|
1385
1385
|
for (const C in (_ = h.value) == null ? void 0 : _.data)
|
|
@@ -1414,14 +1414,14 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1414
1414
|
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(D));
|
|
1415
1415
|
}
|
|
1416
1416
|
function g(D) {
|
|
1417
|
-
const _ =
|
|
1417
|
+
const _ = Q(D);
|
|
1418
1418
|
if (!_)
|
|
1419
1419
|
return;
|
|
1420
1420
|
const { layerId: C, event: S } = _;
|
|
1421
1421
|
o.layerIds.includes(C) && (s.value.push(S), A(S));
|
|
1422
1422
|
}
|
|
1423
|
-
P.functions.on(
|
|
1424
|
-
P.functions.off(
|
|
1423
|
+
P.functions.on(J.TIMELINE_EVENT_UPDATED, g), be(() => {
|
|
1424
|
+
P.functions.off(J.TIMELINE_EVENT_UPDATED, g);
|
|
1425
1425
|
});
|
|
1426
1426
|
function $() {
|
|
1427
1427
|
s.value = [], l.value.clear();
|
|
@@ -1431,43 +1431,43 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1431
1431
|
});
|
|
1432
1432
|
function U() {
|
|
1433
1433
|
P.value.updateTimelineLayersState({
|
|
1434
|
-
[o.pluginId]: !
|
|
1434
|
+
[o.pluginId]: !r.value
|
|
1435
1435
|
});
|
|
1436
1436
|
}
|
|
1437
|
-
return (D, _) => (p(),
|
|
1437
|
+
return (D, _) => (p(), f("div", Ro, [
|
|
1438
1438
|
D.headerVisible ? (p(), z($e, {
|
|
1439
1439
|
key: 0,
|
|
1440
1440
|
"doc-link": D.docLink,
|
|
1441
1441
|
"github-repo-link": D.githubRepoLink
|
|
1442
1442
|
}, {
|
|
1443
1443
|
default: H(() => [
|
|
1444
|
-
|
|
1444
|
+
x(Se)
|
|
1445
1445
|
]),
|
|
1446
1446
|
_: 1
|
|
1447
|
-
}, 8, ["doc-link", "github-repo-link"])) :
|
|
1448
|
-
s.value.length ? (p(),
|
|
1449
|
-
|
|
1447
|
+
}, 8, ["doc-link", "github-repo-link"])) : j("", !0),
|
|
1448
|
+
s.value.length ? (p(), f("div", Ao, [
|
|
1449
|
+
x(c(Ae), { class: "h-full" }, {
|
|
1450
1450
|
default: H(() => [
|
|
1451
|
-
|
|
1451
|
+
x(c(ue), {
|
|
1452
1452
|
border: "r base",
|
|
1453
1453
|
size: "40",
|
|
1454
1454
|
"h-full": ""
|
|
1455
1455
|
}, {
|
|
1456
1456
|
default: H(() => [
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
modelValue:
|
|
1460
|
-
"onUpdate:modelValue": _[0] || (_[0] = (C) =>
|
|
1457
|
+
d("div", Do, [
|
|
1458
|
+
x(No, {
|
|
1459
|
+
modelValue: u.value,
|
|
1460
|
+
"onUpdate:modelValue": _[0] || (_[0] = (C) => u.value = C),
|
|
1461
1461
|
data: s.value
|
|
1462
1462
|
}, null, 8, ["modelValue", "data"])
|
|
1463
1463
|
])
|
|
1464
1464
|
]),
|
|
1465
1465
|
_: 1
|
|
1466
1466
|
}),
|
|
1467
|
-
|
|
1467
|
+
x(c(ue), { size: "60" }, {
|
|
1468
1468
|
default: H(() => [
|
|
1469
|
-
|
|
1470
|
-
|
|
1469
|
+
d("div", Po, [
|
|
1470
|
+
x(Pe, {
|
|
1471
1471
|
class: "p3",
|
|
1472
1472
|
data: E.value,
|
|
1473
1473
|
"node-id": "",
|
|
@@ -1487,30 +1487,30 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1487
1487
|
class: "flex-1"
|
|
1488
1488
|
}, {
|
|
1489
1489
|
default: H(() => _[1] || (_[1] = [
|
|
1490
|
-
|
|
1490
|
+
Y(" No events ")
|
|
1491
1491
|
])),
|
|
1492
1492
|
_: 1
|
|
1493
1493
|
})),
|
|
1494
|
-
D.switcherVisible ? (p(),
|
|
1495
|
-
|
|
1496
|
-
W((p(),
|
|
1494
|
+
D.switcherVisible ? (p(), f("div", Mo, [
|
|
1495
|
+
d("div", Lo, [
|
|
1496
|
+
W((p(), f("div", {
|
|
1497
1497
|
class: "flex items-center gap1",
|
|
1498
1498
|
onClick: U
|
|
1499
1499
|
}, [
|
|
1500
|
-
|
|
1500
|
+
r.value ? (p(), f("span", Ho)) : (p(), f("span", Oo))
|
|
1501
1501
|
])), [
|
|
1502
1502
|
[
|
|
1503
|
-
|
|
1504
|
-
{ content:
|
|
1503
|
+
c(q),
|
|
1504
|
+
{ content: v.value },
|
|
1505
1505
|
void 0,
|
|
1506
1506
|
{ "bottom-end": !0 }
|
|
1507
1507
|
]
|
|
1508
1508
|
]),
|
|
1509
|
-
W((p(),
|
|
1509
|
+
W((p(), f("div", {
|
|
1510
1510
|
class: "flex items-center gap1",
|
|
1511
1511
|
onClick: $
|
|
1512
1512
|
}, [
|
|
1513
|
-
|
|
1513
|
+
x(c(Fe), {
|
|
1514
1514
|
name: "baseline-delete",
|
|
1515
1515
|
"cursor-pointer": "",
|
|
1516
1516
|
"text-xl": "",
|
|
@@ -1519,14 +1519,14 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1519
1519
|
})
|
|
1520
1520
|
])), [
|
|
1521
1521
|
[
|
|
1522
|
-
|
|
1522
|
+
c(q),
|
|
1523
1523
|
{ content: "Clear all timelines" },
|
|
1524
1524
|
void 0,
|
|
1525
1525
|
{ "bottom-end": !0 }
|
|
1526
1526
|
]
|
|
1527
1527
|
]),
|
|
1528
|
-
W((p(),
|
|
1529
|
-
|
|
1528
|
+
W((p(), f("div", jo, [
|
|
1529
|
+
x(c(Fe), {
|
|
1530
1530
|
name: "baseline-tips-and-updates",
|
|
1531
1531
|
"cursor-pointer": "",
|
|
1532
1532
|
"text-xl": "",
|
|
@@ -1535,18 +1535,18 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1535
1535
|
})
|
|
1536
1536
|
])), [
|
|
1537
1537
|
[
|
|
1538
|
-
|
|
1538
|
+
c(q),
|
|
1539
1539
|
{ content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
|
|
1540
1540
|
void 0,
|
|
1541
1541
|
{ "bottom-end": !0 }
|
|
1542
1542
|
]
|
|
1543
1543
|
])
|
|
1544
1544
|
])
|
|
1545
|
-
])) :
|
|
1545
|
+
])) : j("", !0)
|
|
1546
1546
|
]));
|
|
1547
1547
|
}
|
|
1548
1548
|
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-f59e6cce"]]);
|
|
1549
|
-
function
|
|
1549
|
+
function ls() {
|
|
1550
1550
|
const n = T([]), e = T([]);
|
|
1551
1551
|
function o(s) {
|
|
1552
1552
|
e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
|
|
@@ -1558,27 +1558,27 @@ function ns() {
|
|
|
1558
1558
|
e.value = s, e.value.forEach((l) => {
|
|
1559
1559
|
t(l);
|
|
1560
1560
|
});
|
|
1561
|
-
}), P.functions.on(
|
|
1561
|
+
}), P.functions.on(J.INSPECTOR_UPDATED, o);
|
|
1562
1562
|
});
|
|
1563
1563
|
function t(s) {
|
|
1564
1564
|
n.value.some((l) => l.id === s.id) || n.value.push(s);
|
|
1565
1565
|
}
|
|
1566
1566
|
return be(() => {
|
|
1567
|
-
P.functions.off(
|
|
1567
|
+
P.functions.off(J.INSPECTOR_UPDATED, o);
|
|
1568
1568
|
}), {
|
|
1569
1569
|
registeredInspector: n,
|
|
1570
1570
|
register: t
|
|
1571
1571
|
};
|
|
1572
1572
|
}
|
|
1573
|
-
const
|
|
1573
|
+
const Bt = Symbol("SelectedSymbolKey");
|
|
1574
1574
|
function zo() {
|
|
1575
1575
|
const n = T("");
|
|
1576
|
-
return ge(
|
|
1576
|
+
return ge(Bt, n), {
|
|
1577
1577
|
selected: n
|
|
1578
1578
|
};
|
|
1579
1579
|
}
|
|
1580
1580
|
function Bo() {
|
|
1581
|
-
const n = ve(
|
|
1581
|
+
const n = ve(Bt, T(""));
|
|
1582
1582
|
function e(o) {
|
|
1583
1583
|
n.value = o;
|
|
1584
1584
|
}
|
|
@@ -1600,9 +1600,15 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1600
1600
|
"group-hover:text-white": "",
|
|
1601
1601
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1602
1602
|
}, qo = {
|
|
1603
|
-
key:
|
|
1603
|
+
key: 2,
|
|
1604
1604
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1605
|
-
}, Jo = {
|
|
1605
|
+
}, Jo = {
|
|
1606
|
+
key: 2,
|
|
1607
|
+
class: "ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"
|
|
1608
|
+
}, Yo = {
|
|
1609
|
+
key: 3,
|
|
1610
|
+
class: "ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"
|
|
1611
|
+
}, Xo = { key: 0 }, Me = /* @__PURE__ */ B({
|
|
1606
1612
|
__name: "TreeViewer",
|
|
1607
1613
|
props: /* @__PURE__ */ ze({
|
|
1608
1614
|
data: {},
|
|
@@ -1616,55 +1622,77 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1616
1622
|
setup(n) {
|
|
1617
1623
|
const e = et(n, "modelValue"), { expanded: o, toggleExpanded: t } = rt();
|
|
1618
1624
|
Bo();
|
|
1619
|
-
function s(
|
|
1620
|
-
return "name" in
|
|
1625
|
+
function s(u) {
|
|
1626
|
+
return "name" in u && (u == null ? void 0 : u.name) || "label" in u && u.label;
|
|
1621
1627
|
}
|
|
1622
|
-
function l(
|
|
1623
|
-
e.value =
|
|
1628
|
+
function l(u) {
|
|
1629
|
+
e.value = u;
|
|
1624
1630
|
}
|
|
1625
|
-
return (
|
|
1626
|
-
var
|
|
1627
|
-
return p(),
|
|
1631
|
+
return (u, i) => (p(!0), f(ne, null, ie(u.data, (r, h) => {
|
|
1632
|
+
var v, a;
|
|
1633
|
+
return p(), f("div", {
|
|
1628
1634
|
key: h,
|
|
1629
|
-
class:
|
|
1630
|
-
"min-w-max":
|
|
1635
|
+
class: oe({
|
|
1636
|
+
"min-w-max": u.depth === 0
|
|
1631
1637
|
})
|
|
1632
1638
|
}, [
|
|
1633
|
-
|
|
1634
|
-
class:
|
|
1635
|
-
style: Ie({ paddingLeft: `${15 *
|
|
1636
|
-
onClick: (m) => l(
|
|
1637
|
-
onDblclick: (m) =>
|
|
1639
|
+
d("div", {
|
|
1640
|
+
class: oe(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value === r.id }]),
|
|
1641
|
+
style: Ie({ paddingLeft: `${15 * u.depth + 4}px` }),
|
|
1642
|
+
onClick: (m) => l(r.id),
|
|
1643
|
+
onDblclick: (m) => c(t)(r.id)
|
|
1638
1644
|
}, [
|
|
1639
|
-
(
|
|
1645
|
+
(v = r == null ? void 0 : r.children) != null && v.length ? (p(), z(at, {
|
|
1640
1646
|
key: 0,
|
|
1641
|
-
value:
|
|
1647
|
+
value: c(o).includes(r.id),
|
|
1642
1648
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1643
|
-
onClick: fe((m) =>
|
|
1644
|
-
}, null, 8, ["value", "onClick"])) : (p(),
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
+
onClick: fe((m) => c(t)(r.id), ["stop"])
|
|
1650
|
+
}, null, 8, ["value", "onClick"])) : (p(), f("span", Fo)),
|
|
1651
|
+
d("span", Go, [
|
|
1652
|
+
u.withTag ? (p(), f("span", Ko, "<")) : j("", !0),
|
|
1653
|
+
d("span", Wo, le(s(r)), 1),
|
|
1654
|
+
(r.renderKey === 0 || r.renderKey) && r.renderKey !== c(Et) ? (p(), f("span", {
|
|
1655
|
+
key: 1,
|
|
1656
|
+
class: oe(["text-xs opacity-50", {
|
|
1657
|
+
"opacity-100": e.value === r.id
|
|
1658
|
+
}])
|
|
1659
|
+
}, [
|
|
1660
|
+
d("span", {
|
|
1661
|
+
class: oe([e.value === r.id ? "text-purple-200" : "text-purple-500"])
|
|
1662
|
+
}, " key", 2),
|
|
1663
|
+
i[1] || (i[1] = Y("=")),
|
|
1664
|
+
d("span", null, le(r.renderKey), 1)
|
|
1665
|
+
], 2)) : j("", !0),
|
|
1666
|
+
u.withTag ? (p(), f("span", qo, ">")) : j("", !0)
|
|
1649
1667
|
]),
|
|
1650
|
-
(p(
|
|
1668
|
+
r.isFragment ? W((p(), f("span", Jo, i[2] || (i[2] = [
|
|
1669
|
+
Y(" fragment ")
|
|
1670
|
+
]))), [
|
|
1671
|
+
[c(q), "Has multiple root DOM nodes"]
|
|
1672
|
+
]) : j("", !0),
|
|
1673
|
+
r.inactive ? W((p(), f("span", Yo, i[3] || (i[3] = [
|
|
1674
|
+
Y(" inactive ")
|
|
1675
|
+
]))), [
|
|
1676
|
+
[c(q), "Currently inactive but not destroyed"]
|
|
1677
|
+
]) : j("", !0),
|
|
1678
|
+
(p(!0), f(ne, null, ie(r.tags, (m, E) => (p(), z(Mt, {
|
|
1651
1679
|
key: E,
|
|
1652
1680
|
tag: m
|
|
1653
1681
|
}, null, 8, ["tag"]))), 128))
|
|
1654
1682
|
], 46, Zo),
|
|
1655
|
-
(a =
|
|
1656
|
-
|
|
1683
|
+
(a = r == null ? void 0 : r.children) != null && a.length && c(o).includes(r.id) ? (p(), f("div", Xo, [
|
|
1684
|
+
x(Me, {
|
|
1657
1685
|
modelValue: e.value,
|
|
1658
|
-
"onUpdate:modelValue":
|
|
1659
|
-
data:
|
|
1660
|
-
depth:
|
|
1661
|
-
"with-tag":
|
|
1686
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => e.value = m),
|
|
1687
|
+
data: r == null ? void 0 : r.children,
|
|
1688
|
+
depth: u.depth + 1,
|
|
1689
|
+
"with-tag": u.withTag
|
|
1662
1690
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
1663
|
-
])) :
|
|
1691
|
+
])) : j("", !0)
|
|
1664
1692
|
], 2);
|
|
1665
1693
|
}), 128));
|
|
1666
1694
|
}
|
|
1667
|
-
}),
|
|
1695
|
+
}), Qo = { 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]" }, el = { class: "flex-1 overflow-scroll text-3.5" }, tl = /* @__PURE__ */ B({
|
|
1668
1696
|
__name: "RenderCode",
|
|
1669
1697
|
props: {
|
|
1670
1698
|
code: {}
|
|
@@ -1675,82 +1703,82 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1675
1703
|
function t() {
|
|
1676
1704
|
o("close");
|
|
1677
1705
|
}
|
|
1678
|
-
return (s, l) => (p(),
|
|
1679
|
-
|
|
1680
|
-
l[0] || (l[0] =
|
|
1681
|
-
|
|
1706
|
+
return (s, l) => (p(), f("div", Qo, [
|
|
1707
|
+
d("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
1708
|
+
l[0] || (l[0] = d("span", { class: "font-500" }, "Render Code", -1)),
|
|
1709
|
+
d("i", {
|
|
1682
1710
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1683
1711
|
onClick: t
|
|
1684
1712
|
})
|
|
1685
1713
|
]),
|
|
1686
|
-
|
|
1687
|
-
|
|
1714
|
+
d("div", el, [
|
|
1715
|
+
x(c(sn), {
|
|
1688
1716
|
code: s.code,
|
|
1689
1717
|
lang: "javascript"
|
|
1690
1718
|
}, null, 8, ["code"])
|
|
1691
1719
|
])
|
|
1692
1720
|
]));
|
|
1693
1721
|
}
|
|
1694
|
-
}),
|
|
1722
|
+
}), nl = { class: "h-full w-full" }, ol = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ll = {
|
|
1695
1723
|
key: 0,
|
|
1696
1724
|
class: "h-full flex flex-col p2"
|
|
1697
|
-
},
|
|
1725
|
+
}, sl = { class: "flex py2" }, al = {
|
|
1698
1726
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1699
1727
|
style: { height: "1.1em", width: "1.1em" },
|
|
1700
1728
|
class: "op-80 hover:op-100",
|
|
1701
1729
|
viewBox: "0 0 24 24"
|
|
1702
|
-
},
|
|
1730
|
+
}, il = { class: "h-full flex flex-col p2" }, rl = { class: "flex py2" }, ul = {
|
|
1703
1731
|
key: 0,
|
|
1704
1732
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1705
|
-
},
|
|
1733
|
+
}, cl = {
|
|
1706
1734
|
"group-hover:text-white": "",
|
|
1707
1735
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1708
|
-
},
|
|
1736
|
+
}, dl = { class: "flex items-center gap-2 px-1" }, pl = { class: "h-full flex flex-col items-center justify-center gap-2" }, fl = { class: "block" }, vl = {
|
|
1709
1737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1710
1738
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1711
1739
|
class: "animate-fade",
|
|
1712
1740
|
viewBox: "0 0 24 24"
|
|
1713
|
-
},
|
|
1741
|
+
}, ml = { class: "flex items-center justify-center" }, Ve = "components", hl = /* @__PURE__ */ B({
|
|
1714
1742
|
__name: "index",
|
|
1715
1743
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1716
1744
|
setup(n, { emit: e }) {
|
|
1717
|
-
const o = e, t = T(), s = T(!1), { width: l } = lo(t),
|
|
1718
|
-
function g(I, b = [],
|
|
1745
|
+
const o = e, t = T(), s = T(!1), { width: l } = lo(t), u = V(() => s.value ? l.value < 700 : !1), i = T(""), r = T(""), [h, v] = Xn(!0), a = T(!1), m = T(!1), E = T(""), A = T(!1);
|
|
1746
|
+
function g(I, b = [], O = []) {
|
|
1719
1747
|
var G;
|
|
1720
|
-
return b.push(I.id), ((G = I.children) == null ? void 0 : G.length) === 0 &&
|
|
1721
|
-
g(
|
|
1722
|
-
}), b.pop(),
|
|
1748
|
+
return b.push(I.id), ((G = I.children) == null ? void 0 : G.length) === 0 && O.push([...b]), Array.isArray(I.children) && I.children.forEach((X) => {
|
|
1749
|
+
g(X, b, O);
|
|
1750
|
+
}), b.pop(), O;
|
|
1723
1751
|
}
|
|
1724
1752
|
function $(I) {
|
|
1725
|
-
const b = [],
|
|
1726
|
-
G == null || G.forEach((
|
|
1753
|
+
const b = [], O = (G) => {
|
|
1754
|
+
G == null || G.forEach((X) => {
|
|
1727
1755
|
var we;
|
|
1728
|
-
b.push(
|
|
1756
|
+
b.push(X), (we = X.children) != null && we.length && O(X.children);
|
|
1729
1757
|
});
|
|
1730
1758
|
};
|
|
1731
|
-
return
|
|
1759
|
+
return O(I), b;
|
|
1732
1760
|
}
|
|
1733
1761
|
function U(I, b) {
|
|
1734
|
-
const
|
|
1762
|
+
const O = [];
|
|
1735
1763
|
return I == null || I.forEach((G) => {
|
|
1736
|
-
|
|
1737
|
-
}), [...new Set(
|
|
1764
|
+
O.push(...G.slice(0, b + 1));
|
|
1765
|
+
}), [...new Set(O)];
|
|
1738
1766
|
}
|
|
1739
1767
|
function D(I, b) {
|
|
1740
|
-
const
|
|
1768
|
+
const O = [];
|
|
1741
1769
|
return I.forEach((G) => {
|
|
1742
|
-
const
|
|
1743
|
-
|
|
1744
|
-
}), [...new Set(
|
|
1770
|
+
const X = G.indexOf(b);
|
|
1771
|
+
X !== -1 && O.push(...G.slice(0, X + 1));
|
|
1772
|
+
}), [...new Set(O)];
|
|
1745
1773
|
}
|
|
1746
1774
|
const _ = T([]), C = V(() => {
|
|
1747
1775
|
var I, b;
|
|
1748
1776
|
return (I = _.value) != null && I.length ? g((b = _.value) == null ? void 0 : b[0]) : [];
|
|
1749
1777
|
}), S = V(() => $(_.value)), L = V(() => S.value.map((I) => I.id)), K = T({}), Z = T(""), N = V(() => {
|
|
1750
|
-
const I = [], b = (
|
|
1751
|
-
|
|
1752
|
-
var
|
|
1753
|
-
G.id === Z.value && I.push(G), (
|
|
1778
|
+
const I = [], b = (O) => {
|
|
1779
|
+
O.forEach((G) => {
|
|
1780
|
+
var X;
|
|
1781
|
+
G.id === Z.value && I.push(G), (X = G.children) != null && X.length && b(G.children);
|
|
1754
1782
|
});
|
|
1755
1783
|
};
|
|
1756
1784
|
return b(_.value), I[0];
|
|
@@ -1764,68 +1792,68 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1764
1792
|
try {
|
|
1765
1793
|
return bn({
|
|
1766
1794
|
[we.key]: we.value
|
|
1767
|
-
},
|
|
1768
|
-
} catch (
|
|
1795
|
+
}, r.value);
|
|
1796
|
+
} catch (Yt) {
|
|
1769
1797
|
return {
|
|
1770
|
-
[we.key]:
|
|
1798
|
+
[we.key]: Yt
|
|
1771
1799
|
};
|
|
1772
1800
|
}
|
|
1773
|
-
}),
|
|
1774
|
-
G.length && (I[b] =
|
|
1801
|
+
}), X = _n(Object.values(yn(Rt(G), "stateType")));
|
|
1802
|
+
G.length && (I[b] = X);
|
|
1775
1803
|
}
|
|
1776
1804
|
return I;
|
|
1777
|
-
}), { expanded: k } = me(), { expanded:
|
|
1805
|
+
}), { expanded: k } = me(), { expanded: y } = me("component-state");
|
|
1778
1806
|
zo();
|
|
1779
1807
|
async function R(I = "") {
|
|
1780
1808
|
return P.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
|
|
1781
|
-
var G,
|
|
1782
|
-
const
|
|
1783
|
-
_.value =
|
|
1809
|
+
var G, X;
|
|
1810
|
+
const O = Q(b);
|
|
1811
|
+
_.value = O, Z.value = (X = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : X.id, k.value = U(C.value, 1), a.value = !0;
|
|
1784
1812
|
});
|
|
1785
1813
|
}
|
|
1786
1814
|
function F(I) {
|
|
1787
1815
|
if (!I || !(I != null && I.state))
|
|
1788
1816
|
return {};
|
|
1789
1817
|
const b = {};
|
|
1790
|
-
return I.state.forEach((
|
|
1791
|
-
b[
|
|
1818
|
+
return I.state.forEach((O) => {
|
|
1819
|
+
b[O.type] || (b[O.type] = []), b[O.type].push(O);
|
|
1792
1820
|
}), b;
|
|
1793
1821
|
}
|
|
1794
|
-
function
|
|
1822
|
+
function ae(I) {
|
|
1795
1823
|
P.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
|
|
1796
|
-
const
|
|
1797
|
-
|
|
1824
|
+
const O = Q(b);
|
|
1825
|
+
O && (K.value = F(O), y.value = Array.from({ length: Object.keys(K.value).length }, (G, X) => `${X}`));
|
|
1798
1826
|
});
|
|
1799
1827
|
}
|
|
1800
|
-
|
|
1801
|
-
|
|
1828
|
+
ee(Z, (I) => {
|
|
1829
|
+
ae(I), A.value && je();
|
|
1802
1830
|
});
|
|
1803
1831
|
function re(I) {
|
|
1804
|
-
const b =
|
|
1832
|
+
const b = Q(I);
|
|
1805
1833
|
b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
|
|
1806
1834
|
}
|
|
1807
|
-
P.functions.on(
|
|
1835
|
+
P.functions.on(J.INSPECTOR_STATE_UPDATED, re), R();
|
|
1808
1836
|
function ce(I) {
|
|
1809
1837
|
const b = I.trim().toLowerCase();
|
|
1810
|
-
|
|
1811
|
-
|
|
1838
|
+
v(), R(b).then(() => {
|
|
1839
|
+
v();
|
|
1812
1840
|
});
|
|
1813
1841
|
}
|
|
1814
|
-
Qn(
|
|
1842
|
+
Qn(i, (I) => {
|
|
1815
1843
|
ce(I);
|
|
1816
1844
|
}, { debounce: 300 });
|
|
1817
1845
|
function _e(I) {
|
|
1818
|
-
var
|
|
1819
|
-
const b =
|
|
1820
|
-
b.inspectorId === Ve && (
|
|
1846
|
+
var O, G;
|
|
1847
|
+
const b = Q(I);
|
|
1848
|
+
b.inspectorId === Ve && (i.value ? ce(i.value) : _.value = b.rootNodes, L.value.includes(Z.value) || (Z.value = (G = (O = _.value) == null ? void 0 : O[0]) == null ? void 0 : G.id, k.value = U(C.value, 1)));
|
|
1821
1849
|
}
|
|
1822
|
-
P.functions.on(
|
|
1823
|
-
P.functions.off(
|
|
1850
|
+
P.functions.on(J.INSPECTOR_TREE_UPDATED, _e), be(() => {
|
|
1851
|
+
P.functions.off(J.INSPECTOR_STATE_UPDATED, re), P.functions.off(J.INSPECTOR_TREE_UPDATED, _e);
|
|
1824
1852
|
});
|
|
1825
|
-
function
|
|
1853
|
+
function ye() {
|
|
1826
1854
|
m.value = !0, o("onInspectComponentStart"), P.value.inspectComponentInspector().then((I) => {
|
|
1827
1855
|
const b = JSON.parse(I);
|
|
1828
|
-
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...D(C.value, b.id)])],
|
|
1856
|
+
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...D(C.value, b.id)])], Kt();
|
|
1829
1857
|
}).finally(() => {
|
|
1830
1858
|
m.value = !1, o("onInspectComponentEnd");
|
|
1831
1859
|
});
|
|
@@ -1836,12 +1864,12 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1836
1864
|
function He() {
|
|
1837
1865
|
P.value.scrollToComponent(Z.value);
|
|
1838
1866
|
}
|
|
1839
|
-
function
|
|
1867
|
+
function Oe() {
|
|
1840
1868
|
P.value.inspectDOM(Z.value).then(() => {
|
|
1841
1869
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
1842
1870
|
});
|
|
1843
1871
|
}
|
|
1844
|
-
function
|
|
1872
|
+
function je() {
|
|
1845
1873
|
P.value.getComponentRenderCode(Z.value).then((I) => {
|
|
1846
1874
|
E.value = I, A.value = !0;
|
|
1847
1875
|
});
|
|
@@ -1850,181 +1878,181 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1850
1878
|
o("openInEditor", M.value);
|
|
1851
1879
|
}
|
|
1852
1880
|
const Ee = T();
|
|
1853
|
-
function
|
|
1881
|
+
function Kt() {
|
|
1854
1882
|
setTimeout(() => {
|
|
1855
1883
|
var b;
|
|
1856
1884
|
const I = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
|
|
1857
1885
|
I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
1858
1886
|
}, 300);
|
|
1859
1887
|
}
|
|
1860
|
-
function
|
|
1888
|
+
function Wt() {
|
|
1861
1889
|
E.value = "", A.value = !1;
|
|
1862
1890
|
}
|
|
1863
|
-
const Je =
|
|
1891
|
+
const Je = Nt(), ft = V(() => Je.appRecords.value.map((I) => ({
|
|
1864
1892
|
label: I.name + (I.version ? ` (${I.version})` : ""),
|
|
1865
1893
|
value: I.id
|
|
1866
|
-
}))),
|
|
1894
|
+
}))), qt = V(() => ft.value.map((I) => ({
|
|
1867
1895
|
label: I.label,
|
|
1868
1896
|
id: I.value
|
|
1869
1897
|
}))), Ye = T(Je.activeAppRecordId.value);
|
|
1870
1898
|
ot(() => {
|
|
1871
1899
|
Ye.value = Je.activeAppRecordId.value;
|
|
1872
1900
|
});
|
|
1873
|
-
function
|
|
1901
|
+
function Jt(I) {
|
|
1874
1902
|
P.value.toggleApp(I).then(() => {
|
|
1875
1903
|
Z.value = "", R();
|
|
1876
1904
|
});
|
|
1877
1905
|
}
|
|
1878
|
-
return (I, b) => (p(),
|
|
1879
|
-
|
|
1906
|
+
return (I, b) => (p(), f("div", nl, [
|
|
1907
|
+
x(c(Ae), {
|
|
1880
1908
|
ref_key: "splitpanesRef",
|
|
1881
1909
|
ref: t,
|
|
1882
1910
|
class: "flex-1 overflow-auto",
|
|
1883
|
-
horizontal:
|
|
1884
|
-
onReady: b[4] || (b[4] = (
|
|
1911
|
+
horizontal: u.value,
|
|
1912
|
+
onReady: b[4] || (b[4] = (O) => s.value = !0)
|
|
1885
1913
|
}, {
|
|
1886
1914
|
default: H(() => [
|
|
1887
|
-
ft.value.length > 1 ? (p(), z(
|
|
1915
|
+
ft.value.length > 1 ? (p(), z(c(ue), {
|
|
1888
1916
|
key: 0,
|
|
1889
1917
|
border: "base h-full",
|
|
1890
1918
|
size: "20"
|
|
1891
1919
|
}, {
|
|
1892
1920
|
default: H(() => [
|
|
1893
|
-
|
|
1894
|
-
|
|
1921
|
+
d("div", ol, [
|
|
1922
|
+
x(Sn, {
|
|
1895
1923
|
modelValue: Ye.value,
|
|
1896
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
1897
|
-
data:
|
|
1924
|
+
"onUpdate:modelValue": b[0] || (b[0] = (O) => Ye.value = O),
|
|
1925
|
+
data: qt.value,
|
|
1898
1926
|
class: "w-full",
|
|
1899
|
-
onSelect:
|
|
1927
|
+
onSelect: Jt
|
|
1900
1928
|
}, null, 8, ["modelValue", "data"])
|
|
1901
1929
|
])
|
|
1902
1930
|
]),
|
|
1903
1931
|
_: 1
|
|
1904
|
-
})) :
|
|
1905
|
-
|
|
1932
|
+
})) : j("", !0),
|
|
1933
|
+
x(c(ue), {
|
|
1906
1934
|
border: "base",
|
|
1907
1935
|
"h-full": ""
|
|
1908
1936
|
}, {
|
|
1909
1937
|
default: H(() => [
|
|
1910
|
-
a.value ? (p(),
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
modelValue:
|
|
1914
|
-
"onUpdate:modelValue": b[1] || (b[1] = (
|
|
1938
|
+
a.value ? (p(), f("div", ll, [
|
|
1939
|
+
d("div", sl, [
|
|
1940
|
+
x(c(Ze), {
|
|
1941
|
+
modelValue: i.value,
|
|
1942
|
+
"onUpdate:modelValue": b[1] || (b[1] = (O) => i.value = O),
|
|
1915
1943
|
"loading-debounce-time": 250,
|
|
1916
|
-
loading: !
|
|
1944
|
+
loading: !c(h),
|
|
1917
1945
|
placeholder: "Find components...",
|
|
1918
1946
|
class: "flex-1 text-3.5"
|
|
1919
1947
|
}, null, 8, ["modelValue", "loading"]),
|
|
1920
|
-
|
|
1948
|
+
c(hn) ? j("", !0) : W((p(), f("button", {
|
|
1921
1949
|
key: 0,
|
|
1922
1950
|
"px-1": "",
|
|
1923
1951
|
class: "hover:color-#00dc82",
|
|
1924
|
-
onClick:
|
|
1952
|
+
onClick: ye
|
|
1925
1953
|
}, [
|
|
1926
|
-
(p(),
|
|
1927
|
-
|
|
1954
|
+
(p(), f("svg", al, b[6] || (b[6] = [
|
|
1955
|
+
d("path", {
|
|
1928
1956
|
fill: "currentColor",
|
|
1929
1957
|
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"
|
|
1930
1958
|
}, null, -1)
|
|
1931
1959
|
])))
|
|
1932
1960
|
])), [
|
|
1933
1961
|
[
|
|
1934
|
-
|
|
1962
|
+
c(q),
|
|
1935
1963
|
"Select component in the page",
|
|
1936
1964
|
void 0,
|
|
1937
1965
|
{ bottom: !0 }
|
|
1938
1966
|
]
|
|
1939
1967
|
])
|
|
1940
1968
|
]),
|
|
1941
|
-
|
|
1969
|
+
d("div", {
|
|
1942
1970
|
ref_key: "componentTreeContainer",
|
|
1943
1971
|
ref: Ee,
|
|
1944
1972
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
1945
1973
|
}, [
|
|
1946
|
-
|
|
1974
|
+
x(Me, {
|
|
1947
1975
|
modelValue: Z.value,
|
|
1948
|
-
"onUpdate:modelValue": b[2] || (b[2] = (
|
|
1976
|
+
"onUpdate:modelValue": b[2] || (b[2] = (O) => Z.value = O),
|
|
1949
1977
|
data: _.value,
|
|
1950
1978
|
"with-tag": !0
|
|
1951
1979
|
}, null, 8, ["modelValue", "data"])
|
|
1952
1980
|
], 512)
|
|
1953
|
-
])) :
|
|
1981
|
+
])) : j("", !0)
|
|
1954
1982
|
]),
|
|
1955
1983
|
_: 1
|
|
1956
1984
|
}),
|
|
1957
|
-
|
|
1985
|
+
x(c(ue), {
|
|
1958
1986
|
relative: "",
|
|
1959
1987
|
"h-full": ""
|
|
1960
1988
|
}, {
|
|
1961
1989
|
default: H(() => {
|
|
1962
|
-
var
|
|
1990
|
+
var O;
|
|
1963
1991
|
return [
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
(
|
|
1967
|
-
b[7] || (b[7] =
|
|
1968
|
-
|
|
1969
|
-
b[8] || (b[8] =
|
|
1970
|
-
])) :
|
|
1971
|
-
|
|
1972
|
-
modelValue:
|
|
1973
|
-
"onUpdate:modelValue": b[3] || (b[3] = (G) =>
|
|
1992
|
+
d("div", il, [
|
|
1993
|
+
d("div", rl, [
|
|
1994
|
+
(O = N.value) != null && O.name ? (p(), f("span", ul, [
|
|
1995
|
+
b[7] || (b[7] = d("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
|
|
1996
|
+
d("span", cl, le(N.value.name), 1),
|
|
1997
|
+
b[8] || (b[8] = d("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
|
|
1998
|
+
])) : j("", !0),
|
|
1999
|
+
x(c(Ze), {
|
|
2000
|
+
modelValue: r.value,
|
|
2001
|
+
"onUpdate:modelValue": b[3] || (b[3] = (G) => r.value = G),
|
|
1974
2002
|
"loading-debounce-time": 250,
|
|
1975
2003
|
placeholder: "Filter State...",
|
|
1976
2004
|
class: "flex-1 text-3.5"
|
|
1977
2005
|
}, null, 8, ["modelValue"]),
|
|
1978
|
-
|
|
1979
|
-
W(
|
|
2006
|
+
d("div", dl, [
|
|
2007
|
+
W(d("i", {
|
|
1980
2008
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
1981
2009
|
onClick: He
|
|
1982
2010
|
}, null, 512), [
|
|
1983
2011
|
[
|
|
1984
|
-
|
|
2012
|
+
c(q),
|
|
1985
2013
|
"Scroll to component",
|
|
1986
2014
|
void 0,
|
|
1987
2015
|
{ bottom: !0 }
|
|
1988
2016
|
]
|
|
1989
2017
|
]),
|
|
1990
|
-
W(
|
|
2018
|
+
W(d("i", {
|
|
1991
2019
|
class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
|
|
1992
|
-
onClick:
|
|
2020
|
+
onClick: je
|
|
1993
2021
|
}, null, 512), [
|
|
1994
2022
|
[
|
|
1995
|
-
|
|
2023
|
+
c(q),
|
|
1996
2024
|
"Show render code",
|
|
1997
2025
|
void 0,
|
|
1998
2026
|
{ bottom: !0 }
|
|
1999
2027
|
]
|
|
2000
2028
|
]),
|
|
2001
|
-
|
|
2029
|
+
c(xt) ? W((p(), f("i", {
|
|
2002
2030
|
key: 0,
|
|
2003
2031
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
2004
|
-
onClick:
|
|
2032
|
+
onClick: Oe
|
|
2005
2033
|
}, null, 512)), [
|
|
2006
2034
|
[
|
|
2007
|
-
|
|
2035
|
+
c(q),
|
|
2008
2036
|
"Inspect DOM",
|
|
2009
2037
|
void 0,
|
|
2010
2038
|
{ bottom: !0 }
|
|
2011
2039
|
]
|
|
2012
|
-
]) :
|
|
2013
|
-
M.value ? W((p(),
|
|
2040
|
+
]) : j("", !0),
|
|
2041
|
+
M.value ? W((p(), f("i", {
|
|
2014
2042
|
key: 1,
|
|
2015
2043
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
2016
2044
|
onClick: qe
|
|
2017
2045
|
}, null, 512)), [
|
|
2018
2046
|
[
|
|
2019
|
-
|
|
2047
|
+
c(q),
|
|
2020
2048
|
"Open in Editor",
|
|
2021
2049
|
void 0,
|
|
2022
2050
|
{ bottom: !0 }
|
|
2023
2051
|
]
|
|
2024
|
-
]) :
|
|
2052
|
+
]) : j("", !0)
|
|
2025
2053
|
])
|
|
2026
2054
|
]),
|
|
2027
|
-
|
|
2055
|
+
x(Pe, {
|
|
2028
2056
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
2029
2057
|
data: w.value,
|
|
2030
2058
|
"node-id": Z.value,
|
|
@@ -2032,11 +2060,11 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2032
2060
|
"expanded-state-id": "component-state"
|
|
2033
2061
|
}, null, 8, ["data", "node-id"])
|
|
2034
2062
|
]),
|
|
2035
|
-
A.value && E.value ? (p(), z(
|
|
2063
|
+
A.value && E.value ? (p(), z(tl, {
|
|
2036
2064
|
key: 0,
|
|
2037
2065
|
code: E.value,
|
|
2038
|
-
onClose:
|
|
2039
|
-
}, null, 8, ["code"])) :
|
|
2066
|
+
onClose: Wt
|
|
2067
|
+
}, null, 8, ["code"])) : j("", !0)
|
|
2040
2068
|
];
|
|
2041
2069
|
}),
|
|
2042
2070
|
_: 1
|
|
@@ -2044,58 +2072,58 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2044
2072
|
]),
|
|
2045
2073
|
_: 1
|
|
2046
2074
|
}, 8, ["horizontal"]),
|
|
2047
|
-
|
|
2075
|
+
c(xt) ? (p(), z(c(an), {
|
|
2048
2076
|
key: 0,
|
|
2049
2077
|
modelValue: m.value,
|
|
2050
|
-
"onUpdate:modelValue": b[5] || (b[5] = (
|
|
2078
|
+
"onUpdate:modelValue": b[5] || (b[5] = (O) => m.value = O),
|
|
2051
2079
|
title: "",
|
|
2052
2080
|
height: "12rem",
|
|
2053
2081
|
closable: !1
|
|
2054
2082
|
}, {
|
|
2055
2083
|
footer: H(() => [
|
|
2056
|
-
|
|
2057
|
-
|
|
2084
|
+
d("div", ml, [
|
|
2085
|
+
x(c(de), { onClick: Le }, {
|
|
2058
2086
|
default: H(() => b[11] || (b[11] = [
|
|
2059
|
-
|
|
2087
|
+
Y(" Cancel ")
|
|
2060
2088
|
])),
|
|
2061
2089
|
_: 1
|
|
2062
2090
|
})
|
|
2063
2091
|
])
|
|
2064
2092
|
]),
|
|
2065
2093
|
default: H(() => [
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
(p(),
|
|
2069
|
-
|
|
2094
|
+
d("div", pl, [
|
|
2095
|
+
d("span", fl, [
|
|
2096
|
+
(p(), f("svg", vl, b[9] || (b[9] = [
|
|
2097
|
+
d("g", {
|
|
2070
2098
|
fill: "none",
|
|
2071
2099
|
stroke: "currentColor",
|
|
2072
2100
|
"stroke-linecap": "round",
|
|
2073
2101
|
"stroke-linejoin": "round",
|
|
2074
2102
|
"stroke-width": "2"
|
|
2075
2103
|
}, [
|
|
2076
|
-
|
|
2104
|
+
d("circle", {
|
|
2077
2105
|
cx: "12",
|
|
2078
2106
|
cy: "12",
|
|
2079
2107
|
r: ".5",
|
|
2080
2108
|
fill: "currentColor"
|
|
2081
2109
|
}),
|
|
2082
|
-
|
|
2110
|
+
d("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2083
2111
|
], -1)
|
|
2084
2112
|
])))
|
|
2085
2113
|
]),
|
|
2086
|
-
b[10] || (b[10] =
|
|
2114
|
+
b[10] || (b[10] = d("p", null, " Click on a component on the page to select it ", -1))
|
|
2087
2115
|
])
|
|
2088
2116
|
]),
|
|
2089
2117
|
_: 1
|
|
2090
|
-
}, 8, ["modelValue"])) :
|
|
2118
|
+
}, 8, ["modelValue"])) : j("", !0)
|
|
2091
2119
|
]));
|
|
2092
2120
|
}
|
|
2093
|
-
}),
|
|
2094
|
-
function
|
|
2095
|
-
return p(),
|
|
2096
|
-
e[0] || (e[0] =
|
|
2097
|
-
|
|
2098
|
-
|
|
2121
|
+
}), ss = /* @__PURE__ */ Ce(hl, [["__scopeId", "data-v-38589395"]]), gl = {}, Cl = { class: "h-screen w-screen $ui-fcc flex-col" };
|
|
2122
|
+
function _l(n, e) {
|
|
2123
|
+
return p(), f("div", Cl, [
|
|
2124
|
+
e[0] || (e[0] = d("div", { class: "outer" }, [
|
|
2125
|
+
d("div", { class: "inner" }, [
|
|
2126
|
+
d("i", {
|
|
2099
2127
|
class: "i-logos-vue inline-block h8! w8!",
|
|
2100
2128
|
alt: "Vue logo"
|
|
2101
2129
|
})
|
|
@@ -2104,11 +2132,11 @@ function gl(n, e) {
|
|
|
2104
2132
|
tt(n.$slots, "default", {}, void 0, !0)
|
|
2105
2133
|
]);
|
|
2106
2134
|
}
|
|
2107
|
-
const
|
|
2135
|
+
const yl = /* @__PURE__ */ Ce(gl, [["render", _l], ["__scopeId", "data-v-b8018f07"]]), Zt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
2108
2136
|
function Te() {
|
|
2109
|
-
return ve(
|
|
2137
|
+
return ve(Zt);
|
|
2110
2138
|
}
|
|
2111
|
-
function
|
|
2139
|
+
function Ft() {
|
|
2112
2140
|
const n = T({
|
|
2113
2141
|
homepage: "",
|
|
2114
2142
|
id: "",
|
|
@@ -2116,149 +2144,149 @@ function Zt() {
|
|
|
2116
2144
|
logo: "",
|
|
2117
2145
|
timelineLayerIds: []
|
|
2118
2146
|
});
|
|
2119
|
-
return ge(
|
|
2147
|
+
return ge(Zt, n), n;
|
|
2120
2148
|
}
|
|
2121
|
-
const
|
|
2149
|
+
const xl = {}, bl = {
|
|
2122
2150
|
width: "175",
|
|
2123
2151
|
height: "34",
|
|
2124
2152
|
viewBox: "0 0 175 34",
|
|
2125
2153
|
fill: "none",
|
|
2126
2154
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2127
2155
|
};
|
|
2128
|
-
function
|
|
2129
|
-
return p(),
|
|
2130
|
-
|
|
2156
|
+
function wl(n, e) {
|
|
2157
|
+
return p(), f("svg", bl, e[0] || (e[0] = [
|
|
2158
|
+
d("path", {
|
|
2131
2159
|
fill: "currentColor",
|
|
2132
2160
|
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"
|
|
2133
2161
|
}, null, -1)
|
|
2134
2162
|
]));
|
|
2135
2163
|
}
|
|
2136
|
-
const
|
|
2164
|
+
const kl = /* @__PURE__ */ Ce(xl, [["render", wl]]), Il = {
|
|
2137
2165
|
"h-full": "",
|
|
2138
2166
|
"w-full": "",
|
|
2139
2167
|
flex: "",
|
|
2140
2168
|
"items-center": ""
|
|
2141
|
-
},
|
|
2169
|
+
}, $l = {
|
|
2142
2170
|
flex: "~ col gap2",
|
|
2143
2171
|
ma: "",
|
|
2144
2172
|
"px-5": ""
|
|
2145
|
-
},
|
|
2173
|
+
}, Sl = {
|
|
2146
2174
|
flex: "~ col",
|
|
2147
2175
|
"mt-20": "",
|
|
2148
2176
|
"items-center": ""
|
|
2149
|
-
},
|
|
2177
|
+
}, Tl = {
|
|
2150
2178
|
flex: "~",
|
|
2151
2179
|
"mt--10": "",
|
|
2152
2180
|
"items-center": "",
|
|
2153
2181
|
"justify-center": ""
|
|
2154
|
-
},
|
|
2182
|
+
}, El = { class: "mr-1" }, Vl = {
|
|
2155
2183
|
key: 0,
|
|
2156
2184
|
class: "inline-block w20"
|
|
2157
|
-
},
|
|
2185
|
+
}, Nl = ["src", "alt"], Rl = {
|
|
2158
2186
|
key: 1,
|
|
2159
2187
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2160
|
-
},
|
|
2188
|
+
}, Al = {
|
|
2161
2189
|
mb6: "",
|
|
2162
2190
|
"mt--1": "",
|
|
2163
2191
|
"text-center": "",
|
|
2164
2192
|
"text-sm": "",
|
|
2165
2193
|
flex: "~ gap-1"
|
|
2166
|
-
},
|
|
2194
|
+
}, Dl = { op40: "" }, Pl = { flex: "~ gap2 wrap" }, Ml = {
|
|
2167
2195
|
flex: "~ gap-6 wrap",
|
|
2168
2196
|
"mt-5": "",
|
|
2169
2197
|
"items-center": "",
|
|
2170
2198
|
"justify-center": ""
|
|
2171
|
-
},
|
|
2199
|
+
}, Ll = ["href"], Hl = /* @__PURE__ */ B({
|
|
2172
2200
|
__name: "About",
|
|
2173
2201
|
setup(n) {
|
|
2174
2202
|
const e = De(), o = Te(), t = T(!1), s = T(!1);
|
|
2175
2203
|
function l() {
|
|
2176
2204
|
t.value = !0;
|
|
2177
2205
|
}
|
|
2178
|
-
function
|
|
2206
|
+
function u() {
|
|
2179
2207
|
t.value = !0, s.value = !0;
|
|
2180
2208
|
}
|
|
2181
|
-
return (
|
|
2209
|
+
return (i, r) => {
|
|
2182
2210
|
var h;
|
|
2183
|
-
return p(),
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
t.value ?
|
|
2190
|
-
W(
|
|
2191
|
-
src:
|
|
2192
|
-
alt: `${
|
|
2211
|
+
return p(), f("div", Il, [
|
|
2212
|
+
d("div", $l, [
|
|
2213
|
+
r[5] || (r[5] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2214
|
+
d("div", Sl, [
|
|
2215
|
+
d("div", Tl, [
|
|
2216
|
+
d("span", El, [
|
|
2217
|
+
t.value ? j("", !0) : (p(), f("span", Vl)),
|
|
2218
|
+
W(d("img", {
|
|
2219
|
+
src: c(o).logo,
|
|
2220
|
+
alt: `${c(o).label} Logo`,
|
|
2193
2221
|
class: "inline-block h16",
|
|
2194
|
-
onError:
|
|
2222
|
+
onError: u,
|
|
2195
2223
|
onLoad: l
|
|
2196
|
-
}, null, 40,
|
|
2197
|
-
[
|
|
2224
|
+
}, null, 40, Nl), [
|
|
2225
|
+
[nn, t.value && !s.value]
|
|
2198
2226
|
]),
|
|
2199
|
-
s.value ? (p(),
|
|
2227
|
+
s.value ? (p(), f("span", Rl, le(c(o).label), 1)) : j("", !0)
|
|
2200
2228
|
]),
|
|
2201
|
-
|
|
2202
|
-
|
|
2229
|
+
d("span", null, [
|
|
2230
|
+
x(kl, { "h-18": "" })
|
|
2203
2231
|
])
|
|
2204
2232
|
]),
|
|
2205
|
-
|
|
2206
|
-
|
|
2233
|
+
d("div", Al, [
|
|
2234
|
+
d("span", Dl, le(c(o).label) + " DevTools ", 1)
|
|
2207
2235
|
])
|
|
2208
2236
|
]),
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2237
|
+
r[6] || (r[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2238
|
+
d("div", Pl, [
|
|
2239
|
+
d("div", {
|
|
2212
2240
|
flex: "~ col auto",
|
|
2213
2241
|
"min-w-40": "",
|
|
2214
2242
|
p4: "",
|
|
2215
2243
|
"theme-card-lime": "",
|
|
2216
|
-
onClick:
|
|
2217
|
-
},
|
|
2218
|
-
|
|
2244
|
+
onClick: r[0] || (r[0] = (v) => c(e).push("/state"))
|
|
2245
|
+
}, r[2] || (r[2] = [
|
|
2246
|
+
d("div", {
|
|
2219
2247
|
"i-carbon-tree-view-alt": "",
|
|
2220
2248
|
"text-3xl": ""
|
|
2221
2249
|
}, null, -1),
|
|
2222
|
-
|
|
2250
|
+
d("code", null, "State", -1)
|
|
2223
2251
|
])),
|
|
2224
|
-
(h =
|
|
2252
|
+
(h = c(o).timelineLayerIds) != null && h.length ? (p(), f("div", {
|
|
2225
2253
|
key: 0,
|
|
2226
2254
|
flex: "~ col auto",
|
|
2227
2255
|
"min-w-40": "",
|
|
2228
2256
|
p4: "",
|
|
2229
2257
|
"theme-card-lime": "",
|
|
2230
|
-
onClick:
|
|
2231
|
-
},
|
|
2232
|
-
|
|
2258
|
+
onClick: r[1] || (r[1] = (v) => c(e).push("/timeline"))
|
|
2259
|
+
}, r[3] || (r[3] = [
|
|
2260
|
+
d("div", {
|
|
2233
2261
|
"i-mdi:timeline-clock-outline": "",
|
|
2234
2262
|
"text-3xl": ""
|
|
2235
2263
|
}, null, -1),
|
|
2236
|
-
|
|
2237
|
-
]))) :
|
|
2264
|
+
d("div", null, "Timeline", -1)
|
|
2265
|
+
]))) : j("", !0)
|
|
2238
2266
|
]),
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
href:
|
|
2267
|
+
d("div", Ml, [
|
|
2268
|
+
d("a", {
|
|
2269
|
+
href: c(o).homepage,
|
|
2242
2270
|
target: "_blank",
|
|
2243
2271
|
flex: "~ gap1",
|
|
2244
2272
|
"items-center": "",
|
|
2245
2273
|
op50: "",
|
|
2246
2274
|
hover: "op100 text-yellow",
|
|
2247
2275
|
transition: ""
|
|
2248
|
-
},
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
]), 8,
|
|
2276
|
+
}, r[4] || (r[4] = [
|
|
2277
|
+
d("div", { "i-carbon-document": "" }, null, -1),
|
|
2278
|
+
Y(" View Documentation ")
|
|
2279
|
+
]), 8, Ll)
|
|
2252
2280
|
]),
|
|
2253
|
-
|
|
2281
|
+
r[7] || (r[7] = d("div", { "flex-auto": "" }, null, -1))
|
|
2254
2282
|
])
|
|
2255
2283
|
]);
|
|
2256
2284
|
};
|
|
2257
2285
|
}
|
|
2258
|
-
}),
|
|
2286
|
+
}), Ol = { class: "flex-1 overflow-y-auto p2" }, jl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Ul = { class: "w-4/5" }, zl = {
|
|
2259
2287
|
key: 0,
|
|
2260
2288
|
class: "flex justify-start"
|
|
2261
|
-
},
|
|
2289
|
+
}, Bl = { key: 1 }, Gt = /* @__PURE__ */ B({
|
|
2262
2290
|
__name: "Settings",
|
|
2263
2291
|
props: {
|
|
2264
2292
|
pluginId: {},
|
|
@@ -2268,100 +2296,100 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2268
2296
|
emits: ["update"],
|
|
2269
2297
|
setup(n, { emit: e }) {
|
|
2270
2298
|
const o = n, t = e, s = V(() => o.options), l = V(() => o.values);
|
|
2271
|
-
function i
|
|
2272
|
-
P.value.updatePluginSettings(o.pluginId,
|
|
2299
|
+
function u(i, r) {
|
|
2300
|
+
P.value.updatePluginSettings(o.pluginId, i, r), P.value.getPluginSettings(o.pluginId).then((h) => {
|
|
2273
2301
|
t("update", h);
|
|
2274
2302
|
});
|
|
2275
2303
|
}
|
|
2276
|
-
return (
|
|
2277
|
-
|
|
2278
|
-
(p(!0),
|
|
2279
|
-
key:
|
|
2304
|
+
return (i, r) => (p(), f("div", Ol, [
|
|
2305
|
+
d("ul", null, [
|
|
2306
|
+
(p(!0), f(ne, null, ie(s.value, (h, v) => (p(), f("li", {
|
|
2307
|
+
key: v,
|
|
2280
2308
|
class: "flex items-center py-2"
|
|
2281
2309
|
}, [
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
h.type === "boolean" ? (p(),
|
|
2285
|
-
|
|
2286
|
-
"model-value": l.value[
|
|
2310
|
+
d("div", jl, le(h.label), 1),
|
|
2311
|
+
d("div", Ul, [
|
|
2312
|
+
h.type === "boolean" ? (p(), f("div", zl, [
|
|
2313
|
+
x(c(rn), {
|
|
2314
|
+
"model-value": l.value[v],
|
|
2287
2315
|
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
2288
|
-
"onUpdate:modelValue": (a) =>
|
|
2316
|
+
"onUpdate:modelValue": (a) => u(v, a)
|
|
2289
2317
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2290
|
-
])) : h.type === "choice" ? (p(),
|
|
2291
|
-
|
|
2292
|
-
"model-value": l.value[
|
|
2318
|
+
])) : h.type === "choice" ? (p(), f("div", Bl, [
|
|
2319
|
+
x(c(un), {
|
|
2320
|
+
"model-value": l.value[v],
|
|
2293
2321
|
options: h.options,
|
|
2294
|
-
"onUpdate:modelValue": (a) =>
|
|
2322
|
+
"onUpdate:modelValue": (a) => u(v, a)
|
|
2295
2323
|
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
2296
|
-
])) : h.type === "text" ? (p(), z(
|
|
2324
|
+
])) : h.type === "text" ? (p(), z(c(Ze), {
|
|
2297
2325
|
key: 2,
|
|
2298
|
-
"model-value": l.value[
|
|
2299
|
-
"onUpdate:modelValue": (a) =>
|
|
2300
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])) :
|
|
2326
|
+
"model-value": l.value[v],
|
|
2327
|
+
"onUpdate:modelValue": (a) => u(v, a)
|
|
2328
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : j("", !0)
|
|
2301
2329
|
])
|
|
2302
2330
|
]))), 128))
|
|
2303
2331
|
])
|
|
2304
2332
|
]));
|
|
2305
2333
|
}
|
|
2306
|
-
}),
|
|
2334
|
+
}), Zl = { class: "h-full flex flex-col" }, Fl = /* @__PURE__ */ B({
|
|
2307
2335
|
__name: "Settings",
|
|
2308
2336
|
setup(n) {
|
|
2309
2337
|
const e = ve("pluginSettings"), o = Te(), t = V(() => e.value.options), s = V(() => e.value.values);
|
|
2310
|
-
function l(
|
|
2311
|
-
e.value =
|
|
2338
|
+
function l(u) {
|
|
2339
|
+
e.value = u;
|
|
2312
2340
|
}
|
|
2313
|
-
return (
|
|
2314
|
-
|
|
2315
|
-
"doc-link":
|
|
2341
|
+
return (u, i) => (p(), f("div", Zl, [
|
|
2342
|
+
x($e, {
|
|
2343
|
+
"doc-link": c(o).homepage
|
|
2316
2344
|
}, {
|
|
2317
2345
|
default: H(() => [
|
|
2318
|
-
|
|
2346
|
+
x(Se)
|
|
2319
2347
|
]),
|
|
2320
2348
|
_: 1
|
|
2321
2349
|
}, 8, ["doc-link"]),
|
|
2322
|
-
|
|
2323
|
-
"plugin-id":
|
|
2350
|
+
x(Gt, {
|
|
2351
|
+
"plugin-id": c(o).pluginId,
|
|
2324
2352
|
options: t.value,
|
|
2325
2353
|
values: s.value,
|
|
2326
2354
|
onUpdate: l
|
|
2327
2355
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2328
2356
|
]));
|
|
2329
2357
|
}
|
|
2330
|
-
}),
|
|
2358
|
+
}), Gl = { class: "h-full flex flex-col" }, Kl = { class: "h-full flex flex-col p2" }, Wl = {
|
|
2331
2359
|
key: 0,
|
|
2332
2360
|
class: "mb-1 flex justify-end pb-1",
|
|
2333
2361
|
border: "b dashed base"
|
|
2334
|
-
},
|
|
2362
|
+
}, ql = { class: "flex items-center gap-2 px-1" }, Jl = ["onClick"], Yl = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Xl = { class: "h-full flex flex-col p2" }, Ql = {
|
|
2335
2363
|
key: 0,
|
|
2336
2364
|
class: "mb-1 flex justify-end pb-1",
|
|
2337
2365
|
border: "b dashed base"
|
|
2338
|
-
},
|
|
2366
|
+
}, e1 = { class: "flex items-center gap-2 px-1" }, t1 = ["onClick"], n1 = /* @__PURE__ */ B({
|
|
2339
2367
|
__name: "Index",
|
|
2340
2368
|
setup(n) {
|
|
2341
|
-
const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = Te(), s = V(() => t.value.id), l = T([]),
|
|
2369
|
+
const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = Te(), s = V(() => t.value.id), l = T([]), u = T([]), i = T([]), r = V(() => {
|
|
2342
2370
|
var w, k;
|
|
2343
|
-
return (w =
|
|
2344
|
-
}), h = V(() => $(
|
|
2345
|
-
function A(w, k = [],
|
|
2371
|
+
return (w = i.value) != null && w.length ? A((k = i.value) == null ? void 0 : k[0]) : [];
|
|
2372
|
+
}), h = V(() => $(i.value)), v = V(() => h.value.map((w) => w.id)), a = T(""), m = T({}), E = V(() => !Object.keys(m.value).length);
|
|
2373
|
+
function A(w, k = [], y = []) {
|
|
2346
2374
|
var R;
|
|
2347
|
-
return k.push(w.id), ((R = w.children) == null ? void 0 : R.length) === 0 &&
|
|
2348
|
-
A(F, k,
|
|
2349
|
-
}), k.pop(),
|
|
2375
|
+
return k.push(w.id), ((R = w.children) == null ? void 0 : R.length) === 0 && y.push([...k]), Array.isArray(w.children) && w.children.forEach((F) => {
|
|
2376
|
+
A(F, k, y);
|
|
2377
|
+
}), k.pop(), y;
|
|
2350
2378
|
}
|
|
2351
2379
|
function g(w, k) {
|
|
2352
|
-
const
|
|
2380
|
+
const y = [];
|
|
2353
2381
|
return w == null || w.forEach((R) => {
|
|
2354
|
-
|
|
2355
|
-
}), [...new Set(
|
|
2382
|
+
y.push(...R.slice(0, k + 1));
|
|
2383
|
+
}), [...new Set(y)];
|
|
2356
2384
|
}
|
|
2357
2385
|
function $(w) {
|
|
2358
|
-
const k = [],
|
|
2386
|
+
const k = [], y = (R) => {
|
|
2359
2387
|
R == null || R.forEach((F) => {
|
|
2360
|
-
var
|
|
2361
|
-
k.push(F), (
|
|
2388
|
+
var ae;
|
|
2389
|
+
k.push(F), (ae = F.children) != null && ae.length && y(F.children);
|
|
2362
2390
|
});
|
|
2363
2391
|
};
|
|
2364
|
-
return
|
|
2392
|
+
return y(w), k;
|
|
2365
2393
|
}
|
|
2366
2394
|
function U() {
|
|
2367
2395
|
P.value.getInspectorNodeActions(s.value).then((w) => {
|
|
@@ -2370,7 +2398,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2370
2398
|
}
|
|
2371
2399
|
function D() {
|
|
2372
2400
|
P.value.getInspectorActions(s.value).then((w) => {
|
|
2373
|
-
|
|
2401
|
+
u.value = w;
|
|
2374
2402
|
});
|
|
2375
2403
|
}
|
|
2376
2404
|
U(), D();
|
|
@@ -2382,97 +2410,97 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2382
2410
|
}
|
|
2383
2411
|
function S(w) {
|
|
2384
2412
|
var k;
|
|
2385
|
-
for (const
|
|
2386
|
-
(k = w[
|
|
2413
|
+
for (const y in w)
|
|
2414
|
+
(k = w[y]) != null && k.length || delete w[y];
|
|
2387
2415
|
return w;
|
|
2388
2416
|
}
|
|
2389
2417
|
function L(w) {
|
|
2390
2418
|
P.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
|
|
2391
|
-
const
|
|
2392
|
-
|
|
2419
|
+
const y = Q(k);
|
|
2420
|
+
y && (m.value = S(y), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
|
|
2393
2421
|
});
|
|
2394
2422
|
}
|
|
2395
2423
|
function K() {
|
|
2396
2424
|
m.value = {};
|
|
2397
2425
|
}
|
|
2398
|
-
|
|
2426
|
+
ee(a, () => {
|
|
2399
2427
|
K(), L(a.value);
|
|
2400
2428
|
});
|
|
2401
2429
|
const Z = () => {
|
|
2402
2430
|
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
2403
|
-
const k =
|
|
2404
|
-
|
|
2431
|
+
const k = Q(w);
|
|
2432
|
+
i.value = k, !a.value && k.length && (a.value = k[0].id, e.value = g(r.value, 1), L(k[0].id));
|
|
2405
2433
|
});
|
|
2406
2434
|
};
|
|
2407
2435
|
jt(s).toBeTruthy().then(Z);
|
|
2408
2436
|
function N(w) {
|
|
2409
|
-
var
|
|
2410
|
-
const k =
|
|
2411
|
-
!k.rootNodes.length || k.inspectorId !== s.value || (
|
|
2437
|
+
var y, R;
|
|
2438
|
+
const k = Q(w);
|
|
2439
|
+
!k.rootNodes.length || k.inspectorId !== s.value || (i.value = k.rootNodes, v.value.includes(a.value) || (a.value = (R = (y = i.value) == null ? void 0 : y[0]) == null ? void 0 : R.id, e.value = g(r.value, 1)));
|
|
2412
2440
|
}
|
|
2413
2441
|
function M(w) {
|
|
2414
|
-
const k =
|
|
2442
|
+
const k = Q(w);
|
|
2415
2443
|
if (k.inspectorId !== s.value || !k.state || k.nodeId !== a.value)
|
|
2416
2444
|
return;
|
|
2417
|
-
const { inspectorId:
|
|
2445
|
+
const { inspectorId: y, ...R } = k.state;
|
|
2418
2446
|
m.value = S(R);
|
|
2419
2447
|
}
|
|
2420
2448
|
return Re(() => {
|
|
2421
|
-
P.functions.on(
|
|
2449
|
+
P.functions.on(J.INSPECTOR_TREE_UPDATED, N), P.functions.on(J.INSPECTOR_STATE_UPDATED, M);
|
|
2422
2450
|
}), be(() => {
|
|
2423
|
-
P.functions.off(
|
|
2424
|
-
}), (w, k) => (p(),
|
|
2425
|
-
|
|
2426
|
-
"doc-link":
|
|
2451
|
+
P.functions.off(J.INSPECTOR_TREE_UPDATED, N), P.functions.off(J.INSPECTOR_STATE_UPDATED, M);
|
|
2452
|
+
}), (w, k) => (p(), f("div", Gl, [
|
|
2453
|
+
x($e, {
|
|
2454
|
+
"doc-link": c(t).homepage
|
|
2427
2455
|
}, {
|
|
2428
2456
|
default: H(() => [
|
|
2429
|
-
|
|
2457
|
+
x(Se)
|
|
2430
2458
|
]),
|
|
2431
2459
|
_: 1
|
|
2432
2460
|
}, 8, ["doc-link"]),
|
|
2433
|
-
|
|
2461
|
+
i.value.length ? (p(), z(c(Ae), {
|
|
2434
2462
|
key: 0,
|
|
2435
2463
|
class: "flex-1 overflow-auto"
|
|
2436
2464
|
}, {
|
|
2437
2465
|
default: H(() => [
|
|
2438
|
-
|
|
2466
|
+
x(c(ue), {
|
|
2439
2467
|
border: "r base",
|
|
2440
2468
|
size: "40",
|
|
2441
2469
|
"h-full": ""
|
|
2442
2470
|
}, {
|
|
2443
2471
|
default: H(() => {
|
|
2444
|
-
var
|
|
2472
|
+
var y;
|
|
2445
2473
|
return [
|
|
2446
|
-
|
|
2447
|
-
(
|
|
2448
|
-
|
|
2449
|
-
(p(!0),
|
|
2474
|
+
d("div", Kl, [
|
|
2475
|
+
(y = u.value) != null && y.length ? (p(), f("div", Wl, [
|
|
2476
|
+
d("div", ql, [
|
|
2477
|
+
(p(!0), f(ne, null, ie(u.value, (R, F) => W((p(), f("div", {
|
|
2450
2478
|
key: F,
|
|
2451
2479
|
class: "flex items-center gap1",
|
|
2452
|
-
onClick: (
|
|
2480
|
+
onClick: (ae) => C(F)
|
|
2453
2481
|
}, [
|
|
2454
|
-
|
|
2482
|
+
x(c(Fe), {
|
|
2455
2483
|
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2456
2484
|
"cursor-pointer": "",
|
|
2457
2485
|
op70: "",
|
|
2458
2486
|
"text-base": "",
|
|
2459
2487
|
"hover:op100": ""
|
|
2460
2488
|
}, null, 8, ["name"])
|
|
2461
|
-
], 8,
|
|
2489
|
+
], 8, Jl)), [
|
|
2462
2490
|
[
|
|
2463
|
-
|
|
2491
|
+
c(q),
|
|
2464
2492
|
{ content: R.tooltip },
|
|
2465
2493
|
void 0,
|
|
2466
2494
|
{ "bottom-end": !0 }
|
|
2467
2495
|
]
|
|
2468
2496
|
])), 128))
|
|
2469
2497
|
])
|
|
2470
|
-
])) :
|
|
2471
|
-
|
|
2472
|
-
|
|
2498
|
+
])) : j("", !0),
|
|
2499
|
+
d("div", Yl, [
|
|
2500
|
+
x(Me, {
|
|
2473
2501
|
modelValue: a.value,
|
|
2474
2502
|
"onUpdate:modelValue": k[0] || (k[0] = (R) => a.value = R),
|
|
2475
|
-
data:
|
|
2503
|
+
data: i.value
|
|
2476
2504
|
}, null, 8, ["modelValue", "data"])
|
|
2477
2505
|
])
|
|
2478
2506
|
])
|
|
@@ -2480,35 +2508,35 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2480
2508
|
}),
|
|
2481
2509
|
_: 1
|
|
2482
2510
|
}),
|
|
2483
|
-
|
|
2511
|
+
x(c(ue), { size: "60" }, {
|
|
2484
2512
|
default: H(() => {
|
|
2485
|
-
var
|
|
2513
|
+
var y;
|
|
2486
2514
|
return [
|
|
2487
|
-
|
|
2488
|
-
(
|
|
2489
|
-
|
|
2490
|
-
(p(!0),
|
|
2515
|
+
d("div", Xl, [
|
|
2516
|
+
(y = l.value) != null && y.length ? (p(), f("div", Ql, [
|
|
2517
|
+
d("div", e1, [
|
|
2518
|
+
(p(!0), f(ne, null, ie(l.value, (R, F) => W((p(), f("div", {
|
|
2491
2519
|
key: F,
|
|
2492
2520
|
class: "flex items-center gap1",
|
|
2493
|
-
onClick: (
|
|
2521
|
+
onClick: (ae) => _(F)
|
|
2494
2522
|
}, [
|
|
2495
|
-
|
|
2523
|
+
x(c(Fe), {
|
|
2496
2524
|
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2497
2525
|
"cursor-pointer": "",
|
|
2498
2526
|
op70: "",
|
|
2499
2527
|
"text-base": "",
|
|
2500
2528
|
"hover:op100": ""
|
|
2501
2529
|
}, null, 8, ["name"])
|
|
2502
|
-
], 8,
|
|
2530
|
+
], 8, t1)), [
|
|
2503
2531
|
[
|
|
2504
|
-
|
|
2532
|
+
c(q),
|
|
2505
2533
|
{ content: R.tooltip },
|
|
2506
2534
|
void 0,
|
|
2507
2535
|
{ "bottom-end": !0 }
|
|
2508
2536
|
]
|
|
2509
2537
|
])), 128))
|
|
2510
2538
|
])
|
|
2511
|
-
])) :
|
|
2539
|
+
])) : j("", !0),
|
|
2512
2540
|
a.value && !E.value ? (p(), z(Pe, {
|
|
2513
2541
|
key: 1,
|
|
2514
2542
|
data: m.value,
|
|
@@ -2518,7 +2546,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2518
2546
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2519
2547
|
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2520
2548
|
default: H(() => k[1] || (k[1] = [
|
|
2521
|
-
|
|
2549
|
+
Y(" No Data ")
|
|
2522
2550
|
])),
|
|
2523
2551
|
_: 1
|
|
2524
2552
|
}))
|
|
@@ -2531,26 +2559,26 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2531
2559
|
_: 1
|
|
2532
2560
|
})) : (p(), z(Ne, { key: 1 }, {
|
|
2533
2561
|
default: H(() => k[2] || (k[2] = [
|
|
2534
|
-
|
|
2562
|
+
Y(" No Data ")
|
|
2535
2563
|
])),
|
|
2536
2564
|
_: 1
|
|
2537
2565
|
}))
|
|
2538
2566
|
]));
|
|
2539
2567
|
}
|
|
2540
|
-
}),
|
|
2568
|
+
}), o1 = /* @__PURE__ */ B({
|
|
2541
2569
|
__name: "Index",
|
|
2542
2570
|
setup(n) {
|
|
2543
2571
|
const e = Te();
|
|
2544
2572
|
return (o, t) => (p(), z(pt, {
|
|
2545
|
-
"layer-ids":
|
|
2546
|
-
"doc-link":
|
|
2547
|
-
"plugin-id":
|
|
2573
|
+
"layer-ids": c(e).timelineLayerIds,
|
|
2574
|
+
"doc-link": c(e).homepage,
|
|
2575
|
+
"plugin-id": c(e).pluginId
|
|
2548
2576
|
}, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
|
|
2549
2577
|
}
|
|
2550
|
-
}),
|
|
2578
|
+
}), l1 = {
|
|
2551
2579
|
"h-full": "",
|
|
2552
2580
|
"w-full": ""
|
|
2553
|
-
},
|
|
2581
|
+
}, s1 = { key: 0 }, as = /* @__PURE__ */ B({
|
|
2554
2582
|
__name: "index",
|
|
2555
2583
|
props: {
|
|
2556
2584
|
id: {},
|
|
@@ -2558,39 +2586,39 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2558
2586
|
},
|
|
2559
2587
|
emits: ["loadError"],
|
|
2560
2588
|
setup(n, { emit: e }) {
|
|
2561
|
-
const o = n, t = e, s =
|
|
2562
|
-
ge("pluginSettings",
|
|
2563
|
-
const
|
|
2589
|
+
const o = n, t = e, s = Ft(), l = T(!1), u = T(null);
|
|
2590
|
+
ge("pluginSettings", u);
|
|
2591
|
+
const i = V(() => {
|
|
2564
2592
|
var a;
|
|
2565
2593
|
return [
|
|
2566
2594
|
{
|
|
2567
2595
|
path: "/state",
|
|
2568
2596
|
name: "State",
|
|
2569
|
-
component:
|
|
2597
|
+
component: n1,
|
|
2570
2598
|
icon: "i-carbon-tree-view-alt"
|
|
2571
2599
|
},
|
|
2572
2600
|
((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
2573
2601
|
path: "/timeline",
|
|
2574
2602
|
name: "Timeline",
|
|
2575
|
-
component:
|
|
2603
|
+
component: o1,
|
|
2576
2604
|
icon: "i-mdi:timeline-clock-outline"
|
|
2577
2605
|
},
|
|
2578
2606
|
{
|
|
2579
2607
|
path: "/about",
|
|
2580
2608
|
name: "About",
|
|
2581
|
-
component:
|
|
2609
|
+
component: Hl
|
|
2582
2610
|
},
|
|
2583
|
-
|
|
2611
|
+
u.value && {
|
|
2584
2612
|
path: "/settings",
|
|
2585
2613
|
name: "Settings",
|
|
2586
|
-
component:
|
|
2614
|
+
component: Fl,
|
|
2587
2615
|
icon: "i-mdi:cog-outline"
|
|
2588
2616
|
}
|
|
2589
2617
|
].filter(Boolean);
|
|
2590
|
-
}), { VirtualRouterView:
|
|
2618
|
+
}), { VirtualRouterView: r, restoreRouter: h } = st(i, {
|
|
2591
2619
|
defaultRoutePath: "/state"
|
|
2592
2620
|
});
|
|
2593
|
-
function
|
|
2621
|
+
function v() {
|
|
2594
2622
|
l.value = !0, Re(() => {
|
|
2595
2623
|
P.value.getInspectorInfo(o.id).then((a) => {
|
|
2596
2624
|
if (!a) {
|
|
@@ -2607,107 +2635,107 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2607
2635
|
};
|
|
2608
2636
|
s.value = m, h(), l.value = !1;
|
|
2609
2637
|
}), P.value.getPluginSettings(o.pluginId).then((a) => {
|
|
2610
|
-
a.options ?
|
|
2638
|
+
a.options ? u.value = a : u.value = null;
|
|
2611
2639
|
});
|
|
2612
2640
|
});
|
|
2613
2641
|
}
|
|
2614
|
-
return
|
|
2615
|
-
|
|
2642
|
+
return ee(() => o.id, () => {
|
|
2643
|
+
v();
|
|
2616
2644
|
}, {
|
|
2617
2645
|
immediate: !0
|
|
2618
2646
|
}), be(() => {
|
|
2619
2647
|
P.value.unhighlight();
|
|
2620
|
-
}), (a, m) => (p(),
|
|
2621
|
-
l.value ? (p(),
|
|
2622
|
-
|
|
2623
|
-
])) : (p(), z(
|
|
2648
|
+
}), (a, m) => (p(), f("div", l1, [
|
|
2649
|
+
l.value ? (p(), f("div", s1, [
|
|
2650
|
+
x(yl)
|
|
2651
|
+
])) : (p(), z(c(r), { key: 1 }))
|
|
2624
2652
|
]));
|
|
2625
2653
|
}
|
|
2626
|
-
}),
|
|
2654
|
+
}), a1 = {}, i1 = {
|
|
2627
2655
|
viewBox: "0 0 566 154",
|
|
2628
2656
|
fill: "none",
|
|
2629
2657
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2630
2658
|
};
|
|
2631
|
-
function
|
|
2632
|
-
return p(),
|
|
2633
|
-
nn('<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)
|
|
2659
|
+
function r1(n, e) {
|
|
2660
|
+
return p(), f("svg", i1, e[0] || (e[0] = [
|
|
2661
|
+
on('<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)
|
|
2634
2662
|
]));
|
|
2635
2663
|
}
|
|
2636
|
-
const
|
|
2664
|
+
const u1 = /* @__PURE__ */ Ce(a1, [["render", r1]]), c1 = {
|
|
2637
2665
|
"h-full": "",
|
|
2638
2666
|
"w-full": "",
|
|
2639
2667
|
flex: "",
|
|
2640
2668
|
"items-center": ""
|
|
2641
|
-
},
|
|
2669
|
+
}, d1 = {
|
|
2642
2670
|
flex: "~ col gap2",
|
|
2643
2671
|
ma: "",
|
|
2644
2672
|
"px-5": ""
|
|
2645
|
-
},
|
|
2673
|
+
}, p1 = {
|
|
2646
2674
|
flex: "~ col",
|
|
2647
2675
|
"mt-20": "",
|
|
2648
2676
|
"items-center": ""
|
|
2649
|
-
},
|
|
2677
|
+
}, f1 = {
|
|
2650
2678
|
flex: "~",
|
|
2651
2679
|
"mt--10": "",
|
|
2652
2680
|
"items-center": "",
|
|
2653
2681
|
"justify-center": ""
|
|
2654
|
-
},
|
|
2682
|
+
}, v1 = { flex: "~ gap2 wrap" }, m1 = /* @__PURE__ */ B({
|
|
2655
2683
|
__name: "About",
|
|
2656
2684
|
setup(n) {
|
|
2657
2685
|
const e = De();
|
|
2658
|
-
return (o, t) => (p(),
|
|
2659
|
-
|
|
2660
|
-
t[5] || (t[5] =
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2686
|
+
return (o, t) => (p(), f("div", c1, [
|
|
2687
|
+
d("div", d1, [
|
|
2688
|
+
t[5] || (t[5] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2689
|
+
d("div", p1, [
|
|
2690
|
+
d("div", f1, [
|
|
2691
|
+
x(u1, { "h-18": "" })
|
|
2664
2692
|
]),
|
|
2665
|
-
t[2] || (t[2] =
|
|
2693
|
+
t[2] || (t[2] = d("div", {
|
|
2666
2694
|
mb6: "",
|
|
2667
2695
|
"mt--1": "",
|
|
2668
2696
|
"text-center": "",
|
|
2669
2697
|
"text-sm": "",
|
|
2670
2698
|
flex: "~ gap-1"
|
|
2671
2699
|
}, [
|
|
2672
|
-
|
|
2700
|
+
d("span", { op40: "" }, " Pinia DevTools ")
|
|
2673
2701
|
], -1))
|
|
2674
2702
|
]),
|
|
2675
|
-
t[6] || (t[6] =
|
|
2676
|
-
|
|
2677
|
-
|
|
2703
|
+
t[6] || (t[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2704
|
+
d("div", v1, [
|
|
2705
|
+
d("div", {
|
|
2678
2706
|
flex: "~ col auto",
|
|
2679
2707
|
"min-w-40": "",
|
|
2680
2708
|
p4: "",
|
|
2681
2709
|
"theme-card-lime": "",
|
|
2682
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
2710
|
+
onClick: t[0] || (t[0] = (s) => c(e).push("/store"))
|
|
2683
2711
|
}, t[3] || (t[3] = [
|
|
2684
|
-
|
|
2712
|
+
d("div", {
|
|
2685
2713
|
"i-carbon-tree-view-alt": "",
|
|
2686
2714
|
"text-3xl": ""
|
|
2687
2715
|
}, null, -1),
|
|
2688
|
-
|
|
2716
|
+
d("code", null, "Store", -1)
|
|
2689
2717
|
])),
|
|
2690
|
-
|
|
2718
|
+
d("div", {
|
|
2691
2719
|
flex: "~ col auto",
|
|
2692
2720
|
"min-w-40": "",
|
|
2693
2721
|
p4: "",
|
|
2694
2722
|
"theme-card-lime": "",
|
|
2695
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
2723
|
+
onClick: t[1] || (t[1] = (s) => c(e).push("/timeline"))
|
|
2696
2724
|
}, t[4] || (t[4] = [
|
|
2697
|
-
|
|
2725
|
+
d("div", {
|
|
2698
2726
|
"i-mdi:timeline-clock-outline": "",
|
|
2699
2727
|
"text-3xl": ""
|
|
2700
2728
|
}, null, -1),
|
|
2701
|
-
|
|
2729
|
+
d("div", null, "Timeline", -1)
|
|
2702
2730
|
]))
|
|
2703
2731
|
]),
|
|
2704
|
-
t[7] || (t[7] =
|
|
2732
|
+
t[7] || (t[7] = d("div", {
|
|
2705
2733
|
flex: "~ gap-6 wrap",
|
|
2706
2734
|
"mt-5": "",
|
|
2707
2735
|
"items-center": "",
|
|
2708
2736
|
"justify-center": ""
|
|
2709
2737
|
}, [
|
|
2710
|
-
|
|
2738
|
+
d("a", {
|
|
2711
2739
|
href: "https://github.com/vuejs/pinia",
|
|
2712
2740
|
target: "_blank",
|
|
2713
2741
|
flex: "~ gap1",
|
|
@@ -2716,10 +2744,10 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2716
2744
|
hover: "op100 text-blue",
|
|
2717
2745
|
transition: ""
|
|
2718
2746
|
}, [
|
|
2719
|
-
|
|
2720
|
-
|
|
2747
|
+
d("div", { "i-carbon-star": "" }),
|
|
2748
|
+
Y(" Star on GitHub ")
|
|
2721
2749
|
]),
|
|
2722
|
-
|
|
2750
|
+
d("a", {
|
|
2723
2751
|
href: "https://pinia.vuejs.org/",
|
|
2724
2752
|
target: "_blank",
|
|
2725
2753
|
flex: "~ gap1",
|
|
@@ -2728,32 +2756,32 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2728
2756
|
hover: "op100 text-yellow",
|
|
2729
2757
|
transition: ""
|
|
2730
2758
|
}, [
|
|
2731
|
-
|
|
2732
|
-
|
|
2759
|
+
d("div", { "i-carbon-document": "" }),
|
|
2760
|
+
Y(" View Documentation ")
|
|
2733
2761
|
])
|
|
2734
2762
|
], -1)),
|
|
2735
|
-
t[8] || (t[8] =
|
|
2763
|
+
t[8] || (t[8] = d("div", { "flex-auto": "" }, null, -1))
|
|
2736
2764
|
])
|
|
2737
2765
|
]));
|
|
2738
2766
|
}
|
|
2739
|
-
}),
|
|
2767
|
+
}), h1 = { class: "h-full flex flex-col" }, g1 = /* @__PURE__ */ B({
|
|
2740
2768
|
__name: "Settings",
|
|
2741
2769
|
setup(n) {
|
|
2742
2770
|
const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
|
|
2743
2771
|
function s(l) {
|
|
2744
2772
|
e.value = l;
|
|
2745
2773
|
}
|
|
2746
|
-
return (l,
|
|
2747
|
-
|
|
2774
|
+
return (l, u) => (p(), f("div", h1, [
|
|
2775
|
+
x($e, {
|
|
2748
2776
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2749
2777
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2750
2778
|
}, {
|
|
2751
2779
|
default: H(() => [
|
|
2752
|
-
|
|
2780
|
+
x(Se)
|
|
2753
2781
|
]),
|
|
2754
2782
|
_: 1
|
|
2755
2783
|
}),
|
|
2756
|
-
|
|
2784
|
+
x(Gt, {
|
|
2757
2785
|
"plugin-id": "dev.esm.pinia",
|
|
2758
2786
|
options: o.value,
|
|
2759
2787
|
values: t.value,
|
|
@@ -2761,28 +2789,28 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2761
2789
|
}, null, 8, ["options", "values"])
|
|
2762
2790
|
]));
|
|
2763
2791
|
}
|
|
2764
|
-
}),
|
|
2792
|
+
}), C1 = { class: "h-full flex flex-col" }, _1 = { class: "h-full flex flex-col p2" }, y1 = {
|
|
2765
2793
|
key: 0,
|
|
2766
2794
|
class: "mb-1 flex justify-end pb-1",
|
|
2767
2795
|
border: "b dashed base"
|
|
2768
|
-
},
|
|
2796
|
+
}, x1 = { class: "flex items-center gap-2 px-1" }, b1 = ["onClick"], w1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, k1 = { class: "h-full flex flex-col p2" }, I1 = {
|
|
2769
2797
|
key: 0,
|
|
2770
2798
|
class: "mb-1 flex justify-end pb-1",
|
|
2771
2799
|
border: "b dashed base"
|
|
2772
|
-
},
|
|
2800
|
+
}, $1 = { class: "flex items-center gap-2 px-1" }, S1 = ["onClick"], pe = "pinia", T1 = /* @__PURE__ */ B({
|
|
2773
2801
|
__name: "Index",
|
|
2774
2802
|
setup(n) {
|
|
2775
|
-
const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""),
|
|
2803
|
+
const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), u = T([]), i = V(() => {
|
|
2776
2804
|
var N, M;
|
|
2777
|
-
return (N =
|
|
2778
|
-
}),
|
|
2805
|
+
return (N = u.value) != null && N.length ? m((M = u.value) == null ? void 0 : M[0]) : [];
|
|
2806
|
+
}), r = V(() => A(u.value)), h = V(() => r.value.map((N) => N.id)), v = T({}), a = V(() => {
|
|
2779
2807
|
var N, M;
|
|
2780
|
-
return !((N =
|
|
2808
|
+
return !((N = v.value.state) != null && N.length) && !((M = v.value.getters) != null && M.length);
|
|
2781
2809
|
});
|
|
2782
2810
|
function m(N, M = [], w = []) {
|
|
2783
2811
|
var k;
|
|
2784
|
-
return M.push(N.id), ((k = N.children) == null ? void 0 : k.length) === 0 && w.push([...M]), Array.isArray(N.children) && N.children.forEach((
|
|
2785
|
-
m(
|
|
2812
|
+
return M.push(N.id), ((k = N.children) == null ? void 0 : k.length) === 0 && w.push([...M]), Array.isArray(N.children) && N.children.forEach((y) => {
|
|
2813
|
+
m(y, M, w);
|
|
2786
2814
|
}), M.pop(), w;
|
|
2787
2815
|
}
|
|
2788
2816
|
function E(N, M) {
|
|
@@ -2793,9 +2821,9 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2793
2821
|
}
|
|
2794
2822
|
function A(N) {
|
|
2795
2823
|
const M = [], w = (k) => {
|
|
2796
|
-
k == null || k.forEach((
|
|
2824
|
+
k == null || k.forEach((y) => {
|
|
2797
2825
|
var R;
|
|
2798
|
-
M.push(
|
|
2826
|
+
M.push(y), (R = y.children) != null && R.length && w(y.children);
|
|
2799
2827
|
});
|
|
2800
2828
|
};
|
|
2801
2829
|
return w(N), M;
|
|
@@ -2825,50 +2853,50 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2825
2853
|
}
|
|
2826
2854
|
function C(N) {
|
|
2827
2855
|
P.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
|
|
2828
|
-
const w =
|
|
2829
|
-
w && (
|
|
2856
|
+
const w = Q(M);
|
|
2857
|
+
w && (v.value = _(w), o.value = Array.from({ length: Object.keys(v.value).length }, (k, y) => `${y}`));
|
|
2830
2858
|
});
|
|
2831
2859
|
}
|
|
2832
2860
|
function S() {
|
|
2833
|
-
|
|
2861
|
+
v.value = {};
|
|
2834
2862
|
}
|
|
2835
|
-
|
|
2863
|
+
ee(l, () => {
|
|
2836
2864
|
S(), C(l.value);
|
|
2837
2865
|
}), (() => {
|
|
2838
2866
|
P.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
|
|
2839
|
-
const M =
|
|
2840
|
-
|
|
2867
|
+
const M = Q(N);
|
|
2868
|
+
u.value = M, !l.value && M.length && (l.value = M[0].id, C(M[0].id), e.value = E(i.value, 1));
|
|
2841
2869
|
});
|
|
2842
2870
|
})();
|
|
2843
2871
|
function K(N) {
|
|
2844
|
-
const M =
|
|
2845
|
-
M.inspectorId !== pe || !M.rootNodes.length || (
|
|
2872
|
+
const M = Q(N);
|
|
2873
|
+
M.inspectorId !== pe || !M.rootNodes.length || (u.value = M.rootNodes, h.value.includes(l.value) || (l.value = M.rootNodes[0].id, e.value = E(i.value, 1), C(M.rootNodes[0].id)));
|
|
2846
2874
|
}
|
|
2847
2875
|
function Z(N) {
|
|
2848
|
-
const M =
|
|
2876
|
+
const M = Q(N);
|
|
2849
2877
|
if (M.inspectorId !== pe)
|
|
2850
2878
|
return;
|
|
2851
2879
|
const w = M.state;
|
|
2852
|
-
|
|
2880
|
+
v.value = _({
|
|
2853
2881
|
state: w.state,
|
|
2854
2882
|
getters: w.getters
|
|
2855
2883
|
});
|
|
2856
2884
|
}
|
|
2857
|
-
return P.functions.on(
|
|
2858
|
-
P.functions.off(
|
|
2859
|
-
}), (N, M) => (p(),
|
|
2860
|
-
|
|
2885
|
+
return P.functions.on(J.INSPECTOR_TREE_UPDATED, K), P.functions.on(J.INSPECTOR_STATE_UPDATED, Z), be(() => {
|
|
2886
|
+
P.functions.off(J.INSPECTOR_TREE_UPDATED, K), P.functions.off(J.INSPECTOR_STATE_UPDATED, Z);
|
|
2887
|
+
}), (N, M) => (p(), f("div", C1, [
|
|
2888
|
+
x($e, {
|
|
2861
2889
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2862
2890
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2863
2891
|
}, {
|
|
2864
2892
|
default: H(() => [
|
|
2865
|
-
|
|
2893
|
+
x(Se)
|
|
2866
2894
|
]),
|
|
2867
2895
|
_: 1
|
|
2868
2896
|
}),
|
|
2869
|
-
|
|
2897
|
+
x(c(Ae), { class: "flex-1 overflow-auto" }, {
|
|
2870
2898
|
default: H(() => [
|
|
2871
|
-
|
|
2899
|
+
x(c(ue), {
|
|
2872
2900
|
border: "r base",
|
|
2873
2901
|
size: "40",
|
|
2874
2902
|
"h-full": ""
|
|
@@ -2876,36 +2904,36 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2876
2904
|
default: H(() => {
|
|
2877
2905
|
var w;
|
|
2878
2906
|
return [
|
|
2879
|
-
|
|
2880
|
-
(w = s.value) != null && w.length ? (p(),
|
|
2881
|
-
|
|
2882
|
-
(p(!0),
|
|
2883
|
-
key:
|
|
2907
|
+
d("div", _1, [
|
|
2908
|
+
(w = s.value) != null && w.length ? (p(), f("div", y1, [
|
|
2909
|
+
d("div", x1, [
|
|
2910
|
+
(p(!0), f(ne, null, ie(s.value, (k, y) => W((p(), f("div", {
|
|
2911
|
+
key: y,
|
|
2884
2912
|
class: "flex items-center gap1",
|
|
2885
|
-
onClick: (R) => D(
|
|
2913
|
+
onClick: (R) => D(y)
|
|
2886
2914
|
}, [
|
|
2887
|
-
|
|
2888
|
-
class:
|
|
2915
|
+
d("i", {
|
|
2916
|
+
class: oe(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2889
2917
|
"cursor-pointer": "",
|
|
2890
2918
|
op70: "",
|
|
2891
2919
|
"text-base": "",
|
|
2892
2920
|
"hover:op100": ""
|
|
2893
2921
|
}, null, 2)
|
|
2894
|
-
], 8,
|
|
2922
|
+
], 8, b1)), [
|
|
2895
2923
|
[
|
|
2896
|
-
|
|
2924
|
+
c(q),
|
|
2897
2925
|
{ content: k.tooltip },
|
|
2898
2926
|
void 0,
|
|
2899
2927
|
{ "bottom-end": !0 }
|
|
2900
2928
|
]
|
|
2901
2929
|
])), 128))
|
|
2902
2930
|
])
|
|
2903
|
-
])) :
|
|
2904
|
-
|
|
2905
|
-
|
|
2931
|
+
])) : j("", !0),
|
|
2932
|
+
d("div", w1, [
|
|
2933
|
+
x(Me, {
|
|
2906
2934
|
modelValue: l.value,
|
|
2907
2935
|
"onUpdate:modelValue": M[0] || (M[0] = (k) => l.value = k),
|
|
2908
|
-
data:
|
|
2936
|
+
data: u.value
|
|
2909
2937
|
}, null, 8, ["modelValue", "data"])
|
|
2910
2938
|
])
|
|
2911
2939
|
])
|
|
@@ -2913,45 +2941,45 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2913
2941
|
}),
|
|
2914
2942
|
_: 1
|
|
2915
2943
|
}),
|
|
2916
|
-
|
|
2944
|
+
x(c(ue), { size: "60" }, {
|
|
2917
2945
|
default: H(() => {
|
|
2918
2946
|
var w;
|
|
2919
2947
|
return [
|
|
2920
|
-
|
|
2921
|
-
(w = t.value) != null && w.length ? (p(),
|
|
2922
|
-
|
|
2923
|
-
(p(!0),
|
|
2924
|
-
key:
|
|
2948
|
+
d("div", k1, [
|
|
2949
|
+
(w = t.value) != null && w.length ? (p(), f("div", I1, [
|
|
2950
|
+
d("div", $1, [
|
|
2951
|
+
(p(!0), f(ne, null, ie(t.value, (k, y) => W((p(), f("div", {
|
|
2952
|
+
key: y,
|
|
2925
2953
|
class: "flex items-center gap1",
|
|
2926
|
-
onClick: (R) => U(
|
|
2954
|
+
onClick: (R) => U(y)
|
|
2927
2955
|
}, [
|
|
2928
|
-
|
|
2929
|
-
class:
|
|
2956
|
+
d("i", {
|
|
2957
|
+
class: oe(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2930
2958
|
"cursor-pointer": "",
|
|
2931
2959
|
op70: "",
|
|
2932
2960
|
"text-base": "",
|
|
2933
2961
|
"hover:op100": ""
|
|
2934
2962
|
}, null, 2)
|
|
2935
|
-
], 8,
|
|
2963
|
+
], 8, S1)), [
|
|
2936
2964
|
[
|
|
2937
|
-
|
|
2965
|
+
c(q),
|
|
2938
2966
|
{ content: k.tooltip },
|
|
2939
2967
|
void 0,
|
|
2940
2968
|
{ "bottom-end": !0 }
|
|
2941
2969
|
]
|
|
2942
2970
|
])), 128))
|
|
2943
2971
|
])
|
|
2944
|
-
])) :
|
|
2972
|
+
])) : j("", !0),
|
|
2945
2973
|
l.value && !a.value ? (p(), z(Pe, {
|
|
2946
2974
|
key: 1,
|
|
2947
2975
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
2948
|
-
data:
|
|
2976
|
+
data: v.value,
|
|
2949
2977
|
"node-id": l.value,
|
|
2950
2978
|
"inspector-id": pe,
|
|
2951
2979
|
"expanded-state-id": "pinia-store-state"
|
|
2952
2980
|
}, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2953
2981
|
default: H(() => M[1] || (M[1] = [
|
|
2954
|
-
|
|
2982
|
+
Y(" No Data ")
|
|
2955
2983
|
])),
|
|
2956
2984
|
_: 1
|
|
2957
2985
|
}))
|
|
@@ -2965,21 +2993,21 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2965
2993
|
})
|
|
2966
2994
|
]));
|
|
2967
2995
|
}
|
|
2968
|
-
}),
|
|
2996
|
+
}), E1 = "dev.esm.pinia", V1 = /* @__PURE__ */ B({
|
|
2969
2997
|
__name: "Index",
|
|
2970
2998
|
setup(n) {
|
|
2971
2999
|
const e = ["pinia:mutations"];
|
|
2972
3000
|
return (o, t) => (p(), z(pt, {
|
|
2973
3001
|
"layer-ids": e,
|
|
2974
3002
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2975
|
-
"plugin-id":
|
|
3003
|
+
"plugin-id": E1,
|
|
2976
3004
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2977
3005
|
}));
|
|
2978
3006
|
}
|
|
2979
|
-
}),
|
|
3007
|
+
}), N1 = {
|
|
2980
3008
|
"h-full": "",
|
|
2981
3009
|
"w-full": ""
|
|
2982
|
-
},
|
|
3010
|
+
}, is = /* @__PURE__ */ B({
|
|
2983
3011
|
__name: "index",
|
|
2984
3012
|
setup(n) {
|
|
2985
3013
|
const e = T(null);
|
|
@@ -2988,137 +3016,137 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2988
3016
|
{
|
|
2989
3017
|
path: "/store",
|
|
2990
3018
|
name: "Store",
|
|
2991
|
-
component:
|
|
3019
|
+
component: T1,
|
|
2992
3020
|
icon: "i-carbon-tree-view-alt"
|
|
2993
3021
|
},
|
|
2994
3022
|
{
|
|
2995
3023
|
path: "/timeline",
|
|
2996
3024
|
name: "Timeline",
|
|
2997
|
-
component:
|
|
3025
|
+
component: V1,
|
|
2998
3026
|
icon: "i-mdi:timeline-clock-outline"
|
|
2999
3027
|
},
|
|
3000
3028
|
{
|
|
3001
3029
|
path: "/",
|
|
3002
3030
|
name: "About",
|
|
3003
|
-
component:
|
|
3031
|
+
component: m1,
|
|
3004
3032
|
icon: "i-logos-pinia"
|
|
3005
3033
|
},
|
|
3006
3034
|
e.value && {
|
|
3007
3035
|
path: "/settings",
|
|
3008
3036
|
name: "Settings",
|
|
3009
|
-
component:
|
|
3037
|
+
component: g1,
|
|
3010
3038
|
icon: "i-mdi:cog-outline"
|
|
3011
3039
|
}
|
|
3012
3040
|
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = st(o, {
|
|
3013
3041
|
defaultRoutePath: "/store"
|
|
3014
3042
|
});
|
|
3015
3043
|
return Re(() => {
|
|
3016
|
-
P.value.getPluginSettings("dev.esm.pinia").then((
|
|
3017
|
-
|
|
3044
|
+
P.value.getPluginSettings("dev.esm.pinia").then((u) => {
|
|
3045
|
+
u.options ? e.value = u : e.value = null;
|
|
3018
3046
|
});
|
|
3019
|
-
}), (l,
|
|
3020
|
-
|
|
3047
|
+
}), (l, u) => (p(), f("div", N1, [
|
|
3048
|
+
x(c(t))
|
|
3021
3049
|
]));
|
|
3022
3050
|
}
|
|
3023
|
-
}),
|
|
3051
|
+
}), R1 = {}, A1 = {
|
|
3024
3052
|
viewBox: "0 0 566 154",
|
|
3025
3053
|
fill: "none",
|
|
3026
3054
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3027
3055
|
};
|
|
3028
|
-
function
|
|
3029
|
-
return p(),
|
|
3030
|
-
|
|
3056
|
+
function D1(n, e) {
|
|
3057
|
+
return p(), f("svg", A1, e[0] || (e[0] = [
|
|
3058
|
+
d("svg", {
|
|
3031
3059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3032
3060
|
width: "8em",
|
|
3033
3061
|
height: "8em",
|
|
3034
3062
|
viewBox: "0 -4 24 24"
|
|
3035
3063
|
}, [
|
|
3036
|
-
|
|
3064
|
+
d("path", {
|
|
3037
3065
|
fill: "#3dd68c",
|
|
3038
3066
|
d: "M4 15V8.5a4.5 4.5 0 0 1 9 0v7a2.5 2.5 0 0 0 5 0V8.83a3.001 3.001 0 1 1 2 0v6.67a4.5 4.5 0 1 1-9 0v-7a2.5 2.5 0 0 0-5 0V15h3l-4 5l-4-5zm15-8a1 1 0 1 0 0-2a1 1 0 0 0 0 2"
|
|
3039
3067
|
})
|
|
3040
3068
|
], -1),
|
|
3041
|
-
|
|
3069
|
+
d("path", {
|
|
3042
3070
|
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",
|
|
3043
3071
|
fill: "currentColor"
|
|
3044
3072
|
}, null, -1)
|
|
3045
3073
|
]));
|
|
3046
3074
|
}
|
|
3047
|
-
const
|
|
3075
|
+
const P1 = /* @__PURE__ */ Ce(R1, [["render", D1]]), M1 = {
|
|
3048
3076
|
"h-full": "",
|
|
3049
3077
|
"w-full": "",
|
|
3050
3078
|
flex: "",
|
|
3051
3079
|
"items-center": ""
|
|
3052
|
-
},
|
|
3080
|
+
}, L1 = {
|
|
3053
3081
|
flex: "~ col gap2",
|
|
3054
3082
|
ma: "",
|
|
3055
3083
|
"px-5": ""
|
|
3056
|
-
},
|
|
3084
|
+
}, H1 = {
|
|
3057
3085
|
flex: "~ col",
|
|
3058
3086
|
"mt-20": "",
|
|
3059
3087
|
"items-center": ""
|
|
3060
|
-
},
|
|
3088
|
+
}, O1 = {
|
|
3061
3089
|
flex: "~",
|
|
3062
3090
|
"mt--10": "",
|
|
3063
3091
|
"items-center": "",
|
|
3064
3092
|
"justify-center": ""
|
|
3065
|
-
},
|
|
3093
|
+
}, j1 = { flex: "~ gap2 wrap" }, U1 = /* @__PURE__ */ B({
|
|
3066
3094
|
__name: "About",
|
|
3067
3095
|
setup(n) {
|
|
3068
3096
|
const e = De();
|
|
3069
|
-
return (o, t) => (p(),
|
|
3070
|
-
|
|
3071
|
-
t[5] || (t[5] =
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3097
|
+
return (o, t) => (p(), f("div", M1, [
|
|
3098
|
+
d("div", L1, [
|
|
3099
|
+
t[5] || (t[5] = d("div", { "flex-auto": "" }, null, -1)),
|
|
3100
|
+
d("div", H1, [
|
|
3101
|
+
d("div", O1, [
|
|
3102
|
+
x(P1, { "h-18": "" })
|
|
3075
3103
|
]),
|
|
3076
|
-
t[2] || (t[2] =
|
|
3104
|
+
t[2] || (t[2] = d("div", {
|
|
3077
3105
|
mb6: "",
|
|
3078
3106
|
"mt--1": "",
|
|
3079
3107
|
"text-center": "",
|
|
3080
3108
|
"text-sm": "",
|
|
3081
3109
|
flex: "~ gap-1"
|
|
3082
3110
|
}, [
|
|
3083
|
-
|
|
3111
|
+
d("span", { op40: "" }, " Router DevTools ")
|
|
3084
3112
|
], -1))
|
|
3085
3113
|
]),
|
|
3086
|
-
t[6] || (t[6] =
|
|
3087
|
-
|
|
3088
|
-
|
|
3114
|
+
t[6] || (t[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
3115
|
+
d("div", j1, [
|
|
3116
|
+
d("div", {
|
|
3089
3117
|
flex: "~ col auto",
|
|
3090
3118
|
"min-w-40": "",
|
|
3091
3119
|
p4: "",
|
|
3092
3120
|
"theme-card-lime": "",
|
|
3093
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
3121
|
+
onClick: t[0] || (t[0] = (s) => c(e).push("/routes"))
|
|
3094
3122
|
}, t[3] || (t[3] = [
|
|
3095
|
-
|
|
3123
|
+
d("div", {
|
|
3096
3124
|
"i-carbon-tree-view-alt": "",
|
|
3097
3125
|
"text-3xl": ""
|
|
3098
3126
|
}, null, -1),
|
|
3099
|
-
|
|
3127
|
+
d("code", null, "Routes", -1)
|
|
3100
3128
|
])),
|
|
3101
|
-
|
|
3129
|
+
d("div", {
|
|
3102
3130
|
flex: "~ col auto",
|
|
3103
3131
|
"min-w-40": "",
|
|
3104
3132
|
p4: "",
|
|
3105
3133
|
"theme-card-lime": "",
|
|
3106
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
3134
|
+
onClick: t[1] || (t[1] = (s) => c(e).push("/timeline"))
|
|
3107
3135
|
}, t[4] || (t[4] = [
|
|
3108
|
-
|
|
3136
|
+
d("div", {
|
|
3109
3137
|
"i-mdi:timeline-clock-outline": "",
|
|
3110
3138
|
"text-3xl": ""
|
|
3111
3139
|
}, null, -1),
|
|
3112
|
-
|
|
3140
|
+
d("div", null, "Timeline", -1)
|
|
3113
3141
|
]))
|
|
3114
3142
|
]),
|
|
3115
|
-
t[7] || (t[7] =
|
|
3143
|
+
t[7] || (t[7] = d("div", {
|
|
3116
3144
|
flex: "~ gap-6 wrap",
|
|
3117
3145
|
"mt-5": "",
|
|
3118
3146
|
"items-center": "",
|
|
3119
3147
|
"justify-center": ""
|
|
3120
3148
|
}, [
|
|
3121
|
-
|
|
3149
|
+
d("a", {
|
|
3122
3150
|
href: "https://github.com/vuejs/router",
|
|
3123
3151
|
target: "_blank",
|
|
3124
3152
|
flex: "~ gap1",
|
|
@@ -3127,10 +3155,10 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3127
3155
|
hover: "op100 text-blue",
|
|
3128
3156
|
transition: ""
|
|
3129
3157
|
}, [
|
|
3130
|
-
|
|
3131
|
-
|
|
3158
|
+
d("div", { "i-carbon-star": "" }),
|
|
3159
|
+
Y(" Star on GitHub ")
|
|
3132
3160
|
]),
|
|
3133
|
-
|
|
3161
|
+
d("a", {
|
|
3134
3162
|
href: "https://router.vuejs.org/",
|
|
3135
3163
|
target: "_blank",
|
|
3136
3164
|
flex: "~ gap1",
|
|
@@ -3139,32 +3167,32 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3139
3167
|
hover: "op100 text-yellow",
|
|
3140
3168
|
transition: ""
|
|
3141
3169
|
}, [
|
|
3142
|
-
|
|
3143
|
-
|
|
3170
|
+
d("div", { "i-carbon-document": "" }),
|
|
3171
|
+
Y(" View Documentation ")
|
|
3144
3172
|
])
|
|
3145
3173
|
], -1)),
|
|
3146
|
-
t[8] || (t[8] =
|
|
3174
|
+
t[8] || (t[8] = d("div", { "flex-auto": "" }, null, -1))
|
|
3147
3175
|
])
|
|
3148
3176
|
]));
|
|
3149
3177
|
}
|
|
3150
|
-
}),
|
|
3178
|
+
}), z1 = { class: "h-full flex flex-col" }, B1 = {
|
|
3151
3179
|
"h-full": "",
|
|
3152
3180
|
"select-none": "",
|
|
3153
3181
|
"overflow-scroll": "",
|
|
3154
3182
|
p2: "",
|
|
3155
3183
|
class: "no-scrollbar"
|
|
3156
|
-
},
|
|
3184
|
+
}, Z1 = {
|
|
3157
3185
|
"h-full": "",
|
|
3158
3186
|
"select-none": "",
|
|
3159
3187
|
"overflow-scroll": "",
|
|
3160
3188
|
class: "no-scrollbar"
|
|
3161
|
-
},
|
|
3189
|
+
}, F1 = /* @__PURE__ */ B({
|
|
3162
3190
|
__name: "Index",
|
|
3163
3191
|
setup(n) {
|
|
3164
|
-
const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""),
|
|
3192
|
+
const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""), u = T([]), i = V(() => {
|
|
3165
3193
|
var C, S;
|
|
3166
|
-
return (C =
|
|
3167
|
-
}),
|
|
3194
|
+
return (C = u.value) != null && C.length ? a((S = u.value) == null ? void 0 : S[0]) : [];
|
|
3195
|
+
}), r = V(() => E(u.value)), h = V(() => r.value.map((C) => C.id)), v = T({});
|
|
3168
3196
|
function a(C, S = [], L = []) {
|
|
3169
3197
|
var K;
|
|
3170
3198
|
return S.push(C.id), ((K = C.children) == null ? void 0 : K.length) === 0 && L.push([...S]), Array.isArray(C.children) && C.children.forEach((Z) => {
|
|
@@ -3194,77 +3222,77 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3194
3222
|
}
|
|
3195
3223
|
function g(C) {
|
|
3196
3224
|
P.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
|
|
3197
|
-
const L =
|
|
3198
|
-
L && (
|
|
3225
|
+
const L = Q(S);
|
|
3226
|
+
L && (v.value = A(L), o.value = Array.from({ length: Object.keys(v.value).length }, (K, Z) => `${Z}`));
|
|
3199
3227
|
});
|
|
3200
3228
|
}
|
|
3201
3229
|
function $() {
|
|
3202
|
-
|
|
3230
|
+
v.value = {};
|
|
3203
3231
|
}
|
|
3204
|
-
|
|
3232
|
+
ee(l, () => {
|
|
3205
3233
|
$(), g(l.value);
|
|
3206
3234
|
});
|
|
3207
3235
|
const U = () => {
|
|
3208
3236
|
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
|
|
3209
|
-
const S =
|
|
3210
|
-
|
|
3237
|
+
const S = Q(C);
|
|
3238
|
+
u.value = S, !l.value && S.length && (l.value = S[0].id, g(S[0].id), e.value = m(i.value, 1));
|
|
3211
3239
|
});
|
|
3212
3240
|
};
|
|
3213
3241
|
jt(s).toBeTruthy().then(U);
|
|
3214
3242
|
function D(C) {
|
|
3215
|
-
const S =
|
|
3216
|
-
S.inspectorId !== s.value || !S.rootNodes.length || (
|
|
3243
|
+
const S = Q(C);
|
|
3244
|
+
S.inspectorId !== s.value || !S.rootNodes.length || (u.value = S.rootNodes, h.value.includes(l.value) || (l.value = S.rootNodes[0].id, e.value = m(i.value, 1), g(S.rootNodes[0].id)));
|
|
3217
3245
|
}
|
|
3218
3246
|
function _(C) {
|
|
3219
|
-
const S =
|
|
3247
|
+
const S = Q(C);
|
|
3220
3248
|
if (S.inspectorId !== s.value)
|
|
3221
3249
|
return;
|
|
3222
3250
|
const L = S.state;
|
|
3223
|
-
|
|
3251
|
+
v.value = A(L);
|
|
3224
3252
|
}
|
|
3225
|
-
return P.functions.on(
|
|
3226
|
-
P.functions.off(
|
|
3227
|
-
}), (C, S) => (p(),
|
|
3228
|
-
|
|
3253
|
+
return P.functions.on(J.INSPECTOR_TREE_UPDATED, D), P.functions.on(J.INSPECTOR_STATE_UPDATED, _), be(() => {
|
|
3254
|
+
P.functions.off(J.INSPECTOR_TREE_UPDATED, D), P.functions.off(J.INSPECTOR_STATE_UPDATED, _);
|
|
3255
|
+
}), (C, S) => (p(), f("div", z1, [
|
|
3256
|
+
x($e, {
|
|
3229
3257
|
"doc-link": "https://router.vuejs.org/",
|
|
3230
3258
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3231
3259
|
}, {
|
|
3232
3260
|
default: H(() => [
|
|
3233
|
-
|
|
3261
|
+
x(Se)
|
|
3234
3262
|
]),
|
|
3235
3263
|
_: 1
|
|
3236
3264
|
}),
|
|
3237
|
-
|
|
3265
|
+
x(c(Ae), { class: "flex-1 overflow-auto" }, {
|
|
3238
3266
|
default: H(() => [
|
|
3239
|
-
|
|
3267
|
+
x(c(ue), {
|
|
3240
3268
|
border: "r base",
|
|
3241
3269
|
size: "40",
|
|
3242
3270
|
"h-full": ""
|
|
3243
3271
|
}, {
|
|
3244
3272
|
default: H(() => [
|
|
3245
|
-
|
|
3246
|
-
|
|
3273
|
+
d("div", B1, [
|
|
3274
|
+
x(Me, {
|
|
3247
3275
|
modelValue: l.value,
|
|
3248
3276
|
"onUpdate:modelValue": S[0] || (S[0] = (L) => l.value = L),
|
|
3249
|
-
data:
|
|
3277
|
+
data: u.value
|
|
3250
3278
|
}, null, 8, ["modelValue", "data"])
|
|
3251
3279
|
])
|
|
3252
3280
|
]),
|
|
3253
3281
|
_: 1
|
|
3254
3282
|
}),
|
|
3255
|
-
|
|
3283
|
+
x(c(ue), { size: "60" }, {
|
|
3256
3284
|
default: H(() => [
|
|
3257
|
-
|
|
3285
|
+
d("div", Z1, [
|
|
3258
3286
|
l.value ? (p(), z(Pe, {
|
|
3259
3287
|
key: 0,
|
|
3260
3288
|
class: "p3",
|
|
3261
|
-
data:
|
|
3289
|
+
data: v.value,
|
|
3262
3290
|
"node-id": "",
|
|
3263
3291
|
"inspector-id": "router",
|
|
3264
3292
|
"expanded-state-id": "routes-state"
|
|
3265
3293
|
}, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
|
|
3266
3294
|
default: H(() => S[1] || (S[1] = [
|
|
3267
|
-
|
|
3295
|
+
Y(" No Data ")
|
|
3268
3296
|
])),
|
|
3269
3297
|
_: 1
|
|
3270
3298
|
}))
|
|
@@ -3277,77 +3305,77 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3277
3305
|
})
|
|
3278
3306
|
]));
|
|
3279
3307
|
}
|
|
3280
|
-
}),
|
|
3308
|
+
}), G1 = "org.vuejs.router", K1 = /* @__PURE__ */ B({
|
|
3281
3309
|
__name: "Index",
|
|
3282
3310
|
setup(n) {
|
|
3283
3311
|
const e = Te();
|
|
3284
3312
|
return (o, t) => (p(), z(pt, {
|
|
3285
|
-
"layer-ids":
|
|
3313
|
+
"layer-ids": c(e).timelineLayerIds,
|
|
3286
3314
|
"doc-link": "https://router.vuejs.org/",
|
|
3287
|
-
"plugin-id":
|
|
3315
|
+
"plugin-id": G1,
|
|
3288
3316
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3289
3317
|
}, null, 8, ["layer-ids"]));
|
|
3290
3318
|
}
|
|
3291
|
-
}),
|
|
3319
|
+
}), W1 = {
|
|
3292
3320
|
"h-full": "",
|
|
3293
3321
|
"w-full": ""
|
|
3294
|
-
},
|
|
3322
|
+
}, rs = /* @__PURE__ */ B({
|
|
3295
3323
|
__name: "index",
|
|
3296
3324
|
props: {
|
|
3297
3325
|
id: {}
|
|
3298
3326
|
},
|
|
3299
3327
|
setup(n) {
|
|
3300
|
-
const e = n, o =
|
|
3328
|
+
const e = n, o = Ft(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = st([
|
|
3301
3329
|
{
|
|
3302
3330
|
path: "/routes",
|
|
3303
3331
|
name: "Routes",
|
|
3304
|
-
component:
|
|
3332
|
+
component: F1,
|
|
3305
3333
|
icon: "i-carbon-tree-view-alt"
|
|
3306
3334
|
},
|
|
3307
3335
|
{
|
|
3308
3336
|
path: "/timeline",
|
|
3309
3337
|
name: "Timeline",
|
|
3310
|
-
component:
|
|
3338
|
+
component: K1,
|
|
3311
3339
|
icon: "i-mdi:timeline-clock-outline"
|
|
3312
3340
|
},
|
|
3313
3341
|
{
|
|
3314
3342
|
path: "/about",
|
|
3315
3343
|
name: "About",
|
|
3316
|
-
component:
|
|
3344
|
+
component: U1,
|
|
3317
3345
|
icon: "i-ri-route-line"
|
|
3318
3346
|
}
|
|
3319
3347
|
], {
|
|
3320
3348
|
defaultRoutePath: "/routes"
|
|
3321
3349
|
});
|
|
3322
|
-
function
|
|
3350
|
+
function u() {
|
|
3323
3351
|
t.value = !0, Re(() => {
|
|
3324
|
-
P.value.getInspectorInfo(e.id).then((
|
|
3325
|
-
if (!
|
|
3352
|
+
P.value.getInspectorInfo(e.id).then((i) => {
|
|
3353
|
+
if (!i)
|
|
3326
3354
|
return;
|
|
3327
|
-
const
|
|
3328
|
-
homepage:
|
|
3329
|
-
id:
|
|
3330
|
-
label:
|
|
3331
|
-
logo:
|
|
3332
|
-
timelineLayerIds:
|
|
3355
|
+
const r = {
|
|
3356
|
+
homepage: i == null ? void 0 : i.homepage,
|
|
3357
|
+
id: i == null ? void 0 : i.id,
|
|
3358
|
+
label: i == null ? void 0 : i.label,
|
|
3359
|
+
logo: i == null ? void 0 : i.logo,
|
|
3360
|
+
timelineLayerIds: i == null ? void 0 : i.timelineLayers.map((h) => h.id)
|
|
3333
3361
|
};
|
|
3334
|
-
o.value =
|
|
3362
|
+
o.value = r, l(), t.value = !1;
|
|
3335
3363
|
});
|
|
3336
3364
|
});
|
|
3337
3365
|
}
|
|
3338
|
-
return
|
|
3339
|
-
|
|
3340
|
-
}), (
|
|
3341
|
-
|
|
3366
|
+
return ee(() => e.id, (i) => {
|
|
3367
|
+
i && u();
|
|
3368
|
+
}), (i, r) => (p(), f("div", W1, [
|
|
3369
|
+
x(c(s))
|
|
3342
3370
|
]));
|
|
3343
3371
|
}
|
|
3344
3372
|
});
|
|
3345
3373
|
export {
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3374
|
+
ss as Components,
|
|
3375
|
+
as as CustomInspector,
|
|
3376
|
+
is as Pinia,
|
|
3377
|
+
rs as Router,
|
|
3350
3378
|
Sn as SelectiveList,
|
|
3351
3379
|
pt as Timeline,
|
|
3352
|
-
|
|
3380
|
+
ls as useCustomInspector
|
|
3353
3381
|
};
|