@vue/devtools-applet 7.3.0-beta.2 → 7.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -6
- package/dist/index.css +1 -1
- package/dist/index.js +318 -316
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Fs = Object.defineProperty;
|
|
2
2
|
var Ns = (A, B, Q) => B in A ? Fs(A, B, { enumerable: !0, configurable: !0, writable: !0, value: Q }) : A[B] = Q;
|
|
3
3
|
var l = (A, B, Q) => (Ns(A, typeof B != "symbol" ? B + "" : B, Q), Q);
|
|
4
|
-
import { openBlock as f, createElementBlock as H, createStaticVNode as Gs, ref as K, computed as
|
|
5
|
-
const
|
|
4
|
+
import { openBlock as f, createElementBlock as H, createStaticVNode as Gs, ref as K, computed as J, toValue as Ls, defineComponent as V, h as bE, provide as NB, inject as wB, createElementVNode as p, createVNode as U, unref as N, createTextVNode as fA, normalizeStyle as PA, renderSlot as eA, Fragment as lA, toRaw as BQ, isRef as oB, isReactive as ys, renderList as $A, toDisplayString as yA, createCommentVNode as AA, pushScopeId as GQ, popScopeId as LQ, nextTick as aB, createBlock as z, normalizeClass as CA, normalizeProps as jI, guardReactiveProps as $I, withScopeId as At, resolveComponent as vB, withKeys as Hs, mergeProps as RA, withCtx as T, createApp as Rs, useAttrs as ks, useSlots as Ps, resolveDynamicComponent as Bg, watchEffect as Qg, onMounted as TE, withDirectives as uA, vModelDynamic as Us, createSlots as Ks, watch as aA, customRef as Ys, getCurrentInstance as pg, readonly as Ss, getCurrentScope as ms, onScopeDispose as Js, reactive as LC, withModifiers as VA, mergeModels as Bt, useModel as Qt, onUnmounted as HB, markRaw as xs, shallowReactive as Os, resolveDirective as vs, toHandlers as bs, shallowRef as Ts, vShow as qs } from "vue";
|
|
5
|
+
const RB = (A, B) => {
|
|
6
6
|
const Q = A.__vccOpts || A;
|
|
7
7
|
for (const [g, E] of B)
|
|
8
8
|
Q[g] = E;
|
|
@@ -17,11 +17,11 @@ const HB = (A, B) => {
|
|
|
17
17
|
function zs(A, B) {
|
|
18
18
|
return f(), H("svg", _s, Zs);
|
|
19
19
|
}
|
|
20
|
-
const Vs = /* @__PURE__ */
|
|
20
|
+
const Vs = /* @__PURE__ */ RB(Ws, [["render", zs]]), qE = Symbol("VirtualRouteKey"), gt = Symbol("VirtualRoutesKey");
|
|
21
21
|
function WE(A) {
|
|
22
22
|
const B = K({
|
|
23
23
|
path: "/"
|
|
24
|
-
}), Q =
|
|
24
|
+
}), Q = J(() => Ls(A)), g = J(() => B.value.path), E = V({
|
|
25
25
|
setup() {
|
|
26
26
|
return () => {
|
|
27
27
|
const e = Q.value.find((I) => I.path === g.value);
|
|
@@ -2196,13 +2196,13 @@ var Oi = Object.create, tt = Object.defineProperty, vi = Object.getOwnPropertyDe
|
|
|
2196
2196
|
"¤": "tien te"
|
|
2197
2197
|
}
|
|
2198
2198
|
}, t = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), o = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), i = [".", "!", "~", "*", "'", "(", ")"].join(""), s = function(r, c) {
|
|
2199
|
-
var d = "-", h = "", u = "", M = !0, F = {},
|
|
2199
|
+
var d = "-", h = "", u = "", M = !0, F = {}, m, x, q, S, R, k, G, P, X, W, b, hA, wA, FA, NA = "";
|
|
2200
2200
|
if (typeof r != "string")
|
|
2201
2201
|
return "";
|
|
2202
2202
|
if (typeof c == "string" && (d = c), G = I.en, P = e.en, typeof c == "object") {
|
|
2203
|
-
|
|
2203
|
+
m = c.maintainCase || !1, F = c.custom && typeof c.custom == "object" ? c.custom : F, q = +c.truncate > 1 && c.truncate || !1, S = c.uric || !1, R = c.uricNoSlash || !1, k = c.mark || !1, M = !(c.symbols === !1 || c.lang === !1), d = c.separator || d, S && (NA += t), R && (NA += o), k && (NA += i), G = c.lang && I[c.lang] && M ? I[c.lang] : M ? I.en : {}, P = c.lang && e[c.lang] ? e[c.lang] : c.lang === !1 || c.lang === !0 ? {} : e.en, c.titleCase && typeof c.titleCase.length == "number" && Array.prototype.toString.call(c.titleCase) ? (c.titleCase.forEach(function(rA) {
|
|
2204
2204
|
F[rA + ""] = rA + "";
|
|
2205
|
-
}),
|
|
2205
|
+
}), x = !0) : x = !!c.titleCase, c.custom && typeof c.custom.length == "number" && Array.prototype.toString.call(c.custom) && c.custom.forEach(function(rA) {
|
|
2206
2206
|
F[rA + ""] = rA + "";
|
|
2207
2207
|
}), Object.keys(F).forEach(function(rA) {
|
|
2208
2208
|
var YA;
|
|
@@ -2212,11 +2212,11 @@ var Oi = Object.create, tt = Object.defineProperty, vi = Object.getOwnPropertyDe
|
|
|
2212
2212
|
NA += b;
|
|
2213
2213
|
}
|
|
2214
2214
|
for (NA += d, NA = n(NA), r = r.replace(/(^\s+|\s+$)/g, ""), wA = !1, FA = !1, W = 0, hA = r.length; W < hA; W++)
|
|
2215
|
-
b = r[W], D(b, F) ? wA = !1 : P[b] ? (b = wA && P[b].match(/[A-Za-z0-9]/) ? " " + P[b] : P[b], wA = !1) : b in g ? (W + 1 < hA && E.indexOf(r[W + 1]) >= 0 ? (u += b, b = "") : FA === !0 ? (b = C[u] + g[b], u = "") : b = wA && g[b].match(/[A-Za-z0-9]/) ? " " + g[b] : g[b], wA = !1, FA = !1) : b in C ? (u += b, b = "", W === hA - 1 && (b = C[u]), FA = !0) : /* process symbol chars */ G[b] && !(
|
|
2216
|
-
return
|
|
2217
|
-
var rB = YA.toUpperCase() + (
|
|
2215
|
+
b = r[W], D(b, F) ? wA = !1 : P[b] ? (b = wA && P[b].match(/[A-Za-z0-9]/) ? " " + P[b] : P[b], wA = !1) : b in g ? (W + 1 < hA && E.indexOf(r[W + 1]) >= 0 ? (u += b, b = "") : FA === !0 ? (b = C[u] + g[b], u = "") : b = wA && g[b].match(/[A-Za-z0-9]/) ? " " + g[b] : g[b], wA = !1, FA = !1) : b in C ? (u += b, b = "", W === hA - 1 && (b = C[u]), FA = !0) : /* process symbol chars */ G[b] && !(S && t.indexOf(b) !== -1) && !(R && o.indexOf(b) !== -1) ? (b = wA || h.substr(-1).match(/[A-Za-z0-9]/) ? d + G[b] : G[b], b += r[W + 1] !== void 0 && r[W + 1].match(/[A-Za-z0-9]/) ? d : "", wA = !0) : (FA === !0 ? (b = C[u] + b, u = "", FA = !1) : wA && (/[A-Za-z0-9]/.test(b) || h.substr(-1).match(/A-Za-z0-9]/)) && (b = " " + b), wA = !1), h += b.replace(new RegExp("[^\\w\\s" + NA + "_-]", "g"), d);
|
|
2216
|
+
return x && (h = h.replace(/(\w)(\S*)/g, function(rA, YA, YB) {
|
|
2217
|
+
var rB = YA.toUpperCase() + (YB !== null ? YB : "");
|
|
2218
2218
|
return Object.keys(F).indexOf(rB.toLowerCase()) < 0 ? rB : rB.toLowerCase();
|
|
2219
|
-
})), h = h.replace(/\s+/g, d).replace(new RegExp("\\" + d + "+", "g"), d).replace(new RegExp("(^\\" + d + "+|\\" + d + "+$)", "g"), ""), q && h.length > q && (X = h.charAt(q) === d, h = h.slice(0, q), X || (h = h.slice(0, h.lastIndexOf(d)))), !
|
|
2219
|
+
})), h = h.replace(/\s+/g, d).replace(new RegExp("\\" + d + "+", "g"), d).replace(new RegExp("(^\\" + d + "+|\\" + d + "+$)", "g"), ""), q && h.length > q && (X = h.charAt(q) === d, h = h.slice(0, q), X || (h = h.slice(0, h.lastIndexOf(d)))), !m && !x && (h = h.toLowerCase()), h;
|
|
2220
2220
|
}, w = function(r) {
|
|
2221
2221
|
return function(d) {
|
|
2222
2222
|
return s(d, r);
|
|
@@ -2852,16 +2852,16 @@ function Lw(A = {}) {
|
|
|
2852
2852
|
}
|
|
2853
2853
|
L();
|
|
2854
2854
|
L();
|
|
2855
|
-
var sQ = "__VUE_DEVTOOLS_ROUTER__",
|
|
2856
|
-
($C = (jC = Y)[
|
|
2855
|
+
var sQ = "__VUE_DEVTOOLS_ROUTER__", bB = "__VUE_DEVTOOLS_ROUTER_INFO__", jC, $C;
|
|
2856
|
+
($C = (jC = Y)[bB]) != null || (jC[bB] = {
|
|
2857
2857
|
currentRoute: null,
|
|
2858
2858
|
routes: []
|
|
2859
2859
|
});
|
|
2860
2860
|
var Ae, Be;
|
|
2861
2861
|
(Be = (Ae = Y)[sQ]) != null || (Ae[sQ] = {});
|
|
2862
|
-
new Proxy(Y[
|
|
2862
|
+
new Proxy(Y[bB], {
|
|
2863
2863
|
get(A, B) {
|
|
2864
|
-
return Y[
|
|
2864
|
+
return Y[bB][B];
|
|
2865
2865
|
}
|
|
2866
2866
|
});
|
|
2867
2867
|
new Proxy(Y[sQ], {
|
|
@@ -2905,14 +2905,14 @@ function Rw(A, B) {
|
|
|
2905
2905
|
var g;
|
|
2906
2906
|
const E = (g = A.app) == null ? void 0 : g.config.globalProperties.$router, C = Hw(E == null ? void 0 : E.currentRoute.value), e = AC(yw(E)), I = console.warn;
|
|
2907
2907
|
console.warn = () => {
|
|
2908
|
-
}, Y[
|
|
2908
|
+
}, Y[bB] = {
|
|
2909
2909
|
currentRoute: C ? yC(C) : {},
|
|
2910
2910
|
routes: yC(e)
|
|
2911
2911
|
}, Y[sQ] = E, console.warn = I;
|
|
2912
2912
|
}
|
|
2913
2913
|
Q(), Vi.on.componentUpdated(kQ(() => {
|
|
2914
2914
|
var g;
|
|
2915
|
-
((g = B.value) == null ? void 0 : g.app) === A.app && (Q(), Ng.hooks.callHook("routerInfoUpdated", { state: Y[
|
|
2915
|
+
((g = B.value) == null ? void 0 : g.app) === A.app && (Q(), Ng.hooks.callHook("routerInfoUpdated", { state: Y[bB] }));
|
|
2916
2916
|
}, 200));
|
|
2917
2917
|
}
|
|
2918
2918
|
L();
|
|
@@ -3184,7 +3184,7 @@ function Tw(A, B) {
|
|
|
3184
3184
|
return C;
|
|
3185
3185
|
}
|
|
3186
3186
|
}
|
|
3187
|
-
function
|
|
3187
|
+
function TB(A, B) {
|
|
3188
3188
|
Object.entries(A).forEach(([Q, g]) => B(g, Q));
|
|
3189
3189
|
}
|
|
3190
3190
|
function ZQ(A, B) {
|
|
@@ -3367,7 +3367,7 @@ var In = (A, B, Q) => {
|
|
|
3367
3367
|
}
|
|
3368
3368
|
};
|
|
3369
3369
|
L();
|
|
3370
|
-
var
|
|
3370
|
+
var SB = (A, B) => {
|
|
3371
3371
|
const Q = A.keys();
|
|
3372
3372
|
for (; B > 0; )
|
|
3373
3373
|
Q.next(), B--;
|
|
@@ -3386,9 +3386,9 @@ var tn = (A, B) => {
|
|
|
3386
3386
|
for (let Q = 0; Q < B.length; Q++) {
|
|
3387
3387
|
const g = B[Q];
|
|
3388
3388
|
if (nQ(A))
|
|
3389
|
-
A =
|
|
3389
|
+
A = SB(A, +g);
|
|
3390
3390
|
else if (wQ(A)) {
|
|
3391
|
-
const E = +g, C = +B[++Q] == 0 ? "key" : "value", e =
|
|
3391
|
+
const E = +g, C = +B[++Q] == 0 ? "key" : "value", e = SB(A, E);
|
|
3392
3392
|
switch (C) {
|
|
3393
3393
|
case "key":
|
|
3394
3394
|
A = e;
|
|
@@ -3414,11 +3414,11 @@ var tn = (A, B) => {
|
|
|
3414
3414
|
g = g[e];
|
|
3415
3415
|
else if (nQ(g)) {
|
|
3416
3416
|
const I = +e;
|
|
3417
|
-
g =
|
|
3417
|
+
g = SB(g, I);
|
|
3418
3418
|
} else if (wQ(g)) {
|
|
3419
3419
|
if (C === B.length - 2)
|
|
3420
3420
|
break;
|
|
3421
|
-
const t = +e, o = +B[++C] == 0 ? "key" : "value", i =
|
|
3421
|
+
const t = +e, o = +B[++C] == 0 ? "key" : "value", i = SB(g, t);
|
|
3422
3422
|
switch (o) {
|
|
3423
3423
|
case "key":
|
|
3424
3424
|
g = i;
|
|
@@ -3431,11 +3431,11 @@ var tn = (A, B) => {
|
|
|
3431
3431
|
}
|
|
3432
3432
|
const E = B[B.length - 1];
|
|
3433
3433
|
if (nB(g) ? g[+E] = Q(g[+E]) : iQ(g) && (g[E] = Q(g[E])), nQ(g)) {
|
|
3434
|
-
const C =
|
|
3434
|
+
const C = SB(g, +E), e = Q(C);
|
|
3435
3435
|
C !== e && (g.delete(C), g.add(e));
|
|
3436
3436
|
}
|
|
3437
3437
|
if (wQ(g)) {
|
|
3438
|
-
const C = +B[B.length - 2], e =
|
|
3438
|
+
const C = +B[B.length - 2], e = SB(g, C);
|
|
3439
3439
|
switch (+E == 0 ? "key" : "value") {
|
|
3440
3440
|
case "key": {
|
|
3441
3441
|
const t = Q(e);
|
|
@@ -3454,11 +3454,11 @@ function uE(A, B, Q = []) {
|
|
|
3454
3454
|
if (!A)
|
|
3455
3455
|
return;
|
|
3456
3456
|
if (!nB(A)) {
|
|
3457
|
-
|
|
3457
|
+
TB(A, (C, e) => uE(C, B, [...Q, ...gQ(e)]));
|
|
3458
3458
|
return;
|
|
3459
3459
|
}
|
|
3460
3460
|
const [g, E] = A;
|
|
3461
|
-
E &&
|
|
3461
|
+
E && TB(E, (C, e) => {
|
|
3462
3462
|
uE(C, B, [...Q, ...gQ(e)]);
|
|
3463
3463
|
}), B(g, Q);
|
|
3464
3464
|
}
|
|
@@ -3478,9 +3478,9 @@ function sn(A, B) {
|
|
|
3478
3478
|
const [g, E] = B;
|
|
3479
3479
|
g.forEach((C) => {
|
|
3480
3480
|
A = lE(A, gQ(C), () => A);
|
|
3481
|
-
}), E &&
|
|
3481
|
+
}), E && TB(E, Q);
|
|
3482
3482
|
} else
|
|
3483
|
-
|
|
3483
|
+
TB(B, Q);
|
|
3484
3484
|
return A;
|
|
3485
3485
|
}
|
|
3486
3486
|
var wn = (A, B) => iQ(A) || nB(A) || wQ(A) || nQ(A) || Ht(A, B);
|
|
@@ -3524,11 +3524,11 @@ var Kt = (A, B, Q, g, E = [], C = [], e = /* @__PURE__ */ new Map()) => {
|
|
|
3524
3524
|
transformedValue: null
|
|
3525
3525
|
};
|
|
3526
3526
|
const o = re(A, Q), i = (I = o == null ? void 0 : o.value) != null ? I : A, s = nB(i) ? [] : {}, w = {};
|
|
3527
|
-
|
|
3527
|
+
TB(i, (D, a) => {
|
|
3528
3528
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
3529
3529
|
throw new Error(`Detected property ${a}. This is a prototype pollution risk, please remove it from your object.`);
|
|
3530
3530
|
const r = Kt(D, B, Q, g, [...E, a], [...C, A], e);
|
|
3531
|
-
s[a] = r.transformedValue, nB(r.annotations) ? w[a] = r.annotations : iQ(r.annotations) &&
|
|
3531
|
+
s[a] = r.transformedValue, nB(r.annotations) ? w[a] = r.annotations : iQ(r.annotations) && TB(r.annotations, (c, d) => {
|
|
3532
3532
|
w[Nt(a) + "." + d] = c;
|
|
3533
3533
|
});
|
|
3534
3534
|
});
|
|
@@ -3972,8 +3972,8 @@ function Pg(A) {
|
|
|
3972
3972
|
});
|
|
3973
3973
|
}
|
|
3974
3974
|
B = setInterval(() => {
|
|
3975
|
-
Q >=
|
|
3976
|
-
}, Q *
|
|
3975
|
+
Q >= 30 && clearTimeout(B), Q++, g();
|
|
3976
|
+
}, Q * 200 + 200), g();
|
|
3977
3977
|
}
|
|
3978
3978
|
xt();
|
|
3979
3979
|
new Proxy({
|
|
@@ -4051,7 +4051,7 @@ function On(A, B) {
|
|
|
4051
4051
|
])
|
|
4052
4052
|
]);
|
|
4053
4053
|
}
|
|
4054
|
-
const aQ = /* @__PURE__ */
|
|
4054
|
+
const aQ = /* @__PURE__ */ RB(mn, [["render", On]]), vn = ["top", "right", "bottom", "left"], Re = ["start", "end"], ke = /* @__PURE__ */ vn.reduce((A, B) => A.concat(B, B + "-" + Re[0], B + "-" + Re[1]), []), rQ = Math.min, lB = Math.max, bn = {
|
|
4055
4055
|
left: "right",
|
|
4056
4056
|
right: "left",
|
|
4057
4057
|
bottom: "top",
|
|
@@ -4063,7 +4063,7 @@ const aQ = /* @__PURE__ */ HB(mn, [["render", On]]), vn = ["top", "right", "bott
|
|
|
4063
4063
|
function ME(A, B, Q) {
|
|
4064
4064
|
return lB(A, rQ(B, Q));
|
|
4065
4065
|
}
|
|
4066
|
-
function
|
|
4066
|
+
function kB(A, B) {
|
|
4067
4067
|
return typeof A == "function" ? A(B) : A;
|
|
4068
4068
|
}
|
|
4069
4069
|
function WA(A) {
|
|
@@ -4272,7 +4272,7 @@ async function Yg(A, B) {
|
|
|
4272
4272
|
elementContext: s = "floating",
|
|
4273
4273
|
altBoundary: w = !1,
|
|
4274
4274
|
padding: n = 0
|
|
4275
|
-
} =
|
|
4275
|
+
} = kB(B, A), D = bt(n), r = I[w ? s === "floating" ? "reference" : "floating" : s], c = EQ(await C.getClippingRect({
|
|
4276
4276
|
element: (Q = await (C.isElement == null ? void 0 : C.isElement(r))) == null || Q ? r : r.contextElement || await (C.getDocumentElement == null ? void 0 : C.getDocumentElement(I.floating)),
|
|
4277
4277
|
boundary: o,
|
|
4278
4278
|
rootBoundary: i,
|
|
@@ -4313,7 +4313,7 @@ const zn = (A) => ({
|
|
|
4313
4313
|
} = B, {
|
|
4314
4314
|
element: t,
|
|
4315
4315
|
padding: o = 0
|
|
4316
|
-
} =
|
|
4316
|
+
} = kB(A, B) || {};
|
|
4317
4317
|
if (t == null)
|
|
4318
4318
|
return {};
|
|
4319
4319
|
const i = bt(o), s = {
|
|
@@ -4322,7 +4322,7 @@ const zn = (A) => ({
|
|
|
4322
4322
|
}, w = gC(E), n = QC(w), D = await e.getDimensions(t), a = w === "y", r = a ? "top" : "left", c = a ? "bottom" : "right", d = a ? "clientHeight" : "clientWidth", h = C.reference[n] + C.reference[w] - s[w] - C.floating[n], u = s[w] - C.reference[w], M = await (e.getOffsetParent == null ? void 0 : e.getOffsetParent(t));
|
|
4323
4323
|
let F = M ? M[d] : 0;
|
|
4324
4324
|
(!F || !await (e.isElement == null ? void 0 : e.isElement(M))) && (F = I.floating[d] || C.floating[n]);
|
|
4325
|
-
const
|
|
4325
|
+
const m = h / 2 - u / 2, x = F / 2 - D[n] / 2 - 1, q = rQ(i[r], x), S = rQ(i[c], x), R = q, k = F - D[n] - S, G = F / 2 - D[n] / 2 + m, P = ME(R, G, k), W = xA(E) != null && G != P && C.reference[n] / 2 - (G < R ? q : S) - D[n] / 2 < 0 ? G < R ? R - G : k - G : 0;
|
|
4326
4326
|
return {
|
|
4327
4327
|
[w]: s[w] - W,
|
|
4328
4328
|
data: {
|
|
@@ -4353,7 +4353,7 @@ const jn = function(A) {
|
|
|
4353
4353
|
allowedPlacements: w = ke,
|
|
4354
4354
|
autoAlignment: n = !0,
|
|
4355
4355
|
...D
|
|
4356
|
-
} =
|
|
4356
|
+
} = kB(A, B), a = s !== void 0 || w === ke ? Vn(s || null, n, w) : w, r = await Yg(B, D), c = ((Q = e.autoPlacement) == null ? void 0 : Q.index) || 0, d = a[c];
|
|
4357
4357
|
if (d == null)
|
|
4358
4358
|
return {};
|
|
4359
4359
|
const h = vt(d, C, await (t.isRTL == null ? void 0 : t.isRTL(o.floating)));
|
|
@@ -4377,21 +4377,21 @@ const jn = function(A) {
|
|
|
4377
4377
|
placement: F
|
|
4378
4378
|
}
|
|
4379
4379
|
};
|
|
4380
|
-
const
|
|
4381
|
-
const R = xA(
|
|
4382
|
-
return [
|
|
4380
|
+
const m = M.map((S) => {
|
|
4381
|
+
const R = xA(S.placement);
|
|
4382
|
+
return [S.placement, R && i ? (
|
|
4383
4383
|
// Check along the mainAxis and main crossAxis side.
|
|
4384
|
-
|
|
4384
|
+
S.overflows.slice(0, 2).reduce((k, G) => k + G, 0)
|
|
4385
4385
|
) : (
|
|
4386
4386
|
// Check only the mainAxis.
|
|
4387
|
-
|
|
4388
|
-
),
|
|
4389
|
-
}).sort((
|
|
4387
|
+
S.overflows[0]
|
|
4388
|
+
), S.overflows];
|
|
4389
|
+
}).sort((S, R) => S[1] - R[1]), q = ((E = m.filter((S) => S[2].slice(
|
|
4390
4390
|
0,
|
|
4391
4391
|
// Aligned placements should not check their opposite crossAxis
|
|
4392
4392
|
// side.
|
|
4393
|
-
xA(
|
|
4394
|
-
).every((R) => R <= 0))[0]) == null ? void 0 : E[0]) ||
|
|
4393
|
+
xA(S[0]) ? 2 : 3
|
|
4394
|
+
).every((R) => R <= 0))[0]) == null ? void 0 : E[0]) || m[0][0];
|
|
4395
4395
|
return q !== I ? {
|
|
4396
4396
|
data: {
|
|
4397
4397
|
index: c + 1,
|
|
@@ -4424,36 +4424,36 @@ const jn = function(A) {
|
|
|
4424
4424
|
fallbackAxisSideDirection: n = "none",
|
|
4425
4425
|
flipAlignment: D = !0,
|
|
4426
4426
|
...a
|
|
4427
|
-
} =
|
|
4427
|
+
} = kB(A, B), r = WA(g), c = WA(e) === e, d = await (I.isRTL == null ? void 0 : I.isRTL(t.floating)), h = s || (c || !D ? [Ig(e)] : qn(e));
|
|
4428
4428
|
!s && n !== "none" && h.push(..._n(e, D, n, d));
|
|
4429
4429
|
const u = [e, ...h], M = await Yg(B, a), F = [];
|
|
4430
|
-
let
|
|
4430
|
+
let m = ((Q = E.flip) == null ? void 0 : Q.overflows) || [];
|
|
4431
4431
|
if (o && F.push(M[r]), i) {
|
|
4432
4432
|
const R = vt(g, C, d);
|
|
4433
4433
|
F.push(M[R[0]], M[R[1]]);
|
|
4434
4434
|
}
|
|
4435
|
-
if (
|
|
4435
|
+
if (m = [...m, {
|
|
4436
4436
|
placement: g,
|
|
4437
4437
|
overflows: F
|
|
4438
4438
|
}], !F.every((R) => R <= 0)) {
|
|
4439
|
-
var
|
|
4440
|
-
const R = (((
|
|
4439
|
+
var x, q;
|
|
4440
|
+
const R = (((x = E.flip) == null ? void 0 : x.index) || 0) + 1, k = u[R];
|
|
4441
4441
|
if (k)
|
|
4442
4442
|
return {
|
|
4443
4443
|
data: {
|
|
4444
4444
|
index: R,
|
|
4445
|
-
overflows:
|
|
4445
|
+
overflows: m
|
|
4446
4446
|
},
|
|
4447
4447
|
reset: {
|
|
4448
4448
|
placement: k
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
4451
|
-
let G = (q =
|
|
4451
|
+
let G = (q = m.filter((P) => P.overflows[0] <= 0).sort((P, X) => P.overflows[1] - X.overflows[1])[0]) == null ? void 0 : q.placement;
|
|
4452
4452
|
if (!G)
|
|
4453
4453
|
switch (w) {
|
|
4454
4454
|
case "bestFit": {
|
|
4455
|
-
var
|
|
4456
|
-
const P = (
|
|
4455
|
+
var S;
|
|
4456
|
+
const P = (S = m.map((X) => [X.placement, X.overflows.filter((W) => W > 0).reduce((W, b) => W + b, 0)]).sort((X, W) => X[1] - W[1])[0]) == null ? void 0 : S[0];
|
|
4457
4457
|
P && (G = P);
|
|
4458
4458
|
break;
|
|
4459
4459
|
}
|
|
@@ -4477,7 +4477,7 @@ async function AD(A, B) {
|
|
|
4477
4477
|
placement: Q,
|
|
4478
4478
|
platform: g,
|
|
4479
4479
|
elements: E
|
|
4480
|
-
} = A, C = await (g.isRTL == null ? void 0 : g.isRTL(E.floating)), e = WA(Q), I = xA(Q), t = PQ(Q) === "y", o = ["left", "top"].includes(e) ? -1 : 1, i = C && t ? -1 : 1, s =
|
|
4480
|
+
} = A, C = await (g.isRTL == null ? void 0 : g.isRTL(E.floating)), e = WA(Q), I = xA(Q), t = PQ(Q) === "y", o = ["left", "top"].includes(e) ? -1 : 1, i = C && t ? -1 : 1, s = kB(B, A);
|
|
4481
4481
|
let {
|
|
4482
4482
|
mainAxis: w,
|
|
4483
4483
|
crossAxis: n,
|
|
@@ -4541,7 +4541,7 @@ const BD = function(A) {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
},
|
|
4543
4543
|
...t
|
|
4544
|
-
} =
|
|
4544
|
+
} = kB(A, B), o = {
|
|
4545
4545
|
x: Q,
|
|
4546
4546
|
y: g
|
|
4547
4547
|
}, i = await Yg(B, t), s = PQ(WA(E)), w = Ot(s);
|
|
@@ -4582,7 +4582,7 @@ const BD = function(A) {
|
|
|
4582
4582
|
apply: e = () => {
|
|
4583
4583
|
},
|
|
4584
4584
|
...I
|
|
4585
|
-
} =
|
|
4585
|
+
} = kB(A, B), t = await Yg(B, I), o = WA(Q), i = xA(Q), s = PQ(Q) === "y", {
|
|
4586
4586
|
width: w,
|
|
4587
4587
|
height: n
|
|
4588
4588
|
} = g.floating;
|
|
@@ -4598,8 +4598,8 @@ const BD = function(A) {
|
|
|
4598
4598
|
h = i || d ? rQ(r, F) : F;
|
|
4599
4599
|
}
|
|
4600
4600
|
if (d && !i) {
|
|
4601
|
-
const F = lB(t.left, 0),
|
|
4602
|
-
s ? u = w - 2 * (F !== 0 ||
|
|
4601
|
+
const F = lB(t.left, 0), m = lB(t.right, 0), x = lB(t.top, 0), q = lB(t.bottom, 0);
|
|
4602
|
+
s ? u = w - 2 * (F !== 0 || m !== 0 ? F + m : lB(t.left, t.right)) : h = n - 2 * (x !== 0 || q !== 0 ? x + q : lB(t.top, t.bottom));
|
|
4603
4603
|
}
|
|
4604
4604
|
await e({
|
|
4605
4605
|
...B,
|
|
@@ -4675,7 +4675,7 @@ function Xt(A) {
|
|
|
4675
4675
|
return sB(A) ? A : A.contextElement;
|
|
4676
4676
|
}
|
|
4677
4677
|
const Zt = { x: 1, y: 1 };
|
|
4678
|
-
function
|
|
4678
|
+
function JB(A) {
|
|
4679
4679
|
const B = Xt(A);
|
|
4680
4680
|
if (!TA(B))
|
|
4681
4681
|
return Zt;
|
|
@@ -4688,14 +4688,14 @@ function cQ(A, B, Q, g) {
|
|
|
4688
4688
|
B === void 0 && (B = !1), Q === void 0 && (Q = !1);
|
|
4689
4689
|
const e = A.getBoundingClientRect(), I = Xt(A);
|
|
4690
4690
|
let t = Zt;
|
|
4691
|
-
B && (g ? sB(g) && (t =
|
|
4691
|
+
B && (g ? sB(g) && (t = JB(g)) : t = JB(A));
|
|
4692
4692
|
const o = I ? kA(I) : window, i = !_t() && Q;
|
|
4693
4693
|
let s = (e.left + (i && ((E = o.visualViewport) == null ? void 0 : E.offsetLeft) || 0)) / t.x, w = (e.top + (i && ((C = o.visualViewport) == null ? void 0 : C.offsetTop) || 0)) / t.y, n = e.width / t.x, D = e.height / t.y;
|
|
4694
4694
|
if (I) {
|
|
4695
4695
|
const a = kA(I), r = g && sB(g) ? kA(g) : g;
|
|
4696
4696
|
let c = a.frameElement;
|
|
4697
4697
|
for (; c && g && r !== a; ) {
|
|
4698
|
-
const d =
|
|
4698
|
+
const d = JB(c), h = c.getBoundingClientRect(), u = getComputedStyle(c);
|
|
4699
4699
|
h.x += (c.clientLeft + parseFloat(u.paddingLeft)) * d.x, h.y += (c.clientTop + parseFloat(u.paddingTop)) * d.y, s *= d.x, w *= d.y, n *= d.x, D *= d.y, s += h.x, w += h.y, c = kA(c).frameElement;
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
@@ -4737,7 +4737,7 @@ function Ye(A, B, Q) {
|
|
|
4737
4737
|
}
|
|
4738
4738
|
return { width: t, height: o, x: i, y: s };
|
|
4739
4739
|
}(A, Q)) : sB(B) ? EQ(function(g, E) {
|
|
4740
|
-
const C = cQ(g, !0, E === "fixed"), e = C.top + g.clientTop, I = C.left + g.clientLeft, t = TA(g) ?
|
|
4740
|
+
const C = cQ(g, !0, E === "fixed"), e = C.top + g.clientTop, I = C.left + g.clientLeft, t = TA(g) ? JB(g) : { x: 1, y: 1 };
|
|
4741
4741
|
return { width: g.clientWidth * t.x, height: g.clientHeight * t.y, x: I * t.x, y: e * t.y };
|
|
4742
4742
|
}(B, Q)) : EQ(function(g) {
|
|
4743
4743
|
const E = iB(g), C = mg(g), e = g.ownerDocument.body, I = CQ(E.scrollWidth, E.clientWidth, e.scrollWidth, e.clientWidth), t = CQ(E.scrollHeight, E.clientHeight, e.scrollHeight, e.clientHeight);
|
|
@@ -4804,12 +4804,12 @@ const eD = { getClippingRect: function(A) {
|
|
|
4804
4804
|
const t = { x: 0, y: 0 };
|
|
4805
4805
|
if ((E || !E && g !== "fixed") && ((DB(Q) !== "body" || Sg(C)) && (e = mg(Q)), TA(Q))) {
|
|
4806
4806
|
const o = cQ(Q);
|
|
4807
|
-
I =
|
|
4807
|
+
I = JB(Q), t.x = o.x + Q.clientLeft, t.y = o.y + Q.clientTop;
|
|
4808
4808
|
}
|
|
4809
4809
|
return { width: B.width * I.x, height: B.height * I.y, x: B.x * I.x - e.scrollLeft * I.x + t.x, y: B.y * I.y - e.scrollTop * I.y + t.y };
|
|
4810
4810
|
}, isElement: sB, getDimensions: function(A) {
|
|
4811
4811
|
return TA(A) ? Tt(A) : A.getBoundingClientRect();
|
|
4812
|
-
}, getOffsetParent: me, getDocumentElement: iB, getScale:
|
|
4812
|
+
}, getOffsetParent: me, getDocumentElement: iB, getScale: JB, async getElementRects(A) {
|
|
4813
4813
|
let { reference: B, floating: Q, strategy: g } = A;
|
|
4814
4814
|
const E = this.getOffsetParent || me, C = this.getDimensions;
|
|
4815
4815
|
return { reference: CD(B, await E(Q), g), floating: { x: 0, y: 0, ...await C(Q) } };
|
|
@@ -4918,13 +4918,13 @@ function Je(A) {
|
|
|
4918
4918
|
while (Q);
|
|
4919
4919
|
return B;
|
|
4920
4920
|
}
|
|
4921
|
-
let
|
|
4921
|
+
let qB = !1;
|
|
4922
4922
|
if (typeof window < "u") {
|
|
4923
|
-
|
|
4923
|
+
qB = !1;
|
|
4924
4924
|
try {
|
|
4925
4925
|
const A = Object.defineProperty({}, "passive", {
|
|
4926
4926
|
get() {
|
|
4927
|
-
|
|
4927
|
+
qB = !0;
|
|
4928
4928
|
}
|
|
4929
4929
|
});
|
|
4930
4930
|
window.addEventListener("test", null, A);
|
|
@@ -5478,7 +5478,7 @@ const $g = "__floating-vue__popper", Ao = () => V({
|
|
|
5478
5478
|
this.$_registerTriggerListeners(this.$_targetNodes, Oe, this.triggers, this.hideTriggers, B), this.$_registerTriggerListeners([this.$_popperNode], Oe, this.popperTriggers, this.popperHideTriggers, B);
|
|
5479
5479
|
},
|
|
5480
5480
|
$_registerEventListeners(A, B, Q) {
|
|
5481
|
-
this.$_events.push({ targetNodes: A, eventType: B, handler: Q }), A.forEach((g) => g.addEventListener(B, Q,
|
|
5481
|
+
this.$_events.push({ targetNodes: A, eventType: B, handler: Q }), A.forEach((g) => g.addEventListener(B, Q, qB ? {
|
|
5482
5482
|
passive: !0
|
|
5483
5483
|
} : void 0));
|
|
5484
5484
|
},
|
|
@@ -5543,7 +5543,7 @@ const $g = "__floating-vue__popper", Ao = () => V({
|
|
|
5543
5543
|
});
|
|
5544
5544
|
if (typeof document < "u" && typeof window < "u") {
|
|
5545
5545
|
if (jt) {
|
|
5546
|
-
const A =
|
|
5546
|
+
const A = qB ? {
|
|
5547
5547
|
passive: !0,
|
|
5548
5548
|
capture: !0
|
|
5549
5549
|
} : !0;
|
|
@@ -5604,7 +5604,7 @@ function iD() {
|
|
|
5604
5604
|
let eB = 0, IB = 0, eQ = 0, IQ = 0;
|
|
5605
5605
|
typeof window < "u" && window.addEventListener("mousemove", (A) => {
|
|
5606
5606
|
eB = eQ, IB = IQ, eQ = A.clientX, IQ = A.clientY;
|
|
5607
|
-
},
|
|
5607
|
+
}, qB ? {
|
|
5608
5608
|
passive: !0
|
|
5609
5609
|
} : void 0);
|
|
5610
5610
|
function OQ(A, B, Q, g, E, C, e, I) {
|
|
@@ -5746,7 +5746,7 @@ const Bo = (A = "theme") => ({
|
|
|
5746
5746
|
pD
|
|
5747
5747
|
];
|
|
5748
5748
|
function FD(A, B, Q, g, E, C) {
|
|
5749
|
-
const e =
|
|
5749
|
+
const e = vB("ResizeObserver");
|
|
5750
5750
|
return f(), H("div", {
|
|
5751
5751
|
id: A.popperId,
|
|
5752
5752
|
ref: "popover",
|
|
@@ -6022,7 +6022,7 @@ const ND = V({
|
|
|
6022
6022
|
}
|
|
6023
6023
|
});
|
|
6024
6024
|
function GD(A, B, Q, g, E, C) {
|
|
6025
|
-
const e =
|
|
6025
|
+
const e = vB("PopperContent"), I = vB("Popper");
|
|
6026
6026
|
return f(), z(I, RA({ ref: "popper" }, A.$props, {
|
|
6027
6027
|
theme: A.finalTheme,
|
|
6028
6028
|
"target-nodes": A.getTargetNodes,
|
|
@@ -6177,7 +6177,7 @@ const yD = V({
|
|
|
6177
6177
|
}
|
|
6178
6178
|
}), HD = ["innerHTML"], RD = ["textContent"];
|
|
6179
6179
|
function kD(A, B, Q, g, E, C) {
|
|
6180
|
-
const e =
|
|
6180
|
+
const e = vB("PopperContent"), I = vB("Popper");
|
|
6181
6181
|
return f(), z(I, RA({ ref: "popper" }, A.$attrs, {
|
|
6182
6182
|
theme: A.theme,
|
|
6183
6183
|
"target-nodes": A.targetNodes,
|
|
@@ -6309,7 +6309,7 @@ const mD = {
|
|
|
6309
6309
|
}
|
|
6310
6310
|
};
|
|
6311
6311
|
function Ze(A) {
|
|
6312
|
-
A.addEventListener("mousedown", sg), A.addEventListener("click", sg), A.addEventListener("touchstart", Io,
|
|
6312
|
+
A.addEventListener("mousedown", sg), A.addEventListener("click", sg), A.addEventListener("touchstart", Io, qB ? {
|
|
6313
6313
|
passive: !0
|
|
6314
6314
|
} : !1);
|
|
6315
6315
|
}
|
|
@@ -6393,7 +6393,7 @@ const so = /* @__PURE__ */ vD(bD, [["render", _D]]), XD = { key: 2 }, SA = /* @_
|
|
|
6393
6393
|
},
|
|
6394
6394
|
emits: ["click"],
|
|
6395
6395
|
setup(A, { emit: B }) {
|
|
6396
|
-
const Q = A, g = B, E = ks(), C =
|
|
6396
|
+
const Q = A, g = B, E = ks(), C = J(() => E.to ? "router-link" : E.href ? "a" : "button"), e = J(() => Q.loading || Q.disabled);
|
|
6397
6397
|
function I(s) {
|
|
6398
6398
|
if (e.value) {
|
|
6399
6399
|
s.preventDefault(), s.stopPropagation(), s.stopImmediatePropagation();
|
|
@@ -6438,7 +6438,7 @@ const so = /* @__PURE__ */ vD(bD, [["render", _D]]), XD = { key: 2 }, SA = /* @_
|
|
|
6438
6438
|
info: "hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",
|
|
6439
6439
|
success: "hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"
|
|
6440
6440
|
}
|
|
6441
|
-
}, o = Ps(), i =
|
|
6441
|
+
}, o = Ps(), i = J(() => Q.flat ? t.flat[Q.type] : Q.outlined ? t.outlined[Q.type] : t.normal[Q.type]);
|
|
6442
6442
|
return (s, w) => (f(), z(Bg(C.value), RA(s.$attrs, {
|
|
6443
6443
|
role: "button",
|
|
6444
6444
|
"aria-disabled": e.value,
|
|
@@ -6609,7 +6609,7 @@ function ga(A, B, Q, g = {}) {
|
|
|
6609
6609
|
{ deep: i }
|
|
6610
6610
|
), u;
|
|
6611
6611
|
} else
|
|
6612
|
-
return
|
|
6612
|
+
return J({
|
|
6613
6613
|
get() {
|
|
6614
6614
|
return c();
|
|
6615
6615
|
},
|
|
@@ -6638,11 +6638,11 @@ const Ea = ["type", "placeholder", "disabled"], Ca = {
|
|
|
6638
6638
|
},
|
|
6639
6639
|
emits: ["update:modelValue", "updateFocused", "keyTab"],
|
|
6640
6640
|
setup(A, { emit: B }) {
|
|
6641
|
-
const Q = A, g = B, E = ga(Q, "modelValue", g), C = Aa(
|
|
6641
|
+
const Q = A, g = B, E = ga(Q, "modelValue", g), C = Aa(J(() => Q.loading), Q.loadingDebounceTime), e = Ba(!1, {
|
|
6642
6642
|
onChanged(s) {
|
|
6643
6643
|
g("updateFocused", s);
|
|
6644
6644
|
}
|
|
6645
|
-
}), I =
|
|
6645
|
+
}), I = J(() => Q.variant === "flat" || Q.variant === "warning" || Q.disabled || Q.readonly), t = J(() => Q.disabled || C.value), o = K();
|
|
6646
6646
|
let i = !1;
|
|
6647
6647
|
return Qg(() => {
|
|
6648
6648
|
C.value && e.value ? i = !0 : !C.value && i && (i = !1, aB(() => {
|
|
@@ -6717,7 +6717,7 @@ const Ea = ["type", "placeholder", "disabled"], Ca = {
|
|
|
6717
6717
|
emits: ["update:visible"],
|
|
6718
6718
|
setup(A) {
|
|
6719
6719
|
const B = A;
|
|
6720
|
-
return NB("$ui-dropdown-disabled",
|
|
6720
|
+
return NB("$ui-dropdown-disabled", J(() => B.disabled)), (Q, g) => (f(), z(N(OD), {
|
|
6721
6721
|
disabled: Q.disabled,
|
|
6722
6722
|
class: "inline-block w-auto",
|
|
6723
6723
|
shown: Q.shown,
|
|
@@ -6951,7 +6951,7 @@ function Ma() {
|
|
|
6951
6951
|
}
|
|
6952
6952
|
function tC(A) {
|
|
6953
6953
|
const B = Ma();
|
|
6954
|
-
return
|
|
6954
|
+
return J(() => (B.value, !!A()));
|
|
6955
6955
|
}
|
|
6956
6956
|
function AI(A, B = {}) {
|
|
6957
6957
|
const {
|
|
@@ -6985,7 +6985,7 @@ function pa(A = {}) {
|
|
|
6985
6985
|
source: g,
|
|
6986
6986
|
copiedDuring: E = 1500,
|
|
6987
6987
|
legacy: C = !1
|
|
6988
|
-
} = A, e = tC(() => B && "clipboard" in B), I = AI("clipboard-read"), t = AI("clipboard-write"), o =
|
|
6988
|
+
} = A, e = tC(() => B && "clipboard" in B), I = AI("clipboard-read"), t = AI("clipboard-write"), o = J(() => e.value || C), i = K(""), s = K(!1), w = ua(() => s.value = !1, E);
|
|
6989
6989
|
function n() {
|
|
6990
6990
|
e.value && c(I.value) ? B.clipboard.readText().then((d) => {
|
|
6991
6991
|
i.value = d;
|
|
@@ -7021,7 +7021,7 @@ function Fa(A, B, Q = {}) {
|
|
|
7021
7021
|
let C;
|
|
7022
7022
|
const e = tC(() => g && "ResizeObserver" in g), I = () => {
|
|
7023
7023
|
C && (C.disconnect(), C = void 0);
|
|
7024
|
-
}, t =
|
|
7024
|
+
}, t = J(() => Array.isArray(A) ? A.map((s) => dB(s)) : [dB(A)]), o = aA(
|
|
7025
7025
|
t,
|
|
7026
7026
|
(s) => {
|
|
7027
7027
|
if (I(), e.value && g) {
|
|
@@ -7040,7 +7040,7 @@ function Fa(A, B, Q = {}) {
|
|
|
7040
7040
|
};
|
|
7041
7041
|
}
|
|
7042
7042
|
function Na(A, B = { width: 0, height: 0 }, Q = {}) {
|
|
7043
|
-
const { window: g = Og, box: E = "content-box" } = Q, C =
|
|
7043
|
+
const { window: g = Og, box: E = "content-box" } = Q, C = J(() => {
|
|
7044
7044
|
var s, w;
|
|
7045
7045
|
return (w = (s = dB(A)) == null ? void 0 : s.namespaceURI) == null ? void 0 : w.includes("svg");
|
|
7046
7046
|
}), e = K(B.width), I = K(B.height), { stop: t } = Fa(
|
|
@@ -7131,7 +7131,7 @@ function La(A = {}) {
|
|
|
7131
7131
|
if (r = r.toLowerCase(), r in g && (r = g[r]), !(r in t))
|
|
7132
7132
|
if (/[+_-]/.test(r)) {
|
|
7133
7133
|
const h = r.split(/[+_-]/g).map((u) => u.trim());
|
|
7134
|
-
t[r] =
|
|
7134
|
+
t[r] = J(() => h.every((u) => _A(D[u])));
|
|
7135
7135
|
} else
|
|
7136
7136
|
t[r] = K(!1);
|
|
7137
7137
|
const d = Reflect.get(a, r, c);
|
|
@@ -7172,7 +7172,7 @@ function ya(A, B, Q, g = {}) {
|
|
|
7172
7172
|
{ deep: i }
|
|
7173
7173
|
), u;
|
|
7174
7174
|
} else
|
|
7175
|
-
return
|
|
7175
|
+
return J({
|
|
7176
7176
|
get() {
|
|
7177
7177
|
return c();
|
|
7178
7178
|
},
|
|
@@ -7200,7 +7200,7 @@ function Ra() {
|
|
|
7200
7200
|
E && (B.value = E), Q.value = !Q.value;
|
|
7201
7201
|
},
|
|
7202
7202
|
editingType: B,
|
|
7203
|
-
nodeId:
|
|
7203
|
+
nodeId: J(() => g.value.nodeId)
|
|
7204
7204
|
};
|
|
7205
7205
|
}
|
|
7206
7206
|
function ka(A, B) {
|
|
@@ -7253,10 +7253,10 @@ const Ua = { class: "flex pl5px" }, Ka = { class: "w160px py5px" }, Ya = /* @__P
|
|
|
7253
7253
|
},
|
|
7254
7254
|
emits: ["enableEditInput", "addNewProp"],
|
|
7255
7255
|
setup(A) {
|
|
7256
|
-
const B = A, Q = oC(), { copy: g, isSupported: E } = pa(), C = K(!1), e =
|
|
7256
|
+
const B = A, Q = oC(), { copy: g, isSupported: E } = pa(), C = K(!1), e = J(() => BC(B.data.value)), I = J(() => e.value.value), t = J(() => e.value.customType), o = J(() => I.value === null ? "null" : typeof I.value), i = {
|
|
7257
7257
|
flat: !0,
|
|
7258
7258
|
size: "mini"
|
|
7259
|
-
}, s =
|
|
7259
|
+
}, s = J(() => ({
|
|
7260
7260
|
"opacity-0": !B.hovering
|
|
7261
7261
|
}));
|
|
7262
7262
|
async function w(D, a = !1) {
|
|
@@ -7405,7 +7405,7 @@ const Ua = { class: "flex pl5px" }, Ka = { class: "w160px py5px" }, Ya = /* @__P
|
|
|
7405
7405
|
},
|
|
7406
7406
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
7407
7407
|
setup(A, { emit: B }) {
|
|
7408
|
-
const Q = A, g = B, E =
|
|
7408
|
+
const Q = A, g = B, E = J(() => Q.customType === "date" ? "datetime-local" : ""), { escape: C, enter: e } = La();
|
|
7409
7409
|
Qg(() => {
|
|
7410
7410
|
C.value ? g("cancel") : e.value && g("submit");
|
|
7411
7411
|
});
|
|
@@ -7540,17 +7540,17 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7540
7540
|
expandedStateId: {}
|
|
7541
7541
|
},
|
|
7542
7542
|
setup(A) {
|
|
7543
|
-
const B = A, Q = K(BI), g =
|
|
7543
|
+
const B = A, Q = K(BI), g = J(() => mt(B.data.value, !1, {
|
|
7544
7544
|
customClass: {
|
|
7545
7545
|
string: "max-w-120 truncate"
|
|
7546
7546
|
}
|
|
7547
|
-
})), E =
|
|
7547
|
+
})), E = J(() => DQ(B.data.value)), C = J(() => BC(B.data.value)), { expanded: e, toggleExpanded: I } = iC(B.expandedStateId ?? ""), t = J(() => {
|
|
7548
7548
|
var G;
|
|
7549
7549
|
return E.value === "custom" ? `${((G = B.data.value._custom) == null ? void 0 : G.type) ?? "string"}-custom-state` : "";
|
|
7550
|
-
}), o =
|
|
7550
|
+
}), o = J(() => {
|
|
7551
7551
|
const { value: G } = C.value;
|
|
7552
7552
|
return RC(G) ? G.length : HC(G) ? Object.keys(G).length : 0;
|
|
7553
|
-
}), i =
|
|
7553
|
+
}), i = J(() => B.data.path || [B.data.key]), s = J(() => i.value[i.value.length - 1]), w = J(() => {
|
|
7554
7554
|
var X, W, b, hA, wA, FA, NA;
|
|
7555
7555
|
const G = ["Reactive"], P = ((W = (X = B.data) == null ? void 0 : X._custom) == null ? void 0 : W.stateTypeName) || ((b = B.data) == null ? void 0 : b.stateTypeName);
|
|
7556
7556
|
if (G.includes(P))
|
|
@@ -7558,10 +7558,10 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7558
7558
|
if ((wA = (hA = B.data.value) == null ? void 0 : hA.fields) != null && wA.abstract)
|
|
7559
7559
|
return "";
|
|
7560
7560
|
{
|
|
7561
|
-
const rA = (NA = (FA = B.data.value) == null ? void 0 : FA._custom) == null ? void 0 : NA.type, YA = E.value === "custom" && !rA ? `"${g.value}"` : g.value === "" ? '""' : g.value,
|
|
7561
|
+
const rA = (NA = (FA = B.data.value) == null ? void 0 : FA._custom) == null ? void 0 : NA.type, YA = E.value === "custom" && !rA ? `"${g.value}"` : g.value === "" ? '""' : g.value, YB = E.value === "custom" && rA === "ref" ? DQ(YA) : E.value, rB = E.value === "string" ? "select-text" : "", v = `<span class="${YB}-state-type flex whitespace-nowrap ${rB}">${YA}</span>`;
|
|
7562
7562
|
return P ? `${v} <span class="text-gray-500">(${P})</span>` : v;
|
|
7563
7563
|
}
|
|
7564
|
-
}), n =
|
|
7564
|
+
}), n = J(() => {
|
|
7565
7565
|
const { value: G, inherit: P, customType: X } = C.value, W = X === "set";
|
|
7566
7566
|
let b = [];
|
|
7567
7567
|
return RC(G) ? G.slice(0, Q.value).map((wA, FA) => ({
|
|
@@ -7579,7 +7579,7 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7579
7579
|
editable: B.data.editable && !W,
|
|
7580
7580
|
creating: !1
|
|
7581
7581
|
})), E.value !== "custom" && (b = Ct(b))), b === B.data.value ? [] : b);
|
|
7582
|
-
}), D =
|
|
7582
|
+
}), D = J(() => n.value.length > 0), a = K(), r = oC(), { isHovering: c } = ma(() => a.value), { editingType: d, editing: h, editingText: u, toggleEditing: M, nodeId: F } = Ra();
|
|
7583
7583
|
aA(() => h.value, (G) => {
|
|
7584
7584
|
if (G) {
|
|
7585
7585
|
const { value: P } = C.value;
|
|
@@ -7587,7 +7587,7 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7587
7587
|
} else
|
|
7588
7588
|
u.value = "";
|
|
7589
7589
|
});
|
|
7590
|
-
async function
|
|
7590
|
+
async function m() {
|
|
7591
7591
|
const G = B.data;
|
|
7592
7592
|
await _.value.editInspectorState({
|
|
7593
7593
|
path: i.value,
|
|
@@ -7601,10 +7601,10 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7601
7601
|
}
|
|
7602
7602
|
}), await _.value.sendInspectorState(r.value.inspectorId), M();
|
|
7603
7603
|
}
|
|
7604
|
-
const { addNewProp:
|
|
7604
|
+
const { addNewProp: x, draftingNewProp: q, resetDrafting: S } = Pa();
|
|
7605
7605
|
function R(G) {
|
|
7606
7606
|
const P = `${B.depth}-${B.index}`;
|
|
7607
|
-
e.value.includes(P) || I(P),
|
|
7607
|
+
e.value.includes(P) || I(P), x(G, C.value.value);
|
|
7608
7608
|
}
|
|
7609
7609
|
async function k() {
|
|
7610
7610
|
const G = B.data;
|
|
@@ -7618,7 +7618,7 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7618
7618
|
type: typeof zQ(q.value.value),
|
|
7619
7619
|
value: zQ(q.value.value)
|
|
7620
7620
|
}
|
|
7621
|
-
}), await _.value.sendInspectorState(r.value.inspectorId),
|
|
7621
|
+
}), await _.value.sendInspectorState(r.value.inspectorId), S();
|
|
7622
7622
|
}
|
|
7623
7623
|
return (G, P) => (f(), H("div", null, [
|
|
7624
7624
|
p("div", {
|
|
@@ -7640,7 +7640,7 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7640
7640
|
"onUpdate:modelValue": P[0] || (P[0] = (X) => oB(u) ? u.value = X : null),
|
|
7641
7641
|
"custom-type": C.value.customType,
|
|
7642
7642
|
onCancel: N(M),
|
|
7643
|
-
onSubmit:
|
|
7643
|
+
onSubmit: m
|
|
7644
7644
|
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : AA("", !0),
|
|
7645
7645
|
p("span", {
|
|
7646
7646
|
class: CA([t.value, "flex whitespace-nowrap"])
|
|
@@ -7695,14 +7695,14 @@ const Do = (A) => (GQ("data-v-a4276957"), A = A(), LQ(), A), Ja = {
|
|
|
7695
7695
|
modelValue: N(q).value,
|
|
7696
7696
|
"onUpdate:modelValue": P[4] || (P[4] = (X) => N(q).value = X),
|
|
7697
7697
|
"auto-focus": !1,
|
|
7698
|
-
onCancel: N(
|
|
7698
|
+
onCancel: N(S),
|
|
7699
7699
|
onSubmit: k
|
|
7700
7700
|
}, null, 8, ["modelValue", "onCancel"])
|
|
7701
7701
|
], 4)) : AA("", !0)
|
|
7702
7702
|
])) : AA("", !0)
|
|
7703
7703
|
]));
|
|
7704
7704
|
}
|
|
7705
|
-
}), _a = /* @__PURE__ */
|
|
7705
|
+
}), _a = /* @__PURE__ */ RB(Wa, [["__scopeId", "data-v-a4276957"]]), ao = /* @__PURE__ */ V({
|
|
7706
7706
|
__name: "ChildStateViewer",
|
|
7707
7707
|
props: {
|
|
7708
7708
|
data: {},
|
|
@@ -7943,17 +7943,17 @@ const Cr = ["onClick", "onDblclick"], er = {
|
|
|
7943
7943
|
}, jB = "pinia", ar = /* @__PURE__ */ V({
|
|
7944
7944
|
__name: "Index",
|
|
7945
7945
|
setup(A) {
|
|
7946
|
-
const { expanded: B } = AB(), { expanded: Q } = AB("pinia-store-state"), g = K(""), E = K([]), C =
|
|
7946
|
+
const { expanded: B } = AB(), { expanded: Q } = AB("pinia-store-state"), g = K(""), E = K([]), C = J(() => {
|
|
7947
7947
|
var h, u;
|
|
7948
7948
|
return (h = E.value) != null && h.length ? i((u = E.value) == null ? void 0 : u[0]) : [];
|
|
7949
|
-
}), e =
|
|
7949
|
+
}), e = J(() => w(E.value)), I = J(() => e.value.map((h) => h.id)), t = K({}), o = J(() => {
|
|
7950
7950
|
var h, u;
|
|
7951
7951
|
return !((h = t.value.state) != null && h.length) && !((u = t.value.getters) != null && u.length);
|
|
7952
7952
|
});
|
|
7953
7953
|
function i(h, u = [], M = []) {
|
|
7954
|
-
var F,
|
|
7955
|
-
return u.push(h.id), ((F = h.children) == null ? void 0 : F.length) === 0 && M.push([...u]), (
|
|
7956
|
-
i(
|
|
7954
|
+
var F, m;
|
|
7955
|
+
return u.push(h.id), ((F = h.children) == null ? void 0 : F.length) === 0 && M.push([...u]), (m = h.children) == null || m.forEach((x) => {
|
|
7956
|
+
i(x, u, M);
|
|
7957
7957
|
}), u.pop(), M;
|
|
7958
7958
|
}
|
|
7959
7959
|
function s(h, u) {
|
|
@@ -7964,9 +7964,9 @@ const Cr = ["onClick", "onDblclick"], er = {
|
|
|
7964
7964
|
}
|
|
7965
7965
|
function w(h) {
|
|
7966
7966
|
const u = [], M = (F) => {
|
|
7967
|
-
F.forEach((
|
|
7968
|
-
var
|
|
7969
|
-
u.push(
|
|
7967
|
+
F.forEach((m) => {
|
|
7968
|
+
var x;
|
|
7969
|
+
u.push(m), (x = m.children) != null && x.length && M(m.children);
|
|
7970
7970
|
});
|
|
7971
7971
|
};
|
|
7972
7972
|
return M(h), u;
|
|
@@ -8005,9 +8005,9 @@ const Cr = ["onClick", "onDblclick"], er = {
|
|
|
8005
8005
|
t.value = n({
|
|
8006
8006
|
state: M.state,
|
|
8007
8007
|
getters: M.getters
|
|
8008
|
-
})
|
|
8008
|
+
});
|
|
8009
8009
|
}
|
|
8010
|
-
return _.functions.on(IA.INSPECTOR_TREE_UPDATED, c), _.functions.on(IA.INSPECTOR_STATE_UPDATED, d),
|
|
8010
|
+
return _.functions.on(IA.INSPECTOR_TREE_UPDATED, c), _.functions.on(IA.INSPECTOR_STATE_UPDATED, d), HB(() => {
|
|
8011
8011
|
_.functions.off(IA.INSPECTOR_TREE_UPDATED, c), _.functions.off(IA.INSPECTOR_STATE_UPDATED, d);
|
|
8012
8012
|
}), (h, u) => (f(), H("div", wr, [
|
|
8013
8013
|
U(Kg, {
|
|
@@ -8573,65 +8573,65 @@ var wC = {
|
|
|
8573
8573
|
else if (this.$_prerender)
|
|
8574
8574
|
a = d = 0, r = h = Math.min(this.prerender, t.length), c = null;
|
|
8575
8575
|
else {
|
|
8576
|
-
const
|
|
8576
|
+
const S = this.getScroll();
|
|
8577
8577
|
if (B) {
|
|
8578
|
-
let G =
|
|
8578
|
+
let G = S.start - this.$_lastUpdateScrollPosition;
|
|
8579
8579
|
if (G < 0 && (G = -G), Q === null && G < C || G < Q)
|
|
8580
8580
|
return {
|
|
8581
8581
|
continuous: !0
|
|
8582
8582
|
};
|
|
8583
8583
|
}
|
|
8584
|
-
this.$_lastUpdateScrollPosition =
|
|
8584
|
+
this.$_lastUpdateScrollPosition = S.start;
|
|
8585
8585
|
const R = this.buffer;
|
|
8586
|
-
|
|
8586
|
+
S.start -= R, S.end += R;
|
|
8587
8587
|
let k = 0;
|
|
8588
|
-
if (this.$refs.before && (k = this.$refs.before.scrollHeight,
|
|
8588
|
+
if (this.$refs.before && (k = this.$refs.before.scrollHeight, S.start -= k), this.$refs.after) {
|
|
8589
8589
|
const G = this.$refs.after.scrollHeight;
|
|
8590
|
-
|
|
8590
|
+
S.end += G;
|
|
8591
8591
|
}
|
|
8592
8592
|
if (Q === null) {
|
|
8593
8593
|
let G, P = 0, X = o - 1, W = ~~(o / 2), b;
|
|
8594
8594
|
do
|
|
8595
|
-
b = W, G = i[W].accumulator, G <
|
|
8595
|
+
b = W, G = i[W].accumulator, G < S.start ? P = W : W < o - 1 && i[W + 1].accumulator > S.start && (X = W), W = ~~((P + X) / 2);
|
|
8596
8596
|
while (W !== b);
|
|
8597
|
-
for (W < 0 && (W = 0), a = W, c = i[o - 1].accumulator, r = W; r < o && i[r].accumulator <
|
|
8597
|
+
for (W < 0 && (W = 0), a = W, c = i[o - 1].accumulator, r = W; r < o && i[r].accumulator < S.end; r++)
|
|
8598
8598
|
;
|
|
8599
|
-
for (r === -1 ? r = t.length - 1 : (r++, r > o && (r = o)), d = a; d < o && k + i[d].accumulator <
|
|
8599
|
+
for (r === -1 ? r = t.length - 1 : (r++, r > o && (r = o)), d = a; d < o && k + i[d].accumulator < S.start; d++)
|
|
8600
8600
|
;
|
|
8601
|
-
for (h = d; h < o && k + i[h].accumulator <
|
|
8601
|
+
for (h = d; h < o && k + i[h].accumulator < S.end; h++)
|
|
8602
8602
|
;
|
|
8603
8603
|
} else {
|
|
8604
|
-
a = ~~(
|
|
8604
|
+
a = ~~(S.start / Q * g);
|
|
8605
8605
|
const G = a % g;
|
|
8606
|
-
a -= G, r = Math.ceil(
|
|
8606
|
+
a -= G, r = Math.ceil(S.end / Q * g), d = Math.max(0, Math.floor((S.start - k) / Q * g)), h = Math.floor((S.end - k) / Q * g), a < 0 && (a = 0), r > o && (r = o), d < 0 && (d = 0), h > o && (h = o), c = Math.ceil(o / g) * Q;
|
|
8607
8607
|
}
|
|
8608
8608
|
}
|
|
8609
8609
|
r - a > Rr.itemsLimit && this.itemsLimitError(), this.totalSize = c;
|
|
8610
8610
|
let u;
|
|
8611
8611
|
const M = a <= this.$_endIndex && r >= this.$_startIndex;
|
|
8612
8612
|
if (M)
|
|
8613
|
-
for (let
|
|
8614
|
-
u = n[
|
|
8613
|
+
for (let S = 0, R = n.length; S < R; S++)
|
|
8614
|
+
u = n[S], u.nr.used && (A && (u.nr.index = D[u.item[I]]), (u.nr.index == null || u.nr.index < a || u.nr.index >= r) && this.unuseView(u));
|
|
8615
8615
|
const F = M ? null : /* @__PURE__ */ new Map();
|
|
8616
|
-
let
|
|
8617
|
-
for (let
|
|
8618
|
-
|
|
8619
|
-
const R = I ?
|
|
8616
|
+
let m, x, q;
|
|
8617
|
+
for (let S = a; S < r; S++) {
|
|
8618
|
+
m = t[S];
|
|
8619
|
+
const R = I ? m[I] : m;
|
|
8620
8620
|
if (R == null)
|
|
8621
8621
|
throw new Error(`Key is ${R} on item (keyField is '${I}')`);
|
|
8622
|
-
if (u = s.get(R), !Q && !i[
|
|
8622
|
+
if (u = s.get(R), !Q && !i[S].size) {
|
|
8623
8623
|
u && this.unuseView(u);
|
|
8624
8624
|
continue;
|
|
8625
8625
|
}
|
|
8626
|
-
|
|
8627
|
-
let k = w.get(
|
|
8626
|
+
x = m[e];
|
|
8627
|
+
let k = w.get(x), G = !1;
|
|
8628
8628
|
if (!u)
|
|
8629
|
-
M ? k && k.length ? u = k.pop() : u = this.addView(n,
|
|
8629
|
+
M ? k && k.length ? u = k.pop() : u = this.addView(n, S, m, R, x) : (q = F.get(x) || 0, (!k || q >= k.length) && (u = this.addView(n, S, m, R, x), this.unuseView(u, !0), k = w.get(x)), u = k[q], F.set(x, q + 1)), s.delete(u.nr.key), u.nr.used = !0, u.nr.index = S, u.nr.key = R, u.nr.type = x, s.set(R, u), G = !0;
|
|
8630
8630
|
else if (!u.nr.used && (u.nr.used = !0, G = !0, k)) {
|
|
8631
8631
|
const P = k.indexOf(u);
|
|
8632
8632
|
P !== -1 && k.splice(P, 1);
|
|
8633
8633
|
}
|
|
8634
|
-
u.item =
|
|
8634
|
+
u.item = m, G && (S === t.length - 1 && this.$emit("scroll-end"), S === 0 && this.$emit("scroll-start")), Q === null ? (u.position = i[S - 1].accumulator, u.offset = 0) : (u.position = Math.floor(S / g) * Q, u.offset = S % g * E);
|
|
8635
8635
|
}
|
|
8636
8636
|
return this.$_startIndex = a, this.$_endIndex = r, this.emitUpdate && this.$emit("update", a, r, d, h), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
|
|
8637
8637
|
continuous: M
|
|
@@ -8707,7 +8707,7 @@ const Jr = {
|
|
|
8707
8707
|
class: "vue-recycle-scroller__slot"
|
|
8708
8708
|
};
|
|
8709
8709
|
function Or(A, B, Q, g, E, C) {
|
|
8710
|
-
const e =
|
|
8710
|
+
const e = vB("ResizeObserver"), I = vs("observe-visibility");
|
|
8711
8711
|
return uA((f(), H(
|
|
8712
8712
|
"div",
|
|
8713
8713
|
{
|
|
@@ -8818,7 +8818,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8818
8818
|
}),
|
|
8819
8819
|
emits: ["update:modelValue"],
|
|
8820
8820
|
setup(A) {
|
|
8821
|
-
const B = A, Q = Qt(A, "modelValue"), g = ["#3e5770", "#42b983", "#0098c4"], E =
|
|
8821
|
+
const B = A, Q = Qt(A, "modelValue"), g = ["#3e5770", "#42b983", "#0098c4"], E = J(() => {
|
|
8822
8822
|
let C = -1, e = 0;
|
|
8823
8823
|
return B.data.forEach((I, t) => {
|
|
8824
8824
|
(I.groupId !== e || C === -1) && (C = (C + 1) % g.length), e = I.groupId ?? e, I.id = t, I.color = g[C];
|
|
@@ -8879,7 +8879,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8879
8879
|
setup(A) {
|
|
8880
8880
|
const B = A, { expanded: Q } = AB("timeline-state");
|
|
8881
8881
|
Q.value = ["0", "1"];
|
|
8882
|
-
const g = K([]), E = K(/* @__PURE__ */ new Map()), C = K(0), e =
|
|
8882
|
+
const g = K([]), E = K(/* @__PURE__ */ new Map()), C = K(0), e = J(() => g.value[C.value] ?? null), I = J(() => {
|
|
8883
8883
|
var n;
|
|
8884
8884
|
const w = [];
|
|
8885
8885
|
for (const D in (n = e.value) == null ? void 0 : n.data)
|
|
@@ -8890,7 +8890,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8890
8890
|
value: e.value.data[D]
|
|
8891
8891
|
});
|
|
8892
8892
|
return w;
|
|
8893
|
-
}), t =
|
|
8893
|
+
}), t = J(() => {
|
|
8894
8894
|
var D, a, r;
|
|
8895
8895
|
const w = (D = e.value) == null ? void 0 : D.groupId, n = E.value.get(w);
|
|
8896
8896
|
if (n) {
|
|
@@ -8907,7 +8907,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8907
8907
|
value: `${c}ms`
|
|
8908
8908
|
}].filter(Boolean);
|
|
8909
8909
|
}
|
|
8910
|
-
}), o =
|
|
8910
|
+
}), o = J(() => ({ "Event Info": I.value, ...t.value && { "Group Info": t.value } }));
|
|
8911
8911
|
function i(w) {
|
|
8912
8912
|
var D;
|
|
8913
8913
|
const n = w.groupId;
|
|
@@ -8919,7 +8919,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8919
8919
|
const { layerId: n, event: D } = w;
|
|
8920
8920
|
B.layerIds.includes(n) && (g.value.push(D), i(D));
|
|
8921
8921
|
}
|
|
8922
|
-
return _.functions.on(IA.TIMELINE_EVENT_UPDATED, s),
|
|
8922
|
+
return _.functions.on(IA.TIMELINE_EVENT_UPDATED, s), HB(() => {
|
|
8923
8923
|
_.functions.off(IA.TIMELINE_EVENT_UPDATED, s);
|
|
8924
8924
|
}), (w, n) => (f(), H("div", Zr, [
|
|
8925
8925
|
U(Kg, {
|
|
@@ -8992,7 +8992,7 @@ const vr = { class: "p3" }, br = ["onClick"], Tr = {
|
|
|
8992
8992
|
}), Ac = {
|
|
8993
8993
|
"h-full": "",
|
|
8994
8994
|
"w-full": ""
|
|
8995
|
-
},
|
|
8995
|
+
}, hp = /* @__PURE__ */ V({
|
|
8996
8996
|
__name: "index",
|
|
8997
8997
|
setup(A) {
|
|
8998
8998
|
const { VirtualRouterView: B } = WE([
|
|
@@ -9039,12 +9039,12 @@ var tc = "[object Null]", oc = "[object Undefined]", II = XA ? XA.toStringTag :
|
|
|
9039
9039
|
function ZB(A) {
|
|
9040
9040
|
return A == null ? A === void 0 ? oc : tc : II && II in Object(A) ? Ec(A) : Ic(A);
|
|
9041
9041
|
}
|
|
9042
|
-
function
|
|
9042
|
+
function WB(A) {
|
|
9043
9043
|
return A != null && typeof A == "object";
|
|
9044
9044
|
}
|
|
9045
9045
|
var sc = "[object Symbol]";
|
|
9046
9046
|
function DC(A) {
|
|
9047
|
-
return typeof A == "symbol" ||
|
|
9047
|
+
return typeof A == "symbol" || WB(A) && ZB(A) == sc;
|
|
9048
9048
|
}
|
|
9049
9049
|
function ic(A, B) {
|
|
9050
9050
|
for (var Q = -1, g = A == null ? 0 : A.length, E = Array(g); ++Q < g; )
|
|
@@ -9084,7 +9084,7 @@ function lc(A) {
|
|
|
9084
9084
|
return !!sI && sI in A;
|
|
9085
9085
|
}
|
|
9086
9086
|
var uc = Function.prototype, hc = uc.toString;
|
|
9087
|
-
function
|
|
9087
|
+
function PB(A) {
|
|
9088
9088
|
if (A != null) {
|
|
9089
9089
|
try {
|
|
9090
9090
|
return hc.call(A);
|
|
@@ -9104,20 +9104,20 @@ function Lc(A) {
|
|
|
9104
9104
|
if (!aC(A) || lc(A))
|
|
9105
9105
|
return !1;
|
|
9106
9106
|
var B = Lo(A) ? Gc : Mc;
|
|
9107
|
-
return B.test(
|
|
9107
|
+
return B.test(PB(A));
|
|
9108
9108
|
}
|
|
9109
9109
|
function yc(A, B) {
|
|
9110
9110
|
return A == null ? void 0 : A[B];
|
|
9111
9111
|
}
|
|
9112
|
-
function
|
|
9112
|
+
function UB(A, B) {
|
|
9113
9113
|
var Q = yc(A, B);
|
|
9114
9114
|
return Lc(Q) ? Q : void 0;
|
|
9115
9115
|
}
|
|
9116
|
-
var Hc =
|
|
9116
|
+
var Hc = UB(BB, "WeakMap");
|
|
9117
9117
|
const kE = Hc;
|
|
9118
9118
|
var iI = function() {
|
|
9119
9119
|
try {
|
|
9120
|
-
var A =
|
|
9120
|
+
var A = UB(Object, "defineProperty");
|
|
9121
9121
|
return A({}, "", {}), A;
|
|
9122
9122
|
} catch {
|
|
9123
9123
|
}
|
|
@@ -9156,12 +9156,12 @@ function Sc(A, B) {
|
|
|
9156
9156
|
}
|
|
9157
9157
|
var mc = "[object Arguments]";
|
|
9158
9158
|
function wI(A) {
|
|
9159
|
-
return
|
|
9159
|
+
return WB(A) && ZB(A) == mc;
|
|
9160
9160
|
}
|
|
9161
9161
|
var ko = Object.prototype, Jc = ko.hasOwnProperty, xc = ko.propertyIsEnumerable, cC = wI(/* @__PURE__ */ function() {
|
|
9162
9162
|
return arguments;
|
|
9163
9163
|
}()) ? wI : function(A) {
|
|
9164
|
-
return
|
|
9164
|
+
return WB(A) && Jc.call(A, "callee") && !xc.call(A, "callee");
|
|
9165
9165
|
};
|
|
9166
9166
|
function Oc() {
|
|
9167
9167
|
return !1;
|
|
@@ -9170,7 +9170,7 @@ var Po = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
9170
9170
|
EA[Cl] = EA[el] = EA[Il] = EA[tl] = EA[ol] = EA[sl] = EA[il] = EA[wl] = EA[nl] = !0;
|
|
9171
9171
|
EA[Tc] = EA[qc] = EA[gl] = EA[Wc] = EA[El] = EA[_c] = EA[Xc] = EA[Zc] = EA[zc] = EA[Vc] = EA[jc] = EA[$c] = EA[Al] = EA[Bl] = EA[Ql] = !1;
|
|
9172
9172
|
function Dl(A) {
|
|
9173
|
-
return
|
|
9173
|
+
return WB(A) && rC(A.length) && !!EA[ZB(A)];
|
|
9174
9174
|
}
|
|
9175
9175
|
function al(A) {
|
|
9176
9176
|
return function(B) {
|
|
@@ -9218,7 +9218,7 @@ function uC(A, B) {
|
|
|
9218
9218
|
var Q = typeof A;
|
|
9219
9219
|
return Q == "number" || Q == "symbol" || Q == "boolean" || A == null || DC(A) ? !0 : Nl.test(A) || !Fl.test(A) || B != null && A in Object(B);
|
|
9220
9220
|
}
|
|
9221
|
-
var dQ =
|
|
9221
|
+
var dQ = UB(Object, "create");
|
|
9222
9222
|
function Gl() {
|
|
9223
9223
|
this.__data__ = dQ ? dQ(null) : {}, this.size = 0;
|
|
9224
9224
|
}
|
|
@@ -9297,7 +9297,7 @@ QB.prototype.delete = Ol;
|
|
|
9297
9297
|
QB.prototype.get = vl;
|
|
9298
9298
|
QB.prototype.has = bl;
|
|
9299
9299
|
QB.prototype.set = Tl;
|
|
9300
|
-
var MQ =
|
|
9300
|
+
var MQ = UB(BB, "Map");
|
|
9301
9301
|
function ql() {
|
|
9302
9302
|
this.size = 0, this.__data__ = {
|
|
9303
9303
|
hash: new LB(),
|
|
@@ -9466,15 +9466,15 @@ function h0(A, B, Q) {
|
|
|
9466
9466
|
function uI(A) {
|
|
9467
9467
|
return h0(A, lC, u0);
|
|
9468
9468
|
}
|
|
9469
|
-
var d0 =
|
|
9469
|
+
var d0 = UB(BB, "DataView");
|
|
9470
9470
|
const UE = d0;
|
|
9471
|
-
var M0 =
|
|
9471
|
+
var M0 = UB(BB, "Promise");
|
|
9472
9472
|
const KE = M0;
|
|
9473
|
-
var p0 =
|
|
9473
|
+
var p0 = UB(BB, "Set");
|
|
9474
9474
|
const YE = p0;
|
|
9475
|
-
var hI = "[object Map]", f0 = "[object Object]", dI = "[object Promise]", MI = "[object Set]", pI = "[object WeakMap]", fI = "[object DataView]", F0 =
|
|
9475
|
+
var hI = "[object Map]", f0 = "[object Object]", dI = "[object Promise]", MI = "[object Set]", pI = "[object WeakMap]", fI = "[object DataView]", F0 = PB(UE), N0 = PB(MQ), G0 = PB(KE), L0 = PB(YE), y0 = PB(kE), uB = ZB;
|
|
9476
9476
|
(UE && uB(new UE(new ArrayBuffer(1))) != fI || MQ && uB(new MQ()) != hI || KE && uB(KE.resolve()) != dI || YE && uB(new YE()) != MI || kE && uB(new kE()) != pI) && (uB = function(A) {
|
|
9477
|
-
var B = ZB(A), Q = B == f0 ? A.constructor : void 0, g = Q ?
|
|
9477
|
+
var B = ZB(A), Q = B == f0 ? A.constructor : void 0, g = Q ? PB(Q) : "";
|
|
9478
9478
|
if (g)
|
|
9479
9479
|
switch (g) {
|
|
9480
9480
|
case F0:
|
|
@@ -9652,7 +9652,7 @@ function eu(A, B, Q, g, E, C) {
|
|
|
9652
9652
|
return w ? (C || (C = new jA()), gu(A, B, Q, g, E, C)) : !1;
|
|
9653
9653
|
}
|
|
9654
9654
|
function dC(A, B, Q, g, E) {
|
|
9655
|
-
return A === B ? !0 : A == null || B == null || !
|
|
9655
|
+
return A === B ? !0 : A == null || B == null || !WB(A) && !WB(B) ? A !== A && B !== B : eu(A, B, Q, g, dC, E);
|
|
9656
9656
|
}
|
|
9657
9657
|
var Iu = 1, tu = 2;
|
|
9658
9658
|
function ou(A, B, Q, g) {
|
|
@@ -9794,7 +9794,7 @@ var JA;
|
|
|
9794
9794
|
A[A.NotSet = -1] = "NotSet", A[A.None = 0] = "None", A[A.Italic = 1] = "Italic", A[A.Bold = 2] = "Bold", A[A.Underline = 4] = "Underline";
|
|
9795
9795
|
})(JA || (JA = {}));
|
|
9796
9796
|
typeof process < "u" && process.env.VSCODE_TEXTMATE_DEBUG;
|
|
9797
|
-
var
|
|
9797
|
+
var _B;
|
|
9798
9798
|
(function(A) {
|
|
9799
9799
|
function B(i) {
|
|
9800
9800
|
return i.toString(2).padStart(32, "0");
|
|
@@ -9840,7 +9840,7 @@ var WB;
|
|
|
9840
9840
|
return s !== 0 && (c = s), w !== 8 && (d = w), n !== null && (h = n ? 1 : 0), D !== -1 && (u = D), a !== 0 && (M = a), r !== 0 && (F = r), (c << 0 | d << 8 | h << 10 | u << 11 | M << 15 | F << 24) >>> 0;
|
|
9841
9841
|
}
|
|
9842
9842
|
A.set = o;
|
|
9843
|
-
})(
|
|
9843
|
+
})(_B || (_B = {}));
|
|
9844
9844
|
function ng(A, B) {
|
|
9845
9845
|
const Q = [], g = Ku(A);
|
|
9846
9846
|
let E = g.next();
|
|
@@ -10845,7 +10845,7 @@ class tE {
|
|
|
10845
10845
|
this.languageId = B, this.tokenType = Q;
|
|
10846
10846
|
}
|
|
10847
10847
|
}
|
|
10848
|
-
const
|
|
10848
|
+
const mB = class mB {
|
|
10849
10849
|
constructor(B, Q) {
|
|
10850
10850
|
l(this, "_defaultAttributes");
|
|
10851
10851
|
l(this, "_embeddedLanguagesMatcher");
|
|
@@ -10863,7 +10863,7 @@ const SB = class SB {
|
|
|
10863
10863
|
return this._defaultAttributes;
|
|
10864
10864
|
}
|
|
10865
10865
|
getBasicScopeAttributes(B) {
|
|
10866
|
-
return B === null ?
|
|
10866
|
+
return B === null ? mB._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(B);
|
|
10867
10867
|
}
|
|
10868
10868
|
/**
|
|
10869
10869
|
* Given a produced TM scope, return the language that token describes or null if unknown.
|
|
@@ -10873,7 +10873,7 @@ const SB = class SB {
|
|
|
10873
10873
|
return this._embeddedLanguagesMatcher.match(B) || 0;
|
|
10874
10874
|
}
|
|
10875
10875
|
_toStandardTokenType(B) {
|
|
10876
|
-
const Q = B.match(
|
|
10876
|
+
const Q = B.match(mB.STANDARD_TOKEN_TYPE_REGEXP);
|
|
10877
10877
|
if (!Q)
|
|
10878
10878
|
return 8;
|
|
10879
10879
|
switch (Q[1]) {
|
|
@@ -10889,8 +10889,8 @@ const SB = class SB {
|
|
|
10889
10889
|
throw new Error("Unexpected match for standard token type!");
|
|
10890
10890
|
}
|
|
10891
10891
|
};
|
|
10892
|
-
l(
|
|
10893
|
-
let JE =
|
|
10892
|
+
l(mB, "_NULL_SCOPE_METADATA", new tE(0, 0)), l(mB, "STANDARD_TOKEN_TYPE_REGEXP", /\b(comment|string|regex|meta\.embedded)\b/);
|
|
10893
|
+
let JE = mB;
|
|
10894
10894
|
class Eh {
|
|
10895
10895
|
constructor(B) {
|
|
10896
10896
|
l(this, "values");
|
|
@@ -10954,16 +10954,16 @@ function $o(A, B, Q, g, E, C, e, I) {
|
|
|
10954
10954
|
if (E = E.push(a, g, i, D[0].end === t, null, u, u), c instanceof mE) {
|
|
10955
10955
|
const M = c;
|
|
10956
10956
|
QQ(A, B, Q, E, C, M.beginCaptures, D), C.produce(E, D[0].end), i = D[0].end;
|
|
10957
|
-
const F = M.getContentName(B.content, D),
|
|
10958
|
-
if (E = E.withContentNameScopesList(
|
|
10957
|
+
const F = M.getContentName(B.content, D), m = u.pushAttributed(F, A);
|
|
10958
|
+
if (E = E.withContentNameScopesList(m), M.endHasBackReferences && (E = E.withEndRule(M.getEndWithResolvedBackReferences(B.content, D))), !r && d.hasSameRuleAs(E)) {
|
|
10959
10959
|
E = E.pop(), C.produce(E, t), o = !0;
|
|
10960
10960
|
return;
|
|
10961
10961
|
}
|
|
10962
10962
|
} else if (c instanceof ag) {
|
|
10963
10963
|
const M = c;
|
|
10964
10964
|
QQ(A, B, Q, E, C, M.beginCaptures, D), C.produce(E, D[0].end), i = D[0].end;
|
|
10965
|
-
const F = M.getContentName(B.content, D),
|
|
10966
|
-
if (E = E.withContentNameScopesList(
|
|
10965
|
+
const F = M.getContentName(B.content, D), m = u.pushAttributed(F, A);
|
|
10966
|
+
if (E = E.withContentNameScopesList(m), M.whileHasBackReferences && (E = E.withEndRule(M.getWhileWithResolvedBackReferences(B.content, D))), !r && d.hasSameRuleAs(E)) {
|
|
10967
10967
|
E = E.pop(), C.produce(E, t), o = !0;
|
|
10968
10968
|
return;
|
|
10969
10969
|
}
|
|
@@ -11233,7 +11233,7 @@ class nh {
|
|
|
11233
11233
|
let C;
|
|
11234
11234
|
if (!Q || Q === NQ.NULL) {
|
|
11235
11235
|
C = !0;
|
|
11236
|
-
const i = this._basicScopeAttributesProvider.getDefaultAttributes(), s = this.themeProvider.getDefaults(), w =
|
|
11236
|
+
const i = this._basicScopeAttributesProvider.getDefaultAttributes(), s = this.themeProvider.getDefaults(), w = _B.set(0, i.languageId, i.tokenType, null, s.fontStyle, s.foregroundId, s.backgroundId), n = this.getRule(this._rootId).getName(null, null);
|
|
11237
11237
|
let D;
|
|
11238
11238
|
n ? D = MA.createRootAndLookUpScopeName(n, w, this) : D = MA.createRoot("unknown", w), Q = new NQ(null, this._rootId, -1, -1, !1, null, D, D);
|
|
11239
11239
|
} else
|
|
@@ -11304,7 +11304,7 @@ class MA {
|
|
|
11304
11304
|
}
|
|
11305
11305
|
static mergeAttributes(B, Q, g) {
|
|
11306
11306
|
let E = -1, C = 0, e = 0;
|
|
11307
|
-
return g !== null && (E = g.fontStyle, C = g.foregroundId, e = g.backgroundId),
|
|
11307
|
+
return g !== null && (E = g.fontStyle, C = g.foregroundId, e = g.backgroundId), _B.set(B, Q.languageId, Q.tokenType, null, E, C, e);
|
|
11308
11308
|
}
|
|
11309
11309
|
pushAttributed(B, Q) {
|
|
11310
11310
|
if (B === null)
|
|
@@ -11517,10 +11517,10 @@ class ah {
|
|
|
11517
11517
|
if ((E = this.balancedBracketSelectors) != null && E.matchesAlways && (e = !0), this._tokenTypeOverrides.length > 0 || this.balancedBracketSelectors && !this.balancedBracketSelectors.matchesAlways && !this.balancedBracketSelectors.matchesNever) {
|
|
11518
11518
|
const I = (B == null ? void 0 : B.getScopeNames()) ?? [];
|
|
11519
11519
|
for (const t of this._tokenTypeOverrides)
|
|
11520
|
-
t.matcher(I) && (C =
|
|
11520
|
+
t.matcher(I) && (C = _B.set(C, 0, t.type, null, -1, 0, 0));
|
|
11521
11521
|
this.balancedBracketSelectors && (e = this.balancedBracketSelectors.match(I));
|
|
11522
11522
|
}
|
|
11523
|
-
if (e && (C =
|
|
11523
|
+
if (e && (C = _B.set(C, 0, 8, e, -1, 0, 0)), this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 1] === C) {
|
|
11524
11524
|
this._lastTokenEndIndex = Q;
|
|
11525
11525
|
return;
|
|
11526
11526
|
}
|
|
@@ -12099,19 +12099,19 @@ function Rh(A, B, Q, g, E) {
|
|
|
12099
12099
|
E.includeExplanation && (r = B.tokenizeLine(D, o), c = r.tokens, d = 0);
|
|
12100
12100
|
const h = B.tokenizeLine2(D, o, I), u = h.tokens.length / 2;
|
|
12101
12101
|
for (let M = 0; M < u; M++) {
|
|
12102
|
-
const F = h.tokens[2 * M],
|
|
12103
|
-
if (F ===
|
|
12102
|
+
const F = h.tokens[2 * M], m = M + 1 < u ? h.tokens[2 * M + 2] : D.length;
|
|
12103
|
+
if (F === m)
|
|
12104
12104
|
continue;
|
|
12105
|
-
const
|
|
12106
|
-
content: D.substring(F,
|
|
12105
|
+
const x = h.tokens[2 * M + 1], q = MB(g[zA.getForeground(x)], C), S = zA.getFontStyle(x), R = {
|
|
12106
|
+
content: D.substring(F, m),
|
|
12107
12107
|
offset: a + F,
|
|
12108
12108
|
color: q,
|
|
12109
|
-
fontStyle:
|
|
12109
|
+
fontStyle: S
|
|
12110
12110
|
};
|
|
12111
12111
|
if (E.includeExplanation) {
|
|
12112
12112
|
R.explanation = [];
|
|
12113
12113
|
let k = 0;
|
|
12114
|
-
for (; F + k <
|
|
12114
|
+
for (; F + k < m; ) {
|
|
12115
12115
|
const G = c[d], P = D.substring(G.startIndex, G.endIndex);
|
|
12116
12116
|
k += P.length, R.explanation.push({
|
|
12117
12117
|
content: P,
|
|
@@ -12475,10 +12475,10 @@ function Jh(A, B, Q) {
|
|
|
12475
12475
|
properties: {},
|
|
12476
12476
|
children: [{ type: "text", value: M.content }]
|
|
12477
12477
|
};
|
|
12478
|
-
const
|
|
12479
|
-
|
|
12480
|
-
for (const
|
|
12481
|
-
F = ((h =
|
|
12478
|
+
const m = M.htmlStyle || Cs(Es(M));
|
|
12479
|
+
m && (F.properties.style = m);
|
|
12480
|
+
for (const x of g)
|
|
12481
|
+
F = ((h = x == null ? void 0 : x.span) == null ? void 0 : h.call(i, F, r + 1, d, c)) || F;
|
|
12482
12482
|
e === "inline" ? C.children.push(F) : e === "classic" && c.children.push(F), d += M.content.length;
|
|
12483
12483
|
}
|
|
12484
12484
|
if (e === "classic") {
|
|
@@ -12607,8 +12607,8 @@ KA.prototype.commaOrSpaceSeparated = !1;
|
|
|
12607
12607
|
KA.prototype.mustUseProperty = !1;
|
|
12608
12608
|
KA.prototype.defined = !1;
|
|
12609
12609
|
let bh = 0;
|
|
12610
|
-
const Z =
|
|
12611
|
-
function
|
|
12610
|
+
const Z = KB(), tA = KB(), ts = KB(), y = KB(), QA = KB(), xB = KB(), HA = KB();
|
|
12611
|
+
function KB() {
|
|
12612
12612
|
return 2 ** ++bh;
|
|
12613
12613
|
}
|
|
12614
12614
|
var OE = /* @__PURE__ */ Object.freeze({
|
|
@@ -12616,7 +12616,7 @@ var OE = /* @__PURE__ */ Object.freeze({
|
|
|
12616
12616
|
boolean: Z,
|
|
12617
12617
|
booleanish: tA,
|
|
12618
12618
|
commaOrSpaceSeparated: HA,
|
|
12619
|
-
commaSeparated:
|
|
12619
|
+
commaSeparated: xB,
|
|
12620
12620
|
number: y,
|
|
12621
12621
|
overloadedBoolean: ts,
|
|
12622
12622
|
spaceSeparated: QA
|
|
@@ -12759,7 +12759,7 @@ const ns = zB({
|
|
|
12759
12759
|
properties: {
|
|
12760
12760
|
// Standard Properties.
|
|
12761
12761
|
abbr: null,
|
|
12762
|
-
accept:
|
|
12762
|
+
accept: xB,
|
|
12763
12763
|
acceptCharset: QA,
|
|
12764
12764
|
accessKey: QA,
|
|
12765
12765
|
action: null,
|
|
@@ -12786,7 +12786,7 @@ const ns = zB({
|
|
|
12786
12786
|
contentEditable: tA,
|
|
12787
12787
|
controls: Z,
|
|
12788
12788
|
controlsList: QA,
|
|
12789
|
-
coords: y |
|
|
12789
|
+
coords: y | xB,
|
|
12790
12790
|
crossOrigin: null,
|
|
12791
12791
|
data: null,
|
|
12792
12792
|
dateTime: null,
|
|
@@ -13366,9 +13366,9 @@ const ns = zB({
|
|
|
13366
13366
|
from: null,
|
|
13367
13367
|
fx: null,
|
|
13368
13368
|
fy: null,
|
|
13369
|
-
g1:
|
|
13370
|
-
g2:
|
|
13371
|
-
glyphName:
|
|
13369
|
+
g1: xB,
|
|
13370
|
+
g2: xB,
|
|
13371
|
+
glyphName: xB,
|
|
13372
13372
|
glyphOrientationHorizontal: null,
|
|
13373
13373
|
glyphOrientationVertical: null,
|
|
13374
13374
|
glyphRef: null,
|
|
@@ -14141,19 +14141,19 @@ function Id(A, B, Q) {
|
|
|
14141
14141
|
}
|
|
14142
14142
|
return E && (!Q.useShortestReferences || E.length < g.length) ? E : g;
|
|
14143
14143
|
}
|
|
14144
|
-
function
|
|
14144
|
+
function OB(A, B) {
|
|
14145
14145
|
return Ad(A, Object.assign({ format: Id }, B));
|
|
14146
14146
|
}
|
|
14147
14147
|
const td = /^>|^->|<!--|-->|--!>|<!-$/g, od = [">"], sd = ["<", ">"];
|
|
14148
14148
|
function id(A, B, Q, g) {
|
|
14149
|
-
return g.settings.bogusComments ? "<?" +
|
|
14149
|
+
return g.settings.bogusComments ? "<?" + OB(
|
|
14150
14150
|
A.value,
|
|
14151
14151
|
Object.assign({}, g.settings.characterReferences, {
|
|
14152
14152
|
subset: od
|
|
14153
14153
|
})
|
|
14154
14154
|
) + ">" : "<!--" + A.value.replace(td, E) + "-->";
|
|
14155
14155
|
function E(C) {
|
|
14156
|
-
return
|
|
14156
|
+
return OB(
|
|
14157
14157
|
C,
|
|
14158
14158
|
Object.assign({}, g.settings.characterReferences, {
|
|
14159
14159
|
subset: sd
|
|
@@ -14387,7 +14387,7 @@ function md(A, B, Q) {
|
|
|
14387
14387
|
let e = A.quote, I;
|
|
14388
14388
|
if (g.overloadedBoolean && (Q === g.attribute || Q === "") ? Q = !0 : (g.boolean || g.overloadedBoolean && typeof Q != "string") && (Q = !!Q), Q == null || Q === !1 || typeof Q == "number" && Number.isNaN(Q))
|
|
14389
14389
|
return "";
|
|
14390
|
-
const t =
|
|
14390
|
+
const t = OB(
|
|
14391
14391
|
g.attribute,
|
|
14392
14392
|
Object.assign({}, A.settings.characterReferences, {
|
|
14393
14393
|
// Always encode without parse errors in non-HTML.
|
|
@@ -14396,13 +14396,13 @@ function md(A, B, Q) {
|
|
|
14396
14396
|
);
|
|
14397
14397
|
return Q === !0 || (Q = Array.isArray(Q) ? (g.commaSeparated ? nd : Dd)(Q, {
|
|
14398
14398
|
padLeft: !A.settings.tightCommaSeparatedLists
|
|
14399
|
-
}) : String(Q), A.settings.collapseEmptyAttributes && !Q) ? t : (A.settings.preferUnquoted && (I =
|
|
14399
|
+
}) : String(Q), A.settings.collapseEmptyAttributes && !Q) ? t : (A.settings.preferUnquoted && (I = OB(
|
|
14400
14400
|
Q,
|
|
14401
14401
|
Object.assign({}, A.settings.characterReferences, {
|
|
14402
14402
|
attribute: !0,
|
|
14403
14403
|
subset: qQ.unquoted[E][C]
|
|
14404
14404
|
})
|
|
14405
|
-
)), I !== Q && (A.settings.quoteSmart && TI(Q, e) > TI(Q, A.alternative) && (e = A.alternative), I = e +
|
|
14405
|
+
)), I !== Q && (A.settings.quoteSmart && TI(Q, e) > TI(Q, A.alternative) && (e = A.alternative), I = e + OB(
|
|
14406
14406
|
Q,
|
|
14407
14407
|
Object.assign({}, A.settings.characterReferences, {
|
|
14408
14408
|
// Always encode without parse errors in non-HTML.
|
|
@@ -14413,7 +14413,7 @@ function md(A, B, Q) {
|
|
|
14413
14413
|
}
|
|
14414
14414
|
const Jd = ["<", "&"];
|
|
14415
14415
|
function hs(A, B, Q, g) {
|
|
14416
|
-
return Q && Q.type === "element" && (Q.tagName === "script" || Q.tagName === "style") ? A.value :
|
|
14416
|
+
return Q && Q.type === "element" && (Q.tagName === "script" || Q.tagName === "style") ? A.value : OB(
|
|
14417
14417
|
A.value,
|
|
14418
14418
|
Object.assign({}, g.settings.characterReferences, {
|
|
14419
14419
|
subset: Jd
|
|
@@ -15049,7 +15049,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15049
15049
|
},
|
|
15050
15050
|
emits: ["loaded"],
|
|
15051
15051
|
setup(A, { emit: B }) {
|
|
15052
|
-
const Q = A, g = B, E =
|
|
15052
|
+
const Q = A, g = B, E = J(() => {
|
|
15053
15053
|
const C = Q.lang === "text" ? { code: Q.code, supported: !1 } : h8(Q.code, Q.lang) || { code: Q.code, supported: !1 };
|
|
15054
15054
|
return C.supported && Q.transformRendered && (C.code = Q.transformRendered(C.code)), C.supported && aB(() => g("loaded")), C;
|
|
15055
15055
|
});
|
|
@@ -15136,7 +15136,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15136
15136
|
__name: "index",
|
|
15137
15137
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
15138
15138
|
setup(A, { emit: B }) {
|
|
15139
|
-
const Q = B, g = K(), E = K(!1), { width: C } = Na(g), e =
|
|
15139
|
+
const Q = B, g = K(), E = K(!1), { width: C } = Na(g), e = J(() => E.value ? C.value < 700 : !1), I = K(""), t = K(""), [o, i] = ha(!0), s = K(!1), w = K(!1), n = K(""), D = K(!1);
|
|
15140
15140
|
function a(v, O = [], j = []) {
|
|
15141
15141
|
var BA, nA;
|
|
15142
15142
|
return O.push(v.id), ((BA = v.children) == null ? void 0 : BA.length) === 0 && j.push([...O]), (nA = v.children) == null || nA.forEach((EB) => {
|
|
@@ -15165,24 +15165,24 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15165
15165
|
nA !== -1 && j.push(...BA.slice(0, nA + 1));
|
|
15166
15166
|
}), [...new Set(j)];
|
|
15167
15167
|
}
|
|
15168
|
-
const h = K([]), u =
|
|
15168
|
+
const h = K([]), u = J(() => {
|
|
15169
15169
|
var v, O;
|
|
15170
15170
|
return (v = h.value) != null && v.length ? a((O = h.value) == null ? void 0 : O[0]) : [];
|
|
15171
|
-
}), M =
|
|
15171
|
+
}), M = J(() => r(h.value)), F = J(() => M.value.map((v) => v.id)), m = K({}), x = K(""), q = J(() => {
|
|
15172
15172
|
const v = [], O = (j) => {
|
|
15173
15173
|
j.forEach((BA) => {
|
|
15174
15174
|
var nA;
|
|
15175
|
-
BA.id ===
|
|
15175
|
+
BA.id === x.value && v.push(BA), (nA = BA.children) != null && nA.length && O(BA.children);
|
|
15176
15176
|
});
|
|
15177
15177
|
};
|
|
15178
15178
|
return O(h.value), v[0];
|
|
15179
|
-
}),
|
|
15179
|
+
}), S = J(() => {
|
|
15180
15180
|
var v;
|
|
15181
15181
|
return ((v = q.value) == null ? void 0 : v.file) ?? "";
|
|
15182
|
-
}), R =
|
|
15182
|
+
}), R = J(() => {
|
|
15183
15183
|
const v = {};
|
|
15184
|
-
for (const O in
|
|
15185
|
-
const BA =
|
|
15184
|
+
for (const O in m.value) {
|
|
15185
|
+
const BA = m.value[O].filter((EB) => {
|
|
15186
15186
|
try {
|
|
15187
15187
|
return $a({
|
|
15188
15188
|
[EB.key]: EB.value
|
|
@@ -15202,7 +15202,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15202
15202
|
return _.value.getInspectorTree({ inspectorId: AQ, filter: v }).then((O) => {
|
|
15203
15203
|
var BA, nA;
|
|
15204
15204
|
const j = cA(O);
|
|
15205
|
-
h.value = j,
|
|
15205
|
+
h.value = j, x.value = (nA = (BA = h.value) == null ? void 0 : BA[0]) == null ? void 0 : nA.id, k.value = c(u.value, 1), s.value = !0;
|
|
15206
15206
|
});
|
|
15207
15207
|
}
|
|
15208
15208
|
function X(v) {
|
|
@@ -15215,23 +15215,23 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15215
15215
|
}
|
|
15216
15216
|
function W(v) {
|
|
15217
15217
|
_.value.getInspectorState({ inspectorId: AQ, nodeId: v }).then((O) => {
|
|
15218
|
-
|
|
15218
|
+
m.value = X(cA(O)), G.value = Array.from({ length: Object.keys(m.value).length }, (j, BA) => `${BA}`);
|
|
15219
15219
|
});
|
|
15220
15220
|
}
|
|
15221
|
-
aA(
|
|
15221
|
+
aA(x, (v) => {
|
|
15222
15222
|
W(v), D.value && NA();
|
|
15223
15223
|
});
|
|
15224
15224
|
function b(v) {
|
|
15225
15225
|
const O = cA(v);
|
|
15226
|
-
O.inspectorId !== AQ || O.nodeId !==
|
|
15226
|
+
O.inspectorId !== AQ || O.nodeId !== x.value || (m.value = X({ state: O.state.state }));
|
|
15227
15227
|
}
|
|
15228
15228
|
_.functions.on(IA.INSPECTOR_STATE_UPDATED, b), P();
|
|
15229
15229
|
function hA(v) {
|
|
15230
15230
|
var j, BA;
|
|
15231
15231
|
const O = cA(v);
|
|
15232
|
-
O.inspectorId === AQ && (h.value = O.rootNodes, F.value.includes(
|
|
15232
|
+
O.inspectorId === AQ && (h.value = O.rootNodes, F.value.includes(x.value) || (x.value = (BA = (j = h.value) == null ? void 0 : j[0]) == null ? void 0 : BA.id, k.value = c(u.value, 1)));
|
|
15233
15233
|
}
|
|
15234
|
-
_.functions.on(IA.INSPECTOR_TREE_UPDATED, hA),
|
|
15234
|
+
_.functions.on(IA.INSPECTOR_TREE_UPDATED, hA), HB(() => {
|
|
15235
15235
|
_.functions.off(IA.INSPECTOR_STATE_UPDATED, b), _.functions.off(IA.INSPECTOR_TREE_UPDATED, hA);
|
|
15236
15236
|
}), da(I, (v) => {
|
|
15237
15237
|
const O = v.trim().toLowerCase();
|
|
@@ -15242,24 +15242,24 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15242
15242
|
function wA() {
|
|
15243
15243
|
w.value = !0, Q("onInspectComponentStart"), _.value.inspectComponentInspector().then((v) => {
|
|
15244
15244
|
const O = JSON.parse(v);
|
|
15245
|
-
|
|
15245
|
+
x.value = O.id, k.value.includes(O.id) || k.value.push(O.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...d(u.value, O.id)])], YB();
|
|
15246
15246
|
}).finally(() => {
|
|
15247
15247
|
w.value = !1, Q("onInspectComponentEnd");
|
|
15248
15248
|
});
|
|
15249
15249
|
}
|
|
15250
15250
|
function FA() {
|
|
15251
|
-
_.value.scrollToComponent(
|
|
15251
|
+
_.value.scrollToComponent(x.value);
|
|
15252
15252
|
}
|
|
15253
15253
|
function NA() {
|
|
15254
|
-
_.value.getComponentRenderCode(
|
|
15254
|
+
_.value.getComponentRenderCode(x.value).then((v) => {
|
|
15255
15255
|
n.value = v, D.value = !0;
|
|
15256
15256
|
});
|
|
15257
15257
|
}
|
|
15258
15258
|
function rA() {
|
|
15259
|
-
Q("openInEditor",
|
|
15259
|
+
Q("openInEditor", S.value);
|
|
15260
15260
|
}
|
|
15261
15261
|
const YA = K();
|
|
15262
|
-
function
|
|
15262
|
+
function YB() {
|
|
15263
15263
|
setTimeout(() => {
|
|
15264
15264
|
var O;
|
|
15265
15265
|
const v = (O = YA.value) == null ? void 0 : O.querySelector(".active");
|
|
@@ -15306,8 +15306,8 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15306
15306
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
15307
15307
|
}, [
|
|
15308
15308
|
U(KQ, {
|
|
15309
|
-
modelValue:
|
|
15310
|
-
"onUpdate:modelValue": O[1] || (O[1] = (j) =>
|
|
15309
|
+
modelValue: x.value,
|
|
15310
|
+
"onUpdate:modelValue": O[1] || (O[1] = (j) => x.value = j),
|
|
15311
15311
|
data: h.value,
|
|
15312
15312
|
"with-tag": !0
|
|
15313
15313
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -15360,7 +15360,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15360
15360
|
{ bottom: !0 }
|
|
15361
15361
|
]
|
|
15362
15362
|
]),
|
|
15363
|
-
|
|
15363
|
+
S.value ? uA((f(), H("i", {
|
|
15364
15364
|
key: 0,
|
|
15365
15365
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
15366
15366
|
onClick: rA
|
|
@@ -15377,7 +15377,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15377
15377
|
U(UQ, {
|
|
15378
15378
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
15379
15379
|
data: R.value,
|
|
15380
|
-
"node-id":
|
|
15380
|
+
"node-id": x.value,
|
|
15381
15381
|
"inspector-id": AQ,
|
|
15382
15382
|
"expanded-state-id": "component-state"
|
|
15383
15383
|
}, null, 8, ["data", "node-id"])
|
|
@@ -15396,7 +15396,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15396
15396
|
}, 8, ["horizontal"])
|
|
15397
15397
|
]));
|
|
15398
15398
|
}
|
|
15399
|
-
}),
|
|
15399
|
+
}), Mp = /* @__PURE__ */ RB(b8, [["__scopeId", "data-v-87b79665"]]), T8 = {}, q8 = {
|
|
15400
15400
|
viewBox: "0 0 566 154",
|
|
15401
15401
|
fill: "none",
|
|
15402
15402
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -15420,7 +15420,7 @@ const d8 = ["innerHTML"], M8 = { class: "shiki" }, p8 = ["textContent"], f8 = /*
|
|
|
15420
15420
|
function Z8(A, B) {
|
|
15421
15421
|
return f(), H("svg", q8, X8);
|
|
15422
15422
|
}
|
|
15423
|
-
const z8 = /* @__PURE__ */
|
|
15423
|
+
const z8 = /* @__PURE__ */ RB(T8, [["render", Z8]]), V8 = {
|
|
15424
15424
|
"h-full": "",
|
|
15425
15425
|
"w-full": "",
|
|
15426
15426
|
flex: "",
|
|
@@ -15551,27 +15551,27 @@ const DM = { class: "h-full flex flex-col" }, aM = {
|
|
|
15551
15551
|
}, cM = /* @__PURE__ */ V({
|
|
15552
15552
|
__name: "Index",
|
|
15553
15553
|
setup(A) {
|
|
15554
|
-
const { expanded: B } = AB(), { expanded: Q } = AB("routes-state"), g = mQ(), E =
|
|
15554
|
+
const { expanded: B } = AB(), { expanded: Q } = AB("routes-state"), g = mQ(), E = J(() => g.value.id), C = K(""), e = K([]), I = J(() => {
|
|
15555
15555
|
var u, M;
|
|
15556
15556
|
return (u = e.value) != null && u.length ? s((M = e.value) == null ? void 0 : M[0]) : [];
|
|
15557
|
-
}), t =
|
|
15557
|
+
}), t = J(() => n(e.value)), o = J(() => t.value.map((u) => u.id)), i = K({});
|
|
15558
15558
|
function s(u, M = [], F = []) {
|
|
15559
|
-
var
|
|
15560
|
-
return M.push(u.id), ((
|
|
15559
|
+
var m, x;
|
|
15560
|
+
return M.push(u.id), ((m = u.children) == null ? void 0 : m.length) === 0 && F.push([...M]), (x = u.children) == null || x.forEach((q) => {
|
|
15561
15561
|
s(q, M, F);
|
|
15562
15562
|
}), M.pop(), F;
|
|
15563
15563
|
}
|
|
15564
15564
|
function w(u, M) {
|
|
15565
15565
|
const F = [];
|
|
15566
|
-
return u.forEach((
|
|
15567
|
-
F.push(...
|
|
15566
|
+
return u.forEach((m) => {
|
|
15567
|
+
F.push(...m.slice(0, M + 1));
|
|
15568
15568
|
}), [...new Set(F)];
|
|
15569
15569
|
}
|
|
15570
15570
|
function n(u) {
|
|
15571
|
-
const M = [], F = (
|
|
15572
|
-
|
|
15571
|
+
const M = [], F = (m) => {
|
|
15572
|
+
m.forEach((x) => {
|
|
15573
15573
|
var q;
|
|
15574
|
-
M.push(
|
|
15574
|
+
M.push(x), (q = x.children) != null && q.length && F(x.children);
|
|
15575
15575
|
});
|
|
15576
15576
|
};
|
|
15577
15577
|
return F(u), M;
|
|
@@ -15584,7 +15584,7 @@ const DM = { class: "h-full flex flex-col" }, aM = {
|
|
|
15584
15584
|
}
|
|
15585
15585
|
function a(u) {
|
|
15586
15586
|
_.value.getInspectorState({ inspectorId: E.value, nodeId: u }).then((M) => {
|
|
15587
|
-
i.value = D(cA(M)), Q.value = Array.from({ length: Object.keys(i.value).length }, (F,
|
|
15587
|
+
i.value = D(cA(M)), Q.value = Array.from({ length: Object.keys(i.value).length }, (F, m) => `${m}`);
|
|
15588
15588
|
});
|
|
15589
15589
|
}
|
|
15590
15590
|
function r() {
|
|
@@ -15607,9 +15607,9 @@ const DM = { class: "h-full flex flex-col" }, aM = {
|
|
|
15607
15607
|
if (M.inspectorId !== E.value)
|
|
15608
15608
|
return;
|
|
15609
15609
|
const F = M.state;
|
|
15610
|
-
i.value = D(F)
|
|
15610
|
+
i.value = D(F);
|
|
15611
15611
|
}
|
|
15612
|
-
return _.functions.on(IA.INSPECTOR_TREE_UPDATED, d), _.functions.on(IA.INSPECTOR_STATE_UPDATED, h),
|
|
15612
|
+
return _.functions.on(IA.INSPECTOR_TREE_UPDATED, d), _.functions.on(IA.INSPECTOR_STATE_UPDATED, h), HB(() => {
|
|
15613
15613
|
_.functions.off(IA.INSPECTOR_TREE_UPDATED, d), _.functions.off(IA.INSPECTOR_STATE_UPDATED, h);
|
|
15614
15614
|
}), (u, M) => (f(), H("div", DM, [
|
|
15615
15615
|
U(Kg, {
|
|
@@ -15677,7 +15677,7 @@ const DM = { class: "h-full flex flex-col" }, aM = {
|
|
|
15677
15677
|
}), uM = {
|
|
15678
15678
|
"h-full": "",
|
|
15679
15679
|
"w-full": ""
|
|
15680
|
-
},
|
|
15680
|
+
}, pp = /* @__PURE__ */ V({
|
|
15681
15681
|
__name: "index",
|
|
15682
15682
|
props: {
|
|
15683
15683
|
id: {}
|
|
@@ -15740,7 +15740,7 @@ const DM = { class: "h-full flex flex-col" }, aM = {
|
|
|
15740
15740
|
function fM(A, B) {
|
|
15741
15741
|
return f(), H("svg", dM, pM);
|
|
15742
15742
|
}
|
|
15743
|
-
const FM = /* @__PURE__ */
|
|
15743
|
+
const FM = /* @__PURE__ */ RB(hM, [["render", fM]]), NM = {
|
|
15744
15744
|
"h-full": "",
|
|
15745
15745
|
"w-full": "",
|
|
15746
15746
|
flex: "",
|
|
@@ -15758,36 +15758,36 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15758
15758
|
"mt--10": "",
|
|
15759
15759
|
"items-center": "",
|
|
15760
15760
|
"justify-center": ""
|
|
15761
|
-
}, RM = {
|
|
15761
|
+
}, RM = { class: "mr-1" }, kM = {
|
|
15762
15762
|
key: 0,
|
|
15763
15763
|
class: "inline-block w20"
|
|
15764
|
-
},
|
|
15764
|
+
}, PM = ["src", "alt"], UM = {
|
|
15765
15765
|
key: 1,
|
|
15766
15766
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
15767
|
-
},
|
|
15767
|
+
}, KM = {
|
|
15768
15768
|
mb6: "",
|
|
15769
15769
|
"mt--1": "",
|
|
15770
15770
|
"text-center": "",
|
|
15771
15771
|
"text-sm": "",
|
|
15772
15772
|
flex: "~ gap-1"
|
|
15773
|
-
},
|
|
15773
|
+
}, YM = { op40: "" }, SM = /* @__PURE__ */ p("div", { "flex-auto": "" }, null, -1), mM = { flex: "~ gap2 wrap" }, JM = /* @__PURE__ */ p("div", {
|
|
15774
15774
|
"i-carbon-tree-view-alt": "",
|
|
15775
15775
|
"text-3xl": ""
|
|
15776
|
-
}, null, -1),
|
|
15777
|
-
|
|
15778
|
-
|
|
15779
|
-
],
|
|
15776
|
+
}, null, -1), xM = /* @__PURE__ */ p("code", null, "State", -1), OM = [
|
|
15777
|
+
JM,
|
|
15778
|
+
xM
|
|
15779
|
+
], vM = /* @__PURE__ */ p("div", {
|
|
15780
15780
|
"i-mdi:timeline-clock-outline": "",
|
|
15781
15781
|
"text-3xl": ""
|
|
15782
|
-
}, null, -1),
|
|
15783
|
-
|
|
15784
|
-
|
|
15785
|
-
],
|
|
15782
|
+
}, null, -1), bM = /* @__PURE__ */ p("div", null, "Timeline", -1), TM = [
|
|
15783
|
+
vM,
|
|
15784
|
+
bM
|
|
15785
|
+
], qM = {
|
|
15786
15786
|
flex: "~ gap-6 wrap",
|
|
15787
15787
|
"mt-5": "",
|
|
15788
15788
|
"items-center": "",
|
|
15789
15789
|
"justify-center": ""
|
|
15790
|
-
},
|
|
15790
|
+
}, WM = ["href"], _M = /* @__PURE__ */ p("div", { "i-carbon-document": "" }, null, -1), XM = /* @__PURE__ */ p("div", { "flex-auto": "" }, null, -1), ZM = /* @__PURE__ */ V({
|
|
15791
15791
|
__name: "Home",
|
|
15792
15792
|
setup(A) {
|
|
15793
15793
|
const B = yQ(), Q = mQ(), g = K(!1), E = K(!1);
|
|
@@ -15804,36 +15804,36 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15804
15804
|
LM,
|
|
15805
15805
|
p("div", yM, [
|
|
15806
15806
|
p("div", HM, [
|
|
15807
|
-
p("span",
|
|
15808
|
-
g.value ? AA("", !0) : (f(), H("span",
|
|
15807
|
+
p("span", RM, [
|
|
15808
|
+
g.value ? AA("", !0) : (f(), H("span", kM)),
|
|
15809
15809
|
uA(p("img", {
|
|
15810
15810
|
src: N(Q).logo,
|
|
15811
15811
|
alt: `${N(Q).label} Logo`,
|
|
15812
|
-
class: "inline-block
|
|
15812
|
+
class: "inline-block h16",
|
|
15813
15813
|
onError: e,
|
|
15814
15814
|
onLoad: C
|
|
15815
|
-
}, null, 40,
|
|
15815
|
+
}, null, 40, PM), [
|
|
15816
15816
|
[qs, g.value && !E.value]
|
|
15817
15817
|
]),
|
|
15818
|
-
E.value ? (f(), H("span",
|
|
15818
|
+
E.value ? (f(), H("span", UM, yA(N(Q).label), 1)) : AA("", !0)
|
|
15819
15819
|
]),
|
|
15820
15820
|
p("span", null, [
|
|
15821
15821
|
U(FM, { "h-18": "" })
|
|
15822
15822
|
])
|
|
15823
15823
|
]),
|
|
15824
|
-
p("div",
|
|
15825
|
-
p("span",
|
|
15824
|
+
p("div", KM, [
|
|
15825
|
+
p("span", YM, yA(N(Q).label) + " DevTools ", 1)
|
|
15826
15826
|
])
|
|
15827
15827
|
]),
|
|
15828
|
-
|
|
15829
|
-
p("div",
|
|
15828
|
+
SM,
|
|
15829
|
+
p("div", mM, [
|
|
15830
15830
|
p("div", {
|
|
15831
15831
|
flex: "~ col auto",
|
|
15832
15832
|
"min-w-40": "",
|
|
15833
15833
|
p4: "",
|
|
15834
15834
|
"theme-card-lime": "",
|
|
15835
15835
|
onClick: t[0] || (t[0] = (i) => N(B).push("/state"))
|
|
15836
|
-
},
|
|
15836
|
+
}, OM),
|
|
15837
15837
|
(o = N(Q).timelineLayerIds) != null && o.length ? (f(), H("div", {
|
|
15838
15838
|
key: 0,
|
|
15839
15839
|
flex: "~ col auto",
|
|
@@ -15841,9 +15841,9 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15841
15841
|
p4: "",
|
|
15842
15842
|
"theme-card-lime": "",
|
|
15843
15843
|
onClick: t[1] || (t[1] = (i) => N(B).push("/timeline"))
|
|
15844
|
-
},
|
|
15844
|
+
}, TM)) : AA("", !0)
|
|
15845
15845
|
]),
|
|
15846
|
-
p("div",
|
|
15846
|
+
p("div", qM, [
|
|
15847
15847
|
p("a", {
|
|
15848
15848
|
href: N(Q).homepage,
|
|
15849
15849
|
target: "_blank",
|
|
@@ -15853,30 +15853,30 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15853
15853
|
hover: "op100 text-yellow",
|
|
15854
15854
|
transition: ""
|
|
15855
15855
|
}, [
|
|
15856
|
-
|
|
15856
|
+
_M,
|
|
15857
15857
|
fA(" View Documentation ")
|
|
15858
|
-
], 8,
|
|
15858
|
+
], 8, WM)
|
|
15859
15859
|
]),
|
|
15860
|
-
|
|
15860
|
+
XM
|
|
15861
15861
|
])
|
|
15862
15862
|
]);
|
|
15863
15863
|
};
|
|
15864
15864
|
}
|
|
15865
|
-
}),
|
|
15865
|
+
}), zM = { class: "h-full flex flex-col" }, VM = { class: "h-full flex flex-col p2" }, jM = {
|
|
15866
15866
|
key: 0,
|
|
15867
15867
|
class: "mb-1 flex justify-end pb-1",
|
|
15868
15868
|
border: "b dashed base"
|
|
15869
|
-
},
|
|
15869
|
+
}, $M = { class: "flex items-center gap-2 px-1" }, Ap = ["onClick"], Bp = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Qp = { class: "h-full flex flex-col p2" }, gp = {
|
|
15870
15870
|
key: 0,
|
|
15871
15871
|
class: "mb-1 flex justify-end pb-1",
|
|
15872
15872
|
border: "b dashed base"
|
|
15873
|
-
},
|
|
15873
|
+
}, Ep = { class: "flex items-center gap-2 px-1" }, Cp = ["onClick"], ep = /* @__PURE__ */ V({
|
|
15874
15874
|
__name: "Index",
|
|
15875
15875
|
setup(A) {
|
|
15876
|
-
const { expanded: B } = AB(), { expanded: Q } = AB("custom-inspector-state"), g = mQ(), E =
|
|
15876
|
+
const { expanded: B } = AB(), { expanded: Q } = AB("custom-inspector-state"), g = mQ(), E = J(() => g.value.id), C = K([]), e = K([]), I = K([]), t = J(() => {
|
|
15877
15877
|
var R, k;
|
|
15878
15878
|
return (R = I.value) != null && R.length ? D((k = I.value) == null ? void 0 : k[0]) : [];
|
|
15879
|
-
}), o =
|
|
15879
|
+
}), o = J(() => r(I.value)), i = J(() => o.value.map((R) => R.id)), s = K(""), w = K({}), n = J(() => !Object.keys(w.value).length);
|
|
15880
15880
|
function D(R, k = [], G = []) {
|
|
15881
15881
|
var P, X;
|
|
15882
15882
|
return k.push(R.id), ((P = R.children) == null ? void 0 : P.length) === 0 && G.push([...k]), (X = R.children) == null || X.forEach((W) => {
|
|
@@ -15926,11 +15926,11 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15926
15926
|
w.value = M(cA(k)), Q.value = Array.from({ length: Object.keys(w.value).length }, (G, P) => `${P}`);
|
|
15927
15927
|
});
|
|
15928
15928
|
}
|
|
15929
|
-
function
|
|
15929
|
+
function m() {
|
|
15930
15930
|
w.value = {};
|
|
15931
15931
|
}
|
|
15932
15932
|
aA(s, () => {
|
|
15933
|
-
|
|
15933
|
+
m(), F(s.value);
|
|
15934
15934
|
}), (() => {
|
|
15935
15935
|
_.value.getInspectorTree({ inspectorId: E.value, filter: "" }).then((R) => {
|
|
15936
15936
|
const k = cA(R);
|
|
@@ -15942,7 +15942,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15942
15942
|
const k = cA(R);
|
|
15943
15943
|
!k.rootNodes.length || k.inspectorId !== E.value || (I.value = k.rootNodes, i.value.includes(s.value) || (s.value = (P = (G = I.value) == null ? void 0 : G[0]) == null ? void 0 : P.id, B.value = a(t.value, 1)));
|
|
15944
15944
|
}
|
|
15945
|
-
function
|
|
15945
|
+
function S(R) {
|
|
15946
15946
|
const k = cA(R);
|
|
15947
15947
|
if (k.inspectorId !== E.value || !k.state || k.nodeId !== s.value)
|
|
15948
15948
|
return;
|
|
@@ -15950,10 +15950,10 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15950
15950
|
w.value = M(P);
|
|
15951
15951
|
}
|
|
15952
15952
|
return Pg(() => {
|
|
15953
|
-
_.functions.on(IA.INSPECTOR_TREE_UPDATED, q), _.functions.on(IA.INSPECTOR_STATE_UPDATED,
|
|
15954
|
-
}),
|
|
15955
|
-
_.functions.off(IA.INSPECTOR_TREE_UPDATED, q), _.functions.off(IA.INSPECTOR_STATE_UPDATED,
|
|
15956
|
-
}), (R, k) => (f(), H("div",
|
|
15953
|
+
_.functions.on(IA.INSPECTOR_TREE_UPDATED, q), _.functions.on(IA.INSPECTOR_STATE_UPDATED, S);
|
|
15954
|
+
}), HB(() => {
|
|
15955
|
+
_.functions.off(IA.INSPECTOR_TREE_UPDATED, q), _.functions.off(IA.INSPECTOR_STATE_UPDATED, S);
|
|
15956
|
+
}), (R, k) => (f(), H("div", zM, [
|
|
15957
15957
|
U(Kg, {
|
|
15958
15958
|
"doc-link": N(g).homepage
|
|
15959
15959
|
}, {
|
|
@@ -15975,9 +15975,9 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15975
15975
|
default: T(() => {
|
|
15976
15976
|
var G;
|
|
15977
15977
|
return [
|
|
15978
|
-
p("div",
|
|
15979
|
-
(G = e.value) != null && G.length ? (f(), H("div",
|
|
15980
|
-
p("div",
|
|
15978
|
+
p("div", VM, [
|
|
15979
|
+
(G = e.value) != null && G.length ? (f(), H("div", jM, [
|
|
15980
|
+
p("div", $M, [
|
|
15981
15981
|
(f(!0), H(lA, null, $A(e.value, (P, X) => uA((f(), H("div", {
|
|
15982
15982
|
key: X,
|
|
15983
15983
|
class: "flex items-center gap1",
|
|
@@ -15990,7 +15990,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
15990
15990
|
"text-base": "",
|
|
15991
15991
|
"hover:op100": ""
|
|
15992
15992
|
}, null, 2)
|
|
15993
|
-
], 8,
|
|
15993
|
+
], 8, Ap)), [
|
|
15994
15994
|
[
|
|
15995
15995
|
N(UA),
|
|
15996
15996
|
{ content: P.tooltip },
|
|
@@ -16000,7 +16000,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16000
16000
|
])), 128))
|
|
16001
16001
|
])
|
|
16002
16002
|
])) : AA("", !0),
|
|
16003
|
-
p("div",
|
|
16003
|
+
p("div", Bp, [
|
|
16004
16004
|
U(KQ, {
|
|
16005
16005
|
modelValue: s.value,
|
|
16006
16006
|
"onUpdate:modelValue": k[0] || (k[0] = (P) => s.value = P),
|
|
@@ -16016,9 +16016,9 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16016
16016
|
default: T(() => {
|
|
16017
16017
|
var G;
|
|
16018
16018
|
return [
|
|
16019
|
-
p("div",
|
|
16020
|
-
(G = C.value) != null && G.length ? (f(), H("div",
|
|
16021
|
-
p("div",
|
|
16019
|
+
p("div", Qp, [
|
|
16020
|
+
(G = C.value) != null && G.length ? (f(), H("div", gp, [
|
|
16021
|
+
p("div", Ep, [
|
|
16022
16022
|
(f(!0), H(lA, null, $A(C.value, (P, X) => uA((f(), H("div", {
|
|
16023
16023
|
key: X,
|
|
16024
16024
|
class: "flex items-center gap1",
|
|
@@ -16031,7 +16031,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16031
16031
|
"text-base": "",
|
|
16032
16032
|
"hover:op100": ""
|
|
16033
16033
|
}, null, 2)
|
|
16034
|
-
], 8,
|
|
16034
|
+
], 8, Cp)), [
|
|
16035
16035
|
[
|
|
16036
16036
|
N(UA),
|
|
16037
16037
|
{ content: P.tooltip },
|
|
@@ -16069,7 +16069,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16069
16069
|
}))
|
|
16070
16070
|
]));
|
|
16071
16071
|
}
|
|
16072
|
-
}),
|
|
16072
|
+
}), Ip = /* @__PURE__ */ V({
|
|
16073
16073
|
__name: "Index",
|
|
16074
16074
|
setup(A) {
|
|
16075
16075
|
const B = mQ();
|
|
@@ -16078,7 +16078,7 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16078
16078
|
"doc-link": N(B).homepage
|
|
16079
16079
|
}, null, 8, ["layer-ids", "doc-link"]));
|
|
16080
16080
|
}
|
|
16081
|
-
}),
|
|
16081
|
+
}), tp = {}, op = (A) => (GQ("data-v-b8018f07"), A = A(), LQ(), A), sp = { class: "h-screen w-screen $ui-fcc flex-col" }, ip = /* @__PURE__ */ op(() => /* @__PURE__ */ p("div", { class: "outer" }, [
|
|
16082
16082
|
/* @__PURE__ */ p("div", { class: "inner" }, [
|
|
16083
16083
|
/* @__PURE__ */ p("i", {
|
|
16084
16084
|
class: "i-logos-vue inline-block h8! w8!",
|
|
@@ -16086,41 +16086,41 @@ const FM = /* @__PURE__ */ HB(hM, [["render", fM]]), NM = {
|
|
|
16086
16086
|
})
|
|
16087
16087
|
])
|
|
16088
16088
|
], -1));
|
|
16089
|
-
function
|
|
16090
|
-
return f(), H("div",
|
|
16091
|
-
|
|
16089
|
+
function wp(A, B) {
|
|
16090
|
+
return f(), H("div", sp, [
|
|
16091
|
+
ip,
|
|
16092
16092
|
eA(A.$slots, "default", {}, void 0, !0)
|
|
16093
16093
|
]);
|
|
16094
16094
|
}
|
|
16095
|
-
const
|
|
16095
|
+
const np = /* @__PURE__ */ RB(tp, [["render", wp], ["__scopeId", "data-v-b8018f07"]]), Dp = {
|
|
16096
16096
|
"h-full": "",
|
|
16097
16097
|
"w-full": ""
|
|
16098
|
-
},
|
|
16098
|
+
}, ap = { key: 0 }, fp = /* @__PURE__ */ V({
|
|
16099
16099
|
__name: "index",
|
|
16100
16100
|
props: {
|
|
16101
16101
|
id: {}
|
|
16102
16102
|
},
|
|
16103
16103
|
emits: ["loadError"],
|
|
16104
16104
|
setup(A, { emit: B }) {
|
|
16105
|
-
const Q = A, g = B, E = ps(), C = K(!1), e =
|
|
16105
|
+
const Q = A, g = B, E = ps(), C = K(!1), e = J(() => {
|
|
16106
16106
|
var i;
|
|
16107
16107
|
return [
|
|
16108
16108
|
{
|
|
16109
16109
|
path: "/",
|
|
16110
16110
|
name: "Home",
|
|
16111
|
-
component:
|
|
16111
|
+
component: ZM,
|
|
16112
16112
|
icon: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg"
|
|
16113
16113
|
},
|
|
16114
16114
|
{
|
|
16115
16115
|
path: "/state",
|
|
16116
16116
|
name: "State",
|
|
16117
|
-
component:
|
|
16117
|
+
component: ep,
|
|
16118
16118
|
icon: "i-carbon-tree-view-alt"
|
|
16119
16119
|
},
|
|
16120
16120
|
((i = E.value.timelineLayerIds) == null ? void 0 : i.length) && {
|
|
16121
16121
|
path: "/timeline",
|
|
16122
16122
|
name: "Timeline",
|
|
16123
|
-
component:
|
|
16123
|
+
component: Ip,
|
|
16124
16124
|
icon: "i-mdi:timeline-clock-outline"
|
|
16125
16125
|
}
|
|
16126
16126
|
].filter(Boolean);
|
|
@@ -16147,14 +16147,16 @@ const wp = /* @__PURE__ */ HB(Ip, [["render", ip], ["__scopeId", "data-v-b8018f0
|
|
|
16147
16147
|
o();
|
|
16148
16148
|
}, {
|
|
16149
16149
|
immediate: !0
|
|
16150
|
-
}), (
|
|
16151
|
-
|
|
16152
|
-
|
|
16150
|
+
}), HB(() => {
|
|
16151
|
+
_.value.unhighlight();
|
|
16152
|
+
}), (i, s) => (f(), H("div", Dp, [
|
|
16153
|
+
C.value ? (f(), H("div", ap, [
|
|
16154
|
+
U(np)
|
|
16153
16155
|
])) : (f(), z(N(I), { key: 1 }))
|
|
16154
16156
|
]));
|
|
16155
16157
|
}
|
|
16156
16158
|
});
|
|
16157
|
-
function
|
|
16159
|
+
function Fp() {
|
|
16158
16160
|
const A = K([]), B = K([]);
|
|
16159
16161
|
function Q(E) {
|
|
16160
16162
|
B.value = E, E.length < A.value.length && (A.value = []), B.value.forEach((C) => {
|
|
@@ -16171,7 +16173,7 @@ function fp() {
|
|
|
16171
16173
|
function g(E) {
|
|
16172
16174
|
A.value.some((C) => C.id === E.id) || A.value.push(E);
|
|
16173
16175
|
}
|
|
16174
|
-
return
|
|
16176
|
+
return HB(() => {
|
|
16175
16177
|
_.functions.off(IA.INSPECTOR_UPDATED, Q);
|
|
16176
16178
|
}), {
|
|
16177
16179
|
registeredInspector: A,
|
|
@@ -16179,9 +16181,9 @@ function fp() {
|
|
|
16179
16181
|
};
|
|
16180
16182
|
}
|
|
16181
16183
|
export {
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16184
|
+
Mp as Components,
|
|
16185
|
+
fp as CustomInspector,
|
|
16186
|
+
hp as Pinia,
|
|
16187
|
+
pp as Router,
|
|
16188
|
+
Fp as useCustomInspector
|
|
16187
16189
|
};
|