@recursica/mantine-adapter 0.43.0 → 0.44.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 +6 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1083 -1070
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Breadcrumb/Breadcrumb.module.css +2 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -6
- package/src/components/Breadcrumb/Breadcrumb.tsx +16 -0
- package/src/components/Dropdown/DROPDOWN_IMPLEMENTATION_NOTES.md +2 -0
- package/src/components/Dropdown/Dropdown.module.css +61 -4
- package/src/components/Dropdown/Dropdown.stories.tsx +21 -0
- package/src/components/Dropdown/Dropdown.tsx +17 -0
- package/src/components/Dropdown/USAGE.md +1 -0
- package/src/components/Menu/Menu.stories.tsx +9 -1
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as a, Fragment as go, jsxs as z } from "react/jsx-runtime";
|
|
2
|
-
import U, { forwardRef as
|
|
3
|
-
import { Accordion as jo, Input as Et, Box as Ha, Autocomplete as ja, Avatar as qa, createPolymorphicComponent as Te, Badge as Ka, Breadcrumbs as Ya, Loader as Za, Button as Xa, Card as qo, Checkbox as
|
|
2
|
+
import U, { forwardRef as m, useState as re, useEffect as xe, useId as Dt, useRef as Be, useCallback as po, useMemo as Ot } from "react";
|
|
3
|
+
import { Accordion as jo, Input as Et, Box as Ha, Autocomplete as ja, Avatar as qa, createPolymorphicComponent as Te, Badge as Ka, Breadcrumbs as Ya, Loader as Za, Button as Xa, Card as qo, Checkbox as Bt, Chip as Ja, Container as Qa, Select as Ft, Flex as er, Grid as Ut, Group as or, HoverCard as rt, Anchor as tr, Menu as Me, Modal as ye, NumberInput as nr, Pagination as Ge, Drawer as Ve, Popover as st, Radio as Gt, SegmentedControl as ar, Slider as rr, Stack as sr, Stepper as lt, Switch as Vt, CheckIcon as lr, CloseIcon as ir, Table as He, Tabs as Ko, Text as cr, Textarea as dr, TimelineItem as ur, Timeline as pr, Title as mr, Notification as _r, Tooltip as it, useTree as fr, getTreeExpandedState as yr, Tree as hr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as vr, TimePicker as Nr } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as br } from "@mantine/hooks";
|
|
6
6
|
const Cr = "_root_1qhn7_3", Pr = "_contents_1qhn7_18", bo = {
|
|
7
7
|
root: Cr,
|
|
8
8
|
contents: Pr
|
|
9
|
-
}, Ht =
|
|
9
|
+
}, Ht = m(function({ layer: r, contentsOnly: e, children: n, className: o, style: t, ...s }, l) {
|
|
10
10
|
const i = e ? o ? `${bo.root} ${bo.contents} ${o}` : `${bo.root} ${bo.contents}` : o ? `${bo.root} ${o}` : bo.root;
|
|
11
11
|
return /* @__PURE__ */ a(
|
|
12
12
|
"div",
|
|
@@ -56,12 +56,12 @@ function Tr(r) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return at.forEach((e) => e()), ao;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function du() {
|
|
60
60
|
return ho && ao;
|
|
61
61
|
}
|
|
62
62
|
function $r() {
|
|
63
|
-
const [r, e] =
|
|
64
|
-
return
|
|
63
|
+
const [r, e] = re(ao);
|
|
64
|
+
return xe(() => {
|
|
65
65
|
if (!ho) return;
|
|
66
66
|
jt(), qt();
|
|
67
67
|
const n = () => e(ao);
|
|
@@ -108,22 +108,22 @@ function qt() {
|
|
|
108
108
|
};
|
|
109
109
|
r(window), window.parent && window.parent !== window && r(window.parent);
|
|
110
110
|
}
|
|
111
|
-
const
|
|
112
|
-
function
|
|
111
|
+
const xt = "data-recursica-theme";
|
|
112
|
+
function uu({
|
|
113
113
|
children: r,
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
116
116
|
}) {
|
|
117
|
-
return
|
|
117
|
+
return xe(() => {
|
|
118
118
|
const o = document.documentElement;
|
|
119
|
-
return o.setAttribute(
|
|
120
|
-
o.removeAttribute(
|
|
119
|
+
return o.setAttribute(xt, e), () => {
|
|
120
|
+
o.removeAttribute(xt);
|
|
121
121
|
};
|
|
122
|
-
}, [e]),
|
|
122
|
+
}, [e]), xe(() => {
|
|
123
123
|
jt(), qt();
|
|
124
124
|
}, []), n ? /* @__PURE__ */ a(Ht, { layer: 0, children: r }) : /* @__PURE__ */ a(go, { children: r });
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const pu = [
|
|
127
127
|
"Accordion",
|
|
128
128
|
"AssistiveElement",
|
|
129
129
|
"Autocomplete",
|
|
@@ -178,7 +178,7 @@ const uu = [
|
|
|
178
178
|
"TransferList",
|
|
179
179
|
"Tree",
|
|
180
180
|
"Typography"
|
|
181
|
-
],
|
|
181
|
+
], mu = (r, e) => {
|
|
182
182
|
const n = document.activeElement;
|
|
183
183
|
return new Promise((o, t) => {
|
|
184
184
|
if (e && e.current) {
|
|
@@ -220,7 +220,7 @@ function E(r, e) {
|
|
|
220
220
|
o in n && delete n[o];
|
|
221
221
|
return n;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function pe(r, e) {
|
|
224
224
|
return e !== void 0 ? e : r;
|
|
225
225
|
}
|
|
226
226
|
function k(r) {
|
|
@@ -327,9 +327,9 @@ function u(r, e) {
|
|
|
327
327
|
typeof t == "string" && t.startsWith("rec-") && Yt.has(o) && t in Go && (n[o] = Go[t]);
|
|
328
328
|
return n;
|
|
329
329
|
}
|
|
330
|
-
const
|
|
331
|
-
root:
|
|
332
|
-
item:
|
|
330
|
+
const Or = "Accordion-module__root___Dem6d", xr = "Accordion-module__item___7ryVk", kr = "Accordion-module__noDivider___Ni2tT", Rr = "Accordion-module__control___b4wgX", Ir = "Accordion-module__label___Ss7uW", Lr = "Accordion-module__icon___xfHxX", Mr = "Accordion-module__chevron___i-HVZ", Ar = "Accordion-module__iconLeftWrapper___5oLen", zr = "Accordion-module__panel___Wx50w", Wr = "Accordion-module__content___PEM9t", Re = {
|
|
331
|
+
root: Or,
|
|
332
|
+
item: xr,
|
|
333
333
|
noDivider: kr,
|
|
334
334
|
control: Rr,
|
|
335
335
|
label: Ir,
|
|
@@ -369,7 +369,7 @@ const xr = "Accordion-module__root___Dem6d", Or = "Accordion-module__item___7ryV
|
|
|
369
369
|
);
|
|
370
370
|
};
|
|
371
371
|
Zt.displayName = "Accordion";
|
|
372
|
-
const ct =
|
|
372
|
+
const ct = m(function({
|
|
373
373
|
title: e,
|
|
374
374
|
leftIcon: n,
|
|
375
375
|
divider: o = !0,
|
|
@@ -378,7 +378,7 @@ const ct = p(function({
|
|
|
378
378
|
overStyled: l = !1,
|
|
379
379
|
...i
|
|
380
380
|
}, c) {
|
|
381
|
-
const d = u(i, l),
|
|
381
|
+
const d = u(i, l), p = d.className, _ = [o ? void 0 : Re.noDivider, p].filter(Boolean).join(" ") || void 0;
|
|
382
382
|
return /* @__PURE__ */ a(
|
|
383
383
|
jo.Item,
|
|
384
384
|
{
|
|
@@ -398,7 +398,7 @@ const Dr = [
|
|
|
398
398
|
"icon"
|
|
399
399
|
// Mantine's native icon slot is fully computed here from `leftIcon`; the `Omit<>` on
|
|
400
400
|
// AccordionControlWrapperProps only stops a well-typed caller, this is the runtime backstop.
|
|
401
|
-
], Yo =
|
|
401
|
+
], Yo = m(function({ leftIcon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
402
402
|
const l = E(
|
|
403
403
|
u(t, o),
|
|
404
404
|
Dr
|
|
@@ -415,7 +415,7 @@ const Dr = [
|
|
|
415
415
|
);
|
|
416
416
|
});
|
|
417
417
|
Yo.displayName = "AccordionControl";
|
|
418
|
-
const Zo =
|
|
418
|
+
const Zo = m(function({ overStyled: e = !1, ...n }, o) {
|
|
419
419
|
const t = u(n, e), s = t.className;
|
|
420
420
|
return /* @__PURE__ */ a(
|
|
421
421
|
jo.Panel,
|
|
@@ -431,10 +431,10 @@ const Xo = Zt;
|
|
|
431
431
|
Xo.Item = ct;
|
|
432
432
|
Xo.Control = Yo;
|
|
433
433
|
Xo.Panel = Zo;
|
|
434
|
-
const Er = "AssistiveElement-module__root___WhQ43",
|
|
434
|
+
const Er = "AssistiveElement-module__root___WhQ43", Br = "AssistiveElement-module__textWrapper___sfy5E", Fr = "AssistiveElement-module__iconWrapper___gObRF", tt = {
|
|
435
435
|
root: Er,
|
|
436
|
-
textWrapper:
|
|
437
|
-
iconWrapper:
|
|
436
|
+
textWrapper: Br,
|
|
437
|
+
iconWrapper: Fr
|
|
438
438
|
}, Ur = () => /* @__PURE__ */ z(
|
|
439
439
|
"svg",
|
|
440
440
|
{
|
|
@@ -467,7 +467,7 @@ const Er = "AssistiveElement-module__root___WhQ43", Fr = "AssistiveElement-modul
|
|
|
467
467
|
/* @__PURE__ */ a("path", { d: "M12 17h.01" })
|
|
468
468
|
]
|
|
469
469
|
}
|
|
470
|
-
), Vo =
|
|
470
|
+
), Vo = m(function({
|
|
471
471
|
assistiveVariant: e = "help",
|
|
472
472
|
assistiveWithIcon: n = !0,
|
|
473
473
|
children: o,
|
|
@@ -476,16 +476,16 @@ const Er = "AssistiveElement-module__root___WhQ43", Fr = "AssistiveElement-modul
|
|
|
476
476
|
overStyled: l = !1,
|
|
477
477
|
...i
|
|
478
478
|
}, c) {
|
|
479
|
-
const
|
|
479
|
+
const p = u(i, l), _ = tt.root, $ = t ? `${_} ${t}` : _, y = e === "error" ? Gr : Ur;
|
|
480
480
|
return /* @__PURE__ */ z(
|
|
481
481
|
"div",
|
|
482
482
|
{
|
|
483
483
|
ref: c,
|
|
484
|
-
...
|
|
484
|
+
...p,
|
|
485
485
|
className: $,
|
|
486
486
|
"data-variant": e,
|
|
487
487
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
488
|
-
style:
|
|
488
|
+
style: p.style,
|
|
489
489
|
children: [
|
|
490
490
|
n && /* @__PURE__ */ a("span", { className: tt.iconWrapper, children: /* @__PURE__ */ a(y, {}) }),
|
|
491
491
|
/* @__PURE__ */ a("span", { className: tt.textWrapper, children: o })
|
|
@@ -501,7 +501,7 @@ const Vr = "Label-module__root___e6HXZ", Hr = "Label-module__labelText___rieFR",
|
|
|
501
501
|
optionalText: qr,
|
|
502
502
|
actionAreaWrapper: Kr,
|
|
503
503
|
editIconWrapper: Yr
|
|
504
|
-
}, dt =
|
|
504
|
+
}, dt = m(function({
|
|
505
505
|
labelSize: e = "default",
|
|
506
506
|
labelAlignment: n,
|
|
507
507
|
required: o = !1,
|
|
@@ -511,7 +511,7 @@ const Vr = "Label-module__root___e6HXZ", Hr = "Label-module__labelText___rieFR",
|
|
|
511
511
|
onLabelEditClick: i,
|
|
512
512
|
children: c,
|
|
513
513
|
overStyled: d = !1,
|
|
514
|
-
...
|
|
514
|
+
...p
|
|
515
515
|
}, _) {
|
|
516
516
|
const $ = n || "left";
|
|
517
517
|
let y;
|
|
@@ -520,15 +520,15 @@ const Vr = "Label-module__root___e6HXZ", Hr = "Label-module__labelText___rieFR",
|
|
|
520
520
|
"size"
|
|
521
521
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
522
522
|
], h = E(
|
|
523
|
-
u(
|
|
523
|
+
u(p, d),
|
|
524
524
|
v
|
|
525
|
-
),
|
|
525
|
+
), O = h, N = W(
|
|
526
526
|
{
|
|
527
527
|
label: Je.root,
|
|
528
528
|
required: Je.required
|
|
529
529
|
},
|
|
530
|
-
|
|
531
|
-
), w =
|
|
530
|
+
O.classNames
|
|
531
|
+
), w = O.className, T = w ? `${Je.root} ${w}` : Je.root;
|
|
532
532
|
return /* @__PURE__ */ z(
|
|
533
533
|
Et.Label,
|
|
534
534
|
{
|
|
@@ -580,7 +580,7 @@ const Zr = "FormControlLayout-module__root___yNDhZ", Xr = "FormControlLayout-mod
|
|
|
580
580
|
root: Zr,
|
|
581
581
|
leftSection: Xr,
|
|
582
582
|
rightSection: Jr
|
|
583
|
-
},
|
|
583
|
+
}, Fe = m(function({
|
|
584
584
|
formLayout: e = "stacked",
|
|
585
585
|
labelSize: n = "default",
|
|
586
586
|
controlMaxWidth: o,
|
|
@@ -590,12 +590,12 @@ const Zr = "FormControlLayout-module__root___yNDhZ", Xr = "FormControlLayout-mod
|
|
|
590
590
|
className: i,
|
|
591
591
|
style: c,
|
|
592
592
|
...d
|
|
593
|
-
},
|
|
593
|
+
}, p) {
|
|
594
594
|
const _ = i ? `${Wo.root} ${i}` : Wo.root, y = s != null || e === "side-by-side";
|
|
595
595
|
return /* @__PURE__ */ z(
|
|
596
596
|
"div",
|
|
597
597
|
{
|
|
598
|
-
ref:
|
|
598
|
+
ref: p,
|
|
599
599
|
className: _,
|
|
600
600
|
"data-form-layout": e,
|
|
601
601
|
style: {
|
|
@@ -611,11 +611,11 @@ const Zr = "FormControlLayout-module__root___yNDhZ", Xr = "FormControlLayout-mod
|
|
|
611
611
|
}
|
|
612
612
|
);
|
|
613
613
|
});
|
|
614
|
-
|
|
614
|
+
Fe.displayName = "FormControlLayout";
|
|
615
615
|
const Qr = "FormControlWrapper-module__root___c-UHo", es = "FormControlWrapper-module__inputSection___HenXk", Rt = {
|
|
616
616
|
root: Qr,
|
|
617
617
|
inputSection: es
|
|
618
|
-
}, Po =
|
|
618
|
+
}, Po = m(function({
|
|
619
619
|
formLayout: e,
|
|
620
620
|
labelSize: n,
|
|
621
621
|
labelAlignment: o,
|
|
@@ -625,13 +625,13 @@ const Qr = "FormControlWrapper-module__root___c-UHo", es = "FormControlWrapper-m
|
|
|
625
625
|
onLabelEditClick: i,
|
|
626
626
|
label: c,
|
|
627
627
|
description: d,
|
|
628
|
-
assistiveText:
|
|
628
|
+
assistiveText: p,
|
|
629
629
|
assistiveWithIcon: _ = !0,
|
|
630
630
|
controlMaxWidth: $,
|
|
631
631
|
controlMinWidth: y,
|
|
632
632
|
error: v,
|
|
633
633
|
required: h,
|
|
634
|
-
withAsterisk:
|
|
634
|
+
withAsterisk: O,
|
|
635
635
|
id: N,
|
|
636
636
|
children: w,
|
|
637
637
|
className: T,
|
|
@@ -640,43 +640,43 @@ const Qr = "FormControlWrapper-module__root___c-UHo", es = "FormControlWrapper-m
|
|
|
640
640
|
// Extracted safely preventing bleeding into HTML domains
|
|
641
641
|
...f
|
|
642
642
|
}, b) {
|
|
643
|
-
const C = Dt(),
|
|
643
|
+
const C = Dt(), x = N || `recursica-fc-${C}`, R = p || d, D = R ? `${x}-assistive` : void 0, A = v ? `${x}-error` : void 0, F = u(f, g), G = T || F.className, Z = Rt.root, Y = G ? `${Z} ${G}` : Z, j = U.isValidElement(w) ? U.cloneElement(
|
|
644
644
|
w,
|
|
645
645
|
{
|
|
646
646
|
...R && !w.props["aria-describedby"] ? { "aria-describedby": D } : {},
|
|
647
|
-
...v && !w.props["aria-errormessage"] ? { "aria-errormessage":
|
|
647
|
+
...v && !w.props["aria-errormessage"] ? { "aria-errormessage": A } : {}
|
|
648
648
|
}
|
|
649
|
-
) : w,
|
|
649
|
+
) : w, Q = c ? /* @__PURE__ */ a(
|
|
650
650
|
dt,
|
|
651
651
|
{
|
|
652
|
-
id:
|
|
652
|
+
id: x,
|
|
653
653
|
labelAlignment: o,
|
|
654
654
|
labelOptionalText: t,
|
|
655
655
|
labelWithEditIcon: s,
|
|
656
656
|
labelActionArea: l,
|
|
657
657
|
onLabelEditClick: i,
|
|
658
|
-
required:
|
|
658
|
+
required: O ?? h,
|
|
659
659
|
...P === "div" ? { as: "div" } : {},
|
|
660
660
|
children: c
|
|
661
661
|
}
|
|
662
662
|
) : void 0;
|
|
663
663
|
return /* @__PURE__ */ a(
|
|
664
|
-
|
|
664
|
+
Fe,
|
|
665
665
|
{
|
|
666
666
|
ref: b,
|
|
667
|
-
className:
|
|
667
|
+
className: Y,
|
|
668
668
|
formLayout: e,
|
|
669
669
|
labelSize: n,
|
|
670
670
|
controlMaxWidth: $,
|
|
671
671
|
controlMinWidth: y,
|
|
672
|
-
leftSection:
|
|
673
|
-
...
|
|
672
|
+
leftSection: Q,
|
|
673
|
+
...F,
|
|
674
674
|
children: /* @__PURE__ */ z("div", { className: Rt.inputSection, children: [
|
|
675
|
-
|
|
675
|
+
j,
|
|
676
676
|
v && /* @__PURE__ */ a(
|
|
677
677
|
Vo,
|
|
678
678
|
{
|
|
679
|
-
id:
|
|
679
|
+
id: A,
|
|
680
680
|
assistiveVariant: "error",
|
|
681
681
|
assistiveWithIcon: _,
|
|
682
682
|
children: v
|
|
@@ -699,7 +699,7 @@ Po.displayName = "FormControlWrapper";
|
|
|
699
699
|
const os = "ReadOnlyField-module__layoutOverride___9fSsG", ts = "ReadOnlyField-module__textField___qKn25", Ho = {
|
|
700
700
|
layoutOverride: os,
|
|
701
701
|
textField: ts
|
|
702
|
-
},
|
|
702
|
+
}, Fo = ({
|
|
703
703
|
value: r,
|
|
704
704
|
overStyled: e = !1,
|
|
705
705
|
...n
|
|
@@ -715,8 +715,8 @@ const os = "ReadOnlyField-module__layoutOverride___9fSsG", ts = "ReadOnlyField-m
|
|
|
715
715
|
}
|
|
716
716
|
);
|
|
717
717
|
};
|
|
718
|
-
|
|
719
|
-
const ut =
|
|
718
|
+
Fo.displayName = "ReadOnlyTextField";
|
|
719
|
+
const ut = m(
|
|
720
720
|
function({
|
|
721
721
|
value: e,
|
|
722
722
|
type: n = "text",
|
|
@@ -727,11 +727,11 @@ const ut = p(
|
|
|
727
727
|
...i
|
|
728
728
|
}, c) {
|
|
729
729
|
let d = null;
|
|
730
|
-
const
|
|
730
|
+
const p = u(i, t), _ = o || Uo, y = (_.check ? _.check(e) : Uo.check(e)) ? /* @__PURE__ */ a(_, { value: e }) : e;
|
|
731
731
|
switch (n) {
|
|
732
732
|
case "boolean":
|
|
733
733
|
d = /* @__PURE__ */ a(
|
|
734
|
-
|
|
734
|
+
Fo,
|
|
735
735
|
{
|
|
736
736
|
value: e === !0 ? "True" : e === !1 ? "False" : y,
|
|
737
737
|
overStyled: t
|
|
@@ -740,7 +740,7 @@ const ut = p(
|
|
|
740
740
|
break;
|
|
741
741
|
case "switch":
|
|
742
742
|
d = /* @__PURE__ */ a(
|
|
743
|
-
|
|
743
|
+
Fo,
|
|
744
744
|
{
|
|
745
745
|
value: e === !0 ? "On" : e === !1 ? "Off" : y,
|
|
746
746
|
overStyled: t
|
|
@@ -750,7 +750,7 @@ const ut = p(
|
|
|
750
750
|
case "text":
|
|
751
751
|
default:
|
|
752
752
|
d = /* @__PURE__ */ a(
|
|
753
|
-
|
|
753
|
+
Fo,
|
|
754
754
|
{
|
|
755
755
|
value: y,
|
|
756
756
|
overStyled: t
|
|
@@ -763,7 +763,7 @@ const ut = p(
|
|
|
763
763
|
Po,
|
|
764
764
|
{
|
|
765
765
|
ref: c,
|
|
766
|
-
...
|
|
766
|
+
...p,
|
|
767
767
|
overStyled: t,
|
|
768
768
|
className: v,
|
|
769
769
|
style: l,
|
|
@@ -773,7 +773,7 @@ const ut = p(
|
|
|
773
773
|
}
|
|
774
774
|
);
|
|
775
775
|
ut.displayName = "ReadOnlyField";
|
|
776
|
-
const he =
|
|
776
|
+
const he = m(function({
|
|
777
777
|
readOnly: e,
|
|
778
778
|
readOnlyComponent: n,
|
|
779
779
|
readOnlyType: o = "text",
|
|
@@ -783,13 +783,13 @@ const he = p(function({
|
|
|
783
783
|
activeComponent: i,
|
|
784
784
|
overStyled: c,
|
|
785
785
|
onLabelEditClick: d,
|
|
786
|
-
...
|
|
786
|
+
...p
|
|
787
787
|
}, _) {
|
|
788
788
|
return e ? n ? /* @__PURE__ */ a(
|
|
789
789
|
Po,
|
|
790
790
|
{
|
|
791
791
|
ref: _,
|
|
792
|
-
...
|
|
792
|
+
...p,
|
|
793
793
|
onLabelEditClick: d,
|
|
794
794
|
overStyled: c,
|
|
795
795
|
children: /* @__PURE__ */ a(n, { ...s })
|
|
@@ -798,7 +798,7 @@ const he = p(function({
|
|
|
798
798
|
ut,
|
|
799
799
|
{
|
|
800
800
|
ref: _,
|
|
801
|
-
...
|
|
801
|
+
...p,
|
|
802
802
|
type: o,
|
|
803
803
|
value: t,
|
|
804
804
|
emptyValueComponent: l,
|
|
@@ -809,7 +809,7 @@ const he = p(function({
|
|
|
809
809
|
Po,
|
|
810
810
|
{
|
|
811
811
|
ref: _,
|
|
812
|
-
...
|
|
812
|
+
...p,
|
|
813
813
|
onLabelEditClick: d,
|
|
814
814
|
overStyled: c,
|
|
815
815
|
children: i
|
|
@@ -831,7 +831,7 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
831
831
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
832
832
|
"radius"
|
|
833
833
|
// Recursica does not expose the library's native corner-radius system.
|
|
834
|
-
], Xt =
|
|
834
|
+
], Xt = m(
|
|
835
835
|
function(e, n) {
|
|
836
836
|
const {
|
|
837
837
|
overStyled: o = !1,
|
|
@@ -842,13 +842,13 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
842
842
|
labelOptionalText: i,
|
|
843
843
|
labelWithEditIcon: c,
|
|
844
844
|
onLabelEditClick: d,
|
|
845
|
-
label:
|
|
845
|
+
label: p,
|
|
846
846
|
assistiveText: _,
|
|
847
847
|
assistiveWithIcon: $,
|
|
848
848
|
error: y,
|
|
849
849
|
required: v,
|
|
850
850
|
withAsterisk: h,
|
|
851
|
-
id:
|
|
851
|
+
id: O,
|
|
852
852
|
className: N,
|
|
853
853
|
style: w,
|
|
854
854
|
disabled: T,
|
|
@@ -857,11 +857,11 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
857
857
|
emptyValueComponent: f,
|
|
858
858
|
value: b,
|
|
859
859
|
defaultValue: C,
|
|
860
|
-
...
|
|
860
|
+
...x
|
|
861
861
|
} = e, R = E(
|
|
862
|
-
u(
|
|
862
|
+
u(x, o),
|
|
863
863
|
cs
|
|
864
|
-
), D = R,
|
|
864
|
+
), D = R, A = W(
|
|
865
865
|
{
|
|
866
866
|
wrapper: mo.root,
|
|
867
867
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -871,11 +871,11 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
871
871
|
option: mo.option
|
|
872
872
|
},
|
|
873
873
|
D.classNames
|
|
874
|
-
),
|
|
874
|
+
), L = N ? `${mo.layoutOverride} ${N}` : mo.layoutOverride;
|
|
875
875
|
return /* @__PURE__ */ a(
|
|
876
876
|
he,
|
|
877
877
|
{
|
|
878
|
-
className:
|
|
878
|
+
className: L,
|
|
879
879
|
style: w,
|
|
880
880
|
controlMaxWidth: "var(--autocomplete-control-max-width)",
|
|
881
881
|
controlMinWidth: "var(--autocomplete-control-min-width)",
|
|
@@ -886,13 +886,13 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
886
886
|
labelOptionalText: i,
|
|
887
887
|
labelWithEditIcon: c,
|
|
888
888
|
onLabelEditClick: d,
|
|
889
|
-
label:
|
|
889
|
+
label: p,
|
|
890
890
|
assistiveText: _,
|
|
891
891
|
assistiveWithIcon: $,
|
|
892
892
|
error: y,
|
|
893
893
|
required: v,
|
|
894
894
|
withAsterisk: h,
|
|
895
|
-
id:
|
|
895
|
+
id: O,
|
|
896
896
|
readOnly: g,
|
|
897
897
|
readOnlyComponent: P,
|
|
898
898
|
emptyValueComponent: f,
|
|
@@ -906,7 +906,7 @@ const ns = "AutoComplete-module__layoutOverride___-K9WL", as = "AutoComplete-mod
|
|
|
906
906
|
{
|
|
907
907
|
ref: n,
|
|
908
908
|
...R,
|
|
909
|
-
classNames:
|
|
909
|
+
classNames: A,
|
|
910
910
|
disabled: T,
|
|
911
911
|
value: b,
|
|
912
912
|
defaultValue: C,
|
|
@@ -925,7 +925,7 @@ const ds = "Avatar-module__root___fXu-J", us = "Avatar-module__iconWrapper___ojl
|
|
|
925
925
|
textWrapper: ps,
|
|
926
926
|
image: ms,
|
|
927
927
|
placeholder: _s
|
|
928
|
-
}, Jt =
|
|
928
|
+
}, Jt = m(function({
|
|
929
929
|
size: e = "default",
|
|
930
930
|
variant: n = "solid",
|
|
931
931
|
icon: o,
|
|
@@ -938,7 +938,7 @@ const ds = "Avatar-module__root___fXu-J", us = "Avatar-module__iconWrapper___ojl
|
|
|
938
938
|
solid: "filled",
|
|
939
939
|
outline: "outline",
|
|
940
940
|
ghost: "transparent"
|
|
941
|
-
},
|
|
941
|
+
}, p = {
|
|
942
942
|
default: "md",
|
|
943
943
|
small: "sm",
|
|
944
944
|
large: "lg"
|
|
@@ -960,16 +960,16 @@ const ds = "Avatar-module__root___fXu-J", us = "Avatar-module__iconWrapper___ojl
|
|
|
960
960
|
placeholder: To.placeholder
|
|
961
961
|
},
|
|
962
962
|
y.classNames
|
|
963
|
-
),
|
|
963
|
+
), O = y.className;
|
|
964
964
|
return /* @__PURE__ */ a(
|
|
965
965
|
qa,
|
|
966
966
|
{
|
|
967
967
|
ref: c,
|
|
968
968
|
...$,
|
|
969
|
-
className:
|
|
969
|
+
className: O,
|
|
970
970
|
classNames: h,
|
|
971
971
|
variant: d[n],
|
|
972
|
-
size:
|
|
972
|
+
size: p[e],
|
|
973
973
|
src: s,
|
|
974
974
|
"data-variant": n,
|
|
975
975
|
"data-size": e,
|
|
@@ -981,7 +981,7 @@ const ds = "Avatar-module__root___fXu-J", us = "Avatar-module__iconWrapper___ojl
|
|
|
981
981
|
Jt.displayName = "Avatar";
|
|
982
982
|
const fs = Te(Jt), ys = "Badge-module__root___5osNT", $o = {
|
|
983
983
|
root: ys
|
|
984
|
-
}, Qt =
|
|
984
|
+
}, Qt = m(function({ variant: e = "primary-color", overStyled: n = !1, ...o }, t) {
|
|
985
985
|
const s = u(o, n), l = W(
|
|
986
986
|
{
|
|
987
987
|
root: $o.root,
|
|
@@ -1006,7 +1006,7 @@ Qt.displayName = "Badge";
|
|
|
1006
1006
|
const en = Te(Qt), hs = "Breadcrumb-module__root___x-9ln", vs = "Breadcrumb-module__separator___qrUX-", Do = {
|
|
1007
1007
|
root: hs,
|
|
1008
1008
|
separator: vs
|
|
1009
|
-
}, on =
|
|
1009
|
+
}, on = m(
|
|
1010
1010
|
function({ overStyled: e = !1, separator: n = ">", ...o }, t) {
|
|
1011
1011
|
const s = u(
|
|
1012
1012
|
{ separator: n, ...o },
|
|
@@ -1017,14 +1017,21 @@ const en = Te(Qt), hs = "Breadcrumb-module__root___x-9ln", vs = "Breadcrumb-modu
|
|
|
1017
1017
|
separator: Do.separator
|
|
1018
1018
|
},
|
|
1019
1019
|
s.classNames
|
|
1020
|
-
), i = s.
|
|
1020
|
+
), i = s.attributes, c = {
|
|
1021
|
+
...i,
|
|
1022
|
+
separator: {
|
|
1023
|
+
"aria-hidden": !0,
|
|
1024
|
+
...i == null ? void 0 : i.separator
|
|
1025
|
+
}
|
|
1026
|
+
}, d = s.className, p = d ? `${Do.root} ${d}` : Do.root;
|
|
1021
1027
|
return /* @__PURE__ */ a(
|
|
1022
1028
|
Ya,
|
|
1023
1029
|
{
|
|
1024
1030
|
ref: t,
|
|
1025
1031
|
...s,
|
|
1026
|
-
className:
|
|
1027
|
-
classNames: l
|
|
1032
|
+
className: p,
|
|
1033
|
+
classNames: l,
|
|
1034
|
+
attributes: c
|
|
1028
1035
|
}
|
|
1029
1036
|
);
|
|
1030
1037
|
}
|
|
@@ -1032,7 +1039,7 @@ const en = Te(Qt), hs = "Breadcrumb-module__root___x-9ln", vs = "Breadcrumb-modu
|
|
|
1032
1039
|
on.displayName = "Breadcrumb";
|
|
1033
1040
|
const Ns = "Loader-module__root___6iYOP", nt = {
|
|
1034
1041
|
root: Ns
|
|
1035
|
-
}, pt =
|
|
1042
|
+
}, pt = m(function({ variant: e = "oval", size: n = "default", overStyled: o = !1, ...t }, s) {
|
|
1036
1043
|
const i = {
|
|
1037
1044
|
sm: "small",
|
|
1038
1045
|
md: "default",
|
|
@@ -1040,7 +1047,7 @@ const Ns = "Loader-module__root___6iYOP", nt = {
|
|
|
1040
1047
|
small: "small",
|
|
1041
1048
|
default: "default",
|
|
1042
1049
|
large: "large"
|
|
1043
|
-
}[n] || "default", c = u(t, o), d = c,
|
|
1050
|
+
}[n] || "default", c = u(t, o), d = c, p = W(
|
|
1044
1051
|
{ root: nt.root },
|
|
1045
1052
|
d.classNames
|
|
1046
1053
|
), _ = d.className, $ = _ ? `${nt.root} ${_}` : nt.root;
|
|
@@ -1053,7 +1060,7 @@ const Ns = "Loader-module__root___6iYOP", nt = {
|
|
|
1053
1060
|
"data-variant": e,
|
|
1054
1061
|
"data-size": i,
|
|
1055
1062
|
className: $,
|
|
1056
|
-
classNames:
|
|
1063
|
+
classNames: p
|
|
1057
1064
|
}
|
|
1058
1065
|
);
|
|
1059
1066
|
});
|
|
@@ -1069,7 +1076,7 @@ const bs = "Button-module__root___Q2R8-", Cs = "Button-module__loader___X-9u-",
|
|
|
1069
1076
|
function ws(r) {
|
|
1070
1077
|
return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
|
|
1071
1078
|
}
|
|
1072
|
-
const tn =
|
|
1079
|
+
const tn = m(function({
|
|
1073
1080
|
variant: e = "solid",
|
|
1074
1081
|
size: n = "default",
|
|
1075
1082
|
icon: o,
|
|
@@ -1079,7 +1086,7 @@ const tn = p(function({
|
|
|
1079
1086
|
loaderSize: i,
|
|
1080
1087
|
useRecursicaLoader: c = !0,
|
|
1081
1088
|
...d
|
|
1082
|
-
},
|
|
1089
|
+
}, p) {
|
|
1083
1090
|
const _ = {
|
|
1084
1091
|
solid: "filled",
|
|
1085
1092
|
outline: "outline",
|
|
@@ -1093,9 +1100,9 @@ const tn = p(function({
|
|
|
1093
1100
|
], v = E(
|
|
1094
1101
|
u(d, s),
|
|
1095
1102
|
y
|
|
1096
|
-
), h = v,
|
|
1103
|
+
), h = v, O = !!o || !!h.leftSection, N = !!h.rightSection, w = ws(t), T = (O || N) && !w;
|
|
1097
1104
|
let g = "label";
|
|
1098
|
-
T ? g = "icon-only" : (
|
|
1105
|
+
T ? g = "icon-only" : (O || N) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && T && !h["aria-label"] && console.warn(
|
|
1099
1106
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1100
1107
|
);
|
|
1101
1108
|
const P = W(
|
|
@@ -1106,18 +1113,18 @@ const tn = p(function({
|
|
|
1106
1113
|
loader: Qe.loader
|
|
1107
1114
|
},
|
|
1108
1115
|
h.classNames
|
|
1109
|
-
), f = h.className, b = f ? `${Qe.root} ${f}` : Qe.root, C = h.loaderProps,
|
|
1116
|
+
), f = h.className, b = f ? `${Qe.root} ${f}` : Qe.root, C = h.loaderProps, x = pe(
|
|
1110
1117
|
n === "small" ? "small" : "default",
|
|
1111
1118
|
i
|
|
1112
1119
|
);
|
|
1113
1120
|
let R = C;
|
|
1114
1121
|
return c && (R = {
|
|
1115
|
-
children: /* @__PURE__ */ a(pt, { variant: l, size:
|
|
1122
|
+
children: /* @__PURE__ */ a(pt, { variant: l, size: x }),
|
|
1116
1123
|
...C
|
|
1117
1124
|
}), /* @__PURE__ */ a(
|
|
1118
1125
|
Xa,
|
|
1119
1126
|
{
|
|
1120
|
-
ref:
|
|
1127
|
+
ref: p,
|
|
1121
1128
|
...v,
|
|
1122
1129
|
className: b,
|
|
1123
1130
|
classNames: P,
|
|
@@ -1136,10 +1143,10 @@ const tn = p(function({
|
|
|
1136
1143
|
tn.displayName = "Button";
|
|
1137
1144
|
const ro = Te(
|
|
1138
1145
|
tn
|
|
1139
|
-
), Ss = "Card-module__root___c9KvZ",
|
|
1146
|
+
), Ss = "Card-module__root___c9KvZ", Os = "Card-module__header___PTXf2", xs = "Card-module__footer___Mu-JC", ks = "Card-module__section___BRT8H", Rs = "Card-module__content___oFIQa", Ue = {
|
|
1140
1147
|
root: Ss,
|
|
1141
|
-
header:
|
|
1142
|
-
footer:
|
|
1148
|
+
header: Os,
|
|
1149
|
+
footer: xs,
|
|
1143
1150
|
section: ks,
|
|
1144
1151
|
content: Rs
|
|
1145
1152
|
}, Is = [
|
|
@@ -1149,7 +1156,7 @@ const ro = Te(
|
|
|
1149
1156
|
// Border is always applied via tokens on `.root`; not an optional caller toggle.
|
|
1150
1157
|
"padding"
|
|
1151
1158
|
// Padding is token-driven (`--card-padding`), not Mantine's spacing-scale prop.
|
|
1152
|
-
], nn =
|
|
1159
|
+
], nn = m(function({ overStyled: e = !1, ...n }, o) {
|
|
1153
1160
|
const t = E(
|
|
1154
1161
|
u(n, e),
|
|
1155
1162
|
Is
|
|
@@ -1182,7 +1189,7 @@ const ro = Te(
|
|
|
1182
1189
|
);
|
|
1183
1190
|
});
|
|
1184
1191
|
nn.displayName = "Card";
|
|
1185
|
-
const an =
|
|
1192
|
+
const an = m(
|
|
1186
1193
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1187
1194
|
const t = u(n, e), s = t.className;
|
|
1188
1195
|
return /* @__PURE__ */ a(
|
|
@@ -1201,7 +1208,7 @@ const rn = [
|
|
|
1201
1208
|
// The divider border is always applied via tokens on `.header`/`.footer`.
|
|
1202
1209
|
"inheritPadding"
|
|
1203
1210
|
// Padding is fixed by the `.header`/`.footer` token-driven padding, not Mantine's default.
|
|
1204
|
-
], sn =
|
|
1211
|
+
], sn = m(
|
|
1205
1212
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1206
1213
|
const t = E(
|
|
1207
1214
|
u(n, e),
|
|
@@ -1218,7 +1225,7 @@ const rn = [
|
|
|
1218
1225
|
}
|
|
1219
1226
|
);
|
|
1220
1227
|
sn.displayName = "CardHeader";
|
|
1221
|
-
const ln =
|
|
1228
|
+
const ln = m(
|
|
1222
1229
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1223
1230
|
const t = E(
|
|
1224
1231
|
u(n, e),
|
|
@@ -1235,7 +1242,7 @@ const ln = p(
|
|
|
1235
1242
|
}
|
|
1236
1243
|
);
|
|
1237
1244
|
ln.displayName = "CardFooter";
|
|
1238
|
-
const cn =
|
|
1245
|
+
const cn = m(
|
|
1239
1246
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1240
1247
|
const t = u(n, e), s = t.className;
|
|
1241
1248
|
return /* @__PURE__ */ a(
|
|
@@ -1254,16 +1261,16 @@ Jo.Section = an;
|
|
|
1254
1261
|
Jo.Header = sn;
|
|
1255
1262
|
Jo.Footer = ln;
|
|
1256
1263
|
Jo.Content = cn;
|
|
1257
|
-
const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module__root___mY3qk", zs = "Checkbox-module__body___5yC7q", Ws = "Checkbox-module__inner___rTke4", Ds = "Checkbox-module__input___2kt-h", Es = "Checkbox-module__icon___-O7i6",
|
|
1264
|
+
const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module__root___mY3qk", zs = "Checkbox-module__body___5yC7q", Ws = "Checkbox-module__inner___rTke4", Ds = "Checkbox-module__input___2kt-h", Es = "Checkbox-module__icon___-O7i6", Bs = "Checkbox-module__labelWrapper___GpZkr", Fs = "Checkbox-module__label___cwRtI", Oe = {
|
|
1258
1265
|
groupRoot: Ms,
|
|
1259
1266
|
root: As,
|
|
1260
1267
|
body: zs,
|
|
1261
1268
|
inner: Ws,
|
|
1262
1269
|
input: Ds,
|
|
1263
1270
|
icon: Es,
|
|
1264
|
-
labelWrapper:
|
|
1265
|
-
label:
|
|
1266
|
-
}, Io =
|
|
1271
|
+
labelWrapper: Bs,
|
|
1272
|
+
label: Fs
|
|
1273
|
+
}, Io = m(
|
|
1267
1274
|
function(e, n) {
|
|
1268
1275
|
const {
|
|
1269
1276
|
overStyled: o = !1,
|
|
@@ -1275,13 +1282,13 @@ const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module_
|
|
|
1275
1282
|
labelWithEditIcon: c,
|
|
1276
1283
|
onLabelEditClick: d,
|
|
1277
1284
|
// Base Mantine Extracted Attributes
|
|
1278
|
-
label:
|
|
1285
|
+
label: p,
|
|
1279
1286
|
description: _,
|
|
1280
1287
|
assistiveText: $,
|
|
1281
1288
|
assistiveWithIcon: y,
|
|
1282
1289
|
error: v,
|
|
1283
1290
|
required: h,
|
|
1284
|
-
withAsterisk:
|
|
1291
|
+
withAsterisk: O,
|
|
1285
1292
|
id: N,
|
|
1286
1293
|
className: w,
|
|
1287
1294
|
style: T,
|
|
@@ -1290,15 +1297,15 @@ const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module_
|
|
|
1290
1297
|
readOnlyComponent: f,
|
|
1291
1298
|
emptyValueComponent: b,
|
|
1292
1299
|
value: C,
|
|
1293
|
-
defaultValue:
|
|
1300
|
+
defaultValue: x,
|
|
1294
1301
|
...R
|
|
1295
1302
|
} = e, D = [
|
|
1296
1303
|
"size"
|
|
1297
1304
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1298
|
-
],
|
|
1305
|
+
], A = E(
|
|
1299
1306
|
u(R, o),
|
|
1300
1307
|
D
|
|
1301
|
-
),
|
|
1308
|
+
), L = A;
|
|
1302
1309
|
return /* @__PURE__ */ a(
|
|
1303
1310
|
he,
|
|
1304
1311
|
{
|
|
@@ -1314,37 +1321,37 @@ const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module_
|
|
|
1314
1321
|
labelOptionalText: i,
|
|
1315
1322
|
labelWithEditIcon: c,
|
|
1316
1323
|
onLabelEditClick: d,
|
|
1317
|
-
label:
|
|
1324
|
+
label: p,
|
|
1318
1325
|
description: _,
|
|
1319
1326
|
assistiveText: $,
|
|
1320
1327
|
assistiveWithIcon: y,
|
|
1321
1328
|
error: v,
|
|
1322
1329
|
required: h,
|
|
1323
|
-
withAsterisk:
|
|
1330
|
+
withAsterisk: O,
|
|
1324
1331
|
id: N,
|
|
1325
1332
|
readOnly: P && !!f,
|
|
1326
1333
|
readOnlyComponent: f,
|
|
1327
1334
|
emptyValueComponent: b,
|
|
1328
1335
|
readOnlyType: "text",
|
|
1329
|
-
readOnlyValue: C !== void 0 ? C :
|
|
1336
|
+
readOnlyValue: C !== void 0 ? C : x,
|
|
1330
1337
|
readOnlyNativeProps: e,
|
|
1331
|
-
activeComponent: C !== void 0 ||
|
|
1332
|
-
|
|
1338
|
+
activeComponent: C !== void 0 || x !== void 0 ? /* @__PURE__ */ a(
|
|
1339
|
+
Bt.Group,
|
|
1333
1340
|
{
|
|
1334
1341
|
ref: n,
|
|
1335
|
-
...
|
|
1336
|
-
disabled: P ||
|
|
1342
|
+
...A,
|
|
1343
|
+
disabled: P || L.disabled,
|
|
1337
1344
|
value: C,
|
|
1338
|
-
defaultValue:
|
|
1339
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1345
|
+
defaultValue: x,
|
|
1346
|
+
children: /* @__PURE__ */ a("div", { className: Oe.groupRoot, "data-layout": t, children: g })
|
|
1340
1347
|
}
|
|
1341
1348
|
) : /* @__PURE__ */ a(
|
|
1342
1349
|
"div",
|
|
1343
1350
|
{
|
|
1344
1351
|
ref: n,
|
|
1345
|
-
...
|
|
1352
|
+
...A,
|
|
1346
1353
|
role: "group",
|
|
1347
|
-
className:
|
|
1354
|
+
className: Oe.groupRoot,
|
|
1348
1355
|
"data-layout": t,
|
|
1349
1356
|
children: g
|
|
1350
1357
|
}
|
|
@@ -1354,7 +1361,7 @@ const Ls = dn, Ms = "Checkbox-module__groupRoot___cBS0o", As = "Checkbox-module_
|
|
|
1354
1361
|
}
|
|
1355
1362
|
);
|
|
1356
1363
|
Io.displayName = "CheckboxGroup";
|
|
1357
|
-
const Lo =
|
|
1364
|
+
const Lo = m(
|
|
1358
1365
|
function(e, n) {
|
|
1359
1366
|
const {
|
|
1360
1367
|
overStyled: o = !1,
|
|
@@ -1364,7 +1371,7 @@ const Lo = p(
|
|
|
1364
1371
|
formLayout: i,
|
|
1365
1372
|
labelSize: c,
|
|
1366
1373
|
controlMaxWidth: d,
|
|
1367
|
-
controlMinWidth:
|
|
1374
|
+
controlMinWidth: p,
|
|
1368
1375
|
..._
|
|
1369
1376
|
} = e, $ = [
|
|
1370
1377
|
"size",
|
|
@@ -1382,16 +1389,16 @@ const Lo = p(
|
|
|
1382
1389
|
$
|
|
1383
1390
|
), v = y, h = W(
|
|
1384
1391
|
{
|
|
1385
|
-
root:
|
|
1386
|
-
body:
|
|
1387
|
-
inner:
|
|
1388
|
-
input:
|
|
1389
|
-
icon:
|
|
1390
|
-
labelWrapper:
|
|
1391
|
-
label:
|
|
1392
|
+
root: Oe.root,
|
|
1393
|
+
body: Oe.body,
|
|
1394
|
+
inner: Oe.inner,
|
|
1395
|
+
input: Oe.input,
|
|
1396
|
+
icon: Oe.icon,
|
|
1397
|
+
labelWrapper: Oe.labelWrapper,
|
|
1398
|
+
label: Oe.label
|
|
1392
1399
|
},
|
|
1393
1400
|
v.classNames
|
|
1394
|
-
),
|
|
1401
|
+
), O = v.className, N = O ? `${Oe.root} ${O}` : Oe.root;
|
|
1395
1402
|
if (t && s) {
|
|
1396
1403
|
const T = !!(v.checked ?? v.defaultChecked), P = /* @__PURE__ */ a(
|
|
1397
1404
|
s,
|
|
@@ -1402,18 +1409,18 @@ const Lo = p(
|
|
|
1402
1409
|
}
|
|
1403
1410
|
);
|
|
1404
1411
|
return i ? /* @__PURE__ */ a(
|
|
1405
|
-
|
|
1412
|
+
Fe,
|
|
1406
1413
|
{
|
|
1407
1414
|
formLayout: i,
|
|
1408
1415
|
labelSize: c,
|
|
1409
1416
|
controlMaxWidth: d,
|
|
1410
|
-
controlMinWidth:
|
|
1417
|
+
controlMinWidth: p,
|
|
1411
1418
|
children: P
|
|
1412
1419
|
}
|
|
1413
1420
|
) : /* @__PURE__ */ a(go, { children: P });
|
|
1414
1421
|
}
|
|
1415
1422
|
const w = /* @__PURE__ */ a(
|
|
1416
|
-
|
|
1423
|
+
Bt,
|
|
1417
1424
|
{
|
|
1418
1425
|
ref: n,
|
|
1419
1426
|
...y,
|
|
@@ -1423,12 +1430,12 @@ const Lo = p(
|
|
|
1423
1430
|
}
|
|
1424
1431
|
);
|
|
1425
1432
|
return i ? /* @__PURE__ */ a(
|
|
1426
|
-
|
|
1433
|
+
Fe,
|
|
1427
1434
|
{
|
|
1428
1435
|
formLayout: i,
|
|
1429
1436
|
labelSize: c,
|
|
1430
1437
|
controlMaxWidth: d,
|
|
1431
|
-
controlMinWidth:
|
|
1438
|
+
controlMinWidth: p,
|
|
1432
1439
|
children: w
|
|
1433
1440
|
}
|
|
1434
1441
|
) : w;
|
|
@@ -1466,7 +1473,7 @@ function Ys(r) {
|
|
|
1466
1473
|
}
|
|
1467
1474
|
);
|
|
1468
1475
|
}
|
|
1469
|
-
const Mo =
|
|
1476
|
+
const Mo = m(function({
|
|
1470
1477
|
error: e = !1,
|
|
1471
1478
|
icon: n,
|
|
1472
1479
|
onRemove: o,
|
|
@@ -1476,11 +1483,11 @@ const Mo = p(function({
|
|
|
1476
1483
|
children: i,
|
|
1477
1484
|
overStyled: c = !1,
|
|
1478
1485
|
wrapperProps: d,
|
|
1479
|
-
tabIndex:
|
|
1486
|
+
tabIndex: p,
|
|
1480
1487
|
"aria-hidden": _,
|
|
1481
1488
|
...$
|
|
1482
1489
|
}, y) {
|
|
1483
|
-
const v = u($, c), h = v,
|
|
1490
|
+
const v = u($, c), h = v, O = W(
|
|
1484
1491
|
{
|
|
1485
1492
|
root: Se.root,
|
|
1486
1493
|
label: Se.label,
|
|
@@ -1499,14 +1506,14 @@ const Mo = p(function({
|
|
|
1499
1506
|
ref: y,
|
|
1500
1507
|
...v,
|
|
1501
1508
|
className: w,
|
|
1502
|
-
classNames:
|
|
1503
|
-
wrapperProps:
|
|
1509
|
+
classNames: O,
|
|
1510
|
+
wrapperProps: pe(f, d),
|
|
1504
1511
|
"data-icon-only": g ? "" : void 0,
|
|
1505
|
-
tabIndex:
|
|
1512
|
+
tabIndex: pe(
|
|
1506
1513
|
P ? void 0 : -1,
|
|
1507
|
-
|
|
1514
|
+
p
|
|
1508
1515
|
),
|
|
1509
|
-
"aria-hidden":
|
|
1516
|
+
"aria-hidden": pe(
|
|
1510
1517
|
P ? void 0 : !0,
|
|
1511
1518
|
_
|
|
1512
1519
|
),
|
|
@@ -1539,7 +1546,7 @@ const Mo = p(function({
|
|
|
1539
1546
|
Mo.displayName = "Chip";
|
|
1540
1547
|
const Zs = "Container-module__root___UVssr", wo = {
|
|
1541
1548
|
root: Zs
|
|
1542
|
-
}, un =
|
|
1549
|
+
}, un = m(
|
|
1543
1550
|
function({ children: e, size: n, ...o }, t) {
|
|
1544
1551
|
const s = {
|
|
1545
1552
|
"rec-sm": "sm",
|
|
@@ -1555,13 +1562,13 @@ const Zs = "Container-module__root___UVssr", wo = {
|
|
|
1555
1562
|
const _ = c;
|
|
1556
1563
|
i.root = _.root ? `${wo.root} ${_.root}` : wo.root;
|
|
1557
1564
|
}
|
|
1558
|
-
const d = o.className,
|
|
1565
|
+
const d = o.className, p = d ? `${wo.root} ${d}` : wo.root;
|
|
1559
1566
|
return /* @__PURE__ */ a(
|
|
1560
1567
|
Qa,
|
|
1561
1568
|
{
|
|
1562
1569
|
ref: t,
|
|
1563
1570
|
size: l,
|
|
1564
|
-
className:
|
|
1571
|
+
className: p,
|
|
1565
1572
|
classNames: i,
|
|
1566
1573
|
...o,
|
|
1567
1574
|
children: e
|
|
@@ -1612,7 +1619,7 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1612
1619
|
// Recursica does not expose the library's native corner-radius system.
|
|
1613
1620
|
"description"
|
|
1614
1621
|
// Managed by FormControlWrapper via assistiveText.
|
|
1615
|
-
], pn =
|
|
1622
|
+
], pn = m(
|
|
1616
1623
|
function(e, n) {
|
|
1617
1624
|
const {
|
|
1618
1625
|
overStyled: o = !1,
|
|
@@ -1623,13 +1630,13 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1623
1630
|
labelOptionalText: i,
|
|
1624
1631
|
labelWithEditIcon: c,
|
|
1625
1632
|
onLabelEditClick: d,
|
|
1626
|
-
label:
|
|
1633
|
+
label: p,
|
|
1627
1634
|
assistiveText: _,
|
|
1628
1635
|
assistiveWithIcon: $,
|
|
1629
1636
|
error: y,
|
|
1630
1637
|
required: v,
|
|
1631
1638
|
withAsterisk: h,
|
|
1632
|
-
id:
|
|
1639
|
+
id: O,
|
|
1633
1640
|
className: N,
|
|
1634
1641
|
style: w,
|
|
1635
1642
|
disabled: T,
|
|
@@ -1638,19 +1645,19 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1638
1645
|
emptyValueComponent: f,
|
|
1639
1646
|
value: b,
|
|
1640
1647
|
defaultValue: C,
|
|
1641
|
-
highlightToday:
|
|
1648
|
+
highlightToday: x = !0,
|
|
1642
1649
|
// Default on so today is visually marked; consumers can still override.
|
|
1643
1650
|
valueFormat: R = "MM/DD/YY",
|
|
1644
1651
|
// Default display format; consumers can still override.
|
|
1645
1652
|
placeholder: D = "MM / DD / YY",
|
|
1646
1653
|
// Default placeholder; consumers can still override.
|
|
1647
|
-
leftSection:
|
|
1654
|
+
leftSection: A,
|
|
1648
1655
|
// Default leading icon computed below; consumers can still override.
|
|
1649
|
-
...
|
|
1650
|
-
} = e,
|
|
1651
|
-
u(
|
|
1656
|
+
...L
|
|
1657
|
+
} = e, F = E(
|
|
1658
|
+
u(L, o),
|
|
1652
1659
|
cl
|
|
1653
|
-
),
|
|
1660
|
+
), G = F, Z = W(
|
|
1654
1661
|
{
|
|
1655
1662
|
wrapper: Pe.root,
|
|
1656
1663
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1663,14 +1670,14 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1663
1670
|
calendarHeaderLevel: Pe.calendarHeaderLevel,
|
|
1664
1671
|
calendarHeaderControlIcon: Pe.calendarHeaderControlIcon
|
|
1665
1672
|
},
|
|
1666
|
-
|
|
1667
|
-
),
|
|
1668
|
-
delete
|
|
1673
|
+
G.classNames
|
|
1674
|
+
), Y = G.popoverProps, j = Y && typeof Y == "object" && !Array.isArray(Y) ? Y : void 0, Q = j != null && j.classNames && typeof j.classNames == "object" && !Array.isArray(j.classNames) ? j.classNames : void 0;
|
|
1675
|
+
delete G.popoverProps;
|
|
1669
1676
|
const se = {
|
|
1670
|
-
...
|
|
1677
|
+
...j,
|
|
1671
1678
|
classNames: W(
|
|
1672
1679
|
{ dropdown: Pe.dropdown },
|
|
1673
|
-
|
|
1680
|
+
Q
|
|
1674
1681
|
)
|
|
1675
1682
|
}, $e = N ? `${Pe.layoutOverride} ${N}` : Pe.layoutOverride;
|
|
1676
1683
|
return /* @__PURE__ */ a(
|
|
@@ -1687,13 +1694,13 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1687
1694
|
labelOptionalText: i,
|
|
1688
1695
|
labelWithEditIcon: c,
|
|
1689
1696
|
onLabelEditClick: d,
|
|
1690
|
-
label:
|
|
1697
|
+
label: p,
|
|
1691
1698
|
assistiveText: _,
|
|
1692
1699
|
assistiveWithIcon: $,
|
|
1693
1700
|
error: y,
|
|
1694
1701
|
required: v,
|
|
1695
1702
|
withAsterisk: h,
|
|
1696
|
-
id:
|
|
1703
|
+
id: O,
|
|
1697
1704
|
readOnly: g,
|
|
1698
1705
|
readOnlyComponent: P,
|
|
1699
1706
|
emptyValueComponent: f,
|
|
@@ -1706,8 +1713,8 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1706
1713
|
vr,
|
|
1707
1714
|
{
|
|
1708
1715
|
ref: n,
|
|
1709
|
-
...
|
|
1710
|
-
classNames:
|
|
1716
|
+
...F,
|
|
1717
|
+
classNames: Z,
|
|
1711
1718
|
disabled: T,
|
|
1712
1719
|
value: b,
|
|
1713
1720
|
defaultValue: C,
|
|
@@ -1715,12 +1722,12 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1715
1722
|
description: void 0,
|
|
1716
1723
|
error: void 0,
|
|
1717
1724
|
withAsterisk: !1,
|
|
1718
|
-
highlightToday:
|
|
1725
|
+
highlightToday: x,
|
|
1719
1726
|
valueFormat: R,
|
|
1720
1727
|
placeholder: D,
|
|
1721
|
-
leftSection:
|
|
1728
|
+
leftSection: pe(
|
|
1722
1729
|
/* @__PURE__ */ a(Xs, {}),
|
|
1723
|
-
|
|
1730
|
+
A
|
|
1724
1731
|
),
|
|
1725
1732
|
wrapperProps: {
|
|
1726
1733
|
"data-disabled": T ? "true" : void 0,
|
|
@@ -1735,21 +1742,22 @@ const Js = "DatePicker-module__layoutOverride___X9yaM", Qs = "DatePicker-module_
|
|
|
1735
1742
|
}
|
|
1736
1743
|
);
|
|
1737
1744
|
pn.displayName = "DatePicker";
|
|
1738
|
-
const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__root___uVyL0", pl = "Dropdown-module__input___dK4dN", ml = "Dropdown-module__section___j3MRB", _l = "Dropdown-module__dropdown___gG-Sw",
|
|
1745
|
+
const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__root___uVyL0", pl = "Dropdown-module__input___dK4dN", ml = "Dropdown-module__section___j3MRB", _l = "Dropdown-module__clearButton___ODnIa", fl = "Dropdown-module__dropdown___gG-Sw", yl = "Dropdown-module__option___nAGU-", ie = {
|
|
1739
1746
|
layoutOverride: dl,
|
|
1740
1747
|
root: ul,
|
|
1741
1748
|
input: pl,
|
|
1742
1749
|
section: ml,
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1750
|
+
clearButton: _l,
|
|
1751
|
+
dropdown: fl,
|
|
1752
|
+
option: yl
|
|
1753
|
+
}, hl = [
|
|
1746
1754
|
"size",
|
|
1747
1755
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
1748
1756
|
"variant",
|
|
1749
1757
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
1750
1758
|
"radius"
|
|
1751
1759
|
// Recursica does not expose the library's native corner-radius system.
|
|
1752
|
-
], mn =
|
|
1760
|
+
], mn = m(
|
|
1753
1761
|
function(e, n) {
|
|
1754
1762
|
const {
|
|
1755
1763
|
overStyled: o = !1,
|
|
@@ -1760,13 +1768,13 @@ const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__roo
|
|
|
1760
1768
|
labelAlignment: i,
|
|
1761
1769
|
labelOptionalText: c,
|
|
1762
1770
|
labelWithEditIcon: d,
|
|
1763
|
-
onLabelEditClick:
|
|
1771
|
+
onLabelEditClick: p,
|
|
1764
1772
|
label: _,
|
|
1765
1773
|
assistiveText: $,
|
|
1766
1774
|
assistiveWithIcon: y,
|
|
1767
1775
|
error: v,
|
|
1768
1776
|
required: h,
|
|
1769
|
-
withAsterisk:
|
|
1777
|
+
withAsterisk: O,
|
|
1770
1778
|
id: N,
|
|
1771
1779
|
className: w,
|
|
1772
1780
|
style: T,
|
|
@@ -1775,31 +1783,35 @@ const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__roo
|
|
|
1775
1783
|
readOnlyComponent: f,
|
|
1776
1784
|
emptyValueComponent: b,
|
|
1777
1785
|
value: C,
|
|
1778
|
-
defaultValue:
|
|
1786
|
+
defaultValue: x,
|
|
1779
1787
|
data: R,
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1788
|
+
clearButtonProps: D,
|
|
1789
|
+
...A
|
|
1790
|
+
} = e, L = E(
|
|
1791
|
+
u(A, o),
|
|
1792
|
+
hl
|
|
1793
|
+
), F = L, G = D, Z = {
|
|
1794
|
+
...G,
|
|
1795
|
+
className: G != null && G.className ? `${ie.clearButton} ${G.className}` : ie.clearButton
|
|
1796
|
+
}, Y = W(
|
|
1785
1797
|
{
|
|
1786
|
-
wrapper:
|
|
1798
|
+
wrapper: ie.root,
|
|
1787
1799
|
// The nested Input internal relative wrapper bounding box
|
|
1788
|
-
input:
|
|
1789
|
-
section:
|
|
1790
|
-
dropdown:
|
|
1791
|
-
option:
|
|
1800
|
+
input: ie.input,
|
|
1801
|
+
section: ie.section,
|
|
1802
|
+
dropdown: ie.dropdown,
|
|
1803
|
+
option: ie.option
|
|
1792
1804
|
},
|
|
1793
|
-
|
|
1794
|
-
),
|
|
1805
|
+
F.classNames
|
|
1806
|
+
), j = {
|
|
1795
1807
|
...T || {},
|
|
1796
1808
|
width: s || "100%"
|
|
1797
|
-
},
|
|
1809
|
+
}, Q = w ? `${ie.layoutOverride} ${w}` : ie.layoutOverride;
|
|
1798
1810
|
return /* @__PURE__ */ a(
|
|
1799
1811
|
he,
|
|
1800
1812
|
{
|
|
1801
|
-
className:
|
|
1802
|
-
style:
|
|
1813
|
+
className: Q,
|
|
1814
|
+
style: j,
|
|
1803
1815
|
controlMaxWidth: "var(--dropdown-control-max-width)",
|
|
1804
1816
|
controlMinWidth: "var(--dropdown-control-min-width)",
|
|
1805
1817
|
overStyled: o,
|
|
@@ -1808,32 +1820,33 @@ const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__roo
|
|
|
1808
1820
|
labelAlignment: i,
|
|
1809
1821
|
labelOptionalText: c,
|
|
1810
1822
|
labelWithEditIcon: d,
|
|
1811
|
-
onLabelEditClick:
|
|
1823
|
+
onLabelEditClick: p,
|
|
1812
1824
|
label: _,
|
|
1813
1825
|
assistiveText: $,
|
|
1814
1826
|
assistiveWithIcon: y,
|
|
1815
1827
|
error: v,
|
|
1816
1828
|
required: h,
|
|
1817
|
-
withAsterisk:
|
|
1829
|
+
withAsterisk: O,
|
|
1818
1830
|
id: N,
|
|
1819
1831
|
readOnly: P,
|
|
1820
1832
|
readOnlyComponent: f,
|
|
1821
1833
|
emptyValueComponent: b,
|
|
1822
1834
|
readOnlyType: "text",
|
|
1823
|
-
readOnlyValue: C !== void 0 ? String(C) :
|
|
1835
|
+
readOnlyValue: C !== void 0 ? String(C) : x ? String(x) : void 0,
|
|
1824
1836
|
readOnlyNativeProps: e,
|
|
1825
1837
|
activeComponent: (
|
|
1826
1838
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1827
1839
|
/* @__PURE__ */ a(
|
|
1828
|
-
|
|
1840
|
+
Ft,
|
|
1829
1841
|
{
|
|
1830
1842
|
ref: n,
|
|
1831
|
-
...
|
|
1832
|
-
classNames:
|
|
1843
|
+
...L,
|
|
1844
|
+
classNames: Y,
|
|
1833
1845
|
disabled: g,
|
|
1834
1846
|
value: C,
|
|
1835
|
-
defaultValue:
|
|
1847
|
+
defaultValue: x,
|
|
1836
1848
|
data: R || [],
|
|
1849
|
+
clearButtonProps: Z,
|
|
1837
1850
|
label: void 0,
|
|
1838
1851
|
description: void 0,
|
|
1839
1852
|
error: void 0,
|
|
@@ -1853,17 +1866,17 @@ const dl = "Dropdown-module__layoutOverride___FNcvP", ul = "Dropdown-module__roo
|
|
|
1853
1866
|
}
|
|
1854
1867
|
);
|
|
1855
1868
|
mn.displayName = "Dropdown";
|
|
1856
|
-
const
|
|
1857
|
-
layoutOverride:
|
|
1858
|
-
root:
|
|
1859
|
-
leadingIcon:
|
|
1860
|
-
content:
|
|
1861
|
-
value:
|
|
1862
|
-
chipRow:
|
|
1863
|
-
chipWrapper:
|
|
1864
|
-
trailingIcon:
|
|
1869
|
+
const vl = "FileInput-module__layoutOverride___HIOY6", Nl = "FileInput-module__root___UvQj-", bl = "FileInput-module__leadingIcon___z75c4", Cl = "FileInput-module__content___Udsvh", Pl = "FileInput-module__value___RX33R", gl = "FileInput-module__chipRow___My6TF", Tl = "FileInput-module__chipWrapper___q2CDy", $l = "FileInput-module__trailingIcon___odGPm", De = {
|
|
1870
|
+
layoutOverride: vl,
|
|
1871
|
+
root: Nl,
|
|
1872
|
+
leadingIcon: bl,
|
|
1873
|
+
content: Cl,
|
|
1874
|
+
value: Pl,
|
|
1875
|
+
chipRow: gl,
|
|
1876
|
+
chipWrapper: Tl,
|
|
1877
|
+
trailingIcon: $l
|
|
1865
1878
|
};
|
|
1866
|
-
function
|
|
1879
|
+
function wl() {
|
|
1867
1880
|
return /* @__PURE__ */ z(
|
|
1868
1881
|
"svg",
|
|
1869
1882
|
{
|
|
@@ -1883,7 +1896,7 @@ function $l() {
|
|
|
1883
1896
|
}
|
|
1884
1897
|
);
|
|
1885
1898
|
}
|
|
1886
|
-
function
|
|
1899
|
+
function Sl() {
|
|
1887
1900
|
return /* @__PURE__ */ z(
|
|
1888
1901
|
"svg",
|
|
1889
1902
|
{
|
|
@@ -1902,7 +1915,7 @@ function wl() {
|
|
|
1902
1915
|
}
|
|
1903
1916
|
);
|
|
1904
1917
|
}
|
|
1905
|
-
const _n =
|
|
1918
|
+
const _n = m(
|
|
1906
1919
|
function(e, n) {
|
|
1907
1920
|
const {
|
|
1908
1921
|
overStyled: o = !1,
|
|
@@ -1913,13 +1926,13 @@ const _n = p(
|
|
|
1913
1926
|
labelOptionalText: i,
|
|
1914
1927
|
labelWithEditIcon: c,
|
|
1915
1928
|
labelActionArea: d,
|
|
1916
|
-
onLabelEditClick:
|
|
1929
|
+
onLabelEditClick: p,
|
|
1917
1930
|
label: _,
|
|
1918
1931
|
assistiveText: $,
|
|
1919
1932
|
assistiveWithIcon: y,
|
|
1920
1933
|
error: v,
|
|
1921
1934
|
required: h,
|
|
1922
|
-
withAsterisk:
|
|
1935
|
+
withAsterisk: O,
|
|
1923
1936
|
id: N,
|
|
1924
1937
|
className: w,
|
|
1925
1938
|
style: T,
|
|
@@ -1928,33 +1941,33 @@ const _n = p(
|
|
|
1928
1941
|
files: f,
|
|
1929
1942
|
onFilesAdded: b,
|
|
1930
1943
|
onFileRemove: C,
|
|
1931
|
-
accept:
|
|
1944
|
+
accept: x,
|
|
1932
1945
|
multiple: R = !1,
|
|
1933
1946
|
maxSize: D,
|
|
1934
|
-
maxFiles:
|
|
1935
|
-
onFilesRejected:
|
|
1936
|
-
invalidFileTypeMessage:
|
|
1937
|
-
maxFilesMessage:
|
|
1938
|
-
icon:
|
|
1939
|
-
placeholder:
|
|
1940
|
-
browseLabel:
|
|
1941
|
-
removeFileLabel:
|
|
1947
|
+
maxFiles: A,
|
|
1948
|
+
onFilesRejected: L,
|
|
1949
|
+
invalidFileTypeMessage: F = "File type not accepted",
|
|
1950
|
+
maxFilesMessage: G = R ? `Maximum of ${A} files allowed` : "Only one file is allowed",
|
|
1951
|
+
icon: Z,
|
|
1952
|
+
placeholder: Y = "Select a file...",
|
|
1953
|
+
browseLabel: j = "Choose file",
|
|
1954
|
+
removeFileLabel: Q = "Remove",
|
|
1942
1955
|
clearLabel: se = "Clear",
|
|
1943
1956
|
...$e
|
|
1944
|
-
} = e,
|
|
1945
|
-
if (!
|
|
1957
|
+
} = e, ne = u($e, o), H = !g && !P, ee = !!f && f.length > 0, ce = Be(null), [We, me] = re(!1), [de, ve] = re(!1), Ne = (S) => {
|
|
1958
|
+
if (!H) return;
|
|
1946
1959
|
const J = Array.from(S);
|
|
1947
1960
|
if (J.length === 0) return;
|
|
1948
|
-
const
|
|
1961
|
+
const X = R ? A : 1, _e = R ? (f == null ? void 0 : f.length) ?? 0 : 0, te = [], Ce = [];
|
|
1949
1962
|
let et = !1, $t = !1;
|
|
1950
1963
|
for (const ot of J) {
|
|
1951
|
-
const wt = !Kt(ot,
|
|
1964
|
+
const wt = !Kt(ot, x);
|
|
1952
1965
|
wt && (et = !0);
|
|
1953
|
-
const Va = D !== void 0 && ot.size > D, St =
|
|
1954
|
-
St && ($t = !0), (wt || Va || St ? Ce :
|
|
1966
|
+
const Va = D !== void 0 && ot.size > D, St = X !== void 0 && _e + te.length >= X;
|
|
1967
|
+
St && ($t = !0), (wt || Va || St ? Ce : te).push(ot);
|
|
1955
1968
|
}
|
|
1956
|
-
|
|
1957
|
-
}, we =
|
|
1969
|
+
me(et), ve($t), te.length > 0 && (b == null || b(te)), Ce.length > 0 && (L == null || L(Ce));
|
|
1970
|
+
}, we = Be(0), [lo, be] = re(!1), Ke = (S) => {
|
|
1958
1971
|
S.preventDefault(), we.current += 1, be(!0);
|
|
1959
1972
|
}, Ye = (S) => {
|
|
1960
1973
|
S.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, be(!1));
|
|
@@ -1964,30 +1977,30 @@ const _n = p(
|
|
|
1964
1977
|
S.preventDefault(), we.current = 0, be(!1), Ne(S.dataTransfer.files);
|
|
1965
1978
|
}, co = () => {
|
|
1966
1979
|
var S;
|
|
1967
|
-
|
|
1980
|
+
H && ((S = ce.current) == null || S.click());
|
|
1968
1981
|
}, Xe = (S) => {
|
|
1969
1982
|
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), co());
|
|
1970
1983
|
}, No = (S) => {
|
|
1971
1984
|
S.target.files && Ne(S.target.files), S.target.value = "";
|
|
1972
|
-
},
|
|
1973
|
-
!
|
|
1974
|
-
}, [
|
|
1975
|
-
|
|
1985
|
+
}, B = () => {
|
|
1986
|
+
!H || !f || f.length === 0 || f.forEach((S) => C == null ? void 0 : C(S.id ?? S.file.name));
|
|
1987
|
+
}, [K, V] = re(0), I = Be([]), q = Be((f == null ? void 0 : f.length) ?? 0);
|
|
1988
|
+
xe(() => {
|
|
1976
1989
|
var J;
|
|
1977
1990
|
const S = (f == null ? void 0 : f.length) ?? 0;
|
|
1978
|
-
if (S > 0 && S <
|
|
1979
|
-
const
|
|
1980
|
-
|
|
1991
|
+
if (S > 0 && S < q.current) {
|
|
1992
|
+
const X = Math.min(K, S - 1);
|
|
1993
|
+
V(X), (J = I.current[X]) == null || J.focus();
|
|
1981
1994
|
}
|
|
1982
|
-
|
|
1995
|
+
q.current = S;
|
|
1983
1996
|
}, [f]);
|
|
1984
|
-
const
|
|
1985
|
-
var
|
|
1997
|
+
const oe = (S) => {
|
|
1998
|
+
var _e;
|
|
1986
1999
|
const J = (f == null ? void 0 : f.length) ?? 0;
|
|
1987
2000
|
if (J === 0) return;
|
|
1988
|
-
let
|
|
1989
|
-
S.key === "ArrowRight" || S.key === "ArrowDown" ?
|
|
1990
|
-
},
|
|
2001
|
+
let X;
|
|
2002
|
+
S.key === "ArrowRight" || S.key === "ArrowDown" ? X = (K + 1) % J : (S.key === "ArrowLeft" || S.key === "ArrowUp") && (X = (K - 1 + J) % J), X !== void 0 && (S.preventDefault(), S.stopPropagation(), V(X), (_e = I.current[X]) == null || _e.focus());
|
|
2003
|
+
}, ue = v ?? (We ? F : de ? G : void 0), uo = w ? `${De.layoutOverride} ${w}` : De.layoutOverride;
|
|
1991
2004
|
return /* @__PURE__ */ a(
|
|
1992
2005
|
Po,
|
|
1993
2006
|
{
|
|
@@ -2000,13 +2013,13 @@ const _n = p(
|
|
|
2000
2013
|
labelOptionalText: i,
|
|
2001
2014
|
labelWithEditIcon: c,
|
|
2002
2015
|
labelActionArea: d,
|
|
2003
|
-
onLabelEditClick:
|
|
2016
|
+
onLabelEditClick: p,
|
|
2004
2017
|
label: _,
|
|
2005
2018
|
assistiveText: $,
|
|
2006
2019
|
assistiveWithIcon: y,
|
|
2007
|
-
error:
|
|
2020
|
+
error: ue,
|
|
2008
2021
|
required: h,
|
|
2009
|
-
withAsterisk:
|
|
2022
|
+
withAsterisk: O,
|
|
2010
2023
|
id: N,
|
|
2011
2024
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2012
2025
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
@@ -2014,86 +2027,86 @@ const _n = p(
|
|
|
2014
2027
|
"div",
|
|
2015
2028
|
{
|
|
2016
2029
|
ref: n,
|
|
2017
|
-
...
|
|
2030
|
+
...ne,
|
|
2018
2031
|
className: De.root,
|
|
2019
2032
|
role: "button",
|
|
2020
|
-
"aria-label":
|
|
2033
|
+
"aria-label": j,
|
|
2021
2034
|
"aria-disabled": g ? "true" : void 0,
|
|
2022
|
-
tabIndex:
|
|
2035
|
+
tabIndex: H ? 0 : -1,
|
|
2023
2036
|
"data-disabled": g ? "true" : void 0,
|
|
2024
2037
|
"data-readonly": P ? "true" : void 0,
|
|
2025
|
-
"data-error":
|
|
2038
|
+
"data-error": ue ? "true" : void 0,
|
|
2026
2039
|
"data-dragging": lo ? "true" : void 0,
|
|
2027
|
-
onClick:
|
|
2028
|
-
onKeyDown:
|
|
2029
|
-
onDragEnter:
|
|
2030
|
-
onDragLeave:
|
|
2031
|
-
onDragOver:
|
|
2032
|
-
onDrop:
|
|
2040
|
+
onClick: H ? co : void 0,
|
|
2041
|
+
onKeyDown: H ? Xe : void 0,
|
|
2042
|
+
onDragEnter: H ? Ke : void 0,
|
|
2043
|
+
onDragLeave: H ? Ye : void 0,
|
|
2044
|
+
onDragOver: H ? io : void 0,
|
|
2045
|
+
onDrop: H ? Ze : void 0,
|
|
2033
2046
|
children: [
|
|
2034
|
-
/* @__PURE__ */ a("span", { className: De.leadingIcon, "aria-hidden": !0, children:
|
|
2047
|
+
/* @__PURE__ */ a("span", { className: De.leadingIcon, "aria-hidden": !0, children: Z ?? /* @__PURE__ */ a(wl, {}) }),
|
|
2035
2048
|
/* @__PURE__ */ z("div", { className: De.content, children: [
|
|
2036
|
-
!
|
|
2037
|
-
|
|
2049
|
+
!ee && /* @__PURE__ */ a("span", { className: De.value, "data-placeholder": "true", children: Y }),
|
|
2050
|
+
ee && /* @__PURE__ */ a(
|
|
2038
2051
|
"div",
|
|
2039
2052
|
{
|
|
2040
2053
|
className: De.chipRow,
|
|
2041
|
-
onKeyDown: P ? void 0 :
|
|
2054
|
+
onKeyDown: P ? void 0 : oe,
|
|
2042
2055
|
children: f.map((S, J) => {
|
|
2043
|
-
const
|
|
2056
|
+
const X = S.id ?? S.file.name;
|
|
2044
2057
|
return /* @__PURE__ */ a(
|
|
2045
2058
|
"span",
|
|
2046
2059
|
{
|
|
2047
2060
|
className: De.chipWrapper,
|
|
2048
|
-
onClick: (
|
|
2061
|
+
onClick: (_e) => _e.stopPropagation(),
|
|
2049
2062
|
children: /* @__PURE__ */ a(
|
|
2050
2063
|
Mo,
|
|
2051
2064
|
{
|
|
2052
2065
|
checked: !1,
|
|
2053
2066
|
tabIndex: -1,
|
|
2054
|
-
removeLabel: P ? void 0 :
|
|
2055
|
-
removeTabIndex: !P && J ===
|
|
2056
|
-
removeIconRef: (
|
|
2057
|
-
I.current[J] =
|
|
2067
|
+
removeLabel: P ? void 0 : Q,
|
|
2068
|
+
removeTabIndex: !P && J === K ? 0 : -1,
|
|
2069
|
+
removeIconRef: (_e) => {
|
|
2070
|
+
I.current[J] = _e;
|
|
2058
2071
|
},
|
|
2059
|
-
onRemove: P || g ? void 0 : () => C == null ? void 0 : C(
|
|
2072
|
+
onRemove: P || g ? void 0 : () => C == null ? void 0 : C(X),
|
|
2060
2073
|
children: S.file.name
|
|
2061
2074
|
}
|
|
2062
2075
|
)
|
|
2063
2076
|
},
|
|
2064
|
-
|
|
2077
|
+
X
|
|
2065
2078
|
);
|
|
2066
2079
|
})
|
|
2067
2080
|
}
|
|
2068
2081
|
)
|
|
2069
2082
|
] }),
|
|
2070
|
-
|
|
2083
|
+
ee && !P && /* @__PURE__ */ a(
|
|
2071
2084
|
ro,
|
|
2072
2085
|
{
|
|
2073
2086
|
overStyled: !0,
|
|
2074
2087
|
variant: "text",
|
|
2075
2088
|
size: "small",
|
|
2076
|
-
icon: /* @__PURE__ */ a(
|
|
2089
|
+
icon: /* @__PURE__ */ a(Sl, {}),
|
|
2077
2090
|
"aria-label": se,
|
|
2078
2091
|
className: De.trailingIcon,
|
|
2079
2092
|
disabled: g,
|
|
2080
2093
|
onClick: (S) => {
|
|
2081
|
-
S.preventDefault(), S.stopPropagation(),
|
|
2094
|
+
S.preventDefault(), S.stopPropagation(), B();
|
|
2082
2095
|
},
|
|
2083
2096
|
onKeyDown: (S) => {
|
|
2084
|
-
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.stopPropagation(),
|
|
2097
|
+
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.stopPropagation(), B());
|
|
2085
2098
|
}
|
|
2086
2099
|
}
|
|
2087
2100
|
),
|
|
2088
2101
|
/* @__PURE__ */ a(
|
|
2089
2102
|
"input",
|
|
2090
2103
|
{
|
|
2091
|
-
ref:
|
|
2104
|
+
ref: ce,
|
|
2092
2105
|
type: "file",
|
|
2093
2106
|
hidden: !0,
|
|
2094
|
-
accept:
|
|
2107
|
+
accept: x,
|
|
2095
2108
|
multiple: R,
|
|
2096
|
-
disabled: !
|
|
2109
|
+
disabled: !H,
|
|
2097
2110
|
onChange: No
|
|
2098
2111
|
}
|
|
2099
2112
|
)
|
|
@@ -2105,15 +2118,15 @@ const _n = p(
|
|
|
2105
2118
|
}
|
|
2106
2119
|
);
|
|
2107
2120
|
_n.displayName = "FileInput";
|
|
2108
|
-
const
|
|
2109
|
-
layoutOverride:
|
|
2121
|
+
const Ol = "FileUpload-module__layoutOverride___bPpi8", xl = "FileUpload-module__root___Q-vcm", kl = "FileUpload-module__dropzone___jqua0", Rl = "FileUpload-module__uploadIcon___bb3Nc", Il = "FileUpload-module__dropzoneText___L7vS-", Ll = "FileUpload-module__fileList___XIWLl", eo = {
|
|
2122
|
+
layoutOverride: Ol,
|
|
2110
2123
|
root: xl,
|
|
2111
|
-
dropzone:
|
|
2112
|
-
uploadIcon:
|
|
2113
|
-
dropzoneText:
|
|
2114
|
-
fileList:
|
|
2124
|
+
dropzone: kl,
|
|
2125
|
+
uploadIcon: Rl,
|
|
2126
|
+
dropzoneText: Il,
|
|
2127
|
+
fileList: Ll
|
|
2115
2128
|
};
|
|
2116
|
-
function
|
|
2129
|
+
function Ml() {
|
|
2117
2130
|
return /* @__PURE__ */ z(
|
|
2118
2131
|
"svg",
|
|
2119
2132
|
{
|
|
@@ -2133,7 +2146,7 @@ function Ll() {
|
|
|
2133
2146
|
}
|
|
2134
2147
|
);
|
|
2135
2148
|
}
|
|
2136
|
-
const fn =
|
|
2149
|
+
const fn = m(
|
|
2137
2150
|
function(e, n) {
|
|
2138
2151
|
const {
|
|
2139
2152
|
overStyled: o = !1,
|
|
@@ -2144,13 +2157,13 @@ const fn = p(
|
|
|
2144
2157
|
labelOptionalText: i,
|
|
2145
2158
|
labelWithEditIcon: c,
|
|
2146
2159
|
labelActionArea: d,
|
|
2147
|
-
onLabelEditClick:
|
|
2160
|
+
onLabelEditClick: p,
|
|
2148
2161
|
label: _,
|
|
2149
2162
|
assistiveText: $,
|
|
2150
2163
|
assistiveWithIcon: y,
|
|
2151
2164
|
error: v,
|
|
2152
2165
|
required: h,
|
|
2153
|
-
withAsterisk:
|
|
2166
|
+
withAsterisk: O,
|
|
2154
2167
|
id: N,
|
|
2155
2168
|
className: w,
|
|
2156
2169
|
style: T,
|
|
@@ -2159,66 +2172,66 @@ const fn = p(
|
|
|
2159
2172
|
files: f,
|
|
2160
2173
|
onFilesAdded: b,
|
|
2161
2174
|
onFileRemove: C,
|
|
2162
|
-
accept:
|
|
2175
|
+
accept: x,
|
|
2163
2176
|
multiple: R = !0,
|
|
2164
2177
|
maxSize: D,
|
|
2165
|
-
maxFiles:
|
|
2166
|
-
onFilesRejected:
|
|
2167
|
-
invalidFileTypeMessage:
|
|
2168
|
-
maxFilesMessage:
|
|
2169
|
-
icon:
|
|
2170
|
-
dropzoneLabel:
|
|
2171
|
-
browseButtonLabel:
|
|
2172
|
-
removeFileLabel:
|
|
2178
|
+
maxFiles: A,
|
|
2179
|
+
onFilesRejected: L,
|
|
2180
|
+
invalidFileTypeMessage: F = "File type not accepted",
|
|
2181
|
+
maxFilesMessage: G = `Maximum of ${A} files allowed`,
|
|
2182
|
+
icon: Z,
|
|
2183
|
+
dropzoneLabel: Y = "Drag and drop files here to upload",
|
|
2184
|
+
browseButtonLabel: j = "Browse files",
|
|
2185
|
+
removeFileLabel: Q = "Remove",
|
|
2173
2186
|
...se
|
|
2174
|
-
} = e,
|
|
2187
|
+
} = e, M = u(se, o), ne = Be(null), [H, ee] = re(!1), [ce, We] = re(!1), me = (I) => {
|
|
2175
2188
|
if (g) return;
|
|
2176
|
-
const
|
|
2177
|
-
if (
|
|
2178
|
-
const
|
|
2189
|
+
const q = Array.from(I);
|
|
2190
|
+
if (q.length === 0) return;
|
|
2191
|
+
const oe = (f == null ? void 0 : f.length) ?? 0, ue = [], uo = [];
|
|
2179
2192
|
let S = !1, J = !1;
|
|
2180
|
-
for (const
|
|
2181
|
-
const
|
|
2182
|
-
|
|
2183
|
-
const
|
|
2184
|
-
Ce && (J = !0), (
|
|
2193
|
+
for (const X of q) {
|
|
2194
|
+
const _e = !Kt(X, x);
|
|
2195
|
+
_e && (S = !0);
|
|
2196
|
+
const te = D !== void 0 && X.size > D, Ce = A !== void 0 && oe + ue.length >= A;
|
|
2197
|
+
Ce && (J = !0), (_e || te || Ce ? uo : ue).push(X);
|
|
2185
2198
|
}
|
|
2186
|
-
|
|
2187
|
-
},
|
|
2188
|
-
I.preventDefault(),
|
|
2199
|
+
ee(S), We(J), ue.length > 0 && (b == null || b(ue)), uo.length > 0 && (L == null || L(uo));
|
|
2200
|
+
}, de = Be(0), [ve, Ne] = re(!1), we = (I) => {
|
|
2201
|
+
I.preventDefault(), de.current += 1, Ne(!0);
|
|
2189
2202
|
}, lo = (I) => {
|
|
2190
|
-
I.preventDefault(),
|
|
2203
|
+
I.preventDefault(), de.current -= 1, de.current <= 0 && (de.current = 0, Ne(!1));
|
|
2191
2204
|
}, be = (I) => {
|
|
2192
2205
|
I.preventDefault();
|
|
2193
2206
|
}, Ke = (I) => {
|
|
2194
|
-
I.preventDefault(),
|
|
2207
|
+
I.preventDefault(), de.current = 0, Ne(!1), me(I.dataTransfer.files);
|
|
2195
2208
|
}, Ye = () => {
|
|
2196
2209
|
var I;
|
|
2197
|
-
g || (I =
|
|
2210
|
+
g || (I = ne.current) == null || I.click();
|
|
2198
2211
|
}, io = (I) => {
|
|
2199
|
-
I.target.files &&
|
|
2200
|
-
}, [Ze, co] =
|
|
2201
|
-
|
|
2202
|
-
var
|
|
2212
|
+
I.target.files && me(I.target.files), I.target.value = "";
|
|
2213
|
+
}, [Ze, co] = re(0), Xe = Be([]), No = Be((f == null ? void 0 : f.length) ?? 0);
|
|
2214
|
+
xe(() => {
|
|
2215
|
+
var q;
|
|
2203
2216
|
const I = (f == null ? void 0 : f.length) ?? 0;
|
|
2204
2217
|
if (I > 0 && I < No.current) {
|
|
2205
|
-
const
|
|
2206
|
-
co(
|
|
2218
|
+
const oe = Math.min(Ze, I - 1);
|
|
2219
|
+
co(oe), (q = Xe.current[oe]) == null || q.focus();
|
|
2207
2220
|
}
|
|
2208
2221
|
No.current = I;
|
|
2209
2222
|
}, [f]);
|
|
2210
|
-
const
|
|
2211
|
-
var
|
|
2212
|
-
const
|
|
2213
|
-
if (
|
|
2214
|
-
let
|
|
2215
|
-
I.key === "ArrowRight" || I.key === "ArrowDown" ?
|
|
2216
|
-
},
|
|
2223
|
+
const B = (I) => {
|
|
2224
|
+
var ue;
|
|
2225
|
+
const q = (f == null ? void 0 : f.length) ?? 0;
|
|
2226
|
+
if (q === 0) return;
|
|
2227
|
+
let oe;
|
|
2228
|
+
I.key === "ArrowRight" || I.key === "ArrowDown" ? oe = (Ze + 1) % q : (I.key === "ArrowLeft" || I.key === "ArrowUp") && (oe = (Ze - 1 + q) % q), oe !== void 0 && (I.preventDefault(), co(oe), (ue = Xe.current[oe]) == null || ue.focus());
|
|
2229
|
+
}, K = v ?? (H ? F : ce ? G : void 0), V = w ? `${eo.layoutOverride} ${w}` : eo.layoutOverride;
|
|
2217
2230
|
return /* @__PURE__ */ a(
|
|
2218
2231
|
Po,
|
|
2219
2232
|
{
|
|
2220
2233
|
overStyled: o,
|
|
2221
|
-
className:
|
|
2234
|
+
className: V,
|
|
2222
2235
|
style: T,
|
|
2223
2236
|
formLayout: t,
|
|
2224
2237
|
labelSize: s,
|
|
@@ -2226,22 +2239,22 @@ const fn = p(
|
|
|
2226
2239
|
labelOptionalText: i,
|
|
2227
2240
|
labelWithEditIcon: c,
|
|
2228
2241
|
labelActionArea: d,
|
|
2229
|
-
onLabelEditClick:
|
|
2242
|
+
onLabelEditClick: p,
|
|
2230
2243
|
label: _,
|
|
2231
2244
|
assistiveText: $,
|
|
2232
2245
|
assistiveWithIcon: y,
|
|
2233
|
-
error:
|
|
2246
|
+
error: K,
|
|
2234
2247
|
required: h,
|
|
2235
|
-
withAsterisk:
|
|
2248
|
+
withAsterisk: O,
|
|
2236
2249
|
id: N,
|
|
2237
2250
|
children: /* @__PURE__ */ z(
|
|
2238
2251
|
"div",
|
|
2239
2252
|
{
|
|
2240
2253
|
ref: n,
|
|
2241
|
-
...
|
|
2254
|
+
...M,
|
|
2242
2255
|
className: eo.root,
|
|
2243
2256
|
"data-disabled": g ? "true" : void 0,
|
|
2244
|
-
"data-error":
|
|
2257
|
+
"data-error": K ? "true" : void 0,
|
|
2245
2258
|
children: [
|
|
2246
2259
|
!P && /* @__PURE__ */ z(
|
|
2247
2260
|
"div",
|
|
@@ -2253,24 +2266,24 @@ const fn = p(
|
|
|
2253
2266
|
onDragOver: g ? void 0 : be,
|
|
2254
2267
|
onDrop: g ? void 0 : Ke,
|
|
2255
2268
|
children: [
|
|
2256
|
-
/* @__PURE__ */ a("span", { className: eo.uploadIcon, children:
|
|
2257
|
-
/* @__PURE__ */ a("span", { className: eo.dropzoneText, children:
|
|
2269
|
+
/* @__PURE__ */ a("span", { className: eo.uploadIcon, children: Z ?? /* @__PURE__ */ a(Ml, {}) }),
|
|
2270
|
+
/* @__PURE__ */ a("span", { className: eo.dropzoneText, children: Y }),
|
|
2258
2271
|
/* @__PURE__ */ a(
|
|
2259
2272
|
ro,
|
|
2260
2273
|
{
|
|
2261
2274
|
variant: "outline",
|
|
2262
2275
|
disabled: g,
|
|
2263
2276
|
onClick: Ye,
|
|
2264
|
-
children:
|
|
2277
|
+
children: j
|
|
2265
2278
|
}
|
|
2266
2279
|
),
|
|
2267
2280
|
/* @__PURE__ */ a(
|
|
2268
2281
|
"input",
|
|
2269
2282
|
{
|
|
2270
|
-
ref:
|
|
2283
|
+
ref: ne,
|
|
2271
2284
|
type: "file",
|
|
2272
2285
|
hidden: !0,
|
|
2273
|
-
accept:
|
|
2286
|
+
accept: x,
|
|
2274
2287
|
multiple: R,
|
|
2275
2288
|
disabled: g,
|
|
2276
2289
|
onChange: io
|
|
@@ -2280,29 +2293,29 @@ const fn = p(
|
|
|
2280
2293
|
}
|
|
2281
2294
|
),
|
|
2282
2295
|
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: eo.fileList, children: f.map((I) => {
|
|
2283
|
-
const
|
|
2284
|
-
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: I.file.name },
|
|
2296
|
+
const q = I.id ?? I.file.name;
|
|
2297
|
+
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: I.file.name }, q);
|
|
2285
2298
|
}) }) : /* @__PURE__ */ a(
|
|
2286
2299
|
"div",
|
|
2287
2300
|
{
|
|
2288
2301
|
className: eo.fileList,
|
|
2289
|
-
onKeyDown:
|
|
2290
|
-
children: f.map((I,
|
|
2291
|
-
const
|
|
2302
|
+
onKeyDown: B,
|
|
2303
|
+
children: f.map((I, q) => {
|
|
2304
|
+
const oe = I.id ?? I.file.name;
|
|
2292
2305
|
return /* @__PURE__ */ a(
|
|
2293
2306
|
Mo,
|
|
2294
2307
|
{
|
|
2295
2308
|
checked: !1,
|
|
2296
2309
|
tabIndex: -1,
|
|
2297
|
-
removeLabel:
|
|
2298
|
-
removeTabIndex:
|
|
2299
|
-
removeIconRef: (
|
|
2300
|
-
Xe.current[
|
|
2310
|
+
removeLabel: Q,
|
|
2311
|
+
removeTabIndex: q === Ze ? 0 : -1,
|
|
2312
|
+
removeIconRef: (ue) => {
|
|
2313
|
+
Xe.current[q] = ue;
|
|
2301
2314
|
},
|
|
2302
|
-
onRemove: g ? void 0 : () => C == null ? void 0 : C(
|
|
2315
|
+
onRemove: g ? void 0 : () => C == null ? void 0 : C(oe),
|
|
2303
2316
|
children: I.file.name
|
|
2304
2317
|
},
|
|
2305
|
-
|
|
2318
|
+
oe
|
|
2306
2319
|
);
|
|
2307
2320
|
})
|
|
2308
2321
|
}
|
|
@@ -2315,9 +2328,9 @@ const fn = p(
|
|
|
2315
2328
|
}
|
|
2316
2329
|
);
|
|
2317
2330
|
fn.displayName = "FileUpload";
|
|
2318
|
-
const
|
|
2319
|
-
root:
|
|
2320
|
-
}, yn =
|
|
2331
|
+
const Al = "Flex-module__root___yYser", So = {
|
|
2332
|
+
root: Al
|
|
2333
|
+
}, yn = m(function({ children: e, gap: n = "rec-default", rowGap: o, columnGap: t, ...s }, l) {
|
|
2321
2334
|
const i = {
|
|
2322
2335
|
root: So.root
|
|
2323
2336
|
}, c = s.classNames;
|
|
@@ -2325,12 +2338,12 @@ const Ml = "Flex-module__root___yYser", So = {
|
|
|
2325
2338
|
const _ = c;
|
|
2326
2339
|
i.root = _.root ? `${So.root} ${_.root}` : So.root;
|
|
2327
2340
|
}
|
|
2328
|
-
const d = s.className,
|
|
2341
|
+
const d = s.className, p = d ? `${So.root} ${d}` : So.root;
|
|
2329
2342
|
return /* @__PURE__ */ a(
|
|
2330
2343
|
er,
|
|
2331
2344
|
{
|
|
2332
2345
|
ref: l,
|
|
2333
|
-
className:
|
|
2346
|
+
className: p,
|
|
2334
2347
|
classNames: i,
|
|
2335
2348
|
...Ao({ gap: n, rowGap: o, columnGap: t, ...s }),
|
|
2336
2349
|
children: e
|
|
@@ -2338,10 +2351,10 @@ const Ml = "Flex-module__root___yYser", So = {
|
|
|
2338
2351
|
);
|
|
2339
2352
|
});
|
|
2340
2353
|
yn.displayName = "Flex";
|
|
2341
|
-
const
|
|
2342
|
-
root:
|
|
2343
|
-
col:
|
|
2344
|
-
}, hn =
|
|
2354
|
+
const zl = Te(yn), Wl = "Grid-module__root___s-qPY", Dl = "Grid-module__col___tbuNg", Ie = {
|
|
2355
|
+
root: Wl,
|
|
2356
|
+
col: Dl
|
|
2357
|
+
}, hn = m(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
2345
2358
|
const s = {
|
|
2346
2359
|
root: Ie.root
|
|
2347
2360
|
}, l = o.classNames;
|
|
@@ -2349,7 +2362,7 @@ const Al = Te(yn), zl = "Grid-module__root___s-qPY", Wl = "Grid-module__col___tb
|
|
|
2349
2362
|
const _ = l;
|
|
2350
2363
|
s.root = _.root ? `${Ie.root} ${_.root}` : Ie.root;
|
|
2351
2364
|
}
|
|
2352
|
-
const i = o.className, c = i ? `${Ie.root} ${i}` : Ie.root, { gap: d, ...
|
|
2365
|
+
const i = o.className, c = i ? `${Ie.root} ${i}` : Ie.root, { gap: d, ...p } = Ao({
|
|
2353
2366
|
gap: n,
|
|
2354
2367
|
...o
|
|
2355
2368
|
});
|
|
@@ -2360,13 +2373,13 @@ const Al = Te(yn), zl = "Grid-module__root___s-qPY", Wl = "Grid-module__col___tb
|
|
|
2360
2373
|
gutter: d,
|
|
2361
2374
|
className: c,
|
|
2362
2375
|
classNames: s,
|
|
2363
|
-
...
|
|
2376
|
+
...p,
|
|
2364
2377
|
children: e
|
|
2365
2378
|
}
|
|
2366
2379
|
);
|
|
2367
2380
|
});
|
|
2368
2381
|
hn.displayName = "Grid";
|
|
2369
|
-
const
|
|
2382
|
+
const El = Te(hn), vn = m(function({ children: e, ...n }, o) {
|
|
2370
2383
|
const t = {
|
|
2371
2384
|
col: Ie.col
|
|
2372
2385
|
}, s = n.classNames;
|
|
@@ -2391,19 +2404,19 @@ const Dl = Te(hn), vn = p(function({ children: e, ...n }, o) {
|
|
|
2391
2404
|
vn.displayName = "GridCol";
|
|
2392
2405
|
const Nn = Te(
|
|
2393
2406
|
vn
|
|
2394
|
-
), bn =
|
|
2407
|
+
), bn = El;
|
|
2395
2408
|
bn.Col = Nn;
|
|
2396
|
-
const
|
|
2397
|
-
root:
|
|
2398
|
-
}, Cn =
|
|
2409
|
+
const Bl = "Group-module__root___ftO64", Oo = {
|
|
2410
|
+
root: Bl
|
|
2411
|
+
}, Cn = m(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
2399
2412
|
const s = {
|
|
2400
|
-
root:
|
|
2413
|
+
root: Oo.root
|
|
2401
2414
|
}, l = o.classNames;
|
|
2402
2415
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2403
2416
|
const d = l;
|
|
2404
|
-
s.root = d.root ? `${
|
|
2417
|
+
s.root = d.root ? `${Oo.root} ${d.root}` : Oo.root;
|
|
2405
2418
|
}
|
|
2406
|
-
const i = o.className, c = i ? `${
|
|
2419
|
+
const i = o.className, c = i ? `${Oo.root} ${i}` : Oo.root;
|
|
2407
2420
|
return /* @__PURE__ */ a(
|
|
2408
2421
|
or,
|
|
2409
2422
|
{
|
|
@@ -2416,9 +2429,9 @@ const El = "Group-module__root___ftO64", xo = {
|
|
|
2416
2429
|
);
|
|
2417
2430
|
});
|
|
2418
2431
|
Cn.displayName = "Group";
|
|
2419
|
-
const Fl = "HoverCard-module__dropdown___FBPFW",
|
|
2432
|
+
const Fl = "HoverCard-module__dropdown___FBPFW", Ul = "HoverCard-module__arrow___S9AkE", It = {
|
|
2420
2433
|
dropdown: Fl,
|
|
2421
|
-
arrow:
|
|
2434
|
+
arrow: Ul
|
|
2422
2435
|
}, Pn = function({
|
|
2423
2436
|
overStyled: e = !1,
|
|
2424
2437
|
withBeak: n = !0,
|
|
@@ -2471,40 +2484,40 @@ Tn.displayName = "HoverCardDropdown";
|
|
|
2471
2484
|
const mt = Pn;
|
|
2472
2485
|
mt.Target = gn;
|
|
2473
2486
|
mt.Dropdown = Tn;
|
|
2474
|
-
const
|
|
2475
|
-
root:
|
|
2476
|
-
iconWrapper:
|
|
2477
|
-
labelText:
|
|
2478
|
-
}, $n =
|
|
2487
|
+
const Gl = "Link-module__root___I0VGE", Vl = "Link-module__iconWrapper___W-LlF", Hl = "Link-module__labelText___wSvUy", xo = {
|
|
2488
|
+
root: Gl,
|
|
2489
|
+
iconWrapper: Vl,
|
|
2490
|
+
labelText: Hl
|
|
2491
|
+
}, $n = m(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2479
2492
|
const l = u(t, o), i = l, c = W(
|
|
2480
|
-
{ root:
|
|
2493
|
+
{ root: xo.root },
|
|
2481
2494
|
i.classNames
|
|
2482
|
-
), d = i.className,
|
|
2495
|
+
), d = i.className, p = d ? `${xo.root} ${d}` : xo.root;
|
|
2483
2496
|
return /* @__PURE__ */ z(
|
|
2484
2497
|
tr,
|
|
2485
2498
|
{
|
|
2486
2499
|
ref: s,
|
|
2487
2500
|
...l,
|
|
2488
|
-
className:
|
|
2501
|
+
className: p,
|
|
2489
2502
|
classNames: c,
|
|
2490
2503
|
underline: "never",
|
|
2491
2504
|
...e ? { "data-has-icon": "" } : {},
|
|
2492
2505
|
children: [
|
|
2493
|
-
e && /* @__PURE__ */ a("span", { className:
|
|
2494
|
-
/* @__PURE__ */ a("span", { className:
|
|
2506
|
+
e && /* @__PURE__ */ a("span", { className: xo.iconWrapper, "aria-hidden": !0, children: e }),
|
|
2507
|
+
/* @__PURE__ */ a("span", { className: xo.labelText, children: n })
|
|
2495
2508
|
]
|
|
2496
2509
|
}
|
|
2497
2510
|
);
|
|
2498
2511
|
});
|
|
2499
2512
|
$n.displayName = "Link";
|
|
2500
|
-
const
|
|
2501
|
-
dropdown:
|
|
2502
|
-
item:
|
|
2503
|
-
itemLabel:
|
|
2504
|
-
itemSection:
|
|
2505
|
-
divider:
|
|
2506
|
-
label:
|
|
2507
|
-
chevron:
|
|
2513
|
+
const jl = Te($n), ql = "Menu-module__dropdown___j4xuA", Kl = "Menu-module__item___NMXha", Yl = "Menu-module__itemLabel___zvcqC", Zl = "Menu-module__itemSection___pRIcn", Xl = "Menu-module__divider___wPiNq", Jl = "Menu-module__label___4FBGa", Ql = "Menu-module__chevron___hEEiy", _o = {
|
|
2514
|
+
dropdown: ql,
|
|
2515
|
+
item: Kl,
|
|
2516
|
+
itemLabel: Yl,
|
|
2517
|
+
itemSection: Zl,
|
|
2518
|
+
divider: Xl,
|
|
2519
|
+
label: Jl,
|
|
2520
|
+
chevron: Ql
|
|
2508
2521
|
}, wn = function({ overStyled: e = !1, ...n }) {
|
|
2509
2522
|
const o = u(n, e), t = o, s = W(
|
|
2510
2523
|
{
|
|
@@ -2540,7 +2553,7 @@ const Sn = function({
|
|
|
2540
2553
|
);
|
|
2541
2554
|
};
|
|
2542
2555
|
Sn.displayName = "MenuTarget";
|
|
2543
|
-
const
|
|
2556
|
+
const On = m(
|
|
2544
2557
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2545
2558
|
const t = u(n, e), s = t.className;
|
|
2546
2559
|
return /* @__PURE__ */ a(
|
|
@@ -2553,8 +2566,8 @@ const xn = p(
|
|
|
2553
2566
|
);
|
|
2554
2567
|
}
|
|
2555
2568
|
);
|
|
2556
|
-
|
|
2557
|
-
const
|
|
2569
|
+
On.displayName = "MenuDropdown";
|
|
2570
|
+
const xn = m(
|
|
2558
2571
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2559
2572
|
const t = [
|
|
2560
2573
|
"color"
|
|
@@ -2573,8 +2586,8 @@ const On = p(
|
|
|
2573
2586
|
);
|
|
2574
2587
|
}
|
|
2575
2588
|
);
|
|
2576
|
-
|
|
2577
|
-
const
|
|
2589
|
+
xn.displayName = "MenuItem";
|
|
2590
|
+
const ei = Te(xn), kn = m(
|
|
2578
2591
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2579
2592
|
const t = u(n, e), s = t.className;
|
|
2580
2593
|
return /* @__PURE__ */ a(
|
|
@@ -2588,7 +2601,7 @@ const Ql = Te(On), kn = p(
|
|
|
2588
2601
|
}
|
|
2589
2602
|
);
|
|
2590
2603
|
kn.displayName = "MenuDivider";
|
|
2591
|
-
const Rn =
|
|
2604
|
+
const Rn = m(function({ overStyled: e = !1, ...n }, o) {
|
|
2592
2605
|
const t = u(n, e), s = t.className;
|
|
2593
2606
|
return /* @__PURE__ */ a(
|
|
2594
2607
|
Me.Label,
|
|
@@ -2608,7 +2621,7 @@ const Ln = function(e) {
|
|
|
2608
2621
|
return /* @__PURE__ */ a(Me.Sub.Target, { ...e });
|
|
2609
2622
|
};
|
|
2610
2623
|
Ln.displayName = "MenuSubTarget";
|
|
2611
|
-
const Mn =
|
|
2624
|
+
const Mn = m(
|
|
2612
2625
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2613
2626
|
const t = [
|
|
2614
2627
|
"color"
|
|
@@ -2628,9 +2641,9 @@ const Mn = p(
|
|
|
2628
2641
|
}
|
|
2629
2642
|
);
|
|
2630
2643
|
Mn.displayName = "MenuSubItem";
|
|
2631
|
-
const
|
|
2644
|
+
const oi = Te(
|
|
2632
2645
|
Mn
|
|
2633
|
-
), An =
|
|
2646
|
+
), An = m(
|
|
2634
2647
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2635
2648
|
const t = u(n, e), s = t.className;
|
|
2636
2649
|
return /* @__PURE__ */ a(
|
|
@@ -2646,25 +2659,25 @@ const ei = Te(
|
|
|
2646
2659
|
An.displayName = "MenuSubDropdown";
|
|
2647
2660
|
const Qo = In;
|
|
2648
2661
|
Qo.Target = Ln;
|
|
2649
|
-
Qo.Item =
|
|
2662
|
+
Qo.Item = oi;
|
|
2650
2663
|
Qo.Dropdown = An;
|
|
2651
2664
|
const vo = wn;
|
|
2652
2665
|
vo.Target = Sn;
|
|
2653
|
-
vo.Dropdown =
|
|
2654
|
-
vo.Item =
|
|
2666
|
+
vo.Dropdown = On;
|
|
2667
|
+
vo.Item = ei;
|
|
2655
2668
|
vo.Divider = kn;
|
|
2656
2669
|
vo.Label = Rn;
|
|
2657
2670
|
vo.Sub = Qo;
|
|
2658
|
-
const
|
|
2659
|
-
root:
|
|
2660
|
-
inner:
|
|
2661
|
-
content:
|
|
2662
|
-
header:
|
|
2663
|
-
title:
|
|
2664
|
-
bodyWrapper:
|
|
2665
|
-
scrollArea:
|
|
2666
|
-
footer:
|
|
2667
|
-
close:
|
|
2671
|
+
const ti = "Modal-module__root___ytPLl", ni = "Modal-module__inner___SSUJE", ai = "Modal-module__content___dWO-B", ri = "Modal-module__header___ILG9i", si = "Modal-module__title___A5OeE", li = "Modal-module__bodyWrapper___5CCL-", ii = "Modal-module__scrollArea___KD-hm", ci = "Modal-module__footer___rro2w", di = "Modal-module__close___-ER1C", Ee = {
|
|
2672
|
+
root: ti,
|
|
2673
|
+
inner: ni,
|
|
2674
|
+
content: ai,
|
|
2675
|
+
header: ri,
|
|
2676
|
+
title: si,
|
|
2677
|
+
bodyWrapper: li,
|
|
2678
|
+
scrollArea: ii,
|
|
2679
|
+
footer: ci,
|
|
2680
|
+
close: di
|
|
2668
2681
|
}, zn = U.forwardRef(function({
|
|
2669
2682
|
overStyled: e = !1,
|
|
2670
2683
|
children: n,
|
|
@@ -2675,14 +2688,14 @@ const oi = "Modal-module__root___ytPLl", ti = "Modal-module__inner___SSUJE", ni
|
|
|
2675
2688
|
closeButtonProps: i,
|
|
2676
2689
|
...c
|
|
2677
2690
|
}, d) {
|
|
2678
|
-
const
|
|
2691
|
+
const p = [
|
|
2679
2692
|
"size",
|
|
2680
2693
|
// Modal width/height are enforced via CSS module tokens (min/max-width, min/max-height), not Mantine's `size` scale.
|
|
2681
2694
|
"radius"
|
|
2682
2695
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2683
2696
|
], _ = E(
|
|
2684
2697
|
u(c, e),
|
|
2685
|
-
|
|
2698
|
+
p
|
|
2686
2699
|
), $ = W(
|
|
2687
2700
|
{
|
|
2688
2701
|
root: Ee.root,
|
|
@@ -2730,10 +2743,10 @@ const _t = U.forwardRef(
|
|
|
2730
2743
|
_t.displayName = "Modal.Footer";
|
|
2731
2744
|
const ft = U.forwardRef(
|
|
2732
2745
|
function({ overStyled: e = !1, className: n, onScroll: o, children: t, ...s }, l) {
|
|
2733
|
-
const i = u(s, e), c = U.useRef(null), [d,
|
|
2746
|
+
const i = u(s, e), c = U.useRef(null), [d, p] = U.useState(!1), [_, $] = U.useState(!1), y = U.useCallback(() => {
|
|
2734
2747
|
if (c.current) {
|
|
2735
2748
|
const { scrollTop: N, scrollHeight: w, clientHeight: T } = c.current;
|
|
2736
|
-
|
|
2749
|
+
p(N > 0), $(Math.ceil(N + T) < w);
|
|
2737
2750
|
}
|
|
2738
2751
|
}, []);
|
|
2739
2752
|
U.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, t]);
|
|
@@ -2741,10 +2754,10 @@ const ft = U.forwardRef(
|
|
|
2741
2754
|
y(), o == null || o(N);
|
|
2742
2755
|
};
|
|
2743
2756
|
let h = null;
|
|
2744
|
-
const
|
|
2757
|
+
const O = [];
|
|
2745
2758
|
return U.Children.forEach(t, (N) => {
|
|
2746
2759
|
var w;
|
|
2747
|
-
U.isValidElement(N) && (N.type === _t || ((w = N.type) == null ? void 0 : w.displayName) === "Modal.Footer") ? h = N :
|
|
2760
|
+
U.isValidElement(N) && (N.type === _t || ((w = N.type) == null ? void 0 : w.displayName) === "Modal.Footer") ? h = N : O.push(N);
|
|
2748
2761
|
}), /* @__PURE__ */ z(
|
|
2749
2762
|
ye.Body,
|
|
2750
2763
|
{
|
|
@@ -2762,7 +2775,7 @@ const ft = U.forwardRef(
|
|
|
2762
2775
|
"data-scrolled-top": d || void 0,
|
|
2763
2776
|
"data-scrolled-bottom": _ || void 0,
|
|
2764
2777
|
className: Ee.scrollArea,
|
|
2765
|
-
children:
|
|
2778
|
+
children: O
|
|
2766
2779
|
}
|
|
2767
2780
|
),
|
|
2768
2781
|
h
|
|
@@ -2772,7 +2785,7 @@ const ft = U.forwardRef(
|
|
|
2772
2785
|
}
|
|
2773
2786
|
);
|
|
2774
2787
|
ft.displayName = "Modal.Body";
|
|
2775
|
-
const
|
|
2788
|
+
const ui = [
|
|
2776
2789
|
"size",
|
|
2777
2790
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2778
2791
|
"radius"
|
|
@@ -2781,7 +2794,7 @@ const di = [
|
|
|
2781
2794
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2782
2795
|
const t = E(
|
|
2783
2796
|
u(n, e),
|
|
2784
|
-
|
|
2797
|
+
ui
|
|
2785
2798
|
);
|
|
2786
2799
|
return /* @__PURE__ */ a(
|
|
2787
2800
|
ye.Root,
|
|
@@ -2806,13 +2819,13 @@ const Dn = U.forwardRef(
|
|
|
2806
2819
|
}
|
|
2807
2820
|
);
|
|
2808
2821
|
Dn.displayName = "Modal.Overlay";
|
|
2809
|
-
const
|
|
2822
|
+
const pi = [
|
|
2810
2823
|
"radius"
|
|
2811
2824
|
], En = U.forwardRef(
|
|
2812
2825
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2813
2826
|
const t = E(
|
|
2814
2827
|
u(n, e),
|
|
2815
|
-
|
|
2828
|
+
pi
|
|
2816
2829
|
);
|
|
2817
2830
|
return /* @__PURE__ */ a(
|
|
2818
2831
|
ye.Content,
|
|
@@ -2824,7 +2837,7 @@ const ui = [
|
|
|
2824
2837
|
}
|
|
2825
2838
|
);
|
|
2826
2839
|
En.displayName = "Modal.Content";
|
|
2827
|
-
const
|
|
2840
|
+
const Bn = U.forwardRef(
|
|
2828
2841
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2829
2842
|
const t = u(n, e);
|
|
2830
2843
|
return /* @__PURE__ */ a(
|
|
@@ -2836,8 +2849,8 @@ const Fn = U.forwardRef(
|
|
|
2836
2849
|
);
|
|
2837
2850
|
}
|
|
2838
2851
|
);
|
|
2839
|
-
|
|
2840
|
-
const
|
|
2852
|
+
Bn.displayName = "Modal.Header";
|
|
2853
|
+
const Fn = U.forwardRef(
|
|
2841
2854
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2842
2855
|
const t = u(n, e);
|
|
2843
2856
|
return /* @__PURE__ */ a(
|
|
@@ -2849,14 +2862,14 @@ const Bn = U.forwardRef(
|
|
|
2849
2862
|
);
|
|
2850
2863
|
}
|
|
2851
2864
|
);
|
|
2852
|
-
|
|
2853
|
-
const
|
|
2865
|
+
Fn.displayName = "Modal.Title";
|
|
2866
|
+
const mi = [
|
|
2854
2867
|
"size",
|
|
2855
2868
|
"radius"
|
|
2856
2869
|
], Un = U.forwardRef(function({ overStyled: e = !1, ...n }, o) {
|
|
2857
2870
|
const t = E(
|
|
2858
2871
|
u(n, e),
|
|
2859
|
-
|
|
2872
|
+
mi
|
|
2860
2873
|
);
|
|
2861
2874
|
return /* @__PURE__ */ a(
|
|
2862
2875
|
ye.CloseButton,
|
|
@@ -2871,26 +2884,26 @@ const je = zn;
|
|
|
2871
2884
|
je.Root = Wn;
|
|
2872
2885
|
je.Overlay = Dn;
|
|
2873
2886
|
je.Content = En;
|
|
2874
|
-
je.Header =
|
|
2875
|
-
je.Title =
|
|
2887
|
+
je.Header = Bn;
|
|
2888
|
+
je.Title = Fn;
|
|
2876
2889
|
je.CloseButton = Un;
|
|
2877
2890
|
je.Body = ft;
|
|
2878
2891
|
je.Footer = _t;
|
|
2879
|
-
const
|
|
2880
|
-
layoutOverride:
|
|
2881
|
-
root:
|
|
2882
|
-
input:
|
|
2883
|
-
section:
|
|
2884
|
-
controls:
|
|
2885
|
-
control:
|
|
2886
|
-
},
|
|
2892
|
+
const _i = "NumberInput-module__layoutOverride___5-9T4", fi = "NumberInput-module__root___C6rAn", yi = "NumberInput-module__input___Ss8p7", hi = "NumberInput-module__section___MijP0", vi = "NumberInput-module__controls___8UfQ2", Ni = "NumberInput-module__control___Qre9-", fo = {
|
|
2893
|
+
layoutOverride: _i,
|
|
2894
|
+
root: fi,
|
|
2895
|
+
input: yi,
|
|
2896
|
+
section: hi,
|
|
2897
|
+
controls: vi,
|
|
2898
|
+
control: Ni
|
|
2899
|
+
}, bi = [
|
|
2887
2900
|
"size",
|
|
2888
2901
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
2889
2902
|
"variant",
|
|
2890
2903
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
2891
2904
|
"radius"
|
|
2892
2905
|
// Recursica does not expose the library's native corner-radius system.
|
|
2893
|
-
], Gn =
|
|
2906
|
+
], Gn = m(
|
|
2894
2907
|
function(e, n) {
|
|
2895
2908
|
const {
|
|
2896
2909
|
overStyled: o = !1,
|
|
@@ -2901,13 +2914,13 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2901
2914
|
labelOptionalText: i,
|
|
2902
2915
|
labelWithEditIcon: c,
|
|
2903
2916
|
onLabelEditClick: d,
|
|
2904
|
-
label:
|
|
2917
|
+
label: p,
|
|
2905
2918
|
assistiveText: _,
|
|
2906
2919
|
assistiveWithIcon: $,
|
|
2907
2920
|
error: y,
|
|
2908
2921
|
required: v,
|
|
2909
2922
|
withAsterisk: h,
|
|
2910
|
-
id:
|
|
2923
|
+
id: O,
|
|
2911
2924
|
className: N,
|
|
2912
2925
|
style: w,
|
|
2913
2926
|
disabled: T,
|
|
@@ -2916,23 +2929,23 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2916
2929
|
emptyValueComponent: f,
|
|
2917
2930
|
value: b,
|
|
2918
2931
|
defaultValue: C,
|
|
2919
|
-
hideControls:
|
|
2932
|
+
hideControls: x = !1,
|
|
2920
2933
|
...R
|
|
2921
2934
|
} = e, D = E(
|
|
2922
2935
|
u(R, o),
|
|
2923
|
-
|
|
2924
|
-
),
|
|
2936
|
+
bi
|
|
2937
|
+
), A = D, L = {
|
|
2925
2938
|
wrapper: fo.root,
|
|
2926
2939
|
// The nested Input internal relative wrapper bounding box
|
|
2927
2940
|
input: fo.input,
|
|
2928
2941
|
section: fo.section,
|
|
2929
2942
|
controls: fo.controls,
|
|
2930
2943
|
control: fo.control
|
|
2931
|
-
},
|
|
2944
|
+
}, F = N ? `${fo.layoutOverride} ${N}` : fo.layoutOverride;
|
|
2932
2945
|
return /* @__PURE__ */ a(
|
|
2933
2946
|
he,
|
|
2934
2947
|
{
|
|
2935
|
-
className:
|
|
2948
|
+
className: F,
|
|
2936
2949
|
style: w,
|
|
2937
2950
|
controlMaxWidth: "var(--number-input-control-max-width)",
|
|
2938
2951
|
controlMinWidth: "var(--number-input-control-min-width)",
|
|
@@ -2943,13 +2956,13 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2943
2956
|
labelOptionalText: i,
|
|
2944
2957
|
labelWithEditIcon: c,
|
|
2945
2958
|
onLabelEditClick: d,
|
|
2946
|
-
label:
|
|
2959
|
+
label: p,
|
|
2947
2960
|
assistiveText: _,
|
|
2948
2961
|
assistiveWithIcon: $,
|
|
2949
2962
|
error: y,
|
|
2950
2963
|
required: v,
|
|
2951
2964
|
withAsterisk: h,
|
|
2952
|
-
id:
|
|
2965
|
+
id: O,
|
|
2953
2966
|
readOnly: g,
|
|
2954
2967
|
readOnlyComponent: P,
|
|
2955
2968
|
emptyValueComponent: f,
|
|
@@ -2963,11 +2976,11 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2963
2976
|
{
|
|
2964
2977
|
ref: n,
|
|
2965
2978
|
...D,
|
|
2966
|
-
classNames:
|
|
2979
|
+
classNames: L,
|
|
2967
2980
|
disabled: T,
|
|
2968
2981
|
value: b,
|
|
2969
2982
|
defaultValue: C,
|
|
2970
|
-
hideControls:
|
|
2983
|
+
hideControls: x,
|
|
2971
2984
|
label: void 0,
|
|
2972
2985
|
description: void 0,
|
|
2973
2986
|
error: void 0,
|
|
@@ -2976,8 +2989,8 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2976
2989
|
wrapperProps: {
|
|
2977
2990
|
"data-disabled": T ? "true" : void 0,
|
|
2978
2991
|
"data-error": y ? "true" : void 0,
|
|
2979
|
-
"data-with-left-section":
|
|
2980
|
-
"data-with-right-section":
|
|
2992
|
+
"data-with-left-section": A.leftSection ? "true" : void 0,
|
|
2993
|
+
"data-with-right-section": A.rightSection || !x ? "true" : void 0
|
|
2981
2994
|
}
|
|
2982
2995
|
}
|
|
2983
2996
|
)
|
|
@@ -2987,16 +3000,16 @@ const mi = "NumberInput-module__layoutOverride___5-9T4", _i = "NumberInput-modul
|
|
|
2987
3000
|
}
|
|
2988
3001
|
);
|
|
2989
3002
|
Gn.displayName = "NumberInput";
|
|
2990
|
-
const
|
|
2991
|
-
root:
|
|
2992
|
-
control:
|
|
2993
|
-
dots:
|
|
2994
|
-
iconWithLabel:
|
|
2995
|
-
baseIcon:
|
|
2996
|
-
},
|
|
2997
|
-
next:
|
|
2998
|
-
prev:
|
|
2999
|
-
first:
|
|
3003
|
+
const Ci = "Pagination-module__root___ITRjt", Pi = "Pagination-module__control___40yNT", gi = "Pagination-module__dots___Yl9da", Ti = "Pagination-module__iconWithLabel___pLM4O", $i = "Pagination-module__baseIcon___Qw3bJ", Le = {
|
|
3004
|
+
root: Ci,
|
|
3005
|
+
control: Pi,
|
|
3006
|
+
dots: gi,
|
|
3007
|
+
iconWithLabel: Ti,
|
|
3008
|
+
baseIcon: $i
|
|
3009
|
+
}, wi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Si = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Oi = "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", xi = "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", ki = {
|
|
3010
|
+
next: wi,
|
|
3011
|
+
prev: Si,
|
|
3012
|
+
first: Oi,
|
|
3000
3013
|
last: xi
|
|
3001
3014
|
}, zo = ({
|
|
3002
3015
|
type: r,
|
|
@@ -3009,7 +3022,7 @@ const bi = "Pagination-module__root___ITRjt", Ci = "Pagination-module__control__
|
|
|
3009
3022
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3010
3023
|
className: `${Le.baseIcon} ${e || ""}`.trim(),
|
|
3011
3024
|
...n,
|
|
3012
|
-
children: /* @__PURE__ */ a("path", { d:
|
|
3025
|
+
children: /* @__PURE__ */ a("path", { d: ki[r], fill: "currentColor" })
|
|
3013
3026
|
}
|
|
3014
3027
|
), Vn = (r) => /* @__PURE__ */ z("div", { className: Le.iconWithLabel, children: [
|
|
3015
3028
|
/* @__PURE__ */ a("span", { children: "Next" }),
|
|
@@ -3035,7 +3048,7 @@ function Kn(r) {
|
|
|
3035
3048
|
), n = r.className;
|
|
3036
3049
|
return { className: n ? `${Le.root} ${n}` : Le.root, classNames: e };
|
|
3037
3050
|
}
|
|
3038
|
-
const Yn =
|
|
3051
|
+
const Yn = m(
|
|
3039
3052
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3040
3053
|
const t = u(n, e), s = Kn(
|
|
3041
3054
|
t
|
|
@@ -3052,7 +3065,7 @@ const Yn = p(
|
|
|
3052
3065
|
}
|
|
3053
3066
|
);
|
|
3054
3067
|
Yn.displayName = "Pagination.Root";
|
|
3055
|
-
const Zn =
|
|
3068
|
+
const Zn = m(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3056
3069
|
const l = u(t, e), i = n ? Vn : void 0;
|
|
3057
3070
|
return /* @__PURE__ */ a(
|
|
3058
3071
|
Ge.Next,
|
|
@@ -3060,12 +3073,12 @@ const Zn = p(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
|
3060
3073
|
ref: s,
|
|
3061
3074
|
...l,
|
|
3062
3075
|
"data-variant": "text",
|
|
3063
|
-
icon:
|
|
3076
|
+
icon: pe(i, o)
|
|
3064
3077
|
}
|
|
3065
3078
|
);
|
|
3066
3079
|
});
|
|
3067
3080
|
Zn.displayName = "Pagination.Next";
|
|
3068
|
-
const Xn =
|
|
3081
|
+
const Xn = m(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3069
3082
|
const l = u(t, e), i = n ? Hn : void 0;
|
|
3070
3083
|
return /* @__PURE__ */ a(
|
|
3071
3084
|
Ge.Previous,
|
|
@@ -3073,12 +3086,12 @@ const Xn = p(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
|
3073
3086
|
ref: s,
|
|
3074
3087
|
...l,
|
|
3075
3088
|
"data-variant": "text",
|
|
3076
|
-
icon:
|
|
3089
|
+
icon: pe(i, o)
|
|
3077
3090
|
}
|
|
3078
3091
|
);
|
|
3079
3092
|
});
|
|
3080
3093
|
Xn.displayName = "Pagination.Previous";
|
|
3081
|
-
const Jn =
|
|
3094
|
+
const Jn = m(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3082
3095
|
const l = u(t, e), i = n ? jn : void 0;
|
|
3083
3096
|
return /* @__PURE__ */ a(
|
|
3084
3097
|
Ge.First,
|
|
@@ -3086,12 +3099,12 @@ const Jn = p(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
|
3086
3099
|
ref: s,
|
|
3087
3100
|
...l,
|
|
3088
3101
|
"data-variant": "text",
|
|
3089
|
-
icon:
|
|
3102
|
+
icon: pe(i, o)
|
|
3090
3103
|
}
|
|
3091
3104
|
);
|
|
3092
3105
|
});
|
|
3093
3106
|
Jn.displayName = "Pagination.First";
|
|
3094
|
-
const Qn =
|
|
3107
|
+
const Qn = m(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3095
3108
|
const l = u(t, e), i = n ? qn : void 0;
|
|
3096
3109
|
return /* @__PURE__ */ a(
|
|
3097
3110
|
Ge.Last,
|
|
@@ -3099,18 +3112,18 @@ const Qn = p(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
|
3099
3112
|
ref: s,
|
|
3100
3113
|
...l,
|
|
3101
3114
|
"data-variant": "text",
|
|
3102
|
-
icon:
|
|
3115
|
+
icon: pe(i, o)
|
|
3103
3116
|
}
|
|
3104
3117
|
);
|
|
3105
3118
|
});
|
|
3106
3119
|
Qn.displayName = "Pagination.Last";
|
|
3107
|
-
const ea =
|
|
3120
|
+
const ea = m(
|
|
3108
3121
|
function({ overStyled: e = !1, getControlProps: n, withLabels: o, ...t }, s) {
|
|
3109
3122
|
const l = u(t, e), i = Kn(
|
|
3110
3123
|
l
|
|
3111
|
-
), c = (
|
|
3124
|
+
), c = (p) => {
|
|
3112
3125
|
const _ = { "data-variant": "text" };
|
|
3113
|
-
return n ? { ..._, ...n(
|
|
3126
|
+
return n ? { ..._, ...n(p) } : _;
|
|
3114
3127
|
};
|
|
3115
3128
|
return /* @__PURE__ */ a(
|
|
3116
3129
|
Ge,
|
|
@@ -3131,7 +3144,7 @@ const ea = p(
|
|
|
3131
3144
|
}
|
|
3132
3145
|
);
|
|
3133
3146
|
ea.displayName = "Pagination";
|
|
3134
|
-
const oa =
|
|
3147
|
+
const oa = m(function({ overStyled: e = !1, ...n }, o) {
|
|
3135
3148
|
const t = u(n, e);
|
|
3136
3149
|
return /* @__PURE__ */ a(
|
|
3137
3150
|
Ge.Control,
|
|
@@ -3142,7 +3155,7 @@ const oa = p(function({ overStyled: e = !1, ...n }, o) {
|
|
|
3142
3155
|
);
|
|
3143
3156
|
});
|
|
3144
3157
|
oa.displayName = "Pagination.Control";
|
|
3145
|
-
const ta =
|
|
3158
|
+
const ta = m(
|
|
3146
3159
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3147
3160
|
const t = u(n, e);
|
|
3148
3161
|
return /* @__PURE__ */ a(
|
|
@@ -3165,14 +3178,14 @@ Ae.Previous = Xn;
|
|
|
3165
3178
|
Ae.First = Jn;
|
|
3166
3179
|
Ae.Last = Qn;
|
|
3167
3180
|
Ae.Icon = zo;
|
|
3168
|
-
const
|
|
3169
|
-
content:
|
|
3170
|
-
inner:
|
|
3171
|
-
header:
|
|
3172
|
-
title:
|
|
3173
|
-
titleTruncate:
|
|
3174
|
-
body:
|
|
3175
|
-
footer:
|
|
3181
|
+
const Ri = "Panel-module__content___wdGo-", Ii = "Panel-module__inner___ruA2b", Li = "Panel-module__header___o7SiC", Mi = "Panel-module__title___181OP", Ai = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", zi = "Panel-module__body___SEC3T", Wi = "Panel-module__footer___t6-hz", no = {
|
|
3182
|
+
content: Ri,
|
|
3183
|
+
inner: Ii,
|
|
3184
|
+
header: Li,
|
|
3185
|
+
title: Mi,
|
|
3186
|
+
titleTruncate: Ai,
|
|
3187
|
+
body: zi,
|
|
3188
|
+
footer: Wi
|
|
3176
3189
|
}, na = function({
|
|
3177
3190
|
overStyled: e = !1,
|
|
3178
3191
|
placement: n = "right",
|
|
@@ -3196,7 +3209,7 @@ const ki = "Panel-module__content___wdGo-", Ri = "Panel-module__inner___ruA2b",
|
|
|
3196
3209
|
...l,
|
|
3197
3210
|
position: n,
|
|
3198
3211
|
keepMounted: o,
|
|
3199
|
-
closeOnClickOutside:
|
|
3212
|
+
closeOnClickOutside: pe(
|
|
3200
3213
|
!!s.opened,
|
|
3201
3214
|
s.closeOnClickOutside
|
|
3202
3215
|
),
|
|
@@ -3205,14 +3218,14 @@ const ki = "Panel-module__content___wdGo-", Ri = "Panel-module__inner___ruA2b",
|
|
|
3205
3218
|
);
|
|
3206
3219
|
};
|
|
3207
3220
|
na.displayName = "Panel";
|
|
3208
|
-
const yt =
|
|
3221
|
+
const yt = m(
|
|
3209
3222
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3210
3223
|
const t = u(n, e), s = t.className, l = s ? `${no.footer} ${s}` : no.footer;
|
|
3211
3224
|
return /* @__PURE__ */ a("div", { ref: o, ...t, className: l });
|
|
3212
3225
|
}
|
|
3213
3226
|
);
|
|
3214
3227
|
yt.displayName = "PanelFooter";
|
|
3215
|
-
const aa =
|
|
3228
|
+
const aa = m(
|
|
3216
3229
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3217
3230
|
const t = u(n, e);
|
|
3218
3231
|
return /* @__PURE__ */ a(
|
|
@@ -3225,7 +3238,7 @@ const aa = p(
|
|
|
3225
3238
|
}
|
|
3226
3239
|
);
|
|
3227
3240
|
aa.displayName = "PanelRoot";
|
|
3228
|
-
const ra =
|
|
3241
|
+
const ra = m(
|
|
3229
3242
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3230
3243
|
const t = u(n, e);
|
|
3231
3244
|
return /* @__PURE__ */ a(
|
|
@@ -3238,7 +3251,7 @@ const ra = p(
|
|
|
3238
3251
|
}
|
|
3239
3252
|
);
|
|
3240
3253
|
ra.displayName = "PanelOverlay";
|
|
3241
|
-
const sa =
|
|
3254
|
+
const sa = m(
|
|
3242
3255
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3243
3256
|
const t = u(n, e);
|
|
3244
3257
|
return /* @__PURE__ */ a(
|
|
@@ -3251,7 +3264,7 @@ const sa = p(
|
|
|
3251
3264
|
}
|
|
3252
3265
|
);
|
|
3253
3266
|
sa.displayName = "PanelContent";
|
|
3254
|
-
const la =
|
|
3267
|
+
const la = m(
|
|
3255
3268
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3256
3269
|
const t = u(n, e);
|
|
3257
3270
|
return /* @__PURE__ */ a(
|
|
@@ -3264,7 +3277,7 @@ const la = p(
|
|
|
3264
3277
|
}
|
|
3265
3278
|
);
|
|
3266
3279
|
la.displayName = "PanelHeader";
|
|
3267
|
-
const ia =
|
|
3280
|
+
const ia = m(
|
|
3268
3281
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3269
3282
|
const t = u(n, e);
|
|
3270
3283
|
return /* @__PURE__ */ a(
|
|
@@ -3277,7 +3290,7 @@ const ia = p(
|
|
|
3277
3290
|
}
|
|
3278
3291
|
);
|
|
3279
3292
|
ia.displayName = "PanelTitle";
|
|
3280
|
-
const ca =
|
|
3293
|
+
const ca = m(function({ overStyled: e = !1, ...n }, o) {
|
|
3281
3294
|
const t = u(n, e);
|
|
3282
3295
|
return /* @__PURE__ */ a(
|
|
3283
3296
|
Ve.CloseButton,
|
|
@@ -3288,7 +3301,7 @@ const ca = p(function({ overStyled: e = !1, ...n }, o) {
|
|
|
3288
3301
|
);
|
|
3289
3302
|
});
|
|
3290
3303
|
ca.displayName = "PanelCloseButton";
|
|
3291
|
-
const da =
|
|
3304
|
+
const da = m(
|
|
3292
3305
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3293
3306
|
const t = u(n, e);
|
|
3294
3307
|
return /* @__PURE__ */ a(
|
|
@@ -3311,9 +3324,9 @@ ze.CloseButton = ca;
|
|
|
3311
3324
|
ze.Body = da;
|
|
3312
3325
|
ze.Stack = Ve.Stack;
|
|
3313
3326
|
ze.Footer = yt;
|
|
3314
|
-
const
|
|
3315
|
-
dropdown:
|
|
3316
|
-
arrow:
|
|
3327
|
+
const Di = "Popover-module__dropdown___svhS6", Ei = "Popover-module__arrow___5A-0e", Lt = {
|
|
3328
|
+
dropdown: Di,
|
|
3329
|
+
arrow: Ei
|
|
3317
3330
|
}, ua = function({
|
|
3318
3331
|
overStyled: e = !1,
|
|
3319
3332
|
withBeak: n = !0,
|
|
@@ -3324,10 +3337,10 @@ const Wi = "Popover-module__dropdown___svhS6", Di = "Popover-module__arrow___5A-
|
|
|
3324
3337
|
const s = u(t, e), l = s, i = W(
|
|
3325
3338
|
{ dropdown: Lt.dropdown, arrow: Lt.arrow },
|
|
3326
3339
|
l.classNames
|
|
3327
|
-
), c =
|
|
3340
|
+
), c = pe(
|
|
3328
3341
|
16,
|
|
3329
3342
|
l.arrowSize
|
|
3330
|
-
), d =
|
|
3343
|
+
), d = pe(
|
|
3331
3344
|
n,
|
|
3332
3345
|
l.withArrow
|
|
3333
3346
|
);
|
|
@@ -3364,16 +3377,16 @@ ma.displayName = "PopoverDropdown";
|
|
|
3364
3377
|
const ht = ua;
|
|
3365
3378
|
ht.Target = pa;
|
|
3366
3379
|
ht.Dropdown = ma;
|
|
3367
|
-
const
|
|
3368
|
-
groupRoot:
|
|
3380
|
+
const Bi = "Radio-module__groupRoot___bfUii", Fi = "Radio-module__root___kAjTD", Ui = "Radio-module__body___q2Wpj", Gi = "Radio-module__inner___QaTBB", Vi = "Radio-module__radio___MfgN-", Hi = "Radio-module__icon___DWznm", ji = "Radio-module__labelWrapper___dB0Gi", qi = "Radio-module__label___vAFIP", ke = {
|
|
3381
|
+
groupRoot: Bi,
|
|
3369
3382
|
root: Fi,
|
|
3370
|
-
body:
|
|
3371
|
-
inner:
|
|
3372
|
-
radio:
|
|
3373
|
-
icon:
|
|
3374
|
-
labelWrapper:
|
|
3375
|
-
label:
|
|
3376
|
-
}, vt =
|
|
3383
|
+
body: Ui,
|
|
3384
|
+
inner: Gi,
|
|
3385
|
+
radio: Vi,
|
|
3386
|
+
icon: Hi,
|
|
3387
|
+
labelWrapper: ji,
|
|
3388
|
+
label: qi
|
|
3389
|
+
}, vt = m(
|
|
3377
3390
|
function(e, n) {
|
|
3378
3391
|
const {
|
|
3379
3392
|
overStyled: o = !1,
|
|
@@ -3385,13 +3398,13 @@ const Ei = "Radio-module__groupRoot___bfUii", Fi = "Radio-module__root___kAjTD",
|
|
|
3385
3398
|
labelWithEditIcon: c,
|
|
3386
3399
|
onLabelEditClick: d,
|
|
3387
3400
|
// Base Mantine Extracted Attributes
|
|
3388
|
-
label:
|
|
3401
|
+
label: p,
|
|
3389
3402
|
description: _,
|
|
3390
3403
|
assistiveText: $,
|
|
3391
3404
|
assistiveWithIcon: y,
|
|
3392
3405
|
error: v,
|
|
3393
3406
|
required: h,
|
|
3394
|
-
withAsterisk:
|
|
3407
|
+
withAsterisk: O,
|
|
3395
3408
|
id: N,
|
|
3396
3409
|
className: w,
|
|
3397
3410
|
style: T,
|
|
@@ -3400,15 +3413,15 @@ const Ei = "Radio-module__groupRoot___bfUii", Fi = "Radio-module__root___kAjTD",
|
|
|
3400
3413
|
readOnlyComponent: f,
|
|
3401
3414
|
emptyValueComponent: b,
|
|
3402
3415
|
value: C,
|
|
3403
|
-
defaultValue:
|
|
3416
|
+
defaultValue: x,
|
|
3404
3417
|
...R
|
|
3405
3418
|
} = e, D = [
|
|
3406
3419
|
"size"
|
|
3407
3420
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3408
|
-
],
|
|
3421
|
+
], A = E(
|
|
3409
3422
|
u(R, o),
|
|
3410
3423
|
D
|
|
3411
|
-
),
|
|
3424
|
+
), L = A;
|
|
3412
3425
|
return /* @__PURE__ */ a(
|
|
3413
3426
|
he,
|
|
3414
3427
|
{
|
|
@@ -3424,28 +3437,28 @@ const Ei = "Radio-module__groupRoot___bfUii", Fi = "Radio-module__root___kAjTD",
|
|
|
3424
3437
|
labelOptionalText: i,
|
|
3425
3438
|
labelWithEditIcon: c,
|
|
3426
3439
|
onLabelEditClick: d,
|
|
3427
|
-
label:
|
|
3440
|
+
label: p,
|
|
3428
3441
|
description: _,
|
|
3429
3442
|
assistiveText: $,
|
|
3430
3443
|
assistiveWithIcon: y,
|
|
3431
3444
|
error: v,
|
|
3432
3445
|
required: h,
|
|
3433
|
-
withAsterisk:
|
|
3446
|
+
withAsterisk: O,
|
|
3434
3447
|
id: N,
|
|
3435
3448
|
readOnly: P && !!f,
|
|
3436
3449
|
readOnlyComponent: f,
|
|
3437
3450
|
emptyValueComponent: b,
|
|
3438
3451
|
readOnlyType: "text",
|
|
3439
|
-
readOnlyValue: C !== void 0 ? C :
|
|
3452
|
+
readOnlyValue: C !== void 0 ? C : x,
|
|
3440
3453
|
readOnlyNativeProps: e,
|
|
3441
3454
|
activeComponent: /* @__PURE__ */ a(
|
|
3442
3455
|
Gt.Group,
|
|
3443
3456
|
{
|
|
3444
3457
|
ref: n,
|
|
3445
|
-
...
|
|
3446
|
-
disabled: P ||
|
|
3458
|
+
...A,
|
|
3459
|
+
disabled: P || L.disabled,
|
|
3447
3460
|
value: C,
|
|
3448
|
-
defaultValue:
|
|
3461
|
+
defaultValue: x,
|
|
3449
3462
|
children: /* @__PURE__ */ a("div", { className: ke.groupRoot, "data-layout": t, children: g })
|
|
3450
3463
|
}
|
|
3451
3464
|
)
|
|
@@ -3454,7 +3467,7 @@ const Ei = "Radio-module__groupRoot___bfUii", Fi = "Radio-module__root___kAjTD",
|
|
|
3454
3467
|
}
|
|
3455
3468
|
);
|
|
3456
3469
|
vt.displayName = "RadioGroup";
|
|
3457
|
-
const
|
|
3470
|
+
const Ki = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
3458
3471
|
"svg",
|
|
3459
3472
|
{
|
|
3460
3473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3464,7 +3477,7 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3464
3477
|
style: e,
|
|
3465
3478
|
children: /* @__PURE__ */ a("circle", { cx: "8", cy: "8", r: "5" })
|
|
3466
3479
|
}
|
|
3467
|
-
), Nt =
|
|
3480
|
+
), Nt = m(
|
|
3468
3481
|
function(e, n) {
|
|
3469
3482
|
const {
|
|
3470
3483
|
overStyled: o = !1,
|
|
@@ -3474,7 +3487,7 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3474
3487
|
icon: i,
|
|
3475
3488
|
formLayout: c,
|
|
3476
3489
|
labelSize: d,
|
|
3477
|
-
controlMaxWidth:
|
|
3490
|
+
controlMaxWidth: p,
|
|
3478
3491
|
controlMinWidth: _,
|
|
3479
3492
|
...$
|
|
3480
3493
|
} = e, y = [
|
|
@@ -3491,7 +3504,7 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3491
3504
|
], v = E(
|
|
3492
3505
|
u($, o),
|
|
3493
3506
|
y
|
|
3494
|
-
), h = v,
|
|
3507
|
+
), h = v, O = W(
|
|
3495
3508
|
{
|
|
3496
3509
|
root: ke.root,
|
|
3497
3510
|
body: ke.body,
|
|
@@ -3513,11 +3526,11 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3513
3526
|
}
|
|
3514
3527
|
);
|
|
3515
3528
|
return c ? /* @__PURE__ */ a(
|
|
3516
|
-
|
|
3529
|
+
Fe,
|
|
3517
3530
|
{
|
|
3518
3531
|
formLayout: c,
|
|
3519
3532
|
labelSize: d,
|
|
3520
|
-
controlMaxWidth:
|
|
3533
|
+
controlMaxWidth: p,
|
|
3521
3534
|
controlMinWidth: _,
|
|
3522
3535
|
children: f
|
|
3523
3536
|
}
|
|
@@ -3528,18 +3541,18 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3528
3541
|
{
|
|
3529
3542
|
ref: n,
|
|
3530
3543
|
...v,
|
|
3531
|
-
icon:
|
|
3544
|
+
icon: pe(Ki, i),
|
|
3532
3545
|
className: w,
|
|
3533
|
-
classNames:
|
|
3546
|
+
classNames: O,
|
|
3534
3547
|
disabled: t || l
|
|
3535
3548
|
}
|
|
3536
3549
|
);
|
|
3537
3550
|
return c ? /* @__PURE__ */ a(
|
|
3538
|
-
|
|
3551
|
+
Fe,
|
|
3539
3552
|
{
|
|
3540
3553
|
formLayout: c,
|
|
3541
3554
|
labelSize: d,
|
|
3542
|
-
controlMaxWidth:
|
|
3555
|
+
controlMaxWidth: p,
|
|
3543
3556
|
controlMinWidth: _,
|
|
3544
3557
|
children: T
|
|
3545
3558
|
}
|
|
@@ -3548,13 +3561,13 @@ const qi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3548
3561
|
);
|
|
3549
3562
|
Nt.displayName = "Radio";
|
|
3550
3563
|
Nt.Group = vt;
|
|
3551
|
-
const
|
|
3552
|
-
root:
|
|
3553
|
-
label:
|
|
3554
|
-
control:
|
|
3555
|
-
indicator:
|
|
3564
|
+
const Yi = "SegmentedControl-module__root___JFRhg", Zi = "SegmentedControl-module__label___mS17q", Xi = "SegmentedControl-module__control___znOdQ", Ji = "SegmentedControl-module__indicator___ZMcJy", Co = {
|
|
3565
|
+
root: Yi,
|
|
3566
|
+
label: Zi,
|
|
3567
|
+
control: Xi,
|
|
3568
|
+
indicator: Ji
|
|
3556
3569
|
};
|
|
3557
|
-
function
|
|
3570
|
+
function Qi(r) {
|
|
3558
3571
|
const e = W(
|
|
3559
3572
|
{
|
|
3560
3573
|
root: Co.root,
|
|
@@ -3566,7 +3579,7 @@ function Ji(r) {
|
|
|
3566
3579
|
), n = r.className;
|
|
3567
3580
|
return { className: n ? `${Co.root} ${n}` : Co.root, classNames: e };
|
|
3568
3581
|
}
|
|
3569
|
-
const _a =
|
|
3582
|
+
const _a = m(
|
|
3570
3583
|
function({ overStyled: e = !1, orientation: n = "horizontal", fullWidth: o, ...t }, s) {
|
|
3571
3584
|
const l = [
|
|
3572
3585
|
// SegmentedControl only supports per-item disabling via the `data` array (each item may set
|
|
@@ -3577,7 +3590,7 @@ const _a = p(
|
|
|
3577
3590
|
], i = E(
|
|
3578
3591
|
u(t, e),
|
|
3579
3592
|
l
|
|
3580
|
-
), d =
|
|
3593
|
+
), d = Qi(i);
|
|
3581
3594
|
return /* @__PURE__ */ a(
|
|
3582
3595
|
ar,
|
|
3583
3596
|
{
|
|
@@ -3593,23 +3606,23 @@ const _a = p(
|
|
|
3593
3606
|
}
|
|
3594
3607
|
);
|
|
3595
3608
|
_a.displayName = "SegmentedControl";
|
|
3596
|
-
const
|
|
3597
|
-
layoutOverride:
|
|
3598
|
-
sliderContainer:
|
|
3599
|
-
sliderTrackWrapper:
|
|
3600
|
-
iconWrapper:
|
|
3601
|
-
sliderRoot:
|
|
3602
|
-
sliderTrack:
|
|
3603
|
-
sliderBar:
|
|
3604
|
-
sliderThumb:
|
|
3605
|
-
sliderMark:
|
|
3606
|
-
sliderMarkLabel:
|
|
3607
|
-
minMaxGuide:
|
|
3608
|
-
rightGuideContainer:
|
|
3609
|
-
currentValue:
|
|
3610
|
-
inputField:
|
|
3611
|
-
readOnlyValue:
|
|
3612
|
-
},
|
|
3609
|
+
const ec = _a, oc = "Slider-module__layoutOverride___zYPun", tc = "Slider-module__sliderContainer___y8I0J", nc = "Slider-module__sliderTrackWrapper___UHpVh", ac = "Slider-module__iconWrapper___uqHpC", rc = "Slider-module__sliderRoot___LI86H", sc = "Slider-module__sliderTrack___oqnlG", lc = "Slider-module__sliderBar___TI4VY", ic = "Slider-module__sliderThumb___OFn8p", cc = "Slider-module__sliderMark___1lM2B", dc = "Slider-module__sliderMarkLabel___MMZrq", uc = "Slider-module__minMaxGuide___TaGqz", pc = "Slider-module__rightGuideContainer___8dOT8", mc = "Slider-module__currentValue___dGV2T", _c = "Slider-module__inputField___6x578", fc = "Slider-module__readOnlyValue___-ZzMW", ae = {
|
|
3610
|
+
layoutOverride: oc,
|
|
3611
|
+
sliderContainer: tc,
|
|
3612
|
+
sliderTrackWrapper: nc,
|
|
3613
|
+
iconWrapper: ac,
|
|
3614
|
+
sliderRoot: rc,
|
|
3615
|
+
sliderTrack: sc,
|
|
3616
|
+
sliderBar: lc,
|
|
3617
|
+
sliderThumb: ic,
|
|
3618
|
+
sliderMark: cc,
|
|
3619
|
+
sliderMarkLabel: dc,
|
|
3620
|
+
minMaxGuide: uc,
|
|
3621
|
+
rightGuideContainer: pc,
|
|
3622
|
+
currentValue: mc,
|
|
3623
|
+
inputField: _c,
|
|
3624
|
+
readOnlyValue: fc
|
|
3625
|
+
}, yc = ({ value: r }) => /* @__PURE__ */ a("div", { className: ae.readOnlyValue, children: r }), fa = m(
|
|
3613
3626
|
function(e, n) {
|
|
3614
3627
|
const {
|
|
3615
3628
|
overStyled: o = !1,
|
|
@@ -3620,13 +3633,13 @@ const Qi = _a, ec = "Slider-module__layoutOverride___zYPun", oc = "Slider-module
|
|
|
3620
3633
|
labelOptionalText: i,
|
|
3621
3634
|
labelWithEditIcon: c,
|
|
3622
3635
|
labelActionArea: d,
|
|
3623
|
-
onLabelEditClick:
|
|
3636
|
+
onLabelEditClick: p,
|
|
3624
3637
|
label: _,
|
|
3625
3638
|
tooltipLabel: $,
|
|
3626
3639
|
assistiveText: y,
|
|
3627
3640
|
assistiveWithIcon: v,
|
|
3628
3641
|
error: h,
|
|
3629
|
-
required:
|
|
3642
|
+
required: O,
|
|
3630
3643
|
withAsterisk: N,
|
|
3631
3644
|
id: w,
|
|
3632
3645
|
className: T,
|
|
@@ -3635,36 +3648,36 @@ const Qi = _a, ec = "Slider-module__layoutOverride___zYPun", oc = "Slider-module
|
|
|
3635
3648
|
readOnly: f,
|
|
3636
3649
|
readOnlyComponent: b,
|
|
3637
3650
|
emptyValueComponent: C,
|
|
3638
|
-
value:
|
|
3651
|
+
value: x,
|
|
3639
3652
|
defaultValue: R,
|
|
3640
3653
|
icon: D,
|
|
3641
|
-
showInput:
|
|
3642
|
-
showMinMaxLabels:
|
|
3643
|
-
min:
|
|
3644
|
-
max:
|
|
3645
|
-
step:
|
|
3646
|
-
onChange:
|
|
3647
|
-
onChangeEnd:
|
|
3648
|
-
...
|
|
3649
|
-
} = e, [se, $e] =
|
|
3650
|
-
|
|
3654
|
+
showInput: A = !1,
|
|
3655
|
+
showMinMaxLabels: L = !0,
|
|
3656
|
+
min: F = 0,
|
|
3657
|
+
max: G = 100,
|
|
3658
|
+
step: Z = 1,
|
|
3659
|
+
onChange: Y,
|
|
3660
|
+
onChangeEnd: j,
|
|
3661
|
+
...Q
|
|
3662
|
+
} = e, [se, $e] = re(() => x !== void 0 ? x : R !== void 0 ? R : F), M = x !== void 0 ? x : se, [ne, H] = re(
|
|
3663
|
+
M.toString()
|
|
3651
3664
|
);
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
}, [
|
|
3655
|
-
const
|
|
3656
|
-
|
|
3657
|
-
},
|
|
3665
|
+
xe(() => {
|
|
3666
|
+
H(M.toString());
|
|
3667
|
+
}, [M]);
|
|
3668
|
+
const ee = (be) => {
|
|
3669
|
+
x === void 0 && $e(be), Y == null || Y(be);
|
|
3670
|
+
}, ce = (be) => {
|
|
3658
3671
|
const Ke = be.target.value;
|
|
3659
|
-
|
|
3672
|
+
H(Ke);
|
|
3660
3673
|
const Ye = parseFloat(Ke);
|
|
3661
3674
|
if (!isNaN(Ye)) {
|
|
3662
|
-
const io = Math.max(
|
|
3663
|
-
|
|
3675
|
+
const io = Math.max(F, Math.min(G, Ye));
|
|
3676
|
+
ee(io);
|
|
3664
3677
|
}
|
|
3665
3678
|
}, We = () => {
|
|
3666
|
-
|
|
3667
|
-
},
|
|
3679
|
+
H(M.toString());
|
|
3680
|
+
}, me = [
|
|
3668
3681
|
"size",
|
|
3669
3682
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
3670
3683
|
"variant",
|
|
@@ -3675,20 +3688,20 @@ const Qi = _a, ec = "Slider-module__layoutOverride___zYPun", oc = "Slider-module
|
|
|
3675
3688
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
3676
3689
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3677
3690
|
"wrapperProps"
|
|
3678
|
-
],
|
|
3679
|
-
u(
|
|
3680
|
-
|
|
3681
|
-
), ve =
|
|
3691
|
+
], de = E(
|
|
3692
|
+
u(Q, o),
|
|
3693
|
+
me
|
|
3694
|
+
), ve = de, Ne = W(
|
|
3682
3695
|
{
|
|
3683
|
-
root:
|
|
3684
|
-
track:
|
|
3685
|
-
bar:
|
|
3686
|
-
thumb:
|
|
3687
|
-
mark:
|
|
3688
|
-
markLabel:
|
|
3696
|
+
root: ae.sliderRoot,
|
|
3697
|
+
track: ae.sliderTrack,
|
|
3698
|
+
bar: ae.sliderBar,
|
|
3699
|
+
thumb: ae.sliderThumb,
|
|
3700
|
+
mark: ae.sliderMark,
|
|
3701
|
+
markLabel: ae.sliderMarkLabel
|
|
3689
3702
|
},
|
|
3690
3703
|
ve.classNames
|
|
3691
|
-
), we = T ? `${
|
|
3704
|
+
), we = T ? `${ae.layoutOverride} ${T}` : ae.layoutOverride, lo = D ? /* @__PURE__ */ a("span", { className: ae.iconWrapper, "aria-hidden": !0, children: D }) : null;
|
|
3692
3705
|
return /* @__PURE__ */ a(
|
|
3693
3706
|
he,
|
|
3694
3707
|
{
|
|
@@ -3704,60 +3717,60 @@ const Qi = _a, ec = "Slider-module__layoutOverride___zYPun", oc = "Slider-module
|
|
|
3704
3717
|
labelOptionalText: i,
|
|
3705
3718
|
labelWithEditIcon: c,
|
|
3706
3719
|
labelActionArea: d,
|
|
3707
|
-
onLabelEditClick:
|
|
3720
|
+
onLabelEditClick: p,
|
|
3708
3721
|
label: _,
|
|
3709
3722
|
assistiveText: y,
|
|
3710
3723
|
assistiveWithIcon: v,
|
|
3711
3724
|
error: h,
|
|
3712
|
-
required:
|
|
3725
|
+
required: O,
|
|
3713
3726
|
withAsterisk: N,
|
|
3714
3727
|
id: w,
|
|
3715
3728
|
readOnly: f,
|
|
3716
|
-
readOnlyComponent: b ||
|
|
3729
|
+
readOnlyComponent: b || yc,
|
|
3717
3730
|
emptyValueComponent: C,
|
|
3718
3731
|
readOnlyType: "text",
|
|
3719
|
-
readOnlyValue:
|
|
3720
|
-
readOnlyNativeProps: { value:
|
|
3732
|
+
readOnlyValue: M,
|
|
3733
|
+
readOnlyNativeProps: { value: M },
|
|
3721
3734
|
activeComponent: /* @__PURE__ */ z(
|
|
3722
3735
|
"div",
|
|
3723
3736
|
{
|
|
3724
|
-
className:
|
|
3737
|
+
className: ae.sliderContainer,
|
|
3725
3738
|
"data-form-layout": t,
|
|
3726
3739
|
"data-disabled": P ? "true" : void 0,
|
|
3727
3740
|
"data-error": h ? "true" : void 0,
|
|
3728
3741
|
children: [
|
|
3729
3742
|
lo,
|
|
3730
|
-
|
|
3731
|
-
/* @__PURE__ */ a("div", { className:
|
|
3743
|
+
L && /* @__PURE__ */ a("span", { className: ae.minMaxGuide, children: F }),
|
|
3744
|
+
/* @__PURE__ */ a("div", { className: ae.sliderTrackWrapper, children: /* @__PURE__ */ a(
|
|
3732
3745
|
rr,
|
|
3733
3746
|
{
|
|
3734
|
-
...
|
|
3747
|
+
...de,
|
|
3735
3748
|
classNames: Ne,
|
|
3736
3749
|
disabled: P,
|
|
3737
|
-
value:
|
|
3738
|
-
onChange:
|
|
3739
|
-
onChangeEnd:
|
|
3740
|
-
min:
|
|
3741
|
-
max:
|
|
3742
|
-
step:
|
|
3750
|
+
value: M,
|
|
3751
|
+
onChange: ee,
|
|
3752
|
+
onChangeEnd: j,
|
|
3753
|
+
min: F,
|
|
3754
|
+
max: G,
|
|
3755
|
+
step: Z,
|
|
3743
3756
|
label: $
|
|
3744
3757
|
}
|
|
3745
3758
|
) }),
|
|
3746
|
-
/* @__PURE__ */ z("div", { className:
|
|
3747
|
-
!
|
|
3748
|
-
|
|
3759
|
+
/* @__PURE__ */ z("div", { className: ae.rightGuideContainer, children: [
|
|
3760
|
+
!A && /* @__PURE__ */ a("span", { className: ae.currentValue, children: M }),
|
|
3761
|
+
L && /* @__PURE__ */ a("span", { className: ae.minMaxGuide, children: G })
|
|
3749
3762
|
] }),
|
|
3750
|
-
|
|
3763
|
+
A && /* @__PURE__ */ a(
|
|
3751
3764
|
"input",
|
|
3752
3765
|
{
|
|
3753
3766
|
type: "number",
|
|
3754
|
-
className:
|
|
3755
|
-
value:
|
|
3756
|
-
onChange:
|
|
3767
|
+
className: ae.inputField,
|
|
3768
|
+
value: ne,
|
|
3769
|
+
onChange: ce,
|
|
3757
3770
|
onBlur: We,
|
|
3758
|
-
min:
|
|
3759
|
-
max:
|
|
3760
|
-
step:
|
|
3771
|
+
min: F,
|
|
3772
|
+
max: G,
|
|
3773
|
+
step: Z,
|
|
3761
3774
|
disabled: P,
|
|
3762
3775
|
"data-error": h ? "true" : void 0
|
|
3763
3776
|
}
|
|
@@ -3770,9 +3783,9 @@ const Qi = _a, ec = "Slider-module__layoutOverride___zYPun", oc = "Slider-module
|
|
|
3770
3783
|
}
|
|
3771
3784
|
);
|
|
3772
3785
|
fa.displayName = "Slider";
|
|
3773
|
-
const
|
|
3774
|
-
root:
|
|
3775
|
-
}, ya =
|
|
3786
|
+
const hc = "Stack-module__root___NUN-x", ko = {
|
|
3787
|
+
root: hc
|
|
3788
|
+
}, ya = m(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
3776
3789
|
const s = {
|
|
3777
3790
|
root: ko.root
|
|
3778
3791
|
}, l = o.classNames;
|
|
@@ -3793,23 +3806,23 @@ const yc = "Stack-module__root___NUN-x", ko = {
|
|
|
3793
3806
|
);
|
|
3794
3807
|
});
|
|
3795
3808
|
ya.displayName = "Stack";
|
|
3796
|
-
const
|
|
3797
|
-
root:
|
|
3798
|
-
horizontal:
|
|
3799
|
-
steps:
|
|
3800
|
-
step:
|
|
3801
|
-
stepBody:
|
|
3802
|
-
stepLabel:
|
|
3803
|
-
stepDescription:
|
|
3804
|
-
separator:
|
|
3805
|
-
vertical:
|
|
3806
|
-
large:
|
|
3809
|
+
const vc = Te(ya), Nc = "Stepper-module__root___jbSYO", bc = "Stepper-module__horizontal___USHT1", Cc = "Stepper-module__steps___4HPO6", Pc = "Stepper-module__step___s2nqL", gc = "Stepper-module__stepBody___TBvys", Tc = "Stepper-module__stepLabel___N6nuy", $c = "Stepper-module__stepDescription___DnDAy", wc = "Stepper-module__separator___pU0No", Sc = "Stepper-module__vertical___d4mOs", Oc = "Stepper-module__large___J18-y", xc = "Stepper-module__small___Ub-zb", kc = "Stepper-module__stepIcon___YQHNq", Rc = "Stepper-module__stepCompletedIcon___B9MeL", Ic = "Stepper-module__verticalSeparator___frWc1", Lc = "Stepper-module__content___J-h8X", le = {
|
|
3810
|
+
root: Nc,
|
|
3811
|
+
horizontal: bc,
|
|
3812
|
+
steps: Cc,
|
|
3813
|
+
step: Pc,
|
|
3814
|
+
stepBody: gc,
|
|
3815
|
+
stepLabel: Tc,
|
|
3816
|
+
stepDescription: $c,
|
|
3817
|
+
separator: wc,
|
|
3818
|
+
vertical: Sc,
|
|
3819
|
+
large: Oc,
|
|
3807
3820
|
small: xc,
|
|
3808
|
-
stepIcon:
|
|
3809
|
-
stepCompletedIcon:
|
|
3810
|
-
verticalSeparator:
|
|
3811
|
-
content:
|
|
3812
|
-
}, ha =
|
|
3821
|
+
stepIcon: kc,
|
|
3822
|
+
stepCompletedIcon: Rc,
|
|
3823
|
+
verticalSeparator: Ic,
|
|
3824
|
+
content: Lc
|
|
3825
|
+
}, ha = m(
|
|
3813
3826
|
function(e, n) {
|
|
3814
3827
|
const {
|
|
3815
3828
|
overStyled: o = !1,
|
|
@@ -3818,7 +3831,7 @@ const hc = Te(ya), vc = "Stepper-module__root___jbSYO", Nc = "Stepper-module__ho
|
|
|
3818
3831
|
className: l,
|
|
3819
3832
|
style: i,
|
|
3820
3833
|
...c
|
|
3821
|
-
} = e, d = u(c, o),
|
|
3834
|
+
} = e, d = u(c, o), p = d, _ = W(
|
|
3822
3835
|
{
|
|
3823
3836
|
steps: le.steps,
|
|
3824
3837
|
step: le.step,
|
|
@@ -3831,7 +3844,7 @@ const hc = Te(ya), vc = "Stepper-module__root___jbSYO", Nc = "Stepper-module__ho
|
|
|
3831
3844
|
verticalSeparator: le.verticalSeparator,
|
|
3832
3845
|
content: le.content
|
|
3833
3846
|
},
|
|
3834
|
-
|
|
3847
|
+
p.classNames
|
|
3835
3848
|
);
|
|
3836
3849
|
return /* @__PURE__ */ a(
|
|
3837
3850
|
lt,
|
|
@@ -3847,7 +3860,7 @@ const hc = Te(ya), vc = "Stepper-module__root___jbSYO", Nc = "Stepper-module__ho
|
|
|
3847
3860
|
}
|
|
3848
3861
|
);
|
|
3849
3862
|
}
|
|
3850
|
-
), va =
|
|
3863
|
+
), va = m(
|
|
3851
3864
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3852
3865
|
const t = u(n, e);
|
|
3853
3866
|
return /* @__PURE__ */ a(
|
|
@@ -3860,25 +3873,25 @@ const hc = Te(ya), vc = "Stepper-module__root___jbSYO", Nc = "Stepper-module__ho
|
|
|
3860
3873
|
}
|
|
3861
3874
|
);
|
|
3862
3875
|
va.displayName = "Stepper.Step";
|
|
3863
|
-
const
|
|
3876
|
+
const Mc = Object.assign(ha, {
|
|
3864
3877
|
Step: va,
|
|
3865
3878
|
// Stepper.Completed only accepts `children` — no styling props to strip,
|
|
3866
3879
|
// so re-exporting Mantine's implementation directly is not a gap.
|
|
3867
3880
|
Completed: lt.Completed
|
|
3868
3881
|
});
|
|
3869
3882
|
ha.displayName = "Stepper";
|
|
3870
|
-
const
|
|
3871
|
-
root:
|
|
3872
|
-
track:
|
|
3873
|
-
body:
|
|
3874
|
-
thumb:
|
|
3875
|
-
labelWrapper:
|
|
3876
|
-
label:
|
|
3883
|
+
const Ac = "Switch-module__root___Y5Ydi", zc = "Switch-module__track___7ObdZ", Wc = "Switch-module__body___Sw9Wr", Dc = "Switch-module__thumb___-FTeK", Ec = "Switch-module__labelWrapper___YSOwx", Bc = "Switch-module__label___LrH7V", Fc = "Switch-module__thumbIconWrapper___sCY-1", Uc = "Switch-module__checkIcon___ZBAQN", Gc = "Switch-module__closeIcon___bLLGw", Vc = "Switch-module__groupRoot___-Uepi", fe = {
|
|
3884
|
+
root: Ac,
|
|
3885
|
+
track: zc,
|
|
3886
|
+
body: Wc,
|
|
3887
|
+
thumb: Dc,
|
|
3888
|
+
labelWrapper: Ec,
|
|
3889
|
+
label: Bc,
|
|
3877
3890
|
thumbIconWrapper: Fc,
|
|
3878
|
-
checkIcon:
|
|
3879
|
-
closeIcon:
|
|
3880
|
-
groupRoot:
|
|
3881
|
-
}, bt =
|
|
3891
|
+
checkIcon: Uc,
|
|
3892
|
+
closeIcon: Gc,
|
|
3893
|
+
groupRoot: Vc
|
|
3894
|
+
}, bt = m(
|
|
3882
3895
|
function(e, n) {
|
|
3883
3896
|
const {
|
|
3884
3897
|
overStyled: o = !1,
|
|
@@ -3890,13 +3903,13 @@ const Mc = "Switch-module__root___Y5Ydi", Ac = "Switch-module__track___7ObdZ", z
|
|
|
3890
3903
|
labelWithEditIcon: c,
|
|
3891
3904
|
onLabelEditClick: d,
|
|
3892
3905
|
// Base Mantine Extracted Attributes
|
|
3893
|
-
label:
|
|
3906
|
+
label: p,
|
|
3894
3907
|
description: _,
|
|
3895
3908
|
assistiveText: $,
|
|
3896
3909
|
assistiveWithIcon: y,
|
|
3897
3910
|
error: v,
|
|
3898
3911
|
required: h,
|
|
3899
|
-
withAsterisk:
|
|
3912
|
+
withAsterisk: O,
|
|
3900
3913
|
id: N,
|
|
3901
3914
|
className: w,
|
|
3902
3915
|
style: T,
|
|
@@ -3905,15 +3918,15 @@ const Mc = "Switch-module__root___Y5Ydi", Ac = "Switch-module__track___7ObdZ", z
|
|
|
3905
3918
|
readOnlyComponent: f,
|
|
3906
3919
|
emptyValueComponent: b,
|
|
3907
3920
|
value: C,
|
|
3908
|
-
defaultValue:
|
|
3921
|
+
defaultValue: x,
|
|
3909
3922
|
...R
|
|
3910
3923
|
} = e, D = [
|
|
3911
3924
|
"size"
|
|
3912
3925
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
3913
|
-
],
|
|
3926
|
+
], A = E(
|
|
3914
3927
|
u(R, o),
|
|
3915
3928
|
D
|
|
3916
|
-
),
|
|
3929
|
+
), L = A;
|
|
3917
3930
|
return /* @__PURE__ */ a(
|
|
3918
3931
|
he,
|
|
3919
3932
|
{
|
|
@@ -3929,29 +3942,29 @@ const Mc = "Switch-module__root___Y5Ydi", Ac = "Switch-module__track___7ObdZ", z
|
|
|
3929
3942
|
labelOptionalText: i,
|
|
3930
3943
|
labelWithEditIcon: c,
|
|
3931
3944
|
onLabelEditClick: d,
|
|
3932
|
-
label:
|
|
3945
|
+
label: p,
|
|
3933
3946
|
description: _,
|
|
3934
3947
|
assistiveText: $,
|
|
3935
3948
|
assistiveWithIcon: y,
|
|
3936
3949
|
error: v,
|
|
3937
3950
|
required: h,
|
|
3938
|
-
withAsterisk:
|
|
3951
|
+
withAsterisk: O,
|
|
3939
3952
|
id: N,
|
|
3940
3953
|
readOnly: P && !!f,
|
|
3941
3954
|
readOnlyComponent: f,
|
|
3942
3955
|
emptyValueComponent: b,
|
|
3943
3956
|
readOnlyType: "text",
|
|
3944
|
-
readOnlyValue: C !== void 0 ? C :
|
|
3957
|
+
readOnlyValue: C !== void 0 ? C : x,
|
|
3945
3958
|
readOnlyNativeProps: e,
|
|
3946
3959
|
activeComponent: /* @__PURE__ */ a(
|
|
3947
3960
|
Vt.Group,
|
|
3948
3961
|
{
|
|
3949
3962
|
ref: n,
|
|
3950
|
-
...
|
|
3951
|
-
disabled: P ||
|
|
3963
|
+
...A,
|
|
3964
|
+
disabled: P || L.disabled,
|
|
3952
3965
|
value: C,
|
|
3953
|
-
defaultValue:
|
|
3954
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
3966
|
+
defaultValue: x,
|
|
3967
|
+
children: /* @__PURE__ */ a("div", { className: fe.groupRoot, "data-layout": t, children: g })
|
|
3955
3968
|
}
|
|
3956
3969
|
)
|
|
3957
3970
|
}
|
|
@@ -3959,7 +3972,7 @@ const Mc = "Switch-module__root___Y5Ydi", Ac = "Switch-module__track___7ObdZ", z
|
|
|
3959
3972
|
}
|
|
3960
3973
|
);
|
|
3961
3974
|
bt.displayName = "SwitchGroup";
|
|
3962
|
-
const Ct =
|
|
3975
|
+
const Ct = m(
|
|
3963
3976
|
function(e, n) {
|
|
3964
3977
|
const {
|
|
3965
3978
|
overStyled: o = !1,
|
|
@@ -3969,7 +3982,7 @@ const Ct = p(
|
|
|
3969
3982
|
thumbIcon: i,
|
|
3970
3983
|
formLayout: c,
|
|
3971
3984
|
labelSize: d,
|
|
3972
|
-
controlMaxWidth:
|
|
3985
|
+
controlMaxWidth: p,
|
|
3973
3986
|
controlMinWidth: _,
|
|
3974
3987
|
...$
|
|
3975
3988
|
} = e, y = [
|
|
@@ -3984,21 +3997,21 @@ const Ct = p(
|
|
|
3984
3997
|
], v = E(
|
|
3985
3998
|
u($, o),
|
|
3986
3999
|
y
|
|
3987
|
-
), h = v,
|
|
4000
|
+
), h = v, O = W(
|
|
3988
4001
|
{
|
|
3989
|
-
root:
|
|
3990
|
-
body:
|
|
3991
|
-
track:
|
|
3992
|
-
thumb:
|
|
3993
|
-
trackLabel:
|
|
3994
|
-
labelWrapper:
|
|
3995
|
-
label:
|
|
4002
|
+
root: fe.root,
|
|
4003
|
+
body: fe.body,
|
|
4004
|
+
track: fe.track,
|
|
4005
|
+
thumb: fe.thumb,
|
|
4006
|
+
trackLabel: fe.trackLabel,
|
|
4007
|
+
labelWrapper: fe.labelWrapper,
|
|
4008
|
+
label: fe.label
|
|
3996
4009
|
},
|
|
3997
4010
|
h.classNames
|
|
3998
4011
|
), N = wr(
|
|
3999
4012
|
{},
|
|
4000
4013
|
h.styles
|
|
4001
|
-
), w = h.className, T = w ? `${
|
|
4014
|
+
), w = h.className, T = w ? `${fe.root} ${w}` : fe.root;
|
|
4002
4015
|
if (t && s) {
|
|
4003
4016
|
const f = !!(h.checked ?? h.defaultChecked), C = /* @__PURE__ */ a(
|
|
4004
4017
|
s,
|
|
@@ -4009,41 +4022,41 @@ const Ct = p(
|
|
|
4009
4022
|
}
|
|
4010
4023
|
);
|
|
4011
4024
|
return c ? /* @__PURE__ */ a(
|
|
4012
|
-
|
|
4025
|
+
Fe,
|
|
4013
4026
|
{
|
|
4014
4027
|
formLayout: c,
|
|
4015
4028
|
labelSize: d,
|
|
4016
|
-
controlMaxWidth:
|
|
4029
|
+
controlMaxWidth: p,
|
|
4017
4030
|
controlMinWidth: _,
|
|
4018
4031
|
children: C
|
|
4019
4032
|
}
|
|
4020
4033
|
) : /* @__PURE__ */ a(go, { children: C });
|
|
4021
4034
|
}
|
|
4022
|
-
const g = /* @__PURE__ */ z("div", { className:
|
|
4023
|
-
/* @__PURE__ */ a(lr, { className:
|
|
4024
|
-
/* @__PURE__ */ a(ir, { className:
|
|
4035
|
+
const g = /* @__PURE__ */ z("div", { className: fe.thumbIconWrapper, children: [
|
|
4036
|
+
/* @__PURE__ */ a(lr, { className: fe.checkIcon }),
|
|
4037
|
+
/* @__PURE__ */ a(ir, { className: fe.closeIcon })
|
|
4025
4038
|
] }), P = /* @__PURE__ */ a(
|
|
4026
4039
|
Vt,
|
|
4027
4040
|
{
|
|
4028
4041
|
ref: n,
|
|
4029
4042
|
...v,
|
|
4030
4043
|
className: T,
|
|
4031
|
-
classNames:
|
|
4044
|
+
classNames: O,
|
|
4032
4045
|
styles: N,
|
|
4033
4046
|
disabled: t || l,
|
|
4034
4047
|
"data-disabled": t || l || void 0,
|
|
4035
|
-
thumbIcon:
|
|
4048
|
+
thumbIcon: pe(
|
|
4036
4049
|
g,
|
|
4037
4050
|
i
|
|
4038
4051
|
)
|
|
4039
4052
|
}
|
|
4040
4053
|
);
|
|
4041
4054
|
return c ? /* @__PURE__ */ a(
|
|
4042
|
-
|
|
4055
|
+
Fe,
|
|
4043
4056
|
{
|
|
4044
4057
|
formLayout: c,
|
|
4045
4058
|
labelSize: d,
|
|
4046
|
-
controlMaxWidth:
|
|
4059
|
+
controlMaxWidth: p,
|
|
4047
4060
|
controlMinWidth: _,
|
|
4048
4061
|
children: P
|
|
4049
4062
|
}
|
|
@@ -4052,10 +4065,10 @@ const Ct = p(
|
|
|
4052
4065
|
);
|
|
4053
4066
|
Ct.displayName = "Switch";
|
|
4054
4067
|
Ct.Group = bt;
|
|
4055
|
-
const
|
|
4056
|
-
root:
|
|
4057
|
-
}, Na =
|
|
4058
|
-
const t = u(n, e), s = t.className, l =
|
|
4068
|
+
const Hc = "Table-module__root___aMWWS", jc = {
|
|
4069
|
+
root: Hc
|
|
4070
|
+
}, Na = m(function({ overStyled: e = !1, ...n }, o) {
|
|
4071
|
+
const t = u(n, e), s = t.className, l = jc.root, i = s ? `${l} ${s}` : l;
|
|
4059
4072
|
return /* @__PURE__ */ a(
|
|
4060
4073
|
He,
|
|
4061
4074
|
{
|
|
@@ -4066,7 +4079,7 @@ const Vc = "Table-module__root___aMWWS", Hc = {
|
|
|
4066
4079
|
);
|
|
4067
4080
|
});
|
|
4068
4081
|
Na.displayName = "Table";
|
|
4069
|
-
const ba =
|
|
4082
|
+
const ba = m(
|
|
4070
4083
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4071
4084
|
const t = u(n, e);
|
|
4072
4085
|
return /* @__PURE__ */ a(
|
|
@@ -4079,7 +4092,7 @@ const ba = p(
|
|
|
4079
4092
|
}
|
|
4080
4093
|
);
|
|
4081
4094
|
ba.displayName = "TableThead";
|
|
4082
|
-
const Ca =
|
|
4095
|
+
const Ca = m(
|
|
4083
4096
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4084
4097
|
const t = u(n, e);
|
|
4085
4098
|
return /* @__PURE__ */ a(
|
|
@@ -4092,7 +4105,7 @@ const Ca = p(
|
|
|
4092
4105
|
}
|
|
4093
4106
|
);
|
|
4094
4107
|
Ca.displayName = "TableTbody";
|
|
4095
|
-
const Pa =
|
|
4108
|
+
const Pa = m(
|
|
4096
4109
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4097
4110
|
const t = u(n, e);
|
|
4098
4111
|
return /* @__PURE__ */ a(
|
|
@@ -4105,7 +4118,7 @@ const Pa = p(
|
|
|
4105
4118
|
}
|
|
4106
4119
|
);
|
|
4107
4120
|
Pa.displayName = "TableTr";
|
|
4108
|
-
const ga =
|
|
4121
|
+
const ga = m(
|
|
4109
4122
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4110
4123
|
const t = u(n, e);
|
|
4111
4124
|
return /* @__PURE__ */ a(
|
|
@@ -4118,7 +4131,7 @@ const ga = p(
|
|
|
4118
4131
|
}
|
|
4119
4132
|
);
|
|
4120
4133
|
ga.displayName = "TableTh";
|
|
4121
|
-
const Ta =
|
|
4134
|
+
const Ta = m(
|
|
4122
4135
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4123
4136
|
const t = u(n, e);
|
|
4124
4137
|
return /* @__PURE__ */ a(
|
|
@@ -4131,7 +4144,7 @@ const Ta = p(
|
|
|
4131
4144
|
}
|
|
4132
4145
|
);
|
|
4133
4146
|
Ta.displayName = "TableTd";
|
|
4134
|
-
const $a =
|
|
4147
|
+
const $a = m(
|
|
4135
4148
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4136
4149
|
const t = u(n, e);
|
|
4137
4150
|
return /* @__PURE__ */ a(
|
|
@@ -4144,7 +4157,7 @@ const $a = p(
|
|
|
4144
4157
|
}
|
|
4145
4158
|
);
|
|
4146
4159
|
$a.displayName = "TableTfoot";
|
|
4147
|
-
const wa =
|
|
4160
|
+
const wa = m(function({ overStyled: e = !1, ...n }, o) {
|
|
4148
4161
|
const t = u(n, e);
|
|
4149
4162
|
return /* @__PURE__ */ a(
|
|
4150
4163
|
He.Caption,
|
|
@@ -4155,7 +4168,7 @@ const wa = p(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4155
4168
|
);
|
|
4156
4169
|
});
|
|
4157
4170
|
wa.displayName = "TableCaption";
|
|
4158
|
-
const Sa =
|
|
4171
|
+
const Sa = m(function({ overStyled: e = !1, ...n }, o) {
|
|
4159
4172
|
const t = u(n, e);
|
|
4160
4173
|
return /* @__PURE__ */ a(
|
|
4161
4174
|
He.ScrollContainer,
|
|
@@ -4175,19 +4188,19 @@ qe.Td = Ta;
|
|
|
4175
4188
|
qe.Tfoot = $a;
|
|
4176
4189
|
qe.Caption = wa;
|
|
4177
4190
|
qe.ScrollContainer = Sa;
|
|
4178
|
-
const
|
|
4179
|
-
root:
|
|
4180
|
-
list:
|
|
4181
|
-
tab:
|
|
4182
|
-
panel:
|
|
4183
|
-
},
|
|
4191
|
+
const qc = "Tabs-module__root___-VKVI", Kc = "Tabs-module__list___qRVME", Yc = "Tabs-module__tab___IdDYc", Zc = "Tabs-module__panel___08i9c", Eo = {
|
|
4192
|
+
root: qc,
|
|
4193
|
+
list: Kc,
|
|
4194
|
+
tab: Yc,
|
|
4195
|
+
panel: Zc
|
|
4196
|
+
}, Oa = m(function(e, n) {
|
|
4184
4197
|
const {
|
|
4185
4198
|
variant: o = "default",
|
|
4186
4199
|
orientation: t = "horizontal",
|
|
4187
4200
|
overStyled: s = !1,
|
|
4188
4201
|
className: l,
|
|
4189
4202
|
...i
|
|
4190
|
-
} = e, c = u(i, s), d = c,
|
|
4203
|
+
} = e, c = u(i, s), d = c, p = W(
|
|
4191
4204
|
{
|
|
4192
4205
|
list: Eo.list,
|
|
4193
4206
|
tab: Eo.tab,
|
|
@@ -4205,12 +4218,12 @@ const jc = "Tabs-module__root___-VKVI", qc = "Tabs-module__list___qRVME", Kc = "
|
|
|
4205
4218
|
className: `${Eo.root} ${l || ""}`,
|
|
4206
4219
|
"data-variant": o,
|
|
4207
4220
|
"data-orientation": t,
|
|
4208
|
-
classNames:
|
|
4221
|
+
classNames: p
|
|
4209
4222
|
}
|
|
4210
4223
|
);
|
|
4211
4224
|
});
|
|
4212
|
-
|
|
4213
|
-
const
|
|
4225
|
+
Oa.displayName = "Tabs";
|
|
4226
|
+
const xa = m(
|
|
4214
4227
|
function(e, n) {
|
|
4215
4228
|
const { overStyled: o = !1, ...t } = e;
|
|
4216
4229
|
return /* @__PURE__ */ a(
|
|
@@ -4222,8 +4235,8 @@ const Oa = p(
|
|
|
4222
4235
|
);
|
|
4223
4236
|
}
|
|
4224
4237
|
);
|
|
4225
|
-
|
|
4226
|
-
const ka =
|
|
4238
|
+
xa.displayName = "Tabs.List";
|
|
4239
|
+
const ka = m(
|
|
4227
4240
|
function(e, n) {
|
|
4228
4241
|
const { overStyled: o = !1, ...t } = e;
|
|
4229
4242
|
return /* @__PURE__ */ a(
|
|
@@ -4236,7 +4249,7 @@ const ka = p(
|
|
|
4236
4249
|
}
|
|
4237
4250
|
);
|
|
4238
4251
|
ka.displayName = "Tabs.Tab";
|
|
4239
|
-
const Ra =
|
|
4252
|
+
const Ra = m(
|
|
4240
4253
|
function(e, n) {
|
|
4241
4254
|
const { overStyled: o = !1, ...t } = e;
|
|
4242
4255
|
return /* @__PURE__ */ a(
|
|
@@ -4249,11 +4262,11 @@ const Ra = p(
|
|
|
4249
4262
|
}
|
|
4250
4263
|
);
|
|
4251
4264
|
Ra.displayName = "Tabs.Panel";
|
|
4252
|
-
const
|
|
4253
|
-
List:
|
|
4265
|
+
const Xc = Object.assign(Oa, {
|
|
4266
|
+
List: xa,
|
|
4254
4267
|
Tab: ka,
|
|
4255
4268
|
Panel: Ra
|
|
4256
|
-
}), Ia =
|
|
4269
|
+
}), Ia = m(function({ overStyled: e = !1, variant: n = "body", ...o }, t) {
|
|
4257
4270
|
const s = u(o, e), l = s.className, i = `recursica_brand_typography_${n}`, c = l ? `${i} ${l}` : i;
|
|
4258
4271
|
return /* @__PURE__ */ a(
|
|
4259
4272
|
cr,
|
|
@@ -4265,18 +4278,18 @@ const Zc = Object.assign(xa, {
|
|
|
4265
4278
|
);
|
|
4266
4279
|
});
|
|
4267
4280
|
Ia.displayName = "Text";
|
|
4268
|
-
const
|
|
4269
|
-
layoutOverride:
|
|
4270
|
-
root:
|
|
4271
|
-
input:
|
|
4272
|
-
},
|
|
4281
|
+
const Jc = Te(Ia), Qc = "TextArea-module__layoutOverride___4MCdm", ed = "TextArea-module__root___3dyeu", od = "TextArea-module__input___8l36v", Bo = {
|
|
4282
|
+
layoutOverride: Qc,
|
|
4283
|
+
root: ed,
|
|
4284
|
+
input: od
|
|
4285
|
+
}, td = [
|
|
4273
4286
|
"size",
|
|
4274
4287
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4275
4288
|
"variant",
|
|
4276
4289
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4277
4290
|
"radius"
|
|
4278
4291
|
// Recursica does not expose the library's native corner-radius system.
|
|
4279
|
-
], La =
|
|
4292
|
+
], La = m(
|
|
4280
4293
|
function(e, n) {
|
|
4281
4294
|
const {
|
|
4282
4295
|
overStyled: o = !1,
|
|
@@ -4287,13 +4300,13 @@ const Xc = Te(Ia), Jc = "TextArea-module__layoutOverride___4MCdm", Qc = "TextAre
|
|
|
4287
4300
|
labelOptionalText: i,
|
|
4288
4301
|
labelWithEditIcon: c,
|
|
4289
4302
|
onLabelEditClick: d,
|
|
4290
|
-
label:
|
|
4303
|
+
label: p,
|
|
4291
4304
|
assistiveText: _,
|
|
4292
4305
|
assistiveWithIcon: $,
|
|
4293
4306
|
error: y,
|
|
4294
4307
|
required: v,
|
|
4295
4308
|
withAsterisk: h,
|
|
4296
|
-
id:
|
|
4309
|
+
id: O,
|
|
4297
4310
|
className: N,
|
|
4298
4311
|
style: w,
|
|
4299
4312
|
disabled: T,
|
|
@@ -4302,22 +4315,22 @@ const Xc = Te(Ia), Jc = "TextArea-module__layoutOverride___4MCdm", Qc = "TextAre
|
|
|
4302
4315
|
emptyValueComponent: f,
|
|
4303
4316
|
value: b,
|
|
4304
4317
|
defaultValue: C,
|
|
4305
|
-
...
|
|
4318
|
+
...x
|
|
4306
4319
|
} = e, R = E(
|
|
4307
|
-
u(
|
|
4308
|
-
|
|
4309
|
-
), D = R,
|
|
4320
|
+
u(x, o),
|
|
4321
|
+
td
|
|
4322
|
+
), D = R, A = W(
|
|
4310
4323
|
{
|
|
4311
|
-
wrapper:
|
|
4324
|
+
wrapper: Bo.root,
|
|
4312
4325
|
// The nested Input internal relative wrapper bounding box
|
|
4313
|
-
input:
|
|
4326
|
+
input: Bo.input
|
|
4314
4327
|
},
|
|
4315
4328
|
D.classNames
|
|
4316
|
-
),
|
|
4329
|
+
), L = N ? `${Bo.layoutOverride} ${N}` : Bo.layoutOverride;
|
|
4317
4330
|
return /* @__PURE__ */ a(
|
|
4318
4331
|
he,
|
|
4319
4332
|
{
|
|
4320
|
-
className:
|
|
4333
|
+
className: L,
|
|
4321
4334
|
style: w,
|
|
4322
4335
|
controlMaxWidth: "var(--textarea-control-max-width)",
|
|
4323
4336
|
controlMinWidth: "var(--textarea-control-min-width)",
|
|
@@ -4328,13 +4341,13 @@ const Xc = Te(Ia), Jc = "TextArea-module__layoutOverride___4MCdm", Qc = "TextAre
|
|
|
4328
4341
|
labelOptionalText: i,
|
|
4329
4342
|
labelWithEditIcon: c,
|
|
4330
4343
|
onLabelEditClick: d,
|
|
4331
|
-
label:
|
|
4344
|
+
label: p,
|
|
4332
4345
|
assistiveText: _,
|
|
4333
4346
|
assistiveWithIcon: $,
|
|
4334
4347
|
error: y,
|
|
4335
4348
|
required: v,
|
|
4336
4349
|
withAsterisk: h,
|
|
4337
|
-
id:
|
|
4350
|
+
id: O,
|
|
4338
4351
|
readOnly: g,
|
|
4339
4352
|
readOnlyComponent: P,
|
|
4340
4353
|
emptyValueComponent: f,
|
|
@@ -4348,7 +4361,7 @@ const Xc = Te(Ia), Jc = "TextArea-module__layoutOverride___4MCdm", Qc = "TextAre
|
|
|
4348
4361
|
{
|
|
4349
4362
|
ref: n,
|
|
4350
4363
|
...R,
|
|
4351
|
-
classNames:
|
|
4364
|
+
classNames: A,
|
|
4352
4365
|
disabled: T,
|
|
4353
4366
|
value: b,
|
|
4354
4367
|
defaultValue: C,
|
|
@@ -4365,19 +4378,19 @@ const Xc = Te(Ia), Jc = "TextArea-module__layoutOverride___4MCdm", Qc = "TextAre
|
|
|
4365
4378
|
}
|
|
4366
4379
|
);
|
|
4367
4380
|
La.displayName = "TextArea";
|
|
4368
|
-
const
|
|
4369
|
-
layoutOverride:
|
|
4370
|
-
root:
|
|
4371
|
-
input:
|
|
4372
|
-
section:
|
|
4373
|
-
},
|
|
4381
|
+
const nd = "TextField-module__layoutOverride___SNZqc", ad = "TextField-module__root___2ZYkG", rd = "TextField-module__input___RL-My", sd = "TextField-module__section___bCIJ0", Ro = {
|
|
4382
|
+
layoutOverride: nd,
|
|
4383
|
+
root: ad,
|
|
4384
|
+
input: rd,
|
|
4385
|
+
section: sd
|
|
4386
|
+
}, ld = [
|
|
4374
4387
|
"size",
|
|
4375
4388
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4376
4389
|
"variant",
|
|
4377
4390
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4378
4391
|
"radius"
|
|
4379
4392
|
// Recursica does not expose the library's native corner-radius system.
|
|
4380
|
-
], Pt =
|
|
4393
|
+
], Pt = m(
|
|
4381
4394
|
function(e, n) {
|
|
4382
4395
|
const {
|
|
4383
4396
|
overStyled: o = !1,
|
|
@@ -4388,13 +4401,13 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4388
4401
|
labelOptionalText: i,
|
|
4389
4402
|
labelWithEditIcon: c,
|
|
4390
4403
|
onLabelEditClick: d,
|
|
4391
|
-
label:
|
|
4404
|
+
label: p,
|
|
4392
4405
|
assistiveText: _,
|
|
4393
4406
|
assistiveWithIcon: $,
|
|
4394
4407
|
error: y,
|
|
4395
4408
|
required: v,
|
|
4396
4409
|
withAsterisk: h,
|
|
4397
|
-
id:
|
|
4410
|
+
id: O,
|
|
4398
4411
|
className: N,
|
|
4399
4412
|
style: w,
|
|
4400
4413
|
disabled: T,
|
|
@@ -4403,11 +4416,11 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4403
4416
|
emptyValueComponent: f,
|
|
4404
4417
|
value: b,
|
|
4405
4418
|
defaultValue: C,
|
|
4406
|
-
...
|
|
4419
|
+
...x
|
|
4407
4420
|
} = e, R = E(
|
|
4408
|
-
u(
|
|
4409
|
-
|
|
4410
|
-
), D = R,
|
|
4421
|
+
u(x, o),
|
|
4422
|
+
ld
|
|
4423
|
+
), D = R, A = W(
|
|
4411
4424
|
{
|
|
4412
4425
|
wrapper: Ro.root,
|
|
4413
4426
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -4415,11 +4428,11 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4415
4428
|
section: Ro.section
|
|
4416
4429
|
},
|
|
4417
4430
|
D.classNames
|
|
4418
|
-
),
|
|
4431
|
+
), L = N ? `${Ro.layoutOverride} ${N}` : Ro.layoutOverride;
|
|
4419
4432
|
return /* @__PURE__ */ a(
|
|
4420
4433
|
he,
|
|
4421
4434
|
{
|
|
4422
|
-
className:
|
|
4435
|
+
className: L,
|
|
4423
4436
|
style: w,
|
|
4424
4437
|
controlMaxWidth: "var(--text-field-control-max-width)",
|
|
4425
4438
|
controlMinWidth: "var(--text-field-control-min-width)",
|
|
@@ -4430,13 +4443,13 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4430
4443
|
labelOptionalText: i,
|
|
4431
4444
|
labelWithEditIcon: c,
|
|
4432
4445
|
onLabelEditClick: d,
|
|
4433
|
-
label:
|
|
4446
|
+
label: p,
|
|
4434
4447
|
assistiveText: _,
|
|
4435
4448
|
assistiveWithIcon: $,
|
|
4436
4449
|
error: y,
|
|
4437
4450
|
required: v,
|
|
4438
4451
|
withAsterisk: h,
|
|
4439
|
-
id:
|
|
4452
|
+
id: O,
|
|
4440
4453
|
readOnly: g,
|
|
4441
4454
|
readOnlyComponent: P,
|
|
4442
4455
|
emptyValueComponent: f,
|
|
@@ -4450,7 +4463,7 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4450
4463
|
{
|
|
4451
4464
|
ref: n,
|
|
4452
4465
|
...R,
|
|
4453
|
-
classNames:
|
|
4466
|
+
classNames: A,
|
|
4454
4467
|
disabled: T,
|
|
4455
4468
|
value: b,
|
|
4456
4469
|
defaultValue: C,
|
|
@@ -4466,33 +4479,33 @@ const td = "TextField-module__layoutOverride___SNZqc", nd = "TextField-module__r
|
|
|
4466
4479
|
}
|
|
4467
4480
|
);
|
|
4468
4481
|
Pt.displayName = "TextField";
|
|
4469
|
-
const
|
|
4482
|
+
const id = [
|
|
4470
4483
|
"size",
|
|
4471
4484
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4472
4485
|
"variant",
|
|
4473
4486
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4474
4487
|
"radius"
|
|
4475
4488
|
// Recursica does not expose the library's native corner-radius system.
|
|
4476
|
-
], Ma =
|
|
4489
|
+
], Ma = m(function(e, n) {
|
|
4477
4490
|
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = E(
|
|
4478
4491
|
u(i, o),
|
|
4479
|
-
|
|
4480
|
-
), d = c,
|
|
4492
|
+
id
|
|
4493
|
+
), d = c, p = W(
|
|
4481
4494
|
{
|
|
4482
|
-
wrapper: t ? `${
|
|
4483
|
-
input:
|
|
4484
|
-
section:
|
|
4485
|
-
dropdown:
|
|
4486
|
-
option:
|
|
4495
|
+
wrapper: t ? `${ie.root} ${t}` : ie.root,
|
|
4496
|
+
input: ie.input,
|
|
4497
|
+
section: ie.section,
|
|
4498
|
+
dropdown: ie.dropdown,
|
|
4499
|
+
option: ie.option
|
|
4487
4500
|
},
|
|
4488
4501
|
d.classNames
|
|
4489
4502
|
);
|
|
4490
4503
|
return /* @__PURE__ */ a(
|
|
4491
|
-
|
|
4504
|
+
Ft,
|
|
4492
4505
|
{
|
|
4493
4506
|
ref: n,
|
|
4494
4507
|
...c,
|
|
4495
|
-
classNames:
|
|
4508
|
+
classNames: p,
|
|
4496
4509
|
disabled: s,
|
|
4497
4510
|
label: void 0,
|
|
4498
4511
|
description: void 0,
|
|
@@ -4507,15 +4520,15 @@ const ld = [
|
|
|
4507
4520
|
);
|
|
4508
4521
|
});
|
|
4509
4522
|
Ma.displayName = "BareDropdown";
|
|
4510
|
-
const
|
|
4511
|
-
layoutOverride:
|
|
4512
|
-
root:
|
|
4513
|
-
timeWrapper:
|
|
4514
|
-
timeInput:
|
|
4515
|
-
fieldsGroup:
|
|
4516
|
-
timeField:
|
|
4517
|
-
amPmSelect:
|
|
4518
|
-
},
|
|
4523
|
+
const cd = "TimePicker-module__layoutOverride___zKo4Q", dd = "TimePicker-module__root___BcvRu", ud = "TimePicker-module__timeWrapper___hJVre", pd = "TimePicker-module__timeInput___FQysn", md = "TimePicker-module__fieldsGroup___2yHhR", _d = "TimePicker-module__timeField___twRZd", fd = "TimePicker-module__amPmSelect___mSdvt", oo = {
|
|
4524
|
+
layoutOverride: cd,
|
|
4525
|
+
root: dd,
|
|
4526
|
+
timeWrapper: ud,
|
|
4527
|
+
timeInput: pd,
|
|
4528
|
+
fieldsGroup: md,
|
|
4529
|
+
timeField: _d,
|
|
4530
|
+
amPmSelect: fd
|
|
4531
|
+
}, yd = [
|
|
4519
4532
|
{ value: "AM", label: "AM" },
|
|
4520
4533
|
{ value: "PM", label: "PM" }
|
|
4521
4534
|
];
|
|
@@ -4524,17 +4537,17 @@ function Mt(r) {
|
|
|
4524
4537
|
const e = parseInt(r.slice(0, 2), 10);
|
|
4525
4538
|
return Number.isNaN(e) ? void 0 : e;
|
|
4526
4539
|
}
|
|
4527
|
-
function
|
|
4540
|
+
function hd(r, e) {
|
|
4528
4541
|
return `${String(e).padStart(2, "0")}${r.slice(2)}`;
|
|
4529
4542
|
}
|
|
4530
|
-
function
|
|
4543
|
+
function vd(r) {
|
|
4531
4544
|
if (!r) return;
|
|
4532
4545
|
const [e, n, o] = r.split(":"), t = parseInt(e, 10);
|
|
4533
4546
|
if (Number.isNaN(t) || n === void 0) return r;
|
|
4534
4547
|
const s = t >= 12, l = t % 12 === 0 ? 12 : t % 12, i = o !== void 0 ? `${n}:${o}` : n;
|
|
4535
4548
|
return `${l}:${i} ${s ? "PM" : "AM"}`;
|
|
4536
4549
|
}
|
|
4537
|
-
function
|
|
4550
|
+
function Nd(r, e) {
|
|
4538
4551
|
var o;
|
|
4539
4552
|
const n = (o = Object.getOwnPropertyDescriptor(
|
|
4540
4553
|
window.HTMLSelectElement.prototype,
|
|
@@ -4542,14 +4555,14 @@ function vd(r, e) {
|
|
|
4542
4555
|
)) == null ? void 0 : o.set;
|
|
4543
4556
|
n == null || n.call(r, e), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
4544
4557
|
}
|
|
4545
|
-
const
|
|
4558
|
+
const bd = [
|
|
4546
4559
|
"size",
|
|
4547
4560
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4548
4561
|
"variant",
|
|
4549
4562
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4550
4563
|
"radius"
|
|
4551
4564
|
// Recursica does not expose the library's native corner-radius system.
|
|
4552
|
-
], Aa =
|
|
4565
|
+
], Aa = m(
|
|
4553
4566
|
function(e, n) {
|
|
4554
4567
|
const {
|
|
4555
4568
|
overStyled: o = !1,
|
|
@@ -4560,13 +4573,13 @@ const Nd = [
|
|
|
4560
4573
|
labelOptionalText: i,
|
|
4561
4574
|
labelWithEditIcon: c,
|
|
4562
4575
|
onLabelEditClick: d,
|
|
4563
|
-
label:
|
|
4576
|
+
label: p,
|
|
4564
4577
|
assistiveText: _,
|
|
4565
4578
|
assistiveWithIcon: $,
|
|
4566
4579
|
error: y,
|
|
4567
4580
|
required: v,
|
|
4568
4581
|
withAsterisk: h,
|
|
4569
|
-
id:
|
|
4582
|
+
id: O,
|
|
4570
4583
|
className: N,
|
|
4571
4584
|
style: w,
|
|
4572
4585
|
disabled: T,
|
|
@@ -4575,39 +4588,39 @@ const Nd = [
|
|
|
4575
4588
|
emptyValueComponent: f,
|
|
4576
4589
|
value: b,
|
|
4577
4590
|
defaultValue: C,
|
|
4578
|
-
onChange:
|
|
4591
|
+
onChange: x,
|
|
4579
4592
|
withSeconds: R,
|
|
4580
4593
|
minTime: D,
|
|
4581
|
-
maxTime:
|
|
4582
|
-
...
|
|
4583
|
-
} = e,
|
|
4584
|
-
u(
|
|
4585
|
-
|
|
4586
|
-
),
|
|
4594
|
+
maxTime: A,
|
|
4595
|
+
...L
|
|
4596
|
+
} = e, F = E(
|
|
4597
|
+
u(L, o),
|
|
4598
|
+
bd
|
|
4599
|
+
), G = F, [Z, Y] = re(
|
|
4587
4600
|
() => b ?? C
|
|
4588
4601
|
);
|
|
4589
|
-
|
|
4590
|
-
b !== void 0 &&
|
|
4602
|
+
xe(() => {
|
|
4603
|
+
b !== void 0 && Y(b);
|
|
4591
4604
|
}, [b]);
|
|
4592
|
-
const
|
|
4593
|
-
|
|
4594
|
-
Mt(b ?? C) === void 0 &&
|
|
4605
|
+
const j = Be(null);
|
|
4606
|
+
xe(() => {
|
|
4607
|
+
Mt(b ?? C) === void 0 && j.current && Nd(j.current, "AM");
|
|
4595
4608
|
}, []);
|
|
4596
|
-
const
|
|
4597
|
-
|
|
4598
|
-
}, se = Mt(
|
|
4599
|
-
|
|
4600
|
-
},
|
|
4601
|
-
if (se === void 0 || !
|
|
4602
|
-
const
|
|
4603
|
-
if (
|
|
4604
|
-
const We =
|
|
4605
|
-
|
|
4606
|
-
},
|
|
4609
|
+
const Q = (ee) => {
|
|
4610
|
+
Y(ee), x == null || x(ee);
|
|
4611
|
+
}, se = Mt(Z), $e = se !== void 0 && se >= 12, M = (ee) => {
|
|
4612
|
+
Q(ee);
|
|
4613
|
+
}, ne = (ee) => {
|
|
4614
|
+
if (se === void 0 || !Z || !ee) return;
|
|
4615
|
+
const ce = ee === "PM";
|
|
4616
|
+
if (ce === $e) return;
|
|
4617
|
+
const We = ce ? se + 12 : se - 12;
|
|
4618
|
+
Q(hd(Z, We));
|
|
4619
|
+
}, H = N ? `${oo.layoutOverride} ${N}` : oo.layoutOverride;
|
|
4607
4620
|
return /* @__PURE__ */ a(
|
|
4608
4621
|
he,
|
|
4609
4622
|
{
|
|
4610
|
-
className:
|
|
4623
|
+
className: H,
|
|
4611
4624
|
style: w,
|
|
4612
4625
|
controlMaxWidth: void 0,
|
|
4613
4626
|
controlMinWidth: void 0,
|
|
@@ -4618,18 +4631,18 @@ const Nd = [
|
|
|
4618
4631
|
labelOptionalText: i,
|
|
4619
4632
|
labelWithEditIcon: c,
|
|
4620
4633
|
onLabelEditClick: d,
|
|
4621
|
-
label:
|
|
4634
|
+
label: p,
|
|
4622
4635
|
assistiveText: _,
|
|
4623
4636
|
assistiveWithIcon: $,
|
|
4624
4637
|
error: y,
|
|
4625
4638
|
required: v,
|
|
4626
4639
|
withAsterisk: h,
|
|
4627
|
-
id:
|
|
4640
|
+
id: O,
|
|
4628
4641
|
readOnly: g,
|
|
4629
4642
|
readOnlyComponent: P,
|
|
4630
4643
|
emptyValueComponent: f,
|
|
4631
4644
|
readOnlyType: "text",
|
|
4632
|
-
readOnlyValue:
|
|
4645
|
+
readOnlyValue: vd(
|
|
4633
4646
|
b !== void 0 ? b : C
|
|
4634
4647
|
),
|
|
4635
4648
|
readOnlyNativeProps: e,
|
|
@@ -4650,7 +4663,7 @@ const Nd = [
|
|
|
4650
4663
|
Nr,
|
|
4651
4664
|
{
|
|
4652
4665
|
ref: n,
|
|
4653
|
-
...
|
|
4666
|
+
...F,
|
|
4654
4667
|
classNames: W(
|
|
4655
4668
|
{
|
|
4656
4669
|
wrapper: oo.timeWrapper,
|
|
@@ -4658,17 +4671,17 @@ const Nd = [
|
|
|
4658
4671
|
fieldsGroup: oo.fieldsGroup,
|
|
4659
4672
|
field: oo.timeField
|
|
4660
4673
|
},
|
|
4661
|
-
|
|
4674
|
+
G.classNames
|
|
4662
4675
|
),
|
|
4663
4676
|
disabled: T,
|
|
4664
|
-
value:
|
|
4665
|
-
onChange:
|
|
4677
|
+
value: Z,
|
|
4678
|
+
onChange: M,
|
|
4666
4679
|
format: "12h",
|
|
4667
4680
|
withSeconds: R,
|
|
4668
4681
|
min: D,
|
|
4669
|
-
max:
|
|
4682
|
+
max: A,
|
|
4670
4683
|
withDropdown: !1,
|
|
4671
|
-
amPmRef:
|
|
4684
|
+
amPmRef: j
|
|
4672
4685
|
}
|
|
4673
4686
|
),
|
|
4674
4687
|
/* @__PURE__ */ a(
|
|
@@ -4677,9 +4690,9 @@ const Nd = [
|
|
|
4677
4690
|
overStyled: !0,
|
|
4678
4691
|
className: oo.amPmSelect,
|
|
4679
4692
|
styles: { wrapper: { width: "fit-content" } },
|
|
4680
|
-
data:
|
|
4693
|
+
data: yd,
|
|
4681
4694
|
value: $e ? "PM" : "AM",
|
|
4682
|
-
onChange:
|
|
4695
|
+
onChange: ne,
|
|
4683
4696
|
disabled: T,
|
|
4684
4697
|
error: !!y,
|
|
4685
4698
|
"aria-label": "AM or PM"
|
|
@@ -4694,15 +4707,15 @@ const Nd = [
|
|
|
4694
4707
|
}
|
|
4695
4708
|
);
|
|
4696
4709
|
Aa.displayName = "TimePicker";
|
|
4697
|
-
const
|
|
4698
|
-
root:
|
|
4699
|
-
item:
|
|
4700
|
-
itemBody:
|
|
4701
|
-
itemBullet:
|
|
4702
|
-
itemTitle:
|
|
4703
|
-
itemContent:
|
|
4704
|
-
description:
|
|
4705
|
-
timestamp:
|
|
4710
|
+
const Cd = "Timeline-module__root___LwRdZ", Pd = "Timeline-module__item___T5xdQ", gd = "Timeline-module__itemBody___XAV-E", Td = "Timeline-module__itemBullet___rPXCy", $d = "Timeline-module__itemTitle___GgRRW", wd = "Timeline-module__itemContent___vurs-", Sd = "Timeline-module__description___f9sxV", Od = "Timeline-module__timestamp___owiRu", to = {
|
|
4711
|
+
root: Cd,
|
|
4712
|
+
item: Pd,
|
|
4713
|
+
itemBody: gd,
|
|
4714
|
+
itemBullet: Td,
|
|
4715
|
+
itemTitle: $d,
|
|
4716
|
+
itemContent: wd,
|
|
4717
|
+
description: Sd,
|
|
4718
|
+
timestamp: Od
|
|
4706
4719
|
}, gt = U.forwardRef(
|
|
4707
4720
|
function({
|
|
4708
4721
|
overStyled: e = !1,
|
|
@@ -4720,7 +4733,7 @@ const bd = "Timeline-module__root___LwRdZ", Cd = "Timeline-module__item___T5xdQ"
|
|
|
4720
4733
|
itemTitle: to.itemTitle
|
|
4721
4734
|
},
|
|
4722
4735
|
c.classNames
|
|
4723
|
-
),
|
|
4736
|
+
), p = n ? /* @__PURE__ */ z(go, { children: [
|
|
4724
4737
|
t && /* @__PURE__ */ a("div", { className: to.description, children: t }),
|
|
4725
4738
|
/* @__PURE__ */ a("div", { className: to.timestamp, children: n })
|
|
4726
4739
|
] }) : t;
|
|
@@ -4731,7 +4744,7 @@ const bd = "Timeline-module__root___LwRdZ", Cd = "Timeline-module__item___T5xdQ"
|
|
|
4731
4744
|
...i,
|
|
4732
4745
|
classNames: d,
|
|
4733
4746
|
"data-variant": o,
|
|
4734
|
-
children:
|
|
4747
|
+
children: p
|
|
4735
4748
|
}
|
|
4736
4749
|
);
|
|
4737
4750
|
}
|
|
@@ -4756,7 +4769,7 @@ const za = U.forwardRef(
|
|
|
4756
4769
|
za.displayName = "Timeline";
|
|
4757
4770
|
const Wa = za;
|
|
4758
4771
|
Wa.Item = gt;
|
|
4759
|
-
const Da =
|
|
4772
|
+
const Da = m(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
4760
4773
|
const s = [
|
|
4761
4774
|
"size"
|
|
4762
4775
|
// Recursica controls Title sizing via the `order` prop + typography tokens, not Mantine's native `size`.
|
|
@@ -4775,14 +4788,14 @@ const Da = p(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
|
4775
4788
|
);
|
|
4776
4789
|
});
|
|
4777
4790
|
Da.displayName = "Title";
|
|
4778
|
-
const xd = "Toast-module__root___MUvfI",
|
|
4791
|
+
const xd = "Toast-module__root___MUvfI", kd = "Toast-module__icon___VwvE1", Rd = "Toast-module__loader___8Gxd-", Id = "Toast-module__title___-H6R2", Ld = "Toast-module__description___-QwfC", Md = "Toast-module__closeButton___vGr7g", Ad = "Toast-module__body___VLkXA", yo = {
|
|
4779
4792
|
root: xd,
|
|
4780
|
-
icon:
|
|
4781
|
-
loader:
|
|
4782
|
-
title:
|
|
4783
|
-
description:
|
|
4784
|
-
closeButton:
|
|
4785
|
-
body:
|
|
4793
|
+
icon: kd,
|
|
4794
|
+
loader: Rd,
|
|
4795
|
+
title: Id,
|
|
4796
|
+
description: Ld,
|
|
4797
|
+
closeButton: Md,
|
|
4798
|
+
body: Ad
|
|
4786
4799
|
}, Ea = U.forwardRef(
|
|
4787
4800
|
function({
|
|
4788
4801
|
overStyled: e = !1,
|
|
@@ -4827,10 +4840,10 @@ const xd = "Toast-module__root___MUvfI", Od = "Toast-module__icon___VwvE1", kd =
|
|
|
4827
4840
|
}
|
|
4828
4841
|
);
|
|
4829
4842
|
Ea.displayName = "Toast";
|
|
4830
|
-
const
|
|
4831
|
-
tooltip:
|
|
4832
|
-
arrow:
|
|
4833
|
-
},
|
|
4843
|
+
const zd = "Tooltip-module__tooltip___UA7H9", Wd = "Tooltip-module__arrow___4zROk", At = {
|
|
4844
|
+
tooltip: zd,
|
|
4845
|
+
arrow: Wd
|
|
4846
|
+
}, Ba = function({
|
|
4834
4847
|
overStyled: e = !1,
|
|
4835
4848
|
withBeak: n = !0,
|
|
4836
4849
|
position: o = "top",
|
|
@@ -4860,8 +4873,8 @@ const Ad = "Tooltip-module__tooltip___UA7H9", zd = "Tooltip-module__arrow___4zRO
|
|
|
4860
4873
|
}
|
|
4861
4874
|
);
|
|
4862
4875
|
};
|
|
4863
|
-
|
|
4864
|
-
const
|
|
4876
|
+
Ba.displayName = "Tooltip";
|
|
4877
|
+
const Fa = m(
|
|
4865
4878
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4866
4879
|
const t = u(n, e);
|
|
4867
4880
|
return /* @__PURE__ */ a(
|
|
@@ -4873,21 +4886,21 @@ const Ba = p(
|
|
|
4873
4886
|
);
|
|
4874
4887
|
}
|
|
4875
4888
|
);
|
|
4876
|
-
|
|
4877
|
-
const Tt =
|
|
4878
|
-
Tt.Floating =
|
|
4889
|
+
Fa.displayName = "TooltipFloating";
|
|
4890
|
+
const Tt = Ba;
|
|
4891
|
+
Tt.Floating = Fa;
|
|
4879
4892
|
Tt.Group = it.Group;
|
|
4880
|
-
const
|
|
4881
|
-
layoutOverride:
|
|
4882
|
-
root:
|
|
4883
|
-
panes:
|
|
4893
|
+
const Dd = "TransferList-module__layoutOverride___nkb32", Ed = "TransferList-module__root___ikjI7", Bd = "TransferList-module__panes___dtwkW", Fd = "TransferList-module__pane___hy-kC", Ud = "TransferList-module__paneHeader___HZrKX", Gd = "TransferList-module__paneSearch___Xji-g", Vd = "TransferList-module__paneList___v0rcJ", Hd = "TransferList-module__emptyState___azPw-", jd = "TransferList-module__transferColumn___3R2Ki", qd = "TransferList-module__chevron___l-KdI", ge = {
|
|
4894
|
+
layoutOverride: Dd,
|
|
4895
|
+
root: Ed,
|
|
4896
|
+
panes: Bd,
|
|
4884
4897
|
pane: Fd,
|
|
4885
|
-
paneHeader:
|
|
4886
|
-
paneSearch:
|
|
4887
|
-
paneList:
|
|
4888
|
-
emptyState:
|
|
4889
|
-
transferColumn:
|
|
4890
|
-
chevron:
|
|
4898
|
+
paneHeader: Ud,
|
|
4899
|
+
paneSearch: Gd,
|
|
4900
|
+
paneList: Vd,
|
|
4901
|
+
emptyState: Hd,
|
|
4902
|
+
transferColumn: jd,
|
|
4903
|
+
chevron: qd
|
|
4891
4904
|
};
|
|
4892
4905
|
function zt({ direction: r }) {
|
|
4893
4906
|
return /* @__PURE__ */ a(
|
|
@@ -4927,14 +4940,14 @@ function Wt({ direction: r }) {
|
|
|
4927
4940
|
}
|
|
4928
4941
|
);
|
|
4929
4942
|
}
|
|
4930
|
-
function
|
|
4943
|
+
function Kd(r) {
|
|
4931
4944
|
const e = {}, n = [];
|
|
4932
4945
|
return r.forEach((o) => {
|
|
4933
4946
|
var t;
|
|
4934
4947
|
o.group ? (e[t = o.group] ?? (e[t] = [])).push(o) : n.push(o);
|
|
4935
4948
|
}), { groups: e, ungrouped: n };
|
|
4936
4949
|
}
|
|
4937
|
-
const Ua =
|
|
4950
|
+
const Ua = m(
|
|
4938
4951
|
function(e, n) {
|
|
4939
4952
|
const {
|
|
4940
4953
|
overStyled: o = !1,
|
|
@@ -4945,13 +4958,13 @@ const Ua = p(
|
|
|
4945
4958
|
labelOptionalText: i,
|
|
4946
4959
|
labelWithEditIcon: c,
|
|
4947
4960
|
labelActionArea: d,
|
|
4948
|
-
onLabelEditClick:
|
|
4961
|
+
onLabelEditClick: p,
|
|
4949
4962
|
label: _,
|
|
4950
4963
|
assistiveText: $,
|
|
4951
4964
|
description: y,
|
|
4952
4965
|
helperText: v,
|
|
4953
4966
|
assistiveWithIcon: h,
|
|
4954
|
-
error:
|
|
4967
|
+
error: O,
|
|
4955
4968
|
required: N,
|
|
4956
4969
|
id: w,
|
|
4957
4970
|
readOnly: T,
|
|
@@ -4960,119 +4973,119 @@ const Ua = p(
|
|
|
4960
4973
|
data: f,
|
|
4961
4974
|
defaultData: b,
|
|
4962
4975
|
onChange: C,
|
|
4963
|
-
sourceLabel:
|
|
4976
|
+
sourceLabel: x = "Available",
|
|
4964
4977
|
targetLabel: R = "Selected",
|
|
4965
4978
|
searchable: D = !0,
|
|
4966
|
-
searchPlaceholder:
|
|
4967
|
-
disabled:
|
|
4968
|
-
className:
|
|
4969
|
-
style:
|
|
4970
|
-
...
|
|
4971
|
-
} = e,
|
|
4979
|
+
searchPlaceholder: A = "Filter items...",
|
|
4980
|
+
disabled: L = !1,
|
|
4981
|
+
className: F,
|
|
4982
|
+
style: G,
|
|
4983
|
+
...Z
|
|
4984
|
+
} = e, Y = u(Z, o), j = Dt(), Q = w || `recursica-transfer-list-${j}`, [se, $e] = re(
|
|
4972
4985
|
() => b ?? f ?? [[], []]
|
|
4973
|
-
),
|
|
4974
|
-
(
|
|
4975
|
-
f === void 0 && $e(
|
|
4986
|
+
), M = f !== void 0 ? f : se, ne = po(
|
|
4987
|
+
(B) => {
|
|
4988
|
+
f === void 0 && $e(B), C == null || C(B);
|
|
4976
4989
|
},
|
|
4977
4990
|
[f, C]
|
|
4978
|
-
), [
|
|
4991
|
+
), [H, ee] = re(""), [ce, We] = re(""), [me, de] = re(
|
|
4979
4992
|
() => /* @__PURE__ */ new Set()
|
|
4980
|
-
), [ve, Ne] =
|
|
4993
|
+
), [ve, Ne] = re(
|
|
4981
4994
|
() => /* @__PURE__ */ new Set()
|
|
4982
|
-
), we =
|
|
4983
|
-
if (!
|
|
4984
|
-
const
|
|
4985
|
-
return
|
|
4986
|
-
(
|
|
4995
|
+
), we = Ot(() => {
|
|
4996
|
+
if (!H) return M[0];
|
|
4997
|
+
const B = H.toLowerCase();
|
|
4998
|
+
return M[0].filter(
|
|
4999
|
+
(K) => K.label.toLowerCase().includes(B)
|
|
4987
5000
|
);
|
|
4988
|
-
}, [
|
|
4989
|
-
if (!
|
|
4990
|
-
const
|
|
4991
|
-
return
|
|
4992
|
-
(
|
|
5001
|
+
}, [M, H]), lo = Ot(() => {
|
|
5002
|
+
if (!ce) return M[1];
|
|
5003
|
+
const B = ce.toLowerCase();
|
|
5004
|
+
return M[1].filter(
|
|
5005
|
+
(K) => K.label.toLowerCase().includes(B)
|
|
4993
5006
|
);
|
|
4994
|
-
}, [
|
|
4995
|
-
if (
|
|
4996
|
-
const
|
|
4997
|
-
(
|
|
4998
|
-
),
|
|
4999
|
-
(
|
|
5007
|
+
}, [M, ce]), be = po(() => {
|
|
5008
|
+
if (me.size === 0) return;
|
|
5009
|
+
const B = M[0].filter(
|
|
5010
|
+
(V) => !me.has(V.value)
|
|
5011
|
+
), K = M[0].filter(
|
|
5012
|
+
(V) => me.has(V.value)
|
|
5000
5013
|
);
|
|
5001
|
-
|
|
5002
|
-
}, [
|
|
5014
|
+
de(/* @__PURE__ */ new Set()), ne([B, [...M[1], ...K]]);
|
|
5015
|
+
}, [M, me, ne]), Ke = po(() => {
|
|
5003
5016
|
if (ve.size === 0) return;
|
|
5004
|
-
const
|
|
5005
|
-
(
|
|
5006
|
-
),
|
|
5007
|
-
(
|
|
5017
|
+
const B = M[1].filter(
|
|
5018
|
+
(V) => !ve.has(V.value)
|
|
5019
|
+
), K = M[1].filter(
|
|
5020
|
+
(V) => ve.has(V.value)
|
|
5008
5021
|
);
|
|
5009
|
-
Ne(/* @__PURE__ */ new Set()),
|
|
5010
|
-
}, [
|
|
5011
|
-
|
|
5012
|
-
}, [
|
|
5013
|
-
|
|
5014
|
-
}, [
|
|
5015
|
-
|
|
5016
|
-
const
|
|
5017
|
-
return
|
|
5022
|
+
Ne(/* @__PURE__ */ new Set()), ne([[...M[0], ...K], B]);
|
|
5023
|
+
}, [M, ve, ne]), Ye = po(() => {
|
|
5024
|
+
M[0].length !== 0 && (de(/* @__PURE__ */ new Set()), ne([[], [...M[1], ...M[0]]]));
|
|
5025
|
+
}, [M, ne]), io = po(() => {
|
|
5026
|
+
M[1].length !== 0 && (Ne(/* @__PURE__ */ new Set()), ne([[...M[0], ...M[1]], []]));
|
|
5027
|
+
}, [M, ne]), Ze = po((B) => {
|
|
5028
|
+
de((K) => {
|
|
5029
|
+
const V = new Set(K);
|
|
5030
|
+
return V.has(B) ? V.delete(B) : V.add(B), V;
|
|
5018
5031
|
});
|
|
5019
|
-
}, []), co = po((
|
|
5020
|
-
Ne((
|
|
5021
|
-
const
|
|
5022
|
-
return
|
|
5032
|
+
}, []), co = po((B) => {
|
|
5033
|
+
Ne((K) => {
|
|
5034
|
+
const V = new Set(K);
|
|
5035
|
+
return V.has(B) ? V.delete(B) : V.add(B), V;
|
|
5023
5036
|
});
|
|
5024
|
-
}, []), Xe = (
|
|
5025
|
-
const { groups: S, ungrouped: J } =
|
|
5026
|
-
return /* @__PURE__ */ z("div", { className: ge.pane, "data-pane":
|
|
5037
|
+
}, []), Xe = (B, K, V, I, q, oe, ue, uo) => {
|
|
5038
|
+
const { groups: S, ungrouped: J } = Kd(V), X = Object.keys(S).sort(), _e = q.size > 0 ? `${q.size} / ${I.length}` : `${I.length}`;
|
|
5039
|
+
return /* @__PURE__ */ z("div", { className: ge.pane, "data-pane": B, children: [
|
|
5027
5040
|
/* @__PURE__ */ z("div", { className: ge.paneHeader, children: [
|
|
5028
|
-
/* @__PURE__ */ a("span", { children:
|
|
5029
|
-
/* @__PURE__ */ a(en, { children:
|
|
5041
|
+
/* @__PURE__ */ a("span", { children: K }),
|
|
5042
|
+
/* @__PURE__ */ a(en, { children: _e })
|
|
5030
5043
|
] }),
|
|
5031
5044
|
D && /* @__PURE__ */ a("div", { className: ge.paneSearch, children: /* @__PURE__ */ a(
|
|
5032
5045
|
Pt,
|
|
5033
5046
|
{
|
|
5034
|
-
value:
|
|
5035
|
-
onChange: (
|
|
5036
|
-
placeholder:
|
|
5037
|
-
disabled:
|
|
5038
|
-
"aria-label": `Filter ${
|
|
5047
|
+
value: ue,
|
|
5048
|
+
onChange: (te) => uo(te.currentTarget.value),
|
|
5049
|
+
placeholder: A,
|
|
5050
|
+
disabled: L,
|
|
5051
|
+
"aria-label": `Filter ${K.toLowerCase()}`
|
|
5039
5052
|
}
|
|
5040
5053
|
) }),
|
|
5041
5054
|
/* @__PURE__ */ z("div", { className: ge.paneList, children: [
|
|
5042
|
-
|
|
5043
|
-
J.length > 0 && /* @__PURE__ */ a(Io, { children: J.map((
|
|
5055
|
+
V.length === 0 && /* @__PURE__ */ a("div", { className: ge.emptyState, children: "No items" }),
|
|
5056
|
+
J.length > 0 && /* @__PURE__ */ a(Io, { children: J.map((te) => /* @__PURE__ */ a(
|
|
5044
5057
|
Lo,
|
|
5045
5058
|
{
|
|
5046
|
-
id: `${
|
|
5047
|
-
label:
|
|
5048
|
-
checked:
|
|
5049
|
-
onChange: () =>
|
|
5050
|
-
disabled:
|
|
5059
|
+
id: `${Q}-${B}-${te.value}`,
|
|
5060
|
+
label: te.label,
|
|
5061
|
+
checked: q.has(te.value),
|
|
5062
|
+
onChange: () => oe(te.value),
|
|
5063
|
+
disabled: L
|
|
5051
5064
|
},
|
|
5052
|
-
|
|
5065
|
+
te.value
|
|
5053
5066
|
)) }),
|
|
5054
|
-
|
|
5067
|
+
X.map((te) => /* @__PURE__ */ a(
|
|
5055
5068
|
Io,
|
|
5056
5069
|
{
|
|
5057
|
-
label:
|
|
5070
|
+
label: te,
|
|
5058
5071
|
labelSize: "small",
|
|
5059
|
-
children: S[
|
|
5072
|
+
children: S[te].map((Ce) => /* @__PURE__ */ a(
|
|
5060
5073
|
Lo,
|
|
5061
5074
|
{
|
|
5062
|
-
id: `${
|
|
5075
|
+
id: `${Q}-${B}-${Ce.value}`,
|
|
5063
5076
|
label: Ce.label,
|
|
5064
|
-
checked:
|
|
5065
|
-
onChange: () =>
|
|
5066
|
-
disabled:
|
|
5077
|
+
checked: q.has(Ce.value),
|
|
5078
|
+
onChange: () => oe(Ce.value),
|
|
5079
|
+
disabled: L
|
|
5067
5080
|
},
|
|
5068
5081
|
Ce.value
|
|
5069
5082
|
))
|
|
5070
5083
|
},
|
|
5071
|
-
|
|
5084
|
+
te
|
|
5072
5085
|
))
|
|
5073
5086
|
] })
|
|
5074
5087
|
] });
|
|
5075
|
-
}, No =
|
|
5088
|
+
}, No = F ? `${ge.layoutOverride} ${F}` : ge.layoutOverride;
|
|
5076
5089
|
return /* @__PURE__ */ a(
|
|
5077
5090
|
he,
|
|
5078
5091
|
{
|
|
@@ -5083,41 +5096,41 @@ const Ua = p(
|
|
|
5083
5096
|
labelOptionalText: i,
|
|
5084
5097
|
labelWithEditIcon: c,
|
|
5085
5098
|
labelActionArea: d,
|
|
5086
|
-
onLabelEditClick:
|
|
5099
|
+
onLabelEditClick: p,
|
|
5087
5100
|
label: _,
|
|
5088
5101
|
assistiveText: $,
|
|
5089
5102
|
description: y,
|
|
5090
5103
|
helperText: v,
|
|
5091
5104
|
assistiveWithIcon: h,
|
|
5092
|
-
error:
|
|
5105
|
+
error: O,
|
|
5093
5106
|
required: N,
|
|
5094
|
-
id:
|
|
5107
|
+
id: Q,
|
|
5095
5108
|
className: No,
|
|
5096
|
-
style:
|
|
5109
|
+
style: G,
|
|
5097
5110
|
overStyled: o,
|
|
5098
5111
|
readOnly: T,
|
|
5099
5112
|
readOnlyComponent: g,
|
|
5100
5113
|
emptyValueComponent: P,
|
|
5101
5114
|
readOnlyType: "text",
|
|
5102
|
-
readOnlyValue:
|
|
5115
|
+
readOnlyValue: M[1].map((B) => B.label),
|
|
5103
5116
|
readOnlyNativeProps: e,
|
|
5104
5117
|
activeComponent: /* @__PURE__ */ a(
|
|
5105
5118
|
"div",
|
|
5106
5119
|
{
|
|
5107
|
-
...
|
|
5120
|
+
...Y,
|
|
5108
5121
|
className: ge.root,
|
|
5109
|
-
"data-disabled":
|
|
5110
|
-
"data-error":
|
|
5122
|
+
"data-disabled": L ? "true" : void 0,
|
|
5123
|
+
"data-error": O ? "true" : void 0,
|
|
5111
5124
|
children: /* @__PURE__ */ z("div", { className: ge.panes, children: [
|
|
5112
5125
|
Xe(
|
|
5113
5126
|
"source",
|
|
5114
|
-
|
|
5127
|
+
x,
|
|
5115
5128
|
we,
|
|
5116
|
-
|
|
5117
|
-
|
|
5129
|
+
M[0],
|
|
5130
|
+
me,
|
|
5118
5131
|
Ze,
|
|
5119
|
-
|
|
5120
|
-
|
|
5132
|
+
H,
|
|
5133
|
+
ee
|
|
5121
5134
|
),
|
|
5122
5135
|
/* @__PURE__ */ z("div", { className: ge.transferColumn, children: [
|
|
5123
5136
|
/* @__PURE__ */ a(
|
|
@@ -5127,7 +5140,7 @@ const Ua = p(
|
|
|
5127
5140
|
size: "small",
|
|
5128
5141
|
icon: /* @__PURE__ */ a(Wt, { direction: "right" }),
|
|
5129
5142
|
"aria-label": `Move all to ${R}`,
|
|
5130
|
-
disabled:
|
|
5143
|
+
disabled: L || M[0].length === 0,
|
|
5131
5144
|
onClick: Ye
|
|
5132
5145
|
}
|
|
5133
5146
|
),
|
|
@@ -5138,7 +5151,7 @@ const Ua = p(
|
|
|
5138
5151
|
size: "small",
|
|
5139
5152
|
icon: /* @__PURE__ */ a(zt, { direction: "right" }),
|
|
5140
5153
|
"aria-label": `Move selected to ${R}`,
|
|
5141
|
-
disabled:
|
|
5154
|
+
disabled: L || me.size === 0,
|
|
5142
5155
|
onClick: be
|
|
5143
5156
|
}
|
|
5144
5157
|
),
|
|
@@ -5148,8 +5161,8 @@ const Ua = p(
|
|
|
5148
5161
|
variant: "outline",
|
|
5149
5162
|
size: "small",
|
|
5150
5163
|
icon: /* @__PURE__ */ a(zt, { direction: "left" }),
|
|
5151
|
-
"aria-label": `Move selected to ${
|
|
5152
|
-
disabled:
|
|
5164
|
+
"aria-label": `Move selected to ${x}`,
|
|
5165
|
+
disabled: L || ve.size === 0,
|
|
5153
5166
|
onClick: Ke
|
|
5154
5167
|
}
|
|
5155
5168
|
),
|
|
@@ -5159,8 +5172,8 @@ const Ua = p(
|
|
|
5159
5172
|
variant: "outline",
|
|
5160
5173
|
size: "small",
|
|
5161
5174
|
icon: /* @__PURE__ */ a(Wt, { direction: "left" }),
|
|
5162
|
-
"aria-label": `Move all to ${
|
|
5163
|
-
disabled:
|
|
5175
|
+
"aria-label": `Move all to ${x}`,
|
|
5176
|
+
disabled: L || M[1].length === 0,
|
|
5164
5177
|
onClick: io
|
|
5165
5178
|
}
|
|
5166
5179
|
)
|
|
@@ -5169,10 +5182,10 @@ const Ua = p(
|
|
|
5169
5182
|
"target",
|
|
5170
5183
|
R,
|
|
5171
5184
|
lo,
|
|
5172
|
-
|
|
5185
|
+
M[1],
|
|
5173
5186
|
ve,
|
|
5174
5187
|
co,
|
|
5175
|
-
|
|
5188
|
+
ce,
|
|
5176
5189
|
We
|
|
5177
5190
|
)
|
|
5178
5191
|
] })
|
|
@@ -5183,16 +5196,16 @@ const Ua = p(
|
|
|
5183
5196
|
}
|
|
5184
5197
|
);
|
|
5185
5198
|
Ua.displayName = "TransferList";
|
|
5186
|
-
const
|
|
5187
|
-
root:
|
|
5188
|
-
subtree:
|
|
5189
|
-
node:
|
|
5190
|
-
row:
|
|
5191
|
-
label:
|
|
5192
|
-
expandButton:
|
|
5193
|
-
expandGlyph:
|
|
5199
|
+
const Yd = "Tree-module__root___ANcH3", Zd = "Tree-module__subtree___KoLT8", Xd = "Tree-module__node___Hvnjg", Jd = "Tree-module__row___sq5ff", Qd = "Tree-module__label___zJDit", eu = "Tree-module__expandButton___W0WTT", ou = "Tree-module__expandGlyph___w8dDQ", so = {
|
|
5200
|
+
root: Yd,
|
|
5201
|
+
subtree: Zd,
|
|
5202
|
+
node: Xd,
|
|
5203
|
+
row: Jd,
|
|
5204
|
+
label: Qd,
|
|
5205
|
+
expandButton: eu,
|
|
5206
|
+
expandGlyph: ou
|
|
5194
5207
|
};
|
|
5195
|
-
function
|
|
5208
|
+
function tu() {
|
|
5196
5209
|
return /* @__PURE__ */ a(
|
|
5197
5210
|
"svg",
|
|
5198
5211
|
{
|
|
@@ -5210,7 +5223,7 @@ function ou() {
|
|
|
5210
5223
|
}
|
|
5211
5224
|
);
|
|
5212
5225
|
}
|
|
5213
|
-
function
|
|
5226
|
+
function nu(r) {
|
|
5214
5227
|
return function({
|
|
5215
5228
|
node: n,
|
|
5216
5229
|
hasChildren: o,
|
|
@@ -5233,7 +5246,7 @@ function tu(r) {
|
|
|
5233
5246
|
overStyled: !0,
|
|
5234
5247
|
variant: "text",
|
|
5235
5248
|
size: "small",
|
|
5236
|
-
icon: /* @__PURE__ */ a(
|
|
5249
|
+
icon: /* @__PURE__ */ a(tu, {}),
|
|
5237
5250
|
"aria-label": "Toggle subtree",
|
|
5238
5251
|
"aria-hidden": "true",
|
|
5239
5252
|
tabIndex: -1,
|
|
@@ -5249,7 +5262,7 @@ function tu(r) {
|
|
|
5249
5262
|
);
|
|
5250
5263
|
};
|
|
5251
5264
|
}
|
|
5252
|
-
const Ga =
|
|
5265
|
+
const Ga = m(function({
|
|
5253
5266
|
overStyled: e = !1,
|
|
5254
5267
|
data: n,
|
|
5255
5268
|
initialExpandedValues: o,
|
|
@@ -5259,20 +5272,20 @@ const Ga = p(function({
|
|
|
5259
5272
|
onNodeExpand: i,
|
|
5260
5273
|
onNodeCollapse: c,
|
|
5261
5274
|
onSelectedChange: d,
|
|
5262
|
-
...
|
|
5275
|
+
...p
|
|
5263
5276
|
}, _) {
|
|
5264
|
-
const $ = u(
|
|
5277
|
+
const $ = u(p, e), y = fr({
|
|
5265
5278
|
initialExpandedState: o ? yr(n, o) : void 0,
|
|
5266
5279
|
initialSelectedState: t,
|
|
5267
5280
|
multiple: s,
|
|
5268
5281
|
onNodeExpand: i,
|
|
5269
5282
|
onNodeCollapse: c
|
|
5270
5283
|
});
|
|
5271
|
-
|
|
5284
|
+
xe(() => {
|
|
5272
5285
|
d == null || d(y.selectedState);
|
|
5273
5286
|
}, [y.selectedState, d]);
|
|
5274
5287
|
const v = U.useRef(null);
|
|
5275
|
-
|
|
5288
|
+
xe(() => {
|
|
5276
5289
|
const T = v.current;
|
|
5277
5290
|
if (!T) return;
|
|
5278
5291
|
const g = (P) => {
|
|
@@ -5283,7 +5296,7 @@ const Ga = p(function({
|
|
|
5283
5296
|
b && (P.preventDefault(), y.select(b));
|
|
5284
5297
|
};
|
|
5285
5298
|
return T.addEventListener("keydown", g), () => T.removeEventListener("keydown", g);
|
|
5286
|
-
}, [y.select, l]),
|
|
5299
|
+
}, [y.select, l]), xe(() => {
|
|
5287
5300
|
const T = v.current;
|
|
5288
5301
|
if (!T || !l) return;
|
|
5289
5302
|
const g = (P) => {
|
|
@@ -5291,7 +5304,7 @@ const Ga = p(function({
|
|
|
5291
5304
|
};
|
|
5292
5305
|
return T.addEventListener("keydown", g, { capture: !0 }), () => T.removeEventListener("keydown", g, { capture: !0 });
|
|
5293
5306
|
}, [l]);
|
|
5294
|
-
const h = br(_, v),
|
|
5307
|
+
const h = br(_, v), O = $, N = O.className, w = N ? `${so.root} ${N}` : so.root;
|
|
5295
5308
|
return /* @__PURE__ */ a(
|
|
5296
5309
|
hr,
|
|
5297
5310
|
{
|
|
@@ -5302,189 +5315,189 @@ const Ga = p(function({
|
|
|
5302
5315
|
expandOnClick: !1,
|
|
5303
5316
|
selectOnClick: !l,
|
|
5304
5317
|
expandOnSpace: !1,
|
|
5305
|
-
renderNode:
|
|
5318
|
+
renderNode: nu(l),
|
|
5306
5319
|
"data-disabled": l || void 0,
|
|
5307
5320
|
classNames: W(
|
|
5308
5321
|
{ root: w, node: so.node, subtree: so.subtree },
|
|
5309
|
-
|
|
5322
|
+
O.classNames
|
|
5310
5323
|
)
|
|
5311
5324
|
}
|
|
5312
5325
|
);
|
|
5313
5326
|
});
|
|
5314
5327
|
Ga.displayName = "Tree";
|
|
5315
|
-
const
|
|
5328
|
+
const _u = zl, fu = bn, yu = Nn, hu = Cn, vu = vc, Nu = un, bu = jl, Cu = Jc, Pu = k(
|
|
5316
5329
|
Xo
|
|
5317
|
-
), Pu = k(
|
|
5318
|
-
ct
|
|
5319
5330
|
), gu = k(
|
|
5320
|
-
|
|
5331
|
+
ct
|
|
5321
5332
|
), Tu = k(
|
|
5322
|
-
|
|
5333
|
+
Yo
|
|
5323
5334
|
), $u = k(
|
|
5324
|
-
|
|
5335
|
+
Zo
|
|
5325
5336
|
), wu = k(
|
|
5326
|
-
|
|
5337
|
+
Vo
|
|
5327
5338
|
), Su = k(
|
|
5339
|
+
Xt
|
|
5340
|
+
), Ou = k(
|
|
5328
5341
|
fs
|
|
5329
5342
|
), xu = k(
|
|
5330
5343
|
en
|
|
5331
|
-
), Ou = k(
|
|
5332
|
-
on
|
|
5333
5344
|
), ku = k(
|
|
5334
|
-
|
|
5345
|
+
on
|
|
5335
5346
|
), Ru = k(
|
|
5336
|
-
|
|
5347
|
+
ro
|
|
5337
5348
|
), Iu = k(
|
|
5338
|
-
|
|
5349
|
+
Ls
|
|
5339
5350
|
), Lu = k(
|
|
5340
|
-
|
|
5351
|
+
Lo
|
|
5341
5352
|
), Mu = k(
|
|
5342
|
-
|
|
5353
|
+
Io
|
|
5343
5354
|
), Au = k(
|
|
5344
|
-
|
|
5355
|
+
Mo
|
|
5345
5356
|
), zu = k(
|
|
5346
|
-
|
|
5357
|
+
pn
|
|
5347
5358
|
), Wu = k(
|
|
5348
|
-
|
|
5359
|
+
mn
|
|
5349
5360
|
), Du = k(
|
|
5350
|
-
|
|
5361
|
+
_n
|
|
5351
5362
|
), Eu = k(
|
|
5352
|
-
|
|
5363
|
+
fn
|
|
5364
|
+
), Bu = k(
|
|
5365
|
+
Fe
|
|
5353
5366
|
), Fu = k(
|
|
5354
5367
|
mt
|
|
5355
|
-
), Bu = k(
|
|
5356
|
-
pt
|
|
5357
5368
|
), Uu = k(
|
|
5358
|
-
|
|
5369
|
+
pt
|
|
5359
5370
|
), Gu = k(
|
|
5360
|
-
|
|
5371
|
+
dt
|
|
5361
5372
|
), Vu = k(
|
|
5362
|
-
|
|
5373
|
+
vo
|
|
5363
5374
|
), Hu = k(
|
|
5364
|
-
|
|
5375
|
+
je
|
|
5365
5376
|
), ju = k(
|
|
5366
|
-
|
|
5377
|
+
Gn
|
|
5367
5378
|
), qu = k(
|
|
5368
|
-
|
|
5379
|
+
Ae
|
|
5369
5380
|
), Ku = k(
|
|
5370
|
-
|
|
5381
|
+
ze
|
|
5371
5382
|
), Yu = k(
|
|
5372
|
-
|
|
5383
|
+
yt
|
|
5373
5384
|
), Zu = k(
|
|
5374
|
-
|
|
5385
|
+
ht
|
|
5375
5386
|
), Xu = k(
|
|
5376
|
-
|
|
5387
|
+
Nt
|
|
5377
5388
|
), Ju = k(
|
|
5378
|
-
|
|
5389
|
+
vt
|
|
5379
5390
|
), Qu = k(
|
|
5380
|
-
|
|
5391
|
+
ut
|
|
5381
5392
|
), ep = k(
|
|
5382
|
-
|
|
5393
|
+
ec
|
|
5383
5394
|
), op = k(
|
|
5384
|
-
|
|
5395
|
+
fa
|
|
5385
5396
|
), tp = k(
|
|
5386
|
-
|
|
5397
|
+
Mc
|
|
5387
5398
|
), np = k(
|
|
5388
|
-
|
|
5399
|
+
Ct
|
|
5389
5400
|
), ap = k(
|
|
5390
|
-
|
|
5401
|
+
bt
|
|
5391
5402
|
), rp = k(
|
|
5392
|
-
|
|
5403
|
+
qe
|
|
5393
5404
|
), sp = k(
|
|
5394
|
-
|
|
5405
|
+
Xc
|
|
5395
5406
|
), lp = k(
|
|
5396
|
-
|
|
5407
|
+
La
|
|
5397
5408
|
), ip = k(
|
|
5398
|
-
|
|
5409
|
+
Pt
|
|
5399
5410
|
), cp = k(
|
|
5400
|
-
|
|
5411
|
+
Aa
|
|
5401
5412
|
), dp = k(
|
|
5402
|
-
|
|
5413
|
+
Wa
|
|
5403
5414
|
), up = k(
|
|
5404
|
-
|
|
5415
|
+
gt
|
|
5405
5416
|
), pp = k(
|
|
5406
|
-
|
|
5417
|
+
Da
|
|
5407
5418
|
), mp = k(
|
|
5408
|
-
|
|
5419
|
+
Ea
|
|
5409
5420
|
), _p = k(
|
|
5410
|
-
|
|
5421
|
+
Tt
|
|
5411
5422
|
), fp = k(
|
|
5423
|
+
Ua
|
|
5424
|
+
), yp = k(
|
|
5412
5425
|
Ga
|
|
5413
5426
|
);
|
|
5414
5427
|
export {
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5428
|
+
Pu as Accordion,
|
|
5429
|
+
Tu as AccordionControl,
|
|
5430
|
+
gu as AccordionItem,
|
|
5431
|
+
$u as AccordionPanel,
|
|
5432
|
+
wu as AssistiveElement,
|
|
5433
|
+
Su as AutoComplete,
|
|
5434
|
+
Ou as Avatar,
|
|
5422
5435
|
xu as Badge,
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5436
|
+
ku as Breadcrumb,
|
|
5437
|
+
Ru as Button,
|
|
5438
|
+
Iu as Card,
|
|
5439
|
+
Lu as Checkbox,
|
|
5440
|
+
Mu as CheckboxGroup,
|
|
5441
|
+
Au as Chip,
|
|
5442
|
+
Nu as Container,
|
|
5443
|
+
zu as DatePicker,
|
|
5444
|
+
Wu as Dropdown,
|
|
5432
5445
|
Uo as EmptyValueRenderer,
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5446
|
+
Du as FileInput,
|
|
5447
|
+
Eu as FileUpload,
|
|
5448
|
+
_u as Flex,
|
|
5449
|
+
Bu as FormControlLayout,
|
|
5450
|
+
fu as Grid,
|
|
5451
|
+
yu as GridCol,
|
|
5452
|
+
hu as Group,
|
|
5440
5453
|
Fu as HoverCard,
|
|
5441
5454
|
ho as IS_DEV,
|
|
5442
|
-
|
|
5455
|
+
Gu as Label,
|
|
5443
5456
|
Ht as Layer,
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5457
|
+
bu as Link,
|
|
5458
|
+
Uu as Loader,
|
|
5459
|
+
Vu as Menu,
|
|
5460
|
+
Hu as Modal,
|
|
5461
|
+
ju as NumberInput,
|
|
5462
|
+
qu as Pagination,
|
|
5463
|
+
Ku as Panel,
|
|
5464
|
+
Yu as PanelFooter,
|
|
5465
|
+
Zu as Popover,
|
|
5466
|
+
pu as RECURSICA_COMPONENTS,
|
|
5467
|
+
Xu as Radio,
|
|
5468
|
+
Ju as RadioGroup,
|
|
5469
|
+
Qu as ReadOnlyField,
|
|
5470
|
+
uu as RecursicaThemeProvider,
|
|
5471
|
+
ep as SegmentedControl,
|
|
5472
|
+
op as Slider,
|
|
5473
|
+
vu as Stack,
|
|
5474
|
+
tp as Stepper,
|
|
5475
|
+
np as Switch,
|
|
5476
|
+
ap as SwitchGroup,
|
|
5477
|
+
rp as Table,
|
|
5478
|
+
sp as Tabs,
|
|
5479
|
+
Cu as Text,
|
|
5480
|
+
lp as TextArea,
|
|
5481
|
+
ip as TextField,
|
|
5482
|
+
cp as TimePicker,
|
|
5483
|
+
dp as Timeline,
|
|
5484
|
+
up as TimelineItem,
|
|
5485
|
+
pp as Title,
|
|
5486
|
+
mp as Toast,
|
|
5487
|
+
_p as Tooltip,
|
|
5488
|
+
fp as TransferList,
|
|
5489
|
+
yp as Tree,
|
|
5490
|
+
mu as copyToClipboard,
|
|
5478
5491
|
Kt as fileMatchesAccept,
|
|
5479
5492
|
jt as injectOverStyledStyles,
|
|
5480
|
-
|
|
5493
|
+
du as isGlobalOverStyledActive,
|
|
5481
5494
|
W as mergeClassNames,
|
|
5482
5495
|
wr as mergeStyles,
|
|
5483
5496
|
E as omitUnsupportedProps,
|
|
5484
5497
|
qt as registerOverStyledConsoleCommand,
|
|
5485
5498
|
Tr as toggleGlobalOverStyled,
|
|
5486
5499
|
$r as useGlobalOverStyled,
|
|
5487
|
-
|
|
5500
|
+
pe as withCallerOverride,
|
|
5488
5501
|
k as wrapComponent
|
|
5489
5502
|
};
|
|
5490
5503
|
//# sourceMappingURL=mantine-adapter.js.map
|