@recursica/adapter-mantine-v8 1.0.5 → 1.2.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 +19 -0
- package/dist/adapter-mantine-v8.cjs +2 -2
- package/dist/adapter-mantine-v8.cjs.map +1 -1
- package/dist/adapter-mantine-v8.css +1 -1
- package/dist/adapter-mantine-v8.js +956 -937
- package/dist/adapter-mantine-v8.js.map +1 -1
- package/dist/index.d.ts +20 -16
- package/package.json +6 -6
- package/recursica_brand.json +172 -235
- package/recursica_tokens.json +16 -127
- package/recursica_ui-kit.json +2195 -8117
- package/recursica_variables_scoped.css +4542 -9191
- package/src/components/Button/Button.stories.tsx +1 -5
- package/src/components/Card/Card.stories.tsx +29 -85
- package/src/components/FormControlLayout/FormControlLayout.module.css +6 -3
- package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +78 -11
- package/src/components/Grid/Grid.module.css +35 -5
- package/src/components/Grid/Grid.stories.tsx +32 -38
- package/src/components/Grid/Grid.tsx +54 -15
- package/src/components/Grid/USAGE.md +19 -5
- package/src/components/Heading/Heading.module.css +39 -0
- package/src/components/Heading/Heading.stories.tsx +62 -0
- package/src/components/Heading/Heading.tsx +16 -2
- package/src/components/Heading/USAGE.md +19 -1
- package/src/components/Text/Text.module.css +39 -0
- package/src/components/Text/Text.stories.tsx +52 -3
- package/src/components/Text/Text.tsx +14 -2
- package/src/components/Text/USAGE.md +20 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as vo, jsxs as R } from "react/jsx-runtime";
|
|
2
|
-
import q, { forwardRef as _, Children as ka, isValidElement as Ia, cloneElement as Ra, useEffect as
|
|
3
|
-
import { Accordion as
|
|
2
|
+
import q, { forwardRef as _, Children as ka, isValidElement as Ia, cloneElement as Ra, useEffect as Ie, useState as ie, useId as St, useRef as Fe, useCallback as mo, useMemo as yt } from "react";
|
|
3
|
+
import { Accordion as Ho, Input as $t, Box as tt, Autocomplete as La, Avatar as Ma, createPolymorphicComponent as Te, Badge as Wa, Breadcrumbs as Aa, Loader as za, Button as Da, Card as jo, Checkbox as xt, Chip as Ea, Container as Ba, Select as Ot, Flex as Fa, Grid as kt, Group as Ua, Title as Va, HoverCard as nt, Anchor as Ga, Menu as We, Modal as he, NumberInput as Ha, Pagination as Ge, Drawer as He, Popover as at, Radio as It, SegmentedControl as ja, RangeSlider as qa, Slider as Ka, Stack as Ya, Stepper as rt, Switch as Rt, CheckIcon as Za, CloseIcon as Xa, Table as je, Tabs as qo, Text as Qa, Textarea as Ja, TimelineItem as er, Timeline as or, Notification as tr, Tooltip as st, useTree as nr, getTreeExpandedState as ar, Tree as rr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as sr, getFormattedDate as lr, TimePicker as ir } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as cr } from "@mantine/hooks";
|
|
6
6
|
const dr = "_root_1qhn7_3", ur = "_contents_1qhn7_18", No = {
|
|
@@ -56,12 +56,12 @@ function mr(r) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return Jo.forEach((e) => e()), ro;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Wu() {
|
|
60
60
|
return Ue && ro;
|
|
61
61
|
}
|
|
62
62
|
function _r() {
|
|
63
63
|
const [r, e] = ie(ro);
|
|
64
|
-
return
|
|
64
|
+
return Ie(() => {
|
|
65
65
|
if (!Ue) return;
|
|
66
66
|
Mt(), Wt();
|
|
67
67
|
const t = () => e(ro);
|
|
@@ -123,21 +123,21 @@ function fr(r) {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
const ht = "data-recursica-theme";
|
|
126
|
-
function
|
|
126
|
+
function Au({
|
|
127
127
|
children: r,
|
|
128
128
|
theme: e = "light",
|
|
129
129
|
initLayer0: t = !0
|
|
130
130
|
}) {
|
|
131
|
-
return
|
|
131
|
+
return Ie(() => {
|
|
132
132
|
const o = document.documentElement;
|
|
133
133
|
return o.setAttribute(ht, e), () => {
|
|
134
134
|
o.removeAttribute(ht);
|
|
135
135
|
};
|
|
136
|
-
}, [e]),
|
|
136
|
+
}, [e]), Ie(() => {
|
|
137
137
|
Mt(), Wt();
|
|
138
138
|
}, []), t ? /* @__PURE__ */ a(Lt, { layer: 0, children: r }) : /* @__PURE__ */ a(vo, { children: r });
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const zu = [
|
|
141
141
|
"Accordion",
|
|
142
142
|
"AssistiveElement",
|
|
143
143
|
"Autocomplete",
|
|
@@ -192,7 +192,7 @@ const Au = [
|
|
|
192
192
|
"TransferList",
|
|
193
193
|
"Tree",
|
|
194
194
|
"Typography"
|
|
195
|
-
],
|
|
195
|
+
], Du = (r, e) => {
|
|
196
196
|
const t = document.activeElement;
|
|
197
197
|
return new Promise((o, n) => {
|
|
198
198
|
if (e && e.current) {
|
|
@@ -239,7 +239,7 @@ function V(r, e) {
|
|
|
239
239
|
o in t && delete t[o];
|
|
240
240
|
return t;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function me(r, e) {
|
|
243
243
|
return e !== void 0 ? e : r;
|
|
244
244
|
}
|
|
245
245
|
const hr = Symbol.for("react.forward_ref"), vr = Symbol.for("react.memo");
|
|
@@ -352,7 +352,7 @@ function u(r, e) {
|
|
|
352
352
|
typeof n == "string" && n.startsWith("rec-") && Et.has(o) && n in Fo && (t[o] = Fo[n]);
|
|
353
353
|
return t;
|
|
354
354
|
}
|
|
355
|
-
const Cr = "Accordion-module__root___Dem6d", gr = "Accordion-module__item___7ryVk", Pr = "Accordion-module__noDivider___Ni2tT", Tr = "Accordion-module__control___b4wgX", wr = "Accordion-module__label___Ss7uW", Sr = "Accordion-module__icon___xfHxX", $r = "Accordion-module__chevron___i-HVZ", xr = "Accordion-module__iconLeftWrapper___5oLen", Or = "Accordion-module__panel___Wx50w", kr = "Accordion-module__content___PEM9t",
|
|
355
|
+
const Cr = "Accordion-module__root___Dem6d", gr = "Accordion-module__item___7ryVk", Pr = "Accordion-module__noDivider___Ni2tT", Tr = "Accordion-module__control___b4wgX", wr = "Accordion-module__label___Ss7uW", Sr = "Accordion-module__icon___xfHxX", $r = "Accordion-module__chevron___i-HVZ", xr = "Accordion-module__iconLeftWrapper___5oLen", Or = "Accordion-module__panel___Wx50w", kr = "Accordion-module__content___PEM9t", Le = {
|
|
356
356
|
root: Cr,
|
|
357
357
|
item: gr,
|
|
358
358
|
noDivider: Pr,
|
|
@@ -372,19 +372,19 @@ const Cr = "Accordion-module__root___Dem6d", gr = "Accordion-module__item___7ryV
|
|
|
372
372
|
}) {
|
|
373
373
|
const n = typeof e == "string" && vt[e] ? vt[e] : e, s = u(o, t), l = s, i = E(
|
|
374
374
|
{
|
|
375
|
-
root:
|
|
376
|
-
item:
|
|
377
|
-
control:
|
|
378
|
-
label:
|
|
379
|
-
chevron:
|
|
380
|
-
icon:
|
|
381
|
-
panel:
|
|
382
|
-
content:
|
|
375
|
+
root: Le.root,
|
|
376
|
+
item: Le.item,
|
|
377
|
+
control: Le.control,
|
|
378
|
+
label: Le.label,
|
|
379
|
+
chevron: Le.chevron,
|
|
380
|
+
icon: Le.icon,
|
|
381
|
+
panel: Le.panel,
|
|
382
|
+
content: Le.content
|
|
383
383
|
},
|
|
384
384
|
l.classNames
|
|
385
385
|
), c = l.className;
|
|
386
386
|
return /* @__PURE__ */ a(
|
|
387
|
-
|
|
387
|
+
Ho,
|
|
388
388
|
{
|
|
389
389
|
...s,
|
|
390
390
|
variant: n,
|
|
@@ -403,9 +403,9 @@ const Ft = _(function({
|
|
|
403
403
|
overStyled: l = !1,
|
|
404
404
|
...i
|
|
405
405
|
}, c) {
|
|
406
|
-
const d = u(i, l), p = d.className, m = [o ? void 0 :
|
|
406
|
+
const d = u(i, l), p = d.className, m = [o ? void 0 : Le.noDivider, p].filter(Boolean).join(" ") || void 0;
|
|
407
407
|
return /* @__PURE__ */ a(
|
|
408
|
-
|
|
408
|
+
Ho.Item,
|
|
409
409
|
{
|
|
410
410
|
ref: c,
|
|
411
411
|
...d,
|
|
@@ -429,12 +429,12 @@ const Ir = [
|
|
|
429
429
|
Ir
|
|
430
430
|
), i = l.className;
|
|
431
431
|
return /* @__PURE__ */ a(
|
|
432
|
-
|
|
432
|
+
Ho.Control,
|
|
433
433
|
{
|
|
434
434
|
ref: s,
|
|
435
435
|
...l,
|
|
436
436
|
className: i,
|
|
437
|
-
icon: e ? /* @__PURE__ */ a("span", { className:
|
|
437
|
+
icon: e ? /* @__PURE__ */ a("span", { className: Le.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
438
438
|
children: t
|
|
439
439
|
}
|
|
440
440
|
);
|
|
@@ -443,7 +443,7 @@ lt.displayName = "AccordionControl";
|
|
|
443
443
|
const it = _(function({ overStyled: e = !1, ...t }, o) {
|
|
444
444
|
const n = u(t, e), s = n.className;
|
|
445
445
|
return /* @__PURE__ */ a(
|
|
446
|
-
|
|
446
|
+
Ho.Panel,
|
|
447
447
|
{
|
|
448
448
|
ref: o,
|
|
449
449
|
...n,
|
|
@@ -501,18 +501,18 @@ const Rr = "AssistiveElement-module__root___WhQ43", Lr = "AssistiveElement-modul
|
|
|
501
501
|
overStyled: l = !1,
|
|
502
502
|
...i
|
|
503
503
|
}, c) {
|
|
504
|
-
const p = u(i, l), m = Xo.root,
|
|
504
|
+
const p = u(i, l), m = Xo.root, N = n ? `${m} ${n}` : m, f = e === "error" ? Ar : Wr;
|
|
505
505
|
return /* @__PURE__ */ R(
|
|
506
506
|
"div",
|
|
507
507
|
{
|
|
508
508
|
ref: c,
|
|
509
509
|
...p,
|
|
510
|
-
className:
|
|
510
|
+
className: N,
|
|
511
511
|
"data-variant": e,
|
|
512
512
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
513
513
|
style: p.style,
|
|
514
514
|
children: [
|
|
515
|
-
t && /* @__PURE__ */ a("span", { className: Xo.iconWrapper, children: /* @__PURE__ */ a(
|
|
515
|
+
t && /* @__PURE__ */ a("span", { className: Xo.iconWrapper, children: /* @__PURE__ */ a(f, {}) }),
|
|
516
516
|
/* @__PURE__ */ a("span", { className: Xo.textWrapper, children: o })
|
|
517
517
|
]
|
|
518
518
|
}
|
|
@@ -538,16 +538,16 @@ const zr = "Label-module__root___e6HXZ", Dr = "Label-module__labelText___rieFR",
|
|
|
538
538
|
overStyled: d = !1,
|
|
539
539
|
...p
|
|
540
540
|
}, m) {
|
|
541
|
-
const
|
|
542
|
-
let
|
|
543
|
-
o || (n === !0 ?
|
|
544
|
-
const
|
|
541
|
+
const N = t || "left";
|
|
542
|
+
let f;
|
|
543
|
+
o || (n === !0 ? f = "optional" : n && (f = n));
|
|
544
|
+
const b = [
|
|
545
545
|
"size"
|
|
546
546
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
547
547
|
], v = V(
|
|
548
548
|
u(p, d),
|
|
549
|
-
|
|
550
|
-
), $ = v,
|
|
549
|
+
b
|
|
550
|
+
), $ = v, C = E(
|
|
551
551
|
{
|
|
552
552
|
label: eo.root,
|
|
553
553
|
required: eo.required
|
|
@@ -560,13 +560,13 @@ const zr = "Label-module__root___e6HXZ", Dr = "Label-module__labelText___rieFR",
|
|
|
560
560
|
ref: m,
|
|
561
561
|
...v,
|
|
562
562
|
className: w,
|
|
563
|
-
classNames:
|
|
563
|
+
classNames: C,
|
|
564
564
|
"data-size": e,
|
|
565
|
-
"data-alignment":
|
|
565
|
+
"data-alignment": N,
|
|
566
566
|
required: o && !s,
|
|
567
567
|
children: [
|
|
568
568
|
/* @__PURE__ */ a("span", { className: eo.labelText, children: c }),
|
|
569
|
-
|
|
569
|
+
f && /* @__PURE__ */ a("span", { className: eo.optionalText, children: typeof f == "string" ? `(${f})` : f }),
|
|
570
570
|
l ? /* @__PURE__ */ a("span", { className: eo.actionAreaWrapper, children: l }) : s ? /* @__PURE__ */ a(
|
|
571
571
|
"button",
|
|
572
572
|
{
|
|
@@ -601,10 +601,10 @@ const zr = "Label-module__root___e6HXZ", Dr = "Label-module__labelText___rieFR",
|
|
|
601
601
|
);
|
|
602
602
|
});
|
|
603
603
|
Ut.displayName = "Label";
|
|
604
|
-
const Vr = "FormControlLayout-module__root___yNDhZ",
|
|
604
|
+
const Vr = "FormControlLayout-module__root___yNDhZ", Gr = "FormControlLayout-module__leftSection___GBM1r", Hr = "FormControlLayout-module__rightSection___bcL4v", Wo = {
|
|
605
605
|
root: Vr,
|
|
606
|
-
leftSection:
|
|
607
|
-
rightSection:
|
|
606
|
+
leftSection: Gr,
|
|
607
|
+
rightSection: Hr
|
|
608
608
|
}, lo = _(function({
|
|
609
609
|
formLayout: e = "stacked",
|
|
610
610
|
labelSize: t = "default",
|
|
@@ -616,7 +616,7 @@ const Vr = "FormControlLayout-module__root___yNDhZ", Hr = "FormControlLayout-mod
|
|
|
616
616
|
style: c,
|
|
617
617
|
...d
|
|
618
618
|
}, p) {
|
|
619
|
-
const m = i ? `${Wo.root} ${i}` : Wo.root,
|
|
619
|
+
const m = i ? `${Wo.root} ${i}` : Wo.root, f = s != null || e === "side-by-side";
|
|
620
620
|
return /* @__PURE__ */ R(
|
|
621
621
|
"div",
|
|
622
622
|
{
|
|
@@ -630,7 +630,7 @@ const Vr = "FormControlLayout-module__root___yNDhZ", Hr = "FormControlLayout-mod
|
|
|
630
630
|
},
|
|
631
631
|
...d,
|
|
632
632
|
children: [
|
|
633
|
-
|
|
633
|
+
f && /* @__PURE__ */ a("div", { className: Wo.leftSection, "data-size": t, children: s }),
|
|
634
634
|
/* @__PURE__ */ a("div", { className: Wo.rightSection, children: l })
|
|
635
635
|
]
|
|
636
636
|
}
|
|
@@ -652,26 +652,26 @@ const jr = "FormControlWrapper-module__root___c-UHo", qr = "FormControlWrapper-m
|
|
|
652
652
|
description: d,
|
|
653
653
|
assistiveText: p,
|
|
654
654
|
assistiveWithIcon: m = !0,
|
|
655
|
-
controlMaxWidth:
|
|
656
|
-
controlMinWidth:
|
|
657
|
-
error:
|
|
655
|
+
controlMaxWidth: N,
|
|
656
|
+
controlMinWidth: f,
|
|
657
|
+
error: b,
|
|
658
658
|
required: v,
|
|
659
659
|
withAsterisk: $,
|
|
660
|
-
id:
|
|
660
|
+
id: C,
|
|
661
661
|
children: T,
|
|
662
662
|
className: w,
|
|
663
663
|
overStyled: P = !1,
|
|
664
664
|
labelElement: g,
|
|
665
665
|
// Extracted safely preventing bleeding into HTML domains
|
|
666
|
-
...
|
|
666
|
+
...y
|
|
667
667
|
}, S) {
|
|
668
|
-
const h = St(), O =
|
|
668
|
+
const h = St(), O = C || `recursica-fc-${h}`, M = `${O}-label`, D = p || d, A = D ? `${O}-assistive` : void 0, L = b ? `${O}-error` : void 0, H = u(y, P), j = w || H.className, X = Nt.root, G = j ? `${X} ${j}` : X, K = q.isValidElement(T) ? q.cloneElement(
|
|
669
669
|
T,
|
|
670
670
|
{
|
|
671
671
|
...T.props.id ? {} : { id: O },
|
|
672
672
|
"aria-labelledby": M,
|
|
673
673
|
...D && !T.props["aria-describedby"] ? { "aria-describedby": A } : {},
|
|
674
|
-
...
|
|
674
|
+
...b && !T.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
675
675
|
}
|
|
676
676
|
) : T, J = c ? /* @__PURE__ */ a(
|
|
677
677
|
Ut,
|
|
@@ -692,25 +692,25 @@ const jr = "FormControlWrapper-module__root___c-UHo", qr = "FormControlWrapper-m
|
|
|
692
692
|
lo,
|
|
693
693
|
{
|
|
694
694
|
ref: S,
|
|
695
|
-
className:
|
|
695
|
+
className: G,
|
|
696
696
|
formLayout: e,
|
|
697
697
|
labelSize: t,
|
|
698
|
-
controlMaxWidth:
|
|
699
|
-
controlMinWidth:
|
|
698
|
+
controlMaxWidth: N,
|
|
699
|
+
controlMinWidth: f,
|
|
700
700
|
leftSection: J,
|
|
701
|
-
...
|
|
701
|
+
...H,
|
|
702
702
|
children: /* @__PURE__ */ R("div", { className: Nt.inputSection, children: [
|
|
703
703
|
K,
|
|
704
|
-
|
|
704
|
+
b && /* @__PURE__ */ a(
|
|
705
705
|
et,
|
|
706
706
|
{
|
|
707
707
|
id: L,
|
|
708
708
|
assistiveVariant: "error",
|
|
709
709
|
assistiveWithIcon: m,
|
|
710
|
-
children:
|
|
710
|
+
children: b
|
|
711
711
|
}
|
|
712
712
|
),
|
|
713
|
-
!
|
|
713
|
+
!b && D && /* @__PURE__ */ a(
|
|
714
714
|
et,
|
|
715
715
|
{
|
|
716
716
|
id: A,
|
|
@@ -755,13 +755,13 @@ const Vt = _(
|
|
|
755
755
|
...i
|
|
756
756
|
}, c) {
|
|
757
757
|
let d = null;
|
|
758
|
-
const p = u(i, n), m = o || Bo,
|
|
758
|
+
const p = u(i, n), m = o || Bo, f = (m.check ? m.check(e) : Bo.check(e)) ? /* @__PURE__ */ a(m, { value: e }) : e;
|
|
759
759
|
switch (t) {
|
|
760
760
|
case "boolean":
|
|
761
761
|
d = /* @__PURE__ */ a(
|
|
762
762
|
Eo,
|
|
763
763
|
{
|
|
764
|
-
value: e === !0 ? "True" : e === !1 ? "False" :
|
|
764
|
+
value: e === !0 ? "True" : e === !1 ? "False" : f,
|
|
765
765
|
overStyled: n
|
|
766
766
|
}
|
|
767
767
|
);
|
|
@@ -770,7 +770,7 @@ const Vt = _(
|
|
|
770
770
|
d = /* @__PURE__ */ a(
|
|
771
771
|
Eo,
|
|
772
772
|
{
|
|
773
|
-
value: e === !0 ? "On" : e === !1 ? "Off" :
|
|
773
|
+
value: e === !0 ? "On" : e === !1 ? "Off" : f,
|
|
774
774
|
overStyled: n
|
|
775
775
|
}
|
|
776
776
|
);
|
|
@@ -780,20 +780,20 @@ const Vt = _(
|
|
|
780
780
|
d = /* @__PURE__ */ a(
|
|
781
781
|
Eo,
|
|
782
782
|
{
|
|
783
|
-
value:
|
|
783
|
+
value: f,
|
|
784
784
|
overStyled: n
|
|
785
785
|
}
|
|
786
786
|
);
|
|
787
787
|
break;
|
|
788
788
|
}
|
|
789
|
-
const
|
|
789
|
+
const b = s ? `${go.layoutOverride} ${s}` : go.layoutOverride;
|
|
790
790
|
return /* @__PURE__ */ a(
|
|
791
791
|
Co,
|
|
792
792
|
{
|
|
793
793
|
ref: c,
|
|
794
794
|
...p,
|
|
795
795
|
overStyled: n,
|
|
796
|
-
className:
|
|
796
|
+
className: b,
|
|
797
797
|
style: l,
|
|
798
798
|
children: d
|
|
799
799
|
}
|
|
@@ -801,7 +801,7 @@ const Vt = _(
|
|
|
801
801
|
}
|
|
802
802
|
);
|
|
803
803
|
Vt.displayName = "ReadOnlyField";
|
|
804
|
-
const
|
|
804
|
+
const ve = _(function({
|
|
805
805
|
readOnly: e,
|
|
806
806
|
readOnlyComponent: t,
|
|
807
807
|
readOnlyType: o = "text",
|
|
@@ -844,8 +844,8 @@ const he = _(function({
|
|
|
844
844
|
}
|
|
845
845
|
);
|
|
846
846
|
});
|
|
847
|
-
|
|
848
|
-
function
|
|
847
|
+
ve.displayName = "WithReadOnlyWrapper";
|
|
848
|
+
function Gt({ option: r }, e, t = !1) {
|
|
849
849
|
const { label: o, leadingIcon: n, supportingText: s } = r, l = o ?? r.value;
|
|
850
850
|
if (!n && !s)
|
|
851
851
|
return l;
|
|
@@ -858,7 +858,7 @@ function Ht({ option: r }, e, t = !1) {
|
|
|
858
858
|
] })
|
|
859
859
|
] });
|
|
860
860
|
}
|
|
861
|
-
const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-module__root___kANza", Qr = "AutoComplete-module__input___g51MC", Jr = "AutoComplete-module__section___WAbf1", es = "AutoComplete-module__dropdown___NqO3E", os = "AutoComplete-module__option___Y-Kja", ts = "AutoComplete-module__optionContent___UAkUA", ns = "AutoComplete-module__optionIcon___tbbmW", as = "AutoComplete-module__optionText___aQwHF", rs = "AutoComplete-module__optionTextWrap___RFICS", ss = "AutoComplete-module__optionSupportingText___OoA1N",
|
|
861
|
+
const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-module__root___kANza", Qr = "AutoComplete-module__input___g51MC", Jr = "AutoComplete-module__section___WAbf1", es = "AutoComplete-module__dropdown___NqO3E", os = "AutoComplete-module__option___Y-Kja", ts = "AutoComplete-module__optionContent___UAkUA", ns = "AutoComplete-module__optionIcon___tbbmW", as = "AutoComplete-module__optionText___aQwHF", rs = "AutoComplete-module__optionTextWrap___RFICS", ss = "AutoComplete-module__optionSupportingText___OoA1N", Ce = {
|
|
862
862
|
layoutOverride: Zr,
|
|
863
863
|
root: Xr,
|
|
864
864
|
input: Qr,
|
|
@@ -890,17 +890,17 @@ const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-mod
|
|
|
890
890
|
onLabelEditClick: d,
|
|
891
891
|
label: p,
|
|
892
892
|
assistiveText: m,
|
|
893
|
-
assistiveWithIcon:
|
|
894
|
-
error:
|
|
895
|
-
required:
|
|
893
|
+
assistiveWithIcon: N,
|
|
894
|
+
error: f,
|
|
895
|
+
required: b,
|
|
896
896
|
withAsterisk: v,
|
|
897
897
|
id: $,
|
|
898
|
-
className:
|
|
898
|
+
className: C,
|
|
899
899
|
style: T,
|
|
900
900
|
disabled: w,
|
|
901
901
|
readOnly: P,
|
|
902
902
|
readOnlyComponent: g,
|
|
903
|
-
emptyValueComponent:
|
|
903
|
+
emptyValueComponent: y,
|
|
904
904
|
value: S,
|
|
905
905
|
defaultValue: h,
|
|
906
906
|
data: O,
|
|
@@ -910,27 +910,27 @@ const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-mod
|
|
|
910
910
|
} = e, L = V(
|
|
911
911
|
u(A, o),
|
|
912
912
|
ls
|
|
913
|
-
), Y = L,
|
|
913
|
+
), Y = L, H = zt(O), j = E(
|
|
914
914
|
{
|
|
915
|
-
wrapper:
|
|
915
|
+
wrapper: Ce.root,
|
|
916
916
|
// The nested Input internal relative wrapper bounding box
|
|
917
|
-
input:
|
|
918
|
-
section:
|
|
919
|
-
dropdown:
|
|
920
|
-
option:
|
|
917
|
+
input: Ce.input,
|
|
918
|
+
section: Ce.section,
|
|
919
|
+
dropdown: Ce.dropdown,
|
|
920
|
+
option: Ce.option
|
|
921
921
|
},
|
|
922
922
|
Y.classNames
|
|
923
923
|
), X = {
|
|
924
|
-
optionContent:
|
|
925
|
-
optionIcon:
|
|
926
|
-
optionText:
|
|
927
|
-
optionTextWrap:
|
|
928
|
-
optionSupportingText:
|
|
929
|
-
},
|
|
924
|
+
optionContent: Ce.optionContent,
|
|
925
|
+
optionIcon: Ce.optionIcon,
|
|
926
|
+
optionText: Ce.optionText,
|
|
927
|
+
optionTextWrap: Ce.optionTextWrap,
|
|
928
|
+
optionSupportingText: Ce.optionSupportingText
|
|
929
|
+
}, G = C ? `${Ce.layoutOverride} ${C}` : Ce.layoutOverride;
|
|
930
930
|
return /* @__PURE__ */ a(
|
|
931
|
-
|
|
931
|
+
ve,
|
|
932
932
|
{
|
|
933
|
-
className:
|
|
933
|
+
className: G,
|
|
934
934
|
style: T,
|
|
935
935
|
controlMaxWidth: "var(--autocomplete-control-max-width)",
|
|
936
936
|
controlMinWidth: "var(--autocomplete-control-min-width)",
|
|
@@ -943,14 +943,14 @@ const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-mod
|
|
|
943
943
|
onLabelEditClick: d,
|
|
944
944
|
label: p,
|
|
945
945
|
assistiveText: m,
|
|
946
|
-
assistiveWithIcon:
|
|
947
|
-
error:
|
|
948
|
-
required:
|
|
946
|
+
assistiveWithIcon: N,
|
|
947
|
+
error: f,
|
|
948
|
+
required: b,
|
|
949
949
|
withAsterisk: v,
|
|
950
950
|
id: $,
|
|
951
951
|
readOnly: P,
|
|
952
952
|
readOnlyComponent: g,
|
|
953
|
-
emptyValueComponent:
|
|
953
|
+
emptyValueComponent: y,
|
|
954
954
|
readOnlyType: "text",
|
|
955
955
|
readOnlyValue: S !== void 0 ? S : h,
|
|
956
956
|
readOnlyNativeProps: e,
|
|
@@ -965,9 +965,9 @@ const Zr = "AutoComplete-module__layoutOverride___-K9WL", Xr = "AutoComplete-mod
|
|
|
965
965
|
disabled: w,
|
|
966
966
|
value: S,
|
|
967
967
|
defaultValue: h,
|
|
968
|
-
error: !!
|
|
969
|
-
data:
|
|
970
|
-
renderOption: M ?? ((K) =>
|
|
968
|
+
error: !!f,
|
|
969
|
+
data: H,
|
|
970
|
+
renderOption: M ?? ((K) => Gt(K, X, D))
|
|
971
971
|
}
|
|
972
972
|
)
|
|
973
973
|
)
|
|
@@ -982,7 +982,7 @@ const cs = "Avatar-module__root___fXu-J", ds = "Avatar-module__iconWrapper___ojl
|
|
|
982
982
|
textWrapper: us,
|
|
983
983
|
image: ps,
|
|
984
984
|
placeholder: ms
|
|
985
|
-
},
|
|
985
|
+
}, Ht = _(function({
|
|
986
986
|
size: e = "default",
|
|
987
987
|
variant: t = "solid",
|
|
988
988
|
icon: o,
|
|
@@ -1004,25 +1004,25 @@ const cs = "Avatar-module__root___fXu-J", ds = "Avatar-module__iconWrapper___ojl
|
|
|
1004
1004
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
1005
1005
|
"radius"
|
|
1006
1006
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
1007
|
-
],
|
|
1007
|
+
], N = V(
|
|
1008
1008
|
u(i, l),
|
|
1009
1009
|
m
|
|
1010
|
-
),
|
|
1011
|
-
let
|
|
1012
|
-
s ?
|
|
1010
|
+
), f = N;
|
|
1011
|
+
let b = "text";
|
|
1012
|
+
s ? b = "image" : o && (b = "icon");
|
|
1013
1013
|
const v = E(
|
|
1014
1014
|
{
|
|
1015
1015
|
root: To.root,
|
|
1016
1016
|
image: To.image,
|
|
1017
1017
|
placeholder: To.placeholder
|
|
1018
1018
|
},
|
|
1019
|
-
|
|
1020
|
-
), $ =
|
|
1019
|
+
f.classNames
|
|
1020
|
+
), $ = f.className;
|
|
1021
1021
|
return /* @__PURE__ */ a(
|
|
1022
1022
|
Ma,
|
|
1023
1023
|
{
|
|
1024
1024
|
ref: c,
|
|
1025
|
-
...
|
|
1025
|
+
...N,
|
|
1026
1026
|
className: $,
|
|
1027
1027
|
classNames: v,
|
|
1028
1028
|
variant: d[t],
|
|
@@ -1030,13 +1030,13 @@ const cs = "Avatar-module__root___fXu-J", ds = "Avatar-module__iconWrapper___ojl
|
|
|
1030
1030
|
src: s,
|
|
1031
1031
|
"data-variant": t,
|
|
1032
1032
|
"data-size": e,
|
|
1033
|
-
"data-style":
|
|
1033
|
+
"data-style": b,
|
|
1034
1034
|
children: o != null ? /* @__PURE__ */ a("span", { className: To.iconWrapper, "aria-hidden": !0, children: o }) : n != null ? /* @__PURE__ */ a("span", { className: To.textWrapper, children: n }) : void 0
|
|
1035
1035
|
}
|
|
1036
1036
|
);
|
|
1037
1037
|
});
|
|
1038
|
-
|
|
1039
|
-
const
|
|
1038
|
+
Ht.displayName = "Avatar";
|
|
1039
|
+
const Eu = Te(Ht), _s = "Badge-module__root___5osNT", wo = {
|
|
1040
1040
|
root: _s
|
|
1041
1041
|
}, jt = _(function({ variant: e = "primary-color", overStyled: t = !1, ...o }, n) {
|
|
1042
1042
|
const s = u(o, t), l = E(
|
|
@@ -1060,7 +1060,7 @@ const Du = Pe(Gt), _s = "Badge-module__root___5osNT", wo = {
|
|
|
1060
1060
|
);
|
|
1061
1061
|
});
|
|
1062
1062
|
jt.displayName = "Badge";
|
|
1063
|
-
const fs =
|
|
1063
|
+
const fs = Te(jt), ys = "Breadcrumb-module__root___x-9ln", hs = "Breadcrumb-module__separator___qrUX-", Ao = {
|
|
1064
1064
|
root: ys,
|
|
1065
1065
|
separator: hs
|
|
1066
1066
|
}, vs = _(
|
|
@@ -1113,7 +1113,7 @@ const Ns = "Loader-module__root___6iYOP", Qo = {
|
|
|
1113
1113
|
}[t] || "default", d = u(s, n), p = d, m = E(
|
|
1114
1114
|
{ root: Qo.root },
|
|
1115
1115
|
p.classNames
|
|
1116
|
-
),
|
|
1116
|
+
), N = p.className, f = N ? `${Qo.root} ${N}` : Qo.root;
|
|
1117
1117
|
return /* @__PURE__ */ a(
|
|
1118
1118
|
za,
|
|
1119
1119
|
{
|
|
@@ -1123,7 +1123,7 @@ const Ns = "Loader-module__root___6iYOP", Qo = {
|
|
|
1123
1123
|
"data-variant": e,
|
|
1124
1124
|
"data-size": c,
|
|
1125
1125
|
"data-animate": o,
|
|
1126
|
-
className:
|
|
1126
|
+
className: f,
|
|
1127
1127
|
classNames: m
|
|
1128
1128
|
}
|
|
1129
1129
|
);
|
|
@@ -1155,18 +1155,18 @@ const Kt = _(function({
|
|
|
1155
1155
|
solid: "filled",
|
|
1156
1156
|
outline: "outline",
|
|
1157
1157
|
text: "subtle"
|
|
1158
|
-
},
|
|
1158
|
+
}, N = {
|
|
1159
1159
|
default: "md",
|
|
1160
1160
|
small: "sm"
|
|
1161
|
-
},
|
|
1161
|
+
}, f = [
|
|
1162
1162
|
"fullWidth"
|
|
1163
1163
|
// Recursica Button width comes from layout/token constraints, not Mantine's boolean fullWidth toggle.
|
|
1164
|
-
],
|
|
1164
|
+
], b = V(
|
|
1165
1165
|
u(d, s),
|
|
1166
|
-
|
|
1167
|
-
), v =
|
|
1166
|
+
f
|
|
1167
|
+
), v = b, $ = !!o || !!v.leftSection, C = !!v.rightSection, T = Ss(n), w = ($ || C) && !T;
|
|
1168
1168
|
let P = "label";
|
|
1169
|
-
w ? P = "icon-only" : ($ ||
|
|
1169
|
+
w ? P = "icon-only" : ($ || C) && (P = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && w && !v["aria-label"] && console.warn(
|
|
1170
1170
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1171
1171
|
);
|
|
1172
1172
|
const g = E(
|
|
@@ -1177,7 +1177,7 @@ const Kt = _(function({
|
|
|
1177
1177
|
loader: oo.loader
|
|
1178
1178
|
},
|
|
1179
1179
|
v.classNames
|
|
1180
|
-
),
|
|
1180
|
+
), y = v.className, S = y ? `${oo.root} ${y}` : oo.root, h = v.loaderProps, O = me(
|
|
1181
1181
|
t === "small" ? "small" : "default",
|
|
1182
1182
|
i
|
|
1183
1183
|
);
|
|
@@ -1197,11 +1197,11 @@ const Kt = _(function({
|
|
|
1197
1197
|
Da,
|
|
1198
1198
|
{
|
|
1199
1199
|
ref: p,
|
|
1200
|
-
...
|
|
1200
|
+
...b,
|
|
1201
1201
|
className: S,
|
|
1202
1202
|
classNames: g,
|
|
1203
1203
|
variant: m[e],
|
|
1204
|
-
size:
|
|
1204
|
+
size: N[t],
|
|
1205
1205
|
loaderProps: M,
|
|
1206
1206
|
leftSection: o != null ? /* @__PURE__ */ a("span", { className: oo.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1207
1207
|
"data-variant": e,
|
|
@@ -1213,7 +1213,7 @@ const Kt = _(function({
|
|
|
1213
1213
|
);
|
|
1214
1214
|
});
|
|
1215
1215
|
Kt.displayName = "Button";
|
|
1216
|
-
const ho =
|
|
1216
|
+
const ho = Te(
|
|
1217
1217
|
Kt
|
|
1218
1218
|
), $s = "Card-module__root___c9KvZ", xs = "Card-module__header___PTXf2", Os = "Card-module__footer___Mu-JC", ks = "Card-module__section___BRT8H", Is = "Card-module__content___oFIQa", Ve = {
|
|
1219
1219
|
root: $s,
|
|
@@ -1328,12 +1328,12 @@ const en = _(
|
|
|
1328
1328
|
}
|
|
1329
1329
|
);
|
|
1330
1330
|
en.displayName = "CardContent";
|
|
1331
|
-
const on =
|
|
1331
|
+
const on = Te(Yt), Ko = on;
|
|
1332
1332
|
Ko.Section = Zt;
|
|
1333
1333
|
Ko.Header = Qt;
|
|
1334
1334
|
Ko.Footer = Jt;
|
|
1335
1335
|
Ko.Content = en;
|
|
1336
|
-
const
|
|
1336
|
+
const Bu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module__root___mY3qk", Ws = "Checkbox-module__body___5yC7q", As = "Checkbox-module__inner___rTke4", zs = "Checkbox-module__input___2kt-h", Ds = "Checkbox-module__icon___-O7i6", Es = "Checkbox-module__labelWrapper___GpZkr", Bs = "Checkbox-module__label___cwRtI", ke = {
|
|
1337
1337
|
groupRoot: Ls,
|
|
1338
1338
|
root: Ms,
|
|
1339
1339
|
body: Ws,
|
|
@@ -1356,17 +1356,17 @@ const Eu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module_
|
|
|
1356
1356
|
// Base Mantine Extracted Attributes
|
|
1357
1357
|
label: p,
|
|
1358
1358
|
description: m,
|
|
1359
|
-
assistiveText:
|
|
1360
|
-
assistiveWithIcon:
|
|
1361
|
-
error:
|
|
1359
|
+
assistiveText: N,
|
|
1360
|
+
assistiveWithIcon: f,
|
|
1361
|
+
error: b,
|
|
1362
1362
|
required: v,
|
|
1363
1363
|
withAsterisk: $,
|
|
1364
|
-
id:
|
|
1364
|
+
id: C,
|
|
1365
1365
|
className: T,
|
|
1366
1366
|
style: w,
|
|
1367
1367
|
children: P,
|
|
1368
1368
|
readOnly: g,
|
|
1369
|
-
readOnlyComponent:
|
|
1369
|
+
readOnlyComponent: y,
|
|
1370
1370
|
emptyValueComponent: S,
|
|
1371
1371
|
value: h,
|
|
1372
1372
|
defaultValue: O,
|
|
@@ -1379,7 +1379,7 @@ const Eu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module_
|
|
|
1379
1379
|
D
|
|
1380
1380
|
), L = A;
|
|
1381
1381
|
return /* @__PURE__ */ a(
|
|
1382
|
-
|
|
1382
|
+
ve,
|
|
1383
1383
|
{
|
|
1384
1384
|
className: T,
|
|
1385
1385
|
style: w,
|
|
@@ -1395,14 +1395,14 @@ const Eu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module_
|
|
|
1395
1395
|
onLabelEditClick: d,
|
|
1396
1396
|
label: p,
|
|
1397
1397
|
description: m,
|
|
1398
|
-
assistiveText:
|
|
1399
|
-
assistiveWithIcon:
|
|
1400
|
-
error:
|
|
1398
|
+
assistiveText: N,
|
|
1399
|
+
assistiveWithIcon: f,
|
|
1400
|
+
error: b,
|
|
1401
1401
|
required: v,
|
|
1402
1402
|
withAsterisk: $,
|
|
1403
|
-
id:
|
|
1404
|
-
readOnly: g && !!
|
|
1405
|
-
readOnlyComponent:
|
|
1403
|
+
id: C,
|
|
1404
|
+
readOnly: g && !!y,
|
|
1405
|
+
readOnlyComponent: y,
|
|
1406
1406
|
emptyValueComponent: S,
|
|
1407
1407
|
readOnlyType: "text",
|
|
1408
1408
|
readOnlyValue: h !== void 0 ? h : O,
|
|
@@ -1415,7 +1415,7 @@ const Eu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module_
|
|
|
1415
1415
|
disabled: g || L.disabled,
|
|
1416
1416
|
value: h,
|
|
1417
1417
|
defaultValue: O,
|
|
1418
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1418
|
+
children: /* @__PURE__ */ a("div", { className: ke.groupRoot, "data-layout": n, children: P })
|
|
1419
1419
|
}
|
|
1420
1420
|
) : /* @__PURE__ */ a(
|
|
1421
1421
|
"div",
|
|
@@ -1423,7 +1423,7 @@ const Eu = on, Ls = "Checkbox-module__groupRoot___cBS0o", Ms = "Checkbox-module_
|
|
|
1423
1423
|
ref: t,
|
|
1424
1424
|
...A,
|
|
1425
1425
|
role: "group",
|
|
1426
|
-
className:
|
|
1426
|
+
className: ke.groupRoot,
|
|
1427
1427
|
"data-layout": n,
|
|
1428
1428
|
children: P
|
|
1429
1429
|
}
|
|
@@ -1445,7 +1445,7 @@ const Vo = _(
|
|
|
1445
1445
|
controlMaxWidth: d,
|
|
1446
1446
|
controlMinWidth: p,
|
|
1447
1447
|
...m
|
|
1448
|
-
} = e,
|
|
1448
|
+
} = e, N = [
|
|
1449
1449
|
"size",
|
|
1450
1450
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1451
1451
|
"color",
|
|
@@ -1456,28 +1456,28 @@ const Vo = _(
|
|
|
1456
1456
|
// Checkbox has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
1457
1457
|
"iconColor"
|
|
1458
1458
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1459
|
-
],
|
|
1459
|
+
], f = V(
|
|
1460
1460
|
u(m, o),
|
|
1461
|
-
|
|
1462
|
-
),
|
|
1461
|
+
N
|
|
1462
|
+
), b = f, v = E(
|
|
1463
1463
|
{
|
|
1464
|
-
root:
|
|
1465
|
-
body:
|
|
1466
|
-
inner:
|
|
1467
|
-
input:
|
|
1468
|
-
icon:
|
|
1469
|
-
labelWrapper:
|
|
1470
|
-
label:
|
|
1464
|
+
root: ke.root,
|
|
1465
|
+
body: ke.body,
|
|
1466
|
+
inner: ke.inner,
|
|
1467
|
+
input: ke.input,
|
|
1468
|
+
icon: ke.icon,
|
|
1469
|
+
labelWrapper: ke.labelWrapper,
|
|
1470
|
+
label: ke.label
|
|
1471
1471
|
},
|
|
1472
|
-
|
|
1473
|
-
), $ =
|
|
1472
|
+
b.classNames
|
|
1473
|
+
), $ = b.className, C = $ ? `${ke.root} ${$}` : ke.root;
|
|
1474
1474
|
if (n && s) {
|
|
1475
|
-
const w = !!(
|
|
1475
|
+
const w = !!(b.checked ?? b.defaultChecked), g = /* @__PURE__ */ a(
|
|
1476
1476
|
s,
|
|
1477
1477
|
{
|
|
1478
1478
|
...e,
|
|
1479
1479
|
checked: w,
|
|
1480
|
-
label:
|
|
1480
|
+
label: b.label
|
|
1481
1481
|
}
|
|
1482
1482
|
);
|
|
1483
1483
|
return i ? /* @__PURE__ */ a(
|
|
@@ -1495,8 +1495,8 @@ const Vo = _(
|
|
|
1495
1495
|
xt,
|
|
1496
1496
|
{
|
|
1497
1497
|
ref: t,
|
|
1498
|
-
...
|
|
1499
|
-
className:
|
|
1498
|
+
...f,
|
|
1499
|
+
className: C,
|
|
1500
1500
|
classNames: v,
|
|
1501
1501
|
disabled: n || l
|
|
1502
1502
|
}
|
|
@@ -1515,12 +1515,12 @@ const Vo = _(
|
|
|
1515
1515
|
);
|
|
1516
1516
|
Vo.displayName = "Checkbox";
|
|
1517
1517
|
Vo.Group = Uo;
|
|
1518
|
-
const Fs = "Chip-module__root___f5pFk", Us = "Chip-module__label___Ov9pg", Vs = "Chip-module__mantineIconWrapper___KLSz6",
|
|
1518
|
+
const Fs = "Chip-module__root___f5pFk", Us = "Chip-module__label___Ov9pg", Vs = "Chip-module__mantineIconWrapper___KLSz6", Gs = "Chip-module__innerWrapper___EnrTF", Hs = "Chip-module__children___zbRAR", js = "Chip-module__leadingIcon___JBtjQ", qs = "Chip-module__deleteIcon___zPPsH", Oe = {
|
|
1519
1519
|
root: Fs,
|
|
1520
1520
|
label: Us,
|
|
1521
1521
|
mantineIconWrapper: Vs,
|
|
1522
|
-
innerWrapper:
|
|
1523
|
-
children:
|
|
1522
|
+
innerWrapper: Gs,
|
|
1523
|
+
children: Hs,
|
|
1524
1524
|
leadingIcon: js,
|
|
1525
1525
|
deleteIcon: qs
|
|
1526
1526
|
};
|
|
@@ -1545,7 +1545,7 @@ function Ks(r) {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
);
|
|
1547
1547
|
}
|
|
1548
|
-
const
|
|
1548
|
+
const Go = _(function({
|
|
1549
1549
|
error: e = !1,
|
|
1550
1550
|
icon: t,
|
|
1551
1551
|
onDelete: o,
|
|
@@ -1557,49 +1557,49 @@ const Ho = _(function({
|
|
|
1557
1557
|
overStyled: d = !1,
|
|
1558
1558
|
wrapperProps: p,
|
|
1559
1559
|
tabIndex: m,
|
|
1560
|
-
"aria-hidden":
|
|
1561
|
-
...
|
|
1562
|
-
},
|
|
1563
|
-
const v = u(
|
|
1560
|
+
"aria-hidden": N,
|
|
1561
|
+
...f
|
|
1562
|
+
}, b) {
|
|
1563
|
+
const v = u(f, d), $ = v, C = E(
|
|
1564
1564
|
{
|
|
1565
|
-
root:
|
|
1566
|
-
label:
|
|
1567
|
-
input:
|
|
1568
|
-
iconWrapper:
|
|
1569
|
-
checkIcon:
|
|
1565
|
+
root: Oe.root,
|
|
1566
|
+
label: Oe.label,
|
|
1567
|
+
input: Oe.input,
|
|
1568
|
+
iconWrapper: Oe.mantineIconWrapper,
|
|
1569
|
+
checkIcon: Oe.checkIcon
|
|
1570
1570
|
},
|
|
1571
1571
|
$.classNames
|
|
1572
|
-
), T = $.className, w = T ? `${
|
|
1572
|
+
), T = $.className, w = T ? `${Oe.root} ${T}` : Oe.root, P = e ? "" : void 0, g = !i && (!!t || !!o), y = o !== void 0 || $.onClick !== void 0 || $.onChange !== void 0, S = {
|
|
1573
1573
|
...P !== void 0 ? { "data-error": "" } : {},
|
|
1574
|
-
...
|
|
1574
|
+
...y ? { "data-interactive": "" } : {}
|
|
1575
1575
|
};
|
|
1576
1576
|
return /* @__PURE__ */ a(
|
|
1577
1577
|
Ea,
|
|
1578
1578
|
{
|
|
1579
|
-
ref:
|
|
1579
|
+
ref: b,
|
|
1580
1580
|
...v,
|
|
1581
1581
|
checked: c,
|
|
1582
1582
|
className: w,
|
|
1583
|
-
classNames:
|
|
1584
|
-
wrapperProps:
|
|
1583
|
+
classNames: C,
|
|
1584
|
+
wrapperProps: me(S, p),
|
|
1585
1585
|
"data-icon-only": g ? "" : void 0,
|
|
1586
|
-
tabIndex:
|
|
1587
|
-
|
|
1586
|
+
tabIndex: me(
|
|
1587
|
+
y ? void 0 : -1,
|
|
1588
1588
|
m
|
|
1589
1589
|
),
|
|
1590
|
-
"aria-hidden":
|
|
1591
|
-
|
|
1592
|
-
|
|
1590
|
+
"aria-hidden": me(
|
|
1591
|
+
y ? void 0 : !0,
|
|
1592
|
+
N
|
|
1593
1593
|
),
|
|
1594
|
-
children: /* @__PURE__ */ R("span", { className:
|
|
1595
|
-
t && !c && /* @__PURE__ */ a("span", { className:
|
|
1596
|
-
/* @__PURE__ */ a("span", { className:
|
|
1594
|
+
children: /* @__PURE__ */ R("span", { className: Oe.innerWrapper, children: [
|
|
1595
|
+
t && !c && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: t }),
|
|
1596
|
+
/* @__PURE__ */ a("span", { className: Oe.children, children: i }),
|
|
1597
1597
|
o && /* @__PURE__ */ a(
|
|
1598
1598
|
"span",
|
|
1599
1599
|
{
|
|
1600
1600
|
ref: l,
|
|
1601
1601
|
role: "button",
|
|
1602
|
-
className:
|
|
1602
|
+
className: Oe.deleteIcon,
|
|
1603
1603
|
onClick: (h) => {
|
|
1604
1604
|
h.preventDefault(), h.stopPropagation(), o(h);
|
|
1605
1605
|
},
|
|
@@ -1617,7 +1617,7 @@ const Ho = _(function({
|
|
|
1617
1617
|
}
|
|
1618
1618
|
);
|
|
1619
1619
|
});
|
|
1620
|
-
|
|
1620
|
+
Go.displayName = "Chip";
|
|
1621
1621
|
const Ys = "Container-module__root___UVssr", So = {
|
|
1622
1622
|
root: Ys
|
|
1623
1623
|
}, Zs = _(
|
|
@@ -1672,7 +1672,7 @@ function Xs(r) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
);
|
|
1674
1674
|
}
|
|
1675
|
-
const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module__root___6XvRT", el = "DatePicker-module__input___pcSW8", ol = "DatePicker-module__section___n3iWA", tl = "DatePicker-module__dropdown___wjt08", nl = "DatePicker-module__calendarHeader___KHxno", al = "DatePicker-module__calendarHeaderControl___q7UvJ", rl = "DatePicker-module__calendarHeaderLevel___ebdJ2", sl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", ll = "DatePicker-module__weekday___H5lIj", il = "DatePicker-module__day___U03J2",
|
|
1675
|
+
const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module__root___6XvRT", el = "DatePicker-module__input___pcSW8", ol = "DatePicker-module__section___n3iWA", tl = "DatePicker-module__dropdown___wjt08", nl = "DatePicker-module__calendarHeader___KHxno", al = "DatePicker-module__calendarHeaderControl___q7UvJ", rl = "DatePicker-module__calendarHeaderLevel___ebdJ2", sl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", ll = "DatePicker-module__weekday___H5lIj", il = "DatePicker-module__day___U03J2", ge = {
|
|
1676
1676
|
layoutOverride: Qs,
|
|
1677
1677
|
root: Js,
|
|
1678
1678
|
input: el,
|
|
@@ -1706,17 +1706,17 @@ const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module_
|
|
|
1706
1706
|
onLabelEditClick: d,
|
|
1707
1707
|
label: p,
|
|
1708
1708
|
assistiveText: m,
|
|
1709
|
-
assistiveWithIcon:
|
|
1710
|
-
error:
|
|
1711
|
-
required:
|
|
1709
|
+
assistiveWithIcon: N,
|
|
1710
|
+
error: f,
|
|
1711
|
+
required: b,
|
|
1712
1712
|
withAsterisk: v,
|
|
1713
1713
|
id: $,
|
|
1714
|
-
className:
|
|
1714
|
+
className: C,
|
|
1715
1715
|
style: T,
|
|
1716
1716
|
disabled: w,
|
|
1717
1717
|
readOnly: P,
|
|
1718
1718
|
readOnlyComponent: g,
|
|
1719
|
-
emptyValueComponent:
|
|
1719
|
+
emptyValueComponent: y,
|
|
1720
1720
|
value: S,
|
|
1721
1721
|
defaultValue: h,
|
|
1722
1722
|
highlightToday: O = !0,
|
|
@@ -1731,33 +1731,33 @@ const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module_
|
|
|
1731
1731
|
} = e, Y = V(
|
|
1732
1732
|
u(L, o),
|
|
1733
1733
|
cl
|
|
1734
|
-
),
|
|
1734
|
+
), H = Y, j = E(
|
|
1735
1735
|
{
|
|
1736
|
-
wrapper:
|
|
1736
|
+
wrapper: ge.root,
|
|
1737
1737
|
// The nested Input internal relative wrapper bounding box
|
|
1738
|
-
input:
|
|
1739
|
-
section:
|
|
1740
|
-
day:
|
|
1741
|
-
weekday:
|
|
1742
|
-
calendarHeader:
|
|
1743
|
-
calendarHeaderControl:
|
|
1744
|
-
calendarHeaderLevel:
|
|
1745
|
-
calendarHeaderControlIcon:
|
|
1738
|
+
input: ge.input,
|
|
1739
|
+
section: ge.section,
|
|
1740
|
+
day: ge.day,
|
|
1741
|
+
weekday: ge.weekday,
|
|
1742
|
+
calendarHeader: ge.calendarHeader,
|
|
1743
|
+
calendarHeaderControl: ge.calendarHeaderControl,
|
|
1744
|
+
calendarHeaderLevel: ge.calendarHeaderLevel,
|
|
1745
|
+
calendarHeaderControlIcon: ge.calendarHeaderControlIcon
|
|
1746
1746
|
},
|
|
1747
|
-
|
|
1748
|
-
), X =
|
|
1749
|
-
delete
|
|
1747
|
+
H.classNames
|
|
1748
|
+
), X = H.popoverProps, G = X && typeof X == "object" && !Array.isArray(X) ? X : void 0, K = G != null && G.classNames && typeof G.classNames == "object" && !Array.isArray(G.classNames) ? G.classNames : void 0;
|
|
1749
|
+
delete H.popoverProps;
|
|
1750
1750
|
const J = {
|
|
1751
|
-
...
|
|
1751
|
+
...G,
|
|
1752
1752
|
classNames: E(
|
|
1753
|
-
{ dropdown:
|
|
1753
|
+
{ dropdown: ge.dropdown },
|
|
1754
1754
|
K
|
|
1755
1755
|
)
|
|
1756
|
-
},
|
|
1756
|
+
}, ue = C ? `${ge.layoutOverride} ${C}` : ge.layoutOverride;
|
|
1757
1757
|
return /* @__PURE__ */ a(
|
|
1758
|
-
|
|
1758
|
+
ve,
|
|
1759
1759
|
{
|
|
1760
|
-
className:
|
|
1760
|
+
className: ue,
|
|
1761
1761
|
style: T,
|
|
1762
1762
|
controlMaxWidth: void 0,
|
|
1763
1763
|
controlMinWidth: void 0,
|
|
@@ -1770,14 +1770,14 @@ const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module_
|
|
|
1770
1770
|
onLabelEditClick: d,
|
|
1771
1771
|
label: p,
|
|
1772
1772
|
assistiveText: m,
|
|
1773
|
-
assistiveWithIcon:
|
|
1774
|
-
error:
|
|
1775
|
-
required:
|
|
1773
|
+
assistiveWithIcon: N,
|
|
1774
|
+
error: f,
|
|
1775
|
+
required: b,
|
|
1776
1776
|
withAsterisk: v,
|
|
1777
1777
|
id: $,
|
|
1778
1778
|
readOnly: P,
|
|
1779
1779
|
readOnlyComponent: g,
|
|
1780
|
-
emptyValueComponent:
|
|
1780
|
+
emptyValueComponent: y,
|
|
1781
1781
|
readOnlyType: "text",
|
|
1782
1782
|
readOnlyValue: (() => {
|
|
1783
1783
|
const W = S !== void 0 ? S : h;
|
|
@@ -1808,13 +1808,13 @@ const Qs = "DatePicker-module__layoutOverride___X9yaM", Js = "DatePicker-module_
|
|
|
1808
1808
|
highlightToday: O,
|
|
1809
1809
|
valueFormat: M,
|
|
1810
1810
|
placeholder: D,
|
|
1811
|
-
leftSection:
|
|
1811
|
+
leftSection: me(
|
|
1812
1812
|
/* @__PURE__ */ a(Xs, {}),
|
|
1813
1813
|
A
|
|
1814
1814
|
),
|
|
1815
1815
|
wrapperProps: {
|
|
1816
1816
|
"data-disabled": w ? "true" : void 0,
|
|
1817
|
-
"data-error":
|
|
1817
|
+
"data-error": f ? "true" : void 0
|
|
1818
1818
|
},
|
|
1819
1819
|
popoverProps: J
|
|
1820
1820
|
}
|
|
@@ -1860,17 +1860,17 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1860
1860
|
labelWithEditIcon: d,
|
|
1861
1861
|
onLabelEditClick: p,
|
|
1862
1862
|
label: m,
|
|
1863
|
-
assistiveText:
|
|
1864
|
-
assistiveWithIcon:
|
|
1865
|
-
error:
|
|
1863
|
+
assistiveText: N,
|
|
1864
|
+
assistiveWithIcon: f,
|
|
1865
|
+
error: b,
|
|
1866
1866
|
required: v,
|
|
1867
1867
|
withAsterisk: $,
|
|
1868
|
-
id:
|
|
1868
|
+
id: C,
|
|
1869
1869
|
className: T,
|
|
1870
1870
|
style: w,
|
|
1871
1871
|
disabled: P,
|
|
1872
1872
|
readOnly: g,
|
|
1873
|
-
readOnlyComponent:
|
|
1873
|
+
readOnlyComponent: y,
|
|
1874
1874
|
emptyValueComponent: S,
|
|
1875
1875
|
value: h,
|
|
1876
1876
|
defaultValue: O,
|
|
@@ -1879,12 +1879,12 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1879
1879
|
renderOption: A,
|
|
1880
1880
|
wrapItemText: L = !1,
|
|
1881
1881
|
...Y
|
|
1882
|
-
} = e,
|
|
1882
|
+
} = e, H = V(
|
|
1883
1883
|
u(Y, o),
|
|
1884
1884
|
Pl
|
|
1885
|
-
), j =
|
|
1886
|
-
...
|
|
1887
|
-
className:
|
|
1885
|
+
), j = H, X = zt(M), G = D, K = {
|
|
1886
|
+
...G,
|
|
1887
|
+
className: G != null && G.className ? `${oe.clearButton} ${G.className}` : oe.clearButton
|
|
1888
1888
|
}, J = E(
|
|
1889
1889
|
{
|
|
1890
1890
|
wrapper: oe.root,
|
|
@@ -1895,7 +1895,7 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1895
1895
|
option: oe.option
|
|
1896
1896
|
},
|
|
1897
1897
|
j.classNames
|
|
1898
|
-
),
|
|
1898
|
+
), ue = {
|
|
1899
1899
|
optionContent: oe.optionContent,
|
|
1900
1900
|
optionIcon: oe.optionIcon,
|
|
1901
1901
|
optionText: oe.optionText,
|
|
@@ -1906,7 +1906,7 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1906
1906
|
width: s || "100%"
|
|
1907
1907
|
}, ae = T ? `${oe.layoutOverride} ${T}` : oe.layoutOverride;
|
|
1908
1908
|
return /* @__PURE__ */ a(
|
|
1909
|
-
|
|
1909
|
+
ve,
|
|
1910
1910
|
{
|
|
1911
1911
|
className: ae,
|
|
1912
1912
|
style: W,
|
|
@@ -1920,14 +1920,14 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1920
1920
|
labelWithEditIcon: d,
|
|
1921
1921
|
onLabelEditClick: p,
|
|
1922
1922
|
label: m,
|
|
1923
|
-
assistiveText:
|
|
1924
|
-
assistiveWithIcon:
|
|
1925
|
-
error:
|
|
1923
|
+
assistiveText: N,
|
|
1924
|
+
assistiveWithIcon: f,
|
|
1925
|
+
error: b,
|
|
1926
1926
|
required: v,
|
|
1927
1927
|
withAsterisk: $,
|
|
1928
|
-
id:
|
|
1928
|
+
id: C,
|
|
1929
1929
|
readOnly: g,
|
|
1930
|
-
readOnlyComponent:
|
|
1930
|
+
readOnlyComponent: y,
|
|
1931
1931
|
emptyValueComponent: S,
|
|
1932
1932
|
readOnlyType: "text",
|
|
1933
1933
|
readOnlyValue: h !== void 0 ? String(h) : O ? String(O) : void 0,
|
|
@@ -1938,13 +1938,13 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1938
1938
|
Ot,
|
|
1939
1939
|
{
|
|
1940
1940
|
ref: t,
|
|
1941
|
-
...
|
|
1941
|
+
...H,
|
|
1942
1942
|
classNames: J,
|
|
1943
1943
|
disabled: P,
|
|
1944
1944
|
value: h,
|
|
1945
1945
|
defaultValue: O,
|
|
1946
1946
|
data: X || [],
|
|
1947
|
-
renderOption: A ?? ((
|
|
1947
|
+
renderOption: A ?? ((pe) => Gt(pe, ue, L)),
|
|
1948
1948
|
clearButtonProps: K,
|
|
1949
1949
|
label: void 0,
|
|
1950
1950
|
description: void 0,
|
|
@@ -1954,7 +1954,7 @@ const ul = "Dropdown-module__layoutOverride___FNcvP", pl = "Dropdown-module__roo
|
|
|
1954
1954
|
attributes: {
|
|
1955
1955
|
wrapper: {
|
|
1956
1956
|
"data-disabled": P ? "true" : void 0,
|
|
1957
|
-
"data-error":
|
|
1957
|
+
"data-error": b ? "true" : void 0
|
|
1958
1958
|
}
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
@@ -2027,17 +2027,17 @@ const Wl = _(
|
|
|
2027
2027
|
labelActionArea: d,
|
|
2028
2028
|
onLabelEditClick: p,
|
|
2029
2029
|
label: m,
|
|
2030
|
-
assistiveText:
|
|
2031
|
-
assistiveWithIcon:
|
|
2032
|
-
error:
|
|
2030
|
+
assistiveText: N,
|
|
2031
|
+
assistiveWithIcon: f,
|
|
2032
|
+
error: b,
|
|
2033
2033
|
required: v,
|
|
2034
2034
|
withAsterisk: $,
|
|
2035
|
-
id:
|
|
2035
|
+
id: C,
|
|
2036
2036
|
className: T,
|
|
2037
2037
|
style: w,
|
|
2038
2038
|
disabled: P,
|
|
2039
2039
|
readOnly: g,
|
|
2040
|
-
files:
|
|
2040
|
+
files: y,
|
|
2041
2041
|
onFilesAdded: S,
|
|
2042
2042
|
onFileRemove: h,
|
|
2043
2043
|
accept: O,
|
|
@@ -2046,61 +2046,61 @@ const Wl = _(
|
|
|
2046
2046
|
maxFiles: A,
|
|
2047
2047
|
onFilesRejected: L,
|
|
2048
2048
|
invalidFileTypeMessage: Y = "File type not accepted",
|
|
2049
|
-
maxFilesMessage:
|
|
2049
|
+
maxFilesMessage: H = M ? `Maximum of ${A} files allowed` : "Only one file is allowed",
|
|
2050
2050
|
icon: j,
|
|
2051
2051
|
clearIcon: X,
|
|
2052
|
-
placeholder:
|
|
2052
|
+
placeholder: G = "Select a file...",
|
|
2053
2053
|
browseLabel: K = "Choose file",
|
|
2054
2054
|
removeFileLabel: J = "Remove",
|
|
2055
|
-
clearLabel:
|
|
2055
|
+
clearLabel: ue = "Clear",
|
|
2056
2056
|
...W
|
|
2057
|
-
} = e,
|
|
2057
|
+
} = e, pe = u(W, o), k = !P && !g, se = !!y && y.length > 0, Ne = Fe(null), [re, le] = ie(!1), [be, we] = ie(!1), Ye = (x) => {
|
|
2058
2058
|
if (!k) return;
|
|
2059
2059
|
const te = Array.from(x);
|
|
2060
2060
|
if (te.length === 0) return;
|
|
2061
|
-
const ne = M ? A : 1, Q = M ? (
|
|
2061
|
+
const ne = M ? A : 1, Q = M ? (y == null ? void 0 : y.length) ?? 0 : 0, fe = [], Mo = [];
|
|
2062
2062
|
let pt = !1, mt = !1;
|
|
2063
2063
|
for (const Zo of te) {
|
|
2064
2064
|
const _t = !At(Zo, O);
|
|
2065
2065
|
_t && (pt = !0);
|
|
2066
|
-
const Oa = D !== void 0 && Zo.size > D, ft = ne !== void 0 && Q +
|
|
2067
|
-
ft && (mt = !0), (_t || Oa || ft ? Mo :
|
|
2066
|
+
const Oa = D !== void 0 && Zo.size > D, ft = ne !== void 0 && Q + fe.length >= ne;
|
|
2067
|
+
ft && (mt = !0), (_t || Oa || ft ? Mo : fe).push(Zo);
|
|
2068
2068
|
}
|
|
2069
|
-
le(pt),
|
|
2070
|
-
},
|
|
2071
|
-
x.preventDefault(),
|
|
2069
|
+
le(pt), we(mt), fe.length > 0 && (S == null || S(fe)), Mo.length > 0 && (L == null || L(Mo));
|
|
2070
|
+
}, Se = Fe(0), [Ze, Ae] = ie(!1), ze = (x) => {
|
|
2071
|
+
x.preventDefault(), Se.current += 1, Ae(!0);
|
|
2072
2072
|
}, uo = (x) => {
|
|
2073
|
-
x.preventDefault(),
|
|
2074
|
-
},
|
|
2073
|
+
x.preventDefault(), Se.current -= 1, Se.current <= 0 && (Se.current = 0, Ae(!1));
|
|
2074
|
+
}, $e = (x) => {
|
|
2075
2075
|
x.preventDefault();
|
|
2076
2076
|
}, Xe = (x) => {
|
|
2077
|
-
x.preventDefault(),
|
|
2078
|
-
},
|
|
2077
|
+
x.preventDefault(), Se.current = 0, Ae(!1), Ye(x.dataTransfer.files);
|
|
2078
|
+
}, xe = () => {
|
|
2079
2079
|
var x;
|
|
2080
|
-
k && ((x =
|
|
2080
|
+
k && ((x = Ne.current) == null || x.click());
|
|
2081
2081
|
}, Qe = (x) => {
|
|
2082
|
-
x.key !== "Enter" && x.key !== " " || (x.preventDefault(),
|
|
2082
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2083
2083
|
}, U = (x) => {
|
|
2084
2084
|
x.target.files && Ye(x.target.files), x.target.value = "";
|
|
2085
2085
|
}, B = () => {
|
|
2086
|
-
!k || !
|
|
2087
|
-
}, [z, I] = ie(0), F = Fe([]), Z = Fe((
|
|
2088
|
-
|
|
2086
|
+
!k || !y || y.length === 0 || y.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2087
|
+
}, [z, I] = ie(0), F = Fe([]), Z = Fe((y == null ? void 0 : y.length) ?? 0);
|
|
2088
|
+
Ie(() => {
|
|
2089
2089
|
var te;
|
|
2090
|
-
const x = (
|
|
2090
|
+
const x = (y == null ? void 0 : y.length) ?? 0;
|
|
2091
2091
|
if (x > 0 && x < Z.current) {
|
|
2092
2092
|
const ne = Math.min(z, x - 1);
|
|
2093
2093
|
I(ne), (te = F.current[ne]) == null || te.focus();
|
|
2094
2094
|
}
|
|
2095
2095
|
Z.current = x;
|
|
2096
|
-
}, [
|
|
2097
|
-
const
|
|
2096
|
+
}, [y]);
|
|
2097
|
+
const _e = (x) => {
|
|
2098
2098
|
var Q;
|
|
2099
|
-
const te = (
|
|
2099
|
+
const te = (y == null ? void 0 : y.length) ?? 0;
|
|
2100
2100
|
if (te === 0) return;
|
|
2101
2101
|
let ne;
|
|
2102
2102
|
x.key === "ArrowRight" || x.key === "ArrowDown" ? ne = (z + 1) % te : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ne = (z - 1 + te) % te), ne !== void 0 && (x.preventDefault(), x.stopPropagation(), I(ne), (Q = F.current[ne]) == null || Q.focus());
|
|
2103
|
-
}, Je =
|
|
2103
|
+
}, Je = b ?? (re ? Y : be ? H : void 0), po = T ? `${De.layoutOverride} ${T}` : De.layoutOverride;
|
|
2104
2104
|
return /* @__PURE__ */ a(
|
|
2105
2105
|
Co,
|
|
2106
2106
|
{
|
|
@@ -2115,19 +2115,19 @@ const Wl = _(
|
|
|
2115
2115
|
labelActionArea: d,
|
|
2116
2116
|
onLabelEditClick: p,
|
|
2117
2117
|
label: m,
|
|
2118
|
-
assistiveText:
|
|
2119
|
-
assistiveWithIcon:
|
|
2118
|
+
assistiveText: N,
|
|
2119
|
+
assistiveWithIcon: f,
|
|
2120
2120
|
error: Je,
|
|
2121
2121
|
required: v,
|
|
2122
2122
|
withAsterisk: $,
|
|
2123
|
-
id:
|
|
2123
|
+
id: C,
|
|
2124
2124
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2125
2125
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2126
2126
|
children: /* @__PURE__ */ R(
|
|
2127
2127
|
"div",
|
|
2128
2128
|
{
|
|
2129
2129
|
ref: t,
|
|
2130
|
-
...
|
|
2130
|
+
...pe,
|
|
2131
2131
|
className: De.root,
|
|
2132
2132
|
role: "button",
|
|
2133
2133
|
"aria-label": K,
|
|
@@ -2137,22 +2137,22 @@ const Wl = _(
|
|
|
2137
2137
|
"data-readonly": g ? "true" : void 0,
|
|
2138
2138
|
"data-error": Je ? "true" : void 0,
|
|
2139
2139
|
"data-dragging": Ze ? "true" : void 0,
|
|
2140
|
-
onClick: k ?
|
|
2140
|
+
onClick: k ? xe : void 0,
|
|
2141
2141
|
onKeyDown: k ? Qe : void 0,
|
|
2142
2142
|
onDragEnter: k ? ze : void 0,
|
|
2143
2143
|
onDragLeave: k ? uo : void 0,
|
|
2144
|
-
onDragOver: k ?
|
|
2144
|
+
onDragOver: k ? $e : void 0,
|
|
2145
2145
|
onDrop: k ? Xe : void 0,
|
|
2146
2146
|
children: [
|
|
2147
2147
|
/* @__PURE__ */ a("span", { className: De.leadingIcon, "aria-hidden": !0, children: j ?? /* @__PURE__ */ a(Ll, {}) }),
|
|
2148
2148
|
/* @__PURE__ */ R("div", { className: De.content, children: [
|
|
2149
|
-
!se && /* @__PURE__ */ a("span", { className: De.value, "data-placeholder": "true", children:
|
|
2149
|
+
!se && /* @__PURE__ */ a("span", { className: De.value, "data-placeholder": "true", children: G }),
|
|
2150
2150
|
se && /* @__PURE__ */ a(
|
|
2151
2151
|
"div",
|
|
2152
2152
|
{
|
|
2153
2153
|
className: De.chipRow,
|
|
2154
|
-
onKeyDown: g ? void 0 :
|
|
2155
|
-
children:
|
|
2154
|
+
onKeyDown: g ? void 0 : _e,
|
|
2155
|
+
children: y.map((x, te) => {
|
|
2156
2156
|
const ne = x.id ?? x.file.name;
|
|
2157
2157
|
return /* @__PURE__ */ a(
|
|
2158
2158
|
"span",
|
|
@@ -2160,7 +2160,7 @@ const Wl = _(
|
|
|
2160
2160
|
className: De.chipWrapper,
|
|
2161
2161
|
onClick: (Q) => Q.stopPropagation(),
|
|
2162
2162
|
children: /* @__PURE__ */ a(
|
|
2163
|
-
|
|
2163
|
+
Go,
|
|
2164
2164
|
{
|
|
2165
2165
|
checked: !1,
|
|
2166
2166
|
tabIndex: -1,
|
|
@@ -2187,7 +2187,7 @@ const Wl = _(
|
|
|
2187
2187
|
variant: "text",
|
|
2188
2188
|
size: "small",
|
|
2189
2189
|
icon: X ?? /* @__PURE__ */ a(Ml, {}),
|
|
2190
|
-
"aria-label":
|
|
2190
|
+
"aria-label": ue,
|
|
2191
2191
|
className: De.trailingIcon,
|
|
2192
2192
|
disabled: P,
|
|
2193
2193
|
onClick: (x) => {
|
|
@@ -2201,7 +2201,7 @@ const Wl = _(
|
|
|
2201
2201
|
/* @__PURE__ */ a(
|
|
2202
2202
|
"input",
|
|
2203
2203
|
{
|
|
2204
|
-
ref:
|
|
2204
|
+
ref: Ne,
|
|
2205
2205
|
type: "file",
|
|
2206
2206
|
hidden: !0,
|
|
2207
2207
|
accept: O,
|
|
@@ -2259,17 +2259,17 @@ const Vl = _(
|
|
|
2259
2259
|
labelActionArea: d,
|
|
2260
2260
|
onLabelEditClick: p,
|
|
2261
2261
|
label: m,
|
|
2262
|
-
assistiveText:
|
|
2263
|
-
assistiveWithIcon:
|
|
2264
|
-
error:
|
|
2262
|
+
assistiveText: N,
|
|
2263
|
+
assistiveWithIcon: f,
|
|
2264
|
+
error: b,
|
|
2265
2265
|
required: v,
|
|
2266
2266
|
withAsterisk: $,
|
|
2267
|
-
id:
|
|
2267
|
+
id: C,
|
|
2268
2268
|
className: T,
|
|
2269
2269
|
style: w,
|
|
2270
2270
|
disabled: P,
|
|
2271
2271
|
readOnly: g,
|
|
2272
|
-
files:
|
|
2272
|
+
files: y,
|
|
2273
2273
|
onFilesAdded: S,
|
|
2274
2274
|
onFileRemove: h,
|
|
2275
2275
|
accept: O,
|
|
@@ -2278,55 +2278,55 @@ const Vl = _(
|
|
|
2278
2278
|
maxFiles: A,
|
|
2279
2279
|
onFilesRejected: L,
|
|
2280
2280
|
invalidFileTypeMessage: Y = "File type not accepted",
|
|
2281
|
-
maxFilesMessage:
|
|
2281
|
+
maxFilesMessage: H = `Maximum of ${A} files allowed`,
|
|
2282
2282
|
icon: j,
|
|
2283
2283
|
dropzoneLabel: X = "Drag and drop files here to upload",
|
|
2284
|
-
browseButtonLabel:
|
|
2284
|
+
browseButtonLabel: G = "Browse files",
|
|
2285
2285
|
removeFileLabel: K = "Remove",
|
|
2286
2286
|
...J
|
|
2287
|
-
} = e, W = u(J, o), ae = Fe(null), [
|
|
2287
|
+
} = e, W = u(J, o), ae = Fe(null), [pe, k] = ie(!1), [se, Ne] = ie(!1), re = (I) => {
|
|
2288
2288
|
if (P) return;
|
|
2289
2289
|
const F = Array.from(I);
|
|
2290
2290
|
if (F.length === 0) return;
|
|
2291
|
-
const Z = (
|
|
2291
|
+
const Z = (y == null ? void 0 : y.length) ?? 0, _e = [], Je = [];
|
|
2292
2292
|
let po = !1, x = !1;
|
|
2293
2293
|
for (const te of F) {
|
|
2294
2294
|
const ne = !At(te, O);
|
|
2295
2295
|
ne && (po = !0);
|
|
2296
|
-
const Q = D !== void 0 && te.size > D,
|
|
2297
|
-
|
|
2296
|
+
const Q = D !== void 0 && te.size > D, fe = A !== void 0 && Z + _e.length >= A;
|
|
2297
|
+
fe && (x = !0), (ne || Q || fe ? Je : _e).push(te);
|
|
2298
2298
|
}
|
|
2299
|
-
k(po),
|
|
2300
|
-
}, le = Fe(0), [
|
|
2301
|
-
I.preventDefault(), le.current += 1,
|
|
2302
|
-
},
|
|
2303
|
-
I.preventDefault(), le.current -= 1, le.current <= 0 && (le.current = 0,
|
|
2299
|
+
k(po), Ne(x), _e.length > 0 && (S == null || S(_e)), Je.length > 0 && (L == null || L(Je));
|
|
2300
|
+
}, le = Fe(0), [be, we] = ie(!1), Ye = (I) => {
|
|
2301
|
+
I.preventDefault(), le.current += 1, we(!0);
|
|
2302
|
+
}, Se = (I) => {
|
|
2303
|
+
I.preventDefault(), le.current -= 1, le.current <= 0 && (le.current = 0, we(!1));
|
|
2304
2304
|
}, Ze = (I) => {
|
|
2305
2305
|
I.preventDefault();
|
|
2306
2306
|
}, Ae = (I) => {
|
|
2307
|
-
I.preventDefault(), le.current = 0,
|
|
2307
|
+
I.preventDefault(), le.current = 0, we(!1), re(I.dataTransfer.files);
|
|
2308
2308
|
}, ze = () => {
|
|
2309
2309
|
var I;
|
|
2310
2310
|
P || (I = ae.current) == null || I.click();
|
|
2311
2311
|
}, uo = (I) => {
|
|
2312
2312
|
I.target.files && re(I.target.files), I.target.value = "";
|
|
2313
|
-
}, [
|
|
2314
|
-
|
|
2313
|
+
}, [$e, Xe] = ie(0), xe = Fe([]), Qe = Fe((y == null ? void 0 : y.length) ?? 0);
|
|
2314
|
+
Ie(() => {
|
|
2315
2315
|
var F;
|
|
2316
|
-
const I = (
|
|
2316
|
+
const I = (y == null ? void 0 : y.length) ?? 0;
|
|
2317
2317
|
if (I > 0 && I < Qe.current) {
|
|
2318
|
-
const Z = Math.min(
|
|
2319
|
-
Xe(Z), (F =
|
|
2318
|
+
const Z = Math.min($e, I - 1);
|
|
2319
|
+
Xe(Z), (F = xe.current[Z]) == null || F.focus();
|
|
2320
2320
|
}
|
|
2321
2321
|
Qe.current = I;
|
|
2322
|
-
}, [
|
|
2322
|
+
}, [y]);
|
|
2323
2323
|
const U = (I) => {
|
|
2324
|
-
var
|
|
2325
|
-
const F = (
|
|
2324
|
+
var _e;
|
|
2325
|
+
const F = (y == null ? void 0 : y.length) ?? 0;
|
|
2326
2326
|
if (F === 0) return;
|
|
2327
2327
|
let Z;
|
|
2328
|
-
I.key === "ArrowRight" || I.key === "ArrowDown" ? Z = (
|
|
2329
|
-
}, B =
|
|
2328
|
+
I.key === "ArrowRight" || I.key === "ArrowDown" ? Z = ($e + 1) % F : (I.key === "ArrowLeft" || I.key === "ArrowUp") && (Z = ($e - 1 + F) % F), Z !== void 0 && (I.preventDefault(), Xe(Z), (_e = xe.current[Z]) == null || _e.focus());
|
|
2329
|
+
}, B = b ?? (pe ? Y : se ? H : void 0), z = T ? `${to.layoutOverride} ${T}` : to.layoutOverride;
|
|
2330
2330
|
return /* @__PURE__ */ a(
|
|
2331
2331
|
Co,
|
|
2332
2332
|
{
|
|
@@ -2341,12 +2341,12 @@ const Vl = _(
|
|
|
2341
2341
|
labelActionArea: d,
|
|
2342
2342
|
onLabelEditClick: p,
|
|
2343
2343
|
label: m,
|
|
2344
|
-
assistiveText:
|
|
2345
|
-
assistiveWithIcon:
|
|
2344
|
+
assistiveText: N,
|
|
2345
|
+
assistiveWithIcon: f,
|
|
2346
2346
|
error: B,
|
|
2347
2347
|
required: v,
|
|
2348
2348
|
withAsterisk: $,
|
|
2349
|
-
id:
|
|
2349
|
+
id: C,
|
|
2350
2350
|
children: /* @__PURE__ */ R(
|
|
2351
2351
|
"div",
|
|
2352
2352
|
{
|
|
@@ -2360,9 +2360,9 @@ const Vl = _(
|
|
|
2360
2360
|
"div",
|
|
2361
2361
|
{
|
|
2362
2362
|
className: to.dropzone,
|
|
2363
|
-
"data-dragging":
|
|
2363
|
+
"data-dragging": be ? "true" : void 0,
|
|
2364
2364
|
onDragEnter: P ? void 0 : Ye,
|
|
2365
|
-
onDragLeave: P ? void 0 :
|
|
2365
|
+
onDragLeave: P ? void 0 : Se,
|
|
2366
2366
|
onDragOver: P ? void 0 : Ze,
|
|
2367
2367
|
onDrop: P ? void 0 : Ae,
|
|
2368
2368
|
children: [
|
|
@@ -2374,7 +2374,7 @@ const Vl = _(
|
|
|
2374
2374
|
variant: "outline",
|
|
2375
2375
|
disabled: P,
|
|
2376
2376
|
onClick: ze,
|
|
2377
|
-
children:
|
|
2377
|
+
children: G
|
|
2378
2378
|
}
|
|
2379
2379
|
),
|
|
2380
2380
|
/* @__PURE__ */ a(
|
|
@@ -2392,25 +2392,25 @@ const Vl = _(
|
|
|
2392
2392
|
]
|
|
2393
2393
|
}
|
|
2394
2394
|
),
|
|
2395
|
-
|
|
2395
|
+
y && y.length > 0 && (g ? /* @__PURE__ */ a("div", { className: to.fileList, children: y.map((I) => {
|
|
2396
2396
|
const F = I.id ?? I.file.name;
|
|
2397
|
-
return /* @__PURE__ */ a(
|
|
2397
|
+
return /* @__PURE__ */ a(Go, { checked: !1, tabIndex: -1, children: I.file.name }, F);
|
|
2398
2398
|
}) }) : /* @__PURE__ */ a(
|
|
2399
2399
|
"div",
|
|
2400
2400
|
{
|
|
2401
2401
|
className: to.fileList,
|
|
2402
2402
|
onKeyDown: U,
|
|
2403
|
-
children:
|
|
2403
|
+
children: y.map((I, F) => {
|
|
2404
2404
|
const Z = I.id ?? I.file.name;
|
|
2405
2405
|
return /* @__PURE__ */ a(
|
|
2406
|
-
|
|
2406
|
+
Go,
|
|
2407
2407
|
{
|
|
2408
2408
|
checked: !1,
|
|
2409
2409
|
tabIndex: -1,
|
|
2410
2410
|
deleteLabel: K,
|
|
2411
|
-
deleteTabIndex: F ===
|
|
2412
|
-
deleteIconRef: (
|
|
2413
|
-
|
|
2411
|
+
deleteTabIndex: F === $e ? 0 : -1,
|
|
2412
|
+
deleteIconRef: (_e) => {
|
|
2413
|
+
xe.current[F] = _e;
|
|
2414
2414
|
},
|
|
2415
2415
|
onDelete: P ? void 0 : () => h == null ? void 0 : h(Z),
|
|
2416
2416
|
children: I.file.name
|
|
@@ -2428,8 +2428,8 @@ const Vl = _(
|
|
|
2428
2428
|
}
|
|
2429
2429
|
);
|
|
2430
2430
|
Vl.displayName = "FileUpload";
|
|
2431
|
-
const
|
|
2432
|
-
root:
|
|
2431
|
+
const Gl = "Flex-module__root___yYser", $o = {
|
|
2432
|
+
root: Gl
|
|
2433
2433
|
}, tn = _(function({ children: e, gap: t = "rec-default", rowGap: o, columnGap: n, ...s }, l) {
|
|
2434
2434
|
const i = {
|
|
2435
2435
|
root: $o.root
|
|
@@ -2451,43 +2451,46 @@ const Hl = "Flex-module__root___yYser", $o = {
|
|
|
2451
2451
|
);
|
|
2452
2452
|
});
|
|
2453
2453
|
tn.displayName = "Flex";
|
|
2454
|
-
const
|
|
2455
|
-
root:
|
|
2456
|
-
|
|
2457
|
-
|
|
2454
|
+
const Fu = Te(tn), Hl = "Grid-module__root___s-qPY", jl = "Grid-module__inner___siEaF", ql = "Grid-module__col___tbuNg", ce = {
|
|
2455
|
+
root: Hl,
|
|
2456
|
+
inner: jl,
|
|
2457
|
+
col: ql
|
|
2458
|
+
}, nn = _(function({ children: e, columns: t, ...o }, n) {
|
|
2458
2459
|
const s = {
|
|
2459
|
-
root:
|
|
2460
|
+
root: ce.root,
|
|
2461
|
+
inner: ce.inner,
|
|
2462
|
+
col: ce.col
|
|
2460
2463
|
}, l = o.classNames;
|
|
2461
2464
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2462
|
-
const
|
|
2463
|
-
s.root =
|
|
2465
|
+
const f = l;
|
|
2466
|
+
s.root = f.root ? `${ce.root} ${f.root}` : ce.root, s.inner = f.inner ? `${ce.inner} ${f.inner}` : ce.inner, s.col = f.col ? `${ce.col} ${f.col}` : ce.col;
|
|
2464
2467
|
}
|
|
2465
|
-
const i = o.className, c = i ? `${
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
});
|
|
2468
|
+
const i = o.className, c = i ? `${ce.root} ${i}` : ce.root, { gutter: d, ...p } = o, m = Ro(
|
|
2469
|
+
p
|
|
2470
|
+
);
|
|
2469
2471
|
return /* @__PURE__ */ a(
|
|
2470
2472
|
kt,
|
|
2471
2473
|
{
|
|
2472
2474
|
ref: n,
|
|
2473
|
-
|
|
2475
|
+
columns: t ?? 6,
|
|
2476
|
+
gutter: "var(--recursica_brand_layout-grids_default_column-gutter)",
|
|
2474
2477
|
className: c,
|
|
2475
2478
|
classNames: s,
|
|
2476
|
-
...
|
|
2479
|
+
...m,
|
|
2477
2480
|
children: e
|
|
2478
2481
|
}
|
|
2479
2482
|
);
|
|
2480
2483
|
});
|
|
2481
2484
|
nn.displayName = "Grid";
|
|
2482
|
-
const
|
|
2485
|
+
const Kl = Te(nn), an = _(function({ children: e, ...t }, o) {
|
|
2483
2486
|
const n = {
|
|
2484
|
-
col:
|
|
2487
|
+
col: ce.col
|
|
2485
2488
|
}, s = t.classNames;
|
|
2486
2489
|
if (s && typeof s == "object" && !Array.isArray(s)) {
|
|
2487
2490
|
const c = s;
|
|
2488
|
-
n.col = c.col ? `${
|
|
2491
|
+
n.col = c.col ? `${ce.col} ${c.col}` : ce.col;
|
|
2489
2492
|
}
|
|
2490
|
-
const l = t.className, i = l ? `${
|
|
2493
|
+
const l = t.className, i = l ? `${ce.col} ${l}` : ce.col;
|
|
2491
2494
|
return /* @__PURE__ */ a(
|
|
2492
2495
|
kt.Col,
|
|
2493
2496
|
{
|
|
@@ -2502,13 +2505,13 @@ const ql = Pe(nn), an = _(function({ children: e, ...t }, o) {
|
|
|
2502
2505
|
);
|
|
2503
2506
|
});
|
|
2504
2507
|
an.displayName = "GridCol";
|
|
2505
|
-
const
|
|
2508
|
+
const Yl = Te(
|
|
2506
2509
|
an
|
|
2507
|
-
),
|
|
2508
|
-
|
|
2509
|
-
const
|
|
2510
|
-
root:
|
|
2511
|
-
},
|
|
2510
|
+
), Zl = Kl;
|
|
2511
|
+
Zl.Col = Yl;
|
|
2512
|
+
const Xl = "Group-module__root___ftO64", xo = {
|
|
2513
|
+
root: Xl
|
|
2514
|
+
}, Ql = _(function({ children: e, gap: t = "rec-default", ...o }, n) {
|
|
2512
2515
|
const s = {
|
|
2513
2516
|
root: xo.root
|
|
2514
2517
|
}, l = o.classNames;
|
|
@@ -2528,33 +2531,41 @@ const Zl = "Group-module__root___ftO64", xo = {
|
|
|
2528
2531
|
}
|
|
2529
2532
|
);
|
|
2530
2533
|
});
|
|
2531
|
-
|
|
2532
|
-
const
|
|
2533
|
-
root:
|
|
2534
|
-
},
|
|
2535
|
-
function({
|
|
2536
|
-
|
|
2534
|
+
Ql.displayName = "Group";
|
|
2535
|
+
const Jl = "Heading-module__root___-To4U", ei = {
|
|
2536
|
+
root: Jl
|
|
2537
|
+
}, oi = _(
|
|
2538
|
+
function({
|
|
2539
|
+
overStyled: e = !1,
|
|
2540
|
+
order: t = 1,
|
|
2541
|
+
emphasis: o = "high",
|
|
2542
|
+
color: n = "default",
|
|
2543
|
+
...s
|
|
2544
|
+
}, l) {
|
|
2545
|
+
const i = [
|
|
2537
2546
|
"size"
|
|
2538
2547
|
// Recursica controls Heading sizing via the `order` prop + typography tokens, not Mantine's native `size`.
|
|
2539
|
-
],
|
|
2540
|
-
u(
|
|
2541
|
-
|
|
2542
|
-
),
|
|
2548
|
+
], c = V(
|
|
2549
|
+
u(s, e),
|
|
2550
|
+
i
|
|
2551
|
+
), d = c.className, m = [`recursica_brand_typography_h${t}`, ei.root, d].filter(Boolean).join(" ");
|
|
2543
2552
|
return /* @__PURE__ */ a(
|
|
2544
2553
|
Va,
|
|
2545
2554
|
{
|
|
2546
|
-
ref:
|
|
2547
|
-
...
|
|
2555
|
+
ref: l,
|
|
2556
|
+
...c,
|
|
2548
2557
|
order: t,
|
|
2549
|
-
|
|
2558
|
+
"data-color": n,
|
|
2559
|
+
"data-emphasis": o,
|
|
2560
|
+
className: m
|
|
2550
2561
|
}
|
|
2551
2562
|
);
|
|
2552
2563
|
}
|
|
2553
2564
|
);
|
|
2554
|
-
|
|
2555
|
-
const
|
|
2556
|
-
dropdown:
|
|
2557
|
-
arrow:
|
|
2565
|
+
oi.displayName = "Heading";
|
|
2566
|
+
const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow___S9AkE", bt = {
|
|
2567
|
+
dropdown: ti,
|
|
2568
|
+
arrow: ni
|
|
2558
2569
|
}, rn = function({
|
|
2559
2570
|
overStyled: e = !1,
|
|
2560
2571
|
withBeak: t = !0,
|
|
@@ -2607,17 +2618,17 @@ ln.displayName = "HoverCardDropdown";
|
|
|
2607
2618
|
const cn = rn;
|
|
2608
2619
|
cn.Target = sn;
|
|
2609
2620
|
cn.Dropdown = ln;
|
|
2610
|
-
const
|
|
2611
|
-
root:
|
|
2612
|
-
iconWrapper:
|
|
2613
|
-
labelText:
|
|
2621
|
+
const ai = "Link-module__root___I0VGE", ri = "Link-module__iconWrapper___W-LlF", si = "Link-module__labelText___wSvUy", Oo = {
|
|
2622
|
+
root: ai,
|
|
2623
|
+
iconWrapper: ri,
|
|
2624
|
+
labelText: si
|
|
2614
2625
|
}, dn = _(function({ icon: e, children: t, overStyled: o = !1, ...n }, s) {
|
|
2615
2626
|
const l = u(n, o), i = l, c = E(
|
|
2616
2627
|
{ root: Oo.root },
|
|
2617
2628
|
i.classNames
|
|
2618
2629
|
), d = i.className, p = d ? `${Oo.root} ${d}` : Oo.root;
|
|
2619
2630
|
return /* @__PURE__ */ R(
|
|
2620
|
-
|
|
2631
|
+
Ga,
|
|
2621
2632
|
{
|
|
2622
2633
|
ref: s,
|
|
2623
2634
|
...l,
|
|
@@ -2633,14 +2644,14 @@ const ni = "Link-module__root___I0VGE", ai = "Link-module__iconWrapper___W-LlF",
|
|
|
2633
2644
|
);
|
|
2634
2645
|
});
|
|
2635
2646
|
dn.displayName = "Link";
|
|
2636
|
-
const
|
|
2637
|
-
dropdown:
|
|
2638
|
-
item:
|
|
2639
|
-
itemLabel:
|
|
2640
|
-
itemSection:
|
|
2641
|
-
divider:
|
|
2642
|
-
label:
|
|
2643
|
-
chevron:
|
|
2647
|
+
const Uu = Te(dn), li = "Menu-module__dropdown___j4xuA", ii = "Menu-module__item___NMXha", ci = "Menu-module__itemLabel___zvcqC", di = "Menu-module__itemSection___pRIcn", ui = "Menu-module__divider___wPiNq", pi = "Menu-module__label___4FBGa", mi = "Menu-module__chevron___hEEiy", _o = {
|
|
2648
|
+
dropdown: li,
|
|
2649
|
+
item: ii,
|
|
2650
|
+
itemLabel: ci,
|
|
2651
|
+
itemSection: di,
|
|
2652
|
+
divider: ui,
|
|
2653
|
+
label: pi,
|
|
2654
|
+
chevron: mi
|
|
2644
2655
|
}, un = function({ overStyled: e = !1, ...t }) {
|
|
2645
2656
|
const n = u(t, e), { maxHeight: s, ...l } = n, i = E(
|
|
2646
2657
|
{
|
|
@@ -2718,7 +2729,7 @@ const _n = _(
|
|
|
2718
2729
|
}
|
|
2719
2730
|
);
|
|
2720
2731
|
_n.displayName = "MenuItem";
|
|
2721
|
-
const
|
|
2732
|
+
const _i = Te(_n), fn = _(
|
|
2722
2733
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2723
2734
|
const n = u(t, e), s = n.className;
|
|
2724
2735
|
return /* @__PURE__ */ a(
|
|
@@ -2772,7 +2783,7 @@ const Nn = _(
|
|
|
2772
2783
|
}
|
|
2773
2784
|
);
|
|
2774
2785
|
Nn.displayName = "MenuSubItem";
|
|
2775
|
-
const
|
|
2786
|
+
const fi = Te(
|
|
2776
2787
|
Nn
|
|
2777
2788
|
), bn = _(
|
|
2778
2789
|
function({ overStyled: e = !1, ...t }, o) {
|
|
@@ -2790,25 +2801,25 @@ const _i = Pe(
|
|
|
2790
2801
|
bn.displayName = "MenuSubDropdown";
|
|
2791
2802
|
const Yo = hn;
|
|
2792
2803
|
Yo.Target = vn;
|
|
2793
|
-
Yo.Item =
|
|
2804
|
+
Yo.Item = fi;
|
|
2794
2805
|
Yo.Dropdown = bn;
|
|
2795
2806
|
const Po = un;
|
|
2796
2807
|
Po.Target = pn;
|
|
2797
2808
|
Po.Dropdown = mn;
|
|
2798
|
-
Po.Item =
|
|
2809
|
+
Po.Item = _i;
|
|
2799
2810
|
Po.Divider = fn;
|
|
2800
2811
|
Po.Label = yn;
|
|
2801
2812
|
Po.Sub = Yo;
|
|
2802
|
-
const
|
|
2803
|
-
root:
|
|
2804
|
-
inner:
|
|
2805
|
-
content:
|
|
2806
|
-
header:
|
|
2807
|
-
title:
|
|
2808
|
-
bodyWrapper:
|
|
2809
|
-
scrollArea:
|
|
2810
|
-
footer:
|
|
2811
|
-
close:
|
|
2813
|
+
const yi = "Modal-module__root___ytPLl", hi = "Modal-module__inner___SSUJE", vi = "Modal-module__content___dWO-B", Ni = "Modal-module__header___ILG9i", bi = "Modal-module__title___A5OeE", Ci = "Modal-module__bodyWrapper___5CCL-", gi = "Modal-module__scrollArea___KD-hm", Pi = "Modal-module__footer___rro2w", Ti = "Modal-module__close___-ER1C", Be = {
|
|
2814
|
+
root: yi,
|
|
2815
|
+
inner: hi,
|
|
2816
|
+
content: vi,
|
|
2817
|
+
header: Ni,
|
|
2818
|
+
title: bi,
|
|
2819
|
+
bodyWrapper: Ci,
|
|
2820
|
+
scrollArea: gi,
|
|
2821
|
+
footer: Pi,
|
|
2822
|
+
close: Ti
|
|
2812
2823
|
}, Cn = q.forwardRef(function({
|
|
2813
2824
|
overStyled: e = !1,
|
|
2814
2825
|
children: t,
|
|
@@ -2827,7 +2838,7 @@ const fi = "Modal-module__root___ytPLl", yi = "Modal-module__inner___SSUJE", hi
|
|
|
2827
2838
|
], m = V(
|
|
2828
2839
|
u(c, e),
|
|
2829
2840
|
p
|
|
2830
|
-
),
|
|
2841
|
+
), N = E(
|
|
2831
2842
|
{
|
|
2832
2843
|
root: Be.root,
|
|
2833
2844
|
inner: Be.inner,
|
|
@@ -2839,17 +2850,17 @@ const fi = "Modal-module__root___ytPLl", yi = "Modal-module__inner___SSUJE", hi
|
|
|
2839
2850
|
m.classNames
|
|
2840
2851
|
);
|
|
2841
2852
|
return /* @__PURE__ */ R(
|
|
2842
|
-
|
|
2853
|
+
he.Root,
|
|
2843
2854
|
{
|
|
2844
2855
|
ref: d,
|
|
2845
2856
|
...m,
|
|
2846
|
-
classNames:
|
|
2857
|
+
classNames: N,
|
|
2847
2858
|
children: [
|
|
2848
|
-
l && /* @__PURE__ */ a(
|
|
2849
|
-
/* @__PURE__ */ R(
|
|
2850
|
-
(o || n) && /* @__PURE__ */ R(
|
|
2851
|
-
o && /* @__PURE__ */ a(
|
|
2852
|
-
n && /* @__PURE__ */ a(
|
|
2859
|
+
l && /* @__PURE__ */ a(he.Overlay, { ...s }),
|
|
2860
|
+
/* @__PURE__ */ R(he.Content, { children: [
|
|
2861
|
+
(o || n) && /* @__PURE__ */ R(he.Header, { children: [
|
|
2862
|
+
o && /* @__PURE__ */ a(he.Title, { children: o }),
|
|
2863
|
+
n && /* @__PURE__ */ a(he.CloseButton, { ...i })
|
|
2853
2864
|
] }),
|
|
2854
2865
|
/* @__PURE__ */ a(ut, { children: t })
|
|
2855
2866
|
] })
|
|
@@ -2874,27 +2885,27 @@ const dt = q.forwardRef(
|
|
|
2874
2885
|
dt.displayName = "Modal.Footer";
|
|
2875
2886
|
const ut = q.forwardRef(
|
|
2876
2887
|
function({ overStyled: e = !1, className: t, onScroll: o, children: n, ...s }, l) {
|
|
2877
|
-
const i = u(s, e), c = q.useRef(null), [d, p] = q.useState(!1), [m,
|
|
2888
|
+
const i = u(s, e), c = q.useRef(null), [d, p] = q.useState(!1), [m, N] = q.useState(!1), f = q.useCallback(() => {
|
|
2878
2889
|
if (c.current) {
|
|
2879
|
-
const { scrollTop:
|
|
2880
|
-
p(
|
|
2890
|
+
const { scrollTop: C, scrollHeight: T, clientHeight: w } = c.current;
|
|
2891
|
+
p(C > 0), N(Math.ceil(C + w) < T);
|
|
2881
2892
|
}
|
|
2882
2893
|
}, []);
|
|
2883
|
-
q.useEffect(() => (
|
|
2884
|
-
const
|
|
2885
|
-
|
|
2894
|
+
q.useEffect(() => (f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f)), [f, n]);
|
|
2895
|
+
const b = (C) => {
|
|
2896
|
+
f(), o == null || o(C);
|
|
2886
2897
|
};
|
|
2887
2898
|
let v = null;
|
|
2888
2899
|
const $ = [];
|
|
2889
|
-
return q.Children.forEach(n, (
|
|
2900
|
+
return q.Children.forEach(n, (C) => {
|
|
2890
2901
|
var T;
|
|
2891
|
-
q.isValidElement(
|
|
2902
|
+
q.isValidElement(C) && (C.type === dt || ((T = C.type) == null ? void 0 : T.displayName) === "Modal.Footer") ? v = C : $.push(C);
|
|
2892
2903
|
}), /* @__PURE__ */ R(
|
|
2893
|
-
|
|
2904
|
+
he.Body,
|
|
2894
2905
|
{
|
|
2895
2906
|
...i,
|
|
2896
|
-
ref: (
|
|
2897
|
-
typeof l == "function" ? l(
|
|
2907
|
+
ref: (C) => {
|
|
2908
|
+
typeof l == "function" ? l(C) : l && (l.current = C);
|
|
2898
2909
|
},
|
|
2899
2910
|
className: `${Be.bodyWrapper} ${t || ""}`,
|
|
2900
2911
|
children: [
|
|
@@ -2902,7 +2913,7 @@ const ut = q.forwardRef(
|
|
|
2902
2913
|
"div",
|
|
2903
2914
|
{
|
|
2904
2915
|
ref: c,
|
|
2905
|
-
onScroll:
|
|
2916
|
+
onScroll: b,
|
|
2906
2917
|
"data-scrolled-top": d || void 0,
|
|
2907
2918
|
"data-scrolled-bottom": m || void 0,
|
|
2908
2919
|
className: Be.scrollArea,
|
|
@@ -2916,7 +2927,7 @@ const ut = q.forwardRef(
|
|
|
2916
2927
|
}
|
|
2917
2928
|
);
|
|
2918
2929
|
ut.displayName = "Modal.Body";
|
|
2919
|
-
const
|
|
2930
|
+
const wi = [
|
|
2920
2931
|
"size",
|
|
2921
2932
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2922
2933
|
"radius"
|
|
@@ -2925,10 +2936,10 @@ const Ti = [
|
|
|
2925
2936
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2926
2937
|
const n = V(
|
|
2927
2938
|
u(t, e),
|
|
2928
|
-
|
|
2939
|
+
wi
|
|
2929
2940
|
);
|
|
2930
2941
|
return /* @__PURE__ */ a(
|
|
2931
|
-
|
|
2942
|
+
he.Root,
|
|
2932
2943
|
{
|
|
2933
2944
|
ref: o,
|
|
2934
2945
|
...n
|
|
@@ -2941,7 +2952,7 @@ const Pn = q.forwardRef(
|
|
|
2941
2952
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2942
2953
|
const n = u(t, e);
|
|
2943
2954
|
return /* @__PURE__ */ a(
|
|
2944
|
-
|
|
2955
|
+
he.Overlay,
|
|
2945
2956
|
{
|
|
2946
2957
|
ref: o,
|
|
2947
2958
|
...n
|
|
@@ -2950,16 +2961,16 @@ const Pn = q.forwardRef(
|
|
|
2950
2961
|
}
|
|
2951
2962
|
);
|
|
2952
2963
|
Pn.displayName = "Modal.Overlay";
|
|
2953
|
-
const
|
|
2964
|
+
const Si = [
|
|
2954
2965
|
"radius"
|
|
2955
2966
|
], Tn = q.forwardRef(
|
|
2956
2967
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2957
2968
|
const n = V(
|
|
2958
2969
|
u(t, e),
|
|
2959
|
-
|
|
2970
|
+
Si
|
|
2960
2971
|
);
|
|
2961
2972
|
return /* @__PURE__ */ a(
|
|
2962
|
-
|
|
2973
|
+
he.Content,
|
|
2963
2974
|
{
|
|
2964
2975
|
ref: o,
|
|
2965
2976
|
...n
|
|
@@ -2972,7 +2983,7 @@ const wn = q.forwardRef(
|
|
|
2972
2983
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2973
2984
|
const n = u(t, e);
|
|
2974
2985
|
return /* @__PURE__ */ a(
|
|
2975
|
-
|
|
2986
|
+
he.Header,
|
|
2976
2987
|
{
|
|
2977
2988
|
ref: o,
|
|
2978
2989
|
...n
|
|
@@ -2985,7 +2996,7 @@ const Sn = q.forwardRef(
|
|
|
2985
2996
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2986
2997
|
const n = u(t, e);
|
|
2987
2998
|
return /* @__PURE__ */ a(
|
|
2988
|
-
|
|
2999
|
+
he.Title,
|
|
2989
3000
|
{
|
|
2990
3001
|
ref: o,
|
|
2991
3002
|
...n
|
|
@@ -2994,16 +3005,16 @@ const Sn = q.forwardRef(
|
|
|
2994
3005
|
}
|
|
2995
3006
|
);
|
|
2996
3007
|
Sn.displayName = "Modal.Title";
|
|
2997
|
-
const
|
|
3008
|
+
const $i = [
|
|
2998
3009
|
"size",
|
|
2999
3010
|
"radius"
|
|
3000
3011
|
], $n = q.forwardRef(function({ overStyled: e = !1, ...t }, o) {
|
|
3001
3012
|
const n = V(
|
|
3002
3013
|
u(t, e),
|
|
3003
|
-
|
|
3014
|
+
$i
|
|
3004
3015
|
);
|
|
3005
3016
|
return /* @__PURE__ */ a(
|
|
3006
|
-
|
|
3017
|
+
he.CloseButton,
|
|
3007
3018
|
{
|
|
3008
3019
|
ref: o,
|
|
3009
3020
|
...n
|
|
@@ -3020,21 +3031,21 @@ io.Title = Sn;
|
|
|
3020
3031
|
io.CloseButton = $n;
|
|
3021
3032
|
io.Body = ut;
|
|
3022
3033
|
io.Footer = dt;
|
|
3023
|
-
const
|
|
3024
|
-
layoutOverride:
|
|
3025
|
-
root:
|
|
3026
|
-
input:
|
|
3027
|
-
section:
|
|
3028
|
-
controls:
|
|
3029
|
-
control:
|
|
3030
|
-
},
|
|
3034
|
+
const xi = "NumberInput-module__layoutOverride___5-9T4", Oi = "NumberInput-module__root___C6rAn", ki = "NumberInput-module__input___Ss8p7", Ii = "NumberInput-module__section___MijP0", Ri = "NumberInput-module__controls___8UfQ2", Li = "NumberInput-module__control___Qre9-", fo = {
|
|
3035
|
+
layoutOverride: xi,
|
|
3036
|
+
root: Oi,
|
|
3037
|
+
input: ki,
|
|
3038
|
+
section: Ii,
|
|
3039
|
+
controls: Ri,
|
|
3040
|
+
control: Li
|
|
3041
|
+
}, Mi = [
|
|
3031
3042
|
"size",
|
|
3032
3043
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
3033
3044
|
"variant",
|
|
3034
3045
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
3035
3046
|
"radius"
|
|
3036
3047
|
// Recursica does not expose the library's native corner-radius system.
|
|
3037
|
-
],
|
|
3048
|
+
], Wi = _(
|
|
3038
3049
|
function(e, t) {
|
|
3039
3050
|
const {
|
|
3040
3051
|
overStyled: o = !1,
|
|
@@ -3047,24 +3058,24 @@ const $i = "NumberInput-module__layoutOverride___5-9T4", xi = "NumberInput-modul
|
|
|
3047
3058
|
onLabelEditClick: d,
|
|
3048
3059
|
label: p,
|
|
3049
3060
|
assistiveText: m,
|
|
3050
|
-
assistiveWithIcon:
|
|
3051
|
-
error:
|
|
3052
|
-
required:
|
|
3061
|
+
assistiveWithIcon: N,
|
|
3062
|
+
error: f,
|
|
3063
|
+
required: b,
|
|
3053
3064
|
withAsterisk: v,
|
|
3054
3065
|
id: $,
|
|
3055
|
-
className:
|
|
3066
|
+
className: C,
|
|
3056
3067
|
style: T,
|
|
3057
3068
|
disabled: w,
|
|
3058
3069
|
readOnly: P,
|
|
3059
3070
|
readOnlyComponent: g,
|
|
3060
|
-
emptyValueComponent:
|
|
3071
|
+
emptyValueComponent: y,
|
|
3061
3072
|
value: S,
|
|
3062
3073
|
defaultValue: h,
|
|
3063
3074
|
hideControls: O = !1,
|
|
3064
3075
|
...M
|
|
3065
3076
|
} = e, D = V(
|
|
3066
3077
|
u(M, o),
|
|
3067
|
-
|
|
3078
|
+
Mi
|
|
3068
3079
|
), A = D, L = {
|
|
3069
3080
|
wrapper: fo.root,
|
|
3070
3081
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -3072,9 +3083,9 @@ const $i = "NumberInput-module__layoutOverride___5-9T4", xi = "NumberInput-modul
|
|
|
3072
3083
|
section: fo.section,
|
|
3073
3084
|
controls: fo.controls,
|
|
3074
3085
|
control: fo.control
|
|
3075
|
-
}, Y =
|
|
3086
|
+
}, Y = C ? `${fo.layoutOverride} ${C}` : fo.layoutOverride;
|
|
3076
3087
|
return /* @__PURE__ */ a(
|
|
3077
|
-
|
|
3088
|
+
ve,
|
|
3078
3089
|
{
|
|
3079
3090
|
className: Y,
|
|
3080
3091
|
style: T,
|
|
@@ -3089,21 +3100,21 @@ const $i = "NumberInput-module__layoutOverride___5-9T4", xi = "NumberInput-modul
|
|
|
3089
3100
|
onLabelEditClick: d,
|
|
3090
3101
|
label: p,
|
|
3091
3102
|
assistiveText: m,
|
|
3092
|
-
assistiveWithIcon:
|
|
3093
|
-
error:
|
|
3094
|
-
required:
|
|
3103
|
+
assistiveWithIcon: N,
|
|
3104
|
+
error: f,
|
|
3105
|
+
required: b,
|
|
3095
3106
|
withAsterisk: v,
|
|
3096
3107
|
id: $,
|
|
3097
3108
|
readOnly: P,
|
|
3098
3109
|
readOnlyComponent: g,
|
|
3099
|
-
emptyValueComponent:
|
|
3110
|
+
emptyValueComponent: y,
|
|
3100
3111
|
readOnlyType: "text",
|
|
3101
3112
|
readOnlyValue: S !== void 0 ? S == null ? void 0 : S.toString() : h == null ? void 0 : h.toString(),
|
|
3102
3113
|
readOnlyNativeProps: e,
|
|
3103
3114
|
activeComponent: (
|
|
3104
3115
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
3105
3116
|
/* @__PURE__ */ a(
|
|
3106
|
-
|
|
3117
|
+
Ha,
|
|
3107
3118
|
{
|
|
3108
3119
|
ref: t,
|
|
3109
3120
|
...D,
|
|
@@ -3119,7 +3130,7 @@ const $i = "NumberInput-module__layoutOverride___5-9T4", xi = "NumberInput-modul
|
|
|
3119
3130
|
withAsterisk: void 0,
|
|
3120
3131
|
wrapperProps: {
|
|
3121
3132
|
"data-disabled": w ? "true" : void 0,
|
|
3122
|
-
"data-error":
|
|
3133
|
+
"data-error": f ? "true" : void 0,
|
|
3123
3134
|
"data-with-left-section": A.leftSection ? "true" : void 0,
|
|
3124
3135
|
"data-with-right-section": A.rightSection || !O ? "true" : void 0
|
|
3125
3136
|
}
|
|
@@ -3130,18 +3141,18 @@ const $i = "NumberInput-module__layoutOverride___5-9T4", xi = "NumberInput-modul
|
|
|
3130
3141
|
);
|
|
3131
3142
|
}
|
|
3132
3143
|
);
|
|
3133
|
-
|
|
3134
|
-
const
|
|
3135
|
-
root:
|
|
3136
|
-
control:
|
|
3137
|
-
dots:
|
|
3138
|
-
iconWithLabel:
|
|
3139
|
-
baseIcon:
|
|
3140
|
-
},
|
|
3141
|
-
next:
|
|
3142
|
-
prev:
|
|
3143
|
-
first:
|
|
3144
|
-
last:
|
|
3144
|
+
Wi.displayName = "NumberInput";
|
|
3145
|
+
const Ai = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O", Bi = "Pagination-module__baseIcon___Qw3bJ", Me = {
|
|
3146
|
+
root: Ai,
|
|
3147
|
+
control: zi,
|
|
3148
|
+
dots: Di,
|
|
3149
|
+
iconWithLabel: Ei,
|
|
3150
|
+
baseIcon: Bi
|
|
3151
|
+
}, Fi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Ui = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Vi = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", Gi = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", Hi = {
|
|
3152
|
+
next: Fi,
|
|
3153
|
+
prev: Ui,
|
|
3154
|
+
first: Vi,
|
|
3155
|
+
last: Gi
|
|
3145
3156
|
}, Lo = ({
|
|
3146
3157
|
type: r,
|
|
3147
3158
|
className: e,
|
|
@@ -3185,7 +3196,7 @@ const Ln = _(
|
|
|
3185
3196
|
n
|
|
3186
3197
|
);
|
|
3187
3198
|
return /* @__PURE__ */ a(
|
|
3188
|
-
|
|
3199
|
+
Ge.Root,
|
|
3189
3200
|
{
|
|
3190
3201
|
ref: o,
|
|
3191
3202
|
...n,
|
|
@@ -3199,12 +3210,12 @@ Ln.displayName = "Pagination.Root";
|
|
|
3199
3210
|
const Mn = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3200
3211
|
const l = u(n, e), i = t ? xn : void 0;
|
|
3201
3212
|
return /* @__PURE__ */ a(
|
|
3202
|
-
|
|
3213
|
+
Ge.Next,
|
|
3203
3214
|
{
|
|
3204
3215
|
ref: s,
|
|
3205
3216
|
...l,
|
|
3206
3217
|
"data-variant": "text",
|
|
3207
|
-
icon:
|
|
3218
|
+
icon: me(i, o)
|
|
3208
3219
|
}
|
|
3209
3220
|
);
|
|
3210
3221
|
});
|
|
@@ -3212,12 +3223,12 @@ Mn.displayName = "Pagination.Next";
|
|
|
3212
3223
|
const Wn = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3213
3224
|
const l = u(n, e), i = t ? On : void 0;
|
|
3214
3225
|
return /* @__PURE__ */ a(
|
|
3215
|
-
|
|
3226
|
+
Ge.Previous,
|
|
3216
3227
|
{
|
|
3217
3228
|
ref: s,
|
|
3218
3229
|
...l,
|
|
3219
3230
|
"data-variant": "text",
|
|
3220
|
-
icon:
|
|
3231
|
+
icon: me(i, o)
|
|
3221
3232
|
}
|
|
3222
3233
|
);
|
|
3223
3234
|
});
|
|
@@ -3225,12 +3236,12 @@ Wn.displayName = "Pagination.Previous";
|
|
|
3225
3236
|
const An = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3226
3237
|
const l = u(n, e), i = t ? kn : void 0;
|
|
3227
3238
|
return /* @__PURE__ */ a(
|
|
3228
|
-
|
|
3239
|
+
Ge.First,
|
|
3229
3240
|
{
|
|
3230
3241
|
ref: s,
|
|
3231
3242
|
...l,
|
|
3232
3243
|
"data-variant": "text",
|
|
3233
|
-
icon:
|
|
3244
|
+
icon: me(i, o)
|
|
3234
3245
|
}
|
|
3235
3246
|
);
|
|
3236
3247
|
});
|
|
@@ -3238,12 +3249,12 @@ An.displayName = "Pagination.First";
|
|
|
3238
3249
|
const zn = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3239
3250
|
const l = u(n, e), i = t ? In : void 0;
|
|
3240
3251
|
return /* @__PURE__ */ a(
|
|
3241
|
-
|
|
3252
|
+
Ge.Last,
|
|
3242
3253
|
{
|
|
3243
3254
|
ref: s,
|
|
3244
3255
|
...l,
|
|
3245
3256
|
"data-variant": "text",
|
|
3246
|
-
icon:
|
|
3257
|
+
icon: me(i, o)
|
|
3247
3258
|
}
|
|
3248
3259
|
);
|
|
3249
3260
|
});
|
|
@@ -3257,7 +3268,7 @@ const Dn = _(
|
|
|
3257
3268
|
return t ? { ...m, ...t(p) } : m;
|
|
3258
3269
|
};
|
|
3259
3270
|
return /* @__PURE__ */ a(
|
|
3260
|
-
|
|
3271
|
+
Ge,
|
|
3261
3272
|
{
|
|
3262
3273
|
ref: s,
|
|
3263
3274
|
...o ? {
|
|
@@ -3278,7 +3289,7 @@ Dn.displayName = "Pagination";
|
|
|
3278
3289
|
const En = _(function({ overStyled: e = !1, ...t }, o) {
|
|
3279
3290
|
const n = u(t, e);
|
|
3280
3291
|
return /* @__PURE__ */ a(
|
|
3281
|
-
|
|
3292
|
+
Ge.Control,
|
|
3282
3293
|
{
|
|
3283
3294
|
ref: o,
|
|
3284
3295
|
...n
|
|
@@ -3290,7 +3301,7 @@ const Bn = _(
|
|
|
3290
3301
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3291
3302
|
const n = u(t, e);
|
|
3292
3303
|
return /* @__PURE__ */ a(
|
|
3293
|
-
|
|
3304
|
+
Ge.Dots,
|
|
3294
3305
|
{
|
|
3295
3306
|
ref: o,
|
|
3296
3307
|
...n
|
|
@@ -3301,7 +3312,7 @@ const Bn = _(
|
|
|
3301
3312
|
Bn.displayName = "Pagination.Dots";
|
|
3302
3313
|
const qe = Dn;
|
|
3303
3314
|
qe.Root = Ln;
|
|
3304
|
-
qe.Items =
|
|
3315
|
+
qe.Items = Ge.Items;
|
|
3305
3316
|
qe.Control = En;
|
|
3306
3317
|
qe.Dots = Bn;
|
|
3307
3318
|
qe.Next = Mn;
|
|
@@ -3309,14 +3320,14 @@ qe.Previous = Wn;
|
|
|
3309
3320
|
qe.First = An;
|
|
3310
3321
|
qe.Last = zn;
|
|
3311
3322
|
qe.Icon = Lo;
|
|
3312
|
-
const
|
|
3313
|
-
content:
|
|
3314
|
-
inner:
|
|
3315
|
-
header:
|
|
3316
|
-
title:
|
|
3317
|
-
titleTruncate:
|
|
3318
|
-
body:
|
|
3319
|
-
footer:
|
|
3323
|
+
const ji = "Panel-module__content___wdGo-", qi = "Panel-module__inner___ruA2b", Ki = "Panel-module__header___o7SiC", Yi = "Panel-module__title___181OP", Zi = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", Xi = "Panel-module__body___SEC3T", Qi = "Panel-module__footer___t6-hz", ao = {
|
|
3324
|
+
content: ji,
|
|
3325
|
+
inner: qi,
|
|
3326
|
+
header: Ki,
|
|
3327
|
+
title: Yi,
|
|
3328
|
+
titleTruncate: Zi,
|
|
3329
|
+
body: Xi,
|
|
3330
|
+
footer: Qi
|
|
3320
3331
|
}, Fn = function({
|
|
3321
3332
|
overStyled: e = !1,
|
|
3322
3333
|
placement: t = "right",
|
|
@@ -3335,12 +3346,12 @@ const Gi = "Panel-module__content___wdGo-", ji = "Panel-module__inner___ruA2b",
|
|
|
3335
3346
|
i.classNames
|
|
3336
3347
|
);
|
|
3337
3348
|
return /* @__PURE__ */ a(
|
|
3338
|
-
|
|
3349
|
+
He,
|
|
3339
3350
|
{
|
|
3340
3351
|
...l,
|
|
3341
3352
|
position: t,
|
|
3342
3353
|
keepMounted: o,
|
|
3343
|
-
closeOnClickOutside:
|
|
3354
|
+
closeOnClickOutside: me(
|
|
3344
3355
|
!!s.opened,
|
|
3345
3356
|
s.closeOnClickOutside
|
|
3346
3357
|
),
|
|
@@ -3360,7 +3371,7 @@ const Vn = _(
|
|
|
3360
3371
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3361
3372
|
const n = u(t, e);
|
|
3362
3373
|
return /* @__PURE__ */ a(
|
|
3363
|
-
|
|
3374
|
+
He.Root,
|
|
3364
3375
|
{
|
|
3365
3376
|
ref: o,
|
|
3366
3377
|
...n
|
|
@@ -3369,11 +3380,11 @@ const Vn = _(
|
|
|
3369
3380
|
}
|
|
3370
3381
|
);
|
|
3371
3382
|
Vn.displayName = "PanelRoot";
|
|
3372
|
-
const
|
|
3383
|
+
const Gn = _(
|
|
3373
3384
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3374
3385
|
const n = u(t, e);
|
|
3375
3386
|
return /* @__PURE__ */ a(
|
|
3376
|
-
|
|
3387
|
+
He.Overlay,
|
|
3377
3388
|
{
|
|
3378
3389
|
ref: o,
|
|
3379
3390
|
...n
|
|
@@ -3381,12 +3392,12 @@ const Hn = _(
|
|
|
3381
3392
|
);
|
|
3382
3393
|
}
|
|
3383
3394
|
);
|
|
3384
|
-
|
|
3385
|
-
const
|
|
3395
|
+
Gn.displayName = "PanelOverlay";
|
|
3396
|
+
const Hn = _(
|
|
3386
3397
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3387
3398
|
const n = u(t, e);
|
|
3388
3399
|
return /* @__PURE__ */ a(
|
|
3389
|
-
|
|
3400
|
+
He.Content,
|
|
3390
3401
|
{
|
|
3391
3402
|
ref: o,
|
|
3392
3403
|
...n
|
|
@@ -3394,12 +3405,12 @@ const Gn = _(
|
|
|
3394
3405
|
);
|
|
3395
3406
|
}
|
|
3396
3407
|
);
|
|
3397
|
-
|
|
3408
|
+
Hn.displayName = "PanelContent";
|
|
3398
3409
|
const jn = _(
|
|
3399
3410
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3400
3411
|
const n = u(t, e);
|
|
3401
3412
|
return /* @__PURE__ */ a(
|
|
3402
|
-
|
|
3413
|
+
He.Header,
|
|
3403
3414
|
{
|
|
3404
3415
|
ref: o,
|
|
3405
3416
|
...n
|
|
@@ -3412,7 +3423,7 @@ const qn = _(
|
|
|
3412
3423
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3413
3424
|
const n = u(t, e);
|
|
3414
3425
|
return /* @__PURE__ */ a(
|
|
3415
|
-
|
|
3426
|
+
He.Title,
|
|
3416
3427
|
{
|
|
3417
3428
|
ref: o,
|
|
3418
3429
|
...n
|
|
@@ -3424,7 +3435,7 @@ qn.displayName = "PanelTitle";
|
|
|
3424
3435
|
const Kn = _(function({ overStyled: e = !1, ...t }, o) {
|
|
3425
3436
|
const n = u(t, e);
|
|
3426
3437
|
return /* @__PURE__ */ a(
|
|
3427
|
-
|
|
3438
|
+
He.CloseButton,
|
|
3428
3439
|
{
|
|
3429
3440
|
ref: o,
|
|
3430
3441
|
...n
|
|
@@ -3436,7 +3447,7 @@ const Yn = _(
|
|
|
3436
3447
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3437
3448
|
const n = u(t, e);
|
|
3438
3449
|
return /* @__PURE__ */ a(
|
|
3439
|
-
|
|
3450
|
+
He.Body,
|
|
3440
3451
|
{
|
|
3441
3452
|
ref: o,
|
|
3442
3453
|
...n
|
|
@@ -3447,17 +3458,17 @@ const Yn = _(
|
|
|
3447
3458
|
Yn.displayName = "PanelBody";
|
|
3448
3459
|
const Ke = Fn;
|
|
3449
3460
|
Ke.Root = Vn;
|
|
3450
|
-
Ke.Overlay =
|
|
3451
|
-
Ke.Content =
|
|
3461
|
+
Ke.Overlay = Gn;
|
|
3462
|
+
Ke.Content = Hn;
|
|
3452
3463
|
Ke.Header = jn;
|
|
3453
3464
|
Ke.Title = qn;
|
|
3454
3465
|
Ke.CloseButton = Kn;
|
|
3455
3466
|
Ke.Body = Yn;
|
|
3456
|
-
Ke.Stack =
|
|
3467
|
+
Ke.Stack = He.Stack;
|
|
3457
3468
|
Ke.Footer = Un;
|
|
3458
|
-
const
|
|
3459
|
-
dropdown:
|
|
3460
|
-
arrow:
|
|
3469
|
+
const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-0e", Ct = {
|
|
3470
|
+
dropdown: Ji,
|
|
3471
|
+
arrow: ec
|
|
3461
3472
|
}, Zn = function({
|
|
3462
3473
|
overStyled: e = !1,
|
|
3463
3474
|
withBeak: t = !0,
|
|
@@ -3468,10 +3479,10 @@ const Qi = "Popover-module__dropdown___svhS6", Ji = "Popover-module__arrow___5A-
|
|
|
3468
3479
|
const s = u(n, e), l = s, i = E(
|
|
3469
3480
|
{ dropdown: Ct.dropdown, arrow: Ct.arrow },
|
|
3470
3481
|
l.classNames
|
|
3471
|
-
), c =
|
|
3482
|
+
), c = me(
|
|
3472
3483
|
16,
|
|
3473
3484
|
l.arrowSize
|
|
3474
|
-
), d =
|
|
3485
|
+
), d = me(
|
|
3475
3486
|
t,
|
|
3476
3487
|
l.withArrow
|
|
3477
3488
|
);
|
|
@@ -3508,15 +3519,15 @@ Qn.displayName = "PopoverDropdown";
|
|
|
3508
3519
|
const Jn = Zn;
|
|
3509
3520
|
Jn.Target = Xn;
|
|
3510
3521
|
Jn.Dropdown = Qn;
|
|
3511
|
-
const
|
|
3512
|
-
groupRoot:
|
|
3513
|
-
root:
|
|
3514
|
-
body:
|
|
3515
|
-
inner:
|
|
3516
|
-
radio:
|
|
3517
|
-
icon:
|
|
3518
|
-
labelWrapper:
|
|
3519
|
-
label:
|
|
3522
|
+
const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD", nc = "Radio-module__body___q2Wpj", ac = "Radio-module__inner___QaTBB", rc = "Radio-module__radio___MfgN-", sc = "Radio-module__icon___DWznm", lc = "Radio-module__labelWrapper___dB0Gi", ic = "Radio-module__label___vAFIP", Re = {
|
|
3523
|
+
groupRoot: oc,
|
|
3524
|
+
root: tc,
|
|
3525
|
+
body: nc,
|
|
3526
|
+
inner: ac,
|
|
3527
|
+
radio: rc,
|
|
3528
|
+
icon: sc,
|
|
3529
|
+
labelWrapper: lc,
|
|
3530
|
+
label: ic
|
|
3520
3531
|
}, ea = _(
|
|
3521
3532
|
function(e, t) {
|
|
3522
3533
|
const {
|
|
@@ -3531,17 +3542,17 @@ const ec = "Radio-module__groupRoot___bfUii", oc = "Radio-module__root___kAjTD",
|
|
|
3531
3542
|
// Base Mantine Extracted Attributes
|
|
3532
3543
|
label: p,
|
|
3533
3544
|
description: m,
|
|
3534
|
-
assistiveText:
|
|
3535
|
-
assistiveWithIcon:
|
|
3536
|
-
error:
|
|
3545
|
+
assistiveText: N,
|
|
3546
|
+
assistiveWithIcon: f,
|
|
3547
|
+
error: b,
|
|
3537
3548
|
required: v,
|
|
3538
3549
|
withAsterisk: $,
|
|
3539
|
-
id:
|
|
3550
|
+
id: C,
|
|
3540
3551
|
className: T,
|
|
3541
3552
|
style: w,
|
|
3542
3553
|
children: P,
|
|
3543
3554
|
readOnly: g,
|
|
3544
|
-
readOnlyComponent:
|
|
3555
|
+
readOnlyComponent: y,
|
|
3545
3556
|
emptyValueComponent: S,
|
|
3546
3557
|
value: h,
|
|
3547
3558
|
defaultValue: O,
|
|
@@ -3554,7 +3565,7 @@ const ec = "Radio-module__groupRoot___bfUii", oc = "Radio-module__root___kAjTD",
|
|
|
3554
3565
|
D
|
|
3555
3566
|
), L = A;
|
|
3556
3567
|
return /* @__PURE__ */ a(
|
|
3557
|
-
|
|
3568
|
+
ve,
|
|
3558
3569
|
{
|
|
3559
3570
|
className: T,
|
|
3560
3571
|
style: w,
|
|
@@ -3570,14 +3581,14 @@ const ec = "Radio-module__groupRoot___bfUii", oc = "Radio-module__root___kAjTD",
|
|
|
3570
3581
|
onLabelEditClick: d,
|
|
3571
3582
|
label: p,
|
|
3572
3583
|
description: m,
|
|
3573
|
-
assistiveText:
|
|
3574
|
-
assistiveWithIcon:
|
|
3575
|
-
error:
|
|
3584
|
+
assistiveText: N,
|
|
3585
|
+
assistiveWithIcon: f,
|
|
3586
|
+
error: b,
|
|
3576
3587
|
required: v,
|
|
3577
3588
|
withAsterisk: $,
|
|
3578
|
-
id:
|
|
3579
|
-
readOnly: g && !!
|
|
3580
|
-
readOnlyComponent:
|
|
3589
|
+
id: C,
|
|
3590
|
+
readOnly: g && !!y,
|
|
3591
|
+
readOnlyComponent: y,
|
|
3581
3592
|
emptyValueComponent: S,
|
|
3582
3593
|
readOnlyType: "text",
|
|
3583
3594
|
readOnlyValue: h !== void 0 ? h : O,
|
|
@@ -3590,7 +3601,7 @@ const ec = "Radio-module__groupRoot___bfUii", oc = "Radio-module__root___kAjTD",
|
|
|
3590
3601
|
disabled: g || L.disabled,
|
|
3591
3602
|
value: h,
|
|
3592
3603
|
defaultValue: O,
|
|
3593
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
3604
|
+
children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": n, children: P })
|
|
3594
3605
|
}
|
|
3595
3606
|
)
|
|
3596
3607
|
}
|
|
@@ -3598,7 +3609,7 @@ const ec = "Radio-module__groupRoot___bfUii", oc = "Radio-module__root___kAjTD",
|
|
|
3598
3609
|
}
|
|
3599
3610
|
);
|
|
3600
3611
|
ea.displayName = "RadioGroup";
|
|
3601
|
-
const
|
|
3612
|
+
const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
3602
3613
|
"svg",
|
|
3603
3614
|
{
|
|
3604
3615
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3620,8 +3631,8 @@ const ic = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3620
3631
|
labelSize: d,
|
|
3621
3632
|
controlMaxWidth: p,
|
|
3622
3633
|
controlMinWidth: m,
|
|
3623
|
-
...
|
|
3624
|
-
} = e,
|
|
3634
|
+
...N
|
|
3635
|
+
} = e, f = [
|
|
3625
3636
|
"size",
|
|
3626
3637
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3627
3638
|
"color",
|
|
@@ -3632,23 +3643,23 @@ const ic = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3632
3643
|
// Radio has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
3633
3644
|
"iconColor"
|
|
3634
3645
|
// Icon color is token-driven via Radio.module.css, not a native Mantine override.
|
|
3635
|
-
],
|
|
3636
|
-
u(
|
|
3637
|
-
|
|
3638
|
-
), v =
|
|
3646
|
+
], b = V(
|
|
3647
|
+
u(N, o),
|
|
3648
|
+
f
|
|
3649
|
+
), v = b, $ = E(
|
|
3639
3650
|
{
|
|
3640
|
-
root:
|
|
3641
|
-
body:
|
|
3642
|
-
inner:
|
|
3643
|
-
radio:
|
|
3644
|
-
icon:
|
|
3645
|
-
labelWrapper:
|
|
3646
|
-
label:
|
|
3651
|
+
root: Re.root,
|
|
3652
|
+
body: Re.body,
|
|
3653
|
+
inner: Re.inner,
|
|
3654
|
+
radio: Re.radio,
|
|
3655
|
+
icon: Re.icon,
|
|
3656
|
+
labelWrapper: Re.labelWrapper,
|
|
3657
|
+
label: Re.label
|
|
3647
3658
|
},
|
|
3648
3659
|
v.classNames
|
|
3649
|
-
),
|
|
3660
|
+
), C = v.className, T = C ? `${Re.root} ${C}` : Re.root;
|
|
3650
3661
|
if (n && s) {
|
|
3651
|
-
const P = !!(v.checked ?? v.defaultChecked),
|
|
3662
|
+
const P = !!(v.checked ?? v.defaultChecked), y = /* @__PURE__ */ a(
|
|
3652
3663
|
s,
|
|
3653
3664
|
{
|
|
3654
3665
|
...e,
|
|
@@ -3663,16 +3674,16 @@ const ic = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3663
3674
|
labelSize: d,
|
|
3664
3675
|
controlMaxWidth: p,
|
|
3665
3676
|
controlMinWidth: m,
|
|
3666
|
-
children:
|
|
3677
|
+
children: y
|
|
3667
3678
|
}
|
|
3668
|
-
) : /* @__PURE__ */ a(vo, { children:
|
|
3679
|
+
) : /* @__PURE__ */ a(vo, { children: y });
|
|
3669
3680
|
}
|
|
3670
3681
|
const w = /* @__PURE__ */ a(
|
|
3671
3682
|
It,
|
|
3672
3683
|
{
|
|
3673
3684
|
ref: t,
|
|
3674
|
-
...
|
|
3675
|
-
icon:
|
|
3685
|
+
...b,
|
|
3686
|
+
icon: me(cc, i),
|
|
3676
3687
|
className: T,
|
|
3677
3688
|
classNames: $,
|
|
3678
3689
|
disabled: n || l
|
|
@@ -3692,7 +3703,7 @@ const ic = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3692
3703
|
);
|
|
3693
3704
|
oa.displayName = "Radio";
|
|
3694
3705
|
oa.Group = ea;
|
|
3695
|
-
const
|
|
3706
|
+
const dc = ({ checked: r, label: e }) => /* @__PURE__ */ R(
|
|
3696
3707
|
tt,
|
|
3697
3708
|
{
|
|
3698
3709
|
component: "span",
|
|
@@ -3707,8 +3718,8 @@ const cc = ({ checked: r, label: e }) => /* @__PURE__ */ R(
|
|
|
3707
3718
|
]
|
|
3708
3719
|
}
|
|
3709
3720
|
);
|
|
3710
|
-
|
|
3711
|
-
const
|
|
3721
|
+
dc.displayName = "ReadOnlySwitchField";
|
|
3722
|
+
const uc = ({ checked: r, label: e }) => /* @__PURE__ */ R(
|
|
3712
3723
|
tt,
|
|
3713
3724
|
{
|
|
3714
3725
|
component: "span",
|
|
@@ -3723,14 +3734,14 @@ const dc = ({ checked: r, label: e }) => /* @__PURE__ */ R(
|
|
|
3723
3734
|
]
|
|
3724
3735
|
}
|
|
3725
3736
|
);
|
|
3726
|
-
|
|
3727
|
-
const
|
|
3728
|
-
root:
|
|
3729
|
-
label:
|
|
3730
|
-
control:
|
|
3731
|
-
indicator:
|
|
3737
|
+
uc.displayName = "ReadOnlyBooleanField";
|
|
3738
|
+
const pc = "SegmentedControl-module__root___JFRhg", mc = "SegmentedControl-module__label___mS17q", _c = "SegmentedControl-module__control___znOdQ", fc = "SegmentedControl-module__indicator___ZMcJy", bo = {
|
|
3739
|
+
root: pc,
|
|
3740
|
+
label: mc,
|
|
3741
|
+
control: _c,
|
|
3742
|
+
indicator: fc
|
|
3732
3743
|
};
|
|
3733
|
-
function
|
|
3744
|
+
function yc(r) {
|
|
3734
3745
|
const e = E(
|
|
3735
3746
|
{
|
|
3736
3747
|
root: bo.root,
|
|
@@ -3750,7 +3761,7 @@ const ta = _(
|
|
|
3750
3761
|
data: n = [],
|
|
3751
3762
|
...s
|
|
3752
3763
|
}, l) {
|
|
3753
|
-
const i = u(s, e), d =
|
|
3764
|
+
const i = u(s, e), d = yc(i), p = n.map(
|
|
3754
3765
|
(m) => typeof m == "string" || !m.icon ? m : {
|
|
3755
3766
|
...m,
|
|
3756
3767
|
label: /* @__PURE__ */ R(vo, { children: [
|
|
@@ -3775,29 +3786,29 @@ const ta = _(
|
|
|
3775
3786
|
}
|
|
3776
3787
|
);
|
|
3777
3788
|
ta.displayName = "SegmentedControl";
|
|
3778
|
-
const
|
|
3779
|
-
layoutOverride:
|
|
3780
|
-
sliderContainer:
|
|
3781
|
-
sliderTrackWrapper:
|
|
3782
|
-
iconWrapper:
|
|
3783
|
-
sliderRoot:
|
|
3784
|
-
sliderTrack:
|
|
3785
|
-
sliderBar:
|
|
3786
|
-
sliderThumb:
|
|
3787
|
-
sliderMarkWrapper:
|
|
3788
|
-
sliderMark:
|
|
3789
|
-
sliderMarkLabel:
|
|
3790
|
-
minMaxGuide:
|
|
3791
|
-
rightGuideContainer:
|
|
3792
|
-
currentValue:
|
|
3793
|
-
inputField:
|
|
3794
|
-
readOnlyValue:
|
|
3795
|
-
},
|
|
3789
|
+
const Vu = ta, hc = "Slider-module__layoutOverride___zYPun", vc = "Slider-module__sliderContainer___y8I0J", Nc = "Slider-module__sliderTrackWrapper___UHpVh", bc = "Slider-module__iconWrapper___uqHpC", Cc = "Slider-module__sliderRoot___LI86H", gc = "Slider-module__sliderTrack___oqnlG", Pc = "Slider-module__sliderBar___TI4VY", Tc = "Slider-module__sliderThumb___OFn8p", wc = "Slider-module__sliderMarkWrapper___Ufqhu", Sc = "Slider-module__sliderMark___1lM2B", $c = "Slider-module__sliderMarkLabel___MMZrq", xc = "Slider-module__minMaxGuide___TaGqz", Oc = "Slider-module__rightGuideContainer___8dOT8", kc = "Slider-module__currentValue___dGV2T", Ic = "Slider-module__inputField___6x578", Rc = "Slider-module__readOnlyValue___-ZzMW", ee = {
|
|
3790
|
+
layoutOverride: hc,
|
|
3791
|
+
sliderContainer: vc,
|
|
3792
|
+
sliderTrackWrapper: Nc,
|
|
3793
|
+
iconWrapper: bc,
|
|
3794
|
+
sliderRoot: Cc,
|
|
3795
|
+
sliderTrack: gc,
|
|
3796
|
+
sliderBar: Pc,
|
|
3797
|
+
sliderThumb: Tc,
|
|
3798
|
+
sliderMarkWrapper: wc,
|
|
3799
|
+
sliderMark: Sc,
|
|
3800
|
+
sliderMarkLabel: $c,
|
|
3801
|
+
minMaxGuide: xc,
|
|
3802
|
+
rightGuideContainer: Oc,
|
|
3803
|
+
currentValue: kc,
|
|
3804
|
+
inputField: Ic,
|
|
3805
|
+
readOnlyValue: Rc
|
|
3806
|
+
}, Lc = ({
|
|
3796
3807
|
value: r
|
|
3797
3808
|
}) => {
|
|
3798
3809
|
const e = Array.isArray(r) ? `${r[0]} – ${r[1]}` : r;
|
|
3799
3810
|
return /* @__PURE__ */ a("div", { className: ee.readOnlyValue, children: e });
|
|
3800
|
-
},
|
|
3811
|
+
}, Mc = _(
|
|
3801
3812
|
function(e, t) {
|
|
3802
3813
|
const {
|
|
3803
3814
|
overStyled: o = !1,
|
|
@@ -3810,17 +3821,17 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3810
3821
|
labelActionArea: d,
|
|
3811
3822
|
onLabelEditClick: p,
|
|
3812
3823
|
label: m,
|
|
3813
|
-
tooltipLabel:
|
|
3814
|
-
assistiveText:
|
|
3815
|
-
assistiveWithIcon:
|
|
3824
|
+
tooltipLabel: N,
|
|
3825
|
+
assistiveText: f,
|
|
3826
|
+
assistiveWithIcon: b,
|
|
3816
3827
|
error: v,
|
|
3817
3828
|
required: $,
|
|
3818
|
-
withAsterisk:
|
|
3829
|
+
withAsterisk: C,
|
|
3819
3830
|
id: T,
|
|
3820
3831
|
className: w,
|
|
3821
3832
|
style: P,
|
|
3822
3833
|
disabled: g,
|
|
3823
|
-
readOnly:
|
|
3834
|
+
readOnly: y,
|
|
3824
3835
|
readOnlyComponent: S,
|
|
3825
3836
|
emptyValueComponent: h,
|
|
3826
3837
|
value: O,
|
|
@@ -3829,43 +3840,43 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3829
3840
|
trailingIcon: A,
|
|
3830
3841
|
showInput: L = !1,
|
|
3831
3842
|
showMinMaxLabels: Y = !0,
|
|
3832
|
-
min:
|
|
3843
|
+
min: H = 0,
|
|
3833
3844
|
max: j = 100,
|
|
3834
3845
|
minLabel: X,
|
|
3835
|
-
maxLabel:
|
|
3846
|
+
maxLabel: G,
|
|
3836
3847
|
step: K = 1,
|
|
3837
3848
|
onChange: J,
|
|
3838
|
-
onChangeEnd:
|
|
3849
|
+
onChangeEnd: ue,
|
|
3839
3850
|
...W
|
|
3840
|
-
} = e, [ae,
|
|
3851
|
+
} = e, [ae, pe] = ie(() => O !== void 0 ? O : M !== void 0 ? M : H), k = O !== void 0 ? O : ae, se = Array.isArray(k), [Ne, re] = ie(
|
|
3841
3852
|
() => Array.isArray(k) ? [k[0].toString(), k[1].toString()] : k.toString()
|
|
3842
3853
|
);
|
|
3843
|
-
|
|
3854
|
+
Ie(() => {
|
|
3844
3855
|
re(
|
|
3845
3856
|
Array.isArray(k) ? [k[0].toString(), k[1].toString()] : k.toString()
|
|
3846
3857
|
);
|
|
3847
3858
|
}, [k]);
|
|
3848
3859
|
const le = (B) => {
|
|
3849
|
-
O === void 0 &&
|
|
3850
|
-
},
|
|
3860
|
+
O === void 0 && pe(B), J == null || J(B);
|
|
3861
|
+
}, be = (B) => {
|
|
3851
3862
|
const z = B.target.value;
|
|
3852
3863
|
re(z);
|
|
3853
3864
|
const I = parseFloat(z);
|
|
3854
3865
|
if (!isNaN(I)) {
|
|
3855
|
-
const F = Math.max(
|
|
3866
|
+
const F = Math.max(H, Math.min(j, I));
|
|
3856
3867
|
le(F);
|
|
3857
3868
|
}
|
|
3858
|
-
},
|
|
3869
|
+
}, we = () => {
|
|
3859
3870
|
re(k.toString());
|
|
3860
3871
|
}, Ye = (B) => {
|
|
3861
3872
|
const z = k, I = B.target.value;
|
|
3862
3873
|
re([I, z[1].toString()]);
|
|
3863
3874
|
const F = parseFloat(I);
|
|
3864
3875
|
if (!isNaN(F)) {
|
|
3865
|
-
const Z = Math.max(
|
|
3876
|
+
const Z = Math.max(H, Math.min(z[1], F));
|
|
3866
3877
|
le([Z, z[1]]);
|
|
3867
3878
|
}
|
|
3868
|
-
},
|
|
3879
|
+
}, Se = (B) => {
|
|
3869
3880
|
const z = k, I = B.target.value;
|
|
3870
3881
|
re([z[0].toString(), I]);
|
|
3871
3882
|
const F = parseFloat(I);
|
|
@@ -3890,7 +3901,7 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3890
3901
|
], ze = V(
|
|
3891
3902
|
u(W, o),
|
|
3892
3903
|
Ae
|
|
3893
|
-
), uo = ze,
|
|
3904
|
+
), uo = ze, $e = E(
|
|
3894
3905
|
{
|
|
3895
3906
|
root: ee.sliderRoot,
|
|
3896
3907
|
track: ee.sliderTrack,
|
|
@@ -3901,9 +3912,9 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3901
3912
|
markLabel: ee.sliderMarkLabel
|
|
3902
3913
|
},
|
|
3903
3914
|
uo.classNames
|
|
3904
|
-
), Xe = w ? `${ee.layoutOverride} ${w}` : ee.layoutOverride,
|
|
3915
|
+
), Xe = w ? `${ee.layoutOverride} ${w}` : ee.layoutOverride, xe = D ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: D }) : null, Qe = A ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: A }) : null, U = Array.isArray(k) ? typeof N == "function" ? `${N(k[0])} – ${N(k[1])}` : `${k[0]} – ${k[1]}` : typeof N == "function" ? N(k) : k;
|
|
3905
3916
|
return /* @__PURE__ */ a(
|
|
3906
|
-
|
|
3917
|
+
ve,
|
|
3907
3918
|
{
|
|
3908
3919
|
ref: t,
|
|
3909
3920
|
className: Xe,
|
|
@@ -3919,14 +3930,14 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3919
3930
|
labelActionArea: d,
|
|
3920
3931
|
onLabelEditClick: p,
|
|
3921
3932
|
label: m,
|
|
3922
|
-
assistiveText:
|
|
3923
|
-
assistiveWithIcon:
|
|
3933
|
+
assistiveText: f,
|
|
3934
|
+
assistiveWithIcon: b,
|
|
3924
3935
|
error: v,
|
|
3925
3936
|
required: $,
|
|
3926
|
-
withAsterisk:
|
|
3937
|
+
withAsterisk: C,
|
|
3927
3938
|
id: T,
|
|
3928
|
-
readOnly:
|
|
3929
|
-
readOnlyComponent: S ||
|
|
3939
|
+
readOnly: y,
|
|
3940
|
+
readOnlyComponent: S || Lc,
|
|
3930
3941
|
emptyValueComponent: h,
|
|
3931
3942
|
readOnlyType: "text",
|
|
3932
3943
|
readOnlyValue: k,
|
|
@@ -3944,10 +3955,10 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3944
3955
|
{
|
|
3945
3956
|
type: "number",
|
|
3946
3957
|
className: ee.inputField,
|
|
3947
|
-
value:
|
|
3958
|
+
value: Ne[0],
|
|
3948
3959
|
onChange: Ye,
|
|
3949
3960
|
onBlur: Ze,
|
|
3950
|
-
min:
|
|
3961
|
+
min: H,
|
|
3951
3962
|
max: k[1],
|
|
3952
3963
|
step: K,
|
|
3953
3964
|
disabled: g,
|
|
@@ -3955,40 +3966,40 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3955
3966
|
"aria-label": "Minimum value"
|
|
3956
3967
|
}
|
|
3957
3968
|
),
|
|
3958
|
-
|
|
3959
|
-
Y && /* @__PURE__ */ a("span", { className: ee.minMaxGuide, children: X ??
|
|
3969
|
+
xe,
|
|
3970
|
+
Y && /* @__PURE__ */ a("span", { className: ee.minMaxGuide, children: X ?? H }),
|
|
3960
3971
|
/* @__PURE__ */ a("div", { className: ee.sliderTrackWrapper, children: se ? /* @__PURE__ */ a(
|
|
3961
3972
|
qa,
|
|
3962
3973
|
{
|
|
3963
3974
|
...ze,
|
|
3964
|
-
classNames:
|
|
3975
|
+
classNames: $e,
|
|
3965
3976
|
disabled: g,
|
|
3966
3977
|
value: k,
|
|
3967
3978
|
onChange: le,
|
|
3968
|
-
onChangeEnd:
|
|
3969
|
-
min:
|
|
3979
|
+
onChangeEnd: ue,
|
|
3980
|
+
min: H,
|
|
3970
3981
|
max: j,
|
|
3971
3982
|
step: K,
|
|
3972
|
-
label:
|
|
3983
|
+
label: N
|
|
3973
3984
|
}
|
|
3974
3985
|
) : /* @__PURE__ */ a(
|
|
3975
3986
|
Ka,
|
|
3976
3987
|
{
|
|
3977
3988
|
...ze,
|
|
3978
|
-
classNames:
|
|
3989
|
+
classNames: $e,
|
|
3979
3990
|
disabled: g,
|
|
3980
3991
|
value: k,
|
|
3981
3992
|
onChange: le,
|
|
3982
|
-
onChangeEnd:
|
|
3983
|
-
min:
|
|
3993
|
+
onChangeEnd: ue,
|
|
3994
|
+
min: H,
|
|
3984
3995
|
max: j,
|
|
3985
3996
|
step: K,
|
|
3986
|
-
label:
|
|
3997
|
+
label: N
|
|
3987
3998
|
}
|
|
3988
3999
|
) }),
|
|
3989
4000
|
/* @__PURE__ */ R("div", { className: ee.rightGuideContainer, children: [
|
|
3990
4001
|
!L && /* @__PURE__ */ a("span", { className: ee.currentValue, children: U }),
|
|
3991
|
-
Y && /* @__PURE__ */ a("span", { className: ee.minMaxGuide, children:
|
|
4002
|
+
Y && /* @__PURE__ */ a("span", { className: ee.minMaxGuide, children: G ?? j })
|
|
3992
4003
|
] }),
|
|
3993
4004
|
Qe,
|
|
3994
4005
|
L && (se ? /* @__PURE__ */ a(
|
|
@@ -3996,8 +4007,8 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3996
4007
|
{
|
|
3997
4008
|
type: "number",
|
|
3998
4009
|
className: ee.inputField,
|
|
3999
|
-
value:
|
|
4000
|
-
onChange:
|
|
4010
|
+
value: Ne[1],
|
|
4011
|
+
onChange: Se,
|
|
4001
4012
|
onBlur: Ze,
|
|
4002
4013
|
min: k[0],
|
|
4003
4014
|
max: j,
|
|
@@ -4011,10 +4022,10 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
4011
4022
|
{
|
|
4012
4023
|
type: "number",
|
|
4013
4024
|
className: ee.inputField,
|
|
4014
|
-
value:
|
|
4015
|
-
onChange:
|
|
4016
|
-
onBlur:
|
|
4017
|
-
min:
|
|
4025
|
+
value: Ne,
|
|
4026
|
+
onChange: be,
|
|
4027
|
+
onBlur: we,
|
|
4028
|
+
min: H,
|
|
4018
4029
|
max: j,
|
|
4019
4030
|
step: K,
|
|
4020
4031
|
disabled: g,
|
|
@@ -4028,9 +4039,9 @@ const Uu = ta, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
4028
4039
|
);
|
|
4029
4040
|
}
|
|
4030
4041
|
);
|
|
4031
|
-
|
|
4032
|
-
const
|
|
4033
|
-
root:
|
|
4042
|
+
Mc.displayName = "Slider";
|
|
4043
|
+
const Wc = "Stack-module__root___NUN-x", ko = {
|
|
4044
|
+
root: Wc
|
|
4034
4045
|
}, na = _(function({ children: e, gap: t = "rec-default", ...o }, n) {
|
|
4035
4046
|
const s = {
|
|
4036
4047
|
root: ko.root
|
|
@@ -4052,22 +4063,22 @@ const Mc = "Stack-module__root___NUN-x", ko = {
|
|
|
4052
4063
|
);
|
|
4053
4064
|
});
|
|
4054
4065
|
na.displayName = "Stack";
|
|
4055
|
-
const
|
|
4056
|
-
root:
|
|
4057
|
-
horizontal:
|
|
4058
|
-
steps:
|
|
4059
|
-
step:
|
|
4060
|
-
stepBody:
|
|
4061
|
-
stepLabel:
|
|
4062
|
-
stepDescription:
|
|
4063
|
-
separator:
|
|
4064
|
-
vertical:
|
|
4066
|
+
const Gu = Te(na), Ac = "Stepper-module__root___jbSYO", zc = "Stepper-module__horizontal___USHT1", Dc = "Stepper-module__steps___4HPO6", Ec = "Stepper-module__step___s2nqL", Bc = "Stepper-module__stepBody___TBvys", Fc = "Stepper-module__stepLabel___N6nuy", Uc = "Stepper-module__stepDescription___DnDAy", Vc = "Stepper-module__separator___pU0No", Gc = "Stepper-module__vertical___d4mOs", Hc = "Stepper-module__large___J18-y", jc = "Stepper-module__small___Ub-zb", qc = "Stepper-module__stepIcon___YQHNq", Kc = "Stepper-module__stepCompletedIcon___B9MeL", Yc = "Stepper-module__verticalSeparator___frWc1", Zc = "Stepper-module__content___J-h8X", de = {
|
|
4067
|
+
root: Ac,
|
|
4068
|
+
horizontal: zc,
|
|
4069
|
+
steps: Dc,
|
|
4070
|
+
step: Ec,
|
|
4071
|
+
stepBody: Bc,
|
|
4072
|
+
stepLabel: Fc,
|
|
4073
|
+
stepDescription: Uc,
|
|
4074
|
+
separator: Vc,
|
|
4075
|
+
vertical: Gc,
|
|
4065
4076
|
large: Hc,
|
|
4066
|
-
small:
|
|
4067
|
-
stepIcon:
|
|
4068
|
-
stepCompletedIcon:
|
|
4069
|
-
verticalSeparator:
|
|
4070
|
-
content:
|
|
4077
|
+
small: jc,
|
|
4078
|
+
stepIcon: qc,
|
|
4079
|
+
stepCompletedIcon: Kc,
|
|
4080
|
+
verticalSeparator: Yc,
|
|
4081
|
+
content: Zc
|
|
4071
4082
|
}, aa = _(
|
|
4072
4083
|
function(e, t) {
|
|
4073
4084
|
const {
|
|
@@ -4079,16 +4090,16 @@ const Vu = Pe(na), Wc = "Stepper-module__root___jbSYO", Ac = "Stepper-module__ho
|
|
|
4079
4090
|
...c
|
|
4080
4091
|
} = e, d = u(c, o), p = d, m = E(
|
|
4081
4092
|
{
|
|
4082
|
-
steps:
|
|
4083
|
-
step:
|
|
4084
|
-
stepIcon:
|
|
4085
|
-
stepCompletedIcon:
|
|
4086
|
-
stepBody:
|
|
4087
|
-
stepLabel:
|
|
4088
|
-
stepDescription:
|
|
4089
|
-
separator:
|
|
4090
|
-
verticalSeparator:
|
|
4091
|
-
content:
|
|
4093
|
+
steps: de.steps,
|
|
4094
|
+
step: de.step,
|
|
4095
|
+
stepIcon: de.stepIcon,
|
|
4096
|
+
stepCompletedIcon: de.stepCompletedIcon,
|
|
4097
|
+
stepBody: de.stepBody,
|
|
4098
|
+
stepLabel: de.stepLabel,
|
|
4099
|
+
stepDescription: de.stepDescription,
|
|
4100
|
+
separator: de.separator,
|
|
4101
|
+
verticalSeparator: de.verticalSeparator,
|
|
4102
|
+
content: de.content
|
|
4092
4103
|
},
|
|
4093
4104
|
p.classNames
|
|
4094
4105
|
);
|
|
@@ -4098,7 +4109,7 @@ const Vu = Pe(na), Wc = "Stepper-module__root___jbSYO", Ac = "Stepper-module__ho
|
|
|
4098
4109
|
ref: t,
|
|
4099
4110
|
...d,
|
|
4100
4111
|
orientation: s,
|
|
4101
|
-
className: `${
|
|
4112
|
+
className: `${de.root} ${s === "horizontal" ? de.horizontal : de.vertical} ${n === "large" ? de.large : de.small} ${l || ""}`,
|
|
4102
4113
|
style: i,
|
|
4103
4114
|
"data-size": n,
|
|
4104
4115
|
"data-orientation": s,
|
|
@@ -4126,17 +4137,17 @@ const Hu = Object.assign(aa, {
|
|
|
4126
4137
|
Completed: rt.Completed
|
|
4127
4138
|
});
|
|
4128
4139
|
aa.displayName = "Stepper";
|
|
4129
|
-
const
|
|
4130
|
-
root:
|
|
4131
|
-
track:
|
|
4132
|
-
body:
|
|
4133
|
-
thumb:
|
|
4134
|
-
labelWrapper:
|
|
4135
|
-
label:
|
|
4136
|
-
thumbIconWrapper:
|
|
4137
|
-
checkIcon:
|
|
4138
|
-
closeIcon:
|
|
4139
|
-
groupRoot:
|
|
4140
|
+
const Xc = "Switch-module__root___Y5Ydi", Qc = "Switch-module__track___7ObdZ", Jc = "Switch-module__body___Sw9Wr", ed = "Switch-module__thumb___-FTeK", od = "Switch-module__labelWrapper___YSOwx", td = "Switch-module__label___LrH7V", nd = "Switch-module__thumbIconWrapper___sCY-1", ad = "Switch-module__checkIcon___ZBAQN", rd = "Switch-module__closeIcon___bLLGw", sd = "Switch-module__groupRoot___-Uepi", ye = {
|
|
4141
|
+
root: Xc,
|
|
4142
|
+
track: Qc,
|
|
4143
|
+
body: Jc,
|
|
4144
|
+
thumb: ed,
|
|
4145
|
+
labelWrapper: od,
|
|
4146
|
+
label: td,
|
|
4147
|
+
thumbIconWrapper: nd,
|
|
4148
|
+
checkIcon: ad,
|
|
4149
|
+
closeIcon: rd,
|
|
4150
|
+
groupRoot: sd
|
|
4140
4151
|
}, sa = _(
|
|
4141
4152
|
function(e, t) {
|
|
4142
4153
|
const {
|
|
@@ -4151,17 +4162,17 @@ const Zc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", Q
|
|
|
4151
4162
|
// Base Mantine Extracted Attributes
|
|
4152
4163
|
label: p,
|
|
4153
4164
|
description: m,
|
|
4154
|
-
assistiveText:
|
|
4155
|
-
assistiveWithIcon:
|
|
4156
|
-
error:
|
|
4165
|
+
assistiveText: N,
|
|
4166
|
+
assistiveWithIcon: f,
|
|
4167
|
+
error: b,
|
|
4157
4168
|
required: v,
|
|
4158
4169
|
withAsterisk: $,
|
|
4159
|
-
id:
|
|
4170
|
+
id: C,
|
|
4160
4171
|
className: T,
|
|
4161
4172
|
style: w,
|
|
4162
4173
|
children: P,
|
|
4163
4174
|
readOnly: g,
|
|
4164
|
-
readOnlyComponent:
|
|
4175
|
+
readOnlyComponent: y,
|
|
4165
4176
|
emptyValueComponent: S,
|
|
4166
4177
|
value: h,
|
|
4167
4178
|
defaultValue: O,
|
|
@@ -4174,7 +4185,7 @@ const Zc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", Q
|
|
|
4174
4185
|
D
|
|
4175
4186
|
), L = A;
|
|
4176
4187
|
return /* @__PURE__ */ a(
|
|
4177
|
-
|
|
4188
|
+
ve,
|
|
4178
4189
|
{
|
|
4179
4190
|
className: T,
|
|
4180
4191
|
style: w,
|
|
@@ -4190,14 +4201,14 @@ const Zc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", Q
|
|
|
4190
4201
|
onLabelEditClick: d,
|
|
4191
4202
|
label: p,
|
|
4192
4203
|
description: m,
|
|
4193
|
-
assistiveText:
|
|
4194
|
-
assistiveWithIcon:
|
|
4195
|
-
error:
|
|
4204
|
+
assistiveText: N,
|
|
4205
|
+
assistiveWithIcon: f,
|
|
4206
|
+
error: b,
|
|
4196
4207
|
required: v,
|
|
4197
4208
|
withAsterisk: $,
|
|
4198
|
-
id:
|
|
4199
|
-
readOnly: g && !!
|
|
4200
|
-
readOnlyComponent:
|
|
4209
|
+
id: C,
|
|
4210
|
+
readOnly: g && !!y,
|
|
4211
|
+
readOnlyComponent: y,
|
|
4201
4212
|
emptyValueComponent: S,
|
|
4202
4213
|
readOnlyType: "text",
|
|
4203
4214
|
readOnlyValue: h !== void 0 ? h : O,
|
|
@@ -4210,7 +4221,7 @@ const Zc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", Q
|
|
|
4210
4221
|
disabled: g || L.disabled,
|
|
4211
4222
|
value: h,
|
|
4212
4223
|
defaultValue: O,
|
|
4213
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4224
|
+
children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": n, children: P })
|
|
4214
4225
|
}
|
|
4215
4226
|
)
|
|
4216
4227
|
}
|
|
@@ -4230,8 +4241,8 @@ const la = _(
|
|
|
4230
4241
|
labelSize: d,
|
|
4231
4242
|
controlMaxWidth: p,
|
|
4232
4243
|
controlMinWidth: m,
|
|
4233
|
-
...
|
|
4234
|
-
} = e,
|
|
4244
|
+
...N
|
|
4245
|
+
} = e, f = [
|
|
4235
4246
|
"size",
|
|
4236
4247
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4237
4248
|
"color",
|
|
@@ -4240,30 +4251,30 @@ const la = _(
|
|
|
4240
4251
|
// Corner radius is fixed by Recursica tokens in Switch.module.css, not caller-configurable.
|
|
4241
4252
|
"variant"
|
|
4242
4253
|
// Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
4243
|
-
],
|
|
4244
|
-
u(
|
|
4245
|
-
|
|
4246
|
-
), v =
|
|
4254
|
+
], b = V(
|
|
4255
|
+
u(N, o),
|
|
4256
|
+
f
|
|
4257
|
+
), v = b, $ = E(
|
|
4247
4258
|
{
|
|
4248
|
-
root:
|
|
4249
|
-
body:
|
|
4250
|
-
track:
|
|
4251
|
-
thumb:
|
|
4252
|
-
trackLabel:
|
|
4253
|
-
labelWrapper:
|
|
4254
|
-
label:
|
|
4259
|
+
root: ye.root,
|
|
4260
|
+
body: ye.body,
|
|
4261
|
+
track: ye.track,
|
|
4262
|
+
thumb: ye.thumb,
|
|
4263
|
+
trackLabel: ye.trackLabel,
|
|
4264
|
+
labelWrapper: ye.labelWrapper,
|
|
4265
|
+
label: ye.label
|
|
4255
4266
|
},
|
|
4256
4267
|
v.classNames
|
|
4257
|
-
),
|
|
4268
|
+
), C = yr(
|
|
4258
4269
|
{},
|
|
4259
4270
|
v.styles
|
|
4260
|
-
), T = v.className, w = T ? `${
|
|
4271
|
+
), T = v.className, w = T ? `${ye.root} ${T}` : ye.root;
|
|
4261
4272
|
if (n && s) {
|
|
4262
|
-
const
|
|
4273
|
+
const y = !!(v.checked ?? v.defaultChecked), h = /* @__PURE__ */ a(
|
|
4263
4274
|
s,
|
|
4264
4275
|
{
|
|
4265
4276
|
...e,
|
|
4266
|
-
checked:
|
|
4277
|
+
checked: y,
|
|
4267
4278
|
label: v.label
|
|
4268
4279
|
}
|
|
4269
4280
|
);
|
|
@@ -4278,20 +4289,20 @@ const la = _(
|
|
|
4278
4289
|
}
|
|
4279
4290
|
) : /* @__PURE__ */ a(vo, { children: h });
|
|
4280
4291
|
}
|
|
4281
|
-
const P = /* @__PURE__ */ R("div", { className:
|
|
4282
|
-
/* @__PURE__ */ a(Za, { className:
|
|
4283
|
-
/* @__PURE__ */ a(Xa, { className:
|
|
4292
|
+
const P = /* @__PURE__ */ R("div", { className: ye.thumbIconWrapper, children: [
|
|
4293
|
+
/* @__PURE__ */ a(Za, { className: ye.checkIcon }),
|
|
4294
|
+
/* @__PURE__ */ a(Xa, { className: ye.closeIcon })
|
|
4284
4295
|
] }), g = /* @__PURE__ */ a(
|
|
4285
4296
|
Rt,
|
|
4286
4297
|
{
|
|
4287
4298
|
ref: t,
|
|
4288
|
-
...
|
|
4299
|
+
...b,
|
|
4289
4300
|
className: w,
|
|
4290
4301
|
classNames: $,
|
|
4291
|
-
styles:
|
|
4302
|
+
styles: C,
|
|
4292
4303
|
disabled: n || l,
|
|
4293
4304
|
"data-disabled": n || l || void 0,
|
|
4294
|
-
thumbIcon:
|
|
4305
|
+
thumbIcon: me(
|
|
4295
4306
|
P,
|
|
4296
4307
|
i
|
|
4297
4308
|
)
|
|
@@ -4311,11 +4322,11 @@ const la = _(
|
|
|
4311
4322
|
);
|
|
4312
4323
|
la.displayName = "Switch";
|
|
4313
4324
|
la.Group = sa;
|
|
4314
|
-
const
|
|
4315
|
-
root:
|
|
4316
|
-
sortIcon:
|
|
4325
|
+
const ld = "Table-module__root___aMWWS", id = "Table-module__sortIcon___V3-dH", ot = {
|
|
4326
|
+
root: ld,
|
|
4327
|
+
sortIcon: id
|
|
4317
4328
|
};
|
|
4318
|
-
function
|
|
4329
|
+
function cd(r) {
|
|
4319
4330
|
return /* @__PURE__ */ a(
|
|
4320
4331
|
"svg",
|
|
4321
4332
|
{
|
|
@@ -4331,7 +4342,7 @@ function id(r) {
|
|
|
4331
4342
|
}
|
|
4332
4343
|
);
|
|
4333
4344
|
}
|
|
4334
|
-
function
|
|
4345
|
+
function dd(r) {
|
|
4335
4346
|
return /* @__PURE__ */ a(
|
|
4336
4347
|
"svg",
|
|
4337
4348
|
{
|
|
@@ -4421,8 +4432,8 @@ const pa = _(
|
|
|
4421
4432
|
"aria-sort": t === "asc" ? "ascending" : t === "desc" ? "descending" : void 0,
|
|
4422
4433
|
children: [
|
|
4423
4434
|
s,
|
|
4424
|
-
t === "asc" && /* @__PURE__ */ a(
|
|
4425
|
-
t === "desc" && /* @__PURE__ */ a(
|
|
4435
|
+
t === "asc" && /* @__PURE__ */ a(cd, { className: ot.sortIcon }),
|
|
4436
|
+
t === "desc" && /* @__PURE__ */ a(dd, { className: ot.sortIcon })
|
|
4426
4437
|
]
|
|
4427
4438
|
}
|
|
4428
4439
|
);
|
|
@@ -4488,11 +4499,11 @@ co.Td = ma;
|
|
|
4488
4499
|
co.Tfoot = _a;
|
|
4489
4500
|
co.Caption = fa;
|
|
4490
4501
|
co.ScrollContainer = ya;
|
|
4491
|
-
const
|
|
4492
|
-
root:
|
|
4493
|
-
list:
|
|
4494
|
-
tab:
|
|
4495
|
-
panel:
|
|
4502
|
+
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c", zo = {
|
|
4503
|
+
root: ud,
|
|
4504
|
+
list: pd,
|
|
4505
|
+
tab: md,
|
|
4506
|
+
panel: _d
|
|
4496
4507
|
}, ha = _(function(e, t) {
|
|
4497
4508
|
const {
|
|
4498
4509
|
variant: o = "default",
|
|
@@ -4562,36 +4573,44 @@ const ba = _(
|
|
|
4562
4573
|
}
|
|
4563
4574
|
);
|
|
4564
4575
|
ba.displayName = "Tabs.Panel";
|
|
4565
|
-
const
|
|
4576
|
+
const ju = Object.assign(ha, {
|
|
4566
4577
|
List: va,
|
|
4567
4578
|
Tab: Na,
|
|
4568
4579
|
Panel: ba
|
|
4569
|
-
}),
|
|
4570
|
-
root:
|
|
4571
|
-
}, Ca = _(function({
|
|
4572
|
-
|
|
4580
|
+
}), fd = "Text-module__root___rsBo7", yd = {
|
|
4581
|
+
root: fd
|
|
4582
|
+
}, Ca = _(function({
|
|
4583
|
+
overStyled: e = !1,
|
|
4584
|
+
variant: t = "body",
|
|
4585
|
+
emphasis: o = "high",
|
|
4586
|
+
color: n = "default",
|
|
4587
|
+
...s
|
|
4588
|
+
}, l) {
|
|
4589
|
+
const i = u(s, e), c = i.className, p = [`recursica_brand_typography_${t}`, yd.root, c].filter(Boolean).join(" ");
|
|
4573
4590
|
return /* @__PURE__ */ a(
|
|
4574
4591
|
Qa,
|
|
4575
4592
|
{
|
|
4576
|
-
ref:
|
|
4577
|
-
...
|
|
4578
|
-
|
|
4593
|
+
ref: l,
|
|
4594
|
+
...i,
|
|
4595
|
+
"data-color": n,
|
|
4596
|
+
"data-emphasis": o,
|
|
4597
|
+
className: p
|
|
4579
4598
|
}
|
|
4580
4599
|
);
|
|
4581
4600
|
});
|
|
4582
4601
|
Ca.displayName = "Text";
|
|
4583
|
-
const
|
|
4584
|
-
layoutOverride:
|
|
4585
|
-
root:
|
|
4586
|
-
input:
|
|
4587
|
-
},
|
|
4602
|
+
const qu = Te(Ca), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextArea-module__root___3dyeu", Nd = "TextArea-module__input___8l36v", Do = {
|
|
4603
|
+
layoutOverride: hd,
|
|
4604
|
+
root: vd,
|
|
4605
|
+
input: Nd
|
|
4606
|
+
}, bd = [
|
|
4588
4607
|
"size",
|
|
4589
4608
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4590
4609
|
"variant",
|
|
4591
4610
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4592
4611
|
"radius"
|
|
4593
4612
|
// Recursica does not expose the library's native corner-radius system.
|
|
4594
|
-
],
|
|
4613
|
+
], Cd = _(
|
|
4595
4614
|
function(e, t) {
|
|
4596
4615
|
const {
|
|
4597
4616
|
overStyled: o = !1,
|
|
@@ -4604,23 +4623,23 @@ const ju = Pe(Ca), yd = "TextArea-module__layoutOverride___4MCdm", hd = "TextAre
|
|
|
4604
4623
|
onLabelEditClick: d,
|
|
4605
4624
|
label: p,
|
|
4606
4625
|
assistiveText: m,
|
|
4607
|
-
assistiveWithIcon:
|
|
4608
|
-
error:
|
|
4609
|
-
required:
|
|
4626
|
+
assistiveWithIcon: N,
|
|
4627
|
+
error: f,
|
|
4628
|
+
required: b,
|
|
4610
4629
|
withAsterisk: v,
|
|
4611
4630
|
id: $,
|
|
4612
|
-
className:
|
|
4631
|
+
className: C,
|
|
4613
4632
|
style: T,
|
|
4614
4633
|
disabled: w,
|
|
4615
4634
|
readOnly: P,
|
|
4616
4635
|
readOnlyComponent: g,
|
|
4617
|
-
emptyValueComponent:
|
|
4636
|
+
emptyValueComponent: y,
|
|
4618
4637
|
value: S,
|
|
4619
4638
|
defaultValue: h,
|
|
4620
4639
|
...O
|
|
4621
4640
|
} = e, M = V(
|
|
4622
4641
|
u(O, o),
|
|
4623
|
-
|
|
4642
|
+
bd
|
|
4624
4643
|
), D = M, A = E(
|
|
4625
4644
|
{
|
|
4626
4645
|
wrapper: Do.root,
|
|
@@ -4628,9 +4647,9 @@ const ju = Pe(Ca), yd = "TextArea-module__layoutOverride___4MCdm", hd = "TextAre
|
|
|
4628
4647
|
input: Do.input
|
|
4629
4648
|
},
|
|
4630
4649
|
D.classNames
|
|
4631
|
-
), L =
|
|
4650
|
+
), L = C ? `${Do.layoutOverride} ${C}` : Do.layoutOverride;
|
|
4632
4651
|
return /* @__PURE__ */ a(
|
|
4633
|
-
|
|
4652
|
+
ve,
|
|
4634
4653
|
{
|
|
4635
4654
|
className: L,
|
|
4636
4655
|
style: T,
|
|
@@ -4645,14 +4664,14 @@ const ju = Pe(Ca), yd = "TextArea-module__layoutOverride___4MCdm", hd = "TextAre
|
|
|
4645
4664
|
onLabelEditClick: d,
|
|
4646
4665
|
label: p,
|
|
4647
4666
|
assistiveText: m,
|
|
4648
|
-
assistiveWithIcon:
|
|
4649
|
-
error:
|
|
4650
|
-
required:
|
|
4667
|
+
assistiveWithIcon: N,
|
|
4668
|
+
error: f,
|
|
4669
|
+
required: b,
|
|
4651
4670
|
withAsterisk: v,
|
|
4652
4671
|
id: $,
|
|
4653
4672
|
readOnly: P,
|
|
4654
4673
|
readOnlyComponent: g,
|
|
4655
|
-
emptyValueComponent:
|
|
4674
|
+
emptyValueComponent: y,
|
|
4656
4675
|
readOnlyType: "text",
|
|
4657
4676
|
readOnlyValue: S !== void 0 ? S : h,
|
|
4658
4677
|
readOnlyNativeProps: e,
|
|
@@ -4669,7 +4688,7 @@ const ju = Pe(Ca), yd = "TextArea-module__layoutOverride___4MCdm", hd = "TextAre
|
|
|
4669
4688
|
defaultValue: h,
|
|
4670
4689
|
label: void 0,
|
|
4671
4690
|
description: void 0,
|
|
4672
|
-
error: !!
|
|
4691
|
+
error: !!f,
|
|
4673
4692
|
required: void 0,
|
|
4674
4693
|
withAsterisk: void 0
|
|
4675
4694
|
}
|
|
@@ -4679,13 +4698,13 @@ const ju = Pe(Ca), yd = "TextArea-module__layoutOverride___4MCdm", hd = "TextAre
|
|
|
4679
4698
|
);
|
|
4680
4699
|
}
|
|
4681
4700
|
);
|
|
4682
|
-
|
|
4683
|
-
const
|
|
4684
|
-
layoutOverride:
|
|
4685
|
-
root:
|
|
4686
|
-
input:
|
|
4687
|
-
section:
|
|
4688
|
-
},
|
|
4701
|
+
Cd.displayName = "TextArea";
|
|
4702
|
+
const gd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__root___2ZYkG", Td = "TextField-module__input___RL-My", wd = "TextField-module__section___bCIJ0", Io = {
|
|
4703
|
+
layoutOverride: gd,
|
|
4704
|
+
root: Pd,
|
|
4705
|
+
input: Td,
|
|
4706
|
+
section: wd
|
|
4707
|
+
}, Sd = [
|
|
4689
4708
|
"size",
|
|
4690
4709
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4691
4710
|
"variant",
|
|
@@ -4705,23 +4724,23 @@ const Cd = "TextField-module__layoutOverride___SNZqc", gd = "TextField-module__r
|
|
|
4705
4724
|
onLabelEditClick: d,
|
|
4706
4725
|
label: p,
|
|
4707
4726
|
assistiveText: m,
|
|
4708
|
-
assistiveWithIcon:
|
|
4709
|
-
error:
|
|
4710
|
-
required:
|
|
4727
|
+
assistiveWithIcon: N,
|
|
4728
|
+
error: f,
|
|
4729
|
+
required: b,
|
|
4711
4730
|
withAsterisk: v,
|
|
4712
4731
|
id: $,
|
|
4713
|
-
className:
|
|
4732
|
+
className: C,
|
|
4714
4733
|
style: T,
|
|
4715
4734
|
disabled: w,
|
|
4716
4735
|
readOnly: P,
|
|
4717
4736
|
readOnlyComponent: g,
|
|
4718
|
-
emptyValueComponent:
|
|
4737
|
+
emptyValueComponent: y,
|
|
4719
4738
|
value: S,
|
|
4720
4739
|
defaultValue: h,
|
|
4721
4740
|
...O
|
|
4722
4741
|
} = e, M = V(
|
|
4723
4742
|
u(O, o),
|
|
4724
|
-
|
|
4743
|
+
Sd
|
|
4725
4744
|
), D = M, A = E(
|
|
4726
4745
|
{
|
|
4727
4746
|
wrapper: Io.root,
|
|
@@ -4730,9 +4749,9 @@ const Cd = "TextField-module__layoutOverride___SNZqc", gd = "TextField-module__r
|
|
|
4730
4749
|
section: Io.section
|
|
4731
4750
|
},
|
|
4732
4751
|
D.classNames
|
|
4733
|
-
), L =
|
|
4752
|
+
), L = C ? `${Io.layoutOverride} ${C}` : Io.layoutOverride;
|
|
4734
4753
|
return /* @__PURE__ */ a(
|
|
4735
|
-
|
|
4754
|
+
ve,
|
|
4736
4755
|
{
|
|
4737
4756
|
className: L,
|
|
4738
4757
|
style: T,
|
|
@@ -4747,14 +4766,14 @@ const Cd = "TextField-module__layoutOverride___SNZqc", gd = "TextField-module__r
|
|
|
4747
4766
|
onLabelEditClick: d,
|
|
4748
4767
|
label: p,
|
|
4749
4768
|
assistiveText: m,
|
|
4750
|
-
assistiveWithIcon:
|
|
4751
|
-
error:
|
|
4752
|
-
required:
|
|
4769
|
+
assistiveWithIcon: N,
|
|
4770
|
+
error: f,
|
|
4771
|
+
required: b,
|
|
4753
4772
|
withAsterisk: v,
|
|
4754
4773
|
id: $,
|
|
4755
4774
|
readOnly: P,
|
|
4756
4775
|
readOnlyComponent: g,
|
|
4757
|
-
emptyValueComponent:
|
|
4776
|
+
emptyValueComponent: y,
|
|
4758
4777
|
readOnlyType: "text",
|
|
4759
4778
|
readOnlyValue: S !== void 0 ? S : h,
|
|
4760
4779
|
readOnlyNativeProps: e,
|
|
@@ -4771,7 +4790,7 @@ const Cd = "TextField-module__layoutOverride___SNZqc", gd = "TextField-module__r
|
|
|
4771
4790
|
defaultValue: h,
|
|
4772
4791
|
wrapperProps: {
|
|
4773
4792
|
"data-disabled": w ? "true" : void 0,
|
|
4774
|
-
"data-error":
|
|
4793
|
+
"data-error": f ? "true" : void 0
|
|
4775
4794
|
}
|
|
4776
4795
|
}
|
|
4777
4796
|
)
|
|
@@ -4781,7 +4800,7 @@ const Cd = "TextField-module__layoutOverride___SNZqc", gd = "TextField-module__r
|
|
|
4781
4800
|
}
|
|
4782
4801
|
);
|
|
4783
4802
|
ga.displayName = "TextField";
|
|
4784
|
-
const
|
|
4803
|
+
const $d = [
|
|
4785
4804
|
"size",
|
|
4786
4805
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4787
4806
|
"variant",
|
|
@@ -4791,7 +4810,7 @@ const Sd = [
|
|
|
4791
4810
|
], Pa = _(function(e, t) {
|
|
4792
4811
|
const { overStyled: o = !1, className: n, disabled: s, error: l, ...i } = e, c = V(
|
|
4793
4812
|
u(i, o),
|
|
4794
|
-
|
|
4813
|
+
$d
|
|
4795
4814
|
), d = c, p = E(
|
|
4796
4815
|
{
|
|
4797
4816
|
wrapper: n ? `${oe.root} ${n}` : oe.root,
|
|
@@ -4822,16 +4841,16 @@ const Sd = [
|
|
|
4822
4841
|
);
|
|
4823
4842
|
});
|
|
4824
4843
|
Pa.displayName = "BareDropdown";
|
|
4825
|
-
const
|
|
4826
|
-
layoutOverride:
|
|
4827
|
-
root:
|
|
4828
|
-
timeWrapper:
|
|
4829
|
-
timeInput:
|
|
4830
|
-
fieldsGroup:
|
|
4831
|
-
section:
|
|
4832
|
-
timeField:
|
|
4833
|
-
amPmSelect:
|
|
4834
|
-
},
|
|
4844
|
+
const xd = "TimePicker-module__layoutOverride___zKo4Q", Od = "TimePicker-module__root___BcvRu", kd = "TimePicker-module__timeWrapper___hJVre", Id = "TimePicker-module__timeInput___FQysn", Rd = "TimePicker-module__fieldsGroup___2yHhR", Ld = "TimePicker-module__section___VkSWB", Md = "TimePicker-module__timeField___twRZd", Wd = "TimePicker-module__amPmSelect___mSdvt", Ee = {
|
|
4845
|
+
layoutOverride: xd,
|
|
4846
|
+
root: Od,
|
|
4847
|
+
timeWrapper: kd,
|
|
4848
|
+
timeInput: Id,
|
|
4849
|
+
fieldsGroup: Rd,
|
|
4850
|
+
section: Ld,
|
|
4851
|
+
timeField: Md,
|
|
4852
|
+
amPmSelect: Wd
|
|
4853
|
+
}, Ad = [
|
|
4835
4854
|
{ value: "AM", label: "AM" },
|
|
4836
4855
|
{ value: "PM", label: "PM" }
|
|
4837
4856
|
];
|
|
@@ -4840,17 +4859,17 @@ function gt(r) {
|
|
|
4840
4859
|
const e = parseInt(r.slice(0, 2), 10);
|
|
4841
4860
|
return Number.isNaN(e) ? void 0 : e;
|
|
4842
4861
|
}
|
|
4843
|
-
function
|
|
4862
|
+
function zd(r, e) {
|
|
4844
4863
|
return `${String(e).padStart(2, "0")}${r.slice(2)}`;
|
|
4845
4864
|
}
|
|
4846
|
-
function
|
|
4865
|
+
function Dd(r) {
|
|
4847
4866
|
if (!r) return;
|
|
4848
4867
|
const [e, t, o] = r.split(":"), n = parseInt(e, 10);
|
|
4849
4868
|
if (Number.isNaN(n) || t === void 0) return r;
|
|
4850
4869
|
const s = n >= 12, l = n % 12 === 0 ? 12 : n % 12, i = o !== void 0 ? `${t}:${o}` : t;
|
|
4851
4870
|
return `${l}:${i} ${s ? "PM" : "AM"}`;
|
|
4852
4871
|
}
|
|
4853
|
-
function
|
|
4872
|
+
function Ed(r, e) {
|
|
4854
4873
|
var o;
|
|
4855
4874
|
const t = (o = Object.getOwnPropertyDescriptor(
|
|
4856
4875
|
window.HTMLSelectElement.prototype,
|
|
@@ -4858,14 +4877,14 @@ function Dd(r, e) {
|
|
|
4858
4877
|
)) == null ? void 0 : o.set;
|
|
4859
4878
|
t == null || t.call(r, e), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
4860
4879
|
}
|
|
4861
|
-
const
|
|
4880
|
+
const Bd = [
|
|
4862
4881
|
"size",
|
|
4863
4882
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4864
4883
|
"variant",
|
|
4865
4884
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4866
4885
|
"radius"
|
|
4867
4886
|
// Recursica does not expose the library's native corner-radius system.
|
|
4868
|
-
],
|
|
4887
|
+
], Fd = _(
|
|
4869
4888
|
function(e, t) {
|
|
4870
4889
|
const {
|
|
4871
4890
|
overStyled: o = !1,
|
|
@@ -4878,17 +4897,17 @@ const Ed = [
|
|
|
4878
4897
|
onLabelEditClick: d,
|
|
4879
4898
|
label: p,
|
|
4880
4899
|
assistiveText: m,
|
|
4881
|
-
assistiveWithIcon:
|
|
4882
|
-
error:
|
|
4883
|
-
required:
|
|
4900
|
+
assistiveWithIcon: N,
|
|
4901
|
+
error: f,
|
|
4902
|
+
required: b,
|
|
4884
4903
|
withAsterisk: v,
|
|
4885
4904
|
id: $,
|
|
4886
|
-
className:
|
|
4905
|
+
className: C,
|
|
4887
4906
|
style: T,
|
|
4888
4907
|
disabled: w,
|
|
4889
4908
|
readOnly: P,
|
|
4890
4909
|
readOnlyComponent: g,
|
|
4891
|
-
emptyValueComponent:
|
|
4910
|
+
emptyValueComponent: y,
|
|
4892
4911
|
value: S,
|
|
4893
4912
|
defaultValue: h,
|
|
4894
4913
|
onChange: O,
|
|
@@ -4898,32 +4917,32 @@ const Ed = [
|
|
|
4898
4917
|
...L
|
|
4899
4918
|
} = e, Y = V(
|
|
4900
4919
|
u(L, o),
|
|
4901
|
-
|
|
4902
|
-
),
|
|
4920
|
+
Bd
|
|
4921
|
+
), H = Y, [j, X] = ie(
|
|
4903
4922
|
() => S ?? h
|
|
4904
4923
|
);
|
|
4905
|
-
|
|
4924
|
+
Ie(() => {
|
|
4906
4925
|
S !== void 0 && X(S);
|
|
4907
4926
|
}, [S]);
|
|
4908
|
-
const
|
|
4909
|
-
|
|
4910
|
-
gt(S ?? h) === void 0 &&
|
|
4927
|
+
const G = Fe(null);
|
|
4928
|
+
Ie(() => {
|
|
4929
|
+
gt(S ?? h) === void 0 && G.current && Ed(G.current, "AM");
|
|
4911
4930
|
}, []);
|
|
4912
4931
|
const K = (k) => {
|
|
4913
4932
|
X(k), O == null || O(k);
|
|
4914
|
-
}, J = gt(j),
|
|
4933
|
+
}, J = gt(j), ue = J !== void 0 && J >= 12, W = (k) => {
|
|
4915
4934
|
K(k);
|
|
4916
4935
|
}, ae = (k) => {
|
|
4917
4936
|
if (J === void 0 || !j || !k) return;
|
|
4918
4937
|
const se = k === "PM";
|
|
4919
|
-
if (se ===
|
|
4920
|
-
const
|
|
4921
|
-
K(
|
|
4922
|
-
},
|
|
4938
|
+
if (se === ue) return;
|
|
4939
|
+
const Ne = se ? J + 12 : J - 12;
|
|
4940
|
+
K(zd(j, Ne));
|
|
4941
|
+
}, pe = C ? `${Ee.layoutOverride} ${C}` : Ee.layoutOverride;
|
|
4923
4942
|
return /* @__PURE__ */ a(
|
|
4924
|
-
|
|
4943
|
+
ve,
|
|
4925
4944
|
{
|
|
4926
|
-
className:
|
|
4945
|
+
className: pe,
|
|
4927
4946
|
style: T,
|
|
4928
4947
|
controlMaxWidth: void 0,
|
|
4929
4948
|
controlMinWidth: void 0,
|
|
@@ -4936,16 +4955,16 @@ const Ed = [
|
|
|
4936
4955
|
onLabelEditClick: d,
|
|
4937
4956
|
label: p,
|
|
4938
4957
|
assistiveText: m,
|
|
4939
|
-
assistiveWithIcon:
|
|
4940
|
-
error:
|
|
4941
|
-
required:
|
|
4958
|
+
assistiveWithIcon: N,
|
|
4959
|
+
error: f,
|
|
4960
|
+
required: b,
|
|
4942
4961
|
withAsterisk: v,
|
|
4943
4962
|
id: $,
|
|
4944
4963
|
readOnly: P,
|
|
4945
4964
|
readOnlyComponent: g,
|
|
4946
|
-
emptyValueComponent:
|
|
4965
|
+
emptyValueComponent: y,
|
|
4947
4966
|
readOnlyType: "text",
|
|
4948
|
-
readOnlyValue:
|
|
4967
|
+
readOnlyValue: Dd(
|
|
4949
4968
|
S !== void 0 ? S : h
|
|
4950
4969
|
),
|
|
4951
4970
|
readOnlyNativeProps: e,
|
|
@@ -4960,7 +4979,7 @@ const Ed = [
|
|
|
4960
4979
|
{
|
|
4961
4980
|
className: Ee.root,
|
|
4962
4981
|
"data-disabled": w ? "true" : void 0,
|
|
4963
|
-
"data-error":
|
|
4982
|
+
"data-error": f ? "true" : void 0,
|
|
4964
4983
|
children: [
|
|
4965
4984
|
/* @__PURE__ */ a(
|
|
4966
4985
|
ir,
|
|
@@ -4975,7 +4994,7 @@ const Ed = [
|
|
|
4975
4994
|
fieldsGroup: Ee.fieldsGroup,
|
|
4976
4995
|
field: Ee.timeField
|
|
4977
4996
|
},
|
|
4978
|
-
|
|
4997
|
+
H.classNames
|
|
4979
4998
|
),
|
|
4980
4999
|
disabled: w,
|
|
4981
5000
|
value: j,
|
|
@@ -4985,7 +5004,7 @@ const Ed = [
|
|
|
4985
5004
|
min: D,
|
|
4986
5005
|
max: A,
|
|
4987
5006
|
withDropdown: !1,
|
|
4988
|
-
amPmRef:
|
|
5007
|
+
amPmRef: G
|
|
4989
5008
|
}
|
|
4990
5009
|
),
|
|
4991
5010
|
/* @__PURE__ */ a(
|
|
@@ -4994,11 +5013,11 @@ const Ed = [
|
|
|
4994
5013
|
overStyled: !0,
|
|
4995
5014
|
className: Ee.amPmSelect,
|
|
4996
5015
|
styles: { wrapper: { width: "fit-content" } },
|
|
4997
|
-
data:
|
|
4998
|
-
value:
|
|
5016
|
+
data: Ad,
|
|
5017
|
+
value: ue ? "PM" : "AM",
|
|
4999
5018
|
onChange: ae,
|
|
5000
5019
|
disabled: w,
|
|
5001
|
-
error: !!
|
|
5020
|
+
error: !!f,
|
|
5002
5021
|
"aria-label": "AM or PM"
|
|
5003
5022
|
}
|
|
5004
5023
|
)
|
|
@@ -5010,16 +5029,16 @@ const Ed = [
|
|
|
5010
5029
|
);
|
|
5011
5030
|
}
|
|
5012
5031
|
);
|
|
5013
|
-
|
|
5014
|
-
const
|
|
5015
|
-
root:
|
|
5016
|
-
item:
|
|
5017
|
-
itemBody:
|
|
5032
|
+
Fd.displayName = "TimePicker";
|
|
5033
|
+
const Ud = "Timeline-module__root___LwRdZ", Vd = "Timeline-module__item___T5xdQ", Gd = "Timeline-module__itemBody___XAV-E", Hd = "Timeline-module__itemBullet___rPXCy", jd = "Timeline-module__itemTitle___GgRRW", qd = "Timeline-module__itemContent___vurs-", Kd = "Timeline-module__description___f9sxV", Yd = "Timeline-module__timestamp___owiRu", no = {
|
|
5034
|
+
root: Ud,
|
|
5035
|
+
item: Vd,
|
|
5036
|
+
itemBody: Gd,
|
|
5018
5037
|
itemBullet: Hd,
|
|
5019
|
-
itemTitle:
|
|
5020
|
-
itemContent:
|
|
5021
|
-
description:
|
|
5022
|
-
timestamp:
|
|
5038
|
+
itemTitle: jd,
|
|
5039
|
+
itemContent: qd,
|
|
5040
|
+
description: Kd,
|
|
5041
|
+
timestamp: Yd
|
|
5023
5042
|
}, Ta = q.forwardRef(
|
|
5024
5043
|
function({
|
|
5025
5044
|
overStyled: e = !1,
|
|
@@ -5071,17 +5090,17 @@ const wa = q.forwardRef(
|
|
|
5071
5090
|
}
|
|
5072
5091
|
);
|
|
5073
5092
|
wa.displayName = "Timeline";
|
|
5074
|
-
const
|
|
5075
|
-
|
|
5076
|
-
const
|
|
5077
|
-
root:
|
|
5078
|
-
icon:
|
|
5079
|
-
loader:
|
|
5080
|
-
title:
|
|
5081
|
-
description:
|
|
5082
|
-
closeButton:
|
|
5083
|
-
body:
|
|
5084
|
-
},
|
|
5093
|
+
const Zd = wa;
|
|
5094
|
+
Zd.Item = Ta;
|
|
5095
|
+
const Xd = "Toast-module__root___MUvfI", Qd = "Toast-module__icon___VwvE1", Jd = "Toast-module__loader___8Gxd-", eu = "Toast-module__title___-H6R2", ou = "Toast-module__description___-QwfC", tu = "Toast-module__closeButton___vGr7g", nu = "Toast-module__body___VLkXA", yo = {
|
|
5096
|
+
root: Xd,
|
|
5097
|
+
icon: Qd,
|
|
5098
|
+
loader: Jd,
|
|
5099
|
+
title: eu,
|
|
5100
|
+
description: ou,
|
|
5101
|
+
closeButton: tu,
|
|
5102
|
+
body: nu
|
|
5103
|
+
}, au = q.forwardRef(
|
|
5085
5104
|
function({
|
|
5086
5105
|
overStyled: e = !1,
|
|
5087
5106
|
variant: t = "default",
|
|
@@ -5124,10 +5143,10 @@ const Zd = "Toast-module__root___MUvfI", Xd = "Toast-module__icon___VwvE1", Qd =
|
|
|
5124
5143
|
);
|
|
5125
5144
|
}
|
|
5126
5145
|
);
|
|
5127
|
-
|
|
5128
|
-
const
|
|
5129
|
-
tooltip:
|
|
5130
|
-
arrow:
|
|
5146
|
+
au.displayName = "Toast";
|
|
5147
|
+
const ru = "Tooltip-module__tooltip___UA7H9", su = "Tooltip-module__arrow___4zROk", Pt = {
|
|
5148
|
+
tooltip: ru,
|
|
5149
|
+
arrow: su
|
|
5131
5150
|
}, Sa = function({
|
|
5132
5151
|
overStyled: e = !1,
|
|
5133
5152
|
withBeak: t = !0,
|
|
@@ -5175,23 +5194,23 @@ $a.displayName = "TooltipFloating";
|
|
|
5175
5194
|
const xa = Sa;
|
|
5176
5195
|
xa.Floating = $a;
|
|
5177
5196
|
xa.Group = st.Group;
|
|
5178
|
-
const
|
|
5179
|
-
layoutOverride:
|
|
5180
|
-
root:
|
|
5181
|
-
panes:
|
|
5182
|
-
pane:
|
|
5183
|
-
paneHeader:
|
|
5184
|
-
paneSearch:
|
|
5185
|
-
paneList:
|
|
5186
|
-
emptyState:
|
|
5187
|
-
transferColumn:
|
|
5188
|
-
chevron:
|
|
5197
|
+
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", Pe = {
|
|
5198
|
+
layoutOverride: lu,
|
|
5199
|
+
root: iu,
|
|
5200
|
+
panes: cu,
|
|
5201
|
+
pane: du,
|
|
5202
|
+
paneHeader: uu,
|
|
5203
|
+
paneSearch: pu,
|
|
5204
|
+
paneList: mu,
|
|
5205
|
+
emptyState: _u,
|
|
5206
|
+
transferColumn: fu,
|
|
5207
|
+
chevron: yu
|
|
5189
5208
|
};
|
|
5190
5209
|
function Tt({ direction: r }) {
|
|
5191
5210
|
return /* @__PURE__ */ a(
|
|
5192
5211
|
"svg",
|
|
5193
5212
|
{
|
|
5194
|
-
className:
|
|
5213
|
+
className: Pe.chevron,
|
|
5195
5214
|
"data-direction": r,
|
|
5196
5215
|
viewBox: "0 0 16 16",
|
|
5197
5216
|
width: "1em",
|
|
@@ -5210,7 +5229,7 @@ function wt({ direction: r }) {
|
|
|
5210
5229
|
return /* @__PURE__ */ a(
|
|
5211
5230
|
"svg",
|
|
5212
5231
|
{
|
|
5213
|
-
className:
|
|
5232
|
+
className: Pe.chevron,
|
|
5214
5233
|
"data-direction": r,
|
|
5215
5234
|
viewBox: "0 0 16 16",
|
|
5216
5235
|
width: "1em",
|
|
@@ -5225,14 +5244,14 @@ function wt({ direction: r }) {
|
|
|
5225
5244
|
}
|
|
5226
5245
|
);
|
|
5227
5246
|
}
|
|
5228
|
-
function
|
|
5247
|
+
function hu(r) {
|
|
5229
5248
|
const e = {}, t = [];
|
|
5230
5249
|
return r.forEach((o) => {
|
|
5231
5250
|
var n;
|
|
5232
5251
|
o.group ? (e[n = o.group] ?? (e[n] = [])).push(o) : t.push(o);
|
|
5233
5252
|
}), { groups: e, ungrouped: t };
|
|
5234
5253
|
}
|
|
5235
|
-
const
|
|
5254
|
+
const vu = _(
|
|
5236
5255
|
function(e, t) {
|
|
5237
5256
|
const {
|
|
5238
5257
|
overStyled: o = !1,
|
|
@@ -5245,17 +5264,17 @@ const hu = _(
|
|
|
5245
5264
|
labelActionArea: d,
|
|
5246
5265
|
onLabelEditClick: p,
|
|
5247
5266
|
label: m,
|
|
5248
|
-
assistiveText:
|
|
5249
|
-
description:
|
|
5250
|
-
helperText:
|
|
5267
|
+
assistiveText: N,
|
|
5268
|
+
description: f,
|
|
5269
|
+
helperText: b,
|
|
5251
5270
|
assistiveWithIcon: v,
|
|
5252
5271
|
error: $,
|
|
5253
|
-
required:
|
|
5272
|
+
required: C,
|
|
5254
5273
|
id: T,
|
|
5255
5274
|
readOnly: w,
|
|
5256
5275
|
readOnlyComponent: P,
|
|
5257
5276
|
emptyValueComponent: g,
|
|
5258
|
-
data:
|
|
5277
|
+
data: y,
|
|
5259
5278
|
defaultData: S,
|
|
5260
5279
|
onChange: h,
|
|
5261
5280
|
sourceLabel: O = "Available",
|
|
@@ -5264,26 +5283,26 @@ const hu = _(
|
|
|
5264
5283
|
searchPlaceholder: A = "Filter items...",
|
|
5265
5284
|
disabled: L = !1,
|
|
5266
5285
|
className: Y,
|
|
5267
|
-
style:
|
|
5286
|
+
style: H,
|
|
5268
5287
|
...j
|
|
5269
|
-
} = e, X = u(j, o),
|
|
5270
|
-
() => S ??
|
|
5271
|
-
), W =
|
|
5288
|
+
} = e, X = u(j, o), G = St(), K = T || `recursica-transfer-list-${G}`, [J, ue] = ie(
|
|
5289
|
+
() => S ?? y ?? [[], []]
|
|
5290
|
+
), W = y !== void 0 ? y : J, ae = mo(
|
|
5272
5291
|
(U) => {
|
|
5273
|
-
|
|
5292
|
+
y === void 0 && ue(U), h == null || h(U);
|
|
5274
5293
|
},
|
|
5275
|
-
[
|
|
5276
|
-
), [
|
|
5294
|
+
[y, h]
|
|
5295
|
+
), [pe, k] = ie(""), [se, Ne] = ie(""), [re, le] = ie(
|
|
5277
5296
|
() => /* @__PURE__ */ new Set()
|
|
5278
|
-
), [
|
|
5297
|
+
), [be, we] = ie(
|
|
5279
5298
|
() => /* @__PURE__ */ new Set()
|
|
5280
5299
|
), Ye = yt(() => {
|
|
5281
|
-
if (!
|
|
5282
|
-
const U =
|
|
5300
|
+
if (!pe) return W[0];
|
|
5301
|
+
const U = pe.toLowerCase();
|
|
5283
5302
|
return W[0].filter(
|
|
5284
5303
|
(B) => B.label.toLowerCase().includes(U)
|
|
5285
5304
|
);
|
|
5286
|
-
}, [W,
|
|
5305
|
+
}, [W, pe]), Se = yt(() => {
|
|
5287
5306
|
if (!se) return W[1];
|
|
5288
5307
|
const U = se.toLowerCase();
|
|
5289
5308
|
return W[1].filter(
|
|
@@ -5298,46 +5317,46 @@ const hu = _(
|
|
|
5298
5317
|
);
|
|
5299
5318
|
le(/* @__PURE__ */ new Set()), ae([U, [...W[1], ...B]]);
|
|
5300
5319
|
}, [W, re, ae]), Ae = mo(() => {
|
|
5301
|
-
if (
|
|
5320
|
+
if (be.size === 0) return;
|
|
5302
5321
|
const U = W[1].filter(
|
|
5303
|
-
(z) => !
|
|
5322
|
+
(z) => !be.has(z.value)
|
|
5304
5323
|
), B = W[1].filter(
|
|
5305
|
-
(z) =>
|
|
5324
|
+
(z) => be.has(z.value)
|
|
5306
5325
|
);
|
|
5307
|
-
|
|
5308
|
-
}, [W,
|
|
5326
|
+
we(/* @__PURE__ */ new Set()), ae([[...W[0], ...B], U]);
|
|
5327
|
+
}, [W, be, ae]), ze = mo(() => {
|
|
5309
5328
|
W[0].length !== 0 && (le(/* @__PURE__ */ new Set()), ae([[], [...W[1], ...W[0]]]));
|
|
5310
5329
|
}, [W, ae]), uo = mo(() => {
|
|
5311
|
-
W[1].length !== 0 && (
|
|
5312
|
-
}, [W, ae]),
|
|
5330
|
+
W[1].length !== 0 && (we(/* @__PURE__ */ new Set()), ae([[...W[0], ...W[1]], []]));
|
|
5331
|
+
}, [W, ae]), $e = mo((U) => {
|
|
5313
5332
|
le((B) => {
|
|
5314
5333
|
const z = new Set(B);
|
|
5315
5334
|
return z.has(U) ? z.delete(U) : z.add(U), z;
|
|
5316
5335
|
});
|
|
5317
5336
|
}, []), Xe = mo((U) => {
|
|
5318
|
-
|
|
5337
|
+
we((B) => {
|
|
5319
5338
|
const z = new Set(B);
|
|
5320
5339
|
return z.has(U) ? z.delete(U) : z.add(U), z;
|
|
5321
5340
|
});
|
|
5322
|
-
}, []),
|
|
5323
|
-
const { groups: po, ungrouped: x } =
|
|
5324
|
-
return /* @__PURE__ */ R("div", { className:
|
|
5325
|
-
/* @__PURE__ */ R("div", { className:
|
|
5341
|
+
}, []), xe = (U, B, z, I, F, Z, _e, Je) => {
|
|
5342
|
+
const { groups: po, ungrouped: x } = hu(z), te = Object.keys(po).sort(), ne = F.size > 0 ? `${F.size} / ${I.length}` : `${I.length}`;
|
|
5343
|
+
return /* @__PURE__ */ R("div", { className: Pe.pane, "data-pane": U, children: [
|
|
5344
|
+
/* @__PURE__ */ R("div", { className: Pe.paneHeader, children: [
|
|
5326
5345
|
/* @__PURE__ */ a("span", { children: B }),
|
|
5327
5346
|
/* @__PURE__ */ a(fs, { children: ne })
|
|
5328
5347
|
] }),
|
|
5329
|
-
D && /* @__PURE__ */ a("div", { className:
|
|
5348
|
+
D && /* @__PURE__ */ a("div", { className: Pe.paneSearch, children: /* @__PURE__ */ a(
|
|
5330
5349
|
ga,
|
|
5331
5350
|
{
|
|
5332
|
-
value:
|
|
5351
|
+
value: _e,
|
|
5333
5352
|
onChange: (Q) => Je(Q.currentTarget.value),
|
|
5334
5353
|
placeholder: A,
|
|
5335
5354
|
disabled: L,
|
|
5336
5355
|
"aria-label": `Filter ${B.toLowerCase()}`
|
|
5337
5356
|
}
|
|
5338
5357
|
) }),
|
|
5339
|
-
/* @__PURE__ */ R("div", { className:
|
|
5340
|
-
z.length === 0 && /* @__PURE__ */ a("div", { className:
|
|
5358
|
+
/* @__PURE__ */ R("div", { className: Pe.paneList, children: [
|
|
5359
|
+
z.length === 0 && /* @__PURE__ */ a("div", { className: Pe.emptyState, children: "No items" }),
|
|
5341
5360
|
x.length > 0 && /* @__PURE__ */ a(Uo, { children: x.map((Q) => /* @__PURE__ */ a(
|
|
5342
5361
|
Vo,
|
|
5343
5362
|
{
|
|
@@ -5354,25 +5373,25 @@ const hu = _(
|
|
|
5354
5373
|
{
|
|
5355
5374
|
label: Q,
|
|
5356
5375
|
labelSize: "small",
|
|
5357
|
-
children: po[Q].map((
|
|
5376
|
+
children: po[Q].map((fe) => /* @__PURE__ */ a(
|
|
5358
5377
|
Vo,
|
|
5359
5378
|
{
|
|
5360
|
-
id: `${K}-${U}-${
|
|
5361
|
-
label:
|
|
5362
|
-
checked: F.has(
|
|
5363
|
-
onChange: () => Z(
|
|
5379
|
+
id: `${K}-${U}-${fe.value}`,
|
|
5380
|
+
label: fe.label,
|
|
5381
|
+
checked: F.has(fe.value),
|
|
5382
|
+
onChange: () => Z(fe.value),
|
|
5364
5383
|
disabled: L
|
|
5365
5384
|
},
|
|
5366
|
-
|
|
5385
|
+
fe.value
|
|
5367
5386
|
))
|
|
5368
5387
|
},
|
|
5369
5388
|
Q
|
|
5370
5389
|
))
|
|
5371
5390
|
] })
|
|
5372
5391
|
] });
|
|
5373
|
-
}, Qe = Y ? `${
|
|
5392
|
+
}, Qe = Y ? `${Pe.layoutOverride} ${Y}` : Pe.layoutOverride;
|
|
5374
5393
|
return /* @__PURE__ */ a(
|
|
5375
|
-
|
|
5394
|
+
ve,
|
|
5376
5395
|
{
|
|
5377
5396
|
ref: t,
|
|
5378
5397
|
formLayout: n,
|
|
@@ -5383,15 +5402,15 @@ const hu = _(
|
|
|
5383
5402
|
labelActionArea: d,
|
|
5384
5403
|
onLabelEditClick: p,
|
|
5385
5404
|
label: m,
|
|
5386
|
-
assistiveText:
|
|
5387
|
-
description:
|
|
5388
|
-
helperText:
|
|
5405
|
+
assistiveText: N,
|
|
5406
|
+
description: f,
|
|
5407
|
+
helperText: b,
|
|
5389
5408
|
assistiveWithIcon: v,
|
|
5390
5409
|
error: $,
|
|
5391
|
-
required:
|
|
5410
|
+
required: C,
|
|
5392
5411
|
id: K,
|
|
5393
5412
|
className: Qe,
|
|
5394
|
-
style:
|
|
5413
|
+
style: H,
|
|
5395
5414
|
overStyled: o,
|
|
5396
5415
|
readOnly: w,
|
|
5397
5416
|
readOnlyComponent: P,
|
|
@@ -5403,21 +5422,21 @@ const hu = _(
|
|
|
5403
5422
|
"div",
|
|
5404
5423
|
{
|
|
5405
5424
|
...X,
|
|
5406
|
-
className:
|
|
5425
|
+
className: Pe.root,
|
|
5407
5426
|
"data-disabled": L ? "true" : void 0,
|
|
5408
5427
|
"data-error": $ ? "true" : void 0,
|
|
5409
|
-
children: /* @__PURE__ */ R("div", { className:
|
|
5410
|
-
|
|
5428
|
+
children: /* @__PURE__ */ R("div", { className: Pe.panes, children: [
|
|
5429
|
+
xe(
|
|
5411
5430
|
"source",
|
|
5412
5431
|
O,
|
|
5413
5432
|
Ye,
|
|
5414
5433
|
W[0],
|
|
5415
5434
|
re,
|
|
5416
|
-
|
|
5417
|
-
|
|
5435
|
+
$e,
|
|
5436
|
+
pe,
|
|
5418
5437
|
k
|
|
5419
5438
|
),
|
|
5420
|
-
/* @__PURE__ */ R("div", { className:
|
|
5439
|
+
/* @__PURE__ */ R("div", { className: Pe.transferColumn, children: [
|
|
5421
5440
|
/* @__PURE__ */ a(
|
|
5422
5441
|
ho,
|
|
5423
5442
|
{
|
|
@@ -5447,7 +5466,7 @@ const hu = _(
|
|
|
5447
5466
|
size: "small",
|
|
5448
5467
|
icon: /* @__PURE__ */ a(Tt, { direction: "left" }),
|
|
5449
5468
|
"aria-label": `Move selected to ${O}`,
|
|
5450
|
-
disabled: L ||
|
|
5469
|
+
disabled: L || be.size === 0,
|
|
5451
5470
|
onClick: Ae
|
|
5452
5471
|
}
|
|
5453
5472
|
),
|
|
@@ -5463,15 +5482,15 @@ const hu = _(
|
|
|
5463
5482
|
}
|
|
5464
5483
|
)
|
|
5465
5484
|
] }),
|
|
5466
|
-
|
|
5485
|
+
xe(
|
|
5467
5486
|
"target",
|
|
5468
5487
|
M,
|
|
5469
|
-
|
|
5488
|
+
Se,
|
|
5470
5489
|
W[1],
|
|
5471
|
-
|
|
5490
|
+
be,
|
|
5472
5491
|
Xe,
|
|
5473
5492
|
se,
|
|
5474
|
-
|
|
5493
|
+
Ne
|
|
5475
5494
|
)
|
|
5476
5495
|
] })
|
|
5477
5496
|
}
|
|
@@ -5480,17 +5499,17 @@ const hu = _(
|
|
|
5480
5499
|
);
|
|
5481
5500
|
}
|
|
5482
5501
|
);
|
|
5483
|
-
|
|
5484
|
-
const
|
|
5485
|
-
root:
|
|
5486
|
-
subtree:
|
|
5487
|
-
node:
|
|
5488
|
-
row:
|
|
5489
|
-
label:
|
|
5490
|
-
expandButton:
|
|
5491
|
-
expandGlyph:
|
|
5502
|
+
vu.displayName = "TransferList";
|
|
5503
|
+
const Nu = "Tree-module__root___ANcH3", bu = "Tree-module__subtree___KoLT8", Cu = "Tree-module__node___Hvnjg", gu = "Tree-module__row___sq5ff", Pu = "Tree-module__label___zJDit", Tu = "Tree-module__expandButton___W0WTT", wu = "Tree-module__expandGlyph___w8dDQ", so = {
|
|
5504
|
+
root: Nu,
|
|
5505
|
+
subtree: bu,
|
|
5506
|
+
node: Cu,
|
|
5507
|
+
row: gu,
|
|
5508
|
+
label: Pu,
|
|
5509
|
+
expandButton: Tu,
|
|
5510
|
+
expandGlyph: wu
|
|
5492
5511
|
};
|
|
5493
|
-
function
|
|
5512
|
+
function Su() {
|
|
5494
5513
|
return /* @__PURE__ */ a(
|
|
5495
5514
|
"svg",
|
|
5496
5515
|
{
|
|
@@ -5508,7 +5527,7 @@ function wu() {
|
|
|
5508
5527
|
}
|
|
5509
5528
|
);
|
|
5510
5529
|
}
|
|
5511
|
-
function
|
|
5530
|
+
function $u(r) {
|
|
5512
5531
|
return function({
|
|
5513
5532
|
node: t,
|
|
5514
5533
|
hasChildren: o,
|
|
@@ -5531,7 +5550,7 @@ function Su(r) {
|
|
|
5531
5550
|
overStyled: !0,
|
|
5532
5551
|
variant: "text",
|
|
5533
5552
|
size: "small",
|
|
5534
|
-
icon: /* @__PURE__ */ a(
|
|
5553
|
+
icon: /* @__PURE__ */ a(Su, {}),
|
|
5535
5554
|
"aria-label": "Toggle subtree",
|
|
5536
5555
|
"aria-hidden": "true",
|
|
5537
5556
|
tabIndex: -1,
|
|
@@ -5548,7 +5567,7 @@ function Su(r) {
|
|
|
5548
5567
|
);
|
|
5549
5568
|
};
|
|
5550
5569
|
}
|
|
5551
|
-
const
|
|
5570
|
+
const xu = _(function({
|
|
5552
5571
|
overStyled: e = !1,
|
|
5553
5572
|
data: t,
|
|
5554
5573
|
initialExpandedValues: o,
|
|
@@ -5560,48 +5579,48 @@ const $u = _(function({
|
|
|
5560
5579
|
onSelectedChange: d,
|
|
5561
5580
|
...p
|
|
5562
5581
|
}, m) {
|
|
5563
|
-
const
|
|
5582
|
+
const N = u(p, e), f = nr({
|
|
5564
5583
|
initialExpandedState: o ? ar(t, o) : void 0,
|
|
5565
5584
|
initialSelectedState: n,
|
|
5566
5585
|
multiple: s,
|
|
5567
5586
|
onNodeExpand: i,
|
|
5568
5587
|
onNodeCollapse: c
|
|
5569
5588
|
});
|
|
5570
|
-
|
|
5571
|
-
d == null || d(
|
|
5572
|
-
}, [
|
|
5573
|
-
const
|
|
5574
|
-
|
|
5575
|
-
const w =
|
|
5589
|
+
Ie(() => {
|
|
5590
|
+
d == null || d(f.selectedState);
|
|
5591
|
+
}, [f.selectedState, d]);
|
|
5592
|
+
const b = q.useRef(null);
|
|
5593
|
+
Ie(() => {
|
|
5594
|
+
const w = b.current;
|
|
5576
5595
|
if (!w) return;
|
|
5577
5596
|
const P = (g) => {
|
|
5578
5597
|
if (l || g.key !== "Enter" && g.key !== " ") return;
|
|
5579
|
-
const
|
|
5598
|
+
const y = g.target.closest(
|
|
5580
5599
|
'[role="treeitem"]'
|
|
5581
|
-
), S =
|
|
5582
|
-
S && (g.preventDefault(),
|
|
5600
|
+
), S = y == null ? void 0 : y.dataset.value;
|
|
5601
|
+
S && (g.preventDefault(), f.select(S));
|
|
5583
5602
|
};
|
|
5584
5603
|
return w.addEventListener("keydown", P), () => w.removeEventListener("keydown", P);
|
|
5585
|
-
}, [
|
|
5586
|
-
const w =
|
|
5604
|
+
}, [f.select, l]), Ie(() => {
|
|
5605
|
+
const w = b.current;
|
|
5587
5606
|
if (!w || !l) return;
|
|
5588
5607
|
const P = (g) => {
|
|
5589
5608
|
g.preventDefault(), g.stopPropagation();
|
|
5590
5609
|
};
|
|
5591
5610
|
return w.addEventListener("keydown", P, { capture: !0 }), () => w.removeEventListener("keydown", P, { capture: !0 });
|
|
5592
5611
|
}, [l]);
|
|
5593
|
-
const v = cr(m,
|
|
5612
|
+
const v = cr(m, b), $ = N, C = $.className, T = C ? `${so.root} ${C}` : so.root;
|
|
5594
5613
|
return /* @__PURE__ */ a(
|
|
5595
5614
|
rr,
|
|
5596
5615
|
{
|
|
5597
5616
|
ref: v,
|
|
5598
|
-
...
|
|
5617
|
+
...N,
|
|
5599
5618
|
data: t,
|
|
5600
|
-
tree:
|
|
5619
|
+
tree: f,
|
|
5601
5620
|
expandOnClick: !1,
|
|
5602
5621
|
selectOnClick: !l,
|
|
5603
5622
|
expandOnSpace: !1,
|
|
5604
|
-
renderNode:
|
|
5623
|
+
renderNode: $u(l),
|
|
5605
5624
|
"data-disabled": l || void 0,
|
|
5606
5625
|
classNames: E(
|
|
5607
5626
|
{ root: T, node: so.node, subtree: so.subtree },
|
|
@@ -5610,7 +5629,7 @@ const $u = _(function({
|
|
|
5610
5629
|
}
|
|
5611
5630
|
);
|
|
5612
5631
|
});
|
|
5613
|
-
|
|
5632
|
+
xu.displayName = "Tree";
|
|
5614
5633
|
export {
|
|
5615
5634
|
ct as Accordion,
|
|
5616
5635
|
lt as AccordionControl,
|
|
@@ -5618,61 +5637,61 @@ export {
|
|
|
5618
5637
|
it as AccordionPanel,
|
|
5619
5638
|
et as AssistiveElement,
|
|
5620
5639
|
is as AutoComplete,
|
|
5621
|
-
|
|
5640
|
+
Eu as Avatar,
|
|
5622
5641
|
fs as Badge,
|
|
5623
5642
|
vs as Breadcrumb,
|
|
5624
5643
|
ho as Button,
|
|
5625
|
-
|
|
5644
|
+
Bu as Card,
|
|
5626
5645
|
en as CardContent,
|
|
5627
5646
|
Jt as CardFooter,
|
|
5628
5647
|
Qt as CardHeader,
|
|
5629
5648
|
Zt as CardSection,
|
|
5630
5649
|
Vo as Checkbox,
|
|
5631
5650
|
Uo as CheckboxGroup,
|
|
5632
|
-
|
|
5651
|
+
Go as Chip,
|
|
5633
5652
|
Zs as Container,
|
|
5634
5653
|
dl as DatePicker,
|
|
5635
5654
|
Tl as Dropdown,
|
|
5636
5655
|
Bo as EmptyValueRenderer,
|
|
5637
5656
|
Wl as FileInput,
|
|
5638
5657
|
Vl as FileUpload,
|
|
5639
|
-
|
|
5658
|
+
Fu as Flex,
|
|
5640
5659
|
lo as FormControlLayout,
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5660
|
+
Zl as Grid,
|
|
5661
|
+
Yl as GridCol,
|
|
5662
|
+
Ql as Group,
|
|
5663
|
+
oi as Heading,
|
|
5645
5664
|
cn as HoverCard,
|
|
5646
5665
|
Ue as IS_DEV,
|
|
5647
5666
|
Ut as Label,
|
|
5648
5667
|
Lt as Layer,
|
|
5649
|
-
|
|
5668
|
+
Uu as Link,
|
|
5650
5669
|
qt as Loader,
|
|
5651
5670
|
Po as Menu,
|
|
5652
5671
|
io as Modal,
|
|
5653
|
-
|
|
5672
|
+
Wi as NumberInput,
|
|
5654
5673
|
qe as Pagination,
|
|
5655
5674
|
Ke as Panel,
|
|
5656
5675
|
Yn as PanelBody,
|
|
5657
5676
|
Kn as PanelCloseButton,
|
|
5658
|
-
|
|
5677
|
+
Hn as PanelContent,
|
|
5659
5678
|
Un as PanelFooter,
|
|
5660
5679
|
jn as PanelHeader,
|
|
5661
|
-
|
|
5680
|
+
Gn as PanelOverlay,
|
|
5662
5681
|
Vn as PanelRoot,
|
|
5663
5682
|
qn as PanelTitle,
|
|
5664
5683
|
Jn as Popover,
|
|
5665
|
-
|
|
5684
|
+
zu as RECURSICA_COMPONENTS,
|
|
5666
5685
|
oa as Radio,
|
|
5667
5686
|
ea as RadioGroup,
|
|
5668
|
-
|
|
5687
|
+
uc as ReadOnlyBooleanField,
|
|
5669
5688
|
Vt as ReadOnlyField,
|
|
5670
|
-
|
|
5689
|
+
dc as ReadOnlySwitchField,
|
|
5671
5690
|
Eo as ReadOnlyTextField,
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5691
|
+
Au as RecursicaThemeProvider,
|
|
5692
|
+
Vu as SegmentedControl,
|
|
5693
|
+
Mc as Slider,
|
|
5694
|
+
Gu as Stack,
|
|
5676
5695
|
Hu as Stepper,
|
|
5677
5696
|
la as Switch,
|
|
5678
5697
|
sa as SwitchGroup,
|
|
@@ -5685,23 +5704,23 @@ export {
|
|
|
5685
5704
|
pa as TableTh,
|
|
5686
5705
|
ca as TableThead,
|
|
5687
5706
|
ua as TableTr,
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5707
|
+
ju as Tabs,
|
|
5708
|
+
qu as Text,
|
|
5709
|
+
Cd as TextArea,
|
|
5691
5710
|
ga as TextField,
|
|
5692
|
-
|
|
5693
|
-
|
|
5711
|
+
Fd as TimePicker,
|
|
5712
|
+
Zd as Timeline,
|
|
5694
5713
|
Ta as TimelineItem,
|
|
5695
|
-
|
|
5714
|
+
au as Toast,
|
|
5696
5715
|
xa as Tooltip,
|
|
5697
5716
|
$a as TooltipFloating,
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5717
|
+
vu as TransferList,
|
|
5718
|
+
xu as Tree,
|
|
5719
|
+
ve as WithReadOnlyWrapper,
|
|
5720
|
+
Du as copyToClipboard,
|
|
5702
5721
|
At as fileMatchesAccept,
|
|
5703
5722
|
Mt as injectOverStyledStyles,
|
|
5704
|
-
|
|
5723
|
+
Wu as isGlobalOverStyledActive,
|
|
5705
5724
|
fr as markCurrentPageItem,
|
|
5706
5725
|
E as mergeClassNames,
|
|
5707
5726
|
yr as mergeStyles,
|
|
@@ -5710,7 +5729,7 @@ export {
|
|
|
5710
5729
|
Wt as registerOverStyledConsoleCommand,
|
|
5711
5730
|
mr as toggleGlobalOverStyled,
|
|
5712
5731
|
_r as useGlobalOverStyled,
|
|
5713
|
-
|
|
5732
|
+
me as withCallerOverride,
|
|
5714
5733
|
Nr as wrapComponent
|
|
5715
5734
|
};
|
|
5716
5735
|
//# sourceMappingURL=adapter-mantine-v8.js.map
|