@vue/devtools-applet 7.5.4 → 7.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/timeline/index.vue.d.ts +9 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1408 -1331
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as B, withDirectives 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 v, normalizeStyle as Ie, unref as u, createTextVNode as ne, toDisplayString as le, mergeModels as ze, useModel as et, Fragment as te, renderList as ae, normalizeClass as ie, createBlock as z, toValue as vt, ref as T, computed as V, h as Yt, provide as ge, inject as ve, createElementVNode as r, renderSlot as tt, createCommentVNode as O, isRef as Ke, watch as Q, onMounted as St, nextTick as Be, readonly as Xt, getCurrentScope as Qt, onScopeDispose as en, getCurrentInstance as nt, reactive as mt, shallowRef as ht, toRaw as Tt, mergeProps as ke, withModifiers as fe, withCtx as H, createVNode as y, watchEffect as ot, onUnmounted as be, vShow as tn, createStaticVNode as nn } from "vue";
|
|
2
|
+
import { vTooltip as J, VueButton as de, VueIcon as oe, VueDropdown as on, VueDropdownButton as gt, VueInput as Ze, VueIcIcon as Fe, VueCodeBlock as ln, VueDialog as sn, VueSwitch as an, VueSelect as rn } from "@vue/devtools-ui";
|
|
3
|
+
import { isPlainObject as un, UNDEFINED as cn, NAN as dn, INFINITY as pn, NEGATIVE_INFINITY as fn, getRaw as Et, toSubmit as Ue, formatInspectorStateValue as vn, getInspectorStateValueType as Ct, toEdit as mn, parse as X } from "@vue/devtools-kit";
|
|
4
|
+
import { rpc as P, useDevToolsState as Vt, DevToolsMessagingEvents as q, onRpcConnected as Re } from "@vue/devtools-core";
|
|
5
5
|
import { Splitpanes as Ae, Pane as ue } from "splitpanes";
|
|
6
|
-
import { isArray as _t, isObject as xt, sortByKey as
|
|
6
|
+
import { isArray as _t, isObject as xt, sortByKey as Nt, isInSeparateWindow as hn, isInChromePanel as yt } from "@vue/devtools-shared";
|
|
7
7
|
import { debounce as gn } from "perfect-debounce";
|
|
8
8
|
import { RecycleScroller as Cn } from "vue-virtual-scroller";
|
|
9
9
|
import { flatten as _n, groupBy as xn } from "lodash-es";
|
|
@@ -15,54 +15,54 @@ function yn(n, e) {
|
|
|
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 = At(n, e.toLowerCase(), o, 0);
|
|
19
19
|
return o.clear(), t;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
if (t >
|
|
21
|
+
const Rt = 10;
|
|
22
|
+
function At(n, e, o, t) {
|
|
23
|
+
if (t > Rt)
|
|
24
24
|
return !1;
|
|
25
25
|
let s = !1;
|
|
26
26
|
const l = Object.keys(n);
|
|
27
|
-
let i,
|
|
28
|
-
for (let
|
|
27
|
+
let i, c;
|
|
28
|
+
for (let d = 0; d < l.length && (i = l[d], c = n[i], s = Dt(e, i, c, o, t + 1), !s); d++)
|
|
29
29
|
;
|
|
30
30
|
return s;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Dt(n, e, o, t, s) {
|
|
33
33
|
let l = !1, i;
|
|
34
|
-
return e === "_custom" && (e = o.display, o = o.value), (i = wn(o)) && (o = i), 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)) :
|
|
34
|
+
return e === "_custom" && (e = o.display, o = o.value), (i = wn(o)) && (o = i), 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)) : un(o) ? (t.set(o, null), l = At(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 === cn ? "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 > Rt)
|
|
44
44
|
return !1;
|
|
45
45
|
let s = !1, l;
|
|
46
|
-
for (let i = 0; i < n.length && (l = n[i], s =
|
|
46
|
+
for (let i = 0; i < n.length && (l = n[i], s = Dt(e, null, l, o, t + 1), !s); i++)
|
|
47
47
|
;
|
|
48
48
|
return s;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const Pt = /* @__PURE__ */ B({
|
|
51
51
|
__name: "NodeTag",
|
|
52
52
|
props: {
|
|
53
53
|
tag: {}
|
|
54
54
|
},
|
|
55
55
|
setup(n) {
|
|
56
|
-
return (e, o) =>
|
|
56
|
+
return (e, o) => W((p(), v("span", {
|
|
57
57
|
style: Ie({
|
|
58
|
-
color: `#${
|
|
59
|
-
backgroundColor: `#${
|
|
58
|
+
color: `#${u(bt)(e.tag.textColor)}`,
|
|
59
|
+
backgroundColor: `#${u(bt)(e.tag.backgroundColor)}`
|
|
60
60
|
}),
|
|
61
61
|
class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
|
|
62
62
|
}, [
|
|
63
63
|
ne(le(e.tag.label), 1)
|
|
64
64
|
], 4)), [
|
|
65
|
-
[
|
|
65
|
+
[u(J), {
|
|
66
66
|
content: e.tag.tooltip,
|
|
67
67
|
html: !0
|
|
68
68
|
}]
|
|
@@ -78,43 +78,43 @@ const Dt = /* @__PURE__ */ B({
|
|
|
78
78
|
}),
|
|
79
79
|
emits: /* @__PURE__ */ ze(["select"], ["update:modelValue"]),
|
|
80
80
|
setup(n, { emit: e }) {
|
|
81
|
-
const o = e, t =
|
|
81
|
+
const o = e, t = et(n, "modelValue");
|
|
82
82
|
function s(l) {
|
|
83
83
|
t.value = l, o("select", l);
|
|
84
84
|
}
|
|
85
|
-
return (l, i) => (p(),
|
|
86
|
-
(p(!0),
|
|
87
|
-
key:
|
|
88
|
-
class: ie(["selectable-item", { active:
|
|
89
|
-
onClick: (
|
|
85
|
+
return (l, i) => (p(), v("ul", In, [
|
|
86
|
+
(p(!0), v(te, null, ae(l.data, (c) => (p(), v("li", {
|
|
87
|
+
key: c.id,
|
|
88
|
+
class: ie(["selectable-item", { active: c.id === t.value }]),
|
|
89
|
+
onClick: (d) => s(c.id)
|
|
90
90
|
}, [
|
|
91
|
-
ne(le(
|
|
92
|
-
(p(!0),
|
|
93
|
-
key:
|
|
94
|
-
tag:
|
|
91
|
+
ne(le(c.label) + " ", 1),
|
|
92
|
+
(p(!0), v(te, null, ae(c.tags, (d, h) => (p(), z(Pt, {
|
|
93
|
+
key: h,
|
|
94
|
+
tag: d
|
|
95
95
|
}, null, 8, ["tag"]))), 128))
|
|
96
96
|
], 10, $n))), 128))
|
|
97
97
|
]));
|
|
98
98
|
}
|
|
99
|
-
}),
|
|
100
|
-
function
|
|
101
|
-
const o = (e == null ? void 0 : e.defaultRoutePath) ??
|
|
99
|
+
}), lt = Symbol("VirtualRouteKey"), Mt = Symbol("VirtualRoutesKey");
|
|
100
|
+
function st(n, e) {
|
|
101
|
+
const o = (e == null ? void 0 : e.defaultRoutePath) ?? vt(n)[0].path, t = T({
|
|
102
102
|
path: o
|
|
103
|
-
}), s = V(() =>
|
|
103
|
+
}), s = V(() => vt(n)), l = V(() => t.value.path), i = B({
|
|
104
104
|
setup() {
|
|
105
105
|
return () => {
|
|
106
|
-
const
|
|
107
|
-
return
|
|
106
|
+
const d = s.value.find((h) => h.path === l.value);
|
|
107
|
+
return d ? Yt(d.component) : null;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
function
|
|
111
|
+
function c() {
|
|
112
112
|
t.value.path = o;
|
|
113
113
|
}
|
|
114
|
-
return ge(
|
|
114
|
+
return ge(lt, t), ge(Mt, s), { VirtualRouterView: i, restoreRouter: c };
|
|
115
115
|
}
|
|
116
116
|
function De() {
|
|
117
|
-
const n = ve(
|
|
117
|
+
const n = ve(lt);
|
|
118
118
|
return {
|
|
119
119
|
push(e) {
|
|
120
120
|
n.value.path = e;
|
|
@@ -122,7 +122,7 @@ function De() {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function Tn() {
|
|
125
|
-
const n = ve(
|
|
125
|
+
const n = ve(Mt), e = ve(lt);
|
|
126
126
|
return {
|
|
127
127
|
routes: n,
|
|
128
128
|
currentRoute: e
|
|
@@ -139,85 +139,85 @@ const En = {
|
|
|
139
139
|
},
|
|
140
140
|
setup(n) {
|
|
141
141
|
const e = De();
|
|
142
|
-
return (o, t) => (p(),
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
return (o, t) => (p(), v("div", En, [
|
|
143
|
+
r("div", null, [
|
|
144
|
+
tt(o.$slots, "default", {}, () => [
|
|
145
|
+
r("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) => u(e).push("/"))
|
|
148
148
|
})
|
|
149
149
|
])
|
|
150
150
|
]),
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
r("div", null, [
|
|
152
|
+
r("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
|
+
r("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(), v("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
|
+
r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1)
|
|
167
|
+
]), 8, Nn)) : O("", !0)
|
|
168
168
|
])
|
|
169
169
|
]));
|
|
170
170
|
}
|
|
171
|
-
}),
|
|
171
|
+
}), Ce = (n, e) => {
|
|
172
172
|
const o = n.__vccOpts || n;
|
|
173
173
|
for (const [t, s] of e)
|
|
174
174
|
o[t] = s;
|
|
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
|
-
|
|
181
|
-
|
|
178
|
+
return p(), v("div", An, [
|
|
179
|
+
e[0] || (e[0] = r("i", { class: "i-lets-icons:blank-light" }, null, -1)),
|
|
180
|
+
r("span", null, [
|
|
181
|
+
tt(n.$slots, "default")
|
|
182
182
|
])
|
|
183
183
|
]);
|
|
184
184
|
}
|
|
185
|
-
const Ne = /* @__PURE__ */
|
|
185
|
+
const Ne = /* @__PURE__ */ Ce(Rn, [["render", Dn]]), Pn = { class: "flex gap3" }, Mn = ["onClick"], Se = /* @__PURE__ */ B({
|
|
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: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100",
|
|
193
|
-
onClick: (
|
|
189
|
+
return (s, l) => (p(), v("ul", Pn, [
|
|
190
|
+
(p(!0), v(te, null, ae(u(e), (i, c) => (p(), v("li", {
|
|
191
|
+
key: c,
|
|
192
|
+
class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", u(o).path === i.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
|
|
193
|
+
onClick: (d) => u(t).push(i.path)
|
|
194
194
|
}, le(i.name), 11, Mn))), 128))
|
|
195
195
|
]));
|
|
196
196
|
}
|
|
197
|
-
}),
|
|
197
|
+
}), at = /* @__PURE__ */ B({
|
|
198
198
|
__name: "ToggleExpanded",
|
|
199
199
|
props: {
|
|
200
200
|
value: { type: Boolean }
|
|
201
201
|
},
|
|
202
202
|
setup(n) {
|
|
203
|
-
return (e, o) => (p(),
|
|
203
|
+
return (e, o) => (p(), v("i", {
|
|
204
204
|
class: ie(["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
|
-
}),
|
|
210
|
-
function
|
|
209
|
+
}), Lt = Symbol("StateEditorSymbol");
|
|
210
|
+
function Ln(n) {
|
|
211
211
|
const e = T(n);
|
|
212
|
-
return ge(
|
|
212
|
+
return ge(Lt, e), {
|
|
213
213
|
context: e
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
return ve(
|
|
216
|
+
function it() {
|
|
217
|
+
return ve(Lt);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
const n = T(""), e = T("string"), o = T(!1), t =
|
|
219
|
+
function Hn() {
|
|
220
|
+
const n = T(""), e = T("string"), o = T(!1), t = it();
|
|
221
221
|
return {
|
|
222
222
|
editingText: n,
|
|
223
223
|
editing: o,
|
|
@@ -228,7 +228,7 @@ function Ln() {
|
|
|
228
228
|
nodeId: V(() => t.value.nodeId)
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function jn(n, e) {
|
|
232
232
|
if (n === "array")
|
|
233
233
|
return e.length;
|
|
234
234
|
const o = "newProp";
|
|
@@ -240,14 +240,14 @@ function On(n, e) {
|
|
|
240
240
|
t++;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function On() {
|
|
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 = jn(t, s);
|
|
251
251
|
n.value = {
|
|
252
252
|
enable: !0,
|
|
253
253
|
key: l.toString(),
|
|
@@ -274,7 +274,7 @@ function me(n = "") {
|
|
|
274
274
|
expanded: e
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function rt(n = "") {
|
|
278
278
|
const e = ve(`${Ht}-${n}`, T([]));
|
|
279
279
|
function o(t) {
|
|
280
280
|
const s = e.value.indexOf(t);
|
|
@@ -285,15 +285,15 @@ function it(n = "") {
|
|
|
285
285
|
toggleExpanded: o
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
return
|
|
288
|
+
function ut(n) {
|
|
289
|
+
return Qt() ? (en(n), !0) : !1;
|
|
290
290
|
}
|
|
291
291
|
function ee(n) {
|
|
292
|
-
return typeof n == "function" ? n() :
|
|
292
|
+
return typeof n == "function" ? n() : u(n);
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const ct = typeof window < "u" && typeof document < "u";
|
|
295
295
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
296
|
-
const Un = (n) => typeof n < "u", zn = Object.prototype.toString, Bn = (n) => zn.call(n) === "[object Object]",
|
|
296
|
+
const Un = (n) => typeof n < "u", zn = Object.prototype.toString, Bn = (n) => zn.call(n) === "[object Object]", Ge = () => {
|
|
297
297
|
};
|
|
298
298
|
function Zn(n, e) {
|
|
299
299
|
function o(...t) {
|
|
@@ -305,18 +305,18 @@ function Zn(n, e) {
|
|
|
305
305
|
}
|
|
306
306
|
const Fn = (n) => n();
|
|
307
307
|
function Gn(n, e = {}) {
|
|
308
|
-
let o, t, s =
|
|
309
|
-
const l = (
|
|
310
|
-
clearTimeout(
|
|
308
|
+
let o, t, s = Ge;
|
|
309
|
+
const l = (c) => {
|
|
310
|
+
clearTimeout(c), s(), s = Ge;
|
|
311
311
|
};
|
|
312
|
-
return (
|
|
313
|
-
const
|
|
314
|
-
return o && l(o),
|
|
315
|
-
s = e.rejectOnCancel ? a : f,
|
|
316
|
-
o && l(o), t = null, f(
|
|
317
|
-
},
|
|
318
|
-
t && l(t), t = null, f(
|
|
319
|
-
},
|
|
312
|
+
return (c) => {
|
|
313
|
+
const d = ee(n), h = ee(e.maxWait);
|
|
314
|
+
return o && l(o), d <= 0 || h !== void 0 && h <= 0 ? (t && (l(t), t = null), Promise.resolve(c())) : new Promise((f, a) => {
|
|
315
|
+
s = e.rejectOnCancel ? a : f, h && !t && (t = setTimeout(() => {
|
|
316
|
+
o && l(o), t = null, f(c());
|
|
317
|
+
}, h)), o = setTimeout(() => {
|
|
318
|
+
t && l(t), t = null, f(c());
|
|
319
|
+
}, d);
|
|
320
320
|
});
|
|
321
321
|
};
|
|
322
322
|
}
|
|
@@ -336,14 +336,14 @@ function Kn(n) {
|
|
|
336
336
|
}, o;
|
|
337
337
|
}
|
|
338
338
|
function Wn(n) {
|
|
339
|
-
return
|
|
339
|
+
return nt();
|
|
340
340
|
}
|
|
341
341
|
function qn(n, e, o = {}) {
|
|
342
342
|
const {
|
|
343
343
|
eventFilter: t = Fn,
|
|
344
344
|
...s
|
|
345
345
|
} = o;
|
|
346
|
-
return
|
|
346
|
+
return Q(
|
|
347
347
|
n,
|
|
348
348
|
Zn(
|
|
349
349
|
t,
|
|
@@ -355,50 +355,50 @@ function qn(n, e, o = {}) {
|
|
|
355
355
|
function Jn(n, e = !0, o) {
|
|
356
356
|
Wn() ? St(n, o) : e ? n() : Be(n);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
359
|
-
function o(a, { flush:
|
|
360
|
-
let
|
|
361
|
-
const
|
|
362
|
-
|
|
358
|
+
function Qe(n, e = !1) {
|
|
359
|
+
function o(a, { flush: m = "sync", deep: E = !1, timeout: A, throwOnTimeout: g } = {}) {
|
|
360
|
+
let $ = null;
|
|
361
|
+
const D = [new Promise((_) => {
|
|
362
|
+
$ = Q(
|
|
363
363
|
n,
|
|
364
|
-
(
|
|
365
|
-
a(
|
|
364
|
+
(C) => {
|
|
365
|
+
a(C) !== e && ($ ? $() : Be(() => $ == null ? void 0 : $()), _(C));
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
|
-
flush:
|
|
369
|
-
deep:
|
|
368
|
+
flush: m,
|
|
369
|
+
deep: E,
|
|
370
370
|
immediate: !0
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
373
|
})];
|
|
374
|
-
return
|
|
375
|
-
kt(
|
|
376
|
-
), Promise.race(
|
|
374
|
+
return A != null && D.push(
|
|
375
|
+
kt(A, g).then(() => ee(n)).finally(() => $ == null ? void 0 : $())
|
|
376
|
+
), Promise.race(D);
|
|
377
377
|
}
|
|
378
|
-
function t(a,
|
|
379
|
-
if (!
|
|
380
|
-
return o((
|
|
381
|
-
const { flush:
|
|
382
|
-
let
|
|
383
|
-
const
|
|
384
|
-
|
|
378
|
+
function t(a, m) {
|
|
379
|
+
if (!Ke(a))
|
|
380
|
+
return o((C) => C === a, m);
|
|
381
|
+
const { flush: E = "sync", deep: A = !1, timeout: g, throwOnTimeout: $ } = m ?? {};
|
|
382
|
+
let U = null;
|
|
383
|
+
const _ = [new Promise((C) => {
|
|
384
|
+
U = Q(
|
|
385
385
|
[n, a],
|
|
386
|
-
([
|
|
387
|
-
e !== (
|
|
386
|
+
([S, L]) => {
|
|
387
|
+
e !== (S === L) && (U ? U() : Be(() => U == null ? void 0 : U()), C(S));
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
|
-
flush:
|
|
391
|
-
deep:
|
|
390
|
+
flush: E,
|
|
391
|
+
deep: A,
|
|
392
392
|
immediate: !0
|
|
393
393
|
}
|
|
394
394
|
);
|
|
395
395
|
})];
|
|
396
|
-
return
|
|
397
|
-
kt(
|
|
398
|
-
), Promise.race(
|
|
396
|
+
return g != null && _.push(
|
|
397
|
+
kt(g, $).then(() => ee(n)).finally(() => (U == null || U(), ee(n)))
|
|
398
|
+
), Promise.race(_);
|
|
399
399
|
}
|
|
400
400
|
function s(a) {
|
|
401
|
-
return o((
|
|
401
|
+
return o((m) => !!m, a);
|
|
402
402
|
}
|
|
403
403
|
function l(a) {
|
|
404
404
|
return t(null, a);
|
|
@@ -406,46 +406,46 @@ function Xe(n, e = !1) {
|
|
|
406
406
|
function i(a) {
|
|
407
407
|
return t(void 0, a);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function c(a) {
|
|
410
410
|
return o(Number.isNaN, a);
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
return o((
|
|
414
|
-
const
|
|
415
|
-
return
|
|
416
|
-
},
|
|
412
|
+
function d(a, m) {
|
|
413
|
+
return o((E) => {
|
|
414
|
+
const A = Array.from(E);
|
|
415
|
+
return A.includes(a) || A.includes(ee(a));
|
|
416
|
+
}, m);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function h(a) {
|
|
419
419
|
return f(1, a);
|
|
420
420
|
}
|
|
421
|
-
function f(a = 1,
|
|
422
|
-
let
|
|
423
|
-
return o(() => (
|
|
421
|
+
function f(a = 1, m) {
|
|
422
|
+
let E = -1;
|
|
423
|
+
return o(() => (E += 1, E >= a), m);
|
|
424
424
|
}
|
|
425
425
|
return Array.isArray(ee(n)) ? {
|
|
426
426
|
toMatch: o,
|
|
427
|
-
toContains:
|
|
428
|
-
changed:
|
|
427
|
+
toContains: d,
|
|
428
|
+
changed: h,
|
|
429
429
|
changedTimes: f,
|
|
430
430
|
get not() {
|
|
431
|
-
return
|
|
431
|
+
return Qe(n, !e);
|
|
432
432
|
}
|
|
433
433
|
} : {
|
|
434
434
|
toMatch: o,
|
|
435
435
|
toBe: t,
|
|
436
436
|
toBeTruthy: s,
|
|
437
437
|
toBeNull: l,
|
|
438
|
-
toBeNaN:
|
|
438
|
+
toBeNaN: c,
|
|
439
439
|
toBeUndefined: i,
|
|
440
|
-
changed:
|
|
440
|
+
changed: h,
|
|
441
441
|
changedTimes: f,
|
|
442
442
|
get not() {
|
|
443
|
-
return
|
|
443
|
+
return Qe(n, !e);
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
return
|
|
447
|
+
function jt(n) {
|
|
448
|
+
return Qe(n);
|
|
449
449
|
}
|
|
450
450
|
function Yn(n, e, o = {}) {
|
|
451
451
|
const {
|
|
@@ -455,31 +455,31 @@ function Yn(n, e, o = {}) {
|
|
|
455
455
|
function i() {
|
|
456
456
|
l && (clearTimeout(l), l = null);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function c() {
|
|
459
459
|
s.value = !1, i();
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function d(...h) {
|
|
462
462
|
i(), s.value = !0, l = setTimeout(() => {
|
|
463
|
-
s.value = !1, l = null, n(...
|
|
463
|
+
s.value = !1, l = null, n(...h);
|
|
464
464
|
}, ee(e));
|
|
465
465
|
}
|
|
466
|
-
return t && (s.value = !0,
|
|
467
|
-
isPending:
|
|
468
|
-
start:
|
|
469
|
-
stop:
|
|
466
|
+
return t && (s.value = !0, ct && d()), ut(c), {
|
|
467
|
+
isPending: Xt(s),
|
|
468
|
+
start: d,
|
|
469
|
+
stop: c
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
472
|
function Xn(n = !1, e = {}) {
|
|
473
473
|
const {
|
|
474
474
|
truthyValue: o = !0,
|
|
475
475
|
falsyValue: t = !1
|
|
476
|
-
} = e, s =
|
|
477
|
-
function i(
|
|
476
|
+
} = e, s = Ke(n), l = T(n);
|
|
477
|
+
function i(c) {
|
|
478
478
|
if (arguments.length)
|
|
479
|
-
return l.value =
|
|
479
|
+
return l.value = c, l.value;
|
|
480
480
|
{
|
|
481
|
-
const
|
|
482
|
-
return l.value = l.value ===
|
|
481
|
+
const d = ee(o);
|
|
482
|
+
return l.value = l.value === d ? ee(t) : d, l.value;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
return s ? i : [l, i];
|
|
@@ -499,42 +499,42 @@ function Qn(n, e, o = {}) {
|
|
|
499
499
|
}
|
|
500
500
|
);
|
|
501
501
|
}
|
|
502
|
-
const
|
|
503
|
-
function
|
|
502
|
+
const We = ct ? window : void 0, Ot = ct ? window.navigator : void 0;
|
|
503
|
+
function ye(n) {
|
|
504
504
|
var e;
|
|
505
505
|
const o = ee(n);
|
|
506
506
|
return (e = o == null ? void 0 : o.$el) != null ? e : o;
|
|
507
507
|
}
|
|
508
508
|
function he(...n) {
|
|
509
509
|
let e, o, t, s;
|
|
510
|
-
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, t, s] = n, e =
|
|
511
|
-
return
|
|
510
|
+
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, t, s] = n, e = We) : [e, o, t, s] = n, !e)
|
|
511
|
+
return Ge;
|
|
512
512
|
Array.isArray(o) || (o = [o]), Array.isArray(t) || (t = [t]);
|
|
513
513
|
const l = [], i = () => {
|
|
514
514
|
l.forEach((f) => f()), l.length = 0;
|
|
515
|
-
},
|
|
516
|
-
() => [
|
|
515
|
+
}, c = (f, a, m, E) => (f.addEventListener(a, m, E), () => f.removeEventListener(a, m, E)), d = Q(
|
|
516
|
+
() => [ye(e), ee(s)],
|
|
517
517
|
([f, a]) => {
|
|
518
518
|
if (i(), !f)
|
|
519
519
|
return;
|
|
520
|
-
const
|
|
520
|
+
const m = Bn(a) ? { ...a } : a;
|
|
521
521
|
l.push(
|
|
522
|
-
...o.flatMap((
|
|
522
|
+
...o.flatMap((E) => t.map((A) => c(f, E, A, m)))
|
|
523
523
|
);
|
|
524
524
|
},
|
|
525
525
|
{ immediate: !0, flush: "post" }
|
|
526
|
-
),
|
|
527
|
-
|
|
526
|
+
), h = () => {
|
|
527
|
+
d(), i();
|
|
528
528
|
};
|
|
529
|
-
return
|
|
529
|
+
return ut(h), h;
|
|
530
530
|
}
|
|
531
531
|
function eo() {
|
|
532
|
-
const n = T(!1), e =
|
|
532
|
+
const n = T(!1), e = nt();
|
|
533
533
|
return e && St(() => {
|
|
534
534
|
n.value = !0;
|
|
535
535
|
}, e), n;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function dt(n) {
|
|
538
538
|
const e = eo();
|
|
539
539
|
return V(() => (e.value, !!n()));
|
|
540
540
|
}
|
|
@@ -542,12 +542,12 @@ function It(n, e = {}) {
|
|
|
542
542
|
const {
|
|
543
543
|
controls: o = !1,
|
|
544
544
|
navigator: t = Ot
|
|
545
|
-
} = e, s =
|
|
545
|
+
} = e, s = dt(() => t && "permissions" in t), l = ht(), i = typeof n == "string" ? { name: n } : n, c = ht(), d = () => {
|
|
546
546
|
var f, a;
|
|
547
|
-
|
|
547
|
+
c.value = (a = (f = l.value) == null ? void 0 : f.state) != null ? a : "prompt";
|
|
548
548
|
};
|
|
549
|
-
he(l, "change",
|
|
550
|
-
const
|
|
549
|
+
he(l, "change", d);
|
|
550
|
+
const h = Kn(async () => {
|
|
551
551
|
if (s.value) {
|
|
552
552
|
if (!l.value)
|
|
553
553
|
try {
|
|
@@ -555,17 +555,17 @@ function It(n, e = {}) {
|
|
|
555
555
|
} catch {
|
|
556
556
|
l.value = void 0;
|
|
557
557
|
} finally {
|
|
558
|
-
|
|
558
|
+
d();
|
|
559
559
|
}
|
|
560
560
|
if (o)
|
|
561
561
|
return Tt(l.value);
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
|
-
return
|
|
565
|
-
state:
|
|
564
|
+
return h(), o ? {
|
|
565
|
+
state: c,
|
|
566
566
|
isSupported: s,
|
|
567
|
-
query:
|
|
568
|
-
} :
|
|
567
|
+
query: h
|
|
568
|
+
} : c;
|
|
569
569
|
}
|
|
570
570
|
function to(n = {}) {
|
|
571
571
|
const {
|
|
@@ -574,101 +574,101 @@ function to(n = {}) {
|
|
|
574
574
|
source: t,
|
|
575
575
|
copiedDuring: s = 1500,
|
|
576
576
|
legacy: l = !1
|
|
577
|
-
} = n, i =
|
|
578
|
-
function
|
|
579
|
-
i.value &&
|
|
580
|
-
f.value =
|
|
581
|
-
}) : f.value =
|
|
577
|
+
} = n, i = dt(() => e && "clipboard" in e), c = It("clipboard-read"), d = It("clipboard-write"), h = V(() => i.value || l), f = T(""), a = T(!1), m = Yn(() => a.value = !1, s);
|
|
578
|
+
function E() {
|
|
579
|
+
i.value && U(c.value) ? e.clipboard.readText().then((D) => {
|
|
580
|
+
f.value = D;
|
|
581
|
+
}) : f.value = $();
|
|
582
582
|
}
|
|
583
|
-
|
|
584
|
-
async function
|
|
585
|
-
|
|
583
|
+
h.value && o && he(["copy", "cut"], E);
|
|
584
|
+
async function A(D = ee(t)) {
|
|
585
|
+
h.value && D != null && (i.value && U(d.value) ? await e.clipboard.writeText(D) : g(D), f.value = D, a.value = !0, m.start());
|
|
586
586
|
}
|
|
587
|
-
function
|
|
588
|
-
const
|
|
589
|
-
|
|
587
|
+
function g(D) {
|
|
588
|
+
const _ = document.createElement("textarea");
|
|
589
|
+
_.value = D ?? "", _.style.position = "absolute", _.style.opacity = "0", document.body.appendChild(_), _.select(), document.execCommand("copy"), _.remove();
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
var
|
|
593
|
-
return (
|
|
591
|
+
function $() {
|
|
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
|
-
isSupported:
|
|
599
|
+
isSupported: h,
|
|
600
600
|
text: f,
|
|
601
601
|
copied: a,
|
|
602
|
-
copy:
|
|
602
|
+
copy: A
|
|
603
603
|
};
|
|
604
604
|
}
|
|
605
605
|
function no(n) {
|
|
606
606
|
return JSON.parse(JSON.stringify(n));
|
|
607
607
|
}
|
|
608
608
|
function oo(n, e, o = {}) {
|
|
609
|
-
const { window: t =
|
|
609
|
+
const { window: t = We, ...s } = o;
|
|
610
610
|
let l;
|
|
611
|
-
const i =
|
|
611
|
+
const i = dt(() => t && "ResizeObserver" in t), c = () => {
|
|
612
612
|
l && (l.disconnect(), l = void 0);
|
|
613
|
-
},
|
|
613
|
+
}, d = V(() => {
|
|
614
614
|
const a = ee(n);
|
|
615
|
-
return Array.isArray(a) ? a.map((
|
|
616
|
-
}),
|
|
617
|
-
|
|
615
|
+
return Array.isArray(a) ? a.map((m) => ye(m)) : [ye(a)];
|
|
616
|
+
}), h = Q(
|
|
617
|
+
d,
|
|
618
618
|
(a) => {
|
|
619
|
-
if (
|
|
619
|
+
if (c(), i.value && t) {
|
|
620
620
|
l = new ResizeObserver(e);
|
|
621
|
-
for (const
|
|
622
|
-
|
|
621
|
+
for (const m of a)
|
|
622
|
+
m && l.observe(m, s);
|
|
623
623
|
}
|
|
624
624
|
},
|
|
625
625
|
{ immediate: !0, flush: "post" }
|
|
626
626
|
), f = () => {
|
|
627
|
-
|
|
627
|
+
c(), h();
|
|
628
628
|
};
|
|
629
|
-
return
|
|
629
|
+
return ut(f), {
|
|
630
630
|
isSupported: i,
|
|
631
631
|
stop: f
|
|
632
632
|
};
|
|
633
633
|
}
|
|
634
634
|
function lo(n, e = { width: 0, height: 0 }, o = {}) {
|
|
635
|
-
const { window: t =
|
|
636
|
-
var a,
|
|
637
|
-
return (
|
|
638
|
-
}), i = T(e.width),
|
|
635
|
+
const { window: t = We, box: s = "content-box" } = o, l = V(() => {
|
|
636
|
+
var a, m;
|
|
637
|
+
return (m = (a = ye(n)) == null ? void 0 : a.namespaceURI) == null ? void 0 : m.includes("svg");
|
|
638
|
+
}), i = T(e.width), c = T(e.height), { stop: d } = oo(
|
|
639
639
|
n,
|
|
640
640
|
([a]) => {
|
|
641
|
-
const
|
|
641
|
+
const m = s === "border-box" ? a.borderBoxSize : s === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
642
642
|
if (t && l.value) {
|
|
643
|
-
const
|
|
644
|
-
if (
|
|
645
|
-
const
|
|
646
|
-
i.value =
|
|
643
|
+
const E = ye(n);
|
|
644
|
+
if (E) {
|
|
645
|
+
const A = E.getBoundingClientRect();
|
|
646
|
+
i.value = A.width, c.value = A.height;
|
|
647
647
|
}
|
|
648
|
-
} else if (
|
|
649
|
-
const
|
|
650
|
-
i.value =
|
|
648
|
+
} else if (m) {
|
|
649
|
+
const E = Array.isArray(m) ? m : [m];
|
|
650
|
+
i.value = E.reduce((A, { inlineSize: g }) => A + g, 0), c.value = E.reduce((A, { blockSize: g }) => A + g, 0);
|
|
651
651
|
} else
|
|
652
|
-
i.value = a.contentRect.width,
|
|
652
|
+
i.value = a.contentRect.width, c.value = a.contentRect.height;
|
|
653
653
|
},
|
|
654
654
|
o
|
|
655
655
|
);
|
|
656
656
|
Jn(() => {
|
|
657
|
-
const a =
|
|
658
|
-
a && (i.value = "offsetWidth" in a ? a.offsetWidth : e.width,
|
|
657
|
+
const a = ye(n);
|
|
658
|
+
a && (i.value = "offsetWidth" in a ? a.offsetWidth : e.width, c.value = "offsetHeight" in a ? a.offsetHeight : e.height);
|
|
659
659
|
});
|
|
660
|
-
const
|
|
661
|
-
() =>
|
|
660
|
+
const h = Q(
|
|
661
|
+
() => ye(n),
|
|
662
662
|
(a) => {
|
|
663
|
-
i.value = a ? e.width : 0,
|
|
663
|
+
i.value = a ? e.width : 0, c.value = a ? e.height : 0;
|
|
664
664
|
}
|
|
665
665
|
);
|
|
666
666
|
function f() {
|
|
667
|
-
|
|
667
|
+
d(), h();
|
|
668
668
|
}
|
|
669
669
|
return {
|
|
670
670
|
width: i,
|
|
671
|
-
height:
|
|
671
|
+
height: c,
|
|
672
672
|
stop: f
|
|
673
673
|
};
|
|
674
674
|
}
|
|
@@ -685,91 +685,91 @@ const so = {
|
|
|
685
685
|
function ao(n = {}) {
|
|
686
686
|
const {
|
|
687
687
|
reactive: e = !1,
|
|
688
|
-
target: o =
|
|
688
|
+
target: o = We,
|
|
689
689
|
aliasMap: t = so,
|
|
690
690
|
passive: s = !0,
|
|
691
|
-
onEventFired: l =
|
|
692
|
-
} = n, i =
|
|
691
|
+
onEventFired: l = Ge
|
|
692
|
+
} = n, i = mt(/* @__PURE__ */ new Set()), c = {
|
|
693
693
|
toJSON() {
|
|
694
694
|
return {};
|
|
695
695
|
},
|
|
696
696
|
current: i
|
|
697
|
-
},
|
|
698
|
-
function a(
|
|
699
|
-
|
|
697
|
+
}, d = e ? mt(c) : c, h = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set();
|
|
698
|
+
function a(g, $) {
|
|
699
|
+
g in d && (e ? d[g] = $ : d[g].value = $);
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function m() {
|
|
702
702
|
i.clear();
|
|
703
|
-
for (const
|
|
704
|
-
a(
|
|
703
|
+
for (const g of f)
|
|
704
|
+
a(g, !1);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
707
|
-
var
|
|
708
|
-
const
|
|
709
|
-
|
|
710
|
-
for (const
|
|
711
|
-
f.add(
|
|
712
|
-
|
|
713
|
-
i.delete(
|
|
714
|
-
}),
|
|
706
|
+
function E(g, $) {
|
|
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
|
+
_ && ($ ? i.add(_) : i.delete(_));
|
|
710
|
+
for (const L of S)
|
|
711
|
+
f.add(L), a(L, $);
|
|
712
|
+
_ === "meta" && !$ ? (h.forEach((L) => {
|
|
713
|
+
i.delete(L), a(L, !1);
|
|
714
|
+
}), h.clear()) : typeof g.getModifierState == "function" && g.getModifierState("Meta") && $ && [...i, ...S].forEach((L) => h.add(L));
|
|
715
715
|
}
|
|
716
|
-
he(o, "keydown", (
|
|
717
|
-
const
|
|
718
|
-
|
|
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
|
+
const A = new Proxy(
|
|
718
|
+
d,
|
|
719
719
|
{
|
|
720
|
-
get(
|
|
721
|
-
if (typeof
|
|
722
|
-
return Reflect.get(
|
|
723
|
-
if (
|
|
724
|
-
if (/[+_-]/.test(
|
|
725
|
-
const
|
|
726
|
-
|
|
720
|
+
get(g, $, U) {
|
|
721
|
+
if (typeof $ != "string")
|
|
722
|
+
return Reflect.get(g, $, U);
|
|
723
|
+
if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in d))
|
|
724
|
+
if (/[+_-]/.test($)) {
|
|
725
|
+
const _ = $.split(/[+_-]/g).map((C) => C.trim());
|
|
726
|
+
d[$] = V(() => _.every((C) => ee(A[C])));
|
|
727
727
|
} else
|
|
728
|
-
|
|
729
|
-
const
|
|
730
|
-
return e ? ee(
|
|
728
|
+
d[$] = T(!1);
|
|
729
|
+
const D = Reflect.get(g, $, U);
|
|
730
|
+
return e ? ee(D) : D;
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
);
|
|
734
|
-
return
|
|
734
|
+
return A;
|
|
735
735
|
}
|
|
736
736
|
function io(n, e, o, t = {}) {
|
|
737
737
|
var s, l, i;
|
|
738
738
|
const {
|
|
739
|
-
clone:
|
|
740
|
-
passive:
|
|
741
|
-
eventName:
|
|
739
|
+
clone: c = !1,
|
|
740
|
+
passive: d = !1,
|
|
741
|
+
eventName: h,
|
|
742
742
|
deep: f = !1,
|
|
743
743
|
defaultValue: a,
|
|
744
|
-
shouldEmit:
|
|
745
|
-
} = t,
|
|
746
|
-
let
|
|
747
|
-
|
|
748
|
-
const
|
|
749
|
-
|
|
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)) || ((i = (l = E == null ? void 0 : E.proxy) == null ? void 0 : l.$emit) == null ? void 0 : i.bind(E == null ? void 0 : E.proxy));
|
|
746
|
+
let g = h;
|
|
747
|
+
g = g || `update:${e.toString()}`;
|
|
748
|
+
const $ = (_) => c ? typeof c == "function" ? c(_) : no(_) : _, U = () => Un(n[e]) ? $(n[e]) : a, D = (_) => {
|
|
749
|
+
m ? m(_) && A(g, _) : A(g, _);
|
|
750
750
|
};
|
|
751
|
-
if (
|
|
752
|
-
const
|
|
753
|
-
let
|
|
754
|
-
return
|
|
751
|
+
if (d) {
|
|
752
|
+
const _ = U(), C = T(_);
|
|
753
|
+
let S = !1;
|
|
754
|
+
return Q(
|
|
755
755
|
() => n[e],
|
|
756
|
-
(
|
|
757
|
-
|
|
756
|
+
(L) => {
|
|
757
|
+
S || (S = !0, C.value = $(L), Be(() => S = !1));
|
|
758
758
|
}
|
|
759
|
-
),
|
|
760
|
-
|
|
761
|
-
(
|
|
762
|
-
!
|
|
759
|
+
), Q(
|
|
760
|
+
C,
|
|
761
|
+
(L) => {
|
|
762
|
+
!S && (L !== n[e] || f) && D(L);
|
|
763
763
|
},
|
|
764
764
|
{ deep: f }
|
|
765
|
-
),
|
|
765
|
+
), C;
|
|
766
766
|
} else
|
|
767
767
|
return V({
|
|
768
768
|
get() {
|
|
769
|
-
return
|
|
769
|
+
return U();
|
|
770
770
|
},
|
|
771
|
-
set(
|
|
772
|
-
|
|
771
|
+
set(_) {
|
|
772
|
+
D(_);
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
}
|
|
@@ -800,149 +800,149 @@ 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 =
|
|
803
|
+
const e = n, o = it(), { copy: t, isSupported: s } = to(), l = T(!1), i = V(() => Et(e.data.value)), c = V(() => i.value.value), d = V(() => i.value.customType), h = V(() => c.value === null ? "null" : typeof c.value), f = {
|
|
804
804
|
flat: !0,
|
|
805
805
|
size: "mini"
|
|
806
806
|
}, a = V(() => ({
|
|
807
807
|
"opacity-0": !e.hovering
|
|
808
808
|
}));
|
|
809
|
-
async function
|
|
810
|
-
await
|
|
809
|
+
async function m(A, g = !1) {
|
|
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,
|
|
814
814
|
nodeId: o.value.nodeId,
|
|
815
815
|
state: {
|
|
816
816
|
newKey: null,
|
|
817
|
-
value: Tt(
|
|
818
|
-
type:
|
|
819
|
-
remove:
|
|
817
|
+
value: Tt(A),
|
|
818
|
+
type: h.value,
|
|
819
|
+
remove: g
|
|
820
820
|
}
|
|
821
|
-
}), await
|
|
821
|
+
}), await P.value.sendInspectorState(o.value.inspectorId);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
const
|
|
825
|
-
|
|
823
|
+
function E(A, g) {
|
|
824
|
+
const $ = typeof A == "number" ? A + g : BigInt(A) + BigInt(g);
|
|
825
|
+
m($);
|
|
826
826
|
}
|
|
827
|
-
return (
|
|
828
|
-
!e.disableEdit &&
|
|
829
|
-
|
|
830
|
-
|
|
827
|
+
return (A, g) => (p(), v("div", uo, [
|
|
828
|
+
!e.disableEdit && A.data.editable ? (p(), v(te, { key: 0 }, [
|
|
829
|
+
h.value === "string" || h.value === "number" || h.value === "object" || h.value === "null" ? (p(), v(te, { key: 0 }, [
|
|
830
|
+
W((p(), z(u(de), ke(f, {
|
|
831
831
|
class: a.value,
|
|
832
|
-
onClick:
|
|
832
|
+
onClick: g[0] || (g[0] = fe(($) => A.$emit("enableEditInput", h.value), ["stop"]))
|
|
833
833
|
}), {
|
|
834
|
-
icon:
|
|
835
|
-
|
|
834
|
+
icon: H(() => [
|
|
835
|
+
y(u(oe), { icon: "i-material-symbols-edit-rounded" })
|
|
836
836
|
]),
|
|
837
837
|
_: 1
|
|
838
838
|
}, 16, ["class"])), [
|
|
839
|
-
[
|
|
839
|
+
[u(J), {
|
|
840
840
|
content: "Edit value"
|
|
841
841
|
}]
|
|
842
842
|
]),
|
|
843
|
-
|
|
843
|
+
h.value === "object" && A.showAddIfNeeded ? W((p(), z(u(de), ke({ key: 0 }, f, {
|
|
844
844
|
class: a.value,
|
|
845
|
-
onClick:
|
|
845
|
+
onClick: g[1] || (g[1] = fe(($) => A.$emit("addNewProp", Array.isArray(c.value) ? "array" : "object"), ["stop"]))
|
|
846
846
|
}), {
|
|
847
|
-
icon:
|
|
848
|
-
|
|
847
|
+
icon: H(() => [
|
|
848
|
+
y(u(oe), { icon: "i-material-symbols-add-circle-rounded" })
|
|
849
849
|
]),
|
|
850
850
|
_: 1
|
|
851
851
|
}, 16, ["class"])), [
|
|
852
|
-
[
|
|
852
|
+
[u(J), {
|
|
853
853
|
content: "Add new value"
|
|
854
854
|
}]
|
|
855
|
-
]) :
|
|
856
|
-
], 64)) :
|
|
857
|
-
|
|
855
|
+
]) : O("", !0)
|
|
856
|
+
], 64)) : O("", !0),
|
|
857
|
+
h.value === "boolean" ? (p(), z(u(de), ke({ key: 1 }, f, {
|
|
858
858
|
class: a.value,
|
|
859
|
-
onClick:
|
|
859
|
+
onClick: g[2] || (g[2] = ($) => m(!c.value))
|
|
860
860
|
}), {
|
|
861
|
-
icon:
|
|
862
|
-
|
|
863
|
-
icon:
|
|
861
|
+
icon: H(() => [
|
|
862
|
+
y(u(oe), {
|
|
863
|
+
icon: c.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"])) :
|
|
868
|
-
|
|
867
|
+
}, 16, ["class"])) : h.value === "number" || d.value === "bigint" ? (p(), v(te, { key: 2 }, [
|
|
868
|
+
y(u(de), ke(f, {
|
|
869
869
|
class: a.value,
|
|
870
|
-
onClick:
|
|
870
|
+
onClick: g[3] || (g[3] = fe(($) => E(c.value, 1), ["stop"]))
|
|
871
871
|
}), {
|
|
872
|
-
icon:
|
|
873
|
-
|
|
872
|
+
icon: H(() => [
|
|
873
|
+
y(u(oe), { icon: "i-carbon-add" })
|
|
874
874
|
]),
|
|
875
875
|
_: 1
|
|
876
876
|
}, 16, ["class"]),
|
|
877
|
-
|
|
877
|
+
y(u(de), ke(f, {
|
|
878
878
|
class: a.value,
|
|
879
|
-
onClick:
|
|
879
|
+
onClick: g[4] || (g[4] = fe(($) => E(c.value, -1), ["stop"]))
|
|
880
880
|
}), {
|
|
881
|
-
icon:
|
|
882
|
-
|
|
881
|
+
icon: H(() => [
|
|
882
|
+
y(u(oe), { icon: "i-carbon-subtract" })
|
|
883
883
|
]),
|
|
884
884
|
_: 1
|
|
885
885
|
}, 16, ["class"])
|
|
886
|
-
], 64)) :
|
|
887
|
-
], 64)) :
|
|
888
|
-
!e.disableEdit &&
|
|
886
|
+
], 64)) : O("", !0)
|
|
887
|
+
], 64)) : O("", !0),
|
|
888
|
+
!e.disableEdit && A.depth > 0 && A.data.editable ? (p(), z(u(de), ke({ key: 1 }, f, {
|
|
889
889
|
class: a.value,
|
|
890
|
-
onClick:
|
|
890
|
+
onClick: g[5] || (g[5] = fe(($) => m(c.value, !0), ["stop"]))
|
|
891
891
|
}), {
|
|
892
|
-
icon:
|
|
893
|
-
|
|
892
|
+
icon: H(() => [
|
|
893
|
+
y(u(oe), { icon: "i-material-symbols-delete-rounded" })
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
|
-
}, 16, ["class"])) :
|
|
897
|
-
|
|
896
|
+
}, 16, ["class"])) : O("", !0),
|
|
897
|
+
y(u(on), {
|
|
898
898
|
class: ie({
|
|
899
|
-
"opacity-0": !
|
|
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: !
|
|
906
|
-
"onUpdate:visible":
|
|
905
|
+
disabled: !u(s),
|
|
906
|
+
"onUpdate:visible": g[8] || (g[8] = ($) => l.value = $)
|
|
907
907
|
}, {
|
|
908
|
-
popper:
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
onClick:
|
|
908
|
+
popper: H(() => [
|
|
909
|
+
r("div", co, [
|
|
910
|
+
y(u(gt), {
|
|
911
|
+
onClick: g[6] || (g[6] = ($) => u(t)(typeof c.value == "object" ? JSON.stringify(c.value) : c.value.toString()))
|
|
912
912
|
}, {
|
|
913
|
-
icon:
|
|
914
|
-
|
|
913
|
+
icon: H(() => [
|
|
914
|
+
y(u(oe), {
|
|
915
915
|
icon: "i-material-symbols-copy-all-rounded",
|
|
916
916
|
class: "mt4px"
|
|
917
917
|
}),
|
|
918
|
-
|
|
918
|
+
g[9] || (g[9] = ne(" Copy Value "))
|
|
919
919
|
]),
|
|
920
920
|
_: 1
|
|
921
921
|
}),
|
|
922
|
-
|
|
923
|
-
onClick:
|
|
924
|
-
|
|
922
|
+
y(u(gt), {
|
|
923
|
+
onClick: g[7] || (g[7] = () => {
|
|
924
|
+
u(t)(A.data.key);
|
|
925
925
|
})
|
|
926
926
|
}, {
|
|
927
|
-
icon:
|
|
928
|
-
|
|
927
|
+
icon: H(() => [
|
|
928
|
+
y(u(oe), {
|
|
929
929
|
icon: "i-material-symbols-copy-all-rounded",
|
|
930
930
|
class: "mt4px"
|
|
931
931
|
}),
|
|
932
|
-
|
|
932
|
+
g[10] || (g[10] = ne(" Copy Path "))
|
|
933
933
|
]),
|
|
934
934
|
_: 1
|
|
935
935
|
})
|
|
936
936
|
])
|
|
937
937
|
]),
|
|
938
|
-
"button-icon":
|
|
939
|
-
|
|
938
|
+
"button-icon": H(() => [
|
|
939
|
+
y(u(oe), { icon: "i-material-symbols:more-vert" })
|
|
940
940
|
]),
|
|
941
941
|
_: 1
|
|
942
942
|
}, 8, ["class", "disabled"])
|
|
943
943
|
]));
|
|
944
944
|
}
|
|
945
|
-
}), fo = { class: "flex-inline items-center gap4px" },
|
|
945
|
+
}), fo = { class: "flex-inline items-center gap4px" }, Xe = /* @__PURE__ */ B({
|
|
946
946
|
__name: "StateFieldInputEditor",
|
|
947
947
|
props: {
|
|
948
948
|
modelValue: {},
|
|
@@ -953,72 +953,72 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
953
953
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
954
954
|
setup(n, { emit: e }) {
|
|
955
955
|
const o = n, t = e, s = V(() => o.customType === "date" ? "datetime-local" : ""), { escape: l, enter: i } = ao();
|
|
956
|
-
|
|
956
|
+
ot(() => {
|
|
957
957
|
l.value ? t("cancel") : i.value && t("submit");
|
|
958
958
|
});
|
|
959
|
-
const
|
|
960
|
-
function
|
|
959
|
+
const c = io(o, "modelValue", t);
|
|
960
|
+
function d(a) {
|
|
961
961
|
try {
|
|
962
962
|
return Ue(a, o.customType), !0;
|
|
963
963
|
} catch {
|
|
964
964
|
return !1;
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
const
|
|
968
|
-
return
|
|
969
|
-
|
|
970
|
-
}, 300)), (a,
|
|
971
|
-
|
|
972
|
-
modelValue:
|
|
973
|
-
"onUpdate:modelValue":
|
|
967
|
+
const h = T(!1);
|
|
968
|
+
return Q(c, gn(() => {
|
|
969
|
+
h.value = !d(c.value);
|
|
970
|
+
}, 300)), (a, m) => (p(), v("span", fo, [
|
|
971
|
+
y(u(Ze), {
|
|
972
|
+
modelValue: u(c),
|
|
973
|
+
"onUpdate:modelValue": m[0] || (m[0] = (E) => Ke(c) ? c.value = E : null),
|
|
974
974
|
type: s.value,
|
|
975
|
-
variant:
|
|
975
|
+
variant: h.value ? "warning" : "normal",
|
|
976
976
|
class: ie(["h25px px4px", a.customType === "date" ? "w240px" : "w120px"]),
|
|
977
977
|
"auto-focus": a.autoFocus,
|
|
978
|
-
onClick:
|
|
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
|
-
|
|
981
|
+
a.showActions ? (p(), v(te, { key: 0 }, [
|
|
982
|
+
W((p(), z(u(de), {
|
|
983
983
|
size: "mini",
|
|
984
984
|
flat: "",
|
|
985
985
|
class: "p2px!",
|
|
986
|
-
onClick:
|
|
986
|
+
onClick: m[2] || (m[2] = fe((E) => a.$emit("cancel"), ["stop"]))
|
|
987
987
|
}, {
|
|
988
|
-
icon:
|
|
989
|
-
|
|
988
|
+
icon: H(() => [
|
|
989
|
+
y(u(oe), { icon: "i-material-symbols-cancel" })
|
|
990
990
|
]),
|
|
991
991
|
_: 1
|
|
992
992
|
})), [
|
|
993
|
-
[
|
|
993
|
+
[u(J), {
|
|
994
994
|
content: "Esc to cancel"
|
|
995
995
|
}]
|
|
996
996
|
]),
|
|
997
|
-
|
|
997
|
+
h.value ? W((p(), z(u(oe), {
|
|
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
|
+
[u(J), {
|
|
1003
1003
|
content: "Invalid value"
|
|
1004
1004
|
}]
|
|
1005
|
-
]) :
|
|
1005
|
+
]) : W((p(), z(u(de), {
|
|
1006
1006
|
key: 0,
|
|
1007
1007
|
size: "mini",
|
|
1008
1008
|
flat: "",
|
|
1009
1009
|
class: "p2px!",
|
|
1010
|
-
onClick:
|
|
1010
|
+
onClick: m[3] || (m[3] = fe((E) => a.$emit("submit"), ["stop"]))
|
|
1011
1011
|
}, {
|
|
1012
|
-
icon:
|
|
1013
|
-
|
|
1012
|
+
icon: H(() => [
|
|
1013
|
+
y(u(oe), { icon: "i-material-symbols-save" })
|
|
1014
1014
|
]),
|
|
1015
1015
|
_: 1
|
|
1016
1016
|
})), [
|
|
1017
|
-
[
|
|
1017
|
+
[u(J), {
|
|
1018
1018
|
content: "Enter to submit change"
|
|
1019
1019
|
}]
|
|
1020
1020
|
])
|
|
1021
|
-
], 64)) :
|
|
1021
|
+
], 64)) : O("", !0)
|
|
1022
1022
|
]));
|
|
1023
1023
|
}
|
|
1024
1024
|
}), vo = {
|
|
@@ -1041,170 +1041,170 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1041
1041
|
expandedStateId: {}
|
|
1042
1042
|
},
|
|
1043
1043
|
setup(n) {
|
|
1044
|
-
const e = n, o = T($t), t = V(() =>
|
|
1044
|
+
const e = n, o = T($t), t = V(() => vn(e.data.value, !1, {
|
|
1045
1045
|
customClass: {
|
|
1046
1046
|
string: "max-w-120 truncate"
|
|
1047
1047
|
}
|
|
1048
|
-
})), s = V(() => Ct(e.data.value)), l = V(() => Et(e.data.value)), { expanded: i, toggleExpanded:
|
|
1049
|
-
var
|
|
1050
|
-
return s.value === "custom" ? `${((
|
|
1051
|
-
}),
|
|
1052
|
-
const { value:
|
|
1053
|
-
return _t(
|
|
1054
|
-
}), f = V(() => e.data.path || [e.data.key]), a = V(() => f.value[f.value.length - 1]),
|
|
1055
|
-
var F, se, re, ce,
|
|
1056
|
-
const
|
|
1057
|
-
if (
|
|
1058
|
-
return
|
|
1059
|
-
if ((
|
|
1048
|
+
})), s = V(() => Ct(e.data.value)), l = V(() => Et(e.data.value)), { expanded: i, toggleExpanded: c } = rt(e.expandedStateId ?? ""), d = V(() => {
|
|
1049
|
+
var x;
|
|
1050
|
+
return s.value === "custom" ? `${((x = e.data.value._custom) == null ? void 0 : x.type) ?? "string"}-custom-state` : "";
|
|
1051
|
+
}), h = V(() => {
|
|
1052
|
+
const { value: x } = l.value;
|
|
1053
|
+
return _t(x) ? x.length : xt(x) ? Object.keys(x).length : 0;
|
|
1054
|
+
}), f = V(() => e.data.path || [e.data.key]), a = V(() => f.value[f.value.length - 1]), m = V(() => {
|
|
1055
|
+
var F, se, re, ce, _e, xe, Le;
|
|
1056
|
+
const x = ["Reactive"], R = ((se = (F = e.data.value) == null ? void 0 : F._custom) == null ? void 0 : se.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
|
|
1057
|
+
if (x.includes(R))
|
|
1058
|
+
return R;
|
|
1059
|
+
if ((_e = (ce = e.data.value) == null ? void 0 : ce.fields) != null && _e.abstract)
|
|
1060
1060
|
return "";
|
|
1061
1061
|
{
|
|
1062
|
-
const
|
|
1063
|
-
return
|
|
1062
|
+
const He = (Le = (xe = e.data.value) == null ? void 0 : xe._custom) == null ? void 0 : Le.type, je = s.value === "custom" && !He ? `"${t.value}"` : t.value === "" ? '""' : t.value, Oe = s.value === "custom" && He === "ref" ? Ct(je) : s.value, qe = s.value === "string" ? "select-text" : "", Ee = `<span title="${s.value === "string" ? e.data.value : ""}" class="${Oe}-state-type flex whitespace-nowrap ${qe}">${je}</span>`;
|
|
1063
|
+
return R ? `${Ee} <span class="text-gray-500">(${R})</span>` : Ee;
|
|
1064
1064
|
}
|
|
1065
|
-
}),
|
|
1066
|
-
const { value:
|
|
1065
|
+
}), E = V(() => {
|
|
1066
|
+
const { value: x, inherit: R, customType: F } = l.value, se = F === "set";
|
|
1067
1067
|
let re = [];
|
|
1068
|
-
return _t(
|
|
1069
|
-
key:
|
|
1070
|
-
path: [...f.value,
|
|
1071
|
-
value:
|
|
1072
|
-
...
|
|
1068
|
+
return _t(x) ? x.slice(0, o.value).map((_e, xe) => ({
|
|
1069
|
+
key: xe.toString(),
|
|
1070
|
+
path: [...f.value, xe.toString()],
|
|
1071
|
+
value: _e,
|
|
1072
|
+
...R,
|
|
1073
1073
|
editable: e.data.editable && !se,
|
|
1074
1074
|
creating: !1
|
|
1075
|
-
})) : (xt(
|
|
1075
|
+
})) : (xt(x) && (re = Object.keys(x).slice(0, o.value).map((ce) => ({
|
|
1076
1076
|
key: ce,
|
|
1077
1077
|
path: [...f.value, ce],
|
|
1078
|
-
value:
|
|
1079
|
-
...
|
|
1078
|
+
value: x[ce],
|
|
1079
|
+
...R,
|
|
1080
1080
|
editable: e.data.editable && !se,
|
|
1081
1081
|
creating: !1
|
|
1082
|
-
})), s.value !== "custom" && (re =
|
|
1083
|
-
}),
|
|
1084
|
-
|
|
1085
|
-
if (
|
|
1086
|
-
const { value:
|
|
1087
|
-
|
|
1082
|
+
})), s.value !== "custom" && (re = Nt(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
|
+
Q(() => _.value, (x) => {
|
|
1085
|
+
if (x) {
|
|
1086
|
+
const { value: R } = l.value;
|
|
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
|
|
1092
|
+
const x = e.data;
|
|
1093
|
+
await P.value.editInspectorState({
|
|
1094
1094
|
path: f.value,
|
|
1095
|
-
inspectorId:
|
|
1096
|
-
type:
|
|
1097
|
-
nodeId:
|
|
1095
|
+
inspectorId: $.value.inspectorId,
|
|
1096
|
+
type: x.stateType,
|
|
1097
|
+
nodeId: L.value,
|
|
1098
1098
|
state: {
|
|
1099
1099
|
newKey: null,
|
|
1100
|
-
type:
|
|
1101
|
-
value: Ue(
|
|
1100
|
+
type: D.value,
|
|
1101
|
+
value: Ue(C.value, l.value.customType)
|
|
1102
1102
|
}
|
|
1103
|
-
}), await
|
|
1104
|
-
}
|
|
1105
|
-
const { addNewProp: Z, draftingNewProp:
|
|
1106
|
-
function
|
|
1107
|
-
const
|
|
1108
|
-
i.value.includes(
|
|
1109
|
-
}
|
|
1110
|
-
async function
|
|
1111
|
-
const
|
|
1112
|
-
await
|
|
1113
|
-
path: [...f.value,
|
|
1114
|
-
inspectorId:
|
|
1115
|
-
type:
|
|
1116
|
-
nodeId:
|
|
1103
|
+
}), await P.value.sendInspectorState($.value.inspectorId), S();
|
|
1104
|
+
}
|
|
1105
|
+
const { addNewProp: Z, draftingNewProp: N, resetDrafting: M } = On();
|
|
1106
|
+
function w(x) {
|
|
1107
|
+
const R = `${e.depth}-${e.index}`;
|
|
1108
|
+
i.value.includes(R) || c(R), Z(x, l.value.value);
|
|
1109
|
+
}
|
|
1110
|
+
async function k() {
|
|
1111
|
+
const x = e.data;
|
|
1112
|
+
await P.value.editInspectorState({
|
|
1113
|
+
path: [...f.value, N.value.key],
|
|
1114
|
+
inspectorId: $.value.inspectorId,
|
|
1115
|
+
type: x.stateType,
|
|
1116
|
+
nodeId: L.value,
|
|
1117
1117
|
state: {
|
|
1118
|
-
newKey:
|
|
1119
|
-
type: typeof Ue(
|
|
1120
|
-
value: Ue(
|
|
1118
|
+
newKey: N.value.key,
|
|
1119
|
+
type: typeof Ue(N.value.value),
|
|
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 (x, R) => (p(), v("div", null, [
|
|
1125
|
+
r("div", {
|
|
1126
1126
|
ref_key: "containerRef",
|
|
1127
|
-
ref:
|
|
1128
|
-
class: ie(["font-state-field flex items-center text-3.5", [
|
|
1129
|
-
style: Ie({ paddingLeft: `${
|
|
1130
|
-
onClick:
|
|
1127
|
+
ref: g,
|
|
1128
|
+
class: ie(["font-state-field flex items-center text-3.5", [A.value && "cursor-pointer hover:bg-active"]]),
|
|
1129
|
+
style: Ie({ paddingLeft: `${x.depth * 15 + 4}px` }),
|
|
1130
|
+
onClick: R[1] || (R[1] = (F) => u(c)(`${x.depth}-${x.index}`))
|
|
1131
1131
|
}, [
|
|
1132
|
-
|
|
1132
|
+
A.value ? (p(), z(at, {
|
|
1133
1133
|
key: 0,
|
|
1134
|
-
value:
|
|
1135
|
-
}, null, 8, ["value"])) : (p(),
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1134
|
+
value: u(i).includes(`${x.depth}-${x.index}`)
|
|
1135
|
+
}, null, 8, ["value"])) : (p(), v("span", vo)),
|
|
1136
|
+
r("span", mo, le(a.value), 1),
|
|
1137
|
+
R[5] || (R[5] = r("span", { mx1: "" }, ":", -1)),
|
|
1138
|
+
u(_) ? (p(), z(Xe, {
|
|
1139
1139
|
key: 2,
|
|
1140
|
-
modelValue:
|
|
1141
|
-
"onUpdate:modelValue":
|
|
1140
|
+
modelValue: u(C),
|
|
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: u(S),
|
|
1145
1145
|
onSubmit: K
|
|
1146
|
-
}, null, 8, ["modelValue", "custom-type", "onCancel"])) :
|
|
1147
|
-
|
|
1148
|
-
class: ie([
|
|
1146
|
+
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : O("", !0),
|
|
1147
|
+
r("span", {
|
|
1148
|
+
class: ie([d.value, "flex whitespace-nowrap"])
|
|
1149
1149
|
}, [
|
|
1150
|
-
|
|
1150
|
+
r("span", {
|
|
1151
1151
|
class: "flex",
|
|
1152
|
-
innerHTML:
|
|
1152
|
+
innerHTML: m.value
|
|
1153
1153
|
}, null, 8, ho)
|
|
1154
1154
|
], 2),
|
|
1155
|
-
|
|
1156
|
-
hovering:
|
|
1157
|
-
"disable-edit":
|
|
1158
|
-
data:
|
|
1159
|
-
depth:
|
|
1160
|
-
onEnableEditInput:
|
|
1161
|
-
onAddNewProp:
|
|
1155
|
+
y(po, {
|
|
1156
|
+
hovering: u(U),
|
|
1157
|
+
"disable-edit": u($).disableEdit || u(_),
|
|
1158
|
+
data: x.data,
|
|
1159
|
+
depth: x.depth,
|
|
1160
|
+
onEnableEditInput: u(S),
|
|
1161
|
+
onAddNewProp: w
|
|
1162
1162
|
}, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
|
|
1163
1163
|
], 6),
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
data:
|
|
1167
|
-
depth:
|
|
1168
|
-
index:
|
|
1164
|
+
A.value && u(i).includes(`${x.depth}-${x.index}`) ? (p(), v("div", go, [
|
|
1165
|
+
y(Ut, {
|
|
1166
|
+
data: E.value,
|
|
1167
|
+
depth: x.depth,
|
|
1168
|
+
index: x.index
|
|
1169
1169
|
}, null, 8, ["data", "depth", "index"]),
|
|
1170
|
-
|
|
1170
|
+
h.value > o.value ? W((p(), z(u(de), {
|
|
1171
1171
|
key: 0,
|
|
1172
1172
|
flat: "",
|
|
1173
1173
|
size: "mini",
|
|
1174
1174
|
class: "ml-4",
|
|
1175
|
-
onClick:
|
|
1175
|
+
onClick: R[2] || (R[2] = (F) => o.value += $t)
|
|
1176
1176
|
}, {
|
|
1177
|
-
icon:
|
|
1178
|
-
|
|
1177
|
+
icon: H(() => [
|
|
1178
|
+
y(u(oe), { icon: "i-material-symbols-more-horiz" })
|
|
1179
1179
|
]),
|
|
1180
1180
|
_: 1
|
|
1181
1181
|
})), [
|
|
1182
|
-
[
|
|
1183
|
-
]) :
|
|
1184
|
-
|
|
1182
|
+
[u(J), "Show more"]
|
|
1183
|
+
]) : O("", !0),
|
|
1184
|
+
u(N).enable ? (p(), v("div", {
|
|
1185
1185
|
key: 1,
|
|
1186
|
-
style: Ie({ paddingLeft: `${(
|
|
1186
|
+
style: Ie({ paddingLeft: `${(x.depth + 1) * 15 + 4}px` })
|
|
1187
1187
|
}, [
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
modelValue:
|
|
1191
|
-
"onUpdate:modelValue":
|
|
1188
|
+
r("span", Co, [
|
|
1189
|
+
y(Xe, {
|
|
1190
|
+
modelValue: u(N).key,
|
|
1191
|
+
"onUpdate:modelValue": R[3] || (R[3] = (F) => u(N).key = F),
|
|
1192
1192
|
"show-actions": !1
|
|
1193
1193
|
}, null, 8, ["modelValue"])
|
|
1194
1194
|
]),
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
modelValue:
|
|
1198
|
-
"onUpdate:modelValue":
|
|
1195
|
+
R[6] || (R[6] = r("span", { "mx-1": "" }, ":", -1)),
|
|
1196
|
+
y(Xe, {
|
|
1197
|
+
modelValue: u(N).value,
|
|
1198
|
+
"onUpdate:modelValue": R[4] || (R[4] = (F) => u(N).value = F),
|
|
1199
1199
|
"auto-focus": !1,
|
|
1200
|
-
onCancel:
|
|
1201
|
-
onSubmit:
|
|
1200
|
+
onCancel: u(M),
|
|
1201
|
+
onSubmit: k
|
|
1202
1202
|
}, null, 8, ["modelValue", "onCancel"])
|
|
1203
|
-
], 4)) :
|
|
1204
|
-
])) :
|
|
1203
|
+
], 4)) : O("", !0)
|
|
1204
|
+
])) : O("", !0)
|
|
1205
1205
|
]));
|
|
1206
1206
|
}
|
|
1207
|
-
}), xo = /* @__PURE__ */
|
|
1207
|
+
}), xo = /* @__PURE__ */ Ce(_o, [["__scopeId", "data-v-18a10784"]]), Ut = /* @__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(), v("div", null, [
|
|
1217
|
+
(p(!0), v(te, null, ae(e.data, (t, s) => (p(), v("div", { key: s }, [
|
|
1218
|
+
y(xo, {
|
|
1219
1219
|
data: t,
|
|
1220
1220
|
depth: e.depth + 1,
|
|
1221
1221
|
index: `${e.index}-${s}`,
|
|
@@ -1248,30 +1248,30 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1248
1248
|
disableEdit: e.disableEdit
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
const { context: t } =
|
|
1252
|
-
|
|
1251
|
+
const { context: t } = Ln(o());
|
|
1252
|
+
ot(() => {
|
|
1253
1253
|
t.value = o();
|
|
1254
1254
|
});
|
|
1255
|
-
const { expanded: s, toggleExpanded: l } =
|
|
1256
|
-
return (i,
|
|
1257
|
-
(p(!0),
|
|
1258
|
-
|
|
1259
|
-
class: ie(["flex items-center", [(
|
|
1260
|
-
onClick: (a) =>
|
|
1255
|
+
const { expanded: s, toggleExpanded: l } = rt(e.expandedStateId);
|
|
1256
|
+
return (i, c) => (p(), v("div", null, [
|
|
1257
|
+
(p(!0), v(te, null, ae(i.data, (d, h, f) => (p(), v("div", { key: f }, [
|
|
1258
|
+
r("div", {
|
|
1259
|
+
class: ie(["flex items-center", [(d == null ? void 0 : d.length) && "cursor-pointer hover:bg-active"]]),
|
|
1260
|
+
onClick: (a) => u(l)(`${f}`)
|
|
1261
1261
|
}, [
|
|
1262
|
-
|
|
1262
|
+
d != null && d.length ? (p(), z(at, {
|
|
1263
1263
|
key: 0,
|
|
1264
|
-
value:
|
|
1265
|
-
}, null, 8, ["value"])) : (p(),
|
|
1266
|
-
|
|
1264
|
+
value: u(s).includes(`${f}`)
|
|
1265
|
+
}, null, 8, ["value"])) : (p(), v("span", bo)),
|
|
1266
|
+
r("span", wo, le(h), 1)
|
|
1267
1267
|
], 10, yo),
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
data:
|
|
1268
|
+
d != null && d.length && u(s).includes(`${f}`) ? (p(), v("div", ko, [
|
|
1269
|
+
y(Ut, {
|
|
1270
|
+
data: d,
|
|
1271
1271
|
index: `${f}`,
|
|
1272
1272
|
"expanded-state-id": i.expandedStateId
|
|
1273
1273
|
}, null, 8, ["data", "index", "expanded-state-id"])
|
|
1274
|
-
])) :
|
|
1274
|
+
])) : O("", !0)
|
|
1275
1275
|
]))), 128))
|
|
1276
1276
|
]));
|
|
1277
1277
|
}
|
|
@@ -1298,17 +1298,17 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1298
1298
|
}),
|
|
1299
1299
|
emits: ["update:modelValue"],
|
|
1300
1300
|
setup(n) {
|
|
1301
|
-
const e = n, o =
|
|
1302
|
-
let i = -1,
|
|
1303
|
-
return e.data.forEach((
|
|
1304
|
-
(
|
|
1301
|
+
const e = n, o = et(n, "modelValue"), t = ["#3e5770", "#42b983", "#0098c4"], s = T(null), l = V(() => {
|
|
1302
|
+
let i = -1, c = 0;
|
|
1303
|
+
return e.data.forEach((d, h) => {
|
|
1304
|
+
(d.groupId !== c || i === -1) && (i = (i + 1) % t.length), c = d.groupId ?? c, d.id = h, d.color = t[i];
|
|
1305
1305
|
}), e.data;
|
|
1306
1306
|
});
|
|
1307
|
-
return
|
|
1308
|
-
var
|
|
1309
|
-
(
|
|
1310
|
-
}, { flush: "post" }), (i,
|
|
1311
|
-
|
|
1307
|
+
return Q(() => l.value.length, (i) => {
|
|
1308
|
+
var c;
|
|
1309
|
+
(c = s.value) == null || c.scrollToItem(i - 1);
|
|
1310
|
+
}, { flush: "post" }), (i, c) => (p(), v("div", Io, [
|
|
1311
|
+
y(u(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:
|
|
1323
|
-
|
|
1322
|
+
default: H(({ item: d }) => [
|
|
1323
|
+
r("div", {
|
|
1324
1324
|
class: "relative mb7 h6 cursor-pointer",
|
|
1325
|
-
style: Ie({ color: o.value ===
|
|
1326
|
-
onClick: (
|
|
1325
|
+
style: Ie({ color: o.value === d.id ? d.color : "" }),
|
|
1326
|
+
onClick: (h) => o.value = d.id
|
|
1327
1327
|
}, [
|
|
1328
|
-
|
|
1328
|
+
r("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 ${d.color}` })
|
|
1331
1331
|
}, null, 4),
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
ne(" " + le(
|
|
1336
|
-
|
|
1332
|
+
d.id < i.data.length - 1 ? (p(), v("span", So)) : O("", !0),
|
|
1333
|
+
r("p", To, [
|
|
1334
|
+
r("span", Eo, "[" + le(u(yn)(d.time)) + "]", 1),
|
|
1335
|
+
ne(" " + le(d.title) + " ", 1),
|
|
1336
|
+
r("span", Vo, le(d.subtitle), 1)
|
|
1337
1337
|
])
|
|
1338
1338
|
], 12, $o)
|
|
1339
1339
|
]),
|
|
@@ -1341,7 +1341,7 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1341
1341
|
}, 8, ["items"])
|
|
1342
1342
|
]));
|
|
1343
1343
|
}
|
|
1344
|
-
}), Ro = { class: "h-full flex flex-col" }, Ao = {
|
|
1344
|
+
}), Ro = { class: "relative h-full flex flex-col" }, Ao = {
|
|
1345
1345
|
key: 1,
|
|
1346
1346
|
class: "flex-1 overflow-hidden"
|
|
1347
1347
|
}, Do = {
|
|
@@ -1354,100 +1354,122 @@ 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
|
-
},
|
|
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 = {
|
|
1361
|
+
key: 0,
|
|
1362
|
+
class: "recording recording-btn bg-[#ef4444]"
|
|
1363
|
+
}, jo = {
|
|
1364
|
+
key: 1,
|
|
1365
|
+
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
1366
|
+
}, Oo = { class: "flex items-center gap1" }, Uo = /* @__PURE__ */ B({
|
|
1358
1367
|
__name: "index",
|
|
1359
1368
|
props: {
|
|
1360
1369
|
layerIds: {},
|
|
1370
|
+
pluginId: {},
|
|
1361
1371
|
docLink: {},
|
|
1362
1372
|
githubRepoLink: {},
|
|
1363
|
-
headerVisible: { type: Boolean, default: !0 }
|
|
1373
|
+
headerVisible: { type: Boolean, default: !0 },
|
|
1374
|
+
switcherVisible: { type: Boolean, default: !0 }
|
|
1364
1375
|
},
|
|
1365
1376
|
setup(n, { expose: e }) {
|
|
1366
1377
|
const o = n, { expanded: t } = me("timeline-state");
|
|
1367
1378
|
t.value = ["0", "1"];
|
|
1368
|
-
const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0),
|
|
1369
|
-
var
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1379
|
+
const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0), c = Vt(), d = V(() => {
|
|
1380
|
+
var D;
|
|
1381
|
+
return (D = c.timelineLayersState.value) == null ? void 0 : D[o.pluginId];
|
|
1382
|
+
}), h = V(() => s.value[i.value] ?? null), f = V(() => d.value ? "Stop recording" : "Start recording"), a = V(() => {
|
|
1383
|
+
var _;
|
|
1384
|
+
const D = [];
|
|
1385
|
+
for (const C in (_ = h.value) == null ? void 0 : _.data)
|
|
1386
|
+
D.push({
|
|
1387
|
+
key: C,
|
|
1388
|
+
type: C,
|
|
1375
1389
|
editable: !1,
|
|
1376
|
-
value:
|
|
1390
|
+
value: h.value.data[C]
|
|
1377
1391
|
});
|
|
1378
|
-
return
|
|
1379
|
-
}),
|
|
1380
|
-
var
|
|
1381
|
-
const
|
|
1382
|
-
if (
|
|
1383
|
-
const
|
|
1392
|
+
return D;
|
|
1393
|
+
}), m = V(() => {
|
|
1394
|
+
var C, S, L;
|
|
1395
|
+
const D = (C = h.value) == null ? void 0 : C.groupId, _ = l.value.get(D);
|
|
1396
|
+
if (_) {
|
|
1397
|
+
const K = ((S = _[_.length - 1]) == null ? void 0 : S.time) - (((L = _[0]) == null ? void 0 : L.time) ?? 0);
|
|
1384
1398
|
return [{
|
|
1385
1399
|
key: "events",
|
|
1386
1400
|
type: "events",
|
|
1387
1401
|
editable: !1,
|
|
1388
|
-
value:
|
|
1389
|
-
},
|
|
1402
|
+
value: _.length
|
|
1403
|
+
}, K && {
|
|
1390
1404
|
key: "duration",
|
|
1391
1405
|
type: "duration",
|
|
1392
1406
|
editable: !1,
|
|
1393
|
-
value: `${
|
|
1407
|
+
value: `${K}ms`
|
|
1394
1408
|
}].filter(Boolean);
|
|
1395
1409
|
}
|
|
1396
|
-
}),
|
|
1397
|
-
function
|
|
1398
|
-
var
|
|
1399
|
-
const
|
|
1400
|
-
|
|
1401
|
-
}
|
|
1402
|
-
function
|
|
1403
|
-
const
|
|
1404
|
-
if (!
|
|
1410
|
+
}), E = V(() => ({ "Event Info": a.value, ...m.value && { "Group Info": m.value } }));
|
|
1411
|
+
function A(D) {
|
|
1412
|
+
var C;
|
|
1413
|
+
const _ = D.groupId;
|
|
1414
|
+
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(D));
|
|
1415
|
+
}
|
|
1416
|
+
function g(D) {
|
|
1417
|
+
const _ = X(D);
|
|
1418
|
+
if (!_)
|
|
1405
1419
|
return;
|
|
1406
|
-
const { layerId:
|
|
1407
|
-
o.layerIds.includes(
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
})
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1420
|
+
const { layerId: C, event: S } = _;
|
|
1421
|
+
o.layerIds.includes(C) && (s.value.push(S), A(S));
|
|
1422
|
+
}
|
|
1423
|
+
P.functions.on(q.TIMELINE_EVENT_UPDATED, g), be(() => {
|
|
1424
|
+
P.functions.off(q.TIMELINE_EVENT_UPDATED, g);
|
|
1425
|
+
});
|
|
1426
|
+
function $() {
|
|
1427
|
+
s.value = [], l.value.clear();
|
|
1428
|
+
}
|
|
1429
|
+
e({
|
|
1430
|
+
clear: $
|
|
1431
|
+
});
|
|
1432
|
+
function U() {
|
|
1433
|
+
P.value.updateTimelineLayersState({
|
|
1434
|
+
[o.pluginId]: !d.value
|
|
1435
|
+
});
|
|
1436
|
+
}
|
|
1437
|
+
return (D, _) => (p(), v("div", Ro, [
|
|
1438
|
+
D.headerVisible ? (p(), z($e, {
|
|
1417
1439
|
key: 0,
|
|
1418
|
-
"doc-link":
|
|
1419
|
-
"github-repo-link":
|
|
1440
|
+
"doc-link": D.docLink,
|
|
1441
|
+
"github-repo-link": D.githubRepoLink
|
|
1420
1442
|
}, {
|
|
1421
|
-
default:
|
|
1422
|
-
|
|
1443
|
+
default: H(() => [
|
|
1444
|
+
y(Se)
|
|
1423
1445
|
]),
|
|
1424
1446
|
_: 1
|
|
1425
|
-
}, 8, ["doc-link", "github-repo-link"])) :
|
|
1426
|
-
s.value.length ? (p(),
|
|
1427
|
-
|
|
1428
|
-
default:
|
|
1429
|
-
|
|
1447
|
+
}, 8, ["doc-link", "github-repo-link"])) : O("", !0),
|
|
1448
|
+
s.value.length ? (p(), v("div", Ao, [
|
|
1449
|
+
y(u(Ae), { class: "h-full" }, {
|
|
1450
|
+
default: H(() => [
|
|
1451
|
+
y(u(ue), {
|
|
1430
1452
|
border: "r base",
|
|
1431
1453
|
size: "40",
|
|
1432
1454
|
"h-full": ""
|
|
1433
1455
|
}, {
|
|
1434
|
-
default:
|
|
1435
|
-
|
|
1436
|
-
|
|
1456
|
+
default: H(() => [
|
|
1457
|
+
r("div", Do, [
|
|
1458
|
+
y(No, {
|
|
1437
1459
|
modelValue: i.value,
|
|
1438
|
-
"onUpdate:modelValue":
|
|
1460
|
+
"onUpdate:modelValue": _[0] || (_[0] = (C) => i.value = C),
|
|
1439
1461
|
data: s.value
|
|
1440
1462
|
}, null, 8, ["modelValue", "data"])
|
|
1441
1463
|
])
|
|
1442
1464
|
]),
|
|
1443
1465
|
_: 1
|
|
1444
1466
|
}),
|
|
1445
|
-
|
|
1446
|
-
default:
|
|
1447
|
-
|
|
1448
|
-
|
|
1467
|
+
y(u(ue), { size: "60" }, {
|
|
1468
|
+
default: H(() => [
|
|
1469
|
+
r("div", Po, [
|
|
1470
|
+
y(Pe, {
|
|
1449
1471
|
class: "p3",
|
|
1450
|
-
data:
|
|
1472
|
+
data: E.value,
|
|
1451
1473
|
"node-id": "",
|
|
1452
1474
|
"inspector-id": "",
|
|
1453
1475
|
"disable-edit": !0,
|
|
@@ -1464,15 +1486,67 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1464
1486
|
key: 2,
|
|
1465
1487
|
class: "flex-1"
|
|
1466
1488
|
}, {
|
|
1467
|
-
default:
|
|
1489
|
+
default: H(() => _[1] || (_[1] = [
|
|
1468
1490
|
ne(" No events ")
|
|
1469
1491
|
])),
|
|
1470
1492
|
_: 1
|
|
1471
|
-
}))
|
|
1493
|
+
})),
|
|
1494
|
+
D.switcherVisible ? (p(), v("div", Mo, [
|
|
1495
|
+
r("div", Lo, [
|
|
1496
|
+
W((p(), v("div", {
|
|
1497
|
+
class: "flex items-center gap1",
|
|
1498
|
+
onClick: U
|
|
1499
|
+
}, [
|
|
1500
|
+
d.value ? (p(), v("span", Ho)) : (p(), v("span", jo))
|
|
1501
|
+
])), [
|
|
1502
|
+
[
|
|
1503
|
+
u(J),
|
|
1504
|
+
{ content: f.value },
|
|
1505
|
+
void 0,
|
|
1506
|
+
{ "bottom-end": !0 }
|
|
1507
|
+
]
|
|
1508
|
+
]),
|
|
1509
|
+
W((p(), v("div", {
|
|
1510
|
+
class: "flex items-center gap1",
|
|
1511
|
+
onClick: $
|
|
1512
|
+
}, [
|
|
1513
|
+
y(u(Fe), {
|
|
1514
|
+
name: "baseline-delete",
|
|
1515
|
+
"cursor-pointer": "",
|
|
1516
|
+
"text-xl": "",
|
|
1517
|
+
op70: "",
|
|
1518
|
+
"hover:op100": ""
|
|
1519
|
+
})
|
|
1520
|
+
])), [
|
|
1521
|
+
[
|
|
1522
|
+
u(J),
|
|
1523
|
+
{ content: "Clear all timelines" },
|
|
1524
|
+
void 0,
|
|
1525
|
+
{ "bottom-end": !0 }
|
|
1526
|
+
]
|
|
1527
|
+
]),
|
|
1528
|
+
W((p(), v("div", Oo, [
|
|
1529
|
+
y(u(Fe), {
|
|
1530
|
+
name: "baseline-tips-and-updates",
|
|
1531
|
+
"cursor-pointer": "",
|
|
1532
|
+
"text-xl": "",
|
|
1533
|
+
op70: "",
|
|
1534
|
+
"hover:op100": ""
|
|
1535
|
+
})
|
|
1536
|
+
])), [
|
|
1537
|
+
[
|
|
1538
|
+
u(J),
|
|
1539
|
+
{ content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
|
|
1540
|
+
void 0,
|
|
1541
|
+
{ "bottom-end": !0 }
|
|
1542
|
+
]
|
|
1543
|
+
])
|
|
1544
|
+
])
|
|
1545
|
+
])) : O("", !0)
|
|
1472
1546
|
]));
|
|
1473
1547
|
}
|
|
1474
|
-
});
|
|
1475
|
-
function
|
|
1548
|
+
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-f59e6cce"]]);
|
|
1549
|
+
function ns() {
|
|
1476
1550
|
const n = T([]), e = T([]);
|
|
1477
1551
|
function o(s) {
|
|
1478
1552
|
e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
|
|
@@ -1480,31 +1554,31 @@ function W1() {
|
|
|
1480
1554
|
});
|
|
1481
1555
|
}
|
|
1482
1556
|
Re(() => {
|
|
1483
|
-
|
|
1557
|
+
P.value.getCustomInspector().then((s) => {
|
|
1484
1558
|
e.value = s, e.value.forEach((l) => {
|
|
1485
1559
|
t(l);
|
|
1486
1560
|
});
|
|
1487
|
-
}),
|
|
1561
|
+
}), P.functions.on(q.INSPECTOR_UPDATED, o);
|
|
1488
1562
|
});
|
|
1489
1563
|
function t(s) {
|
|
1490
1564
|
n.value.some((l) => l.id === s.id) || n.value.push(s);
|
|
1491
1565
|
}
|
|
1492
|
-
return
|
|
1493
|
-
|
|
1566
|
+
return be(() => {
|
|
1567
|
+
P.functions.off(q.INSPECTOR_UPDATED, o);
|
|
1494
1568
|
}), {
|
|
1495
1569
|
registeredInspector: n,
|
|
1496
1570
|
register: t
|
|
1497
1571
|
};
|
|
1498
1572
|
}
|
|
1499
|
-
const
|
|
1500
|
-
function
|
|
1573
|
+
const zt = Symbol("SelectedSymbolKey");
|
|
1574
|
+
function zo() {
|
|
1501
1575
|
const n = T("");
|
|
1502
|
-
return ge(
|
|
1576
|
+
return ge(zt, n), {
|
|
1503
1577
|
selected: n
|
|
1504
1578
|
};
|
|
1505
1579
|
}
|
|
1506
|
-
function
|
|
1507
|
-
const n = ve(
|
|
1580
|
+
function Bo() {
|
|
1581
|
+
const n = ve(zt, T(""));
|
|
1508
1582
|
function e(o) {
|
|
1509
1583
|
n.value = o;
|
|
1510
1584
|
}
|
|
@@ -1513,22 +1587,22 @@ function Ho() {
|
|
|
1513
1587
|
select: e
|
|
1514
1588
|
};
|
|
1515
1589
|
}
|
|
1516
|
-
const
|
|
1590
|
+
const Zo = ["onClick", "onDblclick"], Fo = {
|
|
1517
1591
|
key: 1,
|
|
1518
1592
|
pl5: ""
|
|
1519
|
-
},
|
|
1593
|
+
}, Go = {
|
|
1520
1594
|
"font-state-field": "",
|
|
1521
1595
|
"text-3.5": ""
|
|
1522
|
-
},
|
|
1596
|
+
}, Ko = {
|
|
1523
1597
|
key: 0,
|
|
1524
1598
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1525
|
-
},
|
|
1599
|
+
}, Wo = {
|
|
1526
1600
|
"group-hover:text-white": "",
|
|
1527
1601
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1528
|
-
},
|
|
1602
|
+
}, qo = {
|
|
1529
1603
|
key: 1,
|
|
1530
1604
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1531
|
-
},
|
|
1605
|
+
}, Jo = { key: 0 }, Me = /* @__PURE__ */ B({
|
|
1532
1606
|
__name: "TreeViewer",
|
|
1533
1607
|
props: /* @__PURE__ */ ze({
|
|
1534
1608
|
data: {},
|
|
@@ -1540,57 +1614,57 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1540
1614
|
}),
|
|
1541
1615
|
emits: ["update:modelValue"],
|
|
1542
1616
|
setup(n) {
|
|
1543
|
-
const e =
|
|
1544
|
-
|
|
1617
|
+
const e = et(n, "modelValue"), { expanded: o, toggleExpanded: t } = rt();
|
|
1618
|
+
Bo();
|
|
1545
1619
|
function s(i) {
|
|
1546
1620
|
return "name" in i && (i == null ? void 0 : i.name) || "label" in i && i.label;
|
|
1547
1621
|
}
|
|
1548
1622
|
function l(i) {
|
|
1549
1623
|
e.value = i;
|
|
1550
1624
|
}
|
|
1551
|
-
return (i,
|
|
1625
|
+
return (i, c) => (p(!0), v(te, null, ae(i.data, (d, h) => {
|
|
1552
1626
|
var f, a;
|
|
1553
|
-
return p(),
|
|
1554
|
-
key:
|
|
1627
|
+
return p(), v("div", {
|
|
1628
|
+
key: h,
|
|
1555
1629
|
class: ie({
|
|
1556
1630
|
"min-w-max": i.depth === 0
|
|
1557
1631
|
})
|
|
1558
1632
|
}, [
|
|
1559
|
-
|
|
1560
|
-
class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value ===
|
|
1633
|
+
r("div", {
|
|
1634
|
+
class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value === d.id }]),
|
|
1561
1635
|
style: Ie({ paddingLeft: `${15 * i.depth + 4}px` }),
|
|
1562
|
-
onClick: (
|
|
1563
|
-
onDblclick: (
|
|
1636
|
+
onClick: (m) => l(d.id),
|
|
1637
|
+
onDblclick: (m) => u(t)(d.id)
|
|
1564
1638
|
}, [
|
|
1565
|
-
(f =
|
|
1639
|
+
(f = d == null ? void 0 : d.children) != null && f.length ? (p(), z(at, {
|
|
1566
1640
|
key: 0,
|
|
1567
|
-
value:
|
|
1641
|
+
value: u(o).includes(d.id),
|
|
1568
1642
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1569
|
-
onClick: fe((
|
|
1570
|
-
}, null, 8, ["value", "onClick"])) : (p(),
|
|
1571
|
-
|
|
1572
|
-
i.withTag ? (p(),
|
|
1573
|
-
|
|
1574
|
-
i.withTag ? (p(),
|
|
1643
|
+
onClick: fe((m) => u(t)(d.id), ["stop"])
|
|
1644
|
+
}, null, 8, ["value", "onClick"])) : (p(), v("span", Fo)),
|
|
1645
|
+
r("span", Go, [
|
|
1646
|
+
i.withTag ? (p(), v("span", Ko, "<")) : O("", !0),
|
|
1647
|
+
r("span", Wo, le(s(d)), 1),
|
|
1648
|
+
i.withTag ? (p(), v("span", qo, ">")) : O("", !0)
|
|
1575
1649
|
]),
|
|
1576
|
-
(p(!0),
|
|
1577
|
-
key:
|
|
1578
|
-
tag:
|
|
1650
|
+
(p(!0), v(te, null, ae(d.tags, (m, E) => (p(), z(Pt, {
|
|
1651
|
+
key: E,
|
|
1652
|
+
tag: m
|
|
1579
1653
|
}, null, 8, ["tag"]))), 128))
|
|
1580
|
-
], 46,
|
|
1581
|
-
(a =
|
|
1582
|
-
|
|
1654
|
+
], 46, Zo),
|
|
1655
|
+
(a = d == null ? void 0 : d.children) != null && a.length && u(o).includes(d.id) ? (p(), v("div", Jo, [
|
|
1656
|
+
y(Me, {
|
|
1583
1657
|
modelValue: e.value,
|
|
1584
|
-
"onUpdate:modelValue":
|
|
1585
|
-
data:
|
|
1658
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => e.value = m),
|
|
1659
|
+
data: d == null ? void 0 : d.children,
|
|
1586
1660
|
depth: i.depth + 1,
|
|
1587
1661
|
"with-tag": i.withTag
|
|
1588
1662
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
1589
|
-
])) :
|
|
1663
|
+
])) : O("", !0)
|
|
1590
1664
|
], 2);
|
|
1591
1665
|
}), 128));
|
|
1592
1666
|
}
|
|
1593
|
-
}),
|
|
1667
|
+
}), Yo = { 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]" }, Xo = { class: "flex-1 overflow-scroll text-3.5" }, Qo = /* @__PURE__ */ B({
|
|
1594
1668
|
__name: "RenderCode",
|
|
1595
1669
|
props: {
|
|
1596
1670
|
code: {}
|
|
@@ -1601,368 +1675,368 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1601
1675
|
function t() {
|
|
1602
1676
|
o("close");
|
|
1603
1677
|
}
|
|
1604
|
-
return (s, l) => (p(),
|
|
1605
|
-
|
|
1606
|
-
l[0] || (l[0] =
|
|
1607
|
-
|
|
1678
|
+
return (s, l) => (p(), v("div", Yo, [
|
|
1679
|
+
r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
1680
|
+
l[0] || (l[0] = r("span", { class: "font-500" }, "Render Code", -1)),
|
|
1681
|
+
r("i", {
|
|
1608
1682
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1609
1683
|
onClick: t
|
|
1610
1684
|
})
|
|
1611
1685
|
]),
|
|
1612
|
-
|
|
1613
|
-
|
|
1686
|
+
r("div", Xo, [
|
|
1687
|
+
y(u(ln), {
|
|
1614
1688
|
code: s.code,
|
|
1615
1689
|
lang: "javascript"
|
|
1616
1690
|
}, null, 8, ["code"])
|
|
1617
1691
|
])
|
|
1618
1692
|
]));
|
|
1619
1693
|
}
|
|
1620
|
-
}),
|
|
1694
|
+
}), el = { class: "h-full w-full" }, tl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, nl = {
|
|
1621
1695
|
key: 0,
|
|
1622
1696
|
class: "h-full flex flex-col p2"
|
|
1623
|
-
},
|
|
1697
|
+
}, ol = { class: "flex py2" }, ll = {
|
|
1624
1698
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1625
1699
|
style: { height: "1.1em", width: "1.1em" },
|
|
1626
1700
|
class: "op-80 hover:op-100",
|
|
1627
1701
|
viewBox: "0 0 24 24"
|
|
1628
|
-
},
|
|
1702
|
+
}, sl = { class: "h-full flex flex-col p2" }, al = { class: "flex py2" }, il = {
|
|
1629
1703
|
key: 0,
|
|
1630
1704
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1631
|
-
},
|
|
1705
|
+
}, rl = {
|
|
1632
1706
|
"group-hover:text-white": "",
|
|
1633
1707
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1634
|
-
},
|
|
1708
|
+
}, ul = { class: "flex items-center gap-2 px-1" }, cl = { class: "h-full flex flex-col items-center justify-center gap-2" }, dl = { class: "block" }, pl = {
|
|
1635
1709
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1636
1710
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1637
1711
|
class: "animate-fade",
|
|
1638
1712
|
viewBox: "0 0 24 24"
|
|
1639
|
-
},
|
|
1713
|
+
}, fl = { class: "flex items-center justify-center" }, Ve = "components", vl = /* @__PURE__ */ B({
|
|
1640
1714
|
__name: "index",
|
|
1641
1715
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1642
1716
|
setup(n, { emit: e }) {
|
|
1643
|
-
const o = e, t = T(), s = T(!1), { width: l } = lo(t), i = V(() => s.value ? l.value < 700 : !1),
|
|
1644
|
-
function
|
|
1717
|
+
const o = e, t = T(), s = T(!1), { width: l } = lo(t), i = V(() => s.value ? l.value < 700 : !1), c = T(""), d = T(""), [h, f] = Xn(!0), a = T(!1), m = T(!1), E = T(""), A = T(!1);
|
|
1718
|
+
function g(I, b = [], j = []) {
|
|
1645
1719
|
var G;
|
|
1646
|
-
return b.push(
|
|
1647
|
-
|
|
1648
|
-
}), b.pop(),
|
|
1720
|
+
return b.push(I.id), ((G = I.children) == null ? void 0 : G.length) === 0 && j.push([...b]), Array.isArray(I.children) && I.children.forEach((Y) => {
|
|
1721
|
+
g(Y, b, j);
|
|
1722
|
+
}), b.pop(), j;
|
|
1649
1723
|
}
|
|
1650
|
-
function
|
|
1651
|
-
const b = [],
|
|
1652
|
-
G == null || G.forEach((
|
|
1724
|
+
function $(I) {
|
|
1725
|
+
const b = [], j = (G) => {
|
|
1726
|
+
G == null || G.forEach((Y) => {
|
|
1653
1727
|
var we;
|
|
1654
|
-
b.push(
|
|
1728
|
+
b.push(Y), (we = Y.children) != null && we.length && j(Y.children);
|
|
1655
1729
|
});
|
|
1656
1730
|
};
|
|
1657
|
-
return
|
|
1658
|
-
}
|
|
1659
|
-
function
|
|
1660
|
-
const
|
|
1661
|
-
return
|
|
1662
|
-
|
|
1663
|
-
}), [...new Set(
|
|
1664
|
-
}
|
|
1665
|
-
function
|
|
1666
|
-
const
|
|
1667
|
-
return
|
|
1668
|
-
const
|
|
1669
|
-
|
|
1670
|
-
}), [...new Set(
|
|
1671
|
-
}
|
|
1672
|
-
const
|
|
1673
|
-
var
|
|
1674
|
-
return (
|
|
1675
|
-
}),
|
|
1676
|
-
const
|
|
1677
|
-
|
|
1678
|
-
var
|
|
1679
|
-
G.id === Z.value &&
|
|
1731
|
+
return j(I), b;
|
|
1732
|
+
}
|
|
1733
|
+
function U(I, b) {
|
|
1734
|
+
const j = [];
|
|
1735
|
+
return I == null || I.forEach((G) => {
|
|
1736
|
+
j.push(...G.slice(0, b + 1));
|
|
1737
|
+
}), [...new Set(j)];
|
|
1738
|
+
}
|
|
1739
|
+
function D(I, b) {
|
|
1740
|
+
const j = [];
|
|
1741
|
+
return I.forEach((G) => {
|
|
1742
|
+
const Y = G.indexOf(b);
|
|
1743
|
+
Y !== -1 && j.push(...G.slice(0, Y + 1));
|
|
1744
|
+
}), [...new Set(j)];
|
|
1745
|
+
}
|
|
1746
|
+
const _ = T([]), C = V(() => {
|
|
1747
|
+
var I, b;
|
|
1748
|
+
return (I = _.value) != null && I.length ? g((b = _.value) == null ? void 0 : b[0]) : [];
|
|
1749
|
+
}), S = V(() => $(_.value)), L = V(() => S.value.map((I) => I.id)), K = T({}), Z = T(""), N = V(() => {
|
|
1750
|
+
const I = [], b = (j) => {
|
|
1751
|
+
j.forEach((G) => {
|
|
1752
|
+
var Y;
|
|
1753
|
+
G.id === Z.value && I.push(G), (Y = G.children) != null && Y.length && b(G.children);
|
|
1680
1754
|
});
|
|
1681
1755
|
};
|
|
1682
|
-
return b(
|
|
1683
|
-
}),
|
|
1684
|
-
var
|
|
1685
|
-
return ((
|
|
1686
|
-
}),
|
|
1687
|
-
const
|
|
1756
|
+
return b(_.value), I[0];
|
|
1757
|
+
}), M = V(() => {
|
|
1758
|
+
var I;
|
|
1759
|
+
return ((I = N.value) == null ? void 0 : I.file) ?? "";
|
|
1760
|
+
}), w = V(() => {
|
|
1761
|
+
const I = {};
|
|
1688
1762
|
for (const b in K.value) {
|
|
1689
1763
|
const G = K.value[b].filter((we) => {
|
|
1690
1764
|
try {
|
|
1691
1765
|
return bn({
|
|
1692
1766
|
[we.key]: we.value
|
|
1693
|
-
},
|
|
1694
|
-
} catch (
|
|
1767
|
+
}, d.value);
|
|
1768
|
+
} catch (Jt) {
|
|
1695
1769
|
return {
|
|
1696
|
-
[we.key]:
|
|
1770
|
+
[we.key]: Jt
|
|
1697
1771
|
};
|
|
1698
1772
|
}
|
|
1699
|
-
}),
|
|
1700
|
-
G.length && (
|
|
1773
|
+
}), Y = _n(Object.values(xn(Nt(G), "stateType")));
|
|
1774
|
+
G.length && (I[b] = Y);
|
|
1701
1775
|
}
|
|
1702
|
-
return
|
|
1703
|
-
}), { expanded:
|
|
1704
|
-
|
|
1705
|
-
async function
|
|
1706
|
-
return
|
|
1707
|
-
var G,
|
|
1708
|
-
const
|
|
1709
|
-
|
|
1776
|
+
return I;
|
|
1777
|
+
}), { expanded: k } = me(), { expanded: x } = me("component-state");
|
|
1778
|
+
zo();
|
|
1779
|
+
async function R(I = "") {
|
|
1780
|
+
return P.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
|
|
1781
|
+
var G, Y;
|
|
1782
|
+
const j = X(b);
|
|
1783
|
+
_.value = j, Z.value = (Y = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : Y.id, k.value = U(C.value, 1), a.value = !0;
|
|
1710
1784
|
});
|
|
1711
1785
|
}
|
|
1712
|
-
function F(
|
|
1713
|
-
if (!
|
|
1786
|
+
function F(I) {
|
|
1787
|
+
if (!I || !(I != null && I.state))
|
|
1714
1788
|
return {};
|
|
1715
1789
|
const b = {};
|
|
1716
|
-
return
|
|
1717
|
-
b[
|
|
1790
|
+
return I.state.forEach((j) => {
|
|
1791
|
+
b[j.type] || (b[j.type] = []), b[j.type].push(j);
|
|
1718
1792
|
}), b;
|
|
1719
1793
|
}
|
|
1720
|
-
function se(
|
|
1721
|
-
|
|
1722
|
-
const
|
|
1723
|
-
|
|
1794
|
+
function se(I) {
|
|
1795
|
+
P.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
|
|
1796
|
+
const j = X(b);
|
|
1797
|
+
j && (K.value = F(j), x.value = Array.from({ length: Object.keys(K.value).length }, (G, Y) => `${Y}`));
|
|
1724
1798
|
});
|
|
1725
1799
|
}
|
|
1726
|
-
|
|
1727
|
-
se(
|
|
1800
|
+
Q(Z, (I) => {
|
|
1801
|
+
se(I), A.value && Oe();
|
|
1728
1802
|
});
|
|
1729
|
-
function re(
|
|
1730
|
-
const b =
|
|
1803
|
+
function re(I) {
|
|
1804
|
+
const b = X(I);
|
|
1731
1805
|
b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
|
|
1732
1806
|
}
|
|
1733
|
-
|
|
1734
|
-
function ce(
|
|
1735
|
-
const b =
|
|
1736
|
-
f(),
|
|
1807
|
+
P.functions.on(q.INSPECTOR_STATE_UPDATED, re), R();
|
|
1808
|
+
function ce(I) {
|
|
1809
|
+
const b = I.trim().toLowerCase();
|
|
1810
|
+
f(), R(b).then(() => {
|
|
1737
1811
|
f();
|
|
1738
1812
|
});
|
|
1739
1813
|
}
|
|
1740
|
-
Qn(
|
|
1741
|
-
ce(
|
|
1814
|
+
Qn(c, (I) => {
|
|
1815
|
+
ce(I);
|
|
1742
1816
|
}, { debounce: 300 });
|
|
1743
|
-
function
|
|
1744
|
-
var
|
|
1745
|
-
const b =
|
|
1746
|
-
b.inspectorId === Ve && (
|
|
1817
|
+
function _e(I) {
|
|
1818
|
+
var j, G;
|
|
1819
|
+
const b = X(I);
|
|
1820
|
+
b.inspectorId === Ve && (c.value ? ce(c.value) : _.value = b.rootNodes, L.value.includes(Z.value) || (Z.value = (G = (j = _.value) == null ? void 0 : j[0]) == null ? void 0 : G.id, k.value = U(C.value, 1)));
|
|
1747
1821
|
}
|
|
1748
|
-
|
|
1749
|
-
|
|
1822
|
+
P.functions.on(q.INSPECTOR_TREE_UPDATED, _e), be(() => {
|
|
1823
|
+
P.functions.off(q.INSPECTOR_STATE_UPDATED, re), P.functions.off(q.INSPECTOR_TREE_UPDATED, _e);
|
|
1750
1824
|
});
|
|
1751
|
-
function
|
|
1752
|
-
|
|
1753
|
-
const b = JSON.parse(
|
|
1754
|
-
Z.value = b.id,
|
|
1825
|
+
function xe() {
|
|
1826
|
+
m.value = !0, o("onInspectComponentStart"), P.value.inspectComponentInspector().then((I) => {
|
|
1827
|
+
const b = JSON.parse(I);
|
|
1828
|
+
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...D(C.value, b.id)])], Gt();
|
|
1755
1829
|
}).finally(() => {
|
|
1756
|
-
|
|
1830
|
+
m.value = !1, o("onInspectComponentEnd");
|
|
1757
1831
|
});
|
|
1758
1832
|
}
|
|
1759
|
-
function He() {
|
|
1760
|
-
h.value = !1, D.value.cancelInspectComponentInspector();
|
|
1761
|
-
}
|
|
1762
1833
|
function Le() {
|
|
1763
|
-
|
|
1834
|
+
m.value = !1, P.value.cancelInspectComponentInspector();
|
|
1764
1835
|
}
|
|
1765
|
-
function
|
|
1766
|
-
|
|
1836
|
+
function He() {
|
|
1837
|
+
P.value.scrollToComponent(Z.value);
|
|
1838
|
+
}
|
|
1839
|
+
function je() {
|
|
1840
|
+
P.value.inspectDOM(Z.value).then(() => {
|
|
1767
1841
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
1768
1842
|
});
|
|
1769
1843
|
}
|
|
1770
|
-
function
|
|
1771
|
-
|
|
1772
|
-
|
|
1844
|
+
function Oe() {
|
|
1845
|
+
P.value.getComponentRenderCode(Z.value).then((I) => {
|
|
1846
|
+
E.value = I, A.value = !0;
|
|
1773
1847
|
});
|
|
1774
1848
|
}
|
|
1775
|
-
function
|
|
1776
|
-
o("openInEditor",
|
|
1849
|
+
function qe() {
|
|
1850
|
+
o("openInEditor", M.value);
|
|
1777
1851
|
}
|
|
1778
1852
|
const Ee = T();
|
|
1779
|
-
function
|
|
1853
|
+
function Gt() {
|
|
1780
1854
|
setTimeout(() => {
|
|
1781
1855
|
var b;
|
|
1782
|
-
const
|
|
1783
|
-
|
|
1856
|
+
const I = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
|
|
1857
|
+
I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
1784
1858
|
}, 300);
|
|
1785
1859
|
}
|
|
1786
|
-
function
|
|
1787
|
-
|
|
1788
|
-
}
|
|
1789
|
-
const
|
|
1790
|
-
label:
|
|
1791
|
-
value:
|
|
1792
|
-
}))),
|
|
1793
|
-
label:
|
|
1794
|
-
id:
|
|
1795
|
-
}))),
|
|
1796
|
-
|
|
1797
|
-
|
|
1860
|
+
function Kt() {
|
|
1861
|
+
E.value = "", A.value = !1;
|
|
1862
|
+
}
|
|
1863
|
+
const Je = Vt(), ft = V(() => Je.appRecords.value.map((I) => ({
|
|
1864
|
+
label: I.name + (I.version ? ` (${I.version})` : ""),
|
|
1865
|
+
value: I.id
|
|
1866
|
+
}))), Wt = V(() => ft.value.map((I) => ({
|
|
1867
|
+
label: I.label,
|
|
1868
|
+
id: I.value
|
|
1869
|
+
}))), Ye = T(Je.activeAppRecordId.value);
|
|
1870
|
+
ot(() => {
|
|
1871
|
+
Ye.value = Je.activeAppRecordId.value;
|
|
1798
1872
|
});
|
|
1799
|
-
function
|
|
1800
|
-
|
|
1801
|
-
Z.value = "",
|
|
1873
|
+
function qt(I) {
|
|
1874
|
+
P.value.toggleApp(I).then(() => {
|
|
1875
|
+
Z.value = "", R();
|
|
1802
1876
|
});
|
|
1803
1877
|
}
|
|
1804
|
-
return (
|
|
1805
|
-
|
|
1878
|
+
return (I, b) => (p(), v("div", el, [
|
|
1879
|
+
y(u(Ae), {
|
|
1806
1880
|
ref_key: "splitpanesRef",
|
|
1807
1881
|
ref: t,
|
|
1808
1882
|
class: "flex-1 overflow-auto",
|
|
1809
1883
|
horizontal: i.value,
|
|
1810
|
-
onReady: b[4] || (b[4] = (
|
|
1884
|
+
onReady: b[4] || (b[4] = (j) => s.value = !0)
|
|
1811
1885
|
}, {
|
|
1812
|
-
default:
|
|
1813
|
-
|
|
1886
|
+
default: H(() => [
|
|
1887
|
+
ft.value.length > 1 ? (p(), z(u(ue), {
|
|
1814
1888
|
key: 0,
|
|
1815
1889
|
border: "base h-full",
|
|
1816
1890
|
size: "20"
|
|
1817
1891
|
}, {
|
|
1818
|
-
default:
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
modelValue:
|
|
1822
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
1823
|
-
data:
|
|
1892
|
+
default: H(() => [
|
|
1893
|
+
r("div", tl, [
|
|
1894
|
+
y(Sn, {
|
|
1895
|
+
modelValue: Ye.value,
|
|
1896
|
+
"onUpdate:modelValue": b[0] || (b[0] = (j) => Ye.value = j),
|
|
1897
|
+
data: Wt.value,
|
|
1824
1898
|
class: "w-full",
|
|
1825
|
-
onSelect:
|
|
1899
|
+
onSelect: qt
|
|
1826
1900
|
}, null, 8, ["modelValue", "data"])
|
|
1827
1901
|
])
|
|
1828
1902
|
]),
|
|
1829
1903
|
_: 1
|
|
1830
|
-
})) :
|
|
1831
|
-
|
|
1904
|
+
})) : O("", !0),
|
|
1905
|
+
y(u(ue), {
|
|
1832
1906
|
border: "base",
|
|
1833
1907
|
"h-full": ""
|
|
1834
1908
|
}, {
|
|
1835
|
-
default:
|
|
1836
|
-
a.value ? (p(),
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
modelValue:
|
|
1840
|
-
"onUpdate:modelValue": b[1] || (b[1] = (
|
|
1909
|
+
default: H(() => [
|
|
1910
|
+
a.value ? (p(), v("div", nl, [
|
|
1911
|
+
r("div", ol, [
|
|
1912
|
+
y(u(Ze), {
|
|
1913
|
+
modelValue: c.value,
|
|
1914
|
+
"onUpdate:modelValue": b[1] || (b[1] = (j) => c.value = j),
|
|
1841
1915
|
"loading-debounce-time": 250,
|
|
1842
|
-
loading: !
|
|
1916
|
+
loading: !u(h),
|
|
1843
1917
|
placeholder: "Find components...",
|
|
1844
1918
|
class: "flex-1 text-3.5"
|
|
1845
1919
|
}, null, 8, ["modelValue", "loading"]),
|
|
1846
|
-
|
|
1920
|
+
u(hn) ? O("", !0) : W((p(), v("button", {
|
|
1847
1921
|
key: 0,
|
|
1848
1922
|
"px-1": "",
|
|
1849
1923
|
class: "hover:color-#00dc82",
|
|
1850
|
-
onClick:
|
|
1924
|
+
onClick: xe
|
|
1851
1925
|
}, [
|
|
1852
|
-
(p(),
|
|
1853
|
-
|
|
1926
|
+
(p(), v("svg", ll, b[6] || (b[6] = [
|
|
1927
|
+
r("path", {
|
|
1854
1928
|
fill: "currentColor",
|
|
1855
1929
|
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"
|
|
1856
1930
|
}, null, -1)
|
|
1857
1931
|
])))
|
|
1858
1932
|
])), [
|
|
1859
1933
|
[
|
|
1860
|
-
|
|
1934
|
+
u(J),
|
|
1861
1935
|
"Select component in the page",
|
|
1862
1936
|
void 0,
|
|
1863
1937
|
{ bottom: !0 }
|
|
1864
1938
|
]
|
|
1865
1939
|
])
|
|
1866
1940
|
]),
|
|
1867
|
-
|
|
1941
|
+
r("div", {
|
|
1868
1942
|
ref_key: "componentTreeContainer",
|
|
1869
1943
|
ref: Ee,
|
|
1870
1944
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
1871
1945
|
}, [
|
|
1872
|
-
|
|
1946
|
+
y(Me, {
|
|
1873
1947
|
modelValue: Z.value,
|
|
1874
|
-
"onUpdate:modelValue": b[2] || (b[2] = (
|
|
1875
|
-
data:
|
|
1948
|
+
"onUpdate:modelValue": b[2] || (b[2] = (j) => Z.value = j),
|
|
1949
|
+
data: _.value,
|
|
1876
1950
|
"with-tag": !0
|
|
1877
1951
|
}, null, 8, ["modelValue", "data"])
|
|
1878
1952
|
], 512)
|
|
1879
|
-
])) :
|
|
1953
|
+
])) : O("", !0)
|
|
1880
1954
|
]),
|
|
1881
1955
|
_: 1
|
|
1882
1956
|
}),
|
|
1883
|
-
|
|
1957
|
+
y(u(ue), {
|
|
1884
1958
|
relative: "",
|
|
1885
1959
|
"h-full": ""
|
|
1886
1960
|
}, {
|
|
1887
|
-
default:
|
|
1888
|
-
var
|
|
1961
|
+
default: H(() => {
|
|
1962
|
+
var j;
|
|
1889
1963
|
return [
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
(
|
|
1893
|
-
b[7] || (b[7] =
|
|
1894
|
-
|
|
1895
|
-
b[8] || (b[8] =
|
|
1896
|
-
])) :
|
|
1897
|
-
|
|
1898
|
-
modelValue:
|
|
1899
|
-
"onUpdate:modelValue": b[3] || (b[3] = (G) =>
|
|
1964
|
+
r("div", sl, [
|
|
1965
|
+
r("div", al, [
|
|
1966
|
+
(j = N.value) != null && j.name ? (p(), v("span", il, [
|
|
1967
|
+
b[7] || (b[7] = r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
|
|
1968
|
+
r("span", rl, le(N.value.name), 1),
|
|
1969
|
+
b[8] || (b[8] = r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
|
|
1970
|
+
])) : O("", !0),
|
|
1971
|
+
y(u(Ze), {
|
|
1972
|
+
modelValue: d.value,
|
|
1973
|
+
"onUpdate:modelValue": b[3] || (b[3] = (G) => d.value = G),
|
|
1900
1974
|
"loading-debounce-time": 250,
|
|
1901
1975
|
placeholder: "Filter State...",
|
|
1902
1976
|
class: "flex-1 text-3.5"
|
|
1903
1977
|
}, null, 8, ["modelValue"]),
|
|
1904
|
-
|
|
1905
|
-
|
|
1978
|
+
r("div", ul, [
|
|
1979
|
+
W(r("i", {
|
|
1906
1980
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
1907
|
-
onClick:
|
|
1981
|
+
onClick: He
|
|
1908
1982
|
}, null, 512), [
|
|
1909
1983
|
[
|
|
1910
|
-
|
|
1984
|
+
u(J),
|
|
1911
1985
|
"Scroll to component",
|
|
1912
1986
|
void 0,
|
|
1913
1987
|
{ bottom: !0 }
|
|
1914
1988
|
]
|
|
1915
1989
|
]),
|
|
1916
|
-
|
|
1990
|
+
W(r("i", {
|
|
1917
1991
|
class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
|
|
1918
|
-
onClick:
|
|
1992
|
+
onClick: Oe
|
|
1919
1993
|
}, null, 512), [
|
|
1920
1994
|
[
|
|
1921
|
-
|
|
1995
|
+
u(J),
|
|
1922
1996
|
"Show render code",
|
|
1923
1997
|
void 0,
|
|
1924
1998
|
{ bottom: !0 }
|
|
1925
1999
|
]
|
|
1926
2000
|
]),
|
|
1927
|
-
|
|
2001
|
+
u(yt) ? W((p(), v("i", {
|
|
1928
2002
|
key: 0,
|
|
1929
2003
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
1930
|
-
onClick:
|
|
2004
|
+
onClick: je
|
|
1931
2005
|
}, null, 512)), [
|
|
1932
2006
|
[
|
|
1933
|
-
|
|
2007
|
+
u(J),
|
|
1934
2008
|
"Inspect DOM",
|
|
1935
2009
|
void 0,
|
|
1936
2010
|
{ bottom: !0 }
|
|
1937
2011
|
]
|
|
1938
|
-
]) :
|
|
1939
|
-
|
|
2012
|
+
]) : O("", !0),
|
|
2013
|
+
M.value ? W((p(), v("i", {
|
|
1940
2014
|
key: 1,
|
|
1941
2015
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
1942
|
-
onClick:
|
|
2016
|
+
onClick: qe
|
|
1943
2017
|
}, null, 512)), [
|
|
1944
2018
|
[
|
|
1945
|
-
|
|
2019
|
+
u(J),
|
|
1946
2020
|
"Open in Editor",
|
|
1947
2021
|
void 0,
|
|
1948
2022
|
{ bottom: !0 }
|
|
1949
2023
|
]
|
|
1950
|
-
]) :
|
|
2024
|
+
]) : O("", !0)
|
|
1951
2025
|
])
|
|
1952
2026
|
]),
|
|
1953
|
-
|
|
2027
|
+
y(Pe, {
|
|
1954
2028
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
1955
|
-
data:
|
|
2029
|
+
data: w.value,
|
|
1956
2030
|
"node-id": Z.value,
|
|
1957
2031
|
"inspector-id": Ve,
|
|
1958
2032
|
"expanded-state-id": "component-state"
|
|
1959
2033
|
}, null, 8, ["data", "node-id"])
|
|
1960
2034
|
]),
|
|
1961
|
-
|
|
2035
|
+
A.value && E.value ? (p(), z(Qo, {
|
|
1962
2036
|
key: 0,
|
|
1963
|
-
code:
|
|
1964
|
-
onClose:
|
|
1965
|
-
}, null, 8, ["code"])) :
|
|
2037
|
+
code: E.value,
|
|
2038
|
+
onClose: Kt
|
|
2039
|
+
}, null, 8, ["code"])) : O("", !0)
|
|
1966
2040
|
];
|
|
1967
2041
|
}),
|
|
1968
2042
|
_: 1
|
|
@@ -1970,71 +2044,71 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1970
2044
|
]),
|
|
1971
2045
|
_: 1
|
|
1972
2046
|
}, 8, ["horizontal"]),
|
|
1973
|
-
|
|
2047
|
+
u(yt) ? (p(), z(u(sn), {
|
|
1974
2048
|
key: 0,
|
|
1975
|
-
modelValue:
|
|
1976
|
-
"onUpdate:modelValue": b[5] || (b[5] = (
|
|
2049
|
+
modelValue: m.value,
|
|
2050
|
+
"onUpdate:modelValue": b[5] || (b[5] = (j) => m.value = j),
|
|
1977
2051
|
title: "",
|
|
1978
2052
|
height: "12rem",
|
|
1979
2053
|
closable: !1
|
|
1980
2054
|
}, {
|
|
1981
|
-
footer:
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
default:
|
|
2055
|
+
footer: H(() => [
|
|
2056
|
+
r("div", fl, [
|
|
2057
|
+
y(u(de), { onClick: Le }, {
|
|
2058
|
+
default: H(() => b[11] || (b[11] = [
|
|
1985
2059
|
ne(" Cancel ")
|
|
1986
2060
|
])),
|
|
1987
2061
|
_: 1
|
|
1988
2062
|
})
|
|
1989
2063
|
])
|
|
1990
2064
|
]),
|
|
1991
|
-
default:
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
(p(),
|
|
1995
|
-
|
|
2065
|
+
default: H(() => [
|
|
2066
|
+
r("div", cl, [
|
|
2067
|
+
r("span", dl, [
|
|
2068
|
+
(p(), v("svg", pl, b[9] || (b[9] = [
|
|
2069
|
+
r("g", {
|
|
1996
2070
|
fill: "none",
|
|
1997
2071
|
stroke: "currentColor",
|
|
1998
2072
|
"stroke-linecap": "round",
|
|
1999
2073
|
"stroke-linejoin": "round",
|
|
2000
2074
|
"stroke-width": "2"
|
|
2001
2075
|
}, [
|
|
2002
|
-
|
|
2076
|
+
r("circle", {
|
|
2003
2077
|
cx: "12",
|
|
2004
2078
|
cy: "12",
|
|
2005
2079
|
r: ".5",
|
|
2006
2080
|
fill: "currentColor"
|
|
2007
2081
|
}),
|
|
2008
|
-
|
|
2082
|
+
r("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2009
2083
|
], -1)
|
|
2010
2084
|
])))
|
|
2011
2085
|
]),
|
|
2012
|
-
b[10] || (b[10] =
|
|
2086
|
+
b[10] || (b[10] = r("p", null, " Click on a component on the page to select it ", -1))
|
|
2013
2087
|
])
|
|
2014
2088
|
]),
|
|
2015
2089
|
_: 1
|
|
2016
|
-
}, 8, ["modelValue"])) :
|
|
2090
|
+
}, 8, ["modelValue"])) : O("", !0)
|
|
2017
2091
|
]));
|
|
2018
2092
|
}
|
|
2019
|
-
}),
|
|
2020
|
-
function
|
|
2021
|
-
return p(),
|
|
2022
|
-
e[0] || (e[0] =
|
|
2023
|
-
|
|
2024
|
-
|
|
2093
|
+
}), os = /* @__PURE__ */ Ce(vl, [["__scopeId", "data-v-38589395"]]), ml = {}, hl = { class: "h-screen w-screen $ui-fcc flex-col" };
|
|
2094
|
+
function gl(n, e) {
|
|
2095
|
+
return p(), v("div", hl, [
|
|
2096
|
+
e[0] || (e[0] = r("div", { class: "outer" }, [
|
|
2097
|
+
r("div", { class: "inner" }, [
|
|
2098
|
+
r("i", {
|
|
2025
2099
|
class: "i-logos-vue inline-block h8! w8!",
|
|
2026
2100
|
alt: "Vue logo"
|
|
2027
2101
|
})
|
|
2028
2102
|
])
|
|
2029
2103
|
], -1)),
|
|
2030
|
-
|
|
2104
|
+
tt(n.$slots, "default", {}, void 0, !0)
|
|
2031
2105
|
]);
|
|
2032
2106
|
}
|
|
2033
|
-
const
|
|
2107
|
+
const Cl = /* @__PURE__ */ Ce(ml, [["render", gl], ["__scopeId", "data-v-b8018f07"]]), Bt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
2034
2108
|
function Te() {
|
|
2035
|
-
return ve(
|
|
2109
|
+
return ve(Bt);
|
|
2036
2110
|
}
|
|
2037
|
-
function
|
|
2111
|
+
function Zt() {
|
|
2038
2112
|
const n = T({
|
|
2039
2113
|
homepage: "",
|
|
2040
2114
|
id: "",
|
|
@@ -2042,59 +2116,59 @@ function Bt() {
|
|
|
2042
2116
|
logo: "",
|
|
2043
2117
|
timelineLayerIds: []
|
|
2044
2118
|
});
|
|
2045
|
-
return ge(
|
|
2119
|
+
return ge(Bt, n), n;
|
|
2046
2120
|
}
|
|
2047
|
-
const
|
|
2121
|
+
const _l = {}, xl = {
|
|
2048
2122
|
width: "175",
|
|
2049
2123
|
height: "34",
|
|
2050
2124
|
viewBox: "0 0 175 34",
|
|
2051
2125
|
fill: "none",
|
|
2052
2126
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2053
2127
|
};
|
|
2054
|
-
function
|
|
2055
|
-
return p(),
|
|
2056
|
-
|
|
2128
|
+
function yl(n, e) {
|
|
2129
|
+
return p(), v("svg", xl, e[0] || (e[0] = [
|
|
2130
|
+
r("path", {
|
|
2057
2131
|
fill: "currentColor",
|
|
2058
2132
|
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"
|
|
2059
2133
|
}, null, -1)
|
|
2060
2134
|
]));
|
|
2061
2135
|
}
|
|
2062
|
-
const
|
|
2136
|
+
const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
2063
2137
|
"h-full": "",
|
|
2064
2138
|
"w-full": "",
|
|
2065
2139
|
flex: "",
|
|
2066
2140
|
"items-center": ""
|
|
2067
|
-
},
|
|
2141
|
+
}, kl = {
|
|
2068
2142
|
flex: "~ col gap2",
|
|
2069
2143
|
ma: "",
|
|
2070
2144
|
"px-5": ""
|
|
2071
|
-
},
|
|
2145
|
+
}, Il = {
|
|
2072
2146
|
flex: "~ col",
|
|
2073
2147
|
"mt-20": "",
|
|
2074
2148
|
"items-center": ""
|
|
2075
|
-
},
|
|
2149
|
+
}, $l = {
|
|
2076
2150
|
flex: "~",
|
|
2077
2151
|
"mt--10": "",
|
|
2078
2152
|
"items-center": "",
|
|
2079
2153
|
"justify-center": ""
|
|
2080
|
-
},
|
|
2154
|
+
}, Sl = { class: "mr-1" }, Tl = {
|
|
2081
2155
|
key: 0,
|
|
2082
2156
|
class: "inline-block w20"
|
|
2083
|
-
},
|
|
2157
|
+
}, El = ["src", "alt"], Vl = {
|
|
2084
2158
|
key: 1,
|
|
2085
2159
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2086
|
-
},
|
|
2160
|
+
}, Nl = {
|
|
2087
2161
|
mb6: "",
|
|
2088
2162
|
"mt--1": "",
|
|
2089
2163
|
"text-center": "",
|
|
2090
2164
|
"text-sm": "",
|
|
2091
2165
|
flex: "~ gap-1"
|
|
2092
|
-
},
|
|
2166
|
+
}, Rl = { op40: "" }, Al = { flex: "~ gap2 wrap" }, Dl = {
|
|
2093
2167
|
flex: "~ gap-6 wrap",
|
|
2094
2168
|
"mt-5": "",
|
|
2095
2169
|
"items-center": "",
|
|
2096
2170
|
"justify-center": ""
|
|
2097
|
-
},
|
|
2171
|
+
}, Pl = ["href"], Ml = /* @__PURE__ */ B({
|
|
2098
2172
|
__name: "About",
|
|
2099
2173
|
setup(n) {
|
|
2100
2174
|
const e = De(), o = Te(), t = T(!1), s = T(!1);
|
|
@@ -2104,87 +2178,87 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2104
2178
|
function i() {
|
|
2105
2179
|
t.value = !0, s.value = !0;
|
|
2106
2180
|
}
|
|
2107
|
-
return (
|
|
2108
|
-
var
|
|
2109
|
-
return p(),
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
t.value ?
|
|
2116
|
-
|
|
2117
|
-
src:
|
|
2118
|
-
alt: `${
|
|
2181
|
+
return (c, d) => {
|
|
2182
|
+
var h;
|
|
2183
|
+
return p(), v("div", wl, [
|
|
2184
|
+
r("div", kl, [
|
|
2185
|
+
d[5] || (d[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2186
|
+
r("div", Il, [
|
|
2187
|
+
r("div", $l, [
|
|
2188
|
+
r("span", Sl, [
|
|
2189
|
+
t.value ? O("", !0) : (p(), v("span", Tl)),
|
|
2190
|
+
W(r("img", {
|
|
2191
|
+
src: u(o).logo,
|
|
2192
|
+
alt: `${u(o).label} Logo`,
|
|
2119
2193
|
class: "inline-block h16",
|
|
2120
2194
|
onError: i,
|
|
2121
2195
|
onLoad: l
|
|
2122
|
-
}, null, 40,
|
|
2123
|
-
[
|
|
2196
|
+
}, null, 40, El), [
|
|
2197
|
+
[tn, t.value && !s.value]
|
|
2124
2198
|
]),
|
|
2125
|
-
s.value ? (p(),
|
|
2199
|
+
s.value ? (p(), v("span", Vl, le(u(o).label), 1)) : O("", !0)
|
|
2126
2200
|
]),
|
|
2127
|
-
|
|
2128
|
-
|
|
2201
|
+
r("span", null, [
|
|
2202
|
+
y(bl, { "h-18": "" })
|
|
2129
2203
|
])
|
|
2130
2204
|
]),
|
|
2131
|
-
|
|
2132
|
-
|
|
2205
|
+
r("div", Nl, [
|
|
2206
|
+
r("span", Rl, le(u(o).label) + " DevTools ", 1)
|
|
2133
2207
|
])
|
|
2134
2208
|
]),
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2209
|
+
d[6] || (d[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2210
|
+
r("div", Al, [
|
|
2211
|
+
r("div", {
|
|
2138
2212
|
flex: "~ col auto",
|
|
2139
2213
|
"min-w-40": "",
|
|
2140
2214
|
p4: "",
|
|
2141
2215
|
"theme-card-lime": "",
|
|
2142
|
-
onClick:
|
|
2143
|
-
},
|
|
2144
|
-
|
|
2216
|
+
onClick: d[0] || (d[0] = (f) => u(e).push("/state"))
|
|
2217
|
+
}, d[2] || (d[2] = [
|
|
2218
|
+
r("div", {
|
|
2145
2219
|
"i-carbon-tree-view-alt": "",
|
|
2146
2220
|
"text-3xl": ""
|
|
2147
2221
|
}, null, -1),
|
|
2148
|
-
|
|
2222
|
+
r("code", null, "State", -1)
|
|
2149
2223
|
])),
|
|
2150
|
-
(
|
|
2224
|
+
(h = u(o).timelineLayerIds) != null && h.length ? (p(), v("div", {
|
|
2151
2225
|
key: 0,
|
|
2152
2226
|
flex: "~ col auto",
|
|
2153
2227
|
"min-w-40": "",
|
|
2154
2228
|
p4: "",
|
|
2155
2229
|
"theme-card-lime": "",
|
|
2156
|
-
onClick:
|
|
2157
|
-
},
|
|
2158
|
-
|
|
2230
|
+
onClick: d[1] || (d[1] = (f) => u(e).push("/timeline"))
|
|
2231
|
+
}, d[3] || (d[3] = [
|
|
2232
|
+
r("div", {
|
|
2159
2233
|
"i-mdi:timeline-clock-outline": "",
|
|
2160
2234
|
"text-3xl": ""
|
|
2161
2235
|
}, null, -1),
|
|
2162
|
-
|
|
2163
|
-
]))) :
|
|
2236
|
+
r("div", null, "Timeline", -1)
|
|
2237
|
+
]))) : O("", !0)
|
|
2164
2238
|
]),
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
href:
|
|
2239
|
+
r("div", Dl, [
|
|
2240
|
+
r("a", {
|
|
2241
|
+
href: u(o).homepage,
|
|
2168
2242
|
target: "_blank",
|
|
2169
2243
|
flex: "~ gap1",
|
|
2170
2244
|
"items-center": "",
|
|
2171
2245
|
op50: "",
|
|
2172
2246
|
hover: "op100 text-yellow",
|
|
2173
2247
|
transition: ""
|
|
2174
|
-
},
|
|
2175
|
-
|
|
2248
|
+
}, d[4] || (d[4] = [
|
|
2249
|
+
r("div", { "i-carbon-document": "" }, null, -1),
|
|
2176
2250
|
ne(" View Documentation ")
|
|
2177
|
-
]), 8,
|
|
2251
|
+
]), 8, Pl)
|
|
2178
2252
|
]),
|
|
2179
|
-
|
|
2253
|
+
d[7] || (d[7] = r("div", { "flex-auto": "" }, null, -1))
|
|
2180
2254
|
])
|
|
2181
2255
|
]);
|
|
2182
2256
|
};
|
|
2183
2257
|
}
|
|
2184
|
-
}),
|
|
2258
|
+
}), Ll = { class: "flex-1 overflow-y-auto p2" }, Hl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, jl = { class: "w-4/5" }, Ol = {
|
|
2185
2259
|
key: 0,
|
|
2186
2260
|
class: "flex justify-start"
|
|
2187
|
-
},
|
|
2261
|
+
}, Ul = { key: 1 }, Ft = /* @__PURE__ */ B({
|
|
2188
2262
|
__name: "Settings",
|
|
2189
2263
|
props: {
|
|
2190
2264
|
pluginId: {},
|
|
@@ -2194,211 +2268,211 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2194
2268
|
emits: ["update"],
|
|
2195
2269
|
setup(n, { emit: e }) {
|
|
2196
2270
|
const o = n, t = e, s = V(() => o.options), l = V(() => o.values);
|
|
2197
|
-
function i(
|
|
2198
|
-
|
|
2199
|
-
t("update",
|
|
2271
|
+
function i(c, d) {
|
|
2272
|
+
P.value.updatePluginSettings(o.pluginId, c, d), P.value.getPluginSettings(o.pluginId).then((h) => {
|
|
2273
|
+
t("update", h);
|
|
2200
2274
|
});
|
|
2201
2275
|
}
|
|
2202
|
-
return (
|
|
2203
|
-
|
|
2204
|
-
(p(!0),
|
|
2276
|
+
return (c, d) => (p(), v("div", Ll, [
|
|
2277
|
+
r("ul", null, [
|
|
2278
|
+
(p(!0), v(te, null, ae(s.value, (h, f) => (p(), v("li", {
|
|
2205
2279
|
key: f,
|
|
2206
2280
|
class: "flex items-center py-2"
|
|
2207
2281
|
}, [
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2282
|
+
r("div", Hl, le(h.label), 1),
|
|
2283
|
+
r("div", jl, [
|
|
2284
|
+
h.type === "boolean" ? (p(), v("div", Ol, [
|
|
2285
|
+
y(u(an), {
|
|
2212
2286
|
"model-value": l.value[f],
|
|
2213
2287
|
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
2214
2288
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2215
2289
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2216
|
-
])) :
|
|
2217
|
-
|
|
2290
|
+
])) : h.type === "choice" ? (p(), v("div", Ul, [
|
|
2291
|
+
y(u(rn), {
|
|
2218
2292
|
"model-value": l.value[f],
|
|
2219
|
-
options:
|
|
2293
|
+
options: h.options,
|
|
2220
2294
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2221
2295
|
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
2222
|
-
])) :
|
|
2296
|
+
])) : h.type === "text" ? (p(), z(u(Ze), {
|
|
2223
2297
|
key: 2,
|
|
2224
2298
|
"model-value": l.value[f],
|
|
2225
2299
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2226
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])) :
|
|
2300
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : O("", !0)
|
|
2227
2301
|
])
|
|
2228
2302
|
]))), 128))
|
|
2229
2303
|
])
|
|
2230
2304
|
]));
|
|
2231
2305
|
}
|
|
2232
|
-
}),
|
|
2306
|
+
}), zl = { class: "h-full flex flex-col" }, Bl = /* @__PURE__ */ B({
|
|
2233
2307
|
__name: "Settings",
|
|
2234
2308
|
setup(n) {
|
|
2235
2309
|
const e = ve("pluginSettings"), o = Te(), t = V(() => e.value.options), s = V(() => e.value.values);
|
|
2236
2310
|
function l(i) {
|
|
2237
2311
|
e.value = i;
|
|
2238
2312
|
}
|
|
2239
|
-
return (i,
|
|
2240
|
-
|
|
2241
|
-
"doc-link":
|
|
2313
|
+
return (i, c) => (p(), v("div", zl, [
|
|
2314
|
+
y($e, {
|
|
2315
|
+
"doc-link": u(o).homepage
|
|
2242
2316
|
}, {
|
|
2243
|
-
default:
|
|
2244
|
-
|
|
2317
|
+
default: H(() => [
|
|
2318
|
+
y(Se)
|
|
2245
2319
|
]),
|
|
2246
2320
|
_: 1
|
|
2247
2321
|
}, 8, ["doc-link"]),
|
|
2248
|
-
|
|
2249
|
-
"plugin-id":
|
|
2322
|
+
y(Ft, {
|
|
2323
|
+
"plugin-id": u(o).pluginId,
|
|
2250
2324
|
options: t.value,
|
|
2251
2325
|
values: s.value,
|
|
2252
2326
|
onUpdate: l
|
|
2253
2327
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2254
2328
|
]));
|
|
2255
2329
|
}
|
|
2256
|
-
}),
|
|
2330
|
+
}), Zl = { class: "h-full flex flex-col" }, Fl = { class: "h-full flex flex-col p2" }, Gl = {
|
|
2257
2331
|
key: 0,
|
|
2258
2332
|
class: "mb-1 flex justify-end pb-1",
|
|
2259
2333
|
border: "b dashed base"
|
|
2260
|
-
},
|
|
2334
|
+
}, Kl = { class: "flex items-center gap-2 px-1" }, Wl = ["onClick"], ql = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Jl = { class: "h-full flex flex-col p2" }, Yl = {
|
|
2261
2335
|
key: 0,
|
|
2262
2336
|
class: "mb-1 flex justify-end pb-1",
|
|
2263
2337
|
border: "b dashed base"
|
|
2264
|
-
},
|
|
2338
|
+
}, Xl = { class: "flex items-center gap-2 px-1" }, Ql = ["onClick"], e1 = /* @__PURE__ */ B({
|
|
2265
2339
|
__name: "Index",
|
|
2266
2340
|
setup(n) {
|
|
2267
|
-
const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = Te(), s = V(() => t.value.id), l = T([]), i = T([]),
|
|
2268
|
-
var
|
|
2269
|
-
return (
|
|
2270
|
-
}),
|
|
2271
|
-
function
|
|
2272
|
-
var
|
|
2273
|
-
return
|
|
2274
|
-
|
|
2275
|
-
}),
|
|
2276
|
-
}
|
|
2277
|
-
function
|
|
2278
|
-
const
|
|
2279
|
-
return
|
|
2280
|
-
|
|
2281
|
-
}), [...new Set(
|
|
2282
|
-
}
|
|
2283
|
-
function w
|
|
2284
|
-
const
|
|
2285
|
-
|
|
2341
|
+
const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = Te(), s = V(() => t.value.id), l = T([]), i = T([]), c = T([]), d = V(() => {
|
|
2342
|
+
var w, k;
|
|
2343
|
+
return (w = c.value) != null && w.length ? A((k = c.value) == null ? void 0 : k[0]) : [];
|
|
2344
|
+
}), h = V(() => $(c.value)), f = V(() => h.value.map((w) => w.id)), a = T(""), m = T({}), E = V(() => !Object.keys(m.value).length);
|
|
2345
|
+
function A(w, k = [], x = []) {
|
|
2346
|
+
var R;
|
|
2347
|
+
return k.push(w.id), ((R = w.children) == null ? void 0 : R.length) === 0 && x.push([...k]), Array.isArray(w.children) && w.children.forEach((F) => {
|
|
2348
|
+
A(F, k, x);
|
|
2349
|
+
}), k.pop(), x;
|
|
2350
|
+
}
|
|
2351
|
+
function g(w, k) {
|
|
2352
|
+
const x = [];
|
|
2353
|
+
return w == null || w.forEach((R) => {
|
|
2354
|
+
x.push(...R.slice(0, k + 1));
|
|
2355
|
+
}), [...new Set(x)];
|
|
2356
|
+
}
|
|
2357
|
+
function $(w) {
|
|
2358
|
+
const k = [], x = (R) => {
|
|
2359
|
+
R == null || R.forEach((F) => {
|
|
2286
2360
|
var se;
|
|
2287
|
-
|
|
2361
|
+
k.push(F), (se = F.children) != null && se.length && x(F.children);
|
|
2288
2362
|
});
|
|
2289
2363
|
};
|
|
2290
|
-
return
|
|
2364
|
+
return x(w), k;
|
|
2291
2365
|
}
|
|
2292
|
-
function
|
|
2293
|
-
|
|
2294
|
-
l.value =
|
|
2366
|
+
function U() {
|
|
2367
|
+
P.value.getInspectorNodeActions(s.value).then((w) => {
|
|
2368
|
+
l.value = w;
|
|
2295
2369
|
});
|
|
2296
2370
|
}
|
|
2297
|
-
function
|
|
2298
|
-
|
|
2299
|
-
i.value =
|
|
2371
|
+
function D() {
|
|
2372
|
+
P.value.getInspectorActions(s.value).then((w) => {
|
|
2373
|
+
i.value = w;
|
|
2300
2374
|
});
|
|
2301
2375
|
}
|
|
2302
|
-
|
|
2303
|
-
function
|
|
2304
|
-
|
|
2376
|
+
U(), D();
|
|
2377
|
+
function _(w) {
|
|
2378
|
+
P.value.callInspectorNodeAction(s.value, w, a.value);
|
|
2305
2379
|
}
|
|
2306
|
-
function
|
|
2307
|
-
|
|
2380
|
+
function C(w) {
|
|
2381
|
+
P.value.callInspectorAction(s.value, w);
|
|
2308
2382
|
}
|
|
2309
|
-
function
|
|
2310
|
-
var
|
|
2311
|
-
for (const
|
|
2312
|
-
(
|
|
2313
|
-
return
|
|
2383
|
+
function S(w) {
|
|
2384
|
+
var k;
|
|
2385
|
+
for (const x in w)
|
|
2386
|
+
(k = w[x]) != null && k.length || delete w[x];
|
|
2387
|
+
return w;
|
|
2314
2388
|
}
|
|
2315
|
-
function
|
|
2316
|
-
|
|
2317
|
-
const
|
|
2318
|
-
|
|
2389
|
+
function L(w) {
|
|
2390
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
|
|
2391
|
+
const x = X(k);
|
|
2392
|
+
x && (m.value = S(x), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
|
|
2319
2393
|
});
|
|
2320
2394
|
}
|
|
2321
2395
|
function K() {
|
|
2322
|
-
|
|
2396
|
+
m.value = {};
|
|
2323
2397
|
}
|
|
2324
|
-
|
|
2325
|
-
K(),
|
|
2398
|
+
Q(a, () => {
|
|
2399
|
+
K(), L(a.value);
|
|
2326
2400
|
});
|
|
2327
2401
|
const Z = () => {
|
|
2328
|
-
|
|
2329
|
-
const
|
|
2330
|
-
|
|
2402
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
2403
|
+
const k = X(w);
|
|
2404
|
+
c.value = k, !a.value && k.length && (a.value = k[0].id, e.value = g(d.value, 1), L(k[0].id));
|
|
2331
2405
|
});
|
|
2332
2406
|
};
|
|
2333
|
-
|
|
2334
|
-
function
|
|
2335
|
-
var
|
|
2336
|
-
const
|
|
2337
|
-
|
|
2338
|
-
}
|
|
2339
|
-
function
|
|
2340
|
-
const
|
|
2341
|
-
if (
|
|
2407
|
+
jt(s).toBeTruthy().then(Z);
|
|
2408
|
+
function N(w) {
|
|
2409
|
+
var x, R;
|
|
2410
|
+
const k = X(w);
|
|
2411
|
+
!k.rootNodes.length || k.inspectorId !== s.value || (c.value = k.rootNodes, f.value.includes(a.value) || (a.value = (R = (x = c.value) == null ? void 0 : x[0]) == null ? void 0 : R.id, e.value = g(d.value, 1)));
|
|
2412
|
+
}
|
|
2413
|
+
function M(w) {
|
|
2414
|
+
const k = X(w);
|
|
2415
|
+
if (k.inspectorId !== s.value || !k.state || k.nodeId !== a.value)
|
|
2342
2416
|
return;
|
|
2343
|
-
const { inspectorId:
|
|
2344
|
-
|
|
2417
|
+
const { inspectorId: x, ...R } = k.state;
|
|
2418
|
+
m.value = S(R);
|
|
2345
2419
|
}
|
|
2346
2420
|
return Re(() => {
|
|
2347
|
-
|
|
2348
|
-
}),
|
|
2349
|
-
|
|
2350
|
-
}), (
|
|
2351
|
-
|
|
2352
|
-
"doc-link":
|
|
2421
|
+
P.functions.on(q.INSPECTOR_TREE_UPDATED, N), P.functions.on(q.INSPECTOR_STATE_UPDATED, M);
|
|
2422
|
+
}), be(() => {
|
|
2423
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, N), P.functions.off(q.INSPECTOR_STATE_UPDATED, M);
|
|
2424
|
+
}), (w, k) => (p(), v("div", Zl, [
|
|
2425
|
+
y($e, {
|
|
2426
|
+
"doc-link": u(t).homepage
|
|
2353
2427
|
}, {
|
|
2354
|
-
default:
|
|
2355
|
-
|
|
2428
|
+
default: H(() => [
|
|
2429
|
+
y(Se)
|
|
2356
2430
|
]),
|
|
2357
2431
|
_: 1
|
|
2358
2432
|
}, 8, ["doc-link"]),
|
|
2359
|
-
|
|
2433
|
+
c.value.length ? (p(), z(u(Ae), {
|
|
2360
2434
|
key: 0,
|
|
2361
2435
|
class: "flex-1 overflow-auto"
|
|
2362
2436
|
}, {
|
|
2363
|
-
default:
|
|
2364
|
-
|
|
2437
|
+
default: H(() => [
|
|
2438
|
+
y(u(ue), {
|
|
2365
2439
|
border: "r base",
|
|
2366
2440
|
size: "40",
|
|
2367
2441
|
"h-full": ""
|
|
2368
2442
|
}, {
|
|
2369
|
-
default:
|
|
2370
|
-
var
|
|
2443
|
+
default: H(() => {
|
|
2444
|
+
var x;
|
|
2371
2445
|
return [
|
|
2372
|
-
|
|
2373
|
-
(
|
|
2374
|
-
|
|
2375
|
-
(p(!0),
|
|
2446
|
+
r("div", Fl, [
|
|
2447
|
+
(x = i.value) != null && x.length ? (p(), v("div", Gl, [
|
|
2448
|
+
r("div", Kl, [
|
|
2449
|
+
(p(!0), v(te, null, ae(i.value, (R, F) => W((p(), v("div", {
|
|
2376
2450
|
key: F,
|
|
2377
2451
|
class: "flex items-center gap1",
|
|
2378
|
-
onClick: (se) =>
|
|
2452
|
+
onClick: (se) => C(F)
|
|
2379
2453
|
}, [
|
|
2380
|
-
|
|
2381
|
-
name: `baseline-${
|
|
2454
|
+
y(u(Fe), {
|
|
2455
|
+
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2382
2456
|
"cursor-pointer": "",
|
|
2383
2457
|
op70: "",
|
|
2384
2458
|
"text-base": "",
|
|
2385
2459
|
"hover:op100": ""
|
|
2386
2460
|
}, null, 8, ["name"])
|
|
2387
|
-
], 8,
|
|
2461
|
+
], 8, Wl)), [
|
|
2388
2462
|
[
|
|
2389
|
-
|
|
2390
|
-
{ content:
|
|
2463
|
+
u(J),
|
|
2464
|
+
{ content: R.tooltip },
|
|
2391
2465
|
void 0,
|
|
2392
2466
|
{ "bottom-end": !0 }
|
|
2393
2467
|
]
|
|
2394
2468
|
])), 128))
|
|
2395
2469
|
])
|
|
2396
|
-
])) :
|
|
2397
|
-
|
|
2398
|
-
|
|
2470
|
+
])) : O("", !0),
|
|
2471
|
+
r("div", ql, [
|
|
2472
|
+
y(Me, {
|
|
2399
2473
|
modelValue: a.value,
|
|
2400
|
-
"onUpdate:modelValue":
|
|
2401
|
-
data:
|
|
2474
|
+
"onUpdate:modelValue": k[0] || (k[0] = (R) => a.value = R),
|
|
2475
|
+
data: c.value
|
|
2402
2476
|
}, null, 8, ["modelValue", "data"])
|
|
2403
2477
|
])
|
|
2404
2478
|
])
|
|
@@ -2406,44 +2480,44 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2406
2480
|
}),
|
|
2407
2481
|
_: 1
|
|
2408
2482
|
}),
|
|
2409
|
-
|
|
2410
|
-
default:
|
|
2411
|
-
var
|
|
2483
|
+
y(u(ue), { size: "60" }, {
|
|
2484
|
+
default: H(() => {
|
|
2485
|
+
var x;
|
|
2412
2486
|
return [
|
|
2413
|
-
|
|
2414
|
-
(
|
|
2415
|
-
|
|
2416
|
-
(p(!0),
|
|
2487
|
+
r("div", Jl, [
|
|
2488
|
+
(x = l.value) != null && x.length ? (p(), v("div", Yl, [
|
|
2489
|
+
r("div", Xl, [
|
|
2490
|
+
(p(!0), v(te, null, ae(l.value, (R, F) => W((p(), v("div", {
|
|
2417
2491
|
key: F,
|
|
2418
2492
|
class: "flex items-center gap1",
|
|
2419
|
-
onClick: (se) =>
|
|
2493
|
+
onClick: (se) => _(F)
|
|
2420
2494
|
}, [
|
|
2421
|
-
|
|
2422
|
-
name: `baseline-${
|
|
2495
|
+
y(u(Fe), {
|
|
2496
|
+
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2423
2497
|
"cursor-pointer": "",
|
|
2424
2498
|
op70: "",
|
|
2425
2499
|
"text-base": "",
|
|
2426
2500
|
"hover:op100": ""
|
|
2427
2501
|
}, null, 8, ["name"])
|
|
2428
|
-
], 8,
|
|
2502
|
+
], 8, Ql)), [
|
|
2429
2503
|
[
|
|
2430
|
-
|
|
2431
|
-
{ content:
|
|
2504
|
+
u(J),
|
|
2505
|
+
{ content: R.tooltip },
|
|
2432
2506
|
void 0,
|
|
2433
2507
|
{ "bottom-end": !0 }
|
|
2434
2508
|
]
|
|
2435
2509
|
])), 128))
|
|
2436
2510
|
])
|
|
2437
|
-
])) :
|
|
2438
|
-
a.value && !
|
|
2511
|
+
])) : O("", !0),
|
|
2512
|
+
a.value && !E.value ? (p(), z(Pe, {
|
|
2439
2513
|
key: 1,
|
|
2440
|
-
data:
|
|
2514
|
+
data: m.value,
|
|
2441
2515
|
"node-id": a.value,
|
|
2442
2516
|
"inspector-id": s.value,
|
|
2443
2517
|
"expanded-state-id": "custom-inspector-state",
|
|
2444
2518
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2445
2519
|
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2446
|
-
default:
|
|
2520
|
+
default: H(() => k[1] || (k[1] = [
|
|
2447
2521
|
ne(" No Data ")
|
|
2448
2522
|
])),
|
|
2449
2523
|
_: 1
|
|
@@ -2456,26 +2530,27 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2456
2530
|
]),
|
|
2457
2531
|
_: 1
|
|
2458
2532
|
})) : (p(), z(Ne, { key: 1 }, {
|
|
2459
|
-
default:
|
|
2533
|
+
default: H(() => k[2] || (k[2] = [
|
|
2460
2534
|
ne(" No Data ")
|
|
2461
2535
|
])),
|
|
2462
2536
|
_: 1
|
|
2463
2537
|
}))
|
|
2464
2538
|
]));
|
|
2465
2539
|
}
|
|
2466
|
-
}),
|
|
2540
|
+
}), t1 = /* @__PURE__ */ B({
|
|
2467
2541
|
__name: "Index",
|
|
2468
2542
|
setup(n) {
|
|
2469
2543
|
const e = Te();
|
|
2470
|
-
return (o, t) => (p(), z(
|
|
2471
|
-
"layer-ids":
|
|
2472
|
-
"doc-link":
|
|
2473
|
-
|
|
2544
|
+
return (o, t) => (p(), z(pt, {
|
|
2545
|
+
"layer-ids": u(e).timelineLayerIds,
|
|
2546
|
+
"doc-link": u(e).homepage,
|
|
2547
|
+
"plugin-id": u(e).pluginId
|
|
2548
|
+
}, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
|
|
2474
2549
|
}
|
|
2475
|
-
}),
|
|
2550
|
+
}), n1 = {
|
|
2476
2551
|
"h-full": "",
|
|
2477
2552
|
"w-full": ""
|
|
2478
|
-
},
|
|
2553
|
+
}, o1 = { key: 0 }, ls = /* @__PURE__ */ B({
|
|
2479
2554
|
__name: "index",
|
|
2480
2555
|
props: {
|
|
2481
2556
|
id: {},
|
|
@@ -2483,156 +2558,156 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2483
2558
|
},
|
|
2484
2559
|
emits: ["loadError"],
|
|
2485
2560
|
setup(n, { emit: e }) {
|
|
2486
|
-
const o = n, t = e, s =
|
|
2561
|
+
const o = n, t = e, s = Zt(), l = T(!1), i = T(null);
|
|
2487
2562
|
ge("pluginSettings", i);
|
|
2488
|
-
const
|
|
2563
|
+
const c = V(() => {
|
|
2489
2564
|
var a;
|
|
2490
2565
|
return [
|
|
2491
2566
|
{
|
|
2492
2567
|
path: "/state",
|
|
2493
2568
|
name: "State",
|
|
2494
|
-
component:
|
|
2569
|
+
component: e1,
|
|
2495
2570
|
icon: "i-carbon-tree-view-alt"
|
|
2496
2571
|
},
|
|
2497
2572
|
((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
2498
2573
|
path: "/timeline",
|
|
2499
2574
|
name: "Timeline",
|
|
2500
|
-
component:
|
|
2575
|
+
component: t1,
|
|
2501
2576
|
icon: "i-mdi:timeline-clock-outline"
|
|
2502
2577
|
},
|
|
2503
2578
|
{
|
|
2504
2579
|
path: "/about",
|
|
2505
2580
|
name: "About",
|
|
2506
|
-
component:
|
|
2581
|
+
component: Ml
|
|
2507
2582
|
},
|
|
2508
2583
|
i.value && {
|
|
2509
2584
|
path: "/settings",
|
|
2510
2585
|
name: "Settings",
|
|
2511
|
-
component:
|
|
2586
|
+
component: Bl,
|
|
2512
2587
|
icon: "i-mdi:cog-outline"
|
|
2513
2588
|
}
|
|
2514
2589
|
].filter(Boolean);
|
|
2515
|
-
}), { VirtualRouterView:
|
|
2590
|
+
}), { VirtualRouterView: d, restoreRouter: h } = st(c, {
|
|
2516
2591
|
defaultRoutePath: "/state"
|
|
2517
2592
|
});
|
|
2518
2593
|
function f() {
|
|
2519
2594
|
l.value = !0, Re(() => {
|
|
2520
|
-
|
|
2595
|
+
P.value.getInspectorInfo(o.id).then((a) => {
|
|
2521
2596
|
if (!a) {
|
|
2522
2597
|
t("loadError");
|
|
2523
2598
|
return;
|
|
2524
2599
|
}
|
|
2525
|
-
const
|
|
2600
|
+
const m = {
|
|
2526
2601
|
homepage: a == null ? void 0 : a.homepage,
|
|
2527
2602
|
id: a == null ? void 0 : a.id,
|
|
2528
2603
|
label: a == null ? void 0 : a.label,
|
|
2529
2604
|
logo: a == null ? void 0 : a.logo,
|
|
2530
|
-
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((
|
|
2605
|
+
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((E) => E.id),
|
|
2531
2606
|
pluginId: o.pluginId
|
|
2532
2607
|
};
|
|
2533
|
-
s.value =
|
|
2534
|
-
}),
|
|
2608
|
+
s.value = m, h(), l.value = !1;
|
|
2609
|
+
}), P.value.getPluginSettings(o.pluginId).then((a) => {
|
|
2535
2610
|
a.options ? i.value = a : i.value = null;
|
|
2536
2611
|
});
|
|
2537
2612
|
});
|
|
2538
2613
|
}
|
|
2539
|
-
return
|
|
2614
|
+
return Q(() => o.id, () => {
|
|
2540
2615
|
f();
|
|
2541
2616
|
}, {
|
|
2542
2617
|
immediate: !0
|
|
2543
|
-
}),
|
|
2544
|
-
|
|
2545
|
-
}), (a,
|
|
2546
|
-
l.value ? (p(),
|
|
2547
|
-
|
|
2548
|
-
])) : (p(), z(d
|
|
2618
|
+
}), be(() => {
|
|
2619
|
+
P.value.unhighlight();
|
|
2620
|
+
}), (a, m) => (p(), v("div", n1, [
|
|
2621
|
+
l.value ? (p(), v("div", o1, [
|
|
2622
|
+
y(Cl)
|
|
2623
|
+
])) : (p(), z(u(d), { key: 1 }))
|
|
2549
2624
|
]));
|
|
2550
2625
|
}
|
|
2551
|
-
}),
|
|
2626
|
+
}), l1 = {}, s1 = {
|
|
2552
2627
|
viewBox: "0 0 566 154",
|
|
2553
2628
|
fill: "none",
|
|
2554
2629
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2555
2630
|
};
|
|
2556
|
-
function
|
|
2557
|
-
return p(),
|
|
2558
|
-
tn('<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)
|
|
2631
|
+
function a1(n, e) {
|
|
2632
|
+
return p(), v("svg", s1, e[0] || (e[0] = [
|
|
2633
|
+
nn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
|
|
2559
2634
|
]));
|
|
2560
2635
|
}
|
|
2561
|
-
const
|
|
2636
|
+
const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
2562
2637
|
"h-full": "",
|
|
2563
2638
|
"w-full": "",
|
|
2564
2639
|
flex: "",
|
|
2565
2640
|
"items-center": ""
|
|
2566
|
-
},
|
|
2641
|
+
}, u1 = {
|
|
2567
2642
|
flex: "~ col gap2",
|
|
2568
2643
|
ma: "",
|
|
2569
2644
|
"px-5": ""
|
|
2570
|
-
},
|
|
2645
|
+
}, c1 = {
|
|
2571
2646
|
flex: "~ col",
|
|
2572
2647
|
"mt-20": "",
|
|
2573
2648
|
"items-center": ""
|
|
2574
|
-
},
|
|
2649
|
+
}, d1 = {
|
|
2575
2650
|
flex: "~",
|
|
2576
2651
|
"mt--10": "",
|
|
2577
2652
|
"items-center": "",
|
|
2578
2653
|
"justify-center": ""
|
|
2579
|
-
},
|
|
2654
|
+
}, p1 = { flex: "~ gap2 wrap" }, f1 = /* @__PURE__ */ B({
|
|
2580
2655
|
__name: "About",
|
|
2581
2656
|
setup(n) {
|
|
2582
2657
|
const e = De();
|
|
2583
|
-
return (o, t) => (p(),
|
|
2584
|
-
|
|
2585
|
-
t[5] || (t[5] =
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2658
|
+
return (o, t) => (p(), v("div", r1, [
|
|
2659
|
+
r("div", u1, [
|
|
2660
|
+
t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2661
|
+
r("div", c1, [
|
|
2662
|
+
r("div", d1, [
|
|
2663
|
+
y(i1, { "h-18": "" })
|
|
2589
2664
|
]),
|
|
2590
|
-
t[2] || (t[2] =
|
|
2665
|
+
t[2] || (t[2] = r("div", {
|
|
2591
2666
|
mb6: "",
|
|
2592
2667
|
"mt--1": "",
|
|
2593
2668
|
"text-center": "",
|
|
2594
2669
|
"text-sm": "",
|
|
2595
2670
|
flex: "~ gap-1"
|
|
2596
2671
|
}, [
|
|
2597
|
-
|
|
2672
|
+
r("span", { op40: "" }, " Pinia DevTools ")
|
|
2598
2673
|
], -1))
|
|
2599
2674
|
]),
|
|
2600
|
-
t[6] || (t[6] =
|
|
2601
|
-
|
|
2602
|
-
|
|
2675
|
+
t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2676
|
+
r("div", p1, [
|
|
2677
|
+
r("div", {
|
|
2603
2678
|
flex: "~ col auto",
|
|
2604
2679
|
"min-w-40": "",
|
|
2605
2680
|
p4: "",
|
|
2606
2681
|
"theme-card-lime": "",
|
|
2607
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
2682
|
+
onClick: t[0] || (t[0] = (s) => u(e).push("/store"))
|
|
2608
2683
|
}, t[3] || (t[3] = [
|
|
2609
|
-
|
|
2684
|
+
r("div", {
|
|
2610
2685
|
"i-carbon-tree-view-alt": "",
|
|
2611
2686
|
"text-3xl": ""
|
|
2612
2687
|
}, null, -1),
|
|
2613
|
-
|
|
2688
|
+
r("code", null, "Store", -1)
|
|
2614
2689
|
])),
|
|
2615
|
-
|
|
2690
|
+
r("div", {
|
|
2616
2691
|
flex: "~ col auto",
|
|
2617
2692
|
"min-w-40": "",
|
|
2618
2693
|
p4: "",
|
|
2619
2694
|
"theme-card-lime": "",
|
|
2620
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
2695
|
+
onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
|
|
2621
2696
|
}, t[4] || (t[4] = [
|
|
2622
|
-
|
|
2697
|
+
r("div", {
|
|
2623
2698
|
"i-mdi:timeline-clock-outline": "",
|
|
2624
2699
|
"text-3xl": ""
|
|
2625
2700
|
}, null, -1),
|
|
2626
|
-
|
|
2701
|
+
r("div", null, "Timeline", -1)
|
|
2627
2702
|
]))
|
|
2628
2703
|
]),
|
|
2629
|
-
t[7] || (t[7] =
|
|
2704
|
+
t[7] || (t[7] = r("div", {
|
|
2630
2705
|
flex: "~ gap-6 wrap",
|
|
2631
2706
|
"mt-5": "",
|
|
2632
2707
|
"items-center": "",
|
|
2633
2708
|
"justify-center": ""
|
|
2634
2709
|
}, [
|
|
2635
|
-
|
|
2710
|
+
r("a", {
|
|
2636
2711
|
href: "https://github.com/vuejs/pinia",
|
|
2637
2712
|
target: "_blank",
|
|
2638
2713
|
flex: "~ gap1",
|
|
@@ -2641,10 +2716,10 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2641
2716
|
hover: "op100 text-blue",
|
|
2642
2717
|
transition: ""
|
|
2643
2718
|
}, [
|
|
2644
|
-
|
|
2719
|
+
r("div", { "i-carbon-star": "" }),
|
|
2645
2720
|
ne(" Star on GitHub ")
|
|
2646
2721
|
]),
|
|
2647
|
-
|
|
2722
|
+
r("a", {
|
|
2648
2723
|
href: "https://pinia.vuejs.org/",
|
|
2649
2724
|
target: "_blank",
|
|
2650
2725
|
flex: "~ gap1",
|
|
@@ -2653,32 +2728,32 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2653
2728
|
hover: "op100 text-yellow",
|
|
2654
2729
|
transition: ""
|
|
2655
2730
|
}, [
|
|
2656
|
-
|
|
2731
|
+
r("div", { "i-carbon-document": "" }),
|
|
2657
2732
|
ne(" View Documentation ")
|
|
2658
2733
|
])
|
|
2659
2734
|
], -1)),
|
|
2660
|
-
t[8] || (t[8] =
|
|
2735
|
+
t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
|
|
2661
2736
|
])
|
|
2662
2737
|
]));
|
|
2663
2738
|
}
|
|
2664
|
-
}),
|
|
2739
|
+
}), v1 = { class: "h-full flex flex-col" }, m1 = /* @__PURE__ */ B({
|
|
2665
2740
|
__name: "Settings",
|
|
2666
2741
|
setup(n) {
|
|
2667
2742
|
const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
|
|
2668
2743
|
function s(l) {
|
|
2669
2744
|
e.value = l;
|
|
2670
2745
|
}
|
|
2671
|
-
return (l, i) => (p(),
|
|
2672
|
-
|
|
2746
|
+
return (l, i) => (p(), v("div", v1, [
|
|
2747
|
+
y($e, {
|
|
2673
2748
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2674
2749
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2675
2750
|
}, {
|
|
2676
|
-
default:
|
|
2677
|
-
|
|
2751
|
+
default: H(() => [
|
|
2752
|
+
y(Se)
|
|
2678
2753
|
]),
|
|
2679
2754
|
_: 1
|
|
2680
2755
|
}),
|
|
2681
|
-
|
|
2756
|
+
y(Ft, {
|
|
2682
2757
|
"plugin-id": "dev.esm.pinia",
|
|
2683
2758
|
options: o.value,
|
|
2684
2759
|
values: t.value,
|
|
@@ -2686,150 +2761,150 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2686
2761
|
}, null, 8, ["options", "values"])
|
|
2687
2762
|
]));
|
|
2688
2763
|
}
|
|
2689
|
-
}),
|
|
2764
|
+
}), h1 = { class: "h-full flex flex-col" }, g1 = { class: "h-full flex flex-col p2" }, C1 = {
|
|
2690
2765
|
key: 0,
|
|
2691
2766
|
class: "mb-1 flex justify-end pb-1",
|
|
2692
2767
|
border: "b dashed base"
|
|
2693
|
-
},
|
|
2768
|
+
}, _1 = { class: "flex items-center gap-2 px-1" }, x1 = ["onClick"], y1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, b1 = { class: "h-full flex flex-col p2" }, w1 = {
|
|
2694
2769
|
key: 0,
|
|
2695
2770
|
class: "mb-1 flex justify-end pb-1",
|
|
2696
2771
|
border: "b dashed base"
|
|
2697
|
-
},
|
|
2772
|
+
}, k1 = { class: "flex items-center gap-2 px-1" }, I1 = ["onClick"], pe = "pinia", $1 = /* @__PURE__ */ B({
|
|
2698
2773
|
__name: "Index",
|
|
2699
2774
|
setup(n) {
|
|
2700
|
-
const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), i = T([]),
|
|
2701
|
-
var
|
|
2702
|
-
return (
|
|
2703
|
-
}),
|
|
2704
|
-
var
|
|
2705
|
-
return !((
|
|
2775
|
+
const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), i = T([]), c = V(() => {
|
|
2776
|
+
var N, M;
|
|
2777
|
+
return (N = i.value) != null && N.length ? m((M = i.value) == null ? void 0 : M[0]) : [];
|
|
2778
|
+
}), d = V(() => A(i.value)), h = V(() => d.value.map((N) => N.id)), f = T({}), a = V(() => {
|
|
2779
|
+
var N, M;
|
|
2780
|
+
return !((N = f.value.state) != null && N.length) && !((M = f.value.getters) != null && M.length);
|
|
2706
2781
|
});
|
|
2707
|
-
function
|
|
2708
|
-
var
|
|
2709
|
-
return
|
|
2710
|
-
|
|
2711
|
-
}),
|
|
2712
|
-
}
|
|
2713
|
-
function
|
|
2714
|
-
const
|
|
2715
|
-
return
|
|
2716
|
-
|
|
2717
|
-
}), [...new Set(
|
|
2718
|
-
}
|
|
2719
|
-
function
|
|
2720
|
-
const
|
|
2721
|
-
|
|
2722
|
-
var
|
|
2723
|
-
|
|
2782
|
+
function m(N, M = [], w = []) {
|
|
2783
|
+
var k;
|
|
2784
|
+
return M.push(N.id), ((k = N.children) == null ? void 0 : k.length) === 0 && w.push([...M]), Array.isArray(N.children) && N.children.forEach((x) => {
|
|
2785
|
+
m(x, M, w);
|
|
2786
|
+
}), M.pop(), w;
|
|
2787
|
+
}
|
|
2788
|
+
function E(N, M) {
|
|
2789
|
+
const w = [];
|
|
2790
|
+
return N == null || N.forEach((k) => {
|
|
2791
|
+
w.push(...k.slice(0, M + 1));
|
|
2792
|
+
}), [...new Set(w)];
|
|
2793
|
+
}
|
|
2794
|
+
function A(N) {
|
|
2795
|
+
const M = [], w = (k) => {
|
|
2796
|
+
k == null || k.forEach((x) => {
|
|
2797
|
+
var R;
|
|
2798
|
+
M.push(x), (R = x.children) != null && R.length && w(x.children);
|
|
2724
2799
|
});
|
|
2725
2800
|
};
|
|
2726
|
-
return
|
|
2801
|
+
return w(N), M;
|
|
2727
2802
|
}
|
|
2728
|
-
function
|
|
2729
|
-
|
|
2730
|
-
t.value =
|
|
2803
|
+
function g() {
|
|
2804
|
+
P.value.getInspectorNodeActions(pe).then((N) => {
|
|
2805
|
+
t.value = N;
|
|
2731
2806
|
});
|
|
2732
2807
|
}
|
|
2733
|
-
function
|
|
2734
|
-
|
|
2735
|
-
s.value =
|
|
2808
|
+
function $() {
|
|
2809
|
+
P.value.getInspectorActions(pe).then((N) => {
|
|
2810
|
+
s.value = N;
|
|
2736
2811
|
});
|
|
2737
2812
|
}
|
|
2738
|
-
|
|
2739
|
-
function
|
|
2740
|
-
|
|
2813
|
+
g(), $();
|
|
2814
|
+
function U(N) {
|
|
2815
|
+
P.value.callInspectorNodeAction(pe, N, l.value);
|
|
2741
2816
|
}
|
|
2742
|
-
function
|
|
2743
|
-
|
|
2817
|
+
function D(N) {
|
|
2818
|
+
P.value.callInspectorAction(pe, N);
|
|
2744
2819
|
}
|
|
2745
|
-
function
|
|
2746
|
-
var
|
|
2747
|
-
for (const
|
|
2748
|
-
(
|
|
2749
|
-
return
|
|
2820
|
+
function _(N) {
|
|
2821
|
+
var M;
|
|
2822
|
+
for (const w in N)
|
|
2823
|
+
(M = N[w]) != null && M.length || delete N[w];
|
|
2824
|
+
return N;
|
|
2750
2825
|
}
|
|
2751
|
-
function
|
|
2752
|
-
|
|
2753
|
-
const
|
|
2754
|
-
|
|
2826
|
+
function C(N) {
|
|
2827
|
+
P.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
|
|
2828
|
+
const w = X(M);
|
|
2829
|
+
w && (f.value = _(w), o.value = Array.from({ length: Object.keys(f.value).length }, (k, x) => `${x}`));
|
|
2755
2830
|
});
|
|
2756
2831
|
}
|
|
2757
|
-
function
|
|
2832
|
+
function S() {
|
|
2758
2833
|
f.value = {};
|
|
2759
2834
|
}
|
|
2760
|
-
|
|
2761
|
-
|
|
2835
|
+
Q(l, () => {
|
|
2836
|
+
S(), C(l.value);
|
|
2762
2837
|
}), (() => {
|
|
2763
|
-
|
|
2764
|
-
const
|
|
2765
|
-
i.value =
|
|
2838
|
+
P.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
|
|
2839
|
+
const M = X(N);
|
|
2840
|
+
i.value = M, !l.value && M.length && (l.value = M[0].id, C(M[0].id), e.value = E(c.value, 1));
|
|
2766
2841
|
});
|
|
2767
2842
|
})();
|
|
2768
|
-
function K(
|
|
2769
|
-
const
|
|
2770
|
-
|
|
2843
|
+
function K(N) {
|
|
2844
|
+
const M = X(N);
|
|
2845
|
+
M.inspectorId !== pe || !M.rootNodes.length || (i.value = M.rootNodes, h.value.includes(l.value) || (l.value = M.rootNodes[0].id, e.value = E(c.value, 1), C(M.rootNodes[0].id)));
|
|
2771
2846
|
}
|
|
2772
|
-
function Z(
|
|
2773
|
-
const
|
|
2774
|
-
if (
|
|
2847
|
+
function Z(N) {
|
|
2848
|
+
const M = X(N);
|
|
2849
|
+
if (M.inspectorId !== pe)
|
|
2775
2850
|
return;
|
|
2776
|
-
const
|
|
2777
|
-
f.value =
|
|
2778
|
-
state:
|
|
2779
|
-
getters:
|
|
2851
|
+
const w = M.state;
|
|
2852
|
+
f.value = _({
|
|
2853
|
+
state: w.state,
|
|
2854
|
+
getters: w.getters
|
|
2780
2855
|
});
|
|
2781
2856
|
}
|
|
2782
|
-
return
|
|
2783
|
-
|
|
2784
|
-
}), (
|
|
2785
|
-
|
|
2857
|
+
return P.functions.on(q.INSPECTOR_TREE_UPDATED, K), P.functions.on(q.INSPECTOR_STATE_UPDATED, Z), be(() => {
|
|
2858
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, K), P.functions.off(q.INSPECTOR_STATE_UPDATED, Z);
|
|
2859
|
+
}), (N, M) => (p(), v("div", h1, [
|
|
2860
|
+
y($e, {
|
|
2786
2861
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2787
2862
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2788
2863
|
}, {
|
|
2789
|
-
default:
|
|
2790
|
-
|
|
2864
|
+
default: H(() => [
|
|
2865
|
+
y(Se)
|
|
2791
2866
|
]),
|
|
2792
2867
|
_: 1
|
|
2793
2868
|
}),
|
|
2794
|
-
|
|
2795
|
-
default:
|
|
2796
|
-
|
|
2869
|
+
y(u(Ae), { class: "flex-1 overflow-auto" }, {
|
|
2870
|
+
default: H(() => [
|
|
2871
|
+
y(u(ue), {
|
|
2797
2872
|
border: "r base",
|
|
2798
2873
|
size: "40",
|
|
2799
2874
|
"h-full": ""
|
|
2800
2875
|
}, {
|
|
2801
|
-
default:
|
|
2802
|
-
var
|
|
2876
|
+
default: H(() => {
|
|
2877
|
+
var w;
|
|
2803
2878
|
return [
|
|
2804
|
-
|
|
2805
|
-
(
|
|
2806
|
-
|
|
2807
|
-
(p(!0),
|
|
2808
|
-
key:
|
|
2879
|
+
r("div", g1, [
|
|
2880
|
+
(w = s.value) != null && w.length ? (p(), v("div", C1, [
|
|
2881
|
+
r("div", _1, [
|
|
2882
|
+
(p(!0), v(te, null, ae(s.value, (k, x) => W((p(), v("div", {
|
|
2883
|
+
key: x,
|
|
2809
2884
|
class: "flex items-center gap1",
|
|
2810
|
-
onClick: (
|
|
2885
|
+
onClick: (R) => D(x)
|
|
2811
2886
|
}, [
|
|
2812
|
-
|
|
2813
|
-
class: ie(`i-ic-baseline-${
|
|
2887
|
+
r("i", {
|
|
2888
|
+
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2814
2889
|
"cursor-pointer": "",
|
|
2815
2890
|
op70: "",
|
|
2816
2891
|
"text-base": "",
|
|
2817
2892
|
"hover:op100": ""
|
|
2818
2893
|
}, null, 2)
|
|
2819
|
-
], 8,
|
|
2894
|
+
], 8, x1)), [
|
|
2820
2895
|
[
|
|
2821
|
-
|
|
2822
|
-
{ content:
|
|
2896
|
+
u(J),
|
|
2897
|
+
{ content: k.tooltip },
|
|
2823
2898
|
void 0,
|
|
2824
2899
|
{ "bottom-end": !0 }
|
|
2825
2900
|
]
|
|
2826
2901
|
])), 128))
|
|
2827
2902
|
])
|
|
2828
|
-
])) :
|
|
2829
|
-
|
|
2830
|
-
|
|
2903
|
+
])) : O("", !0),
|
|
2904
|
+
r("div", y1, [
|
|
2905
|
+
y(Me, {
|
|
2831
2906
|
modelValue: l.value,
|
|
2832
|
-
"onUpdate:modelValue":
|
|
2907
|
+
"onUpdate:modelValue": M[0] || (M[0] = (k) => l.value = k),
|
|
2833
2908
|
data: i.value
|
|
2834
2909
|
}, null, 8, ["modelValue", "data"])
|
|
2835
2910
|
])
|
|
@@ -2838,35 +2913,35 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2838
2913
|
}),
|
|
2839
2914
|
_: 1
|
|
2840
2915
|
}),
|
|
2841
|
-
|
|
2842
|
-
default:
|
|
2843
|
-
var
|
|
2916
|
+
y(u(ue), { size: "60" }, {
|
|
2917
|
+
default: H(() => {
|
|
2918
|
+
var w;
|
|
2844
2919
|
return [
|
|
2845
|
-
|
|
2846
|
-
(
|
|
2847
|
-
|
|
2848
|
-
(p(!0),
|
|
2849
|
-
key:
|
|
2920
|
+
r("div", b1, [
|
|
2921
|
+
(w = t.value) != null && w.length ? (p(), v("div", w1, [
|
|
2922
|
+
r("div", k1, [
|
|
2923
|
+
(p(!0), v(te, null, ae(t.value, (k, x) => W((p(), v("div", {
|
|
2924
|
+
key: x,
|
|
2850
2925
|
class: "flex items-center gap1",
|
|
2851
|
-
onClick: (
|
|
2926
|
+
onClick: (R) => U(x)
|
|
2852
2927
|
}, [
|
|
2853
|
-
|
|
2854
|
-
class: ie(`i-ic-baseline-${
|
|
2928
|
+
r("i", {
|
|
2929
|
+
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2855
2930
|
"cursor-pointer": "",
|
|
2856
2931
|
op70: "",
|
|
2857
2932
|
"text-base": "",
|
|
2858
2933
|
"hover:op100": ""
|
|
2859
2934
|
}, null, 2)
|
|
2860
|
-
], 8,
|
|
2935
|
+
], 8, I1)), [
|
|
2861
2936
|
[
|
|
2862
|
-
|
|
2863
|
-
{ content:
|
|
2937
|
+
u(J),
|
|
2938
|
+
{ content: k.tooltip },
|
|
2864
2939
|
void 0,
|
|
2865
2940
|
{ "bottom-end": !0 }
|
|
2866
2941
|
]
|
|
2867
2942
|
])), 128))
|
|
2868
2943
|
])
|
|
2869
|
-
])) :
|
|
2944
|
+
])) : O("", !0),
|
|
2870
2945
|
l.value && !a.value ? (p(), z(Pe, {
|
|
2871
2946
|
key: 1,
|
|
2872
2947
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
@@ -2875,7 +2950,7 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2875
2950
|
"inspector-id": pe,
|
|
2876
2951
|
"expanded-state-id": "pinia-store-state"
|
|
2877
2952
|
}, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2878
|
-
default:
|
|
2953
|
+
default: H(() => M[1] || (M[1] = [
|
|
2879
2954
|
ne(" No Data ")
|
|
2880
2955
|
])),
|
|
2881
2956
|
_: 1
|
|
@@ -2890,20 +2965,21 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2890
2965
|
})
|
|
2891
2966
|
]));
|
|
2892
2967
|
}
|
|
2893
|
-
}),
|
|
2968
|
+
}), S1 = "dev.esm.pinia", T1 = /* @__PURE__ */ B({
|
|
2894
2969
|
__name: "Index",
|
|
2895
2970
|
setup(n) {
|
|
2896
2971
|
const e = ["pinia:mutations"];
|
|
2897
|
-
return (o, t) => (p(), z(
|
|
2972
|
+
return (o, t) => (p(), z(pt, {
|
|
2898
2973
|
"layer-ids": e,
|
|
2899
2974
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2975
|
+
"plugin-id": S1,
|
|
2900
2976
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2901
2977
|
}));
|
|
2902
2978
|
}
|
|
2903
|
-
}),
|
|
2979
|
+
}), E1 = {
|
|
2904
2980
|
"h-full": "",
|
|
2905
2981
|
"w-full": ""
|
|
2906
|
-
},
|
|
2982
|
+
}, ss = /* @__PURE__ */ B({
|
|
2907
2983
|
__name: "index",
|
|
2908
2984
|
setup(n) {
|
|
2909
2985
|
const e = T(null);
|
|
@@ -2912,137 +2988,137 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2912
2988
|
{
|
|
2913
2989
|
path: "/store",
|
|
2914
2990
|
name: "Store",
|
|
2915
|
-
component:
|
|
2991
|
+
component: $1,
|
|
2916
2992
|
icon: "i-carbon-tree-view-alt"
|
|
2917
2993
|
},
|
|
2918
2994
|
{
|
|
2919
2995
|
path: "/timeline",
|
|
2920
2996
|
name: "Timeline",
|
|
2921
|
-
component:
|
|
2997
|
+
component: T1,
|
|
2922
2998
|
icon: "i-mdi:timeline-clock-outline"
|
|
2923
2999
|
},
|
|
2924
3000
|
{
|
|
2925
3001
|
path: "/",
|
|
2926
3002
|
name: "About",
|
|
2927
|
-
component:
|
|
3003
|
+
component: f1,
|
|
2928
3004
|
icon: "i-logos-pinia"
|
|
2929
3005
|
},
|
|
2930
3006
|
e.value && {
|
|
2931
3007
|
path: "/settings",
|
|
2932
3008
|
name: "Settings",
|
|
2933
|
-
component:
|
|
3009
|
+
component: m1,
|
|
2934
3010
|
icon: "i-mdi:cog-outline"
|
|
2935
3011
|
}
|
|
2936
|
-
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } =
|
|
3012
|
+
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = st(o, {
|
|
2937
3013
|
defaultRoutePath: "/store"
|
|
2938
3014
|
});
|
|
2939
3015
|
return Re(() => {
|
|
2940
|
-
|
|
3016
|
+
P.value.getPluginSettings("dev.esm.pinia").then((i) => {
|
|
2941
3017
|
i.options ? e.value = i : e.value = null;
|
|
2942
3018
|
});
|
|
2943
|
-
}), (l, i) => (p(),
|
|
2944
|
-
|
|
3019
|
+
}), (l, i) => (p(), v("div", E1, [
|
|
3020
|
+
y(u(t))
|
|
2945
3021
|
]));
|
|
2946
3022
|
}
|
|
2947
|
-
}),
|
|
3023
|
+
}), V1 = {}, N1 = {
|
|
2948
3024
|
viewBox: "0 0 566 154",
|
|
2949
3025
|
fill: "none",
|
|
2950
3026
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2951
3027
|
};
|
|
2952
|
-
function
|
|
2953
|
-
return p(),
|
|
2954
|
-
|
|
3028
|
+
function R1(n, e) {
|
|
3029
|
+
return p(), v("svg", N1, e[0] || (e[0] = [
|
|
3030
|
+
r("svg", {
|
|
2955
3031
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2956
3032
|
width: "8em",
|
|
2957
3033
|
height: "8em",
|
|
2958
3034
|
viewBox: "0 -4 24 24"
|
|
2959
3035
|
}, [
|
|
2960
|
-
|
|
3036
|
+
r("path", {
|
|
2961
3037
|
fill: "#3dd68c",
|
|
2962
3038
|
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"
|
|
2963
3039
|
})
|
|
2964
3040
|
], -1),
|
|
2965
|
-
|
|
3041
|
+
r("path", {
|
|
2966
3042
|
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",
|
|
2967
3043
|
fill: "currentColor"
|
|
2968
3044
|
}, null, -1)
|
|
2969
3045
|
]));
|
|
2970
3046
|
}
|
|
2971
|
-
const
|
|
3047
|
+
const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
2972
3048
|
"h-full": "",
|
|
2973
3049
|
"w-full": "",
|
|
2974
3050
|
flex: "",
|
|
2975
3051
|
"items-center": ""
|
|
2976
|
-
},
|
|
3052
|
+
}, P1 = {
|
|
2977
3053
|
flex: "~ col gap2",
|
|
2978
3054
|
ma: "",
|
|
2979
3055
|
"px-5": ""
|
|
2980
|
-
},
|
|
3056
|
+
}, M1 = {
|
|
2981
3057
|
flex: "~ col",
|
|
2982
3058
|
"mt-20": "",
|
|
2983
3059
|
"items-center": ""
|
|
2984
|
-
},
|
|
3060
|
+
}, L1 = {
|
|
2985
3061
|
flex: "~",
|
|
2986
3062
|
"mt--10": "",
|
|
2987
3063
|
"items-center": "",
|
|
2988
3064
|
"justify-center": ""
|
|
2989
|
-
},
|
|
3065
|
+
}, H1 = { flex: "~ gap2 wrap" }, j1 = /* @__PURE__ */ B({
|
|
2990
3066
|
__name: "About",
|
|
2991
3067
|
setup(n) {
|
|
2992
3068
|
const e = De();
|
|
2993
|
-
return (o, t) => (p(),
|
|
2994
|
-
|
|
2995
|
-
t[5] || (t[5] =
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
3069
|
+
return (o, t) => (p(), v("div", D1, [
|
|
3070
|
+
r("div", P1, [
|
|
3071
|
+
t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
3072
|
+
r("div", M1, [
|
|
3073
|
+
r("div", L1, [
|
|
3074
|
+
y(A1, { "h-18": "" })
|
|
2999
3075
|
]),
|
|
3000
|
-
t[2] || (t[2] =
|
|
3076
|
+
t[2] || (t[2] = r("div", {
|
|
3001
3077
|
mb6: "",
|
|
3002
3078
|
"mt--1": "",
|
|
3003
3079
|
"text-center": "",
|
|
3004
3080
|
"text-sm": "",
|
|
3005
3081
|
flex: "~ gap-1"
|
|
3006
3082
|
}, [
|
|
3007
|
-
|
|
3083
|
+
r("span", { op40: "" }, " Router DevTools ")
|
|
3008
3084
|
], -1))
|
|
3009
3085
|
]),
|
|
3010
|
-
t[6] || (t[6] =
|
|
3011
|
-
|
|
3012
|
-
|
|
3086
|
+
t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
3087
|
+
r("div", H1, [
|
|
3088
|
+
r("div", {
|
|
3013
3089
|
flex: "~ col auto",
|
|
3014
3090
|
"min-w-40": "",
|
|
3015
3091
|
p4: "",
|
|
3016
3092
|
"theme-card-lime": "",
|
|
3017
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
3093
|
+
onClick: t[0] || (t[0] = (s) => u(e).push("/routes"))
|
|
3018
3094
|
}, t[3] || (t[3] = [
|
|
3019
|
-
|
|
3095
|
+
r("div", {
|
|
3020
3096
|
"i-carbon-tree-view-alt": "",
|
|
3021
3097
|
"text-3xl": ""
|
|
3022
3098
|
}, null, -1),
|
|
3023
|
-
|
|
3099
|
+
r("code", null, "Routes", -1)
|
|
3024
3100
|
])),
|
|
3025
|
-
|
|
3101
|
+
r("div", {
|
|
3026
3102
|
flex: "~ col auto",
|
|
3027
3103
|
"min-w-40": "",
|
|
3028
3104
|
p4: "",
|
|
3029
3105
|
"theme-card-lime": "",
|
|
3030
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
3106
|
+
onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
|
|
3031
3107
|
}, t[4] || (t[4] = [
|
|
3032
|
-
|
|
3108
|
+
r("div", {
|
|
3033
3109
|
"i-mdi:timeline-clock-outline": "",
|
|
3034
3110
|
"text-3xl": ""
|
|
3035
3111
|
}, null, -1),
|
|
3036
|
-
|
|
3112
|
+
r("div", null, "Timeline", -1)
|
|
3037
3113
|
]))
|
|
3038
3114
|
]),
|
|
3039
|
-
t[7] || (t[7] =
|
|
3115
|
+
t[7] || (t[7] = r("div", {
|
|
3040
3116
|
flex: "~ gap-6 wrap",
|
|
3041
3117
|
"mt-5": "",
|
|
3042
3118
|
"items-center": "",
|
|
3043
3119
|
"justify-center": ""
|
|
3044
3120
|
}, [
|
|
3045
|
-
|
|
3121
|
+
r("a", {
|
|
3046
3122
|
href: "https://github.com/vuejs/router",
|
|
3047
3123
|
target: "_blank",
|
|
3048
3124
|
flex: "~ gap1",
|
|
@@ -3051,10 +3127,10 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3051
3127
|
hover: "op100 text-blue",
|
|
3052
3128
|
transition: ""
|
|
3053
3129
|
}, [
|
|
3054
|
-
|
|
3130
|
+
r("div", { "i-carbon-star": "" }),
|
|
3055
3131
|
ne(" Star on GitHub ")
|
|
3056
3132
|
]),
|
|
3057
|
-
|
|
3133
|
+
r("a", {
|
|
3058
3134
|
href: "https://router.vuejs.org/",
|
|
3059
3135
|
target: "_blank",
|
|
3060
3136
|
flex: "~ gap1",
|
|
@@ -3063,122 +3139,122 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3063
3139
|
hover: "op100 text-yellow",
|
|
3064
3140
|
transition: ""
|
|
3065
3141
|
}, [
|
|
3066
|
-
|
|
3142
|
+
r("div", { "i-carbon-document": "" }),
|
|
3067
3143
|
ne(" View Documentation ")
|
|
3068
3144
|
])
|
|
3069
3145
|
], -1)),
|
|
3070
|
-
t[8] || (t[8] =
|
|
3146
|
+
t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
|
|
3071
3147
|
])
|
|
3072
3148
|
]));
|
|
3073
3149
|
}
|
|
3074
|
-
}),
|
|
3150
|
+
}), O1 = { class: "h-full flex flex-col" }, U1 = {
|
|
3075
3151
|
"h-full": "",
|
|
3076
3152
|
"select-none": "",
|
|
3077
3153
|
"overflow-scroll": "",
|
|
3078
3154
|
p2: "",
|
|
3079
3155
|
class: "no-scrollbar"
|
|
3080
|
-
},
|
|
3156
|
+
}, z1 = {
|
|
3081
3157
|
"h-full": "",
|
|
3082
3158
|
"select-none": "",
|
|
3083
3159
|
"overflow-scroll": "",
|
|
3084
3160
|
class: "no-scrollbar"
|
|
3085
|
-
},
|
|
3161
|
+
}, B1 = /* @__PURE__ */ B({
|
|
3086
3162
|
__name: "Index",
|
|
3087
3163
|
setup(n) {
|
|
3088
|
-
const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""), i = T([]),
|
|
3089
|
-
var
|
|
3090
|
-
return (
|
|
3091
|
-
}),
|
|
3092
|
-
function a(
|
|
3164
|
+
const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""), i = T([]), c = V(() => {
|
|
3165
|
+
var C, S;
|
|
3166
|
+
return (C = i.value) != null && C.length ? a((S = i.value) == null ? void 0 : S[0]) : [];
|
|
3167
|
+
}), d = V(() => E(i.value)), h = V(() => d.value.map((C) => C.id)), f = T({});
|
|
3168
|
+
function a(C, S = [], L = []) {
|
|
3093
3169
|
var K;
|
|
3094
|
-
return
|
|
3095
|
-
a(Z,
|
|
3096
|
-
}),
|
|
3097
|
-
}
|
|
3098
|
-
function
|
|
3099
|
-
const
|
|
3100
|
-
return
|
|
3101
|
-
|
|
3102
|
-
}), [...new Set(
|
|
3103
|
-
}
|
|
3104
|
-
function
|
|
3105
|
-
const
|
|
3170
|
+
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) => {
|
|
3171
|
+
a(Z, S, L);
|
|
3172
|
+
}), S.pop(), L;
|
|
3173
|
+
}
|
|
3174
|
+
function m(C, S) {
|
|
3175
|
+
const L = [];
|
|
3176
|
+
return C == null || C.forEach((K) => {
|
|
3177
|
+
L.push(...K.slice(0, S + 1));
|
|
3178
|
+
}), [...new Set(L)];
|
|
3179
|
+
}
|
|
3180
|
+
function E(C) {
|
|
3181
|
+
const S = [], L = (K) => {
|
|
3106
3182
|
K == null || K.forEach((Z) => {
|
|
3107
|
-
var
|
|
3108
|
-
|
|
3183
|
+
var N;
|
|
3184
|
+
S.push(Z), (N = Z.children) != null && N.length && L(Z.children);
|
|
3109
3185
|
});
|
|
3110
3186
|
};
|
|
3111
|
-
return
|
|
3187
|
+
return L(C), S;
|
|
3112
3188
|
}
|
|
3113
|
-
function C
|
|
3114
|
-
var
|
|
3115
|
-
for (const
|
|
3116
|
-
(
|
|
3117
|
-
return
|
|
3118
|
-
}
|
|
3119
|
-
function
|
|
3120
|
-
|
|
3121
|
-
const
|
|
3122
|
-
|
|
3189
|
+
function A(C) {
|
|
3190
|
+
var S;
|
|
3191
|
+
for (const L in C)
|
|
3192
|
+
(S = C[L]) != null && S.length || delete C[L];
|
|
3193
|
+
return C;
|
|
3194
|
+
}
|
|
3195
|
+
function g(C) {
|
|
3196
|
+
P.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
|
|
3197
|
+
const L = X(S);
|
|
3198
|
+
L && (f.value = A(L), o.value = Array.from({ length: Object.keys(f.value).length }, (K, Z) => `${Z}`));
|
|
3123
3199
|
});
|
|
3124
3200
|
}
|
|
3125
|
-
function
|
|
3201
|
+
function $() {
|
|
3126
3202
|
f.value = {};
|
|
3127
3203
|
}
|
|
3128
|
-
|
|
3129
|
-
|
|
3204
|
+
Q(l, () => {
|
|
3205
|
+
$(), g(l.value);
|
|
3130
3206
|
});
|
|
3131
|
-
const
|
|
3132
|
-
|
|
3133
|
-
const
|
|
3134
|
-
i.value =
|
|
3207
|
+
const U = () => {
|
|
3208
|
+
P.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
|
|
3209
|
+
const S = X(C);
|
|
3210
|
+
i.value = S, !l.value && S.length && (l.value = S[0].id, g(S[0].id), e.value = m(c.value, 1));
|
|
3135
3211
|
});
|
|
3136
3212
|
};
|
|
3137
|
-
|
|
3138
|
-
function
|
|
3139
|
-
const
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
function
|
|
3143
|
-
const
|
|
3144
|
-
if (
|
|
3213
|
+
jt(s).toBeTruthy().then(U);
|
|
3214
|
+
function D(C) {
|
|
3215
|
+
const S = X(C);
|
|
3216
|
+
S.inspectorId !== s.value || !S.rootNodes.length || (i.value = S.rootNodes, h.value.includes(l.value) || (l.value = S.rootNodes[0].id, e.value = m(c.value, 1), g(S.rootNodes[0].id)));
|
|
3217
|
+
}
|
|
3218
|
+
function _(C) {
|
|
3219
|
+
const S = X(C);
|
|
3220
|
+
if (S.inspectorId !== s.value)
|
|
3145
3221
|
return;
|
|
3146
|
-
const
|
|
3147
|
-
f.value =
|
|
3222
|
+
const L = S.state;
|
|
3223
|
+
f.value = A(L);
|
|
3148
3224
|
}
|
|
3149
|
-
return
|
|
3150
|
-
|
|
3151
|
-
}), (
|
|
3152
|
-
|
|
3225
|
+
return P.functions.on(q.INSPECTOR_TREE_UPDATED, D), P.functions.on(q.INSPECTOR_STATE_UPDATED, _), be(() => {
|
|
3226
|
+
P.functions.off(q.INSPECTOR_TREE_UPDATED, D), P.functions.off(q.INSPECTOR_STATE_UPDATED, _);
|
|
3227
|
+
}), (C, S) => (p(), v("div", O1, [
|
|
3228
|
+
y($e, {
|
|
3153
3229
|
"doc-link": "https://router.vuejs.org/",
|
|
3154
3230
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3155
3231
|
}, {
|
|
3156
|
-
default:
|
|
3157
|
-
|
|
3232
|
+
default: H(() => [
|
|
3233
|
+
y(Se)
|
|
3158
3234
|
]),
|
|
3159
3235
|
_: 1
|
|
3160
3236
|
}),
|
|
3161
|
-
|
|
3162
|
-
default:
|
|
3163
|
-
|
|
3237
|
+
y(u(Ae), { class: "flex-1 overflow-auto" }, {
|
|
3238
|
+
default: H(() => [
|
|
3239
|
+
y(u(ue), {
|
|
3164
3240
|
border: "r base",
|
|
3165
3241
|
size: "40",
|
|
3166
3242
|
"h-full": ""
|
|
3167
3243
|
}, {
|
|
3168
|
-
default:
|
|
3169
|
-
|
|
3170
|
-
|
|
3244
|
+
default: H(() => [
|
|
3245
|
+
r("div", U1, [
|
|
3246
|
+
y(Me, {
|
|
3171
3247
|
modelValue: l.value,
|
|
3172
|
-
"onUpdate:modelValue":
|
|
3248
|
+
"onUpdate:modelValue": S[0] || (S[0] = (L) => l.value = L),
|
|
3173
3249
|
data: i.value
|
|
3174
3250
|
}, null, 8, ["modelValue", "data"])
|
|
3175
3251
|
])
|
|
3176
3252
|
]),
|
|
3177
3253
|
_: 1
|
|
3178
3254
|
}),
|
|
3179
|
-
|
|
3180
|
-
default:
|
|
3181
|
-
|
|
3255
|
+
y(u(ue), { size: "60" }, {
|
|
3256
|
+
default: H(() => [
|
|
3257
|
+
r("div", z1, [
|
|
3182
3258
|
l.value ? (p(), z(Pe, {
|
|
3183
3259
|
key: 0,
|
|
3184
3260
|
class: "p3",
|
|
@@ -3187,7 +3263,7 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3187
3263
|
"inspector-id": "router",
|
|
3188
3264
|
"expanded-state-id": "routes-state"
|
|
3189
3265
|
}, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
|
|
3190
|
-
default:
|
|
3266
|
+
default: H(() => S[1] || (S[1] = [
|
|
3191
3267
|
ne(" No Data ")
|
|
3192
3268
|
])),
|
|
3193
3269
|
_: 1
|
|
@@ -3201,42 +3277,43 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3201
3277
|
})
|
|
3202
3278
|
]));
|
|
3203
3279
|
}
|
|
3204
|
-
}),
|
|
3280
|
+
}), Z1 = "org.vuejs.router", F1 = /* @__PURE__ */ B({
|
|
3205
3281
|
__name: "Index",
|
|
3206
3282
|
setup(n) {
|
|
3207
3283
|
const e = Te();
|
|
3208
|
-
return (o, t) => (p(), z(
|
|
3209
|
-
"layer-ids":
|
|
3284
|
+
return (o, t) => (p(), z(pt, {
|
|
3285
|
+
"layer-ids": u(e).timelineLayerIds,
|
|
3210
3286
|
"doc-link": "https://router.vuejs.org/",
|
|
3287
|
+
"plugin-id": Z1,
|
|
3211
3288
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3212
3289
|
}, null, 8, ["layer-ids"]));
|
|
3213
3290
|
}
|
|
3214
|
-
}),
|
|
3291
|
+
}), G1 = {
|
|
3215
3292
|
"h-full": "",
|
|
3216
3293
|
"w-full": ""
|
|
3217
|
-
},
|
|
3294
|
+
}, as = /* @__PURE__ */ B({
|
|
3218
3295
|
__name: "index",
|
|
3219
3296
|
props: {
|
|
3220
3297
|
id: {}
|
|
3221
3298
|
},
|
|
3222
3299
|
setup(n) {
|
|
3223
|
-
const e = n, o =
|
|
3300
|
+
const e = n, o = Zt(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = st([
|
|
3224
3301
|
{
|
|
3225
3302
|
path: "/routes",
|
|
3226
3303
|
name: "Routes",
|
|
3227
|
-
component:
|
|
3304
|
+
component: B1,
|
|
3228
3305
|
icon: "i-carbon-tree-view-alt"
|
|
3229
3306
|
},
|
|
3230
3307
|
{
|
|
3231
3308
|
path: "/timeline",
|
|
3232
3309
|
name: "Timeline",
|
|
3233
|
-
component:
|
|
3310
|
+
component: F1,
|
|
3234
3311
|
icon: "i-mdi:timeline-clock-outline"
|
|
3235
3312
|
},
|
|
3236
3313
|
{
|
|
3237
3314
|
path: "/about",
|
|
3238
3315
|
name: "About",
|
|
3239
|
-
component:
|
|
3316
|
+
component: j1,
|
|
3240
3317
|
icon: "i-ri-route-line"
|
|
3241
3318
|
}
|
|
3242
3319
|
], {
|
|
@@ -3244,33 +3321,33 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3244
3321
|
});
|
|
3245
3322
|
function i() {
|
|
3246
3323
|
t.value = !0, Re(() => {
|
|
3247
|
-
|
|
3248
|
-
if (!
|
|
3324
|
+
P.value.getInspectorInfo(e.id).then((c) => {
|
|
3325
|
+
if (!c)
|
|
3249
3326
|
return;
|
|
3250
|
-
const
|
|
3251
|
-
homepage:
|
|
3252
|
-
id:
|
|
3253
|
-
label:
|
|
3254
|
-
logo:
|
|
3255
|
-
timelineLayerIds:
|
|
3327
|
+
const d = {
|
|
3328
|
+
homepage: c == null ? void 0 : c.homepage,
|
|
3329
|
+
id: c == null ? void 0 : c.id,
|
|
3330
|
+
label: c == null ? void 0 : c.label,
|
|
3331
|
+
logo: c == null ? void 0 : c.logo,
|
|
3332
|
+
timelineLayerIds: c == null ? void 0 : c.timelineLayers.map((h) => h.id)
|
|
3256
3333
|
};
|
|
3257
|
-
o.value =
|
|
3334
|
+
o.value = d, l(), t.value = !1;
|
|
3258
3335
|
});
|
|
3259
3336
|
});
|
|
3260
3337
|
}
|
|
3261
|
-
return
|
|
3262
|
-
|
|
3263
|
-
}), (
|
|
3264
|
-
|
|
3338
|
+
return Q(() => e.id, (c) => {
|
|
3339
|
+
c && i();
|
|
3340
|
+
}), (c, d) => (p(), v("div", G1, [
|
|
3341
|
+
y(u(s))
|
|
3265
3342
|
]));
|
|
3266
3343
|
}
|
|
3267
3344
|
});
|
|
3268
3345
|
export {
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3346
|
+
os as Components,
|
|
3347
|
+
ls as CustomInspector,
|
|
3348
|
+
ss as Pinia,
|
|
3349
|
+
as as Router,
|
|
3273
3350
|
Sn as SelectiveList,
|
|
3274
|
-
|
|
3275
|
-
|
|
3351
|
+
pt as Timeline,
|
|
3352
|
+
ns as useCustomInspector
|
|
3276
3353
|
};
|