@recursica/mantine-adapter 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.d.ts +8 -1
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.js +958 -954
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Slider/IMPLEMENTATION_NOTES.md +13 -0
- package/src/components/Slider/Slider.stories.tsx +44 -0
- package/src/components/Slider/Slider.tsx +23 -4
- package/src/components/Slider/USAGE.md +1 -1
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as a, Fragment as
|
|
2
|
-
import
|
|
3
|
-
import { Accordion as qo, Input as Ft, Box as qa, Autocomplete as Ka, Avatar as Ya, createPolymorphicComponent as
|
|
1
|
+
import { jsx as a, Fragment as No, jsxs as A } from "react/jsx-runtime";
|
|
2
|
+
import G, { forwardRef as _, useState as ae, useEffect as ke, useId as Bt, useRef as Ge, useCallback as mo, useMemo as kt } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Ft, Box as qa, Autocomplete as Ka, Avatar as Ya, createPolymorphicComponent as ge, Badge as Za, Breadcrumbs as Xa, Loader as Ja, Button as Qa, Card as Ko, Checkbox as Ut, Chip as er, Container as or, Select as Vt, Flex as tr, Grid as Gt, Group as nr, HoverCard as st, Anchor as ar, Menu as ze, Modal as fe, NumberInput as rr, Pagination as qe, Drawer as Ke, Popover as lt, Radio as Ht, SegmentedControl as sr, Slider as lr, Stack as ir, Stepper as it, Switch as jt, CheckIcon as cr, CloseIcon as dr, Table as Ye, Tabs as Yo, Text as ur, Textarea as pr, TimelineItem as mr, Timeline as _r, Title as fr, Notification as yr, Tooltip as ct, useTree as hr, getTreeExpandedState as vr, Tree as Nr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as br, TimePicker as Cr } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as Pr } from "@mantine/hooks";
|
|
6
6
|
const gr = "_root_1qhn7_3", Tr = "_contents_1qhn7_18", Co = {
|
|
@@ -21,10 +21,10 @@ const gr = "_root_1qhn7_3", Tr = "_contents_1qhn7_18", Co = {
|
|
|
21
21
|
);
|
|
22
22
|
});
|
|
23
23
|
qt.displayName = "Layer";
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const $r = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PLUGIN_MODE: "production", VITE_PLUGIN_PHRASE: "recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7", VITE_PLUGIN_PHRASE_TEST: "recursica_plugin_@19866374", VITE_RECURSICA_API_TEST: "https://dev-api.recursica.com", VITE_RECURSICA_API_URL: "https://api.recursica.com", VITE_RECURSICA_UI_URL: "https://api.recursica.com" },
|
|
24
|
+
const Vo = ({ emptyText: r = "N/A" }) => /* @__PURE__ */ a(G.Fragment, { children: r });
|
|
25
|
+
Vo.displayName = "EmptyValueRenderer";
|
|
26
|
+
Vo.check = (r) => r == null || r === "" || Array.isArray(r) && r.length === 0;
|
|
27
|
+
const $r = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PLUGIN_MODE: "production", VITE_PLUGIN_PHRASE: "recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7", VITE_PLUGIN_PHRASE_TEST: "recursica_plugin_@19866374", VITE_RECURSICA_API_TEST: "https://dev-api.recursica.com", VITE_RECURSICA_API_URL: "https://api.recursica.com", VITE_RECURSICA_UI_URL: "https://api.recursica.com" }, vo = (() => {
|
|
28
28
|
try {
|
|
29
29
|
if (typeof process < "u" && process.env && process.env.NODE_ENV)
|
|
30
30
|
return process.env.NODE_ENV !== "production";
|
|
@@ -43,7 +43,7 @@ const $r = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PL
|
|
|
43
43
|
})(), at = /* @__PURE__ */ new Set();
|
|
44
44
|
let ro = !1;
|
|
45
45
|
function wr(r) {
|
|
46
|
-
if (!
|
|
46
|
+
if (!vo)
|
|
47
47
|
return console.warn(
|
|
48
48
|
"[Recursica] overStyled highlight is disabled in production builds."
|
|
49
49
|
), !1;
|
|
@@ -57,21 +57,21 @@ function wr(r) {
|
|
|
57
57
|
return at.forEach((e) => e()), ro;
|
|
58
58
|
}
|
|
59
59
|
function _u() {
|
|
60
|
-
return
|
|
60
|
+
return vo && ro;
|
|
61
61
|
}
|
|
62
62
|
function Sr() {
|
|
63
|
-
const [r, e] =
|
|
64
|
-
return
|
|
65
|
-
if (!
|
|
63
|
+
const [r, e] = ae(ro);
|
|
64
|
+
return ke(() => {
|
|
65
|
+
if (!vo) return;
|
|
66
66
|
Kt(), Yt();
|
|
67
67
|
const n = () => e(ro);
|
|
68
68
|
return at.add(n), () => {
|
|
69
69
|
at.delete(n);
|
|
70
70
|
};
|
|
71
|
-
}, []),
|
|
71
|
+
}, []), vo && r;
|
|
72
72
|
}
|
|
73
73
|
function Kt() {
|
|
74
|
-
if (!
|
|
74
|
+
if (!vo) return;
|
|
75
75
|
if (typeof document > "u") {
|
|
76
76
|
console.warn(
|
|
77
77
|
"[Recursica] document is undefined. Cannot inject overStyled styles."
|
|
@@ -93,7 +93,7 @@ function Kt() {
|
|
|
93
93
|
`, document.head.appendChild(e));
|
|
94
94
|
}
|
|
95
95
|
function Yt() {
|
|
96
|
-
if (!
|
|
96
|
+
if (!vo) return;
|
|
97
97
|
if (typeof window > "u") {
|
|
98
98
|
console.warn(
|
|
99
99
|
"[Recursica] window is undefined. Cannot register console command."
|
|
@@ -114,14 +114,14 @@ function fu({
|
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
116
116
|
}) {
|
|
117
|
-
return
|
|
117
|
+
return ke(() => {
|
|
118
118
|
const o = document.documentElement;
|
|
119
119
|
return o.setAttribute(Rt, e), () => {
|
|
120
120
|
o.removeAttribute(Rt);
|
|
121
121
|
};
|
|
122
|
-
}, [e]),
|
|
122
|
+
}, [e]), ke(() => {
|
|
123
123
|
Kt(), Yt();
|
|
124
|
-
}, []), n ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(
|
|
124
|
+
}, []), n ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(No, { children: r });
|
|
125
125
|
}
|
|
126
126
|
const yu = [
|
|
127
127
|
"Accordion",
|
|
@@ -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 z(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) {
|
|
@@ -214,20 +214,20 @@ function xr(r, e) {
|
|
|
214
214
|
}
|
|
215
215
|
return n;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function F(r, e) {
|
|
218
218
|
const n = { ...r };
|
|
219
219
|
for (const o of e)
|
|
220
220
|
o in n && delete n[o];
|
|
221
221
|
return n;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function de(r, e) {
|
|
224
224
|
return e !== void 0 ? e : r;
|
|
225
225
|
}
|
|
226
226
|
function k(r) {
|
|
227
|
-
if (!
|
|
227
|
+
if (!vo || typeof r != "function" && !(r && r.$$typeof))
|
|
228
228
|
return r;
|
|
229
|
-
const e =
|
|
230
|
-
const { overStyled: s } = o, l = Sr(), i =
|
|
229
|
+
const e = G.forwardRef((o, t) => {
|
|
230
|
+
const { overStyled: s } = o, l = Sr(), i = G.createElement(
|
|
231
231
|
r,
|
|
232
232
|
{ ...o, ref: t }
|
|
233
233
|
);
|
|
@@ -302,7 +302,7 @@ const Or = [
|
|
|
302
302
|
"left",
|
|
303
303
|
"bottom",
|
|
304
304
|
"right"
|
|
305
|
-
]),
|
|
305
|
+
]), Go = {
|
|
306
306
|
"rec-none": "var(--recursica_brand_dimensions_general_none)",
|
|
307
307
|
"rec-sm": "var(--recursica_brand_dimensions_general_sm)",
|
|
308
308
|
"rec-default": "var(--recursica_brand_dimensions_general_default)",
|
|
@@ -314,7 +314,7 @@ const Or = [
|
|
|
314
314
|
function Ao(r) {
|
|
315
315
|
const e = { ...r };
|
|
316
316
|
for (const [n, o] of Object.entries(e))
|
|
317
|
-
typeof o == "string" && o.startsWith("rec-") && Xt.has(n) && o in
|
|
317
|
+
typeof o == "string" && o.startsWith("rec-") && Xt.has(n) && o in Go && (e[n] = Go[o]);
|
|
318
318
|
return e;
|
|
319
319
|
}
|
|
320
320
|
function u(r, e) {
|
|
@@ -324,10 +324,10 @@ function u(r, e) {
|
|
|
324
324
|
for (const o of Or)
|
|
325
325
|
o in n && delete n[o];
|
|
326
326
|
for (const [o, t] of Object.entries(n))
|
|
327
|
-
typeof t == "string" && t.startsWith("rec-") && Xt.has(o) && t in
|
|
327
|
+
typeof t == "string" && t.startsWith("rec-") && Xt.has(o) && t in Go && (n[o] = Go[t]);
|
|
328
328
|
return n;
|
|
329
329
|
}
|
|
330
|
-
const kr = "Accordion-module__root___Dem6d", Rr = "Accordion-module__item___7ryVk", Ir = "Accordion-module__noDivider___Ni2tT", Lr = "Accordion-module__control___b4wgX", Mr = "Accordion-module__label___Ss7uW", Ar = "Accordion-module__icon___xfHxX", zr = "Accordion-module__chevron___i-HVZ", Wr = "Accordion-module__iconLeftWrapper___5oLen", Dr = "Accordion-module__panel___Wx50w", Er = "Accordion-module__content___PEM9t",
|
|
330
|
+
const kr = "Accordion-module__root___Dem6d", Rr = "Accordion-module__item___7ryVk", Ir = "Accordion-module__noDivider___Ni2tT", Lr = "Accordion-module__control___b4wgX", Mr = "Accordion-module__label___Ss7uW", Ar = "Accordion-module__icon___xfHxX", zr = "Accordion-module__chevron___i-HVZ", Wr = "Accordion-module__iconLeftWrapper___5oLen", Dr = "Accordion-module__panel___Wx50w", Er = "Accordion-module__content___PEM9t", Le = {
|
|
331
331
|
root: kr,
|
|
332
332
|
item: Rr,
|
|
333
333
|
noDivider: Ir,
|
|
@@ -345,16 +345,16 @@ const kr = "Accordion-module__root___Dem6d", Rr = "Accordion-module__item___7ryV
|
|
|
345
345
|
overStyled: n = !1,
|
|
346
346
|
...o
|
|
347
347
|
}) {
|
|
348
|
-
const t = typeof e == "string" && It[e] ? It[e] : e, s = u(o, n), l = s, i =
|
|
348
|
+
const t = typeof e == "string" && It[e] ? It[e] : e, s = u(o, n), l = s, i = z(
|
|
349
349
|
{
|
|
350
|
-
root:
|
|
351
|
-
item:
|
|
352
|
-
control:
|
|
353
|
-
label:
|
|
354
|
-
chevron:
|
|
355
|
-
icon:
|
|
356
|
-
panel:
|
|
357
|
-
content:
|
|
350
|
+
root: Le.root,
|
|
351
|
+
item: Le.item,
|
|
352
|
+
control: Le.control,
|
|
353
|
+
label: Le.label,
|
|
354
|
+
chevron: Le.chevron,
|
|
355
|
+
icon: Le.icon,
|
|
356
|
+
panel: Le.panel,
|
|
357
|
+
content: Le.content
|
|
358
358
|
},
|
|
359
359
|
l.classNames
|
|
360
360
|
), c = l.className;
|
|
@@ -378,7 +378,7 @@ const dt = _(function({
|
|
|
378
378
|
overStyled: l = !1,
|
|
379
379
|
...i
|
|
380
380
|
}, c) {
|
|
381
|
-
const d = u(i, l), m = d.className, p = [o ? void 0 :
|
|
381
|
+
const d = u(i, l), m = d.className, p = [o ? void 0 : Le.noDivider, m].filter(Boolean).join(" ") || void 0;
|
|
382
382
|
return /* @__PURE__ */ a(
|
|
383
383
|
qo.Item,
|
|
384
384
|
{
|
|
@@ -386,7 +386,7 @@ const dt = _(function({
|
|
|
386
386
|
...d,
|
|
387
387
|
className: p,
|
|
388
388
|
"data-disabled": s || void 0,
|
|
389
|
-
children: e ? /* @__PURE__ */
|
|
389
|
+
children: e ? /* @__PURE__ */ A(No, { children: [
|
|
390
390
|
/* @__PURE__ */ a(Zo, { leftIcon: n, disabled: s, children: e }),
|
|
391
391
|
/* @__PURE__ */ a(Xo, { children: t })
|
|
392
392
|
] }) : t
|
|
@@ -399,7 +399,7 @@ const Br = [
|
|
|
399
399
|
// Mantine's native icon slot is fully computed here from `leftIcon`; the `Omit<>` on
|
|
400
400
|
// AccordionControlWrapperProps only stops a well-typed caller, this is the runtime backstop.
|
|
401
401
|
], Zo = _(function({ leftIcon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
402
|
-
const l =
|
|
402
|
+
const l = F(
|
|
403
403
|
u(t, o),
|
|
404
404
|
Br
|
|
405
405
|
), i = l.className;
|
|
@@ -409,7 +409,7 @@ const Br = [
|
|
|
409
409
|
ref: s,
|
|
410
410
|
...l,
|
|
411
411
|
className: i,
|
|
412
|
-
icon: e ? /* @__PURE__ */ a("span", { className:
|
|
412
|
+
icon: e ? /* @__PURE__ */ a("span", { className: Le.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
413
413
|
children: n
|
|
414
414
|
}
|
|
415
415
|
);
|
|
@@ -431,11 +431,11 @@ const Jo = Jt;
|
|
|
431
431
|
Jo.Item = dt;
|
|
432
432
|
Jo.Control = Zo;
|
|
433
433
|
Jo.Panel = Xo;
|
|
434
|
-
const Fr = "AssistiveElement-module__root___WhQ43", Ur = "AssistiveElement-module__textWrapper___sfy5E",
|
|
434
|
+
const Fr = "AssistiveElement-module__root___WhQ43", Ur = "AssistiveElement-module__textWrapper___sfy5E", Vr = "AssistiveElement-module__iconWrapper___gObRF", tt = {
|
|
435
435
|
root: Fr,
|
|
436
436
|
textWrapper: Ur,
|
|
437
|
-
iconWrapper:
|
|
438
|
-
},
|
|
437
|
+
iconWrapper: Vr
|
|
438
|
+
}, Gr = () => /* @__PURE__ */ A(
|
|
439
439
|
"svg",
|
|
440
440
|
{
|
|
441
441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -451,7 +451,7 @@ const Fr = "AssistiveElement-module__root___WhQ43", Ur = "AssistiveElement-modul
|
|
|
451
451
|
/* @__PURE__ */ a("path", { d: "M12 8h.01" })
|
|
452
452
|
]
|
|
453
453
|
}
|
|
454
|
-
), Hr = () => /* @__PURE__ */
|
|
454
|
+
), Hr = () => /* @__PURE__ */ A(
|
|
455
455
|
"svg",
|
|
456
456
|
{
|
|
457
457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -476,13 +476,13 @@ const Fr = "AssistiveElement-module__root___WhQ43", Ur = "AssistiveElement-modul
|
|
|
476
476
|
overStyled: l = !1,
|
|
477
477
|
...i
|
|
478
478
|
}, c) {
|
|
479
|
-
const m = u(i, l), p = tt.root,
|
|
480
|
-
return /* @__PURE__ */
|
|
479
|
+
const m = u(i, l), p = tt.root, T = t ? `${p} ${t}` : p, y = e === "error" ? Hr : Gr;
|
|
480
|
+
return /* @__PURE__ */ A(
|
|
481
481
|
"div",
|
|
482
482
|
{
|
|
483
483
|
ref: c,
|
|
484
484
|
...m,
|
|
485
|
-
className:
|
|
485
|
+
className: T,
|
|
486
486
|
"data-variant": e,
|
|
487
487
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
488
488
|
style: m.style,
|
|
@@ -513,31 +513,31 @@ const jr = "Label-module__root___e6HXZ", qr = "Label-module__labelText___rieFR",
|
|
|
513
513
|
overStyled: d = !1,
|
|
514
514
|
...m
|
|
515
515
|
}, p) {
|
|
516
|
-
const
|
|
516
|
+
const T = n || "left";
|
|
517
517
|
let y;
|
|
518
518
|
o || (t === !0 ? y = "optional" : t && (y = t));
|
|
519
519
|
const v = [
|
|
520
520
|
"size"
|
|
521
521
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
522
|
-
], h =
|
|
522
|
+
], h = F(
|
|
523
523
|
u(m, d),
|
|
524
524
|
v
|
|
525
|
-
), x = h, N =
|
|
525
|
+
), x = h, N = z(
|
|
526
526
|
{
|
|
527
527
|
label: Qe.root,
|
|
528
528
|
required: Qe.required
|
|
529
529
|
},
|
|
530
530
|
x.classNames
|
|
531
|
-
), w = x.className,
|
|
532
|
-
return /* @__PURE__ */
|
|
531
|
+
), w = x.className, $ = w ? `${Qe.root} ${w}` : Qe.root;
|
|
532
|
+
return /* @__PURE__ */ A(
|
|
533
533
|
Ft.Label,
|
|
534
534
|
{
|
|
535
535
|
ref: p,
|
|
536
536
|
...h,
|
|
537
|
-
className:
|
|
537
|
+
className: $,
|
|
538
538
|
classNames: N,
|
|
539
539
|
"data-size": e,
|
|
540
|
-
"data-alignment":
|
|
540
|
+
"data-alignment": T,
|
|
541
541
|
required: o && !s,
|
|
542
542
|
children: [
|
|
543
543
|
/* @__PURE__ */ a("span", { className: Qe.labelText, children: c }),
|
|
@@ -580,7 +580,7 @@ const Jr = "FormControlLayout-module__root___yNDhZ", Qr = "FormControlLayout-mod
|
|
|
580
580
|
root: Jr,
|
|
581
581
|
leftSection: Qr,
|
|
582
582
|
rightSection: es
|
|
583
|
-
},
|
|
583
|
+
}, He = _(function({
|
|
584
584
|
formLayout: e = "stacked",
|
|
585
585
|
labelSize: n = "default",
|
|
586
586
|
controlMaxWidth: o,
|
|
@@ -592,7 +592,7 @@ const Jr = "FormControlLayout-module__root___yNDhZ", Qr = "FormControlLayout-mod
|
|
|
592
592
|
...d
|
|
593
593
|
}, m) {
|
|
594
594
|
const p = i ? `${Do.root} ${i}` : Do.root, y = s != null || e === "side-by-side";
|
|
595
|
-
return /* @__PURE__ */
|
|
595
|
+
return /* @__PURE__ */ A(
|
|
596
596
|
"div",
|
|
597
597
|
{
|
|
598
598
|
ref: m,
|
|
@@ -611,7 +611,7 @@ const Jr = "FormControlLayout-module__root___yNDhZ", Qr = "FormControlLayout-mod
|
|
|
611
611
|
}
|
|
612
612
|
);
|
|
613
613
|
});
|
|
614
|
-
|
|
614
|
+
He.displayName = "FormControlLayout";
|
|
615
615
|
const os = "FormControlWrapper-module__root___c-UHo", ts = "FormControlWrapper-module__inputSection___HenXk", Lt = {
|
|
616
616
|
root: os,
|
|
617
617
|
inputSection: ts
|
|
@@ -627,26 +627,26 @@ const os = "FormControlWrapper-module__root___c-UHo", ts = "FormControlWrapper-m
|
|
|
627
627
|
description: d,
|
|
628
628
|
assistiveText: m,
|
|
629
629
|
assistiveWithIcon: p = !0,
|
|
630
|
-
controlMaxWidth:
|
|
630
|
+
controlMaxWidth: T,
|
|
631
631
|
controlMinWidth: y,
|
|
632
632
|
error: v,
|
|
633
633
|
required: h,
|
|
634
634
|
withAsterisk: x,
|
|
635
635
|
id: N,
|
|
636
636
|
children: w,
|
|
637
|
-
className:
|
|
637
|
+
className: $,
|
|
638
638
|
overStyled: g = !1,
|
|
639
639
|
labelElement: P,
|
|
640
640
|
// Extracted safely preventing bleeding into HTML domains
|
|
641
641
|
...f
|
|
642
642
|
}, b) {
|
|
643
|
-
const C = Bt(), O = N || `recursica-fc-${C}`, R = m || d, D = R ? `${O}-assistive` : void 0,
|
|
643
|
+
const C = Bt(), O = N || `recursica-fc-${C}`, R = m || d, D = R ? `${O}-assistive` : void 0, M = v ? `${O}-error` : void 0, j = u(f, g), V = $ || j.className, K = Lt.root, X = V ? `${K} ${V}` : K, q = G.isValidElement(w) ? G.cloneElement(
|
|
644
644
|
w,
|
|
645
645
|
{
|
|
646
646
|
...R && !w.props["aria-describedby"] ? { "aria-describedby": D } : {},
|
|
647
|
-
...v && !w.props["aria-errormessage"] ? { "aria-errormessage":
|
|
647
|
+
...v && !w.props["aria-errormessage"] ? { "aria-errormessage": M } : {}
|
|
648
648
|
}
|
|
649
|
-
) : w,
|
|
649
|
+
) : w, J = c ? /* @__PURE__ */ a(
|
|
650
650
|
ut,
|
|
651
651
|
{
|
|
652
652
|
id: O,
|
|
@@ -661,22 +661,22 @@ const os = "FormControlWrapper-module__root___c-UHo", ts = "FormControlWrapper-m
|
|
|
661
661
|
}
|
|
662
662
|
) : void 0;
|
|
663
663
|
return /* @__PURE__ */ a(
|
|
664
|
-
|
|
664
|
+
He,
|
|
665
665
|
{
|
|
666
666
|
ref: b,
|
|
667
|
-
className:
|
|
667
|
+
className: X,
|
|
668
668
|
formLayout: e,
|
|
669
669
|
labelSize: n,
|
|
670
|
-
controlMaxWidth:
|
|
670
|
+
controlMaxWidth: T,
|
|
671
671
|
controlMinWidth: y,
|
|
672
|
-
leftSection:
|
|
673
|
-
...
|
|
674
|
-
children: /* @__PURE__ */
|
|
672
|
+
leftSection: J,
|
|
673
|
+
...j,
|
|
674
|
+
children: /* @__PURE__ */ A("div", { className: Lt.inputSection, children: [
|
|
675
675
|
q,
|
|
676
676
|
v && /* @__PURE__ */ a(
|
|
677
677
|
Ho,
|
|
678
678
|
{
|
|
679
|
-
id:
|
|
679
|
+
id: M,
|
|
680
680
|
assistiveVariant: "error",
|
|
681
681
|
assistiveWithIcon: p,
|
|
682
682
|
children: v
|
|
@@ -711,7 +711,7 @@ const ns = "ReadOnlyField-module__layoutOverride___9fSsG", as = "ReadOnlyField-m
|
|
|
711
711
|
component: "p",
|
|
712
712
|
...o,
|
|
713
713
|
className: t ? `${jo.textField} ${t}` : jo.textField,
|
|
714
|
-
children: r != null ?
|
|
714
|
+
children: r != null ? G.isValidElement(r) ? r : Array.isArray(r) ? r.join(", ") : String(r) : ""
|
|
715
715
|
}
|
|
716
716
|
);
|
|
717
717
|
};
|
|
@@ -727,7 +727,7 @@ const pt = _(
|
|
|
727
727
|
...i
|
|
728
728
|
}, c) {
|
|
729
729
|
let d = null;
|
|
730
|
-
const m = u(i, t), p = o ||
|
|
730
|
+
const m = u(i, t), p = o || Vo, y = (p.check ? p.check(e) : Vo.check(e)) ? /* @__PURE__ */ a(p, { value: e }) : e;
|
|
731
731
|
switch (n) {
|
|
732
732
|
case "boolean":
|
|
733
733
|
d = /* @__PURE__ */ a(
|
|
@@ -773,7 +773,7 @@ const pt = _(
|
|
|
773
773
|
}
|
|
774
774
|
);
|
|
775
775
|
pt.displayName = "ReadOnlyField";
|
|
776
|
-
const
|
|
776
|
+
const ye = _(function({
|
|
777
777
|
readOnly: e,
|
|
778
778
|
readOnlyComponent: n,
|
|
779
779
|
readOnlyType: o = "text",
|
|
@@ -816,8 +816,8 @@ const he = _(function({
|
|
|
816
816
|
}
|
|
817
817
|
);
|
|
818
818
|
});
|
|
819
|
-
|
|
820
|
-
const rs = "AutoComplete-module__layoutOverride___-K9WL", ss = "AutoComplete-module__root___kANza", ls = "AutoComplete-module__input___g51MC", is = "AutoComplete-module__section___WAbf1", cs = "AutoComplete-module__dropdown___NqO3E", ds = "AutoComplete-module__option___Y-Kja",
|
|
819
|
+
ye.displayName = "WithReadOnlyWrapper";
|
|
820
|
+
const rs = "AutoComplete-module__layoutOverride___-K9WL", ss = "AutoComplete-module__root___kANza", ls = "AutoComplete-module__input___g51MC", is = "AutoComplete-module__section___WAbf1", cs = "AutoComplete-module__dropdown___NqO3E", ds = "AutoComplete-module__option___Y-Kja", _o = {
|
|
821
821
|
layoutOverride: rs,
|
|
822
822
|
root: ss,
|
|
823
823
|
input: ls,
|
|
@@ -844,38 +844,38 @@ const rs = "AutoComplete-module__layoutOverride___-K9WL", ss = "AutoComplete-mod
|
|
|
844
844
|
onLabelEditClick: d,
|
|
845
845
|
label: m,
|
|
846
846
|
assistiveText: p,
|
|
847
|
-
assistiveWithIcon:
|
|
847
|
+
assistiveWithIcon: T,
|
|
848
848
|
error: y,
|
|
849
849
|
required: v,
|
|
850
850
|
withAsterisk: h,
|
|
851
851
|
id: x,
|
|
852
852
|
className: N,
|
|
853
853
|
style: w,
|
|
854
|
-
disabled:
|
|
854
|
+
disabled: $,
|
|
855
855
|
readOnly: g,
|
|
856
856
|
readOnlyComponent: P,
|
|
857
857
|
emptyValueComponent: f,
|
|
858
858
|
value: b,
|
|
859
859
|
defaultValue: C,
|
|
860
860
|
...O
|
|
861
|
-
} = e, R =
|
|
861
|
+
} = e, R = F(
|
|
862
862
|
u(O, o),
|
|
863
863
|
us
|
|
864
|
-
), D = R,
|
|
864
|
+
), D = R, M = z(
|
|
865
865
|
{
|
|
866
|
-
wrapper:
|
|
866
|
+
wrapper: _o.root,
|
|
867
867
|
// The nested Input internal relative wrapper bounding box
|
|
868
|
-
input:
|
|
869
|
-
section:
|
|
870
|
-
dropdown:
|
|
871
|
-
option:
|
|
868
|
+
input: _o.input,
|
|
869
|
+
section: _o.section,
|
|
870
|
+
dropdown: _o.dropdown,
|
|
871
|
+
option: _o.option
|
|
872
872
|
},
|
|
873
873
|
D.classNames
|
|
874
|
-
),
|
|
874
|
+
), L = N ? `${_o.layoutOverride} ${N}` : _o.layoutOverride;
|
|
875
875
|
return /* @__PURE__ */ a(
|
|
876
|
-
|
|
876
|
+
ye,
|
|
877
877
|
{
|
|
878
|
-
className:
|
|
878
|
+
className: L,
|
|
879
879
|
style: w,
|
|
880
880
|
controlMaxWidth: "var(--autocomplete-control-max-width)",
|
|
881
881
|
controlMinWidth: "var(--autocomplete-control-min-width)",
|
|
@@ -888,7 +888,7 @@ const rs = "AutoComplete-module__layoutOverride___-K9WL", ss = "AutoComplete-mod
|
|
|
888
888
|
onLabelEditClick: d,
|
|
889
889
|
label: m,
|
|
890
890
|
assistiveText: p,
|
|
891
|
-
assistiveWithIcon:
|
|
891
|
+
assistiveWithIcon: T,
|
|
892
892
|
error: y,
|
|
893
893
|
required: v,
|
|
894
894
|
withAsterisk: h,
|
|
@@ -906,8 +906,8 @@ const rs = "AutoComplete-module__layoutOverride___-K9WL", ss = "AutoComplete-mod
|
|
|
906
906
|
{
|
|
907
907
|
ref: n,
|
|
908
908
|
...R,
|
|
909
|
-
classNames:
|
|
910
|
-
disabled:
|
|
909
|
+
classNames: M,
|
|
910
|
+
disabled: $,
|
|
911
911
|
value: b,
|
|
912
912
|
defaultValue: C,
|
|
913
913
|
error: !!y
|
|
@@ -947,13 +947,13 @@ const ps = "Avatar-module__root___fXu-J", ms = "Avatar-module__iconWrapper___ojl
|
|
|
947
947
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
948
948
|
"radius"
|
|
949
949
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
950
|
-
],
|
|
950
|
+
], T = F(
|
|
951
951
|
u(i, l),
|
|
952
952
|
p
|
|
953
|
-
), y =
|
|
953
|
+
), y = T;
|
|
954
954
|
let v = "text";
|
|
955
955
|
s ? v = "image" : o && (v = "icon");
|
|
956
|
-
const h =
|
|
956
|
+
const h = z(
|
|
957
957
|
{
|
|
958
958
|
root: To.root,
|
|
959
959
|
image: To.image,
|
|
@@ -965,7 +965,7 @@ const ps = "Avatar-module__root___fXu-J", ms = "Avatar-module__iconWrapper___ojl
|
|
|
965
965
|
Ya,
|
|
966
966
|
{
|
|
967
967
|
ref: c,
|
|
968
|
-
|
|
968
|
+
...T,
|
|
969
969
|
className: x,
|
|
970
970
|
classNames: h,
|
|
971
971
|
variant: d[n],
|
|
@@ -979,10 +979,10 @@ const ps = "Avatar-module__root___fXu-J", ms = "Avatar-module__iconWrapper___ojl
|
|
|
979
979
|
);
|
|
980
980
|
});
|
|
981
981
|
en.displayName = "Avatar";
|
|
982
|
-
const hs =
|
|
982
|
+
const hs = ge(en), vs = "Badge-module__root___5osNT", $o = {
|
|
983
983
|
root: vs
|
|
984
984
|
}, on = _(function({ variant: e = "primary-color", overStyled: n = !1, ...o }, t) {
|
|
985
|
-
const s = u(o, n), l =
|
|
985
|
+
const s = u(o, n), l = z(
|
|
986
986
|
{
|
|
987
987
|
root: $o.root,
|
|
988
988
|
section: $o.section,
|
|
@@ -1003,7 +1003,7 @@ const hs = Ce(en), vs = "Badge-module__root___5osNT", $o = {
|
|
|
1003
1003
|
);
|
|
1004
1004
|
});
|
|
1005
1005
|
on.displayName = "Badge";
|
|
1006
|
-
const tn =
|
|
1006
|
+
const tn = ge(on), Ns = "Breadcrumb-module__root___x-9ln", bs = "Breadcrumb-module__separator___qrUX-", Eo = {
|
|
1007
1007
|
root: Ns,
|
|
1008
1008
|
separator: bs
|
|
1009
1009
|
}, nn = _(
|
|
@@ -1011,7 +1011,7 @@ const tn = Ce(on), Ns = "Breadcrumb-module__root___x-9ln", bs = "Breadcrumb-modu
|
|
|
1011
1011
|
const s = u(
|
|
1012
1012
|
{ separator: n, ...o },
|
|
1013
1013
|
e
|
|
1014
|
-
), l =
|
|
1014
|
+
), l = z(
|
|
1015
1015
|
{
|
|
1016
1016
|
root: Eo.root,
|
|
1017
1017
|
separator: Eo.separator
|
|
@@ -1047,10 +1047,10 @@ const Cs = "Loader-module__root___6iYOP", nt = {
|
|
|
1047
1047
|
small: "small",
|
|
1048
1048
|
default: "default",
|
|
1049
1049
|
large: "large"
|
|
1050
|
-
}[n] || "default", c = u(t, o), d = c, m =
|
|
1050
|
+
}[n] || "default", c = u(t, o), d = c, m = z(
|
|
1051
1051
|
{ root: nt.root },
|
|
1052
1052
|
d.classNames
|
|
1053
|
-
), p = d.className,
|
|
1053
|
+
), p = d.className, T = p ? `${nt.root} ${p}` : nt.root;
|
|
1054
1054
|
return /* @__PURE__ */ a(
|
|
1055
1055
|
Ja,
|
|
1056
1056
|
{
|
|
@@ -1059,7 +1059,7 @@ const Cs = "Loader-module__root___6iYOP", nt = {
|
|
|
1059
1059
|
type: e,
|
|
1060
1060
|
"data-variant": e,
|
|
1061
1061
|
"data-size": i,
|
|
1062
|
-
className:
|
|
1062
|
+
className: T,
|
|
1063
1063
|
classNames: m
|
|
1064
1064
|
}
|
|
1065
1065
|
);
|
|
@@ -1091,21 +1091,21 @@ const an = _(function({
|
|
|
1091
1091
|
solid: "filled",
|
|
1092
1092
|
outline: "outline",
|
|
1093
1093
|
text: "subtle"
|
|
1094
|
-
},
|
|
1094
|
+
}, T = {
|
|
1095
1095
|
default: "md",
|
|
1096
1096
|
small: "sm"
|
|
1097
1097
|
}, y = [
|
|
1098
1098
|
"fullWidth"
|
|
1099
1099
|
// Recursica Button width comes from layout/token constraints, not Mantine's boolean fullWidth toggle.
|
|
1100
|
-
], v =
|
|
1100
|
+
], v = F(
|
|
1101
1101
|
u(d, s),
|
|
1102
1102
|
y
|
|
1103
|
-
), h = v, x = !!o || !!h.leftSection, N = !!h.rightSection, w = xs(t),
|
|
1103
|
+
), h = v, x = !!o || !!h.leftSection, N = !!h.rightSection, w = xs(t), $ = (x || N) && !w;
|
|
1104
1104
|
let g = "label";
|
|
1105
|
-
|
|
1105
|
+
$ ? g = "icon-only" : (x || N) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !h["aria-label"] && console.warn(
|
|
1106
1106
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1107
1107
|
);
|
|
1108
|
-
const P =
|
|
1108
|
+
const P = z(
|
|
1109
1109
|
{
|
|
1110
1110
|
root: eo.root,
|
|
1111
1111
|
section: eo.section,
|
|
@@ -1113,7 +1113,7 @@ const an = _(function({
|
|
|
1113
1113
|
loader: eo.loader
|
|
1114
1114
|
},
|
|
1115
1115
|
h.classNames
|
|
1116
|
-
), f = h.className, b = f ? `${eo.root} ${f}` : eo.root, C = h.loaderProps, O =
|
|
1116
|
+
), f = h.className, b = f ? `${eo.root} ${f}` : eo.root, C = h.loaderProps, O = de(
|
|
1117
1117
|
n === "small" ? "small" : "default",
|
|
1118
1118
|
i
|
|
1119
1119
|
);
|
|
@@ -1129,7 +1129,7 @@ const an = _(function({
|
|
|
1129
1129
|
className: b,
|
|
1130
1130
|
classNames: P,
|
|
1131
1131
|
variant: p[e],
|
|
1132
|
-
size:
|
|
1132
|
+
size: T[n],
|
|
1133
1133
|
loaderProps: R,
|
|
1134
1134
|
leftSection: o != null ? /* @__PURE__ */ a("span", { className: eo.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1135
1135
|
"data-variant": e,
|
|
@@ -1141,9 +1141,9 @@ const an = _(function({
|
|
|
1141
1141
|
);
|
|
1142
1142
|
});
|
|
1143
1143
|
an.displayName = "Button";
|
|
1144
|
-
const so =
|
|
1144
|
+
const so = ge(
|
|
1145
1145
|
an
|
|
1146
|
-
), Os = "Card-module__root___c9KvZ", ks = "Card-module__header___PTXf2", Rs = "Card-module__footer___Mu-JC", Is = "Card-module__section___BRT8H", Ls = "Card-module__content___oFIQa",
|
|
1146
|
+
), Os = "Card-module__root___c9KvZ", ks = "Card-module__header___PTXf2", Rs = "Card-module__footer___Mu-JC", Is = "Card-module__section___BRT8H", Ls = "Card-module__content___oFIQa", je = {
|
|
1147
1147
|
root: Os,
|
|
1148
1148
|
header: ks,
|
|
1149
1149
|
footer: Rs,
|
|
@@ -1157,7 +1157,7 @@ const so = Ce(
|
|
|
1157
1157
|
"padding"
|
|
1158
1158
|
// Padding is token-driven (`--card-padding`), not Mantine's spacing-scale prop.
|
|
1159
1159
|
], rn = _(function({ overStyled: e = !1, ...n }, o) {
|
|
1160
|
-
const t =
|
|
1160
|
+
const t = F(
|
|
1161
1161
|
u(n, e),
|
|
1162
1162
|
Ms
|
|
1163
1163
|
);
|
|
@@ -1172,9 +1172,9 @@ const so = Ce(
|
|
|
1172
1172
|
].forEach((c) => {
|
|
1173
1173
|
c in n && !(c in t) && (t[c] = n[c]);
|
|
1174
1174
|
});
|
|
1175
|
-
const l =
|
|
1175
|
+
const l = z(
|
|
1176
1176
|
{
|
|
1177
|
-
root:
|
|
1177
|
+
root: je.root
|
|
1178
1178
|
},
|
|
1179
1179
|
t.classNames
|
|
1180
1180
|
), i = t.className;
|
|
@@ -1197,7 +1197,7 @@ const sn = _(
|
|
|
1197
1197
|
{
|
|
1198
1198
|
ref: o,
|
|
1199
1199
|
...t,
|
|
1200
|
-
className: s ? `${
|
|
1200
|
+
className: s ? `${je.section} ${s}` : je.section
|
|
1201
1201
|
}
|
|
1202
1202
|
);
|
|
1203
1203
|
}
|
|
@@ -1210,7 +1210,7 @@ const ln = [
|
|
|
1210
1210
|
// Padding is fixed by the `.header`/`.footer` token-driven padding, not Mantine's default.
|
|
1211
1211
|
], cn = _(
|
|
1212
1212
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1213
|
-
const t =
|
|
1213
|
+
const t = F(
|
|
1214
1214
|
u(n, e),
|
|
1215
1215
|
ln
|
|
1216
1216
|
), s = t.className;
|
|
@@ -1219,7 +1219,7 @@ const ln = [
|
|
|
1219
1219
|
{
|
|
1220
1220
|
ref: o,
|
|
1221
1221
|
...t,
|
|
1222
|
-
className: s ? `${
|
|
1222
|
+
className: s ? `${je.header} ${s}` : je.header
|
|
1223
1223
|
}
|
|
1224
1224
|
);
|
|
1225
1225
|
}
|
|
@@ -1227,7 +1227,7 @@ const ln = [
|
|
|
1227
1227
|
cn.displayName = "CardHeader";
|
|
1228
1228
|
const dn = _(
|
|
1229
1229
|
function({ overStyled: e = !1, ...n }, o) {
|
|
1230
|
-
const t =
|
|
1230
|
+
const t = F(
|
|
1231
1231
|
u(n, e),
|
|
1232
1232
|
ln
|
|
1233
1233
|
), s = t.className;
|
|
@@ -1236,7 +1236,7 @@ const dn = _(
|
|
|
1236
1236
|
{
|
|
1237
1237
|
ref: o,
|
|
1238
1238
|
...t,
|
|
1239
|
-
className: s ? `${
|
|
1239
|
+
className: s ? `${je.footer} ${s}` : je.footer
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
1242
1242
|
}
|
|
@@ -1250,18 +1250,18 @@ const un = _(
|
|
|
1250
1250
|
{
|
|
1251
1251
|
ref: o,
|
|
1252
1252
|
...t,
|
|
1253
|
-
className: s ? `${
|
|
1253
|
+
className: s ? `${je.content} ${s}` : je.content
|
|
1254
1254
|
}
|
|
1255
1255
|
);
|
|
1256
1256
|
}
|
|
1257
1257
|
);
|
|
1258
1258
|
un.displayName = "CardContent";
|
|
1259
|
-
const pn =
|
|
1259
|
+
const pn = ge(rn), Qo = pn;
|
|
1260
1260
|
Qo.Section = sn;
|
|
1261
1261
|
Qo.Header = cn;
|
|
1262
1262
|
Qo.Footer = dn;
|
|
1263
1263
|
Qo.Content = un;
|
|
1264
|
-
const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module__root___mY3qk", Ds = "Checkbox-module__body___5yC7q", Es = "Checkbox-module__inner___rTke4", Bs = "Checkbox-module__input___2kt-h", Fs = "Checkbox-module__icon___-O7i6", Us = "Checkbox-module__labelWrapper___GpZkr",
|
|
1264
|
+
const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module__root___mY3qk", Ds = "Checkbox-module__body___5yC7q", Es = "Checkbox-module__inner___rTke4", Bs = "Checkbox-module__input___2kt-h", Fs = "Checkbox-module__icon___-O7i6", Us = "Checkbox-module__labelWrapper___GpZkr", Vs = "Checkbox-module__label___cwRtI", Oe = {
|
|
1265
1265
|
groupRoot: zs,
|
|
1266
1266
|
root: Ws,
|
|
1267
1267
|
body: Ds,
|
|
@@ -1269,7 +1269,7 @@ const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module_
|
|
|
1269
1269
|
input: Bs,
|
|
1270
1270
|
icon: Fs,
|
|
1271
1271
|
labelWrapper: Us,
|
|
1272
|
-
label:
|
|
1272
|
+
label: Vs
|
|
1273
1273
|
}, Io = _(
|
|
1274
1274
|
function(e, n) {
|
|
1275
1275
|
const {
|
|
@@ -1284,14 +1284,14 @@ const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module_
|
|
|
1284
1284
|
// Base Mantine Extracted Attributes
|
|
1285
1285
|
label: m,
|
|
1286
1286
|
description: p,
|
|
1287
|
-
assistiveText:
|
|
1287
|
+
assistiveText: T,
|
|
1288
1288
|
assistiveWithIcon: y,
|
|
1289
1289
|
error: v,
|
|
1290
1290
|
required: h,
|
|
1291
1291
|
withAsterisk: x,
|
|
1292
1292
|
id: N,
|
|
1293
1293
|
className: w,
|
|
1294
|
-
style:
|
|
1294
|
+
style: $,
|
|
1295
1295
|
children: g,
|
|
1296
1296
|
readOnly: P,
|
|
1297
1297
|
readOnlyComponent: f,
|
|
@@ -1302,15 +1302,15 @@ const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module_
|
|
|
1302
1302
|
} = e, D = [
|
|
1303
1303
|
"size"
|
|
1304
1304
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1305
|
-
],
|
|
1305
|
+
], M = F(
|
|
1306
1306
|
u(R, o),
|
|
1307
1307
|
D
|
|
1308
|
-
),
|
|
1308
|
+
), L = M;
|
|
1309
1309
|
return /* @__PURE__ */ a(
|
|
1310
|
-
|
|
1310
|
+
ye,
|
|
1311
1311
|
{
|
|
1312
1312
|
className: w,
|
|
1313
|
-
style:
|
|
1313
|
+
style: $,
|
|
1314
1314
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
1315
1315
|
controlMinWidth: void 0,
|
|
1316
1316
|
overStyled: o,
|
|
@@ -1323,7 +1323,7 @@ const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module_
|
|
|
1323
1323
|
onLabelEditClick: d,
|
|
1324
1324
|
label: m,
|
|
1325
1325
|
description: p,
|
|
1326
|
-
assistiveText:
|
|
1326
|
+
assistiveText: T,
|
|
1327
1327
|
assistiveWithIcon: y,
|
|
1328
1328
|
error: v,
|
|
1329
1329
|
required: h,
|
|
@@ -1339,19 +1339,19 @@ const As = pn, zs = "Checkbox-module__groupRoot___cBS0o", Ws = "Checkbox-module_
|
|
|
1339
1339
|
Ut.Group,
|
|
1340
1340
|
{
|
|
1341
1341
|
ref: n,
|
|
1342
|
-
...
|
|
1343
|
-
disabled: P ||
|
|
1342
|
+
...M,
|
|
1343
|
+
disabled: P || L.disabled,
|
|
1344
1344
|
value: C,
|
|
1345
1345
|
defaultValue: O,
|
|
1346
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
1346
|
+
children: /* @__PURE__ */ a("div", { className: Oe.groupRoot, "data-layout": t, children: g })
|
|
1347
1347
|
}
|
|
1348
1348
|
) : /* @__PURE__ */ a(
|
|
1349
1349
|
"div",
|
|
1350
1350
|
{
|
|
1351
1351
|
ref: n,
|
|
1352
|
-
...
|
|
1352
|
+
...M,
|
|
1353
1353
|
role: "group",
|
|
1354
|
-
className:
|
|
1354
|
+
className: Oe.groupRoot,
|
|
1355
1355
|
"data-layout": t,
|
|
1356
1356
|
children: g
|
|
1357
1357
|
}
|
|
@@ -1373,7 +1373,7 @@ const Lo = _(
|
|
|
1373
1373
|
controlMaxWidth: d,
|
|
1374
1374
|
controlMinWidth: m,
|
|
1375
1375
|
...p
|
|
1376
|
-
} = e,
|
|
1376
|
+
} = e, T = [
|
|
1377
1377
|
"size",
|
|
1378
1378
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1379
1379
|
"color",
|
|
@@ -1384,32 +1384,32 @@ const Lo = _(
|
|
|
1384
1384
|
// Checkbox has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
1385
1385
|
"iconColor"
|
|
1386
1386
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1387
|
-
], y =
|
|
1387
|
+
], y = F(
|
|
1388
1388
|
u(p, o),
|
|
1389
|
-
|
|
1390
|
-
), v = y, h =
|
|
1389
|
+
T
|
|
1390
|
+
), v = y, h = z(
|
|
1391
1391
|
{
|
|
1392
|
-
root:
|
|
1393
|
-
body:
|
|
1394
|
-
inner:
|
|
1395
|
-
input:
|
|
1396
|
-
icon:
|
|
1397
|
-
labelWrapper:
|
|
1398
|
-
label:
|
|
1392
|
+
root: Oe.root,
|
|
1393
|
+
body: Oe.body,
|
|
1394
|
+
inner: Oe.inner,
|
|
1395
|
+
input: Oe.input,
|
|
1396
|
+
icon: Oe.icon,
|
|
1397
|
+
labelWrapper: Oe.labelWrapper,
|
|
1398
|
+
label: Oe.label
|
|
1399
1399
|
},
|
|
1400
1400
|
v.classNames
|
|
1401
|
-
), x = v.className, N = x ? `${
|
|
1401
|
+
), x = v.className, N = x ? `${Oe.root} ${x}` : Oe.root;
|
|
1402
1402
|
if (t && s) {
|
|
1403
|
-
const
|
|
1403
|
+
const $ = !!(v.checked ?? v.defaultChecked), P = /* @__PURE__ */ a(
|
|
1404
1404
|
s,
|
|
1405
1405
|
{
|
|
1406
1406
|
...e,
|
|
1407
|
-
checked:
|
|
1407
|
+
checked: $,
|
|
1408
1408
|
label: v.label
|
|
1409
1409
|
}
|
|
1410
1410
|
);
|
|
1411
1411
|
return i ? /* @__PURE__ */ a(
|
|
1412
|
-
|
|
1412
|
+
He,
|
|
1413
1413
|
{
|
|
1414
1414
|
formLayout: i,
|
|
1415
1415
|
labelSize: c,
|
|
@@ -1417,7 +1417,7 @@ const Lo = _(
|
|
|
1417
1417
|
controlMinWidth: m,
|
|
1418
1418
|
children: P
|
|
1419
1419
|
}
|
|
1420
|
-
) : /* @__PURE__ */ a(
|
|
1420
|
+
) : /* @__PURE__ */ a(No, { children: P });
|
|
1421
1421
|
}
|
|
1422
1422
|
const w = /* @__PURE__ */ a(
|
|
1423
1423
|
Ut,
|
|
@@ -1430,7 +1430,7 @@ const Lo = _(
|
|
|
1430
1430
|
}
|
|
1431
1431
|
);
|
|
1432
1432
|
return i ? /* @__PURE__ */ a(
|
|
1433
|
-
|
|
1433
|
+
He,
|
|
1434
1434
|
{
|
|
1435
1435
|
formLayout: i,
|
|
1436
1436
|
labelSize: c,
|
|
@@ -1443,8 +1443,8 @@ const Lo = _(
|
|
|
1443
1443
|
);
|
|
1444
1444
|
Lo.displayName = "Checkbox";
|
|
1445
1445
|
Lo.Group = Io;
|
|
1446
|
-
const
|
|
1447
|
-
root:
|
|
1446
|
+
const Gs = "Chip-module__root___f5pFk", Hs = "Chip-module__label___Ov9pg", js = "Chip-module__mantineIconWrapper___KLSz6", qs = "Chip-module__innerWrapper___EnrTF", Ks = "Chip-module__children___zbRAR", Ys = "Chip-module__leadingIcon___JBtjQ", Zs = "Chip-module__deleteIcon___zPPsH", xe = {
|
|
1447
|
+
root: Gs,
|
|
1448
1448
|
label: Hs,
|
|
1449
1449
|
mantineIconWrapper: js,
|
|
1450
1450
|
innerWrapper: qs,
|
|
@@ -1453,7 +1453,7 @@ const Vs = "Chip-module__root___f5pFk", Hs = "Chip-module__label___Ov9pg", js =
|
|
|
1453
1453
|
deleteIcon: Zs
|
|
1454
1454
|
};
|
|
1455
1455
|
function Xs(r) {
|
|
1456
|
-
return /* @__PURE__ */
|
|
1456
|
+
return /* @__PURE__ */ A(
|
|
1457
1457
|
"svg",
|
|
1458
1458
|
{
|
|
1459
1459
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1485,19 +1485,19 @@ const Mo = _(function({
|
|
|
1485
1485
|
wrapperProps: d,
|
|
1486
1486
|
tabIndex: m,
|
|
1487
1487
|
"aria-hidden": p,
|
|
1488
|
-
|
|
1488
|
+
...T
|
|
1489
1489
|
}, y) {
|
|
1490
|
-
const v = u(
|
|
1490
|
+
const v = u(T, c), h = v, x = z(
|
|
1491
1491
|
{
|
|
1492
|
-
root:
|
|
1493
|
-
label:
|
|
1494
|
-
input:
|
|
1495
|
-
iconWrapper:
|
|
1496
|
-
checkIcon:
|
|
1492
|
+
root: xe.root,
|
|
1493
|
+
label: xe.label,
|
|
1494
|
+
input: xe.input,
|
|
1495
|
+
iconWrapper: xe.mantineIconWrapper,
|
|
1496
|
+
checkIcon: xe.checkIcon
|
|
1497
1497
|
},
|
|
1498
1498
|
h.classNames
|
|
1499
|
-
), N = h.className, w = N ? `${
|
|
1500
|
-
|
|
1499
|
+
), N = h.className, w = N ? `${xe.root} ${N}` : xe.root, $ = e ? "" : void 0, g = !i && (!!n || !!o), P = o !== void 0 || h.onClick !== void 0 || h.onChange !== void 0, f = {
|
|
1500
|
+
...$ !== void 0 ? { "data-error": "" } : {},
|
|
1501
1501
|
...P ? { "data-interactive": "" } : {}
|
|
1502
1502
|
};
|
|
1503
1503
|
return /* @__PURE__ */ a(
|
|
@@ -1507,25 +1507,25 @@ const Mo = _(function({
|
|
|
1507
1507
|
...v,
|
|
1508
1508
|
className: w,
|
|
1509
1509
|
classNames: x,
|
|
1510
|
-
wrapperProps:
|
|
1510
|
+
wrapperProps: de(f, d),
|
|
1511
1511
|
"data-icon-only": g ? "" : void 0,
|
|
1512
|
-
tabIndex:
|
|
1512
|
+
tabIndex: de(
|
|
1513
1513
|
P ? void 0 : -1,
|
|
1514
1514
|
m
|
|
1515
1515
|
),
|
|
1516
|
-
"aria-hidden":
|
|
1516
|
+
"aria-hidden": de(
|
|
1517
1517
|
P ? void 0 : !0,
|
|
1518
1518
|
p
|
|
1519
1519
|
),
|
|
1520
|
-
children: /* @__PURE__ */
|
|
1521
|
-
n && /* @__PURE__ */ a("span", { className:
|
|
1522
|
-
/* @__PURE__ */ a("span", { className:
|
|
1520
|
+
children: /* @__PURE__ */ A("span", { className: xe.innerWrapper, children: [
|
|
1521
|
+
n && /* @__PURE__ */ a("span", { className: xe.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1522
|
+
/* @__PURE__ */ a("span", { className: xe.children, children: i }),
|
|
1523
1523
|
o && /* @__PURE__ */ a(
|
|
1524
1524
|
"span",
|
|
1525
1525
|
{
|
|
1526
1526
|
ref: l,
|
|
1527
1527
|
role: "button",
|
|
1528
|
-
className:
|
|
1528
|
+
className: xe.deleteIcon,
|
|
1529
1529
|
onClick: (b) => {
|
|
1530
1530
|
b.preventDefault(), b.stopPropagation(), o(b);
|
|
1531
1531
|
},
|
|
@@ -1578,7 +1578,7 @@ const Js = "Container-module__root___UVssr", wo = {
|
|
|
1578
1578
|
);
|
|
1579
1579
|
mn.displayName = "Container";
|
|
1580
1580
|
function Qs(r) {
|
|
1581
|
-
return /* @__PURE__ */
|
|
1581
|
+
return /* @__PURE__ */ A(
|
|
1582
1582
|
"svg",
|
|
1583
1583
|
{
|
|
1584
1584
|
viewBox: "0 0 24 24",
|
|
@@ -1598,7 +1598,7 @@ function Qs(r) {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
);
|
|
1600
1600
|
}
|
|
1601
|
-
const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module__root___6XvRT", tl = "DatePicker-module__input___pcSW8", nl = "DatePicker-module__section___n3iWA", al = "DatePicker-module__dropdown___wjt08", rl = "DatePicker-module__calendarHeader___KHxno", sl = "DatePicker-module__calendarHeaderControl___q7UvJ", ll = "DatePicker-module__calendarHeaderLevel___ebdJ2", il = "DatePicker-module__calendarHeaderControlIcon___2tZOb", cl = "DatePicker-module__weekday___H5lIj", dl = "DatePicker-module__day___U03J2",
|
|
1601
|
+
const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module__root___6XvRT", tl = "DatePicker-module__input___pcSW8", nl = "DatePicker-module__section___n3iWA", al = "DatePicker-module__dropdown___wjt08", rl = "DatePicker-module__calendarHeader___KHxno", sl = "DatePicker-module__calendarHeaderControl___q7UvJ", ll = "DatePicker-module__calendarHeaderLevel___ebdJ2", il = "DatePicker-module__calendarHeaderControlIcon___2tZOb", cl = "DatePicker-module__weekday___H5lIj", dl = "DatePicker-module__day___U03J2", Ce = {
|
|
1602
1602
|
layoutOverride: el,
|
|
1603
1603
|
root: ol,
|
|
1604
1604
|
input: tl,
|
|
@@ -1632,14 +1632,14 @@ const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module_
|
|
|
1632
1632
|
onLabelEditClick: d,
|
|
1633
1633
|
label: m,
|
|
1634
1634
|
assistiveText: p,
|
|
1635
|
-
assistiveWithIcon:
|
|
1635
|
+
assistiveWithIcon: T,
|
|
1636
1636
|
error: y,
|
|
1637
1637
|
required: v,
|
|
1638
1638
|
withAsterisk: h,
|
|
1639
1639
|
id: x,
|
|
1640
1640
|
className: N,
|
|
1641
1641
|
style: w,
|
|
1642
|
-
disabled:
|
|
1642
|
+
disabled: $,
|
|
1643
1643
|
readOnly: g,
|
|
1644
1644
|
readOnlyComponent: P,
|
|
1645
1645
|
emptyValueComponent: f,
|
|
@@ -1651,39 +1651,39 @@ const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module_
|
|
|
1651
1651
|
// Default display format; consumers can still override.
|
|
1652
1652
|
placeholder: D = "MM / DD / YY",
|
|
1653
1653
|
// Default placeholder; consumers can still override.
|
|
1654
|
-
leftSection:
|
|
1654
|
+
leftSection: M,
|
|
1655
1655
|
// Default leading icon computed below; consumers can still override.
|
|
1656
|
-
...
|
|
1657
|
-
} = e,
|
|
1658
|
-
u(
|
|
1656
|
+
...L
|
|
1657
|
+
} = e, j = F(
|
|
1658
|
+
u(L, o),
|
|
1659
1659
|
ul
|
|
1660
|
-
),
|
|
1660
|
+
), V = j, K = z(
|
|
1661
1661
|
{
|
|
1662
|
-
wrapper:
|
|
1662
|
+
wrapper: Ce.root,
|
|
1663
1663
|
// The nested Input internal relative wrapper bounding box
|
|
1664
|
-
input:
|
|
1665
|
-
section:
|
|
1666
|
-
day:
|
|
1667
|
-
weekday:
|
|
1668
|
-
calendarHeader:
|
|
1669
|
-
calendarHeaderControl:
|
|
1670
|
-
calendarHeaderLevel:
|
|
1671
|
-
calendarHeaderControlIcon:
|
|
1664
|
+
input: Ce.input,
|
|
1665
|
+
section: Ce.section,
|
|
1666
|
+
day: Ce.day,
|
|
1667
|
+
weekday: Ce.weekday,
|
|
1668
|
+
calendarHeader: Ce.calendarHeader,
|
|
1669
|
+
calendarHeaderControl: Ce.calendarHeaderControl,
|
|
1670
|
+
calendarHeaderLevel: Ce.calendarHeaderLevel,
|
|
1671
|
+
calendarHeaderControlIcon: Ce.calendarHeaderControlIcon
|
|
1672
1672
|
},
|
|
1673
|
-
|
|
1674
|
-
),
|
|
1675
|
-
delete
|
|
1676
|
-
const
|
|
1673
|
+
V.classNames
|
|
1674
|
+
), X = V.popoverProps, q = X && typeof X == "object" && !Array.isArray(X) ? X : void 0, J = q != null && q.classNames && typeof q.classNames == "object" && !Array.isArray(q.classNames) ? q.classNames : void 0;
|
|
1675
|
+
delete V.popoverProps;
|
|
1676
|
+
const ne = {
|
|
1677
1677
|
...q,
|
|
1678
|
-
classNames:
|
|
1679
|
-
{ dropdown:
|
|
1680
|
-
|
|
1678
|
+
classNames: z(
|
|
1679
|
+
{ dropdown: Ce.dropdown },
|
|
1680
|
+
J
|
|
1681
1681
|
)
|
|
1682
|
-
},
|
|
1682
|
+
}, Te = N ? `${Ce.layoutOverride} ${N}` : Ce.layoutOverride;
|
|
1683
1683
|
return /* @__PURE__ */ a(
|
|
1684
|
-
|
|
1684
|
+
ye,
|
|
1685
1685
|
{
|
|
1686
|
-
className:
|
|
1686
|
+
className: Te,
|
|
1687
1687
|
style: w,
|
|
1688
1688
|
controlMaxWidth: void 0,
|
|
1689
1689
|
controlMinWidth: void 0,
|
|
@@ -1696,7 +1696,7 @@ const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module_
|
|
|
1696
1696
|
onLabelEditClick: d,
|
|
1697
1697
|
label: m,
|
|
1698
1698
|
assistiveText: p,
|
|
1699
|
-
assistiveWithIcon:
|
|
1699
|
+
assistiveWithIcon: T,
|
|
1700
1700
|
error: y,
|
|
1701
1701
|
required: v,
|
|
1702
1702
|
withAsterisk: h,
|
|
@@ -1713,9 +1713,9 @@ const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module_
|
|
|
1713
1713
|
br,
|
|
1714
1714
|
{
|
|
1715
1715
|
ref: n,
|
|
1716
|
-
...
|
|
1717
|
-
classNames:
|
|
1718
|
-
disabled:
|
|
1716
|
+
...j,
|
|
1717
|
+
classNames: K,
|
|
1718
|
+
disabled: $,
|
|
1719
1719
|
value: b,
|
|
1720
1720
|
defaultValue: C,
|
|
1721
1721
|
label: void 0,
|
|
@@ -1725,15 +1725,15 @@ const el = "DatePicker-module__layoutOverride___X9yaM", ol = "DatePicker-module_
|
|
|
1725
1725
|
highlightToday: O,
|
|
1726
1726
|
valueFormat: R,
|
|
1727
1727
|
placeholder: D,
|
|
1728
|
-
leftSection:
|
|
1728
|
+
leftSection: de(
|
|
1729
1729
|
/* @__PURE__ */ a(Qs, {}),
|
|
1730
|
-
|
|
1730
|
+
M
|
|
1731
1731
|
),
|
|
1732
1732
|
wrapperProps: {
|
|
1733
|
-
"data-disabled":
|
|
1733
|
+
"data-disabled": $ ? "true" : void 0,
|
|
1734
1734
|
"data-error": y ? "true" : void 0
|
|
1735
1735
|
},
|
|
1736
|
-
popoverProps:
|
|
1736
|
+
popoverProps: ne
|
|
1737
1737
|
}
|
|
1738
1738
|
)
|
|
1739
1739
|
)
|
|
@@ -1770,14 +1770,14 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1770
1770
|
labelWithEditIcon: d,
|
|
1771
1771
|
onLabelEditClick: m,
|
|
1772
1772
|
label: p,
|
|
1773
|
-
assistiveText:
|
|
1773
|
+
assistiveText: T,
|
|
1774
1774
|
assistiveWithIcon: y,
|
|
1775
1775
|
error: v,
|
|
1776
1776
|
required: h,
|
|
1777
1777
|
withAsterisk: x,
|
|
1778
1778
|
id: N,
|
|
1779
1779
|
className: w,
|
|
1780
|
-
style:
|
|
1780
|
+
style: $,
|
|
1781
1781
|
disabled: g,
|
|
1782
1782
|
readOnly: P,
|
|
1783
1783
|
readOnlyComponent: f,
|
|
@@ -1786,14 +1786,14 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1786
1786
|
defaultValue: O,
|
|
1787
1787
|
data: R,
|
|
1788
1788
|
clearButtonProps: D,
|
|
1789
|
-
...
|
|
1790
|
-
} = e,
|
|
1791
|
-
u(
|
|
1789
|
+
...M
|
|
1790
|
+
} = e, L = F(
|
|
1791
|
+
u(M, o),
|
|
1792
1792
|
Nl
|
|
1793
|
-
),
|
|
1794
|
-
...
|
|
1795
|
-
className:
|
|
1796
|
-
},
|
|
1793
|
+
), j = L, V = D, K = {
|
|
1794
|
+
...V,
|
|
1795
|
+
className: V != null && V.className ? `${ie.clearButton} ${V.className}` : ie.clearButton
|
|
1796
|
+
}, X = z(
|
|
1797
1797
|
{
|
|
1798
1798
|
wrapper: ie.root,
|
|
1799
1799
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1802,15 +1802,15 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1802
1802
|
dropdown: ie.dropdown,
|
|
1803
1803
|
option: ie.option
|
|
1804
1804
|
},
|
|
1805
|
-
|
|
1805
|
+
j.classNames
|
|
1806
1806
|
), q = {
|
|
1807
|
-
|
|
1807
|
+
...$ || {},
|
|
1808
1808
|
width: s || "100%"
|
|
1809
|
-
},
|
|
1809
|
+
}, J = w ? `${ie.layoutOverride} ${w}` : ie.layoutOverride;
|
|
1810
1810
|
return /* @__PURE__ */ a(
|
|
1811
|
-
|
|
1811
|
+
ye,
|
|
1812
1812
|
{
|
|
1813
|
-
className:
|
|
1813
|
+
className: J,
|
|
1814
1814
|
style: q,
|
|
1815
1815
|
controlMaxWidth: "var(--dropdown-control-max-width)",
|
|
1816
1816
|
controlMinWidth: "var(--dropdown-control-min-width)",
|
|
@@ -1822,7 +1822,7 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1822
1822
|
labelWithEditIcon: d,
|
|
1823
1823
|
onLabelEditClick: m,
|
|
1824
1824
|
label: p,
|
|
1825
|
-
assistiveText:
|
|
1825
|
+
assistiveText: T,
|
|
1826
1826
|
assistiveWithIcon: y,
|
|
1827
1827
|
error: v,
|
|
1828
1828
|
required: h,
|
|
@@ -1837,16 +1837,16 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1837
1837
|
activeComponent: (
|
|
1838
1838
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1839
1839
|
/* @__PURE__ */ a(
|
|
1840
|
-
|
|
1840
|
+
Vt,
|
|
1841
1841
|
{
|
|
1842
1842
|
ref: n,
|
|
1843
|
-
...
|
|
1844
|
-
classNames:
|
|
1843
|
+
...L,
|
|
1844
|
+
classNames: X,
|
|
1845
1845
|
disabled: g,
|
|
1846
1846
|
value: C,
|
|
1847
1847
|
defaultValue: O,
|
|
1848
1848
|
data: R || [],
|
|
1849
|
-
clearButtonProps:
|
|
1849
|
+
clearButtonProps: K,
|
|
1850
1850
|
label: void 0,
|
|
1851
1851
|
description: void 0,
|
|
1852
1852
|
error: void 0,
|
|
@@ -1866,7 +1866,7 @@ const pl = "Dropdown-module__layoutOverride___FNcvP", ml = "Dropdown-module__roo
|
|
|
1866
1866
|
}
|
|
1867
1867
|
);
|
|
1868
1868
|
fn.displayName = "Dropdown";
|
|
1869
|
-
const bl = "FileInput-module__layoutOverride___HIOY6", Cl = "FileInput-module__root___UvQj-", Pl = "FileInput-module__leadingIcon___z75c4", gl = "FileInput-module__content___Udsvh", Tl = "FileInput-module__value___RX33R", $l = "FileInput-module__chipRow___My6TF", wl = "FileInput-module__chipWrapper___q2CDy", Sl = "FileInput-module__trailingIcon___odGPm",
|
|
1869
|
+
const bl = "FileInput-module__layoutOverride___HIOY6", Cl = "FileInput-module__root___UvQj-", Pl = "FileInput-module__leadingIcon___z75c4", gl = "FileInput-module__content___Udsvh", Tl = "FileInput-module__value___RX33R", $l = "FileInput-module__chipRow___My6TF", wl = "FileInput-module__chipWrapper___q2CDy", Sl = "FileInput-module__trailingIcon___odGPm", Ue = {
|
|
1870
1870
|
layoutOverride: bl,
|
|
1871
1871
|
root: Cl,
|
|
1872
1872
|
leadingIcon: Pl,
|
|
@@ -1877,7 +1877,7 @@ const bl = "FileInput-module__layoutOverride___HIOY6", Cl = "FileInput-module__r
|
|
|
1877
1877
|
trailingIcon: Sl
|
|
1878
1878
|
};
|
|
1879
1879
|
function xl() {
|
|
1880
|
-
return /* @__PURE__ */
|
|
1880
|
+
return /* @__PURE__ */ A(
|
|
1881
1881
|
"svg",
|
|
1882
1882
|
{
|
|
1883
1883
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1897,7 +1897,7 @@ function xl() {
|
|
|
1897
1897
|
);
|
|
1898
1898
|
}
|
|
1899
1899
|
function Ol() {
|
|
1900
|
-
return /* @__PURE__ */
|
|
1900
|
+
return /* @__PURE__ */ A(
|
|
1901
1901
|
"svg",
|
|
1902
1902
|
{
|
|
1903
1903
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1928,14 +1928,14 @@ const yn = _(
|
|
|
1928
1928
|
labelActionArea: d,
|
|
1929
1929
|
onLabelEditClick: m,
|
|
1930
1930
|
label: p,
|
|
1931
|
-
assistiveText:
|
|
1931
|
+
assistiveText: T,
|
|
1932
1932
|
assistiveWithIcon: y,
|
|
1933
1933
|
error: v,
|
|
1934
1934
|
required: h,
|
|
1935
1935
|
withAsterisk: x,
|
|
1936
1936
|
id: N,
|
|
1937
1937
|
className: w,
|
|
1938
|
-
style:
|
|
1938
|
+
style: $,
|
|
1939
1939
|
disabled: g,
|
|
1940
1940
|
readOnly: P,
|
|
1941
1941
|
files: f,
|
|
@@ -1944,70 +1944,70 @@ const yn = _(
|
|
|
1944
1944
|
accept: O,
|
|
1945
1945
|
multiple: R = !1,
|
|
1946
1946
|
maxSize: D,
|
|
1947
|
-
maxFiles:
|
|
1948
|
-
onFilesRejected:
|
|
1949
|
-
invalidFileTypeMessage:
|
|
1950
|
-
maxFilesMessage:
|
|
1951
|
-
icon:
|
|
1952
|
-
clearIcon:
|
|
1947
|
+
maxFiles: M,
|
|
1948
|
+
onFilesRejected: L,
|
|
1949
|
+
invalidFileTypeMessage: j = "File type not accepted",
|
|
1950
|
+
maxFilesMessage: V = R ? `Maximum of ${M} files allowed` : "Only one file is allowed",
|
|
1951
|
+
icon: K,
|
|
1952
|
+
clearIcon: X,
|
|
1953
1953
|
placeholder: q = "Select a file...",
|
|
1954
|
-
browseLabel:
|
|
1955
|
-
removeFileLabel:
|
|
1956
|
-
clearLabel:
|
|
1957
|
-
...
|
|
1958
|
-
} = e,
|
|
1959
|
-
if (!
|
|
1960
|
-
const
|
|
1961
|
-
if (
|
|
1962
|
-
const
|
|
1954
|
+
browseLabel: J = "Choose file",
|
|
1955
|
+
removeFileLabel: ne = "Remove",
|
|
1956
|
+
clearLabel: Te = "Clear",
|
|
1957
|
+
...W
|
|
1958
|
+
} = e, he = u(W, o), E = !g && !P, se = !!f && f.length > 0, ve = Ge(null), [ce, ue] = ae(!1), [Ne, $e] = ae(!1), Ee = (S) => {
|
|
1959
|
+
if (!E) return;
|
|
1960
|
+
const ee = Array.from(S);
|
|
1961
|
+
if (ee.length === 0) return;
|
|
1962
|
+
const oe = R ? M : 1, Y = R ? (f == null ? void 0 : f.length) ?? 0 : 0, me = [], Wo = [];
|
|
1963
1963
|
let wt = !1, St = !1;
|
|
1964
|
-
for (const ot of
|
|
1964
|
+
for (const ot of ee) {
|
|
1965
1965
|
const xt = !Zt(ot, O);
|
|
1966
1966
|
xt && (wt = !0);
|
|
1967
|
-
const ja = D !== void 0 && ot.size > D, Ot =
|
|
1968
|
-
Ot && (St = !0), (xt || ja || Ot ? Wo :
|
|
1967
|
+
const ja = D !== void 0 && ot.size > D, Ot = oe !== void 0 && Y + me.length >= oe;
|
|
1968
|
+
Ot && (St = !0), (xt || ja || Ot ? Wo : me).push(ot);
|
|
1969
1969
|
}
|
|
1970
|
-
|
|
1971
|
-
},
|
|
1972
|
-
S.preventDefault(),
|
|
1973
|
-
},
|
|
1974
|
-
S.preventDefault(),
|
|
1975
|
-
},
|
|
1970
|
+
ue(wt), $e(St), me.length > 0 && (b == null || b(me)), Wo.length > 0 && (L == null || L(Wo));
|
|
1971
|
+
}, we = Ge(0), [io, Be] = ae(!1), co = (S) => {
|
|
1972
|
+
S.preventDefault(), we.current += 1, Be(!0);
|
|
1973
|
+
}, uo = (S) => {
|
|
1974
|
+
S.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Be(!1));
|
|
1975
|
+
}, Re = (S) => {
|
|
1976
1976
|
S.preventDefault();
|
|
1977
|
-
},
|
|
1978
|
-
S.preventDefault(),
|
|
1979
|
-
},
|
|
1977
|
+
}, Se = (S) => {
|
|
1978
|
+
S.preventDefault(), we.current = 0, Be(!1), Ee(S.dataTransfer.files);
|
|
1979
|
+
}, be = () => {
|
|
1980
1980
|
var S;
|
|
1981
|
-
|
|
1982
|
-
},
|
|
1983
|
-
S.key !== "Enter" && S.key !== " " || (S.preventDefault(),
|
|
1981
|
+
E && ((S = ve.current) == null || S.click());
|
|
1982
|
+
}, Fe = (S) => {
|
|
1983
|
+
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), be());
|
|
1984
1984
|
}, B = (S) => {
|
|
1985
|
-
S.target.files &&
|
|
1986
|
-
},
|
|
1987
|
-
!
|
|
1988
|
-
}, [
|
|
1989
|
-
|
|
1990
|
-
var
|
|
1985
|
+
S.target.files && Ee(S.target.files), S.target.value = "";
|
|
1986
|
+
}, Z = () => {
|
|
1987
|
+
!E || !f || f.length === 0 || f.forEach((S) => C == null ? void 0 : C(S.id ?? S.file.name));
|
|
1988
|
+
}, [U, I] = ae(0), H = Ge([]), Q = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
1989
|
+
ke(() => {
|
|
1990
|
+
var ee;
|
|
1991
1991
|
const S = (f == null ? void 0 : f.length) ?? 0;
|
|
1992
|
-
if (S > 0 && S <
|
|
1993
|
-
const
|
|
1994
|
-
|
|
1992
|
+
if (S > 0 && S < Q.current) {
|
|
1993
|
+
const oe = Math.min(U, S - 1);
|
|
1994
|
+
I(oe), (ee = H.current[oe]) == null || ee.focus();
|
|
1995
1995
|
}
|
|
1996
|
-
|
|
1996
|
+
Q.current = S;
|
|
1997
1997
|
}, [f]);
|
|
1998
|
-
const
|
|
1999
|
-
var
|
|
2000
|
-
const
|
|
2001
|
-
if (
|
|
2002
|
-
let
|
|
2003
|
-
S.key === "ArrowRight" || S.key === "ArrowDown" ?
|
|
2004
|
-
}, Je = v ?? (
|
|
1998
|
+
const pe = (S) => {
|
|
1999
|
+
var Y;
|
|
2000
|
+
const ee = (f == null ? void 0 : f.length) ?? 0;
|
|
2001
|
+
if (ee === 0) return;
|
|
2002
|
+
let oe;
|
|
2003
|
+
S.key === "ArrowRight" || S.key === "ArrowDown" ? oe = (U + 1) % ee : (S.key === "ArrowLeft" || S.key === "ArrowUp") && (oe = (U - 1 + ee) % ee), oe !== void 0 && (S.preventDefault(), S.stopPropagation(), I(oe), (Y = H.current[oe]) == null || Y.focus());
|
|
2004
|
+
}, Je = v ?? (ce ? j : Ne ? V : void 0), po = w ? `${Ue.layoutOverride} ${w}` : Ue.layoutOverride;
|
|
2005
2005
|
return /* @__PURE__ */ a(
|
|
2006
2006
|
go,
|
|
2007
2007
|
{
|
|
2008
2008
|
overStyled: o,
|
|
2009
|
-
className:
|
|
2010
|
-
style:
|
|
2009
|
+
className: po,
|
|
2010
|
+
style: $,
|
|
2011
2011
|
formLayout: t,
|
|
2012
2012
|
labelSize: s,
|
|
2013
2013
|
labelAlignment: l,
|
|
@@ -2016,7 +2016,7 @@ const yn = _(
|
|
|
2016
2016
|
labelActionArea: d,
|
|
2017
2017
|
onLabelEditClick: m,
|
|
2018
2018
|
label: p,
|
|
2019
|
-
assistiveText:
|
|
2019
|
+
assistiveText: T,
|
|
2020
2020
|
assistiveWithIcon: y,
|
|
2021
2021
|
error: Je,
|
|
2022
2022
|
required: h,
|
|
@@ -2024,58 +2024,58 @@ const yn = _(
|
|
|
2024
2024
|
id: N,
|
|
2025
2025
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2026
2026
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2027
|
-
children: /* @__PURE__ */
|
|
2027
|
+
children: /* @__PURE__ */ A(
|
|
2028
2028
|
"div",
|
|
2029
2029
|
{
|
|
2030
2030
|
ref: n,
|
|
2031
|
-
...
|
|
2032
|
-
className:
|
|
2031
|
+
...he,
|
|
2032
|
+
className: Ue.root,
|
|
2033
2033
|
role: "button",
|
|
2034
|
-
"aria-label":
|
|
2034
|
+
"aria-label": J,
|
|
2035
2035
|
"aria-disabled": g ? "true" : void 0,
|
|
2036
|
-
tabIndex:
|
|
2036
|
+
tabIndex: E ? 0 : -1,
|
|
2037
2037
|
"data-disabled": g ? "true" : void 0,
|
|
2038
2038
|
"data-readonly": P ? "true" : void 0,
|
|
2039
2039
|
"data-error": Je ? "true" : void 0,
|
|
2040
|
-
"data-dragging":
|
|
2041
|
-
onClick:
|
|
2042
|
-
onKeyDown:
|
|
2043
|
-
onDragEnter:
|
|
2044
|
-
onDragLeave:
|
|
2045
|
-
onDragOver:
|
|
2046
|
-
onDrop:
|
|
2040
|
+
"data-dragging": io ? "true" : void 0,
|
|
2041
|
+
onClick: E ? be : void 0,
|
|
2042
|
+
onKeyDown: E ? Fe : void 0,
|
|
2043
|
+
onDragEnter: E ? co : void 0,
|
|
2044
|
+
onDragLeave: E ? uo : void 0,
|
|
2045
|
+
onDragOver: E ? Re : void 0,
|
|
2046
|
+
onDrop: E ? Se : void 0,
|
|
2047
2047
|
children: [
|
|
2048
|
-
/* @__PURE__ */ a("span", { className:
|
|
2049
|
-
/* @__PURE__ */
|
|
2050
|
-
!se && /* @__PURE__ */ a("span", { className:
|
|
2048
|
+
/* @__PURE__ */ a("span", { className: Ue.leadingIcon, "aria-hidden": !0, children: K ?? /* @__PURE__ */ a(xl, {}) }),
|
|
2049
|
+
/* @__PURE__ */ A("div", { className: Ue.content, children: [
|
|
2050
|
+
!se && /* @__PURE__ */ a("span", { className: Ue.value, "data-placeholder": "true", children: q }),
|
|
2051
2051
|
se && /* @__PURE__ */ a(
|
|
2052
2052
|
"div",
|
|
2053
2053
|
{
|
|
2054
|
-
className:
|
|
2055
|
-
onKeyDown: P ? void 0 :
|
|
2056
|
-
children: f.map((S,
|
|
2057
|
-
const
|
|
2054
|
+
className: Ue.chipRow,
|
|
2055
|
+
onKeyDown: P ? void 0 : pe,
|
|
2056
|
+
children: f.map((S, ee) => {
|
|
2057
|
+
const oe = S.id ?? S.file.name;
|
|
2058
2058
|
return /* @__PURE__ */ a(
|
|
2059
2059
|
"span",
|
|
2060
2060
|
{
|
|
2061
|
-
className:
|
|
2062
|
-
onClick: (
|
|
2061
|
+
className: Ue.chipWrapper,
|
|
2062
|
+
onClick: (Y) => Y.stopPropagation(),
|
|
2063
2063
|
children: /* @__PURE__ */ a(
|
|
2064
2064
|
Mo,
|
|
2065
2065
|
{
|
|
2066
2066
|
checked: !1,
|
|
2067
2067
|
tabIndex: -1,
|
|
2068
|
-
deleteLabel: P ? void 0 :
|
|
2069
|
-
deleteTabIndex: !P &&
|
|
2070
|
-
deleteIconRef: (
|
|
2071
|
-
|
|
2068
|
+
deleteLabel: P ? void 0 : ne,
|
|
2069
|
+
deleteTabIndex: !P && ee === U ? 0 : -1,
|
|
2070
|
+
deleteIconRef: (Y) => {
|
|
2071
|
+
H.current[ee] = Y;
|
|
2072
2072
|
},
|
|
2073
|
-
onDelete: P || g ? void 0 : () => C == null ? void 0 : C(
|
|
2073
|
+
onDelete: P || g ? void 0 : () => C == null ? void 0 : C(oe),
|
|
2074
2074
|
children: S.file.name
|
|
2075
2075
|
}
|
|
2076
2076
|
)
|
|
2077
2077
|
},
|
|
2078
|
-
|
|
2078
|
+
oe
|
|
2079
2079
|
);
|
|
2080
2080
|
})
|
|
2081
2081
|
}
|
|
@@ -2087,27 +2087,27 @@ const yn = _(
|
|
|
2087
2087
|
overStyled: !0,
|
|
2088
2088
|
variant: "text",
|
|
2089
2089
|
size: "small",
|
|
2090
|
-
icon:
|
|
2091
|
-
"aria-label":
|
|
2092
|
-
className:
|
|
2090
|
+
icon: X ?? /* @__PURE__ */ a(Ol, {}),
|
|
2091
|
+
"aria-label": Te,
|
|
2092
|
+
className: Ue.trailingIcon,
|
|
2093
2093
|
disabled: g,
|
|
2094
2094
|
onClick: (S) => {
|
|
2095
|
-
S.preventDefault(), S.stopPropagation(),
|
|
2095
|
+
S.preventDefault(), S.stopPropagation(), Z();
|
|
2096
2096
|
},
|
|
2097
2097
|
onKeyDown: (S) => {
|
|
2098
|
-
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.stopPropagation(),
|
|
2098
|
+
S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.stopPropagation(), Z());
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
2101
|
),
|
|
2102
2102
|
/* @__PURE__ */ a(
|
|
2103
2103
|
"input",
|
|
2104
2104
|
{
|
|
2105
|
-
ref:
|
|
2105
|
+
ref: ve,
|
|
2106
2106
|
type: "file",
|
|
2107
2107
|
hidden: !0,
|
|
2108
2108
|
accept: O,
|
|
2109
2109
|
multiple: R,
|
|
2110
|
-
disabled: !
|
|
2110
|
+
disabled: !E,
|
|
2111
2111
|
onChange: B
|
|
2112
2112
|
}
|
|
2113
2113
|
)
|
|
@@ -2128,7 +2128,7 @@ const kl = "FileUpload-module__layoutOverride___bPpi8", Rl = "FileUpload-module_
|
|
|
2128
2128
|
fileList: Al
|
|
2129
2129
|
};
|
|
2130
2130
|
function zl() {
|
|
2131
|
-
return /* @__PURE__ */
|
|
2131
|
+
return /* @__PURE__ */ A(
|
|
2132
2132
|
"svg",
|
|
2133
2133
|
{
|
|
2134
2134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2160,14 +2160,14 @@ const hn = _(
|
|
|
2160
2160
|
labelActionArea: d,
|
|
2161
2161
|
onLabelEditClick: m,
|
|
2162
2162
|
label: p,
|
|
2163
|
-
assistiveText:
|
|
2163
|
+
assistiveText: T,
|
|
2164
2164
|
assistiveWithIcon: y,
|
|
2165
2165
|
error: v,
|
|
2166
2166
|
required: h,
|
|
2167
2167
|
withAsterisk: x,
|
|
2168
2168
|
id: N,
|
|
2169
2169
|
className: w,
|
|
2170
|
-
style:
|
|
2170
|
+
style: $,
|
|
2171
2171
|
disabled: g,
|
|
2172
2172
|
readOnly: P,
|
|
2173
2173
|
files: f,
|
|
@@ -2176,64 +2176,64 @@ const hn = _(
|
|
|
2176
2176
|
accept: O,
|
|
2177
2177
|
multiple: R = !0,
|
|
2178
2178
|
maxSize: D,
|
|
2179
|
-
maxFiles:
|
|
2180
|
-
onFilesRejected:
|
|
2181
|
-
invalidFileTypeMessage:
|
|
2182
|
-
maxFilesMessage:
|
|
2183
|
-
icon:
|
|
2184
|
-
dropzoneLabel:
|
|
2179
|
+
maxFiles: M,
|
|
2180
|
+
onFilesRejected: L,
|
|
2181
|
+
invalidFileTypeMessage: j = "File type not accepted",
|
|
2182
|
+
maxFilesMessage: V = `Maximum of ${M} files allowed`,
|
|
2183
|
+
icon: K,
|
|
2184
|
+
dropzoneLabel: X = "Drag and drop files here to upload",
|
|
2185
2185
|
browseButtonLabel: q = "Browse files",
|
|
2186
|
-
removeFileLabel:
|
|
2187
|
-
...
|
|
2188
|
-
} = e,
|
|
2186
|
+
removeFileLabel: J = "Remove",
|
|
2187
|
+
...ne
|
|
2188
|
+
} = e, W = u(ne, o), re = Ge(null), [he, E] = ae(!1), [se, ve] = ae(!1), ce = (I) => {
|
|
2189
2189
|
if (g) return;
|
|
2190
|
-
const
|
|
2191
|
-
if (
|
|
2192
|
-
const
|
|
2193
|
-
let
|
|
2194
|
-
for (const
|
|
2195
|
-
const
|
|
2196
|
-
|
|
2197
|
-
const
|
|
2198
|
-
|
|
2190
|
+
const H = Array.from(I);
|
|
2191
|
+
if (H.length === 0) return;
|
|
2192
|
+
const Q = (f == null ? void 0 : f.length) ?? 0, pe = [], Je = [];
|
|
2193
|
+
let po = !1, S = !1;
|
|
2194
|
+
for (const ee of H) {
|
|
2195
|
+
const oe = !Zt(ee, O);
|
|
2196
|
+
oe && (po = !0);
|
|
2197
|
+
const Y = D !== void 0 && ee.size > D, me = M !== void 0 && Q + pe.length >= M;
|
|
2198
|
+
me && (S = !0), (oe || Y || me ? Je : pe).push(ee);
|
|
2199
2199
|
}
|
|
2200
|
-
|
|
2201
|
-
},
|
|
2202
|
-
|
|
2203
|
-
},
|
|
2204
|
-
|
|
2205
|
-
},
|
|
2206
|
-
|
|
2207
|
-
},
|
|
2208
|
-
|
|
2209
|
-
},
|
|
2210
|
-
var
|
|
2211
|
-
g || (
|
|
2212
|
-
},
|
|
2213
|
-
|
|
2214
|
-
}, [
|
|
2215
|
-
|
|
2216
|
-
var
|
|
2217
|
-
const
|
|
2218
|
-
if (
|
|
2219
|
-
const
|
|
2220
|
-
|
|
2200
|
+
E(po), ve(S), pe.length > 0 && (b == null || b(pe)), Je.length > 0 && (L == null || L(Je));
|
|
2201
|
+
}, ue = Ge(0), [Ne, $e] = ae(!1), Ee = (I) => {
|
|
2202
|
+
I.preventDefault(), ue.current += 1, $e(!0);
|
|
2203
|
+
}, we = (I) => {
|
|
2204
|
+
I.preventDefault(), ue.current -= 1, ue.current <= 0 && (ue.current = 0, $e(!1));
|
|
2205
|
+
}, io = (I) => {
|
|
2206
|
+
I.preventDefault();
|
|
2207
|
+
}, Be = (I) => {
|
|
2208
|
+
I.preventDefault(), ue.current = 0, $e(!1), ce(I.dataTransfer.files);
|
|
2209
|
+
}, co = () => {
|
|
2210
|
+
var I;
|
|
2211
|
+
g || (I = re.current) == null || I.click();
|
|
2212
|
+
}, uo = (I) => {
|
|
2213
|
+
I.target.files && ce(I.target.files), I.target.value = "";
|
|
2214
|
+
}, [Re, Se] = ae(0), be = Ge([]), Fe = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
2215
|
+
ke(() => {
|
|
2216
|
+
var H;
|
|
2217
|
+
const I = (f == null ? void 0 : f.length) ?? 0;
|
|
2218
|
+
if (I > 0 && I < Fe.current) {
|
|
2219
|
+
const Q = Math.min(Re, I - 1);
|
|
2220
|
+
Se(Q), (H = be.current[Q]) == null || H.focus();
|
|
2221
2221
|
}
|
|
2222
|
-
|
|
2222
|
+
Fe.current = I;
|
|
2223
2223
|
}, [f]);
|
|
2224
|
-
const B = (
|
|
2225
|
-
var
|
|
2226
|
-
const
|
|
2227
|
-
if (
|
|
2228
|
-
let
|
|
2229
|
-
|
|
2230
|
-
},
|
|
2224
|
+
const B = (I) => {
|
|
2225
|
+
var pe;
|
|
2226
|
+
const H = (f == null ? void 0 : f.length) ?? 0;
|
|
2227
|
+
if (H === 0) return;
|
|
2228
|
+
let Q;
|
|
2229
|
+
I.key === "ArrowRight" || I.key === "ArrowDown" ? Q = (Re + 1) % H : (I.key === "ArrowLeft" || I.key === "ArrowUp") && (Q = (Re - 1 + H) % H), Q !== void 0 && (I.preventDefault(), Se(Q), (pe = be.current[Q]) == null || pe.focus());
|
|
2230
|
+
}, Z = v ?? (he ? j : se ? V : void 0), U = w ? `${oo.layoutOverride} ${w}` : oo.layoutOverride;
|
|
2231
2231
|
return /* @__PURE__ */ a(
|
|
2232
2232
|
go,
|
|
2233
2233
|
{
|
|
2234
2234
|
overStyled: o,
|
|
2235
|
-
className:
|
|
2236
|
-
style:
|
|
2235
|
+
className: U,
|
|
2236
|
+
style: $,
|
|
2237
2237
|
formLayout: t,
|
|
2238
2238
|
labelSize: s,
|
|
2239
2239
|
labelAlignment: l,
|
|
@@ -2242,81 +2242,81 @@ const hn = _(
|
|
|
2242
2242
|
labelActionArea: d,
|
|
2243
2243
|
onLabelEditClick: m,
|
|
2244
2244
|
label: p,
|
|
2245
|
-
assistiveText:
|
|
2245
|
+
assistiveText: T,
|
|
2246
2246
|
assistiveWithIcon: y,
|
|
2247
|
-
error:
|
|
2247
|
+
error: Z,
|
|
2248
2248
|
required: h,
|
|
2249
2249
|
withAsterisk: x,
|
|
2250
2250
|
id: N,
|
|
2251
|
-
children: /* @__PURE__ */
|
|
2251
|
+
children: /* @__PURE__ */ A(
|
|
2252
2252
|
"div",
|
|
2253
2253
|
{
|
|
2254
2254
|
ref: n,
|
|
2255
|
-
...
|
|
2255
|
+
...W,
|
|
2256
2256
|
className: oo.root,
|
|
2257
2257
|
"data-disabled": g ? "true" : void 0,
|
|
2258
|
-
"data-error":
|
|
2258
|
+
"data-error": Z ? "true" : void 0,
|
|
2259
2259
|
children: [
|
|
2260
|
-
!P && /* @__PURE__ */
|
|
2260
|
+
!P && /* @__PURE__ */ A(
|
|
2261
2261
|
"div",
|
|
2262
2262
|
{
|
|
2263
2263
|
className: oo.dropzone,
|
|
2264
|
-
"data-dragging":
|
|
2265
|
-
onDragEnter: g ? void 0 :
|
|
2266
|
-
onDragLeave: g ? void 0 :
|
|
2267
|
-
onDragOver: g ? void 0 :
|
|
2268
|
-
onDrop: g ? void 0 :
|
|
2264
|
+
"data-dragging": Ne ? "true" : void 0,
|
|
2265
|
+
onDragEnter: g ? void 0 : Ee,
|
|
2266
|
+
onDragLeave: g ? void 0 : we,
|
|
2267
|
+
onDragOver: g ? void 0 : io,
|
|
2268
|
+
onDrop: g ? void 0 : Be,
|
|
2269
2269
|
children: [
|
|
2270
|
-
/* @__PURE__ */ a("span", { className: oo.uploadIcon, children:
|
|
2271
|
-
/* @__PURE__ */ a("span", { className: oo.dropzoneText, children:
|
|
2270
|
+
/* @__PURE__ */ a("span", { className: oo.uploadIcon, children: K ?? /* @__PURE__ */ a(zl, {}) }),
|
|
2271
|
+
/* @__PURE__ */ a("span", { className: oo.dropzoneText, children: X }),
|
|
2272
2272
|
/* @__PURE__ */ a(
|
|
2273
2273
|
so,
|
|
2274
2274
|
{
|
|
2275
2275
|
variant: "outline",
|
|
2276
2276
|
disabled: g,
|
|
2277
|
-
onClick:
|
|
2277
|
+
onClick: co,
|
|
2278
2278
|
children: q
|
|
2279
2279
|
}
|
|
2280
2280
|
),
|
|
2281
2281
|
/* @__PURE__ */ a(
|
|
2282
2282
|
"input",
|
|
2283
2283
|
{
|
|
2284
|
-
ref:
|
|
2284
|
+
ref: re,
|
|
2285
2285
|
type: "file",
|
|
2286
2286
|
hidden: !0,
|
|
2287
2287
|
accept: O,
|
|
2288
2288
|
multiple: R,
|
|
2289
2289
|
disabled: g,
|
|
2290
|
-
onChange:
|
|
2290
|
+
onChange: uo
|
|
2291
2291
|
}
|
|
2292
2292
|
)
|
|
2293
2293
|
]
|
|
2294
2294
|
}
|
|
2295
2295
|
),
|
|
2296
|
-
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: oo.fileList, children: f.map((
|
|
2297
|
-
const
|
|
2298
|
-
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children:
|
|
2296
|
+
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: oo.fileList, children: f.map((I) => {
|
|
2297
|
+
const H = I.id ?? I.file.name;
|
|
2298
|
+
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: I.file.name }, H);
|
|
2299
2299
|
}) }) : /* @__PURE__ */ a(
|
|
2300
2300
|
"div",
|
|
2301
2301
|
{
|
|
2302
2302
|
className: oo.fileList,
|
|
2303
2303
|
onKeyDown: B,
|
|
2304
|
-
children: f.map((
|
|
2305
|
-
const
|
|
2304
|
+
children: f.map((I, H) => {
|
|
2305
|
+
const Q = I.id ?? I.file.name;
|
|
2306
2306
|
return /* @__PURE__ */ a(
|
|
2307
2307
|
Mo,
|
|
2308
2308
|
{
|
|
2309
2309
|
checked: !1,
|
|
2310
2310
|
tabIndex: -1,
|
|
2311
|
-
deleteLabel:
|
|
2312
|
-
deleteTabIndex:
|
|
2313
|
-
deleteIconRef: (
|
|
2314
|
-
|
|
2311
|
+
deleteLabel: J,
|
|
2312
|
+
deleteTabIndex: H === Re ? 0 : -1,
|
|
2313
|
+
deleteIconRef: (pe) => {
|
|
2314
|
+
be.current[H] = pe;
|
|
2315
2315
|
},
|
|
2316
|
-
onDelete: g ? void 0 : () => C == null ? void 0 : C(
|
|
2317
|
-
children:
|
|
2316
|
+
onDelete: g ? void 0 : () => C == null ? void 0 : C(Q),
|
|
2317
|
+
children: I.file.name
|
|
2318
2318
|
},
|
|
2319
|
-
|
|
2319
|
+
Q
|
|
2320
2320
|
);
|
|
2321
2321
|
})
|
|
2322
2322
|
}
|
|
@@ -2352,23 +2352,23 @@ const Wl = "Flex-module__root___yYser", So = {
|
|
|
2352
2352
|
);
|
|
2353
2353
|
});
|
|
2354
2354
|
vn.displayName = "Flex";
|
|
2355
|
-
const Dl =
|
|
2355
|
+
const Dl = ge(vn), El = "Grid-module__root___s-qPY", Bl = "Grid-module__col___tbuNg", Me = {
|
|
2356
2356
|
root: El,
|
|
2357
2357
|
col: Bl
|
|
2358
2358
|
}, Nn = _(function({ children: e, gap: n = "rec-default", ...o }, t) {
|
|
2359
2359
|
const s = {
|
|
2360
|
-
root:
|
|
2360
|
+
root: Me.root
|
|
2361
2361
|
}, l = o.classNames;
|
|
2362
2362
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2363
2363
|
const p = l;
|
|
2364
|
-
s.root = p.root ? `${
|
|
2364
|
+
s.root = p.root ? `${Me.root} ${p.root}` : Me.root;
|
|
2365
2365
|
}
|
|
2366
|
-
const i = o.className, c = i ? `${
|
|
2366
|
+
const i = o.className, c = i ? `${Me.root} ${i}` : Me.root, { gap: d, ...m } = Ao({
|
|
2367
2367
|
gap: n,
|
|
2368
2368
|
...o
|
|
2369
2369
|
});
|
|
2370
2370
|
return /* @__PURE__ */ a(
|
|
2371
|
-
|
|
2371
|
+
Gt,
|
|
2372
2372
|
{
|
|
2373
2373
|
ref: t,
|
|
2374
2374
|
gutter: d,
|
|
@@ -2380,17 +2380,17 @@ const Dl = Ce(vn), El = "Grid-module__root___s-qPY", Bl = "Grid-module__col___tb
|
|
|
2380
2380
|
);
|
|
2381
2381
|
});
|
|
2382
2382
|
Nn.displayName = "Grid";
|
|
2383
|
-
const Fl =
|
|
2383
|
+
const Fl = ge(Nn), bn = _(function({ children: e, ...n }, o) {
|
|
2384
2384
|
const t = {
|
|
2385
|
-
col:
|
|
2385
|
+
col: Me.col
|
|
2386
2386
|
}, s = n.classNames;
|
|
2387
2387
|
if (s && typeof s == "object" && !Array.isArray(s)) {
|
|
2388
2388
|
const c = s;
|
|
2389
|
-
t.col = c.col ? `${
|
|
2389
|
+
t.col = c.col ? `${Me.col} ${c.col}` : Me.col;
|
|
2390
2390
|
}
|
|
2391
|
-
const l = n.className, i = l ? `${
|
|
2391
|
+
const l = n.className, i = l ? `${Me.col} ${l}` : Me.col;
|
|
2392
2392
|
return /* @__PURE__ */ a(
|
|
2393
|
-
|
|
2393
|
+
Gt.Col,
|
|
2394
2394
|
{
|
|
2395
2395
|
ref: o,
|
|
2396
2396
|
className: i,
|
|
@@ -2403,7 +2403,7 @@ const Fl = Ce(Nn), bn = _(function({ children: e, ...n }, o) {
|
|
|
2403
2403
|
);
|
|
2404
2404
|
});
|
|
2405
2405
|
bn.displayName = "GridCol";
|
|
2406
|
-
const Cn =
|
|
2406
|
+
const Cn = ge(
|
|
2407
2407
|
bn
|
|
2408
2408
|
), Pn = Fl;
|
|
2409
2409
|
Pn.Col = Cn;
|
|
@@ -2430,9 +2430,9 @@ const Ul = "Group-module__root___ftO64", xo = {
|
|
|
2430
2430
|
);
|
|
2431
2431
|
});
|
|
2432
2432
|
gn.displayName = "Group";
|
|
2433
|
-
const
|
|
2434
|
-
dropdown:
|
|
2435
|
-
arrow:
|
|
2433
|
+
const Vl = "HoverCard-module__dropdown___FBPFW", Gl = "HoverCard-module__arrow___S9AkE", Mt = {
|
|
2434
|
+
dropdown: Vl,
|
|
2435
|
+
arrow: Gl
|
|
2436
2436
|
}, Tn = function({
|
|
2437
2437
|
overStyled: e = !1,
|
|
2438
2438
|
withBeak: n = !0,
|
|
@@ -2445,7 +2445,7 @@ const Gl = "HoverCard-module__dropdown___FBPFW", Vl = "HoverCard-module__arrow__
|
|
|
2445
2445
|
withArrow: s,
|
|
2446
2446
|
...l
|
|
2447
2447
|
}) {
|
|
2448
|
-
const i = u(l, e), c = i, d =
|
|
2448
|
+
const i = u(l, e), c = i, d = z(
|
|
2449
2449
|
{
|
|
2450
2450
|
dropdown: Mt.dropdown,
|
|
2451
2451
|
arrow: Mt.arrow
|
|
@@ -2490,11 +2490,11 @@ const Hl = "Link-module__root___I0VGE", jl = "Link-module__iconWrapper___W-LlF",
|
|
|
2490
2490
|
iconWrapper: jl,
|
|
2491
2491
|
labelText: ql
|
|
2492
2492
|
}, Sn = _(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2493
|
-
const l = u(t, o), i = l, c =
|
|
2493
|
+
const l = u(t, o), i = l, c = z(
|
|
2494
2494
|
{ root: Oo.root },
|
|
2495
2495
|
i.classNames
|
|
2496
2496
|
), d = i.className, m = d ? `${Oo.root} ${d}` : Oo.root;
|
|
2497
|
-
return /* @__PURE__ */
|
|
2497
|
+
return /* @__PURE__ */ A(
|
|
2498
2498
|
ar,
|
|
2499
2499
|
{
|
|
2500
2500
|
ref: s,
|
|
@@ -2511,7 +2511,7 @@ const Hl = "Link-module__root___I0VGE", jl = "Link-module__iconWrapper___W-LlF",
|
|
|
2511
2511
|
);
|
|
2512
2512
|
});
|
|
2513
2513
|
Sn.displayName = "Link";
|
|
2514
|
-
const Kl =
|
|
2514
|
+
const Kl = ge(Sn), Yl = "Menu-module__dropdown___j4xuA", Zl = "Menu-module__item___NMXha", Xl = "Menu-module__itemLabel___zvcqC", Jl = "Menu-module__itemSection___pRIcn", Ql = "Menu-module__divider___wPiNq", ei = "Menu-module__label___4FBGa", oi = "Menu-module__chevron___hEEiy", fo = {
|
|
2515
2515
|
dropdown: Yl,
|
|
2516
2516
|
item: Zl,
|
|
2517
2517
|
itemLabel: Xl,
|
|
@@ -2520,20 +2520,20 @@ const Kl = Ce(Sn), Yl = "Menu-module__dropdown___j4xuA", Zl = "Menu-module__item
|
|
|
2520
2520
|
label: ei,
|
|
2521
2521
|
chevron: oi
|
|
2522
2522
|
}, xn = function({ overStyled: e = !1, ...n }) {
|
|
2523
|
-
const o = u(n, e), t = o, s =
|
|
2523
|
+
const o = u(n, e), t = o, s = z(
|
|
2524
2524
|
{
|
|
2525
|
-
dropdown:
|
|
2526
|
-
item:
|
|
2527
|
-
itemLabel:
|
|
2528
|
-
itemSection:
|
|
2529
|
-
divider:
|
|
2530
|
-
label:
|
|
2531
|
-
chevron:
|
|
2525
|
+
dropdown: fo.dropdown,
|
|
2526
|
+
item: fo.item,
|
|
2527
|
+
itemLabel: fo.itemLabel,
|
|
2528
|
+
itemSection: fo.itemSection,
|
|
2529
|
+
divider: fo.divider,
|
|
2530
|
+
label: fo.label,
|
|
2531
|
+
chevron: fo.chevron
|
|
2532
2532
|
},
|
|
2533
2533
|
t.classNames
|
|
2534
2534
|
);
|
|
2535
2535
|
return /* @__PURE__ */ a(
|
|
2536
|
-
|
|
2536
|
+
ze,
|
|
2537
2537
|
{
|
|
2538
2538
|
...o,
|
|
2539
2539
|
classNames: s
|
|
@@ -2547,7 +2547,7 @@ const On = function({
|
|
|
2547
2547
|
}) {
|
|
2548
2548
|
const o = u(n, e);
|
|
2549
2549
|
return /* @__PURE__ */ a(
|
|
2550
|
-
|
|
2550
|
+
ze.Target,
|
|
2551
2551
|
{
|
|
2552
2552
|
...o
|
|
2553
2553
|
}
|
|
@@ -2558,7 +2558,7 @@ const kn = _(
|
|
|
2558
2558
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2559
2559
|
const t = u(n, e), s = t.className;
|
|
2560
2560
|
return /* @__PURE__ */ a(
|
|
2561
|
-
|
|
2561
|
+
ze.Dropdown,
|
|
2562
2562
|
{
|
|
2563
2563
|
...t,
|
|
2564
2564
|
ref: o,
|
|
@@ -2573,12 +2573,12 @@ const Rn = _(
|
|
|
2573
2573
|
const t = [
|
|
2574
2574
|
"color"
|
|
2575
2575
|
// Colors are token-driven; the library's native palette isn't exposed.
|
|
2576
|
-
], s =
|
|
2576
|
+
], s = F(
|
|
2577
2577
|
u(n, e),
|
|
2578
2578
|
t
|
|
2579
2579
|
), i = s.className;
|
|
2580
2580
|
return /* @__PURE__ */ a(
|
|
2581
|
-
|
|
2581
|
+
ze.Item,
|
|
2582
2582
|
{
|
|
2583
2583
|
...s,
|
|
2584
2584
|
ref: o,
|
|
@@ -2588,11 +2588,11 @@ const Rn = _(
|
|
|
2588
2588
|
}
|
|
2589
2589
|
);
|
|
2590
2590
|
Rn.displayName = "MenuItem";
|
|
2591
|
-
const ti =
|
|
2591
|
+
const ti = ge(Rn), In = _(
|
|
2592
2592
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2593
2593
|
const t = u(n, e), s = t.className;
|
|
2594
2594
|
return /* @__PURE__ */ a(
|
|
2595
|
-
|
|
2595
|
+
ze.Divider,
|
|
2596
2596
|
{
|
|
2597
2597
|
...t,
|
|
2598
2598
|
ref: o,
|
|
@@ -2605,7 +2605,7 @@ In.displayName = "MenuDivider";
|
|
|
2605
2605
|
const Ln = _(function({ overStyled: e = !1, ...n }, o) {
|
|
2606
2606
|
const t = u(n, e), s = t.className;
|
|
2607
2607
|
return /* @__PURE__ */ a(
|
|
2608
|
-
|
|
2608
|
+
ze.Label,
|
|
2609
2609
|
{
|
|
2610
2610
|
...t,
|
|
2611
2611
|
ref: o,
|
|
@@ -2615,11 +2615,11 @@ const Ln = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
2615
2615
|
});
|
|
2616
2616
|
Ln.displayName = "MenuLabel";
|
|
2617
2617
|
const Mn = function(e) {
|
|
2618
|
-
return /* @__PURE__ */ a(
|
|
2618
|
+
return /* @__PURE__ */ a(ze.Sub, { ...e });
|
|
2619
2619
|
};
|
|
2620
2620
|
Mn.displayName = "MenuSub";
|
|
2621
2621
|
const An = function(e) {
|
|
2622
|
-
return /* @__PURE__ */ a(
|
|
2622
|
+
return /* @__PURE__ */ a(ze.Sub.Target, { ...e });
|
|
2623
2623
|
};
|
|
2624
2624
|
An.displayName = "MenuSubTarget";
|
|
2625
2625
|
const zn = _(
|
|
@@ -2627,12 +2627,12 @@ const zn = _(
|
|
|
2627
2627
|
const t = [
|
|
2628
2628
|
"color"
|
|
2629
2629
|
// Colors are token-driven; the library's native palette isn't exposed.
|
|
2630
|
-
], s =
|
|
2630
|
+
], s = F(
|
|
2631
2631
|
u(n, e),
|
|
2632
2632
|
t
|
|
2633
2633
|
), i = s.className;
|
|
2634
2634
|
return /* @__PURE__ */ a(
|
|
2635
|
-
|
|
2635
|
+
ze.Sub.Item,
|
|
2636
2636
|
{
|
|
2637
2637
|
...s,
|
|
2638
2638
|
ref: o,
|
|
@@ -2642,13 +2642,13 @@ const zn = _(
|
|
|
2642
2642
|
}
|
|
2643
2643
|
);
|
|
2644
2644
|
zn.displayName = "MenuSubItem";
|
|
2645
|
-
const ni =
|
|
2645
|
+
const ni = ge(
|
|
2646
2646
|
zn
|
|
2647
2647
|
), Wn = _(
|
|
2648
2648
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2649
2649
|
const t = u(n, e), s = t.className;
|
|
2650
2650
|
return /* @__PURE__ */ a(
|
|
2651
|
-
|
|
2651
|
+
ze.Sub.Dropdown,
|
|
2652
2652
|
{
|
|
2653
2653
|
...t,
|
|
2654
2654
|
ref: o,
|
|
@@ -2662,14 +2662,14 @@ const et = Mn;
|
|
|
2662
2662
|
et.Target = An;
|
|
2663
2663
|
et.Item = ni;
|
|
2664
2664
|
et.Dropdown = Wn;
|
|
2665
|
-
const
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
const ai = "Modal-module__root___ytPLl", ri = "Modal-module__inner___SSUJE", si = "Modal-module__content___dWO-B", li = "Modal-module__header___ILG9i", ii = "Modal-module__title___A5OeE", ci = "Modal-module__bodyWrapper___5CCL-", di = "Modal-module__scrollArea___KD-hm", ui = "Modal-module__footer___rro2w", pi = "Modal-module__close___-ER1C",
|
|
2665
|
+
const bo = xn;
|
|
2666
|
+
bo.Target = On;
|
|
2667
|
+
bo.Dropdown = kn;
|
|
2668
|
+
bo.Item = ti;
|
|
2669
|
+
bo.Divider = In;
|
|
2670
|
+
bo.Label = Ln;
|
|
2671
|
+
bo.Sub = et;
|
|
2672
|
+
const ai = "Modal-module__root___ytPLl", ri = "Modal-module__inner___SSUJE", si = "Modal-module__content___dWO-B", li = "Modal-module__header___ILG9i", ii = "Modal-module__title___A5OeE", ci = "Modal-module__bodyWrapper___5CCL-", di = "Modal-module__scrollArea___KD-hm", ui = "Modal-module__footer___rro2w", pi = "Modal-module__close___-ER1C", Ve = {
|
|
2673
2673
|
root: ai,
|
|
2674
2674
|
inner: ri,
|
|
2675
2675
|
content: si,
|
|
@@ -2679,7 +2679,7 @@ const ai = "Modal-module__root___ytPLl", ri = "Modal-module__inner___SSUJE", si
|
|
|
2679
2679
|
scrollArea: di,
|
|
2680
2680
|
footer: ui,
|
|
2681
2681
|
close: pi
|
|
2682
|
-
}, Dn =
|
|
2682
|
+
}, Dn = G.forwardRef(function({
|
|
2683
2683
|
overStyled: e = !1,
|
|
2684
2684
|
children: n,
|
|
2685
2685
|
title: o,
|
|
@@ -2694,32 +2694,32 @@ const ai = "Modal-module__root___ytPLl", ri = "Modal-module__inner___SSUJE", si
|
|
|
2694
2694
|
// Modal width/height are enforced via CSS module tokens (min/max-width, min/max-height), not Mantine's `size` scale.
|
|
2695
2695
|
"radius"
|
|
2696
2696
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2697
|
-
], p =
|
|
2697
|
+
], p = F(
|
|
2698
2698
|
u(c, e),
|
|
2699
2699
|
m
|
|
2700
|
-
),
|
|
2700
|
+
), T = z(
|
|
2701
2701
|
{
|
|
2702
|
-
root:
|
|
2703
|
-
inner:
|
|
2704
|
-
content:
|
|
2705
|
-
header:
|
|
2706
|
-
title:
|
|
2707
|
-
close:
|
|
2702
|
+
root: Ve.root,
|
|
2703
|
+
inner: Ve.inner,
|
|
2704
|
+
content: Ve.content,
|
|
2705
|
+
header: Ve.header,
|
|
2706
|
+
title: Ve.title,
|
|
2707
|
+
close: Ve.close
|
|
2708
2708
|
},
|
|
2709
2709
|
p.classNames
|
|
2710
2710
|
);
|
|
2711
|
-
return /* @__PURE__ */
|
|
2712
|
-
|
|
2711
|
+
return /* @__PURE__ */ A(
|
|
2712
|
+
fe.Root,
|
|
2713
2713
|
{
|
|
2714
2714
|
ref: d,
|
|
2715
2715
|
...p,
|
|
2716
|
-
classNames:
|
|
2716
|
+
classNames: T,
|
|
2717
2717
|
children: [
|
|
2718
|
-
l && /* @__PURE__ */ a(
|
|
2719
|
-
/* @__PURE__ */
|
|
2720
|
-
(o || t) && /* @__PURE__ */
|
|
2721
|
-
o && /* @__PURE__ */ a(
|
|
2722
|
-
t && /* @__PURE__ */ a(
|
|
2718
|
+
l && /* @__PURE__ */ a(fe.Overlay, { ...s }),
|
|
2719
|
+
/* @__PURE__ */ A(fe.Content, { children: [
|
|
2720
|
+
(o || t) && /* @__PURE__ */ A(fe.Header, { children: [
|
|
2721
|
+
o && /* @__PURE__ */ a(fe.Title, { children: o }),
|
|
2722
|
+
t && /* @__PURE__ */ a(fe.CloseButton, { ...i })
|
|
2723
2723
|
] }),
|
|
2724
2724
|
/* @__PURE__ */ a(yt, { children: n })
|
|
2725
2725
|
] })
|
|
@@ -2728,7 +2728,7 @@ const ai = "Modal-module__root___ytPLl", ri = "Modal-module__inner___SSUJE", si
|
|
|
2728
2728
|
);
|
|
2729
2729
|
});
|
|
2730
2730
|
Dn.displayName = "Modal";
|
|
2731
|
-
const ft =
|
|
2731
|
+
const ft = G.forwardRef(
|
|
2732
2732
|
function({ overStyled: e = !1, className: n, ...o }, t) {
|
|
2733
2733
|
const s = u(o, e);
|
|
2734
2734
|
return /* @__PURE__ */ a(
|
|
@@ -2736,37 +2736,37 @@ const ft = V.forwardRef(
|
|
|
2736
2736
|
{
|
|
2737
2737
|
ref: t,
|
|
2738
2738
|
...s,
|
|
2739
|
-
className: `${
|
|
2739
|
+
className: `${Ve.footer} ${n || ""}`
|
|
2740
2740
|
}
|
|
2741
2741
|
);
|
|
2742
2742
|
}
|
|
2743
2743
|
);
|
|
2744
2744
|
ft.displayName = "Modal.Footer";
|
|
2745
|
-
const yt =
|
|
2745
|
+
const yt = G.forwardRef(
|
|
2746
2746
|
function({ overStyled: e = !1, className: n, onScroll: o, children: t, ...s }, l) {
|
|
2747
|
-
const i = u(s, e), c =
|
|
2747
|
+
const i = u(s, e), c = G.useRef(null), [d, m] = G.useState(!1), [p, T] = G.useState(!1), y = G.useCallback(() => {
|
|
2748
2748
|
if (c.current) {
|
|
2749
|
-
const { scrollTop: N, scrollHeight: w, clientHeight:
|
|
2750
|
-
m(N > 0),
|
|
2749
|
+
const { scrollTop: N, scrollHeight: w, clientHeight: $ } = c.current;
|
|
2750
|
+
m(N > 0), T(Math.ceil(N + $) < w);
|
|
2751
2751
|
}
|
|
2752
2752
|
}, []);
|
|
2753
|
-
|
|
2753
|
+
G.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, t]);
|
|
2754
2754
|
const v = (N) => {
|
|
2755
2755
|
y(), o == null || o(N);
|
|
2756
2756
|
};
|
|
2757
2757
|
let h = null;
|
|
2758
2758
|
const x = [];
|
|
2759
|
-
return
|
|
2759
|
+
return G.Children.forEach(t, (N) => {
|
|
2760
2760
|
var w;
|
|
2761
|
-
|
|
2762
|
-
}), /* @__PURE__ */
|
|
2763
|
-
|
|
2761
|
+
G.isValidElement(N) && (N.type === ft || ((w = N.type) == null ? void 0 : w.displayName) === "Modal.Footer") ? h = N : x.push(N);
|
|
2762
|
+
}), /* @__PURE__ */ A(
|
|
2763
|
+
fe.Body,
|
|
2764
2764
|
{
|
|
2765
2765
|
...i,
|
|
2766
2766
|
ref: (N) => {
|
|
2767
2767
|
typeof l == "function" ? l(N) : l && (l.current = N);
|
|
2768
2768
|
},
|
|
2769
|
-
className: `${
|
|
2769
|
+
className: `${Ve.bodyWrapper} ${n || ""}`,
|
|
2770
2770
|
children: [
|
|
2771
2771
|
/* @__PURE__ */ a(
|
|
2772
2772
|
"div",
|
|
@@ -2775,7 +2775,7 @@ const yt = V.forwardRef(
|
|
|
2775
2775
|
onScroll: v,
|
|
2776
2776
|
"data-scrolled-top": d || void 0,
|
|
2777
2777
|
"data-scrolled-bottom": p || void 0,
|
|
2778
|
-
className:
|
|
2778
|
+
className: Ve.scrollArea,
|
|
2779
2779
|
children: x
|
|
2780
2780
|
}
|
|
2781
2781
|
),
|
|
@@ -2791,14 +2791,14 @@ const mi = [
|
|
|
2791
2791
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2792
2792
|
"radius"
|
|
2793
2793
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2794
|
-
], En =
|
|
2794
|
+
], En = G.forwardRef(
|
|
2795
2795
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2796
|
-
const t =
|
|
2796
|
+
const t = F(
|
|
2797
2797
|
u(n, e),
|
|
2798
2798
|
mi
|
|
2799
2799
|
);
|
|
2800
2800
|
return /* @__PURE__ */ a(
|
|
2801
|
-
|
|
2801
|
+
fe.Root,
|
|
2802
2802
|
{
|
|
2803
2803
|
ref: o,
|
|
2804
2804
|
...t
|
|
@@ -2807,11 +2807,11 @@ const mi = [
|
|
|
2807
2807
|
}
|
|
2808
2808
|
);
|
|
2809
2809
|
En.displayName = "Modal.Root";
|
|
2810
|
-
const Bn =
|
|
2810
|
+
const Bn = G.forwardRef(
|
|
2811
2811
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2812
2812
|
const t = u(n, e);
|
|
2813
2813
|
return /* @__PURE__ */ a(
|
|
2814
|
-
|
|
2814
|
+
fe.Overlay,
|
|
2815
2815
|
{
|
|
2816
2816
|
ref: o,
|
|
2817
2817
|
...t
|
|
@@ -2822,14 +2822,14 @@ const Bn = V.forwardRef(
|
|
|
2822
2822
|
Bn.displayName = "Modal.Overlay";
|
|
2823
2823
|
const _i = [
|
|
2824
2824
|
"radius"
|
|
2825
|
-
], Fn =
|
|
2825
|
+
], Fn = G.forwardRef(
|
|
2826
2826
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2827
|
-
const t =
|
|
2827
|
+
const t = F(
|
|
2828
2828
|
u(n, e),
|
|
2829
2829
|
_i
|
|
2830
2830
|
);
|
|
2831
2831
|
return /* @__PURE__ */ a(
|
|
2832
|
-
|
|
2832
|
+
fe.Content,
|
|
2833
2833
|
{
|
|
2834
2834
|
ref: o,
|
|
2835
2835
|
...t
|
|
@@ -2838,11 +2838,11 @@ const _i = [
|
|
|
2838
2838
|
}
|
|
2839
2839
|
);
|
|
2840
2840
|
Fn.displayName = "Modal.Content";
|
|
2841
|
-
const Un =
|
|
2841
|
+
const Un = G.forwardRef(
|
|
2842
2842
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2843
2843
|
const t = u(n, e);
|
|
2844
2844
|
return /* @__PURE__ */ a(
|
|
2845
|
-
|
|
2845
|
+
fe.Header,
|
|
2846
2846
|
{
|
|
2847
2847
|
ref: o,
|
|
2848
2848
|
...t
|
|
@@ -2851,11 +2851,11 @@ const Un = V.forwardRef(
|
|
|
2851
2851
|
}
|
|
2852
2852
|
);
|
|
2853
2853
|
Un.displayName = "Modal.Header";
|
|
2854
|
-
const
|
|
2854
|
+
const Vn = G.forwardRef(
|
|
2855
2855
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2856
2856
|
const t = u(n, e);
|
|
2857
2857
|
return /* @__PURE__ */ a(
|
|
2858
|
-
|
|
2858
|
+
fe.Title,
|
|
2859
2859
|
{
|
|
2860
2860
|
ref: o,
|
|
2861
2861
|
...t
|
|
@@ -2863,34 +2863,34 @@ const Gn = V.forwardRef(
|
|
|
2863
2863
|
);
|
|
2864
2864
|
}
|
|
2865
2865
|
);
|
|
2866
|
-
|
|
2866
|
+
Vn.displayName = "Modal.Title";
|
|
2867
2867
|
const fi = [
|
|
2868
2868
|
"size",
|
|
2869
2869
|
"radius"
|
|
2870
|
-
],
|
|
2871
|
-
const t =
|
|
2870
|
+
], Gn = G.forwardRef(function({ overStyled: e = !1, ...n }, o) {
|
|
2871
|
+
const t = F(
|
|
2872
2872
|
u(n, e),
|
|
2873
2873
|
fi
|
|
2874
2874
|
);
|
|
2875
2875
|
return /* @__PURE__ */ a(
|
|
2876
|
-
|
|
2876
|
+
fe.CloseButton,
|
|
2877
2877
|
{
|
|
2878
2878
|
ref: o,
|
|
2879
2879
|
...t
|
|
2880
2880
|
}
|
|
2881
2881
|
);
|
|
2882
2882
|
});
|
|
2883
|
-
|
|
2884
|
-
const
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-module__root___C6rAn", vi = "NumberInput-module__input___Ss8p7", Ni = "NumberInput-module__section___MijP0", bi = "NumberInput-module__controls___8UfQ2", Ci = "NumberInput-module__control___Qre9-",
|
|
2883
|
+
Gn.displayName = "Modal.CloseButton";
|
|
2884
|
+
const Ze = Dn;
|
|
2885
|
+
Ze.Root = En;
|
|
2886
|
+
Ze.Overlay = Bn;
|
|
2887
|
+
Ze.Content = Fn;
|
|
2888
|
+
Ze.Header = Un;
|
|
2889
|
+
Ze.Title = Vn;
|
|
2890
|
+
Ze.CloseButton = Gn;
|
|
2891
|
+
Ze.Body = yt;
|
|
2892
|
+
Ze.Footer = ft;
|
|
2893
|
+
const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-module__root___C6rAn", vi = "NumberInput-module__input___Ss8p7", Ni = "NumberInput-module__section___MijP0", bi = "NumberInput-module__controls___8UfQ2", Ci = "NumberInput-module__control___Qre9-", yo = {
|
|
2894
2894
|
layoutOverride: yi,
|
|
2895
2895
|
root: hi,
|
|
2896
2896
|
input: vi,
|
|
@@ -2917,14 +2917,14 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
2917
2917
|
onLabelEditClick: d,
|
|
2918
2918
|
label: m,
|
|
2919
2919
|
assistiveText: p,
|
|
2920
|
-
assistiveWithIcon:
|
|
2920
|
+
assistiveWithIcon: T,
|
|
2921
2921
|
error: y,
|
|
2922
2922
|
required: v,
|
|
2923
2923
|
withAsterisk: h,
|
|
2924
2924
|
id: x,
|
|
2925
2925
|
className: N,
|
|
2926
2926
|
style: w,
|
|
2927
|
-
disabled:
|
|
2927
|
+
disabled: $,
|
|
2928
2928
|
readOnly: g,
|
|
2929
2929
|
readOnlyComponent: P,
|
|
2930
2930
|
emptyValueComponent: f,
|
|
@@ -2932,21 +2932,21 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
2932
2932
|
defaultValue: C,
|
|
2933
2933
|
hideControls: O = !1,
|
|
2934
2934
|
...R
|
|
2935
|
-
} = e, D =
|
|
2935
|
+
} = e, D = F(
|
|
2936
2936
|
u(R, o),
|
|
2937
2937
|
Pi
|
|
2938
|
-
),
|
|
2939
|
-
wrapper:
|
|
2938
|
+
), M = D, L = {
|
|
2939
|
+
wrapper: yo.root,
|
|
2940
2940
|
// The nested Input internal relative wrapper bounding box
|
|
2941
|
-
input:
|
|
2942
|
-
section:
|
|
2943
|
-
controls:
|
|
2944
|
-
control:
|
|
2945
|
-
},
|
|
2941
|
+
input: yo.input,
|
|
2942
|
+
section: yo.section,
|
|
2943
|
+
controls: yo.controls,
|
|
2944
|
+
control: yo.control
|
|
2945
|
+
}, j = N ? `${yo.layoutOverride} ${N}` : yo.layoutOverride;
|
|
2946
2946
|
return /* @__PURE__ */ a(
|
|
2947
|
-
|
|
2947
|
+
ye,
|
|
2948
2948
|
{
|
|
2949
|
-
className:
|
|
2949
|
+
className: j,
|
|
2950
2950
|
style: w,
|
|
2951
2951
|
controlMaxWidth: "var(--number-input-control-max-width)",
|
|
2952
2952
|
controlMinWidth: "var(--number-input-control-min-width)",
|
|
@@ -2959,7 +2959,7 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
2959
2959
|
onLabelEditClick: d,
|
|
2960
2960
|
label: m,
|
|
2961
2961
|
assistiveText: p,
|
|
2962
|
-
assistiveWithIcon:
|
|
2962
|
+
assistiveWithIcon: T,
|
|
2963
2963
|
error: y,
|
|
2964
2964
|
required: v,
|
|
2965
2965
|
withAsterisk: h,
|
|
@@ -2977,8 +2977,8 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
2977
2977
|
{
|
|
2978
2978
|
ref: n,
|
|
2979
2979
|
...D,
|
|
2980
|
-
classNames:
|
|
2981
|
-
disabled:
|
|
2980
|
+
classNames: L,
|
|
2981
|
+
disabled: $,
|
|
2982
2982
|
value: b,
|
|
2983
2983
|
defaultValue: C,
|
|
2984
2984
|
hideControls: O,
|
|
@@ -2988,10 +2988,10 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
2988
2988
|
required: void 0,
|
|
2989
2989
|
withAsterisk: void 0,
|
|
2990
2990
|
wrapperProps: {
|
|
2991
|
-
"data-disabled":
|
|
2991
|
+
"data-disabled": $ ? "true" : void 0,
|
|
2992
2992
|
"data-error": y ? "true" : void 0,
|
|
2993
|
-
"data-with-left-section":
|
|
2994
|
-
"data-with-right-section":
|
|
2993
|
+
"data-with-left-section": M.leftSection ? "true" : void 0,
|
|
2994
|
+
"data-with-right-section": M.rightSection || !O ? "true" : void 0
|
|
2995
2995
|
}
|
|
2996
2996
|
}
|
|
2997
2997
|
)
|
|
@@ -3001,7 +3001,7 @@ const yi = "NumberInput-module__layoutOverride___5-9T4", hi = "NumberInput-modul
|
|
|
3001
3001
|
}
|
|
3002
3002
|
);
|
|
3003
3003
|
Hn.displayName = "NumberInput";
|
|
3004
|
-
const gi = "Pagination-module__root___ITRjt", Ti = "Pagination-module__control___40yNT", $i = "Pagination-module__dots___Yl9da", wi = "Pagination-module__iconWithLabel___pLM4O", Si = "Pagination-module__baseIcon___Qw3bJ",
|
|
3004
|
+
const gi = "Pagination-module__root___ITRjt", Ti = "Pagination-module__control___40yNT", $i = "Pagination-module__dots___Yl9da", wi = "Pagination-module__iconWithLabel___pLM4O", Si = "Pagination-module__baseIcon___Qw3bJ", Ae = {
|
|
3005
3005
|
root: gi,
|
|
3006
3006
|
control: Ti,
|
|
3007
3007
|
dots: $i,
|
|
@@ -3021,33 +3021,33 @@ const gi = "Pagination-module__root___ITRjt", Ti = "Pagination-module__control__
|
|
|
3021
3021
|
{
|
|
3022
3022
|
viewBox: "0 0 16 16",
|
|
3023
3023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3024
|
-
className: `${
|
|
3024
|
+
className: `${Ae.baseIcon} ${e || ""}`.trim(),
|
|
3025
3025
|
...n,
|
|
3026
3026
|
children: /* @__PURE__ */ a("path", { d: Ii[r], fill: "currentColor" })
|
|
3027
3027
|
}
|
|
3028
|
-
), jn = (r) => /* @__PURE__ */
|
|
3028
|
+
), jn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3029
3029
|
/* @__PURE__ */ a("span", { children: "Next" }),
|
|
3030
3030
|
/* @__PURE__ */ a(zo, { type: "next", ...r })
|
|
3031
|
-
] }), qn = (r) => /* @__PURE__ */
|
|
3031
|
+
] }), qn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3032
3032
|
/* @__PURE__ */ a(zo, { type: "prev", ...r }),
|
|
3033
3033
|
/* @__PURE__ */ a("span", { children: "Prev" })
|
|
3034
|
-
] }), Kn = (r) => /* @__PURE__ */
|
|
3034
|
+
] }), Kn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3035
3035
|
/* @__PURE__ */ a(zo, { type: "first", ...r }),
|
|
3036
3036
|
/* @__PURE__ */ a("span", { children: "First" })
|
|
3037
|
-
] }), Yn = (r) => /* @__PURE__ */
|
|
3037
|
+
] }), Yn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3038
3038
|
/* @__PURE__ */ a("span", { children: "Last" }),
|
|
3039
3039
|
/* @__PURE__ */ a(zo, { type: "last", ...r })
|
|
3040
3040
|
] });
|
|
3041
3041
|
function Zn(r) {
|
|
3042
|
-
const e =
|
|
3042
|
+
const e = z(
|
|
3043
3043
|
{
|
|
3044
|
-
root:
|
|
3045
|
-
control:
|
|
3046
|
-
dots:
|
|
3044
|
+
root: Ae.root,
|
|
3045
|
+
control: Ae.control,
|
|
3046
|
+
dots: Ae.dots
|
|
3047
3047
|
},
|
|
3048
3048
|
r.classNames
|
|
3049
3049
|
), n = r.className;
|
|
3050
|
-
return { className: n ? `${
|
|
3050
|
+
return { className: n ? `${Ae.root} ${n}` : Ae.root, classNames: e };
|
|
3051
3051
|
}
|
|
3052
3052
|
const Xn = _(
|
|
3053
3053
|
function({ overStyled: e = !1, ...n }, o) {
|
|
@@ -3055,7 +3055,7 @@ const Xn = _(
|
|
|
3055
3055
|
t
|
|
3056
3056
|
);
|
|
3057
3057
|
return /* @__PURE__ */ a(
|
|
3058
|
-
|
|
3058
|
+
qe.Root,
|
|
3059
3059
|
{
|
|
3060
3060
|
ref: o,
|
|
3061
3061
|
...t,
|
|
@@ -3069,12 +3069,12 @@ Xn.displayName = "Pagination.Root";
|
|
|
3069
3069
|
const Jn = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3070
3070
|
const l = u(t, e), i = n ? jn : void 0;
|
|
3071
3071
|
return /* @__PURE__ */ a(
|
|
3072
|
-
|
|
3072
|
+
qe.Next,
|
|
3073
3073
|
{
|
|
3074
3074
|
ref: s,
|
|
3075
3075
|
...l,
|
|
3076
3076
|
"data-variant": "text",
|
|
3077
|
-
icon:
|
|
3077
|
+
icon: de(i, o)
|
|
3078
3078
|
}
|
|
3079
3079
|
);
|
|
3080
3080
|
});
|
|
@@ -3082,12 +3082,12 @@ Jn.displayName = "Pagination.Next";
|
|
|
3082
3082
|
const Qn = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3083
3083
|
const l = u(t, e), i = n ? qn : void 0;
|
|
3084
3084
|
return /* @__PURE__ */ a(
|
|
3085
|
-
|
|
3085
|
+
qe.Previous,
|
|
3086
3086
|
{
|
|
3087
3087
|
ref: s,
|
|
3088
3088
|
...l,
|
|
3089
3089
|
"data-variant": "text",
|
|
3090
|
-
icon:
|
|
3090
|
+
icon: de(i, o)
|
|
3091
3091
|
}
|
|
3092
3092
|
);
|
|
3093
3093
|
});
|
|
@@ -3095,12 +3095,12 @@ Qn.displayName = "Pagination.Previous";
|
|
|
3095
3095
|
const ea = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3096
3096
|
const l = u(t, e), i = n ? Kn : void 0;
|
|
3097
3097
|
return /* @__PURE__ */ a(
|
|
3098
|
-
|
|
3098
|
+
qe.First,
|
|
3099
3099
|
{
|
|
3100
3100
|
ref: s,
|
|
3101
3101
|
...l,
|
|
3102
3102
|
"data-variant": "text",
|
|
3103
|
-
icon:
|
|
3103
|
+
icon: de(i, o)
|
|
3104
3104
|
}
|
|
3105
3105
|
);
|
|
3106
3106
|
});
|
|
@@ -3108,12 +3108,12 @@ ea.displayName = "Pagination.First";
|
|
|
3108
3108
|
const oa = _(function({ overStyled: e = !1, withLabel: n, icon: o, ...t }, s) {
|
|
3109
3109
|
const l = u(t, e), i = n ? Yn : void 0;
|
|
3110
3110
|
return /* @__PURE__ */ a(
|
|
3111
|
-
|
|
3111
|
+
qe.Last,
|
|
3112
3112
|
{
|
|
3113
3113
|
ref: s,
|
|
3114
3114
|
...l,
|
|
3115
3115
|
"data-variant": "text",
|
|
3116
|
-
icon:
|
|
3116
|
+
icon: de(i, o)
|
|
3117
3117
|
}
|
|
3118
3118
|
);
|
|
3119
3119
|
});
|
|
@@ -3127,7 +3127,7 @@ const ta = _(
|
|
|
3127
3127
|
return n ? { ...p, ...n(m) } : p;
|
|
3128
3128
|
};
|
|
3129
3129
|
return /* @__PURE__ */ a(
|
|
3130
|
-
|
|
3130
|
+
qe,
|
|
3131
3131
|
{
|
|
3132
3132
|
ref: s,
|
|
3133
3133
|
...o ? {
|
|
@@ -3148,7 +3148,7 @@ ta.displayName = "Pagination";
|
|
|
3148
3148
|
const na = _(function({ overStyled: e = !1, ...n }, o) {
|
|
3149
3149
|
const t = u(n, e);
|
|
3150
3150
|
return /* @__PURE__ */ a(
|
|
3151
|
-
|
|
3151
|
+
qe.Control,
|
|
3152
3152
|
{
|
|
3153
3153
|
ref: o,
|
|
3154
3154
|
...t
|
|
@@ -3160,7 +3160,7 @@ const aa = _(
|
|
|
3160
3160
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3161
3161
|
const t = u(n, e);
|
|
3162
3162
|
return /* @__PURE__ */ a(
|
|
3163
|
-
|
|
3163
|
+
qe.Dots,
|
|
3164
3164
|
{
|
|
3165
3165
|
ref: o,
|
|
3166
3166
|
...t
|
|
@@ -3169,16 +3169,16 @@ const aa = _(
|
|
|
3169
3169
|
}
|
|
3170
3170
|
);
|
|
3171
3171
|
aa.displayName = "Pagination.Dots";
|
|
3172
|
-
const
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3172
|
+
const We = ta;
|
|
3173
|
+
We.Root = Xn;
|
|
3174
|
+
We.Items = qe.Items;
|
|
3175
|
+
We.Control = na;
|
|
3176
|
+
We.Dots = aa;
|
|
3177
|
+
We.Next = Jn;
|
|
3178
|
+
We.Previous = Qn;
|
|
3179
|
+
We.First = ea;
|
|
3180
|
+
We.Last = oa;
|
|
3181
|
+
We.Icon = zo;
|
|
3182
3182
|
const Li = "Panel-module__content___wdGo-", Mi = "Panel-module__inner___ruA2b", Ai = "Panel-module__header___o7SiC", zi = "Panel-module__title___181OP", Wi = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", Di = "Panel-module__body___SEC3T", Ei = "Panel-module__footer___t6-hz", ao = {
|
|
3183
3183
|
content: Li,
|
|
3184
3184
|
inner: Mi,
|
|
@@ -3194,7 +3194,7 @@ const Li = "Panel-module__content___wdGo-", Mi = "Panel-module__inner___ruA2b",
|
|
|
3194
3194
|
wrapHeaderText: t = !1,
|
|
3195
3195
|
...s
|
|
3196
3196
|
}) {
|
|
3197
|
-
const l = u(s, e), i = l, c =
|
|
3197
|
+
const l = u(s, e), i = l, c = z(
|
|
3198
3198
|
{
|
|
3199
3199
|
content: ao.content,
|
|
3200
3200
|
header: ao.header,
|
|
@@ -3205,12 +3205,12 @@ const Li = "Panel-module__content___wdGo-", Mi = "Panel-module__inner___ruA2b",
|
|
|
3205
3205
|
i.classNames
|
|
3206
3206
|
);
|
|
3207
3207
|
return /* @__PURE__ */ a(
|
|
3208
|
-
|
|
3208
|
+
Ke,
|
|
3209
3209
|
{
|
|
3210
3210
|
...l,
|
|
3211
3211
|
position: n,
|
|
3212
3212
|
keepMounted: o,
|
|
3213
|
-
closeOnClickOutside:
|
|
3213
|
+
closeOnClickOutside: de(
|
|
3214
3214
|
!!s.opened,
|
|
3215
3215
|
s.closeOnClickOutside
|
|
3216
3216
|
),
|
|
@@ -3230,7 +3230,7 @@ const sa = _(
|
|
|
3230
3230
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3231
3231
|
const t = u(n, e);
|
|
3232
3232
|
return /* @__PURE__ */ a(
|
|
3233
|
-
|
|
3233
|
+
Ke.Root,
|
|
3234
3234
|
{
|
|
3235
3235
|
ref: o,
|
|
3236
3236
|
...t
|
|
@@ -3243,7 +3243,7 @@ const la = _(
|
|
|
3243
3243
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3244
3244
|
const t = u(n, e);
|
|
3245
3245
|
return /* @__PURE__ */ a(
|
|
3246
|
-
|
|
3246
|
+
Ke.Overlay,
|
|
3247
3247
|
{
|
|
3248
3248
|
ref: o,
|
|
3249
3249
|
...t
|
|
@@ -3256,7 +3256,7 @@ const ia = _(
|
|
|
3256
3256
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3257
3257
|
const t = u(n, e);
|
|
3258
3258
|
return /* @__PURE__ */ a(
|
|
3259
|
-
|
|
3259
|
+
Ke.Content,
|
|
3260
3260
|
{
|
|
3261
3261
|
ref: o,
|
|
3262
3262
|
...t
|
|
@@ -3269,7 +3269,7 @@ const ca = _(
|
|
|
3269
3269
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3270
3270
|
const t = u(n, e);
|
|
3271
3271
|
return /* @__PURE__ */ a(
|
|
3272
|
-
|
|
3272
|
+
Ke.Header,
|
|
3273
3273
|
{
|
|
3274
3274
|
ref: o,
|
|
3275
3275
|
...t
|
|
@@ -3282,7 +3282,7 @@ const da = _(
|
|
|
3282
3282
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3283
3283
|
const t = u(n, e);
|
|
3284
3284
|
return /* @__PURE__ */ a(
|
|
3285
|
-
|
|
3285
|
+
Ke.Title,
|
|
3286
3286
|
{
|
|
3287
3287
|
ref: o,
|
|
3288
3288
|
...t
|
|
@@ -3294,7 +3294,7 @@ da.displayName = "PanelTitle";
|
|
|
3294
3294
|
const ua = _(function({ overStyled: e = !1, ...n }, o) {
|
|
3295
3295
|
const t = u(n, e);
|
|
3296
3296
|
return /* @__PURE__ */ a(
|
|
3297
|
-
|
|
3297
|
+
Ke.CloseButton,
|
|
3298
3298
|
{
|
|
3299
3299
|
ref: o,
|
|
3300
3300
|
...t
|
|
@@ -3306,7 +3306,7 @@ const pa = _(
|
|
|
3306
3306
|
function({ overStyled: e = !1, ...n }, o) {
|
|
3307
3307
|
const t = u(n, e);
|
|
3308
3308
|
return /* @__PURE__ */ a(
|
|
3309
|
-
|
|
3309
|
+
Ke.Body,
|
|
3310
3310
|
{
|
|
3311
3311
|
ref: o,
|
|
3312
3312
|
...t
|
|
@@ -3315,16 +3315,16 @@ const pa = _(
|
|
|
3315
3315
|
}
|
|
3316
3316
|
);
|
|
3317
3317
|
pa.displayName = "PanelBody";
|
|
3318
|
-
const
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3318
|
+
const De = ra;
|
|
3319
|
+
De.Root = sa;
|
|
3320
|
+
De.Overlay = la;
|
|
3321
|
+
De.Content = ia;
|
|
3322
|
+
De.Header = ca;
|
|
3323
|
+
De.Title = da;
|
|
3324
|
+
De.CloseButton = ua;
|
|
3325
|
+
De.Body = pa;
|
|
3326
|
+
De.Stack = Ke.Stack;
|
|
3327
|
+
De.Footer = ht;
|
|
3328
3328
|
const Bi = "Popover-module__dropdown___svhS6", Fi = "Popover-module__arrow___5A-0e", At = {
|
|
3329
3329
|
dropdown: Bi,
|
|
3330
3330
|
arrow: Fi
|
|
@@ -3335,13 +3335,13 @@ const Bi = "Popover-module__dropdown___svhS6", Fi = "Popover-module__arrow___5A-
|
|
|
3335
3335
|
// Recursica default; Mantine defaults to "bottom"
|
|
3336
3336
|
...t
|
|
3337
3337
|
}) {
|
|
3338
|
-
const s = u(t, e), l = s, i =
|
|
3338
|
+
const s = u(t, e), l = s, i = z(
|
|
3339
3339
|
{ dropdown: At.dropdown, arrow: At.arrow },
|
|
3340
3340
|
l.classNames
|
|
3341
|
-
), c =
|
|
3341
|
+
), c = de(
|
|
3342
3342
|
16,
|
|
3343
3343
|
l.arrowSize
|
|
3344
|
-
), d =
|
|
3344
|
+
), d = de(
|
|
3345
3345
|
n,
|
|
3346
3346
|
l.withArrow
|
|
3347
3347
|
);
|
|
@@ -3378,10 +3378,10 @@ fa.displayName = "PopoverDropdown";
|
|
|
3378
3378
|
const vt = ma;
|
|
3379
3379
|
vt.Target = _a;
|
|
3380
3380
|
vt.Dropdown = fa;
|
|
3381
|
-
const Ui = "Radio-module__groupRoot___bfUii",
|
|
3381
|
+
const Ui = "Radio-module__groupRoot___bfUii", Vi = "Radio-module__root___kAjTD", Gi = "Radio-module__body___q2Wpj", Hi = "Radio-module__inner___QaTBB", ji = "Radio-module__radio___MfgN-", qi = "Radio-module__icon___DWznm", Ki = "Radio-module__labelWrapper___dB0Gi", Yi = "Radio-module__label___vAFIP", Ie = {
|
|
3382
3382
|
groupRoot: Ui,
|
|
3383
|
-
root:
|
|
3384
|
-
body:
|
|
3383
|
+
root: Vi,
|
|
3384
|
+
body: Gi,
|
|
3385
3385
|
inner: Hi,
|
|
3386
3386
|
radio: ji,
|
|
3387
3387
|
icon: qi,
|
|
@@ -3401,14 +3401,14 @@ const Ui = "Radio-module__groupRoot___bfUii", Gi = "Radio-module__root___kAjTD",
|
|
|
3401
3401
|
// Base Mantine Extracted Attributes
|
|
3402
3402
|
label: m,
|
|
3403
3403
|
description: p,
|
|
3404
|
-
assistiveText:
|
|
3404
|
+
assistiveText: T,
|
|
3405
3405
|
assistiveWithIcon: y,
|
|
3406
3406
|
error: v,
|
|
3407
3407
|
required: h,
|
|
3408
3408
|
withAsterisk: x,
|
|
3409
3409
|
id: N,
|
|
3410
3410
|
className: w,
|
|
3411
|
-
style:
|
|
3411
|
+
style: $,
|
|
3412
3412
|
children: g,
|
|
3413
3413
|
readOnly: P,
|
|
3414
3414
|
readOnlyComponent: f,
|
|
@@ -3419,15 +3419,15 @@ const Ui = "Radio-module__groupRoot___bfUii", Gi = "Radio-module__root___kAjTD",
|
|
|
3419
3419
|
} = e, D = [
|
|
3420
3420
|
"size"
|
|
3421
3421
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3422
|
-
],
|
|
3422
|
+
], M = F(
|
|
3423
3423
|
u(R, o),
|
|
3424
3424
|
D
|
|
3425
|
-
),
|
|
3425
|
+
), L = M;
|
|
3426
3426
|
return /* @__PURE__ */ a(
|
|
3427
|
-
|
|
3427
|
+
ye,
|
|
3428
3428
|
{
|
|
3429
3429
|
className: w,
|
|
3430
|
-
style:
|
|
3430
|
+
style: $,
|
|
3431
3431
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
3432
3432
|
controlMinWidth: void 0,
|
|
3433
3433
|
overStyled: o,
|
|
@@ -3440,7 +3440,7 @@ const Ui = "Radio-module__groupRoot___bfUii", Gi = "Radio-module__root___kAjTD",
|
|
|
3440
3440
|
onLabelEditClick: d,
|
|
3441
3441
|
label: m,
|
|
3442
3442
|
description: p,
|
|
3443
|
-
assistiveText:
|
|
3443
|
+
assistiveText: T,
|
|
3444
3444
|
assistiveWithIcon: y,
|
|
3445
3445
|
error: v,
|
|
3446
3446
|
required: h,
|
|
@@ -3456,11 +3456,11 @@ const Ui = "Radio-module__groupRoot___bfUii", Gi = "Radio-module__root___kAjTD",
|
|
|
3456
3456
|
Ht.Group,
|
|
3457
3457
|
{
|
|
3458
3458
|
ref: n,
|
|
3459
|
-
...
|
|
3460
|
-
disabled: P ||
|
|
3459
|
+
...M,
|
|
3460
|
+
disabled: P || L.disabled,
|
|
3461
3461
|
value: C,
|
|
3462
3462
|
defaultValue: O,
|
|
3463
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
3463
|
+
children: /* @__PURE__ */ a("div", { className: Ie.groupRoot, "data-layout": t, children: g })
|
|
3464
3464
|
}
|
|
3465
3465
|
)
|
|
3466
3466
|
}
|
|
@@ -3490,7 +3490,7 @@ const Zi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3490
3490
|
labelSize: d,
|
|
3491
3491
|
controlMaxWidth: m,
|
|
3492
3492
|
controlMinWidth: p,
|
|
3493
|
-
|
|
3493
|
+
...T
|
|
3494
3494
|
} = e, y = [
|
|
3495
3495
|
"size",
|
|
3496
3496
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
@@ -3502,21 +3502,21 @@ const Zi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3502
3502
|
// Radio has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
3503
3503
|
"iconColor"
|
|
3504
3504
|
// Icon color is token-driven via Radio.module.css, not a native Mantine override.
|
|
3505
|
-
], v =
|
|
3506
|
-
u(
|
|
3505
|
+
], v = F(
|
|
3506
|
+
u(T, o),
|
|
3507
3507
|
y
|
|
3508
|
-
), h = v, x =
|
|
3508
|
+
), h = v, x = z(
|
|
3509
3509
|
{
|
|
3510
|
-
root:
|
|
3511
|
-
body:
|
|
3512
|
-
inner:
|
|
3513
|
-
radio:
|
|
3514
|
-
icon:
|
|
3515
|
-
labelWrapper:
|
|
3516
|
-
label:
|
|
3510
|
+
root: Ie.root,
|
|
3511
|
+
body: Ie.body,
|
|
3512
|
+
inner: Ie.inner,
|
|
3513
|
+
radio: Ie.radio,
|
|
3514
|
+
icon: Ie.icon,
|
|
3515
|
+
labelWrapper: Ie.labelWrapper,
|
|
3516
|
+
label: Ie.label
|
|
3517
3517
|
},
|
|
3518
3518
|
h.classNames
|
|
3519
|
-
), N = h.className, w = N ? `${
|
|
3519
|
+
), N = h.className, w = N ? `${Ie.root} ${N}` : Ie.root;
|
|
3520
3520
|
if (t && s) {
|
|
3521
3521
|
const g = !!(h.checked ?? h.defaultChecked), f = /* @__PURE__ */ a(
|
|
3522
3522
|
s,
|
|
@@ -3527,7 +3527,7 @@ const Zi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3527
3527
|
}
|
|
3528
3528
|
);
|
|
3529
3529
|
return c ? /* @__PURE__ */ a(
|
|
3530
|
-
|
|
3530
|
+
He,
|
|
3531
3531
|
{
|
|
3532
3532
|
formLayout: c,
|
|
3533
3533
|
labelSize: d,
|
|
@@ -3535,29 +3535,29 @@ const Zi = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3535
3535
|
controlMinWidth: p,
|
|
3536
3536
|
children: f
|
|
3537
3537
|
}
|
|
3538
|
-
) : /* @__PURE__ */ a(
|
|
3538
|
+
) : /* @__PURE__ */ a(No, { children: f });
|
|
3539
3539
|
}
|
|
3540
|
-
const
|
|
3540
|
+
const $ = /* @__PURE__ */ a(
|
|
3541
3541
|
Ht,
|
|
3542
3542
|
{
|
|
3543
3543
|
ref: n,
|
|
3544
3544
|
...v,
|
|
3545
|
-
icon:
|
|
3545
|
+
icon: de(Zi, i),
|
|
3546
3546
|
className: w,
|
|
3547
3547
|
classNames: x,
|
|
3548
3548
|
disabled: t || l
|
|
3549
3549
|
}
|
|
3550
3550
|
);
|
|
3551
3551
|
return c ? /* @__PURE__ */ a(
|
|
3552
|
-
|
|
3552
|
+
He,
|
|
3553
3553
|
{
|
|
3554
3554
|
formLayout: c,
|
|
3555
3555
|
labelSize: d,
|
|
3556
3556
|
controlMaxWidth: m,
|
|
3557
3557
|
controlMinWidth: p,
|
|
3558
|
-
children:
|
|
3558
|
+
children: $
|
|
3559
3559
|
}
|
|
3560
|
-
) :
|
|
3560
|
+
) : $;
|
|
3561
3561
|
}
|
|
3562
3562
|
);
|
|
3563
3563
|
bt.displayName = "Radio";
|
|
@@ -3569,7 +3569,7 @@ const Xi = "SegmentedControl-module__root___JFRhg", Ji = "SegmentedControl-modul
|
|
|
3569
3569
|
indicator: ec
|
|
3570
3570
|
};
|
|
3571
3571
|
function oc(r) {
|
|
3572
|
-
const e =
|
|
3572
|
+
const e = z(
|
|
3573
3573
|
{
|
|
3574
3574
|
root: Po.root,
|
|
3575
3575
|
control: Po.control,
|
|
@@ -3591,7 +3591,7 @@ const ya = _(
|
|
|
3591
3591
|
const i = u(s, e), d = oc(i), m = t.map(
|
|
3592
3592
|
(p) => typeof p == "string" || !p.icon ? p : {
|
|
3593
3593
|
...p,
|
|
3594
|
-
label: /* @__PURE__ */
|
|
3594
|
+
label: /* @__PURE__ */ A(No, { children: [
|
|
3595
3595
|
p.icon,
|
|
3596
3596
|
p.label
|
|
3597
3597
|
] })
|
|
@@ -3642,14 +3642,14 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3642
3642
|
labelActionArea: d,
|
|
3643
3643
|
onLabelEditClick: m,
|
|
3644
3644
|
label: p,
|
|
3645
|
-
tooltipLabel:
|
|
3645
|
+
tooltipLabel: T,
|
|
3646
3646
|
assistiveText: y,
|
|
3647
3647
|
assistiveWithIcon: v,
|
|
3648
3648
|
error: h,
|
|
3649
3649
|
required: x,
|
|
3650
3650
|
withAsterisk: N,
|
|
3651
3651
|
id: w,
|
|
3652
|
-
className:
|
|
3652
|
+
className: $,
|
|
3653
3653
|
style: g,
|
|
3654
3654
|
disabled: P,
|
|
3655
3655
|
readOnly: f,
|
|
@@ -3658,33 +3658,36 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3658
3658
|
value: O,
|
|
3659
3659
|
defaultValue: R,
|
|
3660
3660
|
icon: D,
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3661
|
+
trailingIcon: M,
|
|
3662
|
+
showInput: L = !1,
|
|
3663
|
+
showMinMaxLabels: j = !0,
|
|
3664
|
+
min: V = 0,
|
|
3665
|
+
max: K = 100,
|
|
3666
|
+
minLabel: X,
|
|
3667
|
+
maxLabel: q,
|
|
3668
|
+
step: J = 1,
|
|
3669
|
+
onChange: ne,
|
|
3670
|
+
onChangeEnd: Te,
|
|
3671
|
+
...W
|
|
3672
|
+
} = e, [re, he] = ae(() => O !== void 0 ? O : R !== void 0 ? R : V), E = O !== void 0 ? O : re, [se, ve] = ae(
|
|
3673
|
+
E.toString()
|
|
3671
3674
|
);
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
}, [
|
|
3675
|
-
const
|
|
3676
|
-
O === void 0 &&
|
|
3677
|
-
},
|
|
3678
|
-
const
|
|
3679
|
-
|
|
3680
|
-
const
|
|
3681
|
-
if (!isNaN(
|
|
3682
|
-
const
|
|
3683
|
-
|
|
3675
|
+
ke(() => {
|
|
3676
|
+
ve(E.toString());
|
|
3677
|
+
}, [E]);
|
|
3678
|
+
const ce = (Se) => {
|
|
3679
|
+
O === void 0 && he(Se), ne == null || ne(Se);
|
|
3680
|
+
}, ue = (Se) => {
|
|
3681
|
+
const be = Se.target.value;
|
|
3682
|
+
ve(be);
|
|
3683
|
+
const Fe = parseFloat(be);
|
|
3684
|
+
if (!isNaN(Fe)) {
|
|
3685
|
+
const B = Math.max(V, Math.min(K, Fe));
|
|
3686
|
+
ce(B);
|
|
3684
3687
|
}
|
|
3685
|
-
},
|
|
3686
|
-
|
|
3687
|
-
},
|
|
3688
|
+
}, Ne = () => {
|
|
3689
|
+
ve(E.toString());
|
|
3690
|
+
}, $e = [
|
|
3688
3691
|
"size",
|
|
3689
3692
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
3690
3693
|
"variant",
|
|
@@ -3695,10 +3698,10 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3695
3698
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
3696
3699
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3697
3700
|
"wrapperProps"
|
|
3698
|
-
],
|
|
3699
|
-
u(
|
|
3700
|
-
|
|
3701
|
-
),
|
|
3701
|
+
], Ee = F(
|
|
3702
|
+
u(W, o),
|
|
3703
|
+
$e
|
|
3704
|
+
), we = Ee, io = z(
|
|
3702
3705
|
{
|
|
3703
3706
|
root: te.sliderRoot,
|
|
3704
3707
|
track: te.sliderTrack,
|
|
@@ -3707,13 +3710,13 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3707
3710
|
mark: te.sliderMark,
|
|
3708
3711
|
markLabel: te.sliderMarkLabel
|
|
3709
3712
|
},
|
|
3710
|
-
|
|
3711
|
-
),
|
|
3713
|
+
we.classNames
|
|
3714
|
+
), Be = $ ? `${te.layoutOverride} ${$}` : te.layoutOverride, co = D ? /* @__PURE__ */ a("span", { className: te.iconWrapper, "aria-hidden": !0, children: D }) : null, uo = M ? /* @__PURE__ */ a("span", { className: te.iconWrapper, "aria-hidden": !0, children: M }) : null, Re = typeof T == "function" ? T(E) : E;
|
|
3712
3715
|
return /* @__PURE__ */ a(
|
|
3713
|
-
|
|
3716
|
+
ye,
|
|
3714
3717
|
{
|
|
3715
3718
|
ref: n,
|
|
3716
|
-
className:
|
|
3719
|
+
className: Be,
|
|
3717
3720
|
style: g,
|
|
3718
3721
|
controlMaxWidth: void 0,
|
|
3719
3722
|
controlMinWidth: void 0,
|
|
@@ -3736,9 +3739,9 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3736
3739
|
readOnlyComponent: b || vc,
|
|
3737
3740
|
emptyValueComponent: C,
|
|
3738
3741
|
readOnlyType: "text",
|
|
3739
|
-
readOnlyValue:
|
|
3740
|
-
readOnlyNativeProps: { value:
|
|
3741
|
-
activeComponent: /* @__PURE__ */
|
|
3742
|
+
readOnlyValue: E,
|
|
3743
|
+
readOnlyNativeProps: { value: E },
|
|
3744
|
+
activeComponent: /* @__PURE__ */ A(
|
|
3742
3745
|
"div",
|
|
3743
3746
|
{
|
|
3744
3747
|
className: te.sliderContainer,
|
|
@@ -3746,42 +3749,43 @@ const tc = ya, nc = "Slider-module__layoutOverride___zYPun", ac = "Slider-module
|
|
|
3746
3749
|
"data-disabled": P ? "true" : void 0,
|
|
3747
3750
|
"data-error": h ? "true" : void 0,
|
|
3748
3751
|
children: [
|
|
3749
|
-
|
|
3750
|
-
|
|
3752
|
+
co,
|
|
3753
|
+
j && /* @__PURE__ */ a("span", { className: te.minMaxGuide, children: X ?? V }),
|
|
3751
3754
|
/* @__PURE__ */ a("div", { className: te.sliderTrackWrapper, children: /* @__PURE__ */ a(
|
|
3752
3755
|
lr,
|
|
3753
3756
|
{
|
|
3754
|
-
...
|
|
3755
|
-
classNames:
|
|
3757
|
+
...Ee,
|
|
3758
|
+
classNames: io,
|
|
3756
3759
|
disabled: P,
|
|
3757
|
-
value:
|
|
3758
|
-
onChange:
|
|
3759
|
-
onChangeEnd:
|
|
3760
|
-
min:
|
|
3761
|
-
max:
|
|
3762
|
-
step:
|
|
3763
|
-
label:
|
|
3760
|
+
value: E,
|
|
3761
|
+
onChange: ce,
|
|
3762
|
+
onChangeEnd: Te,
|
|
3763
|
+
min: V,
|
|
3764
|
+
max: K,
|
|
3765
|
+
step: J,
|
|
3766
|
+
label: T
|
|
3764
3767
|
}
|
|
3765
3768
|
) }),
|
|
3766
|
-
/* @__PURE__ */
|
|
3767
|
-
!
|
|
3768
|
-
|
|
3769
|
+
/* @__PURE__ */ A("div", { className: te.rightGuideContainer, children: [
|
|
3770
|
+
!L && /* @__PURE__ */ a("span", { className: te.currentValue, children: Re }),
|
|
3771
|
+
j && /* @__PURE__ */ a("span", { className: te.minMaxGuide, children: q ?? K })
|
|
3769
3772
|
] }),
|
|
3770
|
-
|
|
3773
|
+
L && /* @__PURE__ */ a(
|
|
3771
3774
|
"input",
|
|
3772
3775
|
{
|
|
3773
3776
|
type: "number",
|
|
3774
3777
|
className: te.inputField,
|
|
3775
|
-
value:
|
|
3776
|
-
onChange:
|
|
3777
|
-
onBlur:
|
|
3778
|
-
min:
|
|
3779
|
-
max:
|
|
3780
|
-
step:
|
|
3778
|
+
value: se,
|
|
3779
|
+
onChange: ue,
|
|
3780
|
+
onBlur: Ne,
|
|
3781
|
+
min: V,
|
|
3782
|
+
max: K,
|
|
3783
|
+
step: J,
|
|
3781
3784
|
disabled: P,
|
|
3782
3785
|
"data-error": h ? "true" : void 0
|
|
3783
3786
|
}
|
|
3784
|
-
)
|
|
3787
|
+
),
|
|
3788
|
+
uo
|
|
3785
3789
|
]
|
|
3786
3790
|
}
|
|
3787
3791
|
)
|
|
@@ -3813,7 +3817,7 @@ const Nc = "Stack-module__root___NUN-x", ko = {
|
|
|
3813
3817
|
);
|
|
3814
3818
|
});
|
|
3815
3819
|
va.displayName = "Stack";
|
|
3816
|
-
const bc =
|
|
3820
|
+
const bc = ge(va), Cc = "Stepper-module__root___jbSYO", Pc = "Stepper-module__horizontal___USHT1", gc = "Stepper-module__steps___4HPO6", Tc = "Stepper-module__step___s2nqL", $c = "Stepper-module__stepBody___TBvys", wc = "Stepper-module__stepLabel___N6nuy", Sc = "Stepper-module__stepDescription___DnDAy", xc = "Stepper-module__separator___pU0No", Oc = "Stepper-module__vertical___d4mOs", kc = "Stepper-module__large___J18-y", Rc = "Stepper-module__small___Ub-zb", Ic = "Stepper-module__stepIcon___YQHNq", Lc = "Stepper-module__stepCompletedIcon___B9MeL", Mc = "Stepper-module__verticalSeparator___frWc1", Ac = "Stepper-module__content___J-h8X", le = {
|
|
3817
3821
|
root: Cc,
|
|
3818
3822
|
horizontal: Pc,
|
|
3819
3823
|
steps: gc,
|
|
@@ -3838,7 +3842,7 @@ const bc = Ce(va), Cc = "Stepper-module__root___jbSYO", Pc = "Stepper-module__ho
|
|
|
3838
3842
|
className: l,
|
|
3839
3843
|
style: i,
|
|
3840
3844
|
...c
|
|
3841
|
-
} = e, d = u(c, o), m = d, p =
|
|
3845
|
+
} = e, d = u(c, o), m = d, p = z(
|
|
3842
3846
|
{
|
|
3843
3847
|
steps: le.steps,
|
|
3844
3848
|
step: le.step,
|
|
@@ -3887,15 +3891,15 @@ const zc = Object.assign(Na, {
|
|
|
3887
3891
|
Completed: it.Completed
|
|
3888
3892
|
});
|
|
3889
3893
|
Na.displayName = "Stepper";
|
|
3890
|
-
const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", Ec = "Switch-module__body___Sw9Wr", Bc = "Switch-module__thumb___-FTeK", Fc = "Switch-module__labelWrapper___YSOwx", Uc = "Switch-module__label___LrH7V",
|
|
3894
|
+
const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", Ec = "Switch-module__body___Sw9Wr", Bc = "Switch-module__thumb___-FTeK", Fc = "Switch-module__labelWrapper___YSOwx", Uc = "Switch-module__label___LrH7V", Vc = "Switch-module__thumbIconWrapper___sCY-1", Gc = "Switch-module__checkIcon___ZBAQN", Hc = "Switch-module__closeIcon___bLLGw", jc = "Switch-module__groupRoot___-Uepi", _e = {
|
|
3891
3895
|
root: Wc,
|
|
3892
3896
|
track: Dc,
|
|
3893
3897
|
body: Ec,
|
|
3894
3898
|
thumb: Bc,
|
|
3895
3899
|
labelWrapper: Fc,
|
|
3896
3900
|
label: Uc,
|
|
3897
|
-
thumbIconWrapper:
|
|
3898
|
-
checkIcon:
|
|
3901
|
+
thumbIconWrapper: Vc,
|
|
3902
|
+
checkIcon: Gc,
|
|
3899
3903
|
closeIcon: Hc,
|
|
3900
3904
|
groupRoot: jc
|
|
3901
3905
|
}, Ct = _(
|
|
@@ -3912,14 +3916,14 @@ const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", E
|
|
|
3912
3916
|
// Base Mantine Extracted Attributes
|
|
3913
3917
|
label: m,
|
|
3914
3918
|
description: p,
|
|
3915
|
-
assistiveText:
|
|
3919
|
+
assistiveText: T,
|
|
3916
3920
|
assistiveWithIcon: y,
|
|
3917
3921
|
error: v,
|
|
3918
3922
|
required: h,
|
|
3919
3923
|
withAsterisk: x,
|
|
3920
3924
|
id: N,
|
|
3921
3925
|
className: w,
|
|
3922
|
-
style:
|
|
3926
|
+
style: $,
|
|
3923
3927
|
children: g,
|
|
3924
3928
|
readOnly: P,
|
|
3925
3929
|
readOnlyComponent: f,
|
|
@@ -3930,15 +3934,15 @@ const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", E
|
|
|
3930
3934
|
} = e, D = [
|
|
3931
3935
|
"size"
|
|
3932
3936
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
3933
|
-
],
|
|
3937
|
+
], M = F(
|
|
3934
3938
|
u(R, o),
|
|
3935
3939
|
D
|
|
3936
|
-
),
|
|
3940
|
+
), L = M;
|
|
3937
3941
|
return /* @__PURE__ */ a(
|
|
3938
|
-
|
|
3942
|
+
ye,
|
|
3939
3943
|
{
|
|
3940
3944
|
className: w,
|
|
3941
|
-
style:
|
|
3945
|
+
style: $,
|
|
3942
3946
|
controlMaxWidth: void 0,
|
|
3943
3947
|
controlMinWidth: void 0,
|
|
3944
3948
|
overStyled: o,
|
|
@@ -3951,7 +3955,7 @@ const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", E
|
|
|
3951
3955
|
onLabelEditClick: d,
|
|
3952
3956
|
label: m,
|
|
3953
3957
|
description: p,
|
|
3954
|
-
assistiveText:
|
|
3958
|
+
assistiveText: T,
|
|
3955
3959
|
assistiveWithIcon: y,
|
|
3956
3960
|
error: v,
|
|
3957
3961
|
required: h,
|
|
@@ -3967,11 +3971,11 @@ const Wc = "Switch-module__root___Y5Ydi", Dc = "Switch-module__track___7ObdZ", E
|
|
|
3967
3971
|
jt.Group,
|
|
3968
3972
|
{
|
|
3969
3973
|
ref: n,
|
|
3970
|
-
...
|
|
3971
|
-
disabled: P ||
|
|
3974
|
+
...M,
|
|
3975
|
+
disabled: P || L.disabled,
|
|
3972
3976
|
value: C,
|
|
3973
3977
|
defaultValue: O,
|
|
3974
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
3978
|
+
children: /* @__PURE__ */ a("div", { className: _e.groupRoot, "data-layout": t, children: g })
|
|
3975
3979
|
}
|
|
3976
3980
|
)
|
|
3977
3981
|
}
|
|
@@ -3991,7 +3995,7 @@ const Pt = _(
|
|
|
3991
3995
|
labelSize: d,
|
|
3992
3996
|
controlMaxWidth: m,
|
|
3993
3997
|
controlMinWidth: p,
|
|
3994
|
-
|
|
3998
|
+
...T
|
|
3995
3999
|
} = e, y = [
|
|
3996
4000
|
"size",
|
|
3997
4001
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
@@ -4001,24 +4005,24 @@ const Pt = _(
|
|
|
4001
4005
|
// Corner radius is fixed by Recursica tokens in Switch.module.css, not caller-configurable.
|
|
4002
4006
|
"variant"
|
|
4003
4007
|
// Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
4004
|
-
], v =
|
|
4005
|
-
u(
|
|
4008
|
+
], v = F(
|
|
4009
|
+
u(T, o),
|
|
4006
4010
|
y
|
|
4007
|
-
), h = v, x =
|
|
4011
|
+
), h = v, x = z(
|
|
4008
4012
|
{
|
|
4009
|
-
root:
|
|
4010
|
-
body:
|
|
4011
|
-
track:
|
|
4012
|
-
thumb:
|
|
4013
|
-
trackLabel:
|
|
4014
|
-
labelWrapper:
|
|
4015
|
-
label:
|
|
4013
|
+
root: _e.root,
|
|
4014
|
+
body: _e.body,
|
|
4015
|
+
track: _e.track,
|
|
4016
|
+
thumb: _e.thumb,
|
|
4017
|
+
trackLabel: _e.trackLabel,
|
|
4018
|
+
labelWrapper: _e.labelWrapper,
|
|
4019
|
+
label: _e.label
|
|
4016
4020
|
},
|
|
4017
4021
|
h.classNames
|
|
4018
4022
|
), N = xr(
|
|
4019
4023
|
{},
|
|
4020
4024
|
h.styles
|
|
4021
|
-
), w = h.className,
|
|
4025
|
+
), w = h.className, $ = w ? `${_e.root} ${w}` : _e.root;
|
|
4022
4026
|
if (t && s) {
|
|
4023
4027
|
const f = !!(h.checked ?? h.defaultChecked), C = /* @__PURE__ */ a(
|
|
4024
4028
|
s,
|
|
@@ -4029,7 +4033,7 @@ const Pt = _(
|
|
|
4029
4033
|
}
|
|
4030
4034
|
);
|
|
4031
4035
|
return c ? /* @__PURE__ */ a(
|
|
4032
|
-
|
|
4036
|
+
He,
|
|
4033
4037
|
{
|
|
4034
4038
|
formLayout: c,
|
|
4035
4039
|
labelSize: d,
|
|
@@ -4037,29 +4041,29 @@ const Pt = _(
|
|
|
4037
4041
|
controlMinWidth: p,
|
|
4038
4042
|
children: C
|
|
4039
4043
|
}
|
|
4040
|
-
) : /* @__PURE__ */ a(
|
|
4044
|
+
) : /* @__PURE__ */ a(No, { children: C });
|
|
4041
4045
|
}
|
|
4042
|
-
const g = /* @__PURE__ */
|
|
4043
|
-
/* @__PURE__ */ a(cr, { className:
|
|
4044
|
-
/* @__PURE__ */ a(dr, { className:
|
|
4046
|
+
const g = /* @__PURE__ */ A("div", { className: _e.thumbIconWrapper, children: [
|
|
4047
|
+
/* @__PURE__ */ a(cr, { className: _e.checkIcon }),
|
|
4048
|
+
/* @__PURE__ */ a(dr, { className: _e.closeIcon })
|
|
4045
4049
|
] }), P = /* @__PURE__ */ a(
|
|
4046
4050
|
jt,
|
|
4047
4051
|
{
|
|
4048
4052
|
ref: n,
|
|
4049
4053
|
...v,
|
|
4050
|
-
className:
|
|
4054
|
+
className: $,
|
|
4051
4055
|
classNames: x,
|
|
4052
4056
|
styles: N,
|
|
4053
4057
|
disabled: t || l,
|
|
4054
4058
|
"data-disabled": t || l || void 0,
|
|
4055
|
-
thumbIcon:
|
|
4059
|
+
thumbIcon: de(
|
|
4056
4060
|
g,
|
|
4057
4061
|
i
|
|
4058
4062
|
)
|
|
4059
4063
|
}
|
|
4060
4064
|
);
|
|
4061
4065
|
return c ? /* @__PURE__ */ a(
|
|
4062
|
-
|
|
4066
|
+
He,
|
|
4063
4067
|
{
|
|
4064
4068
|
formLayout: c,
|
|
4065
4069
|
labelSize: d,
|
|
@@ -4111,7 +4115,7 @@ function Zc(r) {
|
|
|
4111
4115
|
const Ca = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4112
4116
|
const t = u(n, e), s = t.className, l = rt.root, i = s ? `${l} ${s}` : l;
|
|
4113
4117
|
return /* @__PURE__ */ a(
|
|
4114
|
-
|
|
4118
|
+
Ye,
|
|
4115
4119
|
{
|
|
4116
4120
|
ref: o,
|
|
4117
4121
|
...t,
|
|
@@ -4124,7 +4128,7 @@ const Pa = _(
|
|
|
4124
4128
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4125
4129
|
const t = u(n, e);
|
|
4126
4130
|
return /* @__PURE__ */ a(
|
|
4127
|
-
|
|
4131
|
+
Ye.Thead,
|
|
4128
4132
|
{
|
|
4129
4133
|
ref: o,
|
|
4130
4134
|
...t
|
|
@@ -4137,7 +4141,7 @@ const ga = _(
|
|
|
4137
4141
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4138
4142
|
const t = u(n, e);
|
|
4139
4143
|
return /* @__PURE__ */ a(
|
|
4140
|
-
|
|
4144
|
+
Ye.Tbody,
|
|
4141
4145
|
{
|
|
4142
4146
|
ref: o,
|
|
4143
4147
|
...t
|
|
@@ -4150,7 +4154,7 @@ const Ta = _(
|
|
|
4150
4154
|
function({ overStyled: e = !1, selected: n = !1, disabled: o = !1, ...t }, s) {
|
|
4151
4155
|
const l = u(t, e);
|
|
4152
4156
|
return /* @__PURE__ */ a(
|
|
4153
|
-
|
|
4157
|
+
Ye.Tr,
|
|
4154
4158
|
{
|
|
4155
4159
|
ref: s,
|
|
4156
4160
|
...l,
|
|
@@ -4164,8 +4168,8 @@ Ta.displayName = "TableTr";
|
|
|
4164
4168
|
const $a = _(
|
|
4165
4169
|
function({ overStyled: e = !1, sorted: n = !1, disabled: o = !1, children: t, ...s }, l) {
|
|
4166
4170
|
const i = u(s, e);
|
|
4167
|
-
return /* @__PURE__ */
|
|
4168
|
-
|
|
4171
|
+
return /* @__PURE__ */ A(
|
|
4172
|
+
Ye.Th,
|
|
4169
4173
|
{
|
|
4170
4174
|
ref: l,
|
|
4171
4175
|
...i,
|
|
@@ -4186,7 +4190,7 @@ const wa = _(
|
|
|
4186
4190
|
function({ overStyled: e = !1, disabled: n = !1, variant: o = "default", ...t }, s) {
|
|
4187
4191
|
const l = u(t, e);
|
|
4188
4192
|
return /* @__PURE__ */ a(
|
|
4189
|
-
|
|
4193
|
+
Ye.Td,
|
|
4190
4194
|
{
|
|
4191
4195
|
ref: s,
|
|
4192
4196
|
...l,
|
|
@@ -4201,7 +4205,7 @@ const Sa = _(
|
|
|
4201
4205
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4202
4206
|
const t = u(n, e);
|
|
4203
4207
|
return /* @__PURE__ */ a(
|
|
4204
|
-
|
|
4208
|
+
Ye.Tfoot,
|
|
4205
4209
|
{
|
|
4206
4210
|
ref: o,
|
|
4207
4211
|
...t
|
|
@@ -4213,7 +4217,7 @@ Sa.displayName = "TableTfoot";
|
|
|
4213
4217
|
const xa = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4214
4218
|
const t = u(n, e);
|
|
4215
4219
|
return /* @__PURE__ */ a(
|
|
4216
|
-
|
|
4220
|
+
Ye.Caption,
|
|
4217
4221
|
{
|
|
4218
4222
|
ref: o,
|
|
4219
4223
|
...t
|
|
@@ -4224,7 +4228,7 @@ xa.displayName = "TableCaption";
|
|
|
4224
4228
|
const Oa = _(function({ overStyled: e = !1, ...n }, o) {
|
|
4225
4229
|
const t = u(n, e);
|
|
4226
4230
|
return /* @__PURE__ */ a(
|
|
4227
|
-
|
|
4231
|
+
Ye.ScrollContainer,
|
|
4228
4232
|
{
|
|
4229
4233
|
ref: o,
|
|
4230
4234
|
...t
|
|
@@ -4232,15 +4236,15 @@ const Oa = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
4232
4236
|
);
|
|
4233
4237
|
});
|
|
4234
4238
|
Oa.displayName = "TableScrollContainer";
|
|
4235
|
-
const
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4239
|
+
const Xe = Ca;
|
|
4240
|
+
Xe.Thead = Pa;
|
|
4241
|
+
Xe.Tbody = ga;
|
|
4242
|
+
Xe.Tr = Ta;
|
|
4243
|
+
Xe.Th = $a;
|
|
4244
|
+
Xe.Td = wa;
|
|
4245
|
+
Xe.Tfoot = Sa;
|
|
4246
|
+
Xe.Caption = xa;
|
|
4247
|
+
Xe.ScrollContainer = Oa;
|
|
4244
4248
|
const Xc = "Tabs-module__root___-VKVI", Jc = "Tabs-module__list___qRVME", Qc = "Tabs-module__tab___IdDYc", ed = "Tabs-module__panel___08i9c", Bo = {
|
|
4245
4249
|
root: Xc,
|
|
4246
4250
|
list: Jc,
|
|
@@ -4253,7 +4257,7 @@ const Xc = "Tabs-module__root___-VKVI", Jc = "Tabs-module__list___qRVME", Qc = "
|
|
|
4253
4257
|
overStyled: s = !1,
|
|
4254
4258
|
className: l,
|
|
4255
4259
|
...i
|
|
4256
|
-
} = e, c = u(i, s), d = c, m =
|
|
4260
|
+
} = e, c = u(i, s), d = c, m = z(
|
|
4257
4261
|
{
|
|
4258
4262
|
list: Bo.list,
|
|
4259
4263
|
tab: Bo.tab,
|
|
@@ -4331,7 +4335,7 @@ const od = Object.assign(ka, {
|
|
|
4331
4335
|
);
|
|
4332
4336
|
});
|
|
4333
4337
|
Ma.displayName = "Text";
|
|
4334
|
-
const td =
|
|
4338
|
+
const td = ge(Ma), nd = "TextArea-module__layoutOverride___4MCdm", ad = "TextArea-module__root___3dyeu", rd = "TextArea-module__input___8l36v", Fo = {
|
|
4335
4339
|
layoutOverride: nd,
|
|
4336
4340
|
root: ad,
|
|
4337
4341
|
input: rd
|
|
@@ -4355,35 +4359,35 @@ const td = Ce(Ma), nd = "TextArea-module__layoutOverride___4MCdm", ad = "TextAre
|
|
|
4355
4359
|
onLabelEditClick: d,
|
|
4356
4360
|
label: m,
|
|
4357
4361
|
assistiveText: p,
|
|
4358
|
-
assistiveWithIcon:
|
|
4362
|
+
assistiveWithIcon: T,
|
|
4359
4363
|
error: y,
|
|
4360
4364
|
required: v,
|
|
4361
4365
|
withAsterisk: h,
|
|
4362
4366
|
id: x,
|
|
4363
4367
|
className: N,
|
|
4364
4368
|
style: w,
|
|
4365
|
-
disabled:
|
|
4369
|
+
disabled: $,
|
|
4366
4370
|
readOnly: g,
|
|
4367
4371
|
readOnlyComponent: P,
|
|
4368
4372
|
emptyValueComponent: f,
|
|
4369
4373
|
value: b,
|
|
4370
4374
|
defaultValue: C,
|
|
4371
4375
|
...O
|
|
4372
|
-
} = e, R =
|
|
4376
|
+
} = e, R = F(
|
|
4373
4377
|
u(O, o),
|
|
4374
4378
|
sd
|
|
4375
|
-
), D = R,
|
|
4379
|
+
), D = R, M = z(
|
|
4376
4380
|
{
|
|
4377
4381
|
wrapper: Fo.root,
|
|
4378
4382
|
// The nested Input internal relative wrapper bounding box
|
|
4379
4383
|
input: Fo.input
|
|
4380
4384
|
},
|
|
4381
4385
|
D.classNames
|
|
4382
|
-
),
|
|
4386
|
+
), L = N ? `${Fo.layoutOverride} ${N}` : Fo.layoutOverride;
|
|
4383
4387
|
return /* @__PURE__ */ a(
|
|
4384
|
-
|
|
4388
|
+
ye,
|
|
4385
4389
|
{
|
|
4386
|
-
className:
|
|
4390
|
+
className: L,
|
|
4387
4391
|
style: w,
|
|
4388
4392
|
controlMaxWidth: "var(--textarea-control-max-width)",
|
|
4389
4393
|
controlMinWidth: "var(--textarea-control-min-width)",
|
|
@@ -4396,7 +4400,7 @@ const td = Ce(Ma), nd = "TextArea-module__layoutOverride___4MCdm", ad = "TextAre
|
|
|
4396
4400
|
onLabelEditClick: d,
|
|
4397
4401
|
label: m,
|
|
4398
4402
|
assistiveText: p,
|
|
4399
|
-
assistiveWithIcon:
|
|
4403
|
+
assistiveWithIcon: T,
|
|
4400
4404
|
error: y,
|
|
4401
4405
|
required: v,
|
|
4402
4406
|
withAsterisk: h,
|
|
@@ -4414,8 +4418,8 @@ const td = Ce(Ma), nd = "TextArea-module__layoutOverride___4MCdm", ad = "TextAre
|
|
|
4414
4418
|
{
|
|
4415
4419
|
ref: n,
|
|
4416
4420
|
...R,
|
|
4417
|
-
classNames:
|
|
4418
|
-
disabled:
|
|
4421
|
+
classNames: M,
|
|
4422
|
+
disabled: $,
|
|
4419
4423
|
value: b,
|
|
4420
4424
|
defaultValue: C,
|
|
4421
4425
|
label: void 0,
|
|
@@ -4456,24 +4460,24 @@ const ld = "TextField-module__layoutOverride___SNZqc", id = "TextField-module__r
|
|
|
4456
4460
|
onLabelEditClick: d,
|
|
4457
4461
|
label: m,
|
|
4458
4462
|
assistiveText: p,
|
|
4459
|
-
assistiveWithIcon:
|
|
4463
|
+
assistiveWithIcon: T,
|
|
4460
4464
|
error: y,
|
|
4461
4465
|
required: v,
|
|
4462
4466
|
withAsterisk: h,
|
|
4463
4467
|
id: x,
|
|
4464
4468
|
className: N,
|
|
4465
4469
|
style: w,
|
|
4466
|
-
disabled:
|
|
4470
|
+
disabled: $,
|
|
4467
4471
|
readOnly: g,
|
|
4468
4472
|
readOnlyComponent: P,
|
|
4469
4473
|
emptyValueComponent: f,
|
|
4470
4474
|
value: b,
|
|
4471
4475
|
defaultValue: C,
|
|
4472
4476
|
...O
|
|
4473
|
-
} = e, R =
|
|
4477
|
+
} = e, R = F(
|
|
4474
4478
|
u(O, o),
|
|
4475
4479
|
ud
|
|
4476
|
-
), D = R,
|
|
4480
|
+
), D = R, M = z(
|
|
4477
4481
|
{
|
|
4478
4482
|
wrapper: Ro.root,
|
|
4479
4483
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -4481,11 +4485,11 @@ const ld = "TextField-module__layoutOverride___SNZqc", id = "TextField-module__r
|
|
|
4481
4485
|
section: Ro.section
|
|
4482
4486
|
},
|
|
4483
4487
|
D.classNames
|
|
4484
|
-
),
|
|
4488
|
+
), L = N ? `${Ro.layoutOverride} ${N}` : Ro.layoutOverride;
|
|
4485
4489
|
return /* @__PURE__ */ a(
|
|
4486
|
-
|
|
4490
|
+
ye,
|
|
4487
4491
|
{
|
|
4488
|
-
className:
|
|
4492
|
+
className: L,
|
|
4489
4493
|
style: w,
|
|
4490
4494
|
controlMaxWidth: "var(--text-field-control-max-width)",
|
|
4491
4495
|
controlMinWidth: "var(--text-field-control-min-width)",
|
|
@@ -4498,7 +4502,7 @@ const ld = "TextField-module__layoutOverride___SNZqc", id = "TextField-module__r
|
|
|
4498
4502
|
onLabelEditClick: d,
|
|
4499
4503
|
label: m,
|
|
4500
4504
|
assistiveText: p,
|
|
4501
|
-
assistiveWithIcon:
|
|
4505
|
+
assistiveWithIcon: T,
|
|
4502
4506
|
error: y,
|
|
4503
4507
|
required: v,
|
|
4504
4508
|
withAsterisk: h,
|
|
@@ -4516,12 +4520,12 @@ const ld = "TextField-module__layoutOverride___SNZqc", id = "TextField-module__r
|
|
|
4516
4520
|
{
|
|
4517
4521
|
ref: n,
|
|
4518
4522
|
...R,
|
|
4519
|
-
classNames:
|
|
4520
|
-
disabled:
|
|
4523
|
+
classNames: M,
|
|
4524
|
+
disabled: $,
|
|
4521
4525
|
value: b,
|
|
4522
4526
|
defaultValue: C,
|
|
4523
4527
|
wrapperProps: {
|
|
4524
|
-
"data-disabled":
|
|
4528
|
+
"data-disabled": $ ? "true" : void 0,
|
|
4525
4529
|
"data-error": y ? "true" : void 0
|
|
4526
4530
|
}
|
|
4527
4531
|
}
|
|
@@ -4540,10 +4544,10 @@ const pd = [
|
|
|
4540
4544
|
"radius"
|
|
4541
4545
|
// Recursica does not expose the library's native corner-radius system.
|
|
4542
4546
|
], za = _(function(e, n) {
|
|
4543
|
-
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c =
|
|
4547
|
+
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = F(
|
|
4544
4548
|
u(i, o),
|
|
4545
4549
|
pd
|
|
4546
|
-
), d = c, m =
|
|
4550
|
+
), d = c, m = z(
|
|
4547
4551
|
{
|
|
4548
4552
|
wrapper: t ? `${ie.root} ${t}` : ie.root,
|
|
4549
4553
|
input: ie.input,
|
|
@@ -4554,7 +4558,7 @@ const pd = [
|
|
|
4554
4558
|
d.classNames
|
|
4555
4559
|
);
|
|
4556
4560
|
return /* @__PURE__ */ a(
|
|
4557
|
-
|
|
4561
|
+
Vt,
|
|
4558
4562
|
{
|
|
4559
4563
|
ref: n,
|
|
4560
4564
|
...c,
|
|
@@ -4628,14 +4632,14 @@ const Td = [
|
|
|
4628
4632
|
onLabelEditClick: d,
|
|
4629
4633
|
label: m,
|
|
4630
4634
|
assistiveText: p,
|
|
4631
|
-
assistiveWithIcon:
|
|
4635
|
+
assistiveWithIcon: T,
|
|
4632
4636
|
error: y,
|
|
4633
4637
|
required: v,
|
|
4634
4638
|
withAsterisk: h,
|
|
4635
4639
|
id: x,
|
|
4636
4640
|
className: N,
|
|
4637
4641
|
style: w,
|
|
4638
|
-
disabled:
|
|
4642
|
+
disabled: $,
|
|
4639
4643
|
readOnly: g,
|
|
4640
4644
|
readOnlyComponent: P,
|
|
4641
4645
|
emptyValueComponent: f,
|
|
@@ -4644,36 +4648,36 @@ const Td = [
|
|
|
4644
4648
|
onChange: O,
|
|
4645
4649
|
withSeconds: R,
|
|
4646
4650
|
minTime: D,
|
|
4647
|
-
maxTime:
|
|
4648
|
-
...
|
|
4649
|
-
} = e,
|
|
4650
|
-
u(
|
|
4651
|
+
maxTime: M,
|
|
4652
|
+
...L
|
|
4653
|
+
} = e, j = F(
|
|
4654
|
+
u(L, o),
|
|
4651
4655
|
Td
|
|
4652
|
-
),
|
|
4656
|
+
), V = j, [K, X] = ae(
|
|
4653
4657
|
() => b ?? C
|
|
4654
4658
|
);
|
|
4655
|
-
|
|
4656
|
-
b !== void 0 &&
|
|
4659
|
+
ke(() => {
|
|
4660
|
+
b !== void 0 && X(b);
|
|
4657
4661
|
}, [b]);
|
|
4658
|
-
const q =
|
|
4659
|
-
|
|
4662
|
+
const q = Ge(null);
|
|
4663
|
+
ke(() => {
|
|
4660
4664
|
zt(b ?? C) === void 0 && q.current && gd(q.current, "AM");
|
|
4661
4665
|
}, []);
|
|
4662
|
-
const
|
|
4663
|
-
|
|
4664
|
-
},
|
|
4665
|
-
|
|
4666
|
-
},
|
|
4667
|
-
if (
|
|
4668
|
-
const se =
|
|
4669
|
-
if (se ===
|
|
4670
|
-
const
|
|
4671
|
-
|
|
4672
|
-
},
|
|
4666
|
+
const J = (E) => {
|
|
4667
|
+
X(E), O == null || O(E);
|
|
4668
|
+
}, ne = zt(K), Te = ne !== void 0 && ne >= 12, W = (E) => {
|
|
4669
|
+
J(E);
|
|
4670
|
+
}, re = (E) => {
|
|
4671
|
+
if (ne === void 0 || !K || !E) return;
|
|
4672
|
+
const se = E === "PM";
|
|
4673
|
+
if (se === Te) return;
|
|
4674
|
+
const ve = se ? ne + 12 : ne - 12;
|
|
4675
|
+
J(Cd(K, ve));
|
|
4676
|
+
}, he = N ? `${to.layoutOverride} ${N}` : to.layoutOverride;
|
|
4673
4677
|
return /* @__PURE__ */ a(
|
|
4674
|
-
|
|
4678
|
+
ye,
|
|
4675
4679
|
{
|
|
4676
|
-
className:
|
|
4680
|
+
className: he,
|
|
4677
4681
|
style: w,
|
|
4678
4682
|
controlMaxWidth: void 0,
|
|
4679
4683
|
controlMinWidth: void 0,
|
|
@@ -4686,7 +4690,7 @@ const Td = [
|
|
|
4686
4690
|
onLabelEditClick: d,
|
|
4687
4691
|
label: m,
|
|
4688
4692
|
assistiveText: p,
|
|
4689
|
-
assistiveWithIcon:
|
|
4693
|
+
assistiveWithIcon: T,
|
|
4690
4694
|
error: y,
|
|
4691
4695
|
required: v,
|
|
4692
4696
|
withAsterisk: h,
|
|
@@ -4705,34 +4709,34 @@ const Td = [
|
|
|
4705
4709
|
choice (see TIMEPICKER_IMPLEMENTATION_NOTES.md). Mantine's own native AM/PM <select>
|
|
4706
4710
|
(bundled unconditionally with format="12h") is CSS-hidden; our own BareDropdown next to
|
|
4707
4711
|
it is the only AM/PM control the user interacts with. */
|
|
4708
|
-
/* @__PURE__ */
|
|
4712
|
+
/* @__PURE__ */ A(
|
|
4709
4713
|
"div",
|
|
4710
4714
|
{
|
|
4711
4715
|
className: to.root,
|
|
4712
|
-
"data-disabled":
|
|
4716
|
+
"data-disabled": $ ? "true" : void 0,
|
|
4713
4717
|
"data-error": y ? "true" : void 0,
|
|
4714
4718
|
children: [
|
|
4715
4719
|
/* @__PURE__ */ a(
|
|
4716
4720
|
Cr,
|
|
4717
4721
|
{
|
|
4718
4722
|
ref: n,
|
|
4719
|
-
...
|
|
4720
|
-
classNames:
|
|
4723
|
+
...j,
|
|
4724
|
+
classNames: z(
|
|
4721
4725
|
{
|
|
4722
4726
|
wrapper: to.timeWrapper,
|
|
4723
4727
|
input: to.timeInput,
|
|
4724
4728
|
fieldsGroup: to.fieldsGroup,
|
|
4725
4729
|
field: to.timeField
|
|
4726
4730
|
},
|
|
4727
|
-
|
|
4731
|
+
V.classNames
|
|
4728
4732
|
),
|
|
4729
|
-
disabled:
|
|
4730
|
-
value:
|
|
4731
|
-
onChange:
|
|
4733
|
+
disabled: $,
|
|
4734
|
+
value: K,
|
|
4735
|
+
onChange: W,
|
|
4732
4736
|
format: "12h",
|
|
4733
4737
|
withSeconds: R,
|
|
4734
4738
|
min: D,
|
|
4735
|
-
max:
|
|
4739
|
+
max: M,
|
|
4736
4740
|
withDropdown: !1,
|
|
4737
4741
|
amPmRef: q
|
|
4738
4742
|
}
|
|
@@ -4744,9 +4748,9 @@ const Td = [
|
|
|
4744
4748
|
className: to.amPmSelect,
|
|
4745
4749
|
styles: { wrapper: { width: "fit-content" } },
|
|
4746
4750
|
data: bd,
|
|
4747
|
-
value:
|
|
4748
|
-
onChange:
|
|
4749
|
-
disabled:
|
|
4751
|
+
value: Te ? "PM" : "AM",
|
|
4752
|
+
onChange: re,
|
|
4753
|
+
disabled: $,
|
|
4750
4754
|
error: !!y,
|
|
4751
4755
|
"aria-label": "AM or PM"
|
|
4752
4756
|
}
|
|
@@ -4769,7 +4773,7 @@ const $d = "Timeline-module__root___LwRdZ", wd = "Timeline-module__item___T5xdQ"
|
|
|
4769
4773
|
itemContent: kd,
|
|
4770
4774
|
description: Rd,
|
|
4771
4775
|
timestamp: Id
|
|
4772
|
-
}, Tt =
|
|
4776
|
+
}, Tt = G.forwardRef(
|
|
4773
4777
|
function({
|
|
4774
4778
|
overStyled: e = !1,
|
|
4775
4779
|
timestamp: n,
|
|
@@ -4777,7 +4781,7 @@ const $d = "Timeline-module__root___LwRdZ", wd = "Timeline-module__item___T5xdQ"
|
|
|
4777
4781
|
children: t,
|
|
4778
4782
|
...s
|
|
4779
4783
|
}, l) {
|
|
4780
|
-
const i = u(s, e), c = i, d =
|
|
4784
|
+
const i = u(s, e), c = i, d = z(
|
|
4781
4785
|
{
|
|
4782
4786
|
item: no.item,
|
|
4783
4787
|
itemBody: no.itemBody,
|
|
@@ -4786,7 +4790,7 @@ const $d = "Timeline-module__root___LwRdZ", wd = "Timeline-module__item___T5xdQ"
|
|
|
4786
4790
|
itemTitle: no.itemTitle
|
|
4787
4791
|
},
|
|
4788
4792
|
c.classNames
|
|
4789
|
-
), m = n ? /* @__PURE__ */
|
|
4793
|
+
), m = n ? /* @__PURE__ */ A(No, { children: [
|
|
4790
4794
|
t && /* @__PURE__ */ a("div", { className: no.description, children: t }),
|
|
4791
4795
|
/* @__PURE__ */ a("div", { className: no.timestamp, children: n })
|
|
4792
4796
|
] }) : t;
|
|
@@ -4803,9 +4807,9 @@ const $d = "Timeline-module__root___LwRdZ", wd = "Timeline-module__item___T5xdQ"
|
|
|
4803
4807
|
}
|
|
4804
4808
|
);
|
|
4805
4809
|
Tt.displayName = "TimelineItem";
|
|
4806
|
-
const Da =
|
|
4810
|
+
const Da = G.forwardRef(
|
|
4807
4811
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4808
|
-
const t = u(n, e), s = t, l =
|
|
4812
|
+
const t = u(n, e), s = t, l = z(
|
|
4809
4813
|
{ root: no.root },
|
|
4810
4814
|
s.classNames
|
|
4811
4815
|
);
|
|
@@ -4826,7 +4830,7 @@ const Ba = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
|
4826
4830
|
const s = [
|
|
4827
4831
|
"size"
|
|
4828
4832
|
// Recursica controls Title sizing via the `order` prop + typography tokens, not Mantine's native `size`.
|
|
4829
|
-
], l =
|
|
4833
|
+
], l = F(
|
|
4830
4834
|
u(o, e),
|
|
4831
4835
|
s
|
|
4832
4836
|
), i = l.className, c = `recursica_brand_typography_h${n}`, d = i ? `${c} ${i}` : c;
|
|
@@ -4841,7 +4845,7 @@ const Ba = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
|
4841
4845
|
);
|
|
4842
4846
|
});
|
|
4843
4847
|
Ba.displayName = "Title";
|
|
4844
|
-
const Ld = "Toast-module__root___MUvfI", Md = "Toast-module__icon___VwvE1", Ad = "Toast-module__loader___8Gxd-", zd = "Toast-module__title___-H6R2", Wd = "Toast-module__description___-QwfC", Dd = "Toast-module__closeButton___vGr7g", Ed = "Toast-module__body___VLkXA",
|
|
4848
|
+
const Ld = "Toast-module__root___MUvfI", Md = "Toast-module__icon___VwvE1", Ad = "Toast-module__loader___8Gxd-", zd = "Toast-module__title___-H6R2", Wd = "Toast-module__description___-QwfC", Dd = "Toast-module__closeButton___vGr7g", Ed = "Toast-module__body___VLkXA", ho = {
|
|
4845
4849
|
root: Ld,
|
|
4846
4850
|
icon: Md,
|
|
4847
4851
|
loader: Ad,
|
|
@@ -4849,7 +4853,7 @@ const Ld = "Toast-module__root___MUvfI", Md = "Toast-module__icon___VwvE1", Ad =
|
|
|
4849
4853
|
description: Wd,
|
|
4850
4854
|
closeButton: Dd,
|
|
4851
4855
|
body: Ed
|
|
4852
|
-
}, Fa =
|
|
4856
|
+
}, Fa = G.forwardRef(
|
|
4853
4857
|
function({
|
|
4854
4858
|
overStyled: e = !1,
|
|
4855
4859
|
variant: n = "default",
|
|
@@ -4863,18 +4867,18 @@ const Ld = "Toast-module__root___MUvfI", Md = "Toast-module__icon___VwvE1", Ad =
|
|
|
4863
4867
|
// Toast corner radius is controlled by design tokens, not a raw radius prop.
|
|
4864
4868
|
"loading"
|
|
4865
4869
|
// Toast never renders a loading state; always forced off via `loading={false}` below.
|
|
4866
|
-
], i =
|
|
4870
|
+
], i = F(
|
|
4867
4871
|
u(t, e),
|
|
4868
4872
|
l
|
|
4869
|
-
), c =
|
|
4873
|
+
), c = z(
|
|
4870
4874
|
{
|
|
4871
|
-
root:
|
|
4872
|
-
body:
|
|
4873
|
-
title:
|
|
4874
|
-
description:
|
|
4875
|
-
closeButton:
|
|
4876
|
-
icon:
|
|
4877
|
-
loader:
|
|
4875
|
+
root: ho.root,
|
|
4876
|
+
body: ho.body,
|
|
4877
|
+
title: ho.title,
|
|
4878
|
+
description: ho.description,
|
|
4879
|
+
closeButton: ho.closeButton,
|
|
4880
|
+
icon: ho.icon,
|
|
4881
|
+
loader: ho.loader
|
|
4878
4882
|
},
|
|
4879
4883
|
i.classNames
|
|
4880
4884
|
);
|
|
@@ -4907,7 +4911,7 @@ const Bd = "Tooltip-module__tooltip___UA7H9", Fd = "Tooltip-module__arrow___4zRO
|
|
|
4907
4911
|
arrowSize: t = 16,
|
|
4908
4912
|
...s
|
|
4909
4913
|
}) {
|
|
4910
|
-
const l = u(s, e), i = l, c =
|
|
4914
|
+
const l = u(s, e), i = l, c = z(
|
|
4911
4915
|
{
|
|
4912
4916
|
tooltip: Wt.tooltip,
|
|
4913
4917
|
arrow: Wt.arrow
|
|
@@ -4927,7 +4931,7 @@ const Bd = "Tooltip-module__tooltip___UA7H9", Fd = "Tooltip-module__arrow___4zRO
|
|
|
4927
4931
|
);
|
|
4928
4932
|
};
|
|
4929
4933
|
Ua.displayName = "Tooltip";
|
|
4930
|
-
const
|
|
4934
|
+
const Va = _(
|
|
4931
4935
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4932
4936
|
const t = u(n, e);
|
|
4933
4937
|
return /* @__PURE__ */ a(
|
|
@@ -4939,14 +4943,14 @@ const Ga = _(
|
|
|
4939
4943
|
);
|
|
4940
4944
|
}
|
|
4941
4945
|
);
|
|
4942
|
-
|
|
4946
|
+
Va.displayName = "TooltipFloating";
|
|
4943
4947
|
const $t = Ua;
|
|
4944
|
-
$t.Floating =
|
|
4948
|
+
$t.Floating = Va;
|
|
4945
4949
|
$t.Group = ct.Group;
|
|
4946
|
-
const Ud = "TransferList-module__layoutOverride___nkb32",
|
|
4950
|
+
const Ud = "TransferList-module__layoutOverride___nkb32", Vd = "TransferList-module__root___ikjI7", Gd = "TransferList-module__panes___dtwkW", Hd = "TransferList-module__pane___hy-kC", jd = "TransferList-module__paneHeader___HZrKX", qd = "TransferList-module__paneSearch___Xji-g", Kd = "TransferList-module__paneList___v0rcJ", Yd = "TransferList-module__emptyState___azPw-", Zd = "TransferList-module__transferColumn___3R2Ki", Xd = "TransferList-module__chevron___l-KdI", Pe = {
|
|
4947
4951
|
layoutOverride: Ud,
|
|
4948
|
-
root:
|
|
4949
|
-
panes:
|
|
4952
|
+
root: Vd,
|
|
4953
|
+
panes: Gd,
|
|
4950
4954
|
pane: Hd,
|
|
4951
4955
|
paneHeader: jd,
|
|
4952
4956
|
paneSearch: qd,
|
|
@@ -4959,7 +4963,7 @@ function Dt({ direction: r }) {
|
|
|
4959
4963
|
return /* @__PURE__ */ a(
|
|
4960
4964
|
"svg",
|
|
4961
4965
|
{
|
|
4962
|
-
className:
|
|
4966
|
+
className: Pe.chevron,
|
|
4963
4967
|
"data-direction": r,
|
|
4964
4968
|
viewBox: "0 0 16 16",
|
|
4965
4969
|
width: "1em",
|
|
@@ -4978,7 +4982,7 @@ function Et({ direction: r }) {
|
|
|
4978
4982
|
return /* @__PURE__ */ a(
|
|
4979
4983
|
"svg",
|
|
4980
4984
|
{
|
|
4981
|
-
className:
|
|
4985
|
+
className: Pe.chevron,
|
|
4982
4986
|
"data-direction": r,
|
|
4983
4987
|
viewBox: "0 0 16 16",
|
|
4984
4988
|
width: "1em",
|
|
@@ -5000,7 +5004,7 @@ function Jd(r) {
|
|
|
5000
5004
|
o.group ? (e[t = o.group] ?? (e[t] = [])).push(o) : n.push(o);
|
|
5001
5005
|
}), { groups: e, ungrouped: n };
|
|
5002
5006
|
}
|
|
5003
|
-
const
|
|
5007
|
+
const Ga = _(
|
|
5004
5008
|
function(e, n) {
|
|
5005
5009
|
const {
|
|
5006
5010
|
overStyled: o = !1,
|
|
@@ -5013,14 +5017,14 @@ const Va = _(
|
|
|
5013
5017
|
labelActionArea: d,
|
|
5014
5018
|
onLabelEditClick: m,
|
|
5015
5019
|
label: p,
|
|
5016
|
-
assistiveText:
|
|
5020
|
+
assistiveText: T,
|
|
5017
5021
|
description: y,
|
|
5018
5022
|
helperText: v,
|
|
5019
5023
|
assistiveWithIcon: h,
|
|
5020
5024
|
error: x,
|
|
5021
5025
|
required: N,
|
|
5022
5026
|
id: w,
|
|
5023
|
-
readOnly:
|
|
5027
|
+
readOnly: $,
|
|
5024
5028
|
readOnlyComponent: g,
|
|
5025
5029
|
emptyValueComponent: P,
|
|
5026
5030
|
data: f,
|
|
@@ -5029,118 +5033,118 @@ const Va = _(
|
|
|
5029
5033
|
sourceLabel: O = "Available",
|
|
5030
5034
|
targetLabel: R = "Selected",
|
|
5031
5035
|
searchable: D = !0,
|
|
5032
|
-
searchPlaceholder:
|
|
5033
|
-
disabled:
|
|
5034
|
-
className:
|
|
5035
|
-
style:
|
|
5036
|
-
...
|
|
5037
|
-
} = e,
|
|
5036
|
+
searchPlaceholder: M = "Filter items...",
|
|
5037
|
+
disabled: L = !1,
|
|
5038
|
+
className: j,
|
|
5039
|
+
style: V,
|
|
5040
|
+
...K
|
|
5041
|
+
} = e, X = u(K, o), q = Bt(), J = w || `recursica-transfer-list-${q}`, [ne, Te] = ae(
|
|
5038
5042
|
() => b ?? f ?? [[], []]
|
|
5039
|
-
),
|
|
5043
|
+
), W = f !== void 0 ? f : ne, re = mo(
|
|
5040
5044
|
(B) => {
|
|
5041
|
-
f === void 0 &&
|
|
5045
|
+
f === void 0 && Te(B), C == null || C(B);
|
|
5042
5046
|
},
|
|
5043
5047
|
[f, C]
|
|
5044
|
-
), [
|
|
5048
|
+
), [he, E] = ae(""), [se, ve] = ae(""), [ce, ue] = ae(
|
|
5045
5049
|
() => /* @__PURE__ */ new Set()
|
|
5046
|
-
), [
|
|
5050
|
+
), [Ne, $e] = ae(
|
|
5047
5051
|
() => /* @__PURE__ */ new Set()
|
|
5048
|
-
),
|
|
5049
|
-
if (!
|
|
5050
|
-
const B =
|
|
5051
|
-
return
|
|
5052
|
-
(
|
|
5052
|
+
), Ee = kt(() => {
|
|
5053
|
+
if (!he) return W[0];
|
|
5054
|
+
const B = he.toLowerCase();
|
|
5055
|
+
return W[0].filter(
|
|
5056
|
+
(Z) => Z.label.toLowerCase().includes(B)
|
|
5053
5057
|
);
|
|
5054
|
-
}, [
|
|
5055
|
-
if (!se) return
|
|
5058
|
+
}, [W, he]), we = kt(() => {
|
|
5059
|
+
if (!se) return W[1];
|
|
5056
5060
|
const B = se.toLowerCase();
|
|
5057
|
-
return
|
|
5058
|
-
(
|
|
5061
|
+
return W[1].filter(
|
|
5062
|
+
(Z) => Z.label.toLowerCase().includes(B)
|
|
5059
5063
|
);
|
|
5060
|
-
}, [
|
|
5061
|
-
if (
|
|
5062
|
-
const B =
|
|
5063
|
-
(
|
|
5064
|
-
),
|
|
5065
|
-
(
|
|
5064
|
+
}, [W, se]), io = mo(() => {
|
|
5065
|
+
if (ce.size === 0) return;
|
|
5066
|
+
const B = W[0].filter(
|
|
5067
|
+
(U) => !ce.has(U.value)
|
|
5068
|
+
), Z = W[0].filter(
|
|
5069
|
+
(U) => ce.has(U.value)
|
|
5066
5070
|
);
|
|
5067
|
-
|
|
5068
|
-
}, [
|
|
5069
|
-
if (
|
|
5070
|
-
const B =
|
|
5071
|
-
(
|
|
5072
|
-
),
|
|
5073
|
-
(
|
|
5071
|
+
ue(/* @__PURE__ */ new Set()), re([B, [...W[1], ...Z]]);
|
|
5072
|
+
}, [W, ce, re]), Be = mo(() => {
|
|
5073
|
+
if (Ne.size === 0) return;
|
|
5074
|
+
const B = W[1].filter(
|
|
5075
|
+
(U) => !Ne.has(U.value)
|
|
5076
|
+
), Z = W[1].filter(
|
|
5077
|
+
(U) => Ne.has(U.value)
|
|
5074
5078
|
);
|
|
5075
|
-
|
|
5076
|
-
}, [
|
|
5077
|
-
|
|
5078
|
-
}, [
|
|
5079
|
-
|
|
5080
|
-
}, [
|
|
5081
|
-
|
|
5082
|
-
const
|
|
5083
|
-
return
|
|
5079
|
+
$e(/* @__PURE__ */ new Set()), re([[...W[0], ...Z], B]);
|
|
5080
|
+
}, [W, Ne, re]), co = mo(() => {
|
|
5081
|
+
W[0].length !== 0 && (ue(/* @__PURE__ */ new Set()), re([[], [...W[1], ...W[0]]]));
|
|
5082
|
+
}, [W, re]), uo = mo(() => {
|
|
5083
|
+
W[1].length !== 0 && ($e(/* @__PURE__ */ new Set()), re([[...W[0], ...W[1]], []]));
|
|
5084
|
+
}, [W, re]), Re = mo((B) => {
|
|
5085
|
+
ue((Z) => {
|
|
5086
|
+
const U = new Set(Z);
|
|
5087
|
+
return U.has(B) ? U.delete(B) : U.add(B), U;
|
|
5084
5088
|
});
|
|
5085
|
-
}, []),
|
|
5086
|
-
|
|
5087
|
-
const
|
|
5088
|
-
return
|
|
5089
|
+
}, []), Se = mo((B) => {
|
|
5090
|
+
$e((Z) => {
|
|
5091
|
+
const U = new Set(Z);
|
|
5092
|
+
return U.has(B) ? U.delete(B) : U.add(B), U;
|
|
5089
5093
|
});
|
|
5090
|
-
}, []),
|
|
5091
|
-
const { groups:
|
|
5092
|
-
return /* @__PURE__ */
|
|
5093
|
-
/* @__PURE__ */
|
|
5094
|
-
/* @__PURE__ */ a("span", { children:
|
|
5095
|
-
/* @__PURE__ */ a(tn, { children:
|
|
5094
|
+
}, []), be = (B, Z, U, I, H, Q, pe, Je) => {
|
|
5095
|
+
const { groups: po, ungrouped: S } = Jd(U), ee = Object.keys(po).sort(), oe = H.size > 0 ? `${H.size} / ${I.length}` : `${I.length}`;
|
|
5096
|
+
return /* @__PURE__ */ A("div", { className: Pe.pane, "data-pane": B, children: [
|
|
5097
|
+
/* @__PURE__ */ A("div", { className: Pe.paneHeader, children: [
|
|
5098
|
+
/* @__PURE__ */ a("span", { children: Z }),
|
|
5099
|
+
/* @__PURE__ */ a(tn, { children: oe })
|
|
5096
5100
|
] }),
|
|
5097
|
-
D && /* @__PURE__ */ a("div", { className:
|
|
5101
|
+
D && /* @__PURE__ */ a("div", { className: Pe.paneSearch, children: /* @__PURE__ */ a(
|
|
5098
5102
|
gt,
|
|
5099
5103
|
{
|
|
5100
|
-
value:
|
|
5101
|
-
onChange: (
|
|
5102
|
-
placeholder:
|
|
5103
|
-
disabled:
|
|
5104
|
-
"aria-label": `Filter ${
|
|
5104
|
+
value: pe,
|
|
5105
|
+
onChange: (Y) => Je(Y.currentTarget.value),
|
|
5106
|
+
placeholder: M,
|
|
5107
|
+
disabled: L,
|
|
5108
|
+
"aria-label": `Filter ${Z.toLowerCase()}`
|
|
5105
5109
|
}
|
|
5106
5110
|
) }),
|
|
5107
|
-
/* @__PURE__ */
|
|
5108
|
-
|
|
5109
|
-
S.length > 0 && /* @__PURE__ */ a(Io, { children: S.map((
|
|
5111
|
+
/* @__PURE__ */ A("div", { className: Pe.paneList, children: [
|
|
5112
|
+
U.length === 0 && /* @__PURE__ */ a("div", { className: Pe.emptyState, children: "No items" }),
|
|
5113
|
+
S.length > 0 && /* @__PURE__ */ a(Io, { children: S.map((Y) => /* @__PURE__ */ a(
|
|
5110
5114
|
Lo,
|
|
5111
5115
|
{
|
|
5112
|
-
id: `${
|
|
5113
|
-
label:
|
|
5114
|
-
checked:
|
|
5115
|
-
onChange: () =>
|
|
5116
|
-
disabled:
|
|
5116
|
+
id: `${J}-${B}-${Y.value}`,
|
|
5117
|
+
label: Y.label,
|
|
5118
|
+
checked: H.has(Y.value),
|
|
5119
|
+
onChange: () => Q(Y.value),
|
|
5120
|
+
disabled: L
|
|
5117
5121
|
},
|
|
5118
|
-
|
|
5122
|
+
Y.value
|
|
5119
5123
|
)) }),
|
|
5120
|
-
|
|
5124
|
+
ee.map((Y) => /* @__PURE__ */ a(
|
|
5121
5125
|
Io,
|
|
5122
5126
|
{
|
|
5123
|
-
label:
|
|
5127
|
+
label: Y,
|
|
5124
5128
|
labelSize: "small",
|
|
5125
|
-
children:
|
|
5129
|
+
children: po[Y].map((me) => /* @__PURE__ */ a(
|
|
5126
5130
|
Lo,
|
|
5127
5131
|
{
|
|
5128
|
-
id: `${
|
|
5129
|
-
label:
|
|
5130
|
-
checked:
|
|
5131
|
-
onChange: () =>
|
|
5132
|
-
disabled:
|
|
5132
|
+
id: `${J}-${B}-${me.value}`,
|
|
5133
|
+
label: me.label,
|
|
5134
|
+
checked: H.has(me.value),
|
|
5135
|
+
onChange: () => Q(me.value),
|
|
5136
|
+
disabled: L
|
|
5133
5137
|
},
|
|
5134
|
-
|
|
5138
|
+
me.value
|
|
5135
5139
|
))
|
|
5136
5140
|
},
|
|
5137
|
-
|
|
5141
|
+
Y
|
|
5138
5142
|
))
|
|
5139
5143
|
] })
|
|
5140
5144
|
] });
|
|
5141
|
-
},
|
|
5145
|
+
}, Fe = j ? `${Pe.layoutOverride} ${j}` : Pe.layoutOverride;
|
|
5142
5146
|
return /* @__PURE__ */ a(
|
|
5143
|
-
|
|
5147
|
+
ye,
|
|
5144
5148
|
{
|
|
5145
5149
|
ref: n,
|
|
5146
5150
|
formLayout: t,
|
|
@@ -5151,41 +5155,41 @@ const Va = _(
|
|
|
5151
5155
|
labelActionArea: d,
|
|
5152
5156
|
onLabelEditClick: m,
|
|
5153
5157
|
label: p,
|
|
5154
|
-
assistiveText:
|
|
5158
|
+
assistiveText: T,
|
|
5155
5159
|
description: y,
|
|
5156
5160
|
helperText: v,
|
|
5157
5161
|
assistiveWithIcon: h,
|
|
5158
5162
|
error: x,
|
|
5159
5163
|
required: N,
|
|
5160
|
-
id:
|
|
5161
|
-
className:
|
|
5162
|
-
style:
|
|
5164
|
+
id: J,
|
|
5165
|
+
className: Fe,
|
|
5166
|
+
style: V,
|
|
5163
5167
|
overStyled: o,
|
|
5164
|
-
readOnly:
|
|
5168
|
+
readOnly: $,
|
|
5165
5169
|
readOnlyComponent: g,
|
|
5166
5170
|
emptyValueComponent: P,
|
|
5167
5171
|
readOnlyType: "text",
|
|
5168
|
-
readOnlyValue:
|
|
5172
|
+
readOnlyValue: W[1].map((B) => B.label),
|
|
5169
5173
|
readOnlyNativeProps: e,
|
|
5170
5174
|
activeComponent: /* @__PURE__ */ a(
|
|
5171
5175
|
"div",
|
|
5172
5176
|
{
|
|
5173
|
-
...
|
|
5174
|
-
className:
|
|
5175
|
-
"data-disabled":
|
|
5177
|
+
...X,
|
|
5178
|
+
className: Pe.root,
|
|
5179
|
+
"data-disabled": L ? "true" : void 0,
|
|
5176
5180
|
"data-error": x ? "true" : void 0,
|
|
5177
|
-
children: /* @__PURE__ */
|
|
5178
|
-
|
|
5181
|
+
children: /* @__PURE__ */ A("div", { className: Pe.panes, children: [
|
|
5182
|
+
be(
|
|
5179
5183
|
"source",
|
|
5180
5184
|
O,
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
pe,
|
|
5184
|
-
Xe,
|
|
5185
|
+
Ee,
|
|
5186
|
+
W[0],
|
|
5185
5187
|
ce,
|
|
5186
|
-
|
|
5188
|
+
Re,
|
|
5189
|
+
he,
|
|
5190
|
+
E
|
|
5187
5191
|
),
|
|
5188
|
-
/* @__PURE__ */
|
|
5192
|
+
/* @__PURE__ */ A("div", { className: Pe.transferColumn, children: [
|
|
5189
5193
|
/* @__PURE__ */ a(
|
|
5190
5194
|
so,
|
|
5191
5195
|
{
|
|
@@ -5193,8 +5197,8 @@ const Va = _(
|
|
|
5193
5197
|
size: "small",
|
|
5194
5198
|
icon: /* @__PURE__ */ a(Et, { direction: "right" }),
|
|
5195
5199
|
"aria-label": `Move all to ${R}`,
|
|
5196
|
-
disabled:
|
|
5197
|
-
onClick:
|
|
5200
|
+
disabled: L || W[0].length === 0,
|
|
5201
|
+
onClick: co
|
|
5198
5202
|
}
|
|
5199
5203
|
),
|
|
5200
5204
|
/* @__PURE__ */ a(
|
|
@@ -5204,8 +5208,8 @@ const Va = _(
|
|
|
5204
5208
|
size: "small",
|
|
5205
5209
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5206
5210
|
"aria-label": `Move selected to ${R}`,
|
|
5207
|
-
disabled:
|
|
5208
|
-
onClick:
|
|
5211
|
+
disabled: L || ce.size === 0,
|
|
5212
|
+
onClick: io
|
|
5209
5213
|
}
|
|
5210
5214
|
),
|
|
5211
5215
|
/* @__PURE__ */ a(
|
|
@@ -5215,8 +5219,8 @@ const Va = _(
|
|
|
5215
5219
|
size: "small",
|
|
5216
5220
|
icon: /* @__PURE__ */ a(Dt, { direction: "left" }),
|
|
5217
5221
|
"aria-label": `Move selected to ${O}`,
|
|
5218
|
-
disabled:
|
|
5219
|
-
onClick:
|
|
5222
|
+
disabled: L || Ne.size === 0,
|
|
5223
|
+
onClick: Be
|
|
5220
5224
|
}
|
|
5221
5225
|
),
|
|
5222
5226
|
/* @__PURE__ */ a(
|
|
@@ -5226,20 +5230,20 @@ const Va = _(
|
|
|
5226
5230
|
size: "small",
|
|
5227
5231
|
icon: /* @__PURE__ */ a(Et, { direction: "left" }),
|
|
5228
5232
|
"aria-label": `Move all to ${O}`,
|
|
5229
|
-
disabled:
|
|
5230
|
-
onClick:
|
|
5233
|
+
disabled: L || W[1].length === 0,
|
|
5234
|
+
onClick: uo
|
|
5231
5235
|
}
|
|
5232
5236
|
)
|
|
5233
5237
|
] }),
|
|
5234
|
-
|
|
5238
|
+
be(
|
|
5235
5239
|
"target",
|
|
5236
5240
|
R,
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
+
we,
|
|
5242
|
+
W[1],
|
|
5243
|
+
Ne,
|
|
5244
|
+
Se,
|
|
5241
5245
|
se,
|
|
5242
|
-
|
|
5246
|
+
ve
|
|
5243
5247
|
)
|
|
5244
5248
|
] })
|
|
5245
5249
|
}
|
|
@@ -5248,7 +5252,7 @@ const Va = _(
|
|
|
5248
5252
|
);
|
|
5249
5253
|
}
|
|
5250
5254
|
);
|
|
5251
|
-
|
|
5255
|
+
Ga.displayName = "TransferList";
|
|
5252
5256
|
const Qd = "Tree-module__root___ANcH3", eu = "Tree-module__subtree___KoLT8", ou = "Tree-module__node___Hvnjg", tu = "Tree-module__row___sq5ff", nu = "Tree-module__label___zJDit", au = "Tree-module__expandButton___W0WTT", ru = "Tree-module__expandGlyph___w8dDQ", lo = {
|
|
5253
5257
|
root: Qd,
|
|
5254
5258
|
subtree: eu,
|
|
@@ -5285,7 +5289,7 @@ function lu(r) {
|
|
|
5285
5289
|
tree: l,
|
|
5286
5290
|
elementProps: i
|
|
5287
5291
|
}) {
|
|
5288
|
-
return /* @__PURE__ */
|
|
5292
|
+
return /* @__PURE__ */ A(
|
|
5289
5293
|
"div",
|
|
5290
5294
|
{
|
|
5291
5295
|
...i,
|
|
@@ -5327,20 +5331,20 @@ const Ha = _(function({
|
|
|
5327
5331
|
onSelectedChange: d,
|
|
5328
5332
|
...m
|
|
5329
5333
|
}, p) {
|
|
5330
|
-
const
|
|
5334
|
+
const T = u(m, e), y = hr({
|
|
5331
5335
|
initialExpandedState: o ? vr(n, o) : void 0,
|
|
5332
5336
|
initialSelectedState: t,
|
|
5333
5337
|
multiple: s,
|
|
5334
5338
|
onNodeExpand: i,
|
|
5335
5339
|
onNodeCollapse: c
|
|
5336
5340
|
});
|
|
5337
|
-
|
|
5341
|
+
ke(() => {
|
|
5338
5342
|
d == null || d(y.selectedState);
|
|
5339
5343
|
}, [y.selectedState, d]);
|
|
5340
|
-
const v =
|
|
5341
|
-
|
|
5342
|
-
const
|
|
5343
|
-
if (
|
|
5344
|
+
const v = G.useRef(null);
|
|
5345
|
+
ke(() => {
|
|
5346
|
+
const $ = v.current;
|
|
5347
|
+
if (!$) return;
|
|
5344
5348
|
const g = (P) => {
|
|
5345
5349
|
if (l || P.key !== "Enter" && P.key !== " ") return;
|
|
5346
5350
|
const f = P.target.closest(
|
|
@@ -5348,21 +5352,21 @@ const Ha = _(function({
|
|
|
5348
5352
|
), b = f == null ? void 0 : f.dataset.value;
|
|
5349
5353
|
b && (P.preventDefault(), y.select(b));
|
|
5350
5354
|
};
|
|
5351
|
-
return
|
|
5352
|
-
}, [y.select, l]),
|
|
5353
|
-
const
|
|
5354
|
-
if (
|
|
5355
|
+
return $.addEventListener("keydown", g), () => $.removeEventListener("keydown", g);
|
|
5356
|
+
}, [y.select, l]), ke(() => {
|
|
5357
|
+
const $ = v.current;
|
|
5358
|
+
if (!$ || !l) return;
|
|
5355
5359
|
const g = (P) => {
|
|
5356
5360
|
P.preventDefault(), P.stopPropagation();
|
|
5357
5361
|
};
|
|
5358
|
-
return
|
|
5362
|
+
return $.addEventListener("keydown", g, { capture: !0 }), () => $.removeEventListener("keydown", g, { capture: !0 });
|
|
5359
5363
|
}, [l]);
|
|
5360
|
-
const h = Pr(p, v), x =
|
|
5364
|
+
const h = Pr(p, v), x = T, N = x.className, w = N ? `${lo.root} ${N}` : lo.root;
|
|
5361
5365
|
return /* @__PURE__ */ a(
|
|
5362
5366
|
Nr,
|
|
5363
5367
|
{
|
|
5364
5368
|
ref: h,
|
|
5365
|
-
|
|
5369
|
+
...T,
|
|
5366
5370
|
data: n,
|
|
5367
5371
|
tree: y,
|
|
5368
5372
|
expandOnClick: !1,
|
|
@@ -5370,7 +5374,7 @@ const Ha = _(function({
|
|
|
5370
5374
|
expandOnSpace: !1,
|
|
5371
5375
|
renderNode: lu(l),
|
|
5372
5376
|
"data-disabled": l || void 0,
|
|
5373
|
-
classNames:
|
|
5377
|
+
classNames: z(
|
|
5374
5378
|
{ root: w, node: lo.node, subtree: lo.subtree },
|
|
5375
5379
|
x.classNames
|
|
5376
5380
|
)
|
|
@@ -5412,10 +5416,10 @@ const vu = Dl, Nu = Pn, bu = Cn, Cu = gn, Pu = bc, gu = mn, Tu = Kl, $u = td, wu
|
|
|
5412
5416
|
fn
|
|
5413
5417
|
), Uu = k(
|
|
5414
5418
|
yn
|
|
5415
|
-
), Gu = k(
|
|
5416
|
-
hn
|
|
5417
5419
|
), Vu = k(
|
|
5418
|
-
|
|
5420
|
+
hn
|
|
5421
|
+
), Gu = k(
|
|
5422
|
+
He
|
|
5419
5423
|
), Hu = k(
|
|
5420
5424
|
_t
|
|
5421
5425
|
), ju = k(
|
|
@@ -5423,15 +5427,15 @@ const vu = Dl, Nu = Pn, bu = Cn, Cu = gn, Pu = bc, gu = mn, Tu = Kl, $u = td, wu
|
|
|
5423
5427
|
), qu = k(
|
|
5424
5428
|
ut
|
|
5425
5429
|
), Ku = k(
|
|
5426
|
-
|
|
5430
|
+
bo
|
|
5427
5431
|
), Yu = k(
|
|
5428
|
-
|
|
5432
|
+
Ze
|
|
5429
5433
|
), Zu = k(
|
|
5430
5434
|
Hn
|
|
5431
5435
|
), Xu = k(
|
|
5432
|
-
ze
|
|
5433
|
-
), Ju = k(
|
|
5434
5436
|
We
|
|
5437
|
+
), Ju = k(
|
|
5438
|
+
De
|
|
5435
5439
|
), Qu = k(
|
|
5436
5440
|
ht
|
|
5437
5441
|
), ep = k(
|
|
@@ -5453,7 +5457,7 @@ const vu = Dl, Nu = Pn, bu = Cn, Cu = gn, Pu = bc, gu = mn, Tu = Kl, $u = td, wu
|
|
|
5453
5457
|
), ip = k(
|
|
5454
5458
|
Ct
|
|
5455
5459
|
), cp = k(
|
|
5456
|
-
|
|
5460
|
+
Xe
|
|
5457
5461
|
), dp = k(
|
|
5458
5462
|
od
|
|
5459
5463
|
), up = k(
|
|
@@ -5473,7 +5477,7 @@ const vu = Dl, Nu = Pn, bu = Cn, Cu = gn, Pu = bc, gu = mn, Tu = Kl, $u = td, wu
|
|
|
5473
5477
|
), vp = k(
|
|
5474
5478
|
$t
|
|
5475
5479
|
), Np = k(
|
|
5476
|
-
|
|
5480
|
+
Ga
|
|
5477
5481
|
), bp = k(
|
|
5478
5482
|
Ha
|
|
5479
5483
|
);
|
|
@@ -5495,16 +5499,16 @@ export {
|
|
|
5495
5499
|
gu as Container,
|
|
5496
5500
|
Bu as DatePicker,
|
|
5497
5501
|
Fu as Dropdown,
|
|
5498
|
-
|
|
5502
|
+
Vo as EmptyValueRenderer,
|
|
5499
5503
|
Uu as FileInput,
|
|
5500
|
-
|
|
5504
|
+
Vu as FileUpload,
|
|
5501
5505
|
vu as Flex,
|
|
5502
|
-
|
|
5506
|
+
Gu as FormControlLayout,
|
|
5503
5507
|
Nu as Grid,
|
|
5504
5508
|
bu as GridCol,
|
|
5505
5509
|
Cu as Group,
|
|
5506
5510
|
Hu as HoverCard,
|
|
5507
|
-
|
|
5511
|
+
vo as IS_DEV,
|
|
5508
5512
|
qu as Label,
|
|
5509
5513
|
qt as Layer,
|
|
5510
5514
|
Tu as Link,
|
|
@@ -5544,13 +5548,13 @@ export {
|
|
|
5544
5548
|
Zt as fileMatchesAccept,
|
|
5545
5549
|
Kt as injectOverStyledStyles,
|
|
5546
5550
|
_u as isGlobalOverStyledActive,
|
|
5547
|
-
|
|
5551
|
+
z as mergeClassNames,
|
|
5548
5552
|
xr as mergeStyles,
|
|
5549
|
-
|
|
5553
|
+
F as omitUnsupportedProps,
|
|
5550
5554
|
Yt as registerOverStyledConsoleCommand,
|
|
5551
5555
|
wr as toggleGlobalOverStyled,
|
|
5552
5556
|
Sr as useGlobalOverStyled,
|
|
5553
|
-
|
|
5557
|
+
de as withCallerOverride,
|
|
5554
5558
|
k as wrapComponent
|
|
5555
5559
|
};
|
|
5556
5560
|
//# sourceMappingURL=mantine-adapter.js.map
|