siesa-ui-kit 1.0.24 → 1.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/components/MasterCrud/MasterCRUDCard.d.ts +19 -0
- package/dist/components/MasterCrud/MasterCRUDCard.d.ts.map +1 -0
- package/dist/components/MasterCrud/MasterCrud.d.ts +43 -0
- package/dist/components/MasterCrud/MasterCrud.d.ts.map +1 -0
- package/dist/components/MasterCrud/MasterCrud.types.d.ts +594 -0
- package/dist/components/MasterCrud/MasterCrud.types.d.ts.map +1 -0
- package/dist/components/MasterCrud/MasterCrudForm.d.ts +20 -0
- package/dist/components/MasterCrud/MasterCrudForm.d.ts.map +1 -0
- package/dist/components/MasterCrud/MasterCrudTable.d.ts +17 -0
- package/dist/components/MasterCrud/MasterCrudTable.d.ts.map +1 -0
- package/dist/components/MasterCrud/MasterCrudToolbar.d.ts +36 -0
- package/dist/components/MasterCrud/MasterCrudToolbar.d.ts.map +1 -0
- package/dist/components/MasterCrud/icons.d.ts +64 -0
- package/dist/components/MasterCrud/icons.d.ts.map +1 -0
- package/dist/components/MasterCrud/index.d.ts +8 -0
- package/dist/components/MasterCrud/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.types.d.ts +4 -0
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/siesa-ui-kit.cjs +34 -34
- package/dist/siesa-ui-kit.cjs.map +1 -1
- package/dist/siesa-ui-kit.mjs +718 -716
- package/dist/siesa-ui-kit.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/siesa-ui-kit.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as f, Fragment as
|
|
1
|
+
import { jsxs as f, Fragment as ae, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as L from "react";
|
|
3
|
-
import
|
|
3
|
+
import Qe, { forwardRef as fe, cloneElement as vn, useRef as q, useEffect as Q, useState as z, useCallback as te, useMemo as Ke, createElement as sr, createContext as yn, useContext as kn, useLayoutEffect as wn, useId as Mo, useImperativeHandle as Lo } from "react";
|
|
4
4
|
import * as $o from "react-dom";
|
|
5
5
|
import { flushSync as Oo } from "react-dom";
|
|
6
6
|
const re = ({
|
|
@@ -123,7 +123,7 @@ const re = ({
|
|
|
123
123
|
C[e],
|
|
124
124
|
k,
|
|
125
125
|
l
|
|
126
|
-
].join(" ").replace(/\s+/g, " ").trim(), M = (T) => T ? /* @__PURE__ */ t("span", { className: `inline-flex items-center justify-center ${v[n]}`, children: T }) : null, E = () => o ? M(r) : /* @__PURE__ */ f(
|
|
126
|
+
].join(" ").replace(/\s+/g, " ").trim(), M = (T) => T ? /* @__PURE__ */ t("span", { className: `inline-flex items-center justify-center ${v[n]}`, children: T }) : null, E = () => o ? M(r) : /* @__PURE__ */ f(ae, { children: [
|
|
127
127
|
r && M(r),
|
|
128
128
|
s && /* @__PURE__ */ t("span", { className: w[n], children: s }),
|
|
129
129
|
a && M(a)
|
|
@@ -149,7 +149,7 @@ const re = ({
|
|
|
149
149
|
primary: { bg: "bg-primary-custom-600", text: "text-white" },
|
|
150
150
|
secondary: { bg: "bg-zinc-600", text: "text-white" },
|
|
151
151
|
tertiary: { bg: "bg-zinc-600", text: "text-white" }
|
|
152
|
-
}, N = y[b] || y.red,
|
|
152
|
+
}, N = y[b] || y.red, j = () => !p && h === void 0 ? null : h !== void 0 ? /* @__PURE__ */ t(
|
|
153
153
|
"span",
|
|
154
154
|
{
|
|
155
155
|
className: `
|
|
@@ -200,11 +200,11 @@ const re = ({
|
|
|
200
200
|
...g,
|
|
201
201
|
children: [
|
|
202
202
|
E(),
|
|
203
|
-
|
|
203
|
+
j()
|
|
204
204
|
]
|
|
205
205
|
}
|
|
206
206
|
);
|
|
207
|
-
},
|
|
207
|
+
}, Lt = fe(
|
|
208
208
|
({
|
|
209
209
|
label: e,
|
|
210
210
|
labelSecondary: n,
|
|
@@ -314,7 +314,7 @@ const re = ({
|
|
|
314
314
|
] });
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
|
-
|
|
317
|
+
Lt.displayName = "Input";
|
|
318
318
|
const Bo = fe(
|
|
319
319
|
({
|
|
320
320
|
label: e,
|
|
@@ -754,10 +754,10 @@ const Nn = fe(
|
|
|
754
754
|
}
|
|
755
755
|
)
|
|
756
756
|
] });
|
|
757
|
-
return /* @__PURE__ */ t("div", { className: `flex gap-2 items-center w-[344px] ${s}`, children: o === "leading" ? /* @__PURE__ */ f(
|
|
757
|
+
return /* @__PURE__ */ t("div", { className: `flex gap-2 items-center w-[344px] ${s}`, children: o === "leading" ? /* @__PURE__ */ f(ae, { children: [
|
|
758
758
|
v,
|
|
759
759
|
w
|
|
760
|
-
] }) : /* @__PURE__ */ f(
|
|
760
|
+
] }) : /* @__PURE__ */ f(ae, { children: [
|
|
761
761
|
w,
|
|
762
762
|
v
|
|
763
763
|
] }) });
|
|
@@ -846,7 +846,7 @@ const _o = fe(
|
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
848
|
_o.displayName = "Avatar";
|
|
849
|
-
const
|
|
849
|
+
const _e = fe(
|
|
850
850
|
({
|
|
851
851
|
type: e = "default",
|
|
852
852
|
className: n = "",
|
|
@@ -876,7 +876,7 @@ const De = fe(
|
|
|
876
876
|
);
|
|
877
877
|
}
|
|
878
878
|
);
|
|
879
|
-
|
|
879
|
+
_e.displayName = "Divider";
|
|
880
880
|
const Do = fe(
|
|
881
881
|
({
|
|
882
882
|
term: e,
|
|
@@ -914,7 +914,7 @@ const Po = fe(
|
|
|
914
914
|
className: c = "",
|
|
915
915
|
...u
|
|
916
916
|
}, d) => {
|
|
917
|
-
const m = r || /* @__PURE__ */ f(
|
|
917
|
+
const m = r || /* @__PURE__ */ f(ae, { children: [
|
|
918
918
|
a && /* @__PURE__ */ t(re, { type: "plain", size: "base", onClick: a, children: i }),
|
|
919
919
|
s && /* @__PURE__ */ t(re, { type: "default", size: "base", onClick: s, children: l })
|
|
920
920
|
] });
|
|
@@ -946,7 +946,7 @@ const Po = fe(
|
|
|
946
946
|
}
|
|
947
947
|
);
|
|
948
948
|
Po.displayName = "Alert";
|
|
949
|
-
const
|
|
949
|
+
const qe = fe(
|
|
950
950
|
({
|
|
951
951
|
color: e = "zinc",
|
|
952
952
|
leftIcon: n,
|
|
@@ -1152,7 +1152,7 @@ const Ke = fe(
|
|
|
1152
1152
|
);
|
|
1153
1153
|
}
|
|
1154
1154
|
);
|
|
1155
|
-
|
|
1155
|
+
qe.displayName = "Badge";
|
|
1156
1156
|
const Cn = fe(
|
|
1157
1157
|
({
|
|
1158
1158
|
value: e,
|
|
@@ -1218,7 +1218,7 @@ const Cn = fe(
|
|
|
1218
1218
|
}
|
|
1219
1219
|
)
|
|
1220
1220
|
}
|
|
1221
|
-
), y = u ? "border-error-border dark:border-error-border" : "border-border-primary dark:border-dark-border-primary", N = !d && !u ? "hover:border-[#f9f9f9] dark:hover:border-[#f9f9f9]" : "",
|
|
1221
|
+
), y = u ? "border-error-border dark:border-error-border" : "border-border-primary dark:border-dark-border-primary", N = !d && !u ? "hover:border-[#f9f9f9] dark:hover:border-[#f9f9f9]" : "", j = !d && !u ? "focus-within:border-2 focus-within:border-[#329cff] dark:focus-within:border-[#329cff]" : "";
|
|
1222
1222
|
return /* @__PURE__ */ f(
|
|
1223
1223
|
"div",
|
|
1224
1224
|
{
|
|
@@ -1261,7 +1261,7 @@ const Cn = fe(
|
|
|
1261
1261
|
border
|
|
1262
1262
|
${y}
|
|
1263
1263
|
${N}
|
|
1264
|
-
${
|
|
1264
|
+
${j}
|
|
1265
1265
|
rounded-lg
|
|
1266
1266
|
transition-colors
|
|
1267
1267
|
duration-200
|
|
@@ -1528,7 +1528,7 @@ const Vo = () => /* @__PURE__ */ t(
|
|
|
1528
1528
|
}
|
|
1529
1529
|
)
|
|
1530
1530
|
}
|
|
1531
|
-
),
|
|
1531
|
+
), vt = ({
|
|
1532
1532
|
variant: e = "default",
|
|
1533
1533
|
children: n,
|
|
1534
1534
|
items: o,
|
|
@@ -1543,8 +1543,8 @@ const Vo = () => /* @__PURE__ */ t(
|
|
|
1543
1543
|
}) => {
|
|
1544
1544
|
const [m, p] = z(!1), [h, b] = z("bottom-left"), g = q(null), x = q(null), v = r !== void 0, w = v ? r : m, C = te(() => {
|
|
1545
1545
|
if (!g.current) return;
|
|
1546
|
-
const y = g.current.getBoundingClientRect(), N = window.innerWidth,
|
|
1547
|
-
b(I &&
|
|
1546
|
+
const y = g.current.getBoundingClientRect(), N = window.innerWidth, j = window.innerHeight, T = 200, D = 250, U = j - y.bottom, P = y.top, A = N - y.left, _ = y.right, I = U < D && P > U, Y = A < T && _ > A;
|
|
1547
|
+
b(I && Y ? "top-right" : I ? "top-left" : Y ? "bottom-right" : "bottom-left");
|
|
1548
1548
|
}, []), R = () => {
|
|
1549
1549
|
if (s) return;
|
|
1550
1550
|
const y = !w;
|
|
@@ -1785,7 +1785,7 @@ const Vo = () => /* @__PURE__ */ t(
|
|
|
1785
1785
|
className: g = ""
|
|
1786
1786
|
}) => {
|
|
1787
1787
|
const [x, v] = z(r);
|
|
1788
|
-
|
|
1788
|
+
Qe.useEffect(() => {
|
|
1789
1789
|
v(r);
|
|
1790
1790
|
}, [r]);
|
|
1791
1791
|
const w = () => {
|
|
@@ -2222,7 +2222,7 @@ const Wc = ({
|
|
|
2222
2222
|
className: c = "",
|
|
2223
2223
|
ariaLabel: u = "Paginación"
|
|
2224
2224
|
}) => {
|
|
2225
|
-
const d =
|
|
2225
|
+
const d = Ke(() => {
|
|
2226
2226
|
const g = s * 2 + 3 + 2;
|
|
2227
2227
|
if (n <= g)
|
|
2228
2228
|
return Array.from({ length: n }, (S, M) => M + 1);
|
|
@@ -2472,59 +2472,60 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2472
2472
|
showDescription: u = !0,
|
|
2473
2473
|
menuHeader: d,
|
|
2474
2474
|
onChange: m,
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2475
|
+
onBlur: p,
|
|
2476
|
+
className: h = "",
|
|
2477
|
+
triggerClassName: b = "",
|
|
2478
|
+
menuClassName: g = "",
|
|
2479
|
+
ariaLabel: x,
|
|
2480
|
+
id: v,
|
|
2481
|
+
name: w,
|
|
2482
|
+
required: C = !1,
|
|
2483
|
+
menuPosition: R = "bottom",
|
|
2484
|
+
fullWidth: k = !1
|
|
2484
2485
|
}) => {
|
|
2485
|
-
const [
|
|
2486
|
+
const [S, M] = z(!1), [E, y] = z(
|
|
2486
2487
|
n !== void 0 ? n : o
|
|
2487
|
-
), [
|
|
2488
|
+
), [N, j] = z(-1), T = q(null), D = q(null), U = q(null);
|
|
2488
2489
|
Q(() => {
|
|
2489
|
-
n !== void 0 &&
|
|
2490
|
+
n !== void 0 && y(n);
|
|
2490
2491
|
}, [n]), Q(() => {
|
|
2491
|
-
const
|
|
2492
|
-
|
|
2492
|
+
const X = (ie) => {
|
|
2493
|
+
T.current && !T.current.contains(ie.target) && M(!1);
|
|
2493
2494
|
};
|
|
2494
|
-
if (
|
|
2495
|
-
return document.addEventListener("mousedown",
|
|
2496
|
-
document.removeEventListener("mousedown",
|
|
2495
|
+
if (S)
|
|
2496
|
+
return document.addEventListener("mousedown", X), () => {
|
|
2497
|
+
document.removeEventListener("mousedown", X);
|
|
2497
2498
|
};
|
|
2498
|
-
}, [
|
|
2499
|
-
const
|
|
2500
|
-
if (
|
|
2501
|
-
switch (
|
|
2499
|
+
}, [S]), Q(() => {
|
|
2500
|
+
const X = (ie) => {
|
|
2501
|
+
if (S)
|
|
2502
|
+
switch (ie.key) {
|
|
2502
2503
|
case "Escape":
|
|
2503
|
-
|
|
2504
|
+
M(!1), D.current?.focus();
|
|
2504
2505
|
break;
|
|
2505
2506
|
case "ArrowDown":
|
|
2506
|
-
|
|
2507
|
+
ie.preventDefault(), j((me) => me < e.length - 1 ? me + 1 : 0);
|
|
2507
2508
|
break;
|
|
2508
2509
|
case "ArrowUp":
|
|
2509
|
-
|
|
2510
|
+
ie.preventDefault(), j((me) => me > 0 ? me - 1 : e.length - 1);
|
|
2510
2511
|
break;
|
|
2511
2512
|
case "Enter":
|
|
2512
|
-
|
|
2513
|
+
ie.preventDefault(), N >= 0 && N < e.length && _(e[N]);
|
|
2513
2514
|
break;
|
|
2514
2515
|
}
|
|
2515
2516
|
};
|
|
2516
|
-
if (
|
|
2517
|
-
return document.addEventListener("keydown",
|
|
2518
|
-
document.removeEventListener("keydown",
|
|
2517
|
+
if (S)
|
|
2518
|
+
return document.addEventListener("keydown", X), () => {
|
|
2519
|
+
document.removeEventListener("keydown", X);
|
|
2519
2520
|
};
|
|
2520
|
-
}, [
|
|
2521
|
-
const
|
|
2522
|
-
a || (
|
|
2523
|
-
},
|
|
2524
|
-
|
|
2525
|
-
|
|
2521
|
+
}, [S, N, e]);
|
|
2522
|
+
const P = e.find((X) => X.value === E), A = () => {
|
|
2523
|
+
a || (M(!S), j(-1));
|
|
2524
|
+
}, _ = (X) => {
|
|
2525
|
+
X.disabled || (y(X.value), M(!1), m?.(X.value), setTimeout(() => {
|
|
2526
|
+
D.current?.focus();
|
|
2526
2527
|
}, 0));
|
|
2527
|
-
},
|
|
2528
|
+
}, K = [
|
|
2528
2529
|
`
|
|
2529
2530
|
inline-flex
|
|
2530
2531
|
items-center
|
|
@@ -2541,7 +2542,7 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2541
2542
|
transition-all
|
|
2542
2543
|
duration-150
|
|
2543
2544
|
`,
|
|
2544
|
-
|
|
2545
|
+
k ? "w-full" : "min-w-[200px]",
|
|
2545
2546
|
s ? `
|
|
2546
2547
|
border-error-border
|
|
2547
2548
|
bg-error-bg
|
|
@@ -2573,8 +2574,8 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2573
2574
|
opacity-50
|
|
2574
2575
|
cursor-not-allowed
|
|
2575
2576
|
` : "",
|
|
2576
|
-
|
|
2577
|
-
].join(" ").replace(/\s+/g, " ").trim(),
|
|
2577
|
+
b
|
|
2578
|
+
].join(" ").replace(/\s+/g, " ").trim(), oe = [
|
|
2578
2579
|
`
|
|
2579
2580
|
absolute
|
|
2580
2581
|
z-50
|
|
@@ -2589,16 +2590,16 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2589
2590
|
transition-all
|
|
2590
2591
|
duration-150
|
|
2591
2592
|
`,
|
|
2592
|
-
|
|
2593
|
+
R === "top" ? "bottom-full mb-1" : "top-full mt-1",
|
|
2593
2594
|
`
|
|
2594
2595
|
bg-background-secondary
|
|
2595
2596
|
border-border-secondary
|
|
2596
2597
|
dark:bg-dark-bg-primary
|
|
2597
2598
|
dark:border-dark-border-primary
|
|
2598
2599
|
`,
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
].join(" ").replace(/\s+/g, " ").trim(),
|
|
2600
|
+
S ? "opacity-100 visible" : "opacity-0 invisible",
|
|
2601
|
+
g
|
|
2602
|
+
].join(" ").replace(/\s+/g, " ").trim(), be = `
|
|
2602
2603
|
flex
|
|
2603
2604
|
items-center
|
|
2604
2605
|
cursor-pointer
|
|
@@ -2612,28 +2613,28 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2612
2613
|
text-[10px]
|
|
2613
2614
|
leading-[12px]
|
|
2614
2615
|
font-bold
|
|
2615
|
-
`,
|
|
2616
|
-
const
|
|
2617
|
-
return [
|
|
2618
|
-
},
|
|
2616
|
+
`, de = (X, ie) => {
|
|
2617
|
+
const me = X.value === E, je = ie === N, rt = je || me && je ? "bg-primary-custom-600 text-primary-inverse-content dark:bg-primary-custom-600 dark:text-primary-inverse-content" : "text-content-primary dark:text-dark-content-primary", Se = X.disabled ? "" : "hover:bg-primary-custom-600 hover:text-primary-inverse-content dark:hover:bg-primary-custom-600 dark:hover:text-primary-inverse-content", xe = X.disabled ? "opacity-50 cursor-not-allowed" : "";
|
|
2618
|
+
return [be, rt, Se, xe].join(" ").replace(/\s+/g, " ").trim();
|
|
2619
|
+
}, se = [
|
|
2619
2620
|
"shrink-0",
|
|
2620
2621
|
"w-4",
|
|
2621
2622
|
"h-4",
|
|
2622
2623
|
"transition-transform",
|
|
2623
2624
|
"duration-150",
|
|
2624
|
-
|
|
2625
|
+
S && "rotate-180",
|
|
2625
2626
|
a ? "text-content-tertiary dark:text-content-tertiary" : "text-content-secondary dark:text-content-secondary"
|
|
2626
|
-
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(),
|
|
2627
|
-
return /* @__PURE__ */ f("div", { className: `relative ${
|
|
2627
|
+
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), Pt = "shrink-0 w-4 h-4";
|
|
2628
|
+
return /* @__PURE__ */ f("div", { className: `relative ${k ? "w-full" : ""} ${h}`, ref: T, children: [
|
|
2628
2629
|
c && i || u && l ? /* @__PURE__ */ f("div", { className: "flex flex-col gap-1 mb-1 w-full", children: [
|
|
2629
2630
|
c && i && /* @__PURE__ */ f(
|
|
2630
2631
|
"label",
|
|
2631
2632
|
{
|
|
2632
|
-
htmlFor:
|
|
2633
|
+
htmlFor: v,
|
|
2633
2634
|
className: "text-sm font-bold leading-5 text-content-primary dark:text-dark-content-primary",
|
|
2634
2635
|
children: [
|
|
2635
2636
|
i,
|
|
2636
|
-
|
|
2637
|
+
C && /* @__PURE__ */ t("span", { className: "ml-1 text-error-content", children: "*" })
|
|
2637
2638
|
]
|
|
2638
2639
|
}
|
|
2639
2640
|
),
|
|
@@ -2642,54 +2643,55 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
2642
2643
|
/* @__PURE__ */ f(
|
|
2643
2644
|
"button",
|
|
2644
2645
|
{
|
|
2645
|
-
ref:
|
|
2646
|
+
ref: D,
|
|
2646
2647
|
type: "button",
|
|
2647
|
-
className:
|
|
2648
|
-
onClick:
|
|
2648
|
+
className: K,
|
|
2649
|
+
onClick: A,
|
|
2650
|
+
onBlur: p,
|
|
2649
2651
|
disabled: a,
|
|
2650
|
-
"aria-label":
|
|
2652
|
+
"aria-label": x || i,
|
|
2651
2653
|
"aria-haspopup": "listbox",
|
|
2652
|
-
"aria-expanded":
|
|
2653
|
-
id:
|
|
2654
|
+
"aria-expanded": S,
|
|
2655
|
+
id: v,
|
|
2654
2656
|
children: [
|
|
2655
2657
|
/* @__PURE__ */ t(
|
|
2656
2658
|
"span",
|
|
2657
2659
|
{
|
|
2658
|
-
className:
|
|
2659
|
-
children:
|
|
2660
|
+
className: P ? "" : "text-content-secondary dark:text-content-secondary",
|
|
2661
|
+
children: P ? P.label : r
|
|
2660
2662
|
}
|
|
2661
2663
|
),
|
|
2662
|
-
/* @__PURE__ */ t(sa, { className:
|
|
2664
|
+
/* @__PURE__ */ t(sa, { className: se })
|
|
2663
2665
|
]
|
|
2664
2666
|
}
|
|
2665
2667
|
),
|
|
2666
|
-
|
|
2668
|
+
w && /* @__PURE__ */ t(
|
|
2667
2669
|
"input",
|
|
2668
2670
|
{
|
|
2669
2671
|
type: "hidden",
|
|
2670
|
-
name:
|
|
2671
|
-
value:
|
|
2672
|
+
name: w,
|
|
2673
|
+
value: E !== void 0 ? String(E) : ""
|
|
2672
2674
|
}
|
|
2673
2675
|
),
|
|
2674
|
-
|
|
2676
|
+
S && /* @__PURE__ */ f("div", { ref: U, className: oe, role: "listbox", children: [
|
|
2675
2677
|
d && /* @__PURE__ */ t("div", { className: "flex items-center gap-0.5 px-6 py-0.5 rounded-[5px]", children: /* @__PURE__ */ t("span", { className: "text-[10px] font-bold leading-[12px] text-content-tertiary dark:text-content-tertiary", children: d }) }),
|
|
2676
2678
|
e.length === 0 && /* @__PURE__ */ t("div", { className: "px-2 py-1.5 text-[10px] leading-[12px] text-content-secondary dark:text-content-secondary", children: "No hay opciones disponibles" }),
|
|
2677
|
-
e.map((
|
|
2679
|
+
e.map((X, ie) => /* @__PURE__ */ f(
|
|
2678
2680
|
"div",
|
|
2679
2681
|
{
|
|
2680
|
-
className:
|
|
2681
|
-
onClick: () =>
|
|
2682
|
-
onMouseEnter: () =>
|
|
2682
|
+
className: de(X, ie),
|
|
2683
|
+
onClick: () => _(X),
|
|
2684
|
+
onMouseEnter: () => j(ie),
|
|
2683
2685
|
role: "option",
|
|
2684
|
-
"aria-selected":
|
|
2685
|
-
"aria-disabled":
|
|
2686
|
+
"aria-selected": X.value === E,
|
|
2687
|
+
"aria-disabled": X.disabled,
|
|
2686
2688
|
children: [
|
|
2687
|
-
/* @__PURE__ */ t("div", { className: "w-4 flex items-center justify-center", children:
|
|
2688
|
-
|
|
2689
|
-
/* @__PURE__ */ t("span", { className: "flex-1 text-left", children:
|
|
2689
|
+
/* @__PURE__ */ t("div", { className: "w-4 flex items-center justify-center", children: X.value === E && /* @__PURE__ */ t(ia, { className: Pt }) }),
|
|
2690
|
+
X.icon && /* @__PURE__ */ t("span", { className: "shrink-0 w-4 h-4", children: X.icon }),
|
|
2691
|
+
/* @__PURE__ */ t("span", { className: "flex-1 text-left", children: X.label })
|
|
2690
2692
|
]
|
|
2691
2693
|
},
|
|
2692
|
-
|
|
2694
|
+
X.value
|
|
2693
2695
|
))
|
|
2694
2696
|
] })
|
|
2695
2697
|
] });
|
|
@@ -3009,7 +3011,7 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
3009
3011
|
className: "flex flex-col items-start p-3 relative shrink-0 w-full",
|
|
3010
3012
|
"data-testid": "navigation-rail-search",
|
|
3011
3013
|
children: /* @__PURE__ */ t(
|
|
3012
|
-
|
|
3014
|
+
Lt,
|
|
3013
3015
|
{
|
|
3014
3016
|
placeholder: s?.placeholder || "Buscar módulo",
|
|
3015
3017
|
value: d,
|
|
@@ -3019,7 +3021,7 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
3019
3021
|
)
|
|
3020
3022
|
}
|
|
3021
3023
|
),
|
|
3022
|
-
/* @__PURE__ */ t(
|
|
3024
|
+
/* @__PURE__ */ t(_e, { className: "w-full" }),
|
|
3023
3025
|
/* @__PURE__ */ f(
|
|
3024
3026
|
"div",
|
|
3025
3027
|
{
|
|
@@ -3049,7 +3051,7 @@ const aa = /* @__PURE__ */ L.forwardRef(oa), sa = ({ className: e = "size-5" })
|
|
|
3049
3051
|
))
|
|
3050
3052
|
}
|
|
3051
3053
|
),
|
|
3052
|
-
g.showDivider !== !1 && x < i.length - 1 && /* @__PURE__ */ t(
|
|
3054
|
+
g.showDivider !== !1 && x < i.length - 1 && /* @__PURE__ */ t(_e, { className: "mt-3 w-full" })
|
|
3053
3055
|
] }, `section-${x}`)) : null,
|
|
3054
3056
|
l && l.length > 0 && !i ? l.map((g, x) => /* @__PURE__ */ t(
|
|
3055
3057
|
Tr,
|
|
@@ -3181,7 +3183,7 @@ function ma({
|
|
|
3181
3183
|
clipRule: "evenodd"
|
|
3182
3184
|
}));
|
|
3183
3185
|
}
|
|
3184
|
-
const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" }) => /* @__PURE__ */ t(fa, { className: e, "aria-hidden": "true" }), ha = ({ className: e = "size-5" }) => /* @__PURE__ */ t(da, { className: e, "aria-hidden": "true" }), _r = ({ className: e = "size-5" }) => /* @__PURE__ */ t(aa, { className: e, "aria-hidden": "true" }), Dr = ({ className: e = "size-5" }) => /* @__PURE__ */ t(jn, { className: e, "aria-hidden": "true" }), An =
|
|
3186
|
+
const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" }) => /* @__PURE__ */ t(fa, { className: e, "aria-hidden": "true" }), ha = ({ className: e = "size-5" }) => /* @__PURE__ */ t(da, { className: e, "aria-hidden": "true" }), _r = ({ className: e = "size-5" }) => /* @__PURE__ */ t(aa, { className: e, "aria-hidden": "true" }), Dr = ({ className: e = "size-5" }) => /* @__PURE__ */ t(jn, { className: e, "aria-hidden": "true" }), An = Qe.forwardRef(
|
|
3185
3187
|
({
|
|
3186
3188
|
collapsed: e = !0,
|
|
3187
3189
|
items: n = [],
|
|
@@ -3280,7 +3282,7 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3280
3282
|
),
|
|
3281
3283
|
!e && /* @__PURE__ */ f("div", { className: "w-full flex flex-col gap-3 px-3 py-3 relative shrink-0", children: [
|
|
3282
3284
|
/* @__PURE__ */ t(
|
|
3283
|
-
|
|
3285
|
+
Lt,
|
|
3284
3286
|
{
|
|
3285
3287
|
placeholder: v.searchPlaceholder,
|
|
3286
3288
|
value: m,
|
|
@@ -3289,7 +3291,7 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3289
3291
|
fullWidth: !0
|
|
3290
3292
|
}
|
|
3291
3293
|
),
|
|
3292
|
-
/* @__PURE__ */ t(
|
|
3294
|
+
/* @__PURE__ */ t(_e, { className: "w-full" })
|
|
3293
3295
|
] }),
|
|
3294
3296
|
/* @__PURE__ */ f(
|
|
3295
3297
|
"div",
|
|
@@ -3326,7 +3328,7 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3326
3328
|
`,
|
|
3327
3329
|
children: e ? (
|
|
3328
3330
|
// Items reales - collapsed mode
|
|
3329
|
-
/* @__PURE__ */ t(
|
|
3331
|
+
/* @__PURE__ */ t(ae, { children: n.map((y, N) => /* @__PURE__ */ t(
|
|
3330
3332
|
Sn,
|
|
3331
3333
|
{
|
|
3332
3334
|
id: y.id,
|
|
@@ -3346,8 +3348,8 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3346
3348
|
)) })
|
|
3347
3349
|
) : (
|
|
3348
3350
|
// Items reales - expanded mode
|
|
3349
|
-
/* @__PURE__ */ t(
|
|
3350
|
-
const
|
|
3351
|
+
/* @__PURE__ */ t(ae, { children: n.map((y, N) => {
|
|
3352
|
+
const j = y.children && y.children.length > 0;
|
|
3351
3353
|
return /* @__PURE__ */ t("div", { className: "w-full", children: /* @__PURE__ */ t(
|
|
3352
3354
|
Rn,
|
|
3353
3355
|
{
|
|
@@ -3360,9 +3362,9 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3360
3362
|
badgeColor: y.badgeColor,
|
|
3361
3363
|
showDivider: !1,
|
|
3362
3364
|
showHeading: !1,
|
|
3363
|
-
isCollapsible:
|
|
3365
|
+
isCollapsible: j,
|
|
3364
3366
|
defaultOpen: y.defaultOpen,
|
|
3365
|
-
children:
|
|
3367
|
+
children: j ? y.children : void 0,
|
|
3366
3368
|
onClick: () => R(N, y)
|
|
3367
3369
|
}
|
|
3368
3370
|
) }, y.id);
|
|
@@ -3371,7 +3373,7 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3371
3373
|
}
|
|
3372
3374
|
),
|
|
3373
3375
|
/* @__PURE__ */ f("div", { className: `w-full flex flex-col gap-3 items-center relative shrink-0 ${e ? "" : "px-3"}`, children: [
|
|
3374
|
-
/* @__PURE__ */ t(
|
|
3376
|
+
/* @__PURE__ */ t(_e, { className: "w-full" }),
|
|
3375
3377
|
/* @__PURE__ */ f(
|
|
3376
3378
|
"div",
|
|
3377
3379
|
{
|
|
@@ -3434,7 +3436,7 @@ const jn = /* @__PURE__ */ L.forwardRef(ma), pa = ({ className: e = "size-5" })
|
|
|
3434
3436
|
}
|
|
3435
3437
|
);
|
|
3436
3438
|
An.displayName = "NavigationRailTypes";
|
|
3437
|
-
const ga = ({ className: e = "size-4" }) => /* @__PURE__ */ t(jn, { className: e, "aria-hidden": "true" }), mr =
|
|
3439
|
+
const ga = ({ className: e = "size-4" }) => /* @__PURE__ */ t(jn, { className: e, "aria-hidden": "true" }), mr = Qe.forwardRef(
|
|
3438
3440
|
({
|
|
3439
3441
|
state: e = "collapsed",
|
|
3440
3442
|
items: n = [],
|
|
@@ -3455,16 +3457,16 @@ const ga = ({ className: e = "size-4" }) => /* @__PURE__ */ t(jn, { className: e
|
|
|
3455
3457
|
Q(() => () => {
|
|
3456
3458
|
x.current && clearTimeout(x.current);
|
|
3457
3459
|
}, []);
|
|
3458
|
-
const C = (
|
|
3459
|
-
o?.(
|
|
3460
|
-
}, R = (
|
|
3461
|
-
const T = n[
|
|
3460
|
+
const C = (j) => {
|
|
3461
|
+
o?.(j ? "collapsed" : "expanded");
|
|
3462
|
+
}, R = (j) => {
|
|
3463
|
+
const T = n[j];
|
|
3462
3464
|
T && r?.(T);
|
|
3463
|
-
}, k = (
|
|
3464
|
-
const T = n[
|
|
3465
|
+
}, k = (j) => {
|
|
3466
|
+
const T = n[j];
|
|
3465
3467
|
T && w && S(T);
|
|
3466
|
-
}, S = (
|
|
3467
|
-
w &&
|
|
3468
|
+
}, S = (j) => {
|
|
3469
|
+
w && j.isCollapsible && j.children && (x.current && (clearTimeout(x.current), x.current = null), g(j), h("hover"), m(!0), a?.(j));
|
|
3468
3470
|
}, M = () => {
|
|
3469
3471
|
w && p === "hover" && (x.current = setTimeout(() => {
|
|
3470
3472
|
m(!1), g(null);
|
|
@@ -3473,18 +3475,18 @@ const ga = ({ className: e = "size-4" }) => /* @__PURE__ */ t(jn, { className: e
|
|
|
3473
3475
|
x.current && (clearTimeout(x.current), x.current = null);
|
|
3474
3476
|
}, y = () => {
|
|
3475
3477
|
w && p === "hover" && (m(!1), g(null));
|
|
3476
|
-
}, N = n.map((
|
|
3477
|
-
id:
|
|
3478
|
-
label:
|
|
3479
|
-
icon:
|
|
3480
|
-
active:
|
|
3481
|
-
disabled:
|
|
3482
|
-
badge:
|
|
3483
|
-
badgeCount:
|
|
3484
|
-
children:
|
|
3485
|
-
defaultOpen:
|
|
3478
|
+
}, N = n.map((j) => ({
|
|
3479
|
+
id: j.id,
|
|
3480
|
+
label: j.label,
|
|
3481
|
+
icon: j.icon,
|
|
3482
|
+
active: j.active,
|
|
3483
|
+
disabled: j.disabled,
|
|
3484
|
+
badge: j.badge,
|
|
3485
|
+
badgeCount: j.badgeCount,
|
|
3486
|
+
children: j.children,
|
|
3487
|
+
defaultOpen: j.defaultOpen,
|
|
3486
3488
|
onClick: () => {
|
|
3487
|
-
|
|
3489
|
+
j.onClick?.();
|
|
3488
3490
|
},
|
|
3489
3491
|
onMouseLeave: () => M()
|
|
3490
3492
|
// Corregir la llamada
|
|
@@ -3538,11 +3540,11 @@ const ga = ({ className: e = "size-4" }) => /* @__PURE__ */ t(jn, { className: e
|
|
|
3538
3540
|
},
|
|
3539
3541
|
sections: p === "hover" && b?.children ? [
|
|
3540
3542
|
{
|
|
3541
|
-
items: b.children.map((
|
|
3542
|
-
label:
|
|
3543
|
-
icon:
|
|
3544
|
-
onClick:
|
|
3545
|
-
disabled:
|
|
3543
|
+
items: b.children.map((j) => ({
|
|
3544
|
+
label: j.label,
|
|
3545
|
+
icon: j.icon,
|
|
3546
|
+
onClick: j.onClick,
|
|
3547
|
+
disabled: j.disabled
|
|
3546
3548
|
}))
|
|
3547
3549
|
}
|
|
3548
3550
|
] : p === "searcher" ? [
|
|
@@ -3896,9 +3898,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
3896
3898
|
id: g
|
|
3897
3899
|
}) => {
|
|
3898
3900
|
const [x, v] = z(null), [w, C] = z(null), R = l !== void 0 ? l : x, k = c !== void 0 ? c : w, S = (P) => {
|
|
3899
|
-
let
|
|
3900
|
-
R === P && (k === "asc" ?
|
|
3901
|
-
}, M = (P,
|
|
3901
|
+
let A = "asc";
|
|
3902
|
+
R === P && (k === "asc" ? A = "desc" : k === "desc" && (A = null)), i ? i(P, A) : (v(A ? P : null), C(A));
|
|
3903
|
+
}, M = (P, A) => typeof A == "function" ? A(P) : P[A], D = [
|
|
3902
3904
|
`
|
|
3903
3905
|
flex
|
|
3904
3906
|
flex-col
|
|
@@ -3945,8 +3947,8 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
3945
3947
|
gridTemplateColumns: n.map((P) => P.width || "1fr").join(" ")
|
|
3946
3948
|
},
|
|
3947
3949
|
children: [
|
|
3948
|
-
n.map((P,
|
|
3949
|
-
const _ = typeof P.accessor == "function" ? `column_${
|
|
3950
|
+
n.map((P, A) => {
|
|
3951
|
+
const _ = typeof P.accessor == "function" ? `column_${A}` : String(P.accessor);
|
|
3950
3952
|
return /* @__PURE__ */ t(
|
|
3951
3953
|
ka,
|
|
3952
3954
|
{
|
|
@@ -3959,14 +3961,14 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
3959
3961
|
`header-${_}`
|
|
3960
3962
|
);
|
|
3961
3963
|
}),
|
|
3962
|
-
m && /* @__PURE__ */ t(
|
|
3963
|
-
const
|
|
3964
|
+
m && /* @__PURE__ */ t(ae, { children: Array.from({ length: p }).map((P, A) => n.map((_, I) => {
|
|
3965
|
+
const Y = typeof _.accessor == "function" ? `column_${I}` : String(_.accessor);
|
|
3964
3966
|
return /* @__PURE__ */ t(
|
|
3965
3967
|
Pr,
|
|
3966
3968
|
{
|
|
3967
3969
|
align: _.align,
|
|
3968
3970
|
isStriped: r === "striped",
|
|
3969
|
-
rowIndex:
|
|
3971
|
+
rowIndex: A,
|
|
3970
3972
|
children: /* @__PURE__ */ t(
|
|
3971
3973
|
"div",
|
|
3972
3974
|
{
|
|
@@ -3981,20 +3983,20 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
3981
3983
|
}
|
|
3982
3984
|
)
|
|
3983
3985
|
},
|
|
3984
|
-
`loading-${
|
|
3986
|
+
`loading-${A}-${Y}`
|
|
3985
3987
|
);
|
|
3986
3988
|
})) }),
|
|
3987
|
-
!m && o.length > 0 && /* @__PURE__ */ t(
|
|
3988
|
-
const
|
|
3989
|
+
!m && o.length > 0 && /* @__PURE__ */ t(ae, { children: o.map((P, A) => n.map((_, I) => {
|
|
3990
|
+
const Y = typeof _.accessor == "function" ? `column_${I}` : String(_.accessor), Z = M(P, _.accessor), pe = _.render ? _.render(Z, P, A) : Z;
|
|
3989
3991
|
return /* @__PURE__ */ t(
|
|
3990
3992
|
Pr,
|
|
3991
3993
|
{
|
|
3992
3994
|
align: _.align,
|
|
3993
3995
|
isStriped: r === "striped",
|
|
3994
|
-
rowIndex:
|
|
3995
|
-
children:
|
|
3996
|
+
rowIndex: A,
|
|
3997
|
+
children: pe
|
|
3996
3998
|
},
|
|
3997
|
-
`cell-${
|
|
3999
|
+
`cell-${A}-${Y}`
|
|
3998
4000
|
);
|
|
3999
4001
|
})) }),
|
|
4000
4002
|
!m && o.length === 0 && /* @__PURE__ */ t(
|
|
@@ -4271,7 +4273,7 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4271
4273
|
}
|
|
4272
4274
|
)
|
|
4273
4275
|
}
|
|
4274
|
-
),
|
|
4276
|
+
), yt = () => /* @__PURE__ */ t(
|
|
4275
4277
|
"svg",
|
|
4276
4278
|
{
|
|
4277
4279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4305,7 +4307,7 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4305
4307
|
}
|
|
4306
4308
|
)
|
|
4307
4309
|
}
|
|
4308
|
-
),
|
|
4310
|
+
), $t = ({
|
|
4309
4311
|
logo: e,
|
|
4310
4312
|
productName: n = "Nombre Producto",
|
|
4311
4313
|
environmentBadge: o,
|
|
@@ -4353,7 +4355,7 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4353
4355
|
duration-150
|
|
4354
4356
|
`, k = l === "mobile", S = l === "desktop", M = l === "tablet", E = l === "responsive", y = () => {
|
|
4355
4357
|
if (k || !u) return null;
|
|
4356
|
-
const
|
|
4358
|
+
const B = {
|
|
4357
4359
|
type: "default",
|
|
4358
4360
|
size: "base",
|
|
4359
4361
|
iconOnly: !0,
|
|
@@ -4363,10 +4365,10 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4363
4365
|
...d
|
|
4364
4366
|
// Permite sobrescribir las props por defecto
|
|
4365
4367
|
};
|
|
4366
|
-
return S || M ? /* @__PURE__ */ t(re, {
|
|
4368
|
+
return S || M ? /* @__PURE__ */ t(re, { ...B }) : /* @__PURE__ */ t("div", { className: "hidden md:block", children: /* @__PURE__ */ t(re, { ...B }) });
|
|
4367
4369
|
}, N = () => {
|
|
4368
4370
|
if (k || !h) return null;
|
|
4369
|
-
const
|
|
4371
|
+
const B = /* @__PURE__ */ t(
|
|
4370
4372
|
"img",
|
|
4371
4373
|
{
|
|
4372
4374
|
src: "/,Business Logo.png",
|
|
@@ -4374,9 +4376,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4374
4376
|
className: "w-full h-full object-contain"
|
|
4375
4377
|
}
|
|
4376
4378
|
);
|
|
4377
|
-
return S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[168px] h-[30px]", children:
|
|
4378
|
-
},
|
|
4379
|
-
const
|
|
4379
|
+
return S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[168px] h-[30px]", children: B }) : M ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[140px] h-[25px]", children: B }) : /* @__PURE__ */ t("div", { className: "hidden md:block overflow-hidden relative shrink-0 w-[140px] lg:w-[168px] h-[25px] lg:h-[30px]", children: B });
|
|
4380
|
+
}, j = () => {
|
|
4381
|
+
const B = /* @__PURE__ */ t(
|
|
4380
4382
|
"img",
|
|
4381
4383
|
{
|
|
4382
4384
|
src: "/.Siesa Logo.png",
|
|
@@ -4391,16 +4393,16 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4391
4393
|
className: "w-full h-full object-contain"
|
|
4392
4394
|
}
|
|
4393
4395
|
);
|
|
4394
|
-
return k ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[30px] h-[30px]", children: K }) : b ? S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[120px] h-[30px]", children:
|
|
4396
|
+
return k ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[30px] h-[30px]", children: K }) : b ? S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[120px] h-[30px]", children: B }) : M ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[100px] h-[25px]", children: B }) : /* @__PURE__ */ f(ae, { children: [
|
|
4395
4397
|
/* @__PURE__ */ t("div", { className: "md:hidden overflow-hidden relative shrink-0 w-[30px] h-[30px]", children: K }),
|
|
4396
|
-
b && /* @__PURE__ */ f(
|
|
4397
|
-
/* @__PURE__ */ t("div", { className: "hidden md:block lg:hidden overflow-hidden relative shrink-0 w-[100px] h-[25px]", children:
|
|
4398
|
-
/* @__PURE__ */ t("div", { className: "hidden lg:block overflow-hidden relative shrink-0 w-[120px] h-[30px]", children:
|
|
4398
|
+
b && /* @__PURE__ */ f(ae, { children: [
|
|
4399
|
+
/* @__PURE__ */ t("div", { className: "hidden md:block lg:hidden overflow-hidden relative shrink-0 w-[100px] h-[25px]", children: B }),
|
|
4400
|
+
/* @__PURE__ */ t("div", { className: "hidden lg:block overflow-hidden relative shrink-0 w-[120px] h-[30px]", children: B })
|
|
4399
4401
|
] })
|
|
4400
4402
|
] }) : null;
|
|
4401
4403
|
}, T = () => {
|
|
4402
4404
|
if (!g || k) return null;
|
|
4403
|
-
const
|
|
4405
|
+
const B = /* @__PURE__ */ t(
|
|
4404
4406
|
"img",
|
|
4405
4407
|
{
|
|
4406
4408
|
src: "/.Siesa Logo.png",
|
|
@@ -4408,49 +4410,49 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4408
4410
|
className: "w-full h-full object-contain"
|
|
4409
4411
|
}
|
|
4410
4412
|
);
|
|
4411
|
-
return S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[120px] h-[30px]", children:
|
|
4412
|
-
/* @__PURE__ */ t("div", { className: "hidden md:block lg:hidden overflow-hidden relative shrink-0 w-[100px] h-[25px]", children:
|
|
4413
|
-
/* @__PURE__ */ t("div", { className: "hidden lg:block overflow-hidden relative shrink-0 w-[120px] h-[30px]", children:
|
|
4413
|
+
return S ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[120px] h-[30px]", children: B }) : M ? /* @__PURE__ */ t("div", { className: "overflow-hidden relative shrink-0 w-[100px] h-[25px]", children: B }) : /* @__PURE__ */ f(ae, { children: [
|
|
4414
|
+
/* @__PURE__ */ t("div", { className: "hidden md:block lg:hidden overflow-hidden relative shrink-0 w-[100px] h-[25px]", children: B }),
|
|
4415
|
+
/* @__PURE__ */ t("div", { className: "hidden lg:block overflow-hidden relative shrink-0 w-[120px] h-[30px]", children: B })
|
|
4414
4416
|
] });
|
|
4415
|
-
}, D = ({ responsive:
|
|
4417
|
+
}, D = ({ responsive: B = !0 }) => {
|
|
4416
4418
|
const K = /* @__PURE__ */ t("div", { className: "grow shrink-0 w-px min-h-px bg-border-primary dark:bg-dark-border-primary" });
|
|
4417
|
-
return k ? null : S || M ? /* @__PURE__ */ t("div", { className: "flex flex-col gap-2 h-8 items-start px-0 py-1 relative shrink-0", children: K }) :
|
|
4418
|
-
},
|
|
4419
|
+
return k ? null : S || M ? /* @__PURE__ */ t("div", { className: "flex flex-col gap-2 h-8 items-start px-0 py-1 relative shrink-0", children: K }) : B ? /* @__PURE__ */ t("div", { className: "hidden md:flex flex-col gap-2 h-8 items-start px-0 py-1 relative shrink-0", children: K }) : null;
|
|
4420
|
+
}, U = () => {
|
|
4419
4421
|
if (k || !n) return null;
|
|
4420
|
-
const
|
|
4421
|
-
return S || M ?
|
|
4422
|
+
const B = /* @__PURE__ */ t("p", { className: "font-bold leading-7 text-xl text-content-primary dark:text-dark-content-primary tracking-[-0.5px] whitespace-nowrap", children: n });
|
|
4423
|
+
return S || M ? B : /* @__PURE__ */ t("p", { className: "hidden md:block font-bold leading-7 text-xl text-content-primary dark:text-dark-content-primary tracking-[-0.5px] whitespace-nowrap", children: n });
|
|
4422
4424
|
}, P = () => o ? k ? /* @__PURE__ */ t(
|
|
4423
|
-
|
|
4425
|
+
qe,
|
|
4424
4426
|
{
|
|
4425
4427
|
color: "yellow",
|
|
4426
|
-
leftIcon: /* @__PURE__ */ t(
|
|
4428
|
+
leftIcon: /* @__PURE__ */ t(yt, {}),
|
|
4427
4429
|
label: "Pruebas"
|
|
4428
4430
|
}
|
|
4429
4431
|
) : S || M ? /* @__PURE__ */ t(
|
|
4430
|
-
|
|
4432
|
+
qe,
|
|
4431
4433
|
{
|
|
4432
4434
|
color: "yellow",
|
|
4433
|
-
leftIcon: /* @__PURE__ */ t(
|
|
4435
|
+
leftIcon: /* @__PURE__ */ t(yt, {}),
|
|
4434
4436
|
label: o
|
|
4435
4437
|
}
|
|
4436
|
-
) : /* @__PURE__ */ f(
|
|
4438
|
+
) : /* @__PURE__ */ f(ae, { children: [
|
|
4437
4439
|
/* @__PURE__ */ t("div", { className: "md:hidden", children: /* @__PURE__ */ t(
|
|
4438
|
-
|
|
4440
|
+
qe,
|
|
4439
4441
|
{
|
|
4440
4442
|
color: "yellow",
|
|
4441
|
-
leftIcon: /* @__PURE__ */ t(
|
|
4443
|
+
leftIcon: /* @__PURE__ */ t(yt, {}),
|
|
4442
4444
|
label: "Pruebas"
|
|
4443
4445
|
}
|
|
4444
4446
|
) }),
|
|
4445
4447
|
/* @__PURE__ */ t("div", { className: "hidden md:block", children: /* @__PURE__ */ t(
|
|
4446
|
-
|
|
4448
|
+
qe,
|
|
4447
4449
|
{
|
|
4448
4450
|
color: "yellow",
|
|
4449
|
-
leftIcon: /* @__PURE__ */ t(
|
|
4451
|
+
leftIcon: /* @__PURE__ */ t(yt, {}),
|
|
4450
4452
|
label: o
|
|
4451
4453
|
}
|
|
4452
4454
|
) })
|
|
4453
|
-
] }) : null,
|
|
4455
|
+
] }) : null, A = () => c ? null : k ? /* @__PURE__ */ t(
|
|
4454
4456
|
"button",
|
|
4455
4457
|
{
|
|
4456
4458
|
className: R,
|
|
@@ -4488,9 +4490,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4488
4490
|
}
|
|
4489
4491
|
),
|
|
4490
4492
|
s?.bell && /* @__PURE__ */ t("div", { className: "absolute w-2 h-2 bg-error-content dark:bg-error-content rounded-full left-[calc(50%+4px)] top-[calc(50%-8px)] -translate-x-1/2 pointer-events-none" })
|
|
4491
|
-
] }),
|
|
4493
|
+
] }), Y = () => {
|
|
4492
4494
|
if (!r) return null;
|
|
4493
|
-
const
|
|
4495
|
+
const B = r.menuItems || [
|
|
4494
4496
|
{
|
|
4495
4497
|
children: "Account",
|
|
4496
4498
|
icon: /* @__PURE__ */ t(
|
|
@@ -4592,9 +4594,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4592
4594
|
];
|
|
4593
4595
|
if (k)
|
|
4594
4596
|
return /* @__PURE__ */ t(
|
|
4595
|
-
|
|
4597
|
+
vt,
|
|
4596
4598
|
{
|
|
4597
|
-
items:
|
|
4599
|
+
items: B,
|
|
4598
4600
|
renderTrigger: (ce) => /* @__PURE__ */ t(
|
|
4599
4601
|
"button",
|
|
4600
4602
|
{
|
|
@@ -4634,9 +4636,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4634
4636
|
}
|
|
4635
4637
|
);
|
|
4636
4638
|
const K = () => /* @__PURE__ */ t(
|
|
4637
|
-
|
|
4639
|
+
vt,
|
|
4638
4640
|
{
|
|
4639
|
-
items:
|
|
4641
|
+
items: B,
|
|
4640
4642
|
renderTrigger: (ce) => /* @__PURE__ */ t(
|
|
4641
4643
|
"button",
|
|
4642
4644
|
{
|
|
@@ -4684,11 +4686,11 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4684
4686
|
)
|
|
4685
4687
|
}
|
|
4686
4688
|
);
|
|
4687
|
-
return S || M ? K() : /* @__PURE__ */ f(
|
|
4689
|
+
return S || M ? K() : /* @__PURE__ */ f(ae, { children: [
|
|
4688
4690
|
/* @__PURE__ */ t("div", { className: "md:hidden", children: /* @__PURE__ */ t(
|
|
4689
|
-
|
|
4691
|
+
vt,
|
|
4690
4692
|
{
|
|
4691
|
-
items:
|
|
4693
|
+
items: B,
|
|
4692
4694
|
renderTrigger: (ce) => /* @__PURE__ */ t(
|
|
4693
4695
|
"button",
|
|
4694
4696
|
{
|
|
@@ -4728,9 +4730,9 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4728
4730
|
}
|
|
4729
4731
|
) }),
|
|
4730
4732
|
/* @__PURE__ */ t("div", { className: "hidden md:flex", children: /* @__PURE__ */ t(
|
|
4731
|
-
|
|
4733
|
+
vt,
|
|
4732
4734
|
{
|
|
4733
|
-
items:
|
|
4735
|
+
items: B,
|
|
4734
4736
|
renderTrigger: (ce) => /* @__PURE__ */ t(
|
|
4735
4737
|
"button",
|
|
4736
4738
|
{
|
|
@@ -4801,17 +4803,17 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4801
4803
|
!k && (m || u && /* @__PURE__ */ t(y, {})),
|
|
4802
4804
|
e || /* @__PURE__ */ t(N, {}),
|
|
4803
4805
|
h && b && !k && /* @__PURE__ */ t(D, {}),
|
|
4804
|
-
p || /* @__PURE__ */ t(
|
|
4806
|
+
p || /* @__PURE__ */ t(j, {}),
|
|
4805
4807
|
n && b && !k && /* @__PURE__ */ t(D, {}),
|
|
4806
|
-
/* @__PURE__ */ t(
|
|
4808
|
+
/* @__PURE__ */ t(U, {})
|
|
4807
4809
|
] }),
|
|
4808
4810
|
/* @__PURE__ */ f("div", { className: "flex gap-4 items-center justify-end grow min-h-px min-w-px relative shrink-0", children: [
|
|
4809
4811
|
/* @__PURE__ */ t(P, {}),
|
|
4810
|
-
/* @__PURE__ */ t(
|
|
4812
|
+
/* @__PURE__ */ t(A, {}),
|
|
4811
4813
|
/* @__PURE__ */ t(_, {}),
|
|
4812
4814
|
/* @__PURE__ */ t(I, {}),
|
|
4813
4815
|
r && !c && /* @__PURE__ */ t(D, {}),
|
|
4814
|
-
/* @__PURE__ */ t(
|
|
4816
|
+
/* @__PURE__ */ t(Y, {}),
|
|
4815
4817
|
g && r && !k && /* @__PURE__ */ t(D, {}),
|
|
4816
4818
|
/* @__PURE__ */ t(T, {}),
|
|
4817
4819
|
a && /* @__PURE__ */ t("div", { className: "flex gap-2 items-center", children: a })
|
|
@@ -4948,7 +4950,7 @@ const ba = () => /* @__PURE__ */ t(
|
|
|
4948
4950
|
)
|
|
4949
4951
|
]
|
|
4950
4952
|
}
|
|
4951
|
-
),
|
|
4953
|
+
), kt = ({
|
|
4952
4954
|
status: e = "available",
|
|
4953
4955
|
className: n = ""
|
|
4954
4956
|
}) => {
|
|
@@ -5995,7 +5997,7 @@ const Zr = ({
|
|
|
5995
5997
|
children: [
|
|
5996
5998
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-[4px] items-center justify-center w-[134px] h-[134px] shrink-0", children: [
|
|
5997
5999
|
a && (r === 2 || r === 4 || r === 6 || r === 8) && /* @__PURE__ */ f("div", { className: "flex gap-[4px] items-center justify-center shrink-0", children: [
|
|
5998
|
-
r >= 6 && /* @__PURE__ */ f(
|
|
6000
|
+
r >= 6 && /* @__PURE__ */ f(ae, { children: [
|
|
5999
6001
|
/* @__PURE__ */ t(p, { rotation: 0 }),
|
|
6000
6002
|
/* @__PURE__ */ t(p, { rotation: 0 })
|
|
6001
6003
|
] }),
|
|
@@ -6004,7 +6006,7 @@ const Zr = ({
|
|
|
6004
6006
|
] }),
|
|
6005
6007
|
/* @__PURE__ */ f("div", { className: "flex gap-[4px] items-center justify-center shrink-0", children: [
|
|
6006
6008
|
a && (r === 4 || r === 6 || r === 8) && /* @__PURE__ */ f("div", { className: "flex flex-col gap-[4px] items-start justify-center shrink-0", children: [
|
|
6007
|
-
r >= 8 && /* @__PURE__ */ f(
|
|
6009
|
+
r >= 8 && /* @__PURE__ */ f(ae, { children: [
|
|
6008
6010
|
/* @__PURE__ */ t(p, { rotation: 270 }),
|
|
6009
6011
|
/* @__PURE__ */ t(p, { rotation: 270 })
|
|
6010
6012
|
] }),
|
|
@@ -6022,7 +6024,7 @@ const Zr = ({
|
|
|
6022
6024
|
}
|
|
6023
6025
|
) }) }),
|
|
6024
6026
|
a && (r === 4 || r === 6 || r === 8) && /* @__PURE__ */ f("div", { className: "flex flex-col gap-[4px] items-start justify-center shrink-0", children: [
|
|
6025
|
-
r >= 8 && /* @__PURE__ */ f(
|
|
6027
|
+
r >= 8 && /* @__PURE__ */ f(ae, { children: [
|
|
6026
6028
|
/* @__PURE__ */ t(p, { rotation: 90 }),
|
|
6027
6029
|
/* @__PURE__ */ t(p, { rotation: 90 })
|
|
6028
6030
|
] }),
|
|
@@ -6030,7 +6032,7 @@ const Zr = ({
|
|
|
6030
6032
|
] })
|
|
6031
6033
|
] }),
|
|
6032
6034
|
a && (r === 2 || r === 4 || r === 6 || r === 8) && /* @__PURE__ */ f("div", { className: "flex gap-[4px] items-center justify-center shrink-0", children: [
|
|
6033
|
-
r >= 6 && /* @__PURE__ */ f(
|
|
6035
|
+
r >= 6 && /* @__PURE__ */ f(ae, { children: [
|
|
6034
6036
|
/* @__PURE__ */ t(p, { rotation: 180 }),
|
|
6035
6037
|
/* @__PURE__ */ t(p, { rotation: 180 })
|
|
6036
6038
|
] }),
|
|
@@ -7073,7 +7075,7 @@ const Ya = fe(
|
|
|
7073
7075
|
]
|
|
7074
7076
|
)
|
|
7075
7077
|
);
|
|
7076
|
-
const
|
|
7078
|
+
const Ot = (e, n) => {
|
|
7077
7079
|
const o = fe(
|
|
7078
7080
|
({ className: r, ...a }, s) => sr(Ya, {
|
|
7079
7081
|
ref: s,
|
|
@@ -7088,16 +7090,16 @@ const Bt = (e, n) => {
|
|
|
7088
7090
|
);
|
|
7089
7091
|
return o.displayName = Hr(e), o;
|
|
7090
7092
|
};
|
|
7091
|
-
const Qa = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ja =
|
|
7092
|
-
const es = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Wr =
|
|
7093
|
+
const Qa = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ja = Ot("chevron-down", Qa);
|
|
7094
|
+
const es = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Wr = Ot("loader-circle", es);
|
|
7093
7095
|
const ts = [
|
|
7094
7096
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
7095
7097
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
7096
|
-
], rs =
|
|
7098
|
+
], rs = Ot("search", ts);
|
|
7097
7099
|
const ns = [
|
|
7098
7100
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
7099
7101
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
7100
|
-
], $n =
|
|
7102
|
+
], $n = Ot("x", ns);
|
|
7101
7103
|
function On(e) {
|
|
7102
7104
|
var n, o, r = "";
|
|
7103
7105
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -7125,7 +7127,7 @@ const as = (e, n) => {
|
|
|
7125
7127
|
nextPart: e,
|
|
7126
7128
|
validators: n,
|
|
7127
7129
|
classGroupId: o
|
|
7128
|
-
}),
|
|
7130
|
+
}), It = "-", Ur = [], is = "arbitrary..", ls = (e) => {
|
|
7129
7131
|
const n = ds(e), {
|
|
7130
7132
|
conflictingClassGroups: o,
|
|
7131
7133
|
conflictingClassGroupModifiers: r
|
|
@@ -7134,7 +7136,7 @@ const as = (e, n) => {
|
|
|
7134
7136
|
getClassGroupId: (i) => {
|
|
7135
7137
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
7136
7138
|
return cs(i);
|
|
7137
|
-
const l = i.split(
|
|
7139
|
+
const l = i.split(It), c = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
7138
7140
|
return zn(l, c, n);
|
|
7139
7141
|
},
|
|
7140
7142
|
getConflictingClassGroupIds: (i, l) => {
|
|
@@ -7156,7 +7158,7 @@ const as = (e, n) => {
|
|
|
7156
7158
|
const i = o.validators;
|
|
7157
7159
|
if (i === null)
|
|
7158
7160
|
return;
|
|
7159
|
-
const l = n === 0 ? e.join(
|
|
7161
|
+
const l = n === 0 ? e.join(It) : e.slice(n).join(It), c = i.length;
|
|
7160
7162
|
for (let u = 0; u < c; u++) {
|
|
7161
7163
|
const d = i[u];
|
|
7162
7164
|
if (d.validator(l))
|
|
@@ -7211,7 +7213,7 @@ const as = (e, n) => {
|
|
|
7211
7213
|
}
|
|
7212
7214
|
}, Tn = (e, n) => {
|
|
7213
7215
|
let o = e;
|
|
7214
|
-
const r = n.split(
|
|
7216
|
+
const r = n.split(It), a = r.length;
|
|
7215
7217
|
for (let s = 0; s < a; s++) {
|
|
7216
7218
|
const i = r[s];
|
|
7217
7219
|
let l = o.nextPart.get(i);
|
|
@@ -7385,15 +7387,15 @@ const as = (e, n) => {
|
|
|
7385
7387
|
}, Rs = [], ne = (e) => {
|
|
7386
7388
|
const n = (o) => o[e] || Rs;
|
|
7387
7389
|
return n.isThemeGetter = !0, n;
|
|
7388
|
-
}, Dn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Is = /^\d+\/\d+$/, Es = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, js = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, As = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ms = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ls = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,
|
|
7390
|
+
}, Dn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Is = /^\d+\/\d+$/, Es = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, js = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, As = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ms = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ls = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ue = (e) => Is.test(e), W = (e) => !!e && !Number.isNaN(Number(e)), Le = (e) => !!e && Number.isInteger(Number(e)), er = (e) => e.endsWith("%") && W(e.slice(0, -1)), Ee = (e) => Es.test(e), $s = () => !0, Os = (e) => (
|
|
7389
7391
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
7390
7392
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
7391
7393
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
7392
7394
|
js.test(e) && !As.test(e)
|
|
7393
|
-
), Vn = () => !1, Bs = (e) => Ms.test(e), zs = (e) => Ls.test(e), Ts = (e) =>
|
|
7395
|
+
), Vn = () => !1, Bs = (e) => Ms.test(e), zs = (e) => Ls.test(e), Ts = (e) => !$(e) && !O(e), _s = (e) => Je(e, Hn, Vn), $ = (e) => Dn.test(e), Te = (e) => Je(e, Wn, Os), tr = (e) => Je(e, Zs, W), Kr = (e) => Je(e, Fn, Vn), Ds = (e) => Je(e, Zn, zs), wt = (e) => Je(e, Un, Bs), O = (e) => Pn.test(e), at = (e) => et(e, Wn), Ps = (e) => et(e, Hs), Xr = (e) => et(e, Fn), Vs = (e) => et(e, Hn), Fs = (e) => et(e, Zn), Nt = (e) => et(e, Un, !0), Je = (e, n, o) => {
|
|
7394
7396
|
const r = Dn.exec(e);
|
|
7395
7397
|
return r ? r[1] ? n(r[1]) : o(r[2]) : !1;
|
|
7396
|
-
},
|
|
7398
|
+
}, et = (e, n, o = !1) => {
|
|
7397
7399
|
const r = Pn.exec(e);
|
|
7398
7400
|
return r ? r[1] ? n(r[1]) : o : !1;
|
|
7399
7401
|
}, Fn = (e) => e === "position" || e === "percentage", Zn = (e) => e === "image" || e === "url", Hn = (e) => e === "length" || e === "size" || e === "bg-size", Wn = (e) => e === "length", Zs = (e) => e === "number", Hs = (e) => e === "family-name", Un = (e) => e === "shadow", Ws = () => {
|
|
@@ -7415,51 +7417,51 @@ const as = (e, n) => {
|
|
|
7415
7417
|
"bottom-left",
|
|
7416
7418
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
7417
7419
|
"left-bottom"
|
|
7418
|
-
], k = () => [...R(),
|
|
7419
|
-
span: ["full",
|
|
7420
|
-
},
|
|
7421
|
-
position: [
|
|
7420
|
+
], k = () => [...R(), O, $], S = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], E = () => [O, $, c], y = () => [Ue, "full", "auto", ...E()], N = () => [Le, "none", "subgrid", O, $], j = () => ["auto", {
|
|
7421
|
+
span: ["full", Le, O, $]
|
|
7422
|
+
}, Le, O, $], T = () => [Le, "auto", O, $], D = () => ["auto", "min", "max", "fr", O, $], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], P = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...E()], _ = () => [Ue, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], I = () => [e, O, $], Y = () => [...R(), Xr, Kr, {
|
|
7423
|
+
position: [O, $]
|
|
7422
7424
|
}], Z = () => ["no-repeat", {
|
|
7423
7425
|
repeat: ["", "x", "y", "space", "round"]
|
|
7424
|
-
}],
|
|
7425
|
-
size: [
|
|
7426
|
-
}], H = () => [er,
|
|
7426
|
+
}], pe = () => ["auto", "cover", "contain", Vs, _s, {
|
|
7427
|
+
size: [O, $]
|
|
7428
|
+
}], H = () => [er, at, Te], B = () => [
|
|
7427
7429
|
// Deprecated since Tailwind CSS v4.0.0
|
|
7428
7430
|
"",
|
|
7429
7431
|
"none",
|
|
7430
7432
|
"full",
|
|
7431
7433
|
u,
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
], K = () => ["",
|
|
7434
|
+
O,
|
|
7435
|
+
$
|
|
7436
|
+
], K = () => ["", W, at, Te], ce = () => ["solid", "dashed", "dotted", "double"], Fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => [W, er, Xr, Kr], Be = () => [
|
|
7435
7437
|
// Deprecated since Tailwind CSS v4.0.0
|
|
7436
7438
|
"",
|
|
7437
7439
|
"none",
|
|
7438
7440
|
b,
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
], oe = () => ["none",
|
|
7441
|
+
O,
|
|
7442
|
+
$
|
|
7443
|
+
], oe = () => ["none", W, O, $], be = () => ["none", W, O, $], de = () => [W, O, $], se = () => [Ue, "full", ...E()];
|
|
7442
7444
|
return {
|
|
7443
7445
|
cacheSize: 500,
|
|
7444
7446
|
theme: {
|
|
7445
7447
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
7446
7448
|
aspect: ["video"],
|
|
7447
|
-
blur: [
|
|
7448
|
-
breakpoint: [
|
|
7449
|
+
blur: [Ee],
|
|
7450
|
+
breakpoint: [Ee],
|
|
7449
7451
|
color: [$s],
|
|
7450
|
-
container: [
|
|
7451
|
-
"drop-shadow": [
|
|
7452
|
+
container: [Ee],
|
|
7453
|
+
"drop-shadow": [Ee],
|
|
7452
7454
|
ease: ["in", "out", "in-out"],
|
|
7453
7455
|
font: [Ts],
|
|
7454
7456
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
7455
|
-
"inset-shadow": [
|
|
7457
|
+
"inset-shadow": [Ee],
|
|
7456
7458
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
7457
7459
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
7458
|
-
radius: [
|
|
7459
|
-
shadow: [
|
|
7460
|
-
spacing: ["px",
|
|
7461
|
-
text: [
|
|
7462
|
-
"text-shadow": [
|
|
7460
|
+
radius: [Ee],
|
|
7461
|
+
shadow: [Ee],
|
|
7462
|
+
spacing: ["px", W],
|
|
7463
|
+
text: [Ee],
|
|
7464
|
+
"text-shadow": [Ee],
|
|
7463
7465
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
7464
7466
|
},
|
|
7465
7467
|
classGroups: {
|
|
@@ -7471,7 +7473,7 @@ const as = (e, n) => {
|
|
|
7471
7473
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
7472
7474
|
*/
|
|
7473
7475
|
aspect: [{
|
|
7474
|
-
aspect: ["auto", "square",
|
|
7476
|
+
aspect: ["auto", "square", Ue, $, O, x]
|
|
7475
7477
|
}],
|
|
7476
7478
|
/**
|
|
7477
7479
|
* Container
|
|
@@ -7484,7 +7486,7 @@ const as = (e, n) => {
|
|
|
7484
7486
|
* @see https://tailwindcss.com/docs/columns
|
|
7485
7487
|
*/
|
|
7486
7488
|
columns: [{
|
|
7487
|
-
columns: [
|
|
7489
|
+
columns: [W, $, O, l]
|
|
7488
7490
|
}],
|
|
7489
7491
|
/**
|
|
7490
7492
|
* Break After
|
|
@@ -7684,7 +7686,7 @@ const as = (e, n) => {
|
|
|
7684
7686
|
* @see https://tailwindcss.com/docs/z-index
|
|
7685
7687
|
*/
|
|
7686
7688
|
z: [{
|
|
7687
|
-
z: [
|
|
7689
|
+
z: [Le, "auto", O, $]
|
|
7688
7690
|
}],
|
|
7689
7691
|
// ------------------------
|
|
7690
7692
|
// --- Flexbox and Grid ---
|
|
@@ -7694,7 +7696,7 @@ const as = (e, n) => {
|
|
|
7694
7696
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
7695
7697
|
*/
|
|
7696
7698
|
basis: [{
|
|
7697
|
-
basis: [
|
|
7699
|
+
basis: [Ue, "full", "auto", l, ...E()]
|
|
7698
7700
|
}],
|
|
7699
7701
|
/**
|
|
7700
7702
|
* Flex Direction
|
|
@@ -7715,28 +7717,28 @@ const as = (e, n) => {
|
|
|
7715
7717
|
* @see https://tailwindcss.com/docs/flex
|
|
7716
7718
|
*/
|
|
7717
7719
|
flex: [{
|
|
7718
|
-
flex: [
|
|
7720
|
+
flex: [W, Ue, "auto", "initial", "none", $]
|
|
7719
7721
|
}],
|
|
7720
7722
|
/**
|
|
7721
7723
|
* Flex Grow
|
|
7722
7724
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
7723
7725
|
*/
|
|
7724
7726
|
grow: [{
|
|
7725
|
-
grow: ["",
|
|
7727
|
+
grow: ["", W, O, $]
|
|
7726
7728
|
}],
|
|
7727
7729
|
/**
|
|
7728
7730
|
* Flex Shrink
|
|
7729
7731
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
7730
7732
|
*/
|
|
7731
7733
|
shrink: [{
|
|
7732
|
-
shrink: ["",
|
|
7734
|
+
shrink: ["", W, O, $]
|
|
7733
7735
|
}],
|
|
7734
7736
|
/**
|
|
7735
7737
|
* Order
|
|
7736
7738
|
* @see https://tailwindcss.com/docs/order
|
|
7737
7739
|
*/
|
|
7738
7740
|
order: [{
|
|
7739
|
-
order: [
|
|
7741
|
+
order: [Le, "first", "last", "none", O, $]
|
|
7740
7742
|
}],
|
|
7741
7743
|
/**
|
|
7742
7744
|
* Grid Template Columns
|
|
@@ -7750,7 +7752,7 @@ const as = (e, n) => {
|
|
|
7750
7752
|
* @see https://tailwindcss.com/docs/grid-column
|
|
7751
7753
|
*/
|
|
7752
7754
|
"col-start-end": [{
|
|
7753
|
-
col:
|
|
7755
|
+
col: j()
|
|
7754
7756
|
}],
|
|
7755
7757
|
/**
|
|
7756
7758
|
* Grid Column Start
|
|
@@ -7778,7 +7780,7 @@ const as = (e, n) => {
|
|
|
7778
7780
|
* @see https://tailwindcss.com/docs/grid-row
|
|
7779
7781
|
*/
|
|
7780
7782
|
"row-start-end": [{
|
|
7781
|
-
row:
|
|
7783
|
+
row: j()
|
|
7782
7784
|
}],
|
|
7783
7785
|
/**
|
|
7784
7786
|
* Grid Row Start
|
|
@@ -7841,7 +7843,7 @@ const as = (e, n) => {
|
|
|
7841
7843
|
* @see https://tailwindcss.com/docs/justify-content
|
|
7842
7844
|
*/
|
|
7843
7845
|
"justify-content": [{
|
|
7844
|
-
justify: [...
|
|
7846
|
+
justify: [...U(), "normal"]
|
|
7845
7847
|
}],
|
|
7846
7848
|
/**
|
|
7847
7849
|
* Justify Items
|
|
@@ -7862,7 +7864,7 @@ const as = (e, n) => {
|
|
|
7862
7864
|
* @see https://tailwindcss.com/docs/align-content
|
|
7863
7865
|
*/
|
|
7864
7866
|
"align-content": [{
|
|
7865
|
-
content: ["normal", ...
|
|
7867
|
+
content: ["normal", ...U()]
|
|
7866
7868
|
}],
|
|
7867
7869
|
/**
|
|
7868
7870
|
* Align Items
|
|
@@ -7887,7 +7889,7 @@ const as = (e, n) => {
|
|
|
7887
7889
|
* @see https://tailwindcss.com/docs/place-content
|
|
7888
7890
|
*/
|
|
7889
7891
|
"place-content": [{
|
|
7890
|
-
"place-content":
|
|
7892
|
+
"place-content": U()
|
|
7891
7893
|
}],
|
|
7892
7894
|
/**
|
|
7893
7895
|
* Place Items
|
|
@@ -7972,63 +7974,63 @@ const as = (e, n) => {
|
|
|
7972
7974
|
* @see https://tailwindcss.com/docs/margin
|
|
7973
7975
|
*/
|
|
7974
7976
|
m: [{
|
|
7975
|
-
m:
|
|
7977
|
+
m: A()
|
|
7976
7978
|
}],
|
|
7977
7979
|
/**
|
|
7978
7980
|
* Margin X
|
|
7979
7981
|
* @see https://tailwindcss.com/docs/margin
|
|
7980
7982
|
*/
|
|
7981
7983
|
mx: [{
|
|
7982
|
-
mx:
|
|
7984
|
+
mx: A()
|
|
7983
7985
|
}],
|
|
7984
7986
|
/**
|
|
7985
7987
|
* Margin Y
|
|
7986
7988
|
* @see https://tailwindcss.com/docs/margin
|
|
7987
7989
|
*/
|
|
7988
7990
|
my: [{
|
|
7989
|
-
my:
|
|
7991
|
+
my: A()
|
|
7990
7992
|
}],
|
|
7991
7993
|
/**
|
|
7992
7994
|
* Margin Start
|
|
7993
7995
|
* @see https://tailwindcss.com/docs/margin
|
|
7994
7996
|
*/
|
|
7995
7997
|
ms: [{
|
|
7996
|
-
ms:
|
|
7998
|
+
ms: A()
|
|
7997
7999
|
}],
|
|
7998
8000
|
/**
|
|
7999
8001
|
* Margin End
|
|
8000
8002
|
* @see https://tailwindcss.com/docs/margin
|
|
8001
8003
|
*/
|
|
8002
8004
|
me: [{
|
|
8003
|
-
me:
|
|
8005
|
+
me: A()
|
|
8004
8006
|
}],
|
|
8005
8007
|
/**
|
|
8006
8008
|
* Margin Top
|
|
8007
8009
|
* @see https://tailwindcss.com/docs/margin
|
|
8008
8010
|
*/
|
|
8009
8011
|
mt: [{
|
|
8010
|
-
mt:
|
|
8012
|
+
mt: A()
|
|
8011
8013
|
}],
|
|
8012
8014
|
/**
|
|
8013
8015
|
* Margin Right
|
|
8014
8016
|
* @see https://tailwindcss.com/docs/margin
|
|
8015
8017
|
*/
|
|
8016
8018
|
mr: [{
|
|
8017
|
-
mr:
|
|
8019
|
+
mr: A()
|
|
8018
8020
|
}],
|
|
8019
8021
|
/**
|
|
8020
8022
|
* Margin Bottom
|
|
8021
8023
|
* @see https://tailwindcss.com/docs/margin
|
|
8022
8024
|
*/
|
|
8023
8025
|
mb: [{
|
|
8024
|
-
mb:
|
|
8026
|
+
mb: A()
|
|
8025
8027
|
}],
|
|
8026
8028
|
/**
|
|
8027
8029
|
* Margin Left
|
|
8028
8030
|
* @see https://tailwindcss.com/docs/margin
|
|
8029
8031
|
*/
|
|
8030
8032
|
ml: [{
|
|
8031
|
-
ml:
|
|
8033
|
+
ml: A()
|
|
8032
8034
|
}],
|
|
8033
8035
|
/**
|
|
8034
8036
|
* Space Between X
|
|
@@ -8131,7 +8133,7 @@ const as = (e, n) => {
|
|
|
8131
8133
|
* @see https://tailwindcss.com/docs/font-size
|
|
8132
8134
|
*/
|
|
8133
8135
|
"font-size": [{
|
|
8134
|
-
text: ["base", o,
|
|
8136
|
+
text: ["base", o, at, Te]
|
|
8135
8137
|
}],
|
|
8136
8138
|
/**
|
|
8137
8139
|
* Font Smoothing
|
|
@@ -8148,21 +8150,21 @@ const as = (e, n) => {
|
|
|
8148
8150
|
* @see https://tailwindcss.com/docs/font-weight
|
|
8149
8151
|
*/
|
|
8150
8152
|
"font-weight": [{
|
|
8151
|
-
font: [r,
|
|
8153
|
+
font: [r, O, tr]
|
|
8152
8154
|
}],
|
|
8153
8155
|
/**
|
|
8154
8156
|
* Font Stretch
|
|
8155
8157
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
8156
8158
|
*/
|
|
8157
8159
|
"font-stretch": [{
|
|
8158
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", er,
|
|
8160
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", er, $]
|
|
8159
8161
|
}],
|
|
8160
8162
|
/**
|
|
8161
8163
|
* Font Family
|
|
8162
8164
|
* @see https://tailwindcss.com/docs/font-family
|
|
8163
8165
|
*/
|
|
8164
8166
|
"font-family": [{
|
|
8165
|
-
font: [Ps,
|
|
8167
|
+
font: [Ps, $, n]
|
|
8166
8168
|
}],
|
|
8167
8169
|
/**
|
|
8168
8170
|
* Font Variant Numeric
|
|
@@ -8199,14 +8201,14 @@ const as = (e, n) => {
|
|
|
8199
8201
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
8200
8202
|
*/
|
|
8201
8203
|
tracking: [{
|
|
8202
|
-
tracking: [a,
|
|
8204
|
+
tracking: [a, O, $]
|
|
8203
8205
|
}],
|
|
8204
8206
|
/**
|
|
8205
8207
|
* Line Clamp
|
|
8206
8208
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
8207
8209
|
*/
|
|
8208
8210
|
"line-clamp": [{
|
|
8209
|
-
"line-clamp": [
|
|
8211
|
+
"line-clamp": [W, "none", O, tr]
|
|
8210
8212
|
}],
|
|
8211
8213
|
/**
|
|
8212
8214
|
* Line Height
|
|
@@ -8224,7 +8226,7 @@ const as = (e, n) => {
|
|
|
8224
8226
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
8225
8227
|
*/
|
|
8226
8228
|
"list-image": [{
|
|
8227
|
-
"list-image": ["none",
|
|
8229
|
+
"list-image": ["none", O, $]
|
|
8228
8230
|
}],
|
|
8229
8231
|
/**
|
|
8230
8232
|
* List Style Position
|
|
@@ -8238,7 +8240,7 @@ const as = (e, n) => {
|
|
|
8238
8240
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
8239
8241
|
*/
|
|
8240
8242
|
"list-style-type": [{
|
|
8241
|
-
list: ["disc", "decimal", "none",
|
|
8243
|
+
list: ["disc", "decimal", "none", O, $]
|
|
8242
8244
|
}],
|
|
8243
8245
|
/**
|
|
8244
8246
|
* Text Alignment
|
|
@@ -8279,7 +8281,7 @@ const as = (e, n) => {
|
|
|
8279
8281
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
8280
8282
|
*/
|
|
8281
8283
|
"text-decoration-thickness": [{
|
|
8282
|
-
decoration: [
|
|
8284
|
+
decoration: [W, "from-font", "auto", O, Te]
|
|
8283
8285
|
}],
|
|
8284
8286
|
/**
|
|
8285
8287
|
* Text Decoration Color
|
|
@@ -8293,7 +8295,7 @@ const as = (e, n) => {
|
|
|
8293
8295
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
8294
8296
|
*/
|
|
8295
8297
|
"underline-offset": [{
|
|
8296
|
-
"underline-offset": [
|
|
8298
|
+
"underline-offset": [W, "auto", O, $]
|
|
8297
8299
|
}],
|
|
8298
8300
|
/**
|
|
8299
8301
|
* Text Transform
|
|
@@ -8324,7 +8326,7 @@ const as = (e, n) => {
|
|
|
8324
8326
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
8325
8327
|
*/
|
|
8326
8328
|
"vertical-align": [{
|
|
8327
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
8329
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", O, $]
|
|
8328
8330
|
}],
|
|
8329
8331
|
/**
|
|
8330
8332
|
* Whitespace
|
|
@@ -8359,7 +8361,7 @@ const as = (e, n) => {
|
|
|
8359
8361
|
* @see https://tailwindcss.com/docs/content
|
|
8360
8362
|
*/
|
|
8361
8363
|
content: [{
|
|
8362
|
-
content: ["none",
|
|
8364
|
+
content: ["none", O, $]
|
|
8363
8365
|
}],
|
|
8364
8366
|
// -------------------
|
|
8365
8367
|
// --- Backgrounds ---
|
|
@@ -8390,7 +8392,7 @@ const as = (e, n) => {
|
|
|
8390
8392
|
* @see https://tailwindcss.com/docs/background-position
|
|
8391
8393
|
*/
|
|
8392
8394
|
"bg-position": [{
|
|
8393
|
-
bg:
|
|
8395
|
+
bg: Y()
|
|
8394
8396
|
}],
|
|
8395
8397
|
/**
|
|
8396
8398
|
* Background Repeat
|
|
@@ -8404,7 +8406,7 @@ const as = (e, n) => {
|
|
|
8404
8406
|
* @see https://tailwindcss.com/docs/background-size
|
|
8405
8407
|
*/
|
|
8406
8408
|
"bg-size": [{
|
|
8407
|
-
bg:
|
|
8409
|
+
bg: pe()
|
|
8408
8410
|
}],
|
|
8409
8411
|
/**
|
|
8410
8412
|
* Background Image
|
|
@@ -8414,9 +8416,9 @@ const as = (e, n) => {
|
|
|
8414
8416
|
bg: ["none", {
|
|
8415
8417
|
linear: [{
|
|
8416
8418
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
8417
|
-
},
|
|
8418
|
-
radial: ["",
|
|
8419
|
-
conic: [
|
|
8419
|
+
}, Le, O, $],
|
|
8420
|
+
radial: ["", O, $],
|
|
8421
|
+
conic: [Le, O, $]
|
|
8420
8422
|
}, Fs, Ds]
|
|
8421
8423
|
}],
|
|
8422
8424
|
/**
|
|
@@ -8476,105 +8478,105 @@ const as = (e, n) => {
|
|
|
8476
8478
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8477
8479
|
*/
|
|
8478
8480
|
rounded: [{
|
|
8479
|
-
rounded:
|
|
8481
|
+
rounded: B()
|
|
8480
8482
|
}],
|
|
8481
8483
|
/**
|
|
8482
8484
|
* Border Radius Start
|
|
8483
8485
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8484
8486
|
*/
|
|
8485
8487
|
"rounded-s": [{
|
|
8486
|
-
"rounded-s":
|
|
8488
|
+
"rounded-s": B()
|
|
8487
8489
|
}],
|
|
8488
8490
|
/**
|
|
8489
8491
|
* Border Radius End
|
|
8490
8492
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8491
8493
|
*/
|
|
8492
8494
|
"rounded-e": [{
|
|
8493
|
-
"rounded-e":
|
|
8495
|
+
"rounded-e": B()
|
|
8494
8496
|
}],
|
|
8495
8497
|
/**
|
|
8496
8498
|
* Border Radius Top
|
|
8497
8499
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8498
8500
|
*/
|
|
8499
8501
|
"rounded-t": [{
|
|
8500
|
-
"rounded-t":
|
|
8502
|
+
"rounded-t": B()
|
|
8501
8503
|
}],
|
|
8502
8504
|
/**
|
|
8503
8505
|
* Border Radius Right
|
|
8504
8506
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8505
8507
|
*/
|
|
8506
8508
|
"rounded-r": [{
|
|
8507
|
-
"rounded-r":
|
|
8509
|
+
"rounded-r": B()
|
|
8508
8510
|
}],
|
|
8509
8511
|
/**
|
|
8510
8512
|
* Border Radius Bottom
|
|
8511
8513
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8512
8514
|
*/
|
|
8513
8515
|
"rounded-b": [{
|
|
8514
|
-
"rounded-b":
|
|
8516
|
+
"rounded-b": B()
|
|
8515
8517
|
}],
|
|
8516
8518
|
/**
|
|
8517
8519
|
* Border Radius Left
|
|
8518
8520
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8519
8521
|
*/
|
|
8520
8522
|
"rounded-l": [{
|
|
8521
|
-
"rounded-l":
|
|
8523
|
+
"rounded-l": B()
|
|
8522
8524
|
}],
|
|
8523
8525
|
/**
|
|
8524
8526
|
* Border Radius Start Start
|
|
8525
8527
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8526
8528
|
*/
|
|
8527
8529
|
"rounded-ss": [{
|
|
8528
|
-
"rounded-ss":
|
|
8530
|
+
"rounded-ss": B()
|
|
8529
8531
|
}],
|
|
8530
8532
|
/**
|
|
8531
8533
|
* Border Radius Start End
|
|
8532
8534
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8533
8535
|
*/
|
|
8534
8536
|
"rounded-se": [{
|
|
8535
|
-
"rounded-se":
|
|
8537
|
+
"rounded-se": B()
|
|
8536
8538
|
}],
|
|
8537
8539
|
/**
|
|
8538
8540
|
* Border Radius End End
|
|
8539
8541
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8540
8542
|
*/
|
|
8541
8543
|
"rounded-ee": [{
|
|
8542
|
-
"rounded-ee":
|
|
8544
|
+
"rounded-ee": B()
|
|
8543
8545
|
}],
|
|
8544
8546
|
/**
|
|
8545
8547
|
* Border Radius End Start
|
|
8546
8548
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8547
8549
|
*/
|
|
8548
8550
|
"rounded-es": [{
|
|
8549
|
-
"rounded-es":
|
|
8551
|
+
"rounded-es": B()
|
|
8550
8552
|
}],
|
|
8551
8553
|
/**
|
|
8552
8554
|
* Border Radius Top Left
|
|
8553
8555
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8554
8556
|
*/
|
|
8555
8557
|
"rounded-tl": [{
|
|
8556
|
-
"rounded-tl":
|
|
8558
|
+
"rounded-tl": B()
|
|
8557
8559
|
}],
|
|
8558
8560
|
/**
|
|
8559
8561
|
* Border Radius Top Right
|
|
8560
8562
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8561
8563
|
*/
|
|
8562
8564
|
"rounded-tr": [{
|
|
8563
|
-
"rounded-tr":
|
|
8565
|
+
"rounded-tr": B()
|
|
8564
8566
|
}],
|
|
8565
8567
|
/**
|
|
8566
8568
|
* Border Radius Bottom Right
|
|
8567
8569
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8568
8570
|
*/
|
|
8569
8571
|
"rounded-br": [{
|
|
8570
|
-
"rounded-br":
|
|
8572
|
+
"rounded-br": B()
|
|
8571
8573
|
}],
|
|
8572
8574
|
/**
|
|
8573
8575
|
* Border Radius Bottom Left
|
|
8574
8576
|
* @see https://tailwindcss.com/docs/border-radius
|
|
8575
8577
|
*/
|
|
8576
8578
|
"rounded-bl": [{
|
|
8577
|
-
"rounded-bl":
|
|
8579
|
+
"rounded-bl": B()
|
|
8578
8580
|
}],
|
|
8579
8581
|
/**
|
|
8580
8582
|
* Border Width
|
|
@@ -8759,14 +8761,14 @@ const as = (e, n) => {
|
|
|
8759
8761
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
8760
8762
|
*/
|
|
8761
8763
|
"outline-offset": [{
|
|
8762
|
-
"outline-offset": [
|
|
8764
|
+
"outline-offset": [W, O, $]
|
|
8763
8765
|
}],
|
|
8764
8766
|
/**
|
|
8765
8767
|
* Outline Width
|
|
8766
8768
|
* @see https://tailwindcss.com/docs/outline-width
|
|
8767
8769
|
*/
|
|
8768
8770
|
"outline-w": [{
|
|
8769
|
-
outline: ["",
|
|
8771
|
+
outline: ["", W, at, Te]
|
|
8770
8772
|
}],
|
|
8771
8773
|
/**
|
|
8772
8774
|
* Outline Color
|
|
@@ -8788,8 +8790,8 @@ const as = (e, n) => {
|
|
|
8788
8790
|
"",
|
|
8789
8791
|
"none",
|
|
8790
8792
|
d,
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
+
Nt,
|
|
8794
|
+
wt
|
|
8793
8795
|
]
|
|
8794
8796
|
}],
|
|
8795
8797
|
/**
|
|
@@ -8804,7 +8806,7 @@ const as = (e, n) => {
|
|
|
8804
8806
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
8805
8807
|
*/
|
|
8806
8808
|
"inset-shadow": [{
|
|
8807
|
-
"inset-shadow": ["none", m,
|
|
8809
|
+
"inset-shadow": ["none", m, Nt, wt]
|
|
8808
8810
|
}],
|
|
8809
8811
|
/**
|
|
8810
8812
|
* Inset Box Shadow Color
|
|
@@ -8841,7 +8843,7 @@ const as = (e, n) => {
|
|
|
8841
8843
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
8842
8844
|
*/
|
|
8843
8845
|
"ring-offset-w": [{
|
|
8844
|
-
"ring-offset": [
|
|
8846
|
+
"ring-offset": [W, Te]
|
|
8845
8847
|
}],
|
|
8846
8848
|
/**
|
|
8847
8849
|
* Ring Offset Color
|
|
@@ -8871,7 +8873,7 @@ const as = (e, n) => {
|
|
|
8871
8873
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
8872
8874
|
*/
|
|
8873
8875
|
"text-shadow": [{
|
|
8874
|
-
"text-shadow": ["none", p,
|
|
8876
|
+
"text-shadow": ["none", p, Nt, wt]
|
|
8875
8877
|
}],
|
|
8876
8878
|
/**
|
|
8877
8879
|
* Text Shadow Color
|
|
@@ -8885,21 +8887,21 @@ const as = (e, n) => {
|
|
|
8885
8887
|
* @see https://tailwindcss.com/docs/opacity
|
|
8886
8888
|
*/
|
|
8887
8889
|
opacity: [{
|
|
8888
|
-
opacity: [
|
|
8890
|
+
opacity: [W, O, $]
|
|
8889
8891
|
}],
|
|
8890
8892
|
/**
|
|
8891
8893
|
* Mix Blend Mode
|
|
8892
8894
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
8893
8895
|
*/
|
|
8894
8896
|
"mix-blend": [{
|
|
8895
|
-
"mix-blend": [...
|
|
8897
|
+
"mix-blend": [...Fe(), "plus-darker", "plus-lighter"]
|
|
8896
8898
|
}],
|
|
8897
8899
|
/**
|
|
8898
8900
|
* Background Blend Mode
|
|
8899
8901
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
8900
8902
|
*/
|
|
8901
8903
|
"bg-blend": [{
|
|
8902
|
-
"bg-blend":
|
|
8904
|
+
"bg-blend": Fe()
|
|
8903
8905
|
}],
|
|
8904
8906
|
/**
|
|
8905
8907
|
* Mask Clip
|
|
@@ -8920,7 +8922,7 @@ const as = (e, n) => {
|
|
|
8920
8922
|
* @see https://tailwindcss.com/docs/mask-image
|
|
8921
8923
|
*/
|
|
8922
8924
|
"mask-image-linear-pos": [{
|
|
8923
|
-
"mask-linear": [
|
|
8925
|
+
"mask-linear": [W]
|
|
8924
8926
|
}],
|
|
8925
8927
|
"mask-image-linear-from-pos": [{
|
|
8926
8928
|
"mask-linear-from": ee()
|
|
@@ -9007,7 +9009,7 @@ const as = (e, n) => {
|
|
|
9007
9009
|
"mask-y-to": I()
|
|
9008
9010
|
}],
|
|
9009
9011
|
"mask-image-radial": [{
|
|
9010
|
-
"mask-radial": [
|
|
9012
|
+
"mask-radial": [O, $]
|
|
9011
9013
|
}],
|
|
9012
9014
|
"mask-image-radial-from-pos": [{
|
|
9013
9015
|
"mask-radial-from": ee()
|
|
@@ -9034,7 +9036,7 @@ const as = (e, n) => {
|
|
|
9034
9036
|
"mask-radial-at": R()
|
|
9035
9037
|
}],
|
|
9036
9038
|
"mask-image-conic-pos": [{
|
|
9037
|
-
"mask-conic": [
|
|
9039
|
+
"mask-conic": [W]
|
|
9038
9040
|
}],
|
|
9039
9041
|
"mask-image-conic-from-pos": [{
|
|
9040
9042
|
"mask-conic-from": ee()
|
|
@@ -9067,7 +9069,7 @@ const as = (e, n) => {
|
|
|
9067
9069
|
* @see https://tailwindcss.com/docs/mask-position
|
|
9068
9070
|
*/
|
|
9069
9071
|
"mask-position": [{
|
|
9070
|
-
mask:
|
|
9072
|
+
mask: Y()
|
|
9071
9073
|
}],
|
|
9072
9074
|
/**
|
|
9073
9075
|
* Mask Repeat
|
|
@@ -9081,7 +9083,7 @@ const as = (e, n) => {
|
|
|
9081
9083
|
* @see https://tailwindcss.com/docs/mask-size
|
|
9082
9084
|
*/
|
|
9083
9085
|
"mask-size": [{
|
|
9084
|
-
mask:
|
|
9086
|
+
mask: pe()
|
|
9085
9087
|
}],
|
|
9086
9088
|
/**
|
|
9087
9089
|
* Mask Type
|
|
@@ -9095,7 +9097,7 @@ const as = (e, n) => {
|
|
|
9095
9097
|
* @see https://tailwindcss.com/docs/mask-image
|
|
9096
9098
|
*/
|
|
9097
9099
|
"mask-image": [{
|
|
9098
|
-
mask: ["none",
|
|
9100
|
+
mask: ["none", O, $]
|
|
9099
9101
|
}],
|
|
9100
9102
|
// ---------------
|
|
9101
9103
|
// --- Filters ---
|
|
@@ -9109,8 +9111,8 @@ const as = (e, n) => {
|
|
|
9109
9111
|
// Deprecated since Tailwind CSS v3.0.0
|
|
9110
9112
|
"",
|
|
9111
9113
|
"none",
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
+
O,
|
|
9115
|
+
$
|
|
9114
9116
|
]
|
|
9115
9117
|
}],
|
|
9116
9118
|
/**
|
|
@@ -9118,21 +9120,21 @@ const as = (e, n) => {
|
|
|
9118
9120
|
* @see https://tailwindcss.com/docs/blur
|
|
9119
9121
|
*/
|
|
9120
9122
|
blur: [{
|
|
9121
|
-
blur:
|
|
9123
|
+
blur: Be()
|
|
9122
9124
|
}],
|
|
9123
9125
|
/**
|
|
9124
9126
|
* Brightness
|
|
9125
9127
|
* @see https://tailwindcss.com/docs/brightness
|
|
9126
9128
|
*/
|
|
9127
9129
|
brightness: [{
|
|
9128
|
-
brightness: [
|
|
9130
|
+
brightness: [W, O, $]
|
|
9129
9131
|
}],
|
|
9130
9132
|
/**
|
|
9131
9133
|
* Contrast
|
|
9132
9134
|
* @see https://tailwindcss.com/docs/contrast
|
|
9133
9135
|
*/
|
|
9134
9136
|
contrast: [{
|
|
9135
|
-
contrast: [
|
|
9137
|
+
contrast: [W, O, $]
|
|
9136
9138
|
}],
|
|
9137
9139
|
/**
|
|
9138
9140
|
* Drop Shadow
|
|
@@ -9144,8 +9146,8 @@ const as = (e, n) => {
|
|
|
9144
9146
|
"",
|
|
9145
9147
|
"none",
|
|
9146
9148
|
h,
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
+
Nt,
|
|
9150
|
+
wt
|
|
9149
9151
|
]
|
|
9150
9152
|
}],
|
|
9151
9153
|
/**
|
|
@@ -9160,35 +9162,35 @@ const as = (e, n) => {
|
|
|
9160
9162
|
* @see https://tailwindcss.com/docs/grayscale
|
|
9161
9163
|
*/
|
|
9162
9164
|
grayscale: [{
|
|
9163
|
-
grayscale: ["",
|
|
9165
|
+
grayscale: ["", W, O, $]
|
|
9164
9166
|
}],
|
|
9165
9167
|
/**
|
|
9166
9168
|
* Hue Rotate
|
|
9167
9169
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
9168
9170
|
*/
|
|
9169
9171
|
"hue-rotate": [{
|
|
9170
|
-
"hue-rotate": [
|
|
9172
|
+
"hue-rotate": [W, O, $]
|
|
9171
9173
|
}],
|
|
9172
9174
|
/**
|
|
9173
9175
|
* Invert
|
|
9174
9176
|
* @see https://tailwindcss.com/docs/invert
|
|
9175
9177
|
*/
|
|
9176
9178
|
invert: [{
|
|
9177
|
-
invert: ["",
|
|
9179
|
+
invert: ["", W, O, $]
|
|
9178
9180
|
}],
|
|
9179
9181
|
/**
|
|
9180
9182
|
* Saturate
|
|
9181
9183
|
* @see https://tailwindcss.com/docs/saturate
|
|
9182
9184
|
*/
|
|
9183
9185
|
saturate: [{
|
|
9184
|
-
saturate: [
|
|
9186
|
+
saturate: [W, O, $]
|
|
9185
9187
|
}],
|
|
9186
9188
|
/**
|
|
9187
9189
|
* Sepia
|
|
9188
9190
|
* @see https://tailwindcss.com/docs/sepia
|
|
9189
9191
|
*/
|
|
9190
9192
|
sepia: [{
|
|
9191
|
-
sepia: ["",
|
|
9193
|
+
sepia: ["", W, O, $]
|
|
9192
9194
|
}],
|
|
9193
9195
|
/**
|
|
9194
9196
|
* Backdrop Filter
|
|
@@ -9199,8 +9201,8 @@ const as = (e, n) => {
|
|
|
9199
9201
|
// Deprecated since Tailwind CSS v3.0.0
|
|
9200
9202
|
"",
|
|
9201
9203
|
"none",
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
+
O,
|
|
9205
|
+
$
|
|
9204
9206
|
]
|
|
9205
9207
|
}],
|
|
9206
9208
|
/**
|
|
@@ -9208,63 +9210,63 @@ const as = (e, n) => {
|
|
|
9208
9210
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
9209
9211
|
*/
|
|
9210
9212
|
"backdrop-blur": [{
|
|
9211
|
-
"backdrop-blur":
|
|
9213
|
+
"backdrop-blur": Be()
|
|
9212
9214
|
}],
|
|
9213
9215
|
/**
|
|
9214
9216
|
* Backdrop Brightness
|
|
9215
9217
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
9216
9218
|
*/
|
|
9217
9219
|
"backdrop-brightness": [{
|
|
9218
|
-
"backdrop-brightness": [
|
|
9220
|
+
"backdrop-brightness": [W, O, $]
|
|
9219
9221
|
}],
|
|
9220
9222
|
/**
|
|
9221
9223
|
* Backdrop Contrast
|
|
9222
9224
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
9223
9225
|
*/
|
|
9224
9226
|
"backdrop-contrast": [{
|
|
9225
|
-
"backdrop-contrast": [
|
|
9227
|
+
"backdrop-contrast": [W, O, $]
|
|
9226
9228
|
}],
|
|
9227
9229
|
/**
|
|
9228
9230
|
* Backdrop Grayscale
|
|
9229
9231
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
9230
9232
|
*/
|
|
9231
9233
|
"backdrop-grayscale": [{
|
|
9232
|
-
"backdrop-grayscale": ["",
|
|
9234
|
+
"backdrop-grayscale": ["", W, O, $]
|
|
9233
9235
|
}],
|
|
9234
9236
|
/**
|
|
9235
9237
|
* Backdrop Hue Rotate
|
|
9236
9238
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
9237
9239
|
*/
|
|
9238
9240
|
"backdrop-hue-rotate": [{
|
|
9239
|
-
"backdrop-hue-rotate": [
|
|
9241
|
+
"backdrop-hue-rotate": [W, O, $]
|
|
9240
9242
|
}],
|
|
9241
9243
|
/**
|
|
9242
9244
|
* Backdrop Invert
|
|
9243
9245
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
9244
9246
|
*/
|
|
9245
9247
|
"backdrop-invert": [{
|
|
9246
|
-
"backdrop-invert": ["",
|
|
9248
|
+
"backdrop-invert": ["", W, O, $]
|
|
9247
9249
|
}],
|
|
9248
9250
|
/**
|
|
9249
9251
|
* Backdrop Opacity
|
|
9250
9252
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
9251
9253
|
*/
|
|
9252
9254
|
"backdrop-opacity": [{
|
|
9253
|
-
"backdrop-opacity": [
|
|
9255
|
+
"backdrop-opacity": [W, O, $]
|
|
9254
9256
|
}],
|
|
9255
9257
|
/**
|
|
9256
9258
|
* Backdrop Saturate
|
|
9257
9259
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
9258
9260
|
*/
|
|
9259
9261
|
"backdrop-saturate": [{
|
|
9260
|
-
"backdrop-saturate": [
|
|
9262
|
+
"backdrop-saturate": [W, O, $]
|
|
9261
9263
|
}],
|
|
9262
9264
|
/**
|
|
9263
9265
|
* Backdrop Sepia
|
|
9264
9266
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
9265
9267
|
*/
|
|
9266
9268
|
"backdrop-sepia": [{
|
|
9267
|
-
"backdrop-sepia": ["",
|
|
9269
|
+
"backdrop-sepia": ["", W, O, $]
|
|
9268
9270
|
}],
|
|
9269
9271
|
// --------------
|
|
9270
9272
|
// --- Tables ---
|
|
@@ -9319,7 +9321,7 @@ const as = (e, n) => {
|
|
|
9319
9321
|
* @see https://tailwindcss.com/docs/transition-property
|
|
9320
9322
|
*/
|
|
9321
9323
|
transition: [{
|
|
9322
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
9324
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", O, $]
|
|
9323
9325
|
}],
|
|
9324
9326
|
/**
|
|
9325
9327
|
* Transition Behavior
|
|
@@ -9333,28 +9335,28 @@ const as = (e, n) => {
|
|
|
9333
9335
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
9334
9336
|
*/
|
|
9335
9337
|
duration: [{
|
|
9336
|
-
duration: [
|
|
9338
|
+
duration: [W, "initial", O, $]
|
|
9337
9339
|
}],
|
|
9338
9340
|
/**
|
|
9339
9341
|
* Transition Timing Function
|
|
9340
9342
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
9341
9343
|
*/
|
|
9342
9344
|
ease: [{
|
|
9343
|
-
ease: ["linear", "initial", v,
|
|
9345
|
+
ease: ["linear", "initial", v, O, $]
|
|
9344
9346
|
}],
|
|
9345
9347
|
/**
|
|
9346
9348
|
* Transition Delay
|
|
9347
9349
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
9348
9350
|
*/
|
|
9349
9351
|
delay: [{
|
|
9350
|
-
delay: [
|
|
9352
|
+
delay: [W, O, $]
|
|
9351
9353
|
}],
|
|
9352
9354
|
/**
|
|
9353
9355
|
* Animation
|
|
9354
9356
|
* @see https://tailwindcss.com/docs/animation
|
|
9355
9357
|
*/
|
|
9356
9358
|
animate: [{
|
|
9357
|
-
animate: ["none", w,
|
|
9359
|
+
animate: ["none", w, O, $]
|
|
9358
9360
|
}],
|
|
9359
9361
|
// ------------------
|
|
9360
9362
|
// --- Transforms ---
|
|
@@ -9371,7 +9373,7 @@ const as = (e, n) => {
|
|
|
9371
9373
|
* @see https://tailwindcss.com/docs/perspective
|
|
9372
9374
|
*/
|
|
9373
9375
|
perspective: [{
|
|
9374
|
-
perspective: [g,
|
|
9376
|
+
perspective: [g, O, $]
|
|
9375
9377
|
}],
|
|
9376
9378
|
/**
|
|
9377
9379
|
* Perspective Origin
|
|
@@ -9413,28 +9415,28 @@ const as = (e, n) => {
|
|
|
9413
9415
|
* @see https://tailwindcss.com/docs/scale
|
|
9414
9416
|
*/
|
|
9415
9417
|
scale: [{
|
|
9416
|
-
scale:
|
|
9418
|
+
scale: be()
|
|
9417
9419
|
}],
|
|
9418
9420
|
/**
|
|
9419
9421
|
* Scale X
|
|
9420
9422
|
* @see https://tailwindcss.com/docs/scale
|
|
9421
9423
|
*/
|
|
9422
9424
|
"scale-x": [{
|
|
9423
|
-
"scale-x":
|
|
9425
|
+
"scale-x": be()
|
|
9424
9426
|
}],
|
|
9425
9427
|
/**
|
|
9426
9428
|
* Scale Y
|
|
9427
9429
|
* @see https://tailwindcss.com/docs/scale
|
|
9428
9430
|
*/
|
|
9429
9431
|
"scale-y": [{
|
|
9430
|
-
"scale-y":
|
|
9432
|
+
"scale-y": be()
|
|
9431
9433
|
}],
|
|
9432
9434
|
/**
|
|
9433
9435
|
* Scale Z
|
|
9434
9436
|
* @see https://tailwindcss.com/docs/scale
|
|
9435
9437
|
*/
|
|
9436
9438
|
"scale-z": [{
|
|
9437
|
-
"scale-z":
|
|
9439
|
+
"scale-z": be()
|
|
9438
9440
|
}],
|
|
9439
9441
|
/**
|
|
9440
9442
|
* Scale 3D
|
|
@@ -9467,7 +9469,7 @@ const as = (e, n) => {
|
|
|
9467
9469
|
* @see https://tailwindcss.com/docs/transform
|
|
9468
9470
|
*/
|
|
9469
9471
|
transform: [{
|
|
9470
|
-
transform: [
|
|
9472
|
+
transform: [O, $, "", "none", "gpu", "cpu"]
|
|
9471
9473
|
}],
|
|
9472
9474
|
/**
|
|
9473
9475
|
* Transform Origin
|
|
@@ -9488,28 +9490,28 @@ const as = (e, n) => {
|
|
|
9488
9490
|
* @see https://tailwindcss.com/docs/translate
|
|
9489
9491
|
*/
|
|
9490
9492
|
translate: [{
|
|
9491
|
-
translate:
|
|
9493
|
+
translate: se()
|
|
9492
9494
|
}],
|
|
9493
9495
|
/**
|
|
9494
9496
|
* Translate X
|
|
9495
9497
|
* @see https://tailwindcss.com/docs/translate
|
|
9496
9498
|
*/
|
|
9497
9499
|
"translate-x": [{
|
|
9498
|
-
"translate-x":
|
|
9500
|
+
"translate-x": se()
|
|
9499
9501
|
}],
|
|
9500
9502
|
/**
|
|
9501
9503
|
* Translate Y
|
|
9502
9504
|
* @see https://tailwindcss.com/docs/translate
|
|
9503
9505
|
*/
|
|
9504
9506
|
"translate-y": [{
|
|
9505
|
-
"translate-y":
|
|
9507
|
+
"translate-y": se()
|
|
9506
9508
|
}],
|
|
9507
9509
|
/**
|
|
9508
9510
|
* Translate Z
|
|
9509
9511
|
* @see https://tailwindcss.com/docs/translate
|
|
9510
9512
|
*/
|
|
9511
9513
|
"translate-z": [{
|
|
9512
|
-
"translate-z":
|
|
9514
|
+
"translate-z": se()
|
|
9513
9515
|
}],
|
|
9514
9516
|
/**
|
|
9515
9517
|
* Translate None
|
|
@@ -9552,7 +9554,7 @@ const as = (e, n) => {
|
|
|
9552
9554
|
* @see https://tailwindcss.com/docs/cursor
|
|
9553
9555
|
*/
|
|
9554
9556
|
cursor: [{
|
|
9555
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
9557
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", O, $]
|
|
9556
9558
|
}],
|
|
9557
9559
|
/**
|
|
9558
9560
|
* Field Sizing
|
|
@@ -9774,7 +9776,7 @@ const as = (e, n) => {
|
|
|
9774
9776
|
* @see https://tailwindcss.com/docs/will-change
|
|
9775
9777
|
*/
|
|
9776
9778
|
"will-change": [{
|
|
9777
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
9779
|
+
"will-change": ["auto", "scroll", "contents", "transform", O, $]
|
|
9778
9780
|
}],
|
|
9779
9781
|
// -----------
|
|
9780
9782
|
// --- SVG ---
|
|
@@ -9791,7 +9793,7 @@ const as = (e, n) => {
|
|
|
9791
9793
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
9792
9794
|
*/
|
|
9793
9795
|
"stroke-w": [{
|
|
9794
|
-
stroke: [
|
|
9796
|
+
stroke: [W, at, Te, tr]
|
|
9795
9797
|
}],
|
|
9796
9798
|
/**
|
|
9797
9799
|
* Stroke
|
|
@@ -9867,7 +9869,7 @@ const as = (e, n) => {
|
|
|
9867
9869
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
9868
9870
|
};
|
|
9869
9871
|
}, Us = /* @__PURE__ */ Ss(Ws);
|
|
9870
|
-
function
|
|
9872
|
+
function st(...e) {
|
|
9871
9873
|
return Us(os(e));
|
|
9872
9874
|
}
|
|
9873
9875
|
function Gs(e, n) {
|
|
@@ -9959,9 +9961,9 @@ const Js = (e, n, o, r) => {
|
|
|
9959
9961
|
}];
|
|
9960
9962
|
if (e?.services?.logger?.forward)
|
|
9961
9963
|
return e.services.logger.forward(a, "warn", "react-i18next::", !0);
|
|
9962
|
-
|
|
9964
|
+
De(a[0]) && (a[0] = `react-i18next:: ${a[0]}`), e?.services?.logger?.warn ? e.services.logger.warn(...a) : console?.warn && console.warn(...a);
|
|
9963
9965
|
}, Qr = {}, Gn = (e, n, o, r) => {
|
|
9964
|
-
|
|
9966
|
+
De(o) && Qr[o] || (De(o) && (Qr[o] = /* @__PURE__ */ new Date()), Js(e, n, o, r));
|
|
9965
9967
|
}, qn = (e, n) => () => {
|
|
9966
9968
|
if (e.isInitialized)
|
|
9967
9969
|
n();
|
|
@@ -9976,7 +9978,7 @@ const Js = (e, n, o, r) => {
|
|
|
9976
9978
|
}, lr = (e, n, o) => {
|
|
9977
9979
|
e.loadNamespaces(n, qn(e, o));
|
|
9978
9980
|
}, Jr = (e, n, o, r) => {
|
|
9979
|
-
if (
|
|
9981
|
+
if (De(o) && (o = [o]), e.options.preload && e.options.preload.indexOf(n) > -1) return lr(e, o, r);
|
|
9980
9982
|
o.forEach((a) => {
|
|
9981
9983
|
e.options.ns.indexOf(a) < 0 && e.options.ns.push(a);
|
|
9982
9984
|
}), e.loadLanguages(n, qn(e, r));
|
|
@@ -9987,7 +9989,7 @@ const Js = (e, n, o, r) => {
|
|
|
9987
9989
|
precheck: (r, a) => {
|
|
9988
9990
|
if (o.bindI18n && o.bindI18n.indexOf("languageChanging") > -1 && r.services.backendConnector.backend && r.isLanguageChangingTo && !a(r.isLanguageChangingTo, e)) return !1;
|
|
9989
9991
|
}
|
|
9990
|
-
}),
|
|
9992
|
+
}), De = (e) => typeof e == "string", ti = (e) => typeof e == "object" && e !== null, ri = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ni = {
|
|
9991
9993
|
"&": "&",
|
|
9992
9994
|
"&": "&",
|
|
9993
9995
|
"<": "<",
|
|
@@ -10036,12 +10038,12 @@ class ui {
|
|
|
10036
10038
|
return Object.keys(this.usedNamespaces);
|
|
10037
10039
|
}
|
|
10038
10040
|
}
|
|
10039
|
-
var
|
|
10041
|
+
var Ct = { exports: {} }, rr = {};
|
|
10040
10042
|
var en;
|
|
10041
10043
|
function fi() {
|
|
10042
10044
|
if (en) return rr;
|
|
10043
10045
|
en = 1;
|
|
10044
|
-
var e =
|
|
10046
|
+
var e = Qe;
|
|
10045
10047
|
function n(m, p) {
|
|
10046
10048
|
return m === p && (m !== 0 || 1 / m === 1 / p) || m !== m && p !== p;
|
|
10047
10049
|
}
|
|
@@ -10128,16 +10130,16 @@ function mi() {
|
|
|
10128
10130
|
return b();
|
|
10129
10131
|
}
|
|
10130
10132
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
10131
|
-
var a =
|
|
10133
|
+
var a = Qe, s = typeof Object.is == "function" ? Object.is : e, i = a.useState, l = a.useEffect, c = a.useLayoutEffect, u = a.useDebugValue, d = !1, m = !1, p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : n;
|
|
10132
10134
|
nr.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : p, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
10133
10135
|
})()), nr;
|
|
10134
10136
|
}
|
|
10135
10137
|
var rn;
|
|
10136
10138
|
function pi() {
|
|
10137
|
-
return rn || (rn = 1, process.env.NODE_ENV === "production" ?
|
|
10139
|
+
return rn || (rn = 1, process.env.NODE_ENV === "production" ? Ct.exports = fi() : Ct.exports = mi()), Ct.exports;
|
|
10138
10140
|
}
|
|
10139
10141
|
var hi = pi();
|
|
10140
|
-
const gi = (e, n) =>
|
|
10142
|
+
const gi = (e, n) => De(n) ? n : ti(n) && De(n.defaultValue) ? n.defaultValue : Array.isArray(e) ? e[e.length - 1] : e, bi = {
|
|
10141
10143
|
t: gi,
|
|
10142
10144
|
ready: !1
|
|
10143
10145
|
}, xi = () => () => {
|
|
@@ -10149,40 +10151,40 @@ const gi = (e, n) => Pe(n) ? n : ti(n) && Pe(n.defaultValue) ? n.defaultValue :
|
|
|
10149
10151
|
defaultNS: a
|
|
10150
10152
|
} = kn(di) || {}, s = o || r || ci();
|
|
10151
10153
|
s && !s.reportNamespaces && (s.reportNamespaces = new ui()), s || Gn(s, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
10152
|
-
const i =
|
|
10154
|
+
const i = Ke(() => ({
|
|
10153
10155
|
...ii(),
|
|
10154
10156
|
...s?.options?.react,
|
|
10155
10157
|
...n
|
|
10156
10158
|
}), [s, n]), {
|
|
10157
10159
|
useSuspense: l,
|
|
10158
10160
|
keyPrefix: c
|
|
10159
|
-
} = i, u = e, d =
|
|
10161
|
+
} = i, u = e, d = De(u) ? [u] : u, m = Ke(() => d, d);
|
|
10160
10162
|
s?.reportNamespaces?.addUsedNamespaces?.(m);
|
|
10161
10163
|
const p = q(0), h = te((y) => {
|
|
10162
10164
|
if (!s) return xi;
|
|
10163
10165
|
const {
|
|
10164
10166
|
bindI18n: N,
|
|
10165
|
-
bindI18nStore:
|
|
10167
|
+
bindI18nStore: j
|
|
10166
10168
|
} = i, T = () => {
|
|
10167
10169
|
p.current += 1, y();
|
|
10168
10170
|
};
|
|
10169
|
-
return N && s.on(N, T),
|
|
10170
|
-
N && N.split(" ").forEach((D) => s.off(D, T)),
|
|
10171
|
+
return N && s.on(N, T), j && s.store.on(j, T), () => {
|
|
10172
|
+
N && N.split(" ").forEach((D) => s.off(D, T)), j && j.split(" ").forEach((D) => s.store.off(D, T));
|
|
10171
10173
|
};
|
|
10172
10174
|
}, [s, i]), b = q(), g = te(() => {
|
|
10173
10175
|
if (!s)
|
|
10174
10176
|
return bi;
|
|
10175
|
-
const y = !!(s.isInitialized || s.initializedStoreOnce) && m.every((P) => ei(P, s, i)), N = n.lng || s.language,
|
|
10176
|
-
if (T && T.ready === y && T.lng === N && T.keyPrefix === c && T.revision ===
|
|
10177
|
+
const y = !!(s.isInitialized || s.initializedStoreOnce) && m.every((P) => ei(P, s, i)), N = n.lng || s.language, j = p.current, T = b.current;
|
|
10178
|
+
if (T && T.ready === y && T.lng === N && T.keyPrefix === c && T.revision === j)
|
|
10177
10179
|
return T;
|
|
10178
|
-
const
|
|
10180
|
+
const U = {
|
|
10179
10181
|
t: s.getFixedT(N, i.nsMode === "fallback" ? m : m[0], c),
|
|
10180
10182
|
ready: y,
|
|
10181
10183
|
lng: N,
|
|
10182
10184
|
keyPrefix: c,
|
|
10183
|
-
revision:
|
|
10185
|
+
revision: j
|
|
10184
10186
|
};
|
|
10185
|
-
return b.current =
|
|
10187
|
+
return b.current = U, U;
|
|
10186
10188
|
}, [s, m, c, i, n.lng]), [x, v] = z(0), {
|
|
10187
10189
|
t: w,
|
|
10188
10190
|
ready: C
|
|
@@ -10196,10 +10198,10 @@ const gi = (e, n) => Pe(n) ? n : ti(n) && Pe(n.defaultValue) ? n.defaultValue :
|
|
|
10196
10198
|
const R = s || {}, k = q(null), S = q(), M = (y) => {
|
|
10197
10199
|
const N = Object.getOwnPropertyDescriptors(y);
|
|
10198
10200
|
N.__original && delete N.__original;
|
|
10199
|
-
const
|
|
10200
|
-
if (!Object.prototype.hasOwnProperty.call(
|
|
10201
|
+
const j = Object.create(Object.getPrototypeOf(y), N);
|
|
10202
|
+
if (!Object.prototype.hasOwnProperty.call(j, "__original"))
|
|
10201
10203
|
try {
|
|
10202
|
-
Object.defineProperty(
|
|
10204
|
+
Object.defineProperty(j, "__original", {
|
|
10203
10205
|
value: y,
|
|
10204
10206
|
writable: !1,
|
|
10205
10207
|
enumerable: !1,
|
|
@@ -10207,13 +10209,13 @@ const gi = (e, n) => Pe(n) ? n : ti(n) && Pe(n.defaultValue) ? n.defaultValue :
|
|
|
10207
10209
|
});
|
|
10208
10210
|
} catch {
|
|
10209
10211
|
}
|
|
10210
|
-
return
|
|
10211
|
-
}, E =
|
|
10212
|
+
return j;
|
|
10213
|
+
}, E = Ke(() => {
|
|
10212
10214
|
const y = R, N = y?.language;
|
|
10213
|
-
let
|
|
10214
|
-
y && (k.current && k.current.__original === y ? S.current !== N ? (
|
|
10215
|
-
const T = [w,
|
|
10216
|
-
return T.t = w, T.i18n =
|
|
10215
|
+
let j = y;
|
|
10216
|
+
y && (k.current && k.current.__original === y ? S.current !== N ? (j = M(y), k.current = j, S.current = N) : j = k.current : (j = M(y), k.current = j, S.current = N));
|
|
10217
|
+
const T = [w, j, C];
|
|
10218
|
+
return T.t = w, T.i18n = j, T.ready = C, T;
|
|
10217
10219
|
}, [w, R, C, R.resolvedLanguage, R.language, R.languages]);
|
|
10218
10220
|
if (s && l && !C)
|
|
10219
10221
|
throw new Promise((y) => {
|
|
@@ -10275,13 +10277,13 @@ function Ni(e, n, o = !0) {
|
|
|
10275
10277
|
};
|
|
10276
10278
|
}, [r, o]);
|
|
10277
10279
|
}
|
|
10278
|
-
function
|
|
10280
|
+
function Bt() {
|
|
10279
10281
|
return typeof window < "u";
|
|
10280
10282
|
}
|
|
10281
|
-
function
|
|
10283
|
+
function tt(e) {
|
|
10282
10284
|
return Kn(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
10283
10285
|
}
|
|
10284
|
-
function
|
|
10286
|
+
function ge(e) {
|
|
10285
10287
|
var n;
|
|
10286
10288
|
return (e == null || (n = e.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
10287
10289
|
}
|
|
@@ -10290,33 +10292,33 @@ function Ce(e) {
|
|
|
10290
10292
|
return (n = (Kn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
|
|
10291
10293
|
}
|
|
10292
10294
|
function Kn(e) {
|
|
10293
|
-
return
|
|
10295
|
+
return Bt() ? e instanceof Node || e instanceof ge(e).Node : !1;
|
|
10294
10296
|
}
|
|
10295
10297
|
function le(e) {
|
|
10296
|
-
return
|
|
10298
|
+
return Bt() ? e instanceof Element || e instanceof ge(e).Element : !1;
|
|
10297
10299
|
}
|
|
10298
10300
|
function Ne(e) {
|
|
10299
|
-
return
|
|
10301
|
+
return Bt() ? e instanceof HTMLElement || e instanceof ge(e).HTMLElement : !1;
|
|
10300
10302
|
}
|
|
10301
10303
|
function nn(e) {
|
|
10302
|
-
return !
|
|
10304
|
+
return !Bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ge(e).ShadowRoot;
|
|
10303
10305
|
}
|
|
10304
10306
|
const Ci = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
10305
|
-
function
|
|
10307
|
+
function ct(e) {
|
|
10306
10308
|
const {
|
|
10307
10309
|
overflow: n,
|
|
10308
10310
|
overflowX: o,
|
|
10309
10311
|
overflowY: r,
|
|
10310
10312
|
display: a
|
|
10311
|
-
} =
|
|
10313
|
+
} = ke(e);
|
|
10312
10314
|
return /auto|scroll|overlay|hidden|clip/.test(n + r + o) && !Ci.has(a);
|
|
10313
10315
|
}
|
|
10314
10316
|
const Si = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
10315
10317
|
function Ri(e) {
|
|
10316
|
-
return Si.has(
|
|
10318
|
+
return Si.has(tt(e));
|
|
10317
10319
|
}
|
|
10318
10320
|
const Ii = [":popover-open", ":modal"];
|
|
10319
|
-
function
|
|
10321
|
+
function zt(e) {
|
|
10320
10322
|
return Ii.some((n) => {
|
|
10321
10323
|
try {
|
|
10322
10324
|
return e.matches(n);
|
|
@@ -10327,17 +10329,17 @@ function Tt(e) {
|
|
|
10327
10329
|
}
|
|
10328
10330
|
const Ei = ["transform", "translate", "scale", "rotate", "perspective"], ji = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ai = ["paint", "layout", "strict", "content"];
|
|
10329
10331
|
function hr(e) {
|
|
10330
|
-
const n = gr(), o = le(e) ?
|
|
10332
|
+
const n = gr(), o = le(e) ? ke(e) : e;
|
|
10331
10333
|
return Ei.some((r) => o[r] ? o[r] !== "none" : !1) || (o.containerType ? o.containerType !== "normal" : !1) || !n && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !n && (o.filter ? o.filter !== "none" : !1) || ji.some((r) => (o.willChange || "").includes(r)) || Ai.some((r) => (o.contain || "").includes(r));
|
|
10332
10334
|
}
|
|
10333
10335
|
function Mi(e) {
|
|
10334
|
-
let n =
|
|
10335
|
-
for (; Ne(n) && !
|
|
10336
|
+
let n = Oe(e);
|
|
10337
|
+
for (; Ne(n) && !Ye(n); ) {
|
|
10336
10338
|
if (hr(n))
|
|
10337
10339
|
return n;
|
|
10338
|
-
if (
|
|
10340
|
+
if (zt(n))
|
|
10339
10341
|
return null;
|
|
10340
|
-
n =
|
|
10342
|
+
n = Oe(n);
|
|
10341
10343
|
}
|
|
10342
10344
|
return null;
|
|
10343
10345
|
}
|
|
@@ -10345,13 +10347,13 @@ function gr() {
|
|
|
10345
10347
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
10346
10348
|
}
|
|
10347
10349
|
const Li = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
10348
|
-
function
|
|
10349
|
-
return Li.has(
|
|
10350
|
+
function Ye(e) {
|
|
10351
|
+
return Li.has(tt(e));
|
|
10350
10352
|
}
|
|
10351
|
-
function
|
|
10352
|
-
return
|
|
10353
|
+
function ke(e) {
|
|
10354
|
+
return ge(e).getComputedStyle(e);
|
|
10353
10355
|
}
|
|
10354
|
-
function
|
|
10356
|
+
function Tt(e) {
|
|
10355
10357
|
return le(e) ? {
|
|
10356
10358
|
scrollLeft: e.scrollLeft,
|
|
10357
10359
|
scrollTop: e.scrollTop
|
|
@@ -10360,8 +10362,8 @@ function _t(e) {
|
|
|
10360
10362
|
scrollTop: e.scrollY
|
|
10361
10363
|
};
|
|
10362
10364
|
}
|
|
10363
|
-
function
|
|
10364
|
-
if (
|
|
10365
|
+
function Oe(e) {
|
|
10366
|
+
if (tt(e) === "html")
|
|
10365
10367
|
return e;
|
|
10366
10368
|
const n = (
|
|
10367
10369
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -10373,23 +10375,23 @@ function Be(e) {
|
|
|
10373
10375
|
return nn(n) ? n.host : n;
|
|
10374
10376
|
}
|
|
10375
10377
|
function Xn(e) {
|
|
10376
|
-
const n =
|
|
10377
|
-
return
|
|
10378
|
+
const n = Oe(e);
|
|
10379
|
+
return Ye(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ne(n) && ct(n) ? n : Xn(n);
|
|
10378
10380
|
}
|
|
10379
|
-
function
|
|
10381
|
+
function it(e, n, o) {
|
|
10380
10382
|
var r;
|
|
10381
10383
|
n === void 0 && (n = []), o === void 0 && (o = !0);
|
|
10382
|
-
const a = Xn(e), s = a === ((r = e.ownerDocument) == null ? void 0 : r.body), i =
|
|
10384
|
+
const a = Xn(e), s = a === ((r = e.ownerDocument) == null ? void 0 : r.body), i = ge(a);
|
|
10383
10385
|
if (s) {
|
|
10384
10386
|
const l = cr(i);
|
|
10385
|
-
return n.concat(i, i.visualViewport || [],
|
|
10387
|
+
return n.concat(i, i.visualViewport || [], ct(a) ? a : [], l && o ? it(l) : []);
|
|
10386
10388
|
}
|
|
10387
|
-
return n.concat(a,
|
|
10389
|
+
return n.concat(a, it(a, [], o));
|
|
10388
10390
|
}
|
|
10389
10391
|
function cr(e) {
|
|
10390
10392
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
10391
10393
|
}
|
|
10392
|
-
const
|
|
10394
|
+
const lt = Math.min, ve = Math.max, Et = Math.round, St = Math.floor, we = (e) => ({
|
|
10393
10395
|
x: e,
|
|
10394
10396
|
y: e
|
|
10395
10397
|
}), $i = {
|
|
@@ -10401,13 +10403,13 @@ const ct = Math.min, xe = Math.max, jt = Math.round, Rt = Math.floor, we = (e) =
|
|
|
10401
10403
|
start: "end",
|
|
10402
10404
|
end: "start"
|
|
10403
10405
|
};
|
|
10404
|
-
function
|
|
10406
|
+
function _t(e, n) {
|
|
10405
10407
|
return typeof e == "function" ? e(n) : e;
|
|
10406
10408
|
}
|
|
10407
|
-
function
|
|
10409
|
+
function Pe(e) {
|
|
10408
10410
|
return e.split("-")[0];
|
|
10409
10411
|
}
|
|
10410
|
-
function
|
|
10412
|
+
function dt(e) {
|
|
10411
10413
|
return e.split("-")[1];
|
|
10412
10414
|
}
|
|
10413
10415
|
function Bi(e) {
|
|
@@ -10417,20 +10419,20 @@ function Yn(e) {
|
|
|
10417
10419
|
return e === "y" ? "height" : "width";
|
|
10418
10420
|
}
|
|
10419
10421
|
const zi = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
10420
|
-
function
|
|
10421
|
-
return zi.has(
|
|
10422
|
+
function $e(e) {
|
|
10423
|
+
return zi.has(Pe(e)) ? "y" : "x";
|
|
10422
10424
|
}
|
|
10423
10425
|
function Qn(e) {
|
|
10424
|
-
return Bi(
|
|
10426
|
+
return Bi($e(e));
|
|
10425
10427
|
}
|
|
10426
10428
|
function Ti(e, n, o) {
|
|
10427
10429
|
o === void 0 && (o = !1);
|
|
10428
|
-
const r =
|
|
10430
|
+
const r = dt(e), a = Qn(e), s = Yn(a);
|
|
10429
10431
|
let i = a === "x" ? r === (o ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
10430
|
-
return n.reference[s] > n.floating[s] && (i =
|
|
10432
|
+
return n.reference[s] > n.floating[s] && (i = jt(i)), [i, jt(i)];
|
|
10431
10433
|
}
|
|
10432
10434
|
function _i(e) {
|
|
10433
|
-
const n =
|
|
10435
|
+
const n = jt(e);
|
|
10434
10436
|
return [dr(e), n, dr(n)];
|
|
10435
10437
|
}
|
|
10436
10438
|
function dr(e) {
|
|
@@ -10450,11 +10452,11 @@ function Vi(e, n, o) {
|
|
|
10450
10452
|
}
|
|
10451
10453
|
}
|
|
10452
10454
|
function Fi(e, n, o, r) {
|
|
10453
|
-
const a =
|
|
10454
|
-
let s = Vi(
|
|
10455
|
+
const a = dt(e);
|
|
10456
|
+
let s = Vi(Pe(e), o === "start", r);
|
|
10455
10457
|
return a && (s = s.map((i) => i + "-" + a), n && (s = s.concat(s.map(dr)))), s;
|
|
10456
10458
|
}
|
|
10457
|
-
function
|
|
10459
|
+
function jt(e) {
|
|
10458
10460
|
return e.replace(/left|right|bottom|top/g, (n) => $i[n]);
|
|
10459
10461
|
}
|
|
10460
10462
|
function Zi(e) {
|
|
@@ -10474,7 +10476,7 @@ function Hi(e) {
|
|
|
10474
10476
|
left: e
|
|
10475
10477
|
};
|
|
10476
10478
|
}
|
|
10477
|
-
function
|
|
10479
|
+
function At(e) {
|
|
10478
10480
|
const {
|
|
10479
10481
|
x: n,
|
|
10480
10482
|
y: o,
|
|
@@ -10515,7 +10517,7 @@ function sn(e, n, o) {
|
|
|
10515
10517
|
reference: r,
|
|
10516
10518
|
floating: a
|
|
10517
10519
|
} = e;
|
|
10518
|
-
const s =
|
|
10520
|
+
const s = $e(n), i = Qn(n), l = Yn(i), c = Pe(n), u = s === "y", d = r.x + r.width / 2 - a.width / 2, m = r.y + r.height / 2 - a.height / 2, p = r[l] / 2 - a[l] / 2;
|
|
10519
10521
|
let h;
|
|
10520
10522
|
switch (c) {
|
|
10521
10523
|
case "top":
|
|
@@ -10548,7 +10550,7 @@ function sn(e, n, o) {
|
|
|
10548
10550
|
y: r.y
|
|
10549
10551
|
};
|
|
10550
10552
|
}
|
|
10551
|
-
switch (
|
|
10553
|
+
switch (dt(n)) {
|
|
10552
10554
|
case "start":
|
|
10553
10555
|
h[i] -= p * (o && u ? -1 : 1);
|
|
10554
10556
|
break;
|
|
@@ -10635,7 +10637,7 @@ async function Jn(e, n) {
|
|
|
10635
10637
|
elementContext: m = "floating",
|
|
10636
10638
|
altBoundary: p = !1,
|
|
10637
10639
|
padding: h = 0
|
|
10638
|
-
} =
|
|
10640
|
+
} = _t(n, e), b = Hi(h), x = l[p ? m === "floating" ? "reference" : "floating" : m], v = At(await s.getClippingRect({
|
|
10639
10641
|
element: (o = await (s.isElement == null ? void 0 : s.isElement(x))) == null || o ? x : x.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
10640
10642
|
boundary: u,
|
|
10641
10643
|
rootBoundary: d,
|
|
@@ -10651,7 +10653,7 @@ async function Jn(e, n) {
|
|
|
10651
10653
|
} : {
|
|
10652
10654
|
x: 1,
|
|
10653
10655
|
y: 1
|
|
10654
|
-
}, k =
|
|
10656
|
+
}, k = At(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
10655
10657
|
elements: l,
|
|
10656
10658
|
rect: w,
|
|
10657
10659
|
offsetParent: C,
|
|
@@ -10685,60 +10687,60 @@ const Qi = function(e) {
|
|
|
10685
10687
|
fallbackAxisSideDirection: b = "none",
|
|
10686
10688
|
flipAlignment: g = !0,
|
|
10687
10689
|
...x
|
|
10688
|
-
} =
|
|
10690
|
+
} = _t(e, n);
|
|
10689
10691
|
if ((o = s.arrow) != null && o.alignmentOffset)
|
|
10690
10692
|
return {};
|
|
10691
|
-
const v =
|
|
10693
|
+
const v = Pe(a), w = $e(l), C = Pe(l) === l, R = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), k = p || (C || !g ? [jt(l)] : _i(l)), S = b !== "none";
|
|
10692
10694
|
!p && S && k.push(...Fi(l, g, b, R));
|
|
10693
10695
|
const M = [l, ...k], E = await Jn(n, x), y = [];
|
|
10694
10696
|
let N = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
10695
10697
|
if (d && y.push(E[v]), m) {
|
|
10696
|
-
const
|
|
10697
|
-
y.push(E[
|
|
10698
|
+
const U = Ti(a, i, R);
|
|
10699
|
+
y.push(E[U[0]], E[U[1]]);
|
|
10698
10700
|
}
|
|
10699
10701
|
if (N = [...N, {
|
|
10700
10702
|
placement: a,
|
|
10701
10703
|
overflows: y
|
|
10702
|
-
}], !y.every((
|
|
10703
|
-
var
|
|
10704
|
-
const
|
|
10705
|
-
if (P && (!(m === "alignment" ? w !==
|
|
10704
|
+
}], !y.every((U) => U <= 0)) {
|
|
10705
|
+
var j, T;
|
|
10706
|
+
const U = (((j = s.flip) == null ? void 0 : j.index) || 0) + 1, P = M[U];
|
|
10707
|
+
if (P && (!(m === "alignment" ? w !== $e(P) : !1) || // We leave the current main axis only if every placement on that axis
|
|
10706
10708
|
// overflows the main axis.
|
|
10707
|
-
N.every((I) =>
|
|
10709
|
+
N.every((I) => $e(I.placement) === w ? I.overflows[0] > 0 : !0)))
|
|
10708
10710
|
return {
|
|
10709
10711
|
data: {
|
|
10710
|
-
index:
|
|
10712
|
+
index: U,
|
|
10711
10713
|
overflows: N
|
|
10712
10714
|
},
|
|
10713
10715
|
reset: {
|
|
10714
10716
|
placement: P
|
|
10715
10717
|
}
|
|
10716
10718
|
};
|
|
10717
|
-
let
|
|
10718
|
-
if (!
|
|
10719
|
+
let A = (T = N.filter((_) => _.overflows[0] <= 0).sort((_, I) => _.overflows[1] - I.overflows[1])[0]) == null ? void 0 : T.placement;
|
|
10720
|
+
if (!A)
|
|
10719
10721
|
switch (h) {
|
|
10720
10722
|
case "bestFit": {
|
|
10721
10723
|
var D;
|
|
10722
10724
|
const _ = (D = N.filter((I) => {
|
|
10723
10725
|
if (S) {
|
|
10724
|
-
const
|
|
10725
|
-
return
|
|
10726
|
+
const Y = $e(I.placement);
|
|
10727
|
+
return Y === w || // Create a bias to the `y` side axis due to horizontal
|
|
10726
10728
|
// reading directions favoring greater width.
|
|
10727
|
-
|
|
10729
|
+
Y === "y";
|
|
10728
10730
|
}
|
|
10729
10731
|
return !0;
|
|
10730
|
-
}).map((I) => [I.placement, I.overflows.filter((
|
|
10731
|
-
_ && (
|
|
10732
|
+
}).map((I) => [I.placement, I.overflows.filter((Y) => Y > 0).reduce((Y, Z) => Y + Z, 0)]).sort((I, Y) => I[1] - Y[1])[0]) == null ? void 0 : D[0];
|
|
10733
|
+
_ && (A = _);
|
|
10732
10734
|
break;
|
|
10733
10735
|
}
|
|
10734
10736
|
case "initialPlacement":
|
|
10735
|
-
|
|
10737
|
+
A = l;
|
|
10736
10738
|
break;
|
|
10737
10739
|
}
|
|
10738
|
-
if (a !==
|
|
10740
|
+
if (a !== A)
|
|
10739
10741
|
return {
|
|
10740
10742
|
reset: {
|
|
10741
|
-
placement:
|
|
10743
|
+
placement: A
|
|
10742
10744
|
}
|
|
10743
10745
|
};
|
|
10744
10746
|
}
|
|
@@ -10751,7 +10753,7 @@ async function el(e, n) {
|
|
|
10751
10753
|
placement: o,
|
|
10752
10754
|
platform: r,
|
|
10753
10755
|
elements: a
|
|
10754
|
-
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(a.floating)), i =
|
|
10756
|
+
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(a.floating)), i = Pe(o), l = dt(o), c = $e(o) === "y", u = Ji.has(i) ? -1 : 1, d = s && c ? -1 : 1, m = _t(n, e);
|
|
10755
10757
|
let {
|
|
10756
10758
|
mainAxis: p,
|
|
10757
10759
|
crossAxis: h,
|
|
@@ -10810,17 +10812,17 @@ const tl = function(e) {
|
|
|
10810
10812
|
apply: c = () => {
|
|
10811
10813
|
},
|
|
10812
10814
|
...u
|
|
10813
|
-
} =
|
|
10815
|
+
} = _t(e, n), d = await Jn(n, u), m = Pe(a), p = dt(a), h = $e(a) === "y", {
|
|
10814
10816
|
width: b,
|
|
10815
10817
|
height: g
|
|
10816
10818
|
} = s.floating;
|
|
10817
10819
|
let x, v;
|
|
10818
10820
|
m === "top" || m === "bottom" ? (x = m, v = p === (await (i.isRTL == null ? void 0 : i.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (v = m, x = p === "end" ? "top" : "bottom");
|
|
10819
|
-
const w = g - d.top - d.bottom, C = b - d.left - d.right, R =
|
|
10821
|
+
const w = g - d.top - d.bottom, C = b - d.left - d.right, R = lt(g - d[x], w), k = lt(b - d[v], C), S = !n.middlewareData.shift;
|
|
10820
10822
|
let M = R, E = k;
|
|
10821
10823
|
if ((o = n.middlewareData.shift) != null && o.enabled.x && (E = C), (r = n.middlewareData.shift) != null && r.enabled.y && (M = w), S && !p) {
|
|
10822
|
-
const N =
|
|
10823
|
-
h ? E = b - 2 * (N !== 0 ||
|
|
10824
|
+
const N = ve(d.left, 0), j = ve(d.right, 0), T = ve(d.top, 0), D = ve(d.bottom, 0);
|
|
10825
|
+
h ? E = b - 2 * (N !== 0 || j !== 0 ? N + j : ve(d.left, d.right)) : M = g - 2 * (T !== 0 || D !== 0 ? T + D : ve(d.top, d.bottom));
|
|
10824
10826
|
}
|
|
10825
10827
|
await c({
|
|
10826
10828
|
...n,
|
|
@@ -10837,9 +10839,9 @@ const tl = function(e) {
|
|
|
10837
10839
|
};
|
|
10838
10840
|
};
|
|
10839
10841
|
function eo(e) {
|
|
10840
|
-
const n =
|
|
10842
|
+
const n = ke(e);
|
|
10841
10843
|
let o = parseFloat(n.width) || 0, r = parseFloat(n.height) || 0;
|
|
10842
|
-
const a = Ne(e), s = a ? e.offsetWidth : o, i = a ? e.offsetHeight : r, l =
|
|
10844
|
+
const a = Ne(e), s = a ? e.offsetWidth : o, i = a ? e.offsetHeight : r, l = Et(o) !== s || Et(r) !== i;
|
|
10843
10845
|
return l && (o = s, r = i), {
|
|
10844
10846
|
width: o,
|
|
10845
10847
|
height: r,
|
|
@@ -10849,7 +10851,7 @@ function eo(e) {
|
|
|
10849
10851
|
function br(e) {
|
|
10850
10852
|
return le(e) ? e : e.contextElement;
|
|
10851
10853
|
}
|
|
10852
|
-
function
|
|
10854
|
+
function Xe(e) {
|
|
10853
10855
|
const n = br(e);
|
|
10854
10856
|
if (!Ne(n))
|
|
10855
10857
|
return we(1);
|
|
@@ -10858,7 +10860,7 @@ function Ye(e) {
|
|
|
10858
10860
|
height: a,
|
|
10859
10861
|
$: s
|
|
10860
10862
|
} = eo(n);
|
|
10861
|
-
let i = (s ?
|
|
10863
|
+
let i = (s ? Et(o.width) : o.width) / r, l = (s ? Et(o.height) : o.height) / a;
|
|
10862
10864
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
10863
10865
|
x: i,
|
|
10864
10866
|
y: l
|
|
@@ -10866,43 +10868,43 @@ function Ye(e) {
|
|
|
10866
10868
|
}
|
|
10867
10869
|
const nl = /* @__PURE__ */ we(0);
|
|
10868
10870
|
function to(e) {
|
|
10869
|
-
const n =
|
|
10871
|
+
const n = ge(e);
|
|
10870
10872
|
return !gr() || !n.visualViewport ? nl : {
|
|
10871
10873
|
x: n.visualViewport.offsetLeft,
|
|
10872
10874
|
y: n.visualViewport.offsetTop
|
|
10873
10875
|
};
|
|
10874
10876
|
}
|
|
10875
10877
|
function ol(e, n, o) {
|
|
10876
|
-
return n === void 0 && (n = !1), !o || n && o !==
|
|
10878
|
+
return n === void 0 && (n = !1), !o || n && o !== ge(e) ? !1 : n;
|
|
10877
10879
|
}
|
|
10878
|
-
function
|
|
10880
|
+
function Ve(e, n, o, r) {
|
|
10879
10881
|
n === void 0 && (n = !1), o === void 0 && (o = !1);
|
|
10880
10882
|
const a = e.getBoundingClientRect(), s = br(e);
|
|
10881
10883
|
let i = we(1);
|
|
10882
|
-
n && (r ? le(r) && (i =
|
|
10884
|
+
n && (r ? le(r) && (i = Xe(r)) : i = Xe(e));
|
|
10883
10885
|
const l = ol(s, o, r) ? to(s) : we(0);
|
|
10884
10886
|
let c = (a.left + l.x) / i.x, u = (a.top + l.y) / i.y, d = a.width / i.x, m = a.height / i.y;
|
|
10885
10887
|
if (s) {
|
|
10886
|
-
const p =
|
|
10888
|
+
const p = ge(s), h = r && le(r) ? ge(r) : r;
|
|
10887
10889
|
let b = p, g = cr(b);
|
|
10888
10890
|
for (; g && r && h !== b; ) {
|
|
10889
|
-
const x =
|
|
10890
|
-
c *= x.x, u *= x.y, d *= x.x, m *= x.y, c += C, u += R, b =
|
|
10891
|
+
const x = Xe(g), v = g.getBoundingClientRect(), w = ke(g), C = v.left + (g.clientLeft + parseFloat(w.paddingLeft)) * x.x, R = v.top + (g.clientTop + parseFloat(w.paddingTop)) * x.y;
|
|
10892
|
+
c *= x.x, u *= x.y, d *= x.x, m *= x.y, c += C, u += R, b = ge(g), g = cr(b);
|
|
10891
10893
|
}
|
|
10892
10894
|
}
|
|
10893
|
-
return
|
|
10895
|
+
return At({
|
|
10894
10896
|
width: d,
|
|
10895
10897
|
height: m,
|
|
10896
10898
|
x: c,
|
|
10897
10899
|
y: u
|
|
10898
10900
|
});
|
|
10899
10901
|
}
|
|
10900
|
-
function
|
|
10901
|
-
const o =
|
|
10902
|
-
return n ? n.left + o :
|
|
10902
|
+
function Dt(e, n) {
|
|
10903
|
+
const o = Tt(e).scrollLeft;
|
|
10904
|
+
return n ? n.left + o : Ve(Ce(e)).left + o;
|
|
10903
10905
|
}
|
|
10904
10906
|
function ro(e, n) {
|
|
10905
|
-
const o = e.getBoundingClientRect(), r = o.left + n.scrollLeft -
|
|
10907
|
+
const o = e.getBoundingClientRect(), r = o.left + n.scrollLeft - Dt(e, o), a = o.top + n.scrollTop;
|
|
10906
10908
|
return {
|
|
10907
10909
|
x: r,
|
|
10908
10910
|
y: a
|
|
@@ -10915,7 +10917,7 @@ function al(e) {
|
|
|
10915
10917
|
offsetParent: r,
|
|
10916
10918
|
strategy: a
|
|
10917
10919
|
} = e;
|
|
10918
|
-
const s = a === "fixed", i = Ce(r), l = n ?
|
|
10920
|
+
const s = a === "fixed", i = Ce(r), l = n ? zt(n.floating) : !1;
|
|
10919
10921
|
if (r === i || l && s)
|
|
10920
10922
|
return o;
|
|
10921
10923
|
let c = {
|
|
@@ -10923,9 +10925,9 @@ function al(e) {
|
|
|
10923
10925
|
scrollTop: 0
|
|
10924
10926
|
}, u = we(1);
|
|
10925
10927
|
const d = we(0), m = Ne(r);
|
|
10926
|
-
if ((m || !m && !s) && ((
|
|
10927
|
-
const h =
|
|
10928
|
-
u =
|
|
10928
|
+
if ((m || !m && !s) && ((tt(r) !== "body" || ct(i)) && (c = Tt(r)), Ne(r))) {
|
|
10929
|
+
const h = Ve(r);
|
|
10930
|
+
u = Xe(r), d.x = h.x + r.clientLeft, d.y = h.y + r.clientTop;
|
|
10929
10931
|
}
|
|
10930
10932
|
const p = i && !m && !s ? ro(i, c) : we(0);
|
|
10931
10933
|
return {
|
|
@@ -10939,10 +10941,10 @@ function sl(e) {
|
|
|
10939
10941
|
return Array.from(e.getClientRects());
|
|
10940
10942
|
}
|
|
10941
10943
|
function il(e) {
|
|
10942
|
-
const n = Ce(e), o =
|
|
10943
|
-
let i = -o.scrollLeft +
|
|
10944
|
+
const n = Ce(e), o = Tt(e), r = e.ownerDocument.body, a = ve(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), s = ve(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
|
|
10945
|
+
let i = -o.scrollLeft + Dt(e);
|
|
10944
10946
|
const l = -o.scrollTop;
|
|
10945
|
-
return
|
|
10947
|
+
return ke(r).direction === "rtl" && (i += ve(n.clientWidth, r.clientWidth) - a), {
|
|
10946
10948
|
width: a,
|
|
10947
10949
|
height: s,
|
|
10948
10950
|
x: i,
|
|
@@ -10951,14 +10953,14 @@ function il(e) {
|
|
|
10951
10953
|
}
|
|
10952
10954
|
const ln = 25;
|
|
10953
10955
|
function ll(e, n) {
|
|
10954
|
-
const o =
|
|
10956
|
+
const o = ge(e), r = Ce(e), a = o.visualViewport;
|
|
10955
10957
|
let s = r.clientWidth, i = r.clientHeight, l = 0, c = 0;
|
|
10956
10958
|
if (a) {
|
|
10957
10959
|
s = a.width, i = a.height;
|
|
10958
10960
|
const d = gr();
|
|
10959
10961
|
(!d || d && n === "fixed") && (l = a.offsetLeft, c = a.offsetTop);
|
|
10960
10962
|
}
|
|
10961
|
-
const u =
|
|
10963
|
+
const u = Dt(r);
|
|
10962
10964
|
if (u <= 0) {
|
|
10963
10965
|
const d = r.ownerDocument, m = d.body, p = getComputedStyle(m), h = d.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, b = Math.abs(r.clientWidth - m.clientWidth - h);
|
|
10964
10966
|
b <= ln && (s -= b);
|
|
@@ -10972,7 +10974,7 @@ function ll(e, n) {
|
|
|
10972
10974
|
}
|
|
10973
10975
|
const cl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
10974
10976
|
function dl(e, n) {
|
|
10975
|
-
const o =
|
|
10977
|
+
const o = Ve(e, !0, n === "fixed"), r = o.top + e.clientTop, a = o.left + e.clientLeft, s = Ne(e) ? Xe(e) : we(1), i = e.clientWidth * s.x, l = e.clientHeight * s.y, c = a * s.x, u = r * s.y;
|
|
10976
10978
|
return {
|
|
10977
10979
|
width: i,
|
|
10978
10980
|
height: l,
|
|
@@ -10997,22 +10999,22 @@ function cn(e, n, o) {
|
|
|
10997
10999
|
height: n.height
|
|
10998
11000
|
};
|
|
10999
11001
|
}
|
|
11000
|
-
return
|
|
11002
|
+
return At(r);
|
|
11001
11003
|
}
|
|
11002
11004
|
function no(e, n) {
|
|
11003
|
-
const o =
|
|
11004
|
-
return o === n || !le(o) ||
|
|
11005
|
+
const o = Oe(e);
|
|
11006
|
+
return o === n || !le(o) || Ye(o) ? !1 : ke(o).position === "fixed" || no(o, n);
|
|
11005
11007
|
}
|
|
11006
11008
|
function ul(e, n) {
|
|
11007
11009
|
const o = n.get(e);
|
|
11008
11010
|
if (o)
|
|
11009
11011
|
return o;
|
|
11010
|
-
let r =
|
|
11011
|
-
const s =
|
|
11012
|
-
let i = s ?
|
|
11013
|
-
for (; le(i) && !
|
|
11014
|
-
const l =
|
|
11015
|
-
!c && l.position === "fixed" && (a = null), (s ? !c && !a : !c && l.position === "static" && !!a && cl.has(a.position) ||
|
|
11012
|
+
let r = it(e, [], !1).filter((l) => le(l) && tt(l) !== "body"), a = null;
|
|
11013
|
+
const s = ke(e).position === "fixed";
|
|
11014
|
+
let i = s ? Oe(e) : e;
|
|
11015
|
+
for (; le(i) && !Ye(i); ) {
|
|
11016
|
+
const l = ke(i), c = hr(i);
|
|
11017
|
+
!c && l.position === "fixed" && (a = null), (s ? !c && !a : !c && l.position === "static" && !!a && cl.has(a.position) || ct(i) && !c && no(e, i)) ? r = r.filter((d) => d !== i) : a = l, i = Oe(i);
|
|
11016
11018
|
}
|
|
11017
11019
|
return n.set(e, r), r;
|
|
11018
11020
|
}
|
|
@@ -11023,9 +11025,9 @@ function fl(e) {
|
|
|
11023
11025
|
rootBoundary: r,
|
|
11024
11026
|
strategy: a
|
|
11025
11027
|
} = e;
|
|
11026
|
-
const i = [...o === "clippingAncestors" ?
|
|
11028
|
+
const i = [...o === "clippingAncestors" ? zt(n) ? [] : ul(n, this._c) : [].concat(o), r], l = i[0], c = i.reduce((u, d) => {
|
|
11027
11029
|
const m = cn(n, d, a);
|
|
11028
|
-
return u.top =
|
|
11030
|
+
return u.top = ve(m.top, u.top), u.right = lt(m.right, u.right), u.bottom = lt(m.bottom, u.bottom), u.left = ve(m.left, u.left), u;
|
|
11029
11031
|
}, cn(n, l, a));
|
|
11030
11032
|
return {
|
|
11031
11033
|
width: c.right - c.left,
|
|
@@ -11045,18 +11047,18 @@ function ml(e) {
|
|
|
11045
11047
|
};
|
|
11046
11048
|
}
|
|
11047
11049
|
function pl(e, n, o) {
|
|
11048
|
-
const r = Ne(n), a = Ce(n), s = o === "fixed", i =
|
|
11050
|
+
const r = Ne(n), a = Ce(n), s = o === "fixed", i = Ve(e, !0, s, n);
|
|
11049
11051
|
let l = {
|
|
11050
11052
|
scrollLeft: 0,
|
|
11051
11053
|
scrollTop: 0
|
|
11052
11054
|
};
|
|
11053
11055
|
const c = we(0);
|
|
11054
11056
|
function u() {
|
|
11055
|
-
c.x =
|
|
11057
|
+
c.x = Dt(a);
|
|
11056
11058
|
}
|
|
11057
11059
|
if (r || !r && !s)
|
|
11058
|
-
if ((
|
|
11059
|
-
const h =
|
|
11060
|
+
if ((tt(n) !== "body" || ct(a)) && (l = Tt(n)), r) {
|
|
11061
|
+
const h = Ve(n, !0, s, n);
|
|
11060
11062
|
c.x = h.x + n.clientLeft, c.y = h.y + n.clientTop;
|
|
11061
11063
|
} else a && u();
|
|
11062
11064
|
s && !r && a && u();
|
|
@@ -11069,10 +11071,10 @@ function pl(e, n, o) {
|
|
|
11069
11071
|
};
|
|
11070
11072
|
}
|
|
11071
11073
|
function or(e) {
|
|
11072
|
-
return
|
|
11074
|
+
return ke(e).position === "static";
|
|
11073
11075
|
}
|
|
11074
11076
|
function dn(e, n) {
|
|
11075
|
-
if (!Ne(e) ||
|
|
11077
|
+
if (!Ne(e) || ke(e).position === "fixed")
|
|
11076
11078
|
return null;
|
|
11077
11079
|
if (n)
|
|
11078
11080
|
return n(e);
|
|
@@ -11080,22 +11082,22 @@ function dn(e, n) {
|
|
|
11080
11082
|
return Ce(e) === o && (o = o.ownerDocument.body), o;
|
|
11081
11083
|
}
|
|
11082
11084
|
function oo(e, n) {
|
|
11083
|
-
const o =
|
|
11084
|
-
if (
|
|
11085
|
+
const o = ge(e);
|
|
11086
|
+
if (zt(e))
|
|
11085
11087
|
return o;
|
|
11086
11088
|
if (!Ne(e)) {
|
|
11087
|
-
let a =
|
|
11088
|
-
for (; a && !
|
|
11089
|
+
let a = Oe(e);
|
|
11090
|
+
for (; a && !Ye(a); ) {
|
|
11089
11091
|
if (le(a) && !or(a))
|
|
11090
11092
|
return a;
|
|
11091
|
-
a =
|
|
11093
|
+
a = Oe(a);
|
|
11092
11094
|
}
|
|
11093
11095
|
return o;
|
|
11094
11096
|
}
|
|
11095
11097
|
let r = dn(e, n);
|
|
11096
11098
|
for (; r && Ri(r) && or(r); )
|
|
11097
11099
|
r = dn(r, n);
|
|
11098
|
-
return r &&
|
|
11100
|
+
return r && Ye(r) && or(r) && !hr(r) ? o : r || Mi(e) || o;
|
|
11099
11101
|
}
|
|
11100
11102
|
const hl = async function(e) {
|
|
11101
11103
|
const n = this.getOffsetParent || oo, o = this.getDimensions, r = await o(e.floating);
|
|
@@ -11110,7 +11112,7 @@ const hl = async function(e) {
|
|
|
11110
11112
|
};
|
|
11111
11113
|
};
|
|
11112
11114
|
function gl(e) {
|
|
11113
|
-
return
|
|
11115
|
+
return ke(e).direction === "rtl";
|
|
11114
11116
|
}
|
|
11115
11117
|
const bl = {
|
|
11116
11118
|
convertOffsetParentRelativeRectToViewportRelativeRect: al,
|
|
@@ -11120,7 +11122,7 @@ const bl = {
|
|
|
11120
11122
|
getElementRects: hl,
|
|
11121
11123
|
getClientRects: sl,
|
|
11122
11124
|
getDimensions: ml,
|
|
11123
|
-
getScale:
|
|
11125
|
+
getScale: Xe,
|
|
11124
11126
|
isElement: le,
|
|
11125
11127
|
isRTL: gl
|
|
11126
11128
|
};
|
|
@@ -11144,9 +11146,9 @@ function xl(e, n) {
|
|
|
11144
11146
|
} = u;
|
|
11145
11147
|
if (l || n(), !p || !h)
|
|
11146
11148
|
return;
|
|
11147
|
-
const b =
|
|
11149
|
+
const b = St(m), g = St(a.clientWidth - (d + p)), x = St(a.clientHeight - (m + h)), v = St(d), C = {
|
|
11148
11150
|
rootMargin: -b + "px " + -g + "px " + -x + "px " + -v + "px",
|
|
11149
|
-
threshold:
|
|
11151
|
+
threshold: ve(0, lt(1, c)) || 1
|
|
11150
11152
|
};
|
|
11151
11153
|
let R = !0;
|
|
11152
11154
|
function k(S) {
|
|
@@ -11181,7 +11183,7 @@ function vl(e, n, o, r) {
|
|
|
11181
11183
|
elementResize: i = typeof ResizeObserver == "function",
|
|
11182
11184
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
11183
11185
|
animationFrame: c = !1
|
|
11184
|
-
} = r, u = br(e), d = a || s ? [...u ?
|
|
11186
|
+
} = r, u = br(e), d = a || s ? [...u ? it(u) : [], ...it(n)] : [];
|
|
11185
11187
|
d.forEach((v) => {
|
|
11186
11188
|
a && v.addEventListener("scroll", o, {
|
|
11187
11189
|
passive: !0
|
|
@@ -11196,10 +11198,10 @@ function vl(e, n, o, r) {
|
|
|
11196
11198
|
(C = h) == null || C.observe(n);
|
|
11197
11199
|
})), o();
|
|
11198
11200
|
}), u && !c && h.observe(u), h.observe(n));
|
|
11199
|
-
let b, g = c ?
|
|
11201
|
+
let b, g = c ? Ve(e) : null;
|
|
11200
11202
|
c && x();
|
|
11201
11203
|
function x() {
|
|
11202
|
-
const v =
|
|
11204
|
+
const v = Ve(e);
|
|
11203
11205
|
g && !ao(g, v) && o(), g = v, b = requestAnimationFrame(x);
|
|
11204
11206
|
}
|
|
11205
11207
|
return o(), () => {
|
|
@@ -11223,8 +11225,8 @@ const yl = tl, kl = Qi, wl = rl, Nl = (e, n, o) => {
|
|
|
11223
11225
|
});
|
|
11224
11226
|
};
|
|
11225
11227
|
var Cl = typeof document < "u", Sl = function() {
|
|
11226
|
-
},
|
|
11227
|
-
function
|
|
11228
|
+
}, Rt = Cl ? wn : Sl;
|
|
11229
|
+
function Mt(e, n) {
|
|
11228
11230
|
if (e === n)
|
|
11229
11231
|
return !0;
|
|
11230
11232
|
if (typeof e != typeof n)
|
|
@@ -11236,7 +11238,7 @@ function Lt(e, n) {
|
|
|
11236
11238
|
if (Array.isArray(e)) {
|
|
11237
11239
|
if (o = e.length, o !== n.length) return !1;
|
|
11238
11240
|
for (r = o; r-- !== 0; )
|
|
11239
|
-
if (!
|
|
11241
|
+
if (!Mt(e[r], n[r]))
|
|
11240
11242
|
return !1;
|
|
11241
11243
|
return !0;
|
|
11242
11244
|
}
|
|
@@ -11247,7 +11249,7 @@ function Lt(e, n) {
|
|
|
11247
11249
|
return !1;
|
|
11248
11250
|
for (r = o; r-- !== 0; ) {
|
|
11249
11251
|
const s = a[r];
|
|
11250
|
-
if (!(s === "_owner" && e.$$typeof) && !
|
|
11252
|
+
if (!(s === "_owner" && e.$$typeof) && !Mt(e[s], n[s]))
|
|
11251
11253
|
return !1;
|
|
11252
11254
|
}
|
|
11253
11255
|
return !0;
|
|
@@ -11263,7 +11265,7 @@ function un(e, n) {
|
|
|
11263
11265
|
}
|
|
11264
11266
|
function ar(e) {
|
|
11265
11267
|
const n = L.useRef(e);
|
|
11266
|
-
return
|
|
11268
|
+
return Rt(() => {
|
|
11267
11269
|
n.current = e;
|
|
11268
11270
|
}), n;
|
|
11269
11271
|
}
|
|
@@ -11289,12 +11291,12 @@ function Rl(e) {
|
|
|
11289
11291
|
middlewareData: {},
|
|
11290
11292
|
isPositioned: !1
|
|
11291
11293
|
}), [p, h] = L.useState(r);
|
|
11292
|
-
|
|
11294
|
+
Mt(p, r) || h(r);
|
|
11293
11295
|
const [b, g] = L.useState(null), [x, v] = L.useState(null), w = L.useCallback((I) => {
|
|
11294
11296
|
I !== S.current && (S.current = I, g(I));
|
|
11295
11297
|
}, []), C = L.useCallback((I) => {
|
|
11296
11298
|
I !== M.current && (M.current = I, v(I));
|
|
11297
|
-
}, []), R = s || b, k = i || x, S = L.useRef(null), M = L.useRef(null), E = L.useRef(d), y = c != null, N = ar(c),
|
|
11299
|
+
}, []), R = s || b, k = i || x, S = L.useRef(null), M = L.useRef(null), E = L.useRef(d), y = c != null, N = ar(c), j = ar(a), T = ar(u), D = L.useCallback(() => {
|
|
11298
11300
|
if (!S.current || !M.current)
|
|
11299
11301
|
return;
|
|
11300
11302
|
const I = {
|
|
@@ -11302,30 +11304,30 @@ function Rl(e) {
|
|
|
11302
11304
|
strategy: o,
|
|
11303
11305
|
middleware: p
|
|
11304
11306
|
};
|
|
11305
|
-
|
|
11307
|
+
j.current && (I.platform = j.current), Nl(S.current, M.current, I).then((Y) => {
|
|
11306
11308
|
const Z = {
|
|
11307
|
-
...
|
|
11309
|
+
...Y,
|
|
11308
11310
|
// The floating element's position may be recomputed while it's closed
|
|
11309
11311
|
// but still mounted (such as when transitioning out). To ensure
|
|
11310
11312
|
// `isPositioned` will be `false` initially on the next open, avoid
|
|
11311
11313
|
// setting it to `true` when `open === false` (must be specified).
|
|
11312
11314
|
isPositioned: T.current !== !1
|
|
11313
11315
|
};
|
|
11314
|
-
|
|
11316
|
+
U.current && !Mt(E.current, Z) && (E.current = Z, $o.flushSync(() => {
|
|
11315
11317
|
m(Z);
|
|
11316
11318
|
}));
|
|
11317
11319
|
});
|
|
11318
|
-
}, [p, n, o,
|
|
11319
|
-
|
|
11320
|
+
}, [p, n, o, j, T]);
|
|
11321
|
+
Rt(() => {
|
|
11320
11322
|
u === !1 && E.current.isPositioned && (E.current.isPositioned = !1, m((I) => ({
|
|
11321
11323
|
...I,
|
|
11322
11324
|
isPositioned: !1
|
|
11323
11325
|
})));
|
|
11324
11326
|
}, [u]);
|
|
11325
|
-
const
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
}), []),
|
|
11327
|
+
const U = L.useRef(!1);
|
|
11328
|
+
Rt(() => (U.current = !0, () => {
|
|
11329
|
+
U.current = !1;
|
|
11330
|
+
}), []), Rt(() => {
|
|
11329
11331
|
if (R && (S.current = R), k && (M.current = k), R && k) {
|
|
11330
11332
|
if (N.current)
|
|
11331
11333
|
return N.current(R, k, D);
|
|
@@ -11337,7 +11339,7 @@ function Rl(e) {
|
|
|
11337
11339
|
floating: M,
|
|
11338
11340
|
setReference: w,
|
|
11339
11341
|
setFloating: C
|
|
11340
|
-
}), [w, C]),
|
|
11342
|
+
}), [w, C]), A = L.useMemo(() => ({
|
|
11341
11343
|
reference: R,
|
|
11342
11344
|
floating: k
|
|
11343
11345
|
}), [R, k]), _ = L.useMemo(() => {
|
|
@@ -11346,28 +11348,28 @@ function Rl(e) {
|
|
|
11346
11348
|
left: 0,
|
|
11347
11349
|
top: 0
|
|
11348
11350
|
};
|
|
11349
|
-
if (!
|
|
11351
|
+
if (!A.floating)
|
|
11350
11352
|
return I;
|
|
11351
|
-
const
|
|
11353
|
+
const Y = un(A.floating, d.x), Z = un(A.floating, d.y);
|
|
11352
11354
|
return l ? {
|
|
11353
11355
|
...I,
|
|
11354
|
-
transform: "translate(" +
|
|
11355
|
-
...so(
|
|
11356
|
+
transform: "translate(" + Y + "px, " + Z + "px)",
|
|
11357
|
+
...so(A.floating) >= 1.5 && {
|
|
11356
11358
|
willChange: "transform"
|
|
11357
11359
|
}
|
|
11358
11360
|
} : {
|
|
11359
11361
|
position: o,
|
|
11360
|
-
left:
|
|
11362
|
+
left: Y,
|
|
11361
11363
|
top: Z
|
|
11362
11364
|
};
|
|
11363
|
-
}, [o, l,
|
|
11365
|
+
}, [o, l, A.floating, d.x, d.y]);
|
|
11364
11366
|
return L.useMemo(() => ({
|
|
11365
11367
|
...d,
|
|
11366
11368
|
update: D,
|
|
11367
11369
|
refs: P,
|
|
11368
|
-
elements:
|
|
11370
|
+
elements: A,
|
|
11369
11371
|
floatingStyles: _
|
|
11370
|
-
}), [d, D, P,
|
|
11372
|
+
}), [d, D, P, A, _]);
|
|
11371
11373
|
}
|
|
11372
11374
|
const Il = (e, n) => ({
|
|
11373
11375
|
...yl(e),
|
|
@@ -11552,7 +11554,7 @@ function Zl({
|
|
|
11552
11554
|
context: s
|
|
11553
11555
|
};
|
|
11554
11556
|
}
|
|
11555
|
-
function
|
|
11557
|
+
function Ge(e, n, o) {
|
|
11556
11558
|
let r = o.initialDeps ?? [], a, s = !0;
|
|
11557
11559
|
function i() {
|
|
11558
11560
|
var l, c, u;
|
|
@@ -11741,7 +11743,7 @@ class Ql {
|
|
|
11741
11743
|
}, this.notify = (o) => {
|
|
11742
11744
|
var r, a;
|
|
11743
11745
|
(a = (r = this.options).onChange) == null || a.call(r, this, o);
|
|
11744
|
-
}, this.maybeNotify =
|
|
11746
|
+
}, this.maybeNotify = Ge(
|
|
11745
11747
|
() => (this.calculateRange(), [
|
|
11746
11748
|
this.isScrolling,
|
|
11747
11749
|
this.range ? this.range.startIndex : null,
|
|
@@ -11799,7 +11801,7 @@ class Ql {
|
|
|
11799
11801
|
break;
|
|
11800
11802
|
}
|
|
11801
11803
|
return s.size === this.options.lanes ? Array.from(s.values()).sort((i, l) => i.end === l.end ? i.index - l.index : i.end - l.end)[0] : void 0;
|
|
11802
|
-
}, this.getMeasurementOptions =
|
|
11804
|
+
}, this.getMeasurementOptions = Ge(
|
|
11803
11805
|
() => [
|
|
11804
11806
|
this.options.count,
|
|
11805
11807
|
this.options.paddingStart,
|
|
@@ -11819,7 +11821,7 @@ class Ql {
|
|
|
11819
11821
|
{
|
|
11820
11822
|
key: !1
|
|
11821
11823
|
}
|
|
11822
|
-
), this.getMeasurements =
|
|
11824
|
+
), this.getMeasurements = Ge(
|
|
11823
11825
|
() => [this.getMeasurementOptions(), this.itemSizeCache],
|
|
11824
11826
|
({ count: o, paddingStart: r, scrollMargin: a, getItemKey: s, enabled: i, lanes: l }, c) => {
|
|
11825
11827
|
if (!i)
|
|
@@ -11866,7 +11868,7 @@ class Ql {
|
|
|
11866
11868
|
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
11867
11869
|
debug: () => this.options.debug
|
|
11868
11870
|
}
|
|
11869
|
-
), this.calculateRange =
|
|
11871
|
+
), this.calculateRange = Ge(
|
|
11870
11872
|
() => [
|
|
11871
11873
|
this.getMeasurements(),
|
|
11872
11874
|
this.getSize(),
|
|
@@ -11883,7 +11885,7 @@ class Ql {
|
|
|
11883
11885
|
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
11884
11886
|
debug: () => this.options.debug
|
|
11885
11887
|
}
|
|
11886
|
-
), this.getVirtualIndexes =
|
|
11888
|
+
), this.getVirtualIndexes = Ge(
|
|
11887
11889
|
() => {
|
|
11888
11890
|
let o = null, r = null;
|
|
11889
11891
|
const a = this.calculateRange();
|
|
@@ -11933,7 +11935,7 @@ class Ql {
|
|
|
11933
11935
|
return;
|
|
11934
11936
|
}
|
|
11935
11937
|
this._measureElement(o, void 0);
|
|
11936
|
-
}, this.getVirtualItems =
|
|
11938
|
+
}, this.getVirtualItems = Ge(
|
|
11937
11939
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
11938
11940
|
(o, r) => {
|
|
11939
11941
|
const a = [];
|
|
@@ -12165,7 +12167,7 @@ const ac = fe(function({ value: n, onChange: o, placeholder: r = "Search...", cl
|
|
|
12165
12167
|
const c = te(() => {
|
|
12166
12168
|
o("");
|
|
12167
12169
|
}, [o]);
|
|
12168
|
-
return /* @__PURE__ */ f("div", { className:
|
|
12170
|
+
return /* @__PURE__ */ f("div", { className: st("lookup-field__search-container", a), children: [
|
|
12169
12171
|
/* @__PURE__ */ t(rs, { className: "lookup-field__search-icon" }),
|
|
12170
12172
|
/* @__PURE__ */ t(
|
|
12171
12173
|
"input",
|
|
@@ -12227,67 +12229,67 @@ function dc({
|
|
|
12227
12229
|
onFocus: E,
|
|
12228
12230
|
onBlur: y,
|
|
12229
12231
|
onReady: N,
|
|
12230
|
-
onInvalidValue:
|
|
12232
|
+
onInvalidValue: j,
|
|
12231
12233
|
noResultsText: T,
|
|
12232
12234
|
searchPlaceholder: D,
|
|
12233
|
-
required:
|
|
12235
|
+
required: U = !1,
|
|
12234
12236
|
showRequiredIndicator: P,
|
|
12235
|
-
validateOnBlur:
|
|
12237
|
+
validateOnBlur: A = !0,
|
|
12236
12238
|
onValidationChange: _,
|
|
12237
12239
|
errorText: I
|
|
12238
|
-
},
|
|
12239
|
-
const { t: Z } = wi(),
|
|
12240
|
+
}, Y) {
|
|
12241
|
+
const { t: Z } = wi(), pe = Ke(
|
|
12240
12242
|
() => C ?? {
|
|
12241
12243
|
field: o[0],
|
|
12242
12244
|
direction: "asc"
|
|
12243
12245
|
},
|
|
12244
12246
|
[C, o]
|
|
12245
|
-
), H = Mo(), [
|
|
12246
|
-
|
|
12247
|
-
const
|
|
12247
|
+
), H = Mo(), [B, K] = z(!1), [ce, Fe] = z(!1), [ee, Be] = z(null), [oe, be] = z([]), [de, se] = z(null), [Pt, X] = z(1), [ie, me] = z(!0), [je, rt] = z(!1), Se = q(null), xe = q(null), xr = q(JSON.stringify(w ?? [])), Ae = q(null), Vt = q(null), ut = q(null), [Ze, ze] = z(""), Re = Ys(Ze), [co, ye] = z(""), vr = q(!1), he = q(null);
|
|
12248
|
+
he.current = de;
|
|
12249
|
+
const He = q(null), nt = q(!1), yr = q(j);
|
|
12248
12250
|
Q(() => {
|
|
12249
|
-
yr.current =
|
|
12250
|
-
}, [
|
|
12251
|
+
yr.current = j;
|
|
12252
|
+
}, [j]);
|
|
12251
12253
|
const uo = te(() => {
|
|
12252
|
-
|
|
12253
|
-
}, [
|
|
12254
|
-
Ni(
|
|
12254
|
+
B && (nt.current && (nt.current = !1, y?.(he.current)), K(!1), ze(""));
|
|
12255
|
+
}, [B, y]);
|
|
12256
|
+
Ni(He, uo, B);
|
|
12255
12257
|
const { refs: kr, floatingStyles: fo } = Zl({
|
|
12256
|
-
enabled:
|
|
12258
|
+
enabled: B
|
|
12257
12259
|
}), { virtualItems: wr, totalSize: mo } = oc({
|
|
12258
12260
|
count: oe.length,
|
|
12259
|
-
parentRef:
|
|
12260
|
-
enabled:
|
|
12261
|
-
}), [
|
|
12261
|
+
parentRef: Ae,
|
|
12262
|
+
enabled: B && oe.length > 0
|
|
12263
|
+
}), [ft, Ie] = z(!1), [Nr, mt] = z(!1), [Ft, po] = z([]), [Cr, ho] = z(0), [Zt, go] = z(1), [Sr, Ht] = z(!1), Rr = q(""), Wt = q(!1), We = q(1), Ir = M || Nr, bo = P ?? U, ot = q(_);
|
|
12262
12264
|
Q(() => {
|
|
12263
|
-
|
|
12265
|
+
ot.current = _;
|
|
12264
12266
|
}, [_]);
|
|
12265
|
-
const
|
|
12267
|
+
const pt = te(() => Yr(v ? v() : x), [x, v]), ht = te(
|
|
12266
12268
|
async (V = "") => {
|
|
12267
|
-
|
|
12269
|
+
Se.current && Se.current.abort();
|
|
12268
12270
|
const F = new AbortController();
|
|
12269
|
-
|
|
12271
|
+
Se.current = F;
|
|
12270
12272
|
try {
|
|
12271
|
-
|
|
12272
|
-
const G =
|
|
12273
|
+
Fe(!0), Be(null), ye(Z("announcements.loading"));
|
|
12274
|
+
const G = pt(), J = [.../* @__PURE__ */ new Set(["Id", ...o, ...R ?? []])], ue = await s(e, {
|
|
12273
12275
|
fields: J,
|
|
12274
12276
|
search: V.length >= p ? V : "",
|
|
12275
12277
|
searchFields: m ?? o,
|
|
12276
12278
|
page: 1,
|
|
12277
12279
|
pageSize: u,
|
|
12278
12280
|
filters: G,
|
|
12279
|
-
orderBy:
|
|
12281
|
+
orderBy: pe
|
|
12280
12282
|
});
|
|
12281
12283
|
if (F.signal.aborted) return;
|
|
12282
|
-
|
|
12284
|
+
be(ue.data), !vr.current && N && (vr.current = !0, setTimeout(() => {
|
|
12283
12285
|
N({ firstPageLoaded: !0 }, Kt);
|
|
12284
|
-
}, 0)), ue.data.length === 0 ?
|
|
12286
|
+
}, 0)), ue.data.length === 0 ? ye(Z("announcements.noResults")) : ye(Z("announcements.opened", { count: ue.data.length })), ue.data.length < u && me(!1);
|
|
12285
12287
|
} catch (G) {
|
|
12286
12288
|
if (G instanceof Error && G.name === "AbortError") return;
|
|
12287
12289
|
const J = G instanceof Error ? G : new Error("Unknown error");
|
|
12288
|
-
|
|
12290
|
+
Be(J), d?.(J);
|
|
12289
12291
|
} finally {
|
|
12290
|
-
F.signal.aborted ||
|
|
12292
|
+
F.signal.aborted || Fe(!1);
|
|
12291
12293
|
}
|
|
12292
12294
|
},
|
|
12293
12295
|
// Note: imperativeRef is accessed via closure, not dependency, to avoid circular dep
|
|
@@ -12301,32 +12303,32 @@ function dc({
|
|
|
12301
12303
|
p,
|
|
12302
12304
|
d,
|
|
12303
12305
|
N,
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
+
pt,
|
|
12307
|
+
pe,
|
|
12306
12308
|
s
|
|
12307
12309
|
]
|
|
12308
12310
|
), Er = te(
|
|
12309
12311
|
async (V = "") => {
|
|
12310
|
-
if (Wt.current ||
|
|
12311
|
-
const F =
|
|
12312
|
+
if (Wt.current || je || !ie) return;
|
|
12313
|
+
const F = We.current;
|
|
12312
12314
|
try {
|
|
12313
|
-
|
|
12314
|
-
const G =
|
|
12315
|
+
rt(!0), ye(Z("announcements.loadingMore"));
|
|
12316
|
+
const G = pt(), J = F + 1, ue = [.../* @__PURE__ */ new Set(["Id", ...o, ...R ?? []])], Jt = await s(e, {
|
|
12315
12317
|
fields: ue,
|
|
12316
12318
|
search: V.length >= p ? V : "",
|
|
12317
12319
|
searchFields: m ?? o,
|
|
12318
12320
|
page: J,
|
|
12319
12321
|
pageSize: u,
|
|
12320
12322
|
filters: G,
|
|
12321
|
-
orderBy:
|
|
12323
|
+
orderBy: pe
|
|
12322
12324
|
});
|
|
12323
|
-
|
|
12325
|
+
be((Ao) => [...Ao, ...Jt.data]), We.current = J, X(J), ye(Z("announcements.resultsLoaded", { count: Jt.data.length })), Jt.data.length < u && me(!1);
|
|
12324
12326
|
} catch (G) {
|
|
12325
12327
|
if (G instanceof Error && G.name === "AbortError") return;
|
|
12326
12328
|
const J = G instanceof Error ? G : new Error("Unknown error");
|
|
12327
12329
|
d?.(J);
|
|
12328
12330
|
} finally {
|
|
12329
|
-
|
|
12331
|
+
rt(!1);
|
|
12330
12332
|
}
|
|
12331
12333
|
},
|
|
12332
12334
|
[
|
|
@@ -12337,15 +12339,15 @@ function dc({
|
|
|
12337
12339
|
u,
|
|
12338
12340
|
p,
|
|
12339
12341
|
// Note: currentPage removed - using currentPageRef instead for immediate updates
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
+
je,
|
|
12343
|
+
ie,
|
|
12342
12344
|
d,
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
+
pt,
|
|
12346
|
+
pe,
|
|
12345
12347
|
s,
|
|
12346
12348
|
Z
|
|
12347
12349
|
]
|
|
12348
|
-
),
|
|
12350
|
+
), gt = te(
|
|
12349
12351
|
async (V) => {
|
|
12350
12352
|
try {
|
|
12351
12353
|
const F = [.../* @__PURE__ */ new Set(["Id", ...o, ...R ?? []])];
|
|
@@ -12362,56 +12364,56 @@ function dc({
|
|
|
12362
12364
|
}
|
|
12363
12365
|
},
|
|
12364
12366
|
[e, o, R, s]
|
|
12365
|
-
),
|
|
12366
|
-
const V =
|
|
12367
|
-
if (!V ||
|
|
12367
|
+
), bt = te(() => S || k ? (mt(!1), ot.current?.(!0), !0) : U && !he.current ? (mt(!0), ot.current?.(!1), !1) : (mt(!1), ot.current?.(!0), !0), [U, k, S]), xo = te(() => {
|
|
12368
|
+
const V = Ae.current;
|
|
12369
|
+
if (!V || je || !ie) return;
|
|
12368
12370
|
const { scrollTop: F, scrollHeight: G, clientHeight: J } = V;
|
|
12369
|
-
G - F - J < lc && Er(
|
|
12370
|
-
}, [
|
|
12371
|
+
G - F - J < lc && Er(Re);
|
|
12372
|
+
}, [je, ie, Er, Re]);
|
|
12371
12373
|
Q(() => {
|
|
12372
|
-
|
|
12373
|
-
}, [
|
|
12374
|
-
|
|
12375
|
-
|
|
12374
|
+
B && Vt.current && Vt.current.focus();
|
|
12375
|
+
}, [B]), Q(() => {
|
|
12376
|
+
B && (Re.length === 0 || Re.length >= p) && (Sr && Rr.current === Re && Ft.length > 0 ? (Wt.current = !0, be(Ft), We.current = Zt, X(Zt), me(!0), requestAnimationFrame(() => {
|
|
12377
|
+
Ae.current && (Ae.current.scrollTop = Cr), setTimeout(() => {
|
|
12376
12378
|
Wt.current = !1;
|
|
12377
12379
|
}, 0);
|
|
12378
|
-
})) : (
|
|
12380
|
+
})) : (We.current = 1, X(1), me(!0), be([]), ht(Re)));
|
|
12379
12381
|
}, [
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12382
|
+
B,
|
|
12383
|
+
Re,
|
|
12384
|
+
ht,
|
|
12383
12385
|
p,
|
|
12384
12386
|
Sr,
|
|
12385
12387
|
Ft,
|
|
12386
12388
|
Zt,
|
|
12387
12389
|
Cr
|
|
12388
|
-
]), Q(() => (
|
|
12389
|
-
|
|
12390
|
-
}), [
|
|
12391
|
-
const Ut = q(void 0), jr = q(
|
|
12392
|
-
jr.current =
|
|
12390
|
+
]), Q(() => (B || (ze(""), We.current = 1, X(1), me(!0), rt(!1)), () => {
|
|
12391
|
+
Se.current && Se.current.abort();
|
|
12392
|
+
}), [B]);
|
|
12393
|
+
const Ut = q(void 0), jr = q(gt);
|
|
12394
|
+
jr.current = gt;
|
|
12393
12395
|
const Ar = q(0);
|
|
12394
12396
|
Q(() => {
|
|
12395
12397
|
const F = Ut.current === void 0 || Ut.current !== r;
|
|
12396
12398
|
if (Ut.current = r, r === null) {
|
|
12397
|
-
|
|
12399
|
+
Ie(!1);
|
|
12398
12400
|
return;
|
|
12399
12401
|
}
|
|
12400
12402
|
if (!F)
|
|
12401
12403
|
return;
|
|
12402
12404
|
const G = ++Ar.current;
|
|
12403
12405
|
jr.current(r).then((J) => {
|
|
12404
|
-
Ar.current === G && (J ? (
|
|
12406
|
+
Ar.current === G && (J ? (se(J), Ie(!1)) : (Ie(!0), se(null), yr.current?.(r)));
|
|
12405
12407
|
});
|
|
12406
12408
|
}, [r]);
|
|
12407
12409
|
const Gt = JSON.stringify(w ?? []);
|
|
12408
12410
|
Q(() => {
|
|
12409
|
-
xr.current !== Gt && (xr.current = Gt,
|
|
12411
|
+
xr.current !== Gt && (xr.current = Gt, Se.current && Se.current.abort(), Ht(!1), be([]), se(null), We.current = 1, X(1), me(!0), K(!1), ze(""));
|
|
12410
12412
|
}, [Gt]);
|
|
12411
|
-
const
|
|
12413
|
+
const xt = JSON.stringify(x ?? []), Mr = q(xt);
|
|
12412
12414
|
Q(() => {
|
|
12413
|
-
Mr.current !==
|
|
12414
|
-
}, [
|
|
12415
|
+
Mr.current !== xt && (Mr.current = xt, Ht(!1));
|
|
12416
|
+
}, [xt]);
|
|
12415
12417
|
const Lr = te(
|
|
12416
12418
|
(V) => {
|
|
12417
12419
|
if (g)
|
|
@@ -12431,77 +12433,77 @@ function dc({
|
|
|
12431
12433
|
), vo = () => {
|
|
12432
12434
|
S || k || K((V) => !V);
|
|
12433
12435
|
}, $r = (V) => o.map((F) => String(V[F] ?? "")).join(" - "), qt = (V) => {
|
|
12434
|
-
|
|
12436
|
+
xe.current = de, se(V), he.current = V, Ie(!1), Nr && (mt(!1), ot.current?.(!0)), po(oe), ho(Ae.current?.scrollTop ?? 0), go(Pt), Rr.current = Ze, Ht(!0), a(V, xe.current), ze(""), K(!1), Be(null), Yt.current = !0, ut.current?.focus();
|
|
12435
12437
|
const F = Lr(V);
|
|
12436
|
-
|
|
12438
|
+
ye(Z("announcements.selected", { value: F }));
|
|
12437
12439
|
}, yo = (V) => {
|
|
12438
|
-
V.stopPropagation(),
|
|
12440
|
+
V.stopPropagation(), xe.current = de, se(null), he.current = null, Ie(!1), a(null, xe.current), ye(Z("announcements.cleared"));
|
|
12439
12441
|
}, Or = te(() => {
|
|
12440
|
-
!
|
|
12441
|
-
}, [
|
|
12442
|
-
Qt.current = !0, K(!1),
|
|
12443
|
-
if (!
|
|
12444
|
-
const F = Array.from(document.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')), G = F.findIndex((ue) =>
|
|
12442
|
+
!he.current && !ft || (xe.current = he.current, se(null), he.current = null, Ie(!1), a(null, xe.current), ye(Z("announcements.cleared")));
|
|
12443
|
+
}, [ft, a, Z]), ko = te(() => {
|
|
12444
|
+
Qt.current = !0, K(!1), ze(""), ye(Z("announcements.closed")), setTimeout(() => {
|
|
12445
|
+
if (!He.current) return;
|
|
12446
|
+
const F = Array.from(document.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')), G = F.findIndex((ue) => He.current?.contains(ue));
|
|
12445
12447
|
let J = null;
|
|
12446
12448
|
for (let ue = G + 1; ue < F.length; ue++)
|
|
12447
|
-
if (!
|
|
12449
|
+
if (!He.current?.contains(F[ue])) {
|
|
12448
12450
|
J = F[ue];
|
|
12449
12451
|
break;
|
|
12450
12452
|
}
|
|
12451
12453
|
J && J.focus();
|
|
12452
12454
|
}, 0);
|
|
12453
12455
|
}, [Z]), wo = te(() => {
|
|
12454
|
-
K(!1),
|
|
12456
|
+
K(!1), ze(""), ye(Z("announcements.closed")), ut.current?.focus();
|
|
12455
12457
|
}, [Z]), Br = te(() => {
|
|
12456
|
-
|
|
12457
|
-
}, [a, Z]), Kt =
|
|
12458
|
+
xe.current = he.current, se(null), Ie(!1), a(null, xe.current), ye(Z("announcements.cleared"));
|
|
12459
|
+
}, [a, Z]), Kt = Ke(
|
|
12458
12460
|
() => ({
|
|
12459
12461
|
clear: Br,
|
|
12460
|
-
focus: () =>
|
|
12461
|
-
reload: () =>
|
|
12462
|
-
getValue: () =>
|
|
12462
|
+
focus: () => ut.current?.focus(),
|
|
12463
|
+
reload: () => ht(Re),
|
|
12464
|
+
getValue: () => he.current,
|
|
12463
12465
|
setValue: async (V) => {
|
|
12464
|
-
const F = await
|
|
12465
|
-
F ? (
|
|
12466
|
+
const F = await gt(V);
|
|
12467
|
+
F ? (xe.current = he.current, se(F), Ie(!1), a(F, xe.current)) : (Ie(!0), se(null), j?.(V));
|
|
12466
12468
|
},
|
|
12467
12469
|
open: () => K(!0),
|
|
12468
12470
|
close: () => K(!1),
|
|
12469
|
-
validate:
|
|
12471
|
+
validate: bt
|
|
12470
12472
|
}),
|
|
12471
12473
|
[
|
|
12472
12474
|
Br,
|
|
12475
|
+
ht,
|
|
12476
|
+
Re,
|
|
12473
12477
|
gt,
|
|
12474
|
-
Ie,
|
|
12475
|
-
bt,
|
|
12476
12478
|
a,
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
+
j,
|
|
12480
|
+
bt
|
|
12479
12481
|
]
|
|
12480
12482
|
);
|
|
12481
|
-
Lo(
|
|
12482
|
-
const { highlightedIndex:
|
|
12483
|
+
Lo(Y, () => Kt, [Kt]);
|
|
12484
|
+
const { highlightedIndex: Me, setHighlightedIndex: zr, handleKeyDown: No } = Qs({
|
|
12483
12485
|
records: oe,
|
|
12484
|
-
isOpen:
|
|
12486
|
+
isOpen: B,
|
|
12485
12487
|
onSelect: qt,
|
|
12486
12488
|
onClose: ko,
|
|
12487
12489
|
onEscape: wo,
|
|
12488
12490
|
onClear: Or,
|
|
12489
|
-
searchQuery:
|
|
12491
|
+
searchQuery: Ze
|
|
12490
12492
|
});
|
|
12491
12493
|
Q(() => {
|
|
12492
|
-
|
|
12493
|
-
}, [
|
|
12494
|
-
if (
|
|
12495
|
-
const V =
|
|
12496
|
-
`[data-index="${
|
|
12494
|
+
B && zr(-1);
|
|
12495
|
+
}, [B, oe, zr]), Q(() => {
|
|
12496
|
+
if (Me >= 0 && Ae.current) {
|
|
12497
|
+
const V = Ae.current.querySelector(
|
|
12498
|
+
`[data-index="${Me}"]`
|
|
12497
12499
|
);
|
|
12498
12500
|
V?.scrollIntoView && V.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
12499
12501
|
}
|
|
12500
|
-
}, [
|
|
12502
|
+
}, [Me]);
|
|
12501
12503
|
const Xt = q(!1), Yt = q(!1), Qt = q(!1), Co = () => {
|
|
12502
12504
|
Xt.current = !0;
|
|
12503
12505
|
}, So = (V) => {
|
|
12504
|
-
S ||
|
|
12506
|
+
S || B || V.key === "Backspace" && i && !k && (de || ft) && (V.preventDefault(), Or());
|
|
12505
12507
|
}, Ro = () => {
|
|
12506
12508
|
if (!S && !k) {
|
|
12507
12509
|
if (Yt.current) {
|
|
@@ -12516,19 +12518,19 @@ function dc({
|
|
|
12516
12518
|
Xt.current = !1;
|
|
12517
12519
|
return;
|
|
12518
12520
|
}
|
|
12519
|
-
|
|
12521
|
+
B || K(!0);
|
|
12520
12522
|
}
|
|
12521
12523
|
}, Io = te(() => {
|
|
12522
|
-
S ||
|
|
12524
|
+
S || nt.current || (nt.current = !0, E?.(he.current));
|
|
12523
12525
|
}, [E, S]), Eo = te(
|
|
12524
12526
|
(V) => {
|
|
12525
12527
|
if (S) return;
|
|
12526
12528
|
const F = V.relatedTarget;
|
|
12527
|
-
!
|
|
12529
|
+
!He.current?.contains(F) && (nt.current = !1, A && !k && bt(), y?.(he.current));
|
|
12528
12530
|
},
|
|
12529
|
-
[y,
|
|
12531
|
+
[y, A, k, S, bt]
|
|
12530
12532
|
), jo = () => {
|
|
12531
|
-
if (
|
|
12533
|
+
if (Ze.length > 0 && Ze.length < p)
|
|
12532
12534
|
return /* @__PURE__ */ t("div", { className: "lookup-field__empty", children: Z("minChars", { count: p }) });
|
|
12533
12535
|
if (ce)
|
|
12534
12536
|
return /* @__PURE__ */ f("div", { className: "lookup-field__loading", children: [
|
|
@@ -12540,7 +12542,7 @@ function dc({
|
|
|
12540
12542
|
if (oe.length === 0)
|
|
12541
12543
|
return /* @__PURE__ */ t("div", { className: "lookup-field__empty", children: T ?? Z("noResults") });
|
|
12542
12544
|
const V = wr.length > 0;
|
|
12543
|
-
return /* @__PURE__ */ f("div", { ref:
|
|
12545
|
+
return /* @__PURE__ */ f("div", { ref: Ae, className: "lookup-field__options", onScroll: xo, children: [
|
|
12544
12546
|
V ? (
|
|
12545
12547
|
// Virtualized list container (Story 2.13, AC: 1, 8)
|
|
12546
12548
|
/* @__PURE__ */ t(
|
|
@@ -12558,9 +12560,9 @@ function dc({
|
|
|
12558
12560
|
{
|
|
12559
12561
|
id: `${H}-option-${G.Id}`,
|
|
12560
12562
|
"data-index": J,
|
|
12561
|
-
className:
|
|
12563
|
+
className: st(
|
|
12562
12564
|
"lookup-field__option",
|
|
12563
|
-
J ===
|
|
12565
|
+
J === Me && "lookup-field__option--highlighted"
|
|
12564
12566
|
),
|
|
12565
12567
|
role: "option",
|
|
12566
12568
|
"aria-selected": de?.Id === G.Id,
|
|
@@ -12588,9 +12590,9 @@ function dc({
|
|
|
12588
12590
|
{
|
|
12589
12591
|
id: `${H}-option-${F.Id}`,
|
|
12590
12592
|
"data-index": G,
|
|
12591
|
-
className:
|
|
12593
|
+
className: st(
|
|
12592
12594
|
"lookup-field__option",
|
|
12593
|
-
G ===
|
|
12595
|
+
G === Me && "lookup-field__option--highlighted"
|
|
12594
12596
|
),
|
|
12595
12597
|
role: "option",
|
|
12596
12598
|
"aria-selected": de?.Id === F.Id,
|
|
@@ -12601,14 +12603,14 @@ function dc({
|
|
|
12601
12603
|
F.Id
|
|
12602
12604
|
))
|
|
12603
12605
|
),
|
|
12604
|
-
|
|
12606
|
+
je && /* @__PURE__ */ t("div", { className: "lookup-field__loading-more", children: /* @__PURE__ */ t(Wr, { className: "h-4 w-4 animate-spin" }) })
|
|
12605
12607
|
] });
|
|
12606
12608
|
};
|
|
12607
12609
|
return /* @__PURE__ */ f(
|
|
12608
12610
|
"div",
|
|
12609
12611
|
{
|
|
12610
|
-
ref:
|
|
12611
|
-
className:
|
|
12612
|
+
ref: He,
|
|
12613
|
+
className: st(
|
|
12612
12614
|
"lookup-field",
|
|
12613
12615
|
S && "lookup-field--disabled",
|
|
12614
12616
|
k && "lookup-field--readonly",
|
|
@@ -12616,14 +12618,14 @@ function dc({
|
|
|
12616
12618
|
c
|
|
12617
12619
|
),
|
|
12618
12620
|
role: "combobox",
|
|
12619
|
-
"aria-expanded": !S &&
|
|
12621
|
+
"aria-expanded": !S && B,
|
|
12620
12622
|
"aria-haspopup": "listbox",
|
|
12621
12623
|
"aria-labelledby": `${H}-label`,
|
|
12622
|
-
"aria-controls":
|
|
12624
|
+
"aria-controls": B ? `${H}-listbox` : void 0,
|
|
12623
12625
|
"aria-disabled": S || void 0,
|
|
12624
12626
|
"aria-readonly": !S && k || void 0,
|
|
12625
12627
|
"aria-invalid": Ir || void 0,
|
|
12626
|
-
"aria-required":
|
|
12628
|
+
"aria-required": U || void 0,
|
|
12627
12629
|
onKeyDown: S ? void 0 : No,
|
|
12628
12630
|
onFocus: Io,
|
|
12629
12631
|
onBlur: Eo,
|
|
@@ -12637,7 +12639,7 @@ function dc({
|
|
|
12637
12639
|
"button",
|
|
12638
12640
|
{
|
|
12639
12641
|
ref: (V) => {
|
|
12640
|
-
|
|
12642
|
+
ut.current = V, kr.setReference(V);
|
|
12641
12643
|
},
|
|
12642
12644
|
id: H,
|
|
12643
12645
|
type: "button",
|
|
@@ -12649,11 +12651,11 @@ function dc({
|
|
|
12649
12651
|
disabled: S,
|
|
12650
12652
|
tabIndex: S ? -1 : 0,
|
|
12651
12653
|
children: [
|
|
12652
|
-
/* @__PURE__ */ t("span", { className: "lookup-field__selected-text", children:
|
|
12654
|
+
/* @__PURE__ */ t("span", { className: "lookup-field__selected-text", children: ft ? Z("notFound") : de ? Lr(de) : l ?? Z("placeholder") }),
|
|
12653
12655
|
/* @__PURE__ */ t(
|
|
12654
12656
|
Ja,
|
|
12655
12657
|
{
|
|
12656
|
-
className:
|
|
12658
|
+
className: st("lookup-field__chevron", B && "lookup-field__chevron--open"),
|
|
12657
12659
|
"aria-hidden": "true"
|
|
12658
12660
|
}
|
|
12659
12661
|
),
|
|
@@ -12662,7 +12664,7 @@ function dc({
|
|
|
12662
12664
|
}
|
|
12663
12665
|
),
|
|
12664
12666
|
I && /* @__PURE__ */ t("span", { className: "lookup-field__error-text", role: "alert", children: I }),
|
|
12665
|
-
|
|
12667
|
+
B && /* @__PURE__ */ f(
|
|
12666
12668
|
"div",
|
|
12667
12669
|
{
|
|
12668
12670
|
ref: kr.setFloating,
|
|
@@ -12673,11 +12675,11 @@ function dc({
|
|
|
12673
12675
|
ac,
|
|
12674
12676
|
{
|
|
12675
12677
|
ref: Vt,
|
|
12676
|
-
value:
|
|
12677
|
-
onChange:
|
|
12678
|
+
value: Ze,
|
|
12679
|
+
onChange: ze,
|
|
12678
12680
|
placeholder: D ?? Z("searchPlaceholder"),
|
|
12679
12681
|
listboxId: `${H}-listbox`,
|
|
12680
|
-
activeDescendantId:
|
|
12682
|
+
activeDescendantId: Me >= 0 && oe[Me] ? `${H}-option-${oe[Me].Id}` : void 0
|
|
12681
12683
|
}
|
|
12682
12684
|
),
|
|
12683
12685
|
/* @__PURE__ */ t("div", { id: `${H}-listbox`, role: "listbox", "aria-label": n, children: jo() })
|
|
@@ -12751,7 +12753,7 @@ const td = ({
|
|
|
12751
12753
|
].join(" ").replace(/\s+/g, " ").trim(),
|
|
12752
12754
|
children: [
|
|
12753
12755
|
/* @__PURE__ */ t(
|
|
12754
|
-
|
|
12756
|
+
$t,
|
|
12755
12757
|
{
|
|
12756
12758
|
productName: e,
|
|
12757
12759
|
userDropdown: a,
|
|
@@ -12967,10 +12969,10 @@ const td = ({
|
|
|
12967
12969
|
className: E = "",
|
|
12968
12970
|
onNotificationsClick: y,
|
|
12969
12971
|
viewOptions: N,
|
|
12970
|
-
selectedViewOption:
|
|
12972
|
+
selectedViewOption: j,
|
|
12971
12973
|
onViewOptionChange: T
|
|
12972
12974
|
}) => {
|
|
12973
|
-
const [D,
|
|
12975
|
+
const [D, U] = z(""), [P, A] = z(!1), _ = s || [
|
|
12974
12976
|
{
|
|
12975
12977
|
id: "home",
|
|
12976
12978
|
icon: /* @__PURE__ */ t(pc, { className: "w-4 h-4" }),
|
|
@@ -13013,7 +13015,7 @@ const td = ({
|
|
|
13013
13015
|
label: "Órdenes de Compra",
|
|
13014
13016
|
color: "sky"
|
|
13015
13017
|
}
|
|
13016
|
-
],
|
|
13018
|
+
], Y = l || [
|
|
13017
13019
|
{
|
|
13018
13020
|
id: "audit",
|
|
13019
13021
|
label: "Auditoría",
|
|
@@ -13039,8 +13041,8 @@ const td = ({
|
|
|
13039
13041
|
}
|
|
13040
13042
|
}
|
|
13041
13043
|
], Z = (H) => {
|
|
13042
|
-
|
|
13043
|
-
},
|
|
13044
|
+
U(H.target.value), g?.(H.target.value);
|
|
13045
|
+
}, pe = r.map((H) => ({
|
|
13044
13046
|
header: H.header,
|
|
13045
13047
|
accessor: H.accessor,
|
|
13046
13048
|
sortable: H.sortable,
|
|
@@ -13073,7 +13075,7 @@ const td = ({
|
|
|
13073
13075
|
),
|
|
13074
13076
|
/* @__PURE__ */ f("div", { className: "flex flex-col flex-1 overflow-hidden", children: [
|
|
13075
13077
|
/* @__PURE__ */ t(
|
|
13076
|
-
|
|
13078
|
+
$t,
|
|
13077
13079
|
{
|
|
13078
13080
|
productName: n,
|
|
13079
13081
|
environmentBadge: d,
|
|
@@ -13085,7 +13087,7 @@ const td = ({
|
|
|
13085
13087
|
}
|
|
13086
13088
|
),
|
|
13087
13089
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 px-4 py-2 w-full bg-background-secondary dark:bg-dark-bg-primary", children: I.map((H) => /* @__PURE__ */ t(
|
|
13088
|
-
|
|
13090
|
+
qe,
|
|
13089
13091
|
{
|
|
13090
13092
|
color: H.color,
|
|
13091
13093
|
label: H.label,
|
|
@@ -13096,7 +13098,7 @@ const td = ({
|
|
|
13096
13098
|
/* @__PURE__ */ t("div", { className: "flex flex-1 overflow-hidden bg-background-secondary dark:bg-dark-bg-primary", children: /* @__PURE__ */ f("div", { className: "flex flex-col gap-4 flex-1 bg-white dark:bg-dark-bg-primary p-4 rounded-tl-3xl overflow-hidden", children: [
|
|
13097
13099
|
/* @__PURE__ */ f("div", { className: "flex items-center justify-between w-full", children: [
|
|
13098
13100
|
/* @__PURE__ */ t("h2", { className: "font-bold text-xl leading-7 tracking-[-0.5px] text-content-primary dark:text-dark-content-primary", children: e }),
|
|
13099
|
-
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children:
|
|
13101
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: Y.map((H) => /* @__PURE__ */ t(
|
|
13100
13102
|
re,
|
|
13101
13103
|
{
|
|
13102
13104
|
type: H.type,
|
|
@@ -13112,7 +13114,7 @@ const td = ({
|
|
|
13112
13114
|
/* @__PURE__ */ f("div", { className: "flex items-center gap-4 w-full", children: [
|
|
13113
13115
|
/* @__PURE__ */ t("h3", { className: "flex-1 font-bold text-base leading-6 text-content-primary dark:text-dark-content-primary overflow-hidden text-ellipsis whitespace-nowrap", children: o }),
|
|
13114
13116
|
/* @__PURE__ */ t(
|
|
13115
|
-
|
|
13117
|
+
Lt,
|
|
13116
13118
|
{
|
|
13117
13119
|
placeholder: x,
|
|
13118
13120
|
leftIcon: /* @__PURE__ */ t(Nc, { className: "w-4 h-4" }),
|
|
@@ -13125,7 +13127,7 @@ const td = ({
|
|
|
13125
13127
|
/* @__PURE__ */ f(
|
|
13126
13128
|
"button",
|
|
13127
13129
|
{
|
|
13128
|
-
onClick: () =>
|
|
13130
|
+
onClick: () => A(!P),
|
|
13129
13131
|
className: "flex items-center gap-3 px-3 py-2 bg-white dark:bg-dark-bg-primary border border-border-primary dark:border-dark-border-primary rounded-lg shadow-xs hover:bg-background-secondary dark:hover:bg-dark-bg-secondary transition-colors",
|
|
13130
13132
|
children: [
|
|
13131
13133
|
/* @__PURE__ */ t("span", { className: "font-bold text-sm text-content-secondary dark:text-content-secondary", children: "Ver" }),
|
|
@@ -13137,7 +13139,7 @@ const td = ({
|
|
|
13137
13139
|
"button",
|
|
13138
13140
|
{
|
|
13139
13141
|
onClick: () => {
|
|
13140
|
-
T?.(H.id),
|
|
13142
|
+
T?.(H.id), A(!1);
|
|
13141
13143
|
},
|
|
13142
13144
|
className: [
|
|
13143
13145
|
"block",
|
|
@@ -13148,7 +13150,7 @@ const td = ({
|
|
|
13148
13150
|
"text-sm",
|
|
13149
13151
|
"hover:bg-background-secondary",
|
|
13150
13152
|
"dark:hover:bg-dark-bg-secondary",
|
|
13151
|
-
|
|
13153
|
+
j === H.id ? "bg-primary-custom-100 dark:bg-primary-custom-600/20" : ""
|
|
13152
13154
|
].join(" "),
|
|
13153
13155
|
children: H.label
|
|
13154
13156
|
},
|
|
@@ -13159,7 +13161,7 @@ const td = ({
|
|
|
13159
13161
|
/* @__PURE__ */ t(
|
|
13160
13162
|
Na,
|
|
13161
13163
|
{
|
|
13162
|
-
columns:
|
|
13164
|
+
columns: pe,
|
|
13163
13165
|
data: a,
|
|
13164
13166
|
variant: "grid",
|
|
13165
13167
|
showBorder: !1,
|
|
@@ -13676,10 +13678,10 @@ const td = ({
|
|
|
13676
13678
|
isLoading: E = !1,
|
|
13677
13679
|
errorMessage: y,
|
|
13678
13680
|
userAvatar: N,
|
|
13679
|
-
userName:
|
|
13681
|
+
userName: j = "Jhonnatan Diaz",
|
|
13680
13682
|
userRole: T = "Administrador",
|
|
13681
13683
|
businessLogo: D,
|
|
13682
|
-
siesaLogo:
|
|
13684
|
+
siesaLogo: U,
|
|
13683
13685
|
className: P = ""
|
|
13684
13686
|
}) => /* @__PURE__ */ f(
|
|
13685
13687
|
"div",
|
|
@@ -13695,17 +13697,17 @@ const td = ({
|
|
|
13695
13697
|
`.trim().replace(/\s+/g, " "),
|
|
13696
13698
|
children: [
|
|
13697
13699
|
/* @__PURE__ */ t(
|
|
13698
|
-
|
|
13700
|
+
$t,
|
|
13699
13701
|
{
|
|
13700
13702
|
logo: D && /* @__PURE__ */ t("div", { className: "h-[30px] w-[168px] overflow-hidden", children: typeof D == "string" ? /* @__PURE__ */ t("img", { src: D, alt: "Business Logo", className: "h-full w-full object-contain" }) : D }),
|
|
13701
13703
|
productName: "",
|
|
13702
13704
|
userDropdown: N ? {
|
|
13703
13705
|
avatar: N,
|
|
13704
|
-
name:
|
|
13706
|
+
name: j,
|
|
13705
13707
|
role: T
|
|
13706
13708
|
} : void 0,
|
|
13707
13709
|
hideActionButtons: !0,
|
|
13708
|
-
siesaLogo:
|
|
13710
|
+
siesaLogo: U && /* @__PURE__ */ t("div", { className: "h-[30px] w-[120px] overflow-hidden", children: typeof U == "string" ? /* @__PURE__ */ t("img", { src: U, alt: "Siesa Logo", className: "h-full w-full object-contain" }) : U }),
|
|
13709
13711
|
variant: "desktop",
|
|
13710
13712
|
className: "bg-background-secondary dark:bg-dark-bg-primary"
|
|
13711
13713
|
}
|
|
@@ -13740,14 +13742,14 @@ const td = ({
|
|
|
13740
13742
|
) }),
|
|
13741
13743
|
/* @__PURE__ */ t("div", { className: "h-8 w-px bg-border-primary dark:bg-dark-border-primary shrink-0" }),
|
|
13742
13744
|
/* @__PURE__ */ t("div", { className: "shrink-0", children: /* @__PURE__ */ t("h2", { className: "text-xl font-bold leading-7 tracking-tight text-content-primary dark:text-dark-content-primary", children: o }) }),
|
|
13743
|
-
/* @__PURE__ */ t("div", { className: "flex-1 flex gap-2 overflow-x-auto overflow-y-hidden", children: r.map((
|
|
13745
|
+
/* @__PURE__ */ t("div", { className: "flex-1 flex gap-2 overflow-x-auto overflow-y-hidden", children: r.map((A) => /* @__PURE__ */ t(
|
|
13744
13746
|
re,
|
|
13745
13747
|
{
|
|
13746
|
-
type: a ===
|
|
13747
|
-
onClick: () => s?.(
|
|
13748
|
-
children:
|
|
13748
|
+
type: a === A.id ? "default" : "outline-solid",
|
|
13749
|
+
onClick: () => s?.(A.id),
|
|
13750
|
+
children: A.label
|
|
13749
13751
|
},
|
|
13750
|
-
|
|
13752
|
+
A.id
|
|
13751
13753
|
)) })
|
|
13752
13754
|
] }),
|
|
13753
13755
|
/* @__PURE__ */ f(
|
|
@@ -13765,29 +13767,29 @@ const td = ({
|
|
|
13765
13767
|
children: [
|
|
13766
13768
|
/* @__PURE__ */ t("div", { className: "w-[213px] p-4 border-b border-border-primary dark:border-dark-border-primary", children: /* @__PURE__ */ f("div", { className: "flex flex-col gap-4 h-full", children: [
|
|
13767
13769
|
/* @__PURE__ */ t("div", { className: "flex items-center justify-center w-full", children: /* @__PURE__ */ t("h3", { className: "text-xl font-bold leading-6 text-content-primary dark:text-dark-content-primary", children: l }) }),
|
|
13768
|
-
/* @__PURE__ */ t("div", { className: "flex-1 flex flex-col gap-2 overflow-x-hidden overflow-y-auto", children: c.map((
|
|
13770
|
+
/* @__PURE__ */ t("div", { className: "flex-1 flex flex-col gap-2 overflow-x-hidden overflow-y-auto", children: c.map((A) => /* @__PURE__ */ t(
|
|
13769
13771
|
za,
|
|
13770
13772
|
{
|
|
13771
|
-
image:
|
|
13772
|
-
label:
|
|
13773
|
-
active: u ===
|
|
13774
|
-
onClick: () => d?.(
|
|
13773
|
+
image: A.image,
|
|
13774
|
+
label: A.label,
|
|
13775
|
+
active: u === A.id,
|
|
13776
|
+
onClick: () => d?.(A.id)
|
|
13775
13777
|
},
|
|
13776
|
-
|
|
13778
|
+
A.id
|
|
13777
13779
|
)) })
|
|
13778
13780
|
] }) }),
|
|
13779
13781
|
/* @__PURE__ */ t("div", { className: "flex-1 p-4 border-l border-b border-border-primary dark:border-dark-border-primary", children: /* @__PURE__ */ f("div", { className: "flex flex-col gap-4 h-full", children: [
|
|
13780
13782
|
/* @__PURE__ */ t("div", { className: "flex items-center justify-center w-full", children: /* @__PURE__ */ t("h3", { className: "text-xl font-bold leading-6 text-content-primary dark:text-dark-content-primary", children: m }) }),
|
|
13781
13783
|
/* @__PURE__ */ f("div", { className: "flex-1 overflow-x-hidden overflow-y-auto", children: [
|
|
13782
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-start min-h-full w-full", children: /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-2 justify-center max-w-[704px]", children: p.map((
|
|
13784
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-start min-h-full w-full", children: /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-2 justify-center max-w-[704px]", children: p.map((A) => /* @__PURE__ */ t(
|
|
13783
13785
|
_a,
|
|
13784
13786
|
{
|
|
13785
|
-
image:
|
|
13786
|
-
productName:
|
|
13787
|
-
price:
|
|
13788
|
-
onAddClick: () => h?.(
|
|
13787
|
+
image: A.image,
|
|
13788
|
+
productName: A.name,
|
|
13789
|
+
price: A.price,
|
|
13790
|
+
onAddClick: () => h?.(A.id)
|
|
13789
13791
|
},
|
|
13790
|
-
|
|
13792
|
+
A.id
|
|
13791
13793
|
)) }) }),
|
|
13792
13794
|
p.length === 0 && /* @__PURE__ */ t("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ t("p", { className: "text-content-secondary dark:text-content-secondary", children: "No hay productos disponibles" }) }),
|
|
13793
13795
|
E && /* @__PURE__ */ t("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ t("p", { className: "text-content-secondary dark:text-content-secondary", children: "Cargando productos..." }) }),
|
|
@@ -13886,24 +13888,24 @@ const td = ({
|
|
|
13886
13888
|
z-10
|
|
13887
13889
|
`,
|
|
13888
13890
|
children: [
|
|
13889
|
-
x.map((
|
|
13891
|
+
x.map((A, _) => /* @__PURE__ */ f(Qe.Fragment, { children: [
|
|
13890
13892
|
/* @__PURE__ */ t(
|
|
13891
13893
|
Mn,
|
|
13892
13894
|
{
|
|
13893
|
-
categoryLabel:
|
|
13894
|
-
categoryColor:
|
|
13895
|
-
productRef:
|
|
13896
|
-
price:
|
|
13897
|
-
productName:
|
|
13898
|
-
descriptionItems:
|
|
13899
|
-
showDescription: !!
|
|
13900
|
-
quantity:
|
|
13901
|
-
onQuantityChange: (I) => v?.(
|
|
13902
|
-
onDelete: () => w?.(
|
|
13895
|
+
categoryLabel: A.categoryLabel,
|
|
13896
|
+
categoryColor: A.categoryColor,
|
|
13897
|
+
productRef: A.productRef,
|
|
13898
|
+
price: A.price,
|
|
13899
|
+
productName: A.productName,
|
|
13900
|
+
descriptionItems: A.descriptionItems,
|
|
13901
|
+
showDescription: !!A.descriptionItems && A.descriptionItems.length > 0,
|
|
13902
|
+
quantity: A.quantity,
|
|
13903
|
+
onQuantityChange: (I) => v?.(A.productId, I),
|
|
13904
|
+
onDelete: () => w?.(A.productId)
|
|
13903
13905
|
}
|
|
13904
13906
|
),
|
|
13905
|
-
_ < x.length - 1 && /* @__PURE__ */ t(
|
|
13906
|
-
] },
|
|
13907
|
+
_ < x.length - 1 && /* @__PURE__ */ t(_e, {})
|
|
13908
|
+
] }, A.productId)),
|
|
13907
13909
|
x.length === 0 && /* @__PURE__ */ t("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ t("p", { className: "text-content-secondary dark:text-content-secondary text-center", children: "No hay productos en el pedido" }) })
|
|
13908
13910
|
]
|
|
13909
13911
|
}
|
|
@@ -13918,7 +13920,7 @@ const td = ({
|
|
|
13918
13920
|
/* @__PURE__ */ t("div", { className: "flex-1", children: "Impuestos" }),
|
|
13919
13921
|
/* @__PURE__ */ t("div", { className: "flex-1 text-right", children: R })
|
|
13920
13922
|
] }),
|
|
13921
|
-
/* @__PURE__ */ t(
|
|
13923
|
+
/* @__PURE__ */ t(_e, {}),
|
|
13922
13924
|
/* @__PURE__ */ f("div", { className: "flex items-start text-lg font-bold leading-7 text-content-primary dark:text-dark-content-primary", children: [
|
|
13923
13925
|
/* @__PURE__ */ t("div", { className: "flex-1", children: "Total" }),
|
|
13924
13926
|
/* @__PURE__ */ t("div", { className: "flex-1 text-right", children: k })
|
|
@@ -14927,7 +14929,7 @@ const Ac = ({ className: e = "w-4 h-4" }) => /* @__PURE__ */ f(
|
|
|
14927
14929
|
userInfo: k
|
|
14928
14930
|
}) => {
|
|
14929
14931
|
const S = () => /* @__PURE__ */ t("div", { className: "w-full shrink-0", children: /* @__PURE__ */ t(
|
|
14930
|
-
|
|
14932
|
+
$t,
|
|
14931
14933
|
{
|
|
14932
14934
|
variant: "desktop",
|
|
14933
14935
|
productName: "",
|
|
@@ -15103,10 +15105,10 @@ const Ac = ({ className: e = "w-4 h-4" }) => /* @__PURE__ */ f(
|
|
|
15103
15105
|
}
|
|
15104
15106
|
),
|
|
15105
15107
|
/* @__PURE__ */ f("div", { className: "flex flex-wrap gap-4 items-center w-full", children: [
|
|
15106
|
-
/* @__PURE__ */ t(
|
|
15107
|
-
/* @__PURE__ */ t(
|
|
15108
|
-
/* @__PURE__ */ t(
|
|
15109
|
-
/* @__PURE__ */ t(
|
|
15108
|
+
/* @__PURE__ */ t(kt, { status: "available" }),
|
|
15109
|
+
/* @__PURE__ */ t(kt, { status: "occupied" }),
|
|
15110
|
+
/* @__PURE__ */ t(kt, { status: "reserved" }),
|
|
15111
|
+
/* @__PURE__ */ t(kt, { status: "outOfService" })
|
|
15110
15112
|
] })
|
|
15111
15113
|
]
|
|
15112
15114
|
}
|
|
@@ -15280,21 +15282,21 @@ const Ac = ({ className: e = "w-4 h-4" }) => /* @__PURE__ */ f(
|
|
|
15280
15282
|
export {
|
|
15281
15283
|
Po as Alert,
|
|
15282
15284
|
_o as Avatar,
|
|
15283
|
-
|
|
15285
|
+
qe as Badge,
|
|
15284
15286
|
re as Button,
|
|
15285
15287
|
zo as Checkbox,
|
|
15286
15288
|
Do as DescriptionList,
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
+
_e as Divider,
|
|
15290
|
+
vt as Dropdown,
|
|
15289
15291
|
Rn as DropdownItemCollapsible,
|
|
15290
15292
|
In as DropdownItemHeading,
|
|
15291
|
-
|
|
15293
|
+
Lt as Input,
|
|
15292
15294
|
td as LayoutBase,
|
|
15293
15295
|
rd as ListView,
|
|
15294
15296
|
Yc as LoginView,
|
|
15295
15297
|
nd as LoginViewPage,
|
|
15296
15298
|
uc as LookupField,
|
|
15297
|
-
|
|
15299
|
+
$t as Navbar,
|
|
15298
15300
|
Xc as NavigationBar,
|
|
15299
15301
|
qc as NavigationRail,
|
|
15300
15302
|
mr as NavigationRailGroup,
|
|
@@ -15302,7 +15304,7 @@ export {
|
|
|
15302
15304
|
En as NavigationRailPanel,
|
|
15303
15305
|
An as NavigationRailTypes,
|
|
15304
15306
|
Wc as Notification,
|
|
15305
|
-
|
|
15307
|
+
kt as POSConvention,
|
|
15306
15308
|
Oa as POSLocationButton,
|
|
15307
15309
|
Ba as POSNumberButton,
|
|
15308
15310
|
za as POSProductButton,
|