@recursica/mantine-adapter 0.53.0 → 0.55.0
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 +30 -0
- package/dist/index.d.ts +10 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +634 -617
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +5 -4
- package/src/components/Accordion/Accordion.module.css +17 -8
- package/src/components/AutoComplete/AutoComplete.module.css +9 -2
- package/src/components/Chip/Chip.module.css +18 -0
- package/src/components/DatePicker/DatePicker.module.css +9 -2
- package/src/components/Dropdown/Dropdown.module.css +9 -2
- package/src/components/FileInput/FileInput.module.css +12 -0
- package/src/components/FileUpload/FileUpload.module.css +6 -1
- package/src/components/FormControlLayout/FormControlLayout.module.css +12 -0
- package/src/components/FormControlLayout/FormControlLayout.stories.tsx +36 -0
- package/src/components/HoverCard/HoverCard.module.css +6 -1
- package/src/components/Label/Label.stories.tsx +63 -54
- package/src/components/Link/Link.module.css +5 -0
- package/src/components/Loader/Loader.animate.dom.test.tsx +82 -0
- package/src/components/Loader/Loader.module.css +10 -0
- package/src/components/Loader/Loader.stories.tsx +20 -0
- package/src/components/Loader/Loader.tsx +8 -1
- package/src/components/Modal/Modal.module.css +6 -2
- package/src/components/NumberInput/NumberInput.module.css +9 -2
- package/src/components/SegmentedControl/SegmentedControl.module.css +6 -0
- package/src/components/Table/TABLE_IMPLEMENTATION_NOTES.md +11 -0
- package/src/components/Table/Table.module.css +14 -0
- package/src/components/Table/Table.stories.tsx +1 -1
- package/src/components/Table/Table.tsx +9 -1
- package/src/components/Table/USAGE.md +4 -2
- package/src/components/TextArea/TextArea.module.css +9 -2
- package/src/components/TextField/TextField.module.css +9 -2
- package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +7 -1
- package/src/components/TimePicker/TimePicker.module.css +44 -0
- package/src/components/TimePicker/TimePicker.stories.tsx +22 -0
- package/src/components/TimePicker/TimePicker.tsx +1 -0
- package/src/components/Timeline/Timeline.module.css +5 -0
- package/src/components/Toast/Toast.module.css +8 -0
- package/src/components/Tooltip/Tooltip.module.css +9 -1
- package/src/components/TransferList/TransferList.module.css +9 -1
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as No, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import K, { forwardRef as _, useState as ce, useEffect as
|
|
3
|
-
import { Accordion as qo, Input as Ft, 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, Title as sr, HoverCard as st, Anchor as lr, Menu as We, Modal as he, NumberInput as ir, Pagination as
|
|
2
|
+
import K, { forwardRef as _, useState as ce, useEffect as Ie, useId as Bt, useRef as Ge, useCallback as _o, useMemo as kt } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Ft, 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, Title as sr, HoverCard as st, Anchor as lr, Menu as We, Modal as he, NumberInput as ir, Pagination as qe, Drawer as Ke, Popover as lt, Radio as Ht, SegmentedControl as cr, RangeSlider as dr, Slider as ur, Stack as pr, Stepper as it, Switch as jt, CheckIcon as mr, CloseIcon as _r, Table as Ye, Tabs as Yo, Text as fr, Textarea as yr, TimelineItem as hr, Timeline 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 = {
|
|
@@ -56,12 +56,12 @@ function Or(r) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return at.forEach((e) => e()), io;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Lu() {
|
|
60
60
|
return vo && io;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function kr() {
|
|
63
63
|
const [r, e] = ce(io);
|
|
64
|
-
return
|
|
64
|
+
return Ie(() => {
|
|
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
|
|
112
|
-
function
|
|
111
|
+
const It = "data-recursica-theme";
|
|
112
|
+
function Mu({
|
|
113
113
|
children: r,
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
116
116
|
}) {
|
|
117
|
-
return
|
|
117
|
+
return Ie(() => {
|
|
118
118
|
const o = document.documentElement;
|
|
119
|
-
return o.setAttribute(
|
|
120
|
-
o.removeAttribute(
|
|
119
|
+
return o.setAttribute(It, e), () => {
|
|
120
|
+
o.removeAttribute(It);
|
|
121
121
|
};
|
|
122
|
-
}, [e]),
|
|
122
|
+
}, [e]), Ie(() => {
|
|
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 Au = [
|
|
127
127
|
"Accordion",
|
|
128
128
|
"AssistiveElement",
|
|
129
129
|
"Autocomplete",
|
|
@@ -178,7 +178,7 @@ const Mu = [
|
|
|
178
178
|
"TransferList",
|
|
179
179
|
"Tree",
|
|
180
180
|
"Typography"
|
|
181
|
-
],
|
|
181
|
+
], Wu = (r, e) => {
|
|
182
182
|
const n = document.activeElement;
|
|
183
183
|
return new Promise((o, t) => {
|
|
184
184
|
if (e && e.current) {
|
|
@@ -205,7 +205,7 @@ function B(r, e) {
|
|
|
205
205
|
}
|
|
206
206
|
return n;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Ir(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 = kr(), i = K.createElement(
|
|
236
236
|
r,
|
|
237
237
|
{ ...o, ref: t }
|
|
238
238
|
);
|
|
@@ -384,13 +384,13 @@ const dt = _(function({
|
|
|
384
384
|
overStyled: l = !1,
|
|
385
385
|
...i
|
|
386
386
|
}, c) {
|
|
387
|
-
const d = u(i, l),
|
|
387
|
+
const d = u(i, l), p = d.className, m = [o ? void 0 : Le.noDivider, p].filter(Boolean).join(" ") || void 0;
|
|
388
388
|
return /* @__PURE__ */ a(
|
|
389
389
|
qo.Item,
|
|
390
390
|
{
|
|
391
391
|
ref: c,
|
|
392
392
|
...d,
|
|
393
|
-
className:
|
|
393
|
+
className: m,
|
|
394
394
|
"data-disabled": s || void 0,
|
|
395
395
|
children: e ? /* @__PURE__ */ A(No, { children: [
|
|
396
396
|
/* @__PURE__ */ a(Zo, { leftIcon: n, disabled: s, children: e }),
|
|
@@ -482,16 +482,16 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
482
482
|
overStyled: l = !1,
|
|
483
483
|
...i
|
|
484
484
|
}, c) {
|
|
485
|
-
const
|
|
485
|
+
const p = u(i, l), m = tt.root, C = t ? `${m} ${t}` : m, y = e === "error" ? Kr : qr;
|
|
486
486
|
return /* @__PURE__ */ A(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
489
489
|
ref: c,
|
|
490
|
-
...
|
|
490
|
+
...p,
|
|
491
491
|
className: C,
|
|
492
492
|
"data-variant": e,
|
|
493
493
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
494
|
-
style:
|
|
494
|
+
style: p.style,
|
|
495
495
|
children: [
|
|
496
496
|
n && /* @__PURE__ */ a("span", { className: tt.iconWrapper, children: /* @__PURE__ */ a(y, {}) }),
|
|
497
497
|
/* @__PURE__ */ a("span", { className: tt.textWrapper, children: o })
|
|
@@ -500,7 +500,7 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
500
500
|
);
|
|
501
501
|
});
|
|
502
502
|
Ho.displayName = "AssistiveElement";
|
|
503
|
-
const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR", Qr = "Label-module__required___Ggrzc", Xr = "Label-module__optionalText___Y2yun", Jr = "Label-module__actionAreaWrapper___ELoZK", es = "Label-module__editIconWrapper___NG2xW",
|
|
503
|
+
const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR", Qr = "Label-module__required___Ggrzc", Xr = "Label-module__optionalText___Y2yun", Jr = "Label-module__actionAreaWrapper___ELoZK", es = "Label-module__editIconWrapper___NG2xW", no = {
|
|
504
504
|
root: Yr,
|
|
505
505
|
labelText: Zr,
|
|
506
506
|
required: Qr,
|
|
@@ -517,8 +517,8 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
517
517
|
onLabelEditClick: i,
|
|
518
518
|
children: c,
|
|
519
519
|
overStyled: d = !1,
|
|
520
|
-
...
|
|
521
|
-
},
|
|
520
|
+
...p
|
|
521
|
+
}, m) {
|
|
522
522
|
const C = n || "left";
|
|
523
523
|
let y;
|
|
524
524
|
o || (t === !0 ? y = "optional" : t && (y = t));
|
|
@@ -526,19 +526,19 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
526
526
|
"size"
|
|
527
527
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
528
528
|
], v = G(
|
|
529
|
-
u(
|
|
529
|
+
u(p, d),
|
|
530
530
|
N
|
|
531
531
|
), S = v, b = B(
|
|
532
532
|
{
|
|
533
|
-
label:
|
|
534
|
-
required:
|
|
533
|
+
label: no.root,
|
|
534
|
+
required: no.required
|
|
535
535
|
},
|
|
536
536
|
S.classNames
|
|
537
|
-
), T = S.className, $ = T ? `${
|
|
537
|
+
), T = S.className, $ = T ? `${no.root} ${T}` : no.root;
|
|
538
538
|
return /* @__PURE__ */ A(
|
|
539
539
|
Ft.Label,
|
|
540
540
|
{
|
|
541
|
-
ref:
|
|
541
|
+
ref: m,
|
|
542
542
|
...v,
|
|
543
543
|
className: $,
|
|
544
544
|
classNames: b,
|
|
@@ -546,13 +546,13 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
546
546
|
"data-alignment": C,
|
|
547
547
|
required: o && !s,
|
|
548
548
|
children: [
|
|
549
|
-
/* @__PURE__ */ a("span", { className:
|
|
550
|
-
y && /* @__PURE__ */ a("span", { className:
|
|
551
|
-
l ? /* @__PURE__ */ a("span", { className:
|
|
549
|
+
/* @__PURE__ */ a("span", { className: no.labelText, children: c }),
|
|
550
|
+
y && /* @__PURE__ */ a("span", { className: no.optionalText, children: typeof y == "string" ? `(${y})` : y }),
|
|
551
|
+
l ? /* @__PURE__ */ a("span", { className: no.actionAreaWrapper, children: l }) : s ? /* @__PURE__ */ a(
|
|
552
552
|
"button",
|
|
553
553
|
{
|
|
554
554
|
type: "button",
|
|
555
|
-
className:
|
|
555
|
+
className: no.editIconWrapper,
|
|
556
556
|
"data-replaces-asterisk": o ? "true" : void 0,
|
|
557
557
|
onClick: i,
|
|
558
558
|
"aria-label": "Edit",
|
|
@@ -586,7 +586,7 @@ const os = "FormControlLayout-module__root___yNDhZ", ts = "FormControlLayout-mod
|
|
|
586
586
|
root: os,
|
|
587
587
|
leftSection: ts,
|
|
588
588
|
rightSection: ns
|
|
589
|
-
},
|
|
589
|
+
}, He = _(function({
|
|
590
590
|
formLayout: e = "stacked",
|
|
591
591
|
labelSize: n = "default",
|
|
592
592
|
controlMaxWidth: o,
|
|
@@ -596,13 +596,13 @@ const os = "FormControlLayout-module__root___yNDhZ", ts = "FormControlLayout-mod
|
|
|
596
596
|
className: i,
|
|
597
597
|
style: c,
|
|
598
598
|
...d
|
|
599
|
-
},
|
|
600
|
-
const
|
|
599
|
+
}, p) {
|
|
600
|
+
const m = i ? `${Do.root} ${i}` : Do.root, y = s != null || e === "side-by-side";
|
|
601
601
|
return /* @__PURE__ */ A(
|
|
602
602
|
"div",
|
|
603
603
|
{
|
|
604
|
-
ref:
|
|
605
|
-
className:
|
|
604
|
+
ref: p,
|
|
605
|
+
className: m,
|
|
606
606
|
"data-form-layout": e,
|
|
607
607
|
style: {
|
|
608
608
|
...c,
|
|
@@ -617,7 +617,7 @@ const os = "FormControlLayout-module__root___yNDhZ", ts = "FormControlLayout-mod
|
|
|
617
617
|
}
|
|
618
618
|
);
|
|
619
619
|
});
|
|
620
|
-
|
|
620
|
+
He.displayName = "FormControlLayout";
|
|
621
621
|
const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-module__inputSection___HenXk", Lt = {
|
|
622
622
|
root: as,
|
|
623
623
|
inputSection: rs
|
|
@@ -631,8 +631,8 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
631
631
|
onLabelEditClick: i,
|
|
632
632
|
label: c,
|
|
633
633
|
description: d,
|
|
634
|
-
assistiveText:
|
|
635
|
-
assistiveWithIcon:
|
|
634
|
+
assistiveText: p,
|
|
635
|
+
assistiveWithIcon: m = !0,
|
|
636
636
|
controlMaxWidth: C,
|
|
637
637
|
controlMinWidth: y,
|
|
638
638
|
error: N,
|
|
@@ -646,7 +646,7 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
646
646
|
// Extracted safely preventing bleeding into HTML domains
|
|
647
647
|
...f
|
|
648
648
|
}, w) {
|
|
649
|
-
const h = Bt(), O = b || `recursica-fc-${h}`, M = `${O}-label`, E =
|
|
649
|
+
const h = Bt(), O = b || `recursica-fc-${h}`, M = `${O}-label`, E = p || 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
650
|
T,
|
|
651
651
|
{
|
|
652
652
|
...T.props.id ? {} : { id: O },
|
|
@@ -670,7 +670,7 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
670
670
|
}
|
|
671
671
|
) : void 0;
|
|
672
672
|
return /* @__PURE__ */ a(
|
|
673
|
-
|
|
673
|
+
He,
|
|
674
674
|
{
|
|
675
675
|
ref: w,
|
|
676
676
|
className: H,
|
|
@@ -687,7 +687,7 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
687
687
|
{
|
|
688
688
|
id: L,
|
|
689
689
|
assistiveVariant: "error",
|
|
690
|
-
assistiveWithIcon:
|
|
690
|
+
assistiveWithIcon: m,
|
|
691
691
|
children: N
|
|
692
692
|
}
|
|
693
693
|
),
|
|
@@ -696,7 +696,7 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
696
696
|
{
|
|
697
697
|
id: W,
|
|
698
698
|
assistiveVariant: "help",
|
|
699
|
-
assistiveWithIcon:
|
|
699
|
+
assistiveWithIcon: m,
|
|
700
700
|
children: E
|
|
701
701
|
}
|
|
702
702
|
)
|
|
@@ -736,7 +736,7 @@ const pt = _(
|
|
|
736
736
|
...i
|
|
737
737
|
}, c) {
|
|
738
738
|
let d = null;
|
|
739
|
-
const
|
|
739
|
+
const p = u(i, t), m = o || Vo, y = (m.check ? m.check(e) : Vo.check(e)) ? /* @__PURE__ */ a(m, { value: e }) : e;
|
|
740
740
|
switch (n) {
|
|
741
741
|
case "boolean":
|
|
742
742
|
d = /* @__PURE__ */ a(
|
|
@@ -772,7 +772,7 @@ const pt = _(
|
|
|
772
772
|
go,
|
|
773
773
|
{
|
|
774
774
|
ref: c,
|
|
775
|
-
...
|
|
775
|
+
...p,
|
|
776
776
|
overStyled: t,
|
|
777
777
|
className: N,
|
|
778
778
|
style: l,
|
|
@@ -792,13 +792,13 @@ const ve = _(function({
|
|
|
792
792
|
activeComponent: i,
|
|
793
793
|
overStyled: c,
|
|
794
794
|
onLabelEditClick: d,
|
|
795
|
-
...
|
|
796
|
-
},
|
|
795
|
+
...p
|
|
796
|
+
}, m) {
|
|
797
797
|
return e ? n ? /* @__PURE__ */ a(
|
|
798
798
|
go,
|
|
799
799
|
{
|
|
800
|
-
ref:
|
|
801
|
-
...
|
|
800
|
+
ref: m,
|
|
801
|
+
...p,
|
|
802
802
|
onLabelEditClick: d,
|
|
803
803
|
overStyled: c,
|
|
804
804
|
children: /* @__PURE__ */ a(n, { ...s })
|
|
@@ -806,8 +806,8 @@ const ve = _(function({
|
|
|
806
806
|
) : /* @__PURE__ */ a(
|
|
807
807
|
pt,
|
|
808
808
|
{
|
|
809
|
-
ref:
|
|
810
|
-
...
|
|
809
|
+
ref: m,
|
|
810
|
+
...p,
|
|
811
811
|
type: o,
|
|
812
812
|
value: t,
|
|
813
813
|
emptyValueComponent: l,
|
|
@@ -817,8 +817,8 @@ const ve = _(function({
|
|
|
817
817
|
) : /* @__PURE__ */ a(
|
|
818
818
|
go,
|
|
819
819
|
{
|
|
820
|
-
ref:
|
|
821
|
-
...
|
|
820
|
+
ref: m,
|
|
821
|
+
...p,
|
|
822
822
|
onLabelEditClick: d,
|
|
823
823
|
overStyled: c,
|
|
824
824
|
children: i
|
|
@@ -869,8 +869,8 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
869
869
|
labelOptionalText: i,
|
|
870
870
|
labelWithEditIcon: c,
|
|
871
871
|
onLabelEditClick: d,
|
|
872
|
-
label:
|
|
873
|
-
assistiveText:
|
|
872
|
+
label: p,
|
|
873
|
+
assistiveText: m,
|
|
874
874
|
assistiveWithIcon: C,
|
|
875
875
|
error: y,
|
|
876
876
|
required: N,
|
|
@@ -922,8 +922,8 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
922
922
|
labelOptionalText: i,
|
|
923
923
|
labelWithEditIcon: c,
|
|
924
924
|
onLabelEditClick: d,
|
|
925
|
-
label:
|
|
926
|
-
assistiveText:
|
|
925
|
+
label: p,
|
|
926
|
+
assistiveText: m,
|
|
927
927
|
assistiveWithIcon: C,
|
|
928
928
|
error: y,
|
|
929
929
|
required: N,
|
|
@@ -976,18 +976,18 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
|
|
|
976
976
|
solid: "filled",
|
|
977
977
|
outline: "outline",
|
|
978
978
|
ghost: "transparent"
|
|
979
|
-
},
|
|
979
|
+
}, p = {
|
|
980
980
|
default: "md",
|
|
981
981
|
small: "sm",
|
|
982
982
|
large: "lg"
|
|
983
|
-
},
|
|
983
|
+
}, m = [
|
|
984
984
|
"color",
|
|
985
985
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
986
986
|
"radius"
|
|
987
987
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
988
988
|
], C = G(
|
|
989
989
|
u(i, l),
|
|
990
|
-
|
|
990
|
+
m
|
|
991
991
|
), y = C;
|
|
992
992
|
let N = "text";
|
|
993
993
|
s ? N = "image" : o && (N = "icon");
|
|
@@ -1007,7 +1007,7 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
|
|
|
1007
1007
|
className: S,
|
|
1008
1008
|
classNames: v,
|
|
1009
1009
|
variant: d[n],
|
|
1010
|
-
size:
|
|
1010
|
+
size: p[e],
|
|
1011
1011
|
src: s,
|
|
1012
1012
|
"data-variant": n,
|
|
1013
1013
|
"data-size": e,
|
|
@@ -1061,13 +1061,13 @@ const an = Te(nn), Ss = "Breadcrumb-module__root___x-9ln", xs = "Breadcrumb-modu
|
|
|
1061
1061
|
"aria-hidden": !0,
|
|
1062
1062
|
...i == null ? void 0 : i.separator
|
|
1063
1063
|
}
|
|
1064
|
-
}, d = s.className,
|
|
1064
|
+
}, d = s.className, p = d ? `${Eo.root} ${d}` : Eo.root;
|
|
1065
1065
|
return /* @__PURE__ */ a(
|
|
1066
1066
|
Ja,
|
|
1067
1067
|
{
|
|
1068
1068
|
ref: t,
|
|
1069
1069
|
...s,
|
|
1070
|
-
className:
|
|
1070
|
+
className: p,
|
|
1071
1071
|
classNames: l,
|
|
1072
1072
|
attributes: c
|
|
1073
1073
|
}
|
|
@@ -1077,35 +1077,42 @@ const an = Te(nn), Ss = "Breadcrumb-module__root___x-9ln", xs = "Breadcrumb-modu
|
|
|
1077
1077
|
rn.displayName = "Breadcrumb";
|
|
1078
1078
|
const Os = "Loader-module__root___6iYOP", nt = {
|
|
1079
1079
|
root: Os
|
|
1080
|
-
}, mt = _(function({
|
|
1081
|
-
|
|
1080
|
+
}, mt = _(function({
|
|
1081
|
+
variant: e = "oval",
|
|
1082
|
+
size: n = "default",
|
|
1083
|
+
animate: o = !0,
|
|
1084
|
+
overStyled: t = !1,
|
|
1085
|
+
...s
|
|
1086
|
+
}, l) {
|
|
1087
|
+
const c = {
|
|
1082
1088
|
sm: "small",
|
|
1083
1089
|
md: "default",
|
|
1084
1090
|
lg: "large",
|
|
1085
1091
|
small: "small",
|
|
1086
1092
|
default: "default",
|
|
1087
1093
|
large: "large"
|
|
1088
|
-
}[n] || "default",
|
|
1094
|
+
}[n] || "default", d = u(s, t), p = d, m = B(
|
|
1089
1095
|
{ root: nt.root },
|
|
1090
|
-
|
|
1091
|
-
),
|
|
1096
|
+
p.classNames
|
|
1097
|
+
), C = p.className, y = C ? `${nt.root} ${C}` : nt.root;
|
|
1092
1098
|
return /* @__PURE__ */ a(
|
|
1093
1099
|
er,
|
|
1094
1100
|
{
|
|
1095
|
-
ref:
|
|
1096
|
-
...
|
|
1101
|
+
ref: l,
|
|
1102
|
+
...d,
|
|
1097
1103
|
type: e,
|
|
1098
1104
|
"data-variant": e,
|
|
1099
|
-
"data-size":
|
|
1100
|
-
|
|
1105
|
+
"data-size": c,
|
|
1106
|
+
"data-animate": o,
|
|
1107
|
+
className: y,
|
|
1101
1108
|
classNames: m
|
|
1102
1109
|
}
|
|
1103
1110
|
);
|
|
1104
1111
|
});
|
|
1105
1112
|
mt.displayName = "Loader";
|
|
1106
|
-
const
|
|
1107
|
-
root:
|
|
1108
|
-
loader:
|
|
1113
|
+
const ks = "Button-module__root___Q2R8-", Is = "Button-module__loader___X-9u-", Rs = "Button-module__label___UJ3Zt", Ls = "Button-module__labelText___rFV5p", Ms = "Button-module__iconWrapper___uEKPa", As = "Button-module__section___f2mKr", ao = {
|
|
1114
|
+
root: ks,
|
|
1115
|
+
loader: Is,
|
|
1109
1116
|
label: Rs,
|
|
1110
1117
|
labelText: Ls,
|
|
1111
1118
|
iconWrapper: Ms,
|
|
@@ -1124,8 +1131,8 @@ const sn = _(function({
|
|
|
1124
1131
|
loaderSize: i,
|
|
1125
1132
|
useRecursicaLoader: c = !0,
|
|
1126
1133
|
...d
|
|
1127
|
-
},
|
|
1128
|
-
const
|
|
1134
|
+
}, p) {
|
|
1135
|
+
const m = {
|
|
1129
1136
|
solid: "filled",
|
|
1130
1137
|
outline: "outline",
|
|
1131
1138
|
text: "subtle"
|
|
@@ -1145,13 +1152,13 @@ const sn = _(function({
|
|
|
1145
1152
|
);
|
|
1146
1153
|
const P = B(
|
|
1147
1154
|
{
|
|
1148
|
-
root:
|
|
1149
|
-
section:
|
|
1150
|
-
label:
|
|
1151
|
-
loader:
|
|
1155
|
+
root: ao.root,
|
|
1156
|
+
section: ao.section,
|
|
1157
|
+
label: ao.label,
|
|
1158
|
+
loader: ao.loader
|
|
1152
1159
|
},
|
|
1153
1160
|
v.classNames
|
|
1154
|
-
), f = v.className, w = f ? `${
|
|
1161
|
+
), f = v.className, w = f ? `${ao.root} ${f}` : ao.root, h = v.loaderProps, O = me(
|
|
1155
1162
|
n === "small" ? "small" : "default",
|
|
1156
1163
|
i
|
|
1157
1164
|
);
|
|
@@ -1162,26 +1169,26 @@ const sn = _(function({
|
|
|
1162
1169
|
}), /* @__PURE__ */ a(
|
|
1163
1170
|
or,
|
|
1164
1171
|
{
|
|
1165
|
-
ref:
|
|
1172
|
+
ref: p,
|
|
1166
1173
|
...N,
|
|
1167
1174
|
className: w,
|
|
1168
1175
|
classNames: P,
|
|
1169
|
-
variant:
|
|
1176
|
+
variant: m[e],
|
|
1170
1177
|
size: C[n],
|
|
1171
1178
|
loaderProps: M,
|
|
1172
|
-
leftSection: o != null ? /* @__PURE__ */ a("span", { className:
|
|
1179
|
+
leftSection: o != null ? /* @__PURE__ */ a("span", { className: ao.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1173
1180
|
"data-variant": e,
|
|
1174
1181
|
"data-size": n,
|
|
1175
1182
|
"data-content": g,
|
|
1176
1183
|
disabled: !!v.disabled || !!v.loading,
|
|
1177
|
-
children: /* @__PURE__ */ a("span", { className:
|
|
1184
|
+
children: /* @__PURE__ */ a("span", { className: ao.labelText, children: t })
|
|
1178
1185
|
}
|
|
1179
1186
|
);
|
|
1180
1187
|
});
|
|
1181
1188
|
sn.displayName = "Button";
|
|
1182
1189
|
const co = Te(
|
|
1183
1190
|
sn
|
|
1184
|
-
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC", Bs = "Card-module__section___BRT8H", Fs = "Card-module__content___oFIQa",
|
|
1191
|
+
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC", Bs = "Card-module__section___BRT8H", Fs = "Card-module__content___oFIQa", je = {
|
|
1185
1192
|
root: zs,
|
|
1186
1193
|
header: Ds,
|
|
1187
1194
|
footer: Es,
|
|
@@ -1212,7 +1219,7 @@ const co = Te(
|
|
|
1212
1219
|
});
|
|
1213
1220
|
const l = B(
|
|
1214
1221
|
{
|
|
1215
|
-
root:
|
|
1222
|
+
root: je.root
|
|
1216
1223
|
},
|
|
1217
1224
|
t.classNames
|
|
1218
1225
|
), i = t.className;
|
|
@@ -1235,7 +1242,7 @@ const cn = _(
|
|
|
1235
1242
|
{
|
|
1236
1243
|
ref: o,
|
|
1237
1244
|
...t,
|
|
1238
|
-
className: s ? `${
|
|
1245
|
+
className: s ? `${je.section} ${s}` : je.section
|
|
1239
1246
|
}
|
|
1240
1247
|
);
|
|
1241
1248
|
}
|
|
@@ -1257,7 +1264,7 @@ const dn = [
|
|
|
1257
1264
|
{
|
|
1258
1265
|
ref: o,
|
|
1259
1266
|
...t,
|
|
1260
|
-
className: s ? `${
|
|
1267
|
+
className: s ? `${je.header} ${s}` : je.header
|
|
1261
1268
|
}
|
|
1262
1269
|
);
|
|
1263
1270
|
}
|
|
@@ -1274,7 +1281,7 @@ const pn = _(
|
|
|
1274
1281
|
{
|
|
1275
1282
|
ref: o,
|
|
1276
1283
|
...t,
|
|
1277
|
-
className: s ? `${
|
|
1284
|
+
className: s ? `${je.footer} ${s}` : je.footer
|
|
1278
1285
|
}
|
|
1279
1286
|
);
|
|
1280
1287
|
}
|
|
@@ -1288,7 +1295,7 @@ const mn = _(
|
|
|
1288
1295
|
{
|
|
1289
1296
|
ref: o,
|
|
1290
1297
|
...t,
|
|
1291
|
-
className: s ? `${
|
|
1298
|
+
className: s ? `${je.content} ${s}` : je.content
|
|
1292
1299
|
}
|
|
1293
1300
|
);
|
|
1294
1301
|
}
|
|
@@ -1299,7 +1306,7 @@ Jo.Section = cn;
|
|
|
1299
1306
|
Jo.Header = un;
|
|
1300
1307
|
Jo.Footer = pn;
|
|
1301
1308
|
Jo.Content = mn;
|
|
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",
|
|
1309
|
+
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", ke = {
|
|
1303
1310
|
groupRoot: Gs,
|
|
1304
1311
|
root: Hs,
|
|
1305
1312
|
body: js,
|
|
@@ -1320,8 +1327,8 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1320
1327
|
labelWithEditIcon: c,
|
|
1321
1328
|
onLabelEditClick: d,
|
|
1322
1329
|
// Base Mantine Extracted Attributes
|
|
1323
|
-
label:
|
|
1324
|
-
description:
|
|
1330
|
+
label: p,
|
|
1331
|
+
description: m,
|
|
1325
1332
|
assistiveText: C,
|
|
1326
1333
|
assistiveWithIcon: y,
|
|
1327
1334
|
error: N,
|
|
@@ -1359,8 +1366,8 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1359
1366
|
labelOptionalText: i,
|
|
1360
1367
|
labelWithEditIcon: c,
|
|
1361
1368
|
onLabelEditClick: d,
|
|
1362
|
-
label:
|
|
1363
|
-
description:
|
|
1369
|
+
label: p,
|
|
1370
|
+
description: m,
|
|
1364
1371
|
assistiveText: C,
|
|
1365
1372
|
assistiveWithIcon: y,
|
|
1366
1373
|
error: N,
|
|
@@ -1381,7 +1388,7 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1381
1388
|
disabled: P || L.disabled,
|
|
1382
1389
|
value: h,
|
|
1383
1390
|
defaultValue: O,
|
|
1384
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1391
|
+
children: /* @__PURE__ */ a("div", { className: ke.groupRoot, "data-layout": t, children: g })
|
|
1385
1392
|
}
|
|
1386
1393
|
) : /* @__PURE__ */ a(
|
|
1387
1394
|
"div",
|
|
@@ -1389,7 +1396,7 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1389
1396
|
ref: n,
|
|
1390
1397
|
...W,
|
|
1391
1398
|
role: "group",
|
|
1392
|
-
className:
|
|
1399
|
+
className: ke.groupRoot,
|
|
1393
1400
|
"data-layout": t,
|
|
1394
1401
|
children: g
|
|
1395
1402
|
}
|
|
@@ -1409,8 +1416,8 @@ const Lo = _(
|
|
|
1409
1416
|
formLayout: i,
|
|
1410
1417
|
labelSize: c,
|
|
1411
1418
|
controlMaxWidth: d,
|
|
1412
|
-
controlMinWidth:
|
|
1413
|
-
...
|
|
1419
|
+
controlMinWidth: p,
|
|
1420
|
+
...m
|
|
1414
1421
|
} = e, C = [
|
|
1415
1422
|
"size",
|
|
1416
1423
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
@@ -1423,20 +1430,20 @@ const Lo = _(
|
|
|
1423
1430
|
"iconColor"
|
|
1424
1431
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1425
1432
|
], y = G(
|
|
1426
|
-
u(
|
|
1433
|
+
u(m, o),
|
|
1427
1434
|
C
|
|
1428
1435
|
), N = y, v = B(
|
|
1429
1436
|
{
|
|
1430
|
-
root:
|
|
1431
|
-
body:
|
|
1432
|
-
inner:
|
|
1433
|
-
input:
|
|
1434
|
-
icon:
|
|
1435
|
-
labelWrapper:
|
|
1436
|
-
label:
|
|
1437
|
+
root: ke.root,
|
|
1438
|
+
body: ke.body,
|
|
1439
|
+
inner: ke.inner,
|
|
1440
|
+
input: ke.input,
|
|
1441
|
+
icon: ke.icon,
|
|
1442
|
+
labelWrapper: ke.labelWrapper,
|
|
1443
|
+
label: ke.label
|
|
1437
1444
|
},
|
|
1438
1445
|
N.classNames
|
|
1439
|
-
), S = N.className, b = S ? `${
|
|
1446
|
+
), S = N.className, b = S ? `${ke.root} ${S}` : ke.root;
|
|
1440
1447
|
if (t && s) {
|
|
1441
1448
|
const $ = !!(N.checked ?? N.defaultChecked), P = /* @__PURE__ */ a(
|
|
1442
1449
|
s,
|
|
@@ -1447,12 +1454,12 @@ const Lo = _(
|
|
|
1447
1454
|
}
|
|
1448
1455
|
);
|
|
1449
1456
|
return i ? /* @__PURE__ */ a(
|
|
1450
|
-
|
|
1457
|
+
He,
|
|
1451
1458
|
{
|
|
1452
1459
|
formLayout: i,
|
|
1453
1460
|
labelSize: c,
|
|
1454
1461
|
controlMaxWidth: d,
|
|
1455
|
-
controlMinWidth:
|
|
1462
|
+
controlMinWidth: p,
|
|
1456
1463
|
children: P
|
|
1457
1464
|
}
|
|
1458
1465
|
) : /* @__PURE__ */ a(No, { children: P });
|
|
@@ -1468,12 +1475,12 @@ const Lo = _(
|
|
|
1468
1475
|
}
|
|
1469
1476
|
);
|
|
1470
1477
|
return i ? /* @__PURE__ */ a(
|
|
1471
|
-
|
|
1478
|
+
He,
|
|
1472
1479
|
{
|
|
1473
1480
|
formLayout: i,
|
|
1474
1481
|
labelSize: c,
|
|
1475
1482
|
controlMaxWidth: d,
|
|
1476
|
-
controlMinWidth:
|
|
1483
|
+
controlMinWidth: p,
|
|
1477
1484
|
children: T
|
|
1478
1485
|
}
|
|
1479
1486
|
) : T;
|
|
@@ -1521,8 +1528,8 @@ const Mo = _(function({
|
|
|
1521
1528
|
children: i,
|
|
1522
1529
|
checked: c,
|
|
1523
1530
|
overStyled: d = !1,
|
|
1524
|
-
wrapperProps:
|
|
1525
|
-
tabIndex:
|
|
1531
|
+
wrapperProps: p,
|
|
1532
|
+
tabIndex: m,
|
|
1526
1533
|
"aria-hidden": C,
|
|
1527
1534
|
...y
|
|
1528
1535
|
}, N) {
|
|
@@ -1547,11 +1554,11 @@ const Mo = _(function({
|
|
|
1547
1554
|
checked: c,
|
|
1548
1555
|
className: $,
|
|
1549
1556
|
classNames: b,
|
|
1550
|
-
wrapperProps: me(w,
|
|
1557
|
+
wrapperProps: me(w, p),
|
|
1551
1558
|
"data-icon-only": P ? "" : void 0,
|
|
1552
1559
|
tabIndex: me(
|
|
1553
1560
|
f ? void 0 : -1,
|
|
1554
|
-
|
|
1561
|
+
m
|
|
1555
1562
|
),
|
|
1556
1563
|
"aria-hidden": me(
|
|
1557
1564
|
f ? void 0 : !0,
|
|
@@ -1599,16 +1606,16 @@ const sl = "Container-module__root___UVssr", wo = {
|
|
|
1599
1606
|
root: wo.root
|
|
1600
1607
|
}, c = o.classNames;
|
|
1601
1608
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1602
|
-
const
|
|
1603
|
-
i.root =
|
|
1609
|
+
const m = c;
|
|
1610
|
+
i.root = m.root ? `${wo.root} ${m.root}` : wo.root;
|
|
1604
1611
|
}
|
|
1605
|
-
const d = o.className,
|
|
1612
|
+
const d = o.className, p = d ? `${wo.root} ${d}` : wo.root;
|
|
1606
1613
|
return /* @__PURE__ */ a(
|
|
1607
1614
|
nr,
|
|
1608
1615
|
{
|
|
1609
1616
|
ref: t,
|
|
1610
1617
|
size: l,
|
|
1611
|
-
className:
|
|
1618
|
+
className: p,
|
|
1612
1619
|
classNames: i,
|
|
1613
1620
|
...o,
|
|
1614
1621
|
children: e
|
|
@@ -1670,8 +1677,8 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1670
1677
|
labelOptionalText: i,
|
|
1671
1678
|
labelWithEditIcon: c,
|
|
1672
1679
|
onLabelEditClick: d,
|
|
1673
|
-
label:
|
|
1674
|
-
assistiveText:
|
|
1680
|
+
label: p,
|
|
1681
|
+
assistiveText: m,
|
|
1675
1682
|
assistiveWithIcon: C,
|
|
1676
1683
|
error: y,
|
|
1677
1684
|
required: N,
|
|
@@ -1734,8 +1741,8 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1734
1741
|
labelOptionalText: i,
|
|
1735
1742
|
labelWithEditIcon: c,
|
|
1736
1743
|
onLabelEditClick: d,
|
|
1737
|
-
label:
|
|
1738
|
-
assistiveText:
|
|
1744
|
+
label: p,
|
|
1745
|
+
assistiveText: m,
|
|
1739
1746
|
assistiveWithIcon: C,
|
|
1740
1747
|
error: y,
|
|
1741
1748
|
required: N,
|
|
@@ -1782,7 +1789,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1782
1789
|
}
|
|
1783
1790
|
);
|
|
1784
1791
|
yn.displayName = "DatePicker";
|
|
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",
|
|
1792
|
+
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", kl = "Dropdown-module__optionTextWrap___L4OPI", Il = "Dropdown-module__optionSupportingText___2JIOV", te = {
|
|
1786
1793
|
layoutOverride: bl,
|
|
1787
1794
|
root: Cl,
|
|
1788
1795
|
input: Pl,
|
|
@@ -1793,8 +1800,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1793
1800
|
optionContent: Sl,
|
|
1794
1801
|
optionIcon: xl,
|
|
1795
1802
|
optionText: Ol,
|
|
1796
|
-
optionTextWrap:
|
|
1797
|
-
optionSupportingText:
|
|
1803
|
+
optionTextWrap: kl,
|
|
1804
|
+
optionSupportingText: Il
|
|
1798
1805
|
}, Rl = [
|
|
1799
1806
|
"size",
|
|
1800
1807
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
@@ -1813,8 +1820,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1813
1820
|
labelAlignment: i,
|
|
1814
1821
|
labelOptionalText: c,
|
|
1815
1822
|
labelWithEditIcon: d,
|
|
1816
|
-
onLabelEditClick:
|
|
1817
|
-
label:
|
|
1823
|
+
onLabelEditClick: p,
|
|
1824
|
+
label: m,
|
|
1818
1825
|
assistiveText: C,
|
|
1819
1826
|
assistiveWithIcon: y,
|
|
1820
1827
|
error: N,
|
|
@@ -1873,8 +1880,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1873
1880
|
labelAlignment: i,
|
|
1874
1881
|
labelOptionalText: c,
|
|
1875
1882
|
labelWithEditIcon: d,
|
|
1876
|
-
onLabelEditClick:
|
|
1877
|
-
label:
|
|
1883
|
+
onLabelEditClick: p,
|
|
1884
|
+
label: m,
|
|
1878
1885
|
assistiveText: C,
|
|
1879
1886
|
assistiveWithIcon: y,
|
|
1880
1887
|
error: N,
|
|
@@ -1980,8 +1987,8 @@ const vn = _(
|
|
|
1980
1987
|
labelOptionalText: i,
|
|
1981
1988
|
labelWithEditIcon: c,
|
|
1982
1989
|
labelActionArea: d,
|
|
1983
|
-
onLabelEditClick:
|
|
1984
|
-
label:
|
|
1990
|
+
onLabelEditClick: p,
|
|
1991
|
+
label: m,
|
|
1985
1992
|
assistiveText: C,
|
|
1986
1993
|
assistiveWithIcon: y,
|
|
1987
1994
|
error: N,
|
|
@@ -2009,8 +2016,8 @@ const vn = _(
|
|
|
2009
2016
|
removeFileLabel: ee = "Remove",
|
|
2010
2017
|
clearLabel: ue = "Clear",
|
|
2011
2018
|
...D
|
|
2012
|
-
} = e, pe = u(D, o),
|
|
2013
|
-
if (!
|
|
2019
|
+
} = e, pe = u(D, o), k = !g && !P, le = !!f && f.length > 0, Ne = Ge(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Xe = (x) => {
|
|
2020
|
+
if (!k) return;
|
|
2014
2021
|
const ne = Array.from(x);
|
|
2015
2022
|
if (ne.length === 0) return;
|
|
2016
2023
|
const ae = M ? W : 1, J = M ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
|
|
@@ -2022,30 +2029,30 @@ const vn = _(
|
|
|
2022
2029
|
Ot && (St = !0), (xt || Ka || Ot ? zo : fe).push(ot);
|
|
2023
2030
|
}
|
|
2024
2031
|
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (L == null || L(zo));
|
|
2025
|
-
}, we =
|
|
2032
|
+
}, we = Ge(0), [Je, Ee] = ce(!1), Be = (x) => {
|
|
2026
2033
|
x.preventDefault(), we.current += 1, Ee(!0);
|
|
2027
2034
|
}, po = (x) => {
|
|
2028
2035
|
x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
|
|
2029
2036
|
}, Se = (x) => {
|
|
2030
2037
|
x.preventDefault();
|
|
2031
|
-
},
|
|
2032
|
-
x.preventDefault(), we.current = 0, Ee(!1),
|
|
2038
|
+
}, eo = (x) => {
|
|
2039
|
+
x.preventDefault(), we.current = 0, Ee(!1), Xe(x.dataTransfer.files);
|
|
2033
2040
|
}, xe = () => {
|
|
2034
2041
|
var x;
|
|
2035
|
-
|
|
2036
|
-
},
|
|
2042
|
+
k && ((x = Ne.current) == null || x.click());
|
|
2043
|
+
}, oo = (x) => {
|
|
2037
2044
|
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2038
2045
|
}, V = (x) => {
|
|
2039
|
-
x.target.files &&
|
|
2046
|
+
x.target.files && Xe(x.target.files), x.target.value = "";
|
|
2040
2047
|
}, F = () => {
|
|
2041
|
-
!
|
|
2042
|
-
}, [z,
|
|
2043
|
-
|
|
2048
|
+
!k || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2049
|
+
}, [z, I] = ce(0), U = Ge([]), Q = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
2050
|
+
Ie(() => {
|
|
2044
2051
|
var ne;
|
|
2045
2052
|
const x = (f == null ? void 0 : f.length) ?? 0;
|
|
2046
2053
|
if (x > 0 && x < Q.current) {
|
|
2047
2054
|
const ae = Math.min(z, x - 1);
|
|
2048
|
-
|
|
2055
|
+
I(ae), (ne = U.current[ae]) == null || ne.focus();
|
|
2049
2056
|
}
|
|
2050
2057
|
Q.current = x;
|
|
2051
2058
|
}, [f]);
|
|
@@ -2054,8 +2061,8 @@ const vn = _(
|
|
|
2054
2061
|
const ne = (f == null ? void 0 : f.length) ?? 0;
|
|
2055
2062
|
if (ne === 0) return;
|
|
2056
2063
|
let ae;
|
|
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(),
|
|
2058
|
-
},
|
|
2064
|
+
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(), I(ae), (J = U.current[ae]) == null || J.focus());
|
|
2065
|
+
}, to = N ?? (se ? Z : be ? j : void 0), mo = T ? `${Fe.layoutOverride} ${T}` : Fe.layoutOverride;
|
|
2059
2066
|
return /* @__PURE__ */ a(
|
|
2060
2067
|
go,
|
|
2061
2068
|
{
|
|
@@ -2068,11 +2075,11 @@ const vn = _(
|
|
|
2068
2075
|
labelOptionalText: i,
|
|
2069
2076
|
labelWithEditIcon: c,
|
|
2070
2077
|
labelActionArea: d,
|
|
2071
|
-
onLabelEditClick:
|
|
2072
|
-
label:
|
|
2078
|
+
onLabelEditClick: p,
|
|
2079
|
+
label: m,
|
|
2073
2080
|
assistiveText: C,
|
|
2074
2081
|
assistiveWithIcon: y,
|
|
2075
|
-
error:
|
|
2082
|
+
error: to,
|
|
2076
2083
|
required: v,
|
|
2077
2084
|
withAsterisk: S,
|
|
2078
2085
|
id: b,
|
|
@@ -2087,17 +2094,17 @@ const vn = _(
|
|
|
2087
2094
|
role: "button",
|
|
2088
2095
|
"aria-label": Y,
|
|
2089
2096
|
"aria-disabled": g ? "true" : void 0,
|
|
2090
|
-
tabIndex:
|
|
2097
|
+
tabIndex: k ? 0 : -1,
|
|
2091
2098
|
"data-disabled": g ? "true" : void 0,
|
|
2092
2099
|
"data-readonly": P ? "true" : void 0,
|
|
2093
|
-
"data-error":
|
|
2094
|
-
"data-dragging":
|
|
2095
|
-
onClick:
|
|
2096
|
-
onKeyDown:
|
|
2097
|
-
onDragEnter:
|
|
2098
|
-
onDragLeave:
|
|
2099
|
-
onDragOver:
|
|
2100
|
-
onDrop:
|
|
2100
|
+
"data-error": to ? "true" : void 0,
|
|
2101
|
+
"data-dragging": Je ? "true" : void 0,
|
|
2102
|
+
onClick: k ? xe : void 0,
|
|
2103
|
+
onKeyDown: k ? oo : void 0,
|
|
2104
|
+
onDragEnter: k ? Be : void 0,
|
|
2105
|
+
onDragLeave: k ? po : void 0,
|
|
2106
|
+
onDragOver: k ? Se : void 0,
|
|
2107
|
+
onDrop: k ? eo : void 0,
|
|
2101
2108
|
children: [
|
|
2102
2109
|
/* @__PURE__ */ a("span", { className: Fe.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(Fl, {}) }),
|
|
2103
2110
|
/* @__PURE__ */ A("div", { className: Fe.content, children: [
|
|
@@ -2161,7 +2168,7 @@ const vn = _(
|
|
|
2161
2168
|
hidden: !0,
|
|
2162
2169
|
accept: O,
|
|
2163
2170
|
multiple: M,
|
|
2164
|
-
disabled: !
|
|
2171
|
+
disabled: !k,
|
|
2165
2172
|
onChange: V
|
|
2166
2173
|
}
|
|
2167
2174
|
)
|
|
@@ -2173,7 +2180,7 @@ const vn = _(
|
|
|
2173
2180
|
}
|
|
2174
2181
|
);
|
|
2175
2182
|
vn.displayName = "FileInput";
|
|
2176
|
-
const Vl = "FileUpload-module__layoutOverride___bPpi8", Gl = "FileUpload-module__root___Q-vcm", Hl = "FileUpload-module__dropzone___jqua0", jl = "FileUpload-module__uploadIcon___bb3Nc", ql = "FileUpload-module__dropzoneText___L7vS-", Kl = "FileUpload-module__fileList___XIWLl",
|
|
2183
|
+
const Vl = "FileUpload-module__layoutOverride___bPpi8", Gl = "FileUpload-module__root___Q-vcm", Hl = "FileUpload-module__dropzone___jqua0", jl = "FileUpload-module__uploadIcon___bb3Nc", ql = "FileUpload-module__dropzoneText___L7vS-", Kl = "FileUpload-module__fileList___XIWLl", ro = {
|
|
2177
2184
|
layoutOverride: Vl,
|
|
2178
2185
|
root: Gl,
|
|
2179
2186
|
dropzone: Hl,
|
|
@@ -2212,8 +2219,8 @@ const Nn = _(
|
|
|
2212
2219
|
labelOptionalText: i,
|
|
2213
2220
|
labelWithEditIcon: c,
|
|
2214
2221
|
labelActionArea: d,
|
|
2215
|
-
onLabelEditClick:
|
|
2216
|
-
label:
|
|
2222
|
+
onLabelEditClick: p,
|
|
2223
|
+
label: m,
|
|
2217
2224
|
assistiveText: C,
|
|
2218
2225
|
assistiveWithIcon: y,
|
|
2219
2226
|
error: N,
|
|
@@ -2239,49 +2246,49 @@ const Nn = _(
|
|
|
2239
2246
|
browseButtonLabel: H = "Browse files",
|
|
2240
2247
|
removeFileLabel: Y = "Remove",
|
|
2241
2248
|
...ee
|
|
2242
|
-
} = e, D = u(ee, o), re =
|
|
2249
|
+
} = e, D = u(ee, o), re = Ge(null), [pe, k] = ce(!1), [le, Ne] = ce(!1), se = (I) => {
|
|
2243
2250
|
if (g) return;
|
|
2244
|
-
const U = Array.from(
|
|
2251
|
+
const U = Array.from(I);
|
|
2245
2252
|
if (U.length === 0) return;
|
|
2246
|
-
const Q = (f == null ? void 0 : f.length) ?? 0, _e = [],
|
|
2253
|
+
const Q = (f == null ? void 0 : f.length) ?? 0, _e = [], to = [];
|
|
2247
2254
|
let mo = !1, x = !1;
|
|
2248
2255
|
for (const ne of U) {
|
|
2249
2256
|
const ae = !Zt(ne, O);
|
|
2250
2257
|
ae && (mo = !0);
|
|
2251
2258
|
const J = E !== void 0 && ne.size > E, fe = W !== void 0 && Q + _e.length >= W;
|
|
2252
|
-
fe && (x = !0), (ae || J || fe ?
|
|
2259
|
+
fe && (x = !0), (ae || J || fe ? to : _e).push(ne);
|
|
2253
2260
|
}
|
|
2254
|
-
|
|
2255
|
-
}, ie =
|
|
2256
|
-
|
|
2257
|
-
}, we = (
|
|
2258
|
-
|
|
2259
|
-
},
|
|
2260
|
-
|
|
2261
|
-
}, Ee = (
|
|
2262
|
-
|
|
2261
|
+
k(mo), Ne(x), _e.length > 0 && (w == null || w(_e)), to.length > 0 && (L == null || L(to));
|
|
2262
|
+
}, ie = Ge(0), [be, $e] = ce(!1), Xe = (I) => {
|
|
2263
|
+
I.preventDefault(), ie.current += 1, $e(!0);
|
|
2264
|
+
}, we = (I) => {
|
|
2265
|
+
I.preventDefault(), ie.current -= 1, ie.current <= 0 && (ie.current = 0, $e(!1));
|
|
2266
|
+
}, Je = (I) => {
|
|
2267
|
+
I.preventDefault();
|
|
2268
|
+
}, Ee = (I) => {
|
|
2269
|
+
I.preventDefault(), ie.current = 0, $e(!1), se(I.dataTransfer.files);
|
|
2263
2270
|
}, Be = () => {
|
|
2264
|
-
var
|
|
2265
|
-
g || (
|
|
2266
|
-
}, po = (
|
|
2267
|
-
|
|
2268
|
-
}, [Se,
|
|
2269
|
-
|
|
2271
|
+
var I;
|
|
2272
|
+
g || (I = re.current) == null || I.click();
|
|
2273
|
+
}, po = (I) => {
|
|
2274
|
+
I.target.files && se(I.target.files), I.target.value = "";
|
|
2275
|
+
}, [Se, eo] = ce(0), xe = Ge([]), oo = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
2276
|
+
Ie(() => {
|
|
2270
2277
|
var U;
|
|
2271
|
-
const
|
|
2272
|
-
if (
|
|
2273
|
-
const Q = Math.min(Se,
|
|
2274
|
-
|
|
2278
|
+
const I = (f == null ? void 0 : f.length) ?? 0;
|
|
2279
|
+
if (I > 0 && I < oo.current) {
|
|
2280
|
+
const Q = Math.min(Se, I - 1);
|
|
2281
|
+
eo(Q), (U = xe.current[Q]) == null || U.focus();
|
|
2275
2282
|
}
|
|
2276
|
-
|
|
2283
|
+
oo.current = I;
|
|
2277
2284
|
}, [f]);
|
|
2278
|
-
const V = (
|
|
2285
|
+
const V = (I) => {
|
|
2279
2286
|
var _e;
|
|
2280
2287
|
const U = (f == null ? void 0 : f.length) ?? 0;
|
|
2281
2288
|
if (U === 0) return;
|
|
2282
2289
|
let Q;
|
|
2283
|
-
|
|
2284
|
-
}, F = N ?? (pe ? Z : le ? j : void 0), z = T ? `${
|
|
2290
|
+
I.key === "ArrowRight" || I.key === "ArrowDown" ? Q = (Se + 1) % U : (I.key === "ArrowLeft" || I.key === "ArrowUp") && (Q = (Se - 1 + U) % U), Q !== void 0 && (I.preventDefault(), eo(Q), (_e = xe.current[Q]) == null || _e.focus());
|
|
2291
|
+
}, F = N ?? (pe ? Z : le ? j : void 0), z = T ? `${ro.layoutOverride} ${T}` : ro.layoutOverride;
|
|
2285
2292
|
return /* @__PURE__ */ a(
|
|
2286
2293
|
go,
|
|
2287
2294
|
{
|
|
@@ -2294,8 +2301,8 @@ const Nn = _(
|
|
|
2294
2301
|
labelOptionalText: i,
|
|
2295
2302
|
labelWithEditIcon: c,
|
|
2296
2303
|
labelActionArea: d,
|
|
2297
|
-
onLabelEditClick:
|
|
2298
|
-
label:
|
|
2304
|
+
onLabelEditClick: p,
|
|
2305
|
+
label: m,
|
|
2299
2306
|
assistiveText: C,
|
|
2300
2307
|
assistiveWithIcon: y,
|
|
2301
2308
|
error: F,
|
|
@@ -2307,22 +2314,22 @@ const Nn = _(
|
|
|
2307
2314
|
{
|
|
2308
2315
|
ref: n,
|
|
2309
2316
|
...D,
|
|
2310
|
-
className:
|
|
2317
|
+
className: ro.root,
|
|
2311
2318
|
"data-disabled": g ? "true" : void 0,
|
|
2312
2319
|
"data-error": F ? "true" : void 0,
|
|
2313
2320
|
children: [
|
|
2314
2321
|
!P && /* @__PURE__ */ A(
|
|
2315
2322
|
"div",
|
|
2316
2323
|
{
|
|
2317
|
-
className:
|
|
2324
|
+
className: ro.dropzone,
|
|
2318
2325
|
"data-dragging": be ? "true" : void 0,
|
|
2319
|
-
onDragEnter: g ? void 0 :
|
|
2326
|
+
onDragEnter: g ? void 0 : Xe,
|
|
2320
2327
|
onDragLeave: g ? void 0 : we,
|
|
2321
|
-
onDragOver: g ? void 0 :
|
|
2328
|
+
onDragOver: g ? void 0 : Je,
|
|
2322
2329
|
onDrop: g ? void 0 : Ee,
|
|
2323
2330
|
children: [
|
|
2324
|
-
/* @__PURE__ */ a("span", { className:
|
|
2325
|
-
/* @__PURE__ */ a("span", { className:
|
|
2331
|
+
/* @__PURE__ */ a("span", { className: ro.uploadIcon, children: q ?? /* @__PURE__ */ a(Yl, {}) }),
|
|
2332
|
+
/* @__PURE__ */ a("span", { className: ro.dropzoneText, children: X }),
|
|
2326
2333
|
/* @__PURE__ */ a(
|
|
2327
2334
|
co,
|
|
2328
2335
|
{
|
|
@@ -2347,16 +2354,16 @@ const Nn = _(
|
|
|
2347
2354
|
]
|
|
2348
2355
|
}
|
|
2349
2356
|
),
|
|
2350
|
-
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className:
|
|
2351
|
-
const U =
|
|
2352
|
-
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children:
|
|
2357
|
+
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: ro.fileList, children: f.map((I) => {
|
|
2358
|
+
const U = I.id ?? I.file.name;
|
|
2359
|
+
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: I.file.name }, U);
|
|
2353
2360
|
}) }) : /* @__PURE__ */ a(
|
|
2354
2361
|
"div",
|
|
2355
2362
|
{
|
|
2356
|
-
className:
|
|
2363
|
+
className: ro.fileList,
|
|
2357
2364
|
onKeyDown: V,
|
|
2358
|
-
children: f.map((
|
|
2359
|
-
const Q =
|
|
2365
|
+
children: f.map((I, U) => {
|
|
2366
|
+
const Q = I.id ?? I.file.name;
|
|
2360
2367
|
return /* @__PURE__ */ a(
|
|
2361
2368
|
Mo,
|
|
2362
2369
|
{
|
|
@@ -2368,7 +2375,7 @@ const Nn = _(
|
|
|
2368
2375
|
xe.current[U] = _e;
|
|
2369
2376
|
},
|
|
2370
2377
|
onDelete: g ? void 0 : () => h == null ? void 0 : h(Q),
|
|
2371
|
-
children:
|
|
2378
|
+
children: I.file.name
|
|
2372
2379
|
},
|
|
2373
2380
|
Q
|
|
2374
2381
|
);
|
|
@@ -2390,15 +2397,15 @@ const Zl = "Flex-module__root___yYser", So = {
|
|
|
2390
2397
|
root: So.root
|
|
2391
2398
|
}, c = s.classNames;
|
|
2392
2399
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
2393
|
-
const
|
|
2394
|
-
i.root =
|
|
2400
|
+
const m = c;
|
|
2401
|
+
i.root = m.root ? `${So.root} ${m.root}` : So.root;
|
|
2395
2402
|
}
|
|
2396
|
-
const d = s.className,
|
|
2403
|
+
const d = s.className, p = d ? `${So.root} ${d}` : So.root;
|
|
2397
2404
|
return /* @__PURE__ */ a(
|
|
2398
2405
|
ar,
|
|
2399
2406
|
{
|
|
2400
2407
|
ref: l,
|
|
2401
|
-
className:
|
|
2408
|
+
className: p,
|
|
2402
2409
|
classNames: i,
|
|
2403
2410
|
...Ao({ gap: n, rowGap: o, columnGap: t, ...s }),
|
|
2404
2411
|
children: e
|
|
@@ -2414,10 +2421,10 @@ const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tb
|
|
|
2414
2421
|
root: Me.root
|
|
2415
2422
|
}, l = o.classNames;
|
|
2416
2423
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2417
|
-
const
|
|
2418
|
-
s.root =
|
|
2424
|
+
const m = l;
|
|
2425
|
+
s.root = m.root ? `${Me.root} ${m.root}` : Me.root;
|
|
2419
2426
|
}
|
|
2420
|
-
const i = o.className, c = i ? `${Me.root} ${i}` : Me.root, { gutter: d, ...
|
|
2427
|
+
const i = o.className, c = i ? `${Me.root} ${i}` : Me.root, { gutter: d, ...p } = Ao({
|
|
2421
2428
|
gutter: n,
|
|
2422
2429
|
...o
|
|
2423
2430
|
});
|
|
@@ -2428,7 +2435,7 @@ const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tb
|
|
|
2428
2435
|
gutter: d,
|
|
2429
2436
|
className: c,
|
|
2430
2437
|
classNames: s,
|
|
2431
|
-
...
|
|
2438
|
+
...p,
|
|
2432
2439
|
children: e
|
|
2433
2440
|
}
|
|
2434
2441
|
);
|
|
@@ -2566,17 +2573,17 @@ const si = "Link-module__root___I0VGE", li = "Link-module__iconWrapper___W-LlF",
|
|
|
2566
2573
|
root: si,
|
|
2567
2574
|
iconWrapper: li,
|
|
2568
2575
|
labelText: ii
|
|
2569
|
-
},
|
|
2576
|
+
}, kn = _(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2570
2577
|
const l = u(t, o), i = l, c = B(
|
|
2571
2578
|
{ root: Oo.root },
|
|
2572
2579
|
i.classNames
|
|
2573
|
-
), d = i.className,
|
|
2580
|
+
), d = i.className, p = d ? `${Oo.root} ${d}` : Oo.root;
|
|
2574
2581
|
return /* @__PURE__ */ A(
|
|
2575
2582
|
lr,
|
|
2576
2583
|
{
|
|
2577
2584
|
ref: s,
|
|
2578
2585
|
...l,
|
|
2579
|
-
className:
|
|
2586
|
+
className: p,
|
|
2580
2587
|
classNames: c,
|
|
2581
2588
|
underline: "never",
|
|
2582
2589
|
...e ? { "data-has-icon": "" } : {},
|
|
@@ -2587,8 +2594,8 @@ const si = "Link-module__root___I0VGE", li = "Link-module__iconWrapper___W-LlF",
|
|
|
2587
2594
|
}
|
|
2588
2595
|
);
|
|
2589
2596
|
});
|
|
2590
|
-
|
|
2591
|
-
const ci = Te(
|
|
2597
|
+
kn.displayName = "Link";
|
|
2598
|
+
const ci = Te(kn), di = "Menu-module__dropdown___j4xuA", ui = "Menu-module__item___NMXha", pi = "Menu-module__itemLabel___zvcqC", mi = "Menu-module__itemSection___pRIcn", _i = "Menu-module__divider___wPiNq", fi = "Menu-module__label___4FBGa", yi = "Menu-module__chevron___hEEiy", fo = {
|
|
2592
2599
|
dropdown: di,
|
|
2593
2600
|
item: ui,
|
|
2594
2601
|
itemLabel: pi,
|
|
@@ -2596,7 +2603,7 @@ const ci = Te(In), di = "Menu-module__dropdown___j4xuA", ui = "Menu-module__item
|
|
|
2596
2603
|
divider: _i,
|
|
2597
2604
|
label: fi,
|
|
2598
2605
|
chevron: yi
|
|
2599
|
-
},
|
|
2606
|
+
}, In = function({ overStyled: e = !1, ...n }) {
|
|
2600
2607
|
const t = u(n, e), { maxHeight: s, ...l } = t, i = B(
|
|
2601
2608
|
{
|
|
2602
2609
|
dropdown: fo.dropdown,
|
|
@@ -2625,7 +2632,7 @@ const ci = Te(In), di = "Menu-module__dropdown___j4xuA", ui = "Menu-module__item
|
|
|
2625
2632
|
}
|
|
2626
2633
|
);
|
|
2627
2634
|
};
|
|
2628
|
-
|
|
2635
|
+
In.displayName = "Menu";
|
|
2629
2636
|
const Rn = function({
|
|
2630
2637
|
overStyled: e = !1,
|
|
2631
2638
|
...n
|
|
@@ -2747,14 +2754,14 @@ const et = zn;
|
|
|
2747
2754
|
et.Target = Dn;
|
|
2748
2755
|
et.Item = vi;
|
|
2749
2756
|
et.Dropdown = Bn;
|
|
2750
|
-
const bo =
|
|
2757
|
+
const bo = In;
|
|
2751
2758
|
bo.Target = Rn;
|
|
2752
2759
|
bo.Dropdown = Ln;
|
|
2753
2760
|
bo.Item = hi;
|
|
2754
2761
|
bo.Divider = An;
|
|
2755
2762
|
bo.Label = Wn;
|
|
2756
2763
|
bo.Sub = et;
|
|
2757
|
-
const Ni = "Modal-module__root___ytPLl", bi = "Modal-module__inner___SSUJE", Ci = "Modal-module__content___dWO-B", Pi = "Modal-module__header___ILG9i", gi = "Modal-module__title___A5OeE", Ti = "Modal-module__bodyWrapper___5CCL-", $i = "Modal-module__scrollArea___KD-hm", wi = "Modal-module__footer___rro2w", Si = "Modal-module__close___-ER1C",
|
|
2764
|
+
const Ni = "Modal-module__root___ytPLl", bi = "Modal-module__inner___SSUJE", Ci = "Modal-module__content___dWO-B", Pi = "Modal-module__header___ILG9i", gi = "Modal-module__title___A5OeE", Ti = "Modal-module__bodyWrapper___5CCL-", $i = "Modal-module__scrollArea___KD-hm", wi = "Modal-module__footer___rro2w", Si = "Modal-module__close___-ER1C", Ve = {
|
|
2758
2765
|
root: Ni,
|
|
2759
2766
|
inner: bi,
|
|
2760
2767
|
content: Ci,
|
|
@@ -2774,30 +2781,30 @@ const Ni = "Modal-module__root___ytPLl", bi = "Modal-module__inner___SSUJE", Ci
|
|
|
2774
2781
|
closeButtonProps: i,
|
|
2775
2782
|
...c
|
|
2776
2783
|
}, d) {
|
|
2777
|
-
const
|
|
2784
|
+
const p = [
|
|
2778
2785
|
"size",
|
|
2779
2786
|
// Modal width/height are enforced via CSS module tokens (min/max-width, min/max-height), not Mantine's `size` scale.
|
|
2780
2787
|
"radius"
|
|
2781
2788
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2782
|
-
],
|
|
2789
|
+
], m = G(
|
|
2783
2790
|
u(c, e),
|
|
2784
|
-
|
|
2791
|
+
p
|
|
2785
2792
|
), C = B(
|
|
2786
2793
|
{
|
|
2787
|
-
root:
|
|
2788
|
-
inner:
|
|
2789
|
-
content:
|
|
2790
|
-
header:
|
|
2791
|
-
title:
|
|
2792
|
-
close:
|
|
2794
|
+
root: Ve.root,
|
|
2795
|
+
inner: Ve.inner,
|
|
2796
|
+
content: Ve.content,
|
|
2797
|
+
header: Ve.header,
|
|
2798
|
+
title: Ve.title,
|
|
2799
|
+
close: Ve.close
|
|
2793
2800
|
},
|
|
2794
|
-
|
|
2801
|
+
m.classNames
|
|
2795
2802
|
);
|
|
2796
2803
|
return /* @__PURE__ */ A(
|
|
2797
2804
|
he.Root,
|
|
2798
2805
|
{
|
|
2799
2806
|
ref: d,
|
|
2800
|
-
...
|
|
2807
|
+
...m,
|
|
2801
2808
|
classNames: C,
|
|
2802
2809
|
children: [
|
|
2803
2810
|
l && /* @__PURE__ */ a(he.Overlay, { ...s }),
|
|
@@ -2821,7 +2828,7 @@ const ft = K.forwardRef(
|
|
|
2821
2828
|
{
|
|
2822
2829
|
ref: t,
|
|
2823
2830
|
...s,
|
|
2824
|
-
className: `${
|
|
2831
|
+
className: `${Ve.footer} ${n || ""}`
|
|
2825
2832
|
}
|
|
2826
2833
|
);
|
|
2827
2834
|
}
|
|
@@ -2829,10 +2836,10 @@ const ft = K.forwardRef(
|
|
|
2829
2836
|
ft.displayName = "Modal.Footer";
|
|
2830
2837
|
const yt = K.forwardRef(
|
|
2831
2838
|
function({ overStyled: e = !1, className: n, onScroll: o, children: t, ...s }, l) {
|
|
2832
|
-
const i = u(s, e), c = K.useRef(null), [d,
|
|
2839
|
+
const i = u(s, e), c = K.useRef(null), [d, p] = K.useState(!1), [m, C] = K.useState(!1), y = K.useCallback(() => {
|
|
2833
2840
|
if (c.current) {
|
|
2834
2841
|
const { scrollTop: b, scrollHeight: T, clientHeight: $ } = c.current;
|
|
2835
|
-
|
|
2842
|
+
p(b > 0), C(Math.ceil(b + $) < T);
|
|
2836
2843
|
}
|
|
2837
2844
|
}, []);
|
|
2838
2845
|
K.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, t]);
|
|
@@ -2851,7 +2858,7 @@ const yt = K.forwardRef(
|
|
|
2851
2858
|
ref: (b) => {
|
|
2852
2859
|
typeof l == "function" ? l(b) : l && (l.current = b);
|
|
2853
2860
|
},
|
|
2854
|
-
className: `${
|
|
2861
|
+
className: `${Ve.bodyWrapper} ${n || ""}`,
|
|
2855
2862
|
children: [
|
|
2856
2863
|
/* @__PURE__ */ a(
|
|
2857
2864
|
"div",
|
|
@@ -2859,8 +2866,8 @@ const yt = K.forwardRef(
|
|
|
2859
2866
|
ref: c,
|
|
2860
2867
|
onScroll: N,
|
|
2861
2868
|
"data-scrolled-top": d || void 0,
|
|
2862
|
-
"data-scrolled-bottom":
|
|
2863
|
-
className:
|
|
2869
|
+
"data-scrolled-bottom": m || void 0,
|
|
2870
|
+
className: Ve.scrollArea,
|
|
2864
2871
|
children: S
|
|
2865
2872
|
}
|
|
2866
2873
|
),
|
|
@@ -2949,13 +2956,13 @@ const jn = K.forwardRef(
|
|
|
2949
2956
|
}
|
|
2950
2957
|
);
|
|
2951
2958
|
jn.displayName = "Modal.Title";
|
|
2952
|
-
const
|
|
2959
|
+
const ki = [
|
|
2953
2960
|
"size",
|
|
2954
2961
|
"radius"
|
|
2955
2962
|
], qn = K.forwardRef(function({ overStyled: e = !1, ...n }, o) {
|
|
2956
2963
|
const t = G(
|
|
2957
2964
|
u(n, e),
|
|
2958
|
-
|
|
2965
|
+
ki
|
|
2959
2966
|
);
|
|
2960
2967
|
return /* @__PURE__ */ a(
|
|
2961
2968
|
he.CloseButton,
|
|
@@ -2966,17 +2973,17 @@ const Ii = [
|
|
|
2966
2973
|
);
|
|
2967
2974
|
});
|
|
2968
2975
|
qn.displayName = "Modal.CloseButton";
|
|
2969
|
-
const
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
const
|
|
2979
|
-
layoutOverride:
|
|
2976
|
+
const Ze = Fn;
|
|
2977
|
+
Ze.Root = Un;
|
|
2978
|
+
Ze.Overlay = Vn;
|
|
2979
|
+
Ze.Content = Gn;
|
|
2980
|
+
Ze.Header = Hn;
|
|
2981
|
+
Ze.Title = jn;
|
|
2982
|
+
Ze.CloseButton = qn;
|
|
2983
|
+
Ze.Body = yt;
|
|
2984
|
+
Ze.Footer = ft;
|
|
2985
|
+
const Ii = "NumberInput-module__layoutOverride___5-9T4", Ri = "NumberInput-module__root___C6rAn", Li = "NumberInput-module__input___Ss8p7", Mi = "NumberInput-module__section___MijP0", Ai = "NumberInput-module__controls___8UfQ2", Wi = "NumberInput-module__control___Qre9-", yo = {
|
|
2986
|
+
layoutOverride: Ii,
|
|
2980
2987
|
root: Ri,
|
|
2981
2988
|
input: Li,
|
|
2982
2989
|
section: Mi,
|
|
@@ -3000,8 +3007,8 @@ const ki = "NumberInput-module__layoutOverride___5-9T4", Ri = "NumberInput-modul
|
|
|
3000
3007
|
labelOptionalText: i,
|
|
3001
3008
|
labelWithEditIcon: c,
|
|
3002
3009
|
onLabelEditClick: d,
|
|
3003
|
-
label:
|
|
3004
|
-
assistiveText:
|
|
3010
|
+
label: p,
|
|
3011
|
+
assistiveText: m,
|
|
3005
3012
|
assistiveWithIcon: C,
|
|
3006
3013
|
error: y,
|
|
3007
3014
|
required: N,
|
|
@@ -3042,8 +3049,8 @@ const ki = "NumberInput-module__layoutOverride___5-9T4", Ri = "NumberInput-modul
|
|
|
3042
3049
|
labelOptionalText: i,
|
|
3043
3050
|
labelWithEditIcon: c,
|
|
3044
3051
|
onLabelEditClick: d,
|
|
3045
|
-
label:
|
|
3046
|
-
assistiveText:
|
|
3052
|
+
label: p,
|
|
3053
|
+
assistiveText: m,
|
|
3047
3054
|
assistiveWithIcon: C,
|
|
3048
3055
|
error: y,
|
|
3049
3056
|
required: N,
|
|
@@ -3140,7 +3147,7 @@ const ea = _(
|
|
|
3140
3147
|
t
|
|
3141
3148
|
);
|
|
3142
3149
|
return /* @__PURE__ */ a(
|
|
3143
|
-
|
|
3150
|
+
qe.Root,
|
|
3144
3151
|
{
|
|
3145
3152
|
ref: o,
|
|
3146
3153
|
...t,
|
|
@@ -3154,7 +3161,7 @@ ea.displayName = "Pagination.Root";
|
|
|
3154
3161
|
const oa = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3155
3162
|
const l = u(t, e), i = n ? Yn : void 0;
|
|
3156
3163
|
return /* @__PURE__ */ a(
|
|
3157
|
-
|
|
3164
|
+
qe.Next,
|
|
3158
3165
|
{
|
|
3159
3166
|
ref: s,
|
|
3160
3167
|
...l,
|
|
@@ -3167,7 +3174,7 @@ oa.displayName = "Pagination.Next";
|
|
|
3167
3174
|
const ta = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3168
3175
|
const l = u(t, e), i = n ? Zn : void 0;
|
|
3169
3176
|
return /* @__PURE__ */ a(
|
|
3170
|
-
|
|
3177
|
+
qe.Previous,
|
|
3171
3178
|
{
|
|
3172
3179
|
ref: s,
|
|
3173
3180
|
...l,
|
|
@@ -3180,7 +3187,7 @@ ta.displayName = "Pagination.Previous";
|
|
|
3180
3187
|
const na = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3181
3188
|
const l = u(t, e), i = n ? Qn : void 0;
|
|
3182
3189
|
return /* @__PURE__ */ a(
|
|
3183
|
-
|
|
3190
|
+
qe.First,
|
|
3184
3191
|
{
|
|
3185
3192
|
ref: s,
|
|
3186
3193
|
...l,
|
|
@@ -3193,7 +3200,7 @@ na.displayName = "Pagination.First";
|
|
|
3193
3200
|
const aa = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3194
3201
|
const l = u(t, e), i = n ? Xn : void 0;
|
|
3195
3202
|
return /* @__PURE__ */ a(
|
|
3196
|
-
|
|
3203
|
+
qe.Last,
|
|
3197
3204
|
{
|
|
3198
3205
|
ref: s,
|
|
3199
3206
|
...l,
|
|
@@ -3207,12 +3214,12 @@ const ra = _(
|
|
|
3207
3214
|
function({ overStyled: e = !1, getControlProps: n, withLabels: o, ...t }, s) {
|
|
3208
3215
|
const l = u(t, e), i = Jn(
|
|
3209
3216
|
l
|
|
3210
|
-
), c = (
|
|
3211
|
-
const
|
|
3212
|
-
return n ? { ...
|
|
3217
|
+
), c = (p) => {
|
|
3218
|
+
const m = { "data-variant": "text" };
|
|
3219
|
+
return n ? { ...m, ...n(p) } : m;
|
|
3213
3220
|
};
|
|
3214
3221
|
return /* @__PURE__ */ a(
|
|
3215
|
-
|
|
3222
|
+
qe,
|
|
3216
3223
|
{
|
|
3217
3224
|
ref: s,
|
|
3218
3225
|
...o ? {
|
|
@@ -3233,7 +3240,7 @@ ra.displayName = "Pagination";
|
|
|
3233
3240
|
const sa = _(function({ overStyled: e = !1, ...n }, o) {
|
|
3234
3241
|
const t = u(n, e);
|
|
3235
3242
|
return /* @__PURE__ */ a(
|
|
3236
|
-
|
|
3243
|
+
qe.Control,
|
|
3237
3244
|
{
|
|
3238
3245
|
ref: o,
|
|
3239
3246
|
...t
|
|
@@ -3245,7 +3252,7 @@ const la = _(
|
|
|
3245
3252
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3246
3253
|
const t = u(n, e);
|
|
3247
3254
|
return /* @__PURE__ */ a(
|
|
3248
|
-
|
|
3255
|
+
qe.Dots,
|
|
3249
3256
|
{
|
|
3250
3257
|
ref: o,
|
|
3251
3258
|
...t
|
|
@@ -3256,7 +3263,7 @@ const la = _(
|
|
|
3256
3263
|
la.displayName = "Pagination.Dots";
|
|
3257
3264
|
const ze = ra;
|
|
3258
3265
|
ze.Root = ea;
|
|
3259
|
-
ze.Items =
|
|
3266
|
+
ze.Items = qe.Items;
|
|
3260
3267
|
ze.Control = sa;
|
|
3261
3268
|
ze.Dots = la;
|
|
3262
3269
|
ze.Next = oa;
|
|
@@ -3290,7 +3297,7 @@ const Ki = "Panel-module__content___wdGo-", Yi = "Panel-module__inner___ruA2b",
|
|
|
3290
3297
|
i.classNames
|
|
3291
3298
|
);
|
|
3292
3299
|
return /* @__PURE__ */ a(
|
|
3293
|
-
|
|
3300
|
+
Ke,
|
|
3294
3301
|
{
|
|
3295
3302
|
...l,
|
|
3296
3303
|
position: n,
|
|
@@ -3315,7 +3322,7 @@ const ca = _(
|
|
|
3315
3322
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3316
3323
|
const t = u(n, e);
|
|
3317
3324
|
return /* @__PURE__ */ a(
|
|
3318
|
-
|
|
3325
|
+
Ke.Root,
|
|
3319
3326
|
{
|
|
3320
3327
|
ref: o,
|
|
3321
3328
|
...t
|
|
@@ -3328,7 +3335,7 @@ const da = _(
|
|
|
3328
3335
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3329
3336
|
const t = u(n, e);
|
|
3330
3337
|
return /* @__PURE__ */ a(
|
|
3331
|
-
|
|
3338
|
+
Ke.Overlay,
|
|
3332
3339
|
{
|
|
3333
3340
|
ref: o,
|
|
3334
3341
|
...t
|
|
@@ -3341,7 +3348,7 @@ const ua = _(
|
|
|
3341
3348
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3342
3349
|
const t = u(n, e);
|
|
3343
3350
|
return /* @__PURE__ */ a(
|
|
3344
|
-
|
|
3351
|
+
Ke.Content,
|
|
3345
3352
|
{
|
|
3346
3353
|
ref: o,
|
|
3347
3354
|
...t
|
|
@@ -3354,7 +3361,7 @@ const pa = _(
|
|
|
3354
3361
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3355
3362
|
const t = u(n, e);
|
|
3356
3363
|
return /* @__PURE__ */ a(
|
|
3357
|
-
|
|
3364
|
+
Ke.Header,
|
|
3358
3365
|
{
|
|
3359
3366
|
ref: o,
|
|
3360
3367
|
...t
|
|
@@ -3367,7 +3374,7 @@ const ma = _(
|
|
|
3367
3374
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3368
3375
|
const t = u(n, e);
|
|
3369
3376
|
return /* @__PURE__ */ a(
|
|
3370
|
-
|
|
3377
|
+
Ke.Title,
|
|
3371
3378
|
{
|
|
3372
3379
|
ref: o,
|
|
3373
3380
|
...t
|
|
@@ -3379,7 +3386,7 @@ ma.displayName = "PanelTitle";
|
|
|
3379
3386
|
const _a = _(function({ overStyled: e = !1, ...n }, o) {
|
|
3380
3387
|
const t = u(n, e);
|
|
3381
3388
|
return /* @__PURE__ */ a(
|
|
3382
|
-
|
|
3389
|
+
Ke.CloseButton,
|
|
3383
3390
|
{
|
|
3384
3391
|
ref: o,
|
|
3385
3392
|
...t
|
|
@@ -3391,7 +3398,7 @@ const fa = _(
|
|
|
3391
3398
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3392
3399
|
const t = u(n, e);
|
|
3393
3400
|
return /* @__PURE__ */ a(
|
|
3394
|
-
|
|
3401
|
+
Ke.Body,
|
|
3395
3402
|
{
|
|
3396
3403
|
ref: o,
|
|
3397
3404
|
...t
|
|
@@ -3408,7 +3415,7 @@ De.Header = pa;
|
|
|
3408
3415
|
De.Title = ma;
|
|
3409
3416
|
De.CloseButton = _a;
|
|
3410
3417
|
De.Body = fa;
|
|
3411
|
-
De.Stack =
|
|
3418
|
+
De.Stack = Ke.Stack;
|
|
3412
3419
|
De.Footer = ht;
|
|
3413
3420
|
const oc = "Popover-module__dropdown___svhS6", tc = "Popover-module__arrow___5A-0e", At = {
|
|
3414
3421
|
dropdown: oc,
|
|
@@ -3484,8 +3491,8 @@ const nc = "Radio-module__groupRoot___bfUii", ac = "Radio-module__root___kAjTD",
|
|
|
3484
3491
|
labelWithEditIcon: c,
|
|
3485
3492
|
onLabelEditClick: d,
|
|
3486
3493
|
// Base Mantine Extracted Attributes
|
|
3487
|
-
label:
|
|
3488
|
-
description:
|
|
3494
|
+
label: p,
|
|
3495
|
+
description: m,
|
|
3489
3496
|
assistiveText: C,
|
|
3490
3497
|
assistiveWithIcon: y,
|
|
3491
3498
|
error: N,
|
|
@@ -3523,8 +3530,8 @@ const nc = "Radio-module__groupRoot___bfUii", ac = "Radio-module__root___kAjTD",
|
|
|
3523
3530
|
labelOptionalText: i,
|
|
3524
3531
|
labelWithEditIcon: c,
|
|
3525
3532
|
onLabelEditClick: d,
|
|
3526
|
-
label:
|
|
3527
|
-
description:
|
|
3533
|
+
label: p,
|
|
3534
|
+
description: m,
|
|
3528
3535
|
assistiveText: C,
|
|
3529
3536
|
assistiveWithIcon: y,
|
|
3530
3537
|
error: N,
|
|
@@ -3573,8 +3580,8 @@ const uc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3573
3580
|
icon: i,
|
|
3574
3581
|
formLayout: c,
|
|
3575
3582
|
labelSize: d,
|
|
3576
|
-
controlMaxWidth:
|
|
3577
|
-
controlMinWidth:
|
|
3583
|
+
controlMaxWidth: p,
|
|
3584
|
+
controlMinWidth: m,
|
|
3578
3585
|
...C
|
|
3579
3586
|
} = e, y = [
|
|
3580
3587
|
"size",
|
|
@@ -3612,12 +3619,12 @@ const uc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3612
3619
|
}
|
|
3613
3620
|
);
|
|
3614
3621
|
return c ? /* @__PURE__ */ a(
|
|
3615
|
-
|
|
3622
|
+
He,
|
|
3616
3623
|
{
|
|
3617
3624
|
formLayout: c,
|
|
3618
3625
|
labelSize: d,
|
|
3619
|
-
controlMaxWidth:
|
|
3620
|
-
controlMinWidth:
|
|
3626
|
+
controlMaxWidth: p,
|
|
3627
|
+
controlMinWidth: m,
|
|
3621
3628
|
children: f
|
|
3622
3629
|
}
|
|
3623
3630
|
) : /* @__PURE__ */ a(No, { children: f });
|
|
@@ -3634,12 +3641,12 @@ const uc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3634
3641
|
}
|
|
3635
3642
|
);
|
|
3636
3643
|
return c ? /* @__PURE__ */ a(
|
|
3637
|
-
|
|
3644
|
+
He,
|
|
3638
3645
|
{
|
|
3639
3646
|
formLayout: c,
|
|
3640
3647
|
labelSize: d,
|
|
3641
|
-
controlMaxWidth:
|
|
3642
|
-
controlMinWidth:
|
|
3648
|
+
controlMaxWidth: p,
|
|
3649
|
+
controlMinWidth: m,
|
|
3643
3650
|
children: $
|
|
3644
3651
|
}
|
|
3645
3652
|
) : $;
|
|
@@ -3673,12 +3680,12 @@ const Na = _(
|
|
|
3673
3680
|
data: t = [],
|
|
3674
3681
|
...s
|
|
3675
3682
|
}, l) {
|
|
3676
|
-
const i = u(s, e), d = yc(i),
|
|
3677
|
-
(
|
|
3678
|
-
...
|
|
3683
|
+
const i = u(s, e), d = yc(i), p = t.map(
|
|
3684
|
+
(m) => typeof m == "string" || !m.icon ? m : {
|
|
3685
|
+
...m,
|
|
3679
3686
|
label: /* @__PURE__ */ A(No, { children: [
|
|
3680
|
-
|
|
3681
|
-
|
|
3687
|
+
m.icon,
|
|
3688
|
+
m.label
|
|
3682
3689
|
] })
|
|
3683
3690
|
}
|
|
3684
3691
|
);
|
|
@@ -3692,13 +3699,13 @@ const Na = _(
|
|
|
3692
3699
|
orientation: n,
|
|
3693
3700
|
fullWidth: o,
|
|
3694
3701
|
"data-orientation": n,
|
|
3695
|
-
data:
|
|
3702
|
+
data: p
|
|
3696
3703
|
}
|
|
3697
3704
|
);
|
|
3698
3705
|
}
|
|
3699
3706
|
);
|
|
3700
3707
|
Na.displayName = "SegmentedControl";
|
|
3701
|
-
const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module__sliderContainer___y8I0J", bc = "Slider-module__sliderTrackWrapper___UHpVh", Cc = "Slider-module__iconWrapper___uqHpC", Pc = "Slider-module__sliderRoot___LI86H", gc = "Slider-module__sliderTrack___oqnlG", Tc = "Slider-module__sliderBar___TI4VY", $c = "Slider-module__sliderThumb___OFn8p", wc = "Slider-module__sliderMarkWrapper___Ufqhu", Sc = "Slider-module__sliderMark___1lM2B", xc = "Slider-module__sliderMarkLabel___MMZrq", Oc = "Slider-module__minMaxGuide___TaGqz",
|
|
3708
|
+
const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module__sliderContainer___y8I0J", bc = "Slider-module__sliderTrackWrapper___UHpVh", Cc = "Slider-module__iconWrapper___uqHpC", Pc = "Slider-module__sliderRoot___LI86H", gc = "Slider-module__sliderTrack___oqnlG", Tc = "Slider-module__sliderBar___TI4VY", $c = "Slider-module__sliderThumb___OFn8p", wc = "Slider-module__sliderMarkWrapper___Ufqhu", Sc = "Slider-module__sliderMark___1lM2B", xc = "Slider-module__sliderMarkLabel___MMZrq", Oc = "Slider-module__minMaxGuide___TaGqz", kc = "Slider-module__rightGuideContainer___8dOT8", Ic = "Slider-module__currentValue___dGV2T", Rc = "Slider-module__inputField___6x578", Lc = "Slider-module__readOnlyValue___-ZzMW", oe = {
|
|
3702
3709
|
layoutOverride: vc,
|
|
3703
3710
|
sliderContainer: Nc,
|
|
3704
3711
|
sliderTrackWrapper: bc,
|
|
@@ -3711,8 +3718,8 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3711
3718
|
sliderMark: Sc,
|
|
3712
3719
|
sliderMarkLabel: xc,
|
|
3713
3720
|
minMaxGuide: Oc,
|
|
3714
|
-
rightGuideContainer:
|
|
3715
|
-
currentValue:
|
|
3721
|
+
rightGuideContainer: kc,
|
|
3722
|
+
currentValue: Ic,
|
|
3716
3723
|
inputField: Rc,
|
|
3717
3724
|
readOnlyValue: Lc
|
|
3718
3725
|
}, Mc = ({
|
|
@@ -3731,8 +3738,8 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3731
3738
|
labelOptionalText: i,
|
|
3732
3739
|
labelWithEditIcon: c,
|
|
3733
3740
|
labelActionArea: d,
|
|
3734
|
-
onLabelEditClick:
|
|
3735
|
-
label:
|
|
3741
|
+
onLabelEditClick: p,
|
|
3742
|
+
label: m,
|
|
3736
3743
|
tooltipLabel: C,
|
|
3737
3744
|
assistiveText: y,
|
|
3738
3745
|
assistiveWithIcon: N,
|
|
@@ -3760,44 +3767,44 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3760
3767
|
onChange: ee,
|
|
3761
3768
|
onChangeEnd: ue,
|
|
3762
3769
|
...D
|
|
3763
|
-
} = e, [re, pe] = ce(() => O !== void 0 ? O : M !== void 0 ? M : j),
|
|
3764
|
-
() => Array.isArray(
|
|
3770
|
+
} = e, [re, pe] = ce(() => O !== void 0 ? O : M !== void 0 ? M : j), k = O !== void 0 ? O : re, le = Array.isArray(k), [Ne, se] = ce(
|
|
3771
|
+
() => Array.isArray(k) ? [k[0].toString(), k[1].toString()] : k.toString()
|
|
3765
3772
|
);
|
|
3766
|
-
|
|
3773
|
+
Ie(() => {
|
|
3767
3774
|
se(
|
|
3768
|
-
Array.isArray(
|
|
3775
|
+
Array.isArray(k) ? [k[0].toString(), k[1].toString()] : k.toString()
|
|
3769
3776
|
);
|
|
3770
|
-
}, [
|
|
3777
|
+
}, [k]);
|
|
3771
3778
|
const ie = (F) => {
|
|
3772
3779
|
O === void 0 && pe(F), ee == null || ee(F);
|
|
3773
3780
|
}, be = (F) => {
|
|
3774
3781
|
const z = F.target.value;
|
|
3775
3782
|
se(z);
|
|
3776
|
-
const
|
|
3777
|
-
if (!isNaN(
|
|
3778
|
-
const U = Math.max(j, Math.min(q,
|
|
3783
|
+
const I = parseFloat(z);
|
|
3784
|
+
if (!isNaN(I)) {
|
|
3785
|
+
const U = Math.max(j, Math.min(q, I));
|
|
3779
3786
|
ie(U);
|
|
3780
3787
|
}
|
|
3781
3788
|
}, $e = () => {
|
|
3782
|
-
se(
|
|
3783
|
-
},
|
|
3784
|
-
const z =
|
|
3785
|
-
se([
|
|
3786
|
-
const U = parseFloat(
|
|
3789
|
+
se(k.toString());
|
|
3790
|
+
}, Xe = (F) => {
|
|
3791
|
+
const z = k, I = F.target.value;
|
|
3792
|
+
se([I, z[1].toString()]);
|
|
3793
|
+
const U = parseFloat(I);
|
|
3787
3794
|
if (!isNaN(U)) {
|
|
3788
3795
|
const Q = Math.max(j, Math.min(z[1], U));
|
|
3789
3796
|
ie([Q, z[1]]);
|
|
3790
3797
|
}
|
|
3791
3798
|
}, we = (F) => {
|
|
3792
|
-
const z =
|
|
3793
|
-
se([z[0].toString(),
|
|
3794
|
-
const U = parseFloat(
|
|
3799
|
+
const z = k, I = F.target.value;
|
|
3800
|
+
se([z[0].toString(), I]);
|
|
3801
|
+
const U = parseFloat(I);
|
|
3795
3802
|
if (!isNaN(U)) {
|
|
3796
3803
|
const Q = Math.max(z[0], Math.min(q, U));
|
|
3797
3804
|
ie([z[0], Q]);
|
|
3798
3805
|
}
|
|
3799
|
-
},
|
|
3800
|
-
const F =
|
|
3806
|
+
}, Je = () => {
|
|
3807
|
+
const F = k;
|
|
3801
3808
|
se([F[0].toString(), F[1].toString()]);
|
|
3802
3809
|
}, Ee = [
|
|
3803
3810
|
"size",
|
|
@@ -3824,12 +3831,12 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3824
3831
|
markLabel: oe.sliderMarkLabel
|
|
3825
3832
|
},
|
|
3826
3833
|
po.classNames
|
|
3827
|
-
),
|
|
3834
|
+
), eo = $ ? `${oe.layoutOverride} ${$}` : oe.layoutOverride, xe = E ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: E }) : null, oo = W ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: W }) : null, V = Array.isArray(k) ? typeof C == "function" ? `${C(k[0])} – ${C(k[1])}` : `${k[0]} – ${k[1]}` : typeof C == "function" ? C(k) : k;
|
|
3828
3835
|
return /* @__PURE__ */ a(
|
|
3829
3836
|
ve,
|
|
3830
3837
|
{
|
|
3831
3838
|
ref: n,
|
|
3832
|
-
className:
|
|
3839
|
+
className: eo,
|
|
3833
3840
|
style: g,
|
|
3834
3841
|
controlMaxWidth: void 0,
|
|
3835
3842
|
controlMinWidth: void 0,
|
|
@@ -3840,8 +3847,8 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3840
3847
|
labelOptionalText: i,
|
|
3841
3848
|
labelWithEditIcon: c,
|
|
3842
3849
|
labelActionArea: d,
|
|
3843
|
-
onLabelEditClick:
|
|
3844
|
-
label:
|
|
3850
|
+
onLabelEditClick: p,
|
|
3851
|
+
label: m,
|
|
3845
3852
|
assistiveText: y,
|
|
3846
3853
|
assistiveWithIcon: N,
|
|
3847
3854
|
error: v,
|
|
@@ -3852,8 +3859,8 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3852
3859
|
readOnlyComponent: w || Mc,
|
|
3853
3860
|
emptyValueComponent: h,
|
|
3854
3861
|
readOnlyType: "text",
|
|
3855
|
-
readOnlyValue:
|
|
3856
|
-
readOnlyNativeProps: { value:
|
|
3862
|
+
readOnlyValue: k,
|
|
3863
|
+
readOnlyNativeProps: { value: k },
|
|
3857
3864
|
activeComponent: /* @__PURE__ */ A(
|
|
3858
3865
|
"div",
|
|
3859
3866
|
{
|
|
@@ -3868,10 +3875,10 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3868
3875
|
type: "number",
|
|
3869
3876
|
className: oe.inputField,
|
|
3870
3877
|
value: Ne[0],
|
|
3871
|
-
onChange:
|
|
3872
|
-
onBlur:
|
|
3878
|
+
onChange: Xe,
|
|
3879
|
+
onBlur: Je,
|
|
3873
3880
|
min: j,
|
|
3874
|
-
max:
|
|
3881
|
+
max: k[1],
|
|
3875
3882
|
step: Y,
|
|
3876
3883
|
disabled: P,
|
|
3877
3884
|
"data-error": v ? "true" : void 0,
|
|
@@ -3886,7 +3893,7 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3886
3893
|
...Be,
|
|
3887
3894
|
classNames: Se,
|
|
3888
3895
|
disabled: P,
|
|
3889
|
-
value:
|
|
3896
|
+
value: k,
|
|
3890
3897
|
onChange: ie,
|
|
3891
3898
|
onChangeEnd: ue,
|
|
3892
3899
|
min: j,
|
|
@@ -3900,7 +3907,7 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3900
3907
|
...Be,
|
|
3901
3908
|
classNames: Se,
|
|
3902
3909
|
disabled: P,
|
|
3903
|
-
value:
|
|
3910
|
+
value: k,
|
|
3904
3911
|
onChange: ie,
|
|
3905
3912
|
onChangeEnd: ue,
|
|
3906
3913
|
min: j,
|
|
@@ -3913,7 +3920,7 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3913
3920
|
!L && /* @__PURE__ */ a("span", { className: oe.currentValue, children: V }),
|
|
3914
3921
|
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: H ?? q })
|
|
3915
3922
|
] }),
|
|
3916
|
-
|
|
3923
|
+
oo,
|
|
3917
3924
|
L && (le ? /* @__PURE__ */ a(
|
|
3918
3925
|
"input",
|
|
3919
3926
|
{
|
|
@@ -3921,8 +3928,8 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3921
3928
|
className: oe.inputField,
|
|
3922
3929
|
value: Ne[1],
|
|
3923
3930
|
onChange: we,
|
|
3924
|
-
onBlur:
|
|
3925
|
-
min:
|
|
3931
|
+
onBlur: Je,
|
|
3932
|
+
min: k[0],
|
|
3926
3933
|
max: q,
|
|
3927
3934
|
step: Y,
|
|
3928
3935
|
disabled: P,
|
|
@@ -3952,17 +3959,17 @@ const hc = Na, vc = "Slider-module__layoutOverride___zYPun", Nc = "Slider-module
|
|
|
3952
3959
|
}
|
|
3953
3960
|
);
|
|
3954
3961
|
ba.displayName = "Slider";
|
|
3955
|
-
const Ac = "Stack-module__root___NUN-x",
|
|
3962
|
+
const Ac = "Stack-module__root___NUN-x", ko = {
|
|
3956
3963
|
root: Ac
|
|
3957
3964
|
}, Ca = _(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
3958
3965
|
const s = {
|
|
3959
|
-
root:
|
|
3966
|
+
root: ko.root
|
|
3960
3967
|
}, l = o.classNames;
|
|
3961
3968
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
3962
3969
|
const d = l;
|
|
3963
|
-
s.root = d.root ? `${
|
|
3970
|
+
s.root = d.root ? `${ko.root} ${d.root}` : ko.root;
|
|
3964
3971
|
}
|
|
3965
|
-
const i = o.className, c = i ? `${
|
|
3972
|
+
const i = o.className, c = i ? `${ko.root} ${i}` : ko.root;
|
|
3966
3973
|
return /* @__PURE__ */ a(
|
|
3967
3974
|
pr,
|
|
3968
3975
|
{
|
|
@@ -4000,7 +4007,7 @@ const Wc = Te(Ca), zc = "Stepper-module__root___jbSYO", Dc = "Stepper-module__ho
|
|
|
4000
4007
|
className: l,
|
|
4001
4008
|
style: i,
|
|
4002
4009
|
...c
|
|
4003
|
-
} = e, d = u(c, o),
|
|
4010
|
+
} = e, d = u(c, o), p = d, m = B(
|
|
4004
4011
|
{
|
|
4005
4012
|
steps: de.steps,
|
|
4006
4013
|
step: de.step,
|
|
@@ -4013,7 +4020,7 @@ const Wc = Te(Ca), zc = "Stepper-module__root___jbSYO", Dc = "Stepper-module__ho
|
|
|
4013
4020
|
verticalSeparator: de.verticalSeparator,
|
|
4014
4021
|
content: de.content
|
|
4015
4022
|
},
|
|
4016
|
-
|
|
4023
|
+
p.classNames
|
|
4017
4024
|
);
|
|
4018
4025
|
return /* @__PURE__ */ a(
|
|
4019
4026
|
it,
|
|
@@ -4025,7 +4032,7 @@ const Wc = Te(Ca), zc = "Stepper-module__root___jbSYO", Dc = "Stepper-module__ho
|
|
|
4025
4032
|
style: i,
|
|
4026
4033
|
"data-size": t,
|
|
4027
4034
|
"data-orientation": s,
|
|
4028
|
-
classNames:
|
|
4035
|
+
classNames: m
|
|
4029
4036
|
}
|
|
4030
4037
|
);
|
|
4031
4038
|
}
|
|
@@ -4072,8 +4079,8 @@ const Jc = "Switch-module__root___Y5Ydi", ed = "Switch-module__track___7ObdZ", o
|
|
|
4072
4079
|
labelWithEditIcon: c,
|
|
4073
4080
|
onLabelEditClick: d,
|
|
4074
4081
|
// Base Mantine Extracted Attributes
|
|
4075
|
-
label:
|
|
4076
|
-
description:
|
|
4082
|
+
label: p,
|
|
4083
|
+
description: m,
|
|
4077
4084
|
assistiveText: C,
|
|
4078
4085
|
assistiveWithIcon: y,
|
|
4079
4086
|
error: N,
|
|
@@ -4111,8 +4118,8 @@ const Jc = "Switch-module__root___Y5Ydi", ed = "Switch-module__track___7ObdZ", o
|
|
|
4111
4118
|
labelOptionalText: i,
|
|
4112
4119
|
labelWithEditIcon: c,
|
|
4113
4120
|
onLabelEditClick: d,
|
|
4114
|
-
label:
|
|
4115
|
-
description:
|
|
4121
|
+
label: p,
|
|
4122
|
+
description: m,
|
|
4116
4123
|
assistiveText: C,
|
|
4117
4124
|
assistiveWithIcon: y,
|
|
4118
4125
|
error: N,
|
|
@@ -4151,8 +4158,8 @@ const Pt = _(
|
|
|
4151
4158
|
thumbIcon: i,
|
|
4152
4159
|
formLayout: c,
|
|
4153
4160
|
labelSize: d,
|
|
4154
|
-
controlMaxWidth:
|
|
4155
|
-
controlMinWidth:
|
|
4161
|
+
controlMaxWidth: p,
|
|
4162
|
+
controlMinWidth: m,
|
|
4156
4163
|
...C
|
|
4157
4164
|
} = e, y = [
|
|
4158
4165
|
"size",
|
|
@@ -4177,7 +4184,7 @@ const Pt = _(
|
|
|
4177
4184
|
label: ye.label
|
|
4178
4185
|
},
|
|
4179
4186
|
v.classNames
|
|
4180
|
-
), b =
|
|
4187
|
+
), b = Ir(
|
|
4181
4188
|
{},
|
|
4182
4189
|
v.styles
|
|
4183
4190
|
), T = v.className, $ = T ? `${ye.root} ${T}` : ye.root;
|
|
@@ -4191,12 +4198,12 @@ const Pt = _(
|
|
|
4191
4198
|
}
|
|
4192
4199
|
);
|
|
4193
4200
|
return c ? /* @__PURE__ */ a(
|
|
4194
|
-
|
|
4201
|
+
He,
|
|
4195
4202
|
{
|
|
4196
4203
|
formLayout: c,
|
|
4197
4204
|
labelSize: d,
|
|
4198
|
-
controlMaxWidth:
|
|
4199
|
-
controlMinWidth:
|
|
4205
|
+
controlMaxWidth: p,
|
|
4206
|
+
controlMinWidth: m,
|
|
4200
4207
|
children: h
|
|
4201
4208
|
}
|
|
4202
4209
|
) : /* @__PURE__ */ a(No, { children: h });
|
|
@@ -4221,12 +4228,12 @@ const Pt = _(
|
|
|
4221
4228
|
}
|
|
4222
4229
|
);
|
|
4223
4230
|
return c ? /* @__PURE__ */ a(
|
|
4224
|
-
|
|
4231
|
+
He,
|
|
4225
4232
|
{
|
|
4226
4233
|
formLayout: c,
|
|
4227
4234
|
labelSize: d,
|
|
4228
|
-
controlMaxWidth:
|
|
4229
|
-
controlMinWidth:
|
|
4235
|
+
controlMaxWidth: p,
|
|
4236
|
+
controlMinWidth: m,
|
|
4230
4237
|
children: P
|
|
4231
4238
|
}
|
|
4232
4239
|
) : P;
|
|
@@ -4273,7 +4280,7 @@ function pd(r) {
|
|
|
4273
4280
|
const Ta = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4274
4281
|
const t = u(n, e), s = t.className, l = rt.root, i = s ? `${l} ${s}` : l;
|
|
4275
4282
|
return /* @__PURE__ */ a(
|
|
4276
|
-
|
|
4283
|
+
Ye,
|
|
4277
4284
|
{
|
|
4278
4285
|
ref: o,
|
|
4279
4286
|
...t,
|
|
@@ -4286,7 +4293,7 @@ const $a = _(
|
|
|
4286
4293
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4287
4294
|
const t = u(n, e);
|
|
4288
4295
|
return /* @__PURE__ */ a(
|
|
4289
|
-
|
|
4296
|
+
Ye.Thead,
|
|
4290
4297
|
{
|
|
4291
4298
|
ref: o,
|
|
4292
4299
|
...t
|
|
@@ -4299,7 +4306,7 @@ const wa = _(
|
|
|
4299
4306
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4300
4307
|
const t = u(n, e);
|
|
4301
4308
|
return /* @__PURE__ */ a(
|
|
4302
|
-
|
|
4309
|
+
Ye.Tbody,
|
|
4303
4310
|
{
|
|
4304
4311
|
ref: o,
|
|
4305
4312
|
...t
|
|
@@ -4312,7 +4319,7 @@ const Sa = _(
|
|
|
4312
4319
|
function({ overStyled: e = !1, selected: n = !1, disabled: o = !1, ...t }, s) {
|
|
4313
4320
|
const l = u(t, e);
|
|
4314
4321
|
return /* @__PURE__ */ a(
|
|
4315
|
-
|
|
4322
|
+
Ye.Tr,
|
|
4316
4323
|
{
|
|
4317
4324
|
ref: s,
|
|
4318
4325
|
...l,
|
|
@@ -4324,18 +4331,26 @@ const Sa = _(
|
|
|
4324
4331
|
);
|
|
4325
4332
|
Sa.displayName = "TableTr";
|
|
4326
4333
|
const xa = _(
|
|
4327
|
-
function({
|
|
4328
|
-
|
|
4334
|
+
function({
|
|
4335
|
+
overStyled: e = !1,
|
|
4336
|
+
sorted: n = !1,
|
|
4337
|
+
disabled: o = !1,
|
|
4338
|
+
variant: t = "default",
|
|
4339
|
+
children: s,
|
|
4340
|
+
...l
|
|
4341
|
+
}, i) {
|
|
4342
|
+
const c = u(l, e);
|
|
4329
4343
|
return /* @__PURE__ */ A(
|
|
4330
|
-
|
|
4344
|
+
Ye.Th,
|
|
4331
4345
|
{
|
|
4332
|
-
ref:
|
|
4333
|
-
...
|
|
4346
|
+
ref: i,
|
|
4347
|
+
...c,
|
|
4334
4348
|
"data-sorted": n ? "true" : void 0,
|
|
4335
4349
|
"data-disabled": o ? "true" : void 0,
|
|
4350
|
+
"data-currency": t === "currency" ? "true" : void 0,
|
|
4336
4351
|
"aria-sort": n === "asc" ? "ascending" : n === "desc" ? "descending" : void 0,
|
|
4337
4352
|
children: [
|
|
4338
|
-
|
|
4353
|
+
s,
|
|
4339
4354
|
n === "asc" && /* @__PURE__ */ a(ud, { className: rt.sortIcon }),
|
|
4340
4355
|
n === "desc" && /* @__PURE__ */ a(pd, { className: rt.sortIcon })
|
|
4341
4356
|
]
|
|
@@ -4348,7 +4363,7 @@ const Oa = _(
|
|
|
4348
4363
|
function({ overStyled: e = !1, disabled: n = !1, variant: o = "default", ...t }, s) {
|
|
4349
4364
|
const l = u(t, e);
|
|
4350
4365
|
return /* @__PURE__ */ a(
|
|
4351
|
-
|
|
4366
|
+
Ye.Td,
|
|
4352
4367
|
{
|
|
4353
4368
|
ref: s,
|
|
4354
4369
|
...l,
|
|
@@ -4359,11 +4374,11 @@ const Oa = _(
|
|
|
4359
4374
|
}
|
|
4360
4375
|
);
|
|
4361
4376
|
Oa.displayName = "TableTd";
|
|
4362
|
-
const
|
|
4377
|
+
const ka = _(
|
|
4363
4378
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4364
4379
|
const t = u(n, e);
|
|
4365
4380
|
return /* @__PURE__ */ a(
|
|
4366
|
-
|
|
4381
|
+
Ye.Tfoot,
|
|
4367
4382
|
{
|
|
4368
4383
|
ref: o,
|
|
4369
4384
|
...t
|
|
@@ -4371,22 +4386,22 @@ const Ia = _(
|
|
|
4371
4386
|
);
|
|
4372
4387
|
}
|
|
4373
4388
|
);
|
|
4374
|
-
|
|
4375
|
-
const
|
|
4389
|
+
ka.displayName = "TableTfoot";
|
|
4390
|
+
const Ia = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4376
4391
|
const t = u(n, e);
|
|
4377
4392
|
return /* @__PURE__ */ a(
|
|
4378
|
-
|
|
4393
|
+
Ye.Caption,
|
|
4379
4394
|
{
|
|
4380
4395
|
ref: o,
|
|
4381
4396
|
...t
|
|
4382
4397
|
}
|
|
4383
4398
|
);
|
|
4384
4399
|
});
|
|
4385
|
-
|
|
4400
|
+
Ia.displayName = "TableCaption";
|
|
4386
4401
|
const Ra = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4387
4402
|
const t = u(n, e);
|
|
4388
4403
|
return /* @__PURE__ */ a(
|
|
4389
|
-
|
|
4404
|
+
Ye.ScrollContainer,
|
|
4390
4405
|
{
|
|
4391
4406
|
ref: o,
|
|
4392
4407
|
...t
|
|
@@ -4394,15 +4409,15 @@ const Ra = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4394
4409
|
);
|
|
4395
4410
|
});
|
|
4396
4411
|
Ra.displayName = "TableScrollContainer";
|
|
4397
|
-
const
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4412
|
+
const Qe = Ta;
|
|
4413
|
+
Qe.Thead = $a;
|
|
4414
|
+
Qe.Tbody = wa;
|
|
4415
|
+
Qe.Tr = Sa;
|
|
4416
|
+
Qe.Th = xa;
|
|
4417
|
+
Qe.Td = Oa;
|
|
4418
|
+
Qe.Tfoot = ka;
|
|
4419
|
+
Qe.Caption = Ia;
|
|
4420
|
+
Qe.ScrollContainer = Ra;
|
|
4406
4421
|
const md = "Tabs-module__root___-VKVI", _d = "Tabs-module__list___qRVME", fd = "Tabs-module__tab___IdDYc", yd = "Tabs-module__panel___08i9c", Bo = {
|
|
4407
4422
|
root: md,
|
|
4408
4423
|
list: _d,
|
|
@@ -4415,7 +4430,7 @@ const md = "Tabs-module__root___-VKVI", _d = "Tabs-module__list___qRVME", fd = "
|
|
|
4415
4430
|
overStyled: s = !1,
|
|
4416
4431
|
className: l,
|
|
4417
4432
|
...i
|
|
4418
|
-
} = e, c = u(i, s), d = c,
|
|
4433
|
+
} = e, c = u(i, s), d = c, p = B(
|
|
4419
4434
|
{
|
|
4420
4435
|
list: Bo.list,
|
|
4421
4436
|
tab: Bo.tab,
|
|
@@ -4433,7 +4448,7 @@ const md = "Tabs-module__root___-VKVI", _d = "Tabs-module__list___qRVME", fd = "
|
|
|
4433
4448
|
className: `${Bo.root} ${l || ""}`,
|
|
4434
4449
|
"data-variant": o,
|
|
4435
4450
|
"data-orientation": t,
|
|
4436
|
-
classNames:
|
|
4451
|
+
classNames: p
|
|
4437
4452
|
}
|
|
4438
4453
|
);
|
|
4439
4454
|
});
|
|
@@ -4517,8 +4532,8 @@ const bd = Te(za), Cd = "TextArea-module__layoutOverride___4MCdm", Pd = "TextAre
|
|
|
4517
4532
|
labelOptionalText: i,
|
|
4518
4533
|
labelWithEditIcon: c,
|
|
4519
4534
|
onLabelEditClick: d,
|
|
4520
|
-
label:
|
|
4521
|
-
assistiveText:
|
|
4535
|
+
label: p,
|
|
4536
|
+
assistiveText: m,
|
|
4522
4537
|
assistiveWithIcon: C,
|
|
4523
4538
|
error: y,
|
|
4524
4539
|
required: N,
|
|
@@ -4558,8 +4573,8 @@ const bd = Te(za), Cd = "TextArea-module__layoutOverride___4MCdm", Pd = "TextAre
|
|
|
4558
4573
|
labelOptionalText: i,
|
|
4559
4574
|
labelWithEditIcon: c,
|
|
4560
4575
|
onLabelEditClick: d,
|
|
4561
|
-
label:
|
|
4562
|
-
assistiveText:
|
|
4576
|
+
label: p,
|
|
4577
|
+
assistiveText: m,
|
|
4563
4578
|
assistiveWithIcon: C,
|
|
4564
4579
|
error: y,
|
|
4565
4580
|
required: N,
|
|
@@ -4595,7 +4610,7 @@ const bd = Te(za), Cd = "TextArea-module__layoutOverride___4MCdm", Pd = "TextAre
|
|
|
4595
4610
|
}
|
|
4596
4611
|
);
|
|
4597
4612
|
Da.displayName = "TextArea";
|
|
4598
|
-
const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__root___2ZYkG", Sd = "TextField-module__input___RL-My", xd = "TextField-module__section___bCIJ0",
|
|
4613
|
+
const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__root___2ZYkG", Sd = "TextField-module__input___RL-My", xd = "TextField-module__section___bCIJ0", Io = {
|
|
4599
4614
|
layoutOverride: $d,
|
|
4600
4615
|
root: wd,
|
|
4601
4616
|
input: Sd,
|
|
@@ -4618,8 +4633,8 @@ const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__r
|
|
|
4618
4633
|
labelOptionalText: i,
|
|
4619
4634
|
labelWithEditIcon: c,
|
|
4620
4635
|
onLabelEditClick: d,
|
|
4621
|
-
label:
|
|
4622
|
-
assistiveText:
|
|
4636
|
+
label: p,
|
|
4637
|
+
assistiveText: m,
|
|
4623
4638
|
assistiveWithIcon: C,
|
|
4624
4639
|
error: y,
|
|
4625
4640
|
required: N,
|
|
@@ -4639,13 +4654,13 @@ const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__r
|
|
|
4639
4654
|
Od
|
|
4640
4655
|
), E = M, W = B(
|
|
4641
4656
|
{
|
|
4642
|
-
wrapper:
|
|
4657
|
+
wrapper: Io.root,
|
|
4643
4658
|
// The nested Input internal relative wrapper bounding box
|
|
4644
|
-
input:
|
|
4645
|
-
section:
|
|
4659
|
+
input: Io.input,
|
|
4660
|
+
section: Io.section
|
|
4646
4661
|
},
|
|
4647
4662
|
E.classNames
|
|
4648
|
-
), L = b ? `${
|
|
4663
|
+
), L = b ? `${Io.layoutOverride} ${b}` : Io.layoutOverride;
|
|
4649
4664
|
return /* @__PURE__ */ a(
|
|
4650
4665
|
ve,
|
|
4651
4666
|
{
|
|
@@ -4660,8 +4675,8 @@ const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__r
|
|
|
4660
4675
|
labelOptionalText: i,
|
|
4661
4676
|
labelWithEditIcon: c,
|
|
4662
4677
|
onLabelEditClick: d,
|
|
4663
|
-
label:
|
|
4664
|
-
assistiveText:
|
|
4678
|
+
label: p,
|
|
4679
|
+
assistiveText: m,
|
|
4665
4680
|
assistiveWithIcon: C,
|
|
4666
4681
|
error: y,
|
|
4667
4682
|
required: N,
|
|
@@ -4696,7 +4711,7 @@ const $d = "TextField-module__layoutOverride___SNZqc", wd = "TextField-module__r
|
|
|
4696
4711
|
}
|
|
4697
4712
|
);
|
|
4698
4713
|
gt.displayName = "TextField";
|
|
4699
|
-
const
|
|
4714
|
+
const kd = [
|
|
4700
4715
|
"size",
|
|
4701
4716
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4702
4717
|
"variant",
|
|
@@ -4706,8 +4721,8 @@ const Id = [
|
|
|
4706
4721
|
], Ea = _(function(e, n) {
|
|
4707
4722
|
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = G(
|
|
4708
4723
|
u(i, o),
|
|
4709
|
-
|
|
4710
|
-
), d = c,
|
|
4724
|
+
kd
|
|
4725
|
+
), d = c, p = B(
|
|
4711
4726
|
{
|
|
4712
4727
|
wrapper: t ? `${te.root} ${t}` : te.root,
|
|
4713
4728
|
input: te.input,
|
|
@@ -4722,7 +4737,7 @@ const Id = [
|
|
|
4722
4737
|
{
|
|
4723
4738
|
ref: n,
|
|
4724
4739
|
...c,
|
|
4725
|
-
classNames:
|
|
4740
|
+
classNames: p,
|
|
4726
4741
|
disabled: s,
|
|
4727
4742
|
label: void 0,
|
|
4728
4743
|
description: void 0,
|
|
@@ -4737,15 +4752,16 @@ const Id = [
|
|
|
4737
4752
|
);
|
|
4738
4753
|
});
|
|
4739
4754
|
Ea.displayName = "BareDropdown";
|
|
4740
|
-
const
|
|
4741
|
-
layoutOverride:
|
|
4755
|
+
const Id = "TimePicker-module__layoutOverride___zKo4Q", Rd = "TimePicker-module__root___BcvRu", Ld = "TimePicker-module__timeWrapper___hJVre", Md = "TimePicker-module__timeInput___FQysn", Ad = "TimePicker-module__fieldsGroup___2yHhR", Wd = "TimePicker-module__section___VkSWB", zd = "TimePicker-module__timeField___twRZd", Dd = "TimePicker-module__amPmSelect___mSdvt", Ue = {
|
|
4756
|
+
layoutOverride: Id,
|
|
4742
4757
|
root: Rd,
|
|
4743
4758
|
timeWrapper: Ld,
|
|
4744
4759
|
timeInput: Md,
|
|
4745
4760
|
fieldsGroup: Ad,
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4761
|
+
section: Wd,
|
|
4762
|
+
timeField: zd,
|
|
4763
|
+
amPmSelect: Dd
|
|
4764
|
+
}, Ed = [
|
|
4749
4765
|
{ value: "AM", label: "AM" },
|
|
4750
4766
|
{ value: "PM", label: "PM" }
|
|
4751
4767
|
];
|
|
@@ -4754,17 +4770,17 @@ function Wt(r) {
|
|
|
4754
4770
|
const e = parseInt(r.slice(0, 2), 10);
|
|
4755
4771
|
return Number.isNaN(e) ? void 0 : e;
|
|
4756
4772
|
}
|
|
4757
|
-
function
|
|
4773
|
+
function Bd(r, e) {
|
|
4758
4774
|
return `${String(e).padStart(2, "0")}${r.slice(2)}`;
|
|
4759
4775
|
}
|
|
4760
|
-
function
|
|
4776
|
+
function Fd(r) {
|
|
4761
4777
|
if (!r) return;
|
|
4762
4778
|
const [e, n, o] = r.split(":"), t = parseInt(e, 10);
|
|
4763
4779
|
if (Number.isNaN(t) || n === void 0) return r;
|
|
4764
4780
|
const s = t >= 12, l = t % 12 === 0 ? 12 : t % 12, i = o !== void 0 ? `${n}:${o}` : n;
|
|
4765
4781
|
return `${l}:${i} ${s ? "PM" : "AM"}`;
|
|
4766
4782
|
}
|
|
4767
|
-
function
|
|
4783
|
+
function Ud(r, e) {
|
|
4768
4784
|
var o;
|
|
4769
4785
|
const n = (o = Object.getOwnPropertyDescriptor(
|
|
4770
4786
|
window.HTMLSelectElement.prototype,
|
|
@@ -4772,7 +4788,7 @@ function Fd(r, e) {
|
|
|
4772
4788
|
)) == null ? void 0 : o.set;
|
|
4773
4789
|
n == null || n.call(r, e), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
4774
4790
|
}
|
|
4775
|
-
const
|
|
4791
|
+
const Vd = [
|
|
4776
4792
|
"size",
|
|
4777
4793
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4778
4794
|
"variant",
|
|
@@ -4790,8 +4806,8 @@ const Ud = [
|
|
|
4790
4806
|
labelOptionalText: i,
|
|
4791
4807
|
labelWithEditIcon: c,
|
|
4792
4808
|
onLabelEditClick: d,
|
|
4793
|
-
label:
|
|
4794
|
-
assistiveText:
|
|
4809
|
+
label: p,
|
|
4810
|
+
assistiveText: m,
|
|
4795
4811
|
assistiveWithIcon: C,
|
|
4796
4812
|
error: y,
|
|
4797
4813
|
required: N,
|
|
@@ -4812,28 +4828,28 @@ const Ud = [
|
|
|
4812
4828
|
...L
|
|
4813
4829
|
} = e, Z = G(
|
|
4814
4830
|
u(L, o),
|
|
4815
|
-
|
|
4831
|
+
Vd
|
|
4816
4832
|
), j = Z, [q, X] = ce(
|
|
4817
4833
|
() => w ?? h
|
|
4818
4834
|
);
|
|
4819
|
-
|
|
4835
|
+
Ie(() => {
|
|
4820
4836
|
w !== void 0 && X(w);
|
|
4821
4837
|
}, [w]);
|
|
4822
|
-
const H =
|
|
4823
|
-
|
|
4824
|
-
Wt(w ?? h) === void 0 && H.current &&
|
|
4838
|
+
const H = Ge(null);
|
|
4839
|
+
Ie(() => {
|
|
4840
|
+
Wt(w ?? h) === void 0 && H.current && Ud(H.current, "AM");
|
|
4825
4841
|
}, []);
|
|
4826
|
-
const Y = (
|
|
4827
|
-
X(
|
|
4828
|
-
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12, D = (
|
|
4829
|
-
Y(
|
|
4830
|
-
}, re = (
|
|
4831
|
-
if (ee === void 0 || !q || !
|
|
4832
|
-
const le =
|
|
4842
|
+
const Y = (k) => {
|
|
4843
|
+
X(k), O == null || O(k);
|
|
4844
|
+
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12, D = (k) => {
|
|
4845
|
+
Y(k);
|
|
4846
|
+
}, re = (k) => {
|
|
4847
|
+
if (ee === void 0 || !q || !k) return;
|
|
4848
|
+
const le = k === "PM";
|
|
4833
4849
|
if (le === ue) return;
|
|
4834
4850
|
const Ne = le ? ee + 12 : ee - 12;
|
|
4835
|
-
Y(
|
|
4836
|
-
}, pe = b ? `${
|
|
4851
|
+
Y(Bd(q, Ne));
|
|
4852
|
+
}, pe = b ? `${Ue.layoutOverride} ${b}` : Ue.layoutOverride;
|
|
4837
4853
|
return /* @__PURE__ */ a(
|
|
4838
4854
|
ve,
|
|
4839
4855
|
{
|
|
@@ -4848,8 +4864,8 @@ const Ud = [
|
|
|
4848
4864
|
labelOptionalText: i,
|
|
4849
4865
|
labelWithEditIcon: c,
|
|
4850
4866
|
onLabelEditClick: d,
|
|
4851
|
-
label:
|
|
4852
|
-
assistiveText:
|
|
4867
|
+
label: p,
|
|
4868
|
+
assistiveText: m,
|
|
4853
4869
|
assistiveWithIcon: C,
|
|
4854
4870
|
error: y,
|
|
4855
4871
|
required: N,
|
|
@@ -4859,7 +4875,7 @@ const Ud = [
|
|
|
4859
4875
|
readOnlyComponent: P,
|
|
4860
4876
|
emptyValueComponent: f,
|
|
4861
4877
|
readOnlyType: "text",
|
|
4862
|
-
readOnlyValue:
|
|
4878
|
+
readOnlyValue: Fd(
|
|
4863
4879
|
w !== void 0 ? w : h
|
|
4864
4880
|
),
|
|
4865
4881
|
readOnlyNativeProps: e,
|
|
@@ -4872,7 +4888,7 @@ const Ud = [
|
|
|
4872
4888
|
/* @__PURE__ */ A(
|
|
4873
4889
|
"div",
|
|
4874
4890
|
{
|
|
4875
|
-
className:
|
|
4891
|
+
className: Ue.root,
|
|
4876
4892
|
"data-disabled": $ ? "true" : void 0,
|
|
4877
4893
|
"data-error": y ? "true" : void 0,
|
|
4878
4894
|
children: [
|
|
@@ -4883,10 +4899,11 @@ const Ud = [
|
|
|
4883
4899
|
...Z,
|
|
4884
4900
|
classNames: B(
|
|
4885
4901
|
{
|
|
4886
|
-
wrapper:
|
|
4887
|
-
input:
|
|
4888
|
-
|
|
4889
|
-
|
|
4902
|
+
wrapper: Ue.timeWrapper,
|
|
4903
|
+
input: Ue.timeInput,
|
|
4904
|
+
section: Ue.section,
|
|
4905
|
+
fieldsGroup: Ue.fieldsGroup,
|
|
4906
|
+
field: Ue.timeField
|
|
4890
4907
|
},
|
|
4891
4908
|
j.classNames
|
|
4892
4909
|
),
|
|
@@ -4905,9 +4922,9 @@ const Ud = [
|
|
|
4905
4922
|
Ea,
|
|
4906
4923
|
{
|
|
4907
4924
|
overStyled: !0,
|
|
4908
|
-
className:
|
|
4925
|
+
className: Ue.amPmSelect,
|
|
4909
4926
|
styles: { wrapper: { width: "fit-content" } },
|
|
4910
|
-
data:
|
|
4927
|
+
data: Ed,
|
|
4911
4928
|
value: ue ? "PM" : "AM",
|
|
4912
4929
|
onChange: re,
|
|
4913
4930
|
disabled: $,
|
|
@@ -4924,15 +4941,15 @@ const Ud = [
|
|
|
4924
4941
|
}
|
|
4925
4942
|
);
|
|
4926
4943
|
Ba.displayName = "TimePicker";
|
|
4927
|
-
const
|
|
4928
|
-
root:
|
|
4929
|
-
item:
|
|
4930
|
-
itemBody:
|
|
4931
|
-
itemBullet:
|
|
4932
|
-
itemTitle:
|
|
4933
|
-
itemContent:
|
|
4934
|
-
description:
|
|
4935
|
-
timestamp:
|
|
4944
|
+
const Gd = "Timeline-module__root___LwRdZ", Hd = "Timeline-module__item___T5xdQ", jd = "Timeline-module__itemBody___XAV-E", qd = "Timeline-module__itemBullet___rPXCy", Kd = "Timeline-module__itemTitle___GgRRW", Yd = "Timeline-module__itemContent___vurs-", Zd = "Timeline-module__description___f9sxV", Qd = "Timeline-module__timestamp___owiRu", so = {
|
|
4945
|
+
root: Gd,
|
|
4946
|
+
item: Hd,
|
|
4947
|
+
itemBody: jd,
|
|
4948
|
+
itemBullet: qd,
|
|
4949
|
+
itemTitle: Kd,
|
|
4950
|
+
itemContent: Yd,
|
|
4951
|
+
description: Zd,
|
|
4952
|
+
timestamp: Qd
|
|
4936
4953
|
}, Tt = K.forwardRef(
|
|
4937
4954
|
function({
|
|
4938
4955
|
overStyled: e = !1,
|
|
@@ -4950,7 +4967,7 @@ const Vd = "Timeline-module__root___LwRdZ", Gd = "Timeline-module__item___T5xdQ"
|
|
|
4950
4967
|
itemTitle: so.itemTitle
|
|
4951
4968
|
},
|
|
4952
4969
|
c.classNames
|
|
4953
|
-
),
|
|
4970
|
+
), p = n ? /* @__PURE__ */ A(No, { children: [
|
|
4954
4971
|
t && /* @__PURE__ */ a("div", { className: so.description, children: t }),
|
|
4955
4972
|
/* @__PURE__ */ a("div", { className: so.timestamp, children: n })
|
|
4956
4973
|
] }) : t;
|
|
@@ -4961,7 +4978,7 @@ const Vd = "Timeline-module__root___LwRdZ", Gd = "Timeline-module__item___T5xdQ"
|
|
|
4961
4978
|
...i,
|
|
4962
4979
|
classNames: d,
|
|
4963
4980
|
"data-variant": o,
|
|
4964
|
-
children:
|
|
4981
|
+
children: p
|
|
4965
4982
|
}
|
|
4966
4983
|
);
|
|
4967
4984
|
}
|
|
@@ -4986,14 +5003,14 @@ const Fa = K.forwardRef(
|
|
|
4986
5003
|
Fa.displayName = "Timeline";
|
|
4987
5004
|
const Ua = Fa;
|
|
4988
5005
|
Ua.Item = Tt;
|
|
4989
|
-
const
|
|
4990
|
-
root:
|
|
4991
|
-
icon:
|
|
4992
|
-
loader:
|
|
4993
|
-
title:
|
|
4994
|
-
description:
|
|
4995
|
-
closeButton:
|
|
4996
|
-
body:
|
|
5006
|
+
const Xd = "Toast-module__root___MUvfI", Jd = "Toast-module__icon___VwvE1", eu = "Toast-module__loader___8Gxd-", ou = "Toast-module__title___-H6R2", tu = "Toast-module__description___-QwfC", nu = "Toast-module__closeButton___vGr7g", au = "Toast-module__body___VLkXA", ho = {
|
|
5007
|
+
root: Xd,
|
|
5008
|
+
icon: Jd,
|
|
5009
|
+
loader: eu,
|
|
5010
|
+
title: ou,
|
|
5011
|
+
description: tu,
|
|
5012
|
+
closeButton: nu,
|
|
5013
|
+
body: au
|
|
4997
5014
|
}, Va = K.forwardRef(
|
|
4998
5015
|
function({
|
|
4999
5016
|
overStyled: e = !1,
|
|
@@ -5038,9 +5055,9 @@ const Qd = "Toast-module__root___MUvfI", Xd = "Toast-module__icon___VwvE1", Jd =
|
|
|
5038
5055
|
}
|
|
5039
5056
|
);
|
|
5040
5057
|
Va.displayName = "Toast";
|
|
5041
|
-
const
|
|
5042
|
-
tooltip:
|
|
5043
|
-
arrow:
|
|
5058
|
+
const ru = "Tooltip-module__tooltip___UA7H9", su = "Tooltip-module__arrow___4zROk", zt = {
|
|
5059
|
+
tooltip: ru,
|
|
5060
|
+
arrow: su
|
|
5044
5061
|
}, Ga = function({
|
|
5045
5062
|
overStyled: e = !1,
|
|
5046
5063
|
withBeak: n = !0,
|
|
@@ -5088,17 +5105,17 @@ Ha.displayName = "TooltipFloating";
|
|
|
5088
5105
|
const $t = Ga;
|
|
5089
5106
|
$t.Floating = Ha;
|
|
5090
5107
|
$t.Group = ct.Group;
|
|
5091
|
-
const
|
|
5092
|
-
layoutOverride:
|
|
5093
|
-
root:
|
|
5094
|
-
panes:
|
|
5095
|
-
pane:
|
|
5096
|
-
paneHeader:
|
|
5097
|
-
paneSearch:
|
|
5098
|
-
paneList:
|
|
5099
|
-
emptyState:
|
|
5100
|
-
transferColumn:
|
|
5101
|
-
chevron:
|
|
5108
|
+
const lu = "TransferList-module__layoutOverride___nkb32", iu = "TransferList-module__root___ikjI7", cu = "TransferList-module__panes___dtwkW", du = "TransferList-module__pane___hy-kC", uu = "TransferList-module__paneHeader___HZrKX", pu = "TransferList-module__paneSearch___Xji-g", mu = "TransferList-module__paneList___v0rcJ", _u = "TransferList-module__emptyState___azPw-", fu = "TransferList-module__transferColumn___3R2Ki", yu = "TransferList-module__chevron___l-KdI", ge = {
|
|
5109
|
+
layoutOverride: lu,
|
|
5110
|
+
root: iu,
|
|
5111
|
+
panes: cu,
|
|
5112
|
+
pane: du,
|
|
5113
|
+
paneHeader: uu,
|
|
5114
|
+
paneSearch: pu,
|
|
5115
|
+
paneList: mu,
|
|
5116
|
+
emptyState: _u,
|
|
5117
|
+
transferColumn: fu,
|
|
5118
|
+
chevron: yu
|
|
5102
5119
|
};
|
|
5103
5120
|
function Dt({ direction: r }) {
|
|
5104
5121
|
return /* @__PURE__ */ a(
|
|
@@ -5138,7 +5155,7 @@ function Et({ direction: r }) {
|
|
|
5138
5155
|
}
|
|
5139
5156
|
);
|
|
5140
5157
|
}
|
|
5141
|
-
function
|
|
5158
|
+
function hu(r) {
|
|
5142
5159
|
const e = {}, n = [];
|
|
5143
5160
|
return r.forEach((o) => {
|
|
5144
5161
|
var t;
|
|
@@ -5156,8 +5173,8 @@ const ja = _(
|
|
|
5156
5173
|
labelOptionalText: i,
|
|
5157
5174
|
labelWithEditIcon: c,
|
|
5158
5175
|
labelActionArea: d,
|
|
5159
|
-
onLabelEditClick:
|
|
5160
|
-
label:
|
|
5176
|
+
onLabelEditClick: p,
|
|
5177
|
+
label: m,
|
|
5161
5178
|
assistiveText: C,
|
|
5162
5179
|
description: y,
|
|
5163
5180
|
helperText: N,
|
|
@@ -5186,23 +5203,23 @@ const ja = _(
|
|
|
5186
5203
|
f === void 0 && ue(V), h == null || h(V);
|
|
5187
5204
|
},
|
|
5188
5205
|
[f, h]
|
|
5189
|
-
), [pe,
|
|
5206
|
+
), [pe, k] = ce(""), [le, Ne] = ce(""), [se, ie] = ce(
|
|
5190
5207
|
() => /* @__PURE__ */ new Set()
|
|
5191
5208
|
), [be, $e] = ce(
|
|
5192
5209
|
() => /* @__PURE__ */ new Set()
|
|
5193
|
-
),
|
|
5210
|
+
), Xe = kt(() => {
|
|
5194
5211
|
if (!pe) return D[0];
|
|
5195
5212
|
const V = pe.toLowerCase();
|
|
5196
5213
|
return D[0].filter(
|
|
5197
5214
|
(F) => F.label.toLowerCase().includes(V)
|
|
5198
5215
|
);
|
|
5199
|
-
}, [D, pe]), we =
|
|
5216
|
+
}, [D, pe]), we = kt(() => {
|
|
5200
5217
|
if (!le) return D[1];
|
|
5201
5218
|
const V = le.toLowerCase();
|
|
5202
5219
|
return D[1].filter(
|
|
5203
5220
|
(F) => F.label.toLowerCase().includes(V)
|
|
5204
5221
|
);
|
|
5205
|
-
}, [D, le]),
|
|
5222
|
+
}, [D, le]), Je = _o(() => {
|
|
5206
5223
|
if (se.size === 0) return;
|
|
5207
5224
|
const V = D[0].filter(
|
|
5208
5225
|
(z) => !se.has(z.value)
|
|
@@ -5227,13 +5244,13 @@ const ja = _(
|
|
|
5227
5244
|
const z = new Set(F);
|
|
5228
5245
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5229
5246
|
});
|
|
5230
|
-
}, []),
|
|
5247
|
+
}, []), eo = _o((V) => {
|
|
5231
5248
|
$e((F) => {
|
|
5232
5249
|
const z = new Set(F);
|
|
5233
5250
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5234
5251
|
});
|
|
5235
|
-
}, []), xe = (V, F, z,
|
|
5236
|
-
const { groups: mo, ungrouped: x } =
|
|
5252
|
+
}, []), xe = (V, F, z, I, U, Q, _e, to) => {
|
|
5253
|
+
const { groups: mo, ungrouped: x } = hu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${I.length}` : `${I.length}`;
|
|
5237
5254
|
return /* @__PURE__ */ A("div", { className: ge.pane, "data-pane": V, children: [
|
|
5238
5255
|
/* @__PURE__ */ A("div", { className: ge.paneHeader, children: [
|
|
5239
5256
|
/* @__PURE__ */ a("span", { children: F }),
|
|
@@ -5243,7 +5260,7 @@ const ja = _(
|
|
|
5243
5260
|
gt,
|
|
5244
5261
|
{
|
|
5245
5262
|
value: _e,
|
|
5246
|
-
onChange: (J) =>
|
|
5263
|
+
onChange: (J) => to(J.currentTarget.value),
|
|
5247
5264
|
placeholder: W,
|
|
5248
5265
|
disabled: L,
|
|
5249
5266
|
"aria-label": `Filter ${F.toLowerCase()}`
|
|
@@ -5283,7 +5300,7 @@ const ja = _(
|
|
|
5283
5300
|
))
|
|
5284
5301
|
] })
|
|
5285
5302
|
] });
|
|
5286
|
-
},
|
|
5303
|
+
}, oo = Z ? `${ge.layoutOverride} ${Z}` : ge.layoutOverride;
|
|
5287
5304
|
return /* @__PURE__ */ a(
|
|
5288
5305
|
ve,
|
|
5289
5306
|
{
|
|
@@ -5294,8 +5311,8 @@ const ja = _(
|
|
|
5294
5311
|
labelOptionalText: i,
|
|
5295
5312
|
labelWithEditIcon: c,
|
|
5296
5313
|
labelActionArea: d,
|
|
5297
|
-
onLabelEditClick:
|
|
5298
|
-
label:
|
|
5314
|
+
onLabelEditClick: p,
|
|
5315
|
+
label: m,
|
|
5299
5316
|
assistiveText: C,
|
|
5300
5317
|
description: y,
|
|
5301
5318
|
helperText: N,
|
|
@@ -5303,7 +5320,7 @@ const ja = _(
|
|
|
5303
5320
|
error: S,
|
|
5304
5321
|
required: b,
|
|
5305
5322
|
id: Y,
|
|
5306
|
-
className:
|
|
5323
|
+
className: oo,
|
|
5307
5324
|
style: j,
|
|
5308
5325
|
overStyled: o,
|
|
5309
5326
|
readOnly: $,
|
|
@@ -5323,12 +5340,12 @@ const ja = _(
|
|
|
5323
5340
|
xe(
|
|
5324
5341
|
"source",
|
|
5325
5342
|
O,
|
|
5326
|
-
|
|
5343
|
+
Xe,
|
|
5327
5344
|
D[0],
|
|
5328
5345
|
se,
|
|
5329
5346
|
Se,
|
|
5330
5347
|
pe,
|
|
5331
|
-
|
|
5348
|
+
k
|
|
5332
5349
|
),
|
|
5333
5350
|
/* @__PURE__ */ A("div", { className: ge.transferColumn, children: [
|
|
5334
5351
|
/* @__PURE__ */ a(
|
|
@@ -5350,7 +5367,7 @@ const ja = _(
|
|
|
5350
5367
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5351
5368
|
"aria-label": `Move selected to ${M}`,
|
|
5352
5369
|
disabled: L || se.size === 0,
|
|
5353
|
-
onClick:
|
|
5370
|
+
onClick: Je
|
|
5354
5371
|
}
|
|
5355
5372
|
),
|
|
5356
5373
|
/* @__PURE__ */ a(
|
|
@@ -5382,7 +5399,7 @@ const ja = _(
|
|
|
5382
5399
|
we,
|
|
5383
5400
|
D[1],
|
|
5384
5401
|
be,
|
|
5385
|
-
|
|
5402
|
+
eo,
|
|
5386
5403
|
le,
|
|
5387
5404
|
Ne
|
|
5388
5405
|
)
|
|
@@ -5394,16 +5411,16 @@ const ja = _(
|
|
|
5394
5411
|
}
|
|
5395
5412
|
);
|
|
5396
5413
|
ja.displayName = "TransferList";
|
|
5397
|
-
const
|
|
5398
|
-
root:
|
|
5399
|
-
subtree:
|
|
5400
|
-
node:
|
|
5401
|
-
row:
|
|
5402
|
-
label:
|
|
5403
|
-
expandButton:
|
|
5404
|
-
expandGlyph:
|
|
5414
|
+
const vu = "Tree-module__root___ANcH3", Nu = "Tree-module__subtree___KoLT8", bu = "Tree-module__node___Hvnjg", Cu = "Tree-module__row___sq5ff", Pu = "Tree-module__label___zJDit", gu = "Tree-module__expandButton___W0WTT", Tu = "Tree-module__expandGlyph___w8dDQ", uo = {
|
|
5415
|
+
root: vu,
|
|
5416
|
+
subtree: Nu,
|
|
5417
|
+
node: bu,
|
|
5418
|
+
row: Cu,
|
|
5419
|
+
label: Pu,
|
|
5420
|
+
expandButton: gu,
|
|
5421
|
+
expandGlyph: Tu
|
|
5405
5422
|
};
|
|
5406
|
-
function
|
|
5423
|
+
function $u() {
|
|
5407
5424
|
return /* @__PURE__ */ a(
|
|
5408
5425
|
"svg",
|
|
5409
5426
|
{
|
|
@@ -5421,7 +5438,7 @@ function Tu() {
|
|
|
5421
5438
|
}
|
|
5422
5439
|
);
|
|
5423
5440
|
}
|
|
5424
|
-
function
|
|
5441
|
+
function wu(r) {
|
|
5425
5442
|
return function({
|
|
5426
5443
|
node: n,
|
|
5427
5444
|
hasChildren: o,
|
|
@@ -5444,7 +5461,7 @@ function $u(r) {
|
|
|
5444
5461
|
overStyled: !0,
|
|
5445
5462
|
variant: "text",
|
|
5446
5463
|
size: "small",
|
|
5447
|
-
icon: /* @__PURE__ */ a(
|
|
5464
|
+
icon: /* @__PURE__ */ a($u, {}),
|
|
5448
5465
|
"aria-label": "Toggle subtree",
|
|
5449
5466
|
"aria-hidden": "true",
|
|
5450
5467
|
tabIndex: -1,
|
|
@@ -5471,20 +5488,20 @@ const qa = _(function({
|
|
|
5471
5488
|
onNodeExpand: i,
|
|
5472
5489
|
onNodeCollapse: c,
|
|
5473
5490
|
onSelectedChange: d,
|
|
5474
|
-
...
|
|
5475
|
-
},
|
|
5476
|
-
const C = u(
|
|
5491
|
+
...p
|
|
5492
|
+
}, m) {
|
|
5493
|
+
const C = u(p, e), y = br({
|
|
5477
5494
|
initialExpandedState: o ? Cr(n, o) : void 0,
|
|
5478
5495
|
initialSelectedState: t,
|
|
5479
5496
|
multiple: s,
|
|
5480
5497
|
onNodeExpand: i,
|
|
5481
5498
|
onNodeCollapse: c
|
|
5482
5499
|
});
|
|
5483
|
-
|
|
5500
|
+
Ie(() => {
|
|
5484
5501
|
d == null || d(y.selectedState);
|
|
5485
5502
|
}, [y.selectedState, d]);
|
|
5486
5503
|
const N = K.useRef(null);
|
|
5487
|
-
|
|
5504
|
+
Ie(() => {
|
|
5488
5505
|
const $ = N.current;
|
|
5489
5506
|
if (!$) return;
|
|
5490
5507
|
const g = (P) => {
|
|
@@ -5495,7 +5512,7 @@ const qa = _(function({
|
|
|
5495
5512
|
w && (P.preventDefault(), y.select(w));
|
|
5496
5513
|
};
|
|
5497
5514
|
return $.addEventListener("keydown", g), () => $.removeEventListener("keydown", g);
|
|
5498
|
-
}, [y.select, l]),
|
|
5515
|
+
}, [y.select, l]), Ie(() => {
|
|
5499
5516
|
const $ = N.current;
|
|
5500
5517
|
if (!$ || !l) return;
|
|
5501
5518
|
const g = (P) => {
|
|
@@ -5503,7 +5520,7 @@ const qa = _(function({
|
|
|
5503
5520
|
};
|
|
5504
5521
|
return $.addEventListener("keydown", g, { capture: !0 }), () => $.removeEventListener("keydown", g, { capture: !0 });
|
|
5505
5522
|
}, [l]);
|
|
5506
|
-
const v = $r(
|
|
5523
|
+
const v = $r(m, N), S = C, b = S.className, T = b ? `${uo.root} ${b}` : uo.root;
|
|
5507
5524
|
return /* @__PURE__ */ a(
|
|
5508
5525
|
Pr,
|
|
5509
5526
|
{
|
|
@@ -5514,7 +5531,7 @@ const qa = _(function({
|
|
|
5514
5531
|
expandOnClick: !1,
|
|
5515
5532
|
selectOnClick: !l,
|
|
5516
5533
|
expandOnSpace: !1,
|
|
5517
|
-
renderNode:
|
|
5534
|
+
renderNode: wu(l),
|
|
5518
5535
|
"data-disabled": l || void 0,
|
|
5519
5536
|
classNames: B(
|
|
5520
5537
|
{ root: T, node: uo.node, subtree: uo.subtree },
|
|
@@ -5524,179 +5541,179 @@ const qa = _(function({
|
|
|
5524
5541
|
);
|
|
5525
5542
|
});
|
|
5526
5543
|
qa.displayName = "Tree";
|
|
5527
|
-
const
|
|
5544
|
+
const zu = Ql, Du = Tn, Eu = gn, Bu = $n, Fu = Wc, Uu = fn, Vu = ci, Gu = bd, Hu = R(
|
|
5528
5545
|
Xo
|
|
5529
|
-
), Hu = R(
|
|
5530
|
-
dt
|
|
5531
5546
|
), ju = R(
|
|
5532
|
-
|
|
5547
|
+
dt
|
|
5533
5548
|
), qu = R(
|
|
5534
|
-
|
|
5549
|
+
Zo
|
|
5535
5550
|
), Ku = R(
|
|
5536
|
-
|
|
5551
|
+
Qo
|
|
5537
5552
|
), Yu = R(
|
|
5538
|
-
|
|
5553
|
+
Ho
|
|
5539
5554
|
), Zu = R(
|
|
5540
|
-
|
|
5555
|
+
on
|
|
5541
5556
|
), Qu = R(
|
|
5542
|
-
|
|
5557
|
+
$s
|
|
5543
5558
|
), Xu = R(
|
|
5544
|
-
|
|
5559
|
+
an
|
|
5545
5560
|
), Ju = R(
|
|
5546
|
-
|
|
5561
|
+
rn
|
|
5547
5562
|
), ep = R(
|
|
5548
|
-
|
|
5563
|
+
co
|
|
5549
5564
|
), op = R(
|
|
5550
|
-
|
|
5565
|
+
Vs
|
|
5551
5566
|
), tp = R(
|
|
5552
|
-
|
|
5567
|
+
Lo
|
|
5553
5568
|
), np = R(
|
|
5554
|
-
|
|
5569
|
+
Ro
|
|
5555
5570
|
), ap = R(
|
|
5556
|
-
|
|
5571
|
+
Mo
|
|
5557
5572
|
), rp = R(
|
|
5558
|
-
|
|
5573
|
+
yn
|
|
5559
5574
|
), sp = R(
|
|
5560
|
-
|
|
5575
|
+
hn
|
|
5561
5576
|
), lp = R(
|
|
5562
|
-
|
|
5577
|
+
vn
|
|
5563
5578
|
), ip = R(
|
|
5564
|
-
|
|
5579
|
+
Nn
|
|
5565
5580
|
), cp = R(
|
|
5566
|
-
|
|
5581
|
+
He
|
|
5567
5582
|
), dp = R(
|
|
5568
|
-
|
|
5583
|
+
wn
|
|
5569
5584
|
), up = R(
|
|
5570
|
-
|
|
5585
|
+
_t
|
|
5571
5586
|
), pp = R(
|
|
5572
|
-
|
|
5587
|
+
mt
|
|
5573
5588
|
), mp = R(
|
|
5574
|
-
|
|
5589
|
+
ut
|
|
5575
5590
|
), _p = R(
|
|
5576
|
-
|
|
5591
|
+
bo
|
|
5577
5592
|
), fp = R(
|
|
5578
|
-
|
|
5593
|
+
Ze
|
|
5579
5594
|
), yp = R(
|
|
5580
|
-
|
|
5595
|
+
Kn
|
|
5581
5596
|
), hp = R(
|
|
5582
|
-
|
|
5597
|
+
ze
|
|
5583
5598
|
), vp = R(
|
|
5584
|
-
|
|
5599
|
+
De
|
|
5585
5600
|
), Np = R(
|
|
5586
|
-
|
|
5601
|
+
ht
|
|
5587
5602
|
), bp = R(
|
|
5588
|
-
|
|
5603
|
+
vt
|
|
5589
5604
|
), Cp = R(
|
|
5590
|
-
|
|
5605
|
+
bt
|
|
5591
5606
|
), Pp = R(
|
|
5592
|
-
|
|
5607
|
+
Nt
|
|
5593
5608
|
), gp = R(
|
|
5594
|
-
|
|
5609
|
+
pt
|
|
5595
5610
|
), Tp = R(
|
|
5596
|
-
|
|
5611
|
+
hc
|
|
5597
5612
|
), $p = R(
|
|
5598
|
-
|
|
5613
|
+
ba
|
|
5599
5614
|
), wp = R(
|
|
5600
|
-
|
|
5615
|
+
Xc
|
|
5601
5616
|
), Sp = R(
|
|
5602
|
-
|
|
5617
|
+
Pt
|
|
5603
5618
|
), xp = R(
|
|
5604
|
-
|
|
5619
|
+
Ct
|
|
5605
5620
|
), Op = R(
|
|
5621
|
+
Qe
|
|
5622
|
+
), kp = R(
|
|
5606
5623
|
hd
|
|
5607
5624
|
), Ip = R(
|
|
5608
5625
|
Da
|
|
5609
|
-
), kp = R(
|
|
5610
|
-
gt
|
|
5611
5626
|
), Rp = R(
|
|
5612
|
-
|
|
5627
|
+
gt
|
|
5613
5628
|
), Lp = R(
|
|
5614
|
-
|
|
5629
|
+
Ba
|
|
5615
5630
|
), Mp = R(
|
|
5616
|
-
|
|
5631
|
+
Ua
|
|
5617
5632
|
), Ap = R(
|
|
5618
|
-
|
|
5633
|
+
Tt
|
|
5619
5634
|
), Wp = R(
|
|
5620
|
-
|
|
5635
|
+
Va
|
|
5621
5636
|
), zp = R(
|
|
5622
|
-
|
|
5637
|
+
$t
|
|
5623
5638
|
), Dp = R(
|
|
5639
|
+
ja
|
|
5640
|
+
), Ep = R(
|
|
5624
5641
|
qa
|
|
5625
5642
|
);
|
|
5626
5643
|
export {
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
+
Hu as Accordion,
|
|
5645
|
+
qu as AccordionControl,
|
|
5646
|
+
ju as AccordionItem,
|
|
5647
|
+
Ku as AccordionPanel,
|
|
5648
|
+
Yu as AssistiveElement,
|
|
5649
|
+
Zu as AutoComplete,
|
|
5650
|
+
Qu as Avatar,
|
|
5651
|
+
Xu as Badge,
|
|
5652
|
+
Ju as Breadcrumb,
|
|
5653
|
+
ep as Button,
|
|
5654
|
+
op as Card,
|
|
5655
|
+
tp as Checkbox,
|
|
5656
|
+
np as CheckboxGroup,
|
|
5657
|
+
ap as Chip,
|
|
5658
|
+
Uu as Container,
|
|
5659
|
+
rp as DatePicker,
|
|
5660
|
+
sp as Dropdown,
|
|
5644
5661
|
Vo as EmptyValueRenderer,
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5662
|
+
lp as FileInput,
|
|
5663
|
+
ip as FileUpload,
|
|
5664
|
+
zu as Flex,
|
|
5665
|
+
cp as FormControlLayout,
|
|
5666
|
+
Du as Grid,
|
|
5667
|
+
Eu as GridCol,
|
|
5668
|
+
Bu as Group,
|
|
5669
|
+
dp as Heading,
|
|
5670
|
+
up as HoverCard,
|
|
5654
5671
|
vo as IS_DEV,
|
|
5655
|
-
|
|
5672
|
+
mp as Label,
|
|
5656
5673
|
qt as Layer,
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5674
|
+
Vu as Link,
|
|
5675
|
+
pp as Loader,
|
|
5676
|
+
_p as Menu,
|
|
5677
|
+
fp as Modal,
|
|
5678
|
+
yp as NumberInput,
|
|
5679
|
+
hp as Pagination,
|
|
5680
|
+
vp as Panel,
|
|
5681
|
+
Np as PanelFooter,
|
|
5682
|
+
bp as Popover,
|
|
5683
|
+
Au as RECURSICA_COMPONENTS,
|
|
5684
|
+
Cp as Radio,
|
|
5685
|
+
Pp as RadioGroup,
|
|
5686
|
+
gp as ReadOnlyField,
|
|
5687
|
+
Mu as RecursicaThemeProvider,
|
|
5688
|
+
Tp as SegmentedControl,
|
|
5689
|
+
$p as Slider,
|
|
5690
|
+
Fu as Stack,
|
|
5691
|
+
wp as Stepper,
|
|
5692
|
+
Sp as Switch,
|
|
5693
|
+
xp as SwitchGroup,
|
|
5694
|
+
Op as Table,
|
|
5695
|
+
kp as Tabs,
|
|
5696
|
+
Gu as Text,
|
|
5680
5697
|
Ip as TextArea,
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5698
|
+
Rp as TextField,
|
|
5699
|
+
Lp as TimePicker,
|
|
5700
|
+
Mp as Timeline,
|
|
5701
|
+
Ap as TimelineItem,
|
|
5702
|
+
Wp as Toast,
|
|
5703
|
+
zp as Tooltip,
|
|
5704
|
+
Dp as TransferList,
|
|
5705
|
+
Ep as Tree,
|
|
5706
|
+
Wu as copyToClipboard,
|
|
5690
5707
|
Zt as fileMatchesAccept,
|
|
5691
5708
|
Kt as injectOverStyledStyles,
|
|
5692
|
-
|
|
5709
|
+
Lu as isGlobalOverStyledActive,
|
|
5693
5710
|
B as mergeClassNames,
|
|
5694
|
-
|
|
5711
|
+
Ir as mergeStyles,
|
|
5695
5712
|
Qt as normalizeComboboxData,
|
|
5696
5713
|
G as omitUnsupportedProps,
|
|
5697
5714
|
Yt as registerOverStyledConsoleCommand,
|
|
5698
5715
|
Or as toggleGlobalOverStyled,
|
|
5699
|
-
|
|
5716
|
+
kr as useGlobalOverStyled,
|
|
5700
5717
|
me as withCallerOverride,
|
|
5701
5718
|
R as wrapComponent
|
|
5702
5719
|
};
|