@bahmni/appointments-app 0.0.1-dev.182 → 0.0.1-dev.185
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/{DocumentsTable-Brac8QUc-CnwT5FC8.js → DocumentsTable-8I-Vd16r-D7OejRTq.js} +2076 -2187
- package/dist/{FormsTable-BCm0whan-B2laY7pV.js → FormsTable-BolXVuK_-BgiYYu8o.js} +89 -89
- package/dist/{LNWAZHJI-B3DIczCs.js → LNWAZHJI-DtGAaLKa.js} +4 -4
- package/dist/{MWZ6AO7Z-B9ZTB1DG.js → MWZ6AO7Z-CKJz0pD6.js} +3 -3
- package/dist/Observations-D6R8bXEi-DqXuo3Nk.js +369 -0
- package/dist/{YPM2AS64-BVfplo-Q.js → YPM2AS64-CNFAfFEV.js} +309 -309
- package/dist/{index-DQsWKJhS.js → index-Dxc52lRE.js} +66158 -51575
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/Observations-fJ9mRymz-i5WWJX3h.js +0 -170
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
1
|
+
import { a2 as we, a3 as z, a4 as xt, a5 as B, a0 as q, a1 as y, a6 as Ro, a7 as ye, a8 as R, a9 as _, aa as k, ab as N, ac as A, ad as bs, ae as ir, af as $e, ag as G, ah as Hn, ai as Vn, aj as dt, ak as D, al as xs, am as cn, an as Be, ao as ws, ap as qt, aq as zt, ar as $s, as as Cs, at as $n, au as Ss, av as Nr, aw as Bt, ax as zo, ay as ks, az as Es, aA as j, aB as Gr, aC as Ms, aD as Ds, aE as sr, aF as As, aG as Ts, aH as zn, aI as Fs, aJ as Is, aK as Z, aL as Ps, aM as Ls } from "./index-Dxc52lRE.js";
|
|
2
|
+
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
5
5
|
for (const n of e)
|
|
@@ -10,7 +10,7 @@ var E = (e) => typeof e == "function" && !e.length ? e() : e, jn = (e) => Array.
|
|
|
10
10
|
function Rs(e, ...t) {
|
|
11
11
|
return typeof e == "function" ? e(...t) : e;
|
|
12
12
|
}
|
|
13
|
-
var zs =
|
|
13
|
+
var zs = G;
|
|
14
14
|
function Ks(e, t, n, r) {
|
|
15
15
|
const o = e.length, s = t.length;
|
|
16
16
|
let a = 0;
|
|
@@ -124,7 +124,7 @@ function Bs(e) {
|
|
|
124
124
|
}
|
|
125
125
|
}), g && h.key && a.get(h.key)?.[1]();
|
|
126
126
|
};
|
|
127
|
-
"addEventListener" in globalThis ? (globalThis.addEventListener("storage", f),
|
|
127
|
+
"addEventListener" in globalThis ? (globalThis.addEventListener("storage", f), G(() => globalThis.removeEventListener("storage", f))) : (o.forEach((h) => h.addEventListener?.("storage", f)), G(() => o.forEach((h) => h.removeEventListener?.("storage", f))));
|
|
128
128
|
}), [
|
|
129
129
|
l,
|
|
130
130
|
i,
|
|
@@ -140,7 +140,7 @@ var i0 = Bs, Ns = (e) => (typeof e.clear == "function" || (e.clear = () => {
|
|
|
140
140
|
let t;
|
|
141
141
|
for (; t = e.key(0); )
|
|
142
142
|
e.removeItem(t);
|
|
143
|
-
}), e),
|
|
143
|
+
}), e), Ur = (e) => {
|
|
144
144
|
if (!e)
|
|
145
145
|
return "";
|
|
146
146
|
let t = "";
|
|
@@ -156,7 +156,7 @@ var i0 = Bs, Ns = (e) => (typeof e.clear == "function" || (e.clear = () => {
|
|
|
156
156
|
getItem: (e) => qe._cookies[0][qe._cookies[1]].match("(^|;)\\s*" + e + "\\s*=\\s*([^;]+)")?.pop() ?? null,
|
|
157
157
|
setItem: (e, t, n) => {
|
|
158
158
|
const r = qe.getItem(e);
|
|
159
|
-
qe._cookies[0][qe._cookies[1]] = `${e}=${t}${
|
|
159
|
+
qe._cookies[0][qe._cookies[1]] = `${e}=${t}${Ur(
|
|
160
160
|
n
|
|
161
161
|
)}`;
|
|
162
162
|
const o = Object.assign(new Event("storage"), {
|
|
@@ -169,7 +169,7 @@ var i0 = Bs, Ns = (e) => (typeof e.clear == "function" || (e.clear = () => {
|
|
|
169
169
|
window.dispatchEvent(o);
|
|
170
170
|
},
|
|
171
171
|
removeItem: (e) => {
|
|
172
|
-
qe._cookies[0][qe._cookies[1]] = `${e}=deleted${
|
|
172
|
+
qe._cookies[0][qe._cookies[1]] = `${e}=deleted${Ur({
|
|
173
173
|
expires: /* @__PURE__ */ new Date(0)
|
|
174
174
|
})}`;
|
|
175
175
|
},
|
|
@@ -187,7 +187,7 @@ var i0 = Bs, Ns = (e) => (typeof e.clear == "function" || (e.clear = () => {
|
|
|
187
187
|
(t) => (e += t ? 1 : 0, "")
|
|
188
188
|
), e;
|
|
189
189
|
}
|
|
190
|
-
}),
|
|
190
|
+
}), Gs = 1024, At = 796, ar = 700, Us = "bottom-right", Wn = "bottom", s0 = "system", Hs = !1, Ko = 500, Vs = 500, Bo = 500, js = Object.keys(Hn)[0], Hr = 1, Ws = Object.keys(Vn)[0], Qs = we({
|
|
191
191
|
client: void 0,
|
|
192
192
|
onlineManager: void 0,
|
|
193
193
|
queryFlavor: "",
|
|
@@ -238,7 +238,7 @@ var No = we(void 0), a0 = (e) => {
|
|
|
238
238
|
// and lower descendants too
|
|
239
239
|
characterDataOldValue: !0
|
|
240
240
|
// pass old data to callback
|
|
241
|
-
}),
|
|
241
|
+
}), G(() => {
|
|
242
242
|
i.disconnect();
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -266,7 +266,7 @@ var No = we(void 0), a0 = (e) => {
|
|
|
266
266
|
function xe() {
|
|
267
267
|
return $e(Ys);
|
|
268
268
|
}
|
|
269
|
-
var
|
|
269
|
+
var Go = {
|
|
270
270
|
À: "A",
|
|
271
271
|
Á: "A",
|
|
272
272
|
Â: "A",
|
|
@@ -666,9 +666,9 @@ var Uo = {
|
|
|
666
666
|
x̧: "x",
|
|
667
667
|
Z̧: "Z",
|
|
668
668
|
z̧: "z"
|
|
669
|
-
}, Xs = Object.keys(
|
|
669
|
+
}, Xs = Object.keys(Go).join("|"), Zs = new RegExp(Xs, "g");
|
|
670
670
|
function Js(e) {
|
|
671
|
-
return e.replace(Zs, (t) =>
|
|
671
|
+
return e.replace(Zs, (t) => Go[t]);
|
|
672
672
|
}
|
|
673
673
|
var Te = {
|
|
674
674
|
CASE_SENSITIVE_EQUAL: 7,
|
|
@@ -788,15 +788,15 @@ var ia = { data: "" }, sa = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
788
788
|
s[0] == "@" ? s[1] == "i" ? n = s + " " + a + ";" : r += s[1] == "f" ? Dt(a, s) : s + "{" + Dt(a, s[1] == "k" ? "" : t) + "}" : typeof a == "object" ? r += Dt(a, t ? t.replace(/([^,])+/g, (l) => s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g, (i) => /&/.test(i) ? i.replace(/&/g, l) : l ? l + " " + i : i)) : s) : a != null && (s = /^--/.test(s) ? s : s.replace(/[A-Z]/g, "-$&").toLowerCase(), o += Dt.p ? Dt.p(s, a) : s + ":" + a + ";");
|
|
789
789
|
}
|
|
790
790
|
return n + (t && o ? t + "{" + o + "}" : o) + r;
|
|
791
|
-
}, lt = {},
|
|
791
|
+
}, lt = {}, Uo = (e) => {
|
|
792
792
|
if (typeof e == "object") {
|
|
793
793
|
let t = "";
|
|
794
|
-
for (let n in e) t += n +
|
|
794
|
+
for (let n in e) t += n + Uo(e[n]);
|
|
795
795
|
return t;
|
|
796
796
|
}
|
|
797
797
|
return e;
|
|
798
798
|
}, ca = (e, t, n, r, o) => {
|
|
799
|
-
let s =
|
|
799
|
+
let s = Uo(e), a = lt[s] || (lt[s] = ((i) => {
|
|
800
800
|
let c = 0, d = 11;
|
|
801
801
|
for (; c < i.length; ) d = 101 * d + i.charCodeAt(c++) >>> 0;
|
|
802
802
|
return "go" + d;
|
|
@@ -836,7 +836,7 @@ function Ho(e) {
|
|
|
836
836
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
837
837
|
return r;
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function L() {
|
|
840
840
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Ho(e)) && (r && (r += " "), r += t);
|
|
841
841
|
return r;
|
|
842
842
|
}
|
|
@@ -978,11 +978,11 @@ function Jr(e) {
|
|
|
978
978
|
}
|
|
979
979
|
function ma(e, t, n, r = {}) {
|
|
980
980
|
const o = /* @__PURE__ */ new Map();
|
|
981
|
-
return
|
|
981
|
+
return G(() => Jr(o.values())), () => {
|
|
982
982
|
const a = e() || [];
|
|
983
983
|
return a[zo], Bt(() => {
|
|
984
984
|
if (!a.length)
|
|
985
|
-
return Jr(o.values()), o.clear(), r.fallback ? [
|
|
985
|
+
return Jr(o.values()), o.clear(), r.fallback ? [Gr((u) => (o.set(Kn, { dispose: u }), r.fallback()))] : [];
|
|
986
986
|
const l = new Array(a.length), i = o.get(Kn);
|
|
987
987
|
if (!o.size || i) {
|
|
988
988
|
i?.dispose(), o.delete(Kn);
|
|
@@ -1005,7 +1005,7 @@ function ma(e, t, n, r = {}) {
|
|
|
1005
1005
|
});
|
|
1006
1006
|
};
|
|
1007
1007
|
function s(a, l, i, c) {
|
|
1008
|
-
|
|
1008
|
+
Gr((d) => {
|
|
1009
1009
|
const [u, f] = z(l), h = { setItem: f, dispose: d };
|
|
1010
1010
|
if (n.length > 1) {
|
|
1011
1011
|
const [g, m] = z(i);
|
|
@@ -1040,7 +1040,7 @@ function va(e, t, n, r) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
function ba(e, t) {
|
|
1042
1042
|
const n = new ResizeObserver(e);
|
|
1043
|
-
return
|
|
1043
|
+
return G(n.disconnect.bind(n)), {
|
|
1044
1044
|
observe: (r) => n.observe(r, t),
|
|
1045
1045
|
unobserve: n.unobserve.bind(n)
|
|
1046
1046
|
};
|
|
@@ -1212,7 +1212,7 @@ var Qo = [
|
|
|
1212
1212
|
"audio[controls]",
|
|
1213
1213
|
"video[controls]",
|
|
1214
1214
|
"[contenteditable]:not([contenteditable='false'])"
|
|
1215
|
-
], Pa = [...Qo, '[tabindex]:not([tabindex="-1"]):not([disabled])'], dr = Qo.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])",
|
|
1215
|
+
], Pa = [...Qo, '[tabindex]:not([tabindex="-1"]):not([disabled])'], dr = Qo.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])", La = Pa.join(
|
|
1216
1216
|
':not([hidden]):not([tabindex="-1"]),'
|
|
1217
1217
|
);
|
|
1218
1218
|
function Yo(e, t) {
|
|
@@ -1225,12 +1225,12 @@ function Yo(e, t) {
|
|
|
1225
1225
|
}), r;
|
|
1226
1226
|
}
|
|
1227
1227
|
function to(e) {
|
|
1228
|
-
return Xo(e) && !
|
|
1228
|
+
return Xo(e) && !Oa(e);
|
|
1229
1229
|
}
|
|
1230
1230
|
function Xo(e) {
|
|
1231
1231
|
return e.matches(dr) && fr(e);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Oa(e) {
|
|
1234
1234
|
return parseInt(e.getAttribute("tabindex") || "0", 10) < 0;
|
|
1235
1235
|
}
|
|
1236
1236
|
function fr(e, t) {
|
|
@@ -1253,7 +1253,7 @@ function _a(e, t) {
|
|
|
1253
1253
|
return !e.hasAttribute("hidden") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
|
|
1254
1254
|
}
|
|
1255
1255
|
function Ra(e, t, n) {
|
|
1256
|
-
const r = t?.tabbable ?
|
|
1256
|
+
const r = t?.tabbable ? La : dr, o = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
1257
1257
|
acceptNode(s) {
|
|
1258
1258
|
return t?.from?.contains(s) ? NodeFilter.FILTER_REJECT : s.matches(r) && fr(s) && (!t?.accept || t.accept(s)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
1259
1259
|
}
|
|
@@ -1389,8 +1389,8 @@ function fe(e) {
|
|
|
1389
1389
|
}))
|
|
1390
1390
|
);
|
|
1391
1391
|
}
|
|
1392
|
-
var
|
|
1393
|
-
function
|
|
1392
|
+
var Ga = ["id", "name", "validationState", "required", "disabled", "readOnly"];
|
|
1393
|
+
function Ua(e) {
|
|
1394
1394
|
const t = `form-control-${Be()}`, n = Q({
|
|
1395
1395
|
id: t
|
|
1396
1396
|
}, e), [r, o] = z(), [s, a] = z(), [l, i] = z(), [c, d] = z(), u = (m, p, v) => {
|
|
@@ -1447,7 +1447,7 @@ function ei(e) {
|
|
|
1447
1447
|
const t = dn(), n = Q({
|
|
1448
1448
|
id: t.generateId("description")
|
|
1449
1449
|
}, e);
|
|
1450
|
-
return B(() =>
|
|
1450
|
+
return B(() => G(t.registerDescription(n.id))), y(fe, j({
|
|
1451
1451
|
as: "div"
|
|
1452
1452
|
}, () => t.dataset(), n));
|
|
1453
1453
|
}
|
|
@@ -1456,7 +1456,7 @@ function ti(e) {
|
|
|
1456
1456
|
id: t.generateId("error-message")
|
|
1457
1457
|
}, e), [r, o] = Z(n, ["forceMount"]), s = () => t.validationState() === "invalid";
|
|
1458
1458
|
return B(() => {
|
|
1459
|
-
s() &&
|
|
1459
|
+
s() && G(t.registerErrorMessage(o.id));
|
|
1460
1460
|
}), y(R, {
|
|
1461
1461
|
get when() {
|
|
1462
1462
|
return r.forceMount || s();
|
|
@@ -1473,7 +1473,7 @@ function Ha(e) {
|
|
|
1473
1473
|
const n = dn(), r = Q({
|
|
1474
1474
|
id: n.generateId("label")
|
|
1475
1475
|
}, e), [o, s] = Z(r, ["ref"]), a = In(() => t, () => "label");
|
|
1476
|
-
return B(() =>
|
|
1476
|
+
return B(() => G(n.registerLabel(s.id))), y(fe, j({
|
|
1477
1477
|
as: "label",
|
|
1478
1478
|
ref(l) {
|
|
1479
1479
|
const i = De((c) => t = c, o.ref);
|
|
@@ -1490,7 +1490,7 @@ function Va(e, t) {
|
|
|
1490
1490
|
if (n == null)
|
|
1491
1491
|
return;
|
|
1492
1492
|
const r = ja(n);
|
|
1493
|
-
r != null && (r.addEventListener("reset", t, { passive: !0 }),
|
|
1493
|
+
r != null && (r.addEventListener("reset", t, { passive: !0 }), G(() => {
|
|
1494
1494
|
r.removeEventListener("reset", t);
|
|
1495
1495
|
}));
|
|
1496
1496
|
})
|
|
@@ -1594,7 +1594,7 @@ function nl(e, t) {
|
|
|
1594
1594
|
const n = setTimeout(() => {
|
|
1595
1595
|
si(e(), t);
|
|
1596
1596
|
});
|
|
1597
|
-
|
|
1597
|
+
G(() => clearTimeout(n));
|
|
1598
1598
|
});
|
|
1599
1599
|
}
|
|
1600
1600
|
function rl(e, t) {
|
|
@@ -1612,7 +1612,7 @@ function rl(e, t) {
|
|
|
1612
1612
|
const l = a.ref();
|
|
1613
1613
|
l && s.observe(l);
|
|
1614
1614
|
}
|
|
1615
|
-
|
|
1615
|
+
G(() => s.disconnect());
|
|
1616
1616
|
});
|
|
1617
1617
|
}
|
|
1618
1618
|
function ol(e = {}) {
|
|
@@ -1645,7 +1645,7 @@ function il(e) {
|
|
|
1645
1645
|
if (!n.shouldRegisterItem)
|
|
1646
1646
|
return;
|
|
1647
1647
|
const r = t.registerItem(n.getItem());
|
|
1648
|
-
|
|
1648
|
+
G(r);
|
|
1649
1649
|
});
|
|
1650
1650
|
}
|
|
1651
1651
|
function ai(e) {
|
|
@@ -1799,7 +1799,7 @@ function dl() {
|
|
|
1799
1799
|
() => e()
|
|
1800
1800
|
);
|
|
1801
1801
|
return xt(() => {
|
|
1802
|
-
rn.size === 0 && window.addEventListener("languagechange", ao), rn.add(t),
|
|
1802
|
+
rn.size === 0 && window.addEventListener("languagechange", ao), rn.add(t), G(() => {
|
|
1803
1803
|
rn.delete(t), rn.size === 0 && window.removeEventListener("languagechange", ao);
|
|
1804
1804
|
});
|
|
1805
1805
|
}), {
|
|
@@ -1940,13 +1940,13 @@ function xl(e, t, n) {
|
|
|
1940
1940
|
return;
|
|
1941
1941
|
const b = E(o.selectionManager), x = E(o.selectOnFocus), w = (I) => {
|
|
1942
1942
|
I != null && (b.setFocusedKey(I), p.shiftKey && b.selectionMode() === "multiple" ? b.extendSelection(I) : x && !ui(p) && b.replaceSelection(I));
|
|
1943
|
-
}, $ = E(o.keyboardDelegate),
|
|
1943
|
+
}, $ = E(o.keyboardDelegate), O = E(o.shouldFocusWrap), T = b.focusedKey();
|
|
1944
1944
|
switch (p.key) {
|
|
1945
1945
|
case (c() === "vertical" ? "ArrowDown" : "ArrowRight"): {
|
|
1946
1946
|
if ($.getKeyBelow) {
|
|
1947
1947
|
p.preventDefault();
|
|
1948
1948
|
let I;
|
|
1949
|
-
T != null ? I = $.getKeyBelow(T) : I = $.getFirstKey?.(), I == null &&
|
|
1949
|
+
T != null ? I = $.getKeyBelow(T) : I = $.getFirstKey?.(), I == null && O && (I = $.getFirstKey?.(T)), w(I);
|
|
1950
1950
|
}
|
|
1951
1951
|
break;
|
|
1952
1952
|
}
|
|
@@ -1954,7 +1954,7 @@ function xl(e, t, n) {
|
|
|
1954
1954
|
if ($.getKeyAbove) {
|
|
1955
1955
|
p.preventDefault();
|
|
1956
1956
|
let I;
|
|
1957
|
-
T != null ? I = $.getKeyAbove(T) : I = $.getLastKey?.(), I == null &&
|
|
1957
|
+
T != null ? I = $.getKeyAbove(T) : I = $.getLastKey?.(), I == null && O && (I = $.getLastKey?.(T)), w(I);
|
|
1958
1958
|
}
|
|
1959
1959
|
break;
|
|
1960
1960
|
}
|
|
@@ -2036,8 +2036,8 @@ function xl(e, t, n) {
|
|
|
2036
2036
|
}
|
|
2037
2037
|
if (p.currentTarget.contains(p.target)) {
|
|
2038
2038
|
if (v.setFocused(!0), v.focusedKey() == null) {
|
|
2039
|
-
const w = (
|
|
2040
|
-
|
|
2039
|
+
const w = (O) => {
|
|
2040
|
+
O != null && (v.setFocusedKey(O), x && v.replaceSelection(O));
|
|
2041
2041
|
}, $ = p.relatedTarget;
|
|
2042
2042
|
$ && p.currentTarget.compareDocumentPosition($) & Node.DOCUMENT_POSITION_FOLLOWING ? w(
|
|
2043
2043
|
v.lastSelectedKey() ?? b.getLastKey?.()
|
|
@@ -2135,8 +2135,8 @@ function di(e, t) {
|
|
|
2135
2135
|
() => n().focusedKey(),
|
|
2136
2136
|
() => n().isFocused()
|
|
2137
2137
|
],
|
|
2138
|
-
([b, x, w, $,
|
|
2139
|
-
b && x === $ &&
|
|
2138
|
+
([b, x, w, $, O]) => {
|
|
2139
|
+
b && x === $ && O && !w && document.activeElement !== b && (e.focus ? e.focus() : ke(b));
|
|
2140
2140
|
}
|
|
2141
2141
|
)
|
|
2142
2142
|
), {
|
|
@@ -2421,7 +2421,7 @@ function $l(e) {
|
|
|
2421
2421
|
},
|
|
2422
2422
|
[() => e.filter]
|
|
2423
2423
|
), o = new wl(r, t);
|
|
2424
|
-
return
|
|
2424
|
+
return Ls(() => {
|
|
2425
2425
|
const s = t.focusedKey();
|
|
2426
2426
|
s != null && !r().getItem(s) && t.setFocusedKey(void 0);
|
|
2427
2427
|
}), {
|
|
@@ -2454,7 +2454,7 @@ var Se = (e) => typeof e == "function" ? e() : e, Cl = (e) => {
|
|
|
2454
2454
|
);
|
|
2455
2455
|
c.target === a && u && r() === "hiding" && o("hidden");
|
|
2456
2456
|
};
|
|
2457
|
-
a.addEventListener("animationstart", l), a.addEventListener("animationcancel", i), a.addEventListener("animationend", i),
|
|
2457
|
+
a.addEventListener("animationstart", l), a.addEventListener("animationcancel", i), a.addEventListener("animationend", i), G(() => {
|
|
2458
2458
|
a.removeEventListener("animationstart", l), a.removeEventListener("animationcancel", i), a.removeEventListener("animationend", i);
|
|
2459
2459
|
});
|
|
2460
2460
|
}), {
|
|
@@ -2526,7 +2526,7 @@ Pn(Pl, {
|
|
|
2526
2526
|
Button: () => ql,
|
|
2527
2527
|
Root: () => hr
|
|
2528
2528
|
});
|
|
2529
|
-
var
|
|
2529
|
+
var Ll = [
|
|
2530
2530
|
"button",
|
|
2531
2531
|
"color",
|
|
2532
2532
|
"file",
|
|
@@ -2534,9 +2534,9 @@ var Ol = [
|
|
|
2534
2534
|
"reset",
|
|
2535
2535
|
"submit"
|
|
2536
2536
|
];
|
|
2537
|
-
function
|
|
2537
|
+
function Ol(e) {
|
|
2538
2538
|
const t = e.tagName.toLowerCase();
|
|
2539
|
-
return t === "button" ? !0 : t === "input" && e.type ?
|
|
2539
|
+
return t === "button" ? !0 : t === "input" && e.type ? Ll.indexOf(e.type) !== -1 : !1;
|
|
2540
2540
|
}
|
|
2541
2541
|
function hr(e) {
|
|
2542
2542
|
let t;
|
|
@@ -2544,7 +2544,7 @@ function hr(e) {
|
|
|
2544
2544
|
type: "button"
|
|
2545
2545
|
}, e), [r, o] = Z(n, ["ref", "type", "disabled"]), s = In(() => t, () => "button"), a = q(() => {
|
|
2546
2546
|
const c = s();
|
|
2547
|
-
return c == null ? !1 :
|
|
2547
|
+
return c == null ? !1 : Ol({
|
|
2548
2548
|
tagName: c,
|
|
2549
2549
|
type: r.type
|
|
2550
2550
|
});
|
|
@@ -2596,7 +2596,7 @@ function It(e, t) {
|
|
|
2596
2596
|
function $t(e) {
|
|
2597
2597
|
return e.split("-")[0];
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2599
|
+
function Ut(e) {
|
|
2600
2600
|
return e.split("-")[1];
|
|
2601
2601
|
}
|
|
2602
2602
|
function mi(e) {
|
|
@@ -2613,7 +2613,7 @@ function mr(e) {
|
|
|
2613
2613
|
}
|
|
2614
2614
|
function Kl(e, t, n) {
|
|
2615
2615
|
n === void 0 && (n = !1);
|
|
2616
|
-
const r =
|
|
2616
|
+
const r = Ut(e), o = mr(e), s = yr(o);
|
|
2617
2617
|
let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
2618
2618
|
return t.reference[s] > t.floating[s] && (a = En(a)), [a, En(a)];
|
|
2619
2619
|
}
|
|
@@ -2637,15 +2637,15 @@ function Nl(e, t, n) {
|
|
|
2637
2637
|
return [];
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
|
-
function
|
|
2641
|
-
const o =
|
|
2640
|
+
function Gl(e, t, n, r) {
|
|
2641
|
+
const o = Ut(e);
|
|
2642
2642
|
let s = Nl($t(e), n === "start", r);
|
|
2643
2643
|
return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(tr)))), s;
|
|
2644
2644
|
}
|
|
2645
2645
|
function En(e) {
|
|
2646
2646
|
return e.replace(/left|right|bottom|top/g, (t) => Rl[t]);
|
|
2647
2647
|
}
|
|
2648
|
-
function
|
|
2648
|
+
function Ul(e) {
|
|
2649
2649
|
return {
|
|
2650
2650
|
top: 0,
|
|
2651
2651
|
right: 0,
|
|
@@ -2655,7 +2655,7 @@ function Gl(e) {
|
|
|
2655
2655
|
};
|
|
2656
2656
|
}
|
|
2657
2657
|
function pi(e) {
|
|
2658
|
-
return typeof e != "number" ?
|
|
2658
|
+
return typeof e != "number" ? Ul(e) : {
|
|
2659
2659
|
top: e,
|
|
2660
2660
|
right: e,
|
|
2661
2661
|
bottom: e,
|
|
@@ -2718,7 +2718,7 @@ function uo(e, t, n) {
|
|
|
2718
2718
|
y: r.y
|
|
2719
2719
|
};
|
|
2720
2720
|
}
|
|
2721
|
-
switch (
|
|
2721
|
+
switch (Ut(t)) {
|
|
2722
2722
|
case "start":
|
|
2723
2723
|
h[a] -= f * (n && c ? -1 : 1);
|
|
2724
2724
|
break;
|
|
@@ -2855,10 +2855,10 @@ var Vl = (e) => ({
|
|
|
2855
2855
|
const u = pi(d), f = {
|
|
2856
2856
|
x: n,
|
|
2857
2857
|
y: r
|
|
2858
|
-
}, h = mr(o), g = yr(h), m = await a.getDimensions(c), p = h === "y", v = p ? "top" : "left", b = p ? "bottom" : "right", x = p ? "clientHeight" : "clientWidth", w = s.reference[g] + s.reference[h] - f[h] - s.floating[g], $ = f[h] - s.reference[h],
|
|
2859
|
-
let T =
|
|
2860
|
-
(!T || !await (a.isElement == null ? void 0 : a.isElement(
|
|
2861
|
-
const I = w / 2 - $ / 2, C = T / 2 - m[g] / 2 - 1, F = Ze(u[v], C), V = Ze(u[b], C),
|
|
2858
|
+
}, h = mr(o), g = yr(h), m = await a.getDimensions(c), p = h === "y", v = p ? "top" : "left", b = p ? "bottom" : "right", x = p ? "clientHeight" : "clientWidth", w = s.reference[g] + s.reference[h] - f[h] - s.floating[g], $ = f[h] - s.reference[h], O = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
2859
|
+
let T = O ? O[x] : 0;
|
|
2860
|
+
(!T || !await (a.isElement == null ? void 0 : a.isElement(O))) && (T = l.floating[x] || s.floating[g]);
|
|
2861
|
+
const I = w / 2 - $ / 2, C = T / 2 - m[g] / 2 - 1, F = Ze(u[v], C), V = Ze(u[b], C), U = F, te = T - m[g] - V, J = T / 2 - m[g] / 2 + I, le = er(U, J, te), ie = !i.arrow && Ut(o) != null && J !== le && s.reference[g] / 2 - (J < U ? F : V) - m[g] / 2 < 0, ne = ie ? J < U ? J - U : J - te : 0;
|
|
2862
2862
|
return {
|
|
2863
2863
|
[h]: f[h] + ne,
|
|
2864
2864
|
data: {
|
|
@@ -2895,8 +2895,8 @@ var Vl = (e) => ({
|
|
|
2895
2895
|
} = It(e, t);
|
|
2896
2896
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
2897
2897
|
return {};
|
|
2898
|
-
const v = $t(o), b = Tt(l), x = $t(l) === l, w = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), $ = f || (x || !m ? [En(l)] : Bl(l)),
|
|
2899
|
-
!f &&
|
|
2898
|
+
const v = $t(o), b = Tt(l), x = $t(l) === l, w = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), $ = f || (x || !m ? [En(l)] : Bl(l)), O = g !== "none";
|
|
2899
|
+
!f && O && $.push(...Gl(l, m, g, w));
|
|
2900
2900
|
const T = [l, ...$], I = await sn(t, p), C = [];
|
|
2901
2901
|
let F = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
2902
2902
|
if (d && C.push(I[v]), u) {
|
|
@@ -2907,7 +2907,7 @@ var Vl = (e) => ({
|
|
|
2907
2907
|
placement: o,
|
|
2908
2908
|
overflows: C
|
|
2909
2909
|
}], !C.every((J) => J <= 0)) {
|
|
2910
|
-
var V,
|
|
2910
|
+
var V, U;
|
|
2911
2911
|
const J = (((V = s.flip) == null ? void 0 : V.index) || 0) + 1, le = T[J];
|
|
2912
2912
|
if (le)
|
|
2913
2913
|
return {
|
|
@@ -2919,13 +2919,13 @@ var Vl = (e) => ({
|
|
|
2919
2919
|
placement: le
|
|
2920
2920
|
}
|
|
2921
2921
|
};
|
|
2922
|
-
let ie = (
|
|
2922
|
+
let ie = (U = F.filter((ne) => ne.overflows[0] <= 0).sort((ne, se) => ne.overflows[1] - se.overflows[1])[0]) == null ? void 0 : U.placement;
|
|
2923
2923
|
if (!ie)
|
|
2924
2924
|
switch (h) {
|
|
2925
2925
|
case "bestFit": {
|
|
2926
2926
|
var te;
|
|
2927
2927
|
const ne = (te = F.filter((se) => {
|
|
2928
|
-
if (
|
|
2928
|
+
if (O) {
|
|
2929
2929
|
const ce = Tt(se.placement);
|
|
2930
2930
|
return ce === b || // Create a bias to the `y` side axis due to horizontal
|
|
2931
2931
|
// reading directions favoring greater width.
|
|
@@ -3009,7 +3009,7 @@ async function Ql(e, t) {
|
|
|
3009
3009
|
placement: n,
|
|
3010
3010
|
platform: r,
|
|
3011
3011
|
elements: o
|
|
3012
|
-
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = $t(n), l =
|
|
3012
|
+
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = $t(n), l = Ut(n), i = Tt(n) === "y", c = ["left", "top"].includes(a) ? -1 : 1, d = s && i ? -1 : 1, u = It(t, e);
|
|
3013
3013
|
let {
|
|
3014
3014
|
mainAxis: f,
|
|
3015
3015
|
crossAxis: h,
|
|
@@ -3120,21 +3120,21 @@ var Yl = function(e) {
|
|
|
3120
3120
|
apply: a = () => {
|
|
3121
3121
|
},
|
|
3122
3122
|
...l
|
|
3123
|
-
} = It(e, t), i = await sn(t, l), c = $t(n), d =
|
|
3123
|
+
} = It(e, t), i = await sn(t, l), c = $t(n), d = Ut(n), u = Tt(n) === "y", {
|
|
3124
3124
|
width: f,
|
|
3125
3125
|
height: h
|
|
3126
3126
|
} = r.floating;
|
|
3127
3127
|
let g, m;
|
|
3128
3128
|
c === "top" || c === "bottom" ? (g = c, m = d === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = c, g = d === "end" ? "top" : "bottom");
|
|
3129
3129
|
const p = h - i.top - i.bottom, v = f - i.left - i.right, b = Ze(h - i[g], p), x = Ze(f - i[m], v), w = !t.middlewareData.shift;
|
|
3130
|
-
let $ = b,
|
|
3131
|
-
if (u ?
|
|
3130
|
+
let $ = b, O = x;
|
|
3131
|
+
if (u ? O = d || w ? Ze(x, v) : v : $ = d || w ? Ze(b, p) : p, w && !d) {
|
|
3132
3132
|
const I = Pe(i.left, 0), C = Pe(i.right, 0), F = Pe(i.top, 0), V = Pe(i.bottom, 0);
|
|
3133
|
-
u ?
|
|
3133
|
+
u ? O = f - 2 * (I !== 0 || C !== 0 ? I + C : Pe(i.left, i.right)) : $ = h - 2 * (F !== 0 || V !== 0 ? F + V : Pe(i.top, i.bottom));
|
|
3134
3134
|
}
|
|
3135
3135
|
await a({
|
|
3136
3136
|
...t,
|
|
3137
|
-
availableWidth:
|
|
3137
|
+
availableWidth: O,
|
|
3138
3138
|
availableHeight: $
|
|
3139
3139
|
});
|
|
3140
3140
|
const T = await o.getDimensions(s.floating);
|
|
@@ -3149,7 +3149,7 @@ var Yl = function(e) {
|
|
|
3149
3149
|
function Ht(e) {
|
|
3150
3150
|
return vi(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
3151
3151
|
}
|
|
3152
|
-
function
|
|
3152
|
+
function Le(e) {
|
|
3153
3153
|
var t;
|
|
3154
3154
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
3155
3155
|
}
|
|
@@ -3158,16 +3158,16 @@ function gt(e) {
|
|
|
3158
3158
|
return (t = (vi(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
3159
3159
|
}
|
|
3160
3160
|
function vi(e) {
|
|
3161
|
-
return e instanceof Node || e instanceof
|
|
3161
|
+
return e instanceof Node || e instanceof Le(e).Node;
|
|
3162
3162
|
}
|
|
3163
3163
|
function We(e) {
|
|
3164
|
-
return e instanceof Element || e instanceof
|
|
3164
|
+
return e instanceof Element || e instanceof Le(e).Element;
|
|
3165
3165
|
}
|
|
3166
3166
|
function et(e) {
|
|
3167
|
-
return e instanceof HTMLElement || e instanceof
|
|
3167
|
+
return e instanceof HTMLElement || e instanceof Le(e).HTMLElement;
|
|
3168
3168
|
}
|
|
3169
3169
|
function ho(e) {
|
|
3170
|
-
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
3170
|
+
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Le(e).ShadowRoot;
|
|
3171
3171
|
}
|
|
3172
3172
|
function gn(e) {
|
|
3173
3173
|
const {
|
|
@@ -3181,7 +3181,7 @@ function gn(e) {
|
|
|
3181
3181
|
function Jl(e) {
|
|
3182
3182
|
return ["table", "td", "th"].includes(Ht(e));
|
|
3183
3183
|
}
|
|
3184
|
-
function
|
|
3184
|
+
function Ln(e) {
|
|
3185
3185
|
return [":popover-open", ":modal"].some((t) => {
|
|
3186
3186
|
try {
|
|
3187
3187
|
return e.matches(t);
|
|
@@ -3196,10 +3196,10 @@ function pr(e) {
|
|
|
3196
3196
|
}
|
|
3197
3197
|
function ec(e) {
|
|
3198
3198
|
let t = Ct(e);
|
|
3199
|
-
for (; et(t) && !
|
|
3199
|
+
for (; et(t) && !Gt(t); ) {
|
|
3200
3200
|
if (pr(t))
|
|
3201
3201
|
return t;
|
|
3202
|
-
if (
|
|
3202
|
+
if (Ln(t))
|
|
3203
3203
|
return null;
|
|
3204
3204
|
t = Ct(t);
|
|
3205
3205
|
}
|
|
@@ -3208,13 +3208,13 @@ function ec(e) {
|
|
|
3208
3208
|
function vr() {
|
|
3209
3209
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
3210
3210
|
}
|
|
3211
|
-
function
|
|
3211
|
+
function Gt(e) {
|
|
3212
3212
|
return ["html", "body", "#document"].includes(Ht(e));
|
|
3213
3213
|
}
|
|
3214
3214
|
function Qe(e) {
|
|
3215
|
-
return
|
|
3215
|
+
return Le(e).getComputedStyle(e);
|
|
3216
3216
|
}
|
|
3217
|
-
function
|
|
3217
|
+
function On(e) {
|
|
3218
3218
|
return We(e) ? {
|
|
3219
3219
|
scrollLeft: e.scrollLeft,
|
|
3220
3220
|
scrollTop: e.scrollTop
|
|
@@ -3237,12 +3237,12 @@ function Ct(e) {
|
|
|
3237
3237
|
}
|
|
3238
3238
|
function bi(e) {
|
|
3239
3239
|
const t = Ct(e);
|
|
3240
|
-
return
|
|
3240
|
+
return Gt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : et(t) && gn(t) ? t : bi(t);
|
|
3241
3241
|
}
|
|
3242
3242
|
function an(e, t, n) {
|
|
3243
3243
|
var r;
|
|
3244
3244
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
3245
|
-
const o = bi(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a =
|
|
3245
|
+
const o = bi(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Le(o);
|
|
3246
3246
|
return s ? t.concat(a, a.visualViewport || [], gn(o) ? o : [], a.frameElement && n ? an(a.frameElement) : []) : t.concat(o, an(o, [], n));
|
|
3247
3247
|
}
|
|
3248
3248
|
function xi(e) {
|
|
@@ -3275,14 +3275,14 @@ function Nt(e) {
|
|
|
3275
3275
|
}
|
|
3276
3276
|
var tc = /* @__PURE__ */ wt(0);
|
|
3277
3277
|
function wi(e) {
|
|
3278
|
-
const t =
|
|
3278
|
+
const t = Le(e);
|
|
3279
3279
|
return !vr() || !t.visualViewport ? tc : {
|
|
3280
3280
|
x: t.visualViewport.offsetLeft,
|
|
3281
3281
|
y: t.visualViewport.offsetTop
|
|
3282
3282
|
};
|
|
3283
3283
|
}
|
|
3284
3284
|
function nc(e, t, n) {
|
|
3285
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
3285
|
+
return t === void 0 && (t = !1), !n || t && n !== Le(e) ? !1 : t;
|
|
3286
3286
|
}
|
|
3287
3287
|
function Ft(e, t, n, r) {
|
|
3288
3288
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
@@ -3292,11 +3292,11 @@ function Ft(e, t, n, r) {
|
|
|
3292
3292
|
const l = nc(s, n, r) ? wi(s) : wt(0);
|
|
3293
3293
|
let i = (o.left + l.x) / a.x, c = (o.top + l.y) / a.y, d = o.width / a.x, u = o.height / a.y;
|
|
3294
3294
|
if (s) {
|
|
3295
|
-
const f =
|
|
3295
|
+
const f = Le(s), h = r && We(r) ? Le(r) : r;
|
|
3296
3296
|
let g = f, m = g.frameElement;
|
|
3297
3297
|
for (; m && r && h !== g; ) {
|
|
3298
3298
|
const p = Nt(m), v = m.getBoundingClientRect(), b = Qe(m), x = v.left + (m.clientLeft + parseFloat(b.paddingLeft)) * p.x, w = v.top + (m.clientTop + parseFloat(b.paddingTop)) * p.y;
|
|
3299
|
-
i *= p.x, c *= p.y, d *= p.x, u *= p.y, i += x, c += w, g =
|
|
3299
|
+
i *= p.x, c *= p.y, d *= p.x, u *= p.y, i += x, c += w, g = Le(m), m = g.frameElement;
|
|
3300
3300
|
}
|
|
3301
3301
|
}
|
|
3302
3302
|
return Mn({
|
|
@@ -3313,7 +3313,7 @@ function rc(e) {
|
|
|
3313
3313
|
offsetParent: r,
|
|
3314
3314
|
strategy: o
|
|
3315
3315
|
} = e;
|
|
3316
|
-
const s = o === "fixed", a = gt(r), l = t ?
|
|
3316
|
+
const s = o === "fixed", a = gt(r), l = t ? Ln(t.floating) : !1;
|
|
3317
3317
|
if (r === a || l && s)
|
|
3318
3318
|
return n;
|
|
3319
3319
|
let i = {
|
|
@@ -3321,7 +3321,7 @@ function rc(e) {
|
|
|
3321
3321
|
scrollTop: 0
|
|
3322
3322
|
}, c = wt(1);
|
|
3323
3323
|
const d = wt(0), u = et(r);
|
|
3324
|
-
if ((u || !u && !s) && ((Ht(r) !== "body" || gn(a)) && (i =
|
|
3324
|
+
if ((u || !u && !s) && ((Ht(r) !== "body" || gn(a)) && (i = On(r)), et(r))) {
|
|
3325
3325
|
const f = Ft(r);
|
|
3326
3326
|
c = Nt(r), d.x = f.x + r.clientLeft, d.y = f.y + r.clientTop;
|
|
3327
3327
|
}
|
|
@@ -3336,10 +3336,10 @@ function oc(e) {
|
|
|
3336
3336
|
return Array.from(e.getClientRects());
|
|
3337
3337
|
}
|
|
3338
3338
|
function $i(e) {
|
|
3339
|
-
return Ft(gt(e)).left +
|
|
3339
|
+
return Ft(gt(e)).left + On(e).scrollLeft;
|
|
3340
3340
|
}
|
|
3341
3341
|
function ic(e) {
|
|
3342
|
-
const t = gt(e), n =
|
|
3342
|
+
const t = gt(e), n = On(e), r = e.ownerDocument.body, o = Pe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = Pe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
3343
3343
|
let a = -n.scrollLeft + $i(e);
|
|
3344
3344
|
const l = -n.scrollTop;
|
|
3345
3345
|
return Qe(r).direction === "rtl" && (a += Pe(t.clientWidth, r.clientWidth) - o), {
|
|
@@ -3350,7 +3350,7 @@ function ic(e) {
|
|
|
3350
3350
|
};
|
|
3351
3351
|
}
|
|
3352
3352
|
function sc(e, t) {
|
|
3353
|
-
const n =
|
|
3353
|
+
const n = Le(e), r = gt(e), o = n.visualViewport;
|
|
3354
3354
|
let s = r.clientWidth, a = r.clientHeight, l = 0, i = 0;
|
|
3355
3355
|
if (o) {
|
|
3356
3356
|
s = o.width, a = o.height;
|
|
@@ -3393,7 +3393,7 @@ function yo(e, t, n) {
|
|
|
3393
3393
|
}
|
|
3394
3394
|
function Ci(e, t) {
|
|
3395
3395
|
const n = Ct(e);
|
|
3396
|
-
return n === t || !We(n) ||
|
|
3396
|
+
return n === t || !We(n) || Gt(n) ? !1 : Qe(n).position === "fixed" || Ci(n, t);
|
|
3397
3397
|
}
|
|
3398
3398
|
function lc(e, t) {
|
|
3399
3399
|
const n = t.get(e);
|
|
@@ -3402,7 +3402,7 @@ function lc(e, t) {
|
|
|
3402
3402
|
let r = an(e, [], !1).filter((l) => We(l) && Ht(l) !== "body"), o = null;
|
|
3403
3403
|
const s = Qe(e).position === "fixed";
|
|
3404
3404
|
let a = s ? Ct(e) : e;
|
|
3405
|
-
for (; We(a) && !
|
|
3405
|
+
for (; We(a) && !Gt(a); ) {
|
|
3406
3406
|
const l = Qe(a), i = pr(a);
|
|
3407
3407
|
!i && l.position === "fixed" && (o = null), (s ? !i && !o : !i && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || gn(a) && !i && Ci(e, a)) ? r = r.filter((d) => d !== a) : o = l, a = Ct(a);
|
|
3408
3408
|
}
|
|
@@ -3415,7 +3415,7 @@ function cc(e) {
|
|
|
3415
3415
|
rootBoundary: r,
|
|
3416
3416
|
strategy: o
|
|
3417
3417
|
} = e;
|
|
3418
|
-
const a = [...n === "clippingAncestors" ?
|
|
3418
|
+
const a = [...n === "clippingAncestors" ? Ln(t) ? [] : lc(t, this._c) : [].concat(n), r], l = a[0], i = a.reduce((c, d) => {
|
|
3419
3419
|
const u = yo(t, d, o);
|
|
3420
3420
|
return c.top = Pe(u.top, c.top), c.right = Ze(u.right, c.right), c.bottom = Ze(u.bottom, c.bottom), c.left = Pe(u.left, c.left), c;
|
|
3421
3421
|
}, yo(t, l, o));
|
|
@@ -3444,7 +3444,7 @@ function dc(e, t, n) {
|
|
|
3444
3444
|
};
|
|
3445
3445
|
const i = wt(0);
|
|
3446
3446
|
if (r || !r && !s)
|
|
3447
|
-
if ((Ht(t) !== "body" || gn(o)) && (l =
|
|
3447
|
+
if ((Ht(t) !== "body" || gn(o)) && (l = On(t)), r) {
|
|
3448
3448
|
const u = Ft(t, !0, s, t);
|
|
3449
3449
|
i.x = u.x + t.clientLeft, i.y = u.y + t.clientTop;
|
|
3450
3450
|
} else o && (i.x = $i(o));
|
|
@@ -3463,12 +3463,12 @@ function mo(e, t) {
|
|
|
3463
3463
|
return !et(e) || Qe(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
3464
3464
|
}
|
|
3465
3465
|
function Si(e, t) {
|
|
3466
|
-
const n =
|
|
3467
|
-
if (
|
|
3466
|
+
const n = Le(e);
|
|
3467
|
+
if (Ln(e))
|
|
3468
3468
|
return n;
|
|
3469
3469
|
if (!et(e)) {
|
|
3470
3470
|
let o = Ct(e);
|
|
3471
|
-
for (; o && !
|
|
3471
|
+
for (; o && !Gt(o); ) {
|
|
3472
3472
|
if (We(o) && !Nn(o))
|
|
3473
3473
|
return o;
|
|
3474
3474
|
o = Ct(o);
|
|
@@ -3478,7 +3478,7 @@ function Si(e, t) {
|
|
|
3478
3478
|
let r = mo(e, t);
|
|
3479
3479
|
for (; r && Jl(r) && Nn(r); )
|
|
3480
3480
|
r = mo(r, t);
|
|
3481
|
-
return r &&
|
|
3481
|
+
return r && Gt(r) && Nn(r) && !pr(r) ? n : r || ec(e) || n;
|
|
3482
3482
|
}
|
|
3483
3483
|
var fc = async function(e) {
|
|
3484
3484
|
const t = this.getOffsetParent || Si, n = this.getDimensions, r = await n(e.floating);
|
|
@@ -3530,11 +3530,11 @@ function hc(e, t) {
|
|
|
3530
3530
|
};
|
|
3531
3531
|
let x = !0;
|
|
3532
3532
|
function w($) {
|
|
3533
|
-
const
|
|
3534
|
-
if (
|
|
3533
|
+
const O = $[0].intersectionRatio;
|
|
3534
|
+
if (O !== i) {
|
|
3535
3535
|
if (!x)
|
|
3536
3536
|
return a();
|
|
3537
|
-
|
|
3537
|
+
O ? a(!1, O) : r = setTimeout(() => {
|
|
3538
3538
|
a(!1, 1e-7);
|
|
3539
3539
|
}, 1e3);
|
|
3540
3540
|
}
|
|
@@ -3736,9 +3736,9 @@ function Fc(e) {
|
|
|
3736
3736
|
const v = [
|
|
3737
3737
|
// https://floating-ui.com/docs/offset
|
|
3738
3738
|
mc(({
|
|
3739
|
-
placement:
|
|
3739
|
+
placement: O
|
|
3740
3740
|
}) => {
|
|
3741
|
-
const T = !!
|
|
3741
|
+
const T = !!O.split("-")[1];
|
|
3742
3742
|
return {
|
|
3743
3743
|
mainAxis: p,
|
|
3744
3744
|
crossAxis: T ? void 0 : t.shift,
|
|
@@ -3747,12 +3747,12 @@ function Fc(e) {
|
|
|
3747
3747
|
})
|
|
3748
3748
|
];
|
|
3749
3749
|
if (t.flip !== !1) {
|
|
3750
|
-
const
|
|
3751
|
-
if (
|
|
3750
|
+
const O = typeof t.flip == "string" ? t.flip.split(" ") : void 0;
|
|
3751
|
+
if (O !== void 0 && !O.every(Dc))
|
|
3752
3752
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
3753
3753
|
v.push(vc({
|
|
3754
3754
|
padding: t.overflowPadding,
|
|
3755
|
-
fallbackPlacements:
|
|
3755
|
+
fallbackPlacements: O
|
|
3756
3756
|
}));
|
|
3757
3757
|
}
|
|
3758
3758
|
(t.slide || t.overlap) && v.push(pc({
|
|
@@ -3762,12 +3762,12 @@ function Fc(e) {
|
|
|
3762
3762
|
})), v.push(bc({
|
|
3763
3763
|
padding: t.overflowPadding,
|
|
3764
3764
|
apply({
|
|
3765
|
-
availableWidth:
|
|
3765
|
+
availableWidth: O,
|
|
3766
3766
|
availableHeight: T,
|
|
3767
3767
|
rects: I
|
|
3768
3768
|
}) {
|
|
3769
3769
|
const C = Math.round(I.reference.width);
|
|
3770
|
-
|
|
3770
|
+
O = Math.floor(O), T = Math.floor(T), h.style.setProperty("--kb-popper-anchor-width", `${C}px`), h.style.setProperty("--kb-popper-content-available-width", `${O}px`), h.style.setProperty("--kb-popper-content-available-height", `${T}px`), t.sameWidth && (h.style.width = `${C}px`), t.fitViewport && (h.style.maxWidth = `${O}px`, h.style.maxHeight = `${T}px`);
|
|
3771
3771
|
}
|
|
3772
3772
|
})), t.hideWhenDetached && v.push(xc({
|
|
3773
3773
|
padding: t.detachedPadding
|
|
@@ -3796,11 +3796,11 @@ function Fc(e) {
|
|
|
3796
3796
|
visibility: $
|
|
3797
3797
|
}), g && b.middlewareData.arrow) {
|
|
3798
3798
|
const {
|
|
3799
|
-
x:
|
|
3799
|
+
x: O,
|
|
3800
3800
|
y: T
|
|
3801
3801
|
} = b.middlewareData.arrow, I = b.placement.split("-")[0];
|
|
3802
3802
|
Object.assign(g.style, {
|
|
3803
|
-
left:
|
|
3803
|
+
left: O != null ? `${O}px` : "",
|
|
3804
3804
|
top: T != null ? `${T}px` : "",
|
|
3805
3805
|
[I]: "100%"
|
|
3806
3806
|
});
|
|
@@ -3814,7 +3814,7 @@ function Fc(e) {
|
|
|
3814
3814
|
// JSDOM doesn't support ResizeObserver
|
|
3815
3815
|
elementResize: typeof ResizeObserver == "function"
|
|
3816
3816
|
});
|
|
3817
|
-
|
|
3817
|
+
G(g);
|
|
3818
3818
|
}), B(() => {
|
|
3819
3819
|
const f = n(), h = t.contentRef?.();
|
|
3820
3820
|
!f || !h || queueMicrotask(() => {
|
|
@@ -3848,7 +3848,7 @@ function Ic(e) {
|
|
|
3848
3848
|
if (E(e.isDisabled))
|
|
3849
3849
|
return;
|
|
3850
3850
|
const n = e.ownerDocument?.() ?? Je();
|
|
3851
|
-
n.addEventListener("keydown", t),
|
|
3851
|
+
n.addEventListener("keydown", t), G(() => {
|
|
3852
3852
|
n.removeEventListener("keydown", t);
|
|
3853
3853
|
});
|
|
3854
3854
|
});
|
|
@@ -3907,18 +3907,18 @@ function Pc(e, t) {
|
|
|
3907
3907
|
B(() => {
|
|
3908
3908
|
E(e.isDisabled) || (n = window.setTimeout(() => {
|
|
3909
3909
|
o().addEventListener("pointerdown", c, !0);
|
|
3910
|
-
}, 0), o().addEventListener("focusin", d, !0),
|
|
3910
|
+
}, 0), o().addEventListener("focusin", d, !0), G(() => {
|
|
3911
3911
|
window.clearTimeout(n), o().removeEventListener("click", r), o().removeEventListener("pointerdown", c, !0), o().removeEventListener("focusin", d, !0);
|
|
3912
3912
|
}));
|
|
3913
3913
|
});
|
|
3914
3914
|
}
|
|
3915
3915
|
var Mi = we();
|
|
3916
|
-
function
|
|
3916
|
+
function Lc() {
|
|
3917
3917
|
return $e(Mi);
|
|
3918
3918
|
}
|
|
3919
|
-
function
|
|
3919
|
+
function Oc(e) {
|
|
3920
3920
|
let t;
|
|
3921
|
-
const n =
|
|
3921
|
+
const n = Lc(), [r, o] = Z(e, ["ref", "disableOutsidePointerEvents", "excludedElements", "onEscapeKeyDown", "onPointerDownOutside", "onFocusOutside", "onInteractOutside", "onDismiss", "bypassTopMostLayerCheck"]), s = /* @__PURE__ */ new Set([]), a = (u) => {
|
|
3922
3922
|
s.add(u);
|
|
3923
3923
|
const f = n?.registerNestedLayer(u);
|
|
3924
3924
|
return () => {
|
|
@@ -3947,14 +3947,14 @@ function Lc(e) {
|
|
|
3947
3947
|
dismiss: r.onDismiss
|
|
3948
3948
|
});
|
|
3949
3949
|
const u = n?.registerNestedLayer(t);
|
|
3950
|
-
Fe.assignPointerEventToLayers(), Fe.disableBodyPointerEvents(t),
|
|
3950
|
+
Fe.assignPointerEventToLayers(), Fe.disableBodyPointerEvents(t), G(() => {
|
|
3951
3951
|
t && (Fe.removeLayer(t), u?.(), Fe.assignPointerEventToLayers(), Fe.restoreBodyPointerEvents(t));
|
|
3952
3952
|
});
|
|
3953
3953
|
}), B(dt([() => t, () => r.disableOutsidePointerEvents], ([u, f]) => {
|
|
3954
3954
|
if (!u)
|
|
3955
3955
|
return;
|
|
3956
3956
|
const h = Fe.find(u);
|
|
3957
|
-
h && h.isPointerBlocking !== f && (h.isPointerBlocking = f, Fe.assignPointerEventToLayers()), f && Fe.disableBodyPointerEvents(u),
|
|
3957
|
+
h && h.isPointerBlocking !== f && (h.isPointerBlocking = f, Fe.assignPointerEventToLayers()), f && Fe.disableBodyPointerEvents(u), G(() => {
|
|
3958
3958
|
Fe.restoreBodyPointerEvents(u);
|
|
3959
3959
|
});
|
|
3960
3960
|
}, {
|
|
@@ -4002,8 +4002,8 @@ Pn(Re, {
|
|
|
4002
4002
|
ErrorMessage: () => ti,
|
|
4003
4003
|
Item: () => Ii,
|
|
4004
4004
|
ItemControl: () => Pi,
|
|
4005
|
-
ItemDescription: () =>
|
|
4006
|
-
ItemIndicator: () =>
|
|
4005
|
+
ItemDescription: () => Li,
|
|
4006
|
+
ItemIndicator: () => Oi,
|
|
4007
4007
|
ItemInput: () => qi,
|
|
4008
4008
|
ItemLabel: () => _i,
|
|
4009
4009
|
Label: () => Ri,
|
|
@@ -4027,8 +4027,8 @@ function hn() {
|
|
|
4027
4027
|
function Ii(e) {
|
|
4028
4028
|
const t = dn(), n = Ti(), r = `${t.generateId("item")}-${Be()}`, o = Q({
|
|
4029
4029
|
id: r
|
|
4030
|
-
}, e), [s, a] = Z(o, ["value", "disabled", "onPointerDown"]), [l, i] = z(), [c, d] = z(), [u, f] = z(), [h, g] = z(), [m, p] = z(!1), v = q(() => n.isSelectedValue(s.value)), b = q(() => s.disabled || t.isDisabled() || !1), x = (
|
|
4031
|
-
de(
|
|
4030
|
+
}, e), [s, a] = Z(o, ["value", "disabled", "onPointerDown"]), [l, i] = z(), [c, d] = z(), [u, f] = z(), [h, g] = z(), [m, p] = z(!1), v = q(() => n.isSelectedValue(s.value)), b = q(() => s.disabled || t.isDisabled() || !1), x = (O) => {
|
|
4031
|
+
de(O, s.onPointerDown), m() && O.preventDefault();
|
|
4032
4032
|
}, w = q(() => ({
|
|
4033
4033
|
...t.dataset(),
|
|
4034
4034
|
"data-disabled": b() ? "" : void 0,
|
|
@@ -4075,15 +4075,15 @@ function Pi(e) {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
}, () => t.dataset(), o));
|
|
4077
4077
|
}
|
|
4078
|
-
function
|
|
4078
|
+
function Li(e) {
|
|
4079
4079
|
const t = hn(), n = Q({
|
|
4080
4080
|
id: t.generateId("description")
|
|
4081
4081
|
}, e);
|
|
4082
|
-
return B(() =>
|
|
4082
|
+
return B(() => G(t.registerDescription(n.id))), y(fe, j({
|
|
4083
4083
|
as: "div"
|
|
4084
4084
|
}, () => t.dataset(), n));
|
|
4085
4085
|
}
|
|
4086
|
-
function
|
|
4086
|
+
function Oi(e) {
|
|
4087
4087
|
const t = hn(), n = Q({
|
|
4088
4088
|
id: t.generateId("indicator")
|
|
4089
4089
|
}, e), [r, o] = Z(n, ["ref", "forceMount"]), [s, a] = z(), {
|
|
@@ -4141,7 +4141,7 @@ function qi(e) {
|
|
|
4141
4141
|
}));
|
|
4142
4142
|
}, {
|
|
4143
4143
|
defer: !0
|
|
4144
|
-
})), B(() =>
|
|
4144
|
+
})), B(() => G(r.registerInput(a.id))), y(fe, j({
|
|
4145
4145
|
as: "input",
|
|
4146
4146
|
ref(g) {
|
|
4147
4147
|
const m = De(r.setInputRef, s.ref);
|
|
@@ -4186,7 +4186,7 @@ function _i(e) {
|
|
|
4186
4186
|
const t = hn(), n = Q({
|
|
4187
4187
|
id: t.generateId("label")
|
|
4188
4188
|
}, e);
|
|
4189
|
-
return B(() =>
|
|
4189
|
+
return B(() => G(t.registerLabel(n.id))), y(fe, j({
|
|
4190
4190
|
as: "label",
|
|
4191
4191
|
get for() {
|
|
4192
4192
|
return t.inputId();
|
|
@@ -4203,13 +4203,13 @@ function zi(e) {
|
|
|
4203
4203
|
const n = `radiogroup-${Be()}`, r = Q({
|
|
4204
4204
|
id: n,
|
|
4205
4205
|
orientation: "vertical"
|
|
4206
|
-
}, e), [o, s, a] = Z(r, ["ref", "value", "defaultValue", "onChange", "orientation", "aria-labelledby", "aria-describedby"],
|
|
4206
|
+
}, e), [o, s, a] = Z(r, ["ref", "value", "defaultValue", "onChange", "orientation", "aria-labelledby", "aria-describedby"], Ga), [l, i] = fn({
|
|
4207
4207
|
value: () => o.value,
|
|
4208
4208
|
defaultValue: () => o.defaultValue,
|
|
4209
4209
|
onChange: (g) => o.onChange?.(g)
|
|
4210
4210
|
}), {
|
|
4211
4211
|
formControlContext: c
|
|
4212
|
-
} =
|
|
4212
|
+
} = Ua(s);
|
|
4213
4213
|
Va(() => t, () => i(o.defaultValue ?? ""));
|
|
4214
4214
|
const d = () => c.getAriaLabelledBy(E(s.id), a["aria-label"], o["aria-labelledby"]), u = () => c.getAriaDescribedBy(o["aria-describedby"]), f = (g) => g === l(), h = {
|
|
4215
4215
|
ariaDescribedBy: u,
|
|
@@ -4270,8 +4270,8 @@ var qc = Object.assign(zi, {
|
|
|
4270
4270
|
ErrorMessage: ti,
|
|
4271
4271
|
Item: Ii,
|
|
4272
4272
|
ItemControl: Pi,
|
|
4273
|
-
ItemDescription:
|
|
4274
|
-
ItemIndicator:
|
|
4273
|
+
ItemDescription: Li,
|
|
4274
|
+
ItemIndicator: Oi,
|
|
4275
4275
|
ItemInput: qi,
|
|
4276
4276
|
ItemLabel: _i,
|
|
4277
4277
|
Label: Ri
|
|
@@ -4391,7 +4391,7 @@ function Rc(e, t, n) {
|
|
|
4391
4391
|
t
|
|
4392
4392
|
);
|
|
4393
4393
|
}
|
|
4394
|
-
var
|
|
4394
|
+
var Gn = "focusScope.autoFocusOnMount", Un = "focusScope.autoFocusOnUnmount", wo = {
|
|
4395
4395
|
bubbles: !1,
|
|
4396
4396
|
cancelable: !0
|
|
4397
4397
|
}, $o = {
|
|
@@ -4443,15 +4443,15 @@ function zc(e, t) {
|
|
|
4443
4443
|
$o.add(o);
|
|
4444
4444
|
const m = nn(g);
|
|
4445
4445
|
if (!ze(g, m)) {
|
|
4446
|
-
const v = new CustomEvent(
|
|
4447
|
-
g.addEventListener(
|
|
4446
|
+
const v = new CustomEvent(Gn, wo);
|
|
4447
|
+
g.addEventListener(Gn, a), g.dispatchEvent(v), v.defaultPrevented || setTimeout(() => {
|
|
4448
4448
|
ke(u()), nn(g) === m && ke(g);
|
|
4449
4449
|
}, 0);
|
|
4450
4450
|
}
|
|
4451
|
-
|
|
4452
|
-
g.removeEventListener(
|
|
4453
|
-
const v = new CustomEvent(
|
|
4454
|
-
h() && v.preventDefault(), g.addEventListener(
|
|
4451
|
+
G(() => {
|
|
4452
|
+
g.removeEventListener(Gn, a), setTimeout(() => {
|
|
4453
|
+
const v = new CustomEvent(Un, wo);
|
|
4454
|
+
h() && v.preventDefault(), g.addEventListener(Un, l), g.dispatchEvent(v), v.defaultPrevented || ke(m ?? i().body), g.removeEventListener(Un, l), $o.remove(o);
|
|
4455
4455
|
}, 0);
|
|
4456
4456
|
});
|
|
4457
4457
|
}), B(() => {
|
|
@@ -4465,7 +4465,7 @@ function zc(e, t) {
|
|
|
4465
4465
|
const x = v.relatedTarget ?? nn(g);
|
|
4466
4466
|
x?.closest(`[${Sn}]`) || ze(g, x) || ke(s);
|
|
4467
4467
|
};
|
|
4468
|
-
i().addEventListener("focusin", m), i().addEventListener("focusout", p),
|
|
4468
|
+
i().addEventListener("focusin", m), i().addEventListener("focusout", p), G(() => {
|
|
4469
4469
|
i().removeEventListener("focusin", m), i().removeEventListener("focusout", p);
|
|
4470
4470
|
});
|
|
4471
4471
|
}), B(() => {
|
|
@@ -4488,7 +4488,7 @@ function zc(e, t) {
|
|
|
4488
4488
|
b.observe(g, {
|
|
4489
4489
|
childList: !0,
|
|
4490
4490
|
subtree: !1
|
|
4491
|
-
}),
|
|
4491
|
+
}), G(() => {
|
|
4492
4492
|
m.removeEventListener("focusin", v), p.removeEventListener("focusin", v), m.remove(), p.remove(), b.disconnect();
|
|
4493
4493
|
});
|
|
4494
4494
|
});
|
|
@@ -4496,7 +4496,7 @@ function zc(e, t) {
|
|
|
4496
4496
|
var Kc = "data-live-announcer";
|
|
4497
4497
|
function Bc(e) {
|
|
4498
4498
|
B(() => {
|
|
4499
|
-
E(e.isDisabled) ||
|
|
4499
|
+
E(e.isDisabled) || G(Nc(E(e.targets), E(e.root)));
|
|
4500
4500
|
});
|
|
4501
4501
|
}
|
|
4502
4502
|
var Jt = /* @__PURE__ */ new WeakMap(), _e = [];
|
|
@@ -4557,7 +4557,7 @@ function Nc(e, t = document.body) {
|
|
|
4557
4557
|
l === _e[_e.length - 1] ? (_e.pop(), _e.length && _e[_e.length - 1].observe()) : _e.splice(_e.indexOf(l), 1);
|
|
4558
4558
|
};
|
|
4559
4559
|
}
|
|
4560
|
-
var wn = /* @__PURE__ */ new Map(),
|
|
4560
|
+
var wn = /* @__PURE__ */ new Map(), Gc = (e) => {
|
|
4561
4561
|
B(() => {
|
|
4562
4562
|
const t = Se(e.style) ?? {}, n = Se(e.properties) ?? [], r = {};
|
|
4563
4563
|
for (const s in t)
|
|
@@ -4570,7 +4570,7 @@ var wn = /* @__PURE__ */ new Map(), Uc = (e) => {
|
|
|
4570
4570
|
}), Object.assign(e.element.style, e.style);
|
|
4571
4571
|
for (const s of n)
|
|
4572
4572
|
e.element.style.setProperty(s.key, s.value);
|
|
4573
|
-
|
|
4573
|
+
G(() => {
|
|
4574
4574
|
const s = wn.get(e.key);
|
|
4575
4575
|
if (s) {
|
|
4576
4576
|
if (s.activeCount !== 1) {
|
|
@@ -4586,7 +4586,7 @@ var wn = /* @__PURE__ */ new Map(), Uc = (e) => {
|
|
|
4586
4586
|
}
|
|
4587
4587
|
});
|
|
4588
4588
|
});
|
|
4589
|
-
}, Co =
|
|
4589
|
+
}, Co = Gc, Uc = (e, t) => {
|
|
4590
4590
|
switch (t) {
|
|
4591
4591
|
case "x":
|
|
4592
4592
|
return [e.clientWidth, e.scrollLeft, e.scrollWidth];
|
|
@@ -4601,7 +4601,7 @@ var wn = /* @__PURE__ */ new Map(), Uc = (e) => {
|
|
|
4601
4601
|
const r = t === "x" && window.getComputedStyle(e).direction === "rtl" ? -1 : 1;
|
|
4602
4602
|
let o = e, s = 0, a = 0, l = !1;
|
|
4603
4603
|
do {
|
|
4604
|
-
const [i, c, d] =
|
|
4604
|
+
const [i, c, d] = Uc(
|
|
4605
4605
|
o,
|
|
4606
4606
|
t
|
|
4607
4607
|
), u = d - i - r * c;
|
|
@@ -4623,7 +4623,7 @@ var wn = /* @__PURE__ */ new Map(), Uc = (e) => {
|
|
|
4623
4623
|
), n = Be();
|
|
4624
4624
|
let r = [0, 0], o = null, s = null;
|
|
4625
4625
|
B(() => {
|
|
4626
|
-
Se(t.enabled) && (ko((c) => [...c, n]),
|
|
4626
|
+
Se(t.enabled) && (ko((c) => [...c, n]), G(() => {
|
|
4627
4627
|
ko(
|
|
4628
4628
|
(c) => c.filter((d) => d !== n)
|
|
4629
4629
|
);
|
|
@@ -4663,7 +4663,7 @@ var wn = /* @__PURE__ */ new Map(), Uc = (e) => {
|
|
|
4663
4663
|
passive: !1
|
|
4664
4664
|
}), document.addEventListener("touchmove", i, {
|
|
4665
4665
|
passive: !1
|
|
4666
|
-
}),
|
|
4666
|
+
}), G(() => {
|
|
4667
4667
|
document.removeEventListener("wheel", l), document.removeEventListener("touchstart", a), document.removeEventListener("touchmove", i);
|
|
4668
4668
|
}));
|
|
4669
4669
|
});
|
|
@@ -4734,9 +4734,9 @@ function Cr() {
|
|
|
4734
4734
|
throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");
|
|
4735
4735
|
return e;
|
|
4736
4736
|
}
|
|
4737
|
-
var
|
|
4737
|
+
var Gi = we();
|
|
4738
4738
|
function tt() {
|
|
4739
|
-
const e = $e(
|
|
4739
|
+
const e = $e(Gi);
|
|
4740
4740
|
if (e === void 0)
|
|
4741
4741
|
throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");
|
|
4742
4742
|
return e;
|
|
@@ -4779,7 +4779,7 @@ function Sr(e) {
|
|
|
4779
4779
|
p();
|
|
4780
4780
|
break;
|
|
4781
4781
|
}
|
|
4782
|
-
},
|
|
4782
|
+
}, O = q(() => {
|
|
4783
4783
|
if (s.indeterminate)
|
|
4784
4784
|
return "mixed";
|
|
4785
4785
|
if (s.checked != null)
|
|
@@ -4810,7 +4810,7 @@ function Sr(e) {
|
|
|
4810
4810
|
return v.tabIndex();
|
|
4811
4811
|
},
|
|
4812
4812
|
get "aria-checked"() {
|
|
4813
|
-
return
|
|
4813
|
+
return O();
|
|
4814
4814
|
},
|
|
4815
4815
|
get "aria-disabled"() {
|
|
4816
4816
|
return s.disabled;
|
|
@@ -4848,7 +4848,7 @@ function Sr(e) {
|
|
|
4848
4848
|
}
|
|
4849
4849
|
});
|
|
4850
4850
|
}
|
|
4851
|
-
function
|
|
4851
|
+
function Ui(e) {
|
|
4852
4852
|
const t = Q({
|
|
4853
4853
|
closeOnSelect: !1
|
|
4854
4854
|
}, e), [n, r] = Z(t, ["checked", "defaultChecked", "onChange", "onSelect"]), o = Ya({
|
|
@@ -4930,7 +4930,7 @@ function Hi(e) {
|
|
|
4930
4930
|
}, p = (v) => {
|
|
4931
4931
|
de(v, a.onFocus), r !== void 0 && v.currentTarget.dataset.pointerType !== "touch" && r.setValue(i);
|
|
4932
4932
|
};
|
|
4933
|
-
return B(() =>
|
|
4933
|
+
return B(() => G(n.registerTriggerId(a.id))), y(hr, j({
|
|
4934
4934
|
ref(v) {
|
|
4935
4935
|
const b = De(n.setTriggerRef, a.ref);
|
|
4936
4936
|
typeof b == "function" && b(v);
|
|
@@ -5018,7 +5018,7 @@ function ji(e) {
|
|
|
5018
5018
|
const w = x.target, $ = d !== x.clientX;
|
|
5019
5019
|
ze(x.currentTarget, w) && $ && (r.setPointerDir(x.clientX > d ? "right" : "left"), d = x.clientX);
|
|
5020
5020
|
};
|
|
5021
|
-
B(() =>
|
|
5021
|
+
B(() => G(r.registerContentId(i.id)));
|
|
5022
5022
|
const b = {
|
|
5023
5023
|
ref: De((x) => {
|
|
5024
5024
|
r.setContentRef(x), t = x;
|
|
@@ -5060,7 +5060,7 @@ function ji(e) {
|
|
|
5060
5060
|
get children() {
|
|
5061
5061
|
return y(Ei.Positioner, {
|
|
5062
5062
|
get children() {
|
|
5063
|
-
return y(
|
|
5063
|
+
return y(Oc, j({
|
|
5064
5064
|
get disableOutsidePointerEvents() {
|
|
5065
5065
|
return ye(() => !!u())() && r.isOpen();
|
|
5066
5066
|
},
|
|
@@ -5133,7 +5133,7 @@ function Qi(e) {
|
|
|
5133
5133
|
const t = tu(), n = Q({
|
|
5134
5134
|
id: t.generateId("label")
|
|
5135
5135
|
}, e), [r, o] = Z(n, ["id"]);
|
|
5136
|
-
return B(() =>
|
|
5136
|
+
return B(() => G(t.registerLabelId(r.id))), y(fe, j({
|
|
5137
5137
|
as: "span",
|
|
5138
5138
|
get id() {
|
|
5139
5139
|
return r.id;
|
|
@@ -5160,7 +5160,7 @@ function Zi(e) {
|
|
|
5160
5160
|
const t = Cr(), n = Q({
|
|
5161
5161
|
id: t.generateId("description")
|
|
5162
5162
|
}, e), [r, o] = Z(n, ["id"]);
|
|
5163
|
-
return B(() =>
|
|
5163
|
+
return B(() => G(t.registerDescription(r.id))), y(fe, j({
|
|
5164
5164
|
as: "div",
|
|
5165
5165
|
get id() {
|
|
5166
5166
|
return r.id;
|
|
@@ -5186,7 +5186,7 @@ function es(e) {
|
|
|
5186
5186
|
const t = Cr(), n = Q({
|
|
5187
5187
|
id: t.generateId("label")
|
|
5188
5188
|
}, e), [r, o] = Z(n, ["ref", "id"]);
|
|
5189
|
-
return B(() =>
|
|
5189
|
+
return B(() => G(t.registerLabel(r.id))), y(fe, j({
|
|
5190
5190
|
as: "div",
|
|
5191
5191
|
ref(s) {
|
|
5192
5192
|
const a = De(t.setLabelRef, r.ref);
|
|
@@ -5274,8 +5274,8 @@ function is(e) {
|
|
|
5274
5274
|
placement: t.orientation() === "horizontal" ? "bottom-start" : "right-start"
|
|
5275
5275
|
}, e), [l, i] = Z(a, ["open", "defaultOpen", "onOpenChange"]);
|
|
5276
5276
|
let c = 0, d = null, u = "right";
|
|
5277
|
-
const [f, h] = z(), [g, m] = z(), [p, v] = z(), [b, x] = z(), [w, $] = z(!0), [
|
|
5278
|
-
DomCollectionProvider:
|
|
5277
|
+
const [f, h] = z(), [g, m] = z(), [p, v] = z(), [b, x] = z(), [w, $] = z(!0), [O, T] = z(i.placement), [I, C] = z([]), [F, V] = z([]), {
|
|
5278
|
+
DomCollectionProvider: U
|
|
5279
5279
|
} = ol({
|
|
5280
5280
|
items: F,
|
|
5281
5281
|
onItemsChange: V
|
|
@@ -5304,9 +5304,9 @@ function is(e) {
|
|
|
5304
5304
|
s != null ? setTimeout(() => ce()) : ce();
|
|
5305
5305
|
}, Ae = (H) => {
|
|
5306
5306
|
C((Ce) => [...Ce, H]);
|
|
5307
|
-
const
|
|
5307
|
+
const Ue = r?.registerNestedMenu(H);
|
|
5308
5308
|
return () => {
|
|
5309
|
-
C((Ce) => Yn(Ce, H)),
|
|
5309
|
+
C((Ce) => Yn(Ce, H)), Ue?.();
|
|
5310
5310
|
};
|
|
5311
5311
|
}, he = (H) => u === d?.side && ou(H, d?.area), Ee = (H) => {
|
|
5312
5312
|
he(H) && H.preventDefault();
|
|
@@ -5322,9 +5322,9 @@ function is(e) {
|
|
|
5322
5322
|
const H = b();
|
|
5323
5323
|
if (!H || !r)
|
|
5324
5324
|
return;
|
|
5325
|
-
const
|
|
5326
|
-
|
|
5327
|
-
|
|
5325
|
+
const Ue = r.registerNestedMenu(H);
|
|
5326
|
+
G(() => {
|
|
5327
|
+
Ue();
|
|
5328
5328
|
});
|
|
5329
5329
|
}), B(() => {
|
|
5330
5330
|
r === void 0 && o?.registerMenu(t.value(), [b(), ...I()]);
|
|
@@ -5332,7 +5332,7 @@ function is(e) {
|
|
|
5332
5332
|
r !== void 0 || o === void 0 || (o.value() === t.value() ? (p()?.focus(), o.autoFocusMenu() && ie(!0)) : ne());
|
|
5333
5333
|
}), B(() => {
|
|
5334
5334
|
r !== void 0 || o === void 0 || te.isOpen() && o.setValue(t.value());
|
|
5335
|
-
}),
|
|
5335
|
+
}), G(() => {
|
|
5336
5336
|
r === void 0 && o?.unregisterMenu(t.value());
|
|
5337
5337
|
});
|
|
5338
5338
|
const yt = {
|
|
@@ -5343,7 +5343,7 @@ function is(e) {
|
|
|
5343
5343
|
isOpen: te.isOpen,
|
|
5344
5344
|
contentPresent: J,
|
|
5345
5345
|
nestedMenus: I,
|
|
5346
|
-
currentPlacement:
|
|
5346
|
+
currentPlacement: O,
|
|
5347
5347
|
pointerGraceTimeoutId: () => c,
|
|
5348
5348
|
autoFocus: w,
|
|
5349
5349
|
listState: () => le,
|
|
@@ -5369,7 +5369,7 @@ function is(e) {
|
|
|
5369
5369
|
registerTriggerId: Ke(h),
|
|
5370
5370
|
registerContentId: Ke(m)
|
|
5371
5371
|
};
|
|
5372
|
-
return y(
|
|
5372
|
+
return y(U, {
|
|
5373
5373
|
get children() {
|
|
5374
5374
|
return y(Ki.Provider, {
|
|
5375
5375
|
value: yt,
|
|
@@ -5479,10 +5479,10 @@ function ls(e) {
|
|
|
5479
5479
|
// Safe because sub menu always open "left" or "right".
|
|
5480
5480
|
side: r.currentPlacement().split("-")[0]
|
|
5481
5481
|
}), window.clearTimeout(w?.pointerGraceTimeoutId());
|
|
5482
|
-
const
|
|
5482
|
+
const O = window.setTimeout(() => {
|
|
5483
5483
|
w?.setPointerGraceIntent(null);
|
|
5484
5484
|
}, 300);
|
|
5485
|
-
w?.setPointerGraceTimeoutId(
|
|
5485
|
+
w?.setPointerGraceTimeoutId(O);
|
|
5486
5486
|
} else {
|
|
5487
5487
|
if (w?.onTriggerLeave(x), x.defaultPrevented)
|
|
5488
5488
|
return;
|
|
@@ -5502,12 +5502,12 @@ function ls(e) {
|
|
|
5502
5502
|
textValue: s.textValue ?? t?.textContent ?? "",
|
|
5503
5503
|
disabled: s.disabled ?? !1
|
|
5504
5504
|
});
|
|
5505
|
-
|
|
5505
|
+
G(x);
|
|
5506
5506
|
}), B(dt(() => r.parentMenuContext()?.pointerGraceTimeoutId(), (x) => {
|
|
5507
|
-
|
|
5507
|
+
G(() => {
|
|
5508
5508
|
window.clearTimeout(x), r.parentMenuContext()?.setPointerGraceIntent(null);
|
|
5509
5509
|
});
|
|
5510
|
-
})), B(() =>
|
|
5510
|
+
})), B(() => G(r.registerTriggerId(s.id))), G(() => {
|
|
5511
5511
|
i();
|
|
5512
5512
|
}), y(fe, j({
|
|
5513
5513
|
as: "div",
|
|
@@ -5581,7 +5581,7 @@ function au(e) {
|
|
|
5581
5581
|
value: () => o.value,
|
|
5582
5582
|
orientation: () => o.orientation ?? t?.orientation() ?? "horizontal"
|
|
5583
5583
|
};
|
|
5584
|
-
return y(
|
|
5584
|
+
return y(Gi.Provider, {
|
|
5585
5585
|
value: l,
|
|
5586
5586
|
get children() {
|
|
5587
5587
|
return y(is, j({
|
|
@@ -5625,7 +5625,7 @@ function _n(e) {
|
|
|
5625
5625
|
var cu = _n, oe = {};
|
|
5626
5626
|
Pn(oe, {
|
|
5627
5627
|
Arrow: () => $r,
|
|
5628
|
-
CheckboxItem: () =>
|
|
5628
|
+
CheckboxItem: () => Ui,
|
|
5629
5629
|
Content: () => cs,
|
|
5630
5630
|
DropdownMenu: () => uu,
|
|
5631
5631
|
Group: () => kr,
|
|
@@ -5665,7 +5665,7 @@ function us(e) {
|
|
|
5665
5665
|
}
|
|
5666
5666
|
var uu = Object.assign(us, {
|
|
5667
5667
|
Arrow: $r,
|
|
5668
|
-
CheckboxItem:
|
|
5668
|
+
CheckboxItem: Ui,
|
|
5669
5669
|
Content: cs,
|
|
5670
5670
|
Group: kr,
|
|
5671
5671
|
GroupLabel: Qi,
|
|
@@ -5906,13 +5906,13 @@ function Pu() {
|
|
|
5906
5906
|
return e.style.setProperty("transform", "rotate(90deg)"), e;
|
|
5907
5907
|
})();
|
|
5908
5908
|
}
|
|
5909
|
-
function
|
|
5909
|
+
function Lu() {
|
|
5910
5910
|
return (() => {
|
|
5911
5911
|
var e = Er();
|
|
5912
5912
|
return e.style.setProperty("transform", "rotate(-90deg)"), e;
|
|
5913
5913
|
})();
|
|
5914
5914
|
}
|
|
5915
|
-
function
|
|
5915
|
+
function Ou() {
|
|
5916
5916
|
return yu();
|
|
5917
5917
|
}
|
|
5918
5918
|
function qu() {
|
|
@@ -5936,10 +5936,10 @@ function Bu() {
|
|
|
5936
5936
|
function Nu() {
|
|
5937
5937
|
return $u();
|
|
5938
5938
|
}
|
|
5939
|
-
function
|
|
5939
|
+
function Gu() {
|
|
5940
5940
|
return Cu();
|
|
5941
5941
|
}
|
|
5942
|
-
function
|
|
5942
|
+
function Uu(e) {
|
|
5943
5943
|
return (() => {
|
|
5944
5944
|
var t = ds(), n = t.firstChild;
|
|
5945
5945
|
return N(() => D(n, "stroke", e.theme === "dark" ? "#12B76A" : "#027A48")), t;
|
|
@@ -5985,8 +5985,8 @@ function Yu() {
|
|
|
5985
5985
|
function Io() {
|
|
5986
5986
|
const e = Be();
|
|
5987
5987
|
return (() => {
|
|
5988
|
-
var t = Fu(), n = t.firstChild, r = n.nextSibling, o = r.nextSibling, s = o.firstChild, a = o.nextSibling, l = a.firstChild, i = a.nextSibling, c = i.nextSibling, d = c.firstChild, u = c.nextSibling, f = u.firstChild, h = u.nextSibling, g = h.nextSibling, m = g.firstChild, p = g.nextSibling, v = p.firstChild, b = p.nextSibling, x = b.nextSibling, w = x.firstChild, $ = x.nextSibling,
|
|
5989
|
-
return D(n, "id", `a-${e}`), D(r, "fill", `url(#a-${e})`), D(s, "id", `am-${e}`), D(a, "id", `b-${e}`), D(l, "filter", `url(#am-${e})`), D(i, "mask", `url(#b-${e})`), D(d, "id", `ah-${e}`), D(u, "id", `k-${e}`), D(f, "filter", `url(#ah-${e})`), D(h, "mask", `url(#k-${e})`), D(m, "id", `ae-${e}`), D(p, "id", `j-${e}`), D(v, "filter", `url(#ae-${e})`), D(b, "mask", `url(#j-${e})`), D(w, "id", `ai-${e}`), D($, "id", `i-${e}`), D(
|
|
5988
|
+
var t = Fu(), n = t.firstChild, r = n.nextSibling, o = r.nextSibling, s = o.firstChild, a = o.nextSibling, l = a.firstChild, i = a.nextSibling, c = i.nextSibling, d = c.firstChild, u = c.nextSibling, f = u.firstChild, h = u.nextSibling, g = h.nextSibling, m = g.firstChild, p = g.nextSibling, v = p.firstChild, b = p.nextSibling, x = b.nextSibling, w = x.firstChild, $ = x.nextSibling, O = $.firstChild, T = $.nextSibling, I = T.nextSibling, C = I.firstChild, F = I.nextSibling, V = F.firstChild, U = F.nextSibling, te = U.nextSibling, J = te.firstChild, le = te.nextSibling, ie = le.firstChild, ne = le.nextSibling, se = ne.nextSibling, ce = se.firstChild, me = se.nextSibling, Ae = me.firstChild, he = me.nextSibling, Ee = he.firstChild, M = Ee.nextSibling, ge = M.nextSibling, Y = ge.nextSibling, yt = Y.nextSibling, H = he.nextSibling, Ue = H.firstChild, Ce = H.nextSibling, Pt = Ce.firstChild, Oe = Ce.nextSibling, mt = Oe.firstChild, kt = mt.nextSibling, nt = kt.nextSibling, Ye = nt.firstChild, rt = Ye.nextSibling, P = rt.nextSibling, re = P.nextSibling, Me = re.nextSibling, ae = Me.nextSibling, ee = ae.nextSibling, ue = ee.nextSibling, pe = ue.nextSibling, X = pe.nextSibling, ot = X.nextSibling, it = ot.nextSibling, He = Oe.nextSibling, Et = He.firstChild, st = He.nextSibling, Mt = st.firstChild, at = st.nextSibling, pt = at.firstChild, mn = pt.nextSibling, Wt = at.nextSibling, pn = Wt.firstChild, Lt = Wt.nextSibling, vn = Lt.firstChild, Qt = Lt.nextSibling, Yt = Qt.firstChild, Xt = Yt.nextSibling, Ot = Xt.nextSibling, Dr = Ot.nextSibling, Ar = Dr.nextSibling, Tr = Ar.nextSibling, Fr = Tr.nextSibling, Ir = Fr.nextSibling, Pr = Ir.nextSibling, Lr = Pr.nextSibling, Or = Lr.nextSibling, qr = Or.nextSibling, _r = qr.nextSibling, Rr = _r.nextSibling, zr = Rr.nextSibling, Kr = zr.nextSibling, Br = Kr.nextSibling, vs = Br.nextSibling;
|
|
5989
|
+
return D(n, "id", `a-${e}`), D(r, "fill", `url(#a-${e})`), D(s, "id", `am-${e}`), D(a, "id", `b-${e}`), D(l, "filter", `url(#am-${e})`), D(i, "mask", `url(#b-${e})`), D(d, "id", `ah-${e}`), D(u, "id", `k-${e}`), D(f, "filter", `url(#ah-${e})`), D(h, "mask", `url(#k-${e})`), D(m, "id", `ae-${e}`), D(p, "id", `j-${e}`), D(v, "filter", `url(#ae-${e})`), D(b, "mask", `url(#j-${e})`), D(w, "id", `ai-${e}`), D($, "id", `i-${e}`), D(O, "filter", `url(#ai-${e})`), D(T, "mask", `url(#i-${e})`), D(C, "id", `aj-${e}`), D(F, "id", `h-${e}`), D(V, "filter", `url(#aj-${e})`), D(U, "mask", `url(#h-${e})`), D(J, "id", `ag-${e}`), D(le, "id", `g-${e}`), D(ie, "filter", `url(#ag-${e})`), D(ne, "mask", `url(#g-${e})`), D(ce, "id", `af-${e}`), D(me, "id", `f-${e}`), D(Ae, "filter", `url(#af-${e})`), D(he, "mask", `url(#f-${e})`), D(Y, "id", `m-${e}`), D(yt, "fill", `url(#m-${e})`), D(Ue, "id", `ak-${e}`), D(Ce, "id", `e-${e}`), D(Pt, "filter", `url(#ak-${e})`), D(Oe, "mask", `url(#e-${e})`), D(mt, "id", `n-${e}`), D(kt, "fill", `url(#n-${e})`), D(Ye, "id", `r-${e}`), D(rt, "fill", `url(#r-${e})`), D(P, "id", `s-${e}`), D(re, "fill", `url(#s-${e})`), D(Me, "id", `q-${e}`), D(ae, "fill", `url(#q-${e})`), D(ee, "id", `p-${e}`), D(ue, "fill", `url(#p-${e})`), D(pe, "id", `o-${e}`), D(X, "fill", `url(#o-${e})`), D(ot, "id", `l-${e}`), D(it, "fill", `url(#l-${e})`), D(Et, "id", `al-${e}`), D(st, "id", `d-${e}`), D(Mt, "filter", `url(#al-${e})`), D(at, "mask", `url(#d-${e})`), D(pt, "id", `u-${e}`), D(mn, "fill", `url(#u-${e})`), D(pn, "id", `ad-${e}`), D(Lt, "id", `c-${e}`), D(vn, "filter", `url(#ad-${e})`), D(Qt, "mask", `url(#c-${e})`), D(Yt, "id", `t-${e}`), D(Xt, "fill", `url(#t-${e})`), D(Ot, "id", `v-${e}`), D(Dr, "stroke", `url(#v-${e})`), D(Ar, "id", `aa-${e}`), D(Tr, "stroke", `url(#aa-${e})`), D(Fr, "id", `w-${e}`), D(Ir, "stroke", `url(#w-${e})`), D(Pr, "id", `ac-${e}`), D(Lr, "stroke", `url(#ac-${e})`), D(Or, "id", `ab-${e}`), D(qr, "stroke", `url(#ab-${e})`), D(_r, "id", `y-${e}`), D(Rr, "stroke", `url(#y-${e})`), D(zr, "id", `x-${e}`), D(Kr, "stroke", `url(#x-${e})`), D(Br, "id", `z-${e}`), D(vs, "stroke", `url(#z-${e})`), t;
|
|
5990
5990
|
})();
|
|
5991
5991
|
}
|
|
5992
5992
|
var Xu = /* @__PURE__ */ _('<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Zu = /* @__PURE__ */ _('<button title="Copy object to clipboard">'), Ju = /* @__PURE__ */ _('<button title="Remove all items"aria-label="Remove all items">'), ed = /* @__PURE__ */ _('<button title="Delete item"aria-label="Delete item">'), td = /* @__PURE__ */ _('<button title="Toggle value"aria-label="Toggle value">'), nd = /* @__PURE__ */ _('<button title="Bulk Edit Data"aria-label="Bulk Edit Data">'), en = /* @__PURE__ */ _("<div>"), rd = /* @__PURE__ */ _("<div><button> <span></span> <span> "), od = /* @__PURE__ */ _("<input>"), Po = /* @__PURE__ */ _("<span>"), id = /* @__PURE__ */ _("<div><span>:"), sd = /* @__PURE__ */ _("<div><div><button> [<!>...<!>]");
|
|
@@ -5997,13 +5997,13 @@ function ad(e, t) {
|
|
|
5997
5997
|
r.push(e.slice(n, n + t)), n = n + t;
|
|
5998
5998
|
return r;
|
|
5999
5999
|
}
|
|
6000
|
-
var
|
|
6000
|
+
var Lo = (e) => {
|
|
6001
6001
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
6002
6002
|
target: K().shadowDOMTarget
|
|
6003
6003
|
}) : W, r = q(() => t() === "dark" ? jt(n) : Vt(n));
|
|
6004
6004
|
return (() => {
|
|
6005
6005
|
var o = Xu();
|
|
6006
|
-
return N(() => A(o,
|
|
6006
|
+
return N(() => A(o, L(r().expander, n`
|
|
6007
6007
|
transform: rotate(${e.expanded ? 90 : 0}deg);
|
|
6008
6008
|
`, e.expanded && n`
|
|
6009
6009
|
& svg {
|
|
@@ -6041,7 +6041,7 @@ var Oo = (e) => {
|
|
|
6041
6041
|
return o() === "SuccessCopy";
|
|
6042
6042
|
},
|
|
6043
6043
|
get children() {
|
|
6044
|
-
return y(
|
|
6044
|
+
return y(Uu, {
|
|
6045
6045
|
get theme() {
|
|
6046
6046
|
return t();
|
|
6047
6047
|
}
|
|
@@ -6075,7 +6075,7 @@ var Oo = (e) => {
|
|
|
6075
6075
|
o.setQueryData(e.activeQuery.queryKey, l);
|
|
6076
6076
|
}, k(s, y(Vu, {})), N(() => A(s, r().actionButton)), s;
|
|
6077
6077
|
})();
|
|
6078
|
-
},
|
|
6078
|
+
}, Oo = (e) => {
|
|
6079
6079
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
6080
6080
|
target: K().shadowDOMTarget
|
|
6081
6081
|
}) : W, r = q(() => t() === "dark" ? jt(n) : Vt(n)), o = K().client;
|
|
@@ -6084,7 +6084,7 @@ var Oo = (e) => {
|
|
|
6084
6084
|
return s.$$click = () => {
|
|
6085
6085
|
const a = e.activeQuery.state.data, l = Is(a, e.dataPath);
|
|
6086
6086
|
o.setQueryData(e.activeQuery.queryKey, l);
|
|
6087
|
-
}, k(s, y(fs, {})), N(() => A(s,
|
|
6087
|
+
}, k(s, y(fs, {})), N(() => A(s, L(r().actionButton))), s;
|
|
6088
6088
|
})();
|
|
6089
6089
|
}, ud = (e) => {
|
|
6090
6090
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
@@ -6102,7 +6102,7 @@ var Oo = (e) => {
|
|
|
6102
6102
|
get checked() {
|
|
6103
6103
|
return e.value;
|
|
6104
6104
|
}
|
|
6105
|
-
})), N(() => A(s,
|
|
6105
|
+
})), N(() => A(s, L(r().actionButton, n`
|
|
6106
6106
|
width: ${S.size[3.5]};
|
|
6107
6107
|
height: ${S.size[3.5]};
|
|
6108
6108
|
`))), s;
|
|
@@ -6136,7 +6136,7 @@ function vt(e) {
|
|
|
6136
6136
|
get children() {
|
|
6137
6137
|
return [(() => {
|
|
6138
6138
|
var m = rd(), p = m.firstChild, v = p.firstChild, b = v.nextSibling, x = b.nextSibling, w = x.nextSibling, $ = w.firstChild;
|
|
6139
|
-
return p.$$click = () => l(), k(p, y(
|
|
6139
|
+
return p.$$click = () => l(), k(p, y(Lo, {
|
|
6140
6140
|
get expanded() {
|
|
6141
6141
|
return s();
|
|
6142
6142
|
}
|
|
@@ -6145,24 +6145,24 @@ function vt(e) {
|
|
|
6145
6145
|
return e.editable;
|
|
6146
6146
|
},
|
|
6147
6147
|
get children() {
|
|
6148
|
-
var
|
|
6149
|
-
return k(
|
|
6148
|
+
var O = en();
|
|
6149
|
+
return k(O, y(ld, {
|
|
6150
6150
|
get value() {
|
|
6151
6151
|
return e.value;
|
|
6152
6152
|
}
|
|
6153
|
-
}), null), k(
|
|
6153
|
+
}), null), k(O, y(R, {
|
|
6154
6154
|
get when() {
|
|
6155
6155
|
return e.itemsDeletable && e.activeQuery !== void 0;
|
|
6156
6156
|
},
|
|
6157
6157
|
get children() {
|
|
6158
|
-
return y(
|
|
6158
|
+
return y(Oo, {
|
|
6159
6159
|
get activeQuery() {
|
|
6160
6160
|
return e.activeQuery;
|
|
6161
6161
|
},
|
|
6162
6162
|
dataPath: h
|
|
6163
6163
|
});
|
|
6164
6164
|
}
|
|
6165
|
-
}), null), k(
|
|
6165
|
+
}), null), k(O, y(R, {
|
|
6166
6166
|
get when() {
|
|
6167
6167
|
return u() === "array" && e.activeQuery !== void 0;
|
|
6168
6168
|
},
|
|
@@ -6174,7 +6174,7 @@ function vt(e) {
|
|
|
6174
6174
|
dataPath: h
|
|
6175
6175
|
});
|
|
6176
6176
|
}
|
|
6177
|
-
}), null), k(
|
|
6177
|
+
}), null), k(O, y(R, {
|
|
6178
6178
|
get when() {
|
|
6179
6179
|
return ye(() => !!e.onEdit)() && !Ms(e.value).meta;
|
|
6180
6180
|
},
|
|
@@ -6182,13 +6182,13 @@ function vt(e) {
|
|
|
6182
6182
|
var T = nd();
|
|
6183
6183
|
return T.$$click = () => {
|
|
6184
6184
|
e.onEdit?.();
|
|
6185
|
-
}, k(T, y(
|
|
6185
|
+
}, k(T, y(Gu, {})), N(() => A(T, r().actionButton)), T;
|
|
6186
6186
|
}
|
|
6187
|
-
}), null), N(() => A(
|
|
6187
|
+
}), null), N(() => A(O, r().actions)), O;
|
|
6188
6188
|
}
|
|
6189
|
-
}), null), N((
|
|
6189
|
+
}), null), N((O) => {
|
|
6190
6190
|
var T = r().expanderButtonContainer, I = r().expanderButton, C = r().info;
|
|
6191
|
-
return T !==
|
|
6191
|
+
return T !== O.e && A(m, O.e = T), I !== O.t && A(p, O.t = I), C !== O.a && A(w, O.a = C), O;
|
|
6192
6192
|
}, {
|
|
6193
6193
|
e: void 0,
|
|
6194
6194
|
t: void 0,
|
|
@@ -6246,12 +6246,12 @@ function vt(e) {
|
|
|
6246
6246
|
return f();
|
|
6247
6247
|
},
|
|
6248
6248
|
children: (p, v) => (() => {
|
|
6249
|
-
var b = sd(), x = b.firstChild, w = x.firstChild, $ = w.firstChild,
|
|
6250
|
-
return I.nextSibling, w.$$click = () => c((C) => C.includes(v) ? C.filter((F) => F !== v) : [...C, v]), k(w, y(
|
|
6249
|
+
var b = sd(), x = b.firstChild, w = x.firstChild, $ = w.firstChild, O = $.nextSibling, T = O.nextSibling, I = T.nextSibling;
|
|
6250
|
+
return I.nextSibling, w.$$click = () => c((C) => C.includes(v) ? C.filter((F) => F !== v) : [...C, v]), k(w, y(Lo, {
|
|
6251
6251
|
get expanded() {
|
|
6252
6252
|
return i().includes(v);
|
|
6253
6253
|
}
|
|
6254
|
-
}), $), k(w, v * 100,
|
|
6254
|
+
}), $), k(w, v * 100, O), k(w, v * 100 + 100 - 1, I), k(x, y(R, {
|
|
6255
6255
|
get when() {
|
|
6256
6256
|
return i().includes(v);
|
|
6257
6257
|
},
|
|
@@ -6325,7 +6325,7 @@ function vt(e) {
|
|
|
6325
6325
|
const w = e.activeQuery.state.data, $ = sr(w, h, u() === "number" ? x.target.valueAsNumber : x.target.value);
|
|
6326
6326
|
o.setQueryData(e.activeQuery.queryKey, $);
|
|
6327
6327
|
}), N((x) => {
|
|
6328
|
-
var w = u() === "number" ? "number" : "text", $ =
|
|
6328
|
+
var w = u() === "number" ? "number" : "text", $ = L(r().value, r().editableInput);
|
|
6329
6329
|
return w !== x.e && D(b, "type", x.e = w), $ !== x.t && A(b, x.t = $), x;
|
|
6330
6330
|
}, {
|
|
6331
6331
|
e: void 0,
|
|
@@ -6346,7 +6346,7 @@ function vt(e) {
|
|
|
6346
6346
|
get value() {
|
|
6347
6347
|
return e.value;
|
|
6348
6348
|
}
|
|
6349
|
-
}), null), k(b, () => $n(e.value), null), N(() => A(b,
|
|
6349
|
+
}), null), k(b, () => $n(e.value), null), N(() => A(b, L(r().value, r().actions, r().editableInput))), b;
|
|
6350
6350
|
}
|
|
6351
6351
|
})];
|
|
6352
6352
|
}
|
|
@@ -6355,7 +6355,7 @@ function vt(e) {
|
|
|
6355
6355
|
return e.editable && e.itemsDeletable && e.activeQuery !== void 0;
|
|
6356
6356
|
},
|
|
6357
6357
|
get children() {
|
|
6358
|
-
return y(
|
|
6358
|
+
return y(Oo, {
|
|
6359
6359
|
get activeQuery() {
|
|
6360
6360
|
return e.activeQuery;
|
|
6361
6361
|
},
|
|
@@ -6508,19 +6508,19 @@ var gs = (e, t) => {
|
|
|
6508
6508
|
};
|
|
6509
6509
|
}, Vt = (e) => gs("light", e), jt = (e) => gs("dark", e);
|
|
6510
6510
|
ir(["click"]);
|
|
6511
|
-
var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>'), yn = /* @__PURE__ */ _("<div>"), fd = /* @__PURE__ */ _('<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">'), gd = /* @__PURE__ */ _("<select name=tsqd-queries-filter-sort>"), hd = /* @__PURE__ */ _("<select name=tsqd-mutations-filter-sort>"), yd = /* @__PURE__ */ _("<span>Asc"), md = /* @__PURE__ */ _("<span>Desc"), pd = /* @__PURE__ */ _('<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">'), vd = /* @__PURE__ */ _("<div>Settings"), bd = /* @__PURE__ */ _("<span>Position"), xd = /* @__PURE__ */ _("<span>Top"), wd = /* @__PURE__ */ _("<span>Bottom"), $d = /* @__PURE__ */ _("<span>Left"), Cd = /* @__PURE__ */ _("<span>Right"), Sd = /* @__PURE__ */ _("<span>Theme"), kd = /* @__PURE__ */ _("<span>Light"), Ed = /* @__PURE__ */ _("<span>Dark"), Md = /* @__PURE__ */ _("<span>System"), Dd = /* @__PURE__ */ _("<span>Disabled Queries"), Ad = /* @__PURE__ */ _("<span>Show"), Td = /* @__PURE__ */ _("<span>Hide"), Fd = /* @__PURE__ */ _("<div><div class=tsqd-queries-container>"), Id = /* @__PURE__ */ _("<div><div class=tsqd-mutations-container>"), Pd = /* @__PURE__ */ _('<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>'), _o = /* @__PURE__ */ _("<option>Sort by "),
|
|
6511
|
+
var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>'), yn = /* @__PURE__ */ _("<div>"), fd = /* @__PURE__ */ _('<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">'), gd = /* @__PURE__ */ _("<select name=tsqd-queries-filter-sort>"), hd = /* @__PURE__ */ _("<select name=tsqd-mutations-filter-sort>"), yd = /* @__PURE__ */ _("<span>Asc"), md = /* @__PURE__ */ _("<span>Desc"), pd = /* @__PURE__ */ _('<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">'), vd = /* @__PURE__ */ _("<div>Settings"), bd = /* @__PURE__ */ _("<span>Position"), xd = /* @__PURE__ */ _("<span>Top"), wd = /* @__PURE__ */ _("<span>Bottom"), $d = /* @__PURE__ */ _("<span>Left"), Cd = /* @__PURE__ */ _("<span>Right"), Sd = /* @__PURE__ */ _("<span>Theme"), kd = /* @__PURE__ */ _("<span>Light"), Ed = /* @__PURE__ */ _("<span>Dark"), Md = /* @__PURE__ */ _("<span>System"), Dd = /* @__PURE__ */ _("<span>Disabled Queries"), Ad = /* @__PURE__ */ _("<span>Show"), Td = /* @__PURE__ */ _("<span>Hide"), Fd = /* @__PURE__ */ _("<div><div class=tsqd-queries-container>"), Id = /* @__PURE__ */ _("<div><div class=tsqd-mutations-container>"), Pd = /* @__PURE__ */ _('<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>'), _o = /* @__PURE__ */ _("<option>Sort by "), Ld = /* @__PURE__ */ _("<div class=tsqd-query-disabled-indicator>disabled"), Od = /* @__PURE__ */ _("<div class=tsqd-query-static-indicator>static"), hs = /* @__PURE__ */ _("<button><div></div><code class=tsqd-query-hash>"), qd = /* @__PURE__ */ _("<div role=tooltip id=tsqd-status-tooltip>"), _d = /* @__PURE__ */ _("<span>"), Rd = /* @__PURE__ */ _("<button><span></span><span>"), zd = /* @__PURE__ */ _("<button><span></span> Error"), Kd = /* @__PURE__ */ _('<div><span></span>Trigger Error<select><option value=""disabled selected>'), Bd = /* @__PURE__ */ _('<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">'), Nd = /* @__PURE__ */ _("<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save"), Gd = /* @__PURE__ */ _('<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'), Ud = /* @__PURE__ */ _("<option>"), Hd = /* @__PURE__ */ _('<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'), [Ie, Rn] = z(null), [bt, ys] = z(null), [je, Mr] = z(0), [tn, Vd] = z(!1), l0 = (e) => {
|
|
6512
6512
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
6513
6513
|
target: K().shadowDOMTarget
|
|
6514
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
6514
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n)), o = q(() => K().onlineManager);
|
|
6515
6515
|
xt(() => {
|
|
6516
6516
|
const u = o().subscribe((f) => {
|
|
6517
6517
|
Vd(!f);
|
|
6518
6518
|
});
|
|
6519
|
-
|
|
6519
|
+
G(() => {
|
|
6520
6520
|
u();
|
|
6521
6521
|
});
|
|
6522
6522
|
});
|
|
6523
|
-
const s = lr(), a = q(() => K().buttonPosition ||
|
|
6523
|
+
const s = lr(), a = q(() => K().buttonPosition || Us), l = q(() => e.localStore.open === "true" ? !0 : e.localStore.open === "false" ? !1 : K().initialIsOpen || Hs), i = q(() => e.localStore.position || K().position || Wn);
|
|
6524
6524
|
let c;
|
|
6525
6525
|
B(() => {
|
|
6526
6526
|
const u = c.parentElement, f = e.localStore.height || Ko, h = e.localStore.width || Bo, g = i();
|
|
@@ -6530,7 +6530,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6530
6530
|
const f = c.parentElement, h = getComputedStyle(f).fontSize;
|
|
6531
6531
|
f.style.setProperty("--tsqd-font-size", h);
|
|
6532
6532
|
};
|
|
6533
|
-
u(), window.addEventListener("focus", u),
|
|
6533
|
+
u(), window.addEventListener("focus", u), G(() => {
|
|
6534
6534
|
window.removeEventListener("focus", u);
|
|
6535
6535
|
});
|
|
6536
6536
|
});
|
|
@@ -6583,11 +6583,11 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6583
6583
|
},
|
|
6584
6584
|
get children() {
|
|
6585
6585
|
var h = dd(), g = h.firstChild, m = g.nextSibling;
|
|
6586
|
-
return k(g, y(Io, {})), m.$$click = () => e.setLocalStore("open", "true"), k(m, y(Io, {})), N(() => A(h,
|
|
6586
|
+
return k(g, y(Io, {})), m.$$click = () => e.setLocalStore("open", "true"), k(m, y(Io, {})), N(() => A(h, L(r().devtoolsBtn, r()[`devtoolsBtn-position-${a()}`], "tsqd-open-btn-container"))), h;
|
|
6587
6587
|
}
|
|
6588
6588
|
});
|
|
6589
6589
|
}
|
|
6590
|
-
}), null), N(() => A(u,
|
|
6590
|
+
}), null), N(() => A(u, L(n`
|
|
6591
6591
|
& .tsqd-panel-transition-exit-active,
|
|
6592
6592
|
& .tsqd-panel-transition-enter-active {
|
|
6593
6593
|
transition:
|
|
@@ -6618,7 +6618,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6618
6618
|
}, jd = (e) => {
|
|
6619
6619
|
const t = lr(), n = xe(), r = K().shadowDOMTarget ? W.bind({
|
|
6620
6620
|
target: K().shadowDOMTarget
|
|
6621
|
-
}) : W, o = q(() => n() === "dark" ?
|
|
6621
|
+
}) : W, o = q(() => n() === "dark" ? Ge(r) : Ne(r)), s = () => {
|
|
6622
6622
|
const {
|
|
6623
6623
|
colors: a
|
|
6624
6624
|
} = S, l = (i, c) => n() === "dark" ? c : i;
|
|
@@ -6634,12 +6634,12 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6634
6634
|
const a = t().pipWindow, l = () => {
|
|
6635
6635
|
a && Mr(a.innerWidth);
|
|
6636
6636
|
};
|
|
6637
|
-
a && (a.addEventListener("resize", l), l()),
|
|
6637
|
+
a && (a.addEventListener("resize", l), l()), G(() => {
|
|
6638
6638
|
a && a.removeEventListener("resize", l);
|
|
6639
6639
|
});
|
|
6640
6640
|
}), (() => {
|
|
6641
6641
|
var a = yn();
|
|
6642
|
-
return a.style.setProperty("--tsqd-font-size", "16px"), a.style.setProperty("max-height", "100vh"), a.style.setProperty("height", "100vh"), a.style.setProperty("width", "100vw"), k(a, () => e.children), N(() => A(a,
|
|
6642
|
+
return a.style.setProperty("--tsqd-font-size", "16px"), a.style.setProperty("max-height", "100vh"), a.style.setProperty("height", "100vh"), a.style.setProperty("width", "100vw"), k(a, () => e.children), N(() => A(a, L(o().panel, s(), {
|
|
6643
6643
|
[r`
|
|
6644
6644
|
min-width: min-content;
|
|
6645
6645
|
`]: je() < ar
|
|
@@ -6648,7 +6648,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6648
6648
|
}, c0 = (e) => {
|
|
6649
6649
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
6650
6650
|
target: K().shadowDOMTarget
|
|
6651
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
6651
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n));
|
|
6652
6652
|
let o;
|
|
6653
6653
|
xt(() => {
|
|
6654
6654
|
jo(o, ({
|
|
@@ -6671,7 +6671,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6671
6671
|
};
|
|
6672
6672
|
return (() => {
|
|
6673
6673
|
var a = yn(), l = o;
|
|
6674
|
-
return typeof l == "function" ? cn(l, a) : o = a, a.style.setProperty("--tsqd-font-size", "16px"), k(a, () => e.children), N(() => A(a,
|
|
6674
|
+
return typeof l == "function" ? cn(l, a) : o = a, a.style.setProperty("--tsqd-font-size", "16px"), k(a, () => e.children), N(() => A(a, L(r().parentPanel, s(), {
|
|
6675
6675
|
[n`
|
|
6676
6676
|
min-width: min-content;
|
|
6677
6677
|
`]: je() < ar
|
|
@@ -6680,7 +6680,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6680
6680
|
}, Wd = (e) => {
|
|
6681
6681
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
6682
6682
|
target: K().shadowDOMTarget
|
|
6683
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
6683
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n)), [o, s] = z(!1), a = q(() => e.localStore.position || K().position || Wn), l = (d) => {
|
|
6684
6684
|
const u = d.currentTarget.parentElement;
|
|
6685
6685
|
if (!u) return;
|
|
6686
6686
|
s(!0);
|
|
@@ -6691,13 +6691,13 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6691
6691
|
let p = 0;
|
|
6692
6692
|
const v = Nr(3.5), b = Nr(12), x = ($) => {
|
|
6693
6693
|
if ($.preventDefault(), a() === "left" || a() === "right") {
|
|
6694
|
-
const
|
|
6695
|
-
p = Math.round(h +
|
|
6694
|
+
const O = a() === "right" ? g - $.clientX : $.clientX - g;
|
|
6695
|
+
p = Math.round(h + O), p < b && (p = b), e.setLocalStore("width", String(Math.round(p)));
|
|
6696
6696
|
const T = u.getBoundingClientRect().width;
|
|
6697
6697
|
Number(e.localStore.width) < T && e.setLocalStore("width", String(T));
|
|
6698
6698
|
} else {
|
|
6699
|
-
const
|
|
6700
|
-
p = Math.round(f +
|
|
6699
|
+
const O = a() === "bottom" ? m - $.clientY : $.clientY - m;
|
|
6700
|
+
p = Math.round(f + O), p < v && (p = v, Rn(null)), e.setLocalStore("height", String(Math.round(p)));
|
|
6701
6701
|
}
|
|
6702
6702
|
}, w = () => {
|
|
6703
6703
|
o() && s(!1), document.removeEventListener("mousemove", x, !1), document.removeEventListener("mouseUp", w, !1);
|
|
@@ -6727,7 +6727,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6727
6727
|
paddingLeft: b,
|
|
6728
6728
|
paddingRight: x
|
|
6729
6729
|
}))(d.style);
|
|
6730
|
-
d.style[f] = `${h ? e.localStore.width : e.localStore.height}px`,
|
|
6730
|
+
d.style[f] = `${h ? e.localStore.width : e.localStore.height}px`, G(() => {
|
|
6731
6731
|
Object.entries(g).forEach(([m, p]) => {
|
|
6732
6732
|
d.style[m] = p;
|
|
6733
6733
|
});
|
|
@@ -6748,11 +6748,11 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6748
6748
|
return (() => {
|
|
6749
6749
|
var d = fd(), u = d.firstChild, f = u.nextSibling, h = i;
|
|
6750
6750
|
return typeof h == "function" ? cn(h, d) : i = d, u.$$mousedown = l, f.$$click = () => e.setLocalStore("open", "false"), k(f, y(Kt, {})), k(d, y(ms, e), null), N((g) => {
|
|
6751
|
-
var m =
|
|
6751
|
+
var m = L(r().panel, r()[`panel-position-${a()}`], c(), {
|
|
6752
6752
|
[n`
|
|
6753
6753
|
min-width: min-content;
|
|
6754
6754
|
`]: je() < ar && (a() === "right" || a() === "left")
|
|
6755
|
-
}, "tsqd-main-panel"), p = a() === "bottom" || a() === "top" ? `${e.localStore.height || Ko}px` : "auto", v = a() === "right" || a() === "left" ? `${e.localStore.width || Bo}px` : "auto", b =
|
|
6755
|
+
}, "tsqd-main-panel"), p = a() === "bottom" || a() === "top" ? `${e.localStore.height || Ko}px` : "auto", v = a() === "right" || a() === "left" ? `${e.localStore.width || Bo}px` : "auto", b = L(r().dragHandle, r()[`dragHandle-position-${a()}`], "tsqd-drag-handle"), x = L(r().closeBtn, r()[`closeBtn-position-${a()}`], "tsqd-minimize-btn");
|
|
6756
6756
|
return m !== g.e && A(d, g.e = m), p !== g.t && ((g.t = p) != null ? d.style.setProperty("height", p) : d.style.removeProperty("height")), v !== g.a && ((g.a = v) != null ? d.style.setProperty("width", v) : d.style.removeProperty("width")), b !== g.o && A(u, g.o = b), x !== g.i && A(f, g.i = x), g;
|
|
6757
6757
|
}, {
|
|
6758
6758
|
e: void 0,
|
|
@@ -6767,7 +6767,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6767
6767
|
let t;
|
|
6768
6768
|
const n = xe(), r = K().shadowDOMTarget ? W.bind({
|
|
6769
6769
|
target: K().shadowDOMTarget
|
|
6770
|
-
}) : W, o = q(() => n() === "dark" ?
|
|
6770
|
+
}) : W, o = q(() => n() === "dark" ? Ge(r) : Ne(r)), s = lr(), [a, l] = z("queries"), i = q(() => e.localStore.sort || js), c = q(() => Number(e.localStore.sortOrder) || Hr), d = q(() => e.localStore.mutationSort || Ws), u = q(() => Number(e.localStore.mutationSortOrder) || Hr), f = q(() => Hn[i()]), h = q(() => Vn[d()]), g = q(() => K().onlineManager), m = q(() => K().client.getQueryCache()), p = q(() => K().client.getMutationCache()), v = ve((T) => T().getAll().length, !1), b = q(dt(() => [v(), e.localStore.filter, i(), c(), e.localStore.hideDisabledQueries], () => {
|
|
6771
6771
|
const T = m().getAll();
|
|
6772
6772
|
let I = e.localStore.filter ? T.filter((F) => Vr(F.queryHash, e.localStore.filter || "").passed) : [...T];
|
|
6773
6773
|
return e.localStore.hideDisabledQueries === "true" && (I = I.filter((F) => !F.isDisabled())), f() ? I.sort((F, V) => f()(F, V) * c()) : I;
|
|
@@ -6779,21 +6779,21 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6779
6779
|
return h() ? I.sort((F, V) => h()(F, V) * u()) : I;
|
|
6780
6780
|
})), $ = (T) => {
|
|
6781
6781
|
e.setLocalStore("position", T);
|
|
6782
|
-
},
|
|
6782
|
+
}, O = (T) => {
|
|
6783
6783
|
const C = getComputedStyle(t).getPropertyValue("--tsqd-font-size");
|
|
6784
6784
|
T.style.setProperty("--tsqd-font-size", C);
|
|
6785
6785
|
};
|
|
6786
6786
|
return [(() => {
|
|
6787
|
-
var T = Pd(), I = T.firstChild, C = I.firstChild, F = C.firstChild, V = F.firstChild,
|
|
6787
|
+
var T = Pd(), I = T.firstChild, C = I.firstChild, F = C.firstChild, V = F.firstChild, U = V.nextSibling, te = U.firstChild, J = I.nextSibling, le = J.firstChild, ie = le.firstChild, ne = ie.firstChild, se = ie.nextSibling, ce = se.nextSibling, me = le.nextSibling, Ae = me.firstChild, he = Ae.nextSibling, Ee = t;
|
|
6788
6788
|
return typeof Ee == "function" ? cn(Ee, T) : t = T, F.$$click = () => {
|
|
6789
6789
|
if (!s().pipWindow && !e.showPanelViewOnly) {
|
|
6790
6790
|
e.setLocalStore("open", "false");
|
|
6791
6791
|
return;
|
|
6792
6792
|
}
|
|
6793
6793
|
e.onClose && e.onClose();
|
|
6794
|
-
}, k(
|
|
6794
|
+
}, k(U, () => K().queryFlavor, te), k(U, () => K().version, null), k(C, y(Re.Root, {
|
|
6795
6795
|
get class() {
|
|
6796
|
-
return
|
|
6796
|
+
return L(o().viewToggle);
|
|
6797
6797
|
},
|
|
6798
6798
|
get value() {
|
|
6799
6799
|
return a();
|
|
@@ -6907,32 +6907,32 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6907
6907
|
var M = pd();
|
|
6908
6908
|
return M.$$click = () => {
|
|
6909
6909
|
s().requestPipWindow(Number(window.innerWidth), Number(e.localStore.height ?? 500));
|
|
6910
|
-
}, k(M, y(Bu, {})), N(() => A(M,
|
|
6910
|
+
}, k(M, y(Bu, {})), N(() => A(M, L(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-open-pip"))), M;
|
|
6911
6911
|
}
|
|
6912
6912
|
}), null), k(me, y(oe.Root, {
|
|
6913
6913
|
gutter: 4,
|
|
6914
6914
|
get children() {
|
|
6915
6915
|
return [y(oe.Trigger, {
|
|
6916
6916
|
get class() {
|
|
6917
|
-
return
|
|
6917
|
+
return L(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-settings");
|
|
6918
6918
|
},
|
|
6919
6919
|
get children() {
|
|
6920
6920
|
return y(Ku, {});
|
|
6921
6921
|
}
|
|
6922
6922
|
}), y(oe.Portal, {
|
|
6923
|
-
ref: (M) =>
|
|
6923
|
+
ref: (M) => O(M),
|
|
6924
6924
|
get mount() {
|
|
6925
6925
|
return ye(() => !!s().pipWindow)() ? s().pipWindow.document.body : document.body;
|
|
6926
6926
|
},
|
|
6927
6927
|
get children() {
|
|
6928
6928
|
return y(oe.Content, {
|
|
6929
6929
|
get class() {
|
|
6930
|
-
return
|
|
6930
|
+
return L(o().settingsMenu, "tsqd-settings-menu");
|
|
6931
6931
|
},
|
|
6932
6932
|
get children() {
|
|
6933
6933
|
return [(() => {
|
|
6934
6934
|
var M = vd();
|
|
6935
|
-
return N(() => A(M,
|
|
6935
|
+
return N(() => A(M, L(o().settingsMenuHeader, "tsqd-settings-menu-header"))), M;
|
|
6936
6936
|
})(), y(R, {
|
|
6937
6937
|
get when() {
|
|
6938
6938
|
return !e.showPanelViewOnly;
|
|
@@ -6945,20 +6945,20 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6945
6945
|
get children() {
|
|
6946
6946
|
return [y(oe.SubTrigger, {
|
|
6947
6947
|
get class() {
|
|
6948
|
-
return
|
|
6948
|
+
return L(o().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
6949
6949
|
},
|
|
6950
6950
|
get children() {
|
|
6951
6951
|
return [bd(), y(Kt, {})];
|
|
6952
6952
|
}
|
|
6953
6953
|
}), y(oe.Portal, {
|
|
6954
|
-
ref: (M) =>
|
|
6954
|
+
ref: (M) => O(M),
|
|
6955
6955
|
get mount() {
|
|
6956
6956
|
return ye(() => !!s().pipWindow)() ? s().pipWindow.document.body : document.body;
|
|
6957
6957
|
},
|
|
6958
6958
|
get children() {
|
|
6959
6959
|
return y(oe.SubContent, {
|
|
6960
6960
|
get class() {
|
|
6961
|
-
return
|
|
6961
|
+
return L(o().settingsMenu, "tsqd-settings-submenu");
|
|
6962
6962
|
},
|
|
6963
6963
|
get children() {
|
|
6964
6964
|
return [y(oe.Item, {
|
|
@@ -6967,7 +6967,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6967
6967
|
},
|
|
6968
6968
|
as: "button",
|
|
6969
6969
|
get class() {
|
|
6970
|
-
return
|
|
6970
|
+
return L(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
6971
6971
|
},
|
|
6972
6972
|
get children() {
|
|
6973
6973
|
return [xd(), y(To, {})];
|
|
@@ -6978,7 +6978,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6978
6978
|
},
|
|
6979
6979
|
as: "button",
|
|
6980
6980
|
get class() {
|
|
6981
|
-
return
|
|
6981
|
+
return L(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
6982
6982
|
},
|
|
6983
6983
|
get children() {
|
|
6984
6984
|
return [wd(), y(Fo, {})];
|
|
@@ -6989,7 +6989,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
6989
6989
|
},
|
|
6990
6990
|
as: "button",
|
|
6991
6991
|
get class() {
|
|
6992
|
-
return
|
|
6992
|
+
return L(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
6993
6993
|
},
|
|
6994
6994
|
get children() {
|
|
6995
6995
|
return [$d(), y(Pu, {})];
|
|
@@ -7000,10 +7000,10 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7000
7000
|
},
|
|
7001
7001
|
as: "button",
|
|
7002
7002
|
get class() {
|
|
7003
|
-
return
|
|
7003
|
+
return L(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
7004
7004
|
},
|
|
7005
7005
|
get children() {
|
|
7006
|
-
return [Cd(), y(
|
|
7006
|
+
return [Cd(), y(Lu, {})];
|
|
7007
7007
|
}
|
|
7008
7008
|
})];
|
|
7009
7009
|
}
|
|
@@ -7020,20 +7020,20 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7020
7020
|
get children() {
|
|
7021
7021
|
return [y(oe.SubTrigger, {
|
|
7022
7022
|
get class() {
|
|
7023
|
-
return
|
|
7023
|
+
return L(o().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
7024
7024
|
},
|
|
7025
7025
|
get children() {
|
|
7026
7026
|
return [Sd(), y(Kt, {})];
|
|
7027
7027
|
}
|
|
7028
7028
|
}), y(oe.Portal, {
|
|
7029
|
-
ref: (M) =>
|
|
7029
|
+
ref: (M) => O(M),
|
|
7030
7030
|
get mount() {
|
|
7031
7031
|
return ye(() => !!s().pipWindow)() ? s().pipWindow.document.body : document.body;
|
|
7032
7032
|
},
|
|
7033
7033
|
get children() {
|
|
7034
7034
|
return y(oe.SubContent, {
|
|
7035
7035
|
get class() {
|
|
7036
|
-
return
|
|
7036
|
+
return L(o().settingsMenu, "tsqd-settings-submenu");
|
|
7037
7037
|
},
|
|
7038
7038
|
get children() {
|
|
7039
7039
|
return [y(oe.Item, {
|
|
@@ -7042,10 +7042,10 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7042
7042
|
},
|
|
7043
7043
|
as: "button",
|
|
7044
7044
|
get class() {
|
|
7045
|
-
return
|
|
7045
|
+
return L(o().settingsSubButton, e.localStore.theme_preference === "light" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
7046
7046
|
},
|
|
7047
7047
|
get children() {
|
|
7048
|
-
return [kd(), y(
|
|
7048
|
+
return [kd(), y(Ou, {})];
|
|
7049
7049
|
}
|
|
7050
7050
|
}), y(oe.Item, {
|
|
7051
7051
|
onSelect: () => {
|
|
@@ -7053,7 +7053,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7053
7053
|
},
|
|
7054
7054
|
as: "button",
|
|
7055
7055
|
get class() {
|
|
7056
|
-
return
|
|
7056
|
+
return L(o().settingsSubButton, e.localStore.theme_preference === "dark" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
7057
7057
|
},
|
|
7058
7058
|
get children() {
|
|
7059
7059
|
return [Ed(), y(qu, {})];
|
|
@@ -7064,7 +7064,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7064
7064
|
},
|
|
7065
7065
|
as: "button",
|
|
7066
7066
|
get class() {
|
|
7067
|
-
return
|
|
7067
|
+
return L(o().settingsSubButton, e.localStore.theme_preference === "system" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
7068
7068
|
},
|
|
7069
7069
|
get children() {
|
|
7070
7070
|
return [Md(), y(_u, {})];
|
|
@@ -7082,20 +7082,20 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7082
7082
|
get children() {
|
|
7083
7083
|
return [y(oe.SubTrigger, {
|
|
7084
7084
|
get class() {
|
|
7085
|
-
return
|
|
7085
|
+
return L(o().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-disabled-queries");
|
|
7086
7086
|
},
|
|
7087
7087
|
get children() {
|
|
7088
7088
|
return [Dd(), y(Kt, {})];
|
|
7089
7089
|
}
|
|
7090
7090
|
}), y(oe.Portal, {
|
|
7091
|
-
ref: (M) =>
|
|
7091
|
+
ref: (M) => O(M),
|
|
7092
7092
|
get mount() {
|
|
7093
7093
|
return ye(() => !!s().pipWindow)() ? s().pipWindow.document.body : document.body;
|
|
7094
7094
|
},
|
|
7095
7095
|
get children() {
|
|
7096
7096
|
return y(oe.SubContent, {
|
|
7097
7097
|
get class() {
|
|
7098
|
-
return
|
|
7098
|
+
return L(o().settingsMenu, "tsqd-settings-submenu");
|
|
7099
7099
|
},
|
|
7100
7100
|
get children() {
|
|
7101
7101
|
return [y(oe.Item, {
|
|
@@ -7104,7 +7104,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7104
7104
|
},
|
|
7105
7105
|
as: "button",
|
|
7106
7106
|
get class() {
|
|
7107
|
-
return
|
|
7107
|
+
return L(o().settingsSubButton, e.localStore.hideDisabledQueries !== "true" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-show");
|
|
7108
7108
|
},
|
|
7109
7109
|
get children() {
|
|
7110
7110
|
return [Ad(), y(R, {
|
|
@@ -7122,7 +7122,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7122
7122
|
},
|
|
7123
7123
|
as: "button",
|
|
7124
7124
|
get class() {
|
|
7125
|
-
return
|
|
7125
|
+
return L(o().settingsSubButton, e.localStore.hideDisabledQueries === "true" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-hide");
|
|
7126
7126
|
},
|
|
7127
7127
|
get children() {
|
|
7128
7128
|
return [Td(), y(R, {
|
|
@@ -7162,7 +7162,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7162
7162
|
return Y();
|
|
7163
7163
|
}
|
|
7164
7164
|
})
|
|
7165
|
-
})), N(() => A(M,
|
|
7165
|
+
})), N(() => A(M, L(o().overflowQueryContainer, "tsqd-queries-overflow-container"))), M;
|
|
7166
7166
|
}
|
|
7167
7167
|
}), null), k(T, y(R, {
|
|
7168
7168
|
get when() {
|
|
@@ -7180,17 +7180,17 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7180
7180
|
return Y();
|
|
7181
7181
|
}
|
|
7182
7182
|
})
|
|
7183
|
-
})), N(() => A(M,
|
|
7183
|
+
})), N(() => A(M, L(o().overflowQueryContainer, "tsqd-mutations-overflow-container"))), M;
|
|
7184
7184
|
}
|
|
7185
7185
|
}), null), N((M) => {
|
|
7186
|
-
var ge =
|
|
7186
|
+
var ge = L(o().queriesContainer, je() < At && (Ie() || bt()) && r`
|
|
7187
7187
|
height: 50%;
|
|
7188
7188
|
max-height: 50%;
|
|
7189
7189
|
`, je() < At && !(Ie() || bt()) && r`
|
|
7190
7190
|
height: 100%;
|
|
7191
7191
|
max-height: 100%;
|
|
7192
|
-
`, "tsqd-queries-container"), Y =
|
|
7193
|
-
return ge !== M.e && A(T, M.e = ge), Y !== M.t && A(I, M.t = Y), yt !== M.a && A(C, M.a = yt), H !== M.o && A(F, M.o = H),
|
|
7192
|
+
`, "tsqd-queries-container"), Y = L(o().row, "tsqd-header"), yt = o().logoAndToggleContainer, H = L(o().logo, "tsqd-text-logo-container"), Ue = L(o().tanstackLogo, "tsqd-text-logo-tanstack"), Ce = L(o().queryFlavorLogo, "tsqd-text-logo-query-flavor"), Pt = L(o().row, "tsqd-filters-actions-container"), Oe = L(o().filtersContainer, "tsqd-filters-container"), mt = L(o().filterInput, "tsqd-query-filter-textfield-container"), kt = L("tsqd-query-filter-textfield"), nt = L(o().filterSelect, "tsqd-query-filter-sort-container"), Ye = `Sort order ${(a() === "queries" ? c() : u()) === -1 ? "descending" : "ascending"}`, rt = (a() === "queries" ? c() : u()) === -1, P = L(o().actionsContainer, "tsqd-actions-container"), re = L(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), Me = `Clear ${a()} cache`, ae = L(o().actionsBtn, tn() && o().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), ee = `${tn() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, ue = tn(), pe = `${tn() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
7193
|
+
return ge !== M.e && A(T, M.e = ge), Y !== M.t && A(I, M.t = Y), yt !== M.a && A(C, M.a = yt), H !== M.o && A(F, M.o = H), Ue !== M.i && A(V, M.i = Ue), Ce !== M.n && A(U, M.n = Ce), Pt !== M.s && A(J, M.s = Pt), Oe !== M.h && A(le, M.h = Oe), mt !== M.r && A(ie, M.r = mt), kt !== M.d && A(ne, M.d = kt), nt !== M.l && A(se, M.l = nt), Ye !== M.u && D(ce, "aria-label", M.u = Ye), rt !== M.c && D(ce, "aria-pressed", M.c = rt), P !== M.w && A(me, M.w = P), re !== M.m && A(Ae, M.m = re), Me !== M.f && D(Ae, "title", M.f = Me), ae !== M.y && A(he, M.y = ae), ee !== M.g && D(he, "aria-label", M.g = ee), ue !== M.p && D(he, "aria-pressed", M.p = ue), pe !== M.b && D(he, "title", M.b = pe), M;
|
|
7194
7194
|
}, {
|
|
7195
7195
|
e: void 0,
|
|
7196
7196
|
t: void 0,
|
|
@@ -7231,7 +7231,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7231
7231
|
}, Qd = (e) => {
|
|
7232
7232
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
7233
7233
|
target: K().shadowDOMTarget
|
|
7234
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
7234
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n)), {
|
|
7235
7235
|
colors: o,
|
|
7236
7236
|
alpha: s
|
|
7237
7237
|
} = S, a = (g, m) => t() === "dark" ? m : g, l = ve((g) => g().find({
|
|
@@ -7266,17 +7266,17 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7266
7266
|
return i();
|
|
7267
7267
|
},
|
|
7268
7268
|
get children() {
|
|
7269
|
-
return
|
|
7269
|
+
return Ld();
|
|
7270
7270
|
}
|
|
7271
7271
|
}), null), k(g, y(R, {
|
|
7272
7272
|
get when() {
|
|
7273
7273
|
return c();
|
|
7274
7274
|
},
|
|
7275
7275
|
get children() {
|
|
7276
|
-
return
|
|
7276
|
+
return Od();
|
|
7277
7277
|
}
|
|
7278
7278
|
}), null), N((v) => {
|
|
7279
|
-
var b =
|
|
7279
|
+
var b = L(r().queryRow, Ie() === e.query.queryHash && r().selectedQueryRow, "tsqd-query-row"), x = `Query key ${e.query.queryHash}`, w = L(h(), "tsqd-query-observer-count");
|
|
7280
7280
|
return b !== v.e && A(g, v.e = b), x !== v.t && D(g, "aria-label", v.t = x), w !== v.a && A(m, v.a = w), v;
|
|
7281
7281
|
}, {
|
|
7282
7282
|
e: void 0,
|
|
@@ -7288,7 +7288,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7288
7288
|
}, Yd = (e) => {
|
|
7289
7289
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
7290
7290
|
target: K().shadowDOMTarget
|
|
7291
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
7291
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n)), {
|
|
7292
7292
|
colors: o,
|
|
7293
7293
|
alpha: s
|
|
7294
7294
|
} = S, a = (f, h) => t() === "dark" ? h : f, l = Ve((f) => f().getAll().find((m) => m.mutationId === e.mutation.mutationId)?.state), i = Ve((f) => {
|
|
@@ -7351,7 +7351,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7351
7351
|
return [ye(() => JSON.stringify(e.mutation.options.mutationKey)), " -", " "];
|
|
7352
7352
|
}
|
|
7353
7353
|
}), null), k(g, () => new Date(e.mutation.state.submittedAt).toLocaleString(), null), N((m) => {
|
|
7354
|
-
var p =
|
|
7354
|
+
var p = L(r().queryRow, bt() === e.mutation.mutationId && r().selectedQueryRow, "tsqd-query-row"), v = `Mutation submitted at ${new Date(e.mutation.state.submittedAt).toLocaleString()}`, b = L(u(), "tsqd-query-observer-count");
|
|
7355
7355
|
return p !== m.e && A(f, m.e = p), v !== m.t && D(f, "aria-label", m.t = v), b !== m.a && A(h, m.a = b), m;
|
|
7356
7356
|
}, {
|
|
7357
7357
|
e: void 0,
|
|
@@ -7363,7 +7363,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7363
7363
|
}, Xd = () => {
|
|
7364
7364
|
const e = ve((i) => i().getAll().filter((c) => qt(c) === "stale").length), t = ve((i) => i().getAll().filter((c) => qt(c) === "fresh").length), n = ve((i) => i().getAll().filter((c) => qt(c) === "fetching").length), r = ve((i) => i().getAll().filter((c) => qt(c) === "paused").length), o = ve((i) => i().getAll().filter((c) => qt(c) === "inactive").length), s = xe(), a = K().shadowDOMTarget ? W.bind({
|
|
7365
7365
|
target: K().shadowDOMTarget
|
|
7366
|
-
}) : W, l = q(() => s() === "dark" ?
|
|
7366
|
+
}) : W, l = q(() => s() === "dark" ? Ge(a) : Ne(a));
|
|
7367
7367
|
return (() => {
|
|
7368
7368
|
var i = yn();
|
|
7369
7369
|
return k(i, y(ut, {
|
|
@@ -7396,7 +7396,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7396
7396
|
get count() {
|
|
7397
7397
|
return o();
|
|
7398
7398
|
}
|
|
7399
|
-
}), null), N(() => A(i,
|
|
7399
|
+
}), null), N(() => A(i, L(l().queryStatusContainer, "tsqd-query-status-container"))), i;
|
|
7400
7400
|
})();
|
|
7401
7401
|
}, Zd = () => {
|
|
7402
7402
|
const e = Ve((l) => l().getAll().filter((i) => zt({
|
|
@@ -7413,7 +7413,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7413
7413
|
status: i.state.status
|
|
7414
7414
|
}) === "red").length), o = xe(), s = K().shadowDOMTarget ? W.bind({
|
|
7415
7415
|
target: K().shadowDOMTarget
|
|
7416
|
-
}) : W, a = q(() => o() === "dark" ?
|
|
7416
|
+
}) : W, a = q(() => o() === "dark" ? Ge(s) : Ne(s));
|
|
7417
7417
|
return (() => {
|
|
7418
7418
|
var l = yn();
|
|
7419
7419
|
return k(l, y(ut, {
|
|
@@ -7440,17 +7440,17 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7440
7440
|
get count() {
|
|
7441
7441
|
return r();
|
|
7442
7442
|
}
|
|
7443
|
-
}), null), N(() => A(l,
|
|
7443
|
+
}), null), N(() => A(l, L(a().queryStatusContainer, "tsqd-query-status-container"))), l;
|
|
7444
7444
|
})();
|
|
7445
7445
|
}, ut = (e) => {
|
|
7446
7446
|
const t = xe(), n = K().shadowDOMTarget ? W.bind({
|
|
7447
7447
|
target: K().shadowDOMTarget
|
|
7448
|
-
}) : W, r = q(() => t() === "dark" ?
|
|
7448
|
+
}) : W, r = q(() => t() === "dark" ? Ge(n) : Ne(n)), {
|
|
7449
7449
|
colors: o,
|
|
7450
7450
|
alpha: s
|
|
7451
7451
|
} = S, a = (h, g) => t() === "dark" ? g : h;
|
|
7452
7452
|
let l;
|
|
7453
|
-
const [i, c] = z(!1), [d, u] = z(!1), f = q(() => !(Ie() && je() <
|
|
7453
|
+
const [i, c] = z(!1), [d, u] = z(!1), f = q(() => !(Ie() && je() < Gs && je() > At || je() < At));
|
|
7454
7454
|
return (() => {
|
|
7455
7455
|
var h = Rd(), g = h.firstChild, m = g.nextSibling, p = l;
|
|
7456
7456
|
return typeof p == "function" ? cn(p, h) : l = h, h.addEventListener("mouseleave", () => {
|
|
@@ -7460,7 +7460,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7460
7460
|
return f();
|
|
7461
7461
|
},
|
|
7462
7462
|
get class() {
|
|
7463
|
-
return
|
|
7463
|
+
return L(r().queryStatusTag, !f() && n`
|
|
7464
7464
|
cursor: pointer;
|
|
7465
7465
|
&:hover {
|
|
7466
7466
|
background: ${a(o.gray[200], o.darkGray[400])}${s[80]};
|
|
@@ -7475,7 +7475,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7475
7475
|
},
|
|
7476
7476
|
get children() {
|
|
7477
7477
|
var v = qd();
|
|
7478
|
-
return k(v, () => e.label), N(() => A(v,
|
|
7478
|
+
return k(v, () => e.label), N(() => A(v, L(r().statusTooltip, "tsqd-query-status-tooltip"))), v;
|
|
7479
7479
|
}
|
|
7480
7480
|
}), g), k(h, y(R, {
|
|
7481
7481
|
get when() {
|
|
@@ -7483,15 +7483,15 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7483
7483
|
},
|
|
7484
7484
|
get children() {
|
|
7485
7485
|
var v = _d();
|
|
7486
|
-
return k(v, () => e.label), N(() => A(v,
|
|
7486
|
+
return k(v, () => e.label), N(() => A(v, L(r().queryStatusTagLabel, "tsqd-query-status-tag-label"))), v;
|
|
7487
7487
|
}
|
|
7488
7488
|
}), m), k(m, () => e.count), N((v) => {
|
|
7489
|
-
var b =
|
|
7489
|
+
var b = L(n`
|
|
7490
7490
|
width: ${S.size[1.5]};
|
|
7491
7491
|
height: ${S.size[1.5]};
|
|
7492
7492
|
border-radius: ${S.border.radius.full};
|
|
7493
7493
|
background-color: ${S.colors[e.color][500]};
|
|
7494
|
-
`, "tsqd-query-status-tag-dot"), x =
|
|
7494
|
+
`, "tsqd-query-status-tag-dot"), x = L(r().queryStatusCount, e.count > 0 && e.color !== "gray" && n`
|
|
7495
7495
|
background-color: ${a(o[e.color][100], o[e.color][900])};
|
|
7496
7496
|
color: ${a(o[e.color][700], o[e.color][300])};
|
|
7497
7497
|
`, "tsqd-query-status-tag-count");
|
|
@@ -7504,7 +7504,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7504
7504
|
}, Jd = () => {
|
|
7505
7505
|
const e = xe(), t = K().shadowDOMTarget ? W.bind({
|
|
7506
7506
|
target: K().shadowDOMTarget
|
|
7507
|
-
}) : W, n = q(() => e() === "dark" ?
|
|
7507
|
+
}) : W, n = q(() => e() === "dark" ? Ge(t) : Ne(t)), {
|
|
7508
7508
|
colors: r
|
|
7509
7509
|
} = S, o = (C, F) => e() === "dark" ? F : C, s = K().client, [a, l] = z(!1), [i, c] = z("view"), [d, u] = z(!1), f = q(() => K().errorTypes || []), h = ve((C) => C().getAll().find((F) => F.queryHash === Ie()), !1), g = ve((C) => C().getAll().find((F) => F.queryHash === Ie()), !1), m = ve((C) => C().getAll().find((F) => F.queryHash === Ie())?.state, !1), p = ve((C) => C().getAll().find((F) => F.queryHash === Ie())?.state.data, !1), v = ve((C) => {
|
|
7510
7510
|
const F = C().getAll().find((V) => V.queryHash === Ie());
|
|
@@ -7518,7 +7518,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7518
7518
|
queryHash: h()?.queryHash
|
|
7519
7519
|
}), h()?.fetch()?.catch(() => {
|
|
7520
7520
|
});
|
|
7521
|
-
},
|
|
7521
|
+
}, O = (C) => {
|
|
7522
7522
|
const F = h();
|
|
7523
7523
|
if (!F) return;
|
|
7524
7524
|
Xe({
|
|
@@ -7528,13 +7528,13 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7528
7528
|
error: C?.name
|
|
7529
7529
|
}
|
|
7530
7530
|
});
|
|
7531
|
-
const V = C?.initializer(F) ?? new Error("Unknown error from devtools"),
|
|
7531
|
+
const V = C?.initializer(F) ?? new Error("Unknown error from devtools"), U = F.options;
|
|
7532
7532
|
F.setState({
|
|
7533
7533
|
status: "error",
|
|
7534
7534
|
error: V,
|
|
7535
7535
|
fetchMeta: {
|
|
7536
7536
|
...F.state.fetchMeta,
|
|
7537
|
-
__previousQueryOptions:
|
|
7537
|
+
__previousQueryOptions: U
|
|
7538
7538
|
}
|
|
7539
7539
|
});
|
|
7540
7540
|
}, T = () => {
|
|
@@ -7570,7 +7570,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7570
7570
|
return ye(() => !!h())() && m();
|
|
7571
7571
|
},
|
|
7572
7572
|
get children() {
|
|
7573
|
-
var C =
|
|
7573
|
+
var C = Gd(), F = C.firstChild, V = F.nextSibling, U = V.firstChild, te = U.firstChild, J = te.firstChild, le = te.nextSibling, ie = U.nextSibling, ne = ie.firstChild, se = ne.nextSibling, ce = ie.nextSibling, me = ce.firstChild, Ae = me.nextSibling, he = V.nextSibling, Ee = he.nextSibling, M = Ee.firstChild, ge = M.firstChild, Y = M.nextSibling, yt = Y.firstChild, H = Y.nextSibling, Ue = H.firstChild, Ce = H.nextSibling, Pt = Ce.firstChild, Oe = Ce.nextSibling, mt = Oe.firstChild, kt = mt.nextSibling, nt = Ee.nextSibling;
|
|
7574
7574
|
nt.firstChild;
|
|
7575
7575
|
var Ye = nt.nextSibling, rt = Ye.nextSibling;
|
|
7576
7576
|
return k(J, () => $n(h().queryKey, !0)), k(le, v), k(se, x), k(Ae, () => new Date(m().dataUpdatedAt).toLocaleTimeString()), M.$$click = $, Y.$$click = () => {
|
|
@@ -7588,7 +7588,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7588
7588
|
type: "REMOVE",
|
|
7589
7589
|
queryHash: h()?.queryHash
|
|
7590
7590
|
}), s.removeQueries(h()), Rn(null);
|
|
7591
|
-
},
|
|
7591
|
+
}, Oe.$$click = () => {
|
|
7592
7592
|
if (h()?.state.data === void 0)
|
|
7593
7593
|
l(!0), T();
|
|
7594
7594
|
else {
|
|
@@ -7613,7 +7613,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7613
7613
|
}
|
|
7614
7614
|
});
|
|
7615
7615
|
}
|
|
7616
|
-
}, k(
|
|
7616
|
+
}, k(Oe, () => b() === "pending" ? "Restore" : "Trigger", kt), k(Ee, y(R, {
|
|
7617
7617
|
get when() {
|
|
7618
7618
|
return f().length === 0 || b() === "error";
|
|
7619
7619
|
},
|
|
@@ -7623,9 +7623,9 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7623
7623
|
h().state.error ? (Xe({
|
|
7624
7624
|
type: "RESTORE_ERROR",
|
|
7625
7625
|
queryHash: h()?.queryHash
|
|
7626
|
-
}), s.resetQueries(h())) :
|
|
7626
|
+
}), s.resetQueries(h())) : O();
|
|
7627
7627
|
}, k(P, () => b() === "error" ? "Restore" : "Trigger", Me), N((ae) => {
|
|
7628
|
-
var ee =
|
|
7628
|
+
var ee = L(t`
|
|
7629
7629
|
color: ${o(r.red[500], r.red[400])};
|
|
7630
7630
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), ue = b() === "pending", pe = t`
|
|
7631
7631
|
background-color: ${o(r.red[500], r.red[400])};
|
|
@@ -7645,17 +7645,17 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7645
7645
|
var P = Kd(), re = P.firstChild, Me = re.nextSibling, ae = Me.nextSibling;
|
|
7646
7646
|
return ae.firstChild, ae.addEventListener("change", (ee) => {
|
|
7647
7647
|
const ue = f().find((pe) => pe.name === ee.currentTarget.value);
|
|
7648
|
-
|
|
7648
|
+
O(ue);
|
|
7649
7649
|
}), k(ae, y(Ss, {
|
|
7650
7650
|
get each() {
|
|
7651
7651
|
return f();
|
|
7652
7652
|
},
|
|
7653
7653
|
children: (ee) => (() => {
|
|
7654
|
-
var ue =
|
|
7654
|
+
var ue = Ud();
|
|
7655
7655
|
return k(ue, () => ee.name), N(() => ue.value = ee.name), ue;
|
|
7656
7656
|
})()
|
|
7657
7657
|
}), null), k(P, y(Kt, {}), null), N((ee) => {
|
|
7658
|
-
var ue =
|
|
7658
|
+
var ue = L(n().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), pe = t`
|
|
7659
7659
|
background-color: ${S.colors.red[400]};
|
|
7660
7660
|
`, X = b() === "pending";
|
|
7661
7661
|
return ue !== ee.e && A(P, ee.e = ue), pe !== ee.t && A(re, ee.t = pe), X !== ee.a && (ae.disabled = ee.a = X), ee;
|
|
@@ -7703,9 +7703,9 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7703
7703
|
u(!0);
|
|
7704
7704
|
}
|
|
7705
7705
|
}), re.addEventListener("focus", () => u(!1)), k(ae, () => d() ? "Invalid Value" : ""), ue.$$click = () => c("view"), N((X) => {
|
|
7706
|
-
var ot =
|
|
7706
|
+
var ot = L(n().devtoolsEditForm, "tsqd-query-details-data-editor"), it = n().devtoolsEditTextarea, He = d(), Et = n().devtoolsEditFormActions, st = n().devtoolsEditFormError, Mt = n().devtoolsEditFormActionContainer, at = L(n().devtoolsEditFormAction, t`
|
|
7707
7707
|
color: ${o(r.gray[600], r.gray[300])};
|
|
7708
|
-
`), pt =
|
|
7708
|
+
`), pt = L(n().devtoolsEditFormAction, t`
|
|
7709
7709
|
color: ${o(r.blue[600], r.blue[400])};
|
|
7710
7710
|
`);
|
|
7711
7711
|
return ot !== X.e && A(P, X.e = ot), it !== X.t && A(re, X.t = it), He !== X.a && D(re, "data-error", X.a = He), Et !== X.o && A(Me, X.o = Et), st !== X.i && A(ae, X.i = st), Mt !== X.n && A(ee, X.n = Mt), at !== X.s && A(ue, X.s = at), pt !== X.h && A(pe, X.h = pt), X;
|
|
@@ -7727,28 +7727,28 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7727
7727
|
return g();
|
|
7728
7728
|
}
|
|
7729
7729
|
})), N((P) => {
|
|
7730
|
-
var re =
|
|
7730
|
+
var re = L(n().detailsContainer, "tsqd-query-details-container"), Me = L(n().detailsHeader, "tsqd-query-details-header"), ae = L(n().detailsBody, "tsqd-query-details-summary-container"), ee = L(n().queryDetailsStatus, I()), ue = L(n().detailsHeader, "tsqd-query-details-header"), pe = L(n().actionsBody, "tsqd-query-details-actions-container"), X = L(t`
|
|
7731
7731
|
color: ${o(r.blue[600], r.blue[400])};
|
|
7732
7732
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), ot = v() === "fetching", it = t`
|
|
7733
7733
|
background-color: ${o(r.blue[600], r.blue[400])};
|
|
7734
|
-
`, He =
|
|
7734
|
+
`, He = L(t`
|
|
7735
7735
|
color: ${o(r.yellow[600], r.yellow[400])};
|
|
7736
7736
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), Et = b() === "pending", st = t`
|
|
7737
7737
|
background-color: ${o(r.yellow[600], r.yellow[400])};
|
|
7738
|
-
`, Mt =
|
|
7738
|
+
`, Mt = L(t`
|
|
7739
7739
|
color: ${o(r.gray[600], r.gray[300])};
|
|
7740
7740
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), at = b() === "pending", pt = t`
|
|
7741
7741
|
background-color: ${o(r.gray[600], r.gray[400])};
|
|
7742
|
-
`, mn =
|
|
7742
|
+
`, mn = L(t`
|
|
7743
7743
|
color: ${o(r.pink[500], r.pink[400])};
|
|
7744
7744
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), Wt = v() === "fetching", pn = t`
|
|
7745
7745
|
background-color: ${o(r.pink[500], r.pink[400])};
|
|
7746
|
-
`,
|
|
7746
|
+
`, Lt = L(t`
|
|
7747
7747
|
color: ${o(r.cyan[500], r.cyan[400])};
|
|
7748
7748
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), vn = a(), Qt = t`
|
|
7749
7749
|
background-color: ${o(r.cyan[500], r.cyan[400])};
|
|
7750
|
-
`, Yt =
|
|
7751
|
-
return re !== P.e && A(C, P.e = re), Me !== P.t && A(F, P.t = Me), ae !== P.a && A(V, P.a = ae), ee !== P.o && A(le, P.o = ee), ue !== P.i && A(he, P.i = ue), pe !== P.n && A(Ee, P.n = pe), X !== P.s && A(M, P.s = X), ot !== P.h && (M.disabled = P.h = ot), it !== P.r && A(ge, P.r = it), He !== P.d && A(Y, P.d = He), Et !== P.l && (Y.disabled = P.l = Et), st !== P.u && A(yt, P.u = st), Mt !== P.c && A(H, P.c = Mt), at !== P.w && (H.disabled = P.w = at), pt !== P.m && A(
|
|
7750
|
+
`, Yt = L(n().detailsHeader, "tsqd-query-details-header"), Xt = L(n().detailsHeader, "tsqd-query-details-header"), Ot = S.size[2];
|
|
7751
|
+
return re !== P.e && A(C, P.e = re), Me !== P.t && A(F, P.t = Me), ae !== P.a && A(V, P.a = ae), ee !== P.o && A(le, P.o = ee), ue !== P.i && A(he, P.i = ue), pe !== P.n && A(Ee, P.n = pe), X !== P.s && A(M, P.s = X), ot !== P.h && (M.disabled = P.h = ot), it !== P.r && A(ge, P.r = it), He !== P.d && A(Y, P.d = He), Et !== P.l && (Y.disabled = P.l = Et), st !== P.u && A(yt, P.u = st), Mt !== P.c && A(H, P.c = Mt), at !== P.w && (H.disabled = P.w = at), pt !== P.m && A(Ue, P.m = pt), mn !== P.f && A(Ce, P.f = mn), Wt !== P.y && (Ce.disabled = P.y = Wt), pn !== P.g && A(Pt, P.g = pn), Lt !== P.p && A(Oe, P.p = Lt), vn !== P.b && (Oe.disabled = P.b = vn), Qt !== P.T && A(mt, P.T = Qt), Yt !== P.A && A(nt, P.A = Yt), Xt !== P.O && A(Ye, P.O = Xt), Ot !== P.I && ((P.I = Ot) != null ? rt.style.setProperty("padding", Ot) : rt.style.removeProperty("padding")), P;
|
|
7752
7752
|
}, {
|
|
7753
7753
|
e: void 0,
|
|
7754
7754
|
t: void 0,
|
|
@@ -7780,7 +7780,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7780
7780
|
}, e0 = () => {
|
|
7781
7781
|
const e = xe(), t = K().shadowDOMTarget ? W.bind({
|
|
7782
7782
|
target: K().shadowDOMTarget
|
|
7783
|
-
}) : W, n = q(() => e() === "dark" ?
|
|
7783
|
+
}) : W, n = q(() => e() === "dark" ? Ge(t) : Ne(t)), {
|
|
7784
7784
|
colors: r
|
|
7785
7785
|
} = S, o = (d, u) => e() === "dark" ? u : d, s = Ve((d) => {
|
|
7786
7786
|
const f = d().getAll().find((h) => h.mutationId === bt());
|
|
@@ -7805,7 +7805,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7805
7805
|
return i();
|
|
7806
7806
|
},
|
|
7807
7807
|
get children() {
|
|
7808
|
-
var d = Hd(), u = d.firstChild, f = u.nextSibling, h = f.firstChild, g = h.firstChild, m = g.firstChild, p = g.nextSibling, v = h.nextSibling, b = v.firstChild, x = b.nextSibling, w = f.nextSibling, $ = w.nextSibling,
|
|
7808
|
+
var d = Hd(), u = d.firstChild, f = u.nextSibling, h = f.firstChild, g = h.firstChild, m = g.firstChild, p = g.nextSibling, v = h.nextSibling, b = v.firstChild, x = b.nextSibling, w = f.nextSibling, $ = w.nextSibling, O = $.nextSibling, T = O.nextSibling, I = T.nextSibling, C = I.nextSibling, F = C.nextSibling, V = F.nextSibling;
|
|
7809
7809
|
return k(m, y(R, {
|
|
7810
7810
|
get when() {
|
|
7811
7811
|
return i().options.mutationKey;
|
|
@@ -7850,9 +7850,9 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7850
7850
|
get value() {
|
|
7851
7851
|
return i();
|
|
7852
7852
|
}
|
|
7853
|
-
})), N((
|
|
7854
|
-
var te =
|
|
7855
|
-
return te !==
|
|
7853
|
+
})), N((U) => {
|
|
7854
|
+
var te = L(n().detailsContainer, "tsqd-query-details-container"), J = L(n().detailsHeader, "tsqd-query-details-header"), le = L(n().detailsBody, "tsqd-query-details-summary-container"), ie = L(n().queryDetailsStatus, c()), ne = L(n().detailsHeader, "tsqd-query-details-header"), se = S.size[2], ce = L(n().detailsHeader, "tsqd-query-details-header"), me = S.size[2], Ae = L(n().detailsHeader, "tsqd-query-details-header"), he = S.size[2], Ee = L(n().detailsHeader, "tsqd-query-details-header"), M = S.size[2];
|
|
7855
|
+
return te !== U.e && A(d, U.e = te), J !== U.t && A(u, U.t = J), le !== U.a && A(f, U.a = le), ie !== U.o && A(p, U.o = ie), ne !== U.i && A(w, U.i = ne), se !== U.n && ((U.n = se) != null ? $.style.setProperty("padding", se) : $.style.removeProperty("padding")), ce !== U.s && A(O, U.s = ce), me !== U.h && ((U.h = me) != null ? T.style.setProperty("padding", me) : T.style.removeProperty("padding")), Ae !== U.r && A(I, U.r = Ae), he !== U.d && ((U.d = he) != null ? C.style.setProperty("padding", he) : C.style.removeProperty("padding")), Ee !== U.l && A(F, U.l = Ee), M !== U.u && ((U.u = M) != null ? V.style.setProperty("padding", M) : V.style.removeProperty("padding")), U;
|
|
7856
7856
|
}, {
|
|
7857
7857
|
e: void 0,
|
|
7858
7858
|
t: void 0,
|
|
@@ -7876,7 +7876,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7876
7876
|
o.shouldUpdate(n) && o.setter(r(e));
|
|
7877
7877
|
});
|
|
7878
7878
|
});
|
|
7879
|
-
return
|
|
7879
|
+
return G(() => {
|
|
7880
7880
|
Dn.clear(), t();
|
|
7881
7881
|
}), t;
|
|
7882
7882
|
}, ve = (e, t = !0, n = () => !0) => {
|
|
@@ -7888,7 +7888,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7888
7888
|
}), Dn.set(e, {
|
|
7889
7889
|
setter: s,
|
|
7890
7890
|
shouldUpdate: n
|
|
7891
|
-
}),
|
|
7891
|
+
}), G(() => {
|
|
7892
7892
|
Dn.delete(e);
|
|
7893
7893
|
}), o;
|
|
7894
7894
|
}, An = /* @__PURE__ */ new Map(), n0 = () => {
|
|
@@ -7898,7 +7898,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7898
7898
|
r(n(e));
|
|
7899
7899
|
});
|
|
7900
7900
|
});
|
|
7901
|
-
return
|
|
7901
|
+
return G(() => {
|
|
7902
7902
|
An.clear(), t();
|
|
7903
7903
|
}), t;
|
|
7904
7904
|
}, Ve = (e, t = !0) => {
|
|
@@ -7907,7 +7907,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7907
7907
|
});
|
|
7908
7908
|
return B(() => {
|
|
7909
7909
|
o(e(n));
|
|
7910
|
-
}), An.set(e, o),
|
|
7910
|
+
}), An.set(e, o), G(() => {
|
|
7911
7911
|
An.delete(e);
|
|
7912
7912
|
}), r;
|
|
7913
7913
|
}, r0 = "@tanstack/query-devtools-event", Xe = ({
|
|
@@ -8961,7 +8961,7 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
8961
8961
|
}
|
|
8962
8962
|
`
|
|
8963
8963
|
};
|
|
8964
|
-
}, Ne = (e) => ps("light", e),
|
|
8964
|
+
}, Ne = (e) => ps("light", e), Ge = (e) => ps("dark", e);
|
|
8965
8965
|
ir(["click", "mousedown", "input"]);
|
|
8966
8966
|
export {
|
|
8967
8967
|
ms as C,
|