@recursica/mantine-adapter 0.50.5 → 0.50.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as No, jsxs as M } from "react/jsx-runtime";
|
|
2
|
-
import K, { forwardRef as _, useState as ce, useEffect as
|
|
3
|
-
import { Accordion as qo, Input as
|
|
2
|
+
import K, { forwardRef as _, useState as ce, useEffect as ke, useId as Ft, useRef as Ve, useCallback as _o, useMemo as It } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Bt, Box as Ya, Autocomplete as Za, Avatar as Qa, createPolymorphicComponent as Te, Badge as Xa, Breadcrumbs as Ja, Loader as er, Button as or, Card as Ko, Checkbox as Ut, Chip as tr, Container as nr, Select as Vt, Flex as ar, Grid as Gt, Group as rr, HoverCard as st, Anchor as sr, Menu as We, Modal as he, NumberInput as lr, Pagination as je, Drawer as qe, Popover as lt, Radio as Ht, SegmentedControl as ir, RangeSlider as cr, Slider as dr, Stack as ur, Stepper as it, Switch as jt, CheckIcon as pr, CloseIcon as mr, Table as Ke, Tabs as Yo, Text as _r, Textarea as fr, TimelineItem as yr, Timeline as hr, Title as vr, Notification as Nr, Tooltip as ct, useTree as br, getTreeExpandedState as Cr, Tree as Pr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as gr, TimePicker as Tr } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as $r } from "@mantine/hooks";
|
|
6
6
|
const wr = "_root_1qhn7_3", Sr = "_contents_1qhn7_18", Co = {
|
|
@@ -59,9 +59,9 @@ function Or(r) {
|
|
|
59
59
|
function xu() {
|
|
60
60
|
return vo && io;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Ir() {
|
|
63
63
|
const [r, e] = ce(io);
|
|
64
|
-
return
|
|
64
|
+
return ke(() => {
|
|
65
65
|
if (!vo) return;
|
|
66
66
|
Kt(), Yt();
|
|
67
67
|
const n = () => e(io);
|
|
@@ -108,22 +108,22 @@ function Yt() {
|
|
|
108
108
|
};
|
|
109
109
|
r(window), window.parent && window.parent !== window && r(window.parent);
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const kt = "data-recursica-theme";
|
|
112
112
|
function Ou({
|
|
113
113
|
children: r,
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
116
116
|
}) {
|
|
117
|
-
return
|
|
117
|
+
return ke(() => {
|
|
118
118
|
const o = document.documentElement;
|
|
119
|
-
return o.setAttribute(
|
|
120
|
-
o.removeAttribute(
|
|
119
|
+
return o.setAttribute(kt, e), () => {
|
|
120
|
+
o.removeAttribute(kt);
|
|
121
121
|
};
|
|
122
|
-
}, [e]),
|
|
122
|
+
}, [e]), ke(() => {
|
|
123
123
|
Kt(), Yt();
|
|
124
124
|
}, []), n ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(No, { children: r });
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const Iu = [
|
|
127
127
|
"Accordion",
|
|
128
128
|
"AssistiveElement",
|
|
129
129
|
"Autocomplete",
|
|
@@ -178,7 +178,7 @@ const ku = [
|
|
|
178
178
|
"TransferList",
|
|
179
179
|
"Tree",
|
|
180
180
|
"Typography"
|
|
181
|
-
],
|
|
181
|
+
], ku = (r, e) => {
|
|
182
182
|
const n = document.activeElement;
|
|
183
183
|
return new Promise((o, t) => {
|
|
184
184
|
if (e && e.current) {
|
|
@@ -196,7 +196,7 @@ function Zt(r, e) {
|
|
|
196
196
|
const o = r.name.toLowerCase(), t = r.type.toLowerCase();
|
|
197
197
|
return n.some((s) => s.startsWith(".") ? o.endsWith(s) : s.endsWith("/*") ? t.startsWith(s.slice(0, -1)) : t === s);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function F(r, e) {
|
|
200
200
|
if (!e) return r;
|
|
201
201
|
const n = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
202
202
|
for (const t of o) {
|
|
@@ -205,7 +205,7 @@ function E(r, e) {
|
|
|
205
205
|
}
|
|
206
206
|
return n;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function kr(r, e) {
|
|
209
209
|
if (!e) return r;
|
|
210
210
|
const n = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
211
211
|
for (const t of o) {
|
|
@@ -232,7 +232,7 @@ function R(r) {
|
|
|
232
232
|
if (!vo || typeof r != "function" && !(r && r.$$typeof))
|
|
233
233
|
return r;
|
|
234
234
|
const e = K.forwardRef((o, t) => {
|
|
235
|
-
const { overStyled: s } = o, l =
|
|
235
|
+
const { overStyled: s } = o, l = Ir(), i = K.createElement(
|
|
236
236
|
r,
|
|
237
237
|
{ ...o, ref: t }
|
|
238
238
|
);
|
|
@@ -333,7 +333,7 @@ function u(r, e) {
|
|
|
333
333
|
typeof t == "string" && t.startsWith("rec-") && Xt.has(o) && t in Go && (n[o] = Go[t]);
|
|
334
334
|
return n;
|
|
335
335
|
}
|
|
336
|
-
const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryVk", Mr = "Accordion-module__noDivider___Ni2tT", Wr = "Accordion-module__control___b4wgX", zr = "Accordion-module__label___Ss7uW", Dr = "Accordion-module__icon___xfHxX", Er = "Accordion-module__chevron___i-HVZ",
|
|
336
|
+
const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryVk", Mr = "Accordion-module__noDivider___Ni2tT", Wr = "Accordion-module__control___b4wgX", zr = "Accordion-module__label___Ss7uW", Dr = "Accordion-module__icon___xfHxX", Er = "Accordion-module__chevron___i-HVZ", Fr = "Accordion-module__iconLeftWrapper___5oLen", Br = "Accordion-module__panel___Wx50w", Ur = "Accordion-module__content___PEM9t", Le = {
|
|
337
337
|
root: Lr,
|
|
338
338
|
item: Ar,
|
|
339
339
|
noDivider: Mr,
|
|
@@ -341,8 +341,8 @@ const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
341
341
|
label: zr,
|
|
342
342
|
icon: Dr,
|
|
343
343
|
chevron: Er,
|
|
344
|
-
iconLeftWrapper:
|
|
345
|
-
panel:
|
|
344
|
+
iconLeftWrapper: Fr,
|
|
345
|
+
panel: Br,
|
|
346
346
|
content: Ur
|
|
347
347
|
}, Rt = {
|
|
348
348
|
default: "unstyled"
|
|
@@ -351,7 +351,7 @@ const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
351
351
|
overStyled: n = !1,
|
|
352
352
|
...o
|
|
353
353
|
}) {
|
|
354
|
-
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i =
|
|
354
|
+
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i = F(
|
|
355
355
|
{
|
|
356
356
|
root: Le.root,
|
|
357
357
|
item: Le.item,
|
|
@@ -528,7 +528,7 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
528
528
|
], v = G(
|
|
529
529
|
u(m, d),
|
|
530
530
|
N
|
|
531
|
-
), S = v, b =
|
|
531
|
+
), S = v, b = F(
|
|
532
532
|
{
|
|
533
533
|
label: to.root,
|
|
534
534
|
required: to.required
|
|
@@ -536,7 +536,7 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
536
536
|
S.classNames
|
|
537
537
|
), T = S.className, $ = T ? `${to.root} ${T}` : to.root;
|
|
538
538
|
return /* @__PURE__ */ M(
|
|
539
|
-
|
|
539
|
+
Bt.Label,
|
|
540
540
|
{
|
|
541
541
|
ref: p,
|
|
542
542
|
...v,
|
|
@@ -646,16 +646,19 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
646
646
|
// Extracted safely preventing bleeding into HTML domains
|
|
647
647
|
...f
|
|
648
648
|
}, w) {
|
|
649
|
-
const h =
|
|
649
|
+
const h = Ft(), O = b || `recursica-fc-${h}`, A = `${O}-label`, E = m || d, W = E ? `${O}-assistive` : void 0, L = N ? `${O}-error` : void 0, j = u(f, g), q = $ || j.className, X = Lt.root, H = q ? `${X} ${q}` : X, Y = K.isValidElement(T) ? K.cloneElement(
|
|
650
650
|
T,
|
|
651
651
|
{
|
|
652
|
-
...
|
|
653
|
-
|
|
652
|
+
...T.props.id ? {} : { id: O },
|
|
653
|
+
"aria-labelledby": A,
|
|
654
|
+
...E && !T.props["aria-describedby"] ? { "aria-describedby": W } : {},
|
|
655
|
+
...N && !T.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
654
656
|
}
|
|
655
|
-
) : T,
|
|
657
|
+
) : T, ee = c ? /* @__PURE__ */ a(
|
|
656
658
|
ut,
|
|
657
659
|
{
|
|
658
|
-
id:
|
|
660
|
+
id: A,
|
|
661
|
+
htmlFor: O,
|
|
659
662
|
labelAlignment: o,
|
|
660
663
|
labelOptionalText: t,
|
|
661
664
|
labelWithEditIcon: s,
|
|
@@ -670,31 +673,31 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
670
673
|
Ge,
|
|
671
674
|
{
|
|
672
675
|
ref: w,
|
|
673
|
-
className:
|
|
676
|
+
className: H,
|
|
674
677
|
formLayout: e,
|
|
675
678
|
labelSize: n,
|
|
676
679
|
controlMaxWidth: C,
|
|
677
680
|
controlMinWidth: y,
|
|
678
|
-
leftSection:
|
|
679
|
-
...
|
|
681
|
+
leftSection: ee,
|
|
682
|
+
...j,
|
|
680
683
|
children: /* @__PURE__ */ M("div", { className: Lt.inputSection, children: [
|
|
681
|
-
|
|
684
|
+
Y,
|
|
682
685
|
N && /* @__PURE__ */ a(
|
|
683
686
|
Ho,
|
|
684
687
|
{
|
|
685
|
-
id:
|
|
688
|
+
id: L,
|
|
686
689
|
assistiveVariant: "error",
|
|
687
690
|
assistiveWithIcon: p,
|
|
688
691
|
children: N
|
|
689
692
|
}
|
|
690
693
|
),
|
|
691
|
-
!N &&
|
|
694
|
+
!N && E && /* @__PURE__ */ a(
|
|
692
695
|
Ho,
|
|
693
696
|
{
|
|
694
|
-
id:
|
|
697
|
+
id: W,
|
|
695
698
|
assistiveVariant: "help",
|
|
696
699
|
assistiveWithIcon: p,
|
|
697
|
-
children:
|
|
700
|
+
children: E
|
|
698
701
|
}
|
|
699
702
|
)
|
|
700
703
|
] })
|
|
@@ -881,14 +884,14 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
881
884
|
emptyValueComponent: f,
|
|
882
885
|
value: w,
|
|
883
886
|
defaultValue: h,
|
|
884
|
-
data:
|
|
885
|
-
renderOption:
|
|
886
|
-
wrapItemText:
|
|
887
|
+
data: O,
|
|
888
|
+
renderOption: A,
|
|
889
|
+
wrapItemText: E = !1,
|
|
887
890
|
...W
|
|
888
|
-
} = e,
|
|
891
|
+
} = e, L = G(
|
|
889
892
|
u(W, o),
|
|
890
893
|
Ns
|
|
891
|
-
),
|
|
894
|
+
), Z = L, j = Qt(O), q = F(
|
|
892
895
|
{
|
|
893
896
|
wrapper: Ce.root,
|
|
894
897
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -897,8 +900,8 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
897
900
|
dropdown: Ce.dropdown,
|
|
898
901
|
option: Ce.option
|
|
899
902
|
},
|
|
900
|
-
|
|
901
|
-
),
|
|
903
|
+
Z.classNames
|
|
904
|
+
), X = {
|
|
902
905
|
optionContent: Ce.optionContent,
|
|
903
906
|
optionIcon: Ce.optionIcon,
|
|
904
907
|
optionText: Ce.optionText,
|
|
@@ -938,14 +941,14 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
938
941
|
Za,
|
|
939
942
|
{
|
|
940
943
|
ref: n,
|
|
941
|
-
...
|
|
944
|
+
...L,
|
|
942
945
|
classNames: q,
|
|
943
946
|
disabled: $,
|
|
944
947
|
value: w,
|
|
945
948
|
defaultValue: h,
|
|
946
949
|
error: !!y,
|
|
947
950
|
data: j,
|
|
948
|
-
renderOption:
|
|
951
|
+
renderOption: A ?? ((Y) => en(Y, X, E))
|
|
949
952
|
}
|
|
950
953
|
)
|
|
951
954
|
)
|
|
@@ -988,7 +991,7 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
|
|
|
988
991
|
), y = C;
|
|
989
992
|
let N = "text";
|
|
990
993
|
s ? N = "image" : o && (N = "icon");
|
|
991
|
-
const v =
|
|
994
|
+
const v = F(
|
|
992
995
|
{
|
|
993
996
|
root: To.root,
|
|
994
997
|
image: To.image,
|
|
@@ -1017,7 +1020,7 @@ tn.displayName = "Avatar";
|
|
|
1017
1020
|
const $s = Te(tn), ws = "Badge-module__root___5osNT", $o = {
|
|
1018
1021
|
root: ws
|
|
1019
1022
|
}, nn = _(function({ variant: e = "primary-color", overStyled: n = !1, ...o }, t) {
|
|
1020
|
-
const s = u(o, n), l =
|
|
1023
|
+
const s = u(o, n), l = F(
|
|
1021
1024
|
{
|
|
1022
1025
|
root: $o.root,
|
|
1023
1026
|
section: $o.section,
|
|
@@ -1046,7 +1049,7 @@ const an = Te(nn), Ss = "Breadcrumb-module__root___x-9ln", xs = "Breadcrumb-modu
|
|
|
1046
1049
|
const s = u(
|
|
1047
1050
|
{ separator: n, ...o },
|
|
1048
1051
|
e
|
|
1049
|
-
), l =
|
|
1052
|
+
), l = F(
|
|
1050
1053
|
{
|
|
1051
1054
|
root: Eo.root,
|
|
1052
1055
|
separator: Eo.separator
|
|
@@ -1082,7 +1085,7 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1082
1085
|
small: "small",
|
|
1083
1086
|
default: "default",
|
|
1084
1087
|
large: "large"
|
|
1085
|
-
}[n] || "default", c = u(t, o), d = c, m =
|
|
1088
|
+
}[n] || "default", c = u(t, o), d = c, m = F(
|
|
1086
1089
|
{ root: nt.root },
|
|
1087
1090
|
d.classNames
|
|
1088
1091
|
), p = d.className, C = p ? `${nt.root} ${p}` : nt.root;
|
|
@@ -1100,9 +1103,9 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1100
1103
|
);
|
|
1101
1104
|
});
|
|
1102
1105
|
mt.displayName = "Loader";
|
|
1103
|
-
const
|
|
1104
|
-
root:
|
|
1105
|
-
loader:
|
|
1106
|
+
const Is = "Button-module__root___Q2R8-", ks = "Button-module__loader___X-9u-", Rs = "Button-module__label___UJ3Zt", Ls = "Button-module__labelText___rFV5p", As = "Button-module__iconWrapper___uEKPa", Ms = "Button-module__section___f2mKr", no = {
|
|
1107
|
+
root: Is,
|
|
1108
|
+
loader: ks,
|
|
1106
1109
|
label: Rs,
|
|
1107
1110
|
labelText: Ls,
|
|
1108
1111
|
iconWrapper: As,
|
|
@@ -1140,7 +1143,7 @@ const sn = _(function({
|
|
|
1140
1143
|
$ ? g = "icon-only" : (S || b) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !v["aria-label"] && console.warn(
|
|
1141
1144
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1142
1145
|
);
|
|
1143
|
-
const P =
|
|
1146
|
+
const P = F(
|
|
1144
1147
|
{
|
|
1145
1148
|
root: no.root,
|
|
1146
1149
|
section: no.section,
|
|
@@ -1148,13 +1151,13 @@ const sn = _(function({
|
|
|
1148
1151
|
loader: no.loader
|
|
1149
1152
|
},
|
|
1150
1153
|
v.classNames
|
|
1151
|
-
), f = v.className, w = f ? `${no.root} ${f}` : no.root, h = v.loaderProps,
|
|
1154
|
+
), f = v.className, w = f ? `${no.root} ${f}` : no.root, h = v.loaderProps, O = me(
|
|
1152
1155
|
n === "small" ? "small" : "default",
|
|
1153
1156
|
i
|
|
1154
1157
|
);
|
|
1155
|
-
let
|
|
1156
|
-
return c && (
|
|
1157
|
-
children: /* @__PURE__ */ a(mt, { variant: l, size:
|
|
1158
|
+
let A = h;
|
|
1159
|
+
return c && (A = {
|
|
1160
|
+
children: /* @__PURE__ */ a(mt, { variant: l, size: O }),
|
|
1158
1161
|
...h
|
|
1159
1162
|
}), /* @__PURE__ */ a(
|
|
1160
1163
|
or,
|
|
@@ -1165,7 +1168,7 @@ const sn = _(function({
|
|
|
1165
1168
|
classNames: P,
|
|
1166
1169
|
variant: p[e],
|
|
1167
1170
|
size: C[n],
|
|
1168
|
-
loaderProps:
|
|
1171
|
+
loaderProps: A,
|
|
1169
1172
|
leftSection: o != null ? /* @__PURE__ */ a("span", { className: no.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1170
1173
|
"data-variant": e,
|
|
1171
1174
|
"data-size": n,
|
|
@@ -1178,12 +1181,12 @@ const sn = _(function({
|
|
|
1178
1181
|
sn.displayName = "Button";
|
|
1179
1182
|
const co = Te(
|
|
1180
1183
|
sn
|
|
1181
|
-
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC",
|
|
1184
|
+
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC", Fs = "Card-module__section___BRT8H", Bs = "Card-module__content___oFIQa", He = {
|
|
1182
1185
|
root: zs,
|
|
1183
1186
|
header: Ds,
|
|
1184
1187
|
footer: Es,
|
|
1185
|
-
section:
|
|
1186
|
-
content:
|
|
1188
|
+
section: Fs,
|
|
1189
|
+
content: Bs
|
|
1187
1190
|
}, Us = [
|
|
1188
1191
|
"radius",
|
|
1189
1192
|
// Border radius is token-driven (`--recursica_..._borders_border-radius`), not caller-set.
|
|
@@ -1207,7 +1210,7 @@ const co = Te(
|
|
|
1207
1210
|
].forEach((c) => {
|
|
1208
1211
|
c in n && !(c in t) && (t[c] = n[c]);
|
|
1209
1212
|
});
|
|
1210
|
-
const l =
|
|
1213
|
+
const l = F(
|
|
1211
1214
|
{
|
|
1212
1215
|
root: He.root
|
|
1213
1216
|
},
|
|
@@ -1296,7 +1299,7 @@ Jo.Section = cn;
|
|
|
1296
1299
|
Jo.Header = un;
|
|
1297
1300
|
Jo.Footer = pn;
|
|
1298
1301
|
Jo.Content = mn;
|
|
1299
|
-
const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___mY3qk", js = "Checkbox-module__body___5yC7q", qs = "Checkbox-module__inner___rTke4", Ks = "Checkbox-module__input___2kt-h", Ys = "Checkbox-module__icon___-O7i6", Zs = "Checkbox-module__labelWrapper___GpZkr", Qs = "Checkbox-module__label___cwRtI",
|
|
1302
|
+
const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___mY3qk", js = "Checkbox-module__body___5yC7q", qs = "Checkbox-module__inner___rTke4", Ks = "Checkbox-module__input___2kt-h", Ys = "Checkbox-module__icon___-O7i6", Zs = "Checkbox-module__labelWrapper___GpZkr", Qs = "Checkbox-module__label___cwRtI", Ie = {
|
|
1300
1303
|
groupRoot: Gs,
|
|
1301
1304
|
root: Hs,
|
|
1302
1305
|
body: js,
|
|
@@ -1332,15 +1335,15 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1332
1335
|
readOnlyComponent: f,
|
|
1333
1336
|
emptyValueComponent: w,
|
|
1334
1337
|
value: h,
|
|
1335
|
-
defaultValue:
|
|
1336
|
-
...
|
|
1337
|
-
} = e,
|
|
1338
|
+
defaultValue: O,
|
|
1339
|
+
...A
|
|
1340
|
+
} = e, E = [
|
|
1338
1341
|
"size"
|
|
1339
1342
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1340
1343
|
], W = G(
|
|
1341
|
-
u(
|
|
1342
|
-
|
|
1343
|
-
),
|
|
1344
|
+
u(A, o),
|
|
1345
|
+
E
|
|
1346
|
+
), L = W;
|
|
1344
1347
|
return /* @__PURE__ */ a(
|
|
1345
1348
|
ve,
|
|
1346
1349
|
{
|
|
@@ -1368,17 +1371,17 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1368
1371
|
readOnlyComponent: f,
|
|
1369
1372
|
emptyValueComponent: w,
|
|
1370
1373
|
readOnlyType: "text",
|
|
1371
|
-
readOnlyValue: h !== void 0 ? h :
|
|
1374
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
1372
1375
|
readOnlyNativeProps: e,
|
|
1373
|
-
activeComponent: h !== void 0 ||
|
|
1376
|
+
activeComponent: h !== void 0 || O !== void 0 ? /* @__PURE__ */ a(
|
|
1374
1377
|
Ut.Group,
|
|
1375
1378
|
{
|
|
1376
1379
|
ref: n,
|
|
1377
1380
|
...W,
|
|
1378
|
-
disabled: P ||
|
|
1381
|
+
disabled: P || L.disabled,
|
|
1379
1382
|
value: h,
|
|
1380
|
-
defaultValue:
|
|
1381
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1383
|
+
defaultValue: O,
|
|
1384
|
+
children: /* @__PURE__ */ a("div", { className: Ie.groupRoot, "data-layout": t, children: g })
|
|
1382
1385
|
}
|
|
1383
1386
|
) : /* @__PURE__ */ a(
|
|
1384
1387
|
"div",
|
|
@@ -1386,7 +1389,7 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1386
1389
|
ref: n,
|
|
1387
1390
|
...W,
|
|
1388
1391
|
role: "group",
|
|
1389
|
-
className:
|
|
1392
|
+
className: Ie.groupRoot,
|
|
1390
1393
|
"data-layout": t,
|
|
1391
1394
|
children: g
|
|
1392
1395
|
}
|
|
@@ -1422,18 +1425,18 @@ const Lo = _(
|
|
|
1422
1425
|
], y = G(
|
|
1423
1426
|
u(p, o),
|
|
1424
1427
|
C
|
|
1425
|
-
), N = y, v =
|
|
1428
|
+
), N = y, v = F(
|
|
1426
1429
|
{
|
|
1427
|
-
root:
|
|
1428
|
-
body:
|
|
1429
|
-
inner:
|
|
1430
|
-
input:
|
|
1431
|
-
icon:
|
|
1432
|
-
labelWrapper:
|
|
1433
|
-
label:
|
|
1430
|
+
root: Ie.root,
|
|
1431
|
+
body: Ie.body,
|
|
1432
|
+
inner: Ie.inner,
|
|
1433
|
+
input: Ie.input,
|
|
1434
|
+
icon: Ie.icon,
|
|
1435
|
+
labelWrapper: Ie.labelWrapper,
|
|
1436
|
+
label: Ie.label
|
|
1434
1437
|
},
|
|
1435
1438
|
N.classNames
|
|
1436
|
-
), S = N.className, b = S ? `${
|
|
1439
|
+
), S = N.className, b = S ? `${Ie.root} ${S}` : Ie.root;
|
|
1437
1440
|
if (t && s) {
|
|
1438
1441
|
const $ = !!(N.checked ?? N.defaultChecked), P = /* @__PURE__ */ a(
|
|
1439
1442
|
s,
|
|
@@ -1523,7 +1526,7 @@ const Ao = _(function({
|
|
|
1523
1526
|
"aria-hidden": C,
|
|
1524
1527
|
...y
|
|
1525
1528
|
}, N) {
|
|
1526
|
-
const v = u(y, d), S = v, b =
|
|
1529
|
+
const v = u(y, d), S = v, b = F(
|
|
1527
1530
|
{
|
|
1528
1531
|
root: Oe.root,
|
|
1529
1532
|
label: Oe.label,
|
|
@@ -1682,19 +1685,19 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1682
1685
|
emptyValueComponent: f,
|
|
1683
1686
|
value: w,
|
|
1684
1687
|
defaultValue: h,
|
|
1685
|
-
highlightToday:
|
|
1688
|
+
highlightToday: O = !0,
|
|
1686
1689
|
// Default on so today is visually marked; consumers can still override.
|
|
1687
|
-
valueFormat:
|
|
1690
|
+
valueFormat: A = "MM/DD/YY",
|
|
1688
1691
|
// Default display format; consumers can still override.
|
|
1689
|
-
placeholder:
|
|
1692
|
+
placeholder: E = "MM / DD / YY",
|
|
1690
1693
|
// Default placeholder; consumers can still override.
|
|
1691
1694
|
leftSection: W,
|
|
1692
1695
|
// Default leading icon computed below; consumers can still override.
|
|
1693
|
-
...
|
|
1694
|
-
} = e,
|
|
1695
|
-
u(
|
|
1696
|
+
...L
|
|
1697
|
+
} = e, Z = G(
|
|
1698
|
+
u(L, o),
|
|
1696
1699
|
Nl
|
|
1697
|
-
), j =
|
|
1700
|
+
), j = Z, q = F(
|
|
1698
1701
|
{
|
|
1699
1702
|
wrapper: Pe.root,
|
|
1700
1703
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1708,13 +1711,13 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1708
1711
|
calendarHeaderControlIcon: Pe.calendarHeaderControlIcon
|
|
1709
1712
|
},
|
|
1710
1713
|
j.classNames
|
|
1711
|
-
),
|
|
1714
|
+
), X = j.popoverProps, H = X && typeof X == "object" && !Array.isArray(X) ? X : void 0, Y = H != null && H.classNames && typeof H.classNames == "object" && !Array.isArray(H.classNames) ? H.classNames : void 0;
|
|
1712
1715
|
delete j.popoverProps;
|
|
1713
|
-
const
|
|
1716
|
+
const ee = {
|
|
1714
1717
|
...H,
|
|
1715
|
-
classNames:
|
|
1718
|
+
classNames: F(
|
|
1716
1719
|
{ dropdown: Pe.dropdown },
|
|
1717
|
-
|
|
1720
|
+
Y
|
|
1718
1721
|
)
|
|
1719
1722
|
}, ue = b ? `${Pe.layoutOverride} ${b}` : Pe.layoutOverride;
|
|
1720
1723
|
return /* @__PURE__ */ a(
|
|
@@ -1750,7 +1753,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1750
1753
|
gr,
|
|
1751
1754
|
{
|
|
1752
1755
|
ref: n,
|
|
1753
|
-
...
|
|
1756
|
+
...Z,
|
|
1754
1757
|
classNames: q,
|
|
1755
1758
|
disabled: $,
|
|
1756
1759
|
value: w,
|
|
@@ -1759,9 +1762,9 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1759
1762
|
description: void 0,
|
|
1760
1763
|
error: void 0,
|
|
1761
1764
|
withAsterisk: !1,
|
|
1762
|
-
highlightToday:
|
|
1763
|
-
valueFormat:
|
|
1764
|
-
placeholder:
|
|
1765
|
+
highlightToday: O,
|
|
1766
|
+
valueFormat: A,
|
|
1767
|
+
placeholder: E,
|
|
1765
1768
|
leftSection: me(
|
|
1766
1769
|
/* @__PURE__ */ a(ll, {}),
|
|
1767
1770
|
W
|
|
@@ -1770,7 +1773,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1770
1773
|
"data-disabled": $ ? "true" : void 0,
|
|
1771
1774
|
"data-error": y ? "true" : void 0
|
|
1772
1775
|
},
|
|
1773
|
-
popoverProps:
|
|
1776
|
+
popoverProps: ee
|
|
1774
1777
|
}
|
|
1775
1778
|
)
|
|
1776
1779
|
)
|
|
@@ -1779,7 +1782,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1779
1782
|
}
|
|
1780
1783
|
);
|
|
1781
1784
|
yn.displayName = "DatePicker";
|
|
1782
|
-
const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__root___uVyL0", Pl = "Dropdown-module__input___dK4dN", gl = "Dropdown-module__section___j3MRB", Tl = "Dropdown-module__clearButton___ODnIa", $l = "Dropdown-module__dropdown___gG-Sw", wl = "Dropdown-module__option___nAGU-", Sl = "Dropdown-module__optionContent___QTwwg", xl = "Dropdown-module__optionIcon___2L56h", Ol = "Dropdown-module__optionText___cCDpI",
|
|
1785
|
+
const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__root___uVyL0", Pl = "Dropdown-module__input___dK4dN", gl = "Dropdown-module__section___j3MRB", Tl = "Dropdown-module__clearButton___ODnIa", $l = "Dropdown-module__dropdown___gG-Sw", wl = "Dropdown-module__option___nAGU-", Sl = "Dropdown-module__optionContent___QTwwg", xl = "Dropdown-module__optionIcon___2L56h", Ol = "Dropdown-module__optionText___cCDpI", Il = "Dropdown-module__optionTextWrap___L4OPI", kl = "Dropdown-module__optionSupportingText___2JIOV", te = {
|
|
1783
1786
|
layoutOverride: bl,
|
|
1784
1787
|
root: Cl,
|
|
1785
1788
|
input: Pl,
|
|
@@ -1790,8 +1793,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1790
1793
|
optionContent: Sl,
|
|
1791
1794
|
optionIcon: xl,
|
|
1792
1795
|
optionText: Ol,
|
|
1793
|
-
optionTextWrap:
|
|
1794
|
-
optionSupportingText:
|
|
1796
|
+
optionTextWrap: Il,
|
|
1797
|
+
optionSupportingText: kl
|
|
1795
1798
|
}, Rl = [
|
|
1796
1799
|
"size",
|
|
1797
1800
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
@@ -1825,38 +1828,38 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1825
1828
|
readOnlyComponent: f,
|
|
1826
1829
|
emptyValueComponent: w,
|
|
1827
1830
|
value: h,
|
|
1828
|
-
defaultValue:
|
|
1829
|
-
data:
|
|
1830
|
-
clearButtonProps:
|
|
1831
|
+
defaultValue: O,
|
|
1832
|
+
data: A,
|
|
1833
|
+
clearButtonProps: E,
|
|
1831
1834
|
renderOption: W,
|
|
1832
|
-
wrapItemText:
|
|
1833
|
-
...
|
|
1835
|
+
wrapItemText: L = !1,
|
|
1836
|
+
...Z
|
|
1834
1837
|
} = e, j = G(
|
|
1835
|
-
u(
|
|
1838
|
+
u(Z, o),
|
|
1836
1839
|
Rl
|
|
1837
|
-
), q = j,
|
|
1840
|
+
), q = j, X = Qt(A), H = E, Y = {
|
|
1838
1841
|
...H,
|
|
1839
|
-
className: H != null && H.className ? `${
|
|
1840
|
-
},
|
|
1842
|
+
className: H != null && H.className ? `${te.clearButton} ${H.className}` : te.clearButton
|
|
1843
|
+
}, ee = F(
|
|
1841
1844
|
{
|
|
1842
|
-
wrapper:
|
|
1845
|
+
wrapper: te.root,
|
|
1843
1846
|
// The nested Input internal relative wrapper bounding box
|
|
1844
|
-
input:
|
|
1845
|
-
section:
|
|
1846
|
-
dropdown:
|
|
1847
|
-
option:
|
|
1847
|
+
input: te.input,
|
|
1848
|
+
section: te.section,
|
|
1849
|
+
dropdown: te.dropdown,
|
|
1850
|
+
option: te.option
|
|
1848
1851
|
},
|
|
1849
1852
|
q.classNames
|
|
1850
1853
|
), ue = {
|
|
1851
|
-
optionContent:
|
|
1852
|
-
optionIcon:
|
|
1853
|
-
optionText:
|
|
1854
|
-
optionTextWrap:
|
|
1855
|
-
optionSupportingText:
|
|
1854
|
+
optionContent: te.optionContent,
|
|
1855
|
+
optionIcon: te.optionIcon,
|
|
1856
|
+
optionText: te.optionText,
|
|
1857
|
+
optionTextWrap: te.optionTextWrap,
|
|
1858
|
+
optionSupportingText: te.optionSupportingText
|
|
1856
1859
|
}, D = {
|
|
1857
1860
|
...$ || {},
|
|
1858
1861
|
width: s || "100%"
|
|
1859
|
-
}, re = T ? `${
|
|
1862
|
+
}, re = T ? `${te.layoutOverride} ${T}` : te.layoutOverride;
|
|
1860
1863
|
return /* @__PURE__ */ a(
|
|
1861
1864
|
ve,
|
|
1862
1865
|
{
|
|
@@ -1882,7 +1885,7 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1882
1885
|
readOnlyComponent: f,
|
|
1883
1886
|
emptyValueComponent: w,
|
|
1884
1887
|
readOnlyType: "text",
|
|
1885
|
-
readOnlyValue: h !== void 0 ? String(h) :
|
|
1888
|
+
readOnlyValue: h !== void 0 ? String(h) : O ? String(O) : void 0,
|
|
1886
1889
|
readOnlyNativeProps: e,
|
|
1887
1890
|
activeComponent: (
|
|
1888
1891
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -1891,13 +1894,13 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1891
1894
|
{
|
|
1892
1895
|
ref: n,
|
|
1893
1896
|
...j,
|
|
1894
|
-
classNames:
|
|
1897
|
+
classNames: ee,
|
|
1895
1898
|
disabled: g,
|
|
1896
1899
|
value: h,
|
|
1897
|
-
defaultValue:
|
|
1898
|
-
data:
|
|
1899
|
-
renderOption: W ?? ((pe) => en(pe, ue,
|
|
1900
|
-
clearButtonProps:
|
|
1900
|
+
defaultValue: O,
|
|
1901
|
+
data: X || [],
|
|
1902
|
+
renderOption: W ?? ((pe) => en(pe, ue, L)),
|
|
1903
|
+
clearButtonProps: Y,
|
|
1901
1904
|
label: void 0,
|
|
1902
1905
|
description: void 0,
|
|
1903
1906
|
error: void 0,
|
|
@@ -1917,7 +1920,7 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1917
1920
|
}
|
|
1918
1921
|
);
|
|
1919
1922
|
hn.displayName = "Dropdown";
|
|
1920
|
-
const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__root___UvQj-", Ml = "FileInput-module__leadingIcon___z75c4", Wl = "FileInput-module__content___Udsvh", zl = "FileInput-module__value___RX33R", Dl = "FileInput-module__chipRow___My6TF", El = "FileInput-module__chipWrapper___q2CDy",
|
|
1923
|
+
const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__root___UvQj-", Ml = "FileInput-module__leadingIcon___z75c4", Wl = "FileInput-module__content___Udsvh", zl = "FileInput-module__value___RX33R", Dl = "FileInput-module__chipRow___My6TF", El = "FileInput-module__chipWrapper___q2CDy", Fl = "FileInput-module__trailingIcon___odGPm", Be = {
|
|
1921
1924
|
layoutOverride: Ll,
|
|
1922
1925
|
root: Al,
|
|
1923
1926
|
leadingIcon: Ml,
|
|
@@ -1925,9 +1928,9 @@ const Ll = "FileInput-module__layoutOverride___HIOY6", Al = "FileInput-module__r
|
|
|
1925
1928
|
value: zl,
|
|
1926
1929
|
chipRow: Dl,
|
|
1927
1930
|
chipWrapper: El,
|
|
1928
|
-
trailingIcon:
|
|
1931
|
+
trailingIcon: Fl
|
|
1929
1932
|
};
|
|
1930
|
-
function
|
|
1933
|
+
function Bl() {
|
|
1931
1934
|
return /* @__PURE__ */ M(
|
|
1932
1935
|
"svg",
|
|
1933
1936
|
{
|
|
@@ -1992,34 +1995,34 @@ const vn = _(
|
|
|
1992
1995
|
files: f,
|
|
1993
1996
|
onFilesAdded: w,
|
|
1994
1997
|
onFileRemove: h,
|
|
1995
|
-
accept:
|
|
1996
|
-
multiple:
|
|
1997
|
-
maxSize:
|
|
1998
|
+
accept: O,
|
|
1999
|
+
multiple: A = !1,
|
|
2000
|
+
maxSize: E,
|
|
1998
2001
|
maxFiles: W,
|
|
1999
|
-
onFilesRejected:
|
|
2000
|
-
invalidFileTypeMessage:
|
|
2001
|
-
maxFilesMessage: j =
|
|
2002
|
+
onFilesRejected: L,
|
|
2003
|
+
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2004
|
+
maxFilesMessage: j = A ? `Maximum of ${W} files allowed` : "Only one file is allowed",
|
|
2002
2005
|
icon: q,
|
|
2003
|
-
clearIcon:
|
|
2006
|
+
clearIcon: X,
|
|
2004
2007
|
placeholder: H = "Select a file...",
|
|
2005
|
-
browseLabel:
|
|
2006
|
-
removeFileLabel:
|
|
2008
|
+
browseLabel: Y = "Choose file",
|
|
2009
|
+
removeFileLabel: ee = "Remove",
|
|
2007
2010
|
clearLabel: ue = "Clear",
|
|
2008
2011
|
...D
|
|
2009
|
-
} = e, pe = u(D, o),
|
|
2010
|
-
if (!
|
|
2012
|
+
} = e, pe = u(D, o), I = !g && !P, le = !!f && f.length > 0, Ne = Ve(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Qe = (x) => {
|
|
2013
|
+
if (!I) return;
|
|
2011
2014
|
const ne = Array.from(x);
|
|
2012
2015
|
if (ne.length === 0) return;
|
|
2013
|
-
const ae =
|
|
2016
|
+
const ae = A ? W : 1, J = A ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
|
|
2014
2017
|
let wt = !1, St = !1;
|
|
2015
2018
|
for (const ot of ne) {
|
|
2016
|
-
const xt = !Zt(ot,
|
|
2019
|
+
const xt = !Zt(ot, O);
|
|
2017
2020
|
xt && (wt = !0);
|
|
2018
|
-
const Ka =
|
|
2021
|
+
const Ka = E !== void 0 && ot.size > E, Ot = ae !== void 0 && J + fe.length >= ae;
|
|
2019
2022
|
Ot && (St = !0), (xt || Ka || Ot ? zo : fe).push(ot);
|
|
2020
2023
|
}
|
|
2021
|
-
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (
|
|
2022
|
-
}, we = Ve(0), [Xe, Ee] = ce(!1),
|
|
2024
|
+
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (L == null || L(zo));
|
|
2025
|
+
}, we = Ve(0), [Xe, Ee] = ce(!1), Fe = (x) => {
|
|
2023
2026
|
x.preventDefault(), we.current += 1, Ee(!0);
|
|
2024
2027
|
}, po = (x) => {
|
|
2025
2028
|
x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
|
|
@@ -2029,15 +2032,15 @@ const vn = _(
|
|
|
2029
2032
|
x.preventDefault(), we.current = 0, Ee(!1), Qe(x.dataTransfer.files);
|
|
2030
2033
|
}, xe = () => {
|
|
2031
2034
|
var x;
|
|
2032
|
-
|
|
2035
|
+
I && ((x = Ne.current) == null || x.click());
|
|
2033
2036
|
}, eo = (x) => {
|
|
2034
2037
|
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2035
2038
|
}, V = (x) => {
|
|
2036
2039
|
x.target.files && Qe(x.target.files), x.target.value = "";
|
|
2037
|
-
},
|
|
2038
|
-
!
|
|
2040
|
+
}, B = () => {
|
|
2041
|
+
!I || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2039
2042
|
}, [z, k] = ce(0), U = Ve([]), Q = Ve((f == null ? void 0 : f.length) ?? 0);
|
|
2040
|
-
|
|
2043
|
+
ke(() => {
|
|
2041
2044
|
var ne;
|
|
2042
2045
|
const x = (f == null ? void 0 : f.length) ?? 0;
|
|
2043
2046
|
if (x > 0 && x < Q.current) {
|
|
@@ -2047,12 +2050,12 @@ const vn = _(
|
|
|
2047
2050
|
Q.current = x;
|
|
2048
2051
|
}, [f]);
|
|
2049
2052
|
const _e = (x) => {
|
|
2050
|
-
var
|
|
2053
|
+
var J;
|
|
2051
2054
|
const ne = (f == null ? void 0 : f.length) ?? 0;
|
|
2052
2055
|
if (ne === 0) return;
|
|
2053
2056
|
let ae;
|
|
2054
|
-
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (z + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ae), (
|
|
2055
|
-
}, oo = N ?? (se ?
|
|
2057
|
+
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (z + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ae), (J = U.current[ae]) == null || J.focus());
|
|
2058
|
+
}, oo = N ?? (se ? Z : be ? j : void 0), mo = T ? `${Be.layoutOverride} ${T}` : Be.layoutOverride;
|
|
2056
2059
|
return /* @__PURE__ */ a(
|
|
2057
2060
|
go,
|
|
2058
2061
|
{
|
|
@@ -2080,46 +2083,46 @@ const vn = _(
|
|
|
2080
2083
|
{
|
|
2081
2084
|
ref: n,
|
|
2082
2085
|
...pe,
|
|
2083
|
-
className:
|
|
2086
|
+
className: Be.root,
|
|
2084
2087
|
role: "button",
|
|
2085
|
-
"aria-label":
|
|
2088
|
+
"aria-label": Y,
|
|
2086
2089
|
"aria-disabled": g ? "true" : void 0,
|
|
2087
|
-
tabIndex:
|
|
2090
|
+
tabIndex: I ? 0 : -1,
|
|
2088
2091
|
"data-disabled": g ? "true" : void 0,
|
|
2089
2092
|
"data-readonly": P ? "true" : void 0,
|
|
2090
2093
|
"data-error": oo ? "true" : void 0,
|
|
2091
2094
|
"data-dragging": Xe ? "true" : void 0,
|
|
2092
|
-
onClick:
|
|
2093
|
-
onKeyDown:
|
|
2094
|
-
onDragEnter:
|
|
2095
|
-
onDragLeave:
|
|
2096
|
-
onDragOver:
|
|
2097
|
-
onDrop:
|
|
2095
|
+
onClick: I ? xe : void 0,
|
|
2096
|
+
onKeyDown: I ? eo : void 0,
|
|
2097
|
+
onDragEnter: I ? Fe : void 0,
|
|
2098
|
+
onDragLeave: I ? po : void 0,
|
|
2099
|
+
onDragOver: I ? Se : void 0,
|
|
2100
|
+
onDrop: I ? Je : void 0,
|
|
2098
2101
|
children: [
|
|
2099
|
-
/* @__PURE__ */ a("span", { className:
|
|
2100
|
-
/* @__PURE__ */ M("div", { className:
|
|
2101
|
-
!le && /* @__PURE__ */ a("span", { className:
|
|
2102
|
+
/* @__PURE__ */ a("span", { className: Be.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(Bl, {}) }),
|
|
2103
|
+
/* @__PURE__ */ M("div", { className: Be.content, children: [
|
|
2104
|
+
!le && /* @__PURE__ */ a("span", { className: Be.value, "data-placeholder": "true", children: H }),
|
|
2102
2105
|
le && /* @__PURE__ */ a(
|
|
2103
2106
|
"div",
|
|
2104
2107
|
{
|
|
2105
|
-
className:
|
|
2108
|
+
className: Be.chipRow,
|
|
2106
2109
|
onKeyDown: P ? void 0 : _e,
|
|
2107
2110
|
children: f.map((x, ne) => {
|
|
2108
2111
|
const ae = x.id ?? x.file.name;
|
|
2109
2112
|
return /* @__PURE__ */ a(
|
|
2110
2113
|
"span",
|
|
2111
2114
|
{
|
|
2112
|
-
className:
|
|
2113
|
-
onClick: (
|
|
2115
|
+
className: Be.chipWrapper,
|
|
2116
|
+
onClick: (J) => J.stopPropagation(),
|
|
2114
2117
|
children: /* @__PURE__ */ a(
|
|
2115
2118
|
Ao,
|
|
2116
2119
|
{
|
|
2117
2120
|
checked: !1,
|
|
2118
2121
|
tabIndex: -1,
|
|
2119
|
-
deleteLabel: P ? void 0 :
|
|
2122
|
+
deleteLabel: P ? void 0 : ee,
|
|
2120
2123
|
deleteTabIndex: !P && ne === z ? 0 : -1,
|
|
2121
|
-
deleteIconRef: (
|
|
2122
|
-
U.current[ne] =
|
|
2124
|
+
deleteIconRef: (J) => {
|
|
2125
|
+
U.current[ne] = J;
|
|
2123
2126
|
},
|
|
2124
2127
|
onDelete: P || g ? void 0 : () => h == null ? void 0 : h(ae),
|
|
2125
2128
|
children: x.file.name
|
|
@@ -2138,15 +2141,15 @@ const vn = _(
|
|
|
2138
2141
|
overStyled: !0,
|
|
2139
2142
|
variant: "text",
|
|
2140
2143
|
size: "small",
|
|
2141
|
-
icon:
|
|
2144
|
+
icon: X ?? /* @__PURE__ */ a(Ul, {}),
|
|
2142
2145
|
"aria-label": ue,
|
|
2143
|
-
className:
|
|
2146
|
+
className: Be.trailingIcon,
|
|
2144
2147
|
disabled: g,
|
|
2145
2148
|
onClick: (x) => {
|
|
2146
|
-
x.preventDefault(), x.stopPropagation(),
|
|
2149
|
+
x.preventDefault(), x.stopPropagation(), B();
|
|
2147
2150
|
},
|
|
2148
2151
|
onKeyDown: (x) => {
|
|
2149
|
-
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(),
|
|
2152
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), B());
|
|
2150
2153
|
}
|
|
2151
2154
|
}
|
|
2152
2155
|
),
|
|
@@ -2156,9 +2159,9 @@ const vn = _(
|
|
|
2156
2159
|
ref: Ne,
|
|
2157
2160
|
type: "file",
|
|
2158
2161
|
hidden: !0,
|
|
2159
|
-
accept:
|
|
2160
|
-
multiple:
|
|
2161
|
-
disabled: !
|
|
2162
|
+
accept: O,
|
|
2163
|
+
multiple: A,
|
|
2164
|
+
disabled: !I,
|
|
2162
2165
|
onChange: V
|
|
2163
2166
|
}
|
|
2164
2167
|
)
|
|
@@ -2224,31 +2227,31 @@ const Nn = _(
|
|
|
2224
2227
|
files: f,
|
|
2225
2228
|
onFilesAdded: w,
|
|
2226
2229
|
onFileRemove: h,
|
|
2227
|
-
accept:
|
|
2228
|
-
multiple:
|
|
2229
|
-
maxSize:
|
|
2230
|
+
accept: O,
|
|
2231
|
+
multiple: A = !0,
|
|
2232
|
+
maxSize: E,
|
|
2230
2233
|
maxFiles: W,
|
|
2231
|
-
onFilesRejected:
|
|
2232
|
-
invalidFileTypeMessage:
|
|
2234
|
+
onFilesRejected: L,
|
|
2235
|
+
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2233
2236
|
maxFilesMessage: j = `Maximum of ${W} files allowed`,
|
|
2234
2237
|
icon: q,
|
|
2235
|
-
dropzoneLabel:
|
|
2238
|
+
dropzoneLabel: X = "Drag and drop files here to upload",
|
|
2236
2239
|
browseButtonLabel: H = "Browse files",
|
|
2237
|
-
removeFileLabel:
|
|
2238
|
-
...
|
|
2239
|
-
} = e, D = u(
|
|
2240
|
+
removeFileLabel: Y = "Remove",
|
|
2241
|
+
...ee
|
|
2242
|
+
} = e, D = u(ee, o), re = Ve(null), [pe, I] = ce(!1), [le, Ne] = ce(!1), se = (k) => {
|
|
2240
2243
|
if (g) return;
|
|
2241
2244
|
const U = Array.from(k);
|
|
2242
2245
|
if (U.length === 0) return;
|
|
2243
2246
|
const Q = (f == null ? void 0 : f.length) ?? 0, _e = [], oo = [];
|
|
2244
2247
|
let mo = !1, x = !1;
|
|
2245
2248
|
for (const ne of U) {
|
|
2246
|
-
const ae = !Zt(ne,
|
|
2249
|
+
const ae = !Zt(ne, O);
|
|
2247
2250
|
ae && (mo = !0);
|
|
2248
|
-
const
|
|
2249
|
-
fe && (x = !0), (ae ||
|
|
2251
|
+
const J = E !== void 0 && ne.size > E, fe = W !== void 0 && Q + _e.length >= W;
|
|
2252
|
+
fe && (x = !0), (ae || J || fe ? oo : _e).push(ne);
|
|
2250
2253
|
}
|
|
2251
|
-
|
|
2254
|
+
I(mo), Ne(x), _e.length > 0 && (w == null || w(_e)), oo.length > 0 && (L == null || L(oo));
|
|
2252
2255
|
}, ie = Ve(0), [be, $e] = ce(!1), Qe = (k) => {
|
|
2253
2256
|
k.preventDefault(), ie.current += 1, $e(!0);
|
|
2254
2257
|
}, we = (k) => {
|
|
@@ -2257,13 +2260,13 @@ const Nn = _(
|
|
|
2257
2260
|
k.preventDefault();
|
|
2258
2261
|
}, Ee = (k) => {
|
|
2259
2262
|
k.preventDefault(), ie.current = 0, $e(!1), se(k.dataTransfer.files);
|
|
2260
|
-
},
|
|
2263
|
+
}, Fe = () => {
|
|
2261
2264
|
var k;
|
|
2262
2265
|
g || (k = re.current) == null || k.click();
|
|
2263
2266
|
}, po = (k) => {
|
|
2264
2267
|
k.target.files && se(k.target.files), k.target.value = "";
|
|
2265
2268
|
}, [Se, Je] = ce(0), xe = Ve([]), eo = Ve((f == null ? void 0 : f.length) ?? 0);
|
|
2266
|
-
|
|
2269
|
+
ke(() => {
|
|
2267
2270
|
var U;
|
|
2268
2271
|
const k = (f == null ? void 0 : f.length) ?? 0;
|
|
2269
2272
|
if (k > 0 && k < eo.current) {
|
|
@@ -2278,7 +2281,7 @@ const Nn = _(
|
|
|
2278
2281
|
if (U === 0) return;
|
|
2279
2282
|
let Q;
|
|
2280
2283
|
k.key === "ArrowRight" || k.key === "ArrowDown" ? Q = (Se + 1) % U : (k.key === "ArrowLeft" || k.key === "ArrowUp") && (Q = (Se - 1 + U) % U), Q !== void 0 && (k.preventDefault(), Je(Q), (_e = xe.current[Q]) == null || _e.focus());
|
|
2281
|
-
},
|
|
2284
|
+
}, B = N ?? (pe ? Z : le ? j : void 0), z = T ? `${ao.layoutOverride} ${T}` : ao.layoutOverride;
|
|
2282
2285
|
return /* @__PURE__ */ a(
|
|
2283
2286
|
go,
|
|
2284
2287
|
{
|
|
@@ -2295,7 +2298,7 @@ const Nn = _(
|
|
|
2295
2298
|
label: p,
|
|
2296
2299
|
assistiveText: C,
|
|
2297
2300
|
assistiveWithIcon: y,
|
|
2298
|
-
error:
|
|
2301
|
+
error: B,
|
|
2299
2302
|
required: v,
|
|
2300
2303
|
withAsterisk: S,
|
|
2301
2304
|
id: b,
|
|
@@ -2306,7 +2309,7 @@ const Nn = _(
|
|
|
2306
2309
|
...D,
|
|
2307
2310
|
className: ao.root,
|
|
2308
2311
|
"data-disabled": g ? "true" : void 0,
|
|
2309
|
-
"data-error":
|
|
2312
|
+
"data-error": B ? "true" : void 0,
|
|
2310
2313
|
children: [
|
|
2311
2314
|
!P && /* @__PURE__ */ M(
|
|
2312
2315
|
"div",
|
|
@@ -2319,13 +2322,13 @@ const Nn = _(
|
|
|
2319
2322
|
onDrop: g ? void 0 : Ee,
|
|
2320
2323
|
children: [
|
|
2321
2324
|
/* @__PURE__ */ a("span", { className: ao.uploadIcon, children: q ?? /* @__PURE__ */ a(Yl, {}) }),
|
|
2322
|
-
/* @__PURE__ */ a("span", { className: ao.dropzoneText, children:
|
|
2325
|
+
/* @__PURE__ */ a("span", { className: ao.dropzoneText, children: X }),
|
|
2323
2326
|
/* @__PURE__ */ a(
|
|
2324
2327
|
co,
|
|
2325
2328
|
{
|
|
2326
2329
|
variant: "outline",
|
|
2327
2330
|
disabled: g,
|
|
2328
|
-
onClick:
|
|
2331
|
+
onClick: Fe,
|
|
2329
2332
|
children: H
|
|
2330
2333
|
}
|
|
2331
2334
|
),
|
|
@@ -2335,8 +2338,8 @@ const Nn = _(
|
|
|
2335
2338
|
ref: re,
|
|
2336
2339
|
type: "file",
|
|
2337
2340
|
hidden: !0,
|
|
2338
|
-
accept:
|
|
2339
|
-
multiple:
|
|
2341
|
+
accept: O,
|
|
2342
|
+
multiple: A,
|
|
2340
2343
|
disabled: g,
|
|
2341
2344
|
onChange: po
|
|
2342
2345
|
}
|
|
@@ -2359,7 +2362,7 @@ const Nn = _(
|
|
|
2359
2362
|
{
|
|
2360
2363
|
checked: !1,
|
|
2361
2364
|
tabIndex: -1,
|
|
2362
|
-
deleteLabel:
|
|
2365
|
+
deleteLabel: Y,
|
|
2363
2366
|
deleteTabIndex: U === Se ? 0 : -1,
|
|
2364
2367
|
deleteIconRef: (_e) => {
|
|
2365
2368
|
xe.current[U] = _e;
|
|
@@ -2496,7 +2499,7 @@ const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow__
|
|
|
2496
2499
|
withArrow: s,
|
|
2497
2500
|
...l
|
|
2498
2501
|
}) {
|
|
2499
|
-
const i = u(l, e), c = i, d =
|
|
2502
|
+
const i = u(l, e), c = i, d = F(
|
|
2500
2503
|
{
|
|
2501
2504
|
dropdown: At.dropdown,
|
|
2502
2505
|
arrow: At.arrow
|
|
@@ -2541,7 +2544,7 @@ const ai = "Link-module__root___I0VGE", ri = "Link-module__iconWrapper___W-LlF",
|
|
|
2541
2544
|
iconWrapper: ri,
|
|
2542
2545
|
labelText: si
|
|
2543
2546
|
}, On = _(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2544
|
-
const l = u(t, o), i = l, c =
|
|
2547
|
+
const l = u(t, o), i = l, c = F(
|
|
2545
2548
|
{ root: Oo.root },
|
|
2546
2549
|
i.classNames
|
|
2547
2550
|
), d = i.className, m = d ? `${Oo.root} ${d}` : Oo.root;
|
|
@@ -2570,8 +2573,8 @@ const li = Te(On), ii = "Menu-module__dropdown___j4xuA", ci = "Menu-module__item
|
|
|
2570
2573
|
divider: pi,
|
|
2571
2574
|
label: mi,
|
|
2572
2575
|
chevron: _i
|
|
2573
|
-
},
|
|
2574
|
-
const t = u(n, e), { maxHeight: s, ...l } = t, i =
|
|
2576
|
+
}, In = function({ overStyled: e = !1, ...n }) {
|
|
2577
|
+
const t = u(n, e), { maxHeight: s, ...l } = t, i = F(
|
|
2575
2578
|
{
|
|
2576
2579
|
dropdown: fo.dropdown,
|
|
2577
2580
|
item: fo.item,
|
|
@@ -2599,8 +2602,8 @@ const li = Te(On), ii = "Menu-module__dropdown___j4xuA", ci = "Menu-module__item
|
|
|
2599
2602
|
}
|
|
2600
2603
|
);
|
|
2601
2604
|
};
|
|
2602
|
-
|
|
2603
|
-
const
|
|
2605
|
+
In.displayName = "Menu";
|
|
2606
|
+
const kn = function({
|
|
2604
2607
|
overStyled: e = !1,
|
|
2605
2608
|
...n
|
|
2606
2609
|
}) {
|
|
@@ -2612,7 +2615,7 @@ const In = function({
|
|
|
2612
2615
|
}
|
|
2613
2616
|
);
|
|
2614
2617
|
};
|
|
2615
|
-
|
|
2618
|
+
kn.displayName = "MenuTarget";
|
|
2616
2619
|
const Rn = _(
|
|
2617
2620
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2618
2621
|
const t = u(n, e), s = t.className;
|
|
@@ -2721,8 +2724,8 @@ const et = Wn;
|
|
|
2721
2724
|
et.Target = zn;
|
|
2722
2725
|
et.Item = yi;
|
|
2723
2726
|
et.Dropdown = En;
|
|
2724
|
-
const bo =
|
|
2725
|
-
bo.Target =
|
|
2727
|
+
const bo = In;
|
|
2728
|
+
bo.Target = kn;
|
|
2726
2729
|
bo.Dropdown = Rn;
|
|
2727
2730
|
bo.Item = fi;
|
|
2728
2731
|
bo.Divider = An;
|
|
@@ -2738,7 +2741,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2738
2741
|
scrollArea: gi,
|
|
2739
2742
|
footer: Ti,
|
|
2740
2743
|
close: $i
|
|
2741
|
-
},
|
|
2744
|
+
}, Fn = K.forwardRef(function({
|
|
2742
2745
|
overStyled: e = !1,
|
|
2743
2746
|
children: n,
|
|
2744
2747
|
title: o,
|
|
@@ -2756,7 +2759,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2756
2759
|
], p = G(
|
|
2757
2760
|
u(c, e),
|
|
2758
2761
|
m
|
|
2759
|
-
), C =
|
|
2762
|
+
), C = F(
|
|
2760
2763
|
{
|
|
2761
2764
|
root: Ue.root,
|
|
2762
2765
|
inner: Ue.inner,
|
|
@@ -2786,7 +2789,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2786
2789
|
}
|
|
2787
2790
|
);
|
|
2788
2791
|
});
|
|
2789
|
-
|
|
2792
|
+
Fn.displayName = "Modal";
|
|
2790
2793
|
const ft = K.forwardRef(
|
|
2791
2794
|
function({ overStyled: e = !1, className: n, ...o }, t) {
|
|
2792
2795
|
const s = u(o, e);
|
|
@@ -2850,7 +2853,7 @@ const wi = [
|
|
|
2850
2853
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2851
2854
|
"radius"
|
|
2852
2855
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2853
|
-
],
|
|
2856
|
+
], Bn = K.forwardRef(
|
|
2854
2857
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2855
2858
|
const t = G(
|
|
2856
2859
|
u(n, e),
|
|
@@ -2865,7 +2868,7 @@ const wi = [
|
|
|
2865
2868
|
);
|
|
2866
2869
|
}
|
|
2867
2870
|
);
|
|
2868
|
-
|
|
2871
|
+
Bn.displayName = "Modal.Root";
|
|
2869
2872
|
const Un = K.forwardRef(
|
|
2870
2873
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2871
2874
|
const t = u(n, e);
|
|
@@ -2940,8 +2943,8 @@ const xi = [
|
|
|
2940
2943
|
);
|
|
2941
2944
|
});
|
|
2942
2945
|
jn.displayName = "Modal.CloseButton";
|
|
2943
|
-
const Ye =
|
|
2944
|
-
Ye.Root =
|
|
2946
|
+
const Ye = Fn;
|
|
2947
|
+
Ye.Root = Bn;
|
|
2945
2948
|
Ye.Overlay = Un;
|
|
2946
2949
|
Ye.Content = Vn;
|
|
2947
2950
|
Ye.Header = Gn;
|
|
@@ -2949,10 +2952,10 @@ Ye.Title = Hn;
|
|
|
2949
2952
|
Ye.CloseButton = jn;
|
|
2950
2953
|
Ye.Body = yt;
|
|
2951
2954
|
Ye.Footer = ft;
|
|
2952
|
-
const Oi = "NumberInput-module__layoutOverride___5-9T4",
|
|
2955
|
+
const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-module__root___C6rAn", ki = "NumberInput-module__input___Ss8p7", Ri = "NumberInput-module__section___MijP0", Li = "NumberInput-module__controls___8UfQ2", Ai = "NumberInput-module__control___Qre9-", yo = {
|
|
2953
2956
|
layoutOverride: Oi,
|
|
2954
|
-
root:
|
|
2955
|
-
input:
|
|
2957
|
+
root: Ii,
|
|
2958
|
+
input: ki,
|
|
2956
2959
|
section: Ri,
|
|
2957
2960
|
controls: Li,
|
|
2958
2961
|
control: Ai
|
|
@@ -2989,23 +2992,23 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
2989
2992
|
emptyValueComponent: f,
|
|
2990
2993
|
value: w,
|
|
2991
2994
|
defaultValue: h,
|
|
2992
|
-
hideControls:
|
|
2993
|
-
...
|
|
2994
|
-
} = e,
|
|
2995
|
-
u(
|
|
2995
|
+
hideControls: O = !1,
|
|
2996
|
+
...A
|
|
2997
|
+
} = e, E = G(
|
|
2998
|
+
u(A, o),
|
|
2996
2999
|
Mi
|
|
2997
|
-
), W =
|
|
3000
|
+
), W = E, L = {
|
|
2998
3001
|
wrapper: yo.root,
|
|
2999
3002
|
// The nested Input internal relative wrapper bounding box
|
|
3000
3003
|
input: yo.input,
|
|
3001
3004
|
section: yo.section,
|
|
3002
3005
|
controls: yo.controls,
|
|
3003
3006
|
control: yo.control
|
|
3004
|
-
},
|
|
3007
|
+
}, Z = b ? `${yo.layoutOverride} ${b}` : yo.layoutOverride;
|
|
3005
3008
|
return /* @__PURE__ */ a(
|
|
3006
3009
|
ve,
|
|
3007
3010
|
{
|
|
3008
|
-
className:
|
|
3011
|
+
className: Z,
|
|
3009
3012
|
style: T,
|
|
3010
3013
|
controlMaxWidth: "var(--number-input-control-max-width)",
|
|
3011
3014
|
controlMinWidth: "var(--number-input-control-min-width)",
|
|
@@ -3035,12 +3038,12 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3035
3038
|
lr,
|
|
3036
3039
|
{
|
|
3037
3040
|
ref: n,
|
|
3038
|
-
...
|
|
3039
|
-
classNames:
|
|
3041
|
+
...E,
|
|
3042
|
+
classNames: L,
|
|
3040
3043
|
disabled: $,
|
|
3041
3044
|
value: w,
|
|
3042
3045
|
defaultValue: h,
|
|
3043
|
-
hideControls:
|
|
3046
|
+
hideControls: O,
|
|
3044
3047
|
label: void 0,
|
|
3045
3048
|
description: void 0,
|
|
3046
3049
|
error: void 0,
|
|
@@ -3050,7 +3053,7 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3050
3053
|
"data-disabled": $ ? "true" : void 0,
|
|
3051
3054
|
"data-error": y ? "true" : void 0,
|
|
3052
3055
|
"data-with-left-section": W.leftSection ? "true" : void 0,
|
|
3053
|
-
"data-with-right-section": W.rightSection || !
|
|
3056
|
+
"data-with-right-section": W.rightSection || !O ? "true" : void 0
|
|
3054
3057
|
}
|
|
3055
3058
|
}
|
|
3056
3059
|
)
|
|
@@ -3060,14 +3063,14 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
|
|
|
3060
3063
|
}
|
|
3061
3064
|
);
|
|
3062
3065
|
qn.displayName = "NumberInput";
|
|
3063
|
-
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O",
|
|
3066
|
+
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O", Fi = "Pagination-module__baseIcon___Qw3bJ", Me = {
|
|
3064
3067
|
root: Wi,
|
|
3065
3068
|
control: zi,
|
|
3066
3069
|
dots: Di,
|
|
3067
3070
|
iconWithLabel: Ei,
|
|
3068
|
-
baseIcon:
|
|
3069
|
-
},
|
|
3070
|
-
next:
|
|
3071
|
+
baseIcon: Fi
|
|
3072
|
+
}, Bi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Ui = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Vi = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", Gi = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", Hi = {
|
|
3073
|
+
next: Bi,
|
|
3071
3074
|
prev: Ui,
|
|
3072
3075
|
first: Vi,
|
|
3073
3076
|
last: Gi
|
|
@@ -3098,7 +3101,7 @@ const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control__
|
|
|
3098
3101
|
/* @__PURE__ */ a(Wo, { type: "last", ...r })
|
|
3099
3102
|
] });
|
|
3100
3103
|
function Xn(r) {
|
|
3101
|
-
const e =
|
|
3104
|
+
const e = F(
|
|
3102
3105
|
{
|
|
3103
3106
|
root: Me.root,
|
|
3104
3107
|
control: Me.control,
|
|
@@ -3253,7 +3256,7 @@ const ji = "Panel-module__content___wdGo-", qi = "Panel-module__inner___ruA2b",
|
|
|
3253
3256
|
wrapHeaderText: t = !1,
|
|
3254
3257
|
...s
|
|
3255
3258
|
}) {
|
|
3256
|
-
const l = u(s, e), i = l, c =
|
|
3259
|
+
const l = u(s, e), i = l, c = F(
|
|
3257
3260
|
{
|
|
3258
3261
|
content: lo.content,
|
|
3259
3262
|
header: lo.header,
|
|
@@ -3394,7 +3397,7 @@ const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-
|
|
|
3394
3397
|
// Recursica default; Mantine defaults to "bottom"
|
|
3395
3398
|
...t
|
|
3396
3399
|
}) {
|
|
3397
|
-
const s = u(t, e), l = s, i =
|
|
3400
|
+
const s = u(t, e), l = s, i = F(
|
|
3398
3401
|
{ dropdown: Mt.dropdown, arrow: Mt.arrow },
|
|
3399
3402
|
l.classNames
|
|
3400
3403
|
), c = me(
|
|
@@ -3473,15 +3476,15 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
|
|
|
3473
3476
|
readOnlyComponent: f,
|
|
3474
3477
|
emptyValueComponent: w,
|
|
3475
3478
|
value: h,
|
|
3476
|
-
defaultValue:
|
|
3477
|
-
...
|
|
3478
|
-
} = e,
|
|
3479
|
+
defaultValue: O,
|
|
3480
|
+
...A
|
|
3481
|
+
} = e, E = [
|
|
3479
3482
|
"size"
|
|
3480
3483
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3481
3484
|
], W = G(
|
|
3482
|
-
u(
|
|
3483
|
-
|
|
3484
|
-
),
|
|
3485
|
+
u(A, o),
|
|
3486
|
+
E
|
|
3487
|
+
), L = W;
|
|
3485
3488
|
return /* @__PURE__ */ a(
|
|
3486
3489
|
ve,
|
|
3487
3490
|
{
|
|
@@ -3509,16 +3512,16 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
|
|
|
3509
3512
|
readOnlyComponent: f,
|
|
3510
3513
|
emptyValueComponent: w,
|
|
3511
3514
|
readOnlyType: "text",
|
|
3512
|
-
readOnlyValue: h !== void 0 ? h :
|
|
3515
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
3513
3516
|
readOnlyNativeProps: e,
|
|
3514
3517
|
activeComponent: /* @__PURE__ */ a(
|
|
3515
3518
|
Ht.Group,
|
|
3516
3519
|
{
|
|
3517
3520
|
ref: n,
|
|
3518
3521
|
...W,
|
|
3519
|
-
disabled: P ||
|
|
3522
|
+
disabled: P || L.disabled,
|
|
3520
3523
|
value: h,
|
|
3521
|
-
defaultValue:
|
|
3524
|
+
defaultValue: O,
|
|
3522
3525
|
children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": t, children: g })
|
|
3523
3526
|
}
|
|
3524
3527
|
)
|
|
@@ -3564,7 +3567,7 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3564
3567
|
], N = G(
|
|
3565
3568
|
u(C, o),
|
|
3566
3569
|
y
|
|
3567
|
-
), v = N, S =
|
|
3570
|
+
), v = N, S = F(
|
|
3568
3571
|
{
|
|
3569
3572
|
root: Re.root,
|
|
3570
3573
|
body: Re.body,
|
|
@@ -3628,7 +3631,7 @@ const dc = "SegmentedControl-module__root___JFRhg", uc = "SegmentedControl-modul
|
|
|
3628
3631
|
indicator: mc
|
|
3629
3632
|
};
|
|
3630
3633
|
function _c(r) {
|
|
3631
|
-
const e =
|
|
3634
|
+
const e = F(
|
|
3632
3635
|
{
|
|
3633
3636
|
root: Po.root,
|
|
3634
3637
|
control: Po.control,
|
|
@@ -3672,7 +3675,7 @@ const va = _(
|
|
|
3672
3675
|
}
|
|
3673
3676
|
);
|
|
3674
3677
|
va.displayName = "SegmentedControl";
|
|
3675
|
-
const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module__sliderContainer___y8I0J", vc = "Slider-module__sliderTrackWrapper___UHpVh", Nc = "Slider-module__iconWrapper___uqHpC", bc = "Slider-module__sliderRoot___LI86H", Cc = "Slider-module__sliderTrack___oqnlG", Pc = "Slider-module__sliderBar___TI4VY", gc = "Slider-module__sliderThumb___OFn8p", Tc = "Slider-module__sliderMarkWrapper___Ufqhu", $c = "Slider-module__sliderMark___1lM2B", wc = "Slider-module__sliderMarkLabel___MMZrq", Sc = "Slider-module__minMaxGuide___TaGqz", xc = "Slider-module__rightGuideContainer___8dOT8", Oc = "Slider-module__currentValue___dGV2T",
|
|
3678
|
+
const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module__sliderContainer___y8I0J", vc = "Slider-module__sliderTrackWrapper___UHpVh", Nc = "Slider-module__iconWrapper___uqHpC", bc = "Slider-module__sliderRoot___LI86H", Cc = "Slider-module__sliderTrack___oqnlG", Pc = "Slider-module__sliderBar___TI4VY", gc = "Slider-module__sliderThumb___OFn8p", Tc = "Slider-module__sliderMarkWrapper___Ufqhu", $c = "Slider-module__sliderMark___1lM2B", wc = "Slider-module__sliderMarkLabel___MMZrq", Sc = "Slider-module__minMaxGuide___TaGqz", xc = "Slider-module__rightGuideContainer___8dOT8", Oc = "Slider-module__currentValue___dGV2T", Ic = "Slider-module__inputField___6x578", kc = "Slider-module__readOnlyValue___-ZzMW", oe = {
|
|
3676
3679
|
layoutOverride: yc,
|
|
3677
3680
|
sliderContainer: hc,
|
|
3678
3681
|
sliderTrackWrapper: vc,
|
|
@@ -3687,13 +3690,13 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3687
3690
|
minMaxGuide: Sc,
|
|
3688
3691
|
rightGuideContainer: xc,
|
|
3689
3692
|
currentValue: Oc,
|
|
3690
|
-
inputField:
|
|
3691
|
-
readOnlyValue:
|
|
3693
|
+
inputField: Ic,
|
|
3694
|
+
readOnlyValue: kc
|
|
3692
3695
|
}, Rc = ({
|
|
3693
3696
|
value: r
|
|
3694
3697
|
}) => {
|
|
3695
3698
|
const e = Array.isArray(r) ? `${r[0]} – ${r[1]}` : r;
|
|
3696
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3699
|
+
return /* @__PURE__ */ a("div", { className: oe.readOnlyValue, children: e });
|
|
3697
3700
|
}, Na = _(
|
|
3698
3701
|
function(e, n) {
|
|
3699
3702
|
const {
|
|
@@ -3720,32 +3723,32 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3720
3723
|
readOnly: f,
|
|
3721
3724
|
readOnlyComponent: w,
|
|
3722
3725
|
emptyValueComponent: h,
|
|
3723
|
-
value:
|
|
3724
|
-
defaultValue:
|
|
3725
|
-
icon:
|
|
3726
|
+
value: O,
|
|
3727
|
+
defaultValue: A,
|
|
3728
|
+
icon: E,
|
|
3726
3729
|
trailingIcon: W,
|
|
3727
|
-
showInput:
|
|
3728
|
-
showMinMaxLabels:
|
|
3730
|
+
showInput: L = !1,
|
|
3731
|
+
showMinMaxLabels: Z = !0,
|
|
3729
3732
|
min: j = 0,
|
|
3730
3733
|
max: q = 100,
|
|
3731
|
-
minLabel:
|
|
3734
|
+
minLabel: X,
|
|
3732
3735
|
maxLabel: H,
|
|
3733
|
-
step:
|
|
3734
|
-
onChange:
|
|
3736
|
+
step: Y = 1,
|
|
3737
|
+
onChange: ee,
|
|
3735
3738
|
onChangeEnd: ue,
|
|
3736
3739
|
...D
|
|
3737
|
-
} = e, [re, pe] = ce(() =>
|
|
3738
|
-
() => Array.isArray(
|
|
3740
|
+
} = e, [re, pe] = ce(() => O !== void 0 ? O : A !== void 0 ? A : j), I = O !== void 0 ? O : re, le = Array.isArray(I), [Ne, se] = ce(
|
|
3741
|
+
() => Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3739
3742
|
);
|
|
3740
|
-
|
|
3743
|
+
ke(() => {
|
|
3741
3744
|
se(
|
|
3742
|
-
Array.isArray(
|
|
3745
|
+
Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3743
3746
|
);
|
|
3744
|
-
}, [
|
|
3745
|
-
const ie = (
|
|
3746
|
-
|
|
3747
|
-
}, be = (
|
|
3748
|
-
const z =
|
|
3747
|
+
}, [I]);
|
|
3748
|
+
const ie = (B) => {
|
|
3749
|
+
O === void 0 && pe(B), ee == null || ee(B);
|
|
3750
|
+
}, be = (B) => {
|
|
3751
|
+
const z = B.target.value;
|
|
3749
3752
|
se(z);
|
|
3750
3753
|
const k = parseFloat(z);
|
|
3751
3754
|
if (!isNaN(k)) {
|
|
@@ -3753,17 +3756,17 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3753
3756
|
ie(U);
|
|
3754
3757
|
}
|
|
3755
3758
|
}, $e = () => {
|
|
3756
|
-
se(
|
|
3757
|
-
}, Qe = (
|
|
3758
|
-
const z =
|
|
3759
|
+
se(I.toString());
|
|
3760
|
+
}, Qe = (B) => {
|
|
3761
|
+
const z = I, k = B.target.value;
|
|
3759
3762
|
se([k, z[1].toString()]);
|
|
3760
3763
|
const U = parseFloat(k);
|
|
3761
3764
|
if (!isNaN(U)) {
|
|
3762
3765
|
const Q = Math.max(j, Math.min(z[1], U));
|
|
3763
3766
|
ie([Q, z[1]]);
|
|
3764
3767
|
}
|
|
3765
|
-
}, we = (
|
|
3766
|
-
const z =
|
|
3768
|
+
}, we = (B) => {
|
|
3769
|
+
const z = I, k = B.target.value;
|
|
3767
3770
|
se([z[0].toString(), k]);
|
|
3768
3771
|
const U = parseFloat(k);
|
|
3769
3772
|
if (!isNaN(U)) {
|
|
@@ -3771,8 +3774,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3771
3774
|
ie([z[0], Q]);
|
|
3772
3775
|
}
|
|
3773
3776
|
}, Xe = () => {
|
|
3774
|
-
const
|
|
3775
|
-
se([
|
|
3777
|
+
const B = I;
|
|
3778
|
+
se([B[0].toString(), B[1].toString()]);
|
|
3776
3779
|
}, Ee = [
|
|
3777
3780
|
"size",
|
|
3778
3781
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
@@ -3784,21 +3787,21 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3784
3787
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
3785
3788
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3786
3789
|
"wrapperProps"
|
|
3787
|
-
],
|
|
3790
|
+
], Fe = G(
|
|
3788
3791
|
u(D, o),
|
|
3789
3792
|
Ee
|
|
3790
|
-
), po =
|
|
3793
|
+
), po = Fe, Se = F(
|
|
3791
3794
|
{
|
|
3792
|
-
root:
|
|
3793
|
-
track:
|
|
3794
|
-
bar:
|
|
3795
|
-
thumb:
|
|
3796
|
-
markWrapper:
|
|
3797
|
-
mark:
|
|
3798
|
-
markLabel:
|
|
3795
|
+
root: oe.sliderRoot,
|
|
3796
|
+
track: oe.sliderTrack,
|
|
3797
|
+
bar: oe.sliderBar,
|
|
3798
|
+
thumb: oe.sliderThumb,
|
|
3799
|
+
markWrapper: oe.sliderMarkWrapper,
|
|
3800
|
+
mark: oe.sliderMark,
|
|
3801
|
+
markLabel: oe.sliderMarkLabel
|
|
3799
3802
|
},
|
|
3800
3803
|
po.classNames
|
|
3801
|
-
), Je = $ ? `${
|
|
3804
|
+
), Je = $ ? `${oe.layoutOverride} ${$}` : oe.layoutOverride, xe = E ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: E }) : null, eo = W ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: W }) : null, V = Array.isArray(I) ? typeof C == "function" ? `${C(I[0])} – ${C(I[1])}` : `${I[0]} – ${I[1]}` : typeof C == "function" ? C(I) : I;
|
|
3802
3805
|
return /* @__PURE__ */ a(
|
|
3803
3806
|
ve,
|
|
3804
3807
|
{
|
|
@@ -3826,79 +3829,79 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3826
3829
|
readOnlyComponent: w || Rc,
|
|
3827
3830
|
emptyValueComponent: h,
|
|
3828
3831
|
readOnlyType: "text",
|
|
3829
|
-
readOnlyValue:
|
|
3830
|
-
readOnlyNativeProps: { value:
|
|
3832
|
+
readOnlyValue: I,
|
|
3833
|
+
readOnlyNativeProps: { value: I },
|
|
3831
3834
|
activeComponent: /* @__PURE__ */ M(
|
|
3832
3835
|
"div",
|
|
3833
3836
|
{
|
|
3834
|
-
className:
|
|
3837
|
+
className: oe.sliderContainer,
|
|
3835
3838
|
"data-form-layout": t,
|
|
3836
3839
|
"data-disabled": P ? "true" : void 0,
|
|
3837
3840
|
"data-error": v ? "true" : void 0,
|
|
3838
3841
|
children: [
|
|
3839
|
-
le &&
|
|
3842
|
+
le && L && /* @__PURE__ */ a(
|
|
3840
3843
|
"input",
|
|
3841
3844
|
{
|
|
3842
3845
|
type: "number",
|
|
3843
|
-
className:
|
|
3846
|
+
className: oe.inputField,
|
|
3844
3847
|
value: Ne[0],
|
|
3845
3848
|
onChange: Qe,
|
|
3846
3849
|
onBlur: Xe,
|
|
3847
3850
|
min: j,
|
|
3848
|
-
max:
|
|
3849
|
-
step:
|
|
3851
|
+
max: I[1],
|
|
3852
|
+
step: Y,
|
|
3850
3853
|
disabled: P,
|
|
3851
3854
|
"data-error": v ? "true" : void 0,
|
|
3852
3855
|
"aria-label": "Minimum value"
|
|
3853
3856
|
}
|
|
3854
3857
|
),
|
|
3855
3858
|
xe,
|
|
3856
|
-
|
|
3857
|
-
/* @__PURE__ */ a("div", { className:
|
|
3859
|
+
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: X ?? j }),
|
|
3860
|
+
/* @__PURE__ */ a("div", { className: oe.sliderTrackWrapper, children: le ? /* @__PURE__ */ a(
|
|
3858
3861
|
cr,
|
|
3859
3862
|
{
|
|
3860
|
-
...
|
|
3863
|
+
...Fe,
|
|
3861
3864
|
classNames: Se,
|
|
3862
3865
|
disabled: P,
|
|
3863
|
-
value:
|
|
3866
|
+
value: I,
|
|
3864
3867
|
onChange: ie,
|
|
3865
3868
|
onChangeEnd: ue,
|
|
3866
3869
|
min: j,
|
|
3867
3870
|
max: q,
|
|
3868
|
-
step:
|
|
3871
|
+
step: Y,
|
|
3869
3872
|
label: C
|
|
3870
3873
|
}
|
|
3871
3874
|
) : /* @__PURE__ */ a(
|
|
3872
3875
|
dr,
|
|
3873
3876
|
{
|
|
3874
|
-
...
|
|
3877
|
+
...Fe,
|
|
3875
3878
|
classNames: Se,
|
|
3876
3879
|
disabled: P,
|
|
3877
|
-
value:
|
|
3880
|
+
value: I,
|
|
3878
3881
|
onChange: ie,
|
|
3879
3882
|
onChangeEnd: ue,
|
|
3880
3883
|
min: j,
|
|
3881
3884
|
max: q,
|
|
3882
|
-
step:
|
|
3885
|
+
step: Y,
|
|
3883
3886
|
label: C
|
|
3884
3887
|
}
|
|
3885
3888
|
) }),
|
|
3886
|
-
/* @__PURE__ */ M("div", { className:
|
|
3887
|
-
!
|
|
3888
|
-
|
|
3889
|
+
/* @__PURE__ */ M("div", { className: oe.rightGuideContainer, children: [
|
|
3890
|
+
!L && /* @__PURE__ */ a("span", { className: oe.currentValue, children: V }),
|
|
3891
|
+
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: H ?? q })
|
|
3889
3892
|
] }),
|
|
3890
3893
|
eo,
|
|
3891
|
-
|
|
3894
|
+
L && (le ? /* @__PURE__ */ a(
|
|
3892
3895
|
"input",
|
|
3893
3896
|
{
|
|
3894
3897
|
type: "number",
|
|
3895
|
-
className:
|
|
3898
|
+
className: oe.inputField,
|
|
3896
3899
|
value: Ne[1],
|
|
3897
3900
|
onChange: we,
|
|
3898
3901
|
onBlur: Xe,
|
|
3899
|
-
min:
|
|
3902
|
+
min: I[0],
|
|
3900
3903
|
max: q,
|
|
3901
|
-
step:
|
|
3904
|
+
step: Y,
|
|
3902
3905
|
disabled: P,
|
|
3903
3906
|
"data-error": v ? "true" : void 0,
|
|
3904
3907
|
"aria-label": "Maximum value"
|
|
@@ -3907,13 +3910,13 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3907
3910
|
"input",
|
|
3908
3911
|
{
|
|
3909
3912
|
type: "number",
|
|
3910
|
-
className:
|
|
3913
|
+
className: oe.inputField,
|
|
3911
3914
|
value: Ne,
|
|
3912
3915
|
onChange: be,
|
|
3913
3916
|
onBlur: $e,
|
|
3914
3917
|
min: j,
|
|
3915
3918
|
max: q,
|
|
3916
|
-
step:
|
|
3919
|
+
step: Y,
|
|
3917
3920
|
disabled: P,
|
|
3918
3921
|
"data-error": v ? "true" : void 0
|
|
3919
3922
|
}
|
|
@@ -3926,17 +3929,17 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3926
3929
|
}
|
|
3927
3930
|
);
|
|
3928
3931
|
Na.displayName = "Slider";
|
|
3929
|
-
const Lc = "Stack-module__root___NUN-x",
|
|
3932
|
+
const Lc = "Stack-module__root___NUN-x", Io = {
|
|
3930
3933
|
root: Lc
|
|
3931
3934
|
}, ba = _(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
3932
3935
|
const s = {
|
|
3933
|
-
root:
|
|
3936
|
+
root: Io.root
|
|
3934
3937
|
}, l = o.classNames;
|
|
3935
3938
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
3936
3939
|
const d = l;
|
|
3937
|
-
s.root = d.root ? `${
|
|
3940
|
+
s.root = d.root ? `${Io.root} ${d.root}` : Io.root;
|
|
3938
3941
|
}
|
|
3939
|
-
const i = o.className, c = i ? `${
|
|
3942
|
+
const i = o.className, c = i ? `${Io.root} ${i}` : Io.root;
|
|
3940
3943
|
return /* @__PURE__ */ a(
|
|
3941
3944
|
ur,
|
|
3942
3945
|
{
|
|
@@ -3949,14 +3952,14 @@ const Lc = "Stack-module__root___NUN-x", ko = {
|
|
|
3949
3952
|
);
|
|
3950
3953
|
});
|
|
3951
3954
|
ba.displayName = "Stack";
|
|
3952
|
-
const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__horizontal___USHT1", zc = "Stepper-module__steps___4HPO6", Dc = "Stepper-module__step___s2nqL", Ec = "Stepper-module__stepBody___TBvys",
|
|
3955
|
+
const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__horizontal___USHT1", zc = "Stepper-module__steps___4HPO6", Dc = "Stepper-module__step___s2nqL", Ec = "Stepper-module__stepBody___TBvys", Fc = "Stepper-module__stepLabel___N6nuy", Bc = "Stepper-module__stepDescription___DnDAy", Uc = "Stepper-module__separator___pU0No", Vc = "Stepper-module__vertical___d4mOs", Gc = "Stepper-module__large___J18-y", Hc = "Stepper-module__small___Ub-zb", jc = "Stepper-module__stepIcon___YQHNq", qc = "Stepper-module__stepCompletedIcon___B9MeL", Kc = "Stepper-module__verticalSeparator___frWc1", Yc = "Stepper-module__content___J-h8X", de = {
|
|
3953
3956
|
root: Mc,
|
|
3954
3957
|
horizontal: Wc,
|
|
3955
3958
|
steps: zc,
|
|
3956
3959
|
step: Dc,
|
|
3957
3960
|
stepBody: Ec,
|
|
3958
|
-
stepLabel:
|
|
3959
|
-
stepDescription:
|
|
3961
|
+
stepLabel: Fc,
|
|
3962
|
+
stepDescription: Bc,
|
|
3960
3963
|
separator: Uc,
|
|
3961
3964
|
vertical: Vc,
|
|
3962
3965
|
large: Gc,
|
|
@@ -3974,7 +3977,7 @@ const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__ho
|
|
|
3974
3977
|
className: l,
|
|
3975
3978
|
style: i,
|
|
3976
3979
|
...c
|
|
3977
|
-
} = e, d = u(c, o), m = d, p =
|
|
3980
|
+
} = e, d = u(c, o), m = d, p = F(
|
|
3978
3981
|
{
|
|
3979
3982
|
steps: de.steps,
|
|
3980
3983
|
step: de.step,
|
|
@@ -4061,15 +4064,15 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
|
|
|
4061
4064
|
readOnlyComponent: f,
|
|
4062
4065
|
emptyValueComponent: w,
|
|
4063
4066
|
value: h,
|
|
4064
|
-
defaultValue:
|
|
4065
|
-
...
|
|
4066
|
-
} = e,
|
|
4067
|
+
defaultValue: O,
|
|
4068
|
+
...A
|
|
4069
|
+
} = e, E = [
|
|
4067
4070
|
"size"
|
|
4068
4071
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4069
4072
|
], W = G(
|
|
4070
|
-
u(
|
|
4071
|
-
|
|
4072
|
-
),
|
|
4073
|
+
u(A, o),
|
|
4074
|
+
E
|
|
4075
|
+
), L = W;
|
|
4073
4076
|
return /* @__PURE__ */ a(
|
|
4074
4077
|
ve,
|
|
4075
4078
|
{
|
|
@@ -4097,16 +4100,16 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
|
|
|
4097
4100
|
readOnlyComponent: f,
|
|
4098
4101
|
emptyValueComponent: w,
|
|
4099
4102
|
readOnlyType: "text",
|
|
4100
|
-
readOnlyValue: h !== void 0 ? h :
|
|
4103
|
+
readOnlyValue: h !== void 0 ? h : O,
|
|
4101
4104
|
readOnlyNativeProps: e,
|
|
4102
4105
|
activeComponent: /* @__PURE__ */ a(
|
|
4103
4106
|
jt.Group,
|
|
4104
4107
|
{
|
|
4105
4108
|
ref: n,
|
|
4106
4109
|
...W,
|
|
4107
|
-
disabled: P ||
|
|
4110
|
+
disabled: P || L.disabled,
|
|
4108
4111
|
value: h,
|
|
4109
|
-
defaultValue:
|
|
4112
|
+
defaultValue: O,
|
|
4110
4113
|
children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": t, children: g })
|
|
4111
4114
|
}
|
|
4112
4115
|
)
|
|
@@ -4140,7 +4143,7 @@ const Pt = _(
|
|
|
4140
4143
|
], N = G(
|
|
4141
4144
|
u(C, o),
|
|
4142
4145
|
y
|
|
4143
|
-
), v = N, S =
|
|
4146
|
+
), v = N, S = F(
|
|
4144
4147
|
{
|
|
4145
4148
|
root: ye.root,
|
|
4146
4149
|
body: ye.body,
|
|
@@ -4151,7 +4154,7 @@ const Pt = _(
|
|
|
4151
4154
|
label: ye.label
|
|
4152
4155
|
},
|
|
4153
4156
|
v.classNames
|
|
4154
|
-
), b =
|
|
4157
|
+
), b = kr(
|
|
4155
4158
|
{},
|
|
4156
4159
|
v.styles
|
|
4157
4160
|
), T = v.className, $ = T ? `${ye.root} ${T}` : ye.root;
|
|
@@ -4346,7 +4349,7 @@ const Oa = _(
|
|
|
4346
4349
|
}
|
|
4347
4350
|
);
|
|
4348
4351
|
Oa.displayName = "TableTfoot";
|
|
4349
|
-
const
|
|
4352
|
+
const Ia = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4350
4353
|
const t = u(n, e);
|
|
4351
4354
|
return /* @__PURE__ */ a(
|
|
4352
4355
|
Ke.Caption,
|
|
@@ -4356,8 +4359,8 @@ const ka = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4356
4359
|
}
|
|
4357
4360
|
);
|
|
4358
4361
|
});
|
|
4359
|
-
|
|
4360
|
-
const
|
|
4362
|
+
Ia.displayName = "TableCaption";
|
|
4363
|
+
const ka = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4361
4364
|
const t = u(n, e);
|
|
4362
4365
|
return /* @__PURE__ */ a(
|
|
4363
4366
|
Ke.ScrollContainer,
|
|
@@ -4367,7 +4370,7 @@ const Ia = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4367
4370
|
}
|
|
4368
4371
|
);
|
|
4369
4372
|
});
|
|
4370
|
-
|
|
4373
|
+
ka.displayName = "TableScrollContainer";
|
|
4371
4374
|
const Ze = ga;
|
|
4372
4375
|
Ze.Thead = Ta;
|
|
4373
4376
|
Ze.Tbody = $a;
|
|
@@ -4375,9 +4378,9 @@ Ze.Tr = wa;
|
|
|
4375
4378
|
Ze.Th = Sa;
|
|
4376
4379
|
Ze.Td = xa;
|
|
4377
4380
|
Ze.Tfoot = Oa;
|
|
4378
|
-
Ze.Caption =
|
|
4379
|
-
Ze.ScrollContainer =
|
|
4380
|
-
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c",
|
|
4381
|
+
Ze.Caption = Ia;
|
|
4382
|
+
Ze.ScrollContainer = ka;
|
|
4383
|
+
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c", Fo = {
|
|
4381
4384
|
root: ud,
|
|
4382
4385
|
list: pd,
|
|
4383
4386
|
tab: md,
|
|
@@ -4389,11 +4392,11 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4389
4392
|
overStyled: s = !1,
|
|
4390
4393
|
className: l,
|
|
4391
4394
|
...i
|
|
4392
|
-
} = e, c = u(i, s), d = c, m =
|
|
4395
|
+
} = e, c = u(i, s), d = c, m = F(
|
|
4393
4396
|
{
|
|
4394
|
-
list:
|
|
4395
|
-
tab:
|
|
4396
|
-
panel:
|
|
4397
|
+
list: Fo.list,
|
|
4398
|
+
tab: Fo.tab,
|
|
4399
|
+
panel: Fo.panel
|
|
4397
4400
|
},
|
|
4398
4401
|
d.classNames
|
|
4399
4402
|
);
|
|
@@ -4404,7 +4407,7 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4404
4407
|
...c,
|
|
4405
4408
|
variant: o,
|
|
4406
4409
|
orientation: t,
|
|
4407
|
-
className: `${
|
|
4410
|
+
className: `${Fo.root} ${l || ""}`,
|
|
4408
4411
|
"data-variant": o,
|
|
4409
4412
|
"data-orientation": t,
|
|
4410
4413
|
classNames: m
|
|
@@ -4467,7 +4470,7 @@ const fd = Object.assign(Ra, {
|
|
|
4467
4470
|
);
|
|
4468
4471
|
});
|
|
4469
4472
|
Wa.displayName = "Text";
|
|
4470
|
-
const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextArea-module__root___3dyeu", Nd = "TextArea-module__input___8l36v",
|
|
4473
|
+
const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextArea-module__root___3dyeu", Nd = "TextArea-module__input___8l36v", Bo = {
|
|
4471
4474
|
layoutOverride: hd,
|
|
4472
4475
|
root: vd,
|
|
4473
4476
|
input: Nd
|
|
@@ -4504,22 +4507,22 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4504
4507
|
emptyValueComponent: f,
|
|
4505
4508
|
value: w,
|
|
4506
4509
|
defaultValue: h,
|
|
4507
|
-
...
|
|
4508
|
-
} = e,
|
|
4509
|
-
u(
|
|
4510
|
+
...O
|
|
4511
|
+
} = e, A = G(
|
|
4512
|
+
u(O, o),
|
|
4510
4513
|
bd
|
|
4511
|
-
),
|
|
4514
|
+
), E = A, W = F(
|
|
4512
4515
|
{
|
|
4513
|
-
wrapper:
|
|
4516
|
+
wrapper: Bo.root,
|
|
4514
4517
|
// The nested Input internal relative wrapper bounding box
|
|
4515
|
-
input:
|
|
4518
|
+
input: Bo.input
|
|
4516
4519
|
},
|
|
4517
|
-
|
|
4518
|
-
),
|
|
4520
|
+
E.classNames
|
|
4521
|
+
), L = b ? `${Bo.layoutOverride} ${b}` : Bo.layoutOverride;
|
|
4519
4522
|
return /* @__PURE__ */ a(
|
|
4520
4523
|
ve,
|
|
4521
4524
|
{
|
|
4522
|
-
className:
|
|
4525
|
+
className: L,
|
|
4523
4526
|
style: T,
|
|
4524
4527
|
controlMaxWidth: "var(--textarea-control-max-width)",
|
|
4525
4528
|
controlMinWidth: "var(--textarea-control-min-width)",
|
|
@@ -4549,7 +4552,7 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4549
4552
|
fr,
|
|
4550
4553
|
{
|
|
4551
4554
|
ref: n,
|
|
4552
|
-
...
|
|
4555
|
+
...A,
|
|
4553
4556
|
classNames: W,
|
|
4554
4557
|
disabled: $,
|
|
4555
4558
|
value: w,
|
|
@@ -4567,7 +4570,7 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4567
4570
|
}
|
|
4568
4571
|
);
|
|
4569
4572
|
za.displayName = "TextArea";
|
|
4570
|
-
const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__root___2ZYkG", gd = "TextField-module__input___RL-My", Td = "TextField-module__section___bCIJ0",
|
|
4573
|
+
const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__root___2ZYkG", gd = "TextField-module__input___RL-My", Td = "TextField-module__section___bCIJ0", ko = {
|
|
4571
4574
|
layoutOverride: Cd,
|
|
4572
4575
|
root: Pd,
|
|
4573
4576
|
input: gd,
|
|
@@ -4605,23 +4608,23 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4605
4608
|
emptyValueComponent: f,
|
|
4606
4609
|
value: w,
|
|
4607
4610
|
defaultValue: h,
|
|
4608
|
-
...
|
|
4609
|
-
} = e,
|
|
4610
|
-
u(
|
|
4611
|
+
...O
|
|
4612
|
+
} = e, A = G(
|
|
4613
|
+
u(O, o),
|
|
4611
4614
|
$d
|
|
4612
|
-
),
|
|
4615
|
+
), E = A, W = F(
|
|
4613
4616
|
{
|
|
4614
|
-
wrapper:
|
|
4617
|
+
wrapper: ko.root,
|
|
4615
4618
|
// The nested Input internal relative wrapper bounding box
|
|
4616
|
-
input:
|
|
4617
|
-
section:
|
|
4619
|
+
input: ko.input,
|
|
4620
|
+
section: ko.section
|
|
4618
4621
|
},
|
|
4619
|
-
|
|
4620
|
-
),
|
|
4622
|
+
E.classNames
|
|
4623
|
+
), L = b ? `${ko.layoutOverride} ${b}` : ko.layoutOverride;
|
|
4621
4624
|
return /* @__PURE__ */ a(
|
|
4622
4625
|
ve,
|
|
4623
4626
|
{
|
|
4624
|
-
className:
|
|
4627
|
+
className: L,
|
|
4625
4628
|
style: T,
|
|
4626
4629
|
controlMaxWidth: "var(--text-field-control-max-width)",
|
|
4627
4630
|
controlMinWidth: "var(--text-field-control-min-width)",
|
|
@@ -4648,10 +4651,10 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4648
4651
|
activeComponent: (
|
|
4649
4652
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4650
4653
|
/* @__PURE__ */ a(
|
|
4651
|
-
|
|
4654
|
+
Bt,
|
|
4652
4655
|
{
|
|
4653
4656
|
ref: n,
|
|
4654
|
-
...
|
|
4657
|
+
...A,
|
|
4655
4658
|
classNames: W,
|
|
4656
4659
|
disabled: $,
|
|
4657
4660
|
value: w,
|
|
@@ -4679,13 +4682,13 @@ const wd = [
|
|
|
4679
4682
|
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = G(
|
|
4680
4683
|
u(i, o),
|
|
4681
4684
|
wd
|
|
4682
|
-
), d = c, m =
|
|
4685
|
+
), d = c, m = F(
|
|
4683
4686
|
{
|
|
4684
|
-
wrapper: t ? `${
|
|
4685
|
-
input:
|
|
4686
|
-
section:
|
|
4687
|
-
dropdown:
|
|
4688
|
-
option:
|
|
4687
|
+
wrapper: t ? `${te.root} ${t}` : te.root,
|
|
4688
|
+
input: te.input,
|
|
4689
|
+
section: te.section,
|
|
4690
|
+
dropdown: te.dropdown,
|
|
4691
|
+
option: te.option
|
|
4689
4692
|
},
|
|
4690
4693
|
d.classNames
|
|
4691
4694
|
);
|
|
@@ -4709,12 +4712,12 @@ const wd = [
|
|
|
4709
4712
|
);
|
|
4710
4713
|
});
|
|
4711
4714
|
Da.displayName = "BareDropdown";
|
|
4712
|
-
const Sd = "TimePicker-module__layoutOverride___zKo4Q", xd = "TimePicker-module__root___BcvRu", Od = "TimePicker-module__timeWrapper___hJVre",
|
|
4715
|
+
const Sd = "TimePicker-module__layoutOverride___zKo4Q", xd = "TimePicker-module__root___BcvRu", Od = "TimePicker-module__timeWrapper___hJVre", Id = "TimePicker-module__timeInput___FQysn", kd = "TimePicker-module__fieldsGroup___2yHhR", Rd = "TimePicker-module__timeField___twRZd", Ld = "TimePicker-module__amPmSelect___mSdvt", ro = {
|
|
4713
4716
|
layoutOverride: Sd,
|
|
4714
4717
|
root: xd,
|
|
4715
4718
|
timeWrapper: Od,
|
|
4716
|
-
timeInput:
|
|
4717
|
-
fieldsGroup:
|
|
4719
|
+
timeInput: Id,
|
|
4720
|
+
fieldsGroup: kd,
|
|
4718
4721
|
timeField: Rd,
|
|
4719
4722
|
amPmSelect: Ld
|
|
4720
4723
|
}, Ad = [
|
|
@@ -4777,34 +4780,34 @@ const Dd = [
|
|
|
4777
4780
|
emptyValueComponent: f,
|
|
4778
4781
|
value: w,
|
|
4779
4782
|
defaultValue: h,
|
|
4780
|
-
onChange:
|
|
4781
|
-
withSeconds:
|
|
4782
|
-
minTime:
|
|
4783
|
+
onChange: O,
|
|
4784
|
+
withSeconds: A,
|
|
4785
|
+
minTime: E,
|
|
4783
4786
|
maxTime: W,
|
|
4784
|
-
...
|
|
4785
|
-
} = e,
|
|
4786
|
-
u(
|
|
4787
|
+
...L
|
|
4788
|
+
} = e, Z = G(
|
|
4789
|
+
u(L, o),
|
|
4787
4790
|
Dd
|
|
4788
|
-
), j =
|
|
4791
|
+
), j = Z, [q, X] = ce(
|
|
4789
4792
|
() => w ?? h
|
|
4790
4793
|
);
|
|
4791
|
-
|
|
4792
|
-
w !== void 0 &&
|
|
4794
|
+
ke(() => {
|
|
4795
|
+
w !== void 0 && X(w);
|
|
4793
4796
|
}, [w]);
|
|
4794
4797
|
const H = Ve(null);
|
|
4795
|
-
|
|
4798
|
+
ke(() => {
|
|
4796
4799
|
Wt(w ?? h) === void 0 && H.current && zd(H.current, "AM");
|
|
4797
4800
|
}, []);
|
|
4798
|
-
const
|
|
4799
|
-
|
|
4800
|
-
},
|
|
4801
|
-
|
|
4802
|
-
}, re = (
|
|
4803
|
-
if (
|
|
4804
|
-
const le =
|
|
4801
|
+
const Y = (I) => {
|
|
4802
|
+
X(I), O == null || O(I);
|
|
4803
|
+
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12, D = (I) => {
|
|
4804
|
+
Y(I);
|
|
4805
|
+
}, re = (I) => {
|
|
4806
|
+
if (ee === void 0 || !q || !I) return;
|
|
4807
|
+
const le = I === "PM";
|
|
4805
4808
|
if (le === ue) return;
|
|
4806
|
-
const Ne = le ?
|
|
4807
|
-
|
|
4809
|
+
const Ne = le ? ee + 12 : ee - 12;
|
|
4810
|
+
Y(Md(q, Ne));
|
|
4808
4811
|
}, pe = b ? `${ro.layoutOverride} ${b}` : ro.layoutOverride;
|
|
4809
4812
|
return /* @__PURE__ */ a(
|
|
4810
4813
|
ve,
|
|
@@ -4852,8 +4855,8 @@ const Dd = [
|
|
|
4852
4855
|
Tr,
|
|
4853
4856
|
{
|
|
4854
4857
|
ref: n,
|
|
4855
|
-
...
|
|
4856
|
-
classNames:
|
|
4858
|
+
...Z,
|
|
4859
|
+
classNames: F(
|
|
4857
4860
|
{
|
|
4858
4861
|
wrapper: ro.timeWrapper,
|
|
4859
4862
|
input: ro.timeInput,
|
|
@@ -4866,8 +4869,8 @@ const Dd = [
|
|
|
4866
4869
|
value: q,
|
|
4867
4870
|
onChange: D,
|
|
4868
4871
|
format: "12h",
|
|
4869
|
-
withSeconds:
|
|
4870
|
-
min:
|
|
4872
|
+
withSeconds: A,
|
|
4873
|
+
min: E,
|
|
4871
4874
|
max: W,
|
|
4872
4875
|
withDropdown: !1,
|
|
4873
4876
|
amPmRef: H
|
|
@@ -4896,10 +4899,10 @@ const Dd = [
|
|
|
4896
4899
|
}
|
|
4897
4900
|
);
|
|
4898
4901
|
Ea.displayName = "TimePicker";
|
|
4899
|
-
const Ed = "Timeline-module__root___LwRdZ",
|
|
4902
|
+
const Ed = "Timeline-module__root___LwRdZ", Fd = "Timeline-module__item___T5xdQ", Bd = "Timeline-module__itemBody___XAV-E", Ud = "Timeline-module__itemBullet___rPXCy", Vd = "Timeline-module__itemTitle___GgRRW", Gd = "Timeline-module__itemContent___vurs-", Hd = "Timeline-module__description___f9sxV", jd = "Timeline-module__timestamp___owiRu", so = {
|
|
4900
4903
|
root: Ed,
|
|
4901
|
-
item:
|
|
4902
|
-
itemBody:
|
|
4904
|
+
item: Fd,
|
|
4905
|
+
itemBody: Bd,
|
|
4903
4906
|
itemBullet: Ud,
|
|
4904
4907
|
itemTitle: Vd,
|
|
4905
4908
|
itemContent: Gd,
|
|
@@ -4913,7 +4916,7 @@ const Ed = "Timeline-module__root___LwRdZ", Bd = "Timeline-module__item___T5xdQ"
|
|
|
4913
4916
|
children: t,
|
|
4914
4917
|
...s
|
|
4915
4918
|
}, l) {
|
|
4916
|
-
const i = u(s, e), c = i, d =
|
|
4919
|
+
const i = u(s, e), c = i, d = F(
|
|
4917
4920
|
{
|
|
4918
4921
|
item: so.item,
|
|
4919
4922
|
itemBody: so.itemBody,
|
|
@@ -4939,9 +4942,9 @@ const Ed = "Timeline-module__root___LwRdZ", Bd = "Timeline-module__item___T5xdQ"
|
|
|
4939
4942
|
}
|
|
4940
4943
|
);
|
|
4941
4944
|
Tt.displayName = "TimelineItem";
|
|
4942
|
-
const
|
|
4945
|
+
const Fa = K.forwardRef(
|
|
4943
4946
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4944
|
-
const t = u(n, e), s = t, l =
|
|
4947
|
+
const t = u(n, e), s = t, l = F(
|
|
4945
4948
|
{ root: so.root },
|
|
4946
4949
|
s.classNames
|
|
4947
4950
|
);
|
|
@@ -4955,9 +4958,9 @@ const Ba = K.forwardRef(
|
|
|
4955
4958
|
);
|
|
4956
4959
|
}
|
|
4957
4960
|
);
|
|
4958
|
-
|
|
4959
|
-
const
|
|
4960
|
-
|
|
4961
|
+
Fa.displayName = "Timeline";
|
|
4962
|
+
const Ba = Fa;
|
|
4963
|
+
Ba.Item = Tt;
|
|
4961
4964
|
const Ua = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
4962
4965
|
const s = [
|
|
4963
4966
|
"size"
|
|
@@ -5002,7 +5005,7 @@ const qd = "Toast-module__root___MUvfI", Kd = "Toast-module__icon___VwvE1", Yd =
|
|
|
5002
5005
|
], i = G(
|
|
5003
5006
|
u(t, e),
|
|
5004
5007
|
l
|
|
5005
|
-
), c =
|
|
5008
|
+
), c = F(
|
|
5006
5009
|
{
|
|
5007
5010
|
root: ho.root,
|
|
5008
5011
|
body: ho.body,
|
|
@@ -5043,7 +5046,7 @@ const eu = "Tooltip-module__tooltip___UA7H9", ou = "Tooltip-module__arrow___4zRO
|
|
|
5043
5046
|
arrowSize: t = 16,
|
|
5044
5047
|
...s
|
|
5045
5048
|
}) {
|
|
5046
|
-
const l = u(s, e), i = l, c =
|
|
5049
|
+
const l = u(s, e), i = l, c = F(
|
|
5047
5050
|
{
|
|
5048
5051
|
tooltip: zt.tooltip,
|
|
5049
5052
|
arrow: zt.arrow
|
|
@@ -5162,119 +5165,119 @@ const ja = _(
|
|
|
5162
5165
|
data: f,
|
|
5163
5166
|
defaultData: w,
|
|
5164
5167
|
onChange: h,
|
|
5165
|
-
sourceLabel:
|
|
5166
|
-
targetLabel:
|
|
5167
|
-
searchable:
|
|
5168
|
+
sourceLabel: O = "Available",
|
|
5169
|
+
targetLabel: A = "Selected",
|
|
5170
|
+
searchable: E = !0,
|
|
5168
5171
|
searchPlaceholder: W = "Filter items...",
|
|
5169
|
-
disabled:
|
|
5170
|
-
className:
|
|
5172
|
+
disabled: L = !1,
|
|
5173
|
+
className: Z,
|
|
5171
5174
|
style: j,
|
|
5172
5175
|
...q
|
|
5173
|
-
} = e,
|
|
5176
|
+
} = e, X = u(q, o), H = Ft(), Y = T || `recursica-transfer-list-${H}`, [ee, ue] = ce(
|
|
5174
5177
|
() => w ?? f ?? [[], []]
|
|
5175
|
-
), D = f !== void 0 ? f :
|
|
5178
|
+
), D = f !== void 0 ? f : ee, re = _o(
|
|
5176
5179
|
(V) => {
|
|
5177
5180
|
f === void 0 && ue(V), h == null || h(V);
|
|
5178
5181
|
},
|
|
5179
5182
|
[f, h]
|
|
5180
|
-
), [pe,
|
|
5183
|
+
), [pe, I] = ce(""), [le, Ne] = ce(""), [se, ie] = ce(
|
|
5181
5184
|
() => /* @__PURE__ */ new Set()
|
|
5182
5185
|
), [be, $e] = ce(
|
|
5183
5186
|
() => /* @__PURE__ */ new Set()
|
|
5184
|
-
), Qe =
|
|
5187
|
+
), Qe = It(() => {
|
|
5185
5188
|
if (!pe) return D[0];
|
|
5186
5189
|
const V = pe.toLowerCase();
|
|
5187
5190
|
return D[0].filter(
|
|
5188
|
-
(
|
|
5191
|
+
(B) => B.label.toLowerCase().includes(V)
|
|
5189
5192
|
);
|
|
5190
|
-
}, [D, pe]), we =
|
|
5193
|
+
}, [D, pe]), we = It(() => {
|
|
5191
5194
|
if (!le) return D[1];
|
|
5192
5195
|
const V = le.toLowerCase();
|
|
5193
5196
|
return D[1].filter(
|
|
5194
|
-
(
|
|
5197
|
+
(B) => B.label.toLowerCase().includes(V)
|
|
5195
5198
|
);
|
|
5196
5199
|
}, [D, le]), Xe = _o(() => {
|
|
5197
5200
|
if (se.size === 0) return;
|
|
5198
5201
|
const V = D[0].filter(
|
|
5199
5202
|
(z) => !se.has(z.value)
|
|
5200
|
-
),
|
|
5203
|
+
), B = D[0].filter(
|
|
5201
5204
|
(z) => se.has(z.value)
|
|
5202
5205
|
);
|
|
5203
|
-
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...
|
|
5206
|
+
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...B]]);
|
|
5204
5207
|
}, [D, se, re]), Ee = _o(() => {
|
|
5205
5208
|
if (be.size === 0) return;
|
|
5206
5209
|
const V = D[1].filter(
|
|
5207
5210
|
(z) => !be.has(z.value)
|
|
5208
|
-
),
|
|
5211
|
+
), B = D[1].filter(
|
|
5209
5212
|
(z) => be.has(z.value)
|
|
5210
5213
|
);
|
|
5211
|
-
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...
|
|
5212
|
-
}, [D, be, re]),
|
|
5214
|
+
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...B], V]);
|
|
5215
|
+
}, [D, be, re]), Fe = _o(() => {
|
|
5213
5216
|
D[0].length !== 0 && (ie(/* @__PURE__ */ new Set()), re([[], [...D[1], ...D[0]]]));
|
|
5214
5217
|
}, [D, re]), po = _o(() => {
|
|
5215
5218
|
D[1].length !== 0 && ($e(/* @__PURE__ */ new Set()), re([[...D[0], ...D[1]], []]));
|
|
5216
5219
|
}, [D, re]), Se = _o((V) => {
|
|
5217
|
-
ie((
|
|
5218
|
-
const z = new Set(
|
|
5220
|
+
ie((B) => {
|
|
5221
|
+
const z = new Set(B);
|
|
5219
5222
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5220
5223
|
});
|
|
5221
5224
|
}, []), Je = _o((V) => {
|
|
5222
|
-
$e((
|
|
5223
|
-
const z = new Set(
|
|
5225
|
+
$e((B) => {
|
|
5226
|
+
const z = new Set(B);
|
|
5224
5227
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5225
5228
|
});
|
|
5226
|
-
}, []), xe = (V,
|
|
5229
|
+
}, []), xe = (V, B, z, k, U, Q, _e, oo) => {
|
|
5227
5230
|
const { groups: mo, ungrouped: x } = pu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${k.length}` : `${k.length}`;
|
|
5228
5231
|
return /* @__PURE__ */ M("div", { className: ge.pane, "data-pane": V, children: [
|
|
5229
5232
|
/* @__PURE__ */ M("div", { className: ge.paneHeader, children: [
|
|
5230
|
-
/* @__PURE__ */ a("span", { children:
|
|
5233
|
+
/* @__PURE__ */ a("span", { children: B }),
|
|
5231
5234
|
/* @__PURE__ */ a(an, { children: ae })
|
|
5232
5235
|
] }),
|
|
5233
|
-
|
|
5236
|
+
E && /* @__PURE__ */ a("div", { className: ge.paneSearch, children: /* @__PURE__ */ a(
|
|
5234
5237
|
gt,
|
|
5235
5238
|
{
|
|
5236
5239
|
value: _e,
|
|
5237
|
-
onChange: (
|
|
5240
|
+
onChange: (J) => oo(J.currentTarget.value),
|
|
5238
5241
|
placeholder: W,
|
|
5239
|
-
disabled:
|
|
5240
|
-
"aria-label": `Filter ${
|
|
5242
|
+
disabled: L,
|
|
5243
|
+
"aria-label": `Filter ${B.toLowerCase()}`
|
|
5241
5244
|
}
|
|
5242
5245
|
) }),
|
|
5243
5246
|
/* @__PURE__ */ M("div", { className: ge.paneList, children: [
|
|
5244
5247
|
z.length === 0 && /* @__PURE__ */ a("div", { className: ge.emptyState, children: "No items" }),
|
|
5245
|
-
x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((
|
|
5248
|
+
x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((J) => /* @__PURE__ */ a(
|
|
5246
5249
|
Lo,
|
|
5247
5250
|
{
|
|
5248
|
-
id: `${
|
|
5249
|
-
label:
|
|
5250
|
-
checked: U.has(
|
|
5251
|
-
onChange: () => Q(
|
|
5252
|
-
disabled:
|
|
5251
|
+
id: `${Y}-${V}-${J.value}`,
|
|
5252
|
+
label: J.label,
|
|
5253
|
+
checked: U.has(J.value),
|
|
5254
|
+
onChange: () => Q(J.value),
|
|
5255
|
+
disabled: L
|
|
5253
5256
|
},
|
|
5254
|
-
|
|
5257
|
+
J.value
|
|
5255
5258
|
)) }),
|
|
5256
|
-
ne.map((
|
|
5259
|
+
ne.map((J) => /* @__PURE__ */ a(
|
|
5257
5260
|
Ro,
|
|
5258
5261
|
{
|
|
5259
|
-
label:
|
|
5262
|
+
label: J,
|
|
5260
5263
|
labelSize: "small",
|
|
5261
|
-
children: mo[
|
|
5264
|
+
children: mo[J].map((fe) => /* @__PURE__ */ a(
|
|
5262
5265
|
Lo,
|
|
5263
5266
|
{
|
|
5264
|
-
id: `${
|
|
5267
|
+
id: `${Y}-${V}-${fe.value}`,
|
|
5265
5268
|
label: fe.label,
|
|
5266
5269
|
checked: U.has(fe.value),
|
|
5267
5270
|
onChange: () => Q(fe.value),
|
|
5268
|
-
disabled:
|
|
5271
|
+
disabled: L
|
|
5269
5272
|
},
|
|
5270
5273
|
fe.value
|
|
5271
5274
|
))
|
|
5272
5275
|
},
|
|
5273
|
-
|
|
5276
|
+
J
|
|
5274
5277
|
))
|
|
5275
5278
|
] })
|
|
5276
5279
|
] });
|
|
5277
|
-
}, eo =
|
|
5280
|
+
}, eo = Z ? `${ge.layoutOverride} ${Z}` : ge.layoutOverride;
|
|
5278
5281
|
return /* @__PURE__ */ a(
|
|
5279
5282
|
ve,
|
|
5280
5283
|
{
|
|
@@ -5293,7 +5296,7 @@ const ja = _(
|
|
|
5293
5296
|
assistiveWithIcon: v,
|
|
5294
5297
|
error: S,
|
|
5295
5298
|
required: b,
|
|
5296
|
-
id:
|
|
5299
|
+
id: Y,
|
|
5297
5300
|
className: eo,
|
|
5298
5301
|
style: j,
|
|
5299
5302
|
overStyled: o,
|
|
@@ -5306,20 +5309,20 @@ const ja = _(
|
|
|
5306
5309
|
activeComponent: /* @__PURE__ */ a(
|
|
5307
5310
|
"div",
|
|
5308
5311
|
{
|
|
5309
|
-
...
|
|
5312
|
+
...X,
|
|
5310
5313
|
className: ge.root,
|
|
5311
|
-
"data-disabled":
|
|
5314
|
+
"data-disabled": L ? "true" : void 0,
|
|
5312
5315
|
"data-error": S ? "true" : void 0,
|
|
5313
5316
|
children: /* @__PURE__ */ M("div", { className: ge.panes, children: [
|
|
5314
5317
|
xe(
|
|
5315
5318
|
"source",
|
|
5316
|
-
|
|
5319
|
+
O,
|
|
5317
5320
|
Qe,
|
|
5318
5321
|
D[0],
|
|
5319
5322
|
se,
|
|
5320
5323
|
Se,
|
|
5321
5324
|
pe,
|
|
5322
|
-
|
|
5325
|
+
I
|
|
5323
5326
|
),
|
|
5324
5327
|
/* @__PURE__ */ M("div", { className: ge.transferColumn, children: [
|
|
5325
5328
|
/* @__PURE__ */ a(
|
|
@@ -5328,9 +5331,9 @@ const ja = _(
|
|
|
5328
5331
|
variant: "outline",
|
|
5329
5332
|
size: "small",
|
|
5330
5333
|
icon: /* @__PURE__ */ a(Et, { direction: "right" }),
|
|
5331
|
-
"aria-label": `Move all to ${
|
|
5332
|
-
disabled:
|
|
5333
|
-
onClick:
|
|
5334
|
+
"aria-label": `Move all to ${A}`,
|
|
5335
|
+
disabled: L || D[0].length === 0,
|
|
5336
|
+
onClick: Fe
|
|
5334
5337
|
}
|
|
5335
5338
|
),
|
|
5336
5339
|
/* @__PURE__ */ a(
|
|
@@ -5339,8 +5342,8 @@ const ja = _(
|
|
|
5339
5342
|
variant: "outline",
|
|
5340
5343
|
size: "small",
|
|
5341
5344
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5342
|
-
"aria-label": `Move selected to ${
|
|
5343
|
-
disabled:
|
|
5345
|
+
"aria-label": `Move selected to ${A}`,
|
|
5346
|
+
disabled: L || se.size === 0,
|
|
5344
5347
|
onClick: Xe
|
|
5345
5348
|
}
|
|
5346
5349
|
),
|
|
@@ -5350,8 +5353,8 @@ const ja = _(
|
|
|
5350
5353
|
variant: "outline",
|
|
5351
5354
|
size: "small",
|
|
5352
5355
|
icon: /* @__PURE__ */ a(Dt, { direction: "left" }),
|
|
5353
|
-
"aria-label": `Move selected to ${
|
|
5354
|
-
disabled:
|
|
5356
|
+
"aria-label": `Move selected to ${O}`,
|
|
5357
|
+
disabled: L || be.size === 0,
|
|
5355
5358
|
onClick: Ee
|
|
5356
5359
|
}
|
|
5357
5360
|
),
|
|
@@ -5361,15 +5364,15 @@ const ja = _(
|
|
|
5361
5364
|
variant: "outline",
|
|
5362
5365
|
size: "small",
|
|
5363
5366
|
icon: /* @__PURE__ */ a(Et, { direction: "left" }),
|
|
5364
|
-
"aria-label": `Move all to ${
|
|
5365
|
-
disabled:
|
|
5367
|
+
"aria-label": `Move all to ${O}`,
|
|
5368
|
+
disabled: L || D[1].length === 0,
|
|
5366
5369
|
onClick: po
|
|
5367
5370
|
}
|
|
5368
5371
|
)
|
|
5369
5372
|
] }),
|
|
5370
5373
|
xe(
|
|
5371
5374
|
"target",
|
|
5372
|
-
|
|
5375
|
+
A,
|
|
5373
5376
|
we,
|
|
5374
5377
|
D[1],
|
|
5375
5378
|
be,
|
|
@@ -5471,11 +5474,11 @@ const qa = _(function({
|
|
|
5471
5474
|
onNodeExpand: i,
|
|
5472
5475
|
onNodeCollapse: c
|
|
5473
5476
|
});
|
|
5474
|
-
|
|
5477
|
+
ke(() => {
|
|
5475
5478
|
d == null || d(y.selectedState);
|
|
5476
5479
|
}, [y.selectedState, d]);
|
|
5477
5480
|
const N = K.useRef(null);
|
|
5478
|
-
|
|
5481
|
+
ke(() => {
|
|
5479
5482
|
const $ = N.current;
|
|
5480
5483
|
if (!$) return;
|
|
5481
5484
|
const g = (P) => {
|
|
@@ -5486,7 +5489,7 @@ const qa = _(function({
|
|
|
5486
5489
|
w && (P.preventDefault(), y.select(w));
|
|
5487
5490
|
};
|
|
5488
5491
|
return $.addEventListener("keydown", g), () => $.removeEventListener("keydown", g);
|
|
5489
|
-
}, [y.select, l]),
|
|
5492
|
+
}, [y.select, l]), ke(() => {
|
|
5490
5493
|
const $ = N.current;
|
|
5491
5494
|
if (!$ || !l) return;
|
|
5492
5495
|
const g = (P) => {
|
|
@@ -5507,7 +5510,7 @@ const qa = _(function({
|
|
|
5507
5510
|
expandOnSpace: !1,
|
|
5508
5511
|
renderNode: Cu(l),
|
|
5509
5512
|
"data-disabled": l || void 0,
|
|
5510
|
-
classNames:
|
|
5513
|
+
classNames: F(
|
|
5511
5514
|
{ root: T, node: uo.node, subtree: uo.subtree },
|
|
5512
5515
|
S.classNames
|
|
5513
5516
|
)
|
|
@@ -5515,9 +5518,9 @@ const qa = _(function({
|
|
|
5515
5518
|
);
|
|
5516
5519
|
});
|
|
5517
5520
|
qa.displayName = "Tree";
|
|
5518
|
-
const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd,
|
|
5521
|
+
const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Fu = R(
|
|
5519
5522
|
Xo
|
|
5520
|
-
),
|
|
5523
|
+
), Bu = R(
|
|
5521
5524
|
dt
|
|
5522
5525
|
), Uu = R(
|
|
5523
5526
|
Zo
|
|
@@ -5600,12 +5603,12 @@ const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Bu
|
|
|
5600
5603
|
), Sp = R(
|
|
5601
5604
|
Ea
|
|
5602
5605
|
), xp = R(
|
|
5603
|
-
|
|
5606
|
+
Ba
|
|
5604
5607
|
), Op = R(
|
|
5605
5608
|
Tt
|
|
5606
|
-
), kp = R(
|
|
5607
|
-
Ua
|
|
5608
5609
|
), Ip = R(
|
|
5610
|
+
Ua
|
|
5611
|
+
), kp = R(
|
|
5609
5612
|
Va
|
|
5610
5613
|
), Rp = R(
|
|
5611
5614
|
$t
|
|
@@ -5615,9 +5618,9 @@ const Ru = Ql, Lu = Tn, Au = gn, Mu = $n, Wu = Ac, zu = fn, Du = li, Eu = yd, Bu
|
|
|
5615
5618
|
qa
|
|
5616
5619
|
);
|
|
5617
5620
|
export {
|
|
5618
|
-
|
|
5621
|
+
Fu as Accordion,
|
|
5619
5622
|
Uu as AccordionControl,
|
|
5620
|
-
|
|
5623
|
+
Bu as AccordionItem,
|
|
5621
5624
|
Vu as AccordionPanel,
|
|
5622
5625
|
Gu as AssistiveElement,
|
|
5623
5626
|
Hu as AutoComplete,
|
|
@@ -5653,7 +5656,7 @@ export {
|
|
|
5653
5656
|
pp as Panel,
|
|
5654
5657
|
mp as PanelFooter,
|
|
5655
5658
|
_p as Popover,
|
|
5656
|
-
|
|
5659
|
+
Iu as RECURSICA_COMPONENTS,
|
|
5657
5660
|
fp as Radio,
|
|
5658
5661
|
yp as RadioGroup,
|
|
5659
5662
|
hp as ReadOnlyField,
|
|
@@ -5672,22 +5675,22 @@ export {
|
|
|
5672
5675
|
Sp as TimePicker,
|
|
5673
5676
|
xp as Timeline,
|
|
5674
5677
|
Op as TimelineItem,
|
|
5675
|
-
|
|
5676
|
-
|
|
5678
|
+
Ip as Title,
|
|
5679
|
+
kp as Toast,
|
|
5677
5680
|
Rp as Tooltip,
|
|
5678
5681
|
Lp as TransferList,
|
|
5679
5682
|
Ap as Tree,
|
|
5680
|
-
|
|
5683
|
+
ku as copyToClipboard,
|
|
5681
5684
|
Zt as fileMatchesAccept,
|
|
5682
5685
|
Kt as injectOverStyledStyles,
|
|
5683
5686
|
xu as isGlobalOverStyledActive,
|
|
5684
|
-
|
|
5685
|
-
|
|
5687
|
+
F as mergeClassNames,
|
|
5688
|
+
kr as mergeStyles,
|
|
5686
5689
|
Qt as normalizeComboboxData,
|
|
5687
5690
|
G as omitUnsupportedProps,
|
|
5688
5691
|
Yt as registerOverStyledConsoleCommand,
|
|
5689
5692
|
Or as toggleGlobalOverStyled,
|
|
5690
|
-
|
|
5693
|
+
Ir as useGlobalOverStyled,
|
|
5691
5694
|
me as withCallerOverride,
|
|
5692
5695
|
R as wrapComponent
|
|
5693
5696
|
};
|