@vue/devtools-applet 7.5.4 → 7.5.5
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 +4 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1364 -1291
- 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 D,
|
|
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 U, 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 D, 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
|
-
|
|
166
|
+
r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1)
|
|
167
167
|
]), 8, Nn)) : U("", !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 P = [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 && P.push(
|
|
375
|
+
kt(A, g).then(() => ee(n)).finally(() => $ == null ? void 0 : $())
|
|
376
|
+
), Promise.race(P);
|
|
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 O = null;
|
|
383
|
+
const _ = [new Promise((C) => {
|
|
384
|
+
O = Q(
|
|
385
385
|
[n, a],
|
|
386
|
-
([
|
|
387
|
-
e !== (
|
|
386
|
+
([S, L]) => {
|
|
387
|
+
e !== (S === L) && (O ? O() : Be(() => O == null ? void 0 : O()), 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(() => (O == null || O(), 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 && O(c.value) ? e.clipboard.readText().then((P) => {
|
|
580
|
+
f.value = P;
|
|
581
|
+
}) : f.value = $();
|
|
582
582
|
}
|
|
583
|
-
|
|
584
|
-
async function
|
|
585
|
-
|
|
583
|
+
h.value && o && he(["copy", "cut"], E);
|
|
584
|
+
async function A(P = ee(t)) {
|
|
585
|
+
h.value && P != null && (i.value && O(d.value) ? await e.clipboard.writeText(P) : g(P), f.value = P, a.value = !0, m.start());
|
|
586
586
|
}
|
|
587
|
-
function
|
|
588
|
-
const
|
|
589
|
-
|
|
587
|
+
function g(P) {
|
|
588
|
+
const _ = document.createElement("textarea");
|
|
589
|
+
_.value = P ?? "", _.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 P, _, C;
|
|
593
|
+
return (C = (_ = (P = document == null ? void 0 : document.getSelection) == null ? void 0 : P.call(document)) == null ? void 0 : _.toString()) != null ? C : "";
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
return
|
|
595
|
+
function O(P) {
|
|
596
|
+
return P === "granted" || P === "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 O, P;
|
|
708
|
+
const _ = (O = g.key) == null ? void 0 : O.toLowerCase(), S = [(P = g.code) == null ? void 0 : P.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, $, O) {
|
|
721
|
+
if (typeof $ != "string")
|
|
722
|
+
return Reflect.get(g, $, O);
|
|
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 P = Reflect.get(g, $, O);
|
|
730
|
+
return e ? ee(P) : P;
|
|
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(_) : _, O = () => Un(n[e]) ? $(n[e]) : a, P = (_) => {
|
|
749
|
+
m ? m(_) && A(g, _) : A(g, _);
|
|
750
750
|
};
|
|
751
|
-
if (
|
|
752
|
-
const
|
|
753
|
-
let
|
|
754
|
-
return
|
|
751
|
+
if (d) {
|
|
752
|
+
const _ = O(), 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) && P(L);
|
|
763
763
|
},
|
|
764
764
|
{ deep: f }
|
|
765
|
-
),
|
|
765
|
+
), C;
|
|
766
766
|
} else
|
|
767
767
|
return V({
|
|
768
768
|
get() {
|
|
769
|
-
return
|
|
769
|
+
return O();
|
|
770
770
|
},
|
|
771
|
-
set(
|
|
772
|
-
|
|
771
|
+
set(_) {
|
|
772
|
+
P(_);
|
|
773
773
|
}
|
|
774
774
|
});
|
|
775
775
|
}
|
|
@@ -800,13 +800,13 @@ 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
|
|
809
|
+
async function m(A, g = !1) {
|
|
810
810
|
await D.value.editInspectorState({
|
|
811
811
|
path: e.data.path || [e.data.key],
|
|
812
812
|
inspectorId: o.value.inspectorId,
|
|
@@ -814,135 +814,135 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
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
821
|
}), await D.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
855
|
]) : U("", !0)
|
|
856
856
|
], 64)) : U("", !0),
|
|
857
|
-
|
|
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
886
|
], 64)) : U("", !0)
|
|
887
887
|
], 64)) : U("", !0),
|
|
888
|
-
!e.disableEdit &&
|
|
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
896
|
}, 16, ["class"])) : U("", !0),
|
|
897
|
-
|
|
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,68 +953,68 @@ 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
|
])
|
|
@@ -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: O } = ro(() => g.value), { editingType: P, 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
|
|
1092
|
+
const x = e.data;
|
|
1093
1093
|
await D.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: P.value,
|
|
1101
|
+
value: Ue(C.value, l.value.customType)
|
|
1102
1102
|
}
|
|
1103
|
-
}), await D.value.sendInspectorState(
|
|
1103
|
+
}), await D.value.sendInspectorState($.value.inspectorId), S();
|
|
1104
1104
|
}
|
|
1105
|
-
const { addNewProp: Z, draftingNewProp:
|
|
1106
|
-
function
|
|
1107
|
-
const
|
|
1108
|
-
i.value.includes(
|
|
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
1109
|
}
|
|
1110
|
-
async function
|
|
1111
|
-
const
|
|
1110
|
+
async function k() {
|
|
1111
|
+
const x = e.data;
|
|
1112
1112
|
await D.value.editInspectorState({
|
|
1113
|
-
path: [...f.value,
|
|
1114
|
-
inspectorId:
|
|
1115
|
-
type:
|
|
1116
|
-
nodeId:
|
|
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 D.value.sendInspectorState(
|
|
1122
|
+
}), await D.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
1146
|
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
|
|
1147
|
-
|
|
1148
|
-
class: ie([
|
|
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(O),
|
|
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
|
-
[
|
|
1182
|
+
[u(J), "Show more"]
|
|
1183
1183
|
]) : U("", !0),
|
|
1184
|
-
|
|
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
1203
|
], 4)) : U("", !0)
|
|
1204
1204
|
])) : U("", !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,26 +1248,26 @@ 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"])
|
|
@@ -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)) : U("", !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,10 +1354,17 @@ 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 = { class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1" }, Lo = { class: "flex items-center gap-2 px-1" }, Ho = {
|
|
1358
|
+
key: 0,
|
|
1359
|
+
class: "recording recording-btn bg-[#ef4444]"
|
|
1360
|
+
}, jo = {
|
|
1361
|
+
key: 1,
|
|
1362
|
+
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
1363
|
+
}, Oo = { class: "flex items-center gap1" }, Uo = /* @__PURE__ */ B({
|
|
1358
1364
|
__name: "index",
|
|
1359
1365
|
props: {
|
|
1360
1366
|
layerIds: {},
|
|
1367
|
+
pluginId: {},
|
|
1361
1368
|
docLink: {},
|
|
1362
1369
|
githubRepoLink: {},
|
|
1363
1370
|
headerVisible: { type: Boolean, default: !0 }
|
|
@@ -1365,89 +1372,100 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1365
1372
|
setup(n, { expose: e }) {
|
|
1366
1373
|
const o = n, { expanded: t } = me("timeline-state");
|
|
1367
1374
|
t.value = ["0", "1"];
|
|
1368
|
-
const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0),
|
|
1369
|
-
var
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
+
const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0), c = Vt(), d = V(() => {
|
|
1376
|
+
var P;
|
|
1377
|
+
return (P = c.timelineLayersState.value) == null ? void 0 : P[o.pluginId];
|
|
1378
|
+
}), h = V(() => s.value[i.value] ?? null), f = V(() => d.value ? "Stop recording" : "Start recording"), a = V(() => {
|
|
1379
|
+
var _;
|
|
1380
|
+
const P = [];
|
|
1381
|
+
for (const C in (_ = h.value) == null ? void 0 : _.data)
|
|
1382
|
+
P.push({
|
|
1383
|
+
key: C,
|
|
1384
|
+
type: C,
|
|
1375
1385
|
editable: !1,
|
|
1376
|
-
value:
|
|
1386
|
+
value: h.value.data[C]
|
|
1377
1387
|
});
|
|
1378
|
-
return
|
|
1379
|
-
}),
|
|
1380
|
-
var
|
|
1381
|
-
const
|
|
1382
|
-
if (
|
|
1383
|
-
const
|
|
1388
|
+
return P;
|
|
1389
|
+
}), m = V(() => {
|
|
1390
|
+
var C, S, L;
|
|
1391
|
+
const P = (C = h.value) == null ? void 0 : C.groupId, _ = l.value.get(P);
|
|
1392
|
+
if (_) {
|
|
1393
|
+
const K = ((S = _[_.length - 1]) == null ? void 0 : S.time) - (((L = _[0]) == null ? void 0 : L.time) ?? 0);
|
|
1384
1394
|
return [{
|
|
1385
1395
|
key: "events",
|
|
1386
1396
|
type: "events",
|
|
1387
1397
|
editable: !1,
|
|
1388
|
-
value:
|
|
1389
|
-
},
|
|
1398
|
+
value: _.length
|
|
1399
|
+
}, K && {
|
|
1390
1400
|
key: "duration",
|
|
1391
1401
|
type: "duration",
|
|
1392
1402
|
editable: !1,
|
|
1393
|
-
value: `${
|
|
1403
|
+
value: `${K}ms`
|
|
1394
1404
|
}].filter(Boolean);
|
|
1395
1405
|
}
|
|
1396
|
-
}),
|
|
1397
|
-
function
|
|
1398
|
-
var
|
|
1399
|
-
const
|
|
1400
|
-
|
|
1401
|
-
}
|
|
1402
|
-
function
|
|
1403
|
-
const
|
|
1404
|
-
if (!
|
|
1406
|
+
}), E = V(() => ({ "Event Info": a.value, ...m.value && { "Group Info": m.value } }));
|
|
1407
|
+
function A(P) {
|
|
1408
|
+
var C;
|
|
1409
|
+
const _ = P.groupId;
|
|
1410
|
+
_ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(P));
|
|
1411
|
+
}
|
|
1412
|
+
function g(P) {
|
|
1413
|
+
const _ = X(P);
|
|
1414
|
+
if (!_)
|
|
1405
1415
|
return;
|
|
1406
|
-
const { layerId:
|
|
1407
|
-
o.layerIds.includes(
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
D.functions.off(
|
|
1411
|
-
})
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1416
|
+
const { layerId: C, event: S } = _;
|
|
1417
|
+
o.layerIds.includes(C) && (s.value.push(S), A(S));
|
|
1418
|
+
}
|
|
1419
|
+
D.functions.on(q.TIMELINE_EVENT_UPDATED, g), be(() => {
|
|
1420
|
+
D.functions.off(q.TIMELINE_EVENT_UPDATED, g);
|
|
1421
|
+
});
|
|
1422
|
+
function $() {
|
|
1423
|
+
s.value = [], l.value.clear();
|
|
1424
|
+
}
|
|
1425
|
+
e({
|
|
1426
|
+
clear: $
|
|
1427
|
+
});
|
|
1428
|
+
function O() {
|
|
1429
|
+
D.value.updateTimelineLayersState({
|
|
1430
|
+
[o.pluginId]: !d.value
|
|
1431
|
+
});
|
|
1432
|
+
}
|
|
1433
|
+
return (P, _) => (p(), v("div", Ro, [
|
|
1434
|
+
P.headerVisible ? (p(), z($e, {
|
|
1417
1435
|
key: 0,
|
|
1418
|
-
"doc-link":
|
|
1419
|
-
"github-repo-link":
|
|
1436
|
+
"doc-link": P.docLink,
|
|
1437
|
+
"github-repo-link": P.githubRepoLink
|
|
1420
1438
|
}, {
|
|
1421
|
-
default:
|
|
1422
|
-
|
|
1439
|
+
default: H(() => [
|
|
1440
|
+
y(Se)
|
|
1423
1441
|
]),
|
|
1424
1442
|
_: 1
|
|
1425
1443
|
}, 8, ["doc-link", "github-repo-link"])) : U("", !0),
|
|
1426
|
-
s.value.length ? (p(),
|
|
1427
|
-
|
|
1428
|
-
default:
|
|
1429
|
-
|
|
1444
|
+
s.value.length ? (p(), v("div", Ao, [
|
|
1445
|
+
y(u(Ae), { class: "h-full" }, {
|
|
1446
|
+
default: H(() => [
|
|
1447
|
+
y(u(ue), {
|
|
1430
1448
|
border: "r base",
|
|
1431
1449
|
size: "40",
|
|
1432
1450
|
"h-full": ""
|
|
1433
1451
|
}, {
|
|
1434
|
-
default:
|
|
1435
|
-
|
|
1436
|
-
|
|
1452
|
+
default: H(() => [
|
|
1453
|
+
r("div", Do, [
|
|
1454
|
+
y(No, {
|
|
1437
1455
|
modelValue: i.value,
|
|
1438
|
-
"onUpdate:modelValue":
|
|
1456
|
+
"onUpdate:modelValue": _[0] || (_[0] = (C) => i.value = C),
|
|
1439
1457
|
data: s.value
|
|
1440
1458
|
}, null, 8, ["modelValue", "data"])
|
|
1441
1459
|
])
|
|
1442
1460
|
]),
|
|
1443
1461
|
_: 1
|
|
1444
1462
|
}),
|
|
1445
|
-
|
|
1446
|
-
default:
|
|
1447
|
-
|
|
1448
|
-
|
|
1463
|
+
y(u(ue), { size: "60" }, {
|
|
1464
|
+
default: H(() => [
|
|
1465
|
+
r("div", Po, [
|
|
1466
|
+
y(Pe, {
|
|
1449
1467
|
class: "p3",
|
|
1450
|
-
data:
|
|
1468
|
+
data: E.value,
|
|
1451
1469
|
"node-id": "",
|
|
1452
1470
|
"inspector-id": "",
|
|
1453
1471
|
"disable-edit": !0,
|
|
@@ -1464,15 +1482,67 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
|
|
|
1464
1482
|
key: 2,
|
|
1465
1483
|
class: "flex-1"
|
|
1466
1484
|
}, {
|
|
1467
|
-
default:
|
|
1485
|
+
default: H(() => _[1] || (_[1] = [
|
|
1468
1486
|
ne(" No events ")
|
|
1469
1487
|
])),
|
|
1470
1488
|
_: 1
|
|
1471
|
-
}))
|
|
1489
|
+
})),
|
|
1490
|
+
r("div", Mo, [
|
|
1491
|
+
r("div", Lo, [
|
|
1492
|
+
W((p(), v("div", {
|
|
1493
|
+
class: "flex items-center gap1",
|
|
1494
|
+
onClick: O
|
|
1495
|
+
}, [
|
|
1496
|
+
d.value ? (p(), v("span", Ho)) : (p(), v("span", jo))
|
|
1497
|
+
])), [
|
|
1498
|
+
[
|
|
1499
|
+
u(J),
|
|
1500
|
+
{ content: f.value },
|
|
1501
|
+
void 0,
|
|
1502
|
+
{ "bottom-end": !0 }
|
|
1503
|
+
]
|
|
1504
|
+
]),
|
|
1505
|
+
W((p(), v("div", {
|
|
1506
|
+
class: "flex items-center gap1",
|
|
1507
|
+
onClick: $
|
|
1508
|
+
}, [
|
|
1509
|
+
y(u(Fe), {
|
|
1510
|
+
name: "baseline-delete",
|
|
1511
|
+
"cursor-pointer": "",
|
|
1512
|
+
"text-xl": "",
|
|
1513
|
+
op70: "",
|
|
1514
|
+
"hover:op100": ""
|
|
1515
|
+
})
|
|
1516
|
+
])), [
|
|
1517
|
+
[
|
|
1518
|
+
u(J),
|
|
1519
|
+
{ content: "Clear all timelines" },
|
|
1520
|
+
void 0,
|
|
1521
|
+
{ "bottom-end": !0 }
|
|
1522
|
+
]
|
|
1523
|
+
]),
|
|
1524
|
+
W((p(), v("div", Oo, [
|
|
1525
|
+
y(u(Fe), {
|
|
1526
|
+
name: "baseline-tips-and-updates",
|
|
1527
|
+
"cursor-pointer": "",
|
|
1528
|
+
"text-xl": "",
|
|
1529
|
+
op70: "",
|
|
1530
|
+
"hover:op100": ""
|
|
1531
|
+
})
|
|
1532
|
+
])), [
|
|
1533
|
+
[
|
|
1534
|
+
u(J),
|
|
1535
|
+
{ content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
|
|
1536
|
+
void 0,
|
|
1537
|
+
{ "bottom-end": !0 }
|
|
1538
|
+
]
|
|
1539
|
+
])
|
|
1540
|
+
])
|
|
1541
|
+
])
|
|
1472
1542
|
]));
|
|
1473
1543
|
}
|
|
1474
|
-
});
|
|
1475
|
-
function
|
|
1544
|
+
}), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-27e6deca"]]);
|
|
1545
|
+
function ns() {
|
|
1476
1546
|
const n = T([]), e = T([]);
|
|
1477
1547
|
function o(s) {
|
|
1478
1548
|
e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
|
|
@@ -1484,27 +1554,27 @@ function W1() {
|
|
|
1484
1554
|
e.value = s, e.value.forEach((l) => {
|
|
1485
1555
|
t(l);
|
|
1486
1556
|
});
|
|
1487
|
-
}), D.functions.on(
|
|
1557
|
+
}), D.functions.on(q.INSPECTOR_UPDATED, o);
|
|
1488
1558
|
});
|
|
1489
1559
|
function t(s) {
|
|
1490
1560
|
n.value.some((l) => l.id === s.id) || n.value.push(s);
|
|
1491
1561
|
}
|
|
1492
|
-
return
|
|
1493
|
-
D.functions.off(
|
|
1562
|
+
return be(() => {
|
|
1563
|
+
D.functions.off(q.INSPECTOR_UPDATED, o);
|
|
1494
1564
|
}), {
|
|
1495
1565
|
registeredInspector: n,
|
|
1496
1566
|
register: t
|
|
1497
1567
|
};
|
|
1498
1568
|
}
|
|
1499
|
-
const
|
|
1500
|
-
function
|
|
1569
|
+
const zt = Symbol("SelectedSymbolKey");
|
|
1570
|
+
function zo() {
|
|
1501
1571
|
const n = T("");
|
|
1502
|
-
return ge(
|
|
1572
|
+
return ge(zt, n), {
|
|
1503
1573
|
selected: n
|
|
1504
1574
|
};
|
|
1505
1575
|
}
|
|
1506
|
-
function
|
|
1507
|
-
const n = ve(
|
|
1576
|
+
function Bo() {
|
|
1577
|
+
const n = ve(zt, T(""));
|
|
1508
1578
|
function e(o) {
|
|
1509
1579
|
n.value = o;
|
|
1510
1580
|
}
|
|
@@ -1513,22 +1583,22 @@ function Ho() {
|
|
|
1513
1583
|
select: e
|
|
1514
1584
|
};
|
|
1515
1585
|
}
|
|
1516
|
-
const
|
|
1586
|
+
const Zo = ["onClick", "onDblclick"], Fo = {
|
|
1517
1587
|
key: 1,
|
|
1518
1588
|
pl5: ""
|
|
1519
|
-
},
|
|
1589
|
+
}, Go = {
|
|
1520
1590
|
"font-state-field": "",
|
|
1521
1591
|
"text-3.5": ""
|
|
1522
|
-
},
|
|
1592
|
+
}, Ko = {
|
|
1523
1593
|
key: 0,
|
|
1524
1594
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1525
|
-
},
|
|
1595
|
+
}, Wo = {
|
|
1526
1596
|
"group-hover:text-white": "",
|
|
1527
1597
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1528
|
-
},
|
|
1598
|
+
}, qo = {
|
|
1529
1599
|
key: 1,
|
|
1530
1600
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1531
|
-
},
|
|
1601
|
+
}, Jo = { key: 0 }, Me = /* @__PURE__ */ B({
|
|
1532
1602
|
__name: "TreeViewer",
|
|
1533
1603
|
props: /* @__PURE__ */ ze({
|
|
1534
1604
|
data: {},
|
|
@@ -1540,49 +1610,49 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1540
1610
|
}),
|
|
1541
1611
|
emits: ["update:modelValue"],
|
|
1542
1612
|
setup(n) {
|
|
1543
|
-
const e =
|
|
1544
|
-
|
|
1613
|
+
const e = et(n, "modelValue"), { expanded: o, toggleExpanded: t } = rt();
|
|
1614
|
+
Bo();
|
|
1545
1615
|
function s(i) {
|
|
1546
1616
|
return "name" in i && (i == null ? void 0 : i.name) || "label" in i && i.label;
|
|
1547
1617
|
}
|
|
1548
1618
|
function l(i) {
|
|
1549
1619
|
e.value = i;
|
|
1550
1620
|
}
|
|
1551
|
-
return (i,
|
|
1621
|
+
return (i, c) => (p(!0), v(te, null, ae(i.data, (d, h) => {
|
|
1552
1622
|
var f, a;
|
|
1553
|
-
return p(),
|
|
1554
|
-
key:
|
|
1623
|
+
return p(), v("div", {
|
|
1624
|
+
key: h,
|
|
1555
1625
|
class: ie({
|
|
1556
1626
|
"min-w-max": i.depth === 0
|
|
1557
1627
|
})
|
|
1558
1628
|
}, [
|
|
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 ===
|
|
1629
|
+
r("div", {
|
|
1630
|
+
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
1631
|
style: Ie({ paddingLeft: `${15 * i.depth + 4}px` }),
|
|
1562
|
-
onClick: (
|
|
1563
|
-
onDblclick: (
|
|
1632
|
+
onClick: (m) => l(d.id),
|
|
1633
|
+
onDblclick: (m) => u(t)(d.id)
|
|
1564
1634
|
}, [
|
|
1565
|
-
(f =
|
|
1635
|
+
(f = d == null ? void 0 : d.children) != null && f.length ? (p(), z(at, {
|
|
1566
1636
|
key: 0,
|
|
1567
|
-
value:
|
|
1637
|
+
value: u(o).includes(d.id),
|
|
1568
1638
|
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(),
|
|
1639
|
+
onClick: fe((m) => u(t)(d.id), ["stop"])
|
|
1640
|
+
}, null, 8, ["value", "onClick"])) : (p(), v("span", Fo)),
|
|
1641
|
+
r("span", Go, [
|
|
1642
|
+
i.withTag ? (p(), v("span", Ko, "<")) : U("", !0),
|
|
1643
|
+
r("span", Wo, le(s(d)), 1),
|
|
1644
|
+
i.withTag ? (p(), v("span", qo, ">")) : U("", !0)
|
|
1575
1645
|
]),
|
|
1576
|
-
(p(!0),
|
|
1577
|
-
key:
|
|
1578
|
-
tag:
|
|
1646
|
+
(p(!0), v(te, null, ae(d.tags, (m, E) => (p(), z(Pt, {
|
|
1647
|
+
key: E,
|
|
1648
|
+
tag: m
|
|
1579
1649
|
}, null, 8, ["tag"]))), 128))
|
|
1580
|
-
], 46,
|
|
1581
|
-
(a =
|
|
1582
|
-
|
|
1650
|
+
], 46, Zo),
|
|
1651
|
+
(a = d == null ? void 0 : d.children) != null && a.length && u(o).includes(d.id) ? (p(), v("div", Jo, [
|
|
1652
|
+
y(Me, {
|
|
1583
1653
|
modelValue: e.value,
|
|
1584
|
-
"onUpdate:modelValue":
|
|
1585
|
-
data:
|
|
1654
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => e.value = m),
|
|
1655
|
+
data: d == null ? void 0 : d.children,
|
|
1586
1656
|
depth: i.depth + 1,
|
|
1587
1657
|
"with-tag": i.withTag
|
|
1588
1658
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
@@ -1590,7 +1660,7 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1590
1660
|
], 2);
|
|
1591
1661
|
}), 128));
|
|
1592
1662
|
}
|
|
1593
|
-
}),
|
|
1663
|
+
}), 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
1664
|
__name: "RenderCode",
|
|
1595
1665
|
props: {
|
|
1596
1666
|
code: {}
|
|
@@ -1601,278 +1671,278 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1601
1671
|
function t() {
|
|
1602
1672
|
o("close");
|
|
1603
1673
|
}
|
|
1604
|
-
return (s, l) => (p(),
|
|
1605
|
-
|
|
1606
|
-
l[0] || (l[0] =
|
|
1607
|
-
|
|
1674
|
+
return (s, l) => (p(), v("div", Yo, [
|
|
1675
|
+
r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
1676
|
+
l[0] || (l[0] = r("span", { class: "font-500" }, "Render Code", -1)),
|
|
1677
|
+
r("i", {
|
|
1608
1678
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1609
1679
|
onClick: t
|
|
1610
1680
|
})
|
|
1611
1681
|
]),
|
|
1612
|
-
|
|
1613
|
-
|
|
1682
|
+
r("div", Xo, [
|
|
1683
|
+
y(u(ln), {
|
|
1614
1684
|
code: s.code,
|
|
1615
1685
|
lang: "javascript"
|
|
1616
1686
|
}, null, 8, ["code"])
|
|
1617
1687
|
])
|
|
1618
1688
|
]));
|
|
1619
1689
|
}
|
|
1620
|
-
}),
|
|
1690
|
+
}), el = { class: "h-full w-full" }, tl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, nl = {
|
|
1621
1691
|
key: 0,
|
|
1622
1692
|
class: "h-full flex flex-col p2"
|
|
1623
|
-
},
|
|
1693
|
+
}, ol = { class: "flex py2" }, ll = {
|
|
1624
1694
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1625
1695
|
style: { height: "1.1em", width: "1.1em" },
|
|
1626
1696
|
class: "op-80 hover:op-100",
|
|
1627
1697
|
viewBox: "0 0 24 24"
|
|
1628
|
-
},
|
|
1698
|
+
}, sl = { class: "h-full flex flex-col p2" }, al = { class: "flex py2" }, il = {
|
|
1629
1699
|
key: 0,
|
|
1630
1700
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1631
|
-
},
|
|
1701
|
+
}, rl = {
|
|
1632
1702
|
"group-hover:text-white": "",
|
|
1633
1703
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1634
|
-
},
|
|
1704
|
+
}, 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
1705
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1636
1706
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1637
1707
|
class: "animate-fade",
|
|
1638
1708
|
viewBox: "0 0 24 24"
|
|
1639
|
-
},
|
|
1709
|
+
}, fl = { class: "flex items-center justify-center" }, Ve = "components", vl = /* @__PURE__ */ B({
|
|
1640
1710
|
__name: "index",
|
|
1641
1711
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1642
1712
|
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
|
|
1713
|
+
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);
|
|
1714
|
+
function g(I, b = [], j = []) {
|
|
1645
1715
|
var G;
|
|
1646
|
-
return b.push(
|
|
1647
|
-
|
|
1648
|
-
}), b.pop(),
|
|
1716
|
+
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) => {
|
|
1717
|
+
g(Y, b, j);
|
|
1718
|
+
}), b.pop(), j;
|
|
1649
1719
|
}
|
|
1650
|
-
function
|
|
1651
|
-
const b = [],
|
|
1652
|
-
G == null || G.forEach((
|
|
1720
|
+
function $(I) {
|
|
1721
|
+
const b = [], j = (G) => {
|
|
1722
|
+
G == null || G.forEach((Y) => {
|
|
1653
1723
|
var we;
|
|
1654
|
-
b.push(
|
|
1724
|
+
b.push(Y), (we = Y.children) != null && we.length && j(Y.children);
|
|
1655
1725
|
});
|
|
1656
1726
|
};
|
|
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 &&
|
|
1727
|
+
return j(I), b;
|
|
1728
|
+
}
|
|
1729
|
+
function O(I, b) {
|
|
1730
|
+
const j = [];
|
|
1731
|
+
return I == null || I.forEach((G) => {
|
|
1732
|
+
j.push(...G.slice(0, b + 1));
|
|
1733
|
+
}), [...new Set(j)];
|
|
1734
|
+
}
|
|
1735
|
+
function P(I, b) {
|
|
1736
|
+
const j = [];
|
|
1737
|
+
return I.forEach((G) => {
|
|
1738
|
+
const Y = G.indexOf(b);
|
|
1739
|
+
Y !== -1 && j.push(...G.slice(0, Y + 1));
|
|
1740
|
+
}), [...new Set(j)];
|
|
1741
|
+
}
|
|
1742
|
+
const _ = T([]), C = V(() => {
|
|
1743
|
+
var I, b;
|
|
1744
|
+
return (I = _.value) != null && I.length ? g((b = _.value) == null ? void 0 : b[0]) : [];
|
|
1745
|
+
}), S = V(() => $(_.value)), L = V(() => S.value.map((I) => I.id)), K = T({}), Z = T(""), N = V(() => {
|
|
1746
|
+
const I = [], b = (j) => {
|
|
1747
|
+
j.forEach((G) => {
|
|
1748
|
+
var Y;
|
|
1749
|
+
G.id === Z.value && I.push(G), (Y = G.children) != null && Y.length && b(G.children);
|
|
1680
1750
|
});
|
|
1681
1751
|
};
|
|
1682
|
-
return b(
|
|
1683
|
-
}),
|
|
1684
|
-
var
|
|
1685
|
-
return ((
|
|
1686
|
-
}),
|
|
1687
|
-
const
|
|
1752
|
+
return b(_.value), I[0];
|
|
1753
|
+
}), M = V(() => {
|
|
1754
|
+
var I;
|
|
1755
|
+
return ((I = N.value) == null ? void 0 : I.file) ?? "";
|
|
1756
|
+
}), w = V(() => {
|
|
1757
|
+
const I = {};
|
|
1688
1758
|
for (const b in K.value) {
|
|
1689
1759
|
const G = K.value[b].filter((we) => {
|
|
1690
1760
|
try {
|
|
1691
1761
|
return bn({
|
|
1692
1762
|
[we.key]: we.value
|
|
1693
|
-
},
|
|
1694
|
-
} catch (
|
|
1763
|
+
}, d.value);
|
|
1764
|
+
} catch (Jt) {
|
|
1695
1765
|
return {
|
|
1696
|
-
[we.key]:
|
|
1766
|
+
[we.key]: Jt
|
|
1697
1767
|
};
|
|
1698
1768
|
}
|
|
1699
|
-
}),
|
|
1700
|
-
G.length && (
|
|
1769
|
+
}), Y = _n(Object.values(xn(Nt(G), "stateType")));
|
|
1770
|
+
G.length && (I[b] = Y);
|
|
1701
1771
|
}
|
|
1702
|
-
return
|
|
1703
|
-
}), { expanded:
|
|
1704
|
-
|
|
1705
|
-
async function
|
|
1706
|
-
return D.value.getInspectorTree({ inspectorId: Ve, filter:
|
|
1707
|
-
var G,
|
|
1708
|
-
const
|
|
1709
|
-
|
|
1772
|
+
return I;
|
|
1773
|
+
}), { expanded: k } = me(), { expanded: x } = me("component-state");
|
|
1774
|
+
zo();
|
|
1775
|
+
async function R(I = "") {
|
|
1776
|
+
return D.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
|
|
1777
|
+
var G, Y;
|
|
1778
|
+
const j = X(b);
|
|
1779
|
+
_.value = j, Z.value = (Y = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : Y.id, k.value = O(C.value, 1), a.value = !0;
|
|
1710
1780
|
});
|
|
1711
1781
|
}
|
|
1712
|
-
function F(
|
|
1713
|
-
if (!
|
|
1782
|
+
function F(I) {
|
|
1783
|
+
if (!I || !(I != null && I.state))
|
|
1714
1784
|
return {};
|
|
1715
1785
|
const b = {};
|
|
1716
|
-
return
|
|
1717
|
-
b[
|
|
1786
|
+
return I.state.forEach((j) => {
|
|
1787
|
+
b[j.type] || (b[j.type] = []), b[j.type].push(j);
|
|
1718
1788
|
}), b;
|
|
1719
1789
|
}
|
|
1720
|
-
function se(
|
|
1721
|
-
D.value.getInspectorState({ inspectorId: Ve, nodeId:
|
|
1722
|
-
const
|
|
1723
|
-
|
|
1790
|
+
function se(I) {
|
|
1791
|
+
D.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
|
|
1792
|
+
const j = X(b);
|
|
1793
|
+
j && (K.value = F(j), x.value = Array.from({ length: Object.keys(K.value).length }, (G, Y) => `${Y}`));
|
|
1724
1794
|
});
|
|
1725
1795
|
}
|
|
1726
|
-
|
|
1727
|
-
se(
|
|
1796
|
+
Q(Z, (I) => {
|
|
1797
|
+
se(I), A.value && Oe();
|
|
1728
1798
|
});
|
|
1729
|
-
function re(
|
|
1730
|
-
const b =
|
|
1799
|
+
function re(I) {
|
|
1800
|
+
const b = X(I);
|
|
1731
1801
|
b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
|
|
1732
1802
|
}
|
|
1733
|
-
D.functions.on(
|
|
1734
|
-
function ce(
|
|
1735
|
-
const b =
|
|
1736
|
-
f(),
|
|
1803
|
+
D.functions.on(q.INSPECTOR_STATE_UPDATED, re), R();
|
|
1804
|
+
function ce(I) {
|
|
1805
|
+
const b = I.trim().toLowerCase();
|
|
1806
|
+
f(), R(b).then(() => {
|
|
1737
1807
|
f();
|
|
1738
1808
|
});
|
|
1739
1809
|
}
|
|
1740
|
-
Qn(
|
|
1741
|
-
ce(
|
|
1810
|
+
Qn(c, (I) => {
|
|
1811
|
+
ce(I);
|
|
1742
1812
|
}, { debounce: 300 });
|
|
1743
|
-
function
|
|
1744
|
-
var
|
|
1745
|
-
const b =
|
|
1746
|
-
b.inspectorId === Ve && (
|
|
1813
|
+
function _e(I) {
|
|
1814
|
+
var j, G;
|
|
1815
|
+
const b = X(I);
|
|
1816
|
+
b.inspectorId === Ve && (c.value ? ce(c.value) : _.value = b.rootNodes, L.value.includes(Z.value) || (Z.value = (G = (j = _.value) == null ? void 0 : j[0]) == null ? void 0 : G.id, k.value = O(C.value, 1)));
|
|
1747
1817
|
}
|
|
1748
|
-
D.functions.on(
|
|
1749
|
-
D.functions.off(
|
|
1818
|
+
D.functions.on(q.INSPECTOR_TREE_UPDATED, _e), be(() => {
|
|
1819
|
+
D.functions.off(q.INSPECTOR_STATE_UPDATED, re), D.functions.off(q.INSPECTOR_TREE_UPDATED, _e);
|
|
1750
1820
|
});
|
|
1751
|
-
function
|
|
1752
|
-
|
|
1753
|
-
const b = JSON.parse(
|
|
1754
|
-
Z.value = b.id,
|
|
1821
|
+
function xe() {
|
|
1822
|
+
m.value = !0, o("onInspectComponentStart"), D.value.inspectComponentInspector().then((I) => {
|
|
1823
|
+
const b = JSON.parse(I);
|
|
1824
|
+
Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...P(C.value, b.id)])], Gt();
|
|
1755
1825
|
}).finally(() => {
|
|
1756
|
-
|
|
1826
|
+
m.value = !1, o("onInspectComponentEnd");
|
|
1757
1827
|
});
|
|
1758
1828
|
}
|
|
1759
|
-
function He() {
|
|
1760
|
-
h.value = !1, D.value.cancelInspectComponentInspector();
|
|
1761
|
-
}
|
|
1762
1829
|
function Le() {
|
|
1830
|
+
m.value = !1, D.value.cancelInspectComponentInspector();
|
|
1831
|
+
}
|
|
1832
|
+
function He() {
|
|
1763
1833
|
D.value.scrollToComponent(Z.value);
|
|
1764
1834
|
}
|
|
1765
|
-
function
|
|
1835
|
+
function je() {
|
|
1766
1836
|
D.value.inspectDOM(Z.value).then(() => {
|
|
1767
1837
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
1768
1838
|
});
|
|
1769
1839
|
}
|
|
1770
|
-
function
|
|
1771
|
-
D.value.getComponentRenderCode(Z.value).then((
|
|
1772
|
-
|
|
1840
|
+
function Oe() {
|
|
1841
|
+
D.value.getComponentRenderCode(Z.value).then((I) => {
|
|
1842
|
+
E.value = I, A.value = !0;
|
|
1773
1843
|
});
|
|
1774
1844
|
}
|
|
1775
|
-
function
|
|
1776
|
-
o("openInEditor",
|
|
1845
|
+
function qe() {
|
|
1846
|
+
o("openInEditor", M.value);
|
|
1777
1847
|
}
|
|
1778
1848
|
const Ee = T();
|
|
1779
|
-
function
|
|
1849
|
+
function Gt() {
|
|
1780
1850
|
setTimeout(() => {
|
|
1781
1851
|
var b;
|
|
1782
|
-
const
|
|
1783
|
-
|
|
1852
|
+
const I = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
|
|
1853
|
+
I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
1784
1854
|
}, 300);
|
|
1785
1855
|
}
|
|
1786
|
-
function
|
|
1787
|
-
|
|
1788
|
-
}
|
|
1789
|
-
const
|
|
1790
|
-
label:
|
|
1791
|
-
value:
|
|
1792
|
-
}))),
|
|
1793
|
-
label:
|
|
1794
|
-
id:
|
|
1795
|
-
}))),
|
|
1796
|
-
|
|
1797
|
-
|
|
1856
|
+
function Kt() {
|
|
1857
|
+
E.value = "", A.value = !1;
|
|
1858
|
+
}
|
|
1859
|
+
const Je = Vt(), ft = V(() => Je.appRecords.value.map((I) => ({
|
|
1860
|
+
label: I.name + (I.version ? ` (${I.version})` : ""),
|
|
1861
|
+
value: I.id
|
|
1862
|
+
}))), Wt = V(() => ft.value.map((I) => ({
|
|
1863
|
+
label: I.label,
|
|
1864
|
+
id: I.value
|
|
1865
|
+
}))), Ye = T(Je.activeAppRecordId.value);
|
|
1866
|
+
ot(() => {
|
|
1867
|
+
Ye.value = Je.activeAppRecordId.value;
|
|
1798
1868
|
});
|
|
1799
|
-
function
|
|
1800
|
-
D.value.toggleApp(
|
|
1801
|
-
Z.value = "",
|
|
1869
|
+
function qt(I) {
|
|
1870
|
+
D.value.toggleApp(I).then(() => {
|
|
1871
|
+
Z.value = "", R();
|
|
1802
1872
|
});
|
|
1803
1873
|
}
|
|
1804
|
-
return (
|
|
1805
|
-
|
|
1874
|
+
return (I, b) => (p(), v("div", el, [
|
|
1875
|
+
y(u(Ae), {
|
|
1806
1876
|
ref_key: "splitpanesRef",
|
|
1807
1877
|
ref: t,
|
|
1808
1878
|
class: "flex-1 overflow-auto",
|
|
1809
1879
|
horizontal: i.value,
|
|
1810
|
-
onReady: b[4] || (b[4] = (
|
|
1880
|
+
onReady: b[4] || (b[4] = (j) => s.value = !0)
|
|
1811
1881
|
}, {
|
|
1812
|
-
default:
|
|
1813
|
-
|
|
1882
|
+
default: H(() => [
|
|
1883
|
+
ft.value.length > 1 ? (p(), z(u(ue), {
|
|
1814
1884
|
key: 0,
|
|
1815
1885
|
border: "base h-full",
|
|
1816
1886
|
size: "20"
|
|
1817
1887
|
}, {
|
|
1818
|
-
default:
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
modelValue:
|
|
1822
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
1823
|
-
data:
|
|
1888
|
+
default: H(() => [
|
|
1889
|
+
r("div", tl, [
|
|
1890
|
+
y(Sn, {
|
|
1891
|
+
modelValue: Ye.value,
|
|
1892
|
+
"onUpdate:modelValue": b[0] || (b[0] = (j) => Ye.value = j),
|
|
1893
|
+
data: Wt.value,
|
|
1824
1894
|
class: "w-full",
|
|
1825
|
-
onSelect:
|
|
1895
|
+
onSelect: qt
|
|
1826
1896
|
}, null, 8, ["modelValue", "data"])
|
|
1827
1897
|
])
|
|
1828
1898
|
]),
|
|
1829
1899
|
_: 1
|
|
1830
1900
|
})) : U("", !0),
|
|
1831
|
-
|
|
1901
|
+
y(u(ue), {
|
|
1832
1902
|
border: "base",
|
|
1833
1903
|
"h-full": ""
|
|
1834
1904
|
}, {
|
|
1835
|
-
default:
|
|
1836
|
-
a.value ? (p(),
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
modelValue:
|
|
1840
|
-
"onUpdate:modelValue": b[1] || (b[1] = (
|
|
1905
|
+
default: H(() => [
|
|
1906
|
+
a.value ? (p(), v("div", nl, [
|
|
1907
|
+
r("div", ol, [
|
|
1908
|
+
y(u(Ze), {
|
|
1909
|
+
modelValue: c.value,
|
|
1910
|
+
"onUpdate:modelValue": b[1] || (b[1] = (j) => c.value = j),
|
|
1841
1911
|
"loading-debounce-time": 250,
|
|
1842
|
-
loading: !
|
|
1912
|
+
loading: !u(h),
|
|
1843
1913
|
placeholder: "Find components...",
|
|
1844
1914
|
class: "flex-1 text-3.5"
|
|
1845
1915
|
}, null, 8, ["modelValue", "loading"]),
|
|
1846
|
-
|
|
1916
|
+
u(hn) ? U("", !0) : W((p(), v("button", {
|
|
1847
1917
|
key: 0,
|
|
1848
1918
|
"px-1": "",
|
|
1849
1919
|
class: "hover:color-#00dc82",
|
|
1850
|
-
onClick:
|
|
1920
|
+
onClick: xe
|
|
1851
1921
|
}, [
|
|
1852
|
-
(p(),
|
|
1853
|
-
|
|
1922
|
+
(p(), v("svg", ll, b[6] || (b[6] = [
|
|
1923
|
+
r("path", {
|
|
1854
1924
|
fill: "currentColor",
|
|
1855
1925
|
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
1926
|
}, null, -1)
|
|
1857
1927
|
])))
|
|
1858
1928
|
])), [
|
|
1859
1929
|
[
|
|
1860
|
-
|
|
1930
|
+
u(J),
|
|
1861
1931
|
"Select component in the page",
|
|
1862
1932
|
void 0,
|
|
1863
1933
|
{ bottom: !0 }
|
|
1864
1934
|
]
|
|
1865
1935
|
])
|
|
1866
1936
|
]),
|
|
1867
|
-
|
|
1937
|
+
r("div", {
|
|
1868
1938
|
ref_key: "componentTreeContainer",
|
|
1869
1939
|
ref: Ee,
|
|
1870
1940
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
1871
1941
|
}, [
|
|
1872
|
-
|
|
1942
|
+
y(Me, {
|
|
1873
1943
|
modelValue: Z.value,
|
|
1874
|
-
"onUpdate:modelValue": b[2] || (b[2] = (
|
|
1875
|
-
data:
|
|
1944
|
+
"onUpdate:modelValue": b[2] || (b[2] = (j) => Z.value = j),
|
|
1945
|
+
data: _.value,
|
|
1876
1946
|
"with-tag": !0
|
|
1877
1947
|
}, null, 8, ["modelValue", "data"])
|
|
1878
1948
|
], 512)
|
|
@@ -1880,69 +1950,69 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1880
1950
|
]),
|
|
1881
1951
|
_: 1
|
|
1882
1952
|
}),
|
|
1883
|
-
|
|
1953
|
+
y(u(ue), {
|
|
1884
1954
|
relative: "",
|
|
1885
1955
|
"h-full": ""
|
|
1886
1956
|
}, {
|
|
1887
|
-
default:
|
|
1888
|
-
var
|
|
1957
|
+
default: H(() => {
|
|
1958
|
+
var j;
|
|
1889
1959
|
return [
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
(
|
|
1893
|
-
b[7] || (b[7] =
|
|
1894
|
-
|
|
1895
|
-
b[8] || (b[8] =
|
|
1960
|
+
r("div", sl, [
|
|
1961
|
+
r("div", al, [
|
|
1962
|
+
(j = N.value) != null && j.name ? (p(), v("span", il, [
|
|
1963
|
+
b[7] || (b[7] = r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
|
|
1964
|
+
r("span", rl, le(N.value.name), 1),
|
|
1965
|
+
b[8] || (b[8] = r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
|
|
1896
1966
|
])) : U("", !0),
|
|
1897
|
-
|
|
1898
|
-
modelValue:
|
|
1899
|
-
"onUpdate:modelValue": b[3] || (b[3] = (G) =>
|
|
1967
|
+
y(u(Ze), {
|
|
1968
|
+
modelValue: d.value,
|
|
1969
|
+
"onUpdate:modelValue": b[3] || (b[3] = (G) => d.value = G),
|
|
1900
1970
|
"loading-debounce-time": 250,
|
|
1901
1971
|
placeholder: "Filter State...",
|
|
1902
1972
|
class: "flex-1 text-3.5"
|
|
1903
1973
|
}, null, 8, ["modelValue"]),
|
|
1904
|
-
|
|
1905
|
-
|
|
1974
|
+
r("div", ul, [
|
|
1975
|
+
W(r("i", {
|
|
1906
1976
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
1907
|
-
onClick:
|
|
1977
|
+
onClick: He
|
|
1908
1978
|
}, null, 512), [
|
|
1909
1979
|
[
|
|
1910
|
-
|
|
1980
|
+
u(J),
|
|
1911
1981
|
"Scroll to component",
|
|
1912
1982
|
void 0,
|
|
1913
1983
|
{ bottom: !0 }
|
|
1914
1984
|
]
|
|
1915
1985
|
]),
|
|
1916
|
-
|
|
1986
|
+
W(r("i", {
|
|
1917
1987
|
class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
|
|
1918
|
-
onClick:
|
|
1988
|
+
onClick: Oe
|
|
1919
1989
|
}, null, 512), [
|
|
1920
1990
|
[
|
|
1921
|
-
|
|
1991
|
+
u(J),
|
|
1922
1992
|
"Show render code",
|
|
1923
1993
|
void 0,
|
|
1924
1994
|
{ bottom: !0 }
|
|
1925
1995
|
]
|
|
1926
1996
|
]),
|
|
1927
|
-
|
|
1997
|
+
u(yt) ? W((p(), v("i", {
|
|
1928
1998
|
key: 0,
|
|
1929
1999
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
1930
|
-
onClick:
|
|
2000
|
+
onClick: je
|
|
1931
2001
|
}, null, 512)), [
|
|
1932
2002
|
[
|
|
1933
|
-
|
|
2003
|
+
u(J),
|
|
1934
2004
|
"Inspect DOM",
|
|
1935
2005
|
void 0,
|
|
1936
2006
|
{ bottom: !0 }
|
|
1937
2007
|
]
|
|
1938
2008
|
]) : U("", !0),
|
|
1939
|
-
|
|
2009
|
+
M.value ? W((p(), v("i", {
|
|
1940
2010
|
key: 1,
|
|
1941
2011
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
1942
|
-
onClick:
|
|
2012
|
+
onClick: qe
|
|
1943
2013
|
}, null, 512)), [
|
|
1944
2014
|
[
|
|
1945
|
-
|
|
2015
|
+
u(J),
|
|
1946
2016
|
"Open in Editor",
|
|
1947
2017
|
void 0,
|
|
1948
2018
|
{ bottom: !0 }
|
|
@@ -1950,18 +2020,18 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1950
2020
|
]) : U("", !0)
|
|
1951
2021
|
])
|
|
1952
2022
|
]),
|
|
1953
|
-
|
|
2023
|
+
y(Pe, {
|
|
1954
2024
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
1955
|
-
data:
|
|
2025
|
+
data: w.value,
|
|
1956
2026
|
"node-id": Z.value,
|
|
1957
2027
|
"inspector-id": Ve,
|
|
1958
2028
|
"expanded-state-id": "component-state"
|
|
1959
2029
|
}, null, 8, ["data", "node-id"])
|
|
1960
2030
|
]),
|
|
1961
|
-
|
|
2031
|
+
A.value && E.value ? (p(), z(Qo, {
|
|
1962
2032
|
key: 0,
|
|
1963
|
-
code:
|
|
1964
|
-
onClose:
|
|
2033
|
+
code: E.value,
|
|
2034
|
+
onClose: Kt
|
|
1965
2035
|
}, null, 8, ["code"])) : U("", !0)
|
|
1966
2036
|
];
|
|
1967
2037
|
}),
|
|
@@ -1970,71 +2040,71 @@ const Lo = ["onClick", "onDblclick"], Oo = {
|
|
|
1970
2040
|
]),
|
|
1971
2041
|
_: 1
|
|
1972
2042
|
}, 8, ["horizontal"]),
|
|
1973
|
-
|
|
2043
|
+
u(yt) ? (p(), z(u(sn), {
|
|
1974
2044
|
key: 0,
|
|
1975
|
-
modelValue:
|
|
1976
|
-
"onUpdate:modelValue": b[5] || (b[5] = (
|
|
2045
|
+
modelValue: m.value,
|
|
2046
|
+
"onUpdate:modelValue": b[5] || (b[5] = (j) => m.value = j),
|
|
1977
2047
|
title: "",
|
|
1978
2048
|
height: "12rem",
|
|
1979
2049
|
closable: !1
|
|
1980
2050
|
}, {
|
|
1981
|
-
footer:
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
default:
|
|
2051
|
+
footer: H(() => [
|
|
2052
|
+
r("div", fl, [
|
|
2053
|
+
y(u(de), { onClick: Le }, {
|
|
2054
|
+
default: H(() => b[11] || (b[11] = [
|
|
1985
2055
|
ne(" Cancel ")
|
|
1986
2056
|
])),
|
|
1987
2057
|
_: 1
|
|
1988
2058
|
})
|
|
1989
2059
|
])
|
|
1990
2060
|
]),
|
|
1991
|
-
default:
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
(p(),
|
|
1995
|
-
|
|
2061
|
+
default: H(() => [
|
|
2062
|
+
r("div", cl, [
|
|
2063
|
+
r("span", dl, [
|
|
2064
|
+
(p(), v("svg", pl, b[9] || (b[9] = [
|
|
2065
|
+
r("g", {
|
|
1996
2066
|
fill: "none",
|
|
1997
2067
|
stroke: "currentColor",
|
|
1998
2068
|
"stroke-linecap": "round",
|
|
1999
2069
|
"stroke-linejoin": "round",
|
|
2000
2070
|
"stroke-width": "2"
|
|
2001
2071
|
}, [
|
|
2002
|
-
|
|
2072
|
+
r("circle", {
|
|
2003
2073
|
cx: "12",
|
|
2004
2074
|
cy: "12",
|
|
2005
2075
|
r: ".5",
|
|
2006
2076
|
fill: "currentColor"
|
|
2007
2077
|
}),
|
|
2008
|
-
|
|
2078
|
+
r("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2009
2079
|
], -1)
|
|
2010
2080
|
])))
|
|
2011
2081
|
]),
|
|
2012
|
-
b[10] || (b[10] =
|
|
2082
|
+
b[10] || (b[10] = r("p", null, " Click on a component on the page to select it ", -1))
|
|
2013
2083
|
])
|
|
2014
2084
|
]),
|
|
2015
2085
|
_: 1
|
|
2016
2086
|
}, 8, ["modelValue"])) : U("", !0)
|
|
2017
2087
|
]));
|
|
2018
2088
|
}
|
|
2019
|
-
}),
|
|
2020
|
-
function
|
|
2021
|
-
return p(),
|
|
2022
|
-
e[0] || (e[0] =
|
|
2023
|
-
|
|
2024
|
-
|
|
2089
|
+
}), os = /* @__PURE__ */ Ce(vl, [["__scopeId", "data-v-38589395"]]), ml = {}, hl = { class: "h-screen w-screen $ui-fcc flex-col" };
|
|
2090
|
+
function gl(n, e) {
|
|
2091
|
+
return p(), v("div", hl, [
|
|
2092
|
+
e[0] || (e[0] = r("div", { class: "outer" }, [
|
|
2093
|
+
r("div", { class: "inner" }, [
|
|
2094
|
+
r("i", {
|
|
2025
2095
|
class: "i-logos-vue inline-block h8! w8!",
|
|
2026
2096
|
alt: "Vue logo"
|
|
2027
2097
|
})
|
|
2028
2098
|
])
|
|
2029
2099
|
], -1)),
|
|
2030
|
-
|
|
2100
|
+
tt(n.$slots, "default", {}, void 0, !0)
|
|
2031
2101
|
]);
|
|
2032
2102
|
}
|
|
2033
|
-
const
|
|
2103
|
+
const Cl = /* @__PURE__ */ Ce(ml, [["render", gl], ["__scopeId", "data-v-b8018f07"]]), Bt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
2034
2104
|
function Te() {
|
|
2035
|
-
return ve(
|
|
2105
|
+
return ve(Bt);
|
|
2036
2106
|
}
|
|
2037
|
-
function
|
|
2107
|
+
function Zt() {
|
|
2038
2108
|
const n = T({
|
|
2039
2109
|
homepage: "",
|
|
2040
2110
|
id: "",
|
|
@@ -2042,59 +2112,59 @@ function Bt() {
|
|
|
2042
2112
|
logo: "",
|
|
2043
2113
|
timelineLayerIds: []
|
|
2044
2114
|
});
|
|
2045
|
-
return ge(
|
|
2115
|
+
return ge(Bt, n), n;
|
|
2046
2116
|
}
|
|
2047
|
-
const
|
|
2117
|
+
const _l = {}, xl = {
|
|
2048
2118
|
width: "175",
|
|
2049
2119
|
height: "34",
|
|
2050
2120
|
viewBox: "0 0 175 34",
|
|
2051
2121
|
fill: "none",
|
|
2052
2122
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2053
2123
|
};
|
|
2054
|
-
function
|
|
2055
|
-
return p(),
|
|
2056
|
-
|
|
2124
|
+
function yl(n, e) {
|
|
2125
|
+
return p(), v("svg", xl, e[0] || (e[0] = [
|
|
2126
|
+
r("path", {
|
|
2057
2127
|
fill: "currentColor",
|
|
2058
2128
|
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
2129
|
}, null, -1)
|
|
2060
2130
|
]));
|
|
2061
2131
|
}
|
|
2062
|
-
const
|
|
2132
|
+
const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
|
|
2063
2133
|
"h-full": "",
|
|
2064
2134
|
"w-full": "",
|
|
2065
2135
|
flex: "",
|
|
2066
2136
|
"items-center": ""
|
|
2067
|
-
},
|
|
2137
|
+
}, kl = {
|
|
2068
2138
|
flex: "~ col gap2",
|
|
2069
2139
|
ma: "",
|
|
2070
2140
|
"px-5": ""
|
|
2071
|
-
},
|
|
2141
|
+
}, Il = {
|
|
2072
2142
|
flex: "~ col",
|
|
2073
2143
|
"mt-20": "",
|
|
2074
2144
|
"items-center": ""
|
|
2075
|
-
},
|
|
2145
|
+
}, $l = {
|
|
2076
2146
|
flex: "~",
|
|
2077
2147
|
"mt--10": "",
|
|
2078
2148
|
"items-center": "",
|
|
2079
2149
|
"justify-center": ""
|
|
2080
|
-
},
|
|
2150
|
+
}, Sl = { class: "mr-1" }, Tl = {
|
|
2081
2151
|
key: 0,
|
|
2082
2152
|
class: "inline-block w20"
|
|
2083
|
-
},
|
|
2153
|
+
}, El = ["src", "alt"], Vl = {
|
|
2084
2154
|
key: 1,
|
|
2085
2155
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2086
|
-
},
|
|
2156
|
+
}, Nl = {
|
|
2087
2157
|
mb6: "",
|
|
2088
2158
|
"mt--1": "",
|
|
2089
2159
|
"text-center": "",
|
|
2090
2160
|
"text-sm": "",
|
|
2091
2161
|
flex: "~ gap-1"
|
|
2092
|
-
},
|
|
2162
|
+
}, Rl = { op40: "" }, Al = { flex: "~ gap2 wrap" }, Dl = {
|
|
2093
2163
|
flex: "~ gap-6 wrap",
|
|
2094
2164
|
"mt-5": "",
|
|
2095
2165
|
"items-center": "",
|
|
2096
2166
|
"justify-center": ""
|
|
2097
|
-
},
|
|
2167
|
+
}, Pl = ["href"], Ml = /* @__PURE__ */ B({
|
|
2098
2168
|
__name: "About",
|
|
2099
2169
|
setup(n) {
|
|
2100
2170
|
const e = De(), o = Te(), t = T(!1), s = T(!1);
|
|
@@ -2104,87 +2174,87 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2104
2174
|
function i() {
|
|
2105
2175
|
t.value = !0, s.value = !0;
|
|
2106
2176
|
}
|
|
2107
|
-
return (
|
|
2108
|
-
var
|
|
2109
|
-
return p(),
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
t.value ? U("", !0) : (p(),
|
|
2116
|
-
|
|
2117
|
-
src:
|
|
2118
|
-
alt: `${
|
|
2177
|
+
return (c, d) => {
|
|
2178
|
+
var h;
|
|
2179
|
+
return p(), v("div", wl, [
|
|
2180
|
+
r("div", kl, [
|
|
2181
|
+
d[5] || (d[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2182
|
+
r("div", Il, [
|
|
2183
|
+
r("div", $l, [
|
|
2184
|
+
r("span", Sl, [
|
|
2185
|
+
t.value ? U("", !0) : (p(), v("span", Tl)),
|
|
2186
|
+
W(r("img", {
|
|
2187
|
+
src: u(o).logo,
|
|
2188
|
+
alt: `${u(o).label} Logo`,
|
|
2119
2189
|
class: "inline-block h16",
|
|
2120
2190
|
onError: i,
|
|
2121
2191
|
onLoad: l
|
|
2122
|
-
}, null, 40,
|
|
2123
|
-
[
|
|
2192
|
+
}, null, 40, El), [
|
|
2193
|
+
[tn, t.value && !s.value]
|
|
2124
2194
|
]),
|
|
2125
|
-
s.value ? (p(),
|
|
2195
|
+
s.value ? (p(), v("span", Vl, le(u(o).label), 1)) : U("", !0)
|
|
2126
2196
|
]),
|
|
2127
|
-
|
|
2128
|
-
|
|
2197
|
+
r("span", null, [
|
|
2198
|
+
y(bl, { "h-18": "" })
|
|
2129
2199
|
])
|
|
2130
2200
|
]),
|
|
2131
|
-
|
|
2132
|
-
|
|
2201
|
+
r("div", Nl, [
|
|
2202
|
+
r("span", Rl, le(u(o).label) + " DevTools ", 1)
|
|
2133
2203
|
])
|
|
2134
2204
|
]),
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2205
|
+
d[6] || (d[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2206
|
+
r("div", Al, [
|
|
2207
|
+
r("div", {
|
|
2138
2208
|
flex: "~ col auto",
|
|
2139
2209
|
"min-w-40": "",
|
|
2140
2210
|
p4: "",
|
|
2141
2211
|
"theme-card-lime": "",
|
|
2142
|
-
onClick:
|
|
2143
|
-
},
|
|
2144
|
-
|
|
2212
|
+
onClick: d[0] || (d[0] = (f) => u(e).push("/state"))
|
|
2213
|
+
}, d[2] || (d[2] = [
|
|
2214
|
+
r("div", {
|
|
2145
2215
|
"i-carbon-tree-view-alt": "",
|
|
2146
2216
|
"text-3xl": ""
|
|
2147
2217
|
}, null, -1),
|
|
2148
|
-
|
|
2218
|
+
r("code", null, "State", -1)
|
|
2149
2219
|
])),
|
|
2150
|
-
(
|
|
2220
|
+
(h = u(o).timelineLayerIds) != null && h.length ? (p(), v("div", {
|
|
2151
2221
|
key: 0,
|
|
2152
2222
|
flex: "~ col auto",
|
|
2153
2223
|
"min-w-40": "",
|
|
2154
2224
|
p4: "",
|
|
2155
2225
|
"theme-card-lime": "",
|
|
2156
|
-
onClick:
|
|
2157
|
-
},
|
|
2158
|
-
|
|
2226
|
+
onClick: d[1] || (d[1] = (f) => u(e).push("/timeline"))
|
|
2227
|
+
}, d[3] || (d[3] = [
|
|
2228
|
+
r("div", {
|
|
2159
2229
|
"i-mdi:timeline-clock-outline": "",
|
|
2160
2230
|
"text-3xl": ""
|
|
2161
2231
|
}, null, -1),
|
|
2162
|
-
|
|
2232
|
+
r("div", null, "Timeline", -1)
|
|
2163
2233
|
]))) : U("", !0)
|
|
2164
2234
|
]),
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
href:
|
|
2235
|
+
r("div", Dl, [
|
|
2236
|
+
r("a", {
|
|
2237
|
+
href: u(o).homepage,
|
|
2168
2238
|
target: "_blank",
|
|
2169
2239
|
flex: "~ gap1",
|
|
2170
2240
|
"items-center": "",
|
|
2171
2241
|
op50: "",
|
|
2172
2242
|
hover: "op100 text-yellow",
|
|
2173
2243
|
transition: ""
|
|
2174
|
-
},
|
|
2175
|
-
|
|
2244
|
+
}, d[4] || (d[4] = [
|
|
2245
|
+
r("div", { "i-carbon-document": "" }, null, -1),
|
|
2176
2246
|
ne(" View Documentation ")
|
|
2177
|
-
]), 8,
|
|
2247
|
+
]), 8, Pl)
|
|
2178
2248
|
]),
|
|
2179
|
-
|
|
2249
|
+
d[7] || (d[7] = r("div", { "flex-auto": "" }, null, -1))
|
|
2180
2250
|
])
|
|
2181
2251
|
]);
|
|
2182
2252
|
};
|
|
2183
2253
|
}
|
|
2184
|
-
}),
|
|
2254
|
+
}), 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
2255
|
key: 0,
|
|
2186
2256
|
class: "flex justify-start"
|
|
2187
|
-
},
|
|
2257
|
+
}, Ul = { key: 1 }, Ft = /* @__PURE__ */ B({
|
|
2188
2258
|
__name: "Settings",
|
|
2189
2259
|
props: {
|
|
2190
2260
|
pluginId: {},
|
|
@@ -2194,32 +2264,32 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2194
2264
|
emits: ["update"],
|
|
2195
2265
|
setup(n, { emit: e }) {
|
|
2196
2266
|
const o = n, t = e, s = V(() => o.options), l = V(() => o.values);
|
|
2197
|
-
function i(
|
|
2198
|
-
D.value.updatePluginSettings(o.pluginId,
|
|
2199
|
-
t("update",
|
|
2267
|
+
function i(c, d) {
|
|
2268
|
+
D.value.updatePluginSettings(o.pluginId, c, d), D.value.getPluginSettings(o.pluginId).then((h) => {
|
|
2269
|
+
t("update", h);
|
|
2200
2270
|
});
|
|
2201
2271
|
}
|
|
2202
|
-
return (
|
|
2203
|
-
|
|
2204
|
-
(p(!0),
|
|
2272
|
+
return (c, d) => (p(), v("div", Ll, [
|
|
2273
|
+
r("ul", null, [
|
|
2274
|
+
(p(!0), v(te, null, ae(s.value, (h, f) => (p(), v("li", {
|
|
2205
2275
|
key: f,
|
|
2206
2276
|
class: "flex items-center py-2"
|
|
2207
2277
|
}, [
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2278
|
+
r("div", Hl, le(h.label), 1),
|
|
2279
|
+
r("div", jl, [
|
|
2280
|
+
h.type === "boolean" ? (p(), v("div", Ol, [
|
|
2281
|
+
y(u(an), {
|
|
2212
2282
|
"model-value": l.value[f],
|
|
2213
2283
|
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
2214
2284
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2215
2285
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2216
|
-
])) :
|
|
2217
|
-
|
|
2286
|
+
])) : h.type === "choice" ? (p(), v("div", Ul, [
|
|
2287
|
+
y(u(rn), {
|
|
2218
2288
|
"model-value": l.value[f],
|
|
2219
|
-
options:
|
|
2289
|
+
options: h.options,
|
|
2220
2290
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
2221
2291
|
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
2222
|
-
])) :
|
|
2292
|
+
])) : h.type === "text" ? (p(), z(u(Ze), {
|
|
2223
2293
|
key: 2,
|
|
2224
2294
|
"model-value": l.value[f],
|
|
2225
2295
|
"onUpdate:modelValue": (a) => i(f, a)
|
|
@@ -2229,176 +2299,176 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2229
2299
|
])
|
|
2230
2300
|
]));
|
|
2231
2301
|
}
|
|
2232
|
-
}),
|
|
2302
|
+
}), zl = { class: "h-full flex flex-col" }, Bl = /* @__PURE__ */ B({
|
|
2233
2303
|
__name: "Settings",
|
|
2234
2304
|
setup(n) {
|
|
2235
2305
|
const e = ve("pluginSettings"), o = Te(), t = V(() => e.value.options), s = V(() => e.value.values);
|
|
2236
2306
|
function l(i) {
|
|
2237
2307
|
e.value = i;
|
|
2238
2308
|
}
|
|
2239
|
-
return (i,
|
|
2240
|
-
|
|
2241
|
-
"doc-link":
|
|
2309
|
+
return (i, c) => (p(), v("div", zl, [
|
|
2310
|
+
y($e, {
|
|
2311
|
+
"doc-link": u(o).homepage
|
|
2242
2312
|
}, {
|
|
2243
|
-
default:
|
|
2244
|
-
|
|
2313
|
+
default: H(() => [
|
|
2314
|
+
y(Se)
|
|
2245
2315
|
]),
|
|
2246
2316
|
_: 1
|
|
2247
2317
|
}, 8, ["doc-link"]),
|
|
2248
|
-
|
|
2249
|
-
"plugin-id":
|
|
2318
|
+
y(Ft, {
|
|
2319
|
+
"plugin-id": u(o).pluginId,
|
|
2250
2320
|
options: t.value,
|
|
2251
2321
|
values: s.value,
|
|
2252
2322
|
onUpdate: l
|
|
2253
2323
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2254
2324
|
]));
|
|
2255
2325
|
}
|
|
2256
|
-
}),
|
|
2326
|
+
}), Zl = { class: "h-full flex flex-col" }, Fl = { class: "h-full flex flex-col p2" }, Gl = {
|
|
2257
2327
|
key: 0,
|
|
2258
2328
|
class: "mb-1 flex justify-end pb-1",
|
|
2259
2329
|
border: "b dashed base"
|
|
2260
|
-
},
|
|
2330
|
+
}, 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
2331
|
key: 0,
|
|
2262
2332
|
class: "mb-1 flex justify-end pb-1",
|
|
2263
2333
|
border: "b dashed base"
|
|
2264
|
-
},
|
|
2334
|
+
}, Xl = { class: "flex items-center gap-2 px-1" }, Ql = ["onClick"], e1 = /* @__PURE__ */ B({
|
|
2265
2335
|
__name: "Index",
|
|
2266
2336
|
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
|
-
|
|
2337
|
+
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(() => {
|
|
2338
|
+
var w, k;
|
|
2339
|
+
return (w = c.value) != null && w.length ? A((k = c.value) == null ? void 0 : k[0]) : [];
|
|
2340
|
+
}), h = V(() => $(c.value)), f = V(() => h.value.map((w) => w.id)), a = T(""), m = T({}), E = V(() => !Object.keys(m.value).length);
|
|
2341
|
+
function A(w, k = [], x = []) {
|
|
2342
|
+
var R;
|
|
2343
|
+
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) => {
|
|
2344
|
+
A(F, k, x);
|
|
2345
|
+
}), k.pop(), x;
|
|
2346
|
+
}
|
|
2347
|
+
function g(w, k) {
|
|
2348
|
+
const x = [];
|
|
2349
|
+
return w == null || w.forEach((R) => {
|
|
2350
|
+
x.push(...R.slice(0, k + 1));
|
|
2351
|
+
}), [...new Set(x)];
|
|
2352
|
+
}
|
|
2353
|
+
function $(w) {
|
|
2354
|
+
const k = [], x = (R) => {
|
|
2355
|
+
R == null || R.forEach((F) => {
|
|
2286
2356
|
var se;
|
|
2287
|
-
|
|
2357
|
+
k.push(F), (se = F.children) != null && se.length && x(F.children);
|
|
2288
2358
|
});
|
|
2289
2359
|
};
|
|
2290
|
-
return
|
|
2360
|
+
return x(w), k;
|
|
2291
2361
|
}
|
|
2292
|
-
function
|
|
2293
|
-
D.value.getInspectorNodeActions(s.value).then((
|
|
2294
|
-
l.value =
|
|
2362
|
+
function O() {
|
|
2363
|
+
D.value.getInspectorNodeActions(s.value).then((w) => {
|
|
2364
|
+
l.value = w;
|
|
2295
2365
|
});
|
|
2296
2366
|
}
|
|
2297
|
-
function
|
|
2298
|
-
D.value.getInspectorActions(s.value).then((
|
|
2299
|
-
i.value =
|
|
2367
|
+
function P() {
|
|
2368
|
+
D.value.getInspectorActions(s.value).then((w) => {
|
|
2369
|
+
i.value = w;
|
|
2300
2370
|
});
|
|
2301
2371
|
}
|
|
2302
|
-
|
|
2303
|
-
function
|
|
2304
|
-
D.value.callInspectorNodeAction(s.value,
|
|
2372
|
+
O(), P();
|
|
2373
|
+
function _(w) {
|
|
2374
|
+
D.value.callInspectorNodeAction(s.value, w, a.value);
|
|
2305
2375
|
}
|
|
2306
|
-
function
|
|
2307
|
-
D.value.callInspectorAction(s.value,
|
|
2376
|
+
function C(w) {
|
|
2377
|
+
D.value.callInspectorAction(s.value, w);
|
|
2308
2378
|
}
|
|
2309
|
-
function
|
|
2310
|
-
var
|
|
2311
|
-
for (const
|
|
2312
|
-
(
|
|
2313
|
-
return
|
|
2379
|
+
function S(w) {
|
|
2380
|
+
var k;
|
|
2381
|
+
for (const x in w)
|
|
2382
|
+
(k = w[x]) != null && k.length || delete w[x];
|
|
2383
|
+
return w;
|
|
2314
2384
|
}
|
|
2315
|
-
function
|
|
2316
|
-
D.value.getInspectorState({ inspectorId: s.value, nodeId:
|
|
2317
|
-
const
|
|
2318
|
-
|
|
2385
|
+
function L(w) {
|
|
2386
|
+
D.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
|
|
2387
|
+
const x = X(k);
|
|
2388
|
+
x && (m.value = S(x), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
|
|
2319
2389
|
});
|
|
2320
2390
|
}
|
|
2321
2391
|
function K() {
|
|
2322
|
-
|
|
2392
|
+
m.value = {};
|
|
2323
2393
|
}
|
|
2324
|
-
|
|
2325
|
-
K(),
|
|
2394
|
+
Q(a, () => {
|
|
2395
|
+
K(), L(a.value);
|
|
2326
2396
|
});
|
|
2327
2397
|
const Z = () => {
|
|
2328
|
-
D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((
|
|
2329
|
-
const
|
|
2330
|
-
|
|
2398
|
+
D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
2399
|
+
const k = X(w);
|
|
2400
|
+
c.value = k, !a.value && k.length && (a.value = k[0].id, e.value = g(d.value, 1), L(k[0].id));
|
|
2331
2401
|
});
|
|
2332
2402
|
};
|
|
2333
|
-
|
|
2334
|
-
function
|
|
2335
|
-
var
|
|
2336
|
-
const
|
|
2337
|
-
|
|
2338
|
-
}
|
|
2339
|
-
function
|
|
2340
|
-
const
|
|
2341
|
-
if (
|
|
2403
|
+
jt(s).toBeTruthy().then(Z);
|
|
2404
|
+
function N(w) {
|
|
2405
|
+
var x, R;
|
|
2406
|
+
const k = X(w);
|
|
2407
|
+
!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)));
|
|
2408
|
+
}
|
|
2409
|
+
function M(w) {
|
|
2410
|
+
const k = X(w);
|
|
2411
|
+
if (k.inspectorId !== s.value || !k.state || k.nodeId !== a.value)
|
|
2342
2412
|
return;
|
|
2343
|
-
const { inspectorId:
|
|
2344
|
-
|
|
2413
|
+
const { inspectorId: x, ...R } = k.state;
|
|
2414
|
+
m.value = S(R);
|
|
2345
2415
|
}
|
|
2346
2416
|
return Re(() => {
|
|
2347
|
-
D.functions.on(
|
|
2348
|
-
}),
|
|
2349
|
-
D.functions.off(
|
|
2350
|
-
}), (
|
|
2351
|
-
|
|
2352
|
-
"doc-link":
|
|
2417
|
+
D.functions.on(q.INSPECTOR_TREE_UPDATED, N), D.functions.on(q.INSPECTOR_STATE_UPDATED, M);
|
|
2418
|
+
}), be(() => {
|
|
2419
|
+
D.functions.off(q.INSPECTOR_TREE_UPDATED, N), D.functions.off(q.INSPECTOR_STATE_UPDATED, M);
|
|
2420
|
+
}), (w, k) => (p(), v("div", Zl, [
|
|
2421
|
+
y($e, {
|
|
2422
|
+
"doc-link": u(t).homepage
|
|
2353
2423
|
}, {
|
|
2354
|
-
default:
|
|
2355
|
-
|
|
2424
|
+
default: H(() => [
|
|
2425
|
+
y(Se)
|
|
2356
2426
|
]),
|
|
2357
2427
|
_: 1
|
|
2358
2428
|
}, 8, ["doc-link"]),
|
|
2359
|
-
|
|
2429
|
+
c.value.length ? (p(), z(u(Ae), {
|
|
2360
2430
|
key: 0,
|
|
2361
2431
|
class: "flex-1 overflow-auto"
|
|
2362
2432
|
}, {
|
|
2363
|
-
default:
|
|
2364
|
-
|
|
2433
|
+
default: H(() => [
|
|
2434
|
+
y(u(ue), {
|
|
2365
2435
|
border: "r base",
|
|
2366
2436
|
size: "40",
|
|
2367
2437
|
"h-full": ""
|
|
2368
2438
|
}, {
|
|
2369
|
-
default:
|
|
2370
|
-
var
|
|
2439
|
+
default: H(() => {
|
|
2440
|
+
var x;
|
|
2371
2441
|
return [
|
|
2372
|
-
|
|
2373
|
-
(
|
|
2374
|
-
|
|
2375
|
-
(p(!0),
|
|
2442
|
+
r("div", Fl, [
|
|
2443
|
+
(x = i.value) != null && x.length ? (p(), v("div", Gl, [
|
|
2444
|
+
r("div", Kl, [
|
|
2445
|
+
(p(!0), v(te, null, ae(i.value, (R, F) => W((p(), v("div", {
|
|
2376
2446
|
key: F,
|
|
2377
2447
|
class: "flex items-center gap1",
|
|
2378
|
-
onClick: (se) =>
|
|
2448
|
+
onClick: (se) => C(F)
|
|
2379
2449
|
}, [
|
|
2380
|
-
|
|
2381
|
-
name: `baseline-${
|
|
2450
|
+
y(u(Fe), {
|
|
2451
|
+
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2382
2452
|
"cursor-pointer": "",
|
|
2383
2453
|
op70: "",
|
|
2384
2454
|
"text-base": "",
|
|
2385
2455
|
"hover:op100": ""
|
|
2386
2456
|
}, null, 8, ["name"])
|
|
2387
|
-
], 8,
|
|
2457
|
+
], 8, Wl)), [
|
|
2388
2458
|
[
|
|
2389
|
-
|
|
2390
|
-
{ content:
|
|
2459
|
+
u(J),
|
|
2460
|
+
{ content: R.tooltip },
|
|
2391
2461
|
void 0,
|
|
2392
2462
|
{ "bottom-end": !0 }
|
|
2393
2463
|
]
|
|
2394
2464
|
])), 128))
|
|
2395
2465
|
])
|
|
2396
2466
|
])) : U("", !0),
|
|
2397
|
-
|
|
2398
|
-
|
|
2467
|
+
r("div", ql, [
|
|
2468
|
+
y(Me, {
|
|
2399
2469
|
modelValue: a.value,
|
|
2400
|
-
"onUpdate:modelValue":
|
|
2401
|
-
data:
|
|
2470
|
+
"onUpdate:modelValue": k[0] || (k[0] = (R) => a.value = R),
|
|
2471
|
+
data: c.value
|
|
2402
2472
|
}, null, 8, ["modelValue", "data"])
|
|
2403
2473
|
])
|
|
2404
2474
|
])
|
|
@@ -2406,44 +2476,44 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2406
2476
|
}),
|
|
2407
2477
|
_: 1
|
|
2408
2478
|
}),
|
|
2409
|
-
|
|
2410
|
-
default:
|
|
2411
|
-
var
|
|
2479
|
+
y(u(ue), { size: "60" }, {
|
|
2480
|
+
default: H(() => {
|
|
2481
|
+
var x;
|
|
2412
2482
|
return [
|
|
2413
|
-
|
|
2414
|
-
(
|
|
2415
|
-
|
|
2416
|
-
(p(!0),
|
|
2483
|
+
r("div", Jl, [
|
|
2484
|
+
(x = l.value) != null && x.length ? (p(), v("div", Yl, [
|
|
2485
|
+
r("div", Xl, [
|
|
2486
|
+
(p(!0), v(te, null, ae(l.value, (R, F) => W((p(), v("div", {
|
|
2417
2487
|
key: F,
|
|
2418
2488
|
class: "flex items-center gap1",
|
|
2419
|
-
onClick: (se) =>
|
|
2489
|
+
onClick: (se) => _(F)
|
|
2420
2490
|
}, [
|
|
2421
|
-
|
|
2422
|
-
name: `baseline-${
|
|
2491
|
+
y(u(Fe), {
|
|
2492
|
+
name: `baseline-${R.icon.replace(/\_/g, "-")}`,
|
|
2423
2493
|
"cursor-pointer": "",
|
|
2424
2494
|
op70: "",
|
|
2425
2495
|
"text-base": "",
|
|
2426
2496
|
"hover:op100": ""
|
|
2427
2497
|
}, null, 8, ["name"])
|
|
2428
|
-
], 8,
|
|
2498
|
+
], 8, Ql)), [
|
|
2429
2499
|
[
|
|
2430
|
-
|
|
2431
|
-
{ content:
|
|
2500
|
+
u(J),
|
|
2501
|
+
{ content: R.tooltip },
|
|
2432
2502
|
void 0,
|
|
2433
2503
|
{ "bottom-end": !0 }
|
|
2434
2504
|
]
|
|
2435
2505
|
])), 128))
|
|
2436
2506
|
])
|
|
2437
2507
|
])) : U("", !0),
|
|
2438
|
-
a.value && !
|
|
2508
|
+
a.value && !E.value ? (p(), z(Pe, {
|
|
2439
2509
|
key: 1,
|
|
2440
|
-
data:
|
|
2510
|
+
data: m.value,
|
|
2441
2511
|
"node-id": a.value,
|
|
2442
2512
|
"inspector-id": s.value,
|
|
2443
2513
|
"expanded-state-id": "custom-inspector-state",
|
|
2444
2514
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2445
2515
|
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2446
|
-
default:
|
|
2516
|
+
default: H(() => k[1] || (k[1] = [
|
|
2447
2517
|
ne(" No Data ")
|
|
2448
2518
|
])),
|
|
2449
2519
|
_: 1
|
|
@@ -2456,26 +2526,27 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2456
2526
|
]),
|
|
2457
2527
|
_: 1
|
|
2458
2528
|
})) : (p(), z(Ne, { key: 1 }, {
|
|
2459
|
-
default:
|
|
2529
|
+
default: H(() => k[2] || (k[2] = [
|
|
2460
2530
|
ne(" No Data ")
|
|
2461
2531
|
])),
|
|
2462
2532
|
_: 1
|
|
2463
2533
|
}))
|
|
2464
2534
|
]));
|
|
2465
2535
|
}
|
|
2466
|
-
}),
|
|
2536
|
+
}), t1 = /* @__PURE__ */ B({
|
|
2467
2537
|
__name: "Index",
|
|
2468
2538
|
setup(n) {
|
|
2469
2539
|
const e = Te();
|
|
2470
|
-
return (o, t) => (p(), z(
|
|
2471
|
-
"layer-ids":
|
|
2472
|
-
"doc-link":
|
|
2473
|
-
|
|
2540
|
+
return (o, t) => (p(), z(pt, {
|
|
2541
|
+
"layer-ids": u(e).timelineLayerIds,
|
|
2542
|
+
"doc-link": u(e).homepage,
|
|
2543
|
+
"plugin-id": u(e).pluginId
|
|
2544
|
+
}, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
|
|
2474
2545
|
}
|
|
2475
|
-
}),
|
|
2546
|
+
}), n1 = {
|
|
2476
2547
|
"h-full": "",
|
|
2477
2548
|
"w-full": ""
|
|
2478
|
-
},
|
|
2549
|
+
}, o1 = { key: 0 }, ls = /* @__PURE__ */ B({
|
|
2479
2550
|
__name: "index",
|
|
2480
2551
|
props: {
|
|
2481
2552
|
id: {},
|
|
@@ -2483,36 +2554,36 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2483
2554
|
},
|
|
2484
2555
|
emits: ["loadError"],
|
|
2485
2556
|
setup(n, { emit: e }) {
|
|
2486
|
-
const o = n, t = e, s =
|
|
2557
|
+
const o = n, t = e, s = Zt(), l = T(!1), i = T(null);
|
|
2487
2558
|
ge("pluginSettings", i);
|
|
2488
|
-
const
|
|
2559
|
+
const c = V(() => {
|
|
2489
2560
|
var a;
|
|
2490
2561
|
return [
|
|
2491
2562
|
{
|
|
2492
2563
|
path: "/state",
|
|
2493
2564
|
name: "State",
|
|
2494
|
-
component:
|
|
2565
|
+
component: e1,
|
|
2495
2566
|
icon: "i-carbon-tree-view-alt"
|
|
2496
2567
|
},
|
|
2497
2568
|
((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
2498
2569
|
path: "/timeline",
|
|
2499
2570
|
name: "Timeline",
|
|
2500
|
-
component:
|
|
2571
|
+
component: t1,
|
|
2501
2572
|
icon: "i-mdi:timeline-clock-outline"
|
|
2502
2573
|
},
|
|
2503
2574
|
{
|
|
2504
2575
|
path: "/about",
|
|
2505
2576
|
name: "About",
|
|
2506
|
-
component:
|
|
2577
|
+
component: Ml
|
|
2507
2578
|
},
|
|
2508
2579
|
i.value && {
|
|
2509
2580
|
path: "/settings",
|
|
2510
2581
|
name: "Settings",
|
|
2511
|
-
component:
|
|
2582
|
+
component: Bl,
|
|
2512
2583
|
icon: "i-mdi:cog-outline"
|
|
2513
2584
|
}
|
|
2514
2585
|
].filter(Boolean);
|
|
2515
|
-
}), { VirtualRouterView:
|
|
2586
|
+
}), { VirtualRouterView: d, restoreRouter: h } = st(c, {
|
|
2516
2587
|
defaultRoutePath: "/state"
|
|
2517
2588
|
});
|
|
2518
2589
|
function f() {
|
|
@@ -2522,117 +2593,117 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
|
|
|
2522
2593
|
t("loadError");
|
|
2523
2594
|
return;
|
|
2524
2595
|
}
|
|
2525
|
-
const
|
|
2596
|
+
const m = {
|
|
2526
2597
|
homepage: a == null ? void 0 : a.homepage,
|
|
2527
2598
|
id: a == null ? void 0 : a.id,
|
|
2528
2599
|
label: a == null ? void 0 : a.label,
|
|
2529
2600
|
logo: a == null ? void 0 : a.logo,
|
|
2530
|
-
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((
|
|
2601
|
+
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((E) => E.id),
|
|
2531
2602
|
pluginId: o.pluginId
|
|
2532
2603
|
};
|
|
2533
|
-
s.value =
|
|
2604
|
+
s.value = m, h(), l.value = !1;
|
|
2534
2605
|
}), D.value.getPluginSettings(o.pluginId).then((a) => {
|
|
2535
2606
|
a.options ? i.value = a : i.value = null;
|
|
2536
2607
|
});
|
|
2537
2608
|
});
|
|
2538
2609
|
}
|
|
2539
|
-
return
|
|
2610
|
+
return Q(() => o.id, () => {
|
|
2540
2611
|
f();
|
|
2541
2612
|
}, {
|
|
2542
2613
|
immediate: !0
|
|
2543
|
-
}),
|
|
2614
|
+
}), be(() => {
|
|
2544
2615
|
D.value.unhighlight();
|
|
2545
|
-
}), (a,
|
|
2546
|
-
l.value ? (p(),
|
|
2547
|
-
|
|
2548
|
-
])) : (p(), z(d
|
|
2616
|
+
}), (a, m) => (p(), v("div", n1, [
|
|
2617
|
+
l.value ? (p(), v("div", o1, [
|
|
2618
|
+
y(Cl)
|
|
2619
|
+
])) : (p(), z(u(d), { key: 1 }))
|
|
2549
2620
|
]));
|
|
2550
2621
|
}
|
|
2551
|
-
}),
|
|
2622
|
+
}), l1 = {}, s1 = {
|
|
2552
2623
|
viewBox: "0 0 566 154",
|
|
2553
2624
|
fill: "none",
|
|
2554
2625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2555
2626
|
};
|
|
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)
|
|
2627
|
+
function a1(n, e) {
|
|
2628
|
+
return p(), v("svg", s1, e[0] || (e[0] = [
|
|
2629
|
+
nn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
|
|
2559
2630
|
]));
|
|
2560
2631
|
}
|
|
2561
|
-
const
|
|
2632
|
+
const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
|
|
2562
2633
|
"h-full": "",
|
|
2563
2634
|
"w-full": "",
|
|
2564
2635
|
flex: "",
|
|
2565
2636
|
"items-center": ""
|
|
2566
|
-
},
|
|
2637
|
+
}, u1 = {
|
|
2567
2638
|
flex: "~ col gap2",
|
|
2568
2639
|
ma: "",
|
|
2569
2640
|
"px-5": ""
|
|
2570
|
-
},
|
|
2641
|
+
}, c1 = {
|
|
2571
2642
|
flex: "~ col",
|
|
2572
2643
|
"mt-20": "",
|
|
2573
2644
|
"items-center": ""
|
|
2574
|
-
},
|
|
2645
|
+
}, d1 = {
|
|
2575
2646
|
flex: "~",
|
|
2576
2647
|
"mt--10": "",
|
|
2577
2648
|
"items-center": "",
|
|
2578
2649
|
"justify-center": ""
|
|
2579
|
-
},
|
|
2650
|
+
}, p1 = { flex: "~ gap2 wrap" }, f1 = /* @__PURE__ */ B({
|
|
2580
2651
|
__name: "About",
|
|
2581
2652
|
setup(n) {
|
|
2582
2653
|
const e = De();
|
|
2583
|
-
return (o, t) => (p(),
|
|
2584
|
-
|
|
2585
|
-
t[5] || (t[5] =
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2654
|
+
return (o, t) => (p(), v("div", r1, [
|
|
2655
|
+
r("div", u1, [
|
|
2656
|
+
t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2657
|
+
r("div", c1, [
|
|
2658
|
+
r("div", d1, [
|
|
2659
|
+
y(i1, { "h-18": "" })
|
|
2589
2660
|
]),
|
|
2590
|
-
t[2] || (t[2] =
|
|
2661
|
+
t[2] || (t[2] = r("div", {
|
|
2591
2662
|
mb6: "",
|
|
2592
2663
|
"mt--1": "",
|
|
2593
2664
|
"text-center": "",
|
|
2594
2665
|
"text-sm": "",
|
|
2595
2666
|
flex: "~ gap-1"
|
|
2596
2667
|
}, [
|
|
2597
|
-
|
|
2668
|
+
r("span", { op40: "" }, " Pinia DevTools ")
|
|
2598
2669
|
], -1))
|
|
2599
2670
|
]),
|
|
2600
|
-
t[6] || (t[6] =
|
|
2601
|
-
|
|
2602
|
-
|
|
2671
|
+
t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
2672
|
+
r("div", p1, [
|
|
2673
|
+
r("div", {
|
|
2603
2674
|
flex: "~ col auto",
|
|
2604
2675
|
"min-w-40": "",
|
|
2605
2676
|
p4: "",
|
|
2606
2677
|
"theme-card-lime": "",
|
|
2607
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
2678
|
+
onClick: t[0] || (t[0] = (s) => u(e).push("/store"))
|
|
2608
2679
|
}, t[3] || (t[3] = [
|
|
2609
|
-
|
|
2680
|
+
r("div", {
|
|
2610
2681
|
"i-carbon-tree-view-alt": "",
|
|
2611
2682
|
"text-3xl": ""
|
|
2612
2683
|
}, null, -1),
|
|
2613
|
-
|
|
2684
|
+
r("code", null, "Store", -1)
|
|
2614
2685
|
])),
|
|
2615
|
-
|
|
2686
|
+
r("div", {
|
|
2616
2687
|
flex: "~ col auto",
|
|
2617
2688
|
"min-w-40": "",
|
|
2618
2689
|
p4: "",
|
|
2619
2690
|
"theme-card-lime": "",
|
|
2620
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
2691
|
+
onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
|
|
2621
2692
|
}, t[4] || (t[4] = [
|
|
2622
|
-
|
|
2693
|
+
r("div", {
|
|
2623
2694
|
"i-mdi:timeline-clock-outline": "",
|
|
2624
2695
|
"text-3xl": ""
|
|
2625
2696
|
}, null, -1),
|
|
2626
|
-
|
|
2697
|
+
r("div", null, "Timeline", -1)
|
|
2627
2698
|
]))
|
|
2628
2699
|
]),
|
|
2629
|
-
t[7] || (t[7] =
|
|
2700
|
+
t[7] || (t[7] = r("div", {
|
|
2630
2701
|
flex: "~ gap-6 wrap",
|
|
2631
2702
|
"mt-5": "",
|
|
2632
2703
|
"items-center": "",
|
|
2633
2704
|
"justify-center": ""
|
|
2634
2705
|
}, [
|
|
2635
|
-
|
|
2706
|
+
r("a", {
|
|
2636
2707
|
href: "https://github.com/vuejs/pinia",
|
|
2637
2708
|
target: "_blank",
|
|
2638
2709
|
flex: "~ gap1",
|
|
@@ -2641,10 +2712,10 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2641
2712
|
hover: "op100 text-blue",
|
|
2642
2713
|
transition: ""
|
|
2643
2714
|
}, [
|
|
2644
|
-
|
|
2715
|
+
r("div", { "i-carbon-star": "" }),
|
|
2645
2716
|
ne(" Star on GitHub ")
|
|
2646
2717
|
]),
|
|
2647
|
-
|
|
2718
|
+
r("a", {
|
|
2648
2719
|
href: "https://pinia.vuejs.org/",
|
|
2649
2720
|
target: "_blank",
|
|
2650
2721
|
flex: "~ gap1",
|
|
@@ -2653,32 +2724,32 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2653
2724
|
hover: "op100 text-yellow",
|
|
2654
2725
|
transition: ""
|
|
2655
2726
|
}, [
|
|
2656
|
-
|
|
2727
|
+
r("div", { "i-carbon-document": "" }),
|
|
2657
2728
|
ne(" View Documentation ")
|
|
2658
2729
|
])
|
|
2659
2730
|
], -1)),
|
|
2660
|
-
t[8] || (t[8] =
|
|
2731
|
+
t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
|
|
2661
2732
|
])
|
|
2662
2733
|
]));
|
|
2663
2734
|
}
|
|
2664
|
-
}),
|
|
2735
|
+
}), v1 = { class: "h-full flex flex-col" }, m1 = /* @__PURE__ */ B({
|
|
2665
2736
|
__name: "Settings",
|
|
2666
2737
|
setup(n) {
|
|
2667
2738
|
const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
|
|
2668
2739
|
function s(l) {
|
|
2669
2740
|
e.value = l;
|
|
2670
2741
|
}
|
|
2671
|
-
return (l, i) => (p(),
|
|
2672
|
-
|
|
2742
|
+
return (l, i) => (p(), v("div", v1, [
|
|
2743
|
+
y($e, {
|
|
2673
2744
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2674
2745
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2675
2746
|
}, {
|
|
2676
|
-
default:
|
|
2677
|
-
|
|
2747
|
+
default: H(() => [
|
|
2748
|
+
y(Se)
|
|
2678
2749
|
]),
|
|
2679
2750
|
_: 1
|
|
2680
2751
|
}),
|
|
2681
|
-
|
|
2752
|
+
y(Ft, {
|
|
2682
2753
|
"plugin-id": "dev.esm.pinia",
|
|
2683
2754
|
options: o.value,
|
|
2684
2755
|
values: t.value,
|
|
@@ -2686,150 +2757,150 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2686
2757
|
}, null, 8, ["options", "values"])
|
|
2687
2758
|
]));
|
|
2688
2759
|
}
|
|
2689
|
-
}),
|
|
2760
|
+
}), h1 = { class: "h-full flex flex-col" }, g1 = { class: "h-full flex flex-col p2" }, C1 = {
|
|
2690
2761
|
key: 0,
|
|
2691
2762
|
class: "mb-1 flex justify-end pb-1",
|
|
2692
2763
|
border: "b dashed base"
|
|
2693
|
-
},
|
|
2764
|
+
}, _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
2765
|
key: 0,
|
|
2695
2766
|
class: "mb-1 flex justify-end pb-1",
|
|
2696
2767
|
border: "b dashed base"
|
|
2697
|
-
},
|
|
2768
|
+
}, k1 = { class: "flex items-center gap-2 px-1" }, I1 = ["onClick"], pe = "pinia", $1 = /* @__PURE__ */ B({
|
|
2698
2769
|
__name: "Index",
|
|
2699
2770
|
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 !((
|
|
2771
|
+
const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), i = T([]), c = V(() => {
|
|
2772
|
+
var N, M;
|
|
2773
|
+
return (N = i.value) != null && N.length ? m((M = i.value) == null ? void 0 : M[0]) : [];
|
|
2774
|
+
}), d = V(() => A(i.value)), h = V(() => d.value.map((N) => N.id)), f = T({}), a = V(() => {
|
|
2775
|
+
var N, M;
|
|
2776
|
+
return !((N = f.value.state) != null && N.length) && !((M = f.value.getters) != null && M.length);
|
|
2706
2777
|
});
|
|
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
|
-
|
|
2778
|
+
function m(N, M = [], w = []) {
|
|
2779
|
+
var k;
|
|
2780
|
+
return M.push(N.id), ((k = N.children) == null ? void 0 : k.length) === 0 && w.push([...M]), Array.isArray(N.children) && N.children.forEach((x) => {
|
|
2781
|
+
m(x, M, w);
|
|
2782
|
+
}), M.pop(), w;
|
|
2783
|
+
}
|
|
2784
|
+
function E(N, M) {
|
|
2785
|
+
const w = [];
|
|
2786
|
+
return N == null || N.forEach((k) => {
|
|
2787
|
+
w.push(...k.slice(0, M + 1));
|
|
2788
|
+
}), [...new Set(w)];
|
|
2789
|
+
}
|
|
2790
|
+
function A(N) {
|
|
2791
|
+
const M = [], w = (k) => {
|
|
2792
|
+
k == null || k.forEach((x) => {
|
|
2793
|
+
var R;
|
|
2794
|
+
M.push(x), (R = x.children) != null && R.length && w(x.children);
|
|
2724
2795
|
});
|
|
2725
2796
|
};
|
|
2726
|
-
return
|
|
2797
|
+
return w(N), M;
|
|
2727
2798
|
}
|
|
2728
|
-
function
|
|
2729
|
-
D.value.getInspectorNodeActions(pe).then((
|
|
2730
|
-
t.value =
|
|
2799
|
+
function g() {
|
|
2800
|
+
D.value.getInspectorNodeActions(pe).then((N) => {
|
|
2801
|
+
t.value = N;
|
|
2731
2802
|
});
|
|
2732
2803
|
}
|
|
2733
|
-
function
|
|
2734
|
-
D.value.getInspectorActions(pe).then((
|
|
2735
|
-
s.value =
|
|
2804
|
+
function $() {
|
|
2805
|
+
D.value.getInspectorActions(pe).then((N) => {
|
|
2806
|
+
s.value = N;
|
|
2736
2807
|
});
|
|
2737
2808
|
}
|
|
2738
|
-
|
|
2739
|
-
function
|
|
2740
|
-
D.value.callInspectorNodeAction(pe,
|
|
2809
|
+
g(), $();
|
|
2810
|
+
function O(N) {
|
|
2811
|
+
D.value.callInspectorNodeAction(pe, N, l.value);
|
|
2741
2812
|
}
|
|
2742
|
-
function
|
|
2743
|
-
D.value.callInspectorAction(pe,
|
|
2813
|
+
function P(N) {
|
|
2814
|
+
D.value.callInspectorAction(pe, N);
|
|
2744
2815
|
}
|
|
2745
|
-
function
|
|
2746
|
-
var
|
|
2747
|
-
for (const
|
|
2748
|
-
(
|
|
2749
|
-
return
|
|
2750
|
-
}
|
|
2751
|
-
function
|
|
2752
|
-
D.value.getInspectorState({ inspectorId: pe, nodeId:
|
|
2753
|
-
const
|
|
2754
|
-
|
|
2816
|
+
function _(N) {
|
|
2817
|
+
var M;
|
|
2818
|
+
for (const w in N)
|
|
2819
|
+
(M = N[w]) != null && M.length || delete N[w];
|
|
2820
|
+
return N;
|
|
2821
|
+
}
|
|
2822
|
+
function C(N) {
|
|
2823
|
+
D.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
|
|
2824
|
+
const w = X(M);
|
|
2825
|
+
w && (f.value = _(w), o.value = Array.from({ length: Object.keys(f.value).length }, (k, x) => `${x}`));
|
|
2755
2826
|
});
|
|
2756
2827
|
}
|
|
2757
|
-
function
|
|
2828
|
+
function S() {
|
|
2758
2829
|
f.value = {};
|
|
2759
2830
|
}
|
|
2760
|
-
|
|
2761
|
-
|
|
2831
|
+
Q(l, () => {
|
|
2832
|
+
S(), C(l.value);
|
|
2762
2833
|
}), (() => {
|
|
2763
|
-
D.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((
|
|
2764
|
-
const
|
|
2765
|
-
i.value =
|
|
2834
|
+
D.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
|
|
2835
|
+
const M = X(N);
|
|
2836
|
+
i.value = M, !l.value && M.length && (l.value = M[0].id, C(M[0].id), e.value = E(c.value, 1));
|
|
2766
2837
|
});
|
|
2767
2838
|
})();
|
|
2768
|
-
function K(
|
|
2769
|
-
const
|
|
2770
|
-
|
|
2839
|
+
function K(N) {
|
|
2840
|
+
const M = X(N);
|
|
2841
|
+
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
2842
|
}
|
|
2772
|
-
function Z(
|
|
2773
|
-
const
|
|
2774
|
-
if (
|
|
2843
|
+
function Z(N) {
|
|
2844
|
+
const M = X(N);
|
|
2845
|
+
if (M.inspectorId !== pe)
|
|
2775
2846
|
return;
|
|
2776
|
-
const
|
|
2777
|
-
f.value =
|
|
2778
|
-
state:
|
|
2779
|
-
getters:
|
|
2847
|
+
const w = M.state;
|
|
2848
|
+
f.value = _({
|
|
2849
|
+
state: w.state,
|
|
2850
|
+
getters: w.getters
|
|
2780
2851
|
});
|
|
2781
2852
|
}
|
|
2782
|
-
return D.functions.on(
|
|
2783
|
-
D.functions.off(
|
|
2784
|
-
}), (
|
|
2785
|
-
|
|
2853
|
+
return D.functions.on(q.INSPECTOR_TREE_UPDATED, K), D.functions.on(q.INSPECTOR_STATE_UPDATED, Z), be(() => {
|
|
2854
|
+
D.functions.off(q.INSPECTOR_TREE_UPDATED, K), D.functions.off(q.INSPECTOR_STATE_UPDATED, Z);
|
|
2855
|
+
}), (N, M) => (p(), v("div", h1, [
|
|
2856
|
+
y($e, {
|
|
2786
2857
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2787
2858
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2788
2859
|
}, {
|
|
2789
|
-
default:
|
|
2790
|
-
|
|
2860
|
+
default: H(() => [
|
|
2861
|
+
y(Se)
|
|
2791
2862
|
]),
|
|
2792
2863
|
_: 1
|
|
2793
2864
|
}),
|
|
2794
|
-
|
|
2795
|
-
default:
|
|
2796
|
-
|
|
2865
|
+
y(u(Ae), { class: "flex-1 overflow-auto" }, {
|
|
2866
|
+
default: H(() => [
|
|
2867
|
+
y(u(ue), {
|
|
2797
2868
|
border: "r base",
|
|
2798
2869
|
size: "40",
|
|
2799
2870
|
"h-full": ""
|
|
2800
2871
|
}, {
|
|
2801
|
-
default:
|
|
2802
|
-
var
|
|
2872
|
+
default: H(() => {
|
|
2873
|
+
var w;
|
|
2803
2874
|
return [
|
|
2804
|
-
|
|
2805
|
-
(
|
|
2806
|
-
|
|
2807
|
-
(p(!0),
|
|
2808
|
-
key:
|
|
2875
|
+
r("div", g1, [
|
|
2876
|
+
(w = s.value) != null && w.length ? (p(), v("div", C1, [
|
|
2877
|
+
r("div", _1, [
|
|
2878
|
+
(p(!0), v(te, null, ae(s.value, (k, x) => W((p(), v("div", {
|
|
2879
|
+
key: x,
|
|
2809
2880
|
class: "flex items-center gap1",
|
|
2810
|
-
onClick: (
|
|
2881
|
+
onClick: (R) => P(x)
|
|
2811
2882
|
}, [
|
|
2812
|
-
|
|
2813
|
-
class: ie(`i-ic-baseline-${
|
|
2883
|
+
r("i", {
|
|
2884
|
+
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2814
2885
|
"cursor-pointer": "",
|
|
2815
2886
|
op70: "",
|
|
2816
2887
|
"text-base": "",
|
|
2817
2888
|
"hover:op100": ""
|
|
2818
2889
|
}, null, 2)
|
|
2819
|
-
], 8,
|
|
2890
|
+
], 8, x1)), [
|
|
2820
2891
|
[
|
|
2821
|
-
|
|
2822
|
-
{ content:
|
|
2892
|
+
u(J),
|
|
2893
|
+
{ content: k.tooltip },
|
|
2823
2894
|
void 0,
|
|
2824
2895
|
{ "bottom-end": !0 }
|
|
2825
2896
|
]
|
|
2826
2897
|
])), 128))
|
|
2827
2898
|
])
|
|
2828
2899
|
])) : U("", !0),
|
|
2829
|
-
|
|
2830
|
-
|
|
2900
|
+
r("div", y1, [
|
|
2901
|
+
y(Me, {
|
|
2831
2902
|
modelValue: l.value,
|
|
2832
|
-
"onUpdate:modelValue":
|
|
2903
|
+
"onUpdate:modelValue": M[0] || (M[0] = (k) => l.value = k),
|
|
2833
2904
|
data: i.value
|
|
2834
2905
|
}, null, 8, ["modelValue", "data"])
|
|
2835
2906
|
])
|
|
@@ -2838,29 +2909,29 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2838
2909
|
}),
|
|
2839
2910
|
_: 1
|
|
2840
2911
|
}),
|
|
2841
|
-
|
|
2842
|
-
default:
|
|
2843
|
-
var
|
|
2912
|
+
y(u(ue), { size: "60" }, {
|
|
2913
|
+
default: H(() => {
|
|
2914
|
+
var w;
|
|
2844
2915
|
return [
|
|
2845
|
-
|
|
2846
|
-
(
|
|
2847
|
-
|
|
2848
|
-
(p(!0),
|
|
2849
|
-
key:
|
|
2916
|
+
r("div", b1, [
|
|
2917
|
+
(w = t.value) != null && w.length ? (p(), v("div", w1, [
|
|
2918
|
+
r("div", k1, [
|
|
2919
|
+
(p(!0), v(te, null, ae(t.value, (k, x) => W((p(), v("div", {
|
|
2920
|
+
key: x,
|
|
2850
2921
|
class: "flex items-center gap1",
|
|
2851
|
-
onClick: (
|
|
2922
|
+
onClick: (R) => O(x)
|
|
2852
2923
|
}, [
|
|
2853
|
-
|
|
2854
|
-
class: ie(`i-ic-baseline-${
|
|
2924
|
+
r("i", {
|
|
2925
|
+
class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
|
|
2855
2926
|
"cursor-pointer": "",
|
|
2856
2927
|
op70: "",
|
|
2857
2928
|
"text-base": "",
|
|
2858
2929
|
"hover:op100": ""
|
|
2859
2930
|
}, null, 2)
|
|
2860
|
-
], 8,
|
|
2931
|
+
], 8, I1)), [
|
|
2861
2932
|
[
|
|
2862
|
-
|
|
2863
|
-
{ content:
|
|
2933
|
+
u(J),
|
|
2934
|
+
{ content: k.tooltip },
|
|
2864
2935
|
void 0,
|
|
2865
2936
|
{ "bottom-end": !0 }
|
|
2866
2937
|
]
|
|
@@ -2875,7 +2946,7 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2875
2946
|
"inspector-id": pe,
|
|
2876
2947
|
"expanded-state-id": "pinia-store-state"
|
|
2877
2948
|
}, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
2878
|
-
default:
|
|
2949
|
+
default: H(() => M[1] || (M[1] = [
|
|
2879
2950
|
ne(" No Data ")
|
|
2880
2951
|
])),
|
|
2881
2952
|
_: 1
|
|
@@ -2890,20 +2961,21 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2890
2961
|
})
|
|
2891
2962
|
]));
|
|
2892
2963
|
}
|
|
2893
|
-
}),
|
|
2964
|
+
}), S1 = "dev.esm.pinia", T1 = /* @__PURE__ */ B({
|
|
2894
2965
|
__name: "Index",
|
|
2895
2966
|
setup(n) {
|
|
2896
2967
|
const e = ["pinia:mutations"];
|
|
2897
|
-
return (o, t) => (p(), z(
|
|
2968
|
+
return (o, t) => (p(), z(pt, {
|
|
2898
2969
|
"layer-ids": e,
|
|
2899
2970
|
"doc-link": "https://pinia.vuejs.org/",
|
|
2971
|
+
"plugin-id": S1,
|
|
2900
2972
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
2901
2973
|
}));
|
|
2902
2974
|
}
|
|
2903
|
-
}),
|
|
2975
|
+
}), E1 = {
|
|
2904
2976
|
"h-full": "",
|
|
2905
2977
|
"w-full": ""
|
|
2906
|
-
},
|
|
2978
|
+
}, ss = /* @__PURE__ */ B({
|
|
2907
2979
|
__name: "index",
|
|
2908
2980
|
setup(n) {
|
|
2909
2981
|
const e = T(null);
|
|
@@ -2912,137 +2984,137 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
|
|
|
2912
2984
|
{
|
|
2913
2985
|
path: "/store",
|
|
2914
2986
|
name: "Store",
|
|
2915
|
-
component:
|
|
2987
|
+
component: $1,
|
|
2916
2988
|
icon: "i-carbon-tree-view-alt"
|
|
2917
2989
|
},
|
|
2918
2990
|
{
|
|
2919
2991
|
path: "/timeline",
|
|
2920
2992
|
name: "Timeline",
|
|
2921
|
-
component:
|
|
2993
|
+
component: T1,
|
|
2922
2994
|
icon: "i-mdi:timeline-clock-outline"
|
|
2923
2995
|
},
|
|
2924
2996
|
{
|
|
2925
2997
|
path: "/",
|
|
2926
2998
|
name: "About",
|
|
2927
|
-
component:
|
|
2999
|
+
component: f1,
|
|
2928
3000
|
icon: "i-logos-pinia"
|
|
2929
3001
|
},
|
|
2930
3002
|
e.value && {
|
|
2931
3003
|
path: "/settings",
|
|
2932
3004
|
name: "Settings",
|
|
2933
|
-
component:
|
|
3005
|
+
component: m1,
|
|
2934
3006
|
icon: "i-mdi:cog-outline"
|
|
2935
3007
|
}
|
|
2936
|
-
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } =
|
|
3008
|
+
].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = st(o, {
|
|
2937
3009
|
defaultRoutePath: "/store"
|
|
2938
3010
|
});
|
|
2939
3011
|
return Re(() => {
|
|
2940
3012
|
D.value.getPluginSettings("dev.esm.pinia").then((i) => {
|
|
2941
3013
|
i.options ? e.value = i : e.value = null;
|
|
2942
3014
|
});
|
|
2943
|
-
}), (l, i) => (p(),
|
|
2944
|
-
|
|
3015
|
+
}), (l, i) => (p(), v("div", E1, [
|
|
3016
|
+
y(u(t))
|
|
2945
3017
|
]));
|
|
2946
3018
|
}
|
|
2947
|
-
}),
|
|
3019
|
+
}), V1 = {}, N1 = {
|
|
2948
3020
|
viewBox: "0 0 566 154",
|
|
2949
3021
|
fill: "none",
|
|
2950
3022
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2951
3023
|
};
|
|
2952
|
-
function
|
|
2953
|
-
return p(),
|
|
2954
|
-
|
|
3024
|
+
function R1(n, e) {
|
|
3025
|
+
return p(), v("svg", N1, e[0] || (e[0] = [
|
|
3026
|
+
r("svg", {
|
|
2955
3027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2956
3028
|
width: "8em",
|
|
2957
3029
|
height: "8em",
|
|
2958
3030
|
viewBox: "0 -4 24 24"
|
|
2959
3031
|
}, [
|
|
2960
|
-
|
|
3032
|
+
r("path", {
|
|
2961
3033
|
fill: "#3dd68c",
|
|
2962
3034
|
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
3035
|
})
|
|
2964
3036
|
], -1),
|
|
2965
|
-
|
|
3037
|
+
r("path", {
|
|
2966
3038
|
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
3039
|
fill: "currentColor"
|
|
2968
3040
|
}, null, -1)
|
|
2969
3041
|
]));
|
|
2970
3042
|
}
|
|
2971
|
-
const
|
|
3043
|
+
const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
|
|
2972
3044
|
"h-full": "",
|
|
2973
3045
|
"w-full": "",
|
|
2974
3046
|
flex: "",
|
|
2975
3047
|
"items-center": ""
|
|
2976
|
-
},
|
|
3048
|
+
}, P1 = {
|
|
2977
3049
|
flex: "~ col gap2",
|
|
2978
3050
|
ma: "",
|
|
2979
3051
|
"px-5": ""
|
|
2980
|
-
},
|
|
3052
|
+
}, M1 = {
|
|
2981
3053
|
flex: "~ col",
|
|
2982
3054
|
"mt-20": "",
|
|
2983
3055
|
"items-center": ""
|
|
2984
|
-
},
|
|
3056
|
+
}, L1 = {
|
|
2985
3057
|
flex: "~",
|
|
2986
3058
|
"mt--10": "",
|
|
2987
3059
|
"items-center": "",
|
|
2988
3060
|
"justify-center": ""
|
|
2989
|
-
},
|
|
3061
|
+
}, H1 = { flex: "~ gap2 wrap" }, j1 = /* @__PURE__ */ B({
|
|
2990
3062
|
__name: "About",
|
|
2991
3063
|
setup(n) {
|
|
2992
3064
|
const e = De();
|
|
2993
|
-
return (o, t) => (p(),
|
|
2994
|
-
|
|
2995
|
-
t[5] || (t[5] =
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
3065
|
+
return (o, t) => (p(), v("div", D1, [
|
|
3066
|
+
r("div", P1, [
|
|
3067
|
+
t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
|
|
3068
|
+
r("div", M1, [
|
|
3069
|
+
r("div", L1, [
|
|
3070
|
+
y(A1, { "h-18": "" })
|
|
2999
3071
|
]),
|
|
3000
|
-
t[2] || (t[2] =
|
|
3072
|
+
t[2] || (t[2] = r("div", {
|
|
3001
3073
|
mb6: "",
|
|
3002
3074
|
"mt--1": "",
|
|
3003
3075
|
"text-center": "",
|
|
3004
3076
|
"text-sm": "",
|
|
3005
3077
|
flex: "~ gap-1"
|
|
3006
3078
|
}, [
|
|
3007
|
-
|
|
3079
|
+
r("span", { op40: "" }, " Router DevTools ")
|
|
3008
3080
|
], -1))
|
|
3009
3081
|
]),
|
|
3010
|
-
t[6] || (t[6] =
|
|
3011
|
-
|
|
3012
|
-
|
|
3082
|
+
t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
|
|
3083
|
+
r("div", H1, [
|
|
3084
|
+
r("div", {
|
|
3013
3085
|
flex: "~ col auto",
|
|
3014
3086
|
"min-w-40": "",
|
|
3015
3087
|
p4: "",
|
|
3016
3088
|
"theme-card-lime": "",
|
|
3017
|
-
onClick: t[0] || (t[0] = (s) =>
|
|
3089
|
+
onClick: t[0] || (t[0] = (s) => u(e).push("/routes"))
|
|
3018
3090
|
}, t[3] || (t[3] = [
|
|
3019
|
-
|
|
3091
|
+
r("div", {
|
|
3020
3092
|
"i-carbon-tree-view-alt": "",
|
|
3021
3093
|
"text-3xl": ""
|
|
3022
3094
|
}, null, -1),
|
|
3023
|
-
|
|
3095
|
+
r("code", null, "Routes", -1)
|
|
3024
3096
|
])),
|
|
3025
|
-
|
|
3097
|
+
r("div", {
|
|
3026
3098
|
flex: "~ col auto",
|
|
3027
3099
|
"min-w-40": "",
|
|
3028
3100
|
p4: "",
|
|
3029
3101
|
"theme-card-lime": "",
|
|
3030
|
-
onClick: t[1] || (t[1] = (s) =>
|
|
3102
|
+
onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
|
|
3031
3103
|
}, t[4] || (t[4] = [
|
|
3032
|
-
|
|
3104
|
+
r("div", {
|
|
3033
3105
|
"i-mdi:timeline-clock-outline": "",
|
|
3034
3106
|
"text-3xl": ""
|
|
3035
3107
|
}, null, -1),
|
|
3036
|
-
|
|
3108
|
+
r("div", null, "Timeline", -1)
|
|
3037
3109
|
]))
|
|
3038
3110
|
]),
|
|
3039
|
-
t[7] || (t[7] =
|
|
3111
|
+
t[7] || (t[7] = r("div", {
|
|
3040
3112
|
flex: "~ gap-6 wrap",
|
|
3041
3113
|
"mt-5": "",
|
|
3042
3114
|
"items-center": "",
|
|
3043
3115
|
"justify-center": ""
|
|
3044
3116
|
}, [
|
|
3045
|
-
|
|
3117
|
+
r("a", {
|
|
3046
3118
|
href: "https://github.com/vuejs/router",
|
|
3047
3119
|
target: "_blank",
|
|
3048
3120
|
flex: "~ gap1",
|
|
@@ -3051,10 +3123,10 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3051
3123
|
hover: "op100 text-blue",
|
|
3052
3124
|
transition: ""
|
|
3053
3125
|
}, [
|
|
3054
|
-
|
|
3126
|
+
r("div", { "i-carbon-star": "" }),
|
|
3055
3127
|
ne(" Star on GitHub ")
|
|
3056
3128
|
]),
|
|
3057
|
-
|
|
3129
|
+
r("a", {
|
|
3058
3130
|
href: "https://router.vuejs.org/",
|
|
3059
3131
|
target: "_blank",
|
|
3060
3132
|
flex: "~ gap1",
|
|
@@ -3063,122 +3135,122 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3063
3135
|
hover: "op100 text-yellow",
|
|
3064
3136
|
transition: ""
|
|
3065
3137
|
}, [
|
|
3066
|
-
|
|
3138
|
+
r("div", { "i-carbon-document": "" }),
|
|
3067
3139
|
ne(" View Documentation ")
|
|
3068
3140
|
])
|
|
3069
3141
|
], -1)),
|
|
3070
|
-
t[8] || (t[8] =
|
|
3142
|
+
t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
|
|
3071
3143
|
])
|
|
3072
3144
|
]));
|
|
3073
3145
|
}
|
|
3074
|
-
}),
|
|
3146
|
+
}), O1 = { class: "h-full flex flex-col" }, U1 = {
|
|
3075
3147
|
"h-full": "",
|
|
3076
3148
|
"select-none": "",
|
|
3077
3149
|
"overflow-scroll": "",
|
|
3078
3150
|
p2: "",
|
|
3079
3151
|
class: "no-scrollbar"
|
|
3080
|
-
},
|
|
3152
|
+
}, z1 = {
|
|
3081
3153
|
"h-full": "",
|
|
3082
3154
|
"select-none": "",
|
|
3083
3155
|
"overflow-scroll": "",
|
|
3084
3156
|
class: "no-scrollbar"
|
|
3085
|
-
},
|
|
3157
|
+
}, B1 = /* @__PURE__ */ B({
|
|
3086
3158
|
__name: "Index",
|
|
3087
3159
|
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(
|
|
3160
|
+
const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""), i = T([]), c = V(() => {
|
|
3161
|
+
var C, S;
|
|
3162
|
+
return (C = i.value) != null && C.length ? a((S = i.value) == null ? void 0 : S[0]) : [];
|
|
3163
|
+
}), d = V(() => E(i.value)), h = V(() => d.value.map((C) => C.id)), f = T({});
|
|
3164
|
+
function a(C, S = [], L = []) {
|
|
3093
3165
|
var K;
|
|
3094
|
-
return
|
|
3095
|
-
a(Z,
|
|
3096
|
-
}),
|
|
3097
|
-
}
|
|
3098
|
-
function
|
|
3099
|
-
const
|
|
3100
|
-
return
|
|
3101
|
-
|
|
3102
|
-
}), [...new Set(
|
|
3103
|
-
}
|
|
3104
|
-
function
|
|
3105
|
-
const
|
|
3166
|
+
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) => {
|
|
3167
|
+
a(Z, S, L);
|
|
3168
|
+
}), S.pop(), L;
|
|
3169
|
+
}
|
|
3170
|
+
function m(C, S) {
|
|
3171
|
+
const L = [];
|
|
3172
|
+
return C == null || C.forEach((K) => {
|
|
3173
|
+
L.push(...K.slice(0, S + 1));
|
|
3174
|
+
}), [...new Set(L)];
|
|
3175
|
+
}
|
|
3176
|
+
function E(C) {
|
|
3177
|
+
const S = [], L = (K) => {
|
|
3106
3178
|
K == null || K.forEach((Z) => {
|
|
3107
|
-
var
|
|
3108
|
-
|
|
3179
|
+
var N;
|
|
3180
|
+
S.push(Z), (N = Z.children) != null && N.length && L(Z.children);
|
|
3109
3181
|
});
|
|
3110
3182
|
};
|
|
3111
|
-
return
|
|
3183
|
+
return L(C), S;
|
|
3112
3184
|
}
|
|
3113
|
-
function C
|
|
3114
|
-
var
|
|
3115
|
-
for (const
|
|
3116
|
-
(
|
|
3117
|
-
return
|
|
3118
|
-
}
|
|
3119
|
-
function
|
|
3120
|
-
D.value.getInspectorState({ inspectorId: s.value, nodeId:
|
|
3121
|
-
const
|
|
3122
|
-
|
|
3185
|
+
function A(C) {
|
|
3186
|
+
var S;
|
|
3187
|
+
for (const L in C)
|
|
3188
|
+
(S = C[L]) != null && S.length || delete C[L];
|
|
3189
|
+
return C;
|
|
3190
|
+
}
|
|
3191
|
+
function g(C) {
|
|
3192
|
+
D.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
|
|
3193
|
+
const L = X(S);
|
|
3194
|
+
L && (f.value = A(L), o.value = Array.from({ length: Object.keys(f.value).length }, (K, Z) => `${Z}`));
|
|
3123
3195
|
});
|
|
3124
3196
|
}
|
|
3125
|
-
function
|
|
3197
|
+
function $() {
|
|
3126
3198
|
f.value = {};
|
|
3127
3199
|
}
|
|
3128
|
-
|
|
3129
|
-
|
|
3200
|
+
Q(l, () => {
|
|
3201
|
+
$(), g(l.value);
|
|
3130
3202
|
});
|
|
3131
|
-
const
|
|
3132
|
-
D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((
|
|
3133
|
-
const
|
|
3134
|
-
i.value =
|
|
3203
|
+
const O = () => {
|
|
3204
|
+
D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
|
|
3205
|
+
const S = X(C);
|
|
3206
|
+
i.value = S, !l.value && S.length && (l.value = S[0].id, g(S[0].id), e.value = m(c.value, 1));
|
|
3135
3207
|
});
|
|
3136
3208
|
};
|
|
3137
|
-
|
|
3138
|
-
function
|
|
3139
|
-
const
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
function
|
|
3143
|
-
const
|
|
3144
|
-
if (
|
|
3209
|
+
jt(s).toBeTruthy().then(O);
|
|
3210
|
+
function P(C) {
|
|
3211
|
+
const S = X(C);
|
|
3212
|
+
S.inspectorId !== s.value || !S.rootNodes.length || (i.value = S.rootNodes, h.value.includes(l.value) || (l.value = S.rootNodes[0].id, e.value = m(c.value, 1), g(S.rootNodes[0].id)));
|
|
3213
|
+
}
|
|
3214
|
+
function _(C) {
|
|
3215
|
+
const S = X(C);
|
|
3216
|
+
if (S.inspectorId !== s.value)
|
|
3145
3217
|
return;
|
|
3146
|
-
const
|
|
3147
|
-
f.value =
|
|
3218
|
+
const L = S.state;
|
|
3219
|
+
f.value = A(L);
|
|
3148
3220
|
}
|
|
3149
|
-
return D.functions.on(
|
|
3150
|
-
D.functions.off(
|
|
3151
|
-
}), (
|
|
3152
|
-
|
|
3221
|
+
return D.functions.on(q.INSPECTOR_TREE_UPDATED, P), D.functions.on(q.INSPECTOR_STATE_UPDATED, _), be(() => {
|
|
3222
|
+
D.functions.off(q.INSPECTOR_TREE_UPDATED, P), D.functions.off(q.INSPECTOR_STATE_UPDATED, _);
|
|
3223
|
+
}), (C, S) => (p(), v("div", O1, [
|
|
3224
|
+
y($e, {
|
|
3153
3225
|
"doc-link": "https://router.vuejs.org/",
|
|
3154
3226
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3155
3227
|
}, {
|
|
3156
|
-
default:
|
|
3157
|
-
|
|
3228
|
+
default: H(() => [
|
|
3229
|
+
y(Se)
|
|
3158
3230
|
]),
|
|
3159
3231
|
_: 1
|
|
3160
3232
|
}),
|
|
3161
|
-
|
|
3162
|
-
default:
|
|
3163
|
-
|
|
3233
|
+
y(u(Ae), { class: "flex-1 overflow-auto" }, {
|
|
3234
|
+
default: H(() => [
|
|
3235
|
+
y(u(ue), {
|
|
3164
3236
|
border: "r base",
|
|
3165
3237
|
size: "40",
|
|
3166
3238
|
"h-full": ""
|
|
3167
3239
|
}, {
|
|
3168
|
-
default:
|
|
3169
|
-
|
|
3170
|
-
|
|
3240
|
+
default: H(() => [
|
|
3241
|
+
r("div", U1, [
|
|
3242
|
+
y(Me, {
|
|
3171
3243
|
modelValue: l.value,
|
|
3172
|
-
"onUpdate:modelValue":
|
|
3244
|
+
"onUpdate:modelValue": S[0] || (S[0] = (L) => l.value = L),
|
|
3173
3245
|
data: i.value
|
|
3174
3246
|
}, null, 8, ["modelValue", "data"])
|
|
3175
3247
|
])
|
|
3176
3248
|
]),
|
|
3177
3249
|
_: 1
|
|
3178
3250
|
}),
|
|
3179
|
-
|
|
3180
|
-
default:
|
|
3181
|
-
|
|
3251
|
+
y(u(ue), { size: "60" }, {
|
|
3252
|
+
default: H(() => [
|
|
3253
|
+
r("div", z1, [
|
|
3182
3254
|
l.value ? (p(), z(Pe, {
|
|
3183
3255
|
key: 0,
|
|
3184
3256
|
class: "p3",
|
|
@@ -3187,7 +3259,7 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3187
3259
|
"inspector-id": "router",
|
|
3188
3260
|
"expanded-state-id": "routes-state"
|
|
3189
3261
|
}, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
|
|
3190
|
-
default:
|
|
3262
|
+
default: H(() => S[1] || (S[1] = [
|
|
3191
3263
|
ne(" No Data ")
|
|
3192
3264
|
])),
|
|
3193
3265
|
_: 1
|
|
@@ -3201,42 +3273,43 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3201
3273
|
})
|
|
3202
3274
|
]));
|
|
3203
3275
|
}
|
|
3204
|
-
}),
|
|
3276
|
+
}), Z1 = "org.vuejs.router", F1 = /* @__PURE__ */ B({
|
|
3205
3277
|
__name: "Index",
|
|
3206
3278
|
setup(n) {
|
|
3207
3279
|
const e = Te();
|
|
3208
|
-
return (o, t) => (p(), z(
|
|
3209
|
-
"layer-ids":
|
|
3280
|
+
return (o, t) => (p(), z(pt, {
|
|
3281
|
+
"layer-ids": u(e).timelineLayerIds,
|
|
3210
3282
|
"doc-link": "https://router.vuejs.org/",
|
|
3283
|
+
"plugin-id": Z1,
|
|
3211
3284
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
3212
3285
|
}, null, 8, ["layer-ids"]));
|
|
3213
3286
|
}
|
|
3214
|
-
}),
|
|
3287
|
+
}), G1 = {
|
|
3215
3288
|
"h-full": "",
|
|
3216
3289
|
"w-full": ""
|
|
3217
|
-
},
|
|
3290
|
+
}, as = /* @__PURE__ */ B({
|
|
3218
3291
|
__name: "index",
|
|
3219
3292
|
props: {
|
|
3220
3293
|
id: {}
|
|
3221
3294
|
},
|
|
3222
3295
|
setup(n) {
|
|
3223
|
-
const e = n, o =
|
|
3296
|
+
const e = n, o = Zt(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = st([
|
|
3224
3297
|
{
|
|
3225
3298
|
path: "/routes",
|
|
3226
3299
|
name: "Routes",
|
|
3227
|
-
component:
|
|
3300
|
+
component: B1,
|
|
3228
3301
|
icon: "i-carbon-tree-view-alt"
|
|
3229
3302
|
},
|
|
3230
3303
|
{
|
|
3231
3304
|
path: "/timeline",
|
|
3232
3305
|
name: "Timeline",
|
|
3233
|
-
component:
|
|
3306
|
+
component: F1,
|
|
3234
3307
|
icon: "i-mdi:timeline-clock-outline"
|
|
3235
3308
|
},
|
|
3236
3309
|
{
|
|
3237
3310
|
path: "/about",
|
|
3238
3311
|
name: "About",
|
|
3239
|
-
component:
|
|
3312
|
+
component: j1,
|
|
3240
3313
|
icon: "i-ri-route-line"
|
|
3241
3314
|
}
|
|
3242
3315
|
], {
|
|
@@ -3244,33 +3317,33 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
|
|
|
3244
3317
|
});
|
|
3245
3318
|
function i() {
|
|
3246
3319
|
t.value = !0, Re(() => {
|
|
3247
|
-
D.value.getInspectorInfo(e.id).then((
|
|
3248
|
-
if (!
|
|
3320
|
+
D.value.getInspectorInfo(e.id).then((c) => {
|
|
3321
|
+
if (!c)
|
|
3249
3322
|
return;
|
|
3250
|
-
const
|
|
3251
|
-
homepage:
|
|
3252
|
-
id:
|
|
3253
|
-
label:
|
|
3254
|
-
logo:
|
|
3255
|
-
timelineLayerIds:
|
|
3323
|
+
const d = {
|
|
3324
|
+
homepage: c == null ? void 0 : c.homepage,
|
|
3325
|
+
id: c == null ? void 0 : c.id,
|
|
3326
|
+
label: c == null ? void 0 : c.label,
|
|
3327
|
+
logo: c == null ? void 0 : c.logo,
|
|
3328
|
+
timelineLayerIds: c == null ? void 0 : c.timelineLayers.map((h) => h.id)
|
|
3256
3329
|
};
|
|
3257
|
-
o.value =
|
|
3330
|
+
o.value = d, l(), t.value = !1;
|
|
3258
3331
|
});
|
|
3259
3332
|
});
|
|
3260
3333
|
}
|
|
3261
|
-
return
|
|
3262
|
-
|
|
3263
|
-
}), (
|
|
3264
|
-
|
|
3334
|
+
return Q(() => e.id, (c) => {
|
|
3335
|
+
c && i();
|
|
3336
|
+
}), (c, d) => (p(), v("div", G1, [
|
|
3337
|
+
y(u(s))
|
|
3265
3338
|
]));
|
|
3266
3339
|
}
|
|
3267
3340
|
});
|
|
3268
3341
|
export {
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3342
|
+
os as Components,
|
|
3343
|
+
ls as CustomInspector,
|
|
3344
|
+
ss as Pinia,
|
|
3345
|
+
as as Router,
|
|
3273
3346
|
Sn as SelectiveList,
|
|
3274
|
-
|
|
3275
|
-
|
|
3347
|
+
pt as Timeline,
|
|
3348
|
+
ns as useCustomInspector
|
|
3276
3349
|
};
|