@vue/devtools-applet 7.5.5 → 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/components/timeline/index.vue.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1083 -1051
- 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
|
|
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,
|
|
@@ -358,8 +358,8 @@ function Jn(n, e = !0, o) {
|
|
|
358
358
|
function Qe(n, e = !1) {
|
|
359
359
|
function o(a, { flush: m = "sync", deep: E = !1, timeout: A, throwOnTimeout: g } = {}) {
|
|
360
360
|
let $ = null;
|
|
361
|
-
const
|
|
362
|
-
$ =
|
|
361
|
+
const D = [new Promise((_) => {
|
|
362
|
+
$ = ee(
|
|
363
363
|
n,
|
|
364
364
|
(C) => {
|
|
365
365
|
a(C) !== e && ($ ? $() : Be(() => $ == null ? void 0 : $()), _(C));
|
|
@@ -371,20 +371,20 @@ function Qe(n, e = !1) {
|
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
373
|
})];
|
|
374
|
-
return A != null &&
|
|
375
|
-
kt(A, g).then(() =>
|
|
376
|
-
), Promise.race(
|
|
374
|
+
return A != null && D.push(
|
|
375
|
+
kt(A, g).then(() => te(n)).finally(() => $ == null ? void 0 : $())
|
|
376
|
+
), Promise.race(D);
|
|
377
377
|
}
|
|
378
378
|
function t(a, m) {
|
|
379
379
|
if (!Ke(a))
|
|
380
380
|
return o((C) => C === a, m);
|
|
381
381
|
const { flush: E = "sync", deep: A = !1, timeout: g, throwOnTimeout: $ } = m ?? {};
|
|
382
|
-
let
|
|
382
|
+
let U = null;
|
|
383
383
|
const _ = [new Promise((C) => {
|
|
384
|
-
|
|
384
|
+
U = ee(
|
|
385
385
|
[n, a],
|
|
386
386
|
([S, L]) => {
|
|
387
|
-
e !== (S === L) && (
|
|
387
|
+
e !== (S === L) && (U ? U() : Be(() => U == null ? void 0 : U()), C(S));
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
flush: E,
|
|
@@ -394,7 +394,7 @@ function Qe(n, e = !1) {
|
|
|
394
394
|
);
|
|
395
395
|
})];
|
|
396
396
|
return g != null && _.push(
|
|
397
|
-
kt(g, $).then(() =>
|
|
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,63 +541,63 @@ 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(
|
|
585
|
-
h.value &&
|
|
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
|
-
function g(
|
|
587
|
+
function g(D) {
|
|
588
588
|
const _ = document.createElement("textarea");
|
|
589
|
-
_.value =
|
|
589
|
+
_.value = D ?? "", _.style.position = "absolute", _.style.opacity = "0", document.body.appendChild(_), _.select(), document.execCommand("copy"), _.remove();
|
|
590
590
|
}
|
|
591
591
|
function $() {
|
|
592
|
-
var
|
|
593
|
-
return (C = (_ = (
|
|
592
|
+
var D, _, C;
|
|
593
|
+
return (C = (_ = (D = document == null ? void 0 : document.getSelection) == null ? void 0 : D.call(document)) == null ? void 0 : _.toString()) != null ? C : "";
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
return
|
|
595
|
+
function U(D) {
|
|
596
|
+
return D === "granted" || D === "prompt";
|
|
597
597
|
}
|
|
598
598
|
return {
|
|
599
599
|
isSupported: h,
|
|
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,87 +689,87 @@ 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
|
-
var
|
|
708
|
-
const _ = (
|
|
709
|
-
_ && ($ ?
|
|
707
|
+
var U, D;
|
|
708
|
+
const _ = (U = g.key) == null ? void 0 : U.toLowerCase(), S = [(D = g.code) == null ? void 0 : D.toLowerCase(), _].filter(Boolean);
|
|
709
|
+
_ && ($ ? 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
|
-
get(g, $,
|
|
720
|
+
get(g, $, U) {
|
|
721
721
|
if (typeof $ != "string")
|
|
722
|
-
return Reflect.get(g, $,
|
|
723
|
-
if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in
|
|
722
|
+
return Reflect.get(g, $, U);
|
|
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
|
-
|
|
729
|
-
const
|
|
730
|
-
return e ?
|
|
728
|
+
r[$] = T(!1);
|
|
729
|
+
const D = Reflect.get(g, $, U);
|
|
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 (
|
|
752
|
-
const _ =
|
|
751
|
+
if (r) {
|
|
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({
|
|
768
768
|
get() {
|
|
769
|
-
return
|
|
769
|
+
return U();
|
|
770
770
|
},
|
|
771
771
|
set(_) {
|
|
772
|
-
|
|
772
|
+
D(_);
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
}
|
|
@@ -800,14 +800,14 @@ 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(() => ({
|
|
807
807
|
"opacity-0": !e.hovering
|
|
808
808
|
}));
|
|
809
809
|
async function m(A, g = !1) {
|
|
810
|
-
await
|
|
810
|
+
await P.value.editInspectorState({
|
|
811
811
|
path: e.data.path || [e.data.key],
|
|
812
812
|
inspectorId: o.value.inspectorId,
|
|
813
813
|
type: e.data.stateType,
|
|
@@ -818,125 +818,125 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
818
818
|
type: h.value,
|
|
819
819
|
remove: g
|
|
820
820
|
}
|
|
821
|
-
}), await
|
|
821
|
+
}), await P.value.sendInspectorState(o.value.inspectorId);
|
|
822
822
|
}
|
|
823
823
|
function E(A, g) {
|
|
824
824
|
const $ = typeof A == "number" ? A + g : BigInt(A) + BigInt(g);
|
|
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,129 +1045,129 @@ 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 =
|
|
1083
|
-
}), A = V(() => E.value.length > 0), g = T(), $ = it(), { isHovering:
|
|
1084
|
-
|
|
1085
|
-
if (
|
|
1082
|
+
})), s.value !== "custom" && (re = Rt(re))), re === e.data.value ? [] : re);
|
|
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
|
+
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
|
|
1093
|
-
await
|
|
1094
|
-
path:
|
|
1092
|
+
const y = e.data;
|
|
1093
|
+
await P.value.editInspectorState({
|
|
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,
|
|
1100
|
-
type:
|
|
1100
|
+
type: D.value,
|
|
1101
1101
|
value: Ue(C.value, l.value.customType)
|
|
1102
1102
|
}
|
|
1103
|
-
}), await
|
|
1103
|
+
}), await P.value.sendInspectorState($.value.inspectorId), S();
|
|
1104
1104
|
}
|
|
1105
|
-
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
|
|
1112
|
-
await
|
|
1113
|
-
path: [...
|
|
1111
|
+
const y = e.data;
|
|
1112
|
+
await P.value.editInspectorState({
|
|
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,
|
|
1119
1119
|
type: typeof Ue(N.value.value),
|
|
1120
1120
|
value: Ue(N.value.value)
|
|
1121
1121
|
}
|
|
1122
|
-
}), await
|
|
1122
|
+
}), await P.value.sendInspectorState($.value.inspectorId), M();
|
|
1123
1123
|
}
|
|
1124
|
-
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
|
]),
|
|
@@ -1354,41 +1354,45 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1354
1354
|
"select-none": "",
|
|
1355
1355
|
"overflow-scroll": "",
|
|
1356
1356
|
class: "no-scrollbar"
|
|
1357
|
-
}, Mo = {
|
|
1357
|
+
}, Mo = {
|
|
1358
|
+
key: 3,
|
|
1359
|
+
class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
|
|
1360
|
+
}, Lo = { class: "flex items-center gap-2 px-1" }, Ho = {
|
|
1358
1361
|
key: 0,
|
|
1359
1362
|
class: "recording recording-btn bg-[#ef4444]"
|
|
1360
|
-
},
|
|
1363
|
+
}, Oo = {
|
|
1361
1364
|
key: 1,
|
|
1362
1365
|
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
1363
|
-
},
|
|
1366
|
+
}, jo = { class: "flex items-center gap1" }, Uo = /* @__PURE__ */ B({
|
|
1364
1367
|
__name: "index",
|
|
1365
1368
|
props: {
|
|
1366
1369
|
layerIds: {},
|
|
1367
1370
|
pluginId: {},
|
|
1368
1371
|
docLink: {},
|
|
1369
1372
|
githubRepoLink: {},
|
|
1370
|
-
headerVisible: { type: Boolean, default: !0 }
|
|
1373
|
+
headerVisible: { type: Boolean, default: !0 },
|
|
1374
|
+
switcherVisible: { type: Boolean, default: !0 }
|
|
1371
1375
|
},
|
|
1372
1376
|
setup(n, { expose: e }) {
|
|
1373
1377
|
const o = n, { expanded: t } = me("timeline-state");
|
|
1374
1378
|
t.value = ["0", "1"];
|
|
1375
|
-
const s = T([]), l = T(/* @__PURE__ */ new Map()),
|
|
1376
|
-
var
|
|
1377
|
-
return (
|
|
1378
|
-
}), h = V(() => s.value[
|
|
1379
|
+
const s = T([]), l = T(/* @__PURE__ */ new Map()), u = T(0), i = Nt(), r = V(() => {
|
|
1380
|
+
var D;
|
|
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(() => {
|
|
1379
1383
|
var _;
|
|
1380
|
-
const
|
|
1384
|
+
const D = [];
|
|
1381
1385
|
for (const C in (_ = h.value) == null ? void 0 : _.data)
|
|
1382
|
-
|
|
1386
|
+
D.push({
|
|
1383
1387
|
key: C,
|
|
1384
1388
|
type: C,
|
|
1385
1389
|
editable: !1,
|
|
1386
1390
|
value: h.value.data[C]
|
|
1387
1391
|
});
|
|
1388
|
-
return
|
|
1392
|
+
return D;
|
|
1389
1393
|
}), m = V(() => {
|
|
1390
1394
|
var C, S, L;
|
|
1391
|
-
const
|
|
1395
|
+
const D = (C = h.value) == null ? void 0 : C.groupId, _ = l.value.get(D);
|
|
1392
1396
|
if (_) {
|
|
1393
1397
|
const K = ((S = _[_.length - 1]) == null ? void 0 : S.time) - (((L = _[0]) == null ? void 0 : L.time) ?? 0);
|
|
1394
1398
|
return [{
|
|
@@ -1404,20 +1408,20 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1404
1408
|
}].filter(Boolean);
|
|
1405
1409
|
}
|
|
1406
1410
|
}), E = V(() => ({ "Event Info": a.value, ...m.value && { "Group Info": m.value } }));
|
|
1407
|
-
function A(
|
|
1411
|
+
function A(D) {
|
|
1408
1412
|
var C;
|
|
1409
|
-
const _ =
|
|
1410
|
-
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(
|
|
1413
|
+
const _ = D.groupId;
|
|
1414
|
+
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(D));
|
|
1411
1415
|
}
|
|
1412
|
-
function g(
|
|
1413
|
-
const _ =
|
|
1416
|
+
function g(D) {
|
|
1417
|
+
const _ = Q(D);
|
|
1414
1418
|
if (!_)
|
|
1415
1419
|
return;
|
|
1416
1420
|
const { layerId: C, event: S } = _;
|
|
1417
1421
|
o.layerIds.includes(C) && (s.value.push(S), A(S));
|
|
1418
1422
|
}
|
|
1419
|
-
|
|
1420
|
-
|
|
1423
|
+
P.functions.on(J.TIMELINE_EVENT_UPDATED, g), be(() => {
|
|
1424
|
+
P.functions.off(J.TIMELINE_EVENT_UPDATED, g);
|
|
1421
1425
|
});
|
|
1422
1426
|
function $() {
|
|
1423
1427
|
s.value = [], l.value.clear();
|
|
@@ -1425,45 +1429,45 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1425
1429
|
e({
|
|
1426
1430
|
clear: $
|
|
1427
1431
|
});
|
|
1428
|
-
function
|
|
1429
|
-
|
|
1430
|
-
[o.pluginId]: !
|
|
1432
|
+
function U() {
|
|
1433
|
+
P.value.updateTimelineLayersState({
|
|
1434
|
+
[o.pluginId]: !r.value
|
|
1431
1435
|
});
|
|
1432
1436
|
}
|
|
1433
|
-
return (
|
|
1434
|
-
|
|
1437
|
+
return (D, _) => (p(), f("div", Ro, [
|
|
1438
|
+
D.headerVisible ? (p(), z($e, {
|
|
1435
1439
|
key: 0,
|
|
1436
|
-
"doc-link":
|
|
1437
|
-
"github-repo-link":
|
|
1440
|
+
"doc-link": D.docLink,
|
|
1441
|
+
"github-repo-link": D.githubRepoLink
|
|
1438
1442
|
}, {
|
|
1439
1443
|
default: H(() => [
|
|
1440
|
-
|
|
1444
|
+
x(Se)
|
|
1441
1445
|
]),
|
|
1442
1446
|
_: 1
|
|
1443
|
-
}, 8, ["doc-link", "github-repo-link"])) :
|
|
1444
|
-
s.value.length ? (p(),
|
|
1445
|
-
|
|
1447
|
+
}, 8, ["doc-link", "github-repo-link"])) : j("", !0),
|
|
1448
|
+
s.value.length ? (p(), f("div", Ao, [
|
|
1449
|
+
x(c(Ae), { class: "h-full" }, {
|
|
1446
1450
|
default: H(() => [
|
|
1447
|
-
|
|
1451
|
+
x(c(ue), {
|
|
1448
1452
|
border: "r base",
|
|
1449
1453
|
size: "40",
|
|
1450
1454
|
"h-full": ""
|
|
1451
1455
|
}, {
|
|
1452
1456
|
default: H(() => [
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
modelValue:
|
|
1456
|
-
"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),
|
|
1457
1461
|
data: s.value
|
|
1458
1462
|
}, null, 8, ["modelValue", "data"])
|
|
1459
1463
|
])
|
|
1460
1464
|
]),
|
|
1461
1465
|
_: 1
|
|
1462
1466
|
}),
|
|
1463
|
-
|
|
1467
|
+
x(c(ue), { size: "60" }, {
|
|
1464
1468
|
default: H(() => [
|
|
1465
|
-
|
|
1466
|
-
|
|
1469
|
+
d("div", Po, [
|
|
1470
|
+
x(Pe, {
|
|
1467
1471
|
class: "p3",
|
|
1468
1472
|
data: E.value,
|
|
1469
1473
|
"node-id": "",
|
|
@@ -1483,30 +1487,30 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1483
1487
|
class: "flex-1"
|
|
1484
1488
|
}, {
|
|
1485
1489
|
default: H(() => _[1] || (_[1] = [
|
|
1486
|
-
|
|
1490
|
+
Y(" No events ")
|
|
1487
1491
|
])),
|
|
1488
1492
|
_: 1
|
|
1489
1493
|
})),
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
W((p(),
|
|
1494
|
+
D.switcherVisible ? (p(), f("div", Mo, [
|
|
1495
|
+
d("div", Lo, [
|
|
1496
|
+
W((p(), f("div", {
|
|
1493
1497
|
class: "flex items-center gap1",
|
|
1494
|
-
onClick:
|
|
1498
|
+
onClick: U
|
|
1495
1499
|
}, [
|
|
1496
|
-
|
|
1500
|
+
r.value ? (p(), f("span", Ho)) : (p(), f("span", Oo))
|
|
1497
1501
|
])), [
|
|
1498
1502
|
[
|
|
1499
|
-
|
|
1500
|
-
{ content:
|
|
1503
|
+
c(q),
|
|
1504
|
+
{ content: v.value },
|
|
1501
1505
|
void 0,
|
|
1502
1506
|
{ "bottom-end": !0 }
|
|
1503
1507
|
]
|
|
1504
1508
|
]),
|
|
1505
|
-
W((p(),
|
|
1509
|
+
W((p(), f("div", {
|
|
1506
1510
|
class: "flex items-center gap1",
|
|
1507
1511
|
onClick: $
|
|
1508
1512
|
}, [
|
|
1509
|
-
|
|
1513
|
+
x(c(Fe), {
|
|
1510
1514
|
name: "baseline-delete",
|
|
1511
1515
|
"cursor-pointer": "",
|
|
1512
1516
|
"text-xl": "",
|
|
@@ -1515,14 +1519,14 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1515
1519
|
})
|
|
1516
1520
|
])), [
|
|
1517
1521
|
[
|
|
1518
|
-
|
|
1522
|
+
c(q),
|
|
1519
1523
|
{ content: "Clear all timelines" },
|
|
1520
1524
|
void 0,
|
|
1521
1525
|
{ "bottom-end": !0 }
|
|
1522
1526
|
]
|
|
1523
1527
|
]),
|
|
1524
|
-
W((p(),
|
|
1525
|
-
|
|
1528
|
+
W((p(), f("div", jo, [
|
|
1529
|
+
x(c(Fe), {
|
|
1526
1530
|
name: "baseline-tips-and-updates",
|
|
1527
1531
|
"cursor-pointer": "",
|
|
1528
1532
|
"text-xl": "",
|
|
@@ -1531,18 +1535,18 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1531
1535
|
})
|
|
1532
1536
|
])), [
|
|
1533
1537
|
[
|
|
1534
|
-
|
|
1538
|
+
c(q),
|
|
1535
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 },
|
|
1536
1540
|
void 0,
|
|
1537
1541
|
{ "bottom-end": !0 }
|
|
1538
1542
|
]
|
|
1539
1543
|
])
|
|
1540
1544
|
])
|
|
1541
|
-
])
|
|
1545
|
+
])) : j("", !0)
|
|
1542
1546
|
]));
|
|
1543
1547
|
}
|
|
1544
|
-
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-
|
|
1545
|
-
function
|
|
1548
|
+
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-f59e6cce"]]);
|
|
1549
|
+
function ls() {
|
|
1546
1550
|
const n = T([]), e = T([]);
|
|
1547
1551
|
function o(s) {
|
|
1548
1552
|
e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
|
|
@@ -1550,31 +1554,31 @@ function ns() {
|
|
|
1550
1554
|
});
|
|
1551
1555
|
}
|
|
1552
1556
|
Re(() => {
|
|
1553
|
-
|
|
1557
|
+
P.value.getCustomInspector().then((s) => {
|
|
1554
1558
|
e.value = s, e.value.forEach((l) => {
|
|
1555
1559
|
t(l);
|
|
1556
1560
|
});
|
|
1557
|
-
}),
|
|
1561
|
+
}), P.functions.on(J.INSPECTOR_UPDATED, o);
|
|
1558
1562
|
});
|
|
1559
1563
|
function t(s) {
|
|
1560
1564
|
n.value.some((l) => l.id === s.id) || n.value.push(s);
|
|
1561
1565
|
}
|
|
1562
1566
|
return be(() => {
|
|
1563
|
-
|
|
1567
|
+
P.functions.off(J.INSPECTOR_UPDATED, o);
|
|
1564
1568
|
}), {
|
|
1565
1569
|
registeredInspector: n,
|
|
1566
1570
|
register: t
|
|
1567
1571
|
};
|
|
1568
1572
|
}
|
|
1569
|
-
const
|
|
1573
|
+
const Bt = Symbol("SelectedSymbolKey");
|
|
1570
1574
|
function zo() {
|
|
1571
1575
|
const n = T("");
|
|
1572
|
-
return ge(
|
|
1576
|
+
return ge(Bt, n), {
|
|
1573
1577
|
selected: n
|
|
1574
1578
|
};
|
|
1575
1579
|
}
|
|
1576
1580
|
function Bo() {
|
|
1577
|
-
const n = ve(
|
|
1581
|
+
const n = ve(Bt, T(""));
|
|
1578
1582
|
function e(o) {
|
|
1579
1583
|
n.value = o;
|
|
1580
1584
|
}
|
|
@@ -1596,9 +1600,15 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1596
1600
|
"group-hover:text-white": "",
|
|
1597
1601
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1598
1602
|
}, qo = {
|
|
1599
|
-
key:
|
|
1603
|
+
key: 2,
|
|
1600
1604
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1601
|
-
}, 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({
|
|
1602
1612
|
__name: "TreeViewer",
|
|
1603
1613
|
props: /* @__PURE__ */ ze({
|
|
1604
1614
|
data: {},
|
|
@@ -1612,55 +1622,77 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1612
1622
|
setup(n) {
|
|
1613
1623
|
const e = et(n, "modelValue"), { expanded: o, toggleExpanded: t } = rt();
|
|
1614
1624
|
Bo();
|
|
1615
|
-
function s(
|
|
1616
|
-
return "name" in
|
|
1625
|
+
function s(u) {
|
|
1626
|
+
return "name" in u && (u == null ? void 0 : u.name) || "label" in u && u.label;
|
|
1617
1627
|
}
|
|
1618
|
-
function l(
|
|
1619
|
-
e.value =
|
|
1628
|
+
function l(u) {
|
|
1629
|
+
e.value = u;
|
|
1620
1630
|
}
|
|
1621
|
-
return (
|
|
1622
|
-
var
|
|
1623
|
-
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", {
|
|
1624
1634
|
key: h,
|
|
1625
|
-
class:
|
|
1626
|
-
"min-w-max":
|
|
1635
|
+
class: oe({
|
|
1636
|
+
"min-w-max": u.depth === 0
|
|
1627
1637
|
})
|
|
1628
1638
|
}, [
|
|
1629
|
-
|
|
1630
|
-
class:
|
|
1631
|
-
style: Ie({ paddingLeft: `${15 *
|
|
1632
|
-
onClick: (m) => l(
|
|
1633
|
-
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)
|
|
1634
1644
|
}, [
|
|
1635
|
-
(
|
|
1645
|
+
(v = r == null ? void 0 : r.children) != null && v.length ? (p(), z(at, {
|
|
1636
1646
|
key: 0,
|
|
1637
|
-
value:
|
|
1647
|
+
value: c(o).includes(r.id),
|
|
1638
1648
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1639
|
-
onClick: fe((m) =>
|
|
1640
|
-
}, null, 8, ["value", "onClick"])) : (p(),
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
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)
|
|
1645
1667
|
]),
|
|
1646
|
-
(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, {
|
|
1647
1679
|
key: E,
|
|
1648
1680
|
tag: m
|
|
1649
1681
|
}, null, 8, ["tag"]))), 128))
|
|
1650
1682
|
], 46, Zo),
|
|
1651
|
-
(a =
|
|
1652
|
-
|
|
1683
|
+
(a = r == null ? void 0 : r.children) != null && a.length && c(o).includes(r.id) ? (p(), f("div", Xo, [
|
|
1684
|
+
x(Me, {
|
|
1653
1685
|
modelValue: e.value,
|
|
1654
|
-
"onUpdate:modelValue":
|
|
1655
|
-
data:
|
|
1656
|
-
depth:
|
|
1657
|
-
"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
|
|
1658
1690
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
1659
|
-
])) :
|
|
1691
|
+
])) : j("", !0)
|
|
1660
1692
|
], 2);
|
|
1661
1693
|
}), 128));
|
|
1662
1694
|
}
|
|
1663
|
-
}),
|
|
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({
|
|
1664
1696
|
__name: "RenderCode",
|
|
1665
1697
|
props: {
|
|
1666
1698
|
code: {}
|
|
@@ -1671,82 +1703,82 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1671
1703
|
function t() {
|
|
1672
1704
|
o("close");
|
|
1673
1705
|
}
|
|
1674
|
-
return (s, l) => (p(),
|
|
1675
|
-
|
|
1676
|
-
l[0] || (l[0] =
|
|
1677
|
-
|
|
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", {
|
|
1678
1710
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1679
1711
|
onClick: t
|
|
1680
1712
|
})
|
|
1681
1713
|
]),
|
|
1682
|
-
|
|
1683
|
-
|
|
1714
|
+
d("div", el, [
|
|
1715
|
+
x(c(sn), {
|
|
1684
1716
|
code: s.code,
|
|
1685
1717
|
lang: "javascript"
|
|
1686
1718
|
}, null, 8, ["code"])
|
|
1687
1719
|
])
|
|
1688
1720
|
]));
|
|
1689
1721
|
}
|
|
1690
|
-
}),
|
|
1722
|
+
}), nl = { class: "h-full w-full" }, ol = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ll = {
|
|
1691
1723
|
key: 0,
|
|
1692
1724
|
class: "h-full flex flex-col p2"
|
|
1693
|
-
},
|
|
1725
|
+
}, sl = { class: "flex py2" }, al = {
|
|
1694
1726
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1695
1727
|
style: { height: "1.1em", width: "1.1em" },
|
|
1696
1728
|
class: "op-80 hover:op-100",
|
|
1697
1729
|
viewBox: "0 0 24 24"
|
|
1698
|
-
},
|
|
1730
|
+
}, il = { class: "h-full flex flex-col p2" }, rl = { class: "flex py2" }, ul = {
|
|
1699
1731
|
key: 0,
|
|
1700
1732
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1701
|
-
},
|
|
1733
|
+
}, cl = {
|
|
1702
1734
|
"group-hover:text-white": "",
|
|
1703
1735
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1704
|
-
},
|
|
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 = {
|
|
1705
1737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1706
1738
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1707
1739
|
class: "animate-fade",
|
|
1708
1740
|
viewBox: "0 0 24 24"
|
|
1709
|
-
},
|
|
1741
|
+
}, ml = { class: "flex items-center justify-center" }, Ve = "components", hl = /* @__PURE__ */ B({
|
|
1710
1742
|
__name: "index",
|
|
1711
1743
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1712
1744
|
setup(n, { emit: e }) {
|
|
1713
|
-
const o = e, t = T(), s = T(!1), { width: l } = lo(t),
|
|
1714
|
-
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 = []) {
|
|
1715
1747
|
var G;
|
|
1716
|
-
return b.push(I.id), ((G = I.children) == null ? void 0 : G.length) === 0 &&
|
|
1717
|
-
g(
|
|
1718
|
-
}), 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;
|
|
1719
1751
|
}
|
|
1720
1752
|
function $(I) {
|
|
1721
|
-
const b = [],
|
|
1722
|
-
G == null || G.forEach((
|
|
1753
|
+
const b = [], O = (G) => {
|
|
1754
|
+
G == null || G.forEach((X) => {
|
|
1723
1755
|
var we;
|
|
1724
|
-
b.push(
|
|
1756
|
+
b.push(X), (we = X.children) != null && we.length && O(X.children);
|
|
1725
1757
|
});
|
|
1726
1758
|
};
|
|
1727
|
-
return
|
|
1759
|
+
return O(I), b;
|
|
1728
1760
|
}
|
|
1729
|
-
function
|
|
1730
|
-
const
|
|
1761
|
+
function U(I, b) {
|
|
1762
|
+
const O = [];
|
|
1731
1763
|
return I == null || I.forEach((G) => {
|
|
1732
|
-
|
|
1733
|
-
}), [...new Set(
|
|
1764
|
+
O.push(...G.slice(0, b + 1));
|
|
1765
|
+
}), [...new Set(O)];
|
|
1734
1766
|
}
|
|
1735
|
-
function
|
|
1736
|
-
const
|
|
1767
|
+
function D(I, b) {
|
|
1768
|
+
const O = [];
|
|
1737
1769
|
return I.forEach((G) => {
|
|
1738
|
-
const
|
|
1739
|
-
|
|
1740
|
-
}), [...new Set(
|
|
1770
|
+
const X = G.indexOf(b);
|
|
1771
|
+
X !== -1 && O.push(...G.slice(0, X + 1));
|
|
1772
|
+
}), [...new Set(O)];
|
|
1741
1773
|
}
|
|
1742
1774
|
const _ = T([]), C = V(() => {
|
|
1743
1775
|
var I, b;
|
|
1744
1776
|
return (I = _.value) != null && I.length ? g((b = _.value) == null ? void 0 : b[0]) : [];
|
|
1745
1777
|
}), S = V(() => $(_.value)), L = V(() => S.value.map((I) => I.id)), K = T({}), Z = T(""), N = V(() => {
|
|
1746
|
-
const I = [], b = (
|
|
1747
|
-
|
|
1748
|
-
var
|
|
1749
|
-
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);
|
|
1750
1782
|
});
|
|
1751
1783
|
};
|
|
1752
1784
|
return b(_.value), I[0];
|
|
@@ -1760,85 +1792,85 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1760
1792
|
try {
|
|
1761
1793
|
return bn({
|
|
1762
1794
|
[we.key]: we.value
|
|
1763
|
-
},
|
|
1764
|
-
} catch (
|
|
1795
|
+
}, r.value);
|
|
1796
|
+
} catch (Yt) {
|
|
1765
1797
|
return {
|
|
1766
|
-
[we.key]:
|
|
1798
|
+
[we.key]: Yt
|
|
1767
1799
|
};
|
|
1768
1800
|
}
|
|
1769
|
-
}),
|
|
1770
|
-
G.length && (I[b] =
|
|
1801
|
+
}), X = _n(Object.values(yn(Rt(G), "stateType")));
|
|
1802
|
+
G.length && (I[b] = X);
|
|
1771
1803
|
}
|
|
1772
1804
|
return I;
|
|
1773
|
-
}), { expanded: k } = me(), { expanded:
|
|
1805
|
+
}), { expanded: k } = me(), { expanded: y } = me("component-state");
|
|
1774
1806
|
zo();
|
|
1775
1807
|
async function R(I = "") {
|
|
1776
|
-
return
|
|
1777
|
-
var G,
|
|
1778
|
-
const
|
|
1779
|
-
_.value =
|
|
1808
|
+
return P.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
|
|
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;
|
|
1780
1812
|
});
|
|
1781
1813
|
}
|
|
1782
1814
|
function F(I) {
|
|
1783
1815
|
if (!I || !(I != null && I.state))
|
|
1784
1816
|
return {};
|
|
1785
1817
|
const b = {};
|
|
1786
|
-
return I.state.forEach((
|
|
1787
|
-
b[
|
|
1818
|
+
return I.state.forEach((O) => {
|
|
1819
|
+
b[O.type] || (b[O.type] = []), b[O.type].push(O);
|
|
1788
1820
|
}), b;
|
|
1789
1821
|
}
|
|
1790
|
-
function
|
|
1791
|
-
|
|
1792
|
-
const
|
|
1793
|
-
|
|
1822
|
+
function ae(I) {
|
|
1823
|
+
P.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
|
|
1824
|
+
const O = Q(b);
|
|
1825
|
+
O && (K.value = F(O), y.value = Array.from({ length: Object.keys(K.value).length }, (G, X) => `${X}`));
|
|
1794
1826
|
});
|
|
1795
1827
|
}
|
|
1796
|
-
|
|
1797
|
-
|
|
1828
|
+
ee(Z, (I) => {
|
|
1829
|
+
ae(I), A.value && je();
|
|
1798
1830
|
});
|
|
1799
1831
|
function re(I) {
|
|
1800
|
-
const b =
|
|
1832
|
+
const b = Q(I);
|
|
1801
1833
|
b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
|
|
1802
1834
|
}
|
|
1803
|
-
|
|
1835
|
+
P.functions.on(J.INSPECTOR_STATE_UPDATED, re), R();
|
|
1804
1836
|
function ce(I) {
|
|
1805
1837
|
const b = I.trim().toLowerCase();
|
|
1806
|
-
|
|
1807
|
-
|
|
1838
|
+
v(), R(b).then(() => {
|
|
1839
|
+
v();
|
|
1808
1840
|
});
|
|
1809
1841
|
}
|
|
1810
|
-
Qn(
|
|
1842
|
+
Qn(i, (I) => {
|
|
1811
1843
|
ce(I);
|
|
1812
1844
|
}, { debounce: 300 });
|
|
1813
1845
|
function _e(I) {
|
|
1814
|
-
var
|
|
1815
|
-
const b =
|
|
1816
|
-
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)));
|
|
1817
1849
|
}
|
|
1818
|
-
|
|
1819
|
-
|
|
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);
|
|
1820
1852
|
});
|
|
1821
|
-
function
|
|
1822
|
-
m.value = !0, o("onInspectComponentStart"),
|
|
1853
|
+
function ye() {
|
|
1854
|
+
m.value = !0, o("onInspectComponentStart"), P.value.inspectComponentInspector().then((I) => {
|
|
1823
1855
|
const b = JSON.parse(I);
|
|
1824
|
-
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...
|
|
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();
|
|
1825
1857
|
}).finally(() => {
|
|
1826
1858
|
m.value = !1, o("onInspectComponentEnd");
|
|
1827
1859
|
});
|
|
1828
1860
|
}
|
|
1829
1861
|
function Le() {
|
|
1830
|
-
m.value = !1,
|
|
1862
|
+
m.value = !1, P.value.cancelInspectComponentInspector();
|
|
1831
1863
|
}
|
|
1832
1864
|
function He() {
|
|
1833
|
-
|
|
1865
|
+
P.value.scrollToComponent(Z.value);
|
|
1834
1866
|
}
|
|
1835
|
-
function
|
|
1836
|
-
|
|
1867
|
+
function Oe() {
|
|
1868
|
+
P.value.inspectDOM(Z.value).then(() => {
|
|
1837
1869
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
1838
1870
|
});
|
|
1839
1871
|
}
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1872
|
+
function je() {
|
|
1873
|
+
P.value.getComponentRenderCode(Z.value).then((I) => {
|
|
1842
1874
|
E.value = I, A.value = !0;
|
|
1843
1875
|
});
|
|
1844
1876
|
}
|
|
@@ -1846,181 +1878,181 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
1846
1878
|
o("openInEditor", M.value);
|
|
1847
1879
|
}
|
|
1848
1880
|
const Ee = T();
|
|
1849
|
-
function
|
|
1881
|
+
function Kt() {
|
|
1850
1882
|
setTimeout(() => {
|
|
1851
1883
|
var b;
|
|
1852
1884
|
const I = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
|
|
1853
1885
|
I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
1854
1886
|
}, 300);
|
|
1855
1887
|
}
|
|
1856
|
-
function
|
|
1888
|
+
function Wt() {
|
|
1857
1889
|
E.value = "", A.value = !1;
|
|
1858
1890
|
}
|
|
1859
|
-
const Je =
|
|
1891
|
+
const Je = Nt(), ft = V(() => Je.appRecords.value.map((I) => ({
|
|
1860
1892
|
label: I.name + (I.version ? ` (${I.version})` : ""),
|
|
1861
1893
|
value: I.id
|
|
1862
|
-
}))),
|
|
1894
|
+
}))), qt = V(() => ft.value.map((I) => ({
|
|
1863
1895
|
label: I.label,
|
|
1864
1896
|
id: I.value
|
|
1865
1897
|
}))), Ye = T(Je.activeAppRecordId.value);
|
|
1866
1898
|
ot(() => {
|
|
1867
1899
|
Ye.value = Je.activeAppRecordId.value;
|
|
1868
1900
|
});
|
|
1869
|
-
function
|
|
1870
|
-
|
|
1901
|
+
function Jt(I) {
|
|
1902
|
+
P.value.toggleApp(I).then(() => {
|
|
1871
1903
|
Z.value = "", R();
|
|
1872
1904
|
});
|
|
1873
1905
|
}
|
|
1874
|
-
return (I, b) => (p(),
|
|
1875
|
-
|
|
1906
|
+
return (I, b) => (p(), f("div", nl, [
|
|
1907
|
+
x(c(Ae), {
|
|
1876
1908
|
ref_key: "splitpanesRef",
|
|
1877
1909
|
ref: t,
|
|
1878
1910
|
class: "flex-1 overflow-auto",
|
|
1879
|
-
horizontal:
|
|
1880
|
-
onReady: b[4] || (b[4] = (
|
|
1911
|
+
horizontal: u.value,
|
|
1912
|
+
onReady: b[4] || (b[4] = (O) => s.value = !0)
|
|
1881
1913
|
}, {
|
|
1882
1914
|
default: H(() => [
|
|
1883
|
-
ft.value.length > 1 ? (p(), z(
|
|
1915
|
+
ft.value.length > 1 ? (p(), z(c(ue), {
|
|
1884
1916
|
key: 0,
|
|
1885
1917
|
border: "base h-full",
|
|
1886
1918
|
size: "20"
|
|
1887
1919
|
}, {
|
|
1888
1920
|
default: H(() => [
|
|
1889
|
-
|
|
1890
|
-
|
|
1921
|
+
d("div", ol, [
|
|
1922
|
+
x(Sn, {
|
|
1891
1923
|
modelValue: Ye.value,
|
|
1892
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
1893
|
-
data:
|
|
1924
|
+
"onUpdate:modelValue": b[0] || (b[0] = (O) => Ye.value = O),
|
|
1925
|
+
data: qt.value,
|
|
1894
1926
|
class: "w-full",
|
|
1895
|
-
onSelect:
|
|
1927
|
+
onSelect: Jt
|
|
1896
1928
|
}, null, 8, ["modelValue", "data"])
|
|
1897
1929
|
])
|
|
1898
1930
|
]),
|
|
1899
1931
|
_: 1
|
|
1900
|
-
})) :
|
|
1901
|
-
|
|
1932
|
+
})) : j("", !0),
|
|
1933
|
+
x(c(ue), {
|
|
1902
1934
|
border: "base",
|
|
1903
1935
|
"h-full": ""
|
|
1904
1936
|
}, {
|
|
1905
1937
|
default: H(() => [
|
|
1906
|
-
a.value ? (p(),
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
modelValue:
|
|
1910
|
-
"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),
|
|
1911
1943
|
"loading-debounce-time": 250,
|
|
1912
|
-
loading: !
|
|
1944
|
+
loading: !c(h),
|
|
1913
1945
|
placeholder: "Find components...",
|
|
1914
1946
|
class: "flex-1 text-3.5"
|
|
1915
1947
|
}, null, 8, ["modelValue", "loading"]),
|
|
1916
|
-
|
|
1948
|
+
c(hn) ? j("", !0) : W((p(), f("button", {
|
|
1917
1949
|
key: 0,
|
|
1918
1950
|
"px-1": "",
|
|
1919
1951
|
class: "hover:color-#00dc82",
|
|
1920
|
-
onClick:
|
|
1952
|
+
onClick: ye
|
|
1921
1953
|
}, [
|
|
1922
|
-
(p(),
|
|
1923
|
-
|
|
1954
|
+
(p(), f("svg", al, b[6] || (b[6] = [
|
|
1955
|
+
d("path", {
|
|
1924
1956
|
fill: "currentColor",
|
|
1925
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"
|
|
1926
1958
|
}, null, -1)
|
|
1927
1959
|
])))
|
|
1928
1960
|
])), [
|
|
1929
1961
|
[
|
|
1930
|
-
|
|
1962
|
+
c(q),
|
|
1931
1963
|
"Select component in the page",
|
|
1932
1964
|
void 0,
|
|
1933
1965
|
{ bottom: !0 }
|
|
1934
1966
|
]
|
|
1935
1967
|
])
|
|
1936
1968
|
]),
|
|
1937
|
-
|
|
1969
|
+
d("div", {
|
|
1938
1970
|
ref_key: "componentTreeContainer",
|
|
1939
1971
|
ref: Ee,
|
|
1940
1972
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
1941
1973
|
}, [
|
|
1942
|
-
|
|
1974
|
+
x(Me, {
|
|
1943
1975
|
modelValue: Z.value,
|
|
1944
|
-
"onUpdate:modelValue": b[2] || (b[2] = (
|
|
1976
|
+
"onUpdate:modelValue": b[2] || (b[2] = (O) => Z.value = O),
|
|
1945
1977
|
data: _.value,
|
|
1946
1978
|
"with-tag": !0
|
|
1947
1979
|
}, null, 8, ["modelValue", "data"])
|
|
1948
1980
|
], 512)
|
|
1949
|
-
])) :
|
|
1981
|
+
])) : j("", !0)
|
|
1950
1982
|
]),
|
|
1951
1983
|
_: 1
|
|
1952
1984
|
}),
|
|
1953
|
-
|
|
1985
|
+
x(c(ue), {
|
|
1954
1986
|
relative: "",
|
|
1955
1987
|
"h-full": ""
|
|
1956
1988
|
}, {
|
|
1957
1989
|
default: H(() => {
|
|
1958
|
-
var
|
|
1990
|
+
var O;
|
|
1959
1991
|
return [
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
(
|
|
1963
|
-
b[7] || (b[7] =
|
|
1964
|
-
|
|
1965
|
-
b[8] || (b[8] =
|
|
1966
|
-
])) :
|
|
1967
|
-
|
|
1968
|
-
modelValue:
|
|
1969
|
-
"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),
|
|
1970
2002
|
"loading-debounce-time": 250,
|
|
1971
2003
|
placeholder: "Filter State...",
|
|
1972
2004
|
class: "flex-1 text-3.5"
|
|
1973
2005
|
}, null, 8, ["modelValue"]),
|
|
1974
|
-
|
|
1975
|
-
W(
|
|
2006
|
+
d("div", dl, [
|
|
2007
|
+
W(d("i", {
|
|
1976
2008
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
1977
2009
|
onClick: He
|
|
1978
2010
|
}, null, 512), [
|
|
1979
2011
|
[
|
|
1980
|
-
|
|
2012
|
+
c(q),
|
|
1981
2013
|
"Scroll to component",
|
|
1982
2014
|
void 0,
|
|
1983
2015
|
{ bottom: !0 }
|
|
1984
2016
|
]
|
|
1985
2017
|
]),
|
|
1986
|
-
W(
|
|
2018
|
+
W(d("i", {
|
|
1987
2019
|
class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
|
|
1988
|
-
onClick:
|
|
2020
|
+
onClick: je
|
|
1989
2021
|
}, null, 512), [
|
|
1990
2022
|
[
|
|
1991
|
-
|
|
2023
|
+
c(q),
|
|
1992
2024
|
"Show render code",
|
|
1993
2025
|
void 0,
|
|
1994
2026
|
{ bottom: !0 }
|
|
1995
2027
|
]
|
|
1996
2028
|
]),
|
|
1997
|
-
|
|
2029
|
+
c(xt) ? W((p(), f("i", {
|
|
1998
2030
|
key: 0,
|
|
1999
2031
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
2000
|
-
onClick:
|
|
2032
|
+
onClick: Oe
|
|
2001
2033
|
}, null, 512)), [
|
|
2002
2034
|
[
|
|
2003
|
-
|
|
2035
|
+
c(q),
|
|
2004
2036
|
"Inspect DOM",
|
|
2005
2037
|
void 0,
|
|
2006
2038
|
{ bottom: !0 }
|
|
2007
2039
|
]
|
|
2008
|
-
]) :
|
|
2009
|
-
M.value ? W((p(),
|
|
2040
|
+
]) : j("", !0),
|
|
2041
|
+
M.value ? W((p(), f("i", {
|
|
2010
2042
|
key: 1,
|
|
2011
2043
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
2012
2044
|
onClick: qe
|
|
2013
2045
|
}, null, 512)), [
|
|
2014
2046
|
[
|
|
2015
|
-
|
|
2047
|
+
c(q),
|
|
2016
2048
|
"Open in Editor",
|
|
2017
2049
|
void 0,
|
|
2018
2050
|
{ bottom: !0 }
|
|
2019
2051
|
]
|
|
2020
|
-
]) :
|
|
2052
|
+
]) : j("", !0)
|
|
2021
2053
|
])
|
|
2022
2054
|
]),
|
|
2023
|
-
|
|
2055
|
+
x(Pe, {
|
|
2024
2056
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
2025
2057
|
data: w.value,
|
|
2026
2058
|
"node-id": Z.value,
|
|
@@ -2028,11 +2060,11 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2028
2060
|
"expanded-state-id": "component-state"
|
|
2029
2061
|
}, null, 8, ["data", "node-id"])
|
|
2030
2062
|
]),
|
|
2031
|
-
A.value && E.value ? (p(), z(
|
|
2063
|
+
A.value && E.value ? (p(), z(tl, {
|
|
2032
2064
|
key: 0,
|
|
2033
2065
|
code: E.value,
|
|
2034
|
-
onClose:
|
|
2035
|
-
}, null, 8, ["code"])) :
|
|
2066
|
+
onClose: Wt
|
|
2067
|
+
}, null, 8, ["code"])) : j("", !0)
|
|
2036
2068
|
];
|
|
2037
2069
|
}),
|
|
2038
2070
|
_: 1
|
|
@@ -2040,58 +2072,58 @@ const Zo = ["onClick", "onDblclick"], Fo = {
|
|
|
2040
2072
|
]),
|
|
2041
2073
|
_: 1
|
|
2042
2074
|
}, 8, ["horizontal"]),
|
|
2043
|
-
|
|
2075
|
+
c(xt) ? (p(), z(c(an), {
|
|
2044
2076
|
key: 0,
|
|
2045
2077
|
modelValue: m.value,
|
|
2046
|
-
"onUpdate:modelValue": b[5] || (b[5] = (
|
|
2078
|
+
"onUpdate:modelValue": b[5] || (b[5] = (O) => m.value = O),
|
|
2047
2079
|
title: "",
|
|
2048
2080
|
height: "12rem",
|
|
2049
2081
|
closable: !1
|
|
2050
2082
|
}, {
|
|
2051
2083
|
footer: H(() => [
|
|
2052
|
-
|
|
2053
|
-
|
|
2084
|
+
d("div", ml, [
|
|
2085
|
+
x(c(de), { onClick: Le }, {
|
|
2054
2086
|
default: H(() => b[11] || (b[11] = [
|
|
2055
|
-
|
|
2087
|
+
Y(" Cancel ")
|
|
2056
2088
|
])),
|
|
2057
2089
|
_: 1
|
|
2058
2090
|
})
|
|
2059
2091
|
])
|
|
2060
2092
|
]),
|
|
2061
2093
|
default: H(() => [
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
(p(),
|
|
2065
|
-
|
|
2094
|
+
d("div", pl, [
|
|
2095
|
+
d("span", fl, [
|
|
2096
|
+
(p(), f("svg", vl, b[9] || (b[9] = [
|
|
2097
|
+
d("g", {
|
|
2066
2098
|
fill: "none",
|
|
2067
2099
|
stroke: "currentColor",
|
|
2068
2100
|
"stroke-linecap": "round",
|
|
2069
2101
|
"stroke-linejoin": "round",
|
|
2070
2102
|
"stroke-width": "2"
|
|
2071
2103
|
}, [
|
|
2072
|
-
|
|
2104
|
+
d("circle", {
|
|
2073
2105
|
cx: "12",
|
|
2074
2106
|
cy: "12",
|
|
2075
2107
|
r: ".5",
|
|
2076
2108
|
fill: "currentColor"
|
|
2077
2109
|
}),
|
|
2078
|
-
|
|
2110
|
+
d("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2079
2111
|
], -1)
|
|
2080
2112
|
])))
|
|
2081
2113
|
]),
|
|
2082
|
-
b[10] || (b[10] =
|
|
2114
|
+
b[10] || (b[10] = d("p", null, " Click on a component on the page to select it ", -1))
|
|
2083
2115
|
])
|
|
2084
2116
|
]),
|
|
2085
2117
|
_: 1
|
|
2086
|
-
}, 8, ["modelValue"])) :
|
|
2118
|
+
}, 8, ["modelValue"])) : j("", !0)
|
|
2087
2119
|
]));
|
|
2088
2120
|
}
|
|
2089
|
-
}),
|
|
2090
|
-
function
|
|
2091
|
-
return p(),
|
|
2092
|
-
e[0] || (e[0] =
|
|
2093
|
-
|
|
2094
|
-
|
|
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", {
|
|
2095
2127
|
class: "i-logos-vue inline-block h8! w8!",
|
|
2096
2128
|
alt: "Vue logo"
|
|
2097
2129
|
})
|
|
@@ -2100,11 +2132,11 @@ function gl(n, e) {
|
|
|
2100
2132
|
tt(n.$slots, "default", {}, void 0, !0)
|
|
2101
2133
|
]);
|
|
2102
2134
|
}
|
|
2103
|
-
const
|
|
2135
|
+
const yl = /* @__PURE__ */ Ce(gl, [["render", _l], ["__scopeId", "data-v-b8018f07"]]), Zt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
2104
2136
|
function Te() {
|
|
2105
|
-
return ve(
|
|
2137
|
+
return ve(Zt);
|
|
2106
2138
|
}
|
|
2107
|
-
function
|
|
2139
|
+
function Ft() {
|
|
2108
2140
|
const n = T({
|
|
2109
2141
|
homepage: "",
|
|
2110
2142
|
id: "",
|
|
@@ -2112,149 +2144,149 @@ function Zt() {
|
|
|
2112
2144
|
logo: "",
|
|
2113
2145
|
timelineLayerIds: []
|
|
2114
2146
|
});
|
|
2115
|
-
return ge(
|
|
2147
|
+
return ge(Zt, n), n;
|
|
2116
2148
|
}
|
|
2117
|
-
const
|
|
2149
|
+
const xl = {}, bl = {
|
|
2118
2150
|
width: "175",
|
|
2119
2151
|
height: "34",
|
|
2120
2152
|
viewBox: "0 0 175 34",
|
|
2121
2153
|
fill: "none",
|
|
2122
2154
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2123
2155
|
};
|
|
2124
|
-
function
|
|
2125
|
-
return p(),
|
|
2126
|
-
|
|
2156
|
+
function wl(n, e) {
|
|
2157
|
+
return p(), f("svg", bl, e[0] || (e[0] = [
|
|
2158
|
+
d("path", {
|
|
2127
2159
|
fill: "currentColor",
|
|
2128
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"
|
|
2129
2161
|
}, null, -1)
|
|
2130
2162
|
]));
|
|
2131
2163
|
}
|
|
2132
|
-
const
|
|
2164
|
+
const kl = /* @__PURE__ */ Ce(xl, [["render", wl]]), Il = {
|
|
2133
2165
|
"h-full": "",
|
|
2134
2166
|
"w-full": "",
|
|
2135
2167
|
flex: "",
|
|
2136
2168
|
"items-center": ""
|
|
2137
|
-
},
|
|
2169
|
+
}, $l = {
|
|
2138
2170
|
flex: "~ col gap2",
|
|
2139
2171
|
ma: "",
|
|
2140
2172
|
"px-5": ""
|
|
2141
|
-
},
|
|
2173
|
+
}, Sl = {
|
|
2142
2174
|
flex: "~ col",
|
|
2143
2175
|
"mt-20": "",
|
|
2144
2176
|
"items-center": ""
|
|
2145
|
-
},
|
|
2177
|
+
}, Tl = {
|
|
2146
2178
|
flex: "~",
|
|
2147
2179
|
"mt--10": "",
|
|
2148
2180
|
"items-center": "",
|
|
2149
2181
|
"justify-center": ""
|
|
2150
|
-
},
|
|
2182
|
+
}, El = { class: "mr-1" }, Vl = {
|
|
2151
2183
|
key: 0,
|
|
2152
2184
|
class: "inline-block w20"
|
|
2153
|
-
},
|
|
2185
|
+
}, Nl = ["src", "alt"], Rl = {
|
|
2154
2186
|
key: 1,
|
|
2155
2187
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2156
|
-
},
|
|
2188
|
+
}, Al = {
|
|
2157
2189
|
mb6: "",
|
|
2158
2190
|
"mt--1": "",
|
|
2159
2191
|
"text-center": "",
|
|
2160
2192
|
"text-sm": "",
|
|
2161
2193
|
flex: "~ gap-1"
|
|
2162
|
-
},
|
|
2194
|
+
}, Dl = { op40: "" }, Pl = { flex: "~ gap2 wrap" }, Ml = {
|
|
2163
2195
|
flex: "~ gap-6 wrap",
|
|
2164
2196
|
"mt-5": "",
|
|
2165
2197
|
"items-center": "",
|
|
2166
2198
|
"justify-center": ""
|
|
2167
|
-
},
|
|
2199
|
+
}, Ll = ["href"], Hl = /* @__PURE__ */ B({
|
|
2168
2200
|
__name: "About",
|
|
2169
2201
|
setup(n) {
|
|
2170
2202
|
const e = De(), o = Te(), t = T(!1), s = T(!1);
|
|
2171
2203
|
function l() {
|
|
2172
2204
|
t.value = !0;
|
|
2173
2205
|
}
|
|
2174
|
-
function
|
|
2206
|
+
function u() {
|
|
2175
2207
|
t.value = !0, s.value = !0;
|
|
2176
2208
|
}
|
|
2177
|
-
return (
|
|
2209
|
+
return (i, r) => {
|
|
2178
2210
|
var h;
|
|
2179
|
-
return p(),
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
t.value ?
|
|
2186
|
-
W(
|
|
2187
|
-
src:
|
|
2188
|
-
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`,
|
|
2189
2221
|
class: "inline-block h16",
|
|
2190
|
-
onError:
|
|
2222
|
+
onError: u,
|
|
2191
2223
|
onLoad: l
|
|
2192
|
-
}, null, 40,
|
|
2193
|
-
[
|
|
2224
|
+
}, null, 40, Nl), [
|
|
2225
|
+
[nn, t.value && !s.value]
|
|
2194
2226
|
]),
|
|
2195
|
-
s.value ? (p(),
|
|
2227
|
+
s.value ? (p(), f("span", Rl, le(c(o).label), 1)) : j("", !0)
|
|
2196
2228
|
]),
|
|
2197
|
-
|
|
2198
|
-
|
|
2229
|
+
d("span", null, [
|
|
2230
|
+
x(kl, { "h-18": "" })
|
|
2199
2231
|
])
|
|
2200
2232
|
]),
|
|
2201
|
-
|
|
2202
|
-
|
|
2233
|
+
d("div", Al, [
|
|
2234
|
+
d("span", Dl, le(c(o).label) + " DevTools ", 1)
|
|
2203
2235
|
])
|
|
2204
2236
|
]),
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2237
|
+
r[6] || (r[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2238
|
+
d("div", Pl, [
|
|
2239
|
+
d("div", {
|
|
2208
2240
|
flex: "~ col auto",
|
|
2209
2241
|
"min-w-40": "",
|
|
2210
2242
|
p4: "",
|
|
2211
2243
|
"theme-card-lime": "",
|
|
2212
|
-
onClick:
|
|
2213
|
-
},
|
|
2214
|
-
|
|
2244
|
+
onClick: r[0] || (r[0] = (v) => c(e).push("/state"))
|
|
2245
|
+
}, r[2] || (r[2] = [
|
|
2246
|
+
d("div", {
|
|
2215
2247
|
"i-carbon-tree-view-alt": "",
|
|
2216
2248
|
"text-3xl": ""
|
|
2217
2249
|
}, null, -1),
|
|
2218
|
-
|
|
2250
|
+
d("code", null, "State", -1)
|
|
2219
2251
|
])),
|
|
2220
|
-
(h =
|
|
2252
|
+
(h = c(o).timelineLayerIds) != null && h.length ? (p(), f("div", {
|
|
2221
2253
|
key: 0,
|
|
2222
2254
|
flex: "~ col auto",
|
|
2223
2255
|
"min-w-40": "",
|
|
2224
2256
|
p4: "",
|
|
2225
2257
|
"theme-card-lime": "",
|
|
2226
|
-
onClick:
|
|
2227
|
-
},
|
|
2228
|
-
|
|
2258
|
+
onClick: r[1] || (r[1] = (v) => c(e).push("/timeline"))
|
|
2259
|
+
}, r[3] || (r[3] = [
|
|
2260
|
+
d("div", {
|
|
2229
2261
|
"i-mdi:timeline-clock-outline": "",
|
|
2230
2262
|
"text-3xl": ""
|
|
2231
2263
|
}, null, -1),
|
|
2232
|
-
|
|
2233
|
-
]))) :
|
|
2264
|
+
d("div", null, "Timeline", -1)
|
|
2265
|
+
]))) : j("", !0)
|
|
2234
2266
|
]),
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
href:
|
|
2267
|
+
d("div", Ml, [
|
|
2268
|
+
d("a", {
|
|
2269
|
+
href: c(o).homepage,
|
|
2238
2270
|
target: "_blank",
|
|
2239
2271
|
flex: "~ gap1",
|
|
2240
2272
|
"items-center": "",
|
|
2241
2273
|
op50: "",
|
|
2242
2274
|
hover: "op100 text-yellow",
|
|
2243
2275
|
transition: ""
|
|
2244
|
-
},
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
]), 8,
|
|
2276
|
+
}, r[4] || (r[4] = [
|
|
2277
|
+
d("div", { "i-carbon-document": "" }, null, -1),
|
|
2278
|
+
Y(" View Documentation ")
|
|
2279
|
+
]), 8, Ll)
|
|
2248
2280
|
]),
|
|
2249
|
-
|
|
2281
|
+
r[7] || (r[7] = d("div", { "flex-auto": "" }, null, -1))
|
|
2250
2282
|
])
|
|
2251
2283
|
]);
|
|
2252
2284
|
};
|
|
2253
2285
|
}
|
|
2254
|
-
}),
|
|
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 = {
|
|
2255
2287
|
key: 0,
|
|
2256
2288
|
class: "flex justify-start"
|
|
2257
|
-
},
|
|
2289
|
+
}, Bl = { key: 1 }, Gt = /* @__PURE__ */ B({
|
|
2258
2290
|
__name: "Settings",
|
|
2259
2291
|
props: {
|
|
2260
2292
|
pluginId: {},
|
|
@@ -2264,211 +2296,211 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2264
2296
|
emits: ["update"],
|
|
2265
2297
|
setup(n, { emit: e }) {
|
|
2266
2298
|
const o = n, t = e, s = V(() => o.options), l = V(() => o.values);
|
|
2267
|
-
function i
|
|
2268
|
-
|
|
2299
|
+
function u(i, r) {
|
|
2300
|
+
P.value.updatePluginSettings(o.pluginId, i, r), P.value.getPluginSettings(o.pluginId).then((h) => {
|
|
2269
2301
|
t("update", h);
|
|
2270
2302
|
});
|
|
2271
2303
|
}
|
|
2272
|
-
return (
|
|
2273
|
-
|
|
2274
|
-
(p(!0),
|
|
2275
|
-
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,
|
|
2276
2308
|
class: "flex items-center py-2"
|
|
2277
2309
|
}, [
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
h.type === "boolean" ? (p(),
|
|
2281
|
-
|
|
2282
|
-
"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],
|
|
2283
2315
|
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
2284
|
-
"onUpdate:modelValue": (a) =>
|
|
2316
|
+
"onUpdate:modelValue": (a) => u(v, a)
|
|
2285
2317
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2286
|
-
])) : h.type === "choice" ? (p(),
|
|
2287
|
-
|
|
2288
|
-
"model-value": l.value[
|
|
2318
|
+
])) : h.type === "choice" ? (p(), f("div", Bl, [
|
|
2319
|
+
x(c(un), {
|
|
2320
|
+
"model-value": l.value[v],
|
|
2289
2321
|
options: h.options,
|
|
2290
|
-
"onUpdate:modelValue": (a) =>
|
|
2322
|
+
"onUpdate:modelValue": (a) => u(v, a)
|
|
2291
2323
|
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
2292
|
-
])) : h.type === "text" ? (p(), z(
|
|
2324
|
+
])) : h.type === "text" ? (p(), z(c(Ze), {
|
|
2293
2325
|
key: 2,
|
|
2294
|
-
"model-value": l.value[
|
|
2295
|
-
"onUpdate:modelValue": (a) =>
|
|
2296
|
-
}, 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)
|
|
2297
2329
|
])
|
|
2298
2330
|
]))), 128))
|
|
2299
2331
|
])
|
|
2300
2332
|
]));
|
|
2301
2333
|
}
|
|
2302
|
-
}),
|
|
2334
|
+
}), Zl = { class: "h-full flex flex-col" }, Fl = /* @__PURE__ */ B({
|
|
2303
2335
|
__name: "Settings",
|
|
2304
2336
|
setup(n) {
|
|
2305
2337
|
const e = ve("pluginSettings"), o = Te(), t = V(() => e.value.options), s = V(() => e.value.values);
|
|
2306
|
-
function l(
|
|
2307
|
-
e.value =
|
|
2338
|
+
function l(u) {
|
|
2339
|
+
e.value = u;
|
|
2308
2340
|
}
|
|
2309
|
-
return (
|
|
2310
|
-
|
|
2311
|
-
"doc-link":
|
|
2341
|
+
return (u, i) => (p(), f("div", Zl, [
|
|
2342
|
+
x($e, {
|
|
2343
|
+
"doc-link": c(o).homepage
|
|
2312
2344
|
}, {
|
|
2313
2345
|
default: H(() => [
|
|
2314
|
-
|
|
2346
|
+
x(Se)
|
|
2315
2347
|
]),
|
|
2316
2348
|
_: 1
|
|
2317
2349
|
}, 8, ["doc-link"]),
|
|
2318
|
-
|
|
2319
|
-
"plugin-id":
|
|
2350
|
+
x(Gt, {
|
|
2351
|
+
"plugin-id": c(o).pluginId,
|
|
2320
2352
|
options: t.value,
|
|
2321
2353
|
values: s.value,
|
|
2322
2354
|
onUpdate: l
|
|
2323
2355
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2324
2356
|
]));
|
|
2325
2357
|
}
|
|
2326
|
-
}),
|
|
2358
|
+
}), Gl = { class: "h-full flex flex-col" }, Kl = { class: "h-full flex flex-col p2" }, Wl = {
|
|
2327
2359
|
key: 0,
|
|
2328
2360
|
class: "mb-1 flex justify-end pb-1",
|
|
2329
2361
|
border: "b dashed base"
|
|
2330
|
-
},
|
|
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 = {
|
|
2331
2363
|
key: 0,
|
|
2332
2364
|
class: "mb-1 flex justify-end pb-1",
|
|
2333
2365
|
border: "b dashed base"
|
|
2334
|
-
},
|
|
2366
|
+
}, e1 = { class: "flex items-center gap-2 px-1" }, t1 = ["onClick"], n1 = /* @__PURE__ */ B({
|
|
2335
2367
|
__name: "Index",
|
|
2336
2368
|
setup(n) {
|
|
2337
|
-
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(() => {
|
|
2338
2370
|
var w, k;
|
|
2339
|
-
return (w =
|
|
2340
|
-
}), h = V(() => $(
|
|
2341
|
-
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 = []) {
|
|
2342
2374
|
var R;
|
|
2343
|
-
return k.push(w.id), ((R = w.children) == null ? void 0 : R.length) === 0 &&
|
|
2344
|
-
A(F, k,
|
|
2345
|
-
}), 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;
|
|
2346
2378
|
}
|
|
2347
2379
|
function g(w, k) {
|
|
2348
|
-
const
|
|
2380
|
+
const y = [];
|
|
2349
2381
|
return w == null || w.forEach((R) => {
|
|
2350
|
-
|
|
2351
|
-
}), [...new Set(
|
|
2382
|
+
y.push(...R.slice(0, k + 1));
|
|
2383
|
+
}), [...new Set(y)];
|
|
2352
2384
|
}
|
|
2353
2385
|
function $(w) {
|
|
2354
|
-
const k = [],
|
|
2386
|
+
const k = [], y = (R) => {
|
|
2355
2387
|
R == null || R.forEach((F) => {
|
|
2356
|
-
var
|
|
2357
|
-
k.push(F), (
|
|
2388
|
+
var ae;
|
|
2389
|
+
k.push(F), (ae = F.children) != null && ae.length && y(F.children);
|
|
2358
2390
|
});
|
|
2359
2391
|
};
|
|
2360
|
-
return
|
|
2392
|
+
return y(w), k;
|
|
2361
2393
|
}
|
|
2362
|
-
function
|
|
2363
|
-
|
|
2394
|
+
function U() {
|
|
2395
|
+
P.value.getInspectorNodeActions(s.value).then((w) => {
|
|
2364
2396
|
l.value = w;
|
|
2365
2397
|
});
|
|
2366
2398
|
}
|
|
2367
|
-
function
|
|
2368
|
-
|
|
2369
|
-
|
|
2399
|
+
function D() {
|
|
2400
|
+
P.value.getInspectorActions(s.value).then((w) => {
|
|
2401
|
+
u.value = w;
|
|
2370
2402
|
});
|
|
2371
2403
|
}
|
|
2372
|
-
|
|
2404
|
+
U(), D();
|
|
2373
2405
|
function _(w) {
|
|
2374
|
-
|
|
2406
|
+
P.value.callInspectorNodeAction(s.value, w, a.value);
|
|
2375
2407
|
}
|
|
2376
2408
|
function C(w) {
|
|
2377
|
-
|
|
2409
|
+
P.value.callInspectorAction(s.value, w);
|
|
2378
2410
|
}
|
|
2379
2411
|
function S(w) {
|
|
2380
2412
|
var k;
|
|
2381
|
-
for (const
|
|
2382
|
-
(k = w[
|
|
2413
|
+
for (const y in w)
|
|
2414
|
+
(k = w[y]) != null && k.length || delete w[y];
|
|
2383
2415
|
return w;
|
|
2384
2416
|
}
|
|
2385
2417
|
function L(w) {
|
|
2386
|
-
|
|
2387
|
-
const
|
|
2388
|
-
|
|
2418
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
|
|
2419
|
+
const y = Q(k);
|
|
2420
|
+
y && (m.value = S(y), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
|
|
2389
2421
|
});
|
|
2390
2422
|
}
|
|
2391
2423
|
function K() {
|
|
2392
2424
|
m.value = {};
|
|
2393
2425
|
}
|
|
2394
|
-
|
|
2426
|
+
ee(a, () => {
|
|
2395
2427
|
K(), L(a.value);
|
|
2396
2428
|
});
|
|
2397
2429
|
const Z = () => {
|
|
2398
|
-
|
|
2399
|
-
const k =
|
|
2400
|
-
|
|
2430
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
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));
|
|
2401
2433
|
});
|
|
2402
2434
|
};
|
|
2403
2435
|
jt(s).toBeTruthy().then(Z);
|
|
2404
2436
|
function N(w) {
|
|
2405
|
-
var
|
|
2406
|
-
const k =
|
|
2407
|
-
!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)));
|
|
2408
2440
|
}
|
|
2409
2441
|
function M(w) {
|
|
2410
|
-
const k =
|
|
2442
|
+
const k = Q(w);
|
|
2411
2443
|
if (k.inspectorId !== s.value || !k.state || k.nodeId !== a.value)
|
|
2412
2444
|
return;
|
|
2413
|
-
const { inspectorId:
|
|
2445
|
+
const { inspectorId: y, ...R } = k.state;
|
|
2414
2446
|
m.value = S(R);
|
|
2415
2447
|
}
|
|
2416
2448
|
return Re(() => {
|
|
2417
|
-
|
|
2449
|
+
P.functions.on(J.INSPECTOR_TREE_UPDATED, N), P.functions.on(J.INSPECTOR_STATE_UPDATED, M);
|
|
2418
2450
|
}), be(() => {
|
|
2419
|
-
|
|
2420
|
-
}), (w, k) => (p(),
|
|
2421
|
-
|
|
2422
|
-
"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
|
|
2423
2455
|
}, {
|
|
2424
2456
|
default: H(() => [
|
|
2425
|
-
|
|
2457
|
+
x(Se)
|
|
2426
2458
|
]),
|
|
2427
2459
|
_: 1
|
|
2428
2460
|
}, 8, ["doc-link"]),
|
|
2429
|
-
|
|
2461
|
+
i.value.length ? (p(), z(c(Ae), {
|
|
2430
2462
|
key: 0,
|
|
2431
2463
|
class: "flex-1 overflow-auto"
|
|
2432
2464
|
}, {
|
|
2433
2465
|
default: H(() => [
|
|
2434
|
-
|
|
2466
|
+
x(c(ue), {
|
|
2435
2467
|
border: "r base",
|
|
2436
2468
|
size: "40",
|
|
2437
2469
|
"h-full": ""
|
|
2438
2470
|
}, {
|
|
2439
2471
|
default: H(() => {
|
|
2440
|
-
var
|
|
2472
|
+
var y;
|
|
2441
2473
|
return [
|
|
2442
|
-
|
|
2443
|
-
(
|
|
2444
|
-
|
|
2445
|
-
(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", {
|
|
2446
2478
|
key: F,
|
|
2447
2479
|
class: "flex items-center gap1",
|
|
2448
|
-
onClick: (
|
|
2480
|
+
onClick: (ae) => C(F)
|
|
2449
2481
|
}, [
|
|
2450
|
-
|
|
2482
|
+
x(c(Fe), {
|
|
2451
2483
|
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2452
2484
|
"cursor-pointer": "",
|
|
2453
2485
|
op70: "",
|
|
2454
2486
|
"text-base": "",
|
|
2455
2487
|
"hover:op100": ""
|
|
2456
2488
|
}, null, 8, ["name"])
|
|
2457
|
-
], 8,
|
|
2489
|
+
], 8, Jl)), [
|
|
2458
2490
|
[
|
|
2459
|
-
|
|
2491
|
+
c(q),
|
|
2460
2492
|
{ content: R.tooltip },
|
|
2461
2493
|
void 0,
|
|
2462
2494
|
{ "bottom-end": !0 }
|
|
2463
2495
|
]
|
|
2464
2496
|
])), 128))
|
|
2465
2497
|
])
|
|
2466
|
-
])) :
|
|
2467
|
-
|
|
2468
|
-
|
|
2498
|
+
])) : j("", !0),
|
|
2499
|
+
d("div", Yl, [
|
|
2500
|
+
x(Me, {
|
|
2469
2501
|
modelValue: a.value,
|
|
2470
2502
|
"onUpdate:modelValue": k[0] || (k[0] = (R) => a.value = R),
|
|
2471
|
-
data:
|
|
2503
|
+
data: i.value
|
|
2472
2504
|
}, null, 8, ["modelValue", "data"])
|
|
2473
2505
|
])
|
|
2474
2506
|
])
|
|
@@ -2476,35 +2508,35 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2476
2508
|
}),
|
|
2477
2509
|
_: 1
|
|
2478
2510
|
}),
|
|
2479
|
-
|
|
2511
|
+
x(c(ue), { size: "60" }, {
|
|
2480
2512
|
default: H(() => {
|
|
2481
|
-
var
|
|
2513
|
+
var y;
|
|
2482
2514
|
return [
|
|
2483
|
-
|
|
2484
|
-
(
|
|
2485
|
-
|
|
2486
|
-
(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", {
|
|
2487
2519
|
key: F,
|
|
2488
2520
|
class: "flex items-center gap1",
|
|
2489
|
-
onClick: (
|
|
2521
|
+
onClick: (ae) => _(F)
|
|
2490
2522
|
}, [
|
|
2491
|
-
|
|
2523
|
+
x(c(Fe), {
|
|
2492
2524
|
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2493
2525
|
"cursor-pointer": "",
|
|
2494
2526
|
op70: "",
|
|
2495
2527
|
"text-base": "",
|
|
2496
2528
|
"hover:op100": ""
|
|
2497
2529
|
}, null, 8, ["name"])
|
|
2498
|
-
], 8,
|
|
2530
|
+
], 8, t1)), [
|
|
2499
2531
|
[
|
|
2500
|
-
|
|
2532
|
+
c(q),
|
|
2501
2533
|
{ content: R.tooltip },
|
|
2502
2534
|
void 0,
|
|
2503
2535
|
{ "bottom-end": !0 }
|
|
2504
2536
|
]
|
|
2505
2537
|
])), 128))
|
|
2506
2538
|
])
|
|
2507
|
-
])) :
|
|
2539
|
+
])) : j("", !0),
|
|
2508
2540
|
a.value && !E.value ? (p(), z(Pe, {
|
|
2509
2541
|
key: 1,
|
|
2510
2542
|
data: m.value,
|
|
@@ -2514,7 +2546,7 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2514
2546
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2515
2547
|
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2516
2548
|
default: H(() => k[1] || (k[1] = [
|
|
2517
|
-
|
|
2549
|
+
Y(" No Data ")
|
|
2518
2550
|
])),
|
|
2519
2551
|
_: 1
|
|
2520
2552
|
}))
|
|
@@ -2527,26 +2559,26 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2527
2559
|
_: 1
|
|
2528
2560
|
})) : (p(), z(Ne, { key: 1 }, {
|
|
2529
2561
|
default: H(() => k[2] || (k[2] = [
|
|
2530
|
-
|
|
2562
|
+
Y(" No Data ")
|
|
2531
2563
|
])),
|
|
2532
2564
|
_: 1
|
|
2533
2565
|
}))
|
|
2534
2566
|
]));
|
|
2535
2567
|
}
|
|
2536
|
-
}),
|
|
2568
|
+
}), o1 = /* @__PURE__ */ B({
|
|
2537
2569
|
__name: "Index",
|
|
2538
2570
|
setup(n) {
|
|
2539
2571
|
const e = Te();
|
|
2540
2572
|
return (o, t) => (p(), z(pt, {
|
|
2541
|
-
"layer-ids":
|
|
2542
|
-
"doc-link":
|
|
2543
|
-
"plugin-id":
|
|
2573
|
+
"layer-ids": c(e).timelineLayerIds,
|
|
2574
|
+
"doc-link": c(e).homepage,
|
|
2575
|
+
"plugin-id": c(e).pluginId
|
|
2544
2576
|
}, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
|
|
2545
2577
|
}
|
|
2546
|
-
}),
|
|
2578
|
+
}), l1 = {
|
|
2547
2579
|
"h-full": "",
|
|
2548
2580
|
"w-full": ""
|
|
2549
|
-
},
|
|
2581
|
+
}, s1 = { key: 0 }, as = /* @__PURE__ */ B({
|
|
2550
2582
|
__name: "index",
|
|
2551
2583
|
props: {
|
|
2552
2584
|
id: {},
|
|
@@ -2554,41 +2586,41 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2554
2586
|
},
|
|
2555
2587
|
emits: ["loadError"],
|
|
2556
2588
|
setup(n, { emit: e }) {
|
|
2557
|
-
const o = n, t = e, s =
|
|
2558
|
-
ge("pluginSettings",
|
|
2559
|
-
const
|
|
2589
|
+
const o = n, t = e, s = Ft(), l = T(!1), u = T(null);
|
|
2590
|
+
ge("pluginSettings", u);
|
|
2591
|
+
const i = V(() => {
|
|
2560
2592
|
var a;
|
|
2561
2593
|
return [
|
|
2562
2594
|
{
|
|
2563
2595
|
path: "/state",
|
|
2564
2596
|
name: "State",
|
|
2565
|
-
component:
|
|
2597
|
+
component: n1,
|
|
2566
2598
|
icon: "i-carbon-tree-view-alt"
|
|
2567
2599
|
},
|
|
2568
2600
|
((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
2569
2601
|
path: "/timeline",
|
|
2570
2602
|
name: "Timeline",
|
|
2571
|
-
component:
|
|
2603
|
+
component: o1,
|
|
2572
2604
|
icon: "i-mdi:timeline-clock-outline"
|
|
2573
2605
|
},
|
|
2574
2606
|
{
|
|
2575
2607
|
path: "/about",
|
|
2576
2608
|
name: "About",
|
|
2577
|
-
component:
|
|
2609
|
+
component: Hl
|
|
2578
2610
|
},
|
|
2579
|
-
|
|
2611
|
+
u.value && {
|
|
2580
2612
|
path: "/settings",
|
|
2581
2613
|
name: "Settings",
|
|
2582
|
-
component:
|
|
2614
|
+
component: Fl,
|
|
2583
2615
|
icon: "i-mdi:cog-outline"
|
|
2584
2616
|
}
|
|
2585
2617
|
].filter(Boolean);
|
|
2586
|
-
}), { VirtualRouterView:
|
|
2618
|
+
}), { VirtualRouterView: r, restoreRouter: h } = st(i, {
|
|
2587
2619
|
defaultRoutePath: "/state"
|
|
2588
2620
|
});
|
|
2589
|
-
function
|
|
2621
|
+
function v() {
|
|
2590
2622
|
l.value = !0, Re(() => {
|
|
2591
|
-
|
|
2623
|
+
P.value.getInspectorInfo(o.id).then((a) => {
|
|
2592
2624
|
if (!a) {
|
|
2593
2625
|
t("loadError");
|
|
2594
2626
|
return;
|
|
@@ -2602,108 +2634,108 @@ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
|
2602
2634
|
pluginId: o.pluginId
|
|
2603
2635
|
};
|
|
2604
2636
|
s.value = m, h(), l.value = !1;
|
|
2605
|
-
}),
|
|
2606
|
-
a.options ?
|
|
2637
|
+
}), P.value.getPluginSettings(o.pluginId).then((a) => {
|
|
2638
|
+
a.options ? u.value = a : u.value = null;
|
|
2607
2639
|
});
|
|
2608
2640
|
});
|
|
2609
2641
|
}
|
|
2610
|
-
return
|
|
2611
|
-
|
|
2642
|
+
return ee(() => o.id, () => {
|
|
2643
|
+
v();
|
|
2612
2644
|
}, {
|
|
2613
2645
|
immediate: !0
|
|
2614
2646
|
}), be(() => {
|
|
2615
|
-
|
|
2616
|
-
}), (a, m) => (p(),
|
|
2617
|
-
l.value ? (p(),
|
|
2618
|
-
|
|
2619
|
-
])) : (p(), z(
|
|
2647
|
+
P.value.unhighlight();
|
|
2648
|
+
}), (a, m) => (p(), f("div", l1, [
|
|
2649
|
+
l.value ? (p(), f("div", s1, [
|
|
2650
|
+
x(yl)
|
|
2651
|
+
])) : (p(), z(c(r), { key: 1 }))
|
|
2620
2652
|
]));
|
|
2621
2653
|
}
|
|
2622
|
-
}),
|
|
2654
|
+
}), a1 = {}, i1 = {
|
|
2623
2655
|
viewBox: "0 0 566 154",
|
|
2624
2656
|
fill: "none",
|
|
2625
2657
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2626
2658
|
};
|
|
2627
|
-
function
|
|
2628
|
-
return p(),
|
|
2629
|
-
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)
|
|
2630
2662
|
]));
|
|
2631
2663
|
}
|
|
2632
|
-
const
|
|
2664
|
+
const u1 = /* @__PURE__ */ Ce(a1, [["render", r1]]), c1 = {
|
|
2633
2665
|
"h-full": "",
|
|
2634
2666
|
"w-full": "",
|
|
2635
2667
|
flex: "",
|
|
2636
2668
|
"items-center": ""
|
|
2637
|
-
},
|
|
2669
|
+
}, d1 = {
|
|
2638
2670
|
flex: "~ col gap2",
|
|
2639
2671
|
ma: "",
|
|
2640
2672
|
"px-5": ""
|
|
2641
|
-
},
|
|
2673
|
+
}, p1 = {
|
|
2642
2674
|
flex: "~ col",
|
|
2643
2675
|
"mt-20": "",
|
|
2644
2676
|
"items-center": ""
|
|
2645
|
-
},
|
|
2677
|
+
}, f1 = {
|
|
2646
2678
|
flex: "~",
|
|
2647
2679
|
"mt--10": "",
|
|
2648
2680
|
"items-center": "",
|
|
2649
2681
|
"justify-center": ""
|
|
2650
|
-
},
|
|
2682
|
+
}, v1 = { flex: "~ gap2 wrap" }, m1 = /* @__PURE__ */ B({
|
|
2651
2683
|
__name: "About",
|
|
2652
2684
|
setup(n) {
|
|
2653
2685
|
const e = De();
|
|
2654
|
-
return (o, t) => (p(),
|
|
2655
|
-
|
|
2656
|
-
t[5] || (t[5] =
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
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": "" })
|
|
2660
2692
|
]),
|
|
2661
|
-
t[2] || (t[2] =
|
|
2693
|
+
t[2] || (t[2] = d("div", {
|
|
2662
2694
|
mb6: "",
|
|
2663
2695
|
"mt--1": "",
|
|
2664
2696
|
"text-center": "",
|
|
2665
2697
|
"text-sm": "",
|
|
2666
2698
|
flex: "~ gap-1"
|
|
2667
2699
|
}, [
|
|
2668
|
-
|
|
2700
|
+
d("span", { op40: "" }, " Pinia DevTools ")
|
|
2669
2701
|
], -1))
|
|
2670
2702
|
]),
|
|
2671
|
-
t[6] || (t[6] =
|
|
2672
|
-
|
|
2673
|
-
|
|
2703
|
+
t[6] || (t[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
2704
|
+
d("div", v1, [
|
|
2705
|
+
d("div", {
|
|
2674
2706
|
flex: "~ col auto",
|
|
2675
2707
|
"min-w-40": "",
|
|
2676
2708
|
p4: "",
|
|
2677
2709
|
"theme-card-lime": "",
|
|
2678
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
2710
|
+
onClick: t[0] || (t[0] = (s) => c(e).push("/store"))
|
|
2679
2711
|
}, t[3] || (t[3] = [
|
|
2680
|
-
|
|
2712
|
+
d("div", {
|
|
2681
2713
|
"i-carbon-tree-view-alt": "",
|
|
2682
2714
|
"text-3xl": ""
|
|
2683
2715
|
}, null, -1),
|
|
2684
|
-
|
|
2716
|
+
d("code", null, "Store", -1)
|
|
2685
2717
|
])),
|
|
2686
|
-
|
|
2718
|
+
d("div", {
|
|
2687
2719
|
flex: "~ col auto",
|
|
2688
2720
|
"min-w-40": "",
|
|
2689
2721
|
p4: "",
|
|
2690
2722
|
"theme-card-lime": "",
|
|
2691
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
2723
|
+
onClick: t[1] || (t[1] = (s) => c(e).push("/timeline"))
|
|
2692
2724
|
}, t[4] || (t[4] = [
|
|
2693
|
-
|
|
2725
|
+
d("div", {
|
|
2694
2726
|
"i-mdi:timeline-clock-outline": "",
|
|
2695
2727
|
"text-3xl": ""
|
|
2696
2728
|
}, null, -1),
|
|
2697
|
-
|
|
2729
|
+
d("div", null, "Timeline", -1)
|
|
2698
2730
|
]))
|
|
2699
2731
|
]),
|
|
2700
|
-
t[7] || (t[7] =
|
|
2732
|
+
t[7] || (t[7] = d("div", {
|
|
2701
2733
|
flex: "~ gap-6 wrap",
|
|
2702
2734
|
"mt-5": "",
|
|
2703
2735
|
"items-center": "",
|
|
2704
2736
|
"justify-center": ""
|
|
2705
2737
|
}, [
|
|
2706
|
-
|
|
2738
|
+
d("a", {
|
|
2707
2739
|
href: "https://github.com/vuejs/pinia",
|
|
2708
2740
|
target: "_blank",
|
|
2709
2741
|
flex: "~ gap1",
|
|
@@ -2712,10 +2744,10 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2712
2744
|
hover: "op100 text-blue",
|
|
2713
2745
|
transition: ""
|
|
2714
2746
|
}, [
|
|
2715
|
-
|
|
2716
|
-
|
|
2747
|
+
d("div", { "i-carbon-star": "" }),
|
|
2748
|
+
Y(" Star on GitHub ")
|
|
2717
2749
|
]),
|
|
2718
|
-
|
|
2750
|
+
d("a", {
|
|
2719
2751
|
href: "https://pinia.vuejs.org/",
|
|
2720
2752
|
target: "_blank",
|
|
2721
2753
|
flex: "~ gap1",
|
|
@@ -2724,32 +2756,32 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2724
2756
|
hover: "op100 text-yellow",
|
|
2725
2757
|
transition: ""
|
|
2726
2758
|
}, [
|
|
2727
|
-
|
|
2728
|
-
|
|
2759
|
+
d("div", { "i-carbon-document": "" }),
|
|
2760
|
+
Y(" View Documentation ")
|
|
2729
2761
|
])
|
|
2730
2762
|
], -1)),
|
|
2731
|
-
t[8] || (t[8] =
|
|
2763
|
+
t[8] || (t[8] = d("div", { "flex-auto": "" }, null, -1))
|
|
2732
2764
|
])
|
|
2733
2765
|
]));
|
|
2734
2766
|
}
|
|
2735
|
-
}),
|
|
2767
|
+
}), h1 = { class: "h-full flex flex-col" }, g1 = /* @__PURE__ */ B({
|
|
2736
2768
|
__name: "Settings",
|
|
2737
2769
|
setup(n) {
|
|
2738
2770
|
const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
|
|
2739
2771
|
function s(l) {
|
|
2740
2772
|
e.value = l;
|
|
2741
2773
|
}
|
|
2742
|
-
return (l,
|
|
2743
|
-
|
|
2774
|
+
return (l, u) => (p(), f("div", h1, [
|
|
2775
|
+
x($e, {
|
|
2744
2776
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2745
2777
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2746
2778
|
}, {
|
|
2747
2779
|
default: H(() => [
|
|
2748
|
-
|
|
2780
|
+
x(Se)
|
|
2749
2781
|
]),
|
|
2750
2782
|
_: 1
|
|
2751
2783
|
}),
|
|
2752
|
-
|
|
2784
|
+
x(Gt, {
|
|
2753
2785
|
"plugin-id": "dev.esm.pinia",
|
|
2754
2786
|
options: o.value,
|
|
2755
2787
|
values: t.value,
|
|
@@ -2757,28 +2789,28 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2757
2789
|
}, null, 8, ["options", "values"])
|
|
2758
2790
|
]));
|
|
2759
2791
|
}
|
|
2760
|
-
}),
|
|
2792
|
+
}), C1 = { class: "h-full flex flex-col" }, _1 = { class: "h-full flex flex-col p2" }, y1 = {
|
|
2761
2793
|
key: 0,
|
|
2762
2794
|
class: "mb-1 flex justify-end pb-1",
|
|
2763
2795
|
border: "b dashed base"
|
|
2764
|
-
},
|
|
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 = {
|
|
2765
2797
|
key: 0,
|
|
2766
2798
|
class: "mb-1 flex justify-end pb-1",
|
|
2767
2799
|
border: "b dashed base"
|
|
2768
|
-
},
|
|
2800
|
+
}, $1 = { class: "flex items-center gap-2 px-1" }, S1 = ["onClick"], pe = "pinia", T1 = /* @__PURE__ */ B({
|
|
2769
2801
|
__name: "Index",
|
|
2770
2802
|
setup(n) {
|
|
2771
|
-
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(() => {
|
|
2772
2804
|
var N, M;
|
|
2773
|
-
return (N =
|
|
2774
|
-
}),
|
|
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(() => {
|
|
2775
2807
|
var N, M;
|
|
2776
|
-
return !((N =
|
|
2808
|
+
return !((N = v.value.state) != null && N.length) && !((M = v.value.getters) != null && M.length);
|
|
2777
2809
|
});
|
|
2778
2810
|
function m(N, M = [], w = []) {
|
|
2779
2811
|
var k;
|
|
2780
|
-
return M.push(N.id), ((k = N.children) == null ? void 0 : k.length) === 0 && w.push([...M]), Array.isArray(N.children) && N.children.forEach((
|
|
2781
|
-
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);
|
|
2782
2814
|
}), M.pop(), w;
|
|
2783
2815
|
}
|
|
2784
2816
|
function E(N, M) {
|
|
@@ -2789,29 +2821,29 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2789
2821
|
}
|
|
2790
2822
|
function A(N) {
|
|
2791
2823
|
const M = [], w = (k) => {
|
|
2792
|
-
k == null || k.forEach((
|
|
2824
|
+
k == null || k.forEach((y) => {
|
|
2793
2825
|
var R;
|
|
2794
|
-
M.push(
|
|
2826
|
+
M.push(y), (R = y.children) != null && R.length && w(y.children);
|
|
2795
2827
|
});
|
|
2796
2828
|
};
|
|
2797
2829
|
return w(N), M;
|
|
2798
2830
|
}
|
|
2799
2831
|
function g() {
|
|
2800
|
-
|
|
2832
|
+
P.value.getInspectorNodeActions(pe).then((N) => {
|
|
2801
2833
|
t.value = N;
|
|
2802
2834
|
});
|
|
2803
2835
|
}
|
|
2804
2836
|
function $() {
|
|
2805
|
-
|
|
2837
|
+
P.value.getInspectorActions(pe).then((N) => {
|
|
2806
2838
|
s.value = N;
|
|
2807
2839
|
});
|
|
2808
2840
|
}
|
|
2809
2841
|
g(), $();
|
|
2810
|
-
function
|
|
2811
|
-
|
|
2842
|
+
function U(N) {
|
|
2843
|
+
P.value.callInspectorNodeAction(pe, N, l.value);
|
|
2812
2844
|
}
|
|
2813
|
-
function
|
|
2814
|
-
|
|
2845
|
+
function D(N) {
|
|
2846
|
+
P.value.callInspectorAction(pe, N);
|
|
2815
2847
|
}
|
|
2816
2848
|
function _(N) {
|
|
2817
2849
|
var M;
|
|
@@ -2820,51 +2852,51 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2820
2852
|
return N;
|
|
2821
2853
|
}
|
|
2822
2854
|
function C(N) {
|
|
2823
|
-
|
|
2824
|
-
const w =
|
|
2825
|
-
w && (
|
|
2855
|
+
P.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
|
|
2856
|
+
const w = Q(M);
|
|
2857
|
+
w && (v.value = _(w), o.value = Array.from({ length: Object.keys(v.value).length }, (k, y) => `${y}`));
|
|
2826
2858
|
});
|
|
2827
2859
|
}
|
|
2828
2860
|
function S() {
|
|
2829
|
-
|
|
2861
|
+
v.value = {};
|
|
2830
2862
|
}
|
|
2831
|
-
|
|
2863
|
+
ee(l, () => {
|
|
2832
2864
|
S(), C(l.value);
|
|
2833
2865
|
}), (() => {
|
|
2834
|
-
|
|
2835
|
-
const M =
|
|
2836
|
-
|
|
2866
|
+
P.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
|
|
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));
|
|
2837
2869
|
});
|
|
2838
2870
|
})();
|
|
2839
2871
|
function K(N) {
|
|
2840
|
-
const M =
|
|
2841
|
-
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)));
|
|
2842
2874
|
}
|
|
2843
2875
|
function Z(N) {
|
|
2844
|
-
const M =
|
|
2876
|
+
const M = Q(N);
|
|
2845
2877
|
if (M.inspectorId !== pe)
|
|
2846
2878
|
return;
|
|
2847
2879
|
const w = M.state;
|
|
2848
|
-
|
|
2880
|
+
v.value = _({
|
|
2849
2881
|
state: w.state,
|
|
2850
2882
|
getters: w.getters
|
|
2851
2883
|
});
|
|
2852
2884
|
}
|
|
2853
|
-
return
|
|
2854
|
-
|
|
2855
|
-
}), (N, M) => (p(),
|
|
2856
|
-
|
|
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, {
|
|
2857
2889
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2858
2890
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2859
2891
|
}, {
|
|
2860
2892
|
default: H(() => [
|
|
2861
|
-
|
|
2893
|
+
x(Se)
|
|
2862
2894
|
]),
|
|
2863
2895
|
_: 1
|
|
2864
2896
|
}),
|
|
2865
|
-
|
|
2897
|
+
x(c(Ae), { class: "flex-1 overflow-auto" }, {
|
|
2866
2898
|
default: H(() => [
|
|
2867
|
-
|
|
2899
|
+
x(c(ue), {
|
|
2868
2900
|
border: "r base",
|
|
2869
2901
|
size: "40",
|
|
2870
2902
|
"h-full": ""
|
|
@@ -2872,36 +2904,36 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2872
2904
|
default: H(() => {
|
|
2873
2905
|
var w;
|
|
2874
2906
|
return [
|
|
2875
|
-
|
|
2876
|
-
(w = s.value) != null && w.length ? (p(),
|
|
2877
|
-
|
|
2878
|
-
(p(!0),
|
|
2879
|
-
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,
|
|
2880
2912
|
class: "flex items-center gap1",
|
|
2881
|
-
onClick: (R) =>
|
|
2913
|
+
onClick: (R) => D(y)
|
|
2882
2914
|
}, [
|
|
2883
|
-
|
|
2884
|
-
class:
|
|
2915
|
+
d("i", {
|
|
2916
|
+
class: oe(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2885
2917
|
"cursor-pointer": "",
|
|
2886
2918
|
op70: "",
|
|
2887
2919
|
"text-base": "",
|
|
2888
2920
|
"hover:op100": ""
|
|
2889
2921
|
}, null, 2)
|
|
2890
|
-
], 8,
|
|
2922
|
+
], 8, b1)), [
|
|
2891
2923
|
[
|
|
2892
|
-
|
|
2924
|
+
c(q),
|
|
2893
2925
|
{ content: k.tooltip },
|
|
2894
2926
|
void 0,
|
|
2895
2927
|
{ "bottom-end": !0 }
|
|
2896
2928
|
]
|
|
2897
2929
|
])), 128))
|
|
2898
2930
|
])
|
|
2899
|
-
])) :
|
|
2900
|
-
|
|
2901
|
-
|
|
2931
|
+
])) : j("", !0),
|
|
2932
|
+
d("div", w1, [
|
|
2933
|
+
x(Me, {
|
|
2902
2934
|
modelValue: l.value,
|
|
2903
2935
|
"onUpdate:modelValue": M[0] || (M[0] = (k) => l.value = k),
|
|
2904
|
-
data:
|
|
2936
|
+
data: u.value
|
|
2905
2937
|
}, null, 8, ["modelValue", "data"])
|
|
2906
2938
|
])
|
|
2907
2939
|
])
|
|
@@ -2909,45 +2941,45 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2909
2941
|
}),
|
|
2910
2942
|
_: 1
|
|
2911
2943
|
}),
|
|
2912
|
-
|
|
2944
|
+
x(c(ue), { size: "60" }, {
|
|
2913
2945
|
default: H(() => {
|
|
2914
2946
|
var w;
|
|
2915
2947
|
return [
|
|
2916
|
-
|
|
2917
|
-
(w = t.value) != null && w.length ? (p(),
|
|
2918
|
-
|
|
2919
|
-
(p(!0),
|
|
2920
|
-
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,
|
|
2921
2953
|
class: "flex items-center gap1",
|
|
2922
|
-
onClick: (R) =>
|
|
2954
|
+
onClick: (R) => U(y)
|
|
2923
2955
|
}, [
|
|
2924
|
-
|
|
2925
|
-
class:
|
|
2956
|
+
d("i", {
|
|
2957
|
+
class: oe(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2926
2958
|
"cursor-pointer": "",
|
|
2927
2959
|
op70: "",
|
|
2928
2960
|
"text-base": "",
|
|
2929
2961
|
"hover:op100": ""
|
|
2930
2962
|
}, null, 2)
|
|
2931
|
-
], 8,
|
|
2963
|
+
], 8, S1)), [
|
|
2932
2964
|
[
|
|
2933
|
-
|
|
2965
|
+
c(q),
|
|
2934
2966
|
{ content: k.tooltip },
|
|
2935
2967
|
void 0,
|
|
2936
2968
|
{ "bottom-end": !0 }
|
|
2937
2969
|
]
|
|
2938
2970
|
])), 128))
|
|
2939
2971
|
])
|
|
2940
|
-
])) :
|
|
2972
|
+
])) : j("", !0),
|
|
2941
2973
|
l.value && !a.value ? (p(), z(Pe, {
|
|
2942
2974
|
key: 1,
|
|
2943
2975
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
2944
|
-
data:
|
|
2976
|
+
data: v.value,
|
|
2945
2977
|
"node-id": l.value,
|
|
2946
2978
|
"inspector-id": pe,
|
|
2947
2979
|
"expanded-state-id": "pinia-store-state"
|
|
2948
2980
|
}, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2949
2981
|
default: H(() => M[1] || (M[1] = [
|
|
2950
|
-
|
|
2982
|
+
Y(" No Data ")
|
|
2951
2983
|
])),
|
|
2952
2984
|
_: 1
|
|
2953
2985
|
}))
|
|
@@ -2961,21 +2993,21 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2961
2993
|
})
|
|
2962
2994
|
]));
|
|
2963
2995
|
}
|
|
2964
|
-
}),
|
|
2996
|
+
}), E1 = "dev.esm.pinia", V1 = /* @__PURE__ */ B({
|
|
2965
2997
|
__name: "Index",
|
|
2966
2998
|
setup(n) {
|
|
2967
2999
|
const e = ["pinia:mutations"];
|
|
2968
3000
|
return (o, t) => (p(), z(pt, {
|
|
2969
3001
|
"layer-ids": e,
|
|
2970
3002
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2971
|
-
"plugin-id":
|
|
3003
|
+
"plugin-id": E1,
|
|
2972
3004
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2973
3005
|
}));
|
|
2974
3006
|
}
|
|
2975
|
-
}),
|
|
3007
|
+
}), N1 = {
|
|
2976
3008
|
"h-full": "",
|
|
2977
3009
|
"w-full": ""
|
|
2978
|
-
},
|
|
3010
|
+
}, is = /* @__PURE__ */ B({
|
|
2979
3011
|
__name: "index",
|
|
2980
3012
|
setup(n) {
|
|
2981
3013
|
const e = T(null);
|
|
@@ -2984,137 +3016,137 @@ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
|
2984
3016
|
{
|
|
2985
3017
|
path: "/store",
|
|
2986
3018
|
name: "Store",
|
|
2987
|
-
component:
|
|
3019
|
+
component: T1,
|
|
2988
3020
|
icon: "i-carbon-tree-view-alt"
|
|
2989
3021
|
},
|
|
2990
3022
|
{
|
|
2991
3023
|
path: "/timeline",
|
|
2992
3024
|
name: "Timeline",
|
|
2993
|
-
component:
|
|
3025
|
+
component: V1,
|
|
2994
3026
|
icon: "i-mdi:timeline-clock-outline"
|
|
2995
3027
|
},
|
|
2996
3028
|
{
|
|
2997
3029
|
path: "/",
|
|
2998
3030
|
name: "About",
|
|
2999
|
-
component:
|
|
3031
|
+
component: m1,
|
|
3000
3032
|
icon: "i-logos-pinia"
|
|
3001
3033
|
},
|
|
3002
3034
|
e.value && {
|
|
3003
3035
|
path: "/settings",
|
|
3004
3036
|
name: "Settings",
|
|
3005
|
-
component:
|
|
3037
|
+
component: g1,
|
|
3006
3038
|
icon: "i-mdi:cog-outline"
|
|
3007
3039
|
}
|
|
3008
3040
|
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = st(o, {
|
|
3009
3041
|
defaultRoutePath: "/store"
|
|
3010
3042
|
});
|
|
3011
3043
|
return Re(() => {
|
|
3012
|
-
|
|
3013
|
-
|
|
3044
|
+
P.value.getPluginSettings("dev.esm.pinia").then((u) => {
|
|
3045
|
+
u.options ? e.value = u : e.value = null;
|
|
3014
3046
|
});
|
|
3015
|
-
}), (l,
|
|
3016
|
-
|
|
3047
|
+
}), (l, u) => (p(), f("div", N1, [
|
|
3048
|
+
x(c(t))
|
|
3017
3049
|
]));
|
|
3018
3050
|
}
|
|
3019
|
-
}),
|
|
3051
|
+
}), R1 = {}, A1 = {
|
|
3020
3052
|
viewBox: "0 0 566 154",
|
|
3021
3053
|
fill: "none",
|
|
3022
3054
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3023
3055
|
};
|
|
3024
|
-
function
|
|
3025
|
-
return p(),
|
|
3026
|
-
|
|
3056
|
+
function D1(n, e) {
|
|
3057
|
+
return p(), f("svg", A1, e[0] || (e[0] = [
|
|
3058
|
+
d("svg", {
|
|
3027
3059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3028
3060
|
width: "8em",
|
|
3029
3061
|
height: "8em",
|
|
3030
3062
|
viewBox: "0 -4 24 24"
|
|
3031
3063
|
}, [
|
|
3032
|
-
|
|
3064
|
+
d("path", {
|
|
3033
3065
|
fill: "#3dd68c",
|
|
3034
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"
|
|
3035
3067
|
})
|
|
3036
3068
|
], -1),
|
|
3037
|
-
|
|
3069
|
+
d("path", {
|
|
3038
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",
|
|
3039
3071
|
fill: "currentColor"
|
|
3040
3072
|
}, null, -1)
|
|
3041
3073
|
]));
|
|
3042
3074
|
}
|
|
3043
|
-
const
|
|
3075
|
+
const P1 = /* @__PURE__ */ Ce(R1, [["render", D1]]), M1 = {
|
|
3044
3076
|
"h-full": "",
|
|
3045
3077
|
"w-full": "",
|
|
3046
3078
|
flex: "",
|
|
3047
3079
|
"items-center": ""
|
|
3048
|
-
},
|
|
3080
|
+
}, L1 = {
|
|
3049
3081
|
flex: "~ col gap2",
|
|
3050
3082
|
ma: "",
|
|
3051
3083
|
"px-5": ""
|
|
3052
|
-
},
|
|
3084
|
+
}, H1 = {
|
|
3053
3085
|
flex: "~ col",
|
|
3054
3086
|
"mt-20": "",
|
|
3055
3087
|
"items-center": ""
|
|
3056
|
-
},
|
|
3088
|
+
}, O1 = {
|
|
3057
3089
|
flex: "~",
|
|
3058
3090
|
"mt--10": "",
|
|
3059
3091
|
"items-center": "",
|
|
3060
3092
|
"justify-center": ""
|
|
3061
|
-
},
|
|
3093
|
+
}, j1 = { flex: "~ gap2 wrap" }, U1 = /* @__PURE__ */ B({
|
|
3062
3094
|
__name: "About",
|
|
3063
3095
|
setup(n) {
|
|
3064
3096
|
const e = De();
|
|
3065
|
-
return (o, t) => (p(),
|
|
3066
|
-
|
|
3067
|
-
t[5] || (t[5] =
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
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": "" })
|
|
3071
3103
|
]),
|
|
3072
|
-
t[2] || (t[2] =
|
|
3104
|
+
t[2] || (t[2] = d("div", {
|
|
3073
3105
|
mb6: "",
|
|
3074
3106
|
"mt--1": "",
|
|
3075
3107
|
"text-center": "",
|
|
3076
3108
|
"text-sm": "",
|
|
3077
3109
|
flex: "~ gap-1"
|
|
3078
3110
|
}, [
|
|
3079
|
-
|
|
3111
|
+
d("span", { op40: "" }, " Router DevTools ")
|
|
3080
3112
|
], -1))
|
|
3081
3113
|
]),
|
|
3082
|
-
t[6] || (t[6] =
|
|
3083
|
-
|
|
3084
|
-
|
|
3114
|
+
t[6] || (t[6] = d("div", { "flex-auto": "" }, null, -1)),
|
|
3115
|
+
d("div", j1, [
|
|
3116
|
+
d("div", {
|
|
3085
3117
|
flex: "~ col auto",
|
|
3086
3118
|
"min-w-40": "",
|
|
3087
3119
|
p4: "",
|
|
3088
3120
|
"theme-card-lime": "",
|
|
3089
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
3121
|
+
onClick: t[0] || (t[0] = (s) => c(e).push("/routes"))
|
|
3090
3122
|
}, t[3] || (t[3] = [
|
|
3091
|
-
|
|
3123
|
+
d("div", {
|
|
3092
3124
|
"i-carbon-tree-view-alt": "",
|
|
3093
3125
|
"text-3xl": ""
|
|
3094
3126
|
}, null, -1),
|
|
3095
|
-
|
|
3127
|
+
d("code", null, "Routes", -1)
|
|
3096
3128
|
])),
|
|
3097
|
-
|
|
3129
|
+
d("div", {
|
|
3098
3130
|
flex: "~ col auto",
|
|
3099
3131
|
"min-w-40": "",
|
|
3100
3132
|
p4: "",
|
|
3101
3133
|
"theme-card-lime": "",
|
|
3102
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
3134
|
+
onClick: t[1] || (t[1] = (s) => c(e).push("/timeline"))
|
|
3103
3135
|
}, t[4] || (t[4] = [
|
|
3104
|
-
|
|
3136
|
+
d("div", {
|
|
3105
3137
|
"i-mdi:timeline-clock-outline": "",
|
|
3106
3138
|
"text-3xl": ""
|
|
3107
3139
|
}, null, -1),
|
|
3108
|
-
|
|
3140
|
+
d("div", null, "Timeline", -1)
|
|
3109
3141
|
]))
|
|
3110
3142
|
]),
|
|
3111
|
-
t[7] || (t[7] =
|
|
3143
|
+
t[7] || (t[7] = d("div", {
|
|
3112
3144
|
flex: "~ gap-6 wrap",
|
|
3113
3145
|
"mt-5": "",
|
|
3114
3146
|
"items-center": "",
|
|
3115
3147
|
"justify-center": ""
|
|
3116
3148
|
}, [
|
|
3117
|
-
|
|
3149
|
+
d("a", {
|
|
3118
3150
|
href: "https://github.com/vuejs/router",
|
|
3119
3151
|
target: "_blank",
|
|
3120
3152
|
flex: "~ gap1",
|
|
@@ -3123,10 +3155,10 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3123
3155
|
hover: "op100 text-blue",
|
|
3124
3156
|
transition: ""
|
|
3125
3157
|
}, [
|
|
3126
|
-
|
|
3127
|
-
|
|
3158
|
+
d("div", { "i-carbon-star": "" }),
|
|
3159
|
+
Y(" Star on GitHub ")
|
|
3128
3160
|
]),
|
|
3129
|
-
|
|
3161
|
+
d("a", {
|
|
3130
3162
|
href: "https://router.vuejs.org/",
|
|
3131
3163
|
target: "_blank",
|
|
3132
3164
|
flex: "~ gap1",
|
|
@@ -3135,32 +3167,32 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3135
3167
|
hover: "op100 text-yellow",
|
|
3136
3168
|
transition: ""
|
|
3137
3169
|
}, [
|
|
3138
|
-
|
|
3139
|
-
|
|
3170
|
+
d("div", { "i-carbon-document": "" }),
|
|
3171
|
+
Y(" View Documentation ")
|
|
3140
3172
|
])
|
|
3141
3173
|
], -1)),
|
|
3142
|
-
t[8] || (t[8] =
|
|
3174
|
+
t[8] || (t[8] = d("div", { "flex-auto": "" }, null, -1))
|
|
3143
3175
|
])
|
|
3144
3176
|
]));
|
|
3145
3177
|
}
|
|
3146
|
-
}),
|
|
3178
|
+
}), z1 = { class: "h-full flex flex-col" }, B1 = {
|
|
3147
3179
|
"h-full": "",
|
|
3148
3180
|
"select-none": "",
|
|
3149
3181
|
"overflow-scroll": "",
|
|
3150
3182
|
p2: "",
|
|
3151
3183
|
class: "no-scrollbar"
|
|
3152
|
-
},
|
|
3184
|
+
}, Z1 = {
|
|
3153
3185
|
"h-full": "",
|
|
3154
3186
|
"select-none": "",
|
|
3155
3187
|
"overflow-scroll": "",
|
|
3156
3188
|
class: "no-scrollbar"
|
|
3157
|
-
},
|
|
3189
|
+
}, F1 = /* @__PURE__ */ B({
|
|
3158
3190
|
__name: "Index",
|
|
3159
3191
|
setup(n) {
|
|
3160
|
-
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(() => {
|
|
3161
3193
|
var C, S;
|
|
3162
|
-
return (C =
|
|
3163
|
-
}),
|
|
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({});
|
|
3164
3196
|
function a(C, S = [], L = []) {
|
|
3165
3197
|
var K;
|
|
3166
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) => {
|
|
@@ -3189,78 +3221,78 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3189
3221
|
return C;
|
|
3190
3222
|
}
|
|
3191
3223
|
function g(C) {
|
|
3192
|
-
|
|
3193
|
-
const L =
|
|
3194
|
-
L && (
|
|
3224
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
|
|
3225
|
+
const L = Q(S);
|
|
3226
|
+
L && (v.value = A(L), o.value = Array.from({ length: Object.keys(v.value).length }, (K, Z) => `${Z}`));
|
|
3195
3227
|
});
|
|
3196
3228
|
}
|
|
3197
3229
|
function $() {
|
|
3198
|
-
|
|
3230
|
+
v.value = {};
|
|
3199
3231
|
}
|
|
3200
|
-
|
|
3232
|
+
ee(l, () => {
|
|
3201
3233
|
$(), g(l.value);
|
|
3202
3234
|
});
|
|
3203
|
-
const
|
|
3204
|
-
|
|
3205
|
-
const S =
|
|
3206
|
-
|
|
3235
|
+
const U = () => {
|
|
3236
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
|
|
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));
|
|
3207
3239
|
});
|
|
3208
3240
|
};
|
|
3209
|
-
jt(s).toBeTruthy().then(
|
|
3210
|
-
function
|
|
3211
|
-
const S =
|
|
3212
|
-
S.inspectorId !== s.value || !S.rootNodes.length || (
|
|
3241
|
+
jt(s).toBeTruthy().then(U);
|
|
3242
|
+
function D(C) {
|
|
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)));
|
|
3213
3245
|
}
|
|
3214
3246
|
function _(C) {
|
|
3215
|
-
const S =
|
|
3247
|
+
const S = Q(C);
|
|
3216
3248
|
if (S.inspectorId !== s.value)
|
|
3217
3249
|
return;
|
|
3218
3250
|
const L = S.state;
|
|
3219
|
-
|
|
3251
|
+
v.value = A(L);
|
|
3220
3252
|
}
|
|
3221
|
-
return
|
|
3222
|
-
|
|
3223
|
-
}), (C, S) => (p(),
|
|
3224
|
-
|
|
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, {
|
|
3225
3257
|
"doc-link": "https://router.vuejs.org/",
|
|
3226
3258
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3227
3259
|
}, {
|
|
3228
3260
|
default: H(() => [
|
|
3229
|
-
|
|
3261
|
+
x(Se)
|
|
3230
3262
|
]),
|
|
3231
3263
|
_: 1
|
|
3232
3264
|
}),
|
|
3233
|
-
|
|
3265
|
+
x(c(Ae), { class: "flex-1 overflow-auto" }, {
|
|
3234
3266
|
default: H(() => [
|
|
3235
|
-
|
|
3267
|
+
x(c(ue), {
|
|
3236
3268
|
border: "r base",
|
|
3237
3269
|
size: "40",
|
|
3238
3270
|
"h-full": ""
|
|
3239
3271
|
}, {
|
|
3240
3272
|
default: H(() => [
|
|
3241
|
-
|
|
3242
|
-
|
|
3273
|
+
d("div", B1, [
|
|
3274
|
+
x(Me, {
|
|
3243
3275
|
modelValue: l.value,
|
|
3244
3276
|
"onUpdate:modelValue": S[0] || (S[0] = (L) => l.value = L),
|
|
3245
|
-
data:
|
|
3277
|
+
data: u.value
|
|
3246
3278
|
}, null, 8, ["modelValue", "data"])
|
|
3247
3279
|
])
|
|
3248
3280
|
]),
|
|
3249
3281
|
_: 1
|
|
3250
3282
|
}),
|
|
3251
|
-
|
|
3283
|
+
x(c(ue), { size: "60" }, {
|
|
3252
3284
|
default: H(() => [
|
|
3253
|
-
|
|
3285
|
+
d("div", Z1, [
|
|
3254
3286
|
l.value ? (p(), z(Pe, {
|
|
3255
3287
|
key: 0,
|
|
3256
3288
|
class: "p3",
|
|
3257
|
-
data:
|
|
3289
|
+
data: v.value,
|
|
3258
3290
|
"node-id": "",
|
|
3259
3291
|
"inspector-id": "router",
|
|
3260
3292
|
"expanded-state-id": "routes-state"
|
|
3261
3293
|
}, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
|
|
3262
3294
|
default: H(() => S[1] || (S[1] = [
|
|
3263
|
-
|
|
3295
|
+
Y(" No Data ")
|
|
3264
3296
|
])),
|
|
3265
3297
|
_: 1
|
|
3266
3298
|
}))
|
|
@@ -3273,77 +3305,77 @@ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
|
3273
3305
|
})
|
|
3274
3306
|
]));
|
|
3275
3307
|
}
|
|
3276
|
-
}),
|
|
3308
|
+
}), G1 = "org.vuejs.router", K1 = /* @__PURE__ */ B({
|
|
3277
3309
|
__name: "Index",
|
|
3278
3310
|
setup(n) {
|
|
3279
3311
|
const e = Te();
|
|
3280
3312
|
return (o, t) => (p(), z(pt, {
|
|
3281
|
-
"layer-ids":
|
|
3313
|
+
"layer-ids": c(e).timelineLayerIds,
|
|
3282
3314
|
"doc-link": "https://router.vuejs.org/",
|
|
3283
|
-
"plugin-id":
|
|
3315
|
+
"plugin-id": G1,
|
|
3284
3316
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3285
3317
|
}, null, 8, ["layer-ids"]));
|
|
3286
3318
|
}
|
|
3287
|
-
}),
|
|
3319
|
+
}), W1 = {
|
|
3288
3320
|
"h-full": "",
|
|
3289
3321
|
"w-full": ""
|
|
3290
|
-
},
|
|
3322
|
+
}, rs = /* @__PURE__ */ B({
|
|
3291
3323
|
__name: "index",
|
|
3292
3324
|
props: {
|
|
3293
3325
|
id: {}
|
|
3294
3326
|
},
|
|
3295
3327
|
setup(n) {
|
|
3296
|
-
const e = n, o =
|
|
3328
|
+
const e = n, o = Ft(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = st([
|
|
3297
3329
|
{
|
|
3298
3330
|
path: "/routes",
|
|
3299
3331
|
name: "Routes",
|
|
3300
|
-
component:
|
|
3332
|
+
component: F1,
|
|
3301
3333
|
icon: "i-carbon-tree-view-alt"
|
|
3302
3334
|
},
|
|
3303
3335
|
{
|
|
3304
3336
|
path: "/timeline",
|
|
3305
3337
|
name: "Timeline",
|
|
3306
|
-
component:
|
|
3338
|
+
component: K1,
|
|
3307
3339
|
icon: "i-mdi:timeline-clock-outline"
|
|
3308
3340
|
},
|
|
3309
3341
|
{
|
|
3310
3342
|
path: "/about",
|
|
3311
3343
|
name: "About",
|
|
3312
|
-
component:
|
|
3344
|
+
component: U1,
|
|
3313
3345
|
icon: "i-ri-route-line"
|
|
3314
3346
|
}
|
|
3315
3347
|
], {
|
|
3316
3348
|
defaultRoutePath: "/routes"
|
|
3317
3349
|
});
|
|
3318
|
-
function
|
|
3350
|
+
function u() {
|
|
3319
3351
|
t.value = !0, Re(() => {
|
|
3320
|
-
|
|
3321
|
-
if (!
|
|
3352
|
+
P.value.getInspectorInfo(e.id).then((i) => {
|
|
3353
|
+
if (!i)
|
|
3322
3354
|
return;
|
|
3323
|
-
const
|
|
3324
|
-
homepage:
|
|
3325
|
-
id:
|
|
3326
|
-
label:
|
|
3327
|
-
logo:
|
|
3328
|
-
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)
|
|
3329
3361
|
};
|
|
3330
|
-
o.value =
|
|
3362
|
+
o.value = r, l(), t.value = !1;
|
|
3331
3363
|
});
|
|
3332
3364
|
});
|
|
3333
3365
|
}
|
|
3334
|
-
return
|
|
3335
|
-
|
|
3336
|
-
}), (
|
|
3337
|
-
|
|
3366
|
+
return ee(() => e.id, (i) => {
|
|
3367
|
+
i && u();
|
|
3368
|
+
}), (i, r) => (p(), f("div", W1, [
|
|
3369
|
+
x(c(s))
|
|
3338
3370
|
]));
|
|
3339
3371
|
}
|
|
3340
3372
|
});
|
|
3341
3373
|
export {
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3374
|
+
ss as Components,
|
|
3375
|
+
as as CustomInspector,
|
|
3376
|
+
is as Pinia,
|
|
3377
|
+
rs as Router,
|
|
3346
3378
|
Sn as SelectiveList,
|
|
3347
3379
|
pt as Timeline,
|
|
3348
|
-
|
|
3380
|
+
ls as useCustomInspector
|
|
3349
3381
|
};
|