@udixio/ui-react 2.8.1 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +319 -321
- package/dist/lib/components/FabMenu.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/components/FabMenu.tsx +5 -4
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as m, jsxs as Y, Fragment as me } from "react/jsx-runtime";
|
|
2
|
-
import { clsx as
|
|
2
|
+
import { clsx as Oe } from "clsx";
|
|
3
3
|
import { extendTailwindMerge as ut } from "tailwind-merge";
|
|
4
|
-
import Z, { useMemo as Me, useState as
|
|
5
|
-
import { motion as q, AnimatePresence as se, useScroll as mt, useMotionValueEvent as
|
|
4
|
+
import Z, { useMemo as Me, useState as $, useEffect as R, useRef as W, useLayoutEffect as Ve, isValidElement as pe, cloneElement as xe, Children as dt, Fragment as ft } from "react";
|
|
5
|
+
import { motion as q, AnimatePresence as se, useScroll as mt, useMotionValueEvent as Be, animate as ht } from "motion/react";
|
|
6
6
|
import { animate as pt } from "motion";
|
|
7
|
-
import { createPortal as
|
|
7
|
+
import { createPortal as Ye } from "react-dom";
|
|
8
8
|
import { loader as yt, defineConfig as wt, FontPlugin as vt, Variants as xt } from "@udixio/theme";
|
|
9
|
-
import { TailwindPlugin as
|
|
9
|
+
import { TailwindPlugin as Ue } from "@udixio/tailwind";
|
|
10
10
|
import gt from "react-textarea-autosize";
|
|
11
|
-
const
|
|
11
|
+
const Xe = ut({
|
|
12
12
|
override: {
|
|
13
13
|
classGroups: {
|
|
14
14
|
"text-color": [
|
|
@@ -34,7 +34,7 @@ const je = ut({
|
|
|
34
34
|
font: ["font"]
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
}), y = (...e) =>
|
|
37
|
+
}), y = (...e) => Xe(Oe(e)), bt = (...e) => Xe(Oe(e));
|
|
38
38
|
function Lt(e) {
|
|
39
39
|
return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
|
|
40
40
|
}
|
|
@@ -80,7 +80,7 @@ function Mn(e, t, n) {
|
|
|
80
80
|
[e, t, n]
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const je = ({
|
|
84
84
|
variant: e,
|
|
85
85
|
disableTextMargins: t,
|
|
86
86
|
disabled: n,
|
|
@@ -193,11 +193,11 @@ const qe = ({
|
|
|
193
193
|
)
|
|
194
194
|
}), $n = Q(
|
|
195
195
|
"button",
|
|
196
|
-
|
|
196
|
+
je
|
|
197
197
|
), Nt = J(
|
|
198
198
|
"button",
|
|
199
|
-
|
|
200
|
-
),
|
|
199
|
+
je
|
|
200
|
+
), qe = ({
|
|
201
201
|
variant: e,
|
|
202
202
|
isInteractive: t
|
|
203
203
|
}) => ({
|
|
@@ -207,10 +207,10 @@ const qe = ({
|
|
|
207
207
|
e === "elevated" && "bg-surface-container-low shadow-1",
|
|
208
208
|
e === "filled" && "bg-surface-container-highest"
|
|
209
209
|
)
|
|
210
|
-
}), Rn = Q("card",
|
|
210
|
+
}), Rn = Q("card", qe), Et = J(
|
|
211
211
|
"card",
|
|
212
|
-
|
|
213
|
-
),
|
|
212
|
+
qe
|
|
213
|
+
), _e = ({
|
|
214
214
|
width: e
|
|
215
215
|
}) => ({
|
|
216
216
|
carouselItem: y("rounded-[28px] overflow-hidden flex-none", {
|
|
@@ -219,20 +219,20 @@ const qe = ({
|
|
|
219
219
|
})
|
|
220
220
|
}), Bn = Q(
|
|
221
221
|
"carouselItem",
|
|
222
|
-
|
|
222
|
+
_e
|
|
223
223
|
), St = J(
|
|
224
224
|
"carouselItem",
|
|
225
|
-
|
|
226
|
-
),
|
|
225
|
+
_e
|
|
226
|
+
), Ke = () => ({
|
|
227
227
|
carousel: y(["w-full h-[400px]"]),
|
|
228
228
|
track: y("flex h-full w-full")
|
|
229
229
|
}), Dn = Q(
|
|
230
230
|
"carousel",
|
|
231
|
-
|
|
231
|
+
Ke
|
|
232
232
|
), It = J(
|
|
233
233
|
"carousel",
|
|
234
|
-
|
|
235
|
-
),
|
|
234
|
+
Ke
|
|
235
|
+
), Ge = ({
|
|
236
236
|
orientation: e
|
|
237
237
|
}) => ({
|
|
238
238
|
divider: y(
|
|
@@ -246,11 +246,11 @@ const qe = ({
|
|
|
246
246
|
)
|
|
247
247
|
}), Wn = Q(
|
|
248
248
|
"divider",
|
|
249
|
-
|
|
249
|
+
Ge
|
|
250
250
|
), kt = J(
|
|
251
251
|
"divider",
|
|
252
|
-
|
|
253
|
-
),
|
|
252
|
+
Ge
|
|
253
|
+
), Je = ({
|
|
254
254
|
size: e,
|
|
255
255
|
variant: t,
|
|
256
256
|
extended: n
|
|
@@ -283,7 +283,7 @@ const qe = ({
|
|
|
283
283
|
"text-title-large": e == "medium",
|
|
284
284
|
"text-headline-small": e == "large"
|
|
285
285
|
})
|
|
286
|
-
}), An = Q("fab",
|
|
286
|
+
}), An = Q("fab", Je), Ct = J("fab", Je), Ze = ({
|
|
287
287
|
size: e,
|
|
288
288
|
variant: t,
|
|
289
289
|
open: n
|
|
@@ -294,11 +294,11 @@ const qe = ({
|
|
|
294
294
|
)
|
|
295
295
|
}), Pn = Q(
|
|
296
296
|
"fabMenu",
|
|
297
|
-
|
|
297
|
+
Ze
|
|
298
298
|
), Mt = J(
|
|
299
299
|
"fabMenu",
|
|
300
|
-
|
|
301
|
-
),
|
|
300
|
+
Ze
|
|
301
|
+
), Qe = ({
|
|
302
302
|
variant: e,
|
|
303
303
|
disabled: t,
|
|
304
304
|
onToggle: n,
|
|
@@ -432,11 +432,11 @@ const qe = ({
|
|
|
432
432
|
)
|
|
433
433
|
}), Hn = Q(
|
|
434
434
|
"iconButton",
|
|
435
|
-
|
|
435
|
+
Qe
|
|
436
436
|
), $t = J(
|
|
437
437
|
"iconButton",
|
|
438
|
-
|
|
439
|
-
),
|
|
438
|
+
Qe
|
|
439
|
+
), Te = ({ variant: e, isVisible: t }) => ({
|
|
440
440
|
progressIndicator: y(
|
|
441
441
|
(e === "linear-determinate" || e == "linear-indeterminate") && "flex w-full h-1"
|
|
442
442
|
),
|
|
@@ -467,11 +467,11 @@ const qe = ({
|
|
|
467
467
|
)
|
|
468
468
|
}), Fn = Q(
|
|
469
469
|
"progressIndicator",
|
|
470
|
-
|
|
470
|
+
Te
|
|
471
471
|
), Rt = J(
|
|
472
472
|
"progressIndicator",
|
|
473
|
-
|
|
474
|
-
),
|
|
473
|
+
Te
|
|
474
|
+
), ze = ({
|
|
475
475
|
variant: e,
|
|
476
476
|
position: t
|
|
477
477
|
}) => ({
|
|
@@ -498,11 +498,11 @@ const qe = ({
|
|
|
498
498
|
overlay: y("bg-[black]/[0.32] fixed top-0 left-0 w-screen h-screen")
|
|
499
499
|
}), Bt = Q(
|
|
500
500
|
"sideSheet",
|
|
501
|
-
|
|
501
|
+
ze
|
|
502
502
|
), On = J(
|
|
503
503
|
"sideSheet",
|
|
504
|
-
|
|
505
|
-
),
|
|
504
|
+
ze
|
|
505
|
+
), et = ({
|
|
506
506
|
isChanging: e
|
|
507
507
|
}) => ({
|
|
508
508
|
slider: y([
|
|
@@ -526,11 +526,11 @@ const qe = ({
|
|
|
526
526
|
])
|
|
527
527
|
}), Vn = Q(
|
|
528
528
|
"slider",
|
|
529
|
-
|
|
529
|
+
et
|
|
530
530
|
), Dt = J(
|
|
531
531
|
"slider",
|
|
532
|
-
|
|
533
|
-
),
|
|
532
|
+
et
|
|
533
|
+
), tt = () => ({
|
|
534
534
|
snackbar: y(" rounded bg-inverse-surface "),
|
|
535
535
|
container: y(
|
|
536
536
|
"pl-4 pr-2 max-w-full py-1 flex items-center flex-wrap"
|
|
@@ -539,11 +539,11 @@ const qe = ({
|
|
|
539
539
|
icon: y(" ml-auto mr-0 text-inverse-on-surface block dark")
|
|
540
540
|
}), Yn = Q(
|
|
541
541
|
"snackbar",
|
|
542
|
-
|
|
542
|
+
tt
|
|
543
543
|
), Wt = J(
|
|
544
544
|
"snackbar",
|
|
545
|
-
|
|
546
|
-
),
|
|
545
|
+
tt
|
|
546
|
+
), nt = ({
|
|
547
547
|
isSelected: e,
|
|
548
548
|
disabled: t,
|
|
549
549
|
inactiveIcon: n
|
|
@@ -589,11 +589,11 @@ const qe = ({
|
|
|
589
589
|
)
|
|
590
590
|
}), Un = Q(
|
|
591
591
|
"switch",
|
|
592
|
-
|
|
592
|
+
nt
|
|
593
593
|
), At = J(
|
|
594
594
|
"switch",
|
|
595
|
-
|
|
596
|
-
),
|
|
595
|
+
nt
|
|
596
|
+
), rt = ({
|
|
597
597
|
isSelected: e,
|
|
598
598
|
icon: t,
|
|
599
599
|
label: n,
|
|
@@ -654,16 +654,16 @@ const qe = ({
|
|
|
654
654
|
l === "primary" && "h-[3px] rounded-t",
|
|
655
655
|
l === "secondary" && "h-0.5"
|
|
656
656
|
)
|
|
657
|
-
}), Xn = Q("tab",
|
|
657
|
+
}), Xn = Q("tab", rt), Pt = J("tab", rt), ot = ({ scrollable: e }) => ({
|
|
658
658
|
tabs: y(
|
|
659
659
|
"border-b border-surface-container-highest bg-surface",
|
|
660
660
|
"flex relative ",
|
|
661
661
|
{ "overflow-x-auto": e }
|
|
662
662
|
)
|
|
663
|
-
}), jn = Q("tabs",
|
|
663
|
+
}), jn = Q("tabs", ot), Ht = J(
|
|
664
664
|
"tabs",
|
|
665
|
-
|
|
666
|
-
),
|
|
665
|
+
ot
|
|
666
|
+
), lt = ({
|
|
667
667
|
disabled: e,
|
|
668
668
|
leadingIcon: t,
|
|
669
669
|
trailingIcon: n,
|
|
@@ -757,11 +757,11 @@ const qe = ({
|
|
|
757
757
|
)
|
|
758
758
|
}), qn = Q(
|
|
759
759
|
"textField",
|
|
760
|
-
|
|
760
|
+
lt
|
|
761
761
|
), Ft = J(
|
|
762
762
|
"textField",
|
|
763
|
-
|
|
764
|
-
),
|
|
763
|
+
lt
|
|
764
|
+
), at = ({
|
|
765
765
|
position: e,
|
|
766
766
|
variant: t
|
|
767
767
|
}) => ({
|
|
@@ -788,10 +788,10 @@ const qe = ({
|
|
|
788
788
|
supportingText: y("")
|
|
789
789
|
}), _n = Q(
|
|
790
790
|
"toolTip",
|
|
791
|
-
|
|
791
|
+
at
|
|
792
792
|
), Ot = J(
|
|
793
793
|
"toolTip",
|
|
794
|
-
|
|
794
|
+
at
|
|
795
795
|
), ie = ({ icon: e, colors: t = [], className: n }) => {
|
|
796
796
|
if (typeof e == "string") {
|
|
797
797
|
let o = e;
|
|
@@ -865,12 +865,12 @@ const qe = ({
|
|
|
865
865
|
className: l,
|
|
866
866
|
...r
|
|
867
867
|
}) => {
|
|
868
|
-
const [s, c] =
|
|
869
|
-
|
|
868
|
+
const [s, c] = $(t), [a] = $(1.5);
|
|
869
|
+
R(() => {
|
|
870
870
|
t > 100 && (t = 100), t < 0 && (t = 0), c(t);
|
|
871
871
|
}, [t]);
|
|
872
|
-
const [u, o] =
|
|
873
|
-
|
|
872
|
+
const [u, o] = $(!0), p = () => u ? a : a * 0.5;
|
|
873
|
+
R(() => {
|
|
874
874
|
if ((e === "circular-indeterminate" || e === "linear-indeterminate") && s !== 100) {
|
|
875
875
|
const d = setInterval(() => {
|
|
876
876
|
c(u ? 10 : 90), o(!u);
|
|
@@ -878,8 +878,8 @@ const qe = ({
|
|
|
878
878
|
return () => clearInterval(d);
|
|
879
879
|
}
|
|
880
880
|
}, [e, u, s]);
|
|
881
|
-
const [v, f] =
|
|
882
|
-
|
|
881
|
+
const [v, f] = $(!1);
|
|
882
|
+
R(() => {
|
|
883
883
|
if (s >= 100) {
|
|
884
884
|
const d = setTimeout(() => {
|
|
885
885
|
f(!1);
|
|
@@ -1002,10 +1002,10 @@ const qe = ({
|
|
|
1002
1002
|
duration: 0.3
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
|
-
}, [l, r] =
|
|
1006
|
-
|
|
1005
|
+
}, [l, r] = $(!0), [s, c] = $(!1), [a, u] = $({ x: 50, y: 50 });
|
|
1006
|
+
R(() => {
|
|
1007
1007
|
s && (r(!0), r(!1));
|
|
1008
|
-
}, [s]),
|
|
1008
|
+
}, [s]), R(() => {
|
|
1009
1009
|
const d = t == null ? void 0 : t.current;
|
|
1010
1010
|
if (d)
|
|
1011
1011
|
return d.addEventListener("mousedown", o), d.addEventListener("mouseup", v), d.addEventListener("mouseleave", p), () => {
|
|
@@ -1101,11 +1101,11 @@ const jt = ({
|
|
|
1101
1101
|
setScroll: u
|
|
1102
1102
|
}) => {
|
|
1103
1103
|
var le, ue;
|
|
1104
|
-
const o = W(null), p = W(null), [v, f] =
|
|
1104
|
+
const o = W(null), p = W(null), [v, f] = $({
|
|
1105
1105
|
width: null,
|
|
1106
1106
|
height: null
|
|
1107
1107
|
});
|
|
1108
|
-
|
|
1108
|
+
R(() => {
|
|
1109
1109
|
if (!o.current) return;
|
|
1110
1110
|
const C = new ResizeObserver((N) => {
|
|
1111
1111
|
for (const D of N)
|
|
@@ -1134,8 +1134,8 @@ const jt = ({
|
|
|
1134
1134
|
} : null;
|
|
1135
1135
|
}, { scrollYProgress: b, scrollXProgress: g } = mt({
|
|
1136
1136
|
container: o
|
|
1137
|
-
}),
|
|
1138
|
-
|
|
1137
|
+
}), I = W(null);
|
|
1138
|
+
I.current || (I.current = Xt(
|
|
1139
1139
|
c,
|
|
1140
1140
|
(C, N) => {
|
|
1141
1141
|
!d.current || !i.current || !o.current || (N === (t === "horizontal" ? "x" : "y") && (u == null || u(C)), l && (t === "horizontal" && N === "x" && l({
|
|
@@ -1152,11 +1152,11 @@ const jt = ({
|
|
|
1152
1152
|
}
|
|
1153
1153
|
));
|
|
1154
1154
|
const E = (C, N) => {
|
|
1155
|
-
|
|
1155
|
+
I.current && I.current(C, N);
|
|
1156
1156
|
};
|
|
1157
|
-
|
|
1157
|
+
R(() => {
|
|
1158
1158
|
v.width && E(g.get(), "x"), v.height && E(b.get(), "y");
|
|
1159
|
-
}, [v]),
|
|
1159
|
+
}, [v]), R(() => {
|
|
1160
1160
|
const C = o.current, N = p.current;
|
|
1161
1161
|
if (!C || !N || typeof a != "number") return;
|
|
1162
1162
|
const D = (F, j, X) => Math.min(X, Math.max(j, F));
|
|
@@ -1167,13 +1167,13 @@ const jt = ({
|
|
|
1167
1167
|
const F = Math.max(0, (n ?? N.scrollHeight) - C.clientHeight);
|
|
1168
1168
|
C.scrollTop = D(a * F, 0, F);
|
|
1169
1169
|
}
|
|
1170
|
-
}, [a, t, n]),
|
|
1170
|
+
}, [a, t, n]), Be(g, "change", (C) => {
|
|
1171
1171
|
E(C, "x");
|
|
1172
|
-
}),
|
|
1172
|
+
}), Be(b, "change", (C) => {
|
|
1173
1173
|
E(C, "y");
|
|
1174
1174
|
});
|
|
1175
|
-
const [A, L] =
|
|
1176
|
-
|
|
1175
|
+
const [A, L] = $(!1);
|
|
1176
|
+
Ve(() => {
|
|
1177
1177
|
A || !d.current || !i.current || !l || (l({
|
|
1178
1178
|
scrollProgress: 0,
|
|
1179
1179
|
scroll: 0,
|
|
@@ -1181,7 +1181,7 @@ const jt = ({
|
|
|
1181
1181
|
scrollVisible: t == "vertical" ? d.current.height : d.current.width
|
|
1182
1182
|
}), L(!0));
|
|
1183
1183
|
}, [d, i, l]), i.current = h(), d.current = w();
|
|
1184
|
-
const [V, H] =
|
|
1184
|
+
const [V, H] = $(!1), M = Ut({
|
|
1185
1185
|
isDragging: V,
|
|
1186
1186
|
children: e,
|
|
1187
1187
|
className: r,
|
|
@@ -1190,7 +1190,7 @@ const jt = ({
|
|
|
1190
1190
|
scrollSize: n,
|
|
1191
1191
|
draggable: s,
|
|
1192
1192
|
throttleDuration: c
|
|
1193
|
-
}), [x,
|
|
1193
|
+
}), [x, S] = $(0), [O, G] = $(0), te = (C) => {
|
|
1194
1194
|
if (!s) return;
|
|
1195
1195
|
const N = o.current;
|
|
1196
1196
|
if (!N || x == null) return;
|
|
@@ -1198,9 +1198,9 @@ const jt = ({
|
|
|
1198
1198
|
N.scrollLeft = O - F;
|
|
1199
1199
|
}, _ = (C) => {
|
|
1200
1200
|
const N = o.current;
|
|
1201
|
-
N && (H(!0),
|
|
1201
|
+
N && (H(!0), S(C.pageX - N.offsetLeft), G(N.scrollLeft));
|
|
1202
1202
|
}, ne = (C) => {
|
|
1203
|
-
V && (C.preventDefault(),
|
|
1203
|
+
V && (C.preventDefault(), te(C));
|
|
1204
1204
|
}, B = () => {
|
|
1205
1205
|
H(!1);
|
|
1206
1206
|
}, k = () => {
|
|
@@ -1208,9 +1208,9 @@ const jt = ({
|
|
|
1208
1208
|
}, U = (C) => {
|
|
1209
1209
|
C.preventDefault();
|
|
1210
1210
|
}, K = W(null);
|
|
1211
|
-
return
|
|
1211
|
+
return R(() => () => {
|
|
1212
1212
|
K.current && clearTimeout(K.current);
|
|
1213
|
-
}, []),
|
|
1213
|
+
}, []), R(() => {
|
|
1214
1214
|
const C = o.current;
|
|
1215
1215
|
if (!C) return;
|
|
1216
1216
|
const N = (D) => {
|
|
@@ -1261,7 +1261,7 @@ const jt = ({
|
|
|
1261
1261
|
onMouseLeave: k,
|
|
1262
1262
|
onDragStart: U,
|
|
1263
1263
|
onScroll: (C) => {
|
|
1264
|
-
V || (
|
|
1264
|
+
V || (S(null), H(!0), K.current && clearTimeout(K.current), K.current = setTimeout(() => {
|
|
1265
1265
|
H(!1);
|
|
1266
1266
|
}, 1e3));
|
|
1267
1267
|
},
|
|
@@ -1304,7 +1304,7 @@ const jt = ({
|
|
|
1304
1304
|
touch: n = !0
|
|
1305
1305
|
}) => {
|
|
1306
1306
|
const l = W(null), r = W(0), s = W(0);
|
|
1307
|
-
|
|
1307
|
+
R(() => {
|
|
1308
1308
|
if (!t) return;
|
|
1309
1309
|
r.current = t.scrollTop, s.current = t.scrollLeft;
|
|
1310
1310
|
const c = (i) => {
|
|
@@ -1341,8 +1341,8 @@ const jt = ({
|
|
|
1341
1341
|
if (!d || !l.current) return;
|
|
1342
1342
|
const h = l.current.x - d.clientX, w = l.current.y - d.clientY, b = i.target, g = a(b);
|
|
1343
1343
|
if (g && g !== t) {
|
|
1344
|
-
const
|
|
1345
|
-
if (w > 0 &&
|
|
1344
|
+
const I = g.scrollTop < g.scrollHeight - g.clientHeight, E = g.scrollTop > 0;
|
|
1345
|
+
if (w > 0 && I || w < 0 && E) {
|
|
1346
1346
|
l.current = { x: d.clientX, y: d.clientY };
|
|
1347
1347
|
return;
|
|
1348
1348
|
}
|
|
@@ -1407,12 +1407,12 @@ const jt = ({
|
|
|
1407
1407
|
orientation: t = "vertical",
|
|
1408
1408
|
throttleDuration: n = 25
|
|
1409
1409
|
}) => {
|
|
1410
|
-
const [l, r] =
|
|
1411
|
-
|
|
1410
|
+
const [l, r] = $(0), [s, c] = $(), a = W(!1), u = W(), o = W(0);
|
|
1411
|
+
R(() => {
|
|
1412
1412
|
c(document);
|
|
1413
1413
|
const f = document.documentElement.scrollTop;
|
|
1414
1414
|
r(f), o.current = f;
|
|
1415
|
-
}, []),
|
|
1415
|
+
}, []), R(() => {
|
|
1416
1416
|
const f = () => {
|
|
1417
1417
|
a.current || r(document.documentElement.scrollTop);
|
|
1418
1418
|
};
|
|
@@ -1421,7 +1421,7 @@ const jt = ({
|
|
|
1421
1421
|
};
|
|
1422
1422
|
}, [s]);
|
|
1423
1423
|
const p = W(), v = W(null);
|
|
1424
|
-
return
|
|
1424
|
+
return R(() => {
|
|
1425
1425
|
const f = l;
|
|
1426
1426
|
if (v.current && (v.current.stop(), v.current = null), !a.current) {
|
|
1427
1427
|
p.current = f;
|
|
@@ -1463,13 +1463,13 @@ const jt = ({
|
|
|
1463
1463
|
stateClassName: n = "state-ripple-group",
|
|
1464
1464
|
className: l
|
|
1465
1465
|
}) => {
|
|
1466
|
-
const r = W(null), s = W(null), [c, a] =
|
|
1466
|
+
const r = W(null), s = W(null), [c, a] = $(!1), u = Kt({
|
|
1467
1467
|
isClient: c,
|
|
1468
1468
|
stateClassName: n,
|
|
1469
1469
|
className: l,
|
|
1470
1470
|
colorName: t
|
|
1471
1471
|
});
|
|
1472
|
-
return
|
|
1472
|
+
return R(() => {
|
|
1473
1473
|
if (r.current && n !== "state-layer") {
|
|
1474
1474
|
const o = n.includes("[") ? n.split("[")[1].split("]")[0] : "group", p = r.current.closest(
|
|
1475
1475
|
`.${o}:not(.${o} .${o})`
|
|
@@ -1504,7 +1504,7 @@ const jt = ({
|
|
|
1504
1504
|
targetRef: e,
|
|
1505
1505
|
children: t
|
|
1506
1506
|
}) => {
|
|
1507
|
-
const [n, l] =
|
|
1507
|
+
const [n, l] = $(null), r = W(null), s = () => {
|
|
1508
1508
|
const c = e.current;
|
|
1509
1509
|
if (!c) return;
|
|
1510
1510
|
const a = c.getBoundingClientRect();
|
|
@@ -1520,14 +1520,14 @@ const jt = ({
|
|
|
1520
1520
|
// personnalise si besoin
|
|
1521
1521
|
});
|
|
1522
1522
|
};
|
|
1523
|
-
return
|
|
1523
|
+
return R(() => {
|
|
1524
1524
|
const c = e.current;
|
|
1525
1525
|
if (c)
|
|
1526
1526
|
return s(), window.addEventListener("scroll", s, !0), window.addEventListener("resize", s), r.current = new ResizeObserver(s), r.current.observe(c), () => {
|
|
1527
1527
|
var a;
|
|
1528
1528
|
window.removeEventListener("scroll", s, !0), window.removeEventListener("resize", s), (a = r.current) == null || a.disconnect();
|
|
1529
1529
|
};
|
|
1530
|
-
}, [e]), n ?
|
|
1530
|
+
}, [e]), n ? Ye(/* @__PURE__ */ m("div", { style: n, children: t }), document.body) : null;
|
|
1531
1531
|
};
|
|
1532
1532
|
function Jt(e) {
|
|
1533
1533
|
return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e);
|
|
@@ -1539,15 +1539,15 @@ const Gn = ({
|
|
|
1539
1539
|
onLoad: n,
|
|
1540
1540
|
loadTheme: l = !1
|
|
1541
1541
|
}) => {
|
|
1542
|
-
const [r, s] =
|
|
1543
|
-
|
|
1542
|
+
const [r, s] = $(null);
|
|
1543
|
+
R(() => {
|
|
1544
1544
|
(async () => {
|
|
1545
1545
|
const f = await yt(e, l);
|
|
1546
1546
|
s(f);
|
|
1547
1547
|
})();
|
|
1548
1548
|
}, []);
|
|
1549
|
-
const [c, a] =
|
|
1550
|
-
|
|
1549
|
+
const [c, a] = $(null), u = W(null), o = W(0), p = W(null);
|
|
1550
|
+
R(() => {
|
|
1551
1551
|
if (!r) return;
|
|
1552
1552
|
const f = {
|
|
1553
1553
|
...e,
|
|
@@ -1575,10 +1575,10 @@ const Gn = ({
|
|
|
1575
1575
|
if (!r)
|
|
1576
1576
|
return;
|
|
1577
1577
|
r.context.update(f), await r.load();
|
|
1578
|
-
const i = r == null ? void 0 : r.plugins.getPlugin(
|
|
1578
|
+
const i = r == null ? void 0 : r.plugins.getPlugin(Ue).getInstance().outputCss;
|
|
1579
1579
|
a(i), n == null || n(r);
|
|
1580
1580
|
};
|
|
1581
|
-
return
|
|
1581
|
+
return R(() => () => {
|
|
1582
1582
|
u.current && (clearTimeout(u.current), u.current = null);
|
|
1583
1583
|
}, []), c ? /* @__PURE__ */ m("style", { dangerouslySetInnerHTML: { __html: c } }) : null;
|
|
1584
1584
|
};
|
|
@@ -1602,12 +1602,12 @@ function Re(e) {
|
|
|
1602
1602
|
(n) => n.startsWith("anim-") && n.includes("scroll")
|
|
1603
1603
|
);
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function De(e) {
|
|
1606
1606
|
if (!(e instanceof HTMLElement)) return !1;
|
|
1607
1607
|
const t = e.classList;
|
|
1608
1608
|
return Array.from(t).some((n) => n.startsWith("anim-"));
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function Se(e, t) {
|
|
1611
1611
|
if (!Re(e)) return;
|
|
1612
1612
|
if (e.hasAttribute(`data-${t}-scroll`)) {
|
|
1613
1613
|
const c = (e.getAttribute(`data-${t}-scroll`) || "").trim().toLowerCase(), a = c === "x" || c === "inline" ? "inline" : c === "y" || c === "block" ? "block" : "auto";
|
|
@@ -1620,7 +1620,7 @@ function Ee(e, t) {
|
|
|
1620
1620
|
const r = e.hasAttribute(`data-${t}-paused`) || e.classList.contains(`${t}-paused`), s = e.hasAttribute(`data-${t}-run`) || e.classList.contains(`${t}-run`);
|
|
1621
1621
|
!r && !s && e.setAttribute(`data-${t}-run`, "");
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function Ie(e = document, t) {
|
|
1624
1624
|
return Array.from(
|
|
1625
1625
|
e.querySelectorAll(
|
|
1626
1626
|
`[class*="${t}-"][class*="-scroll"]`
|
|
@@ -1657,17 +1657,17 @@ function zt(e, t) {
|
|
|
1657
1657
|
(n) => n.startsWith(t) && n.includes("-out")
|
|
1658
1658
|
);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function We(e, t, n) {
|
|
1661
1661
|
e.setAttribute(`data-${t}-run`, ""), e.setAttribute(`data-${t}-${n}-run`, "");
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function Ae(e, t, n) {
|
|
1664
1664
|
const l = e.style.animationName;
|
|
1665
1665
|
e.style.animationName = "none", e.removeAttribute(`data-${t}-run`), n ? e.removeAttribute(`data-${t}-${n}-run`) : (e.removeAttribute(`data-${t}-in-run`), e.removeAttribute(`data-${t}-out-run`)), e.offsetWidth, e.style.animationName = l;
|
|
1666
1666
|
}
|
|
1667
|
-
const en = [0, 0.2],
|
|
1668
|
-
function
|
|
1669
|
-
if (
|
|
1670
|
-
|
|
1667
|
+
const en = [0, 0.2], Pe = /* @__PURE__ */ new WeakSet();
|
|
1668
|
+
function He(e, t) {
|
|
1669
|
+
if (Pe.has(e)) return;
|
|
1670
|
+
Pe.add(e);
|
|
1671
1671
|
const n = (r) => {
|
|
1672
1672
|
r.target === e && (e.hasAttribute(`data-${t}-in-run`) || e.hasAttribute(`data-${t}-out-run`)) && e.setAttribute(`data-${t}-animating`, "");
|
|
1673
1673
|
}, l = (r) => {
|
|
@@ -1675,7 +1675,7 @@ function Fe(e, t) {
|
|
|
1675
1675
|
};
|
|
1676
1676
|
e.addEventListener("animationstart", n), e.addEventListener("animationend", l), e.addEventListener("animationcancel", l);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function st(e = {}) {
|
|
1679
1679
|
const { prefix: t = "anim", once: n = !0 } = e;
|
|
1680
1680
|
if (Qt())
|
|
1681
1681
|
return () => {
|
|
@@ -1691,16 +1691,16 @@ function ct(e = {}) {
|
|
|
1691
1691
|
(i) => {
|
|
1692
1692
|
for (const d of i) {
|
|
1693
1693
|
const h = d.target;
|
|
1694
|
-
if (!
|
|
1694
|
+
if (!De(h) || h.hasAttribute(`data-${t}-animating`)) continue;
|
|
1695
1695
|
const w = zt(h.classList, t);
|
|
1696
|
-
d.isIntersecting ? (w &&
|
|
1696
|
+
d.isIntersecting ? (w && Ae(h, t, "out"), We(h, t, "in"), n && u.unobserve(h)) : n || (c || Ae(h, t, "in"), w && We(h, t, "out"));
|
|
1697
1697
|
}
|
|
1698
1698
|
},
|
|
1699
1699
|
{ threshold: en }
|
|
1700
1700
|
), o = (i) => {
|
|
1701
1701
|
const d = Tt(i || document, t);
|
|
1702
1702
|
for (const h of d)
|
|
1703
|
-
r.has(h) || (r.add(h), u.observe(h),
|
|
1703
|
+
r.has(h) || (r.add(h), u.observe(h), He(h, t));
|
|
1704
1704
|
};
|
|
1705
1705
|
o();
|
|
1706
1706
|
let p, v = null, f = null;
|
|
@@ -1708,19 +1708,19 @@ function ct(e = {}) {
|
|
|
1708
1708
|
(() => {
|
|
1709
1709
|
f == null && (f = requestAnimationFrame(() => {
|
|
1710
1710
|
f = null;
|
|
1711
|
-
const d =
|
|
1712
|
-
for (const h of d)
|
|
1711
|
+
const d = Ie(void 0, t);
|
|
1712
|
+
for (const h of d) Se(h, t);
|
|
1713
1713
|
}));
|
|
1714
1714
|
})(), v = new MutationObserver((d) => {
|
|
1715
1715
|
for (const h of d)
|
|
1716
1716
|
if (h.type === "attributes") {
|
|
1717
1717
|
const w = h.target;
|
|
1718
|
-
w instanceof HTMLElement && (
|
|
1718
|
+
w instanceof HTMLElement && (Se(w, t), De(w) && (r.has(w) || (r.add(w), u.observe(w), He(w, t))));
|
|
1719
1719
|
} else if (h.type === "childList" && h.addedNodes && h.addedNodes.length) {
|
|
1720
1720
|
for (const w of Array.from(h.addedNodes))
|
|
1721
1721
|
if (w instanceof HTMLElement) {
|
|
1722
|
-
const b =
|
|
1723
|
-
for (const g of b)
|
|
1722
|
+
const b = Ie(w, t);
|
|
1723
|
+
for (const g of b) Se(g, t);
|
|
1724
1724
|
o(w);
|
|
1725
1725
|
}
|
|
1726
1726
|
}
|
|
@@ -1741,7 +1741,7 @@ function ct(e = {}) {
|
|
|
1741
1741
|
};
|
|
1742
1742
|
else {
|
|
1743
1743
|
let i;
|
|
1744
|
-
|
|
1744
|
+
Ie(void 0, t).length > 0 && import("./scrollDriven-AP2yWhzi.js").then((h) => {
|
|
1745
1745
|
i = h.initScrollViewFallback({ once: n });
|
|
1746
1746
|
}), p = () => {
|
|
1747
1747
|
typeof i == "function" && i();
|
|
@@ -1751,7 +1751,7 @@ function ct(e = {}) {
|
|
|
1751
1751
|
p && p(), typeof window < "u" && window.removeEventListener("scroll", a), u.disconnect();
|
|
1752
1752
|
};
|
|
1753
1753
|
}
|
|
1754
|
-
const Jn =
|
|
1754
|
+
const Jn = st, Zn = st;
|
|
1755
1755
|
function tn(e) {
|
|
1756
1756
|
const t = {
|
|
1757
1757
|
primary: "filled",
|
|
@@ -1759,7 +1759,7 @@ function tn(e) {
|
|
|
1759
1759
|
};
|
|
1760
1760
|
return e && e in t ? t[e] : e || "filled";
|
|
1761
1761
|
}
|
|
1762
|
-
const
|
|
1762
|
+
const ct = ({
|
|
1763
1763
|
variant: e = "filled",
|
|
1764
1764
|
disabled: t = !1,
|
|
1765
1765
|
icon: n,
|
|
@@ -1785,17 +1785,17 @@ const ke = ({
|
|
|
1785
1785
|
"Button component requires either a label prop or children content"
|
|
1786
1786
|
);
|
|
1787
1787
|
e = tn(e);
|
|
1788
|
-
const
|
|
1789
|
-
|
|
1788
|
+
const I = l ? "a" : "button", E = W(null), A = i || E, [L, V] = Z.useState(f);
|
|
1789
|
+
R(() => {
|
|
1790
1790
|
V(f);
|
|
1791
1791
|
}, [f]), w = { duration: 0.3, ...w };
|
|
1792
1792
|
let H;
|
|
1793
|
-
v ? v && (H = (
|
|
1794
|
-
t &&
|
|
1793
|
+
v ? v && (H = (S) => {
|
|
1794
|
+
t && S.preventDefault();
|
|
1795
1795
|
const O = !L;
|
|
1796
1796
|
V(O), v(O);
|
|
1797
|
-
}) : H = (
|
|
1798
|
-
t &&
|
|
1797
|
+
}) : H = (S) => {
|
|
1798
|
+
t && S.preventDefault(), p && p(S);
|
|
1799
1799
|
};
|
|
1800
1800
|
const M = Nt({
|
|
1801
1801
|
allowShapeTransformation: h,
|
|
@@ -1817,7 +1817,7 @@ const ke = ({
|
|
|
1817
1817
|
children: r
|
|
1818
1818
|
}), x = n ? /* @__PURE__ */ m(ie, { icon: n, className: M.icon }) : /* @__PURE__ */ m(me, {});
|
|
1819
1819
|
return /* @__PURE__ */ Y(
|
|
1820
|
-
|
|
1820
|
+
I,
|
|
1821
1821
|
{
|
|
1822
1822
|
ref: A,
|
|
1823
1823
|
href: l,
|
|
@@ -1972,7 +1972,7 @@ const ke = ({
|
|
|
1972
1972
|
scrollSensitivity: v = 1.25,
|
|
1973
1973
|
...f
|
|
1974
1974
|
}) => {
|
|
1975
|
-
const i = W(null), d = l || i, [h, w] =
|
|
1975
|
+
const i = W(null), d = l || i, [h, w] = $(0), b = It({
|
|
1976
1976
|
index: p,
|
|
1977
1977
|
className: t,
|
|
1978
1978
|
children: n,
|
|
@@ -1986,89 +1986,89 @@ const ke = ({
|
|
|
1986
1986
|
onMetricsChange: o
|
|
1987
1987
|
}), g = Z.Children.toArray(n).filter(
|
|
1988
1988
|
(N) => Z.isValidElement(N) && N.type === nn
|
|
1989
|
-
),
|
|
1989
|
+
), I = W(null), [E, A] = $(
|
|
1990
1990
|
{}
|
|
1991
|
-
), [L, V] =
|
|
1991
|
+
), [L, V] = $(null), H = W(0), M = W(null), x = () => {
|
|
1992
1992
|
var fe, we;
|
|
1993
|
-
if (!
|
|
1993
|
+
if (!I.current || !d.current || (L == null ? void 0 : L.scrollProgress) === void 0)
|
|
1994
1994
|
return [];
|
|
1995
1995
|
const N = (L == null ? void 0 : L.scrollVisible) ?? ((fe = d.current) == null ? void 0 : fe.clientWidth) ?? 0;
|
|
1996
|
-
function D(P,
|
|
1997
|
-
return P.map((
|
|
1998
|
-
const
|
|
1996
|
+
function D(P, T) {
|
|
1997
|
+
return P.map((ee, ve) => {
|
|
1998
|
+
const Ee = (ee - T) / Math.abs(P[1] - P[0]);
|
|
1999
1999
|
return {
|
|
2000
|
-
itemScrollXCenter:
|
|
2001
|
-
relativeIndex:
|
|
2000
|
+
itemScrollXCenter: ee,
|
|
2001
|
+
relativeIndex: Ee,
|
|
2002
2002
|
index: ve,
|
|
2003
2003
|
width: 0
|
|
2004
2004
|
};
|
|
2005
2005
|
});
|
|
2006
2006
|
}
|
|
2007
|
-
const F = g.map((P,
|
|
2008
|
-
if (!
|
|
2009
|
-
const ve =
|
|
2007
|
+
const F = g.map((P, T) => {
|
|
2008
|
+
if (!S[T].current || !I.current) return 0;
|
|
2009
|
+
const ve = T / (g.length - 1);
|
|
2010
2010
|
return he(ve, [0, 1], [0, 1]);
|
|
2011
2011
|
}), j = D(
|
|
2012
2012
|
F,
|
|
2013
2013
|
(L == null ? void 0 : L.scrollProgress) ?? 0
|
|
2014
|
-
).sort((P,
|
|
2014
|
+
).sort((P, T) => P.index - T.index);
|
|
2015
2015
|
let X = (((we = d.current) == null ? void 0 : we.clientWidth) ?? N) + a + c[0] + a;
|
|
2016
|
-
const re = j.sort((P,
|
|
2016
|
+
const re = j.sort((P, T) => Math.abs(P.relativeIndex) - Math.abs(T.relativeIndex)).map((P, T) => {
|
|
2017
2017
|
if (!(X <= 0)) {
|
|
2018
|
-
if (
|
|
2018
|
+
if (T == 0 && G(P.index), P.width = he(
|
|
2019
2019
|
X - a,
|
|
2020
2020
|
[c[0], c[1]],
|
|
2021
2021
|
[c[0], c[1]]
|
|
2022
2022
|
), X -= P.width + a, X != 0 && X < (c[0] + a) * 2) {
|
|
2023
|
-
const
|
|
2024
|
-
X += P.width, P.width =
|
|
2023
|
+
const ee = P.width - ((c[0] + a) * 2 - X);
|
|
2024
|
+
X += P.width, P.width = ee, X -= P.width;
|
|
2025
2025
|
} else if (X == 0 && P.width >= c[0] * 2 + a) {
|
|
2026
|
-
const
|
|
2027
|
-
X += P.width, P.width =
|
|
2026
|
+
const ee = P.width - (c[0] + a - X);
|
|
2027
|
+
X += P.width, P.width = ee, X -= P.width;
|
|
2028
2028
|
}
|
|
2029
2029
|
return P;
|
|
2030
2030
|
}
|
|
2031
2031
|
}).filter(Boolean), ae = re.reverse(), de = [...re].sort(
|
|
2032
|
-
(P,
|
|
2032
|
+
(P, T) => Math.abs(P.index) - Math.abs(T.index)
|
|
2033
2033
|
);
|
|
2034
|
-
ae.forEach((P,
|
|
2035
|
-
const
|
|
2036
|
-
if (!
|
|
2037
|
-
const ve = 1 - (Math.abs(P.relativeIndex) - Math.abs(
|
|
2034
|
+
ae.forEach((P, T) => {
|
|
2035
|
+
const ee = ae[T + 1];
|
|
2036
|
+
if (!ee) return;
|
|
2037
|
+
const ve = 1 - (Math.abs(P.relativeIndex) - Math.abs(ee == null ? void 0 : ee.relativeIndex)), Ee = he(
|
|
2038
2038
|
ve,
|
|
2039
2039
|
[0, 2],
|
|
2040
|
-
[P.width + X,
|
|
2040
|
+
[P.width + X, ee.width]
|
|
2041
2041
|
);
|
|
2042
|
-
X += P.width, P.width =
|
|
2042
|
+
X += P.width, P.width = Ee, X -= P.width;
|
|
2043
2043
|
});
|
|
2044
2044
|
const ce = re.length / 2, oe = he(
|
|
2045
2045
|
Math.abs(de[0].relativeIndex),
|
|
2046
2046
|
[de[0].index == 0 ? 0 : ce - 1, ce],
|
|
2047
2047
|
[0, 1]
|
|
2048
|
-
),
|
|
2049
|
-
return w(
|
|
2048
|
+
), Ne = he(oe, [0, 1], [0, 1]) * -(c[0] + a);
|
|
2049
|
+
return w(Ne), Object.fromEntries(
|
|
2050
2050
|
re.map((P) => [P.index, P.width])
|
|
2051
2051
|
);
|
|
2052
|
-
},
|
|
2053
|
-
|
|
2052
|
+
}, S = W([]).current, [O, G] = $(0);
|
|
2053
|
+
R(() => {
|
|
2054
2054
|
u && u(O);
|
|
2055
|
-
}, [O]),
|
|
2055
|
+
}, [O]), R(() => {
|
|
2056
2056
|
typeof p == "number" && g.length > 0 && p !== O && ne(p);
|
|
2057
|
-
}, [p, g.length]),
|
|
2057
|
+
}, [p, g.length]), R(() => {
|
|
2058
2058
|
_(O);
|
|
2059
|
-
}, [O]),
|
|
2060
|
-
|
|
2059
|
+
}, [O]), S.length !== g.length && g.forEach((N, D) => {
|
|
2060
|
+
S[D] || (S[D] = Z.createRef());
|
|
2061
2061
|
});
|
|
2062
|
-
const [
|
|
2062
|
+
const [te, _] = $(0), ne = (N, D = {}) => {
|
|
2063
2063
|
if (!g.length) return 0;
|
|
2064
|
-
const F =
|
|
2065
|
-
if (!F || !F.current || !
|
|
2064
|
+
const F = S[N];
|
|
2065
|
+
if (!F || !F.current || !I.current) return 0;
|
|
2066
2066
|
const j = he(
|
|
2067
2067
|
N / Math.max(1, g.length - 1),
|
|
2068
2068
|
[0, 1],
|
|
2069
2069
|
[0, 1]
|
|
2070
2070
|
);
|
|
2071
|
-
return _(N),
|
|
2071
|
+
return _(N), I.current.dispatchEvent(
|
|
2072
2072
|
new CustomEvent("udx:customScroll:set", {
|
|
2073
2073
|
bubbles: !0,
|
|
2074
2074
|
detail: {
|
|
@@ -2088,7 +2088,7 @@ const ke = ({
|
|
|
2088
2088
|
{
|
|
2089
2089
|
width: E[D],
|
|
2090
2090
|
outputRange: c,
|
|
2091
|
-
ref:
|
|
2091
|
+
ref: S[D],
|
|
2092
2092
|
key: D,
|
|
2093
2093
|
index: D,
|
|
2094
2094
|
role: "option",
|
|
@@ -2116,32 +2116,32 @@ const ke = ({
|
|
|
2116
2116
|
});
|
|
2117
2117
|
}
|
|
2118
2118
|
};
|
|
2119
|
-
|
|
2119
|
+
R(() => {
|
|
2120
2120
|
const N = x();
|
|
2121
2121
|
A(N);
|
|
2122
2122
|
}, [L]);
|
|
2123
2123
|
const U = W(o);
|
|
2124
|
-
|
|
2124
|
+
R(() => {
|
|
2125
2125
|
U.current = o;
|
|
2126
2126
|
}, [o]);
|
|
2127
2127
|
const K = W(null);
|
|
2128
|
-
|
|
2129
|
-
var
|
|
2128
|
+
R(() => {
|
|
2129
|
+
var T;
|
|
2130
2130
|
const N = U.current;
|
|
2131
2131
|
if (!N || !(d != null && d.current)) return;
|
|
2132
2132
|
const D = g.length;
|
|
2133
2133
|
if (D <= 0) return;
|
|
2134
|
-
const F = ((
|
|
2134
|
+
const F = ((T = d.current) == null ? void 0 : T.clientWidth) ?? 0, j = c[1], X = H.current ?? (L == null ? void 0 : L.scrollProgress) ?? 0, re = (F + a) / (j + a), ae = Math.max(1, Math.floor(re)), de = Math.max(1, Math.round(ae * (2 / 3))), ce = Math.min(
|
|
2135
2135
|
Math.max(0, O),
|
|
2136
2136
|
Math.max(0, D - 1)
|
|
2137
|
-
), oe = ce > 0,
|
|
2137
|
+
), oe = ce > 0, Ne = ce < D - 1, fe = {
|
|
2138
2138
|
total: D,
|
|
2139
2139
|
selectedIndex: ce,
|
|
2140
2140
|
visibleApprox: re,
|
|
2141
2141
|
visibleFull: ae,
|
|
2142
2142
|
stepHalf: de,
|
|
2143
2143
|
canPrev: oe,
|
|
2144
|
-
canNext:
|
|
2144
|
+
canNext: Ne,
|
|
2145
2145
|
scrollProgress: X,
|
|
2146
2146
|
viewportWidth: F,
|
|
2147
2147
|
itemMaxWidth: j,
|
|
@@ -2149,27 +2149,27 @@ const ke = ({
|
|
|
2149
2149
|
}, we = K.current;
|
|
2150
2150
|
let P = !we;
|
|
2151
2151
|
if (!P) {
|
|
2152
|
-
for (const
|
|
2153
|
-
if (fe[
|
|
2152
|
+
for (const ee in fe)
|
|
2153
|
+
if (fe[ee] !== we[ee]) {
|
|
2154
2154
|
P = !0;
|
|
2155
2155
|
break;
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
2158
2158
|
P && (K.current = fe, N(fe));
|
|
2159
|
-
}, [d, g.length, O, L, a, c]),
|
|
2159
|
+
}, [d, g.length, O, L, a, c]), R(() => () => {
|
|
2160
2160
|
var N;
|
|
2161
2161
|
(N = M.current) == null || N.stop();
|
|
2162
2162
|
}, []);
|
|
2163
|
-
const [le, ue] =
|
|
2164
|
-
|
|
2163
|
+
const [le, ue] = $(0);
|
|
2164
|
+
Ve(() => {
|
|
2165
2165
|
let N = c[1];
|
|
2166
2166
|
L && N > L.scrollVisible && (N = L.scrollVisible);
|
|
2167
2167
|
const D = (N + a) * B.length / v;
|
|
2168
2168
|
ue(D);
|
|
2169
|
-
}, [d,
|
|
2169
|
+
}, [d, S, L]);
|
|
2170
2170
|
const C = (N) => {
|
|
2171
2171
|
if (!g.length) return;
|
|
2172
|
-
const D =
|
|
2172
|
+
const D = te ?? O;
|
|
2173
2173
|
switch (N.key) {
|
|
2174
2174
|
case "ArrowLeft":
|
|
2175
2175
|
N.preventDefault(), ne(Math.max(0, D - 1));
|
|
@@ -2189,7 +2189,7 @@ const ke = ({
|
|
|
2189
2189
|
break;
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
|
-
return
|
|
2192
|
+
return R(() => {
|
|
2193
2193
|
const N = d.current;
|
|
2194
2194
|
if (!N) return;
|
|
2195
2195
|
const D = (F) => {
|
|
@@ -2222,7 +2222,7 @@ const ke = ({
|
|
|
2222
2222
|
"div",
|
|
2223
2223
|
{
|
|
2224
2224
|
className: b.track,
|
|
2225
|
-
ref:
|
|
2225
|
+
ref: I,
|
|
2226
2226
|
style: {
|
|
2227
2227
|
gap: `${a}px`,
|
|
2228
2228
|
translate: h,
|
|
@@ -2242,27 +2242,27 @@ const ke = ({
|
|
|
2242
2242
|
}) => {
|
|
2243
2243
|
const l = kt({ orientation: e, className: t });
|
|
2244
2244
|
return /* @__PURE__ */ m("hr", { className: l.divider, ...n });
|
|
2245
|
-
},
|
|
2245
|
+
}, z = [];
|
|
2246
2246
|
for (let e = 0; e < 256; ++e)
|
|
2247
|
-
|
|
2247
|
+
z.push((e + 256).toString(16).slice(1));
|
|
2248
2248
|
function on(e, t = 0) {
|
|
2249
|
-
return (
|
|
2249
|
+
return (z[e[t + 0]] + z[e[t + 1]] + z[e[t + 2]] + z[e[t + 3]] + "-" + z[e[t + 4]] + z[e[t + 5]] + "-" + z[e[t + 6]] + z[e[t + 7]] + "-" + z[e[t + 8]] + z[e[t + 9]] + "-" + z[e[t + 10]] + z[e[t + 11]] + z[e[t + 12]] + z[e[t + 13]] + z[e[t + 14]] + z[e[t + 15]]).toLowerCase();
|
|
2250
2250
|
}
|
|
2251
|
-
let
|
|
2251
|
+
let ke;
|
|
2252
2252
|
const ln = new Uint8Array(16);
|
|
2253
2253
|
function an() {
|
|
2254
|
-
if (!
|
|
2254
|
+
if (!ke) {
|
|
2255
2255
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
2256
2256
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
2257
|
-
|
|
2257
|
+
ke = crypto.getRandomValues.bind(crypto);
|
|
2258
2258
|
}
|
|
2259
|
-
return
|
|
2259
|
+
return ke(ln);
|
|
2260
2260
|
}
|
|
2261
|
-
const sn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
2262
|
-
function
|
|
2261
|
+
const sn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Fe = { randomUUID: sn };
|
|
2262
|
+
function ge(e, t, n) {
|
|
2263
2263
|
var r;
|
|
2264
|
-
if (
|
|
2265
|
-
return
|
|
2264
|
+
if (Fe.randomUUID && !e)
|
|
2265
|
+
return Fe.randomUUID();
|
|
2266
2266
|
e = e || {};
|
|
2267
2267
|
const l = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? an();
|
|
2268
2268
|
if (l.length < 16)
|
|
@@ -2285,10 +2285,10 @@ const it = ({
|
|
|
2285
2285
|
if (!l && !a)
|
|
2286
2286
|
throw new Error("ToolTip must have a child or a targetRef");
|
|
2287
2287
|
Array.isArray(o) || (o = [o]), t && !Array.isArray(t) && (t = [t]);
|
|
2288
|
-
const v = W(null), f = a || v, [i, d] =
|
|
2289
|
-
|
|
2290
|
-
const x = (
|
|
2291
|
-
d(
|
|
2288
|
+
const v = W(null), f = a || v, [i, d] = $(null), [h] = $(ge()), [w, b] = $(!1), g = W(null);
|
|
2289
|
+
R(() => {
|
|
2290
|
+
const x = (S) => {
|
|
2291
|
+
d(S.detail);
|
|
2292
2292
|
};
|
|
2293
2293
|
return document.addEventListener("tooltip-update", x), () => {
|
|
2294
2294
|
document.removeEventListener(
|
|
@@ -2296,12 +2296,12 @@ const it = ({
|
|
|
2296
2296
|
x
|
|
2297
2297
|
);
|
|
2298
2298
|
};
|
|
2299
|
-
}, []),
|
|
2299
|
+
}, []), R(() => {
|
|
2300
2300
|
g.current && clearTimeout(g.current), i ? b(i === h) : g.current = setTimeout(() => {
|
|
2301
2301
|
b(!1);
|
|
2302
2302
|
}, 1200);
|
|
2303
2303
|
}, [i, h]);
|
|
2304
|
-
const
|
|
2304
|
+
const I = () => {
|
|
2305
2305
|
if (o.includes("hover")) {
|
|
2306
2306
|
const x = new CustomEvent("tooltip-update", { detail: h });
|
|
2307
2307
|
document.dispatchEvent(x);
|
|
@@ -2329,18 +2329,18 @@ const it = ({
|
|
|
2329
2329
|
document.dispatchEvent(x);
|
|
2330
2330
|
}
|
|
2331
2331
|
};
|
|
2332
|
-
|
|
2332
|
+
R(() => {
|
|
2333
2333
|
if (f != null && f.current) {
|
|
2334
2334
|
const x = f.current;
|
|
2335
|
-
return x.addEventListener("mouseenter",
|
|
2336
|
-
x.removeEventListener("mouseenter",
|
|
2335
|
+
return x.addEventListener("mouseenter", I), x.addEventListener("mouseleave", E), x.addEventListener("click", A), x.addEventListener("focus", L), x.addEventListener("blur", V), () => {
|
|
2336
|
+
x.removeEventListener("mouseenter", I), x.removeEventListener("mouseleave", E), x.removeEventListener("click", A), x.removeEventListener("focus", L), x.removeEventListener("blur", V);
|
|
2337
2337
|
};
|
|
2338
2338
|
}
|
|
2339
2339
|
}, [f, o, h, w]);
|
|
2340
2340
|
const H = !a && pe(l) ? xe(l, { ref: v }) : l;
|
|
2341
2341
|
if (!c && typeof window < "u" && f != null && f.current && !c) {
|
|
2342
|
-
const x = f.current.getBoundingClientRect(),
|
|
2343
|
-
e === "plain" ? G < 1 / 3 ? c = "right" : G > 2 / 3 ? c = "left" : c =
|
|
2342
|
+
const x = f.current.getBoundingClientRect(), S = window.innerWidth, O = window.innerHeight, G = x.left / S, te = x.top / O;
|
|
2343
|
+
e === "plain" ? G < 1 / 3 ? c = "right" : G > 2 / 3 ? c = "left" : c = te > 0.5 ? "top" : "bottom" : G < 1 / 2 && te < 1 / 2 ? c = "bottom-right" : G > 1 / 2 && te < 1 / 2 ? c = "bottom-left" : G > 1 / 2 && te > 1 / 2 ? c = "top-left" : G < 1 / 2 && te > 1 / 2 && (c = "top-right");
|
|
2344
2344
|
}
|
|
2345
2345
|
const M = Ot({
|
|
2346
2346
|
variant: e,
|
|
@@ -2364,7 +2364,7 @@ const it = ({
|
|
|
2364
2364
|
exit: { opacity: i ? 1 : 0 },
|
|
2365
2365
|
className: M.toolTip,
|
|
2366
2366
|
...p,
|
|
2367
|
-
onMouseEnter:
|
|
2367
|
+
onMouseEnter: I,
|
|
2368
2368
|
onMouseLeave: E,
|
|
2369
2369
|
children: /* @__PURE__ */ Y(
|
|
2370
2370
|
q.div,
|
|
@@ -2379,14 +2379,14 @@ const it = ({
|
|
|
2379
2379
|
children: [
|
|
2380
2380
|
r && /* @__PURE__ */ m("div", { className: M.subHead, children: r }),
|
|
2381
2381
|
/* @__PURE__ */ m("div", { className: M.supportingText, children: s }),
|
|
2382
|
-
t && /* @__PURE__ */ m("div", { className: M.actions, children: Array.isArray(t) && t.map((x,
|
|
2383
|
-
|
|
2382
|
+
t && /* @__PURE__ */ m("div", { className: M.actions, children: Array.isArray(t) && t.map((x, S) => /* @__PURE__ */ m(
|
|
2383
|
+
ct,
|
|
2384
2384
|
{
|
|
2385
2385
|
size: "small",
|
|
2386
2386
|
variant: "text",
|
|
2387
2387
|
...x
|
|
2388
2388
|
},
|
|
2389
|
-
|
|
2389
|
+
S
|
|
2390
2390
|
)) })
|
|
2391
2391
|
]
|
|
2392
2392
|
}
|
|
@@ -2498,7 +2498,7 @@ const it = ({
|
|
|
2498
2498
|
]
|
|
2499
2499
|
}
|
|
2500
2500
|
);
|
|
2501
|
-
},
|
|
2501
|
+
}, be = ({
|
|
2502
2502
|
variant: e = "standard",
|
|
2503
2503
|
href: t,
|
|
2504
2504
|
disabled: n = !1,
|
|
@@ -2518,7 +2518,7 @@ const it = ({
|
|
|
2518
2518
|
allowShapeTransformation: w = !0,
|
|
2519
2519
|
transition: b,
|
|
2520
2520
|
children: g,
|
|
2521
|
-
...
|
|
2521
|
+
...I
|
|
2522
2522
|
}) => {
|
|
2523
2523
|
if (g && (s = g), !s)
|
|
2524
2524
|
throw new Error(
|
|
@@ -2527,11 +2527,11 @@ const it = ({
|
|
|
2527
2527
|
r || (r = s);
|
|
2528
2528
|
const [E, A] = Z.useState(a);
|
|
2529
2529
|
let L;
|
|
2530
|
-
c ? c && (L = (
|
|
2531
|
-
n &&
|
|
2532
|
-
}, o = E && v || o) : L = (
|
|
2533
|
-
n &&
|
|
2534
|
-
},
|
|
2530
|
+
c ? c && (L = (S) => {
|
|
2531
|
+
n && S.preventDefault(), A(!E), c(!!E);
|
|
2532
|
+
}, o = E && v || o) : L = (S) => {
|
|
2533
|
+
n && S.preventDefault(), u && u(S);
|
|
2534
|
+
}, R(() => {
|
|
2535
2535
|
A(a);
|
|
2536
2536
|
}, [a]);
|
|
2537
2537
|
const V = t ? "a" : "button", H = $t({
|
|
@@ -2551,7 +2551,7 @@ const it = ({
|
|
|
2551
2551
|
className: f,
|
|
2552
2552
|
size: p,
|
|
2553
2553
|
children: s,
|
|
2554
|
-
...
|
|
2554
|
+
...I
|
|
2555
2555
|
}), M = W(null), x = i || M;
|
|
2556
2556
|
return b = { duration: 0.3, ...b }, /* @__PURE__ */ Y(
|
|
2557
2557
|
V,
|
|
@@ -2561,7 +2561,7 @@ const it = ({
|
|
|
2561
2561
|
style: { transition: b.duration + "s" },
|
|
2562
2562
|
className: H.iconButton,
|
|
2563
2563
|
"aria-label": s,
|
|
2564
|
-
...
|
|
2564
|
+
...I,
|
|
2565
2565
|
title: void 0,
|
|
2566
2566
|
onClick: L,
|
|
2567
2567
|
ref: x,
|
|
@@ -2615,11 +2615,11 @@ var cn = {
|
|
|
2615
2615
|
prefix: "fas",
|
|
2616
2616
|
iconName: "circle-exclamation",
|
|
2617
2617
|
icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]
|
|
2618
|
-
},
|
|
2618
|
+
}, Le = {
|
|
2619
2619
|
prefix: "fas",
|
|
2620
2620
|
iconName: "xmark",
|
|
2621
2621
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
|
|
2622
|
-
}, un =
|
|
2622
|
+
}, un = Le, dn = {
|
|
2623
2623
|
prefix: "fas",
|
|
2624
2624
|
iconName: "bars",
|
|
2625
2625
|
icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
|
|
@@ -2641,10 +2641,10 @@ const zn = ({
|
|
|
2641
2641
|
...i
|
|
2642
2642
|
}) => {
|
|
2643
2643
|
u = { duration: 0.3, ease: "easeInOut", ...u };
|
|
2644
|
-
const d = W(null), h = a || d, w = typeof p == "boolean", [b, g] =
|
|
2645
|
-
w || g(
|
|
2644
|
+
const d = W(null), h = a || d, w = typeof p == "boolean", [b, g] = $(v), I = w ? p : b, E = (S) => {
|
|
2645
|
+
w || g(S), f == null || f(S);
|
|
2646
2646
|
}, A = Z.Children.toArray(o).filter(
|
|
2647
|
-
(
|
|
2647
|
+
(S) => Z.isValidElement(S) && S.type === ct
|
|
2648
2648
|
), L = Mt({
|
|
2649
2649
|
href: r,
|
|
2650
2650
|
icon: s,
|
|
@@ -2655,10 +2655,8 @@ const zn = ({
|
|
|
2655
2655
|
className: e,
|
|
2656
2656
|
transition: u,
|
|
2657
2657
|
children: t,
|
|
2658
|
-
open:
|
|
2659
|
-
}), V = q.create(Ce), H = q.create(
|
|
2660
|
-
q.create(ke);
|
|
2661
|
-
const M = (x) => /* @__PURE__ */ m(
|
|
2658
|
+
open: I
|
|
2659
|
+
}), V = q.create(Ce), H = q.create(be), M = (S) => /* @__PURE__ */ m(
|
|
2662
2660
|
V,
|
|
2663
2661
|
{
|
|
2664
2662
|
icon: s,
|
|
@@ -2667,7 +2665,7 @@ const zn = ({
|
|
|
2667
2665
|
variant: n + "Container",
|
|
2668
2666
|
size: l,
|
|
2669
2667
|
className: L.fab + " " + (e ?? ""),
|
|
2670
|
-
"aria-expanded":
|
|
2668
|
+
"aria-expanded": I,
|
|
2671
2669
|
onClick: () => E(!0),
|
|
2672
2670
|
style: { transition: "border-radius 0.3s ease-in-out" },
|
|
2673
2671
|
transition: {
|
|
@@ -2677,24 +2675,24 @@ const zn = ({
|
|
|
2677
2675
|
background: { duration: u.duration, ease: "easeInOut" },
|
|
2678
2676
|
...u
|
|
2679
2677
|
},
|
|
2680
|
-
...
|
|
2678
|
+
...S
|
|
2681
2679
|
}
|
|
2682
|
-
);
|
|
2680
|
+
), [x] = $(ge());
|
|
2683
2681
|
return /* @__PURE__ */ Y("div", { className: L.fabMenu, ref: h, ...i, children: [
|
|
2684
|
-
/* @__PURE__ */ m(se, { children:
|
|
2685
|
-
const
|
|
2686
|
-
return A.map((
|
|
2687
|
-
|
|
2688
|
-
const
|
|
2682
|
+
/* @__PURE__ */ m(se, { children: I && /* @__PURE__ */ m("div", { className: L.actions, role: "menu", "aria-hidden": !I, children: (() => {
|
|
2683
|
+
const S = A.length;
|
|
2684
|
+
return A.map((O, G) => {
|
|
2685
|
+
O.props;
|
|
2686
|
+
const te = S - 1 - G, _ = ((u == null ? void 0 : u.delay) ?? 0) + te * 0.06, ne = {
|
|
2689
2687
|
open: {
|
|
2690
2688
|
overflow: "visible",
|
|
2691
2689
|
opacity: 1,
|
|
2692
2690
|
width: "auto",
|
|
2693
2691
|
transition: {
|
|
2694
2692
|
...u,
|
|
2695
|
-
delay:
|
|
2693
|
+
delay: _,
|
|
2696
2694
|
opacity: {
|
|
2697
|
-
delay: (u == null ? void 0 : u.duration) / 2 +
|
|
2695
|
+
delay: (u == null ? void 0 : u.duration) / 2 + _
|
|
2698
2696
|
}
|
|
2699
2697
|
}
|
|
2700
2698
|
},
|
|
@@ -2704,7 +2702,7 @@ const zn = ({
|
|
|
2704
2702
|
width: 0,
|
|
2705
2703
|
transition: {
|
|
2706
2704
|
...u,
|
|
2707
|
-
delay:
|
|
2705
|
+
delay: _,
|
|
2708
2706
|
opacity: {
|
|
2709
2707
|
duration: (u == null ? void 0 : u.duration) / 1.5
|
|
2710
2708
|
}
|
|
@@ -2716,18 +2714,18 @@ const zn = ({
|
|
|
2716
2714
|
{
|
|
2717
2715
|
initial: "close",
|
|
2718
2716
|
animate: "open",
|
|
2719
|
-
variants:
|
|
2717
|
+
variants: ne,
|
|
2720
2718
|
transition: u,
|
|
2721
2719
|
exit: "close",
|
|
2722
2720
|
children: Z.cloneElement(
|
|
2723
|
-
|
|
2721
|
+
O,
|
|
2724
2722
|
{
|
|
2725
|
-
key:
|
|
2723
|
+
key: G,
|
|
2726
2724
|
shape: "rounded",
|
|
2727
2725
|
variant: "filled",
|
|
2728
2726
|
className: () => ({
|
|
2729
2727
|
button: y("max-w-full overflow-hidden", {
|
|
2730
|
-
"px-0": !
|
|
2728
|
+
"px-0": !I,
|
|
2731
2729
|
"bg-primary-container text-on-primary-container ": n === "primary",
|
|
2732
2730
|
"bg-secondary-container text-on-secondary-container": n === "secondary",
|
|
2733
2731
|
"bg-tertiary-container text-on-tertiary-container": n === "tertiary"
|
|
@@ -2748,16 +2746,16 @@ const zn = ({
|
|
|
2748
2746
|
className: "invisible pointer-events-none"
|
|
2749
2747
|
}),
|
|
2750
2748
|
/* @__PURE__ */ Y("div", { className: "absolute right-0 top-0", children: [
|
|
2751
|
-
!
|
|
2749
|
+
!I && M({
|
|
2752
2750
|
className: "",
|
|
2753
2751
|
layout: !0,
|
|
2754
|
-
layoutId: "fab-menu"
|
|
2752
|
+
layoutId: "fab-menu" + x
|
|
2755
2753
|
}),
|
|
2756
|
-
|
|
2754
|
+
I && /* @__PURE__ */ m(me, { children: /* @__PURE__ */ m(
|
|
2757
2755
|
H,
|
|
2758
2756
|
{
|
|
2759
2757
|
layout: !0,
|
|
2760
|
-
layoutId: "fab-menu",
|
|
2758
|
+
layoutId: "fab-menu" + x,
|
|
2761
2759
|
variant: "filled",
|
|
2762
2760
|
className: () => ({
|
|
2763
2761
|
iconButton: y("", {
|
|
@@ -2820,15 +2818,15 @@ const zn = ({
|
|
|
2820
2818
|
}, f = (B = !1) => B ? c : c == 1 / 0 ? a[(a == null ? void 0 : a.length) - 1].value : c, i = (B = !1) => B ? s : s == -1 / 0 ? a[0].value : s, d = (B) => {
|
|
2821
2819
|
const k = i(!1);
|
|
2822
2820
|
return (f(!1) - k) * B / 100 + k;
|
|
2823
|
-
}, [h, w] =
|
|
2821
|
+
}, [h, w] = $(!1), b = W(null), g = u || b, [I, E] = $(r), [A, L] = $(v(r)), [V, H] = $(!1), M = (B) => {
|
|
2824
2822
|
H(!0), w(!0), O(B);
|
|
2825
2823
|
}, x = () => {
|
|
2826
2824
|
H(!1), w(!1);
|
|
2827
2825
|
};
|
|
2828
|
-
|
|
2826
|
+
R(() => (V ? (window.addEventListener("mouseup", x), window.addEventListener("mousemove", O), window.addEventListener("touchend", x), window.addEventListener("touchmove", O)) : (window.removeEventListener("mouseup", x), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", x), window.removeEventListener("touchmove", O)), () => {
|
|
2829
2827
|
window.removeEventListener("mouseup", x), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", x), window.removeEventListener("touchmove", O);
|
|
2830
2828
|
}), [V]);
|
|
2831
|
-
const
|
|
2829
|
+
const S = Dt({
|
|
2832
2830
|
className: e,
|
|
2833
2831
|
isChanging: h,
|
|
2834
2832
|
marks: a,
|
|
@@ -2836,7 +2834,7 @@ const zn = ({
|
|
|
2836
2834
|
min: s,
|
|
2837
2835
|
name: l,
|
|
2838
2836
|
step: n,
|
|
2839
|
-
value:
|
|
2837
|
+
value: I,
|
|
2840
2838
|
valueFormatter: t,
|
|
2841
2839
|
onChange: o
|
|
2842
2840
|
}), O = (B) => {
|
|
@@ -2875,8 +2873,8 @@ const zn = ({
|
|
|
2875
2873
|
let ue = K.value === 1 / 0 ? f() : K.value === -1 / 0 ? i() : K.value, C = U.value === 1 / 0 ? f() : U.value === -1 / 0 ? i() : U.value;
|
|
2876
2874
|
return ue = Math.abs(ue - k), C = Math.abs(C - k), ue < C ? K : U;
|
|
2877
2875
|
}).value), k >= f() && (k = f(!0)), k <= i() && (k = i(!0)), B = v(k), E(k), L(B), o && o(k);
|
|
2878
|
-
}, [
|
|
2879
|
-
return
|
|
2876
|
+
}, [te, _] = $(0);
|
|
2877
|
+
return R(() => {
|
|
2880
2878
|
const B = () => {
|
|
2881
2879
|
g.current && _(g.current.offsetWidth);
|
|
2882
2880
|
};
|
|
@@ -2891,17 +2889,17 @@ const zn = ({
|
|
|
2891
2889
|
switch (B.key) {
|
|
2892
2890
|
case "ArrowRight":
|
|
2893
2891
|
if (n)
|
|
2894
|
-
G({ value:
|
|
2892
|
+
G({ value: I + n });
|
|
2895
2893
|
else if (a) {
|
|
2896
|
-
const k = a.find((U) => U.value >
|
|
2894
|
+
const k = a.find((U) => U.value > I);
|
|
2897
2895
|
k && G({ value: k.value });
|
|
2898
2896
|
}
|
|
2899
2897
|
break;
|
|
2900
2898
|
case "ArrowLeft":
|
|
2901
2899
|
if (n)
|
|
2902
|
-
G({ value:
|
|
2900
|
+
G({ value: I - n });
|
|
2903
2901
|
else if (a) {
|
|
2904
|
-
const k = a.slice(0).reverse().find((U, K, le) =>
|
|
2902
|
+
const k = a.slice(0).reverse().find((U, K, le) => I === 1 / 0 ? K === 1 : U.value < I);
|
|
2905
2903
|
k && G({ value: k.value });
|
|
2906
2904
|
}
|
|
2907
2905
|
break;
|
|
@@ -2912,9 +2910,9 @@ const zn = ({
|
|
|
2912
2910
|
role: "slider",
|
|
2913
2911
|
"aria-valuemin": i(!0),
|
|
2914
2912
|
"aria-valuemax": f(!0),
|
|
2915
|
-
"aria-valuenow":
|
|
2916
|
-
"aria-valuetext":
|
|
2917
|
-
className:
|
|
2913
|
+
"aria-valuenow": I,
|
|
2914
|
+
"aria-valuetext": I.toString(),
|
|
2915
|
+
className: S.slider,
|
|
2918
2916
|
onMouseDown: M,
|
|
2919
2917
|
onClick: O,
|
|
2920
2918
|
ref: g,
|
|
@@ -2922,12 +2920,12 @@ const zn = ({
|
|
|
2922
2920
|
onDragStart: (B) => B.preventDefault(),
|
|
2923
2921
|
...p,
|
|
2924
2922
|
children: [
|
|
2925
|
-
/* @__PURE__ */ m("input", { type: "hidden", name: l, value:
|
|
2926
|
-
/* @__PURE__ */ m("div", { className:
|
|
2927
|
-
/* @__PURE__ */ m("div", { className:
|
|
2923
|
+
/* @__PURE__ */ m("input", { type: "hidden", name: l, value: I }),
|
|
2924
|
+
/* @__PURE__ */ m("div", { className: S.activeTrack, style: { flex: A / 100 } }),
|
|
2925
|
+
/* @__PURE__ */ m("div", { className: S.handle, children: /* @__PURE__ */ m(se, { children: h && /* @__PURE__ */ m(
|
|
2928
2926
|
q.div,
|
|
2929
2927
|
{
|
|
2930
|
-
className:
|
|
2928
|
+
className: S.valueIndicator,
|
|
2931
2929
|
initial: "hidden",
|
|
2932
2930
|
animate: "visible",
|
|
2933
2931
|
exit: "hidden",
|
|
@@ -2941,13 +2939,13 @@ const zn = ({
|
|
|
2941
2939
|
hidden: { opacity: 1, scale: 0 }
|
|
2942
2940
|
},
|
|
2943
2941
|
transition: { duration: 0.1 },
|
|
2944
|
-
children: t ? t(
|
|
2942
|
+
children: t ? t(I) : I
|
|
2945
2943
|
}
|
|
2946
2944
|
) }) }),
|
|
2947
2945
|
/* @__PURE__ */ m(
|
|
2948
2946
|
"div",
|
|
2949
2947
|
{
|
|
2950
|
-
className:
|
|
2948
|
+
className: S.inactiveTrack,
|
|
2951
2949
|
style: { flex: 1 - A / 100 }
|
|
2952
2950
|
}
|
|
2953
2951
|
),
|
|
@@ -2957,11 +2955,11 @@ const zn = ({
|
|
|
2957
2955
|
className: "w-[calc(100%-12px)] h-full absolute -translate-x-1/2 transform left-1/2",
|
|
2958
2956
|
children: a && a.map((B, k) => {
|
|
2959
2957
|
let U = null;
|
|
2960
|
-
const K = (h ? 9 : 10) /
|
|
2958
|
+
const K = (h ? 9 : 10) / te * 100, le = v(B.value);
|
|
2961
2959
|
return le <= A - K ? U = !0 : le >= A + K && (U = !1), /* @__PURE__ */ m(
|
|
2962
2960
|
"div",
|
|
2963
2961
|
{
|
|
2964
|
-
className: y(
|
|
2962
|
+
className: y(S.dot, {
|
|
2965
2963
|
"bg-primary-container": U != null && U,
|
|
2966
2964
|
"bg-primary": U != null && !U
|
|
2967
2965
|
}),
|
|
@@ -2986,12 +2984,12 @@ const zn = ({
|
|
|
2986
2984
|
extended: s,
|
|
2987
2985
|
divider: c,
|
|
2988
2986
|
onExtendedChange: a,
|
|
2989
|
-
closeIcon: u =
|
|
2987
|
+
closeIcon: u = Le,
|
|
2990
2988
|
transition: o,
|
|
2991
2989
|
...p
|
|
2992
2990
|
}) => {
|
|
2993
2991
|
o = { duration: 0.3, ...o };
|
|
2994
|
-
const [v, f] =
|
|
2992
|
+
const [v, f] = $(s ?? !0), i = Bt({
|
|
2995
2993
|
transition: o,
|
|
2996
2994
|
title: l,
|
|
2997
2995
|
position: r,
|
|
@@ -3004,9 +3002,9 @@ const zn = ({
|
|
|
3004
3002
|
extended: v,
|
|
3005
3003
|
variant: e
|
|
3006
3004
|
});
|
|
3007
|
-
|
|
3005
|
+
R(() => {
|
|
3008
3006
|
a == null || a(v ?? !1);
|
|
3009
|
-
}, [v]),
|
|
3007
|
+
}, [v]), R(() => {
|
|
3010
3008
|
s != null && f(s);
|
|
3011
3009
|
}, [s]);
|
|
3012
3010
|
const d = {
|
|
@@ -3047,7 +3045,7 @@ const zn = ({
|
|
|
3047
3045
|
/* @__PURE__ */ Y("div", { className: i.header, children: [
|
|
3048
3046
|
l && /* @__PURE__ */ m("p", { className: i.title, children: l }),
|
|
3049
3047
|
/* @__PURE__ */ m(
|
|
3050
|
-
|
|
3048
|
+
be,
|
|
3051
3049
|
{
|
|
3052
3050
|
size: "small",
|
|
3053
3051
|
label: "close",
|
|
@@ -3073,16 +3071,16 @@ const zn = ({
|
|
|
3073
3071
|
}
|
|
3074
3072
|
) })
|
|
3075
3073
|
] });
|
|
3076
|
-
return e == "modal" ?
|
|
3074
|
+
return e == "modal" ? Ye(h(), document.body) : h();
|
|
3077
3075
|
}, nr = ({
|
|
3078
3076
|
message: e,
|
|
3079
3077
|
className: t,
|
|
3080
3078
|
duration: n,
|
|
3081
|
-
closeIcon: l =
|
|
3079
|
+
closeIcon: l = Le,
|
|
3082
3080
|
onClose: r,
|
|
3083
3081
|
...s
|
|
3084
3082
|
}) => {
|
|
3085
|
-
const [c, a] =
|
|
3083
|
+
const [c, a] = $(!0), u = Wt({
|
|
3086
3084
|
className: t,
|
|
3087
3085
|
closeIcon: l,
|
|
3088
3086
|
duration: n,
|
|
@@ -3090,7 +3088,7 @@ const zn = ({
|
|
|
3090
3088
|
onClose: r,
|
|
3091
3089
|
message: e
|
|
3092
3090
|
});
|
|
3093
|
-
|
|
3091
|
+
R(() => {
|
|
3094
3092
|
n && setTimeout(() => {
|
|
3095
3093
|
o();
|
|
3096
3094
|
}, n);
|
|
@@ -3110,7 +3108,7 @@ const zn = ({
|
|
|
3110
3108
|
children: /* @__PURE__ */ Y("div", { className: u.container, children: [
|
|
3111
3109
|
/* @__PURE__ */ m("p", { className: u.supportingText, children: e }),
|
|
3112
3110
|
/* @__PURE__ */ m(
|
|
3113
|
-
|
|
3111
|
+
be,
|
|
3114
3112
|
{
|
|
3115
3113
|
onClick: () => o(),
|
|
3116
3114
|
className: u.icon,
|
|
@@ -3133,7 +3131,7 @@ const zn = ({
|
|
|
3133
3131
|
ref: u,
|
|
3134
3132
|
...o
|
|
3135
3133
|
}) => {
|
|
3136
|
-
const [p, v] =
|
|
3134
|
+
const [p, v] = $(e), f = (g) => {
|
|
3137
3135
|
l || (d(), c && c(g));
|
|
3138
3136
|
}, i = (g) => {
|
|
3139
3137
|
l || ((g.key === " " || g.key === "Enter") && (g.preventDefault(), d()), a && a(g));
|
|
@@ -3204,10 +3202,10 @@ const zn = ({
|
|
|
3204
3202
|
ref: i,
|
|
3205
3203
|
...d
|
|
3206
3204
|
}) => {
|
|
3207
|
-
const h = W(null), w = i || h, [b, g] =
|
|
3208
|
-
|
|
3205
|
+
const h = W(null), w = i || h, [b, g] = $(f);
|
|
3206
|
+
R(() => {
|
|
3209
3207
|
f && c == null ? g(!0) : g(c == o && o != null);
|
|
3210
|
-
}, [c]),
|
|
3208
|
+
}, [c]), R(() => {
|
|
3211
3209
|
c == o && p && p({
|
|
3212
3210
|
ref: w,
|
|
3213
3211
|
index: o || 0,
|
|
@@ -3215,7 +3213,7 @@ const zn = ({
|
|
|
3215
3213
|
icon: s
|
|
3216
3214
|
});
|
|
3217
3215
|
}, [c]);
|
|
3218
|
-
const
|
|
3216
|
+
const I = r ? "a" : "button", E = (L) => {
|
|
3219
3217
|
a && a(o ?? null), t && t(L);
|
|
3220
3218
|
}, A = Pt({
|
|
3221
3219
|
className: e,
|
|
@@ -3233,7 +3231,7 @@ const zn = ({
|
|
|
3233
3231
|
href: r
|
|
3234
3232
|
});
|
|
3235
3233
|
return /* @__PURE__ */ Y(
|
|
3236
|
-
|
|
3234
|
+
I,
|
|
3237
3235
|
{
|
|
3238
3236
|
...d,
|
|
3239
3237
|
role: "tab",
|
|
@@ -3277,7 +3275,7 @@ const zn = ({
|
|
|
3277
3275
|
setSelectedTab: s,
|
|
3278
3276
|
scrollable: c = !1
|
|
3279
3277
|
}) => {
|
|
3280
|
-
const [a, u] =
|
|
3278
|
+
const [a, u] = $(
|
|
3281
3279
|
null
|
|
3282
3280
|
);
|
|
3283
3281
|
let o;
|
|
@@ -3288,11 +3286,11 @@ const zn = ({
|
|
|
3288
3286
|
if (t == null || t(w), c) {
|
|
3289
3287
|
const b = f.current, g = w.ref.current;
|
|
3290
3288
|
if (b && g) {
|
|
3291
|
-
const
|
|
3292
|
-
b.scrollTo({ left:
|
|
3289
|
+
const I = g.offsetLeft + g.offsetWidth / 2 - b.offsetWidth / 2;
|
|
3290
|
+
b.scrollTo({ left: I, behavior: "smooth" });
|
|
3293
3291
|
}
|
|
3294
3292
|
}
|
|
3295
|
-
}, d = Me(() =>
|
|
3293
|
+
}, d = Me(() => ge(), []), h = Ht({
|
|
3296
3294
|
children: n,
|
|
3297
3295
|
onTabSelected: t,
|
|
3298
3296
|
scrollable: c,
|
|
@@ -3331,26 +3329,26 @@ const zn = ({
|
|
|
3331
3329
|
showSupportingText: w = !1,
|
|
3332
3330
|
...b
|
|
3333
3331
|
}) => {
|
|
3334
|
-
const [g,
|
|
3332
|
+
const [g, I] = $(h ?? ""), [E, A] = $(!1), [L, V] = $(!1), [H, M] = $(
|
|
3335
3333
|
w
|
|
3336
3334
|
);
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
}, [h]),
|
|
3335
|
+
R(() => {
|
|
3336
|
+
I(h ?? "");
|
|
3337
|
+
}, [h]), R(() => {
|
|
3340
3338
|
n != null && n.length ? V(!0) : V(!1);
|
|
3341
|
-
}, [n]),
|
|
3339
|
+
}, [n]), R(() => {
|
|
3342
3340
|
w ? M(w) : u != null && u.length ? M(!0) : M(!1);
|
|
3343
|
-
}, [H, u]),
|
|
3341
|
+
}, [H, u]), R(() => {
|
|
3344
3342
|
E && V(!1);
|
|
3345
3343
|
}, [E]);
|
|
3346
|
-
const x = Z.useRef(null),
|
|
3344
|
+
const x = Z.useRef(null), S = () => {
|
|
3347
3345
|
x.current && !E && x.current.focus();
|
|
3348
3346
|
}, O = () => {
|
|
3349
3347
|
A(!0);
|
|
3350
3348
|
}, G = (U) => {
|
|
3351
3349
|
const K = U.target.value;
|
|
3352
|
-
|
|
3353
|
-
},
|
|
3350
|
+
I(K), V(!1), typeof d == "function" && d(K);
|
|
3351
|
+
}, te = () => {
|
|
3354
3352
|
A(!1);
|
|
3355
3353
|
}, _ = Ft({
|
|
3356
3354
|
showSupportingText: H,
|
|
@@ -3372,7 +3370,7 @@ const zn = ({
|
|
|
3372
3370
|
value: g,
|
|
3373
3371
|
suffix: r,
|
|
3374
3372
|
textLine: f
|
|
3375
|
-
}), [ne] =
|
|
3373
|
+
}), [ne] = $(ge());
|
|
3376
3374
|
let B, k;
|
|
3377
3375
|
switch (f) {
|
|
3378
3376
|
case "multiLine":
|
|
@@ -3387,7 +3385,7 @@ const zn = ({
|
|
|
3387
3385
|
break;
|
|
3388
3386
|
}
|
|
3389
3387
|
return /* @__PURE__ */ Y("div", { className: _.textField, ...b, children: [
|
|
3390
|
-
/* @__PURE__ */ Y("fieldset", { onClick:
|
|
3388
|
+
/* @__PURE__ */ Y("fieldset", { onClick: S, className: _.content, children: [
|
|
3391
3389
|
/* @__PURE__ */ m("div", { className: _.stateLayer }),
|
|
3392
3390
|
p && /* @__PURE__ */ m("div", { className: _.leadingIcon, children: Z.isValidElement(p) ? p : /* @__PURE__ */ m(ie, { className: "w-5 h-5", icon: p }) }),
|
|
3393
3391
|
!(!E && !g.length || e == "filled") && /* @__PURE__ */ m(
|
|
@@ -3447,7 +3445,7 @@ const zn = ({
|
|
|
3447
3445
|
name: s,
|
|
3448
3446
|
placeholder: E ? l ?? void 0 : "",
|
|
3449
3447
|
onFocus: O,
|
|
3450
|
-
onBlur:
|
|
3448
|
+
onBlur: te,
|
|
3451
3449
|
disabled: t,
|
|
3452
3450
|
autoComplete: i,
|
|
3453
3451
|
"aria-invalid": !!(n != null && n.length),
|
|
@@ -3545,10 +3543,10 @@ const zn = ({
|
|
|
3545
3543
|
...g
|
|
3546
3544
|
}) => {
|
|
3547
3545
|
b && (n = b);
|
|
3548
|
-
const
|
|
3549
|
-
|
|
3546
|
+
const I = W(null), E = v || I, [A, L] = $(p);
|
|
3547
|
+
R(() => {
|
|
3550
3548
|
p && c == null ? L(!0) : L(c == u && u != null);
|
|
3551
|
-
}, [c]),
|
|
3549
|
+
}, [c]), R(() => {
|
|
3552
3550
|
c == u && o && o({
|
|
3553
3551
|
ref: E,
|
|
3554
3552
|
index: u || 0,
|
|
@@ -3626,7 +3624,7 @@ const zn = ({
|
|
|
3626
3624
|
transition: {
|
|
3627
3625
|
...f
|
|
3628
3626
|
}
|
|
3629
|
-
},
|
|
3627
|
+
}, S = {
|
|
3630
3628
|
width: "auto",
|
|
3631
3629
|
opacity: 1,
|
|
3632
3630
|
transition: {
|
|
@@ -3641,7 +3639,7 @@ const zn = ({
|
|
|
3641
3639
|
q.span,
|
|
3642
3640
|
{
|
|
3643
3641
|
initial: x,
|
|
3644
|
-
animate:
|
|
3642
|
+
animate: S,
|
|
3645
3643
|
exit: x,
|
|
3646
3644
|
className: M.label,
|
|
3647
3645
|
children: n
|
|
@@ -3661,7 +3659,7 @@ const zn = ({
|
|
|
3661
3659
|
duration: 0
|
|
3662
3660
|
}
|
|
3663
3661
|
}
|
|
3664
|
-
},
|
|
3662
|
+
}, S = {
|
|
3665
3663
|
height: "auto",
|
|
3666
3664
|
opacity: 1,
|
|
3667
3665
|
transition: {
|
|
@@ -3675,8 +3673,8 @@ const zn = ({
|
|
|
3675
3673
|
return /* @__PURE__ */ m(
|
|
3676
3674
|
q.span,
|
|
3677
3675
|
{
|
|
3678
|
-
initial:
|
|
3679
|
-
animate:
|
|
3676
|
+
initial: S,
|
|
3677
|
+
animate: S,
|
|
3680
3678
|
exit: x,
|
|
3681
3679
|
className: M.label,
|
|
3682
3680
|
transition: f,
|
|
@@ -3721,7 +3719,7 @@ const zn = ({
|
|
|
3721
3719
|
label: "Open menu"
|
|
3722
3720
|
},
|
|
3723
3721
|
opened: {
|
|
3724
|
-
icon:
|
|
3722
|
+
icon: Le,
|
|
3725
3723
|
label: "Close menu"
|
|
3726
3724
|
}
|
|
3727
3725
|
},
|
|
@@ -3730,16 +3728,16 @@ const zn = ({
|
|
|
3730
3728
|
transition: p,
|
|
3731
3729
|
setSelectedItem: v
|
|
3732
3730
|
}) => {
|
|
3733
|
-
const [f, i] =
|
|
3731
|
+
const [f, i] = $(null), [d, h] = $(s);
|
|
3734
3732
|
let w;
|
|
3735
3733
|
r == 0 || r != null ? w = r : w = f;
|
|
3736
|
-
const b = v || i, g = W(null),
|
|
3734
|
+
const b = v || i, g = W(null), I = (M) => {
|
|
3737
3735
|
t == null || t(M);
|
|
3738
3736
|
};
|
|
3739
3737
|
function E(M) {
|
|
3740
3738
|
const x = [];
|
|
3741
|
-
return dt.forEach(M, (
|
|
3742
|
-
pe(
|
|
3739
|
+
return dt.forEach(M, (S) => {
|
|
3740
|
+
pe(S) && S.type === ft ? x.push(...E(S.props.children)) : x.push(S);
|
|
3743
3741
|
}), x;
|
|
3744
3742
|
}
|
|
3745
3743
|
const A = E(n), L = A.filter(
|
|
@@ -3760,7 +3758,7 @@ const zn = ({
|
|
|
3760
3758
|
});
|
|
3761
3759
|
p = { duration: 0.3, ...p };
|
|
3762
3760
|
const H = W(!1);
|
|
3763
|
-
return H.current = !1,
|
|
3761
|
+
return H.current = !1, R(() => {
|
|
3764
3762
|
o == null || o(d ?? !1);
|
|
3765
3763
|
}, [d]), /* @__PURE__ */ Y(
|
|
3766
3764
|
"div",
|
|
@@ -3771,7 +3769,7 @@ const zn = ({
|
|
|
3771
3769
|
children: [
|
|
3772
3770
|
/* @__PURE__ */ Y("div", { className: V.header, children: [
|
|
3773
3771
|
/* @__PURE__ */ m(
|
|
3774
|
-
|
|
3772
|
+
be,
|
|
3775
3773
|
{
|
|
3776
3774
|
onClick: () => h(!d),
|
|
3777
3775
|
label: d ? a == null ? void 0 : a.opened.label : a == null ? void 0 : a.closed.label,
|
|
@@ -3796,7 +3794,7 @@ const zn = ({
|
|
|
3796
3794
|
variant: d ? "horizontal" : "vertical",
|
|
3797
3795
|
selectedItem: w,
|
|
3798
3796
|
setSelectedItem: b,
|
|
3799
|
-
onItemSelected:
|
|
3797
|
+
onItemSelected: I,
|
|
3800
3798
|
transition: p,
|
|
3801
3799
|
extendedOnly: H.current,
|
|
3802
3800
|
isExtended: d
|
|
@@ -3812,12 +3810,12 @@ function sr(e) {
|
|
|
3812
3810
|
return wt({
|
|
3813
3811
|
variant: xt.Udixio,
|
|
3814
3812
|
...e,
|
|
3815
|
-
plugins: [new vt(e), new
|
|
3813
|
+
plugins: [new vt(e), new Ue(e)]
|
|
3816
3814
|
});
|
|
3817
3815
|
}
|
|
3818
3816
|
export {
|
|
3819
3817
|
Jn as AnimateOnScrollInit,
|
|
3820
|
-
|
|
3818
|
+
ct as Button,
|
|
3821
3819
|
Qn as Card,
|
|
3822
3820
|
Tn as Carousel,
|
|
3823
3821
|
nn as CarouselItem,
|
|
@@ -3826,7 +3824,7 @@ export {
|
|
|
3826
3824
|
Ce as Fab,
|
|
3827
3825
|
zn as FabMenu,
|
|
3828
3826
|
ie as Icon,
|
|
3829
|
-
|
|
3827
|
+
be as IconButton,
|
|
3830
3828
|
ar as NavigationRail,
|
|
3831
3829
|
yn as NavigationRailItem,
|
|
3832
3830
|
pn as NavigationRailSection,
|
|
@@ -3847,7 +3845,7 @@ export {
|
|
|
3847
3845
|
Zn as animateOnScroll,
|
|
3848
3846
|
$n as buttonStyle,
|
|
3849
3847
|
Rn as cardStyle,
|
|
3850
|
-
|
|
3848
|
+
_e as carouselItemConfig,
|
|
3851
3849
|
Bn as carouselItemStyle,
|
|
3852
3850
|
Dn as carouselStyle,
|
|
3853
3851
|
y as classNames,
|
|
@@ -3861,12 +3859,12 @@ export {
|
|
|
3861
3859
|
An as fabStyle,
|
|
3862
3860
|
$e as getClassNames,
|
|
3863
3861
|
Hn as iconButtonStyle,
|
|
3864
|
-
|
|
3862
|
+
st as initAnimateOnScroll,
|
|
3865
3863
|
he as normalize,
|
|
3866
3864
|
Fn as progressIndicatorStyle,
|
|
3867
|
-
|
|
3865
|
+
ze as sideSheetConfig,
|
|
3868
3866
|
Bt as sideSheetStyle,
|
|
3869
|
-
|
|
3867
|
+
et as sliderConfig,
|
|
3870
3868
|
Vn as sliderStyle,
|
|
3871
3869
|
Yn as snackbarStyle,
|
|
3872
3870
|
Un as switchStyle,
|