@recursica/mantine-adapter 0.50.4 → 0.50.6
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 +12 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.js +970 -965
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +13 -0
- package/src/components/Chip/Chip.stories.tsx +11 -0
- package/src/components/Chip/Chip.tsx +6 -1
- package/src/components/FormControlWrapper/FormControlWrapper.tsx +8 -2
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as No, jsxs as M } from "react/jsx-runtime";
|
|
2
|
-
import K, { forwardRef as _, useState as ce, useEffect as
|
|
3
|
-
import { Accordion as qo, Input as
|
|
2
|
+
import K, { forwardRef as _, useState as ce, useEffect as ke, useId as Ft, useRef as Ve, useCallback as _o, useMemo as It } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Bt, Box as Ya, Autocomplete as Za, Avatar as Qa, createPolymorphicComponent as Te, Badge as Xa, Breadcrumbs as Ja, Loader as er, Button as or, Card as Ko, Checkbox as Ut, Chip as tr, Container as nr, Select as Vt, Flex as ar, Grid as Gt, Group as rr, HoverCard as st, Anchor as sr, Menu as We, Modal as he, NumberInput as lr, Pagination as je, Drawer as qe, Popover as lt, Radio as Ht, SegmentedControl as ir, RangeSlider as cr, Slider as dr, Stack as ur, Stepper as it, Switch as jt, CheckIcon as pr, CloseIcon as mr, Table as Ke, Tabs as Yo, Text as _r, Textarea as fr, TimelineItem as yr, Timeline as hr, Title as vr, Notification as Nr, Tooltip as ct, useTree as br, getTreeExpandedState as Cr, Tree as Pr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as gr, TimePicker as Tr } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as $r } from "@mantine/hooks";
|
|
6
6
|
const wr = "_root_1qhn7_3", Sr = "_contents_1qhn7_18", Co = {
|
|
@@ -59,9 +59,9 @@ function Or(r) {
|
|
|
59
59
|
function xu() {
|
|
60
60
|
return vo && io;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Ir() {
|
|
63
63
|
const [r, e] = ce(io);
|
|
64
|
-
return
|
|
64
|
+
return ke(() => {
|
|
65
65
|
if (!vo) return;
|
|
66
66
|
Kt(), Yt();
|
|
67
67
|
const n = () => e(io);
|
|
@@ -108,22 +108,22 @@ function Yt() {
|
|
|
108
108
|
};
|
|
109
109
|
r(window), window.parent && window.parent !== window && r(window.parent);
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const kt = "data-recursica-theme";
|
|
112
112
|
function Ou({
|
|
113
113
|
children: r,
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
116
116
|
}) {
|
|
117
|
-
return
|
|
117
|
+
return ke(() => {
|
|
118
118
|
const o = document.documentElement;
|
|
119
|
-
return o.setAttribute(
|
|
120
|
-
o.removeAttribute(
|
|
119
|
+
return o.setAttribute(kt, e), () => {
|
|
120
|
+
o.removeAttribute(kt);
|
|
121
121
|
};
|
|
122
|
-
}, [e]),
|
|
122
|
+
}, [e]), ke(() => {
|
|
123
123
|
Kt(), Yt();
|
|
124
124
|
}, []), n ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(No, { children: r });
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const Iu = [
|
|
127
127
|
"Accordion",
|
|
128
128
|
"AssistiveElement",
|
|
129
129
|
"Autocomplete",
|
|
@@ -178,7 +178,7 @@ const ku = [
|
|
|
178
178
|
"TransferList",
|
|
179
179
|
"Tree",
|
|
180
180
|
"Typography"
|
|
181
|
-
],
|
|
181
|
+
], ku = (r, e) => {
|
|
182
182
|
const n = document.activeElement;
|
|
183
183
|
return new Promise((o, t) => {
|
|
184
184
|
if (e && e.current) {
|
|
@@ -196,7 +196,7 @@ function Zt(r, e) {
|
|
|
196
196
|
const o = r.name.toLowerCase(), t = r.type.toLowerCase();
|
|
197
197
|
return n.some((s) => s.startsWith(".") ? o.endsWith(s) : s.endsWith("/*") ? t.startsWith(s.slice(0, -1)) : t === s);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function F(r, e) {
|
|
200
200
|
if (!e) return r;
|
|
201
201
|
const n = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
202
202
|
for (const t of o) {
|
|
@@ -205,7 +205,7 @@ function E(r, e) {
|
|
|
205
205
|
}
|
|
206
206
|
return n;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function kr(r, e) {
|
|
209
209
|
if (!e) return r;
|
|
210
210
|
const n = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
211
211
|
for (const t of o) {
|
|
@@ -232,7 +232,7 @@ function R(r) {
|
|
|
232
232
|
if (!vo || typeof r != "function" && !(r && r.$$typeof))
|
|
233
233
|
return r;
|
|
234
234
|
const e = K.forwardRef((o, t) => {
|
|
235
|
-
const { overStyled: s } = o, l =
|
|
235
|
+
const { overStyled: s } = o, l = Ir(), i = K.createElement(
|
|
236
236
|
r,
|
|
237
237
|
{ ...o, ref: t }
|
|
238
238
|
);
|
|
@@ -333,7 +333,7 @@ function u(r, e) {
|
|
|
333
333
|
typeof t == "string" && t.startsWith("rec-") && Xt.has(o) && t in Go && (n[o] = Go[t]);
|
|
334
334
|
return n;
|
|
335
335
|
}
|
|
336
|
-
const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryVk", Mr = "Accordion-module__noDivider___Ni2tT", Wr = "Accordion-module__control___b4wgX", zr = "Accordion-module__label___Ss7uW", Dr = "Accordion-module__icon___xfHxX", Er = "Accordion-module__chevron___i-HVZ",
|
|
336
|
+
const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryVk", Mr = "Accordion-module__noDivider___Ni2tT", Wr = "Accordion-module__control___b4wgX", zr = "Accordion-module__label___Ss7uW", Dr = "Accordion-module__icon___xfHxX", Er = "Accordion-module__chevron___i-HVZ", Fr = "Accordion-module__iconLeftWrapper___5oLen", Br = "Accordion-module__panel___Wx50w", Ur = "Accordion-module__content___PEM9t", Le = {
|
|
337
337
|
root: Lr,
|
|
338
338
|
item: Ar,
|
|
339
339
|
noDivider: Mr,
|
|
@@ -341,8 +341,8 @@ const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
341
341
|
label: zr,
|
|
342
342
|
icon: Dr,
|
|
343
343
|
chevron: Er,
|
|
344
|
-
iconLeftWrapper:
|
|
345
|
-
panel:
|
|
344
|
+
iconLeftWrapper: Fr,
|
|
345
|
+
panel: Br,
|
|
346
346
|
content: Ur
|
|
347
347
|
}, Rt = {
|
|
348
348
|
default: "unstyled"
|
|
@@ -351,7 +351,7 @@ const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
351
351
|
overStyled: n = !1,
|
|
352
352
|
...o
|
|
353
353
|
}) {
|
|
354
|
-
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i =
|
|
354
|
+
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i = F(
|
|
355
355
|
{
|
|
356
356
|
root: Le.root,
|
|
357
357
|
item: Le.item,
|
|
@@ -482,13 +482,13 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
482
482
|
overStyled: l = !1,
|
|
483
483
|
...i
|
|
484
484
|
}, c) {
|
|
485
|
-
const m = u(i, l), p = tt.root,
|
|
485
|
+
const m = u(i, l), p = tt.root, C = t ? `${p} ${t}` : p, y = e === "error" ? Kr : qr;
|
|
486
486
|
return /* @__PURE__ */ M(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
489
489
|
ref: c,
|
|
490
490
|
...m,
|
|
491
|
-
className:
|
|
491
|
+
className: C,
|
|
492
492
|
"data-variant": e,
|
|
493
493
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
494
494
|
style: m.style,
|
|
@@ -519,31 +519,31 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
519
519
|
overStyled: d = !1,
|
|
520
520
|
...m
|
|
521
521
|
}, p) {
|
|
522
|
-
const
|
|
522
|
+
const C = n || "left";
|
|
523
523
|
let y;
|
|
524
524
|
o || (t === !0 ? y = "optional" : t && (y = t));
|
|
525
|
-
const
|
|
525
|
+
const N = [
|
|
526
526
|
"size"
|
|
527
527
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
528
|
-
],
|
|
528
|
+
], v = G(
|
|
529
529
|
u(m, d),
|
|
530
|
-
|
|
531
|
-
),
|
|
530
|
+
N
|
|
531
|
+
), S = v, b = F(
|
|
532
532
|
{
|
|
533
533
|
label: to.root,
|
|
534
534
|
required: to.required
|
|
535
535
|
},
|
|
536
|
-
|
|
537
|
-
),
|
|
536
|
+
S.classNames
|
|
537
|
+
), T = S.className, $ = T ? `${to.root} ${T}` : to.root;
|
|
538
538
|
return /* @__PURE__ */ M(
|
|
539
|
-
|
|
539
|
+
Bt.Label,
|
|
540
540
|
{
|
|
541
541
|
ref: p,
|
|
542
|
-
...
|
|
542
|
+
...v,
|
|
543
543
|
className: $,
|
|
544
|
-
classNames:
|
|
544
|
+
classNames: b,
|
|
545
545
|
"data-size": e,
|
|
546
|
-
"data-alignment":
|
|
546
|
+
"data-alignment": C,
|
|
547
547
|
required: o && !s,
|
|
548
548
|
children: [
|
|
549
549
|
/* @__PURE__ */ a("span", { className: to.labelText, children: c }),
|
|
@@ -633,68 +633,71 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
633
633
|
description: d,
|
|
634
634
|
assistiveText: m,
|
|
635
635
|
assistiveWithIcon: p = !0,
|
|
636
|
-
controlMaxWidth:
|
|
636
|
+
controlMaxWidth: C,
|
|
637
637
|
controlMinWidth: y,
|
|
638
|
-
error:
|
|
639
|
-
required:
|
|
640
|
-
withAsterisk:
|
|
641
|
-
id:
|
|
642
|
-
children:
|
|
638
|
+
error: N,
|
|
639
|
+
required: v,
|
|
640
|
+
withAsterisk: S,
|
|
641
|
+
id: b,
|
|
642
|
+
children: T,
|
|
643
643
|
className: $,
|
|
644
|
-
overStyled:
|
|
645
|
-
labelElement:
|
|
644
|
+
overStyled: g = !1,
|
|
645
|
+
labelElement: P,
|
|
646
646
|
// Extracted safely preventing bleeding into HTML domains
|
|
647
647
|
...f
|
|
648
|
-
},
|
|
649
|
-
const
|
|
650
|
-
|
|
648
|
+
}, w) {
|
|
649
|
+
const h = Ft(), O = b || `recursica-fc-${h}`, A = `${O}-label`, E = m || d, W = E ? `${O}-assistive` : void 0, L = N ? `${O}-error` : void 0, j = u(f, g), q = $ || j.className, X = Lt.root, H = q ? `${X} ${q}` : X, Y = K.isValidElement(T) ? K.cloneElement(
|
|
650
|
+
T,
|
|
651
651
|
{
|
|
652
|
-
...
|
|
653
|
-
|
|
652
|
+
...T.props.id ? {} : { id: O },
|
|
653
|
+
"aria-labelledby": A,
|
|
654
|
+
...E && !T.props["aria-describedby"] ? { "aria-describedby": W } : {},
|
|
655
|
+
...N && !T.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
654
656
|
}
|
|
655
|
-
) :
|
|
657
|
+
) : T, ee = c ? /* @__PURE__ */ a(
|
|
656
658
|
ut,
|
|
657
659
|
{
|
|
658
|
-
id:
|
|
660
|
+
id: A,
|
|
661
|
+
htmlFor: O,
|
|
659
662
|
labelAlignment: o,
|
|
660
663
|
labelOptionalText: t,
|
|
661
664
|
labelWithEditIcon: s,
|
|
662
665
|
labelActionArea: l,
|
|
663
666
|
onLabelEditClick: i,
|
|
664
|
-
required:
|
|
665
|
-
...
|
|
667
|
+
required: S ?? v,
|
|
668
|
+
...P === "div" ? { as: "div" } : {},
|
|
666
669
|
children: c
|
|
667
670
|
}
|
|
668
671
|
) : void 0;
|
|
669
672
|
return /* @__PURE__ */ a(
|
|
670
673
|
Ge,
|
|
671
674
|
{
|
|
672
|
-
ref:
|
|
673
|
-
className:
|
|
675
|
+
ref: w,
|
|
676
|
+
className: H,
|
|
674
677
|
formLayout: e,
|
|
675
678
|
labelSize: n,
|
|
676
|
-
controlMaxWidth:
|
|
679
|
+
controlMaxWidth: C,
|
|
677
680
|
controlMinWidth: y,
|
|
678
|
-
leftSection:
|
|
679
|
-
...
|
|
681
|
+
leftSection: ee,
|
|
682
|
+
...j,
|
|
680
683
|
children: /* @__PURE__ */ M("div", { className: Lt.inputSection, children: [
|
|
681
|
-
|
|
682
|
-
|
|
684
|
+
Y,
|
|
685
|
+
N && /* @__PURE__ */ a(
|
|
683
686
|
Ho,
|
|
684
687
|
{
|
|
685
|
-
id:
|
|
688
|
+
id: L,
|
|
686
689
|
assistiveVariant: "error",
|
|
687
690
|
assistiveWithIcon: p,
|
|
688
|
-
children:
|
|
691
|
+
children: N
|
|
689
692
|
}
|
|
690
693
|
),
|
|
691
|
-
!
|
|
694
|
+
!N && E && /* @__PURE__ */ a(
|
|
692
695
|
Ho,
|
|
693
696
|
{
|
|
694
|
-
id:
|
|
697
|
+
id: W,
|
|
695
698
|
assistiveVariant: "help",
|
|
696
699
|
assistiveWithIcon: p,
|
|
697
|
-
children:
|
|
700
|
+
children: E
|
|
698
701
|
}
|
|
699
702
|
)
|
|
700
703
|
] })
|
|
@@ -764,14 +767,14 @@ const pt = _(
|
|
|
764
767
|
);
|
|
765
768
|
break;
|
|
766
769
|
}
|
|
767
|
-
const
|
|
770
|
+
const N = s ? `${jo.layoutOverride} ${s}` : jo.layoutOverride;
|
|
768
771
|
return /* @__PURE__ */ a(
|
|
769
772
|
go,
|
|
770
773
|
{
|
|
771
774
|
ref: c,
|
|
772
775
|
...m,
|
|
773
776
|
overStyled: t,
|
|
774
|
-
className:
|
|
777
|
+
className: N,
|
|
775
778
|
style: l,
|
|
776
779
|
children: d
|
|
777
780
|
}
|
|
@@ -868,27 +871,27 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
868
871
|
onLabelEditClick: d,
|
|
869
872
|
label: m,
|
|
870
873
|
assistiveText: p,
|
|
871
|
-
assistiveWithIcon:
|
|
874
|
+
assistiveWithIcon: C,
|
|
872
875
|
error: y,
|
|
873
|
-
required:
|
|
874
|
-
withAsterisk:
|
|
875
|
-
id:
|
|
876
|
-
className:
|
|
877
|
-
style:
|
|
876
|
+
required: N,
|
|
877
|
+
withAsterisk: v,
|
|
878
|
+
id: S,
|
|
879
|
+
className: b,
|
|
880
|
+
style: T,
|
|
878
881
|
disabled: $,
|
|
879
|
-
readOnly:
|
|
880
|
-
readOnlyComponent:
|
|
882
|
+
readOnly: g,
|
|
883
|
+
readOnlyComponent: P,
|
|
881
884
|
emptyValueComponent: f,
|
|
882
|
-
value:
|
|
883
|
-
defaultValue:
|
|
884
|
-
data:
|
|
885
|
-
renderOption:
|
|
886
|
-
wrapItemText:
|
|
885
|
+
value: w,
|
|
886
|
+
defaultValue: h,
|
|
887
|
+
data: O,
|
|
888
|
+
renderOption: A,
|
|
889
|
+
wrapItemText: E = !1,
|
|
887
890
|
...W
|
|
888
|
-
} = e,
|
|
891
|
+
} = e, L = G(
|
|
889
892
|
u(W, o),
|
|
890
893
|
Ns
|
|
891
|
-
),
|
|
894
|
+
), Z = L, j = Qt(O), q = F(
|
|
892
895
|
{
|
|
893
896
|
wrapper: Ce.root,
|
|
894
897
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -897,19 +900,19 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
897
900
|
dropdown: Ce.dropdown,
|
|
898
901
|
option: Ce.option
|
|
899
902
|
},
|
|
900
|
-
|
|
901
|
-
),
|
|
903
|
+
Z.classNames
|
|
904
|
+
), X = {
|
|
902
905
|
optionContent: Ce.optionContent,
|
|
903
906
|
optionIcon: Ce.optionIcon,
|
|
904
907
|
optionText: Ce.optionText,
|
|
905
908
|
optionTextWrap: Ce.optionTextWrap,
|
|
906
909
|
optionSupportingText: Ce.optionSupportingText
|
|
907
|
-
}, H =
|
|
910
|
+
}, H = b ? `${Ce.layoutOverride} ${b}` : Ce.layoutOverride;
|
|
908
911
|
return /* @__PURE__ */ a(
|
|
909
912
|
ve,
|
|
910
913
|
{
|
|
911
914
|
className: H,
|
|
912
|
-
style:
|
|
915
|
+
style: T,
|
|
913
916
|
controlMaxWidth: "var(--autocomplete-control-max-width)",
|
|
914
917
|
controlMinWidth: "var(--autocomplete-control-min-width)",
|
|
915
918
|
overStyled: o,
|
|
@@ -921,16 +924,16 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
921
924
|
onLabelEditClick: d,
|
|
922
925
|
label: m,
|
|
923
926
|
assistiveText: p,
|
|
924
|
-
assistiveWithIcon:
|
|
927
|
+
assistiveWithIcon: C,
|
|
925
928
|
error: y,
|
|
926
|
-
required:
|
|
927
|
-
withAsterisk:
|
|
928
|
-
id:
|
|
929
|
-
readOnly:
|
|
930
|
-
readOnlyComponent:
|
|
929
|
+
required: N,
|
|
930
|
+
withAsterisk: v,
|
|
931
|
+
id: S,
|
|
932
|
+
readOnly: g,
|
|
933
|
+
readOnlyComponent: P,
|
|
931
934
|
emptyValueComponent: f,
|
|
932
935
|
readOnlyType: "text",
|
|
933
|
-
readOnlyValue:
|
|
936
|
+
readOnlyValue: w !== void 0 ? w : h,
|
|
934
937
|
readOnlyNativeProps: e,
|
|
935
938
|
activeComponent: (
|
|
936
939
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -938,14 +941,14 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
938
941
|
Za,
|
|
939
942
|
{
|
|
940
943
|
ref: n,
|
|
941
|
-
...
|
|
944
|
+
...L,
|
|
942
945
|
classNames: q,
|
|
943
946
|
disabled: $,
|
|
944
|
-
value:
|
|
945
|
-
defaultValue:
|
|
947
|
+
value: w,
|
|
948
|
+
defaultValue: h,
|
|
946
949
|
error: !!y,
|
|
947
950
|
data: j,
|
|
948
|
-
renderOption:
|
|
951
|
+
renderOption: A ?? ((Y) => en(Y, X, E))
|
|
949
952
|
}
|
|
950
953
|
)
|
|
951
954
|
)
|
|
@@ -982,33 +985,33 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
|
|
|
982
985
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
983
986
|
"radius"
|
|
984
987
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
985
|
-
],
|
|
988
|
+
], C = G(
|
|
986
989
|
u(i, l),
|
|
987
990
|
p
|
|
988
|
-
), y =
|
|
989
|
-
let
|
|
990
|
-
s ?
|
|
991
|
-
const
|
|
991
|
+
), y = C;
|
|
992
|
+
let N = "text";
|
|
993
|
+
s ? N = "image" : o && (N = "icon");
|
|
994
|
+
const v = F(
|
|
992
995
|
{
|
|
993
996
|
root: To.root,
|
|
994
997
|
image: To.image,
|
|
995
998
|
placeholder: To.placeholder
|
|
996
999
|
},
|
|
997
1000
|
y.classNames
|
|
998
|
-
),
|
|
1001
|
+
), S = y.className;
|
|
999
1002
|
return /* @__PURE__ */ a(
|
|
1000
1003
|
Qa,
|
|
1001
1004
|
{
|
|
1002
1005
|
ref: c,
|
|
1003
|
-
...
|
|
1004
|
-
className:
|
|
1005
|
-
classNames:
|
|
1006
|
+
...C,
|
|
1007
|
+
className: S,
|
|
1008
|
+
classNames: v,
|
|
1006
1009
|
variant: d[n],
|
|
1007
1010
|
size: m[e],
|
|
1008
1011
|
src: s,
|
|
1009
1012
|
"data-variant": n,
|
|
1010
1013
|
"data-size": e,
|
|
1011
|
-
"data-style":
|
|
1014
|
+
"data-style": N,
|
|
1012
1015
|
children: o != null ? /* @__PURE__ */ a("span", { className: To.iconWrapper, "aria-hidden": !0, children: o }) : t != null ? /* @__PURE__ */ a("span", { className: To.textWrapper, children: t }) : void 0
|
|
1013
1016
|
}
|
|
1014
1017
|
);
|
|
@@ -1017,7 +1020,7 @@ tn.displayName = "Avatar";
|
|
|
1017
1020
|
const $s = Te(tn), ws = "Badge-module__root___5osNT", $o = {
|
|
1018
1021
|
root: ws
|
|
1019
1022
|
}, nn = _(function({ variant: e = "primary-color", overStyled: n = !1, ...o }, t) {
|
|
1020
|
-
const s = u(o, n), l =
|
|
1023
|
+
const s = u(o, n), l = F(
|
|
1021
1024
|
{
|
|
1022
1025
|
root: $o.root,
|
|
1023
1026
|
section: $o.section,
|
|
@@ -1046,7 +1049,7 @@ const an = Te(nn), Ss = "Breadcrumb-module__root___x-9ln", xs = "Breadcrumb-modu
|
|
|
1046
1049
|
const s = u(
|
|
1047
1050
|
{ separator: n, ...o },
|
|
1048
1051
|
e
|
|
1049
|
-
), l =
|
|
1052
|
+
), l = F(
|
|
1050
1053
|
{
|
|
1051
1054
|
root: Eo.root,
|
|
1052
1055
|
separator: Eo.separator
|
|
@@ -1082,10 +1085,10 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1082
1085
|
small: "small",
|
|
1083
1086
|
default: "default",
|
|
1084
1087
|
large: "large"
|
|
1085
|
-
}[n] || "default", c = u(t, o), d = c, m =
|
|
1088
|
+
}[n] || "default", c = u(t, o), d = c, m = F(
|
|
1086
1089
|
{ root: nt.root },
|
|
1087
1090
|
d.classNames
|
|
1088
|
-
), p = d.className,
|
|
1091
|
+
), p = d.className, C = p ? `${nt.root} ${p}` : nt.root;
|
|
1089
1092
|
return /* @__PURE__ */ a(
|
|
1090
1093
|
er,
|
|
1091
1094
|
{
|
|
@@ -1094,15 +1097,15 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1094
1097
|
type: e,
|
|
1095
1098
|
"data-variant": e,
|
|
1096
1099
|
"data-size": i,
|
|
1097
|
-
className:
|
|
1100
|
+
className: C,
|
|
1098
1101
|
classNames: m
|
|
1099
1102
|
}
|
|
1100
1103
|
);
|
|
1101
1104
|
});
|
|
1102
1105
|
mt.displayName = "Loader";
|
|
1103
|
-
const
|
|
1104
|
-
root:
|
|
1105
|
-
loader:
|
|
1106
|
+
const Is = "Button-module__root___Q2R8-", ks = "Button-module__loader___X-9u-", Rs = "Button-module__label___UJ3Zt", Ls = "Button-module__labelText___rFV5p", As = "Button-module__iconWrapper___uEKPa", Ms = "Button-module__section___f2mKr", no = {
|
|
1107
|
+
root: Is,
|
|
1108
|
+
loader: ks,
|
|
1106
1109
|
label: Rs,
|
|
1107
1110
|
labelText: Ls,
|
|
1108
1111
|
iconWrapper: As,
|
|
@@ -1126,51 +1129,51 @@ const sn = _(function({
|
|
|
1126
1129
|
solid: "filled",
|
|
1127
1130
|
outline: "outline",
|
|
1128
1131
|
text: "subtle"
|
|
1129
|
-
},
|
|
1132
|
+
}, C = {
|
|
1130
1133
|
default: "md",
|
|
1131
1134
|
small: "sm"
|
|
1132
1135
|
}, y = [
|
|
1133
1136
|
"fullWidth"
|
|
1134
1137
|
// Recursica Button width comes from layout/token constraints, not Mantine's boolean fullWidth toggle.
|
|
1135
|
-
],
|
|
1138
|
+
], N = G(
|
|
1136
1139
|
u(d, s),
|
|
1137
1140
|
y
|
|
1138
|
-
),
|
|
1139
|
-
let
|
|
1140
|
-
$ ?
|
|
1141
|
+
), v = N, S = !!o || !!v.leftSection, b = !!v.rightSection, T = Ws(t), $ = (S || b) && !T;
|
|
1142
|
+
let g = "label";
|
|
1143
|
+
$ ? g = "icon-only" : (S || b) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !v["aria-label"] && console.warn(
|
|
1141
1144
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1142
1145
|
);
|
|
1143
|
-
const
|
|
1146
|
+
const P = F(
|
|
1144
1147
|
{
|
|
1145
1148
|
root: no.root,
|
|
1146
1149
|
section: no.section,
|
|
1147
1150
|
label: no.label,
|
|
1148
1151
|
loader: no.loader
|
|
1149
1152
|
},
|
|
1150
|
-
|
|
1151
|
-
), f =
|
|
1153
|
+
v.classNames
|
|
1154
|
+
), f = v.className, w = f ? `${no.root} ${f}` : no.root, h = v.loaderProps, O = me(
|
|
1152
1155
|
n === "small" ? "small" : "default",
|
|
1153
1156
|
i
|
|
1154
1157
|
);
|
|
1155
|
-
let
|
|
1156
|
-
return c && (
|
|
1157
|
-
children: /* @__PURE__ */ a(mt, { variant: l, size:
|
|
1158
|
-
...
|
|
1158
|
+
let A = h;
|
|
1159
|
+
return c && (A = {
|
|
1160
|
+
children: /* @__PURE__ */ a(mt, { variant: l, size: O }),
|
|
1161
|
+
...h
|
|
1159
1162
|
}), /* @__PURE__ */ a(
|
|
1160
1163
|
or,
|
|
1161
1164
|
{
|
|
1162
1165
|
ref: m,
|
|
1163
|
-
...
|
|
1164
|
-
className:
|
|
1165
|
-
classNames:
|
|
1166
|
+
...N,
|
|
1167
|
+
className: w,
|
|
1168
|
+
classNames: P,
|
|
1166
1169
|
variant: p[e],
|
|
1167
|
-
size:
|
|
1168
|
-
loaderProps:
|
|
1170
|
+
size: C[n],
|
|
1171
|
+
loaderProps: A,
|
|
1169
1172
|
leftSection: o != null ? /* @__PURE__ */ a("span", { className: no.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1170
1173
|
"data-variant": e,
|
|
1171
1174
|
"data-size": n,
|
|
1172
|
-
"data-content":
|
|
1173
|
-
disabled: !!
|
|
1175
|
+
"data-content": g,
|
|
1176
|
+
disabled: !!v.disabled || !!v.loading,
|
|
1174
1177
|
children: /* @__PURE__ */ a("span", { className: no.labelText, children: t })
|
|
1175
1178
|
}
|
|
1176
1179
|
);
|
|
@@ -1178,12 +1181,12 @@ const sn = _(function({
|
|
|
1178
1181
|
sn.displayName = "Button";
|
|
1179
1182
|
const co = Te(
|
|
1180
1183
|
sn
|
|
1181
|
-
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC",
|
|
1184
|
+
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC", Fs = "Card-module__section___BRT8H", Bs = "Card-module__content___oFIQa", He = {
|
|
1182
1185
|
root: zs,
|
|
1183
1186
|
header: Ds,
|
|
1184
1187
|
footer: Es,
|
|
1185
|
-
section:
|
|
1186
|
-
content:
|
|
1188
|
+
section: Fs,
|
|
1189
|
+
content: Bs
|
|
1187
1190
|
}, Us = [
|
|
1188
1191
|
"radius",
|
|
1189
1192
|
// Border radius is token-driven (`--recursica_..._borders_border-radius`), not caller-set.
|
|
@@ -1207,7 +1210,7 @@ const co = Te(
|
|
|
1207
1210
|
].forEach((c) => {
|
|
1208
1211
|
c in n && !(c in t) && (t[c] = n[c]);
|
|
1209
1212
|
});
|
|
1210
|
-
const l =
|
|
1213
|
+
const l = F(
|
|
1211
1214
|
{
|
|
1212
1215
|
root: He.root
|
|
1213
1216
|
},
|
|
@@ -1296,7 +1299,7 @@ Jo.Section = cn;
|
|
|
1296
1299
|
Jo.Header = un;
|
|
1297
1300
|
Jo.Footer = pn;
|
|
1298
1301
|
Jo.Content = mn;
|
|
1299
|
-
const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___mY3qk", js = "Checkbox-module__body___5yC7q", qs = "Checkbox-module__inner___rTke4", Ks = "Checkbox-module__input___2kt-h", Ys = "Checkbox-module__icon___-O7i6", Zs = "Checkbox-module__labelWrapper___GpZkr", Qs = "Checkbox-module__label___cwRtI",
|
|
1302
|
+
const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___mY3qk", js = "Checkbox-module__body___5yC7q", qs = "Checkbox-module__inner___rTke4", Ks = "Checkbox-module__input___2kt-h", Ys = "Checkbox-module__icon___-O7i6", Zs = "Checkbox-module__labelWrapper___GpZkr", Qs = "Checkbox-module__label___cwRtI", Ie = {
|
|
1300
1303
|
groupRoot: Gs,
|
|
1301
1304
|
root: Hs,
|
|
1302
1305
|
body: js,
|
|
@@ -1319,32 +1322,32 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1319
1322
|
// Base Mantine Extracted Attributes
|
|
1320
1323
|
label: m,
|
|
1321
1324
|
description: p,
|
|
1322
|
-
assistiveText:
|
|
1325
|
+
assistiveText: C,
|
|
1323
1326
|
assistiveWithIcon: y,
|
|
1324
|
-
error:
|
|
1325
|
-
required:
|
|
1326
|
-
withAsterisk:
|
|
1327
|
-
id:
|
|
1328
|
-
className:
|
|
1327
|
+
error: N,
|
|
1328
|
+
required: v,
|
|
1329
|
+
withAsterisk: S,
|
|
1330
|
+
id: b,
|
|
1331
|
+
className: T,
|
|
1329
1332
|
style: $,
|
|
1330
|
-
children:
|
|
1331
|
-
readOnly:
|
|
1333
|
+
children: g,
|
|
1334
|
+
readOnly: P,
|
|
1332
1335
|
readOnlyComponent: f,
|
|
1333
|
-
emptyValueComponent:
|
|
1334
|
-
value:
|
|
1335
|
-
defaultValue:
|
|
1336
|
-
...
|
|
1337
|
-
} = e,
|
|
1336
|
+
emptyValueComponent: w,
|
|
1337
|
+
value: h,
|
|
1338
|
+
defaultValue: O,
|
|
1339
|
+
...A
|
|
1340
|
+
} = e, E = [
|
|
1338
1341
|
"size"
|
|
1339
1342
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1340
1343
|
], W = G(
|
|
1341
|
-
u(
|
|
1342
|
-
|
|
1343
|
-
),
|
|
1344
|
+
u(A, o),
|
|
1345
|
+
E
|
|
1346
|
+
), L = W;
|
|
1344
1347
|
return /* @__PURE__ */ a(
|
|
1345
1348
|
ve,
|
|
1346
1349
|
{
|
|
1347
|
-
className:
|
|
1350
|
+
className: T,
|
|
1348
1351
|
style: $,
|
|
1349
1352
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
1350
1353
|
controlMinWidth: void 0,
|
|
@@ -1358,27 +1361,27 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1358
1361
|
onLabelEditClick: d,
|
|
1359
1362
|
label: m,
|
|
1360
1363
|
description: p,
|
|
1361
|
-
assistiveText:
|
|
1364
|
+
assistiveText: C,
|
|
1362
1365
|
assistiveWithIcon: y,
|
|
1363
|
-
error:
|
|
1364
|
-
required:
|
|
1365
|
-
withAsterisk:
|
|
1366
|
-
id:
|
|
1367
|
-
readOnly:
|
|
1366
|
+
error: N,
|
|
1367
|
+
required: v,
|
|
1368
|
+
withAsterisk: S,
|
|
1369
|
+
id: b,
|
|
1370
|
+
readOnly: P && !!f,
|
|
1368
1371
|
readOnlyComponent: f,
|
|
1369
|
-
emptyValueComponent:
|
|
1372
|
+
emptyValueComponent: w,
|
|
1370
1373
|
readOnlyType: "text",
|
|
1371
|
-
readOnlyValue:
|
|
1374
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
1372
1375
|
readOnlyNativeProps: e,
|
|
1373
|
-
activeComponent:
|
|
1376
|
+
activeComponent: h !== void 0 || O !== void 0 ? /* @__PURE__ */ a(
|
|
1374
1377
|
Ut.Group,
|
|
1375
1378
|
{
|
|
1376
1379
|
ref: n,
|
|
1377
1380
|
...W,
|
|
1378
|
-
disabled:
|
|
1379
|
-
value:
|
|
1380
|
-
defaultValue:
|
|
1381
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1381
|
+
disabled: P || L.disabled,
|
|
1382
|
+
value: h,
|
|
1383
|
+
defaultValue: O,
|
|
1384
|
+
children: /* @__PURE__ */ a("div", { className: Ie.groupRoot, "data-layout": t, children: g })
|
|
1382
1385
|
}
|
|
1383
1386
|
) : /* @__PURE__ */ a(
|
|
1384
1387
|
"div",
|
|
@@ -1386,9 +1389,9 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1386
1389
|
ref: n,
|
|
1387
1390
|
...W,
|
|
1388
1391
|
role: "group",
|
|
1389
|
-
className:
|
|
1392
|
+
className: Ie.groupRoot,
|
|
1390
1393
|
"data-layout": t,
|
|
1391
|
-
children:
|
|
1394
|
+
children: g
|
|
1392
1395
|
}
|
|
1393
1396
|
)
|
|
1394
1397
|
}
|
|
@@ -1408,7 +1411,7 @@ const Lo = _(
|
|
|
1408
1411
|
controlMaxWidth: d,
|
|
1409
1412
|
controlMinWidth: m,
|
|
1410
1413
|
...p
|
|
1411
|
-
} = e,
|
|
1414
|
+
} = e, C = [
|
|
1412
1415
|
"size",
|
|
1413
1416
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1414
1417
|
"color",
|
|
@@ -1421,26 +1424,26 @@ const Lo = _(
|
|
|
1421
1424
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1422
1425
|
], y = G(
|
|
1423
1426
|
u(p, o),
|
|
1424
|
-
|
|
1425
|
-
),
|
|
1427
|
+
C
|
|
1428
|
+
), N = y, v = F(
|
|
1426
1429
|
{
|
|
1427
|
-
root:
|
|
1428
|
-
body:
|
|
1429
|
-
inner:
|
|
1430
|
-
input:
|
|
1431
|
-
icon:
|
|
1432
|
-
labelWrapper:
|
|
1433
|
-
label:
|
|
1430
|
+
root: Ie.root,
|
|
1431
|
+
body: Ie.body,
|
|
1432
|
+
inner: Ie.inner,
|
|
1433
|
+
input: Ie.input,
|
|
1434
|
+
icon: Ie.icon,
|
|
1435
|
+
labelWrapper: Ie.labelWrapper,
|
|
1436
|
+
label: Ie.label
|
|
1434
1437
|
},
|
|
1435
|
-
|
|
1436
|
-
),
|
|
1438
|
+
N.classNames
|
|
1439
|
+
), S = N.className, b = S ? `${Ie.root} ${S}` : Ie.root;
|
|
1437
1440
|
if (t && s) {
|
|
1438
|
-
const $ = !!(
|
|
1441
|
+
const $ = !!(N.checked ?? N.defaultChecked), P = /* @__PURE__ */ a(
|
|
1439
1442
|
s,
|
|
1440
1443
|
{
|
|
1441
1444
|
...e,
|
|
1442
1445
|
checked: $,
|
|
1443
|
-
label:
|
|
1446
|
+
label: N.label
|
|
1444
1447
|
}
|
|
1445
1448
|
);
|
|
1446
1449
|
return i ? /* @__PURE__ */ a(
|
|
@@ -1450,17 +1453,17 @@ const Lo = _(
|
|
|
1450
1453
|
labelSize: c,
|
|
1451
1454
|
controlMaxWidth: d,
|
|
1452
1455
|
controlMinWidth: m,
|
|
1453
|
-
children:
|
|
1456
|
+
children: P
|
|
1454
1457
|
}
|
|
1455
|
-
) : /* @__PURE__ */ a(No, { children:
|
|
1458
|
+
) : /* @__PURE__ */ a(No, { children: P });
|
|
1456
1459
|
}
|
|
1457
|
-
const
|
|
1460
|
+
const T = /* @__PURE__ */ a(
|
|
1458
1461
|
Ut,
|
|
1459
1462
|
{
|
|
1460
1463
|
ref: n,
|
|
1461
1464
|
...y,
|
|
1462
|
-
className:
|
|
1463
|
-
classNames:
|
|
1465
|
+
className: b,
|
|
1466
|
+
classNames: v,
|
|
1464
1467
|
disabled: t || l
|
|
1465
1468
|
}
|
|
1466
1469
|
);
|
|
@@ -1471,9 +1474,9 @@ const Lo = _(
|
|
|
1471
1474
|
labelSize: c,
|
|
1472
1475
|
controlMaxWidth: d,
|
|
1473
1476
|
controlMinWidth: m,
|
|
1474
|
-
children:
|
|
1477
|
+
children: T
|
|
1475
1478
|
}
|
|
1476
|
-
) :
|
|
1479
|
+
) : T;
|
|
1477
1480
|
}
|
|
1478
1481
|
);
|
|
1479
1482
|
Lo.displayName = "Checkbox";
|
|
@@ -1516,13 +1519,14 @@ const Ao = _(function({
|
|
|
1516
1519
|
deleteTabIndex: s,
|
|
1517
1520
|
deleteIconRef: l,
|
|
1518
1521
|
children: i,
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1522
|
+
checked: c,
|
|
1523
|
+
overStyled: d = !1,
|
|
1524
|
+
wrapperProps: m,
|
|
1525
|
+
tabIndex: p,
|
|
1526
|
+
"aria-hidden": C,
|
|
1527
|
+
...y
|
|
1528
|
+
}, N) {
|
|
1529
|
+
const v = u(y, d), S = v, b = F(
|
|
1526
1530
|
{
|
|
1527
1531
|
root: Oe.root,
|
|
1528
1532
|
label: Oe.label,
|
|
@@ -1530,30 +1534,31 @@ const Ao = _(function({
|
|
|
1530
1534
|
iconWrapper: Oe.mantineIconWrapper,
|
|
1531
1535
|
checkIcon: Oe.checkIcon
|
|
1532
1536
|
},
|
|
1533
|
-
|
|
1534
|
-
),
|
|
1535
|
-
|
|
1536
|
-
...
|
|
1537
|
+
S.classNames
|
|
1538
|
+
), T = S.className, $ = T ? `${Oe.root} ${T}` : Oe.root, g = e ? "" : void 0, P = !i && (!!n || !!o), f = o !== void 0 || S.onClick !== void 0 || S.onChange !== void 0, w = {
|
|
1539
|
+
...g !== void 0 ? { "data-error": "" } : {},
|
|
1540
|
+
...f ? { "data-interactive": "" } : {}
|
|
1537
1541
|
};
|
|
1538
1542
|
return /* @__PURE__ */ a(
|
|
1539
1543
|
tr,
|
|
1540
1544
|
{
|
|
1541
|
-
ref:
|
|
1545
|
+
ref: N,
|
|
1542
1546
|
...v,
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
+
checked: c,
|
|
1548
|
+
className: $,
|
|
1549
|
+
classNames: b,
|
|
1550
|
+
wrapperProps: me(w, m),
|
|
1551
|
+
"data-icon-only": P ? "" : void 0,
|
|
1547
1552
|
tabIndex: me(
|
|
1548
|
-
|
|
1549
|
-
|
|
1553
|
+
f ? void 0 : -1,
|
|
1554
|
+
p
|
|
1550
1555
|
),
|
|
1551
1556
|
"aria-hidden": me(
|
|
1552
|
-
|
|
1553
|
-
|
|
1557
|
+
f ? void 0 : !0,
|
|
1558
|
+
C
|
|
1554
1559
|
),
|
|
1555
1560
|
children: /* @__PURE__ */ M("span", { className: Oe.innerWrapper, children: [
|
|
1556
|
-
n && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1561
|
+
n && !c && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1557
1562
|
/* @__PURE__ */ a("span", { className: Oe.children, children: i }),
|
|
1558
1563
|
o && /* @__PURE__ */ a(
|
|
1559
1564
|
"span",
|
|
@@ -1561,13 +1566,13 @@ const Ao = _(function({
|
|
|
1561
1566
|
ref: l,
|
|
1562
1567
|
role: "button",
|
|
1563
1568
|
className: Oe.deleteIcon,
|
|
1564
|
-
onClick: (
|
|
1565
|
-
|
|
1569
|
+
onClick: (h) => {
|
|
1570
|
+
h.preventDefault(), h.stopPropagation(), o(h);
|
|
1566
1571
|
},
|
|
1567
1572
|
"aria-label": t,
|
|
1568
|
-
onKeyDown: (
|
|
1569
|
-
(
|
|
1570
|
-
|
|
1573
|
+
onKeyDown: (h) => {
|
|
1574
|
+
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), o(
|
|
1575
|
+
h
|
|
1571
1576
|
));
|
|
1572
1577
|
},
|
|
1573
1578
|
tabIndex: s ?? 0,
|
|
@@ -1667,32 +1672,32 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1667
1672
|
onLabelEditClick: d,
|
|
1668
1673
|
label: m,
|
|
1669
1674
|
assistiveText: p,
|
|
1670
|
-
assistiveWithIcon:
|
|
1675
|
+
assistiveWithIcon: C,
|
|
1671
1676
|
error: y,
|
|
1672
|
-
required:
|
|
1673
|
-
withAsterisk:
|
|
1674
|
-
id:
|
|
1675
|
-
className:
|
|
1676
|
-
style:
|
|
1677
|
+
required: N,
|
|
1678
|
+
withAsterisk: v,
|
|
1679
|
+
id: S,
|
|
1680
|
+
className: b,
|
|
1681
|
+
style: T,
|
|
1677
1682
|
disabled: $,
|
|
1678
|
-
readOnly:
|
|
1679
|
-
readOnlyComponent:
|
|
1683
|
+
readOnly: g,
|
|
1684
|
+
readOnlyComponent: P,
|
|
1680
1685
|
emptyValueComponent: f,
|
|
1681
|
-
value:
|
|
1682
|
-
defaultValue:
|
|
1683
|
-
highlightToday:
|
|
1686
|
+
value: w,
|
|
1687
|
+
defaultValue: h,
|
|
1688
|
+
highlightToday: O = !0,
|
|
1684
1689
|
// Default on so today is visually marked; consumers can still override.
|
|
1685
|
-
valueFormat:
|
|
1690
|
+
valueFormat: A = "MM/DD/YY",
|
|
1686
1691
|
// Default display format; consumers can still override.
|
|
1687
|
-
placeholder:
|
|
1692
|
+
placeholder: E = "MM / DD / YY",
|
|
1688
1693
|
// Default placeholder; consumers can still override.
|
|
1689
1694
|
leftSection: W,
|
|
1690
1695
|
// Default leading icon computed below; consumers can still override.
|
|
1691
|
-
...
|
|
1692
|
-
} = e,
|
|
1693
|
-
u(
|
|
1696
|
+
...L
|
|
1697
|
+
} = e, Z = G(
|
|
1698
|
+
u(L, o),
|
|
1694
1699
|
Nl
|
|
1695
|
-
), j =
|
|
1700
|
+
), j = Z, q = F(
|
|
1696
1701
|
{
|
|
1697
1702
|
wrapper: Pe.root,
|
|
1698
1703
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1706,20 +1711,20 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1706
1711
|
calendarHeaderControlIcon: Pe.calendarHeaderControlIcon
|
|
1707
1712
|
},
|
|
1708
1713
|
j.classNames
|
|
1709
|
-
),
|
|
1714
|
+
), X = j.popoverProps, H = X && typeof X == "object" && !Array.isArray(X) ? X : void 0, Y = H != null && H.classNames && typeof H.classNames == "object" && !Array.isArray(H.classNames) ? H.classNames : void 0;
|
|
1710
1715
|
delete j.popoverProps;
|
|
1711
|
-
const
|
|
1716
|
+
const ee = {
|
|
1712
1717
|
...H,
|
|
1713
|
-
classNames:
|
|
1718
|
+
classNames: F(
|
|
1714
1719
|
{ dropdown: Pe.dropdown },
|
|
1715
|
-
|
|
1720
|
+
Y
|
|
1716
1721
|
)
|
|
1717
|
-
}, ue =
|
|
1722
|
+
}, ue = b ? `${Pe.layoutOverride} ${b}` : Pe.layoutOverride;
|
|
1718
1723
|
return /* @__PURE__ */ a(
|
|
1719
1724
|
ve,
|
|
1720
1725
|
{
|
|
1721
1726
|
className: ue,
|
|
1722
|
-
style:
|
|
1727
|
+
style: T,
|
|
1723
1728
|
controlMaxWidth: void 0,
|
|
1724
1729
|
controlMinWidth: void 0,
|
|
1725
1730
|
overStyled: o,
|
|
@@ -1731,16 +1736,16 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1731
1736
|
onLabelEditClick: d,
|
|
1732
1737
|
label: m,
|
|
1733
1738
|
assistiveText: p,
|
|
1734
|
-
assistiveWithIcon:
|
|
1739
|
+
assistiveWithIcon: C,
|
|
1735
1740
|
error: y,
|
|
1736
|
-
required:
|
|
1737
|
-
withAsterisk:
|
|
1738
|
-
id:
|
|
1739
|
-
readOnly:
|
|
1740
|
-
readOnlyComponent:
|
|
1741
|
+
required: N,
|
|
1742
|
+
withAsterisk: v,
|
|
1743
|
+
id: S,
|
|
1744
|
+
readOnly: g,
|
|
1745
|
+
readOnlyComponent: P,
|
|
1741
1746
|
emptyValueComponent: f,
|
|
1742
1747
|
readOnlyType: "text",
|
|
1743
|
-
readOnlyValue:
|
|
1748
|
+
readOnlyValue: w !== void 0 ? String(w) : h ? String(h) : void 0,
|
|
1744
1749
|
readOnlyNativeProps: e,
|
|
1745
1750
|
activeComponent: (
|
|
1746
1751
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -1748,18 +1753,18 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1748
1753
|
gr,
|
|
1749
1754
|
{
|
|
1750
1755
|
ref: n,
|
|
1751
|
-
...
|
|
1756
|
+
...Z,
|
|
1752
1757
|
classNames: q,
|
|
1753
1758
|
disabled: $,
|
|
1754
|
-
value:
|
|
1755
|
-
defaultValue:
|
|
1759
|
+
value: w,
|
|
1760
|
+
defaultValue: h,
|
|
1756
1761
|
label: void 0,
|
|
1757
1762
|
description: void 0,
|
|
1758
1763
|
error: void 0,
|
|
1759
1764
|
withAsterisk: !1,
|
|
1760
|
-
highlightToday:
|
|
1761
|
-
valueFormat:
|
|
1762
|
-
placeholder:
|
|
1765
|
+
highlightToday: O,
|
|
1766
|
+
valueFormat: A,
|
|
1767
|
+
placeholder: E,
|
|
1763
1768
|
leftSection: me(
|
|
1764
1769
|
/* @__PURE__ */ a(ll, {}),
|
|
1765
1770
|
W
|
|
@@ -1768,7 +1773,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1768
1773
|
"data-disabled": $ ? "true" : void 0,
|
|
1769
1774
|
"data-error": y ? "true" : void 0
|
|
1770
1775
|
},
|
|
1771
|
-
popoverProps:
|
|
1776
|
+
popoverProps: ee
|
|
1772
1777
|
}
|
|
1773
1778
|
)
|
|
1774
1779
|
)
|
|
@@ -1777,7 +1782,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1777
1782
|
}
|
|
1778
1783
|
);
|
|
1779
1784
|
yn.displayName = "DatePicker";
|
|
1780
|
-
const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__root___uVyL0", Pl = "Dropdown-module__input___dK4dN", gl = "Dropdown-module__section___j3MRB", Tl = "Dropdown-module__clearButton___ODnIa", $l = "Dropdown-module__dropdown___gG-Sw", wl = "Dropdown-module__option___nAGU-", Sl = "Dropdown-module__optionContent___QTwwg", xl = "Dropdown-module__optionIcon___2L56h", Ol = "Dropdown-module__optionText___cCDpI",
|
|
1785
|
+
const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__root___uVyL0", Pl = "Dropdown-module__input___dK4dN", gl = "Dropdown-module__section___j3MRB", Tl = "Dropdown-module__clearButton___ODnIa", $l = "Dropdown-module__dropdown___gG-Sw", wl = "Dropdown-module__option___nAGU-", Sl = "Dropdown-module__optionContent___QTwwg", xl = "Dropdown-module__optionIcon___2L56h", Ol = "Dropdown-module__optionText___cCDpI", Il = "Dropdown-module__optionTextWrap___L4OPI", kl = "Dropdown-module__optionSupportingText___2JIOV", te = {
|
|
1781
1786
|
layoutOverride: bl,
|
|
1782
1787
|
root: Cl,
|
|
1783
1788
|
input: Pl,
|
|
@@ -1788,8 +1793,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1788
1793
|
optionContent: Sl,
|
|
1789
1794
|
optionIcon: xl,
|
|
1790
1795
|
optionText: Ol,
|
|
1791
|
-
optionTextWrap:
|
|
1792
|
-
optionSupportingText:
|
|
1796
|
+
optionTextWrap: Il,
|
|
1797
|
+
optionSupportingText: kl
|
|
1793
1798
|
}, Rl = [
|
|
1794
1799
|
"size",
|
|
1795
1800
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
@@ -1810,51 +1815,51 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1810
1815
|
labelWithEditIcon: d,
|
|
1811
1816
|
onLabelEditClick: m,
|
|
1812
1817
|
label: p,
|
|
1813
|
-
assistiveText:
|
|
1818
|
+
assistiveText: C,
|
|
1814
1819
|
assistiveWithIcon: y,
|
|
1815
|
-
error:
|
|
1816
|
-
required:
|
|
1817
|
-
withAsterisk:
|
|
1818
|
-
id:
|
|
1819
|
-
className:
|
|
1820
|
+
error: N,
|
|
1821
|
+
required: v,
|
|
1822
|
+
withAsterisk: S,
|
|
1823
|
+
id: b,
|
|
1824
|
+
className: T,
|
|
1820
1825
|
style: $,
|
|
1821
|
-
disabled:
|
|
1822
|
-
readOnly:
|
|
1826
|
+
disabled: g,
|
|
1827
|
+
readOnly: P,
|
|
1823
1828
|
readOnlyComponent: f,
|
|
1824
|
-
emptyValueComponent:
|
|
1825
|
-
value:
|
|
1826
|
-
defaultValue:
|
|
1827
|
-
data:
|
|
1828
|
-
clearButtonProps:
|
|
1829
|
+
emptyValueComponent: w,
|
|
1830
|
+
value: h,
|
|
1831
|
+
defaultValue: O,
|
|
1832
|
+
data: A,
|
|
1833
|
+
clearButtonProps: E,
|
|
1829
1834
|
renderOption: W,
|
|
1830
|
-
wrapItemText:
|
|
1831
|
-
...
|
|
1835
|
+
wrapItemText: L = !1,
|
|
1836
|
+
...Z
|
|
1832
1837
|
} = e, j = G(
|
|
1833
|
-
u(
|
|
1838
|
+
u(Z, o),
|
|
1834
1839
|
Rl
|
|
1835
|
-
), q = j,
|
|
1840
|
+
), q = j, X = Qt(A), H = E, Y = {
|
|
1836
1841
|
...H,
|
|
1837
|
-
className: H != null && H.className ? `${
|
|
1838
|
-
},
|
|
1842
|
+
className: H != null && H.className ? `${te.clearButton} ${H.className}` : te.clearButton
|
|
1843
|
+
}, ee = F(
|
|
1839
1844
|
{
|
|
1840
|
-
wrapper:
|
|
1845
|
+
wrapper: te.root,
|
|
1841
1846
|
// The nested Input internal relative wrapper bounding box
|
|
1842
|
-
input:
|
|
1843
|
-
section:
|
|
1844
|
-
dropdown:
|
|
1845
|
-
option:
|
|
1847
|
+
input: te.input,
|
|
1848
|
+
section: te.section,
|
|
1849
|
+
dropdown: te.dropdown,
|
|
1850
|
+
option: te.option
|
|
1846
1851
|
},
|
|
1847
1852
|
q.classNames
|
|
1848
1853
|
), ue = {
|
|
1849
|
-
optionContent:
|
|
1850
|
-
optionIcon:
|
|
1851
|
-
optionText:
|
|
1852
|
-
optionTextWrap:
|
|
1853
|
-
optionSupportingText:
|
|
1854
|
+
optionContent: te.optionContent,
|
|
1855
|
+
optionIcon: te.optionIcon,
|
|
1856
|
+
optionText: te.optionText,
|
|
1857
|
+
optionTextWrap: te.optionTextWrap,
|
|
1858
|
+
optionSupportingText: te.optionSupportingText
|
|
1854
1859
|
}, D = {
|
|
1855
1860
|
...$ || {},
|
|
1856
1861
|
width: s || "100%"
|
|
1857
|
-
}, re =
|
|
1862
|
+
}, re = T ? `${te.layoutOverride} ${T}` : te.layoutOverride;
|
|
1858
1863
|
return /* @__PURE__ */ a(
|
|
1859
1864
|
ve,
|
|
1860
1865
|
{
|
|
@@ -1870,17 +1875,17 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1870
1875
|
labelWithEditIcon: d,
|
|
1871
1876
|
onLabelEditClick: m,
|
|
1872
1877
|
label: p,
|
|
1873
|
-
assistiveText:
|
|
1878
|
+
assistiveText: C,
|
|
1874
1879
|
assistiveWithIcon: y,
|
|
1875
|
-
error:
|
|
1876
|
-
required:
|
|
1877
|
-
withAsterisk:
|
|
1878
|
-
id:
|
|
1879
|
-
readOnly:
|
|
1880
|
+
error: N,
|
|
1881
|
+
required: v,
|
|
1882
|
+
withAsterisk: S,
|
|
1883
|
+
id: b,
|
|
1884
|
+
readOnly: P,
|
|
1880
1885
|
readOnlyComponent: f,
|
|
1881
|
-
emptyValueComponent:
|
|
1886
|
+
emptyValueComponent: w,
|
|
1882
1887
|
readOnlyType: "text",
|
|
1883
|
-
readOnlyValue:
|
|
1888
|
+
readOnlyValue: h !== void 0 ? String(h) : O ? String(O) : void 0,
|
|
1884
1889
|
readOnlyNativeProps: e,
|
|
1885
1890
|
activeComponent: (
|
|
1886
1891
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -1889,13 +1894,13 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1889
1894
|
{
|
|
1890
1895
|
ref: n,
|
|
1891
1896
|
...j,
|
|
1892
|
-
classNames:
|
|
1893
|
-
disabled:
|
|
1894
|
-
value:
|
|
1895
|
-
defaultValue:
|
|
1896
|
-
data:
|
|
1897
|
-
renderOption: W ?? ((pe) => en(pe, ue,
|
|
1898
|
-
clearButtonProps:
|
|
1897
|
+
classNames: ee,
|
|
1898
|
+
disabled: g,
|
|
1899
|
+
value: h,
|
|
1900
|
+
defaultValue: O,
|
|
1901
|
+
data: X || [],
|
|
1902
|
+
renderOption: W ?? ((pe) => en(pe, ue, L)),
|
|
1903
|
+
clearButtonProps: Y,
|
|
1899
1904
|
label: void 0,
|
|
1900
1905
|
description: void 0,
|
|
1901
1906
|
error: void 0,
|
|
@@ -1903,8 +1908,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1903
1908
|
withAsterisk: void 0,
|
|
1904
1909
|
attributes: {
|
|
1905
1910
|
wrapper: {
|
|
1906
|
-
"data-disabled":
|
|
1907
|
-
"data-error":
|
|
1911
|
+
"data-disabled": g ? "true" : void 0,
|
|
1912
|
+
"data-error": N ? "true" : void 0
|
|
1908
1913
|
}
|
|
1909
1914
|
}
|
|
1910
1915
|
}
|
|
@@ -1915,7 +1920,7 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1915
1920
|
}
|
|
1916
1921
|
);
|
|
1917
1922
|
hn.displayName = "Dropdown";
|
|
1918
|
-
const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__root___UvQj-", Ml = "FileInput-module__leadingIcon___z75c4", Wl = "FileInput-module__content___Udsvh", zl = "FileInput-module__value___RX33R", Dl = "FileInput-module__chipRow___My6TF", El = "FileInput-module__chipWrapper___q2CDy",
|
|
1923
|
+
const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__root___UvQj-", Ml = "FileInput-module__leadingIcon___z75c4", Wl = "FileInput-module__content___Udsvh", zl = "FileInput-module__value___RX33R", Dl = "FileInput-module__chipRow___My6TF", El = "FileInput-module__chipWrapper___q2CDy", Fl = "FileInput-module__trailingIcon___odGPm", Be = {
|
|
1919
1924
|
layoutOverride: Ll,
|
|
1920
1925
|
root: Al,
|
|
1921
1926
|
leadingIcon: Ml,
|
|
@@ -1923,9 +1928,9 @@ const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__r
|
|
|
1923
1928
|
value: zl,
|
|
1924
1929
|
chipRow: Dl,
|
|
1925
1930
|
chipWrapper: El,
|
|
1926
|
-
trailingIcon:
|
|
1931
|
+
trailingIcon: Fl
|
|
1927
1932
|
};
|
|
1928
|
-
function
|
|
1933
|
+
function Bl() {
|
|
1929
1934
|
return /* @__PURE__ */ M(
|
|
1930
1935
|
"svg",
|
|
1931
1936
|
{
|
|
@@ -1977,80 +1982,80 @@ const vn = _(
|
|
|
1977
1982
|
labelActionArea: d,
|
|
1978
1983
|
onLabelEditClick: m,
|
|
1979
1984
|
label: p,
|
|
1980
|
-
assistiveText:
|
|
1985
|
+
assistiveText: C,
|
|
1981
1986
|
assistiveWithIcon: y,
|
|
1982
|
-
error:
|
|
1983
|
-
required:
|
|
1984
|
-
withAsterisk:
|
|
1985
|
-
id:
|
|
1986
|
-
className:
|
|
1987
|
+
error: N,
|
|
1988
|
+
required: v,
|
|
1989
|
+
withAsterisk: S,
|
|
1990
|
+
id: b,
|
|
1991
|
+
className: T,
|
|
1987
1992
|
style: $,
|
|
1988
|
-
disabled:
|
|
1989
|
-
readOnly:
|
|
1993
|
+
disabled: g,
|
|
1994
|
+
readOnly: P,
|
|
1990
1995
|
files: f,
|
|
1991
|
-
onFilesAdded:
|
|
1992
|
-
onFileRemove:
|
|
1993
|
-
accept:
|
|
1994
|
-
multiple:
|
|
1995
|
-
maxSize:
|
|
1996
|
+
onFilesAdded: w,
|
|
1997
|
+
onFileRemove: h,
|
|
1998
|
+
accept: O,
|
|
1999
|
+
multiple: A = !1,
|
|
2000
|
+
maxSize: E,
|
|
1996
2001
|
maxFiles: W,
|
|
1997
|
-
onFilesRejected:
|
|
1998
|
-
invalidFileTypeMessage:
|
|
1999
|
-
maxFilesMessage: j =
|
|
2002
|
+
onFilesRejected: L,
|
|
2003
|
+
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2004
|
+
maxFilesMessage: j = A ? `Maximum of ${W} files allowed` : "Only one file is allowed",
|
|
2000
2005
|
icon: q,
|
|
2001
|
-
clearIcon:
|
|
2006
|
+
clearIcon: X,
|
|
2002
2007
|
placeholder: H = "Select a file...",
|
|
2003
|
-
browseLabel:
|
|
2004
|
-
removeFileLabel:
|
|
2008
|
+
browseLabel: Y = "Choose file",
|
|
2009
|
+
removeFileLabel: ee = "Remove",
|
|
2005
2010
|
clearLabel: ue = "Clear",
|
|
2006
2011
|
...D
|
|
2007
|
-
} = e, pe = u(D, o),
|
|
2008
|
-
if (!
|
|
2009
|
-
const ne = Array.from(
|
|
2012
|
+
} = e, pe = u(D, o), I = !g && !P, le = !!f && f.length > 0, Ne = Ve(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Qe = (x) => {
|
|
2013
|
+
if (!I) return;
|
|
2014
|
+
const ne = Array.from(x);
|
|
2010
2015
|
if (ne.length === 0) return;
|
|
2011
|
-
const ae =
|
|
2016
|
+
const ae = A ? W : 1, J = A ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
|
|
2012
2017
|
let wt = !1, St = !1;
|
|
2013
2018
|
for (const ot of ne) {
|
|
2014
|
-
const xt = !Zt(ot,
|
|
2019
|
+
const xt = !Zt(ot, O);
|
|
2015
2020
|
xt && (wt = !0);
|
|
2016
|
-
const Ka =
|
|
2021
|
+
const Ka = E !== void 0 && ot.size > E, Ot = ae !== void 0 && J + fe.length >= ae;
|
|
2017
2022
|
Ot && (St = !0), (xt || Ka || Ot ? zo : fe).push(ot);
|
|
2018
2023
|
}
|
|
2019
|
-
ie(wt), $e(St), fe.length > 0 && (
|
|
2020
|
-
}, we = Ve(0), [Xe, Ee] = ce(!1),
|
|
2021
|
-
|
|
2022
|
-
}, po = (
|
|
2023
|
-
|
|
2024
|
-
}, Se = (
|
|
2025
|
-
|
|
2026
|
-
}, Je = (
|
|
2027
|
-
|
|
2024
|
+
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (L == null || L(zo));
|
|
2025
|
+
}, we = Ve(0), [Xe, Ee] = ce(!1), Fe = (x) => {
|
|
2026
|
+
x.preventDefault(), we.current += 1, Ee(!0);
|
|
2027
|
+
}, po = (x) => {
|
|
2028
|
+
x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
|
|
2029
|
+
}, Se = (x) => {
|
|
2030
|
+
x.preventDefault();
|
|
2031
|
+
}, Je = (x) => {
|
|
2032
|
+
x.preventDefault(), we.current = 0, Ee(!1), Qe(x.dataTransfer.files);
|
|
2028
2033
|
}, xe = () => {
|
|
2029
|
-
var
|
|
2030
|
-
|
|
2031
|
-
}, eo = (
|
|
2032
|
-
|
|
2033
|
-
}, V = (
|
|
2034
|
-
|
|
2035
|
-
},
|
|
2036
|
-
!
|
|
2034
|
+
var x;
|
|
2035
|
+
I && ((x = Ne.current) == null || x.click());
|
|
2036
|
+
}, eo = (x) => {
|
|
2037
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2038
|
+
}, V = (x) => {
|
|
2039
|
+
x.target.files && Qe(x.target.files), x.target.value = "";
|
|
2040
|
+
}, B = () => {
|
|
2041
|
+
!I || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2037
2042
|
}, [z, k] = ce(0), U = Ve([]), Q = Ve((f == null ? void 0 : f.length) ?? 0);
|
|
2038
|
-
|
|
2043
|
+
ke(() => {
|
|
2039
2044
|
var ne;
|
|
2040
|
-
const
|
|
2041
|
-
if (
|
|
2042
|
-
const ae = Math.min(z,
|
|
2045
|
+
const x = (f == null ? void 0 : f.length) ?? 0;
|
|
2046
|
+
if (x > 0 && x < Q.current) {
|
|
2047
|
+
const ae = Math.min(z, x - 1);
|
|
2043
2048
|
k(ae), (ne = U.current[ae]) == null || ne.focus();
|
|
2044
2049
|
}
|
|
2045
|
-
Q.current =
|
|
2050
|
+
Q.current = x;
|
|
2046
2051
|
}, [f]);
|
|
2047
|
-
const _e = (
|
|
2048
|
-
var
|
|
2052
|
+
const _e = (x) => {
|
|
2053
|
+
var J;
|
|
2049
2054
|
const ne = (f == null ? void 0 : f.length) ?? 0;
|
|
2050
2055
|
if (ne === 0) return;
|
|
2051
2056
|
let ae;
|
|
2052
|
-
|
|
2053
|
-
}, oo =
|
|
2057
|
+
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (z + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ae), (J = U.current[ae]) == null || J.focus());
|
|
2058
|
+
}, oo = N ?? (se ? Z : be ? j : void 0), mo = T ? `${Be.layoutOverride} ${T}` : Be.layoutOverride;
|
|
2054
2059
|
return /* @__PURE__ */ a(
|
|
2055
2060
|
go,
|
|
2056
2061
|
{
|
|
@@ -2065,12 +2070,12 @@ const vn = _(
|
|
|
2065
2070
|
labelActionArea: d,
|
|
2066
2071
|
onLabelEditClick: m,
|
|
2067
2072
|
label: p,
|
|
2068
|
-
assistiveText:
|
|
2073
|
+
assistiveText: C,
|
|
2069
2074
|
assistiveWithIcon: y,
|
|
2070
2075
|
error: oo,
|
|
2071
|
-
required:
|
|
2072
|
-
withAsterisk:
|
|
2073
|
-
id:
|
|
2076
|
+
required: v,
|
|
2077
|
+
withAsterisk: S,
|
|
2078
|
+
id: b,
|
|
2074
2079
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2075
2080
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2076
2081
|
children: /* @__PURE__ */ M(
|
|
@@ -2078,49 +2083,49 @@ const vn = _(
|
|
|
2078
2083
|
{
|
|
2079
2084
|
ref: n,
|
|
2080
2085
|
...pe,
|
|
2081
|
-
className:
|
|
2086
|
+
className: Be.root,
|
|
2082
2087
|
role: "button",
|
|
2083
|
-
"aria-label":
|
|
2084
|
-
"aria-disabled":
|
|
2085
|
-
tabIndex:
|
|
2086
|
-
"data-disabled":
|
|
2087
|
-
"data-readonly":
|
|
2088
|
+
"aria-label": Y,
|
|
2089
|
+
"aria-disabled": g ? "true" : void 0,
|
|
2090
|
+
tabIndex: I ? 0 : -1,
|
|
2091
|
+
"data-disabled": g ? "true" : void 0,
|
|
2092
|
+
"data-readonly": P ? "true" : void 0,
|
|
2088
2093
|
"data-error": oo ? "true" : void 0,
|
|
2089
2094
|
"data-dragging": Xe ? "true" : void 0,
|
|
2090
|
-
onClick:
|
|
2091
|
-
onKeyDown:
|
|
2092
|
-
onDragEnter:
|
|
2093
|
-
onDragLeave:
|
|
2094
|
-
onDragOver:
|
|
2095
|
-
onDrop:
|
|
2095
|
+
onClick: I ? xe : void 0,
|
|
2096
|
+
onKeyDown: I ? eo : void 0,
|
|
2097
|
+
onDragEnter: I ? Fe : void 0,
|
|
2098
|
+
onDragLeave: I ? po : void 0,
|
|
2099
|
+
onDragOver: I ? Se : void 0,
|
|
2100
|
+
onDrop: I ? Je : void 0,
|
|
2096
2101
|
children: [
|
|
2097
|
-
/* @__PURE__ */ a("span", { className:
|
|
2098
|
-
/* @__PURE__ */ M("div", { className:
|
|
2099
|
-
!le && /* @__PURE__ */ a("span", { className:
|
|
2102
|
+
/* @__PURE__ */ a("span", { className: Be.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(Bl, {}) }),
|
|
2103
|
+
/* @__PURE__ */ M("div", { className: Be.content, children: [
|
|
2104
|
+
!le && /* @__PURE__ */ a("span", { className: Be.value, "data-placeholder": "true", children: H }),
|
|
2100
2105
|
le && /* @__PURE__ */ a(
|
|
2101
2106
|
"div",
|
|
2102
2107
|
{
|
|
2103
|
-
className:
|
|
2104
|
-
onKeyDown:
|
|
2105
|
-
children: f.map((
|
|
2106
|
-
const ae =
|
|
2108
|
+
className: Be.chipRow,
|
|
2109
|
+
onKeyDown: P ? void 0 : _e,
|
|
2110
|
+
children: f.map((x, ne) => {
|
|
2111
|
+
const ae = x.id ?? x.file.name;
|
|
2107
2112
|
return /* @__PURE__ */ a(
|
|
2108
2113
|
"span",
|
|
2109
2114
|
{
|
|
2110
|
-
className:
|
|
2111
|
-
onClick: (
|
|
2115
|
+
className: Be.chipWrapper,
|
|
2116
|
+
onClick: (J) => J.stopPropagation(),
|
|
2112
2117
|
children: /* @__PURE__ */ a(
|
|
2113
2118
|
Ao,
|
|
2114
2119
|
{
|
|
2115
2120
|
checked: !1,
|
|
2116
2121
|
tabIndex: -1,
|
|
2117
|
-
deleteLabel:
|
|
2118
|
-
deleteTabIndex: !
|
|
2119
|
-
deleteIconRef: (
|
|
2120
|
-
U.current[ne] =
|
|
2122
|
+
deleteLabel: P ? void 0 : ee,
|
|
2123
|
+
deleteTabIndex: !P && ne === z ? 0 : -1,
|
|
2124
|
+
deleteIconRef: (J) => {
|
|
2125
|
+
U.current[ne] = J;
|
|
2121
2126
|
},
|
|
2122
|
-
onDelete:
|
|
2123
|
-
children:
|
|
2127
|
+
onDelete: P || g ? void 0 : () => h == null ? void 0 : h(ae),
|
|
2128
|
+
children: x.file.name
|
|
2124
2129
|
}
|
|
2125
2130
|
)
|
|
2126
2131
|
},
|
|
@@ -2130,21 +2135,21 @@ const vn = _(
|
|
|
2130
2135
|
}
|
|
2131
2136
|
)
|
|
2132
2137
|
] }),
|
|
2133
|
-
le && !
|
|
2138
|
+
le && !P && /* @__PURE__ */ a(
|
|
2134
2139
|
co,
|
|
2135
2140
|
{
|
|
2136
2141
|
overStyled: !0,
|
|
2137
2142
|
variant: "text",
|
|
2138
2143
|
size: "small",
|
|
2139
|
-
icon:
|
|
2144
|
+
icon: X ?? /* @__PURE__ */ a(Ul, {}),
|
|
2140
2145
|
"aria-label": ue,
|
|
2141
|
-
className:
|
|
2142
|
-
disabled:
|
|
2143
|
-
onClick: (
|
|
2144
|
-
|
|
2146
|
+
className: Be.trailingIcon,
|
|
2147
|
+
disabled: g,
|
|
2148
|
+
onClick: (x) => {
|
|
2149
|
+
x.preventDefault(), x.stopPropagation(), B();
|
|
2145
2150
|
},
|
|
2146
|
-
onKeyDown: (
|
|
2147
|
-
|
|
2151
|
+
onKeyDown: (x) => {
|
|
2152
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), B());
|
|
2148
2153
|
}
|
|
2149
2154
|
}
|
|
2150
2155
|
),
|
|
@@ -2154,9 +2159,9 @@ const vn = _(
|
|
|
2154
2159
|
ref: Ne,
|
|
2155
2160
|
type: "file",
|
|
2156
2161
|
hidden: !0,
|
|
2157
|
-
accept:
|
|
2158
|
-
multiple:
|
|
2159
|
-
disabled: !
|
|
2162
|
+
accept: O,
|
|
2163
|
+
multiple: A,
|
|
2164
|
+
disabled: !I,
|
|
2160
2165
|
onChange: V
|
|
2161
2166
|
}
|
|
2162
2167
|
)
|
|
@@ -2209,44 +2214,44 @@ const Nn = _(
|
|
|
2209
2214
|
labelActionArea: d,
|
|
2210
2215
|
onLabelEditClick: m,
|
|
2211
2216
|
label: p,
|
|
2212
|
-
assistiveText:
|
|
2217
|
+
assistiveText: C,
|
|
2213
2218
|
assistiveWithIcon: y,
|
|
2214
|
-
error:
|
|
2215
|
-
required:
|
|
2216
|
-
withAsterisk:
|
|
2217
|
-
id:
|
|
2218
|
-
className:
|
|
2219
|
+
error: N,
|
|
2220
|
+
required: v,
|
|
2221
|
+
withAsterisk: S,
|
|
2222
|
+
id: b,
|
|
2223
|
+
className: T,
|
|
2219
2224
|
style: $,
|
|
2220
|
-
disabled:
|
|
2221
|
-
readOnly:
|
|
2225
|
+
disabled: g,
|
|
2226
|
+
readOnly: P,
|
|
2222
2227
|
files: f,
|
|
2223
|
-
onFilesAdded:
|
|
2224
|
-
onFileRemove:
|
|
2225
|
-
accept:
|
|
2226
|
-
multiple:
|
|
2227
|
-
maxSize:
|
|
2228
|
+
onFilesAdded: w,
|
|
2229
|
+
onFileRemove: h,
|
|
2230
|
+
accept: O,
|
|
2231
|
+
multiple: A = !0,
|
|
2232
|
+
maxSize: E,
|
|
2228
2233
|
maxFiles: W,
|
|
2229
|
-
onFilesRejected:
|
|
2230
|
-
invalidFileTypeMessage:
|
|
2234
|
+
onFilesRejected: L,
|
|
2235
|
+
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2231
2236
|
maxFilesMessage: j = `Maximum of ${W} files allowed`,
|
|
2232
2237
|
icon: q,
|
|
2233
|
-
dropzoneLabel:
|
|
2238
|
+
dropzoneLabel: X = "Drag and drop files here to upload",
|
|
2234
2239
|
browseButtonLabel: H = "Browse files",
|
|
2235
|
-
removeFileLabel:
|
|
2236
|
-
...
|
|
2237
|
-
} = e, D = u(
|
|
2238
|
-
if (
|
|
2240
|
+
removeFileLabel: Y = "Remove",
|
|
2241
|
+
...ee
|
|
2242
|
+
} = e, D = u(ee, o), re = Ve(null), [pe, I] = ce(!1), [le, Ne] = ce(!1), se = (k) => {
|
|
2243
|
+
if (g) return;
|
|
2239
2244
|
const U = Array.from(k);
|
|
2240
2245
|
if (U.length === 0) return;
|
|
2241
2246
|
const Q = (f == null ? void 0 : f.length) ?? 0, _e = [], oo = [];
|
|
2242
|
-
let mo = !1,
|
|
2247
|
+
let mo = !1, x = !1;
|
|
2243
2248
|
for (const ne of U) {
|
|
2244
|
-
const ae = !Zt(ne,
|
|
2249
|
+
const ae = !Zt(ne, O);
|
|
2245
2250
|
ae && (mo = !0);
|
|
2246
|
-
const
|
|
2247
|
-
fe && (
|
|
2251
|
+
const J = E !== void 0 && ne.size > E, fe = W !== void 0 && Q + _e.length >= W;
|
|
2252
|
+
fe && (x = !0), (ae || J || fe ? oo : _e).push(ne);
|
|
2248
2253
|
}
|
|
2249
|
-
|
|
2254
|
+
I(mo), Ne(x), _e.length > 0 && (w == null || w(_e)), oo.length > 0 && (L == null || L(oo));
|
|
2250
2255
|
}, ie = Ve(0), [be, $e] = ce(!1), Qe = (k) => {
|
|
2251
2256
|
k.preventDefault(), ie.current += 1, $e(!0);
|
|
2252
2257
|
}, we = (k) => {
|
|
@@ -2255,13 +2260,13 @@ const Nn = _(
|
|
|
2255
2260
|
k.preventDefault();
|
|
2256
2261
|
}, Ee = (k) => {
|
|
2257
2262
|
k.preventDefault(), ie.current = 0, $e(!1), se(k.dataTransfer.files);
|
|
2258
|
-
},
|
|
2263
|
+
}, Fe = () => {
|
|
2259
2264
|
var k;
|
|
2260
|
-
|
|
2265
|
+
g || (k = re.current) == null || k.click();
|
|
2261
2266
|
}, po = (k) => {
|
|
2262
2267
|
k.target.files && se(k.target.files), k.target.value = "";
|
|
2263
2268
|
}, [Se, Je] = ce(0), xe = Ve([]), eo = Ve((f == null ? void 0 : f.length) ?? 0);
|
|
2264
|
-
|
|
2269
|
+
ke(() => {
|
|
2265
2270
|
var U;
|
|
2266
2271
|
const k = (f == null ? void 0 : f.length) ?? 0;
|
|
2267
2272
|
if (k > 0 && k < eo.current) {
|
|
@@ -2276,7 +2281,7 @@ const Nn = _(
|
|
|
2276
2281
|
if (U === 0) return;
|
|
2277
2282
|
let Q;
|
|
2278
2283
|
k.key === "ArrowRight" || k.key === "ArrowDown" ? Q = (Se + 1) % U : (k.key === "ArrowLeft" || k.key === "ArrowUp") && (Q = (Se - 1 + U) % U), Q !== void 0 && (k.preventDefault(), Je(Q), (_e = xe.current[Q]) == null || _e.focus());
|
|
2279
|
-
},
|
|
2284
|
+
}, B = N ?? (pe ? Z : le ? j : void 0), z = T ? `${ao.layoutOverride} ${T}` : ao.layoutOverride;
|
|
2280
2285
|
return /* @__PURE__ */ a(
|
|
2281
2286
|
go,
|
|
2282
2287
|
{
|
|
@@ -2291,39 +2296,39 @@ const Nn = _(
|
|
|
2291
2296
|
labelActionArea: d,
|
|
2292
2297
|
onLabelEditClick: m,
|
|
2293
2298
|
label: p,
|
|
2294
|
-
assistiveText:
|
|
2299
|
+
assistiveText: C,
|
|
2295
2300
|
assistiveWithIcon: y,
|
|
2296
|
-
error:
|
|
2297
|
-
required:
|
|
2298
|
-
withAsterisk:
|
|
2299
|
-
id:
|
|
2301
|
+
error: B,
|
|
2302
|
+
required: v,
|
|
2303
|
+
withAsterisk: S,
|
|
2304
|
+
id: b,
|
|
2300
2305
|
children: /* @__PURE__ */ M(
|
|
2301
2306
|
"div",
|
|
2302
2307
|
{
|
|
2303
2308
|
ref: n,
|
|
2304
2309
|
...D,
|
|
2305
2310
|
className: ao.root,
|
|
2306
|
-
"data-disabled":
|
|
2307
|
-
"data-error":
|
|
2311
|
+
"data-disabled": g ? "true" : void 0,
|
|
2312
|
+
"data-error": B ? "true" : void 0,
|
|
2308
2313
|
children: [
|
|
2309
|
-
!
|
|
2314
|
+
!P && /* @__PURE__ */ M(
|
|
2310
2315
|
"div",
|
|
2311
2316
|
{
|
|
2312
2317
|
className: ao.dropzone,
|
|
2313
2318
|
"data-dragging": be ? "true" : void 0,
|
|
2314
|
-
onDragEnter:
|
|
2315
|
-
onDragLeave:
|
|
2316
|
-
onDragOver:
|
|
2317
|
-
onDrop:
|
|
2319
|
+
onDragEnter: g ? void 0 : Qe,
|
|
2320
|
+
onDragLeave: g ? void 0 : we,
|
|
2321
|
+
onDragOver: g ? void 0 : Xe,
|
|
2322
|
+
onDrop: g ? void 0 : Ee,
|
|
2318
2323
|
children: [
|
|
2319
2324
|
/* @__PURE__ */ a("span", { className: ao.uploadIcon, children: q ?? /* @__PURE__ */ a(Yl, {}) }),
|
|
2320
|
-
/* @__PURE__ */ a("span", { className: ao.dropzoneText, children:
|
|
2325
|
+
/* @__PURE__ */ a("span", { className: ao.dropzoneText, children: X }),
|
|
2321
2326
|
/* @__PURE__ */ a(
|
|
2322
2327
|
co,
|
|
2323
2328
|
{
|
|
2324
2329
|
variant: "outline",
|
|
2325
|
-
disabled:
|
|
2326
|
-
onClick:
|
|
2330
|
+
disabled: g,
|
|
2331
|
+
onClick: Fe,
|
|
2327
2332
|
children: H
|
|
2328
2333
|
}
|
|
2329
2334
|
),
|
|
@@ -2333,16 +2338,16 @@ const Nn = _(
|
|
|
2333
2338
|
ref: re,
|
|
2334
2339
|
type: "file",
|
|
2335
2340
|
hidden: !0,
|
|
2336
|
-
accept:
|
|
2337
|
-
multiple:
|
|
2338
|
-
disabled:
|
|
2341
|
+
accept: O,
|
|
2342
|
+
multiple: A,
|
|
2343
|
+
disabled: g,
|
|
2339
2344
|
onChange: po
|
|
2340
2345
|
}
|
|
2341
2346
|
)
|
|
2342
2347
|
]
|
|
2343
2348
|
}
|
|
2344
2349
|
),
|
|
2345
|
-
f && f.length > 0 && (
|
|
2350
|
+
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: ao.fileList, children: f.map((k) => {
|
|
2346
2351
|
const U = k.id ?? k.file.name;
|
|
2347
2352
|
return /* @__PURE__ */ a(Ao, { checked: !1, tabIndex: -1, children: k.file.name }, U);
|
|
2348
2353
|
}) }) : /* @__PURE__ */ a(
|
|
@@ -2357,12 +2362,12 @@ const Nn = _(
|
|
|
2357
2362
|
{
|
|
2358
2363
|
checked: !1,
|
|
2359
2364
|
tabIndex: -1,
|
|
2360
|
-
deleteLabel:
|
|
2365
|
+
deleteLabel: Y,
|
|
2361
2366
|
deleteTabIndex: U === Se ? 0 : -1,
|
|
2362
2367
|
deleteIconRef: (_e) => {
|
|
2363
2368
|
xe.current[U] = _e;
|
|
2364
2369
|
},
|
|
2365
|
-
onDelete:
|
|
2370
|
+
onDelete: g ? void 0 : () => h == null ? void 0 : h(Q),
|
|
2366
2371
|
children: k.file.name
|
|
2367
2372
|
},
|
|
2368
2373
|
Q
|
|
@@ -2494,7 +2499,7 @@ const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow__
|
|
|
2494
2499
|
withArrow: s,
|
|
2495
2500
|
...l
|
|
2496
2501
|
}) {
|
|
2497
|
-
const i = u(l, e), c = i, d =
|
|
2502
|
+
const i = u(l, e), c = i, d = F(
|
|
2498
2503
|
{
|
|
2499
2504
|
dropdown: At.dropdown,
|
|
2500
2505
|
arrow: At.arrow
|
|
@@ -2539,7 +2544,7 @@ const ai = "Link-module__root___I0VGE", ri = "Link-module__iconWrapper___W-LlF",
|
|
|
2539
2544
|
iconWrapper: ri,
|
|
2540
2545
|
labelText: si
|
|
2541
2546
|
}, On = _(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2542
|
-
const l = u(t, o), i = l, c =
|
|
2547
|
+
const l = u(t, o), i = l, c = F(
|
|
2543
2548
|
{ root: Oo.root },
|
|
2544
2549
|
i.classNames
|
|
2545
2550
|
), d = i.className, m = d ? `${Oo.root} ${d}` : Oo.root;
|
|
@@ -2568,8 +2573,8 @@ const li = Te(On), ii = "Menu-module__dropdown___j4xuA", ci = "Menu-module__item
|
|
|
2568
2573
|
divider: pi,
|
|
2569
2574
|
label: mi,
|
|
2570
2575
|
chevron: _i
|
|
2571
|
-
},
|
|
2572
|
-
const t = u(n, e), { maxHeight: s, ...l } = t, i =
|
|
2576
|
+
}, In = function({ overStyled: e = !1, ...n }) {
|
|
2577
|
+
const t = u(n, e), { maxHeight: s, ...l } = t, i = F(
|
|
2573
2578
|
{
|
|
2574
2579
|
dropdown: fo.dropdown,
|
|
2575
2580
|
item: fo.item,
|
|
@@ -2597,8 +2602,8 @@ const li = Te(On), ii = "Menu-module__dropdown___j4xuA", ci = "Menu-module__item
|
|
|
2597
2602
|
}
|
|
2598
2603
|
);
|
|
2599
2604
|
};
|
|
2600
|
-
|
|
2601
|
-
const
|
|
2605
|
+
In.displayName = "Menu";
|
|
2606
|
+
const kn = function({
|
|
2602
2607
|
overStyled: e = !1,
|
|
2603
2608
|
...n
|
|
2604
2609
|
}) {
|
|
@@ -2610,7 +2615,7 @@ const In = function({
|
|
|
2610
2615
|
}
|
|
2611
2616
|
);
|
|
2612
2617
|
};
|
|
2613
|
-
|
|
2618
|
+
kn.displayName = "MenuTarget";
|
|
2614
2619
|
const Rn = _(
|
|
2615
2620
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2616
2621
|
const t = u(n, e), s = t.className;
|
|
@@ -2719,8 +2724,8 @@ const et = Wn;
|
|
|
2719
2724
|
et.Target = zn;
|
|
2720
2725
|
et.Item = yi;
|
|
2721
2726
|
et.Dropdown = En;
|
|
2722
|
-
const bo =
|
|
2723
|
-
bo.Target =
|
|
2727
|
+
const bo = In;
|
|
2728
|
+
bo.Target = kn;
|
|
2724
2729
|
bo.Dropdown = Rn;
|
|
2725
2730
|
bo.Item = fi;
|
|
2726
2731
|
bo.Divider = An;
|
|
@@ -2736,7 +2741,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2736
2741
|
scrollArea: gi,
|
|
2737
2742
|
footer: Ti,
|
|
2738
2743
|
close: $i
|
|
2739
|
-
},
|
|
2744
|
+
}, Fn = K.forwardRef(function({
|
|
2740
2745
|
overStyled: e = !1,
|
|
2741
2746
|
children: n,
|
|
2742
2747
|
title: o,
|
|
@@ -2754,7 +2759,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2754
2759
|
], p = G(
|
|
2755
2760
|
u(c, e),
|
|
2756
2761
|
m
|
|
2757
|
-
),
|
|
2762
|
+
), C = F(
|
|
2758
2763
|
{
|
|
2759
2764
|
root: Ue.root,
|
|
2760
2765
|
inner: Ue.inner,
|
|
@@ -2770,7 +2775,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2770
2775
|
{
|
|
2771
2776
|
ref: d,
|
|
2772
2777
|
...p,
|
|
2773
|
-
classNames:
|
|
2778
|
+
classNames: C,
|
|
2774
2779
|
children: [
|
|
2775
2780
|
l && /* @__PURE__ */ a(he.Overlay, { ...s }),
|
|
2776
2781
|
/* @__PURE__ */ M(he.Content, { children: [
|
|
@@ -2784,7 +2789,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2784
2789
|
}
|
|
2785
2790
|
);
|
|
2786
2791
|
});
|
|
2787
|
-
|
|
2792
|
+
Fn.displayName = "Modal";
|
|
2788
2793
|
const ft = K.forwardRef(
|
|
2789
2794
|
function({ overStyled: e = !1, className: n, ...o }, t) {
|
|
2790
2795
|
const s = u(o, e);
|
|
@@ -2801,27 +2806,27 @@ const ft = K.forwardRef(
|
|
|
2801
2806
|
ft.displayName = "Modal.Footer";
|
|
2802
2807
|
const yt = K.forwardRef(
|
|
2803
2808
|
function({ overStyled: e = !1, className: n, onScroll: o, children: t, ...s }, l) {
|
|
2804
|
-
const i = u(s, e), c = K.useRef(null), [d, m] = K.useState(!1), [p,
|
|
2809
|
+
const i = u(s, e), c = K.useRef(null), [d, m] = K.useState(!1), [p, C] = K.useState(!1), y = K.useCallback(() => {
|
|
2805
2810
|
if (c.current) {
|
|
2806
|
-
const { scrollTop:
|
|
2807
|
-
m(
|
|
2811
|
+
const { scrollTop: b, scrollHeight: T, clientHeight: $ } = c.current;
|
|
2812
|
+
m(b > 0), C(Math.ceil(b + $) < T);
|
|
2808
2813
|
}
|
|
2809
2814
|
}, []);
|
|
2810
2815
|
K.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, t]);
|
|
2811
|
-
const
|
|
2812
|
-
y(), o == null || o(
|
|
2816
|
+
const N = (b) => {
|
|
2817
|
+
y(), o == null || o(b);
|
|
2813
2818
|
};
|
|
2814
|
-
let
|
|
2815
|
-
const
|
|
2816
|
-
return K.Children.forEach(t, (
|
|
2817
|
-
var
|
|
2818
|
-
K.isValidElement(
|
|
2819
|
+
let v = null;
|
|
2820
|
+
const S = [];
|
|
2821
|
+
return K.Children.forEach(t, (b) => {
|
|
2822
|
+
var T;
|
|
2823
|
+
K.isValidElement(b) && (b.type === ft || ((T = b.type) == null ? void 0 : T.displayName) === "Modal.Footer") ? v = b : S.push(b);
|
|
2819
2824
|
}), /* @__PURE__ */ M(
|
|
2820
2825
|
he.Body,
|
|
2821
2826
|
{
|
|
2822
2827
|
...i,
|
|
2823
|
-
ref: (
|
|
2824
|
-
typeof l == "function" ? l(
|
|
2828
|
+
ref: (b) => {
|
|
2829
|
+
typeof l == "function" ? l(b) : l && (l.current = b);
|
|
2825
2830
|
},
|
|
2826
2831
|
className: `${Ue.bodyWrapper} ${n || ""}`,
|
|
2827
2832
|
children: [
|
|
@@ -2829,14 +2834,14 @@ const yt = K.forwardRef(
|
|
|
2829
2834
|
"div",
|
|
2830
2835
|
{
|
|
2831
2836
|
ref: c,
|
|
2832
|
-
onScroll:
|
|
2837
|
+
onScroll: N,
|
|
2833
2838
|
"data-scrolled-top": d || void 0,
|
|
2834
2839
|
"data-scrolled-bottom": p || void 0,
|
|
2835
2840
|
className: Ue.scrollArea,
|
|
2836
|
-
children:
|
|
2841
|
+
children: S
|
|
2837
2842
|
}
|
|
2838
2843
|
),
|
|
2839
|
-
|
|
2844
|
+
v
|
|
2840
2845
|
]
|
|
2841
2846
|
}
|
|
2842
2847
|
);
|
|
@@ -2848,7 +2853,7 @@ const wi = [
|
|
|
2848
2853
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2849
2854
|
"radius"
|
|
2850
2855
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2851
|
-
],
|
|
2856
|
+
], Bn = K.forwardRef(
|
|
2852
2857
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2853
2858
|
const t = G(
|
|
2854
2859
|
u(n, e),
|
|
@@ -2863,7 +2868,7 @@ const wi = [
|
|
|
2863
2868
|
);
|
|
2864
2869
|
}
|
|
2865
2870
|
);
|
|
2866
|
-
|
|
2871
|
+
Bn.displayName = "Modal.Root";
|
|
2867
2872
|
const Un = K.forwardRef(
|
|
2868
2873
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2869
2874
|
const t = u(n, e);
|
|
@@ -2938,8 +2943,8 @@ const xi = [
|
|
|
2938
2943
|
);
|
|
2939
2944
|
});
|
|
2940
2945
|
jn.displayName = "Modal.CloseButton";
|
|
2941
|
-
const Ye =
|
|
2942
|
-
Ye.Root =
|
|
2946
|
+
const Ye = Fn;
|
|
2947
|
+
Ye.Root = Bn;
|
|
2943
2948
|
Ye.Overlay = Un;
|
|
2944
2949
|
Ye.Content = Vn;
|
|
2945
2950
|
Ye.Header = Gn;
|
|
@@ -2947,10 +2952,10 @@ Ye.Title = Hn;
|
|
|
2947
2952
|
Ye.CloseButton = jn;
|
|
2948
2953
|
Ye.Body = yt;
|
|
2949
2954
|
Ye.Footer = ft;
|
|
2950
|
-
const Oi = "NumberInput-module__layoutOverride___5-9T4",
|
|
2955
|
+
const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-module__root___C6rAn", ki = "NumberInput-module__input___Ss8p7", Ri = "NumberInput-module__section___MijP0", Li = "NumberInput-module__controls___8UfQ2", Ai = "NumberInput-module__control___Qre9-", yo = {
|
|
2951
2956
|
layoutOverride: Oi,
|
|
2952
|
-
root:
|
|
2953
|
-
input:
|
|
2957
|
+
root: Ii,
|
|
2958
|
+
input: ki,
|
|
2954
2959
|
section: Ri,
|
|
2955
2960
|
controls: Li,
|
|
2956
2961
|
control: Ai
|
|
@@ -2974,37 +2979,37 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
2974
2979
|
onLabelEditClick: d,
|
|
2975
2980
|
label: m,
|
|
2976
2981
|
assistiveText: p,
|
|
2977
|
-
assistiveWithIcon:
|
|
2982
|
+
assistiveWithIcon: C,
|
|
2978
2983
|
error: y,
|
|
2979
|
-
required:
|
|
2980
|
-
withAsterisk:
|
|
2981
|
-
id:
|
|
2982
|
-
className:
|
|
2983
|
-
style:
|
|
2984
|
+
required: N,
|
|
2985
|
+
withAsterisk: v,
|
|
2986
|
+
id: S,
|
|
2987
|
+
className: b,
|
|
2988
|
+
style: T,
|
|
2984
2989
|
disabled: $,
|
|
2985
|
-
readOnly:
|
|
2986
|
-
readOnlyComponent:
|
|
2990
|
+
readOnly: g,
|
|
2991
|
+
readOnlyComponent: P,
|
|
2987
2992
|
emptyValueComponent: f,
|
|
2988
|
-
value:
|
|
2989
|
-
defaultValue:
|
|
2990
|
-
hideControls:
|
|
2991
|
-
...
|
|
2992
|
-
} = e,
|
|
2993
|
-
u(
|
|
2993
|
+
value: w,
|
|
2994
|
+
defaultValue: h,
|
|
2995
|
+
hideControls: O = !1,
|
|
2996
|
+
...A
|
|
2997
|
+
} = e, E = G(
|
|
2998
|
+
u(A, o),
|
|
2994
2999
|
Mi
|
|
2995
|
-
), W =
|
|
3000
|
+
), W = E, L = {
|
|
2996
3001
|
wrapper: yo.root,
|
|
2997
3002
|
// The nested Input internal relative wrapper bounding box
|
|
2998
3003
|
input: yo.input,
|
|
2999
3004
|
section: yo.section,
|
|
3000
3005
|
controls: yo.controls,
|
|
3001
3006
|
control: yo.control
|
|
3002
|
-
},
|
|
3007
|
+
}, Z = b ? `${yo.layoutOverride} ${b}` : yo.layoutOverride;
|
|
3003
3008
|
return /* @__PURE__ */ a(
|
|
3004
3009
|
ve,
|
|
3005
3010
|
{
|
|
3006
|
-
className:
|
|
3007
|
-
style:
|
|
3011
|
+
className: Z,
|
|
3012
|
+
style: T,
|
|
3008
3013
|
controlMaxWidth: "var(--number-input-control-max-width)",
|
|
3009
3014
|
controlMinWidth: "var(--number-input-control-min-width)",
|
|
3010
3015
|
overStyled: o,
|
|
@@ -3016,16 +3021,16 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3016
3021
|
onLabelEditClick: d,
|
|
3017
3022
|
label: m,
|
|
3018
3023
|
assistiveText: p,
|
|
3019
|
-
assistiveWithIcon:
|
|
3024
|
+
assistiveWithIcon: C,
|
|
3020
3025
|
error: y,
|
|
3021
|
-
required:
|
|
3022
|
-
withAsterisk:
|
|
3023
|
-
id:
|
|
3024
|
-
readOnly:
|
|
3025
|
-
readOnlyComponent:
|
|
3026
|
+
required: N,
|
|
3027
|
+
withAsterisk: v,
|
|
3028
|
+
id: S,
|
|
3029
|
+
readOnly: g,
|
|
3030
|
+
readOnlyComponent: P,
|
|
3026
3031
|
emptyValueComponent: f,
|
|
3027
3032
|
readOnlyType: "text",
|
|
3028
|
-
readOnlyValue:
|
|
3033
|
+
readOnlyValue: w !== void 0 ? w == null ? void 0 : w.toString() : h == null ? void 0 : h.toString(),
|
|
3029
3034
|
readOnlyNativeProps: e,
|
|
3030
3035
|
activeComponent: (
|
|
3031
3036
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -3033,12 +3038,12 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3033
3038
|
lr,
|
|
3034
3039
|
{
|
|
3035
3040
|
ref: n,
|
|
3036
|
-
...
|
|
3037
|
-
classNames:
|
|
3041
|
+
...E,
|
|
3042
|
+
classNames: L,
|
|
3038
3043
|
disabled: $,
|
|
3039
|
-
value:
|
|
3040
|
-
defaultValue:
|
|
3041
|
-
hideControls:
|
|
3044
|
+
value: w,
|
|
3045
|
+
defaultValue: h,
|
|
3046
|
+
hideControls: O,
|
|
3042
3047
|
label: void 0,
|
|
3043
3048
|
description: void 0,
|
|
3044
3049
|
error: void 0,
|
|
@@ -3048,7 +3053,7 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3048
3053
|
"data-disabled": $ ? "true" : void 0,
|
|
3049
3054
|
"data-error": y ? "true" : void 0,
|
|
3050
3055
|
"data-with-left-section": W.leftSection ? "true" : void 0,
|
|
3051
|
-
"data-with-right-section": W.rightSection || !
|
|
3056
|
+
"data-with-right-section": W.rightSection || !O ? "true" : void 0
|
|
3052
3057
|
}
|
|
3053
3058
|
}
|
|
3054
3059
|
)
|
|
@@ -3058,14 +3063,14 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3058
3063
|
}
|
|
3059
3064
|
);
|
|
3060
3065
|
qn.displayName = "NumberInput";
|
|
3061
|
-
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O",
|
|
3066
|
+
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O", Fi = "Pagination-module__baseIcon___Qw3bJ", Me = {
|
|
3062
3067
|
root: Wi,
|
|
3063
3068
|
control: zi,
|
|
3064
3069
|
dots: Di,
|
|
3065
3070
|
iconWithLabel: Ei,
|
|
3066
|
-
baseIcon:
|
|
3067
|
-
},
|
|
3068
|
-
next:
|
|
3071
|
+
baseIcon: Fi
|
|
3072
|
+
}, Bi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Ui = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Vi = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", Gi = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", Hi = {
|
|
3073
|
+
next: Bi,
|
|
3069
3074
|
prev: Ui,
|
|
3070
3075
|
first: Vi,
|
|
3071
3076
|
last: Gi
|
|
@@ -3096,7 +3101,7 @@ const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control__
|
|
|
3096
3101
|
/* @__PURE__ */ a(Wo, { type: "last", ...r })
|
|
3097
3102
|
] });
|
|
3098
3103
|
function Xn(r) {
|
|
3099
|
-
const e =
|
|
3104
|
+
const e = F(
|
|
3100
3105
|
{
|
|
3101
3106
|
root: Me.root,
|
|
3102
3107
|
control: Me.control,
|
|
@@ -3251,7 +3256,7 @@ const ji = "Panel-module__content___wdGo-", qi = "Panel-module__inner___ruA2b",
|
|
|
3251
3256
|
wrapHeaderText: t = !1,
|
|
3252
3257
|
...s
|
|
3253
3258
|
}) {
|
|
3254
|
-
const l = u(s, e), i = l, c =
|
|
3259
|
+
const l = u(s, e), i = l, c = F(
|
|
3255
3260
|
{
|
|
3256
3261
|
content: lo.content,
|
|
3257
3262
|
header: lo.header,
|
|
@@ -3392,7 +3397,7 @@ const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-
|
|
|
3392
3397
|
// Recursica default; Mantine defaults to "bottom"
|
|
3393
3398
|
...t
|
|
3394
3399
|
}) {
|
|
3395
|
-
const s = u(t, e), l = s, i =
|
|
3400
|
+
const s = u(t, e), l = s, i = F(
|
|
3396
3401
|
{ dropdown: Mt.dropdown, arrow: Mt.arrow },
|
|
3397
3402
|
l.classNames
|
|
3398
3403
|
), c = me(
|
|
@@ -3458,32 +3463,32 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
|
|
|
3458
3463
|
// Base Mantine Extracted Attributes
|
|
3459
3464
|
label: m,
|
|
3460
3465
|
description: p,
|
|
3461
|
-
assistiveText:
|
|
3466
|
+
assistiveText: C,
|
|
3462
3467
|
assistiveWithIcon: y,
|
|
3463
|
-
error:
|
|
3464
|
-
required:
|
|
3465
|
-
withAsterisk:
|
|
3466
|
-
id:
|
|
3467
|
-
className:
|
|
3468
|
+
error: N,
|
|
3469
|
+
required: v,
|
|
3470
|
+
withAsterisk: S,
|
|
3471
|
+
id: b,
|
|
3472
|
+
className: T,
|
|
3468
3473
|
style: $,
|
|
3469
|
-
children:
|
|
3470
|
-
readOnly:
|
|
3474
|
+
children: g,
|
|
3475
|
+
readOnly: P,
|
|
3471
3476
|
readOnlyComponent: f,
|
|
3472
|
-
emptyValueComponent:
|
|
3473
|
-
value:
|
|
3474
|
-
defaultValue:
|
|
3475
|
-
...
|
|
3476
|
-
} = e,
|
|
3477
|
+
emptyValueComponent: w,
|
|
3478
|
+
value: h,
|
|
3479
|
+
defaultValue: O,
|
|
3480
|
+
...A
|
|
3481
|
+
} = e, E = [
|
|
3477
3482
|
"size"
|
|
3478
3483
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3479
3484
|
], W = G(
|
|
3480
|
-
u(
|
|
3481
|
-
|
|
3482
|
-
),
|
|
3485
|
+
u(A, o),
|
|
3486
|
+
E
|
|
3487
|
+
), L = W;
|
|
3483
3488
|
return /* @__PURE__ */ a(
|
|
3484
3489
|
ve,
|
|
3485
3490
|
{
|
|
3486
|
-
className:
|
|
3491
|
+
className: T,
|
|
3487
3492
|
style: $,
|
|
3488
3493
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
3489
3494
|
controlMinWidth: void 0,
|
|
@@ -3497,27 +3502,27 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
|
|
|
3497
3502
|
onLabelEditClick: d,
|
|
3498
3503
|
label: m,
|
|
3499
3504
|
description: p,
|
|
3500
|
-
assistiveText:
|
|
3505
|
+
assistiveText: C,
|
|
3501
3506
|
assistiveWithIcon: y,
|
|
3502
|
-
error:
|
|
3503
|
-
required:
|
|
3504
|
-
withAsterisk:
|
|
3505
|
-
id:
|
|
3506
|
-
readOnly:
|
|
3507
|
+
error: N,
|
|
3508
|
+
required: v,
|
|
3509
|
+
withAsterisk: S,
|
|
3510
|
+
id: b,
|
|
3511
|
+
readOnly: P && !!f,
|
|
3507
3512
|
readOnlyComponent: f,
|
|
3508
|
-
emptyValueComponent:
|
|
3513
|
+
emptyValueComponent: w,
|
|
3509
3514
|
readOnlyType: "text",
|
|
3510
|
-
readOnlyValue:
|
|
3515
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
3511
3516
|
readOnlyNativeProps: e,
|
|
3512
3517
|
activeComponent: /* @__PURE__ */ a(
|
|
3513
3518
|
Ht.Group,
|
|
3514
3519
|
{
|
|
3515
3520
|
ref: n,
|
|
3516
3521
|
...W,
|
|
3517
|
-
disabled:
|
|
3518
|
-
value:
|
|
3519
|
-
defaultValue:
|
|
3520
|
-
children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": t, children:
|
|
3522
|
+
disabled: P || L.disabled,
|
|
3523
|
+
value: h,
|
|
3524
|
+
defaultValue: O,
|
|
3525
|
+
children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": t, children: g })
|
|
3521
3526
|
}
|
|
3522
3527
|
)
|
|
3523
3528
|
}
|
|
@@ -3547,7 +3552,7 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3547
3552
|
labelSize: d,
|
|
3548
3553
|
controlMaxWidth: m,
|
|
3549
3554
|
controlMinWidth: p,
|
|
3550
|
-
...
|
|
3555
|
+
...C
|
|
3551
3556
|
} = e, y = [
|
|
3552
3557
|
"size",
|
|
3553
3558
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
@@ -3559,10 +3564,10 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3559
3564
|
// Radio has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
3560
3565
|
"iconColor"
|
|
3561
3566
|
// Icon color is token-driven via Radio.module.css, not a native Mantine override.
|
|
3562
|
-
],
|
|
3563
|
-
u(
|
|
3567
|
+
], N = G(
|
|
3568
|
+
u(C, o),
|
|
3564
3569
|
y
|
|
3565
|
-
),
|
|
3570
|
+
), v = N, S = F(
|
|
3566
3571
|
{
|
|
3567
3572
|
root: Re.root,
|
|
3568
3573
|
body: Re.body,
|
|
@@ -3572,15 +3577,15 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3572
3577
|
labelWrapper: Re.labelWrapper,
|
|
3573
3578
|
label: Re.label
|
|
3574
3579
|
},
|
|
3575
|
-
|
|
3576
|
-
),
|
|
3580
|
+
v.classNames
|
|
3581
|
+
), b = v.className, T = b ? `${Re.root} ${b}` : Re.root;
|
|
3577
3582
|
if (t && s) {
|
|
3578
|
-
const
|
|
3583
|
+
const g = !!(v.checked ?? v.defaultChecked), f = /* @__PURE__ */ a(
|
|
3579
3584
|
s,
|
|
3580
3585
|
{
|
|
3581
3586
|
...e,
|
|
3582
|
-
checked:
|
|
3583
|
-
label:
|
|
3587
|
+
checked: g,
|
|
3588
|
+
label: v.label
|
|
3584
3589
|
}
|
|
3585
3590
|
);
|
|
3586
3591
|
return c ? /* @__PURE__ */ a(
|
|
@@ -3598,10 +3603,10 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3598
3603
|
Ht,
|
|
3599
3604
|
{
|
|
3600
3605
|
ref: n,
|
|
3601
|
-
...
|
|
3606
|
+
...N,
|
|
3602
3607
|
icon: me(cc, i),
|
|
3603
|
-
className:
|
|
3604
|
-
classNames:
|
|
3608
|
+
className: T,
|
|
3609
|
+
classNames: S,
|
|
3605
3610
|
disabled: t || l
|
|
3606
3611
|
}
|
|
3607
3612
|
);
|
|
@@ -3626,7 +3631,7 @@ const dc = "SegmentedControl-module__root___JFRhg", uc = "SegmentedControl-modul
|
|
|
3626
3631
|
indicator: mc
|
|
3627
3632
|
};
|
|
3628
3633
|
function _c(r) {
|
|
3629
|
-
const e =
|
|
3634
|
+
const e = F(
|
|
3630
3635
|
{
|
|
3631
3636
|
root: Po.root,
|
|
3632
3637
|
control: Po.control,
|
|
@@ -3670,7 +3675,7 @@ const va = _(
|
|
|
3670
3675
|
}
|
|
3671
3676
|
);
|
|
3672
3677
|
va.displayName = "SegmentedControl";
|
|
3673
|
-
const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module__sliderContainer___y8I0J", vc = "Slider-module__sliderTrackWrapper___UHpVh", Nc = "Slider-module__iconWrapper___uqHpC", bc = "Slider-module__sliderRoot___LI86H", Cc = "Slider-module__sliderTrack___oqnlG", Pc = "Slider-module__sliderBar___TI4VY", gc = "Slider-module__sliderThumb___OFn8p", Tc = "Slider-module__sliderMarkWrapper___Ufqhu", $c = "Slider-module__sliderMark___1lM2B", wc = "Slider-module__sliderMarkLabel___MMZrq", Sc = "Slider-module__minMaxGuide___TaGqz", xc = "Slider-module__rightGuideContainer___8dOT8", Oc = "Slider-module__currentValue___dGV2T",
|
|
3678
|
+
const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module__sliderContainer___y8I0J", vc = "Slider-module__sliderTrackWrapper___UHpVh", Nc = "Slider-module__iconWrapper___uqHpC", bc = "Slider-module__sliderRoot___LI86H", Cc = "Slider-module__sliderTrack___oqnlG", Pc = "Slider-module__sliderBar___TI4VY", gc = "Slider-module__sliderThumb___OFn8p", Tc = "Slider-module__sliderMarkWrapper___Ufqhu", $c = "Slider-module__sliderMark___1lM2B", wc = "Slider-module__sliderMarkLabel___MMZrq", Sc = "Slider-module__minMaxGuide___TaGqz", xc = "Slider-module__rightGuideContainer___8dOT8", Oc = "Slider-module__currentValue___dGV2T", Ic = "Slider-module__inputField___6x578", kc = "Slider-module__readOnlyValue___-ZzMW", oe = {
|
|
3674
3679
|
layoutOverride: yc,
|
|
3675
3680
|
sliderContainer: hc,
|
|
3676
3681
|
sliderTrackWrapper: vc,
|
|
@@ -3685,13 +3690,13 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3685
3690
|
minMaxGuide: Sc,
|
|
3686
3691
|
rightGuideContainer: xc,
|
|
3687
3692
|
currentValue: Oc,
|
|
3688
|
-
inputField:
|
|
3689
|
-
readOnlyValue:
|
|
3693
|
+
inputField: Ic,
|
|
3694
|
+
readOnlyValue: kc
|
|
3690
3695
|
}, Rc = ({
|
|
3691
3696
|
value: r
|
|
3692
3697
|
}) => {
|
|
3693
3698
|
const e = Array.isArray(r) ? `${r[0]} – ${r[1]}` : r;
|
|
3694
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3699
|
+
return /* @__PURE__ */ a("div", { className: oe.readOnlyValue, children: e });
|
|
3695
3700
|
}, Na = _(
|
|
3696
3701
|
function(e, n) {
|
|
3697
3702
|
const {
|
|
@@ -3705,45 +3710,45 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3705
3710
|
labelActionArea: d,
|
|
3706
3711
|
onLabelEditClick: m,
|
|
3707
3712
|
label: p,
|
|
3708
|
-
tooltipLabel:
|
|
3713
|
+
tooltipLabel: C,
|
|
3709
3714
|
assistiveText: y,
|
|
3710
|
-
assistiveWithIcon:
|
|
3711
|
-
error:
|
|
3712
|
-
required:
|
|
3713
|
-
withAsterisk:
|
|
3714
|
-
id:
|
|
3715
|
+
assistiveWithIcon: N,
|
|
3716
|
+
error: v,
|
|
3717
|
+
required: S,
|
|
3718
|
+
withAsterisk: b,
|
|
3719
|
+
id: T,
|
|
3715
3720
|
className: $,
|
|
3716
|
-
style:
|
|
3717
|
-
disabled:
|
|
3721
|
+
style: g,
|
|
3722
|
+
disabled: P,
|
|
3718
3723
|
readOnly: f,
|
|
3719
|
-
readOnlyComponent:
|
|
3720
|
-
emptyValueComponent:
|
|
3721
|
-
value:
|
|
3722
|
-
defaultValue:
|
|
3723
|
-
icon:
|
|
3724
|
+
readOnlyComponent: w,
|
|
3725
|
+
emptyValueComponent: h,
|
|
3726
|
+
value: O,
|
|
3727
|
+
defaultValue: A,
|
|
3728
|
+
icon: E,
|
|
3724
3729
|
trailingIcon: W,
|
|
3725
|
-
showInput:
|
|
3726
|
-
showMinMaxLabels:
|
|
3730
|
+
showInput: L = !1,
|
|
3731
|
+
showMinMaxLabels: Z = !0,
|
|
3727
3732
|
min: j = 0,
|
|
3728
3733
|
max: q = 100,
|
|
3729
|
-
minLabel:
|
|
3734
|
+
minLabel: X,
|
|
3730
3735
|
maxLabel: H,
|
|
3731
|
-
step:
|
|
3732
|
-
onChange:
|
|
3736
|
+
step: Y = 1,
|
|
3737
|
+
onChange: ee,
|
|
3733
3738
|
onChangeEnd: ue,
|
|
3734
3739
|
...D
|
|
3735
|
-
} = e, [re, pe] = ce(() =>
|
|
3736
|
-
() => Array.isArray(
|
|
3740
|
+
} = e, [re, pe] = ce(() => O !== void 0 ? O : A !== void 0 ? A : j), I = O !== void 0 ? O : re, le = Array.isArray(I), [Ne, se] = ce(
|
|
3741
|
+
() => Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3737
3742
|
);
|
|
3738
|
-
|
|
3743
|
+
ke(() => {
|
|
3739
3744
|
se(
|
|
3740
|
-
Array.isArray(
|
|
3745
|
+
Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3741
3746
|
);
|
|
3742
|
-
}, [
|
|
3743
|
-
const ie = (
|
|
3744
|
-
|
|
3745
|
-
}, be = (
|
|
3746
|
-
const z =
|
|
3747
|
+
}, [I]);
|
|
3748
|
+
const ie = (B) => {
|
|
3749
|
+
O === void 0 && pe(B), ee == null || ee(B);
|
|
3750
|
+
}, be = (B) => {
|
|
3751
|
+
const z = B.target.value;
|
|
3747
3752
|
se(z);
|
|
3748
3753
|
const k = parseFloat(z);
|
|
3749
3754
|
if (!isNaN(k)) {
|
|
@@ -3751,17 +3756,17 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3751
3756
|
ie(U);
|
|
3752
3757
|
}
|
|
3753
3758
|
}, $e = () => {
|
|
3754
|
-
se(
|
|
3755
|
-
}, Qe = (
|
|
3756
|
-
const z =
|
|
3759
|
+
se(I.toString());
|
|
3760
|
+
}, Qe = (B) => {
|
|
3761
|
+
const z = I, k = B.target.value;
|
|
3757
3762
|
se([k, z[1].toString()]);
|
|
3758
3763
|
const U = parseFloat(k);
|
|
3759
3764
|
if (!isNaN(U)) {
|
|
3760
3765
|
const Q = Math.max(j, Math.min(z[1], U));
|
|
3761
3766
|
ie([Q, z[1]]);
|
|
3762
3767
|
}
|
|
3763
|
-
}, we = (
|
|
3764
|
-
const z =
|
|
3768
|
+
}, we = (B) => {
|
|
3769
|
+
const z = I, k = B.target.value;
|
|
3765
3770
|
se([z[0].toString(), k]);
|
|
3766
3771
|
const U = parseFloat(k);
|
|
3767
3772
|
if (!isNaN(U)) {
|
|
@@ -3769,8 +3774,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3769
3774
|
ie([z[0], Q]);
|
|
3770
3775
|
}
|
|
3771
3776
|
}, Xe = () => {
|
|
3772
|
-
const
|
|
3773
|
-
se([
|
|
3777
|
+
const B = I;
|
|
3778
|
+
se([B[0].toString(), B[1].toString()]);
|
|
3774
3779
|
}, Ee = [
|
|
3775
3780
|
"size",
|
|
3776
3781
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
@@ -3782,27 +3787,27 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3782
3787
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
3783
3788
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3784
3789
|
"wrapperProps"
|
|
3785
|
-
],
|
|
3790
|
+
], Fe = G(
|
|
3786
3791
|
u(D, o),
|
|
3787
3792
|
Ee
|
|
3788
|
-
), po =
|
|
3793
|
+
), po = Fe, Se = F(
|
|
3789
3794
|
{
|
|
3790
|
-
root:
|
|
3791
|
-
track:
|
|
3792
|
-
bar:
|
|
3793
|
-
thumb:
|
|
3794
|
-
markWrapper:
|
|
3795
|
-
mark:
|
|
3796
|
-
markLabel:
|
|
3795
|
+
root: oe.sliderRoot,
|
|
3796
|
+
track: oe.sliderTrack,
|
|
3797
|
+
bar: oe.sliderBar,
|
|
3798
|
+
thumb: oe.sliderThumb,
|
|
3799
|
+
markWrapper: oe.sliderMarkWrapper,
|
|
3800
|
+
mark: oe.sliderMark,
|
|
3801
|
+
markLabel: oe.sliderMarkLabel
|
|
3797
3802
|
},
|
|
3798
3803
|
po.classNames
|
|
3799
|
-
), Je = $ ? `${
|
|
3804
|
+
), Je = $ ? `${oe.layoutOverride} ${$}` : oe.layoutOverride, xe = E ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: E }) : null, eo = W ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: W }) : null, V = Array.isArray(I) ? typeof C == "function" ? `${C(I[0])} – ${C(I[1])}` : `${I[0]} – ${I[1]}` : typeof C == "function" ? C(I) : I;
|
|
3800
3805
|
return /* @__PURE__ */ a(
|
|
3801
3806
|
ve,
|
|
3802
3807
|
{
|
|
3803
3808
|
ref: n,
|
|
3804
3809
|
className: Je,
|
|
3805
|
-
style:
|
|
3810
|
+
style: g,
|
|
3806
3811
|
controlMaxWidth: void 0,
|
|
3807
3812
|
controlMinWidth: void 0,
|
|
3808
3813
|
overStyled: o,
|
|
@@ -3815,105 +3820,105 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3815
3820
|
onLabelEditClick: m,
|
|
3816
3821
|
label: p,
|
|
3817
3822
|
assistiveText: y,
|
|
3818
|
-
assistiveWithIcon:
|
|
3819
|
-
error:
|
|
3820
|
-
required:
|
|
3821
|
-
withAsterisk:
|
|
3822
|
-
id:
|
|
3823
|
+
assistiveWithIcon: N,
|
|
3824
|
+
error: v,
|
|
3825
|
+
required: S,
|
|
3826
|
+
withAsterisk: b,
|
|
3827
|
+
id: T,
|
|
3823
3828
|
readOnly: f,
|
|
3824
|
-
readOnlyComponent:
|
|
3825
|
-
emptyValueComponent:
|
|
3829
|
+
readOnlyComponent: w || Rc,
|
|
3830
|
+
emptyValueComponent: h,
|
|
3826
3831
|
readOnlyType: "text",
|
|
3827
|
-
readOnlyValue:
|
|
3828
|
-
readOnlyNativeProps: { value:
|
|
3832
|
+
readOnlyValue: I,
|
|
3833
|
+
readOnlyNativeProps: { value: I },
|
|
3829
3834
|
activeComponent: /* @__PURE__ */ M(
|
|
3830
3835
|
"div",
|
|
3831
3836
|
{
|
|
3832
|
-
className:
|
|
3837
|
+
className: oe.sliderContainer,
|
|
3833
3838
|
"data-form-layout": t,
|
|
3834
|
-
"data-disabled":
|
|
3835
|
-
"data-error":
|
|
3839
|
+
"data-disabled": P ? "true" : void 0,
|
|
3840
|
+
"data-error": v ? "true" : void 0,
|
|
3836
3841
|
children: [
|
|
3837
|
-
le &&
|
|
3842
|
+
le && L && /* @__PURE__ */ a(
|
|
3838
3843
|
"input",
|
|
3839
3844
|
{
|
|
3840
3845
|
type: "number",
|
|
3841
|
-
className:
|
|
3846
|
+
className: oe.inputField,
|
|
3842
3847
|
value: Ne[0],
|
|
3843
3848
|
onChange: Qe,
|
|
3844
3849
|
onBlur: Xe,
|
|
3845
3850
|
min: j,
|
|
3846
|
-
max:
|
|
3847
|
-
step:
|
|
3848
|
-
disabled:
|
|
3849
|
-
"data-error":
|
|
3851
|
+
max: I[1],
|
|
3852
|
+
step: Y,
|
|
3853
|
+
disabled: P,
|
|
3854
|
+
"data-error": v ? "true" : void 0,
|
|
3850
3855
|
"aria-label": "Minimum value"
|
|
3851
3856
|
}
|
|
3852
3857
|
),
|
|
3853
3858
|
xe,
|
|
3854
|
-
|
|
3855
|
-
/* @__PURE__ */ a("div", { className:
|
|
3859
|
+
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: X ?? j }),
|
|
3860
|
+
/* @__PURE__ */ a("div", { className: oe.sliderTrackWrapper, children: le ? /* @__PURE__ */ a(
|
|
3856
3861
|
cr,
|
|
3857
3862
|
{
|
|
3858
|
-
...
|
|
3863
|
+
...Fe,
|
|
3859
3864
|
classNames: Se,
|
|
3860
|
-
disabled:
|
|
3861
|
-
value:
|
|
3865
|
+
disabled: P,
|
|
3866
|
+
value: I,
|
|
3862
3867
|
onChange: ie,
|
|
3863
3868
|
onChangeEnd: ue,
|
|
3864
3869
|
min: j,
|
|
3865
3870
|
max: q,
|
|
3866
|
-
step:
|
|
3867
|
-
label:
|
|
3871
|
+
step: Y,
|
|
3872
|
+
label: C
|
|
3868
3873
|
}
|
|
3869
3874
|
) : /* @__PURE__ */ a(
|
|
3870
3875
|
dr,
|
|
3871
3876
|
{
|
|
3872
|
-
...
|
|
3877
|
+
...Fe,
|
|
3873
3878
|
classNames: Se,
|
|
3874
|
-
disabled:
|
|
3875
|
-
value:
|
|
3879
|
+
disabled: P,
|
|
3880
|
+
value: I,
|
|
3876
3881
|
onChange: ie,
|
|
3877
3882
|
onChangeEnd: ue,
|
|
3878
3883
|
min: j,
|
|
3879
3884
|
max: q,
|
|
3880
|
-
step:
|
|
3881
|
-
label:
|
|
3885
|
+
step: Y,
|
|
3886
|
+
label: C
|
|
3882
3887
|
}
|
|
3883
3888
|
) }),
|
|
3884
|
-
/* @__PURE__ */ M("div", { className:
|
|
3885
|
-
!
|
|
3886
|
-
|
|
3889
|
+
/* @__PURE__ */ M("div", { className: oe.rightGuideContainer, children: [
|
|
3890
|
+
!L && /* @__PURE__ */ a("span", { className: oe.currentValue, children: V }),
|
|
3891
|
+
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: H ?? q })
|
|
3887
3892
|
] }),
|
|
3888
3893
|
eo,
|
|
3889
|
-
|
|
3894
|
+
L && (le ? /* @__PURE__ */ a(
|
|
3890
3895
|
"input",
|
|
3891
3896
|
{
|
|
3892
3897
|
type: "number",
|
|
3893
|
-
className:
|
|
3898
|
+
className: oe.inputField,
|
|
3894
3899
|
value: Ne[1],
|
|
3895
3900
|
onChange: we,
|
|
3896
3901
|
onBlur: Xe,
|
|
3897
|
-
min:
|
|
3902
|
+
min: I[0],
|
|
3898
3903
|
max: q,
|
|
3899
|
-
step:
|
|
3900
|
-
disabled:
|
|
3901
|
-
"data-error":
|
|
3904
|
+
step: Y,
|
|
3905
|
+
disabled: P,
|
|
3906
|
+
"data-error": v ? "true" : void 0,
|
|
3902
3907
|
"aria-label": "Maximum value"
|
|
3903
3908
|
}
|
|
3904
3909
|
) : /* @__PURE__ */ a(
|
|
3905
3910
|
"input",
|
|
3906
3911
|
{
|
|
3907
3912
|
type: "number",
|
|
3908
|
-
className:
|
|
3913
|
+
className: oe.inputField,
|
|
3909
3914
|
value: Ne,
|
|
3910
3915
|
onChange: be,
|
|
3911
3916
|
onBlur: $e,
|
|
3912
3917
|
min: j,
|
|
3913
3918
|
max: q,
|
|
3914
|
-
step:
|
|
3915
|
-
disabled:
|
|
3916
|
-
"data-error":
|
|
3919
|
+
step: Y,
|
|
3920
|
+
disabled: P,
|
|
3921
|
+
"data-error": v ? "true" : void 0
|
|
3917
3922
|
}
|
|
3918
3923
|
))
|
|
3919
3924
|
]
|
|
@@ -3924,17 +3929,17 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3924
3929
|
}
|
|
3925
3930
|
);
|
|
3926
3931
|
Na.displayName = "Slider";
|
|
3927
|
-
const Lc = "Stack-module__root___NUN-x",
|
|
3932
|
+
const Lc = "Stack-module__root___NUN-x", Io = {
|
|
3928
3933
|
root: Lc
|
|
3929
3934
|
}, ba = _(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
3930
3935
|
const s = {
|
|
3931
|
-
root:
|
|
3936
|
+
root: Io.root
|
|
3932
3937
|
}, l = o.classNames;
|
|
3933
3938
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
3934
3939
|
const d = l;
|
|
3935
|
-
s.root = d.root ? `${
|
|
3940
|
+
s.root = d.root ? `${Io.root} ${d.root}` : Io.root;
|
|
3936
3941
|
}
|
|
3937
|
-
const i = o.className, c = i ? `${
|
|
3942
|
+
const i = o.className, c = i ? `${Io.root} ${i}` : Io.root;
|
|
3938
3943
|
return /* @__PURE__ */ a(
|
|
3939
3944
|
ur,
|
|
3940
3945
|
{
|
|
@@ -3947,14 +3952,14 @@ const Lc = "Stack-module__root___NUN-x", ko = {
|
|
|
3947
3952
|
);
|
|
3948
3953
|
});
|
|
3949
3954
|
ba.displayName = "Stack";
|
|
3950
|
-
const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__horizontal___USHT1", zc = "Stepper-module__steps___4HPO6", Dc = "Stepper-module__step___s2nqL", Ec = "Stepper-module__stepBody___TBvys",
|
|
3955
|
+
const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__horizontal___USHT1", zc = "Stepper-module__steps___4HPO6", Dc = "Stepper-module__step___s2nqL", Ec = "Stepper-module__stepBody___TBvys", Fc = "Stepper-module__stepLabel___N6nuy", Bc = "Stepper-module__stepDescription___DnDAy", Uc = "Stepper-module__separator___pU0No", Vc = "Stepper-module__vertical___d4mOs", Gc = "Stepper-module__large___J18-y", Hc = "Stepper-module__small___Ub-zb", jc = "Stepper-module__stepIcon___YQHNq", qc = "Stepper-module__stepCompletedIcon___B9MeL", Kc = "Stepper-module__verticalSeparator___frWc1", Yc = "Stepper-module__content___J-h8X", de = {
|
|
3951
3956
|
root: Mc,
|
|
3952
3957
|
horizontal: Wc,
|
|
3953
3958
|
steps: zc,
|
|
3954
3959
|
step: Dc,
|
|
3955
3960
|
stepBody: Ec,
|
|
3956
|
-
stepLabel:
|
|
3957
|
-
stepDescription:
|
|
3961
|
+
stepLabel: Fc,
|
|
3962
|
+
stepDescription: Bc,
|
|
3958
3963
|
separator: Uc,
|
|
3959
3964
|
vertical: Vc,
|
|
3960
3965
|
large: Gc,
|
|
@@ -3972,7 +3977,7 @@ const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__ho
|
|
|
3972
3977
|
className: l,
|
|
3973
3978
|
style: i,
|
|
3974
3979
|
...c
|
|
3975
|
-
} = e, d = u(c, o), m = d, p =
|
|
3980
|
+
} = e, d = u(c, o), m = d, p = F(
|
|
3976
3981
|
{
|
|
3977
3982
|
steps: de.steps,
|
|
3978
3983
|
step: de.step,
|
|
@@ -4046,32 +4051,32 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
|
|
|
4046
4051
|
// Base Mantine Extracted Attributes
|
|
4047
4052
|
label: m,
|
|
4048
4053
|
description: p,
|
|
4049
|
-
assistiveText:
|
|
4054
|
+
assistiveText: C,
|
|
4050
4055
|
assistiveWithIcon: y,
|
|
4051
|
-
error:
|
|
4052
|
-
required:
|
|
4053
|
-
withAsterisk:
|
|
4054
|
-
id:
|
|
4055
|
-
className:
|
|
4056
|
+
error: N,
|
|
4057
|
+
required: v,
|
|
4058
|
+
withAsterisk: S,
|
|
4059
|
+
id: b,
|
|
4060
|
+
className: T,
|
|
4056
4061
|
style: $,
|
|
4057
|
-
children:
|
|
4058
|
-
readOnly:
|
|
4062
|
+
children: g,
|
|
4063
|
+
readOnly: P,
|
|
4059
4064
|
readOnlyComponent: f,
|
|
4060
|
-
emptyValueComponent:
|
|
4061
|
-
value:
|
|
4062
|
-
defaultValue:
|
|
4063
|
-
...
|
|
4064
|
-
} = e,
|
|
4065
|
+
emptyValueComponent: w,
|
|
4066
|
+
value: h,
|
|
4067
|
+
defaultValue: O,
|
|
4068
|
+
...A
|
|
4069
|
+
} = e, E = [
|
|
4065
4070
|
"size"
|
|
4066
4071
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4067
4072
|
], W = G(
|
|
4068
|
-
u(
|
|
4069
|
-
|
|
4070
|
-
),
|
|
4073
|
+
u(A, o),
|
|
4074
|
+
E
|
|
4075
|
+
), L = W;
|
|
4071
4076
|
return /* @__PURE__ */ a(
|
|
4072
4077
|
ve,
|
|
4073
4078
|
{
|
|
4074
|
-
className:
|
|
4079
|
+
className: T,
|
|
4075
4080
|
style: $,
|
|
4076
4081
|
controlMaxWidth: void 0,
|
|
4077
4082
|
controlMinWidth: void 0,
|
|
@@ -4085,27 +4090,27 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
|
|
|
4085
4090
|
onLabelEditClick: d,
|
|
4086
4091
|
label: m,
|
|
4087
4092
|
description: p,
|
|
4088
|
-
assistiveText:
|
|
4093
|
+
assistiveText: C,
|
|
4089
4094
|
assistiveWithIcon: y,
|
|
4090
|
-
error:
|
|
4091
|
-
required:
|
|
4092
|
-
withAsterisk:
|
|
4093
|
-
id:
|
|
4094
|
-
readOnly:
|
|
4095
|
+
error: N,
|
|
4096
|
+
required: v,
|
|
4097
|
+
withAsterisk: S,
|
|
4098
|
+
id: b,
|
|
4099
|
+
readOnly: P && !!f,
|
|
4095
4100
|
readOnlyComponent: f,
|
|
4096
|
-
emptyValueComponent:
|
|
4101
|
+
emptyValueComponent: w,
|
|
4097
4102
|
readOnlyType: "text",
|
|
4098
|
-
readOnlyValue:
|
|
4103
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
4099
4104
|
readOnlyNativeProps: e,
|
|
4100
4105
|
activeComponent: /* @__PURE__ */ a(
|
|
4101
4106
|
jt.Group,
|
|
4102
4107
|
{
|
|
4103
4108
|
ref: n,
|
|
4104
4109
|
...W,
|
|
4105
|
-
disabled:
|
|
4106
|
-
value:
|
|
4107
|
-
defaultValue:
|
|
4108
|
-
children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": t, children:
|
|
4110
|
+
disabled: P || L.disabled,
|
|
4111
|
+
value: h,
|
|
4112
|
+
defaultValue: O,
|
|
4113
|
+
children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": t, children: g })
|
|
4109
4114
|
}
|
|
4110
4115
|
)
|
|
4111
4116
|
}
|
|
@@ -4125,7 +4130,7 @@ const Pt = _(
|
|
|
4125
4130
|
labelSize: d,
|
|
4126
4131
|
controlMaxWidth: m,
|
|
4127
4132
|
controlMinWidth: p,
|
|
4128
|
-
...
|
|
4133
|
+
...C
|
|
4129
4134
|
} = e, y = [
|
|
4130
4135
|
"size",
|
|
4131
4136
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
@@ -4135,10 +4140,10 @@ const Pt = _(
|
|
|
4135
4140
|
// Corner radius is fixed by Recursica tokens in Switch.module.css, not caller-configurable.
|
|
4136
4141
|
"variant"
|
|
4137
4142
|
// Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
4138
|
-
],
|
|
4139
|
-
u(
|
|
4143
|
+
], N = G(
|
|
4144
|
+
u(C, o),
|
|
4140
4145
|
y
|
|
4141
|
-
),
|
|
4146
|
+
), v = N, S = F(
|
|
4142
4147
|
{
|
|
4143
4148
|
root: ye.root,
|
|
4144
4149
|
body: ye.body,
|
|
@@ -4148,18 +4153,18 @@ const Pt = _(
|
|
|
4148
4153
|
labelWrapper: ye.labelWrapper,
|
|
4149
4154
|
label: ye.label
|
|
4150
4155
|
},
|
|
4151
|
-
|
|
4152
|
-
),
|
|
4156
|
+
v.classNames
|
|
4157
|
+
), b = kr(
|
|
4153
4158
|
{},
|
|
4154
|
-
|
|
4155
|
-
),
|
|
4159
|
+
v.styles
|
|
4160
|
+
), T = v.className, $ = T ? `${ye.root} ${T}` : ye.root;
|
|
4156
4161
|
if (t && s) {
|
|
4157
|
-
const f = !!(
|
|
4162
|
+
const f = !!(v.checked ?? v.defaultChecked), h = /* @__PURE__ */ a(
|
|
4158
4163
|
s,
|
|
4159
4164
|
{
|
|
4160
4165
|
...e,
|
|
4161
4166
|
checked: f,
|
|
4162
|
-
label:
|
|
4167
|
+
label: v.label
|
|
4163
4168
|
}
|
|
4164
4169
|
);
|
|
4165
4170
|
return c ? /* @__PURE__ */ a(
|
|
@@ -4169,25 +4174,25 @@ const Pt = _(
|
|
|
4169
4174
|
labelSize: d,
|
|
4170
4175
|
controlMaxWidth: m,
|
|
4171
4176
|
controlMinWidth: p,
|
|
4172
|
-
children:
|
|
4177
|
+
children: h
|
|
4173
4178
|
}
|
|
4174
|
-
) : /* @__PURE__ */ a(No, { children:
|
|
4179
|
+
) : /* @__PURE__ */ a(No, { children: h });
|
|
4175
4180
|
}
|
|
4176
|
-
const
|
|
4181
|
+
const g = /* @__PURE__ */ M("div", { className: ye.thumbIconWrapper, children: [
|
|
4177
4182
|
/* @__PURE__ */ a(pr, { className: ye.checkIcon }),
|
|
4178
4183
|
/* @__PURE__ */ a(mr, { className: ye.closeIcon })
|
|
4179
|
-
] }),
|
|
4184
|
+
] }), P = /* @__PURE__ */ a(
|
|
4180
4185
|
jt,
|
|
4181
4186
|
{
|
|
4182
4187
|
ref: n,
|
|
4183
|
-
...
|
|
4188
|
+
...N,
|
|
4184
4189
|
className: $,
|
|
4185
|
-
classNames:
|
|
4186
|
-
styles:
|
|
4190
|
+
classNames: S,
|
|
4191
|
+
styles: b,
|
|
4187
4192
|
disabled: t || l,
|
|
4188
4193
|
"data-disabled": t || l || void 0,
|
|
4189
4194
|
thumbIcon: me(
|
|
4190
|
-
|
|
4195
|
+
g,
|
|
4191
4196
|
i
|
|
4192
4197
|
)
|
|
4193
4198
|
}
|
|
@@ -4199,9 +4204,9 @@ const Pt = _(
|
|
|
4199
4204
|
labelSize: d,
|
|
4200
4205
|
controlMaxWidth: m,
|
|
4201
4206
|
controlMinWidth: p,
|
|
4202
|
-
children:
|
|
4207
|
+
children: P
|
|
4203
4208
|
}
|
|
4204
|
-
) :
|
|
4209
|
+
) : P;
|
|
4205
4210
|
}
|
|
4206
4211
|
);
|
|
4207
4212
|
Pt.displayName = "Switch";
|
|
@@ -4344,7 +4349,7 @@ const Oa = _(
|
|
|
4344
4349
|
}
|
|
4345
4350
|
);
|
|
4346
4351
|
Oa.displayName = "TableTfoot";
|
|
4347
|
-
const
|
|
4352
|
+
const Ia = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4348
4353
|
const t = u(n, e);
|
|
4349
4354
|
return /* @__PURE__ */ a(
|
|
4350
4355
|
Ke.Caption,
|
|
@@ -4354,8 +4359,8 @@ const ka = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4354
4359
|
}
|
|
4355
4360
|
);
|
|
4356
4361
|
});
|
|
4357
|
-
|
|
4358
|
-
const
|
|
4362
|
+
Ia.displayName = "TableCaption";
|
|
4363
|
+
const ka = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4359
4364
|
const t = u(n, e);
|
|
4360
4365
|
return /* @__PURE__ */ a(
|
|
4361
4366
|
Ke.ScrollContainer,
|
|
@@ -4365,7 +4370,7 @@ const Ia = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4365
4370
|
}
|
|
4366
4371
|
);
|
|
4367
4372
|
});
|
|
4368
|
-
|
|
4373
|
+
ka.displayName = "TableScrollContainer";
|
|
4369
4374
|
const Ze = ga;
|
|
4370
4375
|
Ze.Thead = Ta;
|
|
4371
4376
|
Ze.Tbody = $a;
|
|
@@ -4373,9 +4378,9 @@ Ze.Tr = wa;
|
|
|
4373
4378
|
Ze.Th = Sa;
|
|
4374
4379
|
Ze.Td = xa;
|
|
4375
4380
|
Ze.Tfoot = Oa;
|
|
4376
|
-
Ze.Caption =
|
|
4377
|
-
Ze.ScrollContainer =
|
|
4378
|
-
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c",
|
|
4381
|
+
Ze.Caption = Ia;
|
|
4382
|
+
Ze.ScrollContainer = ka;
|
|
4383
|
+
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c", Fo = {
|
|
4379
4384
|
root: ud,
|
|
4380
4385
|
list: pd,
|
|
4381
4386
|
tab: md,
|
|
@@ -4387,11 +4392,11 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4387
4392
|
overStyled: s = !1,
|
|
4388
4393
|
className: l,
|
|
4389
4394
|
...i
|
|
4390
|
-
} = e, c = u(i, s), d = c, m =
|
|
4395
|
+
} = e, c = u(i, s), d = c, m = F(
|
|
4391
4396
|
{
|
|
4392
|
-
list:
|
|
4393
|
-
tab:
|
|
4394
|
-
panel:
|
|
4397
|
+
list: Fo.list,
|
|
4398
|
+
tab: Fo.tab,
|
|
4399
|
+
panel: Fo.panel
|
|
4395
4400
|
},
|
|
4396
4401
|
d.classNames
|
|
4397
4402
|
);
|
|
@@ -4402,7 +4407,7 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4402
4407
|
...c,
|
|
4403
4408
|
variant: o,
|
|
4404
4409
|
orientation: t,
|
|
4405
|
-
className: `${
|
|
4410
|
+
className: `${Fo.root} ${l || ""}`,
|
|
4406
4411
|
"data-variant": o,
|
|
4407
4412
|
"data-orientation": t,
|
|
4408
4413
|
classNames: m
|
|
@@ -4465,7 +4470,7 @@ const fd = Object.assign(Ra, {
|
|
|
4465
4470
|
);
|
|
4466
4471
|
});
|
|
4467
4472
|
Wa.displayName = "Text";
|
|
4468
|
-
const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextArea-module__root___3dyeu", Nd = "TextArea-module__input___8l36v",
|
|
4473
|
+
const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextArea-module__root___3dyeu", Nd = "TextArea-module__input___8l36v", Bo = {
|
|
4469
4474
|
layoutOverride: hd,
|
|
4470
4475
|
root: vd,
|
|
4471
4476
|
input: Nd
|
|
@@ -4489,36 +4494,36 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4489
4494
|
onLabelEditClick: d,
|
|
4490
4495
|
label: m,
|
|
4491
4496
|
assistiveText: p,
|
|
4492
|
-
assistiveWithIcon:
|
|
4497
|
+
assistiveWithIcon: C,
|
|
4493
4498
|
error: y,
|
|
4494
|
-
required:
|
|
4495
|
-
withAsterisk:
|
|
4496
|
-
id:
|
|
4497
|
-
className:
|
|
4498
|
-
style:
|
|
4499
|
+
required: N,
|
|
4500
|
+
withAsterisk: v,
|
|
4501
|
+
id: S,
|
|
4502
|
+
className: b,
|
|
4503
|
+
style: T,
|
|
4499
4504
|
disabled: $,
|
|
4500
|
-
readOnly:
|
|
4501
|
-
readOnlyComponent:
|
|
4505
|
+
readOnly: g,
|
|
4506
|
+
readOnlyComponent: P,
|
|
4502
4507
|
emptyValueComponent: f,
|
|
4503
|
-
value:
|
|
4504
|
-
defaultValue:
|
|
4505
|
-
...
|
|
4506
|
-
} = e,
|
|
4507
|
-
u(
|
|
4508
|
+
value: w,
|
|
4509
|
+
defaultValue: h,
|
|
4510
|
+
...O
|
|
4511
|
+
} = e, A = G(
|
|
4512
|
+
u(O, o),
|
|
4508
4513
|
bd
|
|
4509
|
-
),
|
|
4514
|
+
), E = A, W = F(
|
|
4510
4515
|
{
|
|
4511
|
-
wrapper:
|
|
4516
|
+
wrapper: Bo.root,
|
|
4512
4517
|
// The nested Input internal relative wrapper bounding box
|
|
4513
|
-
input:
|
|
4518
|
+
input: Bo.input
|
|
4514
4519
|
},
|
|
4515
|
-
|
|
4516
|
-
),
|
|
4520
|
+
E.classNames
|
|
4521
|
+
), L = b ? `${Bo.layoutOverride} ${b}` : Bo.layoutOverride;
|
|
4517
4522
|
return /* @__PURE__ */ a(
|
|
4518
4523
|
ve,
|
|
4519
4524
|
{
|
|
4520
|
-
className:
|
|
4521
|
-
style:
|
|
4525
|
+
className: L,
|
|
4526
|
+
style: T,
|
|
4522
4527
|
controlMaxWidth: "var(--textarea-control-max-width)",
|
|
4523
4528
|
controlMinWidth: "var(--textarea-control-min-width)",
|
|
4524
4529
|
overStyled: o,
|
|
@@ -4530,16 +4535,16 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4530
4535
|
onLabelEditClick: d,
|
|
4531
4536
|
label: m,
|
|
4532
4537
|
assistiveText: p,
|
|
4533
|
-
assistiveWithIcon:
|
|
4538
|
+
assistiveWithIcon: C,
|
|
4534
4539
|
error: y,
|
|
4535
|
-
required:
|
|
4536
|
-
withAsterisk:
|
|
4537
|
-
id:
|
|
4538
|
-
readOnly:
|
|
4539
|
-
readOnlyComponent:
|
|
4540
|
+
required: N,
|
|
4541
|
+
withAsterisk: v,
|
|
4542
|
+
id: S,
|
|
4543
|
+
readOnly: g,
|
|
4544
|
+
readOnlyComponent: P,
|
|
4540
4545
|
emptyValueComponent: f,
|
|
4541
4546
|
readOnlyType: "text",
|
|
4542
|
-
readOnlyValue:
|
|
4547
|
+
readOnlyValue: w !== void 0 ? w : h,
|
|
4543
4548
|
readOnlyNativeProps: e,
|
|
4544
4549
|
activeComponent: (
|
|
4545
4550
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -4547,11 +4552,11 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4547
4552
|
fr,
|
|
4548
4553
|
{
|
|
4549
4554
|
ref: n,
|
|
4550
|
-
...
|
|
4555
|
+
...A,
|
|
4551
4556
|
classNames: W,
|
|
4552
4557
|
disabled: $,
|
|
4553
|
-
value:
|
|
4554
|
-
defaultValue:
|
|
4558
|
+
value: w,
|
|
4559
|
+
defaultValue: h,
|
|
4555
4560
|
label: void 0,
|
|
4556
4561
|
description: void 0,
|
|
4557
4562
|
error: !!y,
|
|
@@ -4565,7 +4570,7 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4565
4570
|
}
|
|
4566
4571
|
);
|
|
4567
4572
|
za.displayName = "TextArea";
|
|
4568
|
-
const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__root___2ZYkG", gd = "TextField-module__input___RL-My", Td = "TextField-module__section___bCIJ0",
|
|
4573
|
+
const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__root___2ZYkG", gd = "TextField-module__input___RL-My", Td = "TextField-module__section___bCIJ0", ko = {
|
|
4569
4574
|
layoutOverride: Cd,
|
|
4570
4575
|
root: Pd,
|
|
4571
4576
|
input: gd,
|
|
@@ -4590,37 +4595,37 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4590
4595
|
onLabelEditClick: d,
|
|
4591
4596
|
label: m,
|
|
4592
4597
|
assistiveText: p,
|
|
4593
|
-
assistiveWithIcon:
|
|
4598
|
+
assistiveWithIcon: C,
|
|
4594
4599
|
error: y,
|
|
4595
|
-
required:
|
|
4596
|
-
withAsterisk:
|
|
4597
|
-
id:
|
|
4598
|
-
className:
|
|
4599
|
-
style:
|
|
4600
|
+
required: N,
|
|
4601
|
+
withAsterisk: v,
|
|
4602
|
+
id: S,
|
|
4603
|
+
className: b,
|
|
4604
|
+
style: T,
|
|
4600
4605
|
disabled: $,
|
|
4601
|
-
readOnly:
|
|
4602
|
-
readOnlyComponent:
|
|
4606
|
+
readOnly: g,
|
|
4607
|
+
readOnlyComponent: P,
|
|
4603
4608
|
emptyValueComponent: f,
|
|
4604
|
-
value:
|
|
4605
|
-
defaultValue:
|
|
4606
|
-
...
|
|
4607
|
-
} = e,
|
|
4608
|
-
u(
|
|
4609
|
+
value: w,
|
|
4610
|
+
defaultValue: h,
|
|
4611
|
+
...O
|
|
4612
|
+
} = e, A = G(
|
|
4613
|
+
u(O, o),
|
|
4609
4614
|
$d
|
|
4610
|
-
),
|
|
4615
|
+
), E = A, W = F(
|
|
4611
4616
|
{
|
|
4612
|
-
wrapper:
|
|
4617
|
+
wrapper: ko.root,
|
|
4613
4618
|
// The nested Input internal relative wrapper bounding box
|
|
4614
|
-
input:
|
|
4615
|
-
section:
|
|
4619
|
+
input: ko.input,
|
|
4620
|
+
section: ko.section
|
|
4616
4621
|
},
|
|
4617
|
-
|
|
4618
|
-
),
|
|
4622
|
+
E.classNames
|
|
4623
|
+
), L = b ? `${ko.layoutOverride} ${b}` : ko.layoutOverride;
|
|
4619
4624
|
return /* @__PURE__ */ a(
|
|
4620
4625
|
ve,
|
|
4621
4626
|
{
|
|
4622
|
-
className:
|
|
4623
|
-
style:
|
|
4627
|
+
className: L,
|
|
4628
|
+
style: T,
|
|
4624
4629
|
controlMaxWidth: "var(--text-field-control-max-width)",
|
|
4625
4630
|
controlMinWidth: "var(--text-field-control-min-width)",
|
|
4626
4631
|
overStyled: o,
|
|
@@ -4632,28 +4637,28 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4632
4637
|
onLabelEditClick: d,
|
|
4633
4638
|
label: m,
|
|
4634
4639
|
assistiveText: p,
|
|
4635
|
-
assistiveWithIcon:
|
|
4640
|
+
assistiveWithIcon: C,
|
|
4636
4641
|
error: y,
|
|
4637
|
-
required:
|
|
4638
|
-
withAsterisk:
|
|
4639
|
-
id:
|
|
4640
|
-
readOnly:
|
|
4641
|
-
readOnlyComponent:
|
|
4642
|
+
required: N,
|
|
4643
|
+
withAsterisk: v,
|
|
4644
|
+
id: S,
|
|
4645
|
+
readOnly: g,
|
|
4646
|
+
readOnlyComponent: P,
|
|
4642
4647
|
emptyValueComponent: f,
|
|
4643
4648
|
readOnlyType: "text",
|
|
4644
|
-
readOnlyValue:
|
|
4649
|
+
readOnlyValue: w !== void 0 ? w : h,
|
|
4645
4650
|
readOnlyNativeProps: e,
|
|
4646
4651
|
activeComponent: (
|
|
4647
4652
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4648
4653
|
/* @__PURE__ */ a(
|
|
4649
|
-
|
|
4654
|
+
Bt,
|
|
4650
4655
|
{
|
|
4651
4656
|
ref: n,
|
|
4652
|
-
...
|
|
4657
|
+
...A,
|
|
4653
4658
|
classNames: W,
|
|
4654
4659
|
disabled: $,
|
|
4655
|
-
value:
|
|
4656
|
-
defaultValue:
|
|
4660
|
+
value: w,
|
|
4661
|
+
defaultValue: h,
|
|
4657
4662
|
wrapperProps: {
|
|
4658
4663
|
"data-disabled": $ ? "true" : void 0,
|
|
4659
4664
|
"data-error": y ? "true" : void 0
|
|
@@ -4677,13 +4682,13 @@ const wd = [
|
|
|
4677
4682
|
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = G(
|
|
4678
4683
|
u(i, o),
|
|
4679
4684
|
wd
|
|
4680
|
-
), d = c, m =
|
|
4685
|
+
), d = c, m = F(
|
|
4681
4686
|
{
|
|
4682
|
-
wrapper: t ? `${
|
|
4683
|
-
input:
|
|
4684
|
-
section:
|
|
4685
|
-
dropdown:
|
|
4686
|
-
option:
|
|
4687
|
+
wrapper: t ? `${te.root} ${t}` : te.root,
|
|
4688
|
+
input: te.input,
|
|
4689
|
+
section: te.section,
|
|
4690
|
+
dropdown: te.dropdown,
|
|
4691
|
+
option: te.option
|
|
4687
4692
|
},
|
|
4688
4693
|
d.classNames
|
|
4689
4694
|
);
|
|
@@ -4707,12 +4712,12 @@ const wd = [
|
|
|
4707
4712
|
);
|
|
4708
4713
|
});
|
|
4709
4714
|
Da.displayName = "BareDropdown";
|
|
4710
|
-
const Sd = "TimePicker-module__layoutOverride___zKo4Q", xd = "TimePicker-module__root___BcvRu", Od = "TimePicker-module__timeWrapper___hJVre",
|
|
4715
|
+
const Sd = "TimePicker-module__layoutOverride___zKo4Q", xd = "TimePicker-module__root___BcvRu", Od = "TimePicker-module__timeWrapper___hJVre", Id = "TimePicker-module__timeInput___FQysn", kd = "TimePicker-module__fieldsGroup___2yHhR", Rd = "TimePicker-module__timeField___twRZd", Ld = "TimePicker-module__amPmSelect___mSdvt", ro = {
|
|
4711
4716
|
layoutOverride: Sd,
|
|
4712
4717
|
root: xd,
|
|
4713
4718
|
timeWrapper: Od,
|
|
4714
|
-
timeInput:
|
|
4715
|
-
fieldsGroup:
|
|
4719
|
+
timeInput: Id,
|
|
4720
|
+
fieldsGroup: kd,
|
|
4716
4721
|
timeField: Rd,
|
|
4717
4722
|
amPmSelect: Ld
|
|
4718
4723
|
}, Ad = [
|
|
@@ -4762,53 +4767,53 @@ const Dd = [
|
|
|
4762
4767
|
onLabelEditClick: d,
|
|
4763
4768
|
label: m,
|
|
4764
4769
|
assistiveText: p,
|
|
4765
|
-
assistiveWithIcon:
|
|
4770
|
+
assistiveWithIcon: C,
|
|
4766
4771
|
error: y,
|
|
4767
|
-
required:
|
|
4768
|
-
withAsterisk:
|
|
4769
|
-
id:
|
|
4770
|
-
className:
|
|
4771
|
-
style:
|
|
4772
|
+
required: N,
|
|
4773
|
+
withAsterisk: v,
|
|
4774
|
+
id: S,
|
|
4775
|
+
className: b,
|
|
4776
|
+
style: T,
|
|
4772
4777
|
disabled: $,
|
|
4773
|
-
readOnly:
|
|
4774
|
-
readOnlyComponent:
|
|
4778
|
+
readOnly: g,
|
|
4779
|
+
readOnlyComponent: P,
|
|
4775
4780
|
emptyValueComponent: f,
|
|
4776
|
-
value:
|
|
4777
|
-
defaultValue:
|
|
4778
|
-
onChange:
|
|
4779
|
-
withSeconds:
|
|
4780
|
-
minTime:
|
|
4781
|
+
value: w,
|
|
4782
|
+
defaultValue: h,
|
|
4783
|
+
onChange: O,
|
|
4784
|
+
withSeconds: A,
|
|
4785
|
+
minTime: E,
|
|
4781
4786
|
maxTime: W,
|
|
4782
|
-
...
|
|
4783
|
-
} = e,
|
|
4784
|
-
u(
|
|
4787
|
+
...L
|
|
4788
|
+
} = e, Z = G(
|
|
4789
|
+
u(L, o),
|
|
4785
4790
|
Dd
|
|
4786
|
-
), j =
|
|
4787
|
-
() =>
|
|
4791
|
+
), j = Z, [q, X] = ce(
|
|
4792
|
+
() => w ?? h
|
|
4788
4793
|
);
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
}, [
|
|
4794
|
+
ke(() => {
|
|
4795
|
+
w !== void 0 && X(w);
|
|
4796
|
+
}, [w]);
|
|
4792
4797
|
const H = Ve(null);
|
|
4793
|
-
|
|
4794
|
-
Wt(
|
|
4798
|
+
ke(() => {
|
|
4799
|
+
Wt(w ?? h) === void 0 && H.current && zd(H.current, "AM");
|
|
4795
4800
|
}, []);
|
|
4796
|
-
const
|
|
4797
|
-
|
|
4798
|
-
},
|
|
4799
|
-
|
|
4800
|
-
}, re = (
|
|
4801
|
-
if (
|
|
4802
|
-
const le =
|
|
4801
|
+
const Y = (I) => {
|
|
4802
|
+
X(I), O == null || O(I);
|
|
4803
|
+
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12, D = (I) => {
|
|
4804
|
+
Y(I);
|
|
4805
|
+
}, re = (I) => {
|
|
4806
|
+
if (ee === void 0 || !q || !I) return;
|
|
4807
|
+
const le = I === "PM";
|
|
4803
4808
|
if (le === ue) return;
|
|
4804
|
-
const Ne = le ?
|
|
4805
|
-
|
|
4806
|
-
}, pe =
|
|
4809
|
+
const Ne = le ? ee + 12 : ee - 12;
|
|
4810
|
+
Y(Md(q, Ne));
|
|
4811
|
+
}, pe = b ? `${ro.layoutOverride} ${b}` : ro.layoutOverride;
|
|
4807
4812
|
return /* @__PURE__ */ a(
|
|
4808
4813
|
ve,
|
|
4809
4814
|
{
|
|
4810
4815
|
className: pe,
|
|
4811
|
-
style:
|
|
4816
|
+
style: T,
|
|
4812
4817
|
controlMaxWidth: void 0,
|
|
4813
4818
|
controlMinWidth: void 0,
|
|
4814
4819
|
overStyled: o,
|
|
@@ -4820,17 +4825,17 @@ const Dd = [
|
|
|
4820
4825
|
onLabelEditClick: d,
|
|
4821
4826
|
label: m,
|
|
4822
4827
|
assistiveText: p,
|
|
4823
|
-
assistiveWithIcon:
|
|
4828
|
+
assistiveWithIcon: C,
|
|
4824
4829
|
error: y,
|
|
4825
|
-
required:
|
|
4826
|
-
withAsterisk:
|
|
4827
|
-
id:
|
|
4828
|
-
readOnly:
|
|
4829
|
-
readOnlyComponent:
|
|
4830
|
+
required: N,
|
|
4831
|
+
withAsterisk: v,
|
|
4832
|
+
id: S,
|
|
4833
|
+
readOnly: g,
|
|
4834
|
+
readOnlyComponent: P,
|
|
4830
4835
|
emptyValueComponent: f,
|
|
4831
4836
|
readOnlyType: "text",
|
|
4832
4837
|
readOnlyValue: Wd(
|
|
4833
|
-
|
|
4838
|
+
w !== void 0 ? w : h
|
|
4834
4839
|
),
|
|
4835
4840
|
readOnlyNativeProps: e,
|
|
4836
4841
|
activeComponent: (
|
|
@@ -4850,8 +4855,8 @@ const Dd = [
|
|
|
4850
4855
|
Tr,
|
|
4851
4856
|
{
|
|
4852
4857
|
ref: n,
|
|
4853
|
-
...
|
|
4854
|
-
classNames:
|
|
4858
|
+
...Z,
|
|
4859
|
+
classNames: F(
|
|
4855
4860
|
{
|
|
4856
4861
|
wrapper: ro.timeWrapper,
|
|
4857
4862
|
input: ro.timeInput,
|
|
@@ -4864,8 +4869,8 @@ const Dd = [
|
|
|
4864
4869
|
value: q,
|
|
4865
4870
|
onChange: D,
|
|
4866
4871
|
format: "12h",
|
|
4867
|
-
withSeconds:
|
|
4868
|
-
min:
|
|
4872
|
+
withSeconds: A,
|
|
4873
|
+
min: E,
|
|
4869
4874
|
max: W,
|
|
4870
4875
|
withDropdown: !1,
|
|
4871
4876
|
amPmRef: H
|
|
@@ -4894,10 +4899,10 @@ const Dd = [
|
|
|
4894
4899
|
}
|
|
4895
4900
|
);
|
|
4896
4901
|
Ea.displayName = "TimePicker";
|
|
4897
|
-
const Ed = "Timeline-module__root___LwRdZ",
|
|
4902
|
+
const Ed = "Timeline-module__root___LwRdZ", Fd = "Timeline-module__item___T5xdQ", Bd = "Timeline-module__itemBody___XAV-E", Ud = "Timeline-module__itemBullet___rPXCy", Vd = "Timeline-module__itemTitle___GgRRW", Gd = "Timeline-module__itemContent___vurs-", Hd = "Timeline-module__description___f9sxV", jd = "Timeline-module__timestamp___owiRu", so = {
|
|
4898
4903
|
root: Ed,
|
|
4899
|
-
item:
|
|
4900
|
-
itemBody:
|
|
4904
|
+
item: Fd,
|
|
4905
|
+
itemBody: Bd,
|
|
4901
4906
|
itemBullet: Ud,
|
|
4902
4907
|
itemTitle: Vd,
|
|
4903
4908
|
itemContent: Gd,
|
|
@@ -4911,7 +4916,7 @@ const Ed = "Timeline-module__root___LwRdZ", Bd = "Timeline-module__item___T5xdQ"
|
|
|
4911
4916
|
children: t,
|
|
4912
4917
|
...s
|
|
4913
4918
|
}, l) {
|
|
4914
|
-
const i = u(s, e), c = i, d =
|
|
4919
|
+
const i = u(s, e), c = i, d = F(
|
|
4915
4920
|
{
|
|
4916
4921
|
item: so.item,
|
|
4917
4922
|
itemBody: so.itemBody,
|
|
@@ -4937,9 +4942,9 @@ const Ed = "Timeline-module__root___LwRdZ", Bd = "Timeline-module__item___T5xdQ"
|
|
|
4937
4942
|
}
|
|
4938
4943
|
);
|
|
4939
4944
|
Tt.displayName = "TimelineItem";
|
|
4940
|
-
const
|
|
4945
|
+
const Fa = K.forwardRef(
|
|
4941
4946
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4942
|
-
const t = u(n, e), s = t, l =
|
|
4947
|
+
const t = u(n, e), s = t, l = F(
|
|
4943
4948
|
{ root: so.root },
|
|
4944
4949
|
s.classNames
|
|
4945
4950
|
);
|
|
@@ -4953,9 +4958,9 @@ const Ba = K.forwardRef(
|
|
|
4953
4958
|
);
|
|
4954
4959
|
}
|
|
4955
4960
|
);
|
|
4956
|
-
|
|
4957
|
-
const
|
|
4958
|
-
|
|
4961
|
+
Fa.displayName = "Timeline";
|
|
4962
|
+
const Ba = Fa;
|
|
4963
|
+
Ba.Item = Tt;
|
|
4959
4964
|
const Ua = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
4960
4965
|
const s = [
|
|
4961
4966
|
"size"
|
|
@@ -5000,7 +5005,7 @@ const qd = "Toast-module__root___MUvfI", Kd = "Toast-module__icon___VwvE1", Yd =
|
|
|
5000
5005
|
], i = G(
|
|
5001
5006
|
u(t, e),
|
|
5002
5007
|
l
|
|
5003
|
-
), c =
|
|
5008
|
+
), c = F(
|
|
5004
5009
|
{
|
|
5005
5010
|
root: ho.root,
|
|
5006
5011
|
body: ho.body,
|
|
@@ -5041,7 +5046,7 @@ const eu = "Tooltip-module__tooltip___UA7H9", ou = "Tooltip-module__arrow___4zRO
|
|
|
5041
5046
|
arrowSize: t = 16,
|
|
5042
5047
|
...s
|
|
5043
5048
|
}) {
|
|
5044
|
-
const l = u(s, e), i = l, c =
|
|
5049
|
+
const l = u(s, e), i = l, c = F(
|
|
5045
5050
|
{
|
|
5046
5051
|
tooltip: zt.tooltip,
|
|
5047
5052
|
arrow: zt.arrow
|
|
@@ -5147,132 +5152,132 @@ const ja = _(
|
|
|
5147
5152
|
labelActionArea: d,
|
|
5148
5153
|
onLabelEditClick: m,
|
|
5149
5154
|
label: p,
|
|
5150
|
-
assistiveText:
|
|
5155
|
+
assistiveText: C,
|
|
5151
5156
|
description: y,
|
|
5152
|
-
helperText:
|
|
5153
|
-
assistiveWithIcon:
|
|
5154
|
-
error:
|
|
5155
|
-
required:
|
|
5156
|
-
id:
|
|
5157
|
+
helperText: N,
|
|
5158
|
+
assistiveWithIcon: v,
|
|
5159
|
+
error: S,
|
|
5160
|
+
required: b,
|
|
5161
|
+
id: T,
|
|
5157
5162
|
readOnly: $,
|
|
5158
|
-
readOnlyComponent:
|
|
5159
|
-
emptyValueComponent:
|
|
5163
|
+
readOnlyComponent: g,
|
|
5164
|
+
emptyValueComponent: P,
|
|
5160
5165
|
data: f,
|
|
5161
|
-
defaultData:
|
|
5162
|
-
onChange:
|
|
5163
|
-
sourceLabel:
|
|
5164
|
-
targetLabel:
|
|
5165
|
-
searchable:
|
|
5166
|
+
defaultData: w,
|
|
5167
|
+
onChange: h,
|
|
5168
|
+
sourceLabel: O = "Available",
|
|
5169
|
+
targetLabel: A = "Selected",
|
|
5170
|
+
searchable: E = !0,
|
|
5166
5171
|
searchPlaceholder: W = "Filter items...",
|
|
5167
|
-
disabled:
|
|
5168
|
-
className:
|
|
5172
|
+
disabled: L = !1,
|
|
5173
|
+
className: Z,
|
|
5169
5174
|
style: j,
|
|
5170
5175
|
...q
|
|
5171
|
-
} = e,
|
|
5172
|
-
() =>
|
|
5173
|
-
), D = f !== void 0 ? f :
|
|
5176
|
+
} = e, X = u(q, o), H = Ft(), Y = T || `recursica-transfer-list-${H}`, [ee, ue] = ce(
|
|
5177
|
+
() => w ?? f ?? [[], []]
|
|
5178
|
+
), D = f !== void 0 ? f : ee, re = _o(
|
|
5174
5179
|
(V) => {
|
|
5175
|
-
f === void 0 && ue(V),
|
|
5180
|
+
f === void 0 && ue(V), h == null || h(V);
|
|
5176
5181
|
},
|
|
5177
|
-
[f,
|
|
5178
|
-
), [pe,
|
|
5182
|
+
[f, h]
|
|
5183
|
+
), [pe, I] = ce(""), [le, Ne] = ce(""), [se, ie] = ce(
|
|
5179
5184
|
() => /* @__PURE__ */ new Set()
|
|
5180
5185
|
), [be, $e] = ce(
|
|
5181
5186
|
() => /* @__PURE__ */ new Set()
|
|
5182
|
-
), Qe =
|
|
5187
|
+
), Qe = It(() => {
|
|
5183
5188
|
if (!pe) return D[0];
|
|
5184
5189
|
const V = pe.toLowerCase();
|
|
5185
5190
|
return D[0].filter(
|
|
5186
|
-
(
|
|
5191
|
+
(B) => B.label.toLowerCase().includes(V)
|
|
5187
5192
|
);
|
|
5188
|
-
}, [D, pe]), we =
|
|
5193
|
+
}, [D, pe]), we = It(() => {
|
|
5189
5194
|
if (!le) return D[1];
|
|
5190
5195
|
const V = le.toLowerCase();
|
|
5191
5196
|
return D[1].filter(
|
|
5192
|
-
(
|
|
5197
|
+
(B) => B.label.toLowerCase().includes(V)
|
|
5193
5198
|
);
|
|
5194
5199
|
}, [D, le]), Xe = _o(() => {
|
|
5195
5200
|
if (se.size === 0) return;
|
|
5196
5201
|
const V = D[0].filter(
|
|
5197
5202
|
(z) => !se.has(z.value)
|
|
5198
|
-
),
|
|
5203
|
+
), B = D[0].filter(
|
|
5199
5204
|
(z) => se.has(z.value)
|
|
5200
5205
|
);
|
|
5201
|
-
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...
|
|
5206
|
+
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...B]]);
|
|
5202
5207
|
}, [D, se, re]), Ee = _o(() => {
|
|
5203
5208
|
if (be.size === 0) return;
|
|
5204
5209
|
const V = D[1].filter(
|
|
5205
5210
|
(z) => !be.has(z.value)
|
|
5206
|
-
),
|
|
5211
|
+
), B = D[1].filter(
|
|
5207
5212
|
(z) => be.has(z.value)
|
|
5208
5213
|
);
|
|
5209
|
-
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...
|
|
5210
|
-
}, [D, be, re]),
|
|
5214
|
+
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...B], V]);
|
|
5215
|
+
}, [D, be, re]), Fe = _o(() => {
|
|
5211
5216
|
D[0].length !== 0 && (ie(/* @__PURE__ */ new Set()), re([[], [...D[1], ...D[0]]]));
|
|
5212
5217
|
}, [D, re]), po = _o(() => {
|
|
5213
5218
|
D[1].length !== 0 && ($e(/* @__PURE__ */ new Set()), re([[...D[0], ...D[1]], []]));
|
|
5214
5219
|
}, [D, re]), Se = _o((V) => {
|
|
5215
|
-
ie((
|
|
5216
|
-
const z = new Set(
|
|
5220
|
+
ie((B) => {
|
|
5221
|
+
const z = new Set(B);
|
|
5217
5222
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5218
5223
|
});
|
|
5219
5224
|
}, []), Je = _o((V) => {
|
|
5220
|
-
$e((
|
|
5221
|
-
const z = new Set(
|
|
5225
|
+
$e((B) => {
|
|
5226
|
+
const z = new Set(B);
|
|
5222
5227
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5223
5228
|
});
|
|
5224
|
-
}, []), xe = (V,
|
|
5225
|
-
const { groups: mo, ungrouped:
|
|
5229
|
+
}, []), xe = (V, B, z, k, U, Q, _e, oo) => {
|
|
5230
|
+
const { groups: mo, ungrouped: x } = pu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${k.length}` : `${k.length}`;
|
|
5226
5231
|
return /* @__PURE__ */ M("div", { className: ge.pane, "data-pane": V, children: [
|
|
5227
5232
|
/* @__PURE__ */ M("div", { className: ge.paneHeader, children: [
|
|
5228
|
-
/* @__PURE__ */ a("span", { children:
|
|
5233
|
+
/* @__PURE__ */ a("span", { children: B }),
|
|
5229
5234
|
/* @__PURE__ */ a(an, { children: ae })
|
|
5230
5235
|
] }),
|
|
5231
|
-
|
|
5236
|
+
E && /* @__PURE__ */ a("div", { className: ge.paneSearch, children: /* @__PURE__ */ a(
|
|
5232
5237
|
gt,
|
|
5233
5238
|
{
|
|
5234
5239
|
value: _e,
|
|
5235
|
-
onChange: (
|
|
5240
|
+
onChange: (J) => oo(J.currentTarget.value),
|
|
5236
5241
|
placeholder: W,
|
|
5237
|
-
disabled:
|
|
5238
|
-
"aria-label": `Filter ${
|
|
5242
|
+
disabled: L,
|
|
5243
|
+
"aria-label": `Filter ${B.toLowerCase()}`
|
|
5239
5244
|
}
|
|
5240
5245
|
) }),
|
|
5241
5246
|
/* @__PURE__ */ M("div", { className: ge.paneList, children: [
|
|
5242
5247
|
z.length === 0 && /* @__PURE__ */ a("div", { className: ge.emptyState, children: "No items" }),
|
|
5243
|
-
|
|
5248
|
+
x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((J) => /* @__PURE__ */ a(
|
|
5244
5249
|
Lo,
|
|
5245
5250
|
{
|
|
5246
|
-
id: `${
|
|
5247
|
-
label:
|
|
5248
|
-
checked: U.has(
|
|
5249
|
-
onChange: () => Q(
|
|
5250
|
-
disabled:
|
|
5251
|
+
id: `${Y}-${V}-${J.value}`,
|
|
5252
|
+
label: J.label,
|
|
5253
|
+
checked: U.has(J.value),
|
|
5254
|
+
onChange: () => Q(J.value),
|
|
5255
|
+
disabled: L
|
|
5251
5256
|
},
|
|
5252
|
-
|
|
5257
|
+
J.value
|
|
5253
5258
|
)) }),
|
|
5254
|
-
ne.map((
|
|
5259
|
+
ne.map((J) => /* @__PURE__ */ a(
|
|
5255
5260
|
Ro,
|
|
5256
5261
|
{
|
|
5257
|
-
label:
|
|
5262
|
+
label: J,
|
|
5258
5263
|
labelSize: "small",
|
|
5259
|
-
children: mo[
|
|
5264
|
+
children: mo[J].map((fe) => /* @__PURE__ */ a(
|
|
5260
5265
|
Lo,
|
|
5261
5266
|
{
|
|
5262
|
-
id: `${
|
|
5267
|
+
id: `${Y}-${V}-${fe.value}`,
|
|
5263
5268
|
label: fe.label,
|
|
5264
5269
|
checked: U.has(fe.value),
|
|
5265
5270
|
onChange: () => Q(fe.value),
|
|
5266
|
-
disabled:
|
|
5271
|
+
disabled: L
|
|
5267
5272
|
},
|
|
5268
5273
|
fe.value
|
|
5269
5274
|
))
|
|
5270
5275
|
},
|
|
5271
|
-
|
|
5276
|
+
J
|
|
5272
5277
|
))
|
|
5273
5278
|
] })
|
|
5274
5279
|
] });
|
|
5275
|
-
}, eo =
|
|
5280
|
+
}, eo = Z ? `${ge.layoutOverride} ${Z}` : ge.layoutOverride;
|
|
5276
5281
|
return /* @__PURE__ */ a(
|
|
5277
5282
|
ve,
|
|
5278
5283
|
{
|
|
@@ -5285,39 +5290,39 @@ const ja = _(
|
|
|
5285
5290
|
labelActionArea: d,
|
|
5286
5291
|
onLabelEditClick: m,
|
|
5287
5292
|
label: p,
|
|
5288
|
-
assistiveText:
|
|
5293
|
+
assistiveText: C,
|
|
5289
5294
|
description: y,
|
|
5290
|
-
helperText:
|
|
5291
|
-
assistiveWithIcon:
|
|
5292
|
-
error:
|
|
5293
|
-
required:
|
|
5294
|
-
id:
|
|
5295
|
+
helperText: N,
|
|
5296
|
+
assistiveWithIcon: v,
|
|
5297
|
+
error: S,
|
|
5298
|
+
required: b,
|
|
5299
|
+
id: Y,
|
|
5295
5300
|
className: eo,
|
|
5296
5301
|
style: j,
|
|
5297
5302
|
overStyled: o,
|
|
5298
5303
|
readOnly: $,
|
|
5299
|
-
readOnlyComponent:
|
|
5300
|
-
emptyValueComponent:
|
|
5304
|
+
readOnlyComponent: g,
|
|
5305
|
+
emptyValueComponent: P,
|
|
5301
5306
|
readOnlyType: "text",
|
|
5302
5307
|
readOnlyValue: D[1].map((V) => V.label),
|
|
5303
5308
|
readOnlyNativeProps: e,
|
|
5304
5309
|
activeComponent: /* @__PURE__ */ a(
|
|
5305
5310
|
"div",
|
|
5306
5311
|
{
|
|
5307
|
-
...
|
|
5312
|
+
...X,
|
|
5308
5313
|
className: ge.root,
|
|
5309
|
-
"data-disabled":
|
|
5310
|
-
"data-error":
|
|
5314
|
+
"data-disabled": L ? "true" : void 0,
|
|
5315
|
+
"data-error": S ? "true" : void 0,
|
|
5311
5316
|
children: /* @__PURE__ */ M("div", { className: ge.panes, children: [
|
|
5312
5317
|
xe(
|
|
5313
5318
|
"source",
|
|
5314
|
-
|
|
5319
|
+
O,
|
|
5315
5320
|
Qe,
|
|
5316
5321
|
D[0],
|
|
5317
5322
|
se,
|
|
5318
5323
|
Se,
|
|
5319
5324
|
pe,
|
|
5320
|
-
|
|
5325
|
+
I
|
|
5321
5326
|
),
|
|
5322
5327
|
/* @__PURE__ */ M("div", { className: ge.transferColumn, children: [
|
|
5323
5328
|
/* @__PURE__ */ a(
|
|
@@ -5326,9 +5331,9 @@ const ja = _(
|
|
|
5326
5331
|
variant: "outline",
|
|
5327
5332
|
size: "small",
|
|
5328
5333
|
icon: /* @__PURE__ */ a(Et, { direction: "right" }),
|
|
5329
|
-
"aria-label": `Move all to ${
|
|
5330
|
-
disabled:
|
|
5331
|
-
onClick:
|
|
5334
|
+
"aria-label": `Move all to ${A}`,
|
|
5335
|
+
disabled: L || D[0].length === 0,
|
|
5336
|
+
onClick: Fe
|
|
5332
5337
|
}
|
|
5333
5338
|
),
|
|
5334
5339
|
/* @__PURE__ */ a(
|
|
@@ -5337,8 +5342,8 @@ const ja = _(
|
|
|
5337
5342
|
variant: "outline",
|
|
5338
5343
|
size: "small",
|
|
5339
5344
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5340
|
-
"aria-label": `Move selected to ${
|
|
5341
|
-
disabled:
|
|
5345
|
+
"aria-label": `Move selected to ${A}`,
|
|
5346
|
+
disabled: L || se.size === 0,
|
|
5342
5347
|
onClick: Xe
|
|
5343
5348
|
}
|
|
5344
5349
|
),
|
|
@@ -5348,8 +5353,8 @@ const ja = _(
|
|
|
5348
5353
|
variant: "outline",
|
|
5349
5354
|
size: "small",
|
|
5350
5355
|
icon: /* @__PURE__ */ a(Dt, { direction: "left" }),
|
|
5351
|
-
"aria-label": `Move selected to ${
|
|
5352
|
-
disabled:
|
|
5356
|
+
"aria-label": `Move selected to ${O}`,
|
|
5357
|
+
disabled: L || be.size === 0,
|
|
5353
5358
|
onClick: Ee
|
|
5354
5359
|
}
|
|
5355
5360
|
),
|
|
@@ -5359,15 +5364,15 @@ const ja = _(
|
|
|
5359
5364
|
variant: "outline",
|
|
5360
5365
|
size: "small",
|
|
5361
5366
|
icon: /* @__PURE__ */ a(Et, { direction: "left" }),
|
|
5362
|
-
"aria-label": `Move all to ${
|
|
5363
|
-
disabled:
|
|
5367
|
+
"aria-label": `Move all to ${O}`,
|
|
5368
|
+
disabled: L || D[1].length === 0,
|
|
5364
5369
|
onClick: po
|
|
5365
5370
|
}
|
|
5366
5371
|
)
|
|
5367
5372
|
] }),
|
|
5368
5373
|
xe(
|
|
5369
5374
|
"target",
|
|
5370
|
-
|
|
5375
|
+
A,
|
|
5371
5376
|
we,
|
|
5372
5377
|
D[1],
|
|
5373
5378
|
be,
|
|
@@ -5462,42 +5467,42 @@ const qa = _(function({
|
|
|
5462
5467
|
onSelectedChange: d,
|
|
5463
5468
|
...m
|
|
5464
5469
|
}, p) {
|
|
5465
|
-
const
|
|
5470
|
+
const C = u(m, e), y = br({
|
|
5466
5471
|
initialExpandedState: o ? Cr(n, o) : void 0,
|
|
5467
5472
|
initialSelectedState: t,
|
|
5468
5473
|
multiple: s,
|
|
5469
5474
|
onNodeExpand: i,
|
|
5470
5475
|
onNodeCollapse: c
|
|
5471
5476
|
});
|
|
5472
|
-
|
|
5477
|
+
ke(() => {
|
|
5473
5478
|
d == null || d(y.selectedState);
|
|
5474
5479
|
}, [y.selectedState, d]);
|
|
5475
|
-
const
|
|
5476
|
-
|
|
5477
|
-
const $ =
|
|
5480
|
+
const N = K.useRef(null);
|
|
5481
|
+
ke(() => {
|
|
5482
|
+
const $ = N.current;
|
|
5478
5483
|
if (!$) return;
|
|
5479
|
-
const
|
|
5480
|
-
if (l ||
|
|
5481
|
-
const f =
|
|
5484
|
+
const g = (P) => {
|
|
5485
|
+
if (l || P.key !== "Enter" && P.key !== " ") return;
|
|
5486
|
+
const f = P.target.closest(
|
|
5482
5487
|
'[role="treeitem"]'
|
|
5483
|
-
),
|
|
5484
|
-
|
|
5488
|
+
), w = f == null ? void 0 : f.dataset.value;
|
|
5489
|
+
w && (P.preventDefault(), y.select(w));
|
|
5485
5490
|
};
|
|
5486
|
-
return $.addEventListener("keydown",
|
|
5487
|
-
}, [y.select, l]),
|
|
5488
|
-
const $ =
|
|
5491
|
+
return $.addEventListener("keydown", g), () => $.removeEventListener("keydown", g);
|
|
5492
|
+
}, [y.select, l]), ke(() => {
|
|
5493
|
+
const $ = N.current;
|
|
5489
5494
|
if (!$ || !l) return;
|
|
5490
|
-
const
|
|
5491
|
-
|
|
5495
|
+
const g = (P) => {
|
|
5496
|
+
P.preventDefault(), P.stopPropagation();
|
|
5492
5497
|
};
|
|
5493
|
-
return $.addEventListener("keydown",
|
|
5498
|
+
return $.addEventListener("keydown", g, { capture: !0 }), () => $.removeEventListener("keydown", g, { capture: !0 });
|
|
5494
5499
|
}, [l]);
|
|
5495
|
-
const
|
|
5500
|
+
const v = $r(p, N), S = C, b = S.className, T = b ? `${uo.root} ${b}` : uo.root;
|
|
5496
5501
|
return /* @__PURE__ */ a(
|
|
5497
5502
|
Pr,
|
|
5498
5503
|
{
|
|
5499
|
-
ref:
|
|
5500
|
-
...
|
|
5504
|
+
ref: v,
|
|
5505
|
+
...C,
|
|
5501
5506
|
data: n,
|
|
5502
5507
|
tree: y,
|
|
5503
5508
|
expandOnClick: !1,
|
|
@@ -5505,17 +5510,17 @@ const qa = _(function({
|
|
|
5505
5510
|
expandOnSpace: !1,
|
|
5506
5511
|
renderNode: Cu(l),
|
|
5507
5512
|
"data-disabled": l || void 0,
|
|
5508
|
-
classNames:
|
|
5509
|
-
{ root:
|
|
5510
|
-
|
|
5513
|
+
classNames: F(
|
|
5514
|
+
{ root: T, node: uo.node, subtree: uo.subtree },
|
|
5515
|
+
S.classNames
|
|
5511
5516
|
)
|
|
5512
5517
|
}
|
|
5513
5518
|
);
|
|
5514
5519
|
});
|
|
5515
5520
|
qa.displayName = "Tree";
|
|
5516
|
-
const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd,
|
|
5521
|
+
const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Fu = R(
|
|
5517
5522
|
Xo
|
|
5518
|
-
),
|
|
5523
|
+
), Bu = R(
|
|
5519
5524
|
dt
|
|
5520
5525
|
), Uu = R(
|
|
5521
5526
|
Zo
|
|
@@ -5598,12 +5603,12 @@ const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Bu
|
|
|
5598
5603
|
), Sp = R(
|
|
5599
5604
|
Ea
|
|
5600
5605
|
), xp = R(
|
|
5601
|
-
|
|
5606
|
+
Ba
|
|
5602
5607
|
), Op = R(
|
|
5603
5608
|
Tt
|
|
5604
|
-
), kp = R(
|
|
5605
|
-
Ua
|
|
5606
5609
|
), Ip = R(
|
|
5610
|
+
Ua
|
|
5611
|
+
), kp = R(
|
|
5607
5612
|
Va
|
|
5608
5613
|
), Rp = R(
|
|
5609
5614
|
$t
|
|
@@ -5613,9 +5618,9 @@ const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Bu
|
|
|
5613
5618
|
qa
|
|
5614
5619
|
);
|
|
5615
5620
|
export {
|
|
5616
|
-
|
|
5621
|
+
Fu as Accordion,
|
|
5617
5622
|
Uu as AccordionControl,
|
|
5618
|
-
|
|
5623
|
+
Bu as AccordionItem,
|
|
5619
5624
|
Vu as AccordionPanel,
|
|
5620
5625
|
Gu as AssistiveElement,
|
|
5621
5626
|
Hu as AutoComplete,
|
|
@@ -5651,7 +5656,7 @@ export {
|
|
|
5651
5656
|
pp as Panel,
|
|
5652
5657
|
mp as PanelFooter,
|
|
5653
5658
|
_p as Popover,
|
|
5654
|
-
|
|
5659
|
+
Iu as RECURSICA_COMPONENTS,
|
|
5655
5660
|
fp as Radio,
|
|
5656
5661
|
yp as RadioGroup,
|
|
5657
5662
|
hp as ReadOnlyField,
|
|
@@ -5670,22 +5675,22 @@ export {
|
|
|
5670
5675
|
Sp as TimePicker,
|
|
5671
5676
|
xp as Timeline,
|
|
5672
5677
|
Op as TimelineItem,
|
|
5673
|
-
|
|
5674
|
-
|
|
5678
|
+
Ip as Title,
|
|
5679
|
+
kp as Toast,
|
|
5675
5680
|
Rp as Tooltip,
|
|
5676
5681
|
Lp as TransferList,
|
|
5677
5682
|
Ap as Tree,
|
|
5678
|
-
|
|
5683
|
+
ku as copyToClipboard,
|
|
5679
5684
|
Zt as fileMatchesAccept,
|
|
5680
5685
|
Kt as injectOverStyledStyles,
|
|
5681
5686
|
xu as isGlobalOverStyledActive,
|
|
5682
|
-
|
|
5683
|
-
|
|
5687
|
+
F as mergeClassNames,
|
|
5688
|
+
kr as mergeStyles,
|
|
5684
5689
|
Qt as normalizeComboboxData,
|
|
5685
5690
|
G as omitUnsupportedProps,
|
|
5686
5691
|
Yt as registerOverStyledConsoleCommand,
|
|
5687
5692
|
Or as toggleGlobalOverStyled,
|
|
5688
|
-
|
|
5693
|
+
Ir as useGlobalOverStyled,
|
|
5689
5694
|
me as withCallerOverride,
|
|
5690
5695
|
R as wrapComponent
|
|
5691
5696
|
};
|