react-lib-tools 0.0.24 → 0.0.25
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/{GettingStartedRoute-DT-NgTRJ.js → GettingStartedRoute-BiU1uw3z.js} +2 -2
- package/dist/{GettingStartedRoute-DT-NgTRJ.js.map → GettingStartedRoute-BiU1uw3z.js.map} +1 -1
- package/dist/{GettingStartedRoute-CzpsPdpt.cjs → GettingStartedRoute-C52ZxlUq.cjs} +2 -2
- package/dist/{GettingStartedRoute-CzpsPdpt.cjs.map → GettingStartedRoute-C52ZxlUq.cjs.map} +1 -1
- package/dist/{PageNotFound-s_DTkau5.cjs → PageNotFound-BZHDkIob.cjs} +2 -2
- package/dist/{PageNotFound-s_DTkau5.cjs.map → PageNotFound-BZHDkIob.cjs.map} +1 -1
- package/dist/{PageNotFound-BlfHlRrb.js → PageNotFound-CB4aWvqZ.js} +2 -2
- package/dist/{PageNotFound-BlfHlRrb.js.map → PageNotFound-CB4aWvqZ.js.map} +1 -1
- package/dist/{SupportRoute-BcjMIACR.cjs → SupportRoute-3-Fq8iuG.cjs} +2 -2
- package/dist/{SupportRoute-BcjMIACR.cjs.map → SupportRoute-3-Fq8iuG.cjs.map} +1 -1
- package/dist/{SupportRoute-CcJBfOWu.js → SupportRoute-CCWHUGmp.js} +2 -2
- package/dist/{SupportRoute-CcJBfOWu.js.map → SupportRoute-CCWHUGmp.js.map} +1 -1
- package/dist/{VersionsRoute-CX3YF7an.cjs → VersionsRoute-D5nKJAiH.cjs} +2 -2
- package/dist/{VersionsRoute-CX3YF7an.cjs.map → VersionsRoute-D5nKJAiH.cjs.map} +1 -1
- package/dist/{VersionsRoute-C_HIVV6r.js → VersionsRoute-DGvfG4y4.js} +2 -2
- package/dist/{VersionsRoute-C_HIVV6r.js.map → VersionsRoute-DGvfG4y4.js.map} +1 -1
- package/dist/{index-Dt2kd-pc.js → index-CVXprQ8Z.js} +86 -84
- package/dist/{index-Dt2kd-pc.js.map → index-CVXprQ8Z.js.map} +1 -1
- package/dist/{index-BCwWYpnQ.cjs → index-MEfvl32g.cjs} +3 -3
- package/dist/{index-BCwWYpnQ.cjs.map → index-MEfvl32g.cjs.map} +1 -1
- package/dist/react-lib-tools.cjs +1 -1
- package/dist/react-lib-tools.d.ts +1 -1
- package/dist/react-lib-tools.js +1 -1
- package/package.json +1 -1
|
@@ -4600,10 +4600,10 @@ const uc = (e, t) => {
|
|
|
4600
4600
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
4601
4601
|
};
|
|
4602
4602
|
}, Xc = /* @__PURE__ */ Pc(Zc);
|
|
4603
|
-
function
|
|
4603
|
+
function ve(...e) {
|
|
4604
4604
|
return Xc(cc(e));
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function be({
|
|
4607
4607
|
align: e,
|
|
4608
4608
|
children: t,
|
|
4609
4609
|
className: n,
|
|
@@ -4619,7 +4619,7 @@ function me({
|
|
|
4619
4619
|
return /* @__PURE__ */ E(
|
|
4620
4620
|
"div",
|
|
4621
4621
|
{
|
|
4622
|
-
className:
|
|
4622
|
+
className: ve(
|
|
4623
4623
|
"flex",
|
|
4624
4624
|
{
|
|
4625
4625
|
// align
|
|
@@ -5375,13 +5375,13 @@ function yn() {
|
|
|
5375
5375
|
function cr(...e) {
|
|
5376
5376
|
return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
|
|
5377
5377
|
}
|
|
5378
|
-
function
|
|
5378
|
+
function me(e, t, ...n) {
|
|
5379
5379
|
if (e in t) {
|
|
5380
5380
|
let o = t[e];
|
|
5381
5381
|
return typeof o == "function" ? o(...n) : o;
|
|
5382
5382
|
}
|
|
5383
5383
|
let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
|
|
5384
|
-
throw Error.captureStackTrace && Error.captureStackTrace(r,
|
|
5384
|
+
throw Error.captureStackTrace && Error.captureStackTrace(r, me), r;
|
|
5385
5385
|
}
|
|
5386
5386
|
var pt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(pt || {}), Ke = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Ke || {});
|
|
5387
5387
|
function ce() {
|
|
@@ -5399,7 +5399,7 @@ function Lu({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, v
|
|
|
5399
5399
|
}
|
|
5400
5400
|
if (c & 1) {
|
|
5401
5401
|
let { unmount: u = !0, ...d } = s;
|
|
5402
|
-
return
|
|
5402
|
+
return me(u ? 0 : 1, { 0() {
|
|
5403
5403
|
return null;
|
|
5404
5404
|
}, 1() {
|
|
5405
5405
|
return Yt({ ...d, hidden: !0, style: { display: "none" } }, n, r, l, a);
|
|
@@ -5626,7 +5626,7 @@ let il = /* @__PURE__ */ Symbol();
|
|
|
5626
5626
|
function ll(e, t = !0) {
|
|
5627
5627
|
return Object.assign(e, { [il]: t });
|
|
5628
5628
|
}
|
|
5629
|
-
function
|
|
5629
|
+
function he(...e) {
|
|
5630
5630
|
let t = I(e);
|
|
5631
5631
|
oe(() => {
|
|
5632
5632
|
t.current = e;
|
|
@@ -5652,7 +5652,7 @@ function td() {
|
|
|
5652
5652
|
}
|
|
5653
5653
|
let nd = "p";
|
|
5654
5654
|
function rd(e, t) {
|
|
5655
|
-
let n = je(), r = yn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a =
|
|
5655
|
+
let n = je(), r = yn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a = he(t);
|
|
5656
5656
|
re(() => l.register(o), [o, l.register]);
|
|
5657
5657
|
let s = Ce({ ...l.slot, disabled: r || !1 }), c = { ref: a, ...l.props, id: o };
|
|
5658
5658
|
return ce()({ ourProps: c, theirProps: i, slot: s, defaultTag: nd, name: l.name || "Description" });
|
|
@@ -5688,7 +5688,7 @@ function id({ inherit: e = !1 } = {}) {
|
|
|
5688
5688
|
let ld = "label";
|
|
5689
5689
|
function ad(e, t) {
|
|
5690
5690
|
var n;
|
|
5691
|
-
let r = je(), o = sl(), i = tl(), l = yn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d =
|
|
5691
|
+
let r = je(), o = sl(), i = tl(), l = yn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d = he(t);
|
|
5692
5692
|
re(() => o.register(a), [a, o.register]);
|
|
5693
5693
|
let p = B((g) => {
|
|
5694
5694
|
let v = g.currentTarget;
|
|
@@ -5847,7 +5847,7 @@ let xd = { 0(e, t) {
|
|
|
5847
5847
|
return new gl({ stack: [] });
|
|
5848
5848
|
}
|
|
5849
5849
|
reduce(t, n) {
|
|
5850
|
-
return
|
|
5850
|
+
return me(n.type, xd, t, n);
|
|
5851
5851
|
}
|
|
5852
5852
|
};
|
|
5853
5853
|
const Ir = new dl(() => Ed.new());
|
|
@@ -5961,14 +5961,14 @@ function kd() {
|
|
|
5961
5961
|
return wo || (wo = 1, process.env.NODE_ENV === "production" ? Zt.exports = $d() : Zt.exports = Sd()), Zt.exports;
|
|
5962
5962
|
}
|
|
5963
5963
|
var Cd = kd();
|
|
5964
|
-
function
|
|
5964
|
+
function ge(e, t, n = ml) {
|
|
5965
5965
|
return Cd.useSyncExternalStoreWithSelector(B((r) => e.subscribe(Rd, r)), B(() => e.state), B(() => e.state), B(t), n);
|
|
5966
5966
|
}
|
|
5967
5967
|
function Rd(e) {
|
|
5968
5968
|
return e;
|
|
5969
5969
|
}
|
|
5970
5970
|
function vl(e, t) {
|
|
5971
|
-
let n = je(), r = Ir.get(t), [o, i] =
|
|
5971
|
+
let n = je(), r = Ir.get(t), [o, i] = ge(r, K((l) => [r.selectors.isTop(l, n), r.selectors.inStack(l, n)], [r, n]));
|
|
5972
5972
|
return re(() => {
|
|
5973
5973
|
if (e) return r.actions.push(n), () => r.actions.pop(n);
|
|
5974
5974
|
}, [r, e, n]), e ? i ? o : !0 : !1;
|
|
@@ -6039,7 +6039,7 @@ function Fd(e = document.body) {
|
|
|
6039
6039
|
var Dr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Dr || {});
|
|
6040
6040
|
function wl(e, t = 0) {
|
|
6041
6041
|
var n;
|
|
6042
|
-
return e === ((n = _t(e)) == null ? void 0 : n.body) ? !1 :
|
|
6042
|
+
return e === ((n = _t(e)) == null ? void 0 : n.body) ? !1 : me(t, { 0() {
|
|
6043
6043
|
return e.matches(fr);
|
|
6044
6044
|
}, 1() {
|
|
6045
6045
|
let r = e;
|
|
@@ -8106,7 +8106,7 @@ function Hp(e) {
|
|
|
8106
8106
|
}, [n, o, t]), r;
|
|
8107
8107
|
}
|
|
8108
8108
|
let jl = Ne, jp = ae(function(e, t) {
|
|
8109
|
-
let { ownerDocument: n = null, ...r } = e, o = I(null), i =
|
|
8109
|
+
let { ownerDocument: n = null, ...r } = e, o = I(null), i = he(ll((p) => {
|
|
8110
8110
|
o.current = p;
|
|
8111
8111
|
}), t), l = mr(o.current), a = n ?? l, s = Hp(a), c = Y(Up), u = lt(), d = ce();
|
|
8112
8112
|
return Hl(() => {
|
|
@@ -8117,12 +8117,12 @@ let jl = Ne, jp = ae(function(e, t) {
|
|
|
8117
8117
|
} }, d({ ourProps: { ref: i }, theirProps: r, slot: {}, defaultTag: jl, name: "Portal" })), s) : null;
|
|
8118
8118
|
});
|
|
8119
8119
|
function Vp(e, t) {
|
|
8120
|
-
let n =
|
|
8120
|
+
let n = he(t), { enabled: r = !0, ownerDocument: o, ...i } = e, l = ce();
|
|
8121
8121
|
return r ? L.createElement(jp, { ...i, ownerDocument: o, ref: n }) : l({ ourProps: { ref: n }, theirProps: i, slot: {}, defaultTag: jl, name: "Portal" });
|
|
8122
8122
|
}
|
|
8123
8123
|
let zp = Ne, Vl = ne(null);
|
|
8124
8124
|
function Wp(e, t) {
|
|
8125
|
-
let { target: n, ...r } = e, o = { ref:
|
|
8125
|
+
let { target: n, ...r } = e, o = { ref: he(t) }, i = ce();
|
|
8126
8126
|
return L.createElement(Vl.Provider, { value: n }, i({ ourProps: o, theirProps: r, defaultTag: zp, name: "Popover.Group" }));
|
|
8127
8127
|
}
|
|
8128
8128
|
let Up = ne(null), Gp = ae(Vp), qp = ae(Wp), Kp = Object.assign(Gp, { Group: qp });
|
|
@@ -8183,7 +8183,7 @@ function An(e) {
|
|
|
8183
8183
|
function Gl(e, t) {
|
|
8184
8184
|
let n = at(e), r = I([]), o = Xp(), i = lt(), l = B((f, m = Ke.Hidden) => {
|
|
8185
8185
|
let g = r.current.findIndex(({ el: v }) => v === f);
|
|
8186
|
-
g !== -1 && (
|
|
8186
|
+
g !== -1 && (me(m, { [Ke.Unmount]() {
|
|
8187
8187
|
r.current.splice(g, 1);
|
|
8188
8188
|
}, [Ke.Hidden]() {
|
|
8189
8189
|
r.current[g].state = "hidden";
|
|
@@ -8211,14 +8211,14 @@ function Gl(e, t) {
|
|
|
8211
8211
|
let ql = Ne, Kl = pt.RenderStrategy;
|
|
8212
8212
|
function tm(e, t) {
|
|
8213
8213
|
var n, r;
|
|
8214
|
-
let { transition: o = !0, beforeEnter: i, afterEnter: l, beforeLeave: a, afterLeave: s, enter: c, enterFrom: u, enterTo: d, entered: p, leave: f, leaveFrom: m, leaveTo: g, ...v } = e, [b, y] = X(null), w = I(null), $ = Ul(e), x =
|
|
8214
|
+
let { transition: o = !0, beforeEnter: i, afterEnter: l, beforeLeave: a, afterLeave: s, enter: c, enterFrom: u, enterTo: d, entered: p, leave: f, leaveFrom: m, leaveTo: g, ...v } = e, [b, y] = X(null), w = I(null), $ = Ul(e), x = he(...$ ? [w, t, y] : t === null ? [] : [t]), O = (n = v.unmount) == null || n ? Ke.Unmount : Ke.Hidden, { show: R, appear: k, initial: A } = Qp(), [C, N] = X(R ? "visible" : "hidden"), V = em(), { register: W, unregister: j } = V;
|
|
8215
8215
|
re(() => W(w), [W, w]), re(() => {
|
|
8216
8216
|
if (O === Ke.Hidden && w.current) {
|
|
8217
8217
|
if (R && C !== "visible") {
|
|
8218
8218
|
N("visible");
|
|
8219
8219
|
return;
|
|
8220
8220
|
}
|
|
8221
|
-
return
|
|
8221
|
+
return me(C, { hidden: () => j(w), visible: () => W(w) });
|
|
8222
8222
|
}
|
|
8223
8223
|
}, [C, w, W, j, R, O]);
|
|
8224
8224
|
let F = Wl();
|
|
@@ -8248,7 +8248,7 @@ function tm(e, t) {
|
|
|
8248
8248
|
return L.createElement(Ln.Provider, { value: z }, L.createElement(Wr, { value: Ee }, M({ ourProps: se, theirProps: v, defaultTag: ql, features: Kl, visible: C === "visible", name: "Transition.Child" })));
|
|
8249
8249
|
}
|
|
8250
8250
|
function nm(e, t) {
|
|
8251
|
-
let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = I(null), a = Ul(e), s =
|
|
8251
|
+
let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = I(null), a = Ul(e), s = he(...a ? [l, t] : t === null ? [] : [t]);
|
|
8252
8252
|
Wl();
|
|
8253
8253
|
let c = Tn();
|
|
8254
8254
|
if (n === void 0 && c !== null && (n = (c & pe.Open) === pe.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
@@ -8281,7 +8281,7 @@ let lm = (Uo = L.startTransition) != null ? Uo : function(e) {
|
|
|
8281
8281
|
e();
|
|
8282
8282
|
};
|
|
8283
8283
|
var am = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(am || {}), sm = ((e) => (e[e.ToggleDisclosure = 0] = "ToggleDisclosure", e[e.CloseDisclosure = 1] = "CloseDisclosure", e[e.SetButtonId = 2] = "SetButtonId", e[e.SetPanelId = 3] = "SetPanelId", e[e.SetButtonElement = 4] = "SetButtonElement", e[e.SetPanelElement = 5] = "SetPanelElement", e))(sm || {});
|
|
8284
|
-
let cm = { 0: (e) => ({ ...e, disclosureState:
|
|
8284
|
+
let cm = { 0: (e) => ({ ...e, disclosureState: me(e.disclosureState, { 0: 1, 1: 0 }) }), 1: (e) => e.disclosureState === 1 ? e : { ...e, disclosureState: 1 }, 2(e, t) {
|
|
8285
8285
|
return e.buttonId === t.buttonId ? e : { ...e, buttonId: t.buttonId };
|
|
8286
8286
|
}, 3(e, t) {
|
|
8287
8287
|
return e.panelId === t.panelId ? e : { ...e, panelId: t.panelId };
|
|
@@ -8315,11 +8315,11 @@ function um() {
|
|
|
8315
8315
|
return Y(Kr);
|
|
8316
8316
|
}
|
|
8317
8317
|
function dm(e, t) {
|
|
8318
|
-
return
|
|
8318
|
+
return me(t.type, cm, e, t);
|
|
8319
8319
|
}
|
|
8320
8320
|
let fm = Ne;
|
|
8321
8321
|
function pm(e, t) {
|
|
8322
|
-
let { defaultOpen: n = !1, ...r } = e, o = I(null), i =
|
|
8322
|
+
let { defaultOpen: n = !1, ...r } = e, o = I(null), i = he(t, ll((g) => {
|
|
8323
8323
|
o.current = g;
|
|
8324
8324
|
}, e.as === void 0 || ut(e.as))), l = ma(dm, { disclosureState: n ? 0 : 1, buttonElement: null, panelElement: null, buttonId: null, panelId: null }), [{ disclosureState: a, buttonId: s }, c] = l, u = B((g) => {
|
|
8325
8325
|
c({ type: 1 });
|
|
@@ -8328,11 +8328,11 @@ function pm(e, t) {
|
|
|
8328
8328
|
let b = g ? Ye(g) ? g : "current" in g && Ye(g.current) ? g.current : v.getElementById(s) : v.getElementById(s);
|
|
8329
8329
|
b?.focus();
|
|
8330
8330
|
}), d = le(() => ({ close: u }), [u]), p = Ce({ open: a === 0, close: u }), f = { ref: i }, m = ce();
|
|
8331
|
-
return L.createElement(Ur.Provider, { value: l }, L.createElement(qr.Provider, { value: d }, L.createElement(dd, { value: u }, L.createElement(Wr, { value:
|
|
8331
|
+
return L.createElement(Ur.Provider, { value: l }, L.createElement(qr.Provider, { value: d }, L.createElement(dd, { value: u }, L.createElement(Wr, { value: me(a, { 0: pe.Open, 1: pe.Closed }) }, m({ ourProps: f, theirProps: r, slot: p, defaultTag: fm, name: "Disclosure" })))));
|
|
8332
8332
|
}
|
|
8333
8333
|
let mm = "button";
|
|
8334
8334
|
function hm(e, t) {
|
|
8335
|
-
let n = je(), { id: r = `headlessui-disclosure-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...l } = e, [a, s] = Gr("Disclosure.Button"), c = um(), u = c === null ? !1 : c === a.panelId, d = I(null), p =
|
|
8335
|
+
let n = je(), { id: r = `headlessui-disclosure-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...l } = e, [a, s] = Gr("Disclosure.Button"), c = um(), u = c === null ? !1 : c === a.panelId, d = I(null), p = he(d, t, B((A) => {
|
|
8336
8336
|
if (!u) return s({ type: 4, element: A });
|
|
8337
8337
|
}));
|
|
8338
8338
|
oe(() => {
|
|
@@ -8366,7 +8366,7 @@ function hm(e, t) {
|
|
|
8366
8366
|
}
|
|
8367
8367
|
let gm = "div", vm = pt.RenderStrategy | pt.Static;
|
|
8368
8368
|
function bm(e, t) {
|
|
8369
|
-
let n = je(), { id: r = `headlessui-disclosure-panel-${n}`, transition: o = !1, ...i } = e, [l, a] = Gr("Disclosure.Panel"), { close: s } = Zl("Disclosure.Panel"), [c, u] = X(null), d =
|
|
8369
|
+
let n = je(), { id: r = `headlessui-disclosure-panel-${n}`, transition: o = !1, ...i } = e, [l, a] = Gr("Disclosure.Panel"), { close: s } = Zl("Disclosure.Panel"), [c, u] = X(null), d = he(t, B((y) => {
|
|
8370
8370
|
lm(() => a({ type: 5, element: y }));
|
|
8371
8371
|
}), u);
|
|
8372
8372
|
oe(() => (a({ type: 3, panelId: r }), () => {
|
|
@@ -8489,7 +8489,7 @@ class Yr extends pl {
|
|
|
8489
8489
|
constructor(t) {
|
|
8490
8490
|
super(t), Ko(this, "actions", { onChange: (n) => {
|
|
8491
8491
|
let { onChange: r, compare: o, mode: i, value: l } = this.state.dataRef.current;
|
|
8492
|
-
return
|
|
8492
|
+
return me(i, { 0: () => r?.(n), 1: () => {
|
|
8493
8493
|
let a = l.slice(), s = a.findIndex((c) => o(c, n));
|
|
8494
8494
|
return s === -1 ? a.push(n) : a.splice(s, 1), r?.(a);
|
|
8495
8495
|
} });
|
|
@@ -8568,7 +8568,7 @@ class Yr extends pl {
|
|
|
8568
8568
|
return new Yr({ id: t, dataRef: { current: {} }, listboxState: n ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: te.Nothing }, frozenValue: !1, __demoMode: n, buttonPositionState: rn.Idle });
|
|
8569
8569
|
}
|
|
8570
8570
|
reduce(t, n) {
|
|
8571
|
-
return
|
|
8571
|
+
return me(n.type, km, t, n);
|
|
8572
8572
|
}
|
|
8573
8573
|
}
|
|
8574
8574
|
const ea = ne(null);
|
|
@@ -8598,22 +8598,22 @@ let Cm = Ne;
|
|
|
8598
8598
|
function Rm(e, t) {
|
|
8599
8599
|
let n = je(), r = yn(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: d = r || !1, horizontal: p = !1, multiple: f = !1, __demoMode: m = !1, ...g } = e;
|
|
8600
8600
|
const v = p ? "horizontal" : "vertical";
|
|
8601
|
-
let b =
|
|
8601
|
+
let b = he(t), y = Hu(i), [w = f ? [] : void 0, $] = Bu(o, s, y), x = ta({ id: n, __demoMode: m }), O = I({ static: !1, hold: !1 }), R = I(/* @__PURE__ */ new Map()), k = pd(c), A = K((Q) => me(C.mode, { [Ze.Multi]: () => w.some((H) => k(H, Q)), [Ze.Single]: () => k(w, Q) }), [w]), C = Ce({ value: w, disabled: d, invalid: u, mode: f ? Ze.Multi : Ze.Single, orientation: v, onChange: $, compare: k, isSelected: A, optionsPropsRef: O, listRef: R });
|
|
8602
8602
|
re(() => {
|
|
8603
8603
|
x.state.dataRef.current = C;
|
|
8604
8604
|
}, [C]);
|
|
8605
|
-
let N =
|
|
8605
|
+
let N = ge(x, (Q) => Q.listboxState), V = Ir.get(null), W = ge(V, K((Q) => V.selectors.isTop(Q, n), [V, n])), [j, F] = ge(x, (Q) => [Q.buttonElement, Q.optionsElement]);
|
|
8606
8606
|
jd(W, [j, F], (Q, H) => {
|
|
8607
8607
|
x.send({ type: Ql.CloseListbox }), wl(H, Dr.Loose) || (Q.preventDefault(), j?.focus());
|
|
8608
8608
|
});
|
|
8609
8609
|
let D = Ce({ open: N === de.Open, disabled: d, invalid: u, value: w }), [G, S] = id({ inherit: !0 }), z = { ref: b }, Z = K(() => {
|
|
8610
8610
|
if (y !== void 0) return $?.(y);
|
|
8611
8611
|
}, [$, y]), xe = ce();
|
|
8612
|
-
return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(Fn.Provider, { value: C }, L.createElement(Wr, { value:
|
|
8612
|
+
return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(Fn.Provider, { value: C }, L.createElement(Wr, { value: me(N, { [de.Open]: pe.Open, [de.Closed]: pe.Closed }) }, a != null && w != null && L.createElement(qu, { disabled: d, data: { [a]: w }, form: l, onReset: Z }), xe({ ourProps: z, theirProps: g, slot: D, defaultTag: Cm, name: "Listbox" }))))));
|
|
8613
8613
|
}
|
|
8614
8614
|
let Om = "button";
|
|
8615
8615
|
function Tm(e, t) {
|
|
8616
|
-
let n = je(), r = tl(), o = jt("Listbox.Button"), i = Zr("Listbox.Button"), { id: l = r || `headlessui-listbox-button-${n}`, disabled: a = o.disabled || !1, autoFocus: s = !1, ...c } = e, u =
|
|
8616
|
+
let n = je(), r = tl(), o = jt("Listbox.Button"), i = Zr("Listbox.Button"), { id: l = r || `headlessui-listbox-button-${n}`, disabled: a = o.disabled || !1, autoFocus: s = !1, ...c } = e, u = he(t, Op(), i.actions.setButtonElement), d = Tp(), [p, f, m] = ge(i, (F) => [F.listboxState, F.buttonElement, F.optionsElement]), g = p === de.Open;
|
|
8617
8617
|
Wd(g, { trigger: f, action: K((F) => {
|
|
8618
8618
|
if (f != null && f.contains(F.target)) return Xt.Ignore;
|
|
8619
8619
|
let D = F.target.closest('[role="option"]:not([data-disabled])');
|
|
@@ -8637,20 +8637,20 @@ function Tm(e, t) {
|
|
|
8637
8637
|
}), y = hd((F) => {
|
|
8638
8638
|
var D;
|
|
8639
8639
|
i.state.listboxState === de.Open ? (an(() => i.actions.closeListbox()), (D = i.state.buttonElement) == null || D.focus({ preventScroll: !0 })) : (F.preventDefault(), i.actions.openListbox({ focus: te.Nothing }));
|
|
8640
|
-
}), w = B((F) => F.preventDefault()), $ = cl([l]), x = td(), { isFocusVisible: O, focusProps: R } = Ar({ autoFocus: s }), { isHovered: k, hoverProps: A } = Lr({ isDisabled: a }), { pressed: C, pressProps: N } = Fr({ disabled: a }), V = Ce({ open: p === de.Open, active: C || p === de.Open, disabled: a, invalid: o.invalid, value: o.value, hover: k, focus: O, autofocus: s }), W =
|
|
8640
|
+
}), w = B((F) => F.preventDefault()), $ = cl([l]), x = td(), { isFocusVisible: O, focusProps: R } = Ar({ autoFocus: s }), { isHovered: k, hoverProps: A } = Lr({ isDisabled: a }), { pressed: C, pressProps: N } = Fr({ disabled: a }), V = Ce({ open: p === de.Open, active: C || p === de.Open, disabled: a, invalid: o.invalid, value: o.value, hover: k, focus: O, autofocus: s }), W = ge(i, (F) => F.listboxState === de.Open), j = Lt(d(), { ref: u, id: l, type: El(e, f), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": W, "aria-labelledby": $, "aria-describedby": x, disabled: a || void 0, autoFocus: s, onKeyDown: v, onKeyUp: b, onKeyPress: w }, y, R, A, N);
|
|
8641
8641
|
return ce()({ ourProps: j, theirProps: c, slot: V, defaultTag: Om, name: "Listbox.Button" });
|
|
8642
8642
|
}
|
|
8643
8643
|
let na = ne(!1), Pm = "div", Lm = pt.RenderStrategy | pt.Static;
|
|
8644
8644
|
function Am(e, t) {
|
|
8645
8645
|
let n = je(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: i = !1, modal: l = !0, transition: a = !1, ...s } = e, c = Rp(o), [u, d] = X(null);
|
|
8646
8646
|
c && (i = !0);
|
|
8647
|
-
let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] =
|
|
8647
|
+
let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] = ge(f, (M) => [M.listboxState, M.buttonElement, M.optionsElement, M.__demoMode]), y = mr(g), w = mr(v), $ = Tn(), [x, O] = Br(a, u, $ !== null ? ($ & pe.Open) === pe.Open : m === de.Open);
|
|
8648
8648
|
Td(x, g, f.actions.closeListbox);
|
|
8649
8649
|
let R = b ? !1 : l && m === de.Open;
|
|
8650
8650
|
Xd(R, w);
|
|
8651
8651
|
let k = b ? !1 : l && m === de.Open;
|
|
8652
8652
|
Od(k, { allowed: K(() => [g, v], [g, v]) });
|
|
8653
|
-
let A =
|
|
8653
|
+
let A = ge(f, f.selectors.didButtonMove) ? !1 : x, C = ge(f, f.selectors.hasFrozenValue) && !e.static, N = Bl(C, p.value), V = K((M) => p.compare(N, M), [p.compare, N]), W = ge(f, (M) => {
|
|
8654
8654
|
var U;
|
|
8655
8655
|
if (c == null || !((U = c?.to) != null && U.includes("selection"))) return null;
|
|
8656
8656
|
let Re = M.options.findIndex(($e) => V($e.dataRef.current.value));
|
|
@@ -8660,7 +8660,7 @@ function Am(e, t) {
|
|
|
8660
8660
|
if (W === null) return { ...c, inner: void 0 };
|
|
8661
8661
|
let M = Array.from(p.listRef.current.values());
|
|
8662
8662
|
return { ...c, inner: { listRef: { current: M }, index: W } };
|
|
8663
|
-
})(), [F, D] = Lp(j), G = Pp(), S =
|
|
8663
|
+
})(), [F, D] = Lp(j), G = Pp(), S = he(t, c ? F : null, f.actions.setOptionsElement, d), z = lt();
|
|
8664
8664
|
oe(() => {
|
|
8665
8665
|
let M = v;
|
|
8666
8666
|
M && m === de.Open && (Ru(M) || M == null || M.focus({ preventScroll: !0 }));
|
|
@@ -8673,9 +8673,9 @@ function Am(e, t) {
|
|
|
8673
8673
|
case ee.Enter:
|
|
8674
8674
|
M.preventDefault(), M.stopPropagation(), f.actions.selectActiveOption();
|
|
8675
8675
|
break;
|
|
8676
|
-
case
|
|
8676
|
+
case me(p.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
|
|
8677
8677
|
return M.preventDefault(), M.stopPropagation(), f.actions.goToOption({ focus: te.Next });
|
|
8678
|
-
case
|
|
8678
|
+
case me(p.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
|
|
8679
8679
|
return M.preventDefault(), M.stopPropagation(), f.actions.goToOption({ focus: te.Previous });
|
|
8680
8680
|
case ee.Home:
|
|
8681
8681
|
case ee.PageUp:
|
|
@@ -8693,19 +8693,19 @@ function Am(e, t) {
|
|
|
8693
8693
|
M.key.length === 1 && (f.actions.search(M.key), z.setTimeout(() => f.actions.clearSearch(), 350));
|
|
8694
8694
|
break;
|
|
8695
8695
|
}
|
|
8696
|
-
}), xe =
|
|
8696
|
+
}), xe = ge(f, (M) => {
|
|
8697
8697
|
var U;
|
|
8698
8698
|
return (U = M.buttonElement) == null ? void 0 : U.id;
|
|
8699
|
-
}), Q = Ce({ open: m === de.Open }), H = Lt(c ? G() : {}, { id: r, ref: S, "aria-activedescendant":
|
|
8699
|
+
}), Q = Ce({ open: m === de.Open }), H = Lt(c ? G() : {}, { id: r, ref: S, "aria-activedescendant": ge(f, f.selectors.activeDescendantId), "aria-multiselectable": p.mode === Ze.Multi ? !0 : void 0, "aria-labelledby": xe, "aria-orientation": p.orientation, onKeyDown: Z, role: "listbox", tabIndex: m === de.Open ? 0 : void 0, style: { ...s.style, ...D, "--button-width": md(x, g, !0).width }, ..._r(O) }), se = ce(), Ee = le(() => p.mode === Ze.Multi ? p : { ...p, isSelected: V }, [p, V]);
|
|
8700
8700
|
return L.createElement(Kp, { enabled: i ? e.static || x : !1, ownerDocument: y }, L.createElement(Fn.Provider, { value: Ee }, se({ ourProps: H, theirProps: s, slot: Q, defaultTag: Pm, features: Lm, visible: A, name: "Listbox.Options" })));
|
|
8701
8701
|
}
|
|
8702
8702
|
let Fm = "div";
|
|
8703
8703
|
function Nm(e, t) {
|
|
8704
|
-
let n = je(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = Y(na) === !0, s = jt("Listbox.Option"), c = Zr("Listbox.Option"), u =
|
|
8704
|
+
let n = je(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = Y(na) === !0, s = jt("Listbox.Option"), c = Zr("Listbox.Option"), u = ge(c, (C) => c.selectors.isActive(C, r)), d = s.isSelected(i), p = I(null), f = Em(p), m = at({ disabled: o, value: i, domRef: p, get textValue() {
|
|
8705
8705
|
return f();
|
|
8706
|
-
} }), g =
|
|
8706
|
+
} }), g = he(t, p, (C) => {
|
|
8707
8707
|
C ? s.listRef.current.set(r, C) : s.listRef.current.delete(r);
|
|
8708
|
-
}), v =
|
|
8708
|
+
}), v = ge(c, (C) => c.selectors.shouldScrollIntoView(C, r));
|
|
8709
8709
|
re(() => {
|
|
8710
8710
|
if (v) return ye().requestAnimationFrame(() => {
|
|
8711
8711
|
var C, N;
|
|
@@ -8729,7 +8729,7 @@ function Nm(e, t) {
|
|
|
8729
8729
|
}
|
|
8730
8730
|
let Mm = Ne;
|
|
8731
8731
|
function Im(e, t) {
|
|
8732
|
-
let { options: n, placeholder: r, ...o } = e, i = { ref:
|
|
8732
|
+
let { options: n, placeholder: r, ...o } = e, i = { ref: he(t) }, l = jt("ListboxSelectedOption"), a = Ce({}), s = l.value === void 0 || l.value === null || l.mode === Ze.Multi && Array.isArray(l.value) && l.value.length === 0, c = ce();
|
|
8733
8733
|
return L.createElement(na.Provider, { value: !0 }, c({ ourProps: i, theirProps: { ...o, children: L.createElement(L.Fragment, null, r && s ? r : n) }, slot: a, defaultTag: Mm, name: "ListboxSelectedOption" }));
|
|
8734
8734
|
}
|
|
8735
8735
|
let Dm = ae(Rm), ra = ae(Tm), _m = cd, oa = ae(Am), ia = ae(Nm), Bm = ae(Im), Hm = Object.assign(Dm, { Button: ra, Label: _m, Options: oa, Option: ia, SelectedOption: Bm });
|
|
@@ -8743,7 +8743,7 @@ function jm({
|
|
|
8743
8743
|
return /* @__PURE__ */ E(
|
|
8744
8744
|
_u,
|
|
8745
8745
|
{
|
|
8746
|
-
className:
|
|
8746
|
+
className: ve(
|
|
8747
8747
|
"rounded-md font-bold cursor-pointer px-2",
|
|
8748
8748
|
Vm(r, !!n),
|
|
8749
8749
|
{
|
|
@@ -8761,23 +8761,23 @@ function jm({
|
|
|
8761
8761
|
function Vm(e, t) {
|
|
8762
8762
|
switch (e) {
|
|
8763
8763
|
case "danger":
|
|
8764
|
-
return
|
|
8764
|
+
return ve("bg-red-400 text-red-950 focus:text-black", {
|
|
8765
8765
|
"hover:bg-red-500 focus:text-black": !t
|
|
8766
8766
|
});
|
|
8767
8767
|
case "none":
|
|
8768
|
-
return
|
|
8768
|
+
return ve("bg-white/20 text-slate-300 focus:text-white", {
|
|
8769
8769
|
"hover:bg-white/10 focus:text-white": !t
|
|
8770
8770
|
});
|
|
8771
8771
|
case "success":
|
|
8772
|
-
return
|
|
8772
|
+
return ve("bg-emerald-400 text-emerald-950 focus:text-black", {
|
|
8773
8773
|
"hover:bg-emerald-500 focus:text-black": !t
|
|
8774
8774
|
});
|
|
8775
8775
|
case "primary":
|
|
8776
|
-
return
|
|
8776
|
+
return ve("bg-sky-400 text-sky-950 focus:text-black", {
|
|
8777
8777
|
"hover:bg-sky-500 focus:text-black": !t
|
|
8778
8778
|
});
|
|
8779
8779
|
case "warning":
|
|
8780
|
-
return
|
|
8780
|
+
return ve("bg-amber-400 text-amber-950 focus:text-black", {
|
|
8781
8781
|
"hover:bg-amber-500 focus:text-black": !t
|
|
8782
8782
|
});
|
|
8783
8783
|
}
|
|
@@ -8786,7 +8786,7 @@ function la({ children: e }) {
|
|
|
8786
8786
|
return /* @__PURE__ */ E(Qc, { FallbackComponent: zm, children: e });
|
|
8787
8787
|
}
|
|
8788
8788
|
function zm({ error: e, resetErrorBoundary: t }) {
|
|
8789
|
-
return /* @__PURE__ */ E(Ii, { intent: "danger", children: /* @__PURE__ */ q(
|
|
8789
|
+
return /* @__PURE__ */ E(Ii, { intent: "danger", children: /* @__PURE__ */ q(be, { align: "start", direction: "column", gap: 2, children: [
|
|
8790
8790
|
/* @__PURE__ */ E("div", { className: "font-bold", children: "Something went wrong!" }),
|
|
8791
8791
|
/* @__PURE__ */ E("pre", { className: "text-sm font-monospace text-red-300", children: e.message }),
|
|
8792
8792
|
/* @__PURE__ */ E(jm, { intent: "danger", onClick: t, children: "Retry" })
|
|
@@ -8851,10 +8851,10 @@ function Um() {
|
|
|
8851
8851
|
}, [e, t]), null;
|
|
8852
8852
|
}
|
|
8853
8853
|
const Gm = {
|
|
8854
|
-
"*": Wt(() => import("./PageNotFound-
|
|
8855
|
-
"/": Wt(() => import("./GettingStartedRoute-
|
|
8856
|
-
"/support": Wt(() => import("./SupportRoute-
|
|
8857
|
-
"/versions": Wt(() => import("./VersionsRoute-
|
|
8854
|
+
"*": Wt(() => import("./PageNotFound-CB4aWvqZ.js")),
|
|
8855
|
+
"/": Wt(() => import("./GettingStartedRoute-BiU1uw3z.js")),
|
|
8856
|
+
"/support": Wt(() => import("./SupportRoute-CCWHUGmp.js")),
|
|
8857
|
+
"/versions": Wt(() => import("./VersionsRoute-DGvfG4y4.js"))
|
|
8858
8858
|
};
|
|
8859
8859
|
function uh({
|
|
8860
8860
|
navLinks: e,
|
|
@@ -8879,7 +8879,7 @@ function uh({
|
|
|
8879
8879
|
/* @__PURE__ */ E(Um, {}),
|
|
8880
8880
|
/* @__PURE__ */ q("div", { className: "h-full w-full max-w-350 mx-auto flex flex-col", children: [
|
|
8881
8881
|
/* @__PURE__ */ q(
|
|
8882
|
-
|
|
8882
|
+
be,
|
|
8883
8883
|
{
|
|
8884
8884
|
align: "center",
|
|
8885
8885
|
className: "h-12 w-full p-4",
|
|
@@ -8888,7 +8888,7 @@ function uh({
|
|
|
8888
8888
|
gap: 4,
|
|
8889
8889
|
children: [
|
|
8890
8890
|
/* @__PURE__ */ q(
|
|
8891
|
-
|
|
8891
|
+
be,
|
|
8892
8892
|
{
|
|
8893
8893
|
className: "overflow-hidden",
|
|
8894
8894
|
align: "center",
|
|
@@ -8907,7 +8907,7 @@ function uh({
|
|
|
8907
8907
|
]
|
|
8908
8908
|
}
|
|
8909
8909
|
),
|
|
8910
|
-
/* @__PURE__ */ q(
|
|
8910
|
+
/* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 4, children: [
|
|
8911
8911
|
l !== void 0 && /* @__PURE__ */ E(
|
|
8912
8912
|
wr,
|
|
8913
8913
|
{
|
|
@@ -8942,7 +8942,7 @@ function uh({
|
|
|
8942
8942
|
"button",
|
|
8943
8943
|
{
|
|
8944
8944
|
"aria-label": "Site navigation menu",
|
|
8945
|
-
className:
|
|
8945
|
+
className: ve("block md:hidden cursor-pointer rounded-lg p-1", {
|
|
8946
8946
|
"bg-black/40": !s,
|
|
8947
8947
|
"bg-black/50 text-white": s
|
|
8948
8948
|
}),
|
|
@@ -8958,7 +8958,7 @@ function uh({
|
|
|
8958
8958
|
/* @__PURE__ */ E(
|
|
8959
8959
|
"section",
|
|
8960
8960
|
{
|
|
8961
|
-
className:
|
|
8961
|
+
className: ve(
|
|
8962
8962
|
"w-full bg-black/90 md:block md:w-80 md:bg-black/80 overflow-auto",
|
|
8963
8963
|
{
|
|
8964
8964
|
hidden: !s
|
|
@@ -8970,7 +8970,7 @@ function uh({
|
|
|
8970
8970
|
/* @__PURE__ */ E(
|
|
8971
8971
|
"main",
|
|
8972
8972
|
{
|
|
8973
|
-
className:
|
|
8973
|
+
className: ve("w-full bg-black/90 relative overflow-auto", {
|
|
8974
8974
|
hidden: s
|
|
8975
8975
|
}),
|
|
8976
8976
|
children: /* @__PURE__ */ E(
|
|
@@ -9055,7 +9055,7 @@ function aa({
|
|
|
9055
9055
|
return /* @__PURE__ */ E("div", { className: "relative", children: /* @__PURE__ */ E(
|
|
9056
9056
|
"code",
|
|
9057
9057
|
{
|
|
9058
|
-
className:
|
|
9058
|
+
className: ve(
|
|
9059
9059
|
"text-sm md:text-base block text-left whitespace-pre-wrap break-normal text-white! rounded-md p-3 bg-black",
|
|
9060
9060
|
"flex flex-col",
|
|
9061
9061
|
e
|
|
@@ -9068,7 +9068,7 @@ function Nn({
|
|
|
9068
9068
|
className: e,
|
|
9069
9069
|
sections: t
|
|
9070
9070
|
}) {
|
|
9071
|
-
return /* @__PURE__ */ E(
|
|
9071
|
+
return /* @__PURE__ */ E(be, { className: e, direction: "column", gap: 2, children: t.map(({ content: n, intent: r }, o) => r ? /* @__PURE__ */ E(Ii, { html: !0, inline: !0, intent: r, minimal: !0, children: n }, o) : /* @__PURE__ */ E(
|
|
9072
9072
|
"div",
|
|
9073
9073
|
{
|
|
9074
9074
|
dangerouslySetInnerHTML: {
|
|
@@ -9091,16 +9091,18 @@ function ca({
|
|
|
9091
9091
|
section: e,
|
|
9092
9092
|
title: t
|
|
9093
9093
|
}) {
|
|
9094
|
-
const { packageName: n } = Xm()
|
|
9094
|
+
const { packageName: n } = Xm();
|
|
9095
9095
|
return /* @__PURE__ */ q(ft, { children: [
|
|
9096
|
-
/* @__PURE__ */ q(
|
|
9096
|
+
/* @__PURE__ */ q("div", { className: "text-xl", children: [
|
|
9097
9097
|
e && /* @__PURE__ */ q(ft, { children: [
|
|
9098
|
-
/* @__PURE__ */ E("
|
|
9099
|
-
|
|
9098
|
+
/* @__PURE__ */ E("span", { className: "text-xl whitespace-nowrap", children: e }),
|
|
9099
|
+
" ",
|
|
9100
|
+
/* @__PURE__ */ E(ei, { className: "size-4 text-slate-400 inline" }),
|
|
9101
|
+
" "
|
|
9100
9102
|
] }),
|
|
9101
|
-
/* @__PURE__ */ E("
|
|
9103
|
+
/* @__PURE__ */ E("span", { className: "text-xl", children: t })
|
|
9102
9104
|
] }),
|
|
9103
|
-
/* @__PURE__ */ E("title", { children:
|
|
9105
|
+
/* @__PURE__ */ E("title", { children: `${n}: ${e ? `${e}: ${t}` : t}` })
|
|
9104
9106
|
] });
|
|
9105
9107
|
}
|
|
9106
9108
|
function Jm({
|
|
@@ -9118,8 +9120,8 @@ function ph({
|
|
|
9118
9120
|
json: e,
|
|
9119
9121
|
section: t
|
|
9120
9122
|
}) {
|
|
9121
|
-
return /* @__PURE__ */ q(
|
|
9122
|
-
/* @__PURE__ */ q(
|
|
9123
|
+
return /* @__PURE__ */ q(be, { direction: "column", gap: 4, children: [
|
|
9124
|
+
/* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
|
|
9123
9125
|
/* @__PURE__ */ E(ca, { section: t, title: `${e.name}` }),
|
|
9124
9126
|
/* @__PURE__ */ E(
|
|
9125
9127
|
hn,
|
|
@@ -9131,7 +9133,7 @@ function ph({
|
|
|
9131
9133
|
)
|
|
9132
9134
|
] }),
|
|
9133
9135
|
/* @__PURE__ */ E(Nn, { sections: e.description }),
|
|
9134
|
-
/* @__PURE__ */ E(
|
|
9136
|
+
/* @__PURE__ */ E(be, { direction: "column", children: /* @__PURE__ */ E("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ E(Jm, { method: n }, r)) }) })
|
|
9135
9137
|
] });
|
|
9136
9138
|
}
|
|
9137
9139
|
function mh({
|
|
@@ -9156,7 +9158,7 @@ function mh({
|
|
|
9156
9158
|
);
|
|
9157
9159
|
}
|
|
9158
9160
|
function hh() {
|
|
9159
|
-
return /* @__PURE__ */ q(
|
|
9161
|
+
return /* @__PURE__ */ q(be, { align: "center", className: "text-slate-300", direction: "row", gap: 2, children: [
|
|
9160
9162
|
/* @__PURE__ */ E(va, { className: "size-4 animate-spin" }),
|
|
9161
9163
|
"Loading..."
|
|
9162
9164
|
] });
|
|
@@ -9167,10 +9169,10 @@ function ua({
|
|
|
9167
9169
|
disabled: n
|
|
9168
9170
|
}) {
|
|
9169
9171
|
return /* @__PURE__ */ E(
|
|
9170
|
-
|
|
9172
|
+
be,
|
|
9171
9173
|
{
|
|
9172
9174
|
align: "center",
|
|
9173
|
-
className:
|
|
9175
|
+
className: ve(
|
|
9174
9176
|
"px-4 h-8 cursor-pointer text-white/90 hover:text-white focus:bg-white/10 focus-within:bg-white/10",
|
|
9175
9177
|
{ "pointer-events-none text-white/50": n },
|
|
9176
9178
|
t
|
|
@@ -9189,7 +9191,7 @@ function gh({
|
|
|
9189
9191
|
return /* @__PURE__ */ E(wr, { to: n, children: ({ isActive: r, isPending: o }) => /* @__PURE__ */ E(
|
|
9190
9192
|
ua,
|
|
9191
9193
|
{
|
|
9192
|
-
className:
|
|
9194
|
+
className: ve(
|
|
9193
9195
|
"px-4 cursor-pointer",
|
|
9194
9196
|
{
|
|
9195
9197
|
"font-bold text-nav-active hover:text-nav-hover": r,
|
|
@@ -9197,7 +9199,7 @@ function gh({
|
|
|
9197
9199
|
},
|
|
9198
9200
|
t
|
|
9199
9201
|
),
|
|
9200
|
-
children: /* @__PURE__ */ E(
|
|
9202
|
+
children: /* @__PURE__ */ E(be, { align: "center", direction: "row", gap: 2, children: e })
|
|
9201
9203
|
}
|
|
9202
9204
|
) });
|
|
9203
9205
|
}
|
|
@@ -9236,7 +9238,7 @@ function Zo({
|
|
|
9236
9238
|
header: e,
|
|
9237
9239
|
props: t
|
|
9238
9240
|
}) {
|
|
9239
|
-
return t.length === 0 ? null : /* @__PURE__ */ q(
|
|
9241
|
+
return t.length === 0 ? null : /* @__PURE__ */ q(be, { direction: "column", children: [
|
|
9240
9242
|
/* @__PURE__ */ E("div", { className: "text-lg font-bold", children: e }),
|
|
9241
9243
|
/* @__PURE__ */ E("dl", { children: t.map((n) => /* @__PURE__ */ E(eh, { prop: n }, n.name)) })
|
|
9242
9244
|
] });
|
|
@@ -9249,8 +9251,8 @@ function bh({
|
|
|
9249
9251
|
() => Qm(e),
|
|
9250
9252
|
[e]
|
|
9251
9253
|
);
|
|
9252
|
-
return /* @__PURE__ */ q(
|
|
9253
|
-
/* @__PURE__ */ q(
|
|
9254
|
+
return /* @__PURE__ */ q(be, { direction: "column", gap: 4, children: [
|
|
9255
|
+
/* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
|
|
9254
9256
|
/* @__PURE__ */ E(ca, { section: t, title: `${e.name} component` }),
|
|
9255
9257
|
/* @__PURE__ */ E(
|
|
9256
9258
|
hn,
|
|
@@ -9340,7 +9342,7 @@ function yh({
|
|
|
9340
9342
|
children: r.map((l, a) => /* @__PURE__ */ E(
|
|
9341
9343
|
ia,
|
|
9342
9344
|
{
|
|
9343
|
-
className:
|
|
9345
|
+
className: ve(
|
|
9344
9346
|
"relative cursor-pointer select-none h-7 py-1 px-2 text-slate-300 border-none!",
|
|
9345
9347
|
"data-focus:text-teal-300 data-focus:bg-black",
|
|
9346
9348
|
"data-active:text-teal-300 data-active:bg-black",
|
|
@@ -9371,7 +9373,7 @@ function xh(e, t) {
|
|
|
9371
9373
|
}
|
|
9372
9374
|
export {
|
|
9373
9375
|
uh as A,
|
|
9374
|
-
|
|
9376
|
+
be as B,
|
|
9375
9377
|
Ii as C,
|
|
9376
9378
|
Nn as D,
|
|
9377
9379
|
hn as E,
|
|
@@ -9393,8 +9395,8 @@ export {
|
|
|
9393
9395
|
Zo as j,
|
|
9394
9396
|
yh as k,
|
|
9395
9397
|
Zm as l,
|
|
9396
|
-
|
|
9398
|
+
ve as m,
|
|
9397
9399
|
xh as n,
|
|
9398
9400
|
Xm as u
|
|
9399
9401
|
};
|
|
9400
|
-
//# sourceMappingURL=index-
|
|
9402
|
+
//# sourceMappingURL=index-CVXprQ8Z.js.map
|