@recursica/adapter-mantine-v8 1.3.6 → 1.4.1
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 +12 -0
- package/dist/adapter-mantine-v8.cjs +2 -2
- package/dist/adapter-mantine-v8.cjs.map +1 -1
- package/dist/adapter-mantine-v8.css +1 -1
- package/dist/adapter-mantine-v8.js +1028 -1012
- package/dist/adapter-mantine-v8.js.map +1 -1
- package/dist/index.d.ts +10 -6
- package/package.json +2 -2
- package/src/components/Button/Button.stories.tsx +12 -0
- package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +4 -0
- package/src/components/Modal/Modal.tsx +23 -8
- package/src/components/Modal/USAGE.md +6 -0
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +9 -1
- package/src/components/Panel/Panel.module.css +105 -0
- package/src/components/Panel/Panel.stories.tsx +0 -8
- package/src/components/Panel/Panel.tsx +31 -8
- package/src/components/Panel/USAGE.md +9 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as r, Fragment as
|
|
2
|
-
import q, { forwardRef as
|
|
3
|
-
import { Accordion as Go, Input as Bt, Box as st, Autocomplete as Va, Avatar as Ha, createPolymorphicComponent as
|
|
1
|
+
import { jsx as r, Fragment as je, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import q, { forwardRef as y, createContext as at, Children as Ba, isValidElement as Fa, cloneElement as Ua, useContext as rt, useEffect as Ie, useState as ie, useId as Et, useRef as Fe, useCallback as mo, useMemo as wt } from "react";
|
|
3
|
+
import { Accordion as Go, Input as Bt, Box as st, Autocomplete as Va, Avatar as Ha, createPolymorphicComponent as we, Badge as Ga, Breadcrumbs as ja, Loader as qa, Button as Ka, Card as jo, Checkbox as Ft, Chip as Ya, Container as Za, Select as Ut, Flex as Xa, Grid as Vt, useRandomClassName as Qa, useMantineTheme as Ja, getSortedBreakpoints as er, InlineStyles as or, Group as tr, Title as nr, HoverCard as lt, Anchor as ar, Menu as Ae, Modal as ve, NumberInput as rr, Drawer as me, Popover as it, Radio as Ht, SegmentedControl as sr, RangeSlider as lr, Slider as ir, Stack as cr, Stepper as ct, Switch as Gt, CheckIcon as dr, CloseIcon as ur, Table as qe, Tabs as qo, Text as pr, Textarea as mr, TimelineItem as _r, Timeline as fr, Notification as yr, Tooltip as dt, useTree as hr, getTreeExpandedState as vr, Tree as br } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as Nr, getFormattedDate as gr, TimePicker as Cr } from "@mantine/dates";
|
|
5
5
|
import { usePagination as Pr, useMergedRef as Tr } from "@mantine/hooks";
|
|
6
6
|
const wr = "_root_1qhn7_3", Sr = "_contents_1qhn7_18", ho = {
|
|
7
7
|
root: wr,
|
|
8
8
|
contents: Sr
|
|
9
|
-
}, jt =
|
|
9
|
+
}, jt = y(function({ layer: a, contentsOnly: e, children: o, className: t, style: n, ...s }, l) {
|
|
10
10
|
const c = e ? t ? `${ho.root} ${ho.contents} ${t}` : `${ho.root} ${ho.contents}` : t ? `${ho.root} ${t}` : ho.root;
|
|
11
11
|
return /* @__PURE__ */ r(
|
|
12
12
|
"div",
|
|
@@ -24,7 +24,7 @@ jt.displayName = "Layer";
|
|
|
24
24
|
const Eo = ({ emptyText: a = "N/A" }) => /* @__PURE__ */ r(q.Fragment, { children: a });
|
|
25
25
|
Eo.displayName = "EmptyValueRenderer";
|
|
26
26
|
Eo.check = (a) => a == null || a === "" || Array.isArray(a) && a.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" },
|
|
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" }, He = (() => {
|
|
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
|
})(), et = /* @__PURE__ */ new Set();
|
|
44
44
|
let ro = !1;
|
|
45
45
|
function xr(a) {
|
|
46
|
-
if (!
|
|
46
|
+
if (!He)
|
|
47
47
|
return console.warn(
|
|
48
48
|
"[Recursica] overStyled highlight is disabled in production builds."
|
|
49
49
|
), !1;
|
|
@@ -56,22 +56,22 @@ function xr(a) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return et.forEach((e) => e()), ro;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
59
|
+
function cp() {
|
|
60
|
+
return He && ro;
|
|
61
61
|
}
|
|
62
62
|
function Or() {
|
|
63
63
|
const [a, e] = ie(ro);
|
|
64
|
-
return
|
|
65
|
-
if (!
|
|
64
|
+
return Ie(() => {
|
|
65
|
+
if (!He) return;
|
|
66
66
|
qt(), Kt();
|
|
67
67
|
const o = () => e(ro);
|
|
68
68
|
return et.add(o), () => {
|
|
69
69
|
et.delete(o);
|
|
70
70
|
};
|
|
71
|
-
}, []),
|
|
71
|
+
}, []), He && a;
|
|
72
72
|
}
|
|
73
73
|
function qt() {
|
|
74
|
-
if (!
|
|
74
|
+
if (!He) 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 qt() {
|
|
|
93
93
|
`, document.head.appendChild(e));
|
|
94
94
|
}
|
|
95
95
|
function Kt() {
|
|
96
|
-
if (!
|
|
96
|
+
if (!He) return;
|
|
97
97
|
if (typeof window > "u") {
|
|
98
98
|
console.warn(
|
|
99
99
|
"[Recursica] window is undefined. Cannot register console command."
|
|
@@ -108,13 +108,13 @@ function Kt() {
|
|
|
108
108
|
};
|
|
109
109
|
a(window), window.parent && window.parent !== window && a(window.parent);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Rr(a) {
|
|
112
112
|
const e = Ba.toArray(a), o = e.length - 1;
|
|
113
113
|
return e.map((t, n) => {
|
|
114
114
|
if (n !== o || !Fa(t))
|
|
115
115
|
return t;
|
|
116
116
|
const s = t.props, l = s.href !== void 0 || s.onClick !== void 0;
|
|
117
|
-
return
|
|
117
|
+
return He && l && console.warn(
|
|
118
118
|
`[Breadcrumb] The last item represents the current page and should be plain, non-interactive text (e.g. a <span>), not a link. Breadcrumb stripped its href/onClick and added aria-current="page", but this can't stop a custom Link component (e.g. a router Link) that navigates from its own internal handler rather than these props.`
|
|
119
119
|
), Ua(t, {
|
|
120
120
|
"aria-current": "page",
|
|
@@ -123,7 +123,7 @@ function kr(a) {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
const Yt = at(void 0);
|
|
126
|
-
function
|
|
126
|
+
function kr() {
|
|
127
127
|
const a = rt(Yt);
|
|
128
128
|
if (!a)
|
|
129
129
|
throw new Error(
|
|
@@ -132,24 +132,24 @@ function Rr() {
|
|
|
132
132
|
return a;
|
|
133
133
|
}
|
|
134
134
|
const St = "data-recursica-theme";
|
|
135
|
-
function
|
|
135
|
+
function dp({
|
|
136
136
|
children: a,
|
|
137
137
|
theme: e = "light",
|
|
138
138
|
initLayer0: o = !0,
|
|
139
139
|
manifest: t
|
|
140
140
|
}) {
|
|
141
|
-
|
|
141
|
+
Ie(() => {
|
|
142
142
|
const s = document.documentElement;
|
|
143
143
|
return s.setAttribute(St, e), () => {
|
|
144
144
|
s.removeAttribute(St);
|
|
145
145
|
};
|
|
146
|
-
}, [e]),
|
|
146
|
+
}, [e]), Ie(() => {
|
|
147
147
|
qt(), Kt();
|
|
148
148
|
}, []);
|
|
149
|
-
const n = o ? /* @__PURE__ */ r(jt, { layer: 0, children: a }) : /* @__PURE__ */ r(
|
|
149
|
+
const n = o ? /* @__PURE__ */ r(jt, { layer: 0, children: a }) : /* @__PURE__ */ r(je, { children: a });
|
|
150
150
|
return /* @__PURE__ */ r(Yt.Provider, { value: t, children: n });
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const up = [
|
|
153
153
|
"Accordion",
|
|
154
154
|
"AssistiveElement",
|
|
155
155
|
"Autocomplete",
|
|
@@ -204,7 +204,7 @@ const dp = [
|
|
|
204
204
|
"TransferList",
|
|
205
205
|
"Tree",
|
|
206
206
|
"Typography"
|
|
207
|
-
],
|
|
207
|
+
], pp = (a, e) => {
|
|
208
208
|
const o = document.activeElement;
|
|
209
209
|
return new Promise((t, n) => {
|
|
210
210
|
if (e && e.current) {
|
|
@@ -251,7 +251,7 @@ function V(a, e) {
|
|
|
251
251
|
t in o && delete o[t];
|
|
252
252
|
return o;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Ve(a, e) {
|
|
255
255
|
return e !== void 0 ? e : a;
|
|
256
256
|
}
|
|
257
257
|
const Lr = Symbol.for("react.forward_ref"), Mr = Symbol.for("react.memo");
|
|
@@ -259,11 +259,11 @@ function Qt(a) {
|
|
|
259
259
|
return a ? a.prototype && a.prototype.isReactComponent || a.$$typeof === Lr ? !0 : a.$$typeof === Mr ? Qt(a.type) : !1 : !1;
|
|
260
260
|
}
|
|
261
261
|
function Ar(a) {
|
|
262
|
-
if (!
|
|
262
|
+
if (!He || typeof a != "function" && !(a && a.$$typeof))
|
|
263
263
|
return a;
|
|
264
264
|
const e = Qt(a), o = a.displayName || a.name || "Component", t = q.forwardRef((s, l) => {
|
|
265
265
|
const { overStyled: c } = s, i = Or();
|
|
266
|
-
|
|
266
|
+
He && l && !e && console.warn(
|
|
267
267
|
`[wrapComponent] "${o}" does not support refs (not a class component or forwardRef) — the ref passed to it was dropped instead of forcing React's "function components cannot be given refs" warning.`
|
|
268
268
|
);
|
|
269
269
|
const d = e ? { ...s, ref: l } : s, p = q.createElement(a, d);
|
|
@@ -364,7 +364,7 @@ function m(a, e) {
|
|
|
364
364
|
typeof n == "string" && n.startsWith("rec-") && Jt.has(t) && n in Bo && (o[t] = Bo[n]);
|
|
365
365
|
return o;
|
|
366
366
|
}
|
|
367
|
-
const zr = "Accordion-module__root___Dem6d", Dr = "Accordion-module__item___7ryVk", Er = "Accordion-module__noDivider___Ni2tT", Br = "Accordion-module__control___b4wgX", Fr = "Accordion-module__label___Ss7uW", Ur = "Accordion-module__icon___xfHxX", Vr = "Accordion-module__chevron___i-HVZ", Hr = "Accordion-module__iconLeftWrapper___5oLen", Gr = "Accordion-module__panel___Wx50w", jr = "Accordion-module__content___PEM9t",
|
|
367
|
+
const zr = "Accordion-module__root___Dem6d", Dr = "Accordion-module__item___7ryVk", Er = "Accordion-module__noDivider___Ni2tT", Br = "Accordion-module__control___b4wgX", Fr = "Accordion-module__label___Ss7uW", Ur = "Accordion-module__icon___xfHxX", Vr = "Accordion-module__chevron___i-HVZ", Hr = "Accordion-module__iconLeftWrapper___5oLen", Gr = "Accordion-module__panel___Wx50w", jr = "Accordion-module__content___PEM9t", Me = {
|
|
368
368
|
root: zr,
|
|
369
369
|
item: Dr,
|
|
370
370
|
noDivider: Er,
|
|
@@ -384,14 +384,14 @@ const zr = "Accordion-module__root___Dem6d", Dr = "Accordion-module__item___7ryV
|
|
|
384
384
|
}) {
|
|
385
385
|
const n = typeof e == "string" && $t[e] ? $t[e] : e, s = m(t, o), l = s, c = E(
|
|
386
386
|
{
|
|
387
|
-
root:
|
|
388
|
-
item:
|
|
389
|
-
control:
|
|
390
|
-
label:
|
|
391
|
-
chevron:
|
|
392
|
-
icon:
|
|
393
|
-
panel:
|
|
394
|
-
content:
|
|
387
|
+
root: Me.root,
|
|
388
|
+
item: Me.item,
|
|
389
|
+
control: Me.control,
|
|
390
|
+
label: Me.label,
|
|
391
|
+
chevron: Me.chevron,
|
|
392
|
+
icon: Me.icon,
|
|
393
|
+
panel: Me.panel,
|
|
394
|
+
content: Me.content
|
|
395
395
|
},
|
|
396
396
|
l.classNames
|
|
397
397
|
), i = l.className;
|
|
@@ -406,7 +406,7 @@ const zr = "Accordion-module__root___Dem6d", Dr = "Accordion-module__item___7ryV
|
|
|
406
406
|
);
|
|
407
407
|
};
|
|
408
408
|
en.displayName = "Accordion";
|
|
409
|
-
const on =
|
|
409
|
+
const on = y(function({
|
|
410
410
|
title: e,
|
|
411
411
|
leftIcon: o,
|
|
412
412
|
divider: t = !0,
|
|
@@ -415,7 +415,7 @@ const on = f(function({
|
|
|
415
415
|
overStyled: l = !1,
|
|
416
416
|
...c
|
|
417
417
|
}, i) {
|
|
418
|
-
const d = m(c, l), p = d.className, u = [t ? void 0 :
|
|
418
|
+
const d = m(c, l), p = d.className, u = [t ? void 0 : Me.noDivider, p].filter(Boolean).join(" ") || void 0;
|
|
419
419
|
return /* @__PURE__ */ r(
|
|
420
420
|
Go.Item,
|
|
421
421
|
{
|
|
@@ -423,7 +423,7 @@ const on = f(function({
|
|
|
423
423
|
...d,
|
|
424
424
|
className: u,
|
|
425
425
|
"data-disabled": s || void 0,
|
|
426
|
-
children: e ? /* @__PURE__ */
|
|
426
|
+
children: e ? /* @__PURE__ */ I(je, { children: [
|
|
427
427
|
/* @__PURE__ */ r(ut, { leftIcon: o, disabled: s, children: e }),
|
|
428
428
|
/* @__PURE__ */ r(pt, { children: n })
|
|
429
429
|
] }) : n
|
|
@@ -435,7 +435,7 @@ const qr = [
|
|
|
435
435
|
"icon"
|
|
436
436
|
// Mantine's native icon slot is fully computed here from `leftIcon`; the `Omit<>` on
|
|
437
437
|
// AccordionControlWrapperProps only stops a well-typed caller, this is the runtime backstop.
|
|
438
|
-
], ut =
|
|
438
|
+
], ut = y(function({ leftIcon: e, children: o, overStyled: t = !1, ...n }, s) {
|
|
439
439
|
const l = V(
|
|
440
440
|
m(n, t),
|
|
441
441
|
qr
|
|
@@ -446,13 +446,13 @@ const qr = [
|
|
|
446
446
|
ref: s,
|
|
447
447
|
...l,
|
|
448
448
|
className: c,
|
|
449
|
-
icon: e ? /* @__PURE__ */ r("span", { className:
|
|
449
|
+
icon: e ? /* @__PURE__ */ r("span", { className: Me.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
450
450
|
children: o
|
|
451
451
|
}
|
|
452
452
|
);
|
|
453
453
|
});
|
|
454
454
|
ut.displayName = "AccordionControl";
|
|
455
|
-
const pt =
|
|
455
|
+
const pt = y(function({ overStyled: e = !1, ...o }, t) {
|
|
456
456
|
const n = m(o, e), s = n.className;
|
|
457
457
|
return /* @__PURE__ */ r(
|
|
458
458
|
Go.Panel,
|
|
@@ -472,7 +472,7 @@ const Kr = "AssistiveElement-module__root___WhQ43", Yr = "AssistiveElement-modul
|
|
|
472
472
|
root: Kr,
|
|
473
473
|
textWrapper: Yr,
|
|
474
474
|
iconWrapper: Zr
|
|
475
|
-
}, Xr = () => /* @__PURE__ */
|
|
475
|
+
}, Xr = () => /* @__PURE__ */ I(
|
|
476
476
|
"svg",
|
|
477
477
|
{
|
|
478
478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -488,7 +488,7 @@ const Kr = "AssistiveElement-module__root___WhQ43", Yr = "AssistiveElement-modul
|
|
|
488
488
|
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
489
489
|
]
|
|
490
490
|
}
|
|
491
|
-
), Qr = () => /* @__PURE__ */
|
|
491
|
+
), Qr = () => /* @__PURE__ */ I(
|
|
492
492
|
"svg",
|
|
493
493
|
{
|
|
494
494
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -504,7 +504,7 @@ const Kr = "AssistiveElement-module__root___WhQ43", Yr = "AssistiveElement-modul
|
|
|
504
504
|
/* @__PURE__ */ r("path", { d: "M12 17h.01" })
|
|
505
505
|
]
|
|
506
506
|
}
|
|
507
|
-
), ot =
|
|
507
|
+
), ot = y(function({
|
|
508
508
|
assistiveVariant: e = "help",
|
|
509
509
|
assistiveWithIcon: o = !0,
|
|
510
510
|
children: t,
|
|
@@ -513,18 +513,18 @@ const Kr = "AssistiveElement-module__root___WhQ43", Yr = "AssistiveElement-modul
|
|
|
513
513
|
overStyled: l = !1,
|
|
514
514
|
...c
|
|
515
515
|
}, i) {
|
|
516
|
-
const p = m(c, l), u = Qo.root,
|
|
517
|
-
return /* @__PURE__ */
|
|
516
|
+
const p = m(c, l), u = Qo.root, v = n ? `${u} ${n}` : u, _ = e === "error" ? Qr : Xr;
|
|
517
|
+
return /* @__PURE__ */ I(
|
|
518
518
|
"div",
|
|
519
519
|
{
|
|
520
520
|
ref: i,
|
|
521
521
|
...p,
|
|
522
|
-
className:
|
|
522
|
+
className: v,
|
|
523
523
|
"data-variant": e,
|
|
524
524
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
525
525
|
style: p.style,
|
|
526
526
|
children: [
|
|
527
|
-
o && /* @__PURE__ */ r("span", { className: Qo.iconWrapper, children: /* @__PURE__ */ r(
|
|
527
|
+
o && /* @__PURE__ */ r("span", { className: Qo.iconWrapper, children: /* @__PURE__ */ r(_, {}) }),
|
|
528
528
|
/* @__PURE__ */ r("span", { className: Qo.textWrapper, children: t })
|
|
529
529
|
]
|
|
530
530
|
}
|
|
@@ -538,7 +538,7 @@ const Jr = "Label-module__root___e6HXZ", es = "Label-module__labelText___rieFR",
|
|
|
538
538
|
optionalText: ts,
|
|
539
539
|
actionAreaWrapper: ns,
|
|
540
540
|
editIconWrapper: as
|
|
541
|
-
}, tn =
|
|
541
|
+
}, tn = y(function({
|
|
542
542
|
labelSize: e = "default",
|
|
543
543
|
labelAlignment: o,
|
|
544
544
|
required: t = !1,
|
|
@@ -550,9 +550,9 @@ const Jr = "Label-module__root___e6HXZ", es = "Label-module__labelText___rieFR",
|
|
|
550
550
|
overStyled: d = !1,
|
|
551
551
|
...p
|
|
552
552
|
}, u) {
|
|
553
|
-
const
|
|
554
|
-
let
|
|
555
|
-
t || (n === !0 ?
|
|
553
|
+
const v = o || "left";
|
|
554
|
+
let _;
|
|
555
|
+
t || (n === !0 ? _ = "optional" : n && (_ = n));
|
|
556
556
|
const g = [
|
|
557
557
|
"size"
|
|
558
558
|
// Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
|
|
@@ -566,7 +566,7 @@ const Jr = "Label-module__root___e6HXZ", es = "Label-module__labelText___rieFR",
|
|
|
566
566
|
},
|
|
567
567
|
C.classNames
|
|
568
568
|
), P = C.className, S = P ? `${oo.root} ${P}` : oo.root;
|
|
569
|
-
return /* @__PURE__ */
|
|
569
|
+
return /* @__PURE__ */ I(
|
|
570
570
|
Bt.Label,
|
|
571
571
|
{
|
|
572
572
|
ref: u,
|
|
@@ -574,11 +574,11 @@ const Jr = "Label-module__root___e6HXZ", es = "Label-module__labelText___rieFR",
|
|
|
574
574
|
className: S,
|
|
575
575
|
classNames: N,
|
|
576
576
|
"data-size": e,
|
|
577
|
-
"data-alignment":
|
|
577
|
+
"data-alignment": v,
|
|
578
578
|
required: t && !s,
|
|
579
579
|
children: [
|
|
580
580
|
/* @__PURE__ */ r("span", { className: oo.labelText, children: i }),
|
|
581
|
-
|
|
581
|
+
_ && /* @__PURE__ */ r("span", { className: oo.optionalText, children: typeof _ == "string" ? `(${_})` : _ }),
|
|
582
582
|
l ? /* @__PURE__ */ r("span", { className: oo.actionAreaWrapper, children: l }) : s ? /* @__PURE__ */ r(
|
|
583
583
|
"button",
|
|
584
584
|
{
|
|
@@ -617,7 +617,7 @@ const rs = "FormControlLayout-module__root___yNDhZ", ss = "FormControlLayout-mod
|
|
|
617
617
|
root: rs,
|
|
618
618
|
leftSection: ss,
|
|
619
619
|
rightSection: ls
|
|
620
|
-
}, lo =
|
|
620
|
+
}, lo = y(function({
|
|
621
621
|
formLayout: e = "stacked",
|
|
622
622
|
labelSize: o = "default",
|
|
623
623
|
controlMaxWidth: t,
|
|
@@ -628,8 +628,8 @@ const rs = "FormControlLayout-module__root___yNDhZ", ss = "FormControlLayout-mod
|
|
|
628
628
|
style: i,
|
|
629
629
|
...d
|
|
630
630
|
}, p) {
|
|
631
|
-
const u = c ? `${Ao.root} ${c}` : Ao.root,
|
|
632
|
-
return /* @__PURE__ */
|
|
631
|
+
const u = c ? `${Ao.root} ${c}` : Ao.root, _ = s != null || e === "side-by-side";
|
|
632
|
+
return /* @__PURE__ */ I(
|
|
633
633
|
"div",
|
|
634
634
|
{
|
|
635
635
|
ref: p,
|
|
@@ -642,7 +642,7 @@ const rs = "FormControlLayout-module__root___yNDhZ", ss = "FormControlLayout-mod
|
|
|
642
642
|
},
|
|
643
643
|
...d,
|
|
644
644
|
children: [
|
|
645
|
-
|
|
645
|
+
_ && /* @__PURE__ */ r("div", { className: Ao.leftSection, "data-size": o, children: s }),
|
|
646
646
|
/* @__PURE__ */ r("div", { className: Ao.rightSection, children: l })
|
|
647
647
|
]
|
|
648
648
|
}
|
|
@@ -652,7 +652,7 @@ lo.displayName = "FormControlLayout";
|
|
|
652
652
|
const is = "FormControlWrapper-module__root___c-UHo", cs = "FormControlWrapper-module__inputSection___HenXk", xt = {
|
|
653
653
|
root: is,
|
|
654
654
|
inputSection: cs
|
|
655
|
-
}, No =
|
|
655
|
+
}, No = y(function({
|
|
656
656
|
formLayout: e,
|
|
657
657
|
labelSize: o,
|
|
658
658
|
labelAlignment: t,
|
|
@@ -664,8 +664,8 @@ const is = "FormControlWrapper-module__root___c-UHo", cs = "FormControlWrapper-m
|
|
|
664
664
|
description: d,
|
|
665
665
|
assistiveText: p,
|
|
666
666
|
assistiveWithIcon: u = !0,
|
|
667
|
-
controlMaxWidth:
|
|
668
|
-
controlMinWidth:
|
|
667
|
+
controlMaxWidth: v,
|
|
668
|
+
controlMinWidth: _,
|
|
669
669
|
error: g,
|
|
670
670
|
required: h,
|
|
671
671
|
withAsterisk: C,
|
|
@@ -675,15 +675,15 @@ const is = "FormControlWrapper-module__root___c-UHo", cs = "FormControlWrapper-m
|
|
|
675
675
|
overStyled: w = !1,
|
|
676
676
|
labelElement: T,
|
|
677
677
|
// Extracted safely preventing bleeding into HTML domains
|
|
678
|
-
...
|
|
678
|
+
...f
|
|
679
679
|
}, $) {
|
|
680
|
-
const
|
|
680
|
+
const b = Et(), O = N || `recursica-fc-${b}`, M = `${O}-label`, D = p || d, W = D ? `${O}-assistive` : void 0, L = g ? `${O}-error` : void 0, G = m(f, w), j = S || G.className, X = xt.root, H = j ? `${X} ${j}` : X, K = q.isValidElement(P) ? q.cloneElement(
|
|
681
681
|
P,
|
|
682
682
|
{
|
|
683
683
|
...P.props.id ? {} : { id: O },
|
|
684
684
|
"aria-labelledby": M,
|
|
685
685
|
...D && !P.props["aria-describedby"] ? { "aria-describedby": W } : {},
|
|
686
|
-
...g && !P.props["aria-errormessage"] ? { "aria-errormessage":
|
|
686
|
+
...g && !P.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
687
687
|
}
|
|
688
688
|
) : P, J = i ? /* @__PURE__ */ r(
|
|
689
689
|
tn,
|
|
@@ -707,16 +707,16 @@ const is = "FormControlWrapper-module__root___c-UHo", cs = "FormControlWrapper-m
|
|
|
707
707
|
className: H,
|
|
708
708
|
formLayout: e,
|
|
709
709
|
labelSize: o,
|
|
710
|
-
controlMaxWidth:
|
|
711
|
-
controlMinWidth:
|
|
710
|
+
controlMaxWidth: v,
|
|
711
|
+
controlMinWidth: _,
|
|
712
712
|
leftSection: J,
|
|
713
713
|
...G,
|
|
714
|
-
children: /* @__PURE__ */
|
|
714
|
+
children: /* @__PURE__ */ I("div", { className: xt.inputSection, children: [
|
|
715
715
|
K,
|
|
716
716
|
g && /* @__PURE__ */ r(
|
|
717
717
|
ot,
|
|
718
718
|
{
|
|
719
|
-
id:
|
|
719
|
+
id: L,
|
|
720
720
|
assistiveVariant: "error",
|
|
721
721
|
assistiveWithIcon: u,
|
|
722
722
|
children: g
|
|
@@ -756,7 +756,7 @@ const ds = "ReadOnlyField-module__layoutOverride___9fSsG", us = "ReadOnlyField-m
|
|
|
756
756
|
);
|
|
757
757
|
};
|
|
758
758
|
Do.displayName = "ReadOnlyTextField";
|
|
759
|
-
const nn =
|
|
759
|
+
const nn = y(
|
|
760
760
|
function({
|
|
761
761
|
value: e,
|
|
762
762
|
type: o = "text",
|
|
@@ -767,13 +767,13 @@ const nn = f(
|
|
|
767
767
|
...c
|
|
768
768
|
}, i) {
|
|
769
769
|
let d = null;
|
|
770
|
-
const p = m(c, n), u = t || Eo,
|
|
770
|
+
const p = m(c, n), u = t || Eo, _ = (u.check ? u.check(e) : Eo.check(e)) ? /* @__PURE__ */ r(u, { value: e }) : e;
|
|
771
771
|
switch (o) {
|
|
772
772
|
case "boolean":
|
|
773
773
|
d = /* @__PURE__ */ r(
|
|
774
774
|
Do,
|
|
775
775
|
{
|
|
776
|
-
value: e === !0 ? "True" : e === !1 ? "False" :
|
|
776
|
+
value: e === !0 ? "True" : e === !1 ? "False" : _,
|
|
777
777
|
overStyled: n
|
|
778
778
|
}
|
|
779
779
|
);
|
|
@@ -782,7 +782,7 @@ const nn = f(
|
|
|
782
782
|
d = /* @__PURE__ */ r(
|
|
783
783
|
Do,
|
|
784
784
|
{
|
|
785
|
-
value: e === !0 ? "On" : e === !1 ? "Off" :
|
|
785
|
+
value: e === !0 ? "On" : e === !1 ? "Off" : _,
|
|
786
786
|
overStyled: n
|
|
787
787
|
}
|
|
788
788
|
);
|
|
@@ -792,7 +792,7 @@ const nn = f(
|
|
|
792
792
|
d = /* @__PURE__ */ r(
|
|
793
793
|
Do,
|
|
794
794
|
{
|
|
795
|
-
value:
|
|
795
|
+
value: _,
|
|
796
796
|
overStyled: n
|
|
797
797
|
}
|
|
798
798
|
);
|
|
@@ -813,7 +813,7 @@ const nn = f(
|
|
|
813
813
|
}
|
|
814
814
|
);
|
|
815
815
|
nn.displayName = "ReadOnlyField";
|
|
816
|
-
const
|
|
816
|
+
const be = y(function({
|
|
817
817
|
readOnly: e,
|
|
818
818
|
readOnlyComponent: o,
|
|
819
819
|
readOnlyType: t = "text",
|
|
@@ -856,21 +856,21 @@ const he = f(function({
|
|
|
856
856
|
}
|
|
857
857
|
);
|
|
858
858
|
});
|
|
859
|
-
|
|
859
|
+
be.displayName = "WithReadOnlyWrapper";
|
|
860
860
|
function an({ option: a }, e, o = !1) {
|
|
861
861
|
const { label: t, leadingIcon: n, supportingText: s } = a, l = t ?? a.value;
|
|
862
862
|
if (!n && !s)
|
|
863
863
|
return l;
|
|
864
864
|
const c = o ? `${e.optionText} ${e.optionTextWrap}` : e.optionText;
|
|
865
|
-
return /* @__PURE__ */
|
|
865
|
+
return /* @__PURE__ */ I("span", { className: e.optionContent, children: [
|
|
866
866
|
n && /* @__PURE__ */ r("span", { className: e.optionIcon, children: n }),
|
|
867
|
-
/* @__PURE__ */
|
|
867
|
+
/* @__PURE__ */ I("span", { className: c, children: [
|
|
868
868
|
/* @__PURE__ */ r("span", { children: l }),
|
|
869
869
|
s && /* @__PURE__ */ r("span", { className: e.optionSupportingText, children: s })
|
|
870
870
|
] })
|
|
871
871
|
] });
|
|
872
872
|
}
|
|
873
|
-
const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-module__root___kANza", _s = "AutoComplete-module__input___g51MC", fs = "AutoComplete-module__section___WAbf1", ys = "AutoComplete-module__dropdown___NqO3E", hs = "AutoComplete-module__option___Y-Kja", vs = "AutoComplete-module__optionContent___UAkUA", bs = "AutoComplete-module__optionIcon___tbbmW", Ns = "AutoComplete-module__optionText___aQwHF", gs = "AutoComplete-module__optionTextWrap___RFICS", Cs = "AutoComplete-module__optionSupportingText___OoA1N",
|
|
873
|
+
const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-module__root___kANza", _s = "AutoComplete-module__input___g51MC", fs = "AutoComplete-module__section___WAbf1", ys = "AutoComplete-module__dropdown___NqO3E", hs = "AutoComplete-module__option___Y-Kja", vs = "AutoComplete-module__optionContent___UAkUA", bs = "AutoComplete-module__optionIcon___tbbmW", Ns = "AutoComplete-module__optionText___aQwHF", gs = "AutoComplete-module__optionTextWrap___RFICS", Cs = "AutoComplete-module__optionSupportingText___OoA1N", Ce = {
|
|
874
874
|
layoutOverride: ps,
|
|
875
875
|
root: ms,
|
|
876
876
|
input: _s,
|
|
@@ -889,7 +889,7 @@ const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-mod
|
|
|
889
889
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
890
890
|
"radius"
|
|
891
891
|
// Recursica does not expose the library's native corner-radius system.
|
|
892
|
-
], Ts =
|
|
892
|
+
], Ts = y(
|
|
893
893
|
function(e, o) {
|
|
894
894
|
const {
|
|
895
895
|
overStyled: t = !1,
|
|
@@ -902,8 +902,8 @@ const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-mod
|
|
|
902
902
|
onLabelEditClick: d,
|
|
903
903
|
label: p,
|
|
904
904
|
assistiveText: u,
|
|
905
|
-
assistiveWithIcon:
|
|
906
|
-
error:
|
|
905
|
+
assistiveWithIcon: v,
|
|
906
|
+
error: _,
|
|
907
907
|
required: g,
|
|
908
908
|
withAsterisk: h,
|
|
909
909
|
id: C,
|
|
@@ -912,35 +912,35 @@ const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-mod
|
|
|
912
912
|
disabled: S,
|
|
913
913
|
readOnly: w,
|
|
914
914
|
readOnlyComponent: T,
|
|
915
|
-
emptyValueComponent:
|
|
915
|
+
emptyValueComponent: f,
|
|
916
916
|
value: $,
|
|
917
|
-
defaultValue:
|
|
917
|
+
defaultValue: b,
|
|
918
918
|
data: O,
|
|
919
919
|
renderOption: M,
|
|
920
920
|
wrapItemText: D = !1,
|
|
921
921
|
...W
|
|
922
|
-
} = e,
|
|
922
|
+
} = e, L = V(
|
|
923
923
|
m(W, t),
|
|
924
924
|
Ps
|
|
925
|
-
), Y =
|
|
925
|
+
), Y = L, G = Xt(O), j = E(
|
|
926
926
|
{
|
|
927
|
-
wrapper:
|
|
927
|
+
wrapper: Ce.root,
|
|
928
928
|
// The nested Input internal relative wrapper bounding box
|
|
929
|
-
input:
|
|
930
|
-
section:
|
|
931
|
-
dropdown:
|
|
932
|
-
option:
|
|
929
|
+
input: Ce.input,
|
|
930
|
+
section: Ce.section,
|
|
931
|
+
dropdown: Ce.dropdown,
|
|
932
|
+
option: Ce.option
|
|
933
933
|
},
|
|
934
934
|
Y.classNames
|
|
935
935
|
), X = {
|
|
936
|
-
optionContent:
|
|
937
|
-
optionIcon:
|
|
938
|
-
optionText:
|
|
939
|
-
optionTextWrap:
|
|
940
|
-
optionSupportingText:
|
|
941
|
-
}, H = N ? `${
|
|
936
|
+
optionContent: Ce.optionContent,
|
|
937
|
+
optionIcon: Ce.optionIcon,
|
|
938
|
+
optionText: Ce.optionText,
|
|
939
|
+
optionTextWrap: Ce.optionTextWrap,
|
|
940
|
+
optionSupportingText: Ce.optionSupportingText
|
|
941
|
+
}, H = N ? `${Ce.layoutOverride} ${N}` : Ce.layoutOverride;
|
|
942
942
|
return /* @__PURE__ */ r(
|
|
943
|
-
|
|
943
|
+
be,
|
|
944
944
|
{
|
|
945
945
|
className: H,
|
|
946
946
|
style: P,
|
|
@@ -955,16 +955,16 @@ const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-mod
|
|
|
955
955
|
onLabelEditClick: d,
|
|
956
956
|
label: p,
|
|
957
957
|
assistiveText: u,
|
|
958
|
-
assistiveWithIcon:
|
|
959
|
-
error:
|
|
958
|
+
assistiveWithIcon: v,
|
|
959
|
+
error: _,
|
|
960
960
|
required: g,
|
|
961
961
|
withAsterisk: h,
|
|
962
962
|
id: C,
|
|
963
963
|
readOnly: w,
|
|
964
964
|
readOnlyComponent: T,
|
|
965
|
-
emptyValueComponent:
|
|
965
|
+
emptyValueComponent: f,
|
|
966
966
|
readOnlyType: "text",
|
|
967
|
-
readOnlyValue: $ !== void 0 ? $ :
|
|
967
|
+
readOnlyValue: $ !== void 0 ? $ : b,
|
|
968
968
|
readOnlyNativeProps: e,
|
|
969
969
|
activeComponent: (
|
|
970
970
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -972,12 +972,12 @@ const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-mod
|
|
|
972
972
|
Va,
|
|
973
973
|
{
|
|
974
974
|
ref: o,
|
|
975
|
-
...
|
|
975
|
+
...L,
|
|
976
976
|
classNames: j,
|
|
977
977
|
disabled: S,
|
|
978
978
|
value: $,
|
|
979
|
-
defaultValue:
|
|
980
|
-
error: !!
|
|
979
|
+
defaultValue: b,
|
|
980
|
+
error: !!_,
|
|
981
981
|
data: G,
|
|
982
982
|
renderOption: M ?? ((K) => an(K, X, D))
|
|
983
983
|
}
|
|
@@ -994,7 +994,7 @@ const ws = "Avatar-module__root___fXu-J", Ss = "Avatar-module__iconWrapper___ojl
|
|
|
994
994
|
textWrapper: $s,
|
|
995
995
|
image: xs,
|
|
996
996
|
placeholder: Os
|
|
997
|
-
}, rn =
|
|
997
|
+
}, rn = y(function({
|
|
998
998
|
size: e = "default",
|
|
999
999
|
variant: o = "solid",
|
|
1000
1000
|
icon: t,
|
|
@@ -1016,10 +1016,10 @@ const ws = "Avatar-module__root___fXu-J", Ss = "Avatar-module__iconWrapper___ojl
|
|
|
1016
1016
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
1017
1017
|
"radius"
|
|
1018
1018
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
1019
|
-
],
|
|
1019
|
+
], v = V(
|
|
1020
1020
|
m(c, l),
|
|
1021
1021
|
u
|
|
1022
|
-
),
|
|
1022
|
+
), _ = v;
|
|
1023
1023
|
let g = "text";
|
|
1024
1024
|
s ? g = "image" : t && (g = "icon");
|
|
1025
1025
|
const h = E(
|
|
@@ -1028,13 +1028,13 @@ const ws = "Avatar-module__root___fXu-J", Ss = "Avatar-module__iconWrapper___ojl
|
|
|
1028
1028
|
image: Po.image,
|
|
1029
1029
|
placeholder: Po.placeholder
|
|
1030
1030
|
},
|
|
1031
|
-
|
|
1032
|
-
), C =
|
|
1031
|
+
_.classNames
|
|
1032
|
+
), C = _.className;
|
|
1033
1033
|
return /* @__PURE__ */ r(
|
|
1034
1034
|
Ha,
|
|
1035
1035
|
{
|
|
1036
1036
|
ref: i,
|
|
1037
|
-
...
|
|
1037
|
+
...v,
|
|
1038
1038
|
className: C,
|
|
1039
1039
|
classNames: h,
|
|
1040
1040
|
variant: d[o],
|
|
@@ -1048,9 +1048,9 @@ const ws = "Avatar-module__root___fXu-J", Ss = "Avatar-module__iconWrapper___ojl
|
|
|
1048
1048
|
);
|
|
1049
1049
|
});
|
|
1050
1050
|
rn.displayName = "Avatar";
|
|
1051
|
-
const
|
|
1052
|
-
root:
|
|
1053
|
-
}, sn =
|
|
1051
|
+
const mp = we(rn), Rs = "Badge-module__root___5osNT", To = {
|
|
1052
|
+
root: Rs
|
|
1053
|
+
}, sn = y(function({ variant: e = "primary-color", overStyled: o = !1, ...t }, n) {
|
|
1054
1054
|
const s = m(t, o), l = E(
|
|
1055
1055
|
{
|
|
1056
1056
|
root: To.root,
|
|
@@ -1072,13 +1072,13 @@ const pp = Te(rn), ks = "Badge-module__root___5osNT", To = {
|
|
|
1072
1072
|
);
|
|
1073
1073
|
});
|
|
1074
1074
|
sn.displayName = "Badge";
|
|
1075
|
-
const
|
|
1075
|
+
const ks = we(sn), Is = "Breadcrumb-module__root___x-9ln", Ls = "Breadcrumb-module__separator___qrUX-", Wo = {
|
|
1076
1076
|
root: Is,
|
|
1077
1077
|
separator: Ls
|
|
1078
|
-
}, Ms =
|
|
1078
|
+
}, Ms = y(
|
|
1079
1079
|
function({ overStyled: e = !1, separator: o = ">", children: t, ...n }, s) {
|
|
1080
1080
|
const l = m(
|
|
1081
|
-
{ separator: o, children:
|
|
1081
|
+
{ separator: o, children: Rr(t), ...n },
|
|
1082
1082
|
e
|
|
1083
1083
|
), c = E(
|
|
1084
1084
|
{
|
|
@@ -1108,7 +1108,7 @@ const Rs = Te(sn), Is = "Breadcrumb-module__root___x-9ln", Ls = "Breadcrumb-modu
|
|
|
1108
1108
|
Ms.displayName = "Breadcrumb";
|
|
1109
1109
|
const As = "Loader-module__root___6iYOP", Jo = {
|
|
1110
1110
|
root: As
|
|
1111
|
-
}, ln =
|
|
1111
|
+
}, ln = y(function({
|
|
1112
1112
|
variant: e = "oval",
|
|
1113
1113
|
size: o = "default",
|
|
1114
1114
|
animate: t = !0,
|
|
@@ -1125,7 +1125,7 @@ const As = "Loader-module__root___6iYOP", Jo = {
|
|
|
1125
1125
|
}[o] || "default", d = m(s, n), p = d, u = E(
|
|
1126
1126
|
{ root: Jo.root },
|
|
1127
1127
|
p.classNames
|
|
1128
|
-
),
|
|
1128
|
+
), v = p.className, _ = v ? `${Jo.root} ${v}` : Jo.root;
|
|
1129
1129
|
return /* @__PURE__ */ r(
|
|
1130
1130
|
qa,
|
|
1131
1131
|
{
|
|
@@ -1135,7 +1135,7 @@ const As = "Loader-module__root___6iYOP", Jo = {
|
|
|
1135
1135
|
"data-variant": e,
|
|
1136
1136
|
"data-size": i,
|
|
1137
1137
|
"data-animate": t,
|
|
1138
|
-
className:
|
|
1138
|
+
className: _,
|
|
1139
1139
|
classNames: u
|
|
1140
1140
|
}
|
|
1141
1141
|
);
|
|
@@ -1152,7 +1152,7 @@ const Ws = "Button-module__root___Q2R8-", zs = "Button-module__loader___X-9u-",
|
|
|
1152
1152
|
function Us(a) {
|
|
1153
1153
|
return a == null || a === "" ? !1 : typeof a == "string" ? a.trim() !== "" : !0;
|
|
1154
1154
|
}
|
|
1155
|
-
const cn =
|
|
1155
|
+
const cn = y(function({
|
|
1156
1156
|
variant: e = "solid",
|
|
1157
1157
|
size: o = "default",
|
|
1158
1158
|
icon: t,
|
|
@@ -1167,15 +1167,15 @@ const cn = f(function({
|
|
|
1167
1167
|
solid: "filled",
|
|
1168
1168
|
outline: "outline",
|
|
1169
1169
|
text: "subtle"
|
|
1170
|
-
},
|
|
1170
|
+
}, v = {
|
|
1171
1171
|
default: "md",
|
|
1172
1172
|
small: "sm"
|
|
1173
|
-
},
|
|
1173
|
+
}, _ = [
|
|
1174
1174
|
"fullWidth"
|
|
1175
1175
|
// Recursica Button width comes from layout/token constraints, not Mantine's boolean fullWidth toggle.
|
|
1176
1176
|
], g = V(
|
|
1177
1177
|
m(d, s),
|
|
1178
|
-
|
|
1178
|
+
_
|
|
1179
1179
|
), h = g, C = !!t || !!h.leftSection, N = !!h.rightSection, P = Us(n), S = (C || N) && !P;
|
|
1180
1180
|
let w = "label";
|
|
1181
1181
|
S ? w = "icon-only" : (C || N) && (w = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && S && !h["aria-label"] && console.warn(
|
|
@@ -1189,11 +1189,11 @@ const cn = f(function({
|
|
|
1189
1189
|
loader: to.loader
|
|
1190
1190
|
},
|
|
1191
1191
|
h.classNames
|
|
1192
|
-
),
|
|
1192
|
+
), f = h.className, $ = f ? `${to.root} ${f}` : to.root, b = h.loaderProps, O = Ve(
|
|
1193
1193
|
o === "small" ? "small" : "default",
|
|
1194
1194
|
c
|
|
1195
1195
|
);
|
|
1196
|
-
let M =
|
|
1196
|
+
let M = b;
|
|
1197
1197
|
return i && (M = {
|
|
1198
1198
|
children: /* @__PURE__ */ r(
|
|
1199
1199
|
ln,
|
|
@@ -1204,7 +1204,7 @@ const cn = f(function({
|
|
|
1204
1204
|
color: "var(--button-color)"
|
|
1205
1205
|
}
|
|
1206
1206
|
),
|
|
1207
|
-
...
|
|
1207
|
+
...b
|
|
1208
1208
|
}), /* @__PURE__ */ r(
|
|
1209
1209
|
Ka,
|
|
1210
1210
|
{
|
|
@@ -1213,7 +1213,7 @@ const cn = f(function({
|
|
|
1213
1213
|
className: $,
|
|
1214
1214
|
classNames: T,
|
|
1215
1215
|
variant: u[e],
|
|
1216
|
-
size:
|
|
1216
|
+
size: v[o],
|
|
1217
1217
|
loaderProps: M,
|
|
1218
1218
|
leftSection: t != null ? /* @__PURE__ */ r("span", { className: to.iconWrapper, "aria-hidden": !0, children: t }) : void 0,
|
|
1219
1219
|
"data-variant": e,
|
|
@@ -1225,9 +1225,9 @@ const cn = f(function({
|
|
|
1225
1225
|
);
|
|
1226
1226
|
});
|
|
1227
1227
|
cn.displayName = "Button";
|
|
1228
|
-
const
|
|
1228
|
+
const Ue = we(
|
|
1229
1229
|
cn
|
|
1230
|
-
), Vs = "Card-module__root___c9KvZ", Hs = "Card-module__header___PTXf2", Gs = "Card-module__footer___Mu-JC", js = "Card-module__section___BRT8H", qs = "Card-module__content___oFIQa",
|
|
1230
|
+
), Vs = "Card-module__root___c9KvZ", Hs = "Card-module__header___PTXf2", Gs = "Card-module__footer___Mu-JC", js = "Card-module__section___BRT8H", qs = "Card-module__content___oFIQa", Ge = {
|
|
1231
1231
|
root: Vs,
|
|
1232
1232
|
header: Hs,
|
|
1233
1233
|
footer: Gs,
|
|
@@ -1240,7 +1240,7 @@ const Fe = Te(
|
|
|
1240
1240
|
// Border is always applied via tokens on `.root`; not an optional caller toggle.
|
|
1241
1241
|
"padding"
|
|
1242
1242
|
// Padding is token-driven (`--card-padding`), not Mantine's spacing-scale prop.
|
|
1243
|
-
], dn =
|
|
1243
|
+
], dn = y(function({ overStyled: e = !1, ...o }, t) {
|
|
1244
1244
|
const n = V(
|
|
1245
1245
|
m(o, e),
|
|
1246
1246
|
Ks
|
|
@@ -1258,7 +1258,7 @@ const Fe = Te(
|
|
|
1258
1258
|
});
|
|
1259
1259
|
const l = E(
|
|
1260
1260
|
{
|
|
1261
|
-
root:
|
|
1261
|
+
root: Ge.root
|
|
1262
1262
|
},
|
|
1263
1263
|
n.classNames
|
|
1264
1264
|
), c = n.className;
|
|
@@ -1273,7 +1273,7 @@ const Fe = Te(
|
|
|
1273
1273
|
);
|
|
1274
1274
|
});
|
|
1275
1275
|
dn.displayName = "Card";
|
|
1276
|
-
const un =
|
|
1276
|
+
const un = y(
|
|
1277
1277
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1278
1278
|
const n = m(o, e), s = n.className;
|
|
1279
1279
|
return /* @__PURE__ */ r(
|
|
@@ -1281,7 +1281,7 @@ const un = f(
|
|
|
1281
1281
|
{
|
|
1282
1282
|
ref: t,
|
|
1283
1283
|
...n,
|
|
1284
|
-
className: s ? `${
|
|
1284
|
+
className: s ? `${Ge.section} ${s}` : Ge.section
|
|
1285
1285
|
}
|
|
1286
1286
|
);
|
|
1287
1287
|
}
|
|
@@ -1292,7 +1292,7 @@ const pn = [
|
|
|
1292
1292
|
// The divider border is always applied via tokens on `.header`/`.footer`.
|
|
1293
1293
|
"inheritPadding"
|
|
1294
1294
|
// Padding is fixed by the `.header`/`.footer` token-driven padding, not Mantine's default.
|
|
1295
|
-
], mn =
|
|
1295
|
+
], mn = y(
|
|
1296
1296
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1297
1297
|
const n = V(
|
|
1298
1298
|
m(o, e),
|
|
@@ -1303,13 +1303,13 @@ const pn = [
|
|
|
1303
1303
|
{
|
|
1304
1304
|
ref: t,
|
|
1305
1305
|
...n,
|
|
1306
|
-
className: s ? `${
|
|
1306
|
+
className: s ? `${Ge.header} ${s}` : Ge.header
|
|
1307
1307
|
}
|
|
1308
1308
|
);
|
|
1309
1309
|
}
|
|
1310
1310
|
);
|
|
1311
1311
|
mn.displayName = "CardHeader";
|
|
1312
|
-
const _n =
|
|
1312
|
+
const _n = y(
|
|
1313
1313
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1314
1314
|
const n = V(
|
|
1315
1315
|
m(o, e),
|
|
@@ -1320,13 +1320,13 @@ const _n = f(
|
|
|
1320
1320
|
{
|
|
1321
1321
|
ref: t,
|
|
1322
1322
|
...n,
|
|
1323
|
-
className: s ? `${
|
|
1323
|
+
className: s ? `${Ge.footer} ${s}` : Ge.footer
|
|
1324
1324
|
}
|
|
1325
1325
|
);
|
|
1326
1326
|
}
|
|
1327
1327
|
);
|
|
1328
1328
|
_n.displayName = "CardFooter";
|
|
1329
|
-
const fn =
|
|
1329
|
+
const fn = y(
|
|
1330
1330
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1331
1331
|
const n = m(o, e), s = n.className;
|
|
1332
1332
|
return /* @__PURE__ */ r(
|
|
@@ -1334,18 +1334,18 @@ const fn = f(
|
|
|
1334
1334
|
{
|
|
1335
1335
|
ref: t,
|
|
1336
1336
|
...n,
|
|
1337
|
-
className: s ? `${
|
|
1337
|
+
className: s ? `${Ge.content} ${s}` : Ge.content
|
|
1338
1338
|
}
|
|
1339
1339
|
);
|
|
1340
1340
|
}
|
|
1341
1341
|
);
|
|
1342
1342
|
fn.displayName = "CardContent";
|
|
1343
|
-
const yn =
|
|
1343
|
+
const yn = we(dn), Ko = yn;
|
|
1344
1344
|
Ko.Section = un;
|
|
1345
1345
|
Ko.Header = mn;
|
|
1346
1346
|
Ko.Footer = _n;
|
|
1347
1347
|
Ko.Content = fn;
|
|
1348
|
-
const
|
|
1348
|
+
const _p = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module__root___mY3qk", Xs = "Checkbox-module__body___5yC7q", Qs = "Checkbox-module__inner___rTke4", Js = "Checkbox-module__input___2kt-h", el = "Checkbox-module__icon___-O7i6", ol = "Checkbox-module__labelWrapper___GpZkr", tl = "Checkbox-module__label___cwRtI", ke = {
|
|
1349
1349
|
groupRoot: Ys,
|
|
1350
1350
|
root: Zs,
|
|
1351
1351
|
body: Xs,
|
|
@@ -1354,7 +1354,7 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1354
1354
|
icon: el,
|
|
1355
1355
|
labelWrapper: ol,
|
|
1356
1356
|
label: tl
|
|
1357
|
-
}, Fo =
|
|
1357
|
+
}, Fo = y(
|
|
1358
1358
|
function(e, o) {
|
|
1359
1359
|
const {
|
|
1360
1360
|
overStyled: t = !1,
|
|
@@ -1368,8 +1368,8 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1368
1368
|
// Base Mantine Extracted Attributes
|
|
1369
1369
|
label: p,
|
|
1370
1370
|
description: u,
|
|
1371
|
-
assistiveText:
|
|
1372
|
-
assistiveWithIcon:
|
|
1371
|
+
assistiveText: v,
|
|
1372
|
+
assistiveWithIcon: _,
|
|
1373
1373
|
error: g,
|
|
1374
1374
|
required: h,
|
|
1375
1375
|
withAsterisk: C,
|
|
@@ -1378,9 +1378,9 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1378
1378
|
style: S,
|
|
1379
1379
|
children: w,
|
|
1380
1380
|
readOnly: T,
|
|
1381
|
-
readOnlyComponent:
|
|
1381
|
+
readOnlyComponent: f,
|
|
1382
1382
|
emptyValueComponent: $,
|
|
1383
|
-
value:
|
|
1383
|
+
value: b,
|
|
1384
1384
|
defaultValue: O,
|
|
1385
1385
|
...M
|
|
1386
1386
|
} = e, D = [
|
|
@@ -1389,9 +1389,9 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1389
1389
|
], W = V(
|
|
1390
1390
|
m(M, t),
|
|
1391
1391
|
D
|
|
1392
|
-
),
|
|
1392
|
+
), L = W;
|
|
1393
1393
|
return /* @__PURE__ */ r(
|
|
1394
|
-
|
|
1394
|
+
be,
|
|
1395
1395
|
{
|
|
1396
1396
|
className: P,
|
|
1397
1397
|
style: S,
|
|
@@ -1407,25 +1407,25 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1407
1407
|
onLabelEditClick: d,
|
|
1408
1408
|
label: p,
|
|
1409
1409
|
description: u,
|
|
1410
|
-
assistiveText:
|
|
1411
|
-
assistiveWithIcon:
|
|
1410
|
+
assistiveText: v,
|
|
1411
|
+
assistiveWithIcon: _,
|
|
1412
1412
|
error: g,
|
|
1413
1413
|
required: h,
|
|
1414
1414
|
withAsterisk: C,
|
|
1415
1415
|
id: N,
|
|
1416
|
-
readOnly: T && !!
|
|
1417
|
-
readOnlyComponent:
|
|
1416
|
+
readOnly: T && !!f,
|
|
1417
|
+
readOnlyComponent: f,
|
|
1418
1418
|
emptyValueComponent: $,
|
|
1419
1419
|
readOnlyType: "text",
|
|
1420
|
-
readOnlyValue:
|
|
1420
|
+
readOnlyValue: b !== void 0 ? b : O,
|
|
1421
1421
|
readOnlyNativeProps: e,
|
|
1422
|
-
activeComponent:
|
|
1422
|
+
activeComponent: b !== void 0 || O !== void 0 ? /* @__PURE__ */ r(
|
|
1423
1423
|
Ft.Group,
|
|
1424
1424
|
{
|
|
1425
1425
|
ref: o,
|
|
1426
1426
|
...W,
|
|
1427
|
-
disabled: T ||
|
|
1428
|
-
value:
|
|
1427
|
+
disabled: T || L.disabled,
|
|
1428
|
+
value: b,
|
|
1429
1429
|
defaultValue: O,
|
|
1430
1430
|
children: /* @__PURE__ */ r("div", { className: ke.groupRoot, "data-layout": n, children: w })
|
|
1431
1431
|
}
|
|
@@ -1445,7 +1445,7 @@ const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module_
|
|
|
1445
1445
|
}
|
|
1446
1446
|
);
|
|
1447
1447
|
Fo.displayName = "CheckboxGroup";
|
|
1448
|
-
const Uo =
|
|
1448
|
+
const Uo = y(
|
|
1449
1449
|
function(e, o) {
|
|
1450
1450
|
const {
|
|
1451
1451
|
overStyled: t = !1,
|
|
@@ -1457,7 +1457,7 @@ const Uo = f(
|
|
|
1457
1457
|
controlMaxWidth: d,
|
|
1458
1458
|
controlMinWidth: p,
|
|
1459
1459
|
...u
|
|
1460
|
-
} = e,
|
|
1460
|
+
} = e, v = [
|
|
1461
1461
|
"size",
|
|
1462
1462
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1463
1463
|
"color",
|
|
@@ -1468,10 +1468,10 @@ const Uo = f(
|
|
|
1468
1468
|
// Checkbox has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
1469
1469
|
"iconColor"
|
|
1470
1470
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1471
|
-
],
|
|
1471
|
+
], _ = V(
|
|
1472
1472
|
m(u, t),
|
|
1473
|
-
|
|
1474
|
-
), g =
|
|
1473
|
+
v
|
|
1474
|
+
), g = _, h = E(
|
|
1475
1475
|
{
|
|
1476
1476
|
root: ke.root,
|
|
1477
1477
|
body: ke.body,
|
|
@@ -1501,13 +1501,13 @@ const Uo = f(
|
|
|
1501
1501
|
controlMinWidth: p,
|
|
1502
1502
|
children: T
|
|
1503
1503
|
}
|
|
1504
|
-
) : /* @__PURE__ */ r(
|
|
1504
|
+
) : /* @__PURE__ */ r(je, { children: T });
|
|
1505
1505
|
}
|
|
1506
1506
|
const P = /* @__PURE__ */ r(
|
|
1507
1507
|
Ft,
|
|
1508
1508
|
{
|
|
1509
1509
|
ref: o,
|
|
1510
|
-
...
|
|
1510
|
+
..._,
|
|
1511
1511
|
className: N,
|
|
1512
1512
|
classNames: h,
|
|
1513
1513
|
disabled: n || l
|
|
@@ -1527,7 +1527,7 @@ const Uo = f(
|
|
|
1527
1527
|
);
|
|
1528
1528
|
Uo.displayName = "Checkbox";
|
|
1529
1529
|
Uo.Group = Fo;
|
|
1530
|
-
const nl = "Chip-module__root___f5pFk", al = "Chip-module__label___Ov9pg", rl = "Chip-module__mantineIconWrapper___KLSz6", sl = "Chip-module__innerWrapper___EnrTF", ll = "Chip-module__children___zbRAR", il = "Chip-module__leadingIcon___JBtjQ", cl = "Chip-module__deleteIcon___zPPsH",
|
|
1530
|
+
const nl = "Chip-module__root___f5pFk", al = "Chip-module__label___Ov9pg", rl = "Chip-module__mantineIconWrapper___KLSz6", sl = "Chip-module__innerWrapper___EnrTF", ll = "Chip-module__children___zbRAR", il = "Chip-module__leadingIcon___JBtjQ", cl = "Chip-module__deleteIcon___zPPsH", Re = {
|
|
1531
1531
|
root: nl,
|
|
1532
1532
|
label: al,
|
|
1533
1533
|
mantineIconWrapper: rl,
|
|
@@ -1537,7 +1537,7 @@ const nl = "Chip-module__root___f5pFk", al = "Chip-module__label___Ov9pg", rl =
|
|
|
1537
1537
|
deleteIcon: cl
|
|
1538
1538
|
};
|
|
1539
1539
|
function dl(a) {
|
|
1540
|
-
return /* @__PURE__ */
|
|
1540
|
+
return /* @__PURE__ */ I(
|
|
1541
1541
|
"svg",
|
|
1542
1542
|
{
|
|
1543
1543
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1557,7 +1557,7 @@ function dl(a) {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
);
|
|
1559
1559
|
}
|
|
1560
|
-
const Vo =
|
|
1560
|
+
const Vo = y(function({
|
|
1561
1561
|
error: e = !1,
|
|
1562
1562
|
icon: o,
|
|
1563
1563
|
onDelete: t,
|
|
@@ -1569,21 +1569,21 @@ const Vo = f(function({
|
|
|
1569
1569
|
overStyled: d = !1,
|
|
1570
1570
|
wrapperProps: p,
|
|
1571
1571
|
tabIndex: u,
|
|
1572
|
-
"aria-hidden":
|
|
1573
|
-
...
|
|
1572
|
+
"aria-hidden": v,
|
|
1573
|
+
..._
|
|
1574
1574
|
}, g) {
|
|
1575
|
-
const h = m(
|
|
1575
|
+
const h = m(_, d), C = h, N = E(
|
|
1576
1576
|
{
|
|
1577
|
-
root:
|
|
1578
|
-
label:
|
|
1579
|
-
input:
|
|
1580
|
-
iconWrapper:
|
|
1581
|
-
checkIcon:
|
|
1577
|
+
root: Re.root,
|
|
1578
|
+
label: Re.label,
|
|
1579
|
+
input: Re.input,
|
|
1580
|
+
iconWrapper: Re.mantineIconWrapper,
|
|
1581
|
+
checkIcon: Re.checkIcon
|
|
1582
1582
|
},
|
|
1583
1583
|
C.classNames
|
|
1584
|
-
), P = C.className, S = P ? `${
|
|
1584
|
+
), P = C.className, S = P ? `${Re.root} ${P}` : Re.root, w = e ? "" : void 0, T = !c && (!!o || !!t), f = t !== void 0 || C.onClick !== void 0 || C.onChange !== void 0, $ = {
|
|
1585
1585
|
...w !== void 0 ? { "data-error": "" } : {},
|
|
1586
|
-
...
|
|
1586
|
+
...f ? { "data-interactive": "" } : {}
|
|
1587
1587
|
};
|
|
1588
1588
|
return /* @__PURE__ */ r(
|
|
1589
1589
|
Ya,
|
|
@@ -1593,32 +1593,32 @@ const Vo = f(function({
|
|
|
1593
1593
|
checked: i,
|
|
1594
1594
|
className: S,
|
|
1595
1595
|
classNames: N,
|
|
1596
|
-
wrapperProps:
|
|
1596
|
+
wrapperProps: Ve($, p),
|
|
1597
1597
|
"data-icon-only": T ? "" : void 0,
|
|
1598
|
-
tabIndex:
|
|
1599
|
-
|
|
1598
|
+
tabIndex: Ve(
|
|
1599
|
+
f ? void 0 : -1,
|
|
1600
1600
|
u
|
|
1601
1601
|
),
|
|
1602
|
-
"aria-hidden":
|
|
1603
|
-
|
|
1604
|
-
|
|
1602
|
+
"aria-hidden": Ve(
|
|
1603
|
+
f ? void 0 : !0,
|
|
1604
|
+
v
|
|
1605
1605
|
),
|
|
1606
|
-
children: /* @__PURE__ */
|
|
1607
|
-
o && !i && /* @__PURE__ */ r("span", { className:
|
|
1608
|
-
/* @__PURE__ */ r("span", { className:
|
|
1606
|
+
children: /* @__PURE__ */ I("span", { className: Re.innerWrapper, children: [
|
|
1607
|
+
o && !i && /* @__PURE__ */ r("span", { className: Re.leadingIcon, "aria-hidden": !0, children: o }),
|
|
1608
|
+
/* @__PURE__ */ r("span", { className: Re.children, children: c }),
|
|
1609
1609
|
t && /* @__PURE__ */ r(
|
|
1610
1610
|
"span",
|
|
1611
1611
|
{
|
|
1612
1612
|
ref: l,
|
|
1613
1613
|
role: "button",
|
|
1614
|
-
className:
|
|
1615
|
-
onClick: (
|
|
1616
|
-
|
|
1614
|
+
className: Re.deleteIcon,
|
|
1615
|
+
onClick: (b) => {
|
|
1616
|
+
b.preventDefault(), b.stopPropagation(), t(b);
|
|
1617
1617
|
},
|
|
1618
1618
|
"aria-label": n,
|
|
1619
|
-
onKeyDown: (
|
|
1620
|
-
(
|
|
1621
|
-
|
|
1619
|
+
onKeyDown: (b) => {
|
|
1620
|
+
(b.key === "Enter" || b.key === " ") && (b.preventDefault(), b.stopPropagation(), t(
|
|
1621
|
+
b
|
|
1622
1622
|
));
|
|
1623
1623
|
},
|
|
1624
1624
|
tabIndex: s ?? 0,
|
|
@@ -1632,7 +1632,7 @@ const Vo = f(function({
|
|
|
1632
1632
|
Vo.displayName = "Chip";
|
|
1633
1633
|
const ul = "Container-module__root___UVssr", wo = {
|
|
1634
1634
|
root: ul
|
|
1635
|
-
}, pl =
|
|
1635
|
+
}, pl = y(
|
|
1636
1636
|
function({ children: e, size: o, ...t }, n) {
|
|
1637
1637
|
const s = {
|
|
1638
1638
|
"rec-sm": "sm",
|
|
@@ -1664,7 +1664,7 @@ const ul = "Container-module__root___UVssr", wo = {
|
|
|
1664
1664
|
);
|
|
1665
1665
|
pl.displayName = "Container";
|
|
1666
1666
|
function ml(a) {
|
|
1667
|
-
return /* @__PURE__ */
|
|
1667
|
+
return /* @__PURE__ */ I(
|
|
1668
1668
|
"svg",
|
|
1669
1669
|
{
|
|
1670
1670
|
viewBox: "0 0 24 24",
|
|
@@ -1684,7 +1684,7 @@ function ml(a) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
);
|
|
1686
1686
|
}
|
|
1687
|
-
const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module__root___6XvRT", yl = "DatePicker-module__input___pcSW8", hl = "DatePicker-module__section___n3iWA", vl = "DatePicker-module__dropdown___wjt08", bl = "DatePicker-module__calendarHeader___KHxno", Nl = "DatePicker-module__calendarHeaderControl___q7UvJ", gl = "DatePicker-module__calendarHeaderLevel___ebdJ2", Cl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", Pl = "DatePicker-module__weekday___H5lIj", Tl = "DatePicker-module__day___U03J2",
|
|
1687
|
+
const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module__root___6XvRT", yl = "DatePicker-module__input___pcSW8", hl = "DatePicker-module__section___n3iWA", vl = "DatePicker-module__dropdown___wjt08", bl = "DatePicker-module__calendarHeader___KHxno", Nl = "DatePicker-module__calendarHeaderControl___q7UvJ", gl = "DatePicker-module__calendarHeaderLevel___ebdJ2", Cl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", Pl = "DatePicker-module__weekday___H5lIj", Tl = "DatePicker-module__day___U03J2", Pe = {
|
|
1688
1688
|
layoutOverride: _l,
|
|
1689
1689
|
root: fl,
|
|
1690
1690
|
input: yl,
|
|
@@ -1705,7 +1705,7 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1705
1705
|
// Recursica does not expose the library's native corner-radius system.
|
|
1706
1706
|
"description"
|
|
1707
1707
|
// Managed by FormControlWrapper via assistiveText.
|
|
1708
|
-
], Sl =
|
|
1708
|
+
], Sl = y(
|
|
1709
1709
|
function(e, o) {
|
|
1710
1710
|
const {
|
|
1711
1711
|
overStyled: t = !1,
|
|
@@ -1718,8 +1718,8 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1718
1718
|
onLabelEditClick: d,
|
|
1719
1719
|
label: p,
|
|
1720
1720
|
assistiveText: u,
|
|
1721
|
-
assistiveWithIcon:
|
|
1722
|
-
error:
|
|
1721
|
+
assistiveWithIcon: v,
|
|
1722
|
+
error: _,
|
|
1723
1723
|
required: g,
|
|
1724
1724
|
withAsterisk: h,
|
|
1725
1725
|
id: C,
|
|
@@ -1728,9 +1728,9 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1728
1728
|
disabled: S,
|
|
1729
1729
|
readOnly: w,
|
|
1730
1730
|
readOnlyComponent: T,
|
|
1731
|
-
emptyValueComponent:
|
|
1731
|
+
emptyValueComponent: f,
|
|
1732
1732
|
value: $,
|
|
1733
|
-
defaultValue:
|
|
1733
|
+
defaultValue: b,
|
|
1734
1734
|
highlightToday: O = !0,
|
|
1735
1735
|
// Default on so today is visually marked; consumers can still override.
|
|
1736
1736
|
valueFormat: M = "MM/DD/YY",
|
|
@@ -1739,22 +1739,22 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1739
1739
|
// Default placeholder; consumers can still override.
|
|
1740
1740
|
leftSection: W,
|
|
1741
1741
|
// Default leading icon computed below; consumers can still override.
|
|
1742
|
-
...
|
|
1742
|
+
...L
|
|
1743
1743
|
} = e, Y = V(
|
|
1744
|
-
m(
|
|
1744
|
+
m(L, t),
|
|
1745
1745
|
wl
|
|
1746
1746
|
), G = Y, j = E(
|
|
1747
1747
|
{
|
|
1748
|
-
wrapper:
|
|
1748
|
+
wrapper: Pe.root,
|
|
1749
1749
|
// The nested Input internal relative wrapper bounding box
|
|
1750
|
-
input:
|
|
1751
|
-
section:
|
|
1752
|
-
day:
|
|
1753
|
-
weekday:
|
|
1754
|
-
calendarHeader:
|
|
1755
|
-
calendarHeaderControl:
|
|
1756
|
-
calendarHeaderLevel:
|
|
1757
|
-
calendarHeaderControlIcon:
|
|
1750
|
+
input: Pe.input,
|
|
1751
|
+
section: Pe.section,
|
|
1752
|
+
day: Pe.day,
|
|
1753
|
+
weekday: Pe.weekday,
|
|
1754
|
+
calendarHeader: Pe.calendarHeader,
|
|
1755
|
+
calendarHeaderControl: Pe.calendarHeaderControl,
|
|
1756
|
+
calendarHeaderLevel: Pe.calendarHeaderLevel,
|
|
1757
|
+
calendarHeaderControlIcon: Pe.calendarHeaderControlIcon
|
|
1758
1758
|
},
|
|
1759
1759
|
G.classNames
|
|
1760
1760
|
), X = G.popoverProps, H = X && typeof X == "object" && !Array.isArray(X) ? X : void 0, K = H != null && H.classNames && typeof H.classNames == "object" && !Array.isArray(H.classNames) ? H.classNames : void 0;
|
|
@@ -1762,12 +1762,12 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1762
1762
|
const J = {
|
|
1763
1763
|
...H,
|
|
1764
1764
|
classNames: E(
|
|
1765
|
-
{ dropdown:
|
|
1765
|
+
{ dropdown: Pe.dropdown },
|
|
1766
1766
|
K
|
|
1767
1767
|
)
|
|
1768
|
-
}, ue = N ? `${
|
|
1768
|
+
}, ue = N ? `${Pe.layoutOverride} ${N}` : Pe.layoutOverride;
|
|
1769
1769
|
return /* @__PURE__ */ r(
|
|
1770
|
-
|
|
1770
|
+
be,
|
|
1771
1771
|
{
|
|
1772
1772
|
className: ue,
|
|
1773
1773
|
style: P,
|
|
@@ -1782,17 +1782,17 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1782
1782
|
onLabelEditClick: d,
|
|
1783
1783
|
label: p,
|
|
1784
1784
|
assistiveText: u,
|
|
1785
|
-
assistiveWithIcon:
|
|
1786
|
-
error:
|
|
1785
|
+
assistiveWithIcon: v,
|
|
1786
|
+
error: _,
|
|
1787
1787
|
required: g,
|
|
1788
1788
|
withAsterisk: h,
|
|
1789
1789
|
id: C,
|
|
1790
1790
|
readOnly: w,
|
|
1791
1791
|
readOnlyComponent: T,
|
|
1792
|
-
emptyValueComponent:
|
|
1792
|
+
emptyValueComponent: f,
|
|
1793
1793
|
readOnlyType: "text",
|
|
1794
1794
|
readOnlyValue: (() => {
|
|
1795
|
-
const A = $ !== void 0 ? $ :
|
|
1795
|
+
const A = $ !== void 0 ? $ : b;
|
|
1796
1796
|
return A ? gr({
|
|
1797
1797
|
type: "default",
|
|
1798
1798
|
date: A,
|
|
@@ -1812,7 +1812,7 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1812
1812
|
classNames: j,
|
|
1813
1813
|
disabled: S,
|
|
1814
1814
|
value: $,
|
|
1815
|
-
defaultValue:
|
|
1815
|
+
defaultValue: b,
|
|
1816
1816
|
label: void 0,
|
|
1817
1817
|
description: void 0,
|
|
1818
1818
|
error: void 0,
|
|
@@ -1820,13 +1820,13 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1820
1820
|
highlightToday: O,
|
|
1821
1821
|
valueFormat: M,
|
|
1822
1822
|
placeholder: D,
|
|
1823
|
-
leftSection:
|
|
1823
|
+
leftSection: Ve(
|
|
1824
1824
|
/* @__PURE__ */ r(ml, {}),
|
|
1825
1825
|
W
|
|
1826
1826
|
),
|
|
1827
1827
|
wrapperProps: {
|
|
1828
1828
|
"data-disabled": S ? "true" : void 0,
|
|
1829
|
-
"data-error":
|
|
1829
|
+
"data-error": _ ? "true" : void 0
|
|
1830
1830
|
},
|
|
1831
1831
|
popoverProps: J
|
|
1832
1832
|
}
|
|
@@ -1837,12 +1837,12 @@ const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module_
|
|
|
1837
1837
|
}
|
|
1838
1838
|
);
|
|
1839
1839
|
Sl.displayName = "DatePicker";
|
|
1840
|
-
const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__root___uVyL0", Ol = "Dropdown-module__input___dK4dN",
|
|
1840
|
+
const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__root___uVyL0", Ol = "Dropdown-module__input___dK4dN", Rl = "Dropdown-module__section___j3MRB", kl = "Dropdown-module__clearButton___ODnIa", Il = "Dropdown-module__dropdown___gG-Sw", Ll = "Dropdown-module__option___nAGU-", Ml = "Dropdown-module__optionContent___QTwwg", Al = "Dropdown-module__optionIcon___2L56h", Wl = "Dropdown-module__optionText___cCDpI", zl = "Dropdown-module__optionTextWrap___L4OPI", Dl = "Dropdown-module__optionSupportingText___2JIOV", oe = {
|
|
1841
1841
|
layoutOverride: $l,
|
|
1842
1842
|
root: xl,
|
|
1843
1843
|
input: Ol,
|
|
1844
|
-
section:
|
|
1845
|
-
clearButton:
|
|
1844
|
+
section: Rl,
|
|
1845
|
+
clearButton: kl,
|
|
1846
1846
|
dropdown: Il,
|
|
1847
1847
|
option: Ll,
|
|
1848
1848
|
optionContent: Ml,
|
|
@@ -1859,7 +1859,7 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1859
1859
|
// Recursica does not expose the library's native corner-radius system.
|
|
1860
1860
|
"searchable"
|
|
1861
1861
|
// Not a supported Dropdown feature — that's what makes it an AutoComplete.
|
|
1862
|
-
], Bl =
|
|
1862
|
+
], Bl = y(
|
|
1863
1863
|
function(e, o) {
|
|
1864
1864
|
const {
|
|
1865
1865
|
overStyled: t = !1,
|
|
@@ -1872,8 +1872,8 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1872
1872
|
labelWithEditIcon: d,
|
|
1873
1873
|
onLabelEditClick: p,
|
|
1874
1874
|
label: u,
|
|
1875
|
-
assistiveText:
|
|
1876
|
-
assistiveWithIcon:
|
|
1875
|
+
assistiveText: v,
|
|
1876
|
+
assistiveWithIcon: _,
|
|
1877
1877
|
error: g,
|
|
1878
1878
|
required: h,
|
|
1879
1879
|
withAsterisk: C,
|
|
@@ -1882,14 +1882,14 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1882
1882
|
style: S,
|
|
1883
1883
|
disabled: w,
|
|
1884
1884
|
readOnly: T,
|
|
1885
|
-
readOnlyComponent:
|
|
1885
|
+
readOnlyComponent: f,
|
|
1886
1886
|
emptyValueComponent: $,
|
|
1887
|
-
value:
|
|
1887
|
+
value: b,
|
|
1888
1888
|
defaultValue: O,
|
|
1889
1889
|
data: M,
|
|
1890
1890
|
clearButtonProps: D,
|
|
1891
1891
|
renderOption: W,
|
|
1892
|
-
wrapItemText:
|
|
1892
|
+
wrapItemText: L = !1,
|
|
1893
1893
|
...Y
|
|
1894
1894
|
} = e, G = V(
|
|
1895
1895
|
m(Y, t),
|
|
@@ -1918,7 +1918,7 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1918
1918
|
width: s || "100%"
|
|
1919
1919
|
}, ae = P ? `${oe.layoutOverride} ${P}` : oe.layoutOverride;
|
|
1920
1920
|
return /* @__PURE__ */ r(
|
|
1921
|
-
|
|
1921
|
+
be,
|
|
1922
1922
|
{
|
|
1923
1923
|
className: ae,
|
|
1924
1924
|
style: A,
|
|
@@ -1932,17 +1932,17 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1932
1932
|
labelWithEditIcon: d,
|
|
1933
1933
|
onLabelEditClick: p,
|
|
1934
1934
|
label: u,
|
|
1935
|
-
assistiveText:
|
|
1936
|
-
assistiveWithIcon:
|
|
1935
|
+
assistiveText: v,
|
|
1936
|
+
assistiveWithIcon: _,
|
|
1937
1937
|
error: g,
|
|
1938
1938
|
required: h,
|
|
1939
1939
|
withAsterisk: C,
|
|
1940
1940
|
id: N,
|
|
1941
1941
|
readOnly: T,
|
|
1942
|
-
readOnlyComponent:
|
|
1942
|
+
readOnlyComponent: f,
|
|
1943
1943
|
emptyValueComponent: $,
|
|
1944
1944
|
readOnlyType: "text",
|
|
1945
|
-
readOnlyValue:
|
|
1945
|
+
readOnlyValue: b !== void 0 ? String(b) : O ? String(O) : void 0,
|
|
1946
1946
|
readOnlyNativeProps: e,
|
|
1947
1947
|
activeComponent: (
|
|
1948
1948
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -1953,10 +1953,10 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1953
1953
|
...G,
|
|
1954
1954
|
classNames: J,
|
|
1955
1955
|
disabled: w,
|
|
1956
|
-
value:
|
|
1956
|
+
value: b,
|
|
1957
1957
|
defaultValue: O,
|
|
1958
1958
|
data: X || [],
|
|
1959
|
-
renderOption: W ?? ((pe) => an(pe, ue,
|
|
1959
|
+
renderOption: W ?? ((pe) => an(pe, ue, L)),
|
|
1960
1960
|
clearButtonProps: K,
|
|
1961
1961
|
label: void 0,
|
|
1962
1962
|
description: void 0,
|
|
@@ -1977,7 +1977,7 @@ const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__roo
|
|
|
1977
1977
|
}
|
|
1978
1978
|
);
|
|
1979
1979
|
Bl.displayName = "Dropdown";
|
|
1980
|
-
const Fl = "FileInput-module__layoutOverride___HIOY6", Ul = "FileInput-module__root___UvQj-", Vl = "FileInput-module__leadingIcon___z75c4", Hl = "FileInput-module__content___Udsvh", Gl = "FileInput-module__value___RX33R", jl = "FileInput-module__chipRow___My6TF", ql = "FileInput-module__chipWrapper___q2CDy", Kl = "FileInput-module__trailingIcon___odGPm",
|
|
1980
|
+
const Fl = "FileInput-module__layoutOverride___HIOY6", Ul = "FileInput-module__root___UvQj-", Vl = "FileInput-module__leadingIcon___z75c4", Hl = "FileInput-module__content___Udsvh", Gl = "FileInput-module__value___RX33R", jl = "FileInput-module__chipRow___My6TF", ql = "FileInput-module__chipWrapper___q2CDy", Kl = "FileInput-module__trailingIcon___odGPm", De = {
|
|
1981
1981
|
layoutOverride: Fl,
|
|
1982
1982
|
root: Ul,
|
|
1983
1983
|
leadingIcon: Vl,
|
|
@@ -1988,7 +1988,7 @@ const Fl = "FileInput-module__layoutOverride___HIOY6", Ul = "FileInput-module__r
|
|
|
1988
1988
|
trailingIcon: Kl
|
|
1989
1989
|
};
|
|
1990
1990
|
function Yl() {
|
|
1991
|
-
return /* @__PURE__ */
|
|
1991
|
+
return /* @__PURE__ */ I(
|
|
1992
1992
|
"svg",
|
|
1993
1993
|
{
|
|
1994
1994
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2008,7 +2008,7 @@ function Yl() {
|
|
|
2008
2008
|
);
|
|
2009
2009
|
}
|
|
2010
2010
|
function Zl() {
|
|
2011
|
-
return /* @__PURE__ */
|
|
2011
|
+
return /* @__PURE__ */ I(
|
|
2012
2012
|
"svg",
|
|
2013
2013
|
{
|
|
2014
2014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2026,7 +2026,7 @@ function Zl() {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
);
|
|
2028
2028
|
}
|
|
2029
|
-
const Xl =
|
|
2029
|
+
const Xl = y(
|
|
2030
2030
|
function(e, o) {
|
|
2031
2031
|
const {
|
|
2032
2032
|
overStyled: t = !1,
|
|
@@ -2039,8 +2039,8 @@ const Xl = f(
|
|
|
2039
2039
|
labelActionArea: d,
|
|
2040
2040
|
onLabelEditClick: p,
|
|
2041
2041
|
label: u,
|
|
2042
|
-
assistiveText:
|
|
2043
|
-
assistiveWithIcon:
|
|
2042
|
+
assistiveText: v,
|
|
2043
|
+
assistiveWithIcon: _,
|
|
2044
2044
|
error: g,
|
|
2045
2045
|
required: h,
|
|
2046
2046
|
withAsterisk: C,
|
|
@@ -2049,14 +2049,14 @@ const Xl = f(
|
|
|
2049
2049
|
style: S,
|
|
2050
2050
|
disabled: w,
|
|
2051
2051
|
readOnly: T,
|
|
2052
|
-
files:
|
|
2052
|
+
files: f,
|
|
2053
2053
|
onFilesAdded: $,
|
|
2054
|
-
onFileRemove:
|
|
2054
|
+
onFileRemove: b,
|
|
2055
2055
|
accept: O,
|
|
2056
2056
|
multiple: M = !1,
|
|
2057
2057
|
maxSize: D,
|
|
2058
2058
|
maxFiles: W,
|
|
2059
|
-
onFilesRejected:
|
|
2059
|
+
onFilesRejected: L,
|
|
2060
2060
|
invalidFileTypeMessage: Y = "File type not accepted",
|
|
2061
2061
|
maxFilesMessage: G = M ? `Maximum of ${W} files allowed` : "Only one file is allowed",
|
|
2062
2062
|
icon: j,
|
|
@@ -2066,53 +2066,53 @@ const Xl = f(
|
|
|
2066
2066
|
removeFileLabel: J = "Remove",
|
|
2067
2067
|
clearLabel: ue = "Clear",
|
|
2068
2068
|
...A
|
|
2069
|
-
} = e, pe = m(A, t),
|
|
2070
|
-
if (!
|
|
2069
|
+
} = e, pe = m(A, t), R = !w && !T, se = !!f && f.length > 0, Ne = Fe(null), [re, le] = ie(!1), [ge, Se] = ie(!1), Ze = (x) => {
|
|
2070
|
+
if (!R) return;
|
|
2071
2071
|
const te = Array.from(x);
|
|
2072
2072
|
if (te.length === 0) return;
|
|
2073
|
-
const ne = M ? W : 1, Q = M ? (
|
|
2073
|
+
const ne = M ? W : 1, Q = M ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], Mo = [];
|
|
2074
2074
|
let gt = !1, Ct = !1;
|
|
2075
2075
|
for (const Xo of te) {
|
|
2076
2076
|
const Pt = !Zt(Xo, O);
|
|
2077
2077
|
Pt && (gt = !0);
|
|
2078
|
-
const Ea = D !== void 0 && Xo.size > D, Tt = ne !== void 0 && Q +
|
|
2079
|
-
Tt && (Ct = !0), (Pt || Ea || Tt ? Mo :
|
|
2078
|
+
const Ea = D !== void 0 && Xo.size > D, Tt = ne !== void 0 && Q + fe.length >= ne;
|
|
2079
|
+
Tt && (Ct = !0), (Pt || Ea || Tt ? Mo : fe).push(Xo);
|
|
2080
2080
|
}
|
|
2081
|
-
le(gt),
|
|
2082
|
-
},
|
|
2083
|
-
x.preventDefault(),
|
|
2081
|
+
le(gt), Se(Ct), fe.length > 0 && ($ == null || $(fe)), Mo.length > 0 && (L == null || L(Mo));
|
|
2082
|
+
}, $e = Fe(0), [Xe, We] = ie(!1), ze = (x) => {
|
|
2083
|
+
x.preventDefault(), $e.current += 1, We(!0);
|
|
2084
2084
|
}, uo = (x) => {
|
|
2085
|
-
x.preventDefault(),
|
|
2086
|
-
},
|
|
2085
|
+
x.preventDefault(), $e.current -= 1, $e.current <= 0 && ($e.current = 0, We(!1));
|
|
2086
|
+
}, xe = (x) => {
|
|
2087
2087
|
x.preventDefault();
|
|
2088
2088
|
}, Qe = (x) => {
|
|
2089
|
-
x.preventDefault(),
|
|
2090
|
-
},
|
|
2089
|
+
x.preventDefault(), $e.current = 0, We(!1), Ze(x.dataTransfer.files);
|
|
2090
|
+
}, Oe = () => {
|
|
2091
2091
|
var x;
|
|
2092
|
-
|
|
2092
|
+
R && ((x = Ne.current) == null || x.click());
|
|
2093
2093
|
}, Je = (x) => {
|
|
2094
|
-
x.key !== "Enter" && x.key !== " " || (x.preventDefault(),
|
|
2094
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), Oe());
|
|
2095
2095
|
}, U = (x) => {
|
|
2096
2096
|
x.target.files && Ze(x.target.files), x.target.value = "";
|
|
2097
2097
|
}, B = () => {
|
|
2098
|
-
!
|
|
2099
|
-
}, [z,
|
|
2100
|
-
|
|
2098
|
+
!R || !f || f.length === 0 || f.forEach((x) => b == null ? void 0 : b(x.id ?? x.file.name));
|
|
2099
|
+
}, [z, k] = ie(0), F = Fe([]), Z = Fe((f == null ? void 0 : f.length) ?? 0);
|
|
2100
|
+
Ie(() => {
|
|
2101
2101
|
var te;
|
|
2102
|
-
const x = (
|
|
2102
|
+
const x = (f == null ? void 0 : f.length) ?? 0;
|
|
2103
2103
|
if (x > 0 && x < Z.current) {
|
|
2104
2104
|
const ne = Math.min(z, x - 1);
|
|
2105
|
-
|
|
2105
|
+
k(ne), (te = F.current[ne]) == null || te.focus();
|
|
2106
2106
|
}
|
|
2107
2107
|
Z.current = x;
|
|
2108
|
-
}, [
|
|
2109
|
-
const
|
|
2108
|
+
}, [f]);
|
|
2109
|
+
const _e = (x) => {
|
|
2110
2110
|
var Q;
|
|
2111
|
-
const te = (
|
|
2111
|
+
const te = (f == null ? void 0 : f.length) ?? 0;
|
|
2112
2112
|
if (te === 0) return;
|
|
2113
2113
|
let ne;
|
|
2114
|
-
x.key === "ArrowRight" || x.key === "ArrowDown" ? ne = (z + 1) % te : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ne = (z - 1 + te) % te), ne !== void 0 && (x.preventDefault(), x.stopPropagation(),
|
|
2115
|
-
}, eo = g ?? (re ? Y :
|
|
2114
|
+
x.key === "ArrowRight" || x.key === "ArrowDown" ? ne = (z + 1) % te : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ne = (z - 1 + te) % te), ne !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ne), (Q = F.current[ne]) == null || Q.focus());
|
|
2115
|
+
}, eo = g ?? (re ? Y : ge ? G : void 0), po = P ? `${De.layoutOverride} ${P}` : De.layoutOverride;
|
|
2116
2116
|
return /* @__PURE__ */ r(
|
|
2117
2117
|
No,
|
|
2118
2118
|
{
|
|
@@ -2127,49 +2127,49 @@ const Xl = f(
|
|
|
2127
2127
|
labelActionArea: d,
|
|
2128
2128
|
onLabelEditClick: p,
|
|
2129
2129
|
label: u,
|
|
2130
|
-
assistiveText:
|
|
2131
|
-
assistiveWithIcon:
|
|
2130
|
+
assistiveText: v,
|
|
2131
|
+
assistiveWithIcon: _,
|
|
2132
2132
|
error: eo,
|
|
2133
2133
|
required: h,
|
|
2134
2134
|
withAsterisk: C,
|
|
2135
2135
|
id: N,
|
|
2136
2136
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2137
2137
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2138
|
-
children: /* @__PURE__ */
|
|
2138
|
+
children: /* @__PURE__ */ I(
|
|
2139
2139
|
"div",
|
|
2140
2140
|
{
|
|
2141
2141
|
ref: o,
|
|
2142
2142
|
...pe,
|
|
2143
|
-
className:
|
|
2143
|
+
className: De.root,
|
|
2144
2144
|
role: "button",
|
|
2145
2145
|
"aria-label": K,
|
|
2146
2146
|
"aria-disabled": w ? "true" : void 0,
|
|
2147
|
-
tabIndex:
|
|
2147
|
+
tabIndex: R ? 0 : -1,
|
|
2148
2148
|
"data-disabled": w ? "true" : void 0,
|
|
2149
2149
|
"data-readonly": T ? "true" : void 0,
|
|
2150
2150
|
"data-error": eo ? "true" : void 0,
|
|
2151
2151
|
"data-dragging": Xe ? "true" : void 0,
|
|
2152
|
-
onClick:
|
|
2153
|
-
onKeyDown:
|
|
2154
|
-
onDragEnter:
|
|
2155
|
-
onDragLeave:
|
|
2156
|
-
onDragOver:
|
|
2157
|
-
onDrop:
|
|
2152
|
+
onClick: R ? Oe : void 0,
|
|
2153
|
+
onKeyDown: R ? Je : void 0,
|
|
2154
|
+
onDragEnter: R ? ze : void 0,
|
|
2155
|
+
onDragLeave: R ? uo : void 0,
|
|
2156
|
+
onDragOver: R ? xe : void 0,
|
|
2157
|
+
onDrop: R ? Qe : void 0,
|
|
2158
2158
|
children: [
|
|
2159
|
-
/* @__PURE__ */ r("span", { className:
|
|
2160
|
-
/* @__PURE__ */
|
|
2161
|
-
!se && /* @__PURE__ */ r("span", { className:
|
|
2159
|
+
/* @__PURE__ */ r("span", { className: De.leadingIcon, "aria-hidden": !0, children: j ?? /* @__PURE__ */ r(Yl, {}) }),
|
|
2160
|
+
/* @__PURE__ */ I("div", { className: De.content, children: [
|
|
2161
|
+
!se && /* @__PURE__ */ r("span", { className: De.value, "data-placeholder": "true", children: H }),
|
|
2162
2162
|
se && /* @__PURE__ */ r(
|
|
2163
2163
|
"div",
|
|
2164
2164
|
{
|
|
2165
|
-
className:
|
|
2166
|
-
onKeyDown: T ? void 0 :
|
|
2167
|
-
children:
|
|
2165
|
+
className: De.chipRow,
|
|
2166
|
+
onKeyDown: T ? void 0 : _e,
|
|
2167
|
+
children: f.map((x, te) => {
|
|
2168
2168
|
const ne = x.id ?? x.file.name;
|
|
2169
2169
|
return /* @__PURE__ */ r(
|
|
2170
2170
|
"span",
|
|
2171
2171
|
{
|
|
2172
|
-
className:
|
|
2172
|
+
className: De.chipWrapper,
|
|
2173
2173
|
onClick: (Q) => Q.stopPropagation(),
|
|
2174
2174
|
children: /* @__PURE__ */ r(
|
|
2175
2175
|
Vo,
|
|
@@ -2181,7 +2181,7 @@ const Xl = f(
|
|
|
2181
2181
|
deleteIconRef: (Q) => {
|
|
2182
2182
|
F.current[te] = Q;
|
|
2183
2183
|
},
|
|
2184
|
-
onDelete: T || w ? void 0 : () =>
|
|
2184
|
+
onDelete: T || w ? void 0 : () => b == null ? void 0 : b(ne),
|
|
2185
2185
|
children: x.file.name
|
|
2186
2186
|
}
|
|
2187
2187
|
)
|
|
@@ -2193,14 +2193,14 @@ const Xl = f(
|
|
|
2193
2193
|
)
|
|
2194
2194
|
] }),
|
|
2195
2195
|
se && !T && /* @__PURE__ */ r(
|
|
2196
|
-
|
|
2196
|
+
Ue,
|
|
2197
2197
|
{
|
|
2198
2198
|
overStyled: !0,
|
|
2199
2199
|
variant: "text",
|
|
2200
2200
|
size: "small",
|
|
2201
2201
|
icon: X ?? /* @__PURE__ */ r(Zl, {}),
|
|
2202
2202
|
"aria-label": ue,
|
|
2203
|
-
className:
|
|
2203
|
+
className: De.trailingIcon,
|
|
2204
2204
|
disabled: w,
|
|
2205
2205
|
onClick: (x) => {
|
|
2206
2206
|
x.preventDefault(), x.stopPropagation(), B();
|
|
@@ -2213,12 +2213,12 @@ const Xl = f(
|
|
|
2213
2213
|
/* @__PURE__ */ r(
|
|
2214
2214
|
"input",
|
|
2215
2215
|
{
|
|
2216
|
-
ref:
|
|
2216
|
+
ref: Ne,
|
|
2217
2217
|
type: "file",
|
|
2218
2218
|
hidden: !0,
|
|
2219
2219
|
accept: O,
|
|
2220
2220
|
multiple: M,
|
|
2221
|
-
disabled: !
|
|
2221
|
+
disabled: !R,
|
|
2222
2222
|
onChange: U
|
|
2223
2223
|
}
|
|
2224
2224
|
)
|
|
@@ -2239,7 +2239,7 @@ const Ql = "FileUpload-module__layoutOverride___bPpi8", Jl = "FileUpload-module_
|
|
|
2239
2239
|
fileList: ni
|
|
2240
2240
|
};
|
|
2241
2241
|
function ai() {
|
|
2242
|
-
return /* @__PURE__ */
|
|
2242
|
+
return /* @__PURE__ */ I(
|
|
2243
2243
|
"svg",
|
|
2244
2244
|
{
|
|
2245
2245
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2258,7 +2258,7 @@ function ai() {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
);
|
|
2260
2260
|
}
|
|
2261
|
-
const ri =
|
|
2261
|
+
const ri = y(
|
|
2262
2262
|
function(e, o) {
|
|
2263
2263
|
const {
|
|
2264
2264
|
overStyled: t = !1,
|
|
@@ -2271,8 +2271,8 @@ const ri = f(
|
|
|
2271
2271
|
labelActionArea: d,
|
|
2272
2272
|
onLabelEditClick: p,
|
|
2273
2273
|
label: u,
|
|
2274
|
-
assistiveText:
|
|
2275
|
-
assistiveWithIcon:
|
|
2274
|
+
assistiveText: v,
|
|
2275
|
+
assistiveWithIcon: _,
|
|
2276
2276
|
error: g,
|
|
2277
2277
|
required: h,
|
|
2278
2278
|
withAsterisk: C,
|
|
@@ -2281,14 +2281,14 @@ const ri = f(
|
|
|
2281
2281
|
style: S,
|
|
2282
2282
|
disabled: w,
|
|
2283
2283
|
readOnly: T,
|
|
2284
|
-
files:
|
|
2284
|
+
files: f,
|
|
2285
2285
|
onFilesAdded: $,
|
|
2286
|
-
onFileRemove:
|
|
2286
|
+
onFileRemove: b,
|
|
2287
2287
|
accept: O,
|
|
2288
2288
|
multiple: M = !0,
|
|
2289
2289
|
maxSize: D,
|
|
2290
2290
|
maxFiles: W,
|
|
2291
|
-
onFilesRejected:
|
|
2291
|
+
onFilesRejected: L,
|
|
2292
2292
|
invalidFileTypeMessage: Y = "File type not accepted",
|
|
2293
2293
|
maxFilesMessage: G = `Maximum of ${W} files allowed`,
|
|
2294
2294
|
icon: j,
|
|
@@ -2296,48 +2296,48 @@ const ri = f(
|
|
|
2296
2296
|
browseButtonLabel: H = "Browse files",
|
|
2297
2297
|
removeFileLabel: K = "Remove",
|
|
2298
2298
|
...J
|
|
2299
|
-
} = e, A = m(J, t), ae =
|
|
2299
|
+
} = e, A = m(J, t), ae = Fe(null), [pe, R] = ie(!1), [se, Ne] = ie(!1), re = (k) => {
|
|
2300
2300
|
if (w) return;
|
|
2301
|
-
const F = Array.from(
|
|
2301
|
+
const F = Array.from(k);
|
|
2302
2302
|
if (F.length === 0) return;
|
|
2303
|
-
const Z = (
|
|
2303
|
+
const Z = (f == null ? void 0 : f.length) ?? 0, _e = [], eo = [];
|
|
2304
2304
|
let po = !1, x = !1;
|
|
2305
2305
|
for (const te of F) {
|
|
2306
2306
|
const ne = !Zt(te, O);
|
|
2307
2307
|
ne && (po = !0);
|
|
2308
|
-
const Q = D !== void 0 && te.size > D,
|
|
2309
|
-
|
|
2308
|
+
const Q = D !== void 0 && te.size > D, fe = W !== void 0 && Z + _e.length >= W;
|
|
2309
|
+
fe && (x = !0), (ne || Q || fe ? eo : _e).push(te);
|
|
2310
2310
|
}
|
|
2311
|
-
|
|
2312
|
-
}, le =
|
|
2313
|
-
|
|
2314
|
-
},
|
|
2315
|
-
|
|
2316
|
-
}, Xe = (
|
|
2317
|
-
|
|
2318
|
-
},
|
|
2319
|
-
|
|
2320
|
-
},
|
|
2321
|
-
var
|
|
2322
|
-
w || (
|
|
2323
|
-
}, uo = (
|
|
2324
|
-
|
|
2325
|
-
}, [
|
|
2326
|
-
|
|
2311
|
+
R(po), Ne(x), _e.length > 0 && ($ == null || $(_e)), eo.length > 0 && (L == null || L(eo));
|
|
2312
|
+
}, le = Fe(0), [ge, Se] = ie(!1), Ze = (k) => {
|
|
2313
|
+
k.preventDefault(), le.current += 1, Se(!0);
|
|
2314
|
+
}, $e = (k) => {
|
|
2315
|
+
k.preventDefault(), le.current -= 1, le.current <= 0 && (le.current = 0, Se(!1));
|
|
2316
|
+
}, Xe = (k) => {
|
|
2317
|
+
k.preventDefault();
|
|
2318
|
+
}, We = (k) => {
|
|
2319
|
+
k.preventDefault(), le.current = 0, Se(!1), re(k.dataTransfer.files);
|
|
2320
|
+
}, ze = () => {
|
|
2321
|
+
var k;
|
|
2322
|
+
w || (k = ae.current) == null || k.click();
|
|
2323
|
+
}, uo = (k) => {
|
|
2324
|
+
k.target.files && re(k.target.files), k.target.value = "";
|
|
2325
|
+
}, [xe, Qe] = ie(0), Oe = Fe([]), Je = Fe((f == null ? void 0 : f.length) ?? 0);
|
|
2326
|
+
Ie(() => {
|
|
2327
2327
|
var F;
|
|
2328
|
-
const
|
|
2329
|
-
if (
|
|
2330
|
-
const Z = Math.min(
|
|
2331
|
-
Qe(Z), (F =
|
|
2328
|
+
const k = (f == null ? void 0 : f.length) ?? 0;
|
|
2329
|
+
if (k > 0 && k < Je.current) {
|
|
2330
|
+
const Z = Math.min(xe, k - 1);
|
|
2331
|
+
Qe(Z), (F = Oe.current[Z]) == null || F.focus();
|
|
2332
2332
|
}
|
|
2333
|
-
Je.current =
|
|
2334
|
-
}, [
|
|
2335
|
-
const U = (
|
|
2336
|
-
var
|
|
2337
|
-
const F = (
|
|
2333
|
+
Je.current = k;
|
|
2334
|
+
}, [f]);
|
|
2335
|
+
const U = (k) => {
|
|
2336
|
+
var _e;
|
|
2337
|
+
const F = (f == null ? void 0 : f.length) ?? 0;
|
|
2338
2338
|
if (F === 0) return;
|
|
2339
2339
|
let Z;
|
|
2340
|
-
|
|
2340
|
+
k.key === "ArrowRight" || k.key === "ArrowDown" ? Z = (xe + 1) % F : (k.key === "ArrowLeft" || k.key === "ArrowUp") && (Z = (xe - 1 + F) % F), Z !== void 0 && (k.preventDefault(), Qe(Z), (_e = Oe.current[Z]) == null || _e.focus());
|
|
2341
2341
|
}, B = g ?? (pe ? Y : se ? G : void 0), z = P ? `${no.layoutOverride} ${P}` : no.layoutOverride;
|
|
2342
2342
|
return /* @__PURE__ */ r(
|
|
2343
2343
|
No,
|
|
@@ -2353,14 +2353,14 @@ const ri = f(
|
|
|
2353
2353
|
labelActionArea: d,
|
|
2354
2354
|
onLabelEditClick: p,
|
|
2355
2355
|
label: u,
|
|
2356
|
-
assistiveText:
|
|
2357
|
-
assistiveWithIcon:
|
|
2356
|
+
assistiveText: v,
|
|
2357
|
+
assistiveWithIcon: _,
|
|
2358
2358
|
error: B,
|
|
2359
2359
|
required: h,
|
|
2360
2360
|
withAsterisk: C,
|
|
2361
2361
|
id: N,
|
|
2362
2362
|
controlMaxWidth: "var(--recursica_ui-kit_globals_form_field_size_max-width)",
|
|
2363
|
-
children: /* @__PURE__ */
|
|
2363
|
+
children: /* @__PURE__ */ I(
|
|
2364
2364
|
"div",
|
|
2365
2365
|
{
|
|
2366
2366
|
ref: o,
|
|
@@ -2369,24 +2369,24 @@ const ri = f(
|
|
|
2369
2369
|
"data-disabled": w ? "true" : void 0,
|
|
2370
2370
|
"data-error": B ? "true" : void 0,
|
|
2371
2371
|
children: [
|
|
2372
|
-
!T && /* @__PURE__ */
|
|
2372
|
+
!T && /* @__PURE__ */ I(
|
|
2373
2373
|
"div",
|
|
2374
2374
|
{
|
|
2375
2375
|
className: no.dropzone,
|
|
2376
|
-
"data-dragging":
|
|
2376
|
+
"data-dragging": ge ? "true" : void 0,
|
|
2377
2377
|
onDragEnter: w ? void 0 : Ze,
|
|
2378
|
-
onDragLeave: w ? void 0 :
|
|
2378
|
+
onDragLeave: w ? void 0 : $e,
|
|
2379
2379
|
onDragOver: w ? void 0 : Xe,
|
|
2380
|
-
onDrop: w ? void 0 :
|
|
2380
|
+
onDrop: w ? void 0 : We,
|
|
2381
2381
|
children: [
|
|
2382
2382
|
/* @__PURE__ */ r("span", { className: no.uploadIcon, children: j ?? /* @__PURE__ */ r(ai, {}) }),
|
|
2383
2383
|
/* @__PURE__ */ r("span", { className: no.dropzoneText, children: X }),
|
|
2384
2384
|
/* @__PURE__ */ r(
|
|
2385
|
-
|
|
2385
|
+
Ue,
|
|
2386
2386
|
{
|
|
2387
2387
|
variant: "outline",
|
|
2388
2388
|
disabled: w,
|
|
2389
|
-
onClick:
|
|
2389
|
+
onClick: ze,
|
|
2390
2390
|
children: H
|
|
2391
2391
|
}
|
|
2392
2392
|
),
|
|
@@ -2405,28 +2405,28 @@ const ri = f(
|
|
|
2405
2405
|
]
|
|
2406
2406
|
}
|
|
2407
2407
|
),
|
|
2408
|
-
|
|
2409
|
-
const F =
|
|
2410
|
-
return /* @__PURE__ */ r(Vo, { checked: !1, tabIndex: -1, children:
|
|
2408
|
+
f && f.length > 0 && (T ? /* @__PURE__ */ r("div", { className: no.fileList, children: f.map((k) => {
|
|
2409
|
+
const F = k.id ?? k.file.name;
|
|
2410
|
+
return /* @__PURE__ */ r(Vo, { checked: !1, tabIndex: -1, children: k.file.name }, F);
|
|
2411
2411
|
}) }) : /* @__PURE__ */ r(
|
|
2412
2412
|
"div",
|
|
2413
2413
|
{
|
|
2414
2414
|
className: no.fileList,
|
|
2415
2415
|
onKeyDown: U,
|
|
2416
|
-
children:
|
|
2417
|
-
const Z =
|
|
2416
|
+
children: f.map((k, F) => {
|
|
2417
|
+
const Z = k.id ?? k.file.name;
|
|
2418
2418
|
return /* @__PURE__ */ r(
|
|
2419
2419
|
Vo,
|
|
2420
2420
|
{
|
|
2421
2421
|
checked: !1,
|
|
2422
2422
|
tabIndex: -1,
|
|
2423
2423
|
deleteLabel: K,
|
|
2424
|
-
deleteTabIndex: F ===
|
|
2425
|
-
deleteIconRef: (
|
|
2426
|
-
|
|
2424
|
+
deleteTabIndex: F === xe ? 0 : -1,
|
|
2425
|
+
deleteIconRef: (_e) => {
|
|
2426
|
+
Oe.current[F] = _e;
|
|
2427
2427
|
},
|
|
2428
|
-
onDelete: w ? void 0 : () =>
|
|
2429
|
-
children:
|
|
2428
|
+
onDelete: w ? void 0 : () => b == null ? void 0 : b(Z),
|
|
2429
|
+
children: k.file.name
|
|
2430
2430
|
},
|
|
2431
2431
|
Z
|
|
2432
2432
|
);
|
|
@@ -2443,7 +2443,7 @@ const ri = f(
|
|
|
2443
2443
|
ri.displayName = "FileUpload";
|
|
2444
2444
|
const si = "Flex-module__root___yYser", So = {
|
|
2445
2445
|
root: si
|
|
2446
|
-
}, hn =
|
|
2446
|
+
}, hn = y(function({ children: e, gap: o = "rec-default", rowGap: t, columnGap: n, ...s }, l) {
|
|
2447
2447
|
const c = {
|
|
2448
2448
|
root: So.root
|
|
2449
2449
|
}, i = s.classNames;
|
|
@@ -2464,11 +2464,11 @@ const si = "Flex-module__root___yYser", So = {
|
|
|
2464
2464
|
);
|
|
2465
2465
|
});
|
|
2466
2466
|
hn.displayName = "Flex";
|
|
2467
|
-
const
|
|
2467
|
+
const fp = we(hn), li = "LayoutGrid-module__root___etcau", ii = "LayoutGrid-module__inner___Oz2XL", ci = "LayoutGrid-module__col___8EYKw", ce = {
|
|
2468
2468
|
root: li,
|
|
2469
2469
|
inner: ii,
|
|
2470
2470
|
col: ci
|
|
2471
|
-
}, di = 1, vn = at({}), bn =
|
|
2471
|
+
}, di = 1, vn = at({}), bn = y(
|
|
2472
2472
|
function({ children: e, ...o }, t) {
|
|
2473
2473
|
const n = {
|
|
2474
2474
|
root: ce.root,
|
|
@@ -2507,7 +2507,7 @@ const _p = Te(hn), li = "LayoutGrid-module__root___etcau", ii = "LayoutGrid-modu
|
|
|
2507
2507
|
}
|
|
2508
2508
|
);
|
|
2509
2509
|
bn.displayName = "LayoutGrid";
|
|
2510
|
-
const ui =
|
|
2510
|
+
const ui = we(
|
|
2511
2511
|
bn
|
|
2512
2512
|
), tt = "var(--recursica_brand_layout-grids_columns)", pi = (a) => {
|
|
2513
2513
|
if (typeof a == "number") {
|
|
@@ -2548,7 +2548,7 @@ function fi({
|
|
|
2548
2548
|
}
|
|
2549
2549
|
);
|
|
2550
2550
|
}
|
|
2551
|
-
const Nn =
|
|
2551
|
+
const Nn = y(
|
|
2552
2552
|
function({ children: e, ...o }, t) {
|
|
2553
2553
|
const n = {
|
|
2554
2554
|
col: ce.col
|
|
@@ -2558,7 +2558,7 @@ const Nn = f(
|
|
|
2558
2558
|
n.col = d.col ? `${ce.col} ${d.col}` : ce.col;
|
|
2559
2559
|
}
|
|
2560
2560
|
const l = o.className, c = l ? `${ce.col} ${l}` : ce.col, i = Qa();
|
|
2561
|
-
return /* @__PURE__ */
|
|
2561
|
+
return /* @__PURE__ */ I(je, { children: [
|
|
2562
2562
|
/* @__PURE__ */ r(
|
|
2563
2563
|
fi,
|
|
2564
2564
|
{
|
|
@@ -2583,11 +2583,11 @@ const Nn = f(
|
|
|
2583
2583
|
}
|
|
2584
2584
|
);
|
|
2585
2585
|
Nn.displayName = "LayoutGridCol";
|
|
2586
|
-
const yi =
|
|
2586
|
+
const yi = we(Nn), hi = ui;
|
|
2587
2587
|
hi.Col = yi;
|
|
2588
2588
|
const vi = "Group-module__root___ftO64", $o = {
|
|
2589
2589
|
root: vi
|
|
2590
|
-
}, bi =
|
|
2590
|
+
}, bi = y(function({ children: e, gap: o = "rec-default", ...t }, n) {
|
|
2591
2591
|
const s = {
|
|
2592
2592
|
root: $o.root
|
|
2593
2593
|
}, l = t.classNames;
|
|
@@ -2610,7 +2610,7 @@ const vi = "Group-module__root___ftO64", $o = {
|
|
|
2610
2610
|
bi.displayName = "Group";
|
|
2611
2611
|
const Ni = "Heading-module__root___-To4U", gi = {
|
|
2612
2612
|
root: Ni
|
|
2613
|
-
}, Ci =
|
|
2613
|
+
}, Ci = y(
|
|
2614
2614
|
function({
|
|
2615
2615
|
overStyled: e = !1,
|
|
2616
2616
|
order: o = 1,
|
|
@@ -2639,7 +2639,7 @@ const Ni = "Heading-module__root___-To4U", gi = {
|
|
|
2639
2639
|
}
|
|
2640
2640
|
);
|
|
2641
2641
|
Ci.displayName = "Heading";
|
|
2642
|
-
const Pi = "HoverCard-module__dropdown___FBPFW", Ti = "HoverCard-module__arrow___S9AkE",
|
|
2642
|
+
const Pi = "HoverCard-module__dropdown___FBPFW", Ti = "HoverCard-module__arrow___S9AkE", Rt = {
|
|
2643
2643
|
dropdown: Pi,
|
|
2644
2644
|
arrow: Ti
|
|
2645
2645
|
}, gn = function({
|
|
@@ -2656,8 +2656,8 @@ const Pi = "HoverCard-module__dropdown___FBPFW", Ti = "HoverCard-module__arrow__
|
|
|
2656
2656
|
}) {
|
|
2657
2657
|
const c = m(l, e), i = c, d = E(
|
|
2658
2658
|
{
|
|
2659
|
-
dropdown:
|
|
2660
|
-
arrow:
|
|
2659
|
+
dropdown: Rt.dropdown,
|
|
2660
|
+
arrow: Rt.arrow
|
|
2661
2661
|
},
|
|
2662
2662
|
i.classNames
|
|
2663
2663
|
);
|
|
@@ -2698,12 +2698,12 @@ const wi = "Link-module__root___I0VGE", Si = "Link-module__iconWrapper___W-LlF",
|
|
|
2698
2698
|
root: wi,
|
|
2699
2699
|
iconWrapper: Si,
|
|
2700
2700
|
labelText: $i
|
|
2701
|
-
}, wn =
|
|
2701
|
+
}, wn = y(function({ icon: e, children: o, overStyled: t = !1, ...n }, s) {
|
|
2702
2702
|
const l = m(n, t), c = l, i = E(
|
|
2703
2703
|
{ root: xo.root },
|
|
2704
2704
|
c.classNames
|
|
2705
2705
|
), d = c.className, p = d ? `${xo.root} ${d}` : xo.root;
|
|
2706
|
-
return /* @__PURE__ */
|
|
2706
|
+
return /* @__PURE__ */ I(
|
|
2707
2707
|
ar,
|
|
2708
2708
|
{
|
|
2709
2709
|
ref: s,
|
|
@@ -2720,11 +2720,11 @@ const wi = "Link-module__root___I0VGE", Si = "Link-module__iconWrapper___W-LlF",
|
|
|
2720
2720
|
);
|
|
2721
2721
|
});
|
|
2722
2722
|
wn.displayName = "Link";
|
|
2723
|
-
const
|
|
2723
|
+
const yp = we(wn), xi = "Menu-module__dropdown___j4xuA", Oi = "Menu-module__item___NMXha", Ri = "Menu-module__itemLabel___zvcqC", ki = "Menu-module__itemSection___pRIcn", Ii = "Menu-module__divider___wPiNq", Li = "Menu-module__label___4FBGa", Mi = "Menu-module__chevron___hEEiy", _o = {
|
|
2724
2724
|
dropdown: xi,
|
|
2725
2725
|
item: Oi,
|
|
2726
|
-
itemLabel:
|
|
2727
|
-
itemSection:
|
|
2726
|
+
itemLabel: Ri,
|
|
2727
|
+
itemSection: ki,
|
|
2728
2728
|
divider: Ii,
|
|
2729
2729
|
label: Li,
|
|
2730
2730
|
chevron: Mi
|
|
@@ -2749,7 +2749,7 @@ const fp = Te(wn), xi = "Menu-module__dropdown___j4xuA", Oi = "Menu-module__item
|
|
|
2749
2749
|
}
|
|
2750
2750
|
} : i;
|
|
2751
2751
|
return /* @__PURE__ */ r(
|
|
2752
|
-
|
|
2752
|
+
Ae,
|
|
2753
2753
|
{
|
|
2754
2754
|
...l,
|
|
2755
2755
|
classNames: c,
|
|
@@ -2764,18 +2764,18 @@ const $n = function({
|
|
|
2764
2764
|
}) {
|
|
2765
2765
|
const t = m(o, e);
|
|
2766
2766
|
return /* @__PURE__ */ r(
|
|
2767
|
-
|
|
2767
|
+
Ae.Target,
|
|
2768
2768
|
{
|
|
2769
2769
|
...t
|
|
2770
2770
|
}
|
|
2771
2771
|
);
|
|
2772
2772
|
};
|
|
2773
2773
|
$n.displayName = "MenuTarget";
|
|
2774
|
-
const xn =
|
|
2774
|
+
const xn = y(
|
|
2775
2775
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2776
2776
|
const n = m(o, e), s = n.className;
|
|
2777
2777
|
return /* @__PURE__ */ r(
|
|
2778
|
-
|
|
2778
|
+
Ae.Dropdown,
|
|
2779
2779
|
{
|
|
2780
2780
|
...n,
|
|
2781
2781
|
ref: t,
|
|
@@ -2785,7 +2785,7 @@ const xn = f(
|
|
|
2785
2785
|
}
|
|
2786
2786
|
);
|
|
2787
2787
|
xn.displayName = "MenuDropdown";
|
|
2788
|
-
const On =
|
|
2788
|
+
const On = y(
|
|
2789
2789
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2790
2790
|
const n = [
|
|
2791
2791
|
"color"
|
|
@@ -2795,7 +2795,7 @@ const On = f(
|
|
|
2795
2795
|
n
|
|
2796
2796
|
), c = s.className;
|
|
2797
2797
|
return /* @__PURE__ */ r(
|
|
2798
|
-
|
|
2798
|
+
Ae.Item,
|
|
2799
2799
|
{
|
|
2800
2800
|
...s,
|
|
2801
2801
|
ref: t,
|
|
@@ -2805,11 +2805,11 @@ const On = f(
|
|
|
2805
2805
|
}
|
|
2806
2806
|
);
|
|
2807
2807
|
On.displayName = "MenuItem";
|
|
2808
|
-
const Ai =
|
|
2808
|
+
const Ai = we(On), Rn = y(
|
|
2809
2809
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2810
2810
|
const n = m(o, e), s = n.className;
|
|
2811
2811
|
return /* @__PURE__ */ r(
|
|
2812
|
-
|
|
2812
|
+
Ae.Divider,
|
|
2813
2813
|
{
|
|
2814
2814
|
...n,
|
|
2815
2815
|
ref: t,
|
|
@@ -2818,11 +2818,11 @@ const Ai = Te(On), kn = f(
|
|
|
2818
2818
|
);
|
|
2819
2819
|
}
|
|
2820
2820
|
);
|
|
2821
|
-
|
|
2822
|
-
const
|
|
2821
|
+
Rn.displayName = "MenuDivider";
|
|
2822
|
+
const kn = y(function({ overStyled: e = !1, ...o }, t) {
|
|
2823
2823
|
const n = m(o, e), s = n.className;
|
|
2824
2824
|
return /* @__PURE__ */ r(
|
|
2825
|
-
|
|
2825
|
+
Ae.Label,
|
|
2826
2826
|
{
|
|
2827
2827
|
...n,
|
|
2828
2828
|
ref: t,
|
|
@@ -2830,16 +2830,16 @@ const Rn = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
);
|
|
2832
2832
|
});
|
|
2833
|
-
|
|
2833
|
+
kn.displayName = "MenuLabel";
|
|
2834
2834
|
const In = function(e) {
|
|
2835
|
-
return /* @__PURE__ */ r(
|
|
2835
|
+
return /* @__PURE__ */ r(Ae.Sub, { ...e });
|
|
2836
2836
|
};
|
|
2837
2837
|
In.displayName = "MenuSub";
|
|
2838
2838
|
const Ln = function(e) {
|
|
2839
|
-
return /* @__PURE__ */ r(
|
|
2839
|
+
return /* @__PURE__ */ r(Ae.Sub.Target, { ...e });
|
|
2840
2840
|
};
|
|
2841
2841
|
Ln.displayName = "MenuSubTarget";
|
|
2842
|
-
const Mn =
|
|
2842
|
+
const Mn = y(
|
|
2843
2843
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2844
2844
|
const n = [
|
|
2845
2845
|
"color"
|
|
@@ -2849,7 +2849,7 @@ const Mn = f(
|
|
|
2849
2849
|
n
|
|
2850
2850
|
), c = s.className;
|
|
2851
2851
|
return /* @__PURE__ */ r(
|
|
2852
|
-
|
|
2852
|
+
Ae.Sub.Item,
|
|
2853
2853
|
{
|
|
2854
2854
|
...s,
|
|
2855
2855
|
ref: t,
|
|
@@ -2859,13 +2859,13 @@ const Mn = f(
|
|
|
2859
2859
|
}
|
|
2860
2860
|
);
|
|
2861
2861
|
Mn.displayName = "MenuSubItem";
|
|
2862
|
-
const Wi =
|
|
2862
|
+
const Wi = we(
|
|
2863
2863
|
Mn
|
|
2864
|
-
), An =
|
|
2864
|
+
), An = y(
|
|
2865
2865
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2866
2866
|
const n = m(o, e), s = n.className;
|
|
2867
2867
|
return /* @__PURE__ */ r(
|
|
2868
|
-
|
|
2868
|
+
Ae.Sub.Dropdown,
|
|
2869
2869
|
{
|
|
2870
2870
|
...n,
|
|
2871
2871
|
ref: t,
|
|
@@ -2883,10 +2883,10 @@ const Co = Sn;
|
|
|
2883
2883
|
Co.Target = $n;
|
|
2884
2884
|
Co.Dropdown = xn;
|
|
2885
2885
|
Co.Item = Ai;
|
|
2886
|
-
Co.Divider =
|
|
2887
|
-
Co.Label =
|
|
2886
|
+
Co.Divider = Rn;
|
|
2887
|
+
Co.Label = kn;
|
|
2888
2888
|
Co.Sub = Yo;
|
|
2889
|
-
const zi = "Modal-module__root___ytPLl", Di = "Modal-module__inner___SSUJE", Ei = "Modal-module__content___dWO-B", Bi = "Modal-module__header___ILG9i", Fi = "Modal-module__title___A5OeE", Ui = "Modal-module__bodyWrapper___5CCL-", Vi = "Modal-module__scrollArea___KD-hm", Hi = "Modal-module__footer___rro2w", Gi = "Modal-module__close___-ER1C",
|
|
2889
|
+
const zi = "Modal-module__root___ytPLl", Di = "Modal-module__inner___SSUJE", Ei = "Modal-module__content___dWO-B", Bi = "Modal-module__header___ILG9i", Fi = "Modal-module__title___A5OeE", Ui = "Modal-module__bodyWrapper___5CCL-", Vi = "Modal-module__scrollArea___KD-hm", Hi = "Modal-module__footer___rro2w", Gi = "Modal-module__close___-ER1C", Be = {
|
|
2890
2890
|
root: zi,
|
|
2891
2891
|
inner: Di,
|
|
2892
2892
|
content: Ei,
|
|
@@ -2900,43 +2900,45 @@ const zi = "Modal-module__root___ytPLl", Di = "Modal-module__inner___SSUJE", Ei
|
|
|
2900
2900
|
overStyled: e = !1,
|
|
2901
2901
|
children: o,
|
|
2902
2902
|
title: t,
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2903
|
+
onClose: n,
|
|
2904
|
+
closeButtonAriaLabel: s = "Close",
|
|
2905
|
+
header: l,
|
|
2906
|
+
overlayProps: c,
|
|
2907
|
+
withOverlay: i = !0,
|
|
2908
|
+
...d
|
|
2909
|
+
}, p) {
|
|
2910
|
+
const u = [
|
|
2910
2911
|
"size",
|
|
2911
2912
|
// Modal width/height are enforced via CSS module tokens (min/max-width, min/max-height), not Mantine's `size` scale.
|
|
2912
2913
|
"radius"
|
|
2913
2914
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2914
|
-
],
|
|
2915
|
-
m(
|
|
2916
|
-
|
|
2917
|
-
),
|
|
2915
|
+
], v = V(
|
|
2916
|
+
m(d, e),
|
|
2917
|
+
u
|
|
2918
|
+
), _ = E(
|
|
2918
2919
|
{
|
|
2919
|
-
root:
|
|
2920
|
-
inner:
|
|
2921
|
-
content:
|
|
2922
|
-
header:
|
|
2923
|
-
title:
|
|
2924
|
-
close:
|
|
2920
|
+
root: Be.root,
|
|
2921
|
+
inner: Be.inner,
|
|
2922
|
+
content: Be.content,
|
|
2923
|
+
header: Be.header,
|
|
2924
|
+
title: Be.title,
|
|
2925
|
+
close: Be.close
|
|
2925
2926
|
},
|
|
2926
|
-
|
|
2927
|
+
v.classNames
|
|
2927
2928
|
);
|
|
2928
|
-
return /* @__PURE__ */
|
|
2929
|
-
|
|
2929
|
+
return /* @__PURE__ */ I(
|
|
2930
|
+
ve.Root,
|
|
2930
2931
|
{
|
|
2931
|
-
ref:
|
|
2932
|
-
...
|
|
2933
|
-
|
|
2932
|
+
ref: p,
|
|
2933
|
+
...v,
|
|
2934
|
+
onClose: n,
|
|
2935
|
+
classNames: _,
|
|
2934
2936
|
children: [
|
|
2935
|
-
|
|
2936
|
-
/* @__PURE__ */
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2937
|
+
i && /* @__PURE__ */ r(ve.Overlay, { ...c }),
|
|
2938
|
+
/* @__PURE__ */ I(ve.Content, { children: [
|
|
2939
|
+
l ?? /* @__PURE__ */ I(ve.Header, { children: [
|
|
2940
|
+
/* @__PURE__ */ r(ve.Title, { children: t }),
|
|
2941
|
+
/* @__PURE__ */ r(ve.CloseButton, { "aria-label": s })
|
|
2940
2942
|
] }),
|
|
2941
2943
|
/* @__PURE__ */ r(ft, { children: o })
|
|
2942
2944
|
] })
|
|
@@ -2953,7 +2955,7 @@ const _t = q.forwardRef(
|
|
|
2953
2955
|
{
|
|
2954
2956
|
ref: n,
|
|
2955
2957
|
...s,
|
|
2956
|
-
className: `${
|
|
2958
|
+
className: `${Be.footer} ${o || ""}`
|
|
2957
2959
|
}
|
|
2958
2960
|
);
|
|
2959
2961
|
}
|
|
@@ -2961,29 +2963,29 @@ const _t = q.forwardRef(
|
|
|
2961
2963
|
_t.displayName = "Modal.Footer";
|
|
2962
2964
|
const ft = q.forwardRef(
|
|
2963
2965
|
function({ overStyled: e = !1, className: o, onScroll: t, children: n, ...s }, l) {
|
|
2964
|
-
const c = m(s, e), i = q.useRef(null), [d, p] = q.useState(!1), [u,
|
|
2966
|
+
const c = m(s, e), i = q.useRef(null), [d, p] = q.useState(!1), [u, v] = q.useState(!1), _ = q.useCallback(() => {
|
|
2965
2967
|
if (i.current) {
|
|
2966
2968
|
const { scrollTop: N, scrollHeight: P, clientHeight: S } = i.current;
|
|
2967
|
-
p(N > 0),
|
|
2969
|
+
p(N > 0), v(Math.ceil(N + S) < P);
|
|
2968
2970
|
}
|
|
2969
2971
|
}, []);
|
|
2970
|
-
q.useEffect(() => (
|
|
2972
|
+
q.useEffect(() => (_(), window.addEventListener("resize", _), () => window.removeEventListener("resize", _)), [_, n]);
|
|
2971
2973
|
const g = (N) => {
|
|
2972
|
-
|
|
2974
|
+
_(), t == null || t(N);
|
|
2973
2975
|
};
|
|
2974
2976
|
let h = null;
|
|
2975
2977
|
const C = [];
|
|
2976
2978
|
return q.Children.forEach(n, (N) => {
|
|
2977
2979
|
var P;
|
|
2978
2980
|
q.isValidElement(N) && (N.type === _t || ((P = N.type) == null ? void 0 : P.displayName) === "Modal.Footer") ? h = N : C.push(N);
|
|
2979
|
-
}), /* @__PURE__ */
|
|
2980
|
-
|
|
2981
|
+
}), /* @__PURE__ */ I(
|
|
2982
|
+
ve.Body,
|
|
2981
2983
|
{
|
|
2982
2984
|
...c,
|
|
2983
2985
|
ref: (N) => {
|
|
2984
2986
|
typeof l == "function" ? l(N) : l && (l.current = N);
|
|
2985
2987
|
},
|
|
2986
|
-
className: `${
|
|
2988
|
+
className: `${Be.bodyWrapper} ${o || ""}`,
|
|
2987
2989
|
children: [
|
|
2988
2990
|
/* @__PURE__ */ r(
|
|
2989
2991
|
"div",
|
|
@@ -2992,7 +2994,7 @@ const ft = q.forwardRef(
|
|
|
2992
2994
|
onScroll: g,
|
|
2993
2995
|
"data-scrolled-top": d || void 0,
|
|
2994
2996
|
"data-scrolled-bottom": u || void 0,
|
|
2995
|
-
className:
|
|
2997
|
+
className: Be.scrollArea,
|
|
2996
2998
|
children: C
|
|
2997
2999
|
}
|
|
2998
3000
|
),
|
|
@@ -3015,7 +3017,7 @@ const ji = [
|
|
|
3015
3017
|
ji
|
|
3016
3018
|
);
|
|
3017
3019
|
return /* @__PURE__ */ r(
|
|
3018
|
-
|
|
3020
|
+
ve.Root,
|
|
3019
3021
|
{
|
|
3020
3022
|
ref: t,
|
|
3021
3023
|
...n
|
|
@@ -3028,7 +3030,7 @@ const Dn = q.forwardRef(
|
|
|
3028
3030
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3029
3031
|
const n = m(o, e);
|
|
3030
3032
|
return /* @__PURE__ */ r(
|
|
3031
|
-
|
|
3033
|
+
ve.Overlay,
|
|
3032
3034
|
{
|
|
3033
3035
|
ref: t,
|
|
3034
3036
|
...n
|
|
@@ -3046,7 +3048,7 @@ const qi = [
|
|
|
3046
3048
|
qi
|
|
3047
3049
|
);
|
|
3048
3050
|
return /* @__PURE__ */ r(
|
|
3049
|
-
|
|
3051
|
+
ve.Content,
|
|
3050
3052
|
{
|
|
3051
3053
|
ref: t,
|
|
3052
3054
|
...n
|
|
@@ -3059,7 +3061,7 @@ const Bn = q.forwardRef(
|
|
|
3059
3061
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3060
3062
|
const n = m(o, e);
|
|
3061
3063
|
return /* @__PURE__ */ r(
|
|
3062
|
-
|
|
3064
|
+
ve.Header,
|
|
3063
3065
|
{
|
|
3064
3066
|
ref: t,
|
|
3065
3067
|
...n
|
|
@@ -3072,7 +3074,7 @@ const Fn = q.forwardRef(
|
|
|
3072
3074
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3073
3075
|
const n = m(o, e);
|
|
3074
3076
|
return /* @__PURE__ */ r(
|
|
3075
|
-
|
|
3077
|
+
ve.Title,
|
|
3076
3078
|
{
|
|
3077
3079
|
ref: t,
|
|
3078
3080
|
...n
|
|
@@ -3090,7 +3092,7 @@ const Ki = [
|
|
|
3090
3092
|
Ki
|
|
3091
3093
|
);
|
|
3092
3094
|
return /* @__PURE__ */ r(
|
|
3093
|
-
|
|
3095
|
+
ve.CloseButton,
|
|
3094
3096
|
{
|
|
3095
3097
|
ref: t,
|
|
3096
3098
|
...n
|
|
@@ -3121,7 +3123,7 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3121
3123
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
3122
3124
|
"radius"
|
|
3123
3125
|
// Recursica does not expose the library's native corner-radius system.
|
|
3124
|
-
], tc =
|
|
3126
|
+
], tc = y(
|
|
3125
3127
|
function(e, o) {
|
|
3126
3128
|
const {
|
|
3127
3129
|
overStyled: t = !1,
|
|
@@ -3134,8 +3136,8 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3134
3136
|
onLabelEditClick: d,
|
|
3135
3137
|
label: p,
|
|
3136
3138
|
assistiveText: u,
|
|
3137
|
-
assistiveWithIcon:
|
|
3138
|
-
error:
|
|
3139
|
+
assistiveWithIcon: v,
|
|
3140
|
+
error: _,
|
|
3139
3141
|
required: g,
|
|
3140
3142
|
withAsterisk: h,
|
|
3141
3143
|
id: C,
|
|
@@ -3144,15 +3146,15 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3144
3146
|
disabled: S,
|
|
3145
3147
|
readOnly: w,
|
|
3146
3148
|
readOnlyComponent: T,
|
|
3147
|
-
emptyValueComponent:
|
|
3149
|
+
emptyValueComponent: f,
|
|
3148
3150
|
value: $,
|
|
3149
|
-
defaultValue:
|
|
3151
|
+
defaultValue: b,
|
|
3150
3152
|
hideControls: O = !1,
|
|
3151
3153
|
...M
|
|
3152
3154
|
} = e, D = V(
|
|
3153
3155
|
m(M, t),
|
|
3154
3156
|
oc
|
|
3155
|
-
), W = D,
|
|
3157
|
+
), W = D, L = {
|
|
3156
3158
|
wrapper: fo.root,
|
|
3157
3159
|
// The nested Input internal relative wrapper bounding box
|
|
3158
3160
|
input: fo.input,
|
|
@@ -3161,7 +3163,7 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3161
3163
|
control: fo.control
|
|
3162
3164
|
}, Y = N ? `${fo.layoutOverride} ${N}` : fo.layoutOverride;
|
|
3163
3165
|
return /* @__PURE__ */ r(
|
|
3164
|
-
|
|
3166
|
+
be,
|
|
3165
3167
|
{
|
|
3166
3168
|
className: Y,
|
|
3167
3169
|
style: P,
|
|
@@ -3176,16 +3178,16 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3176
3178
|
onLabelEditClick: d,
|
|
3177
3179
|
label: p,
|
|
3178
3180
|
assistiveText: u,
|
|
3179
|
-
assistiveWithIcon:
|
|
3180
|
-
error:
|
|
3181
|
+
assistiveWithIcon: v,
|
|
3182
|
+
error: _,
|
|
3181
3183
|
required: g,
|
|
3182
3184
|
withAsterisk: h,
|
|
3183
3185
|
id: C,
|
|
3184
3186
|
readOnly: w,
|
|
3185
3187
|
readOnlyComponent: T,
|
|
3186
|
-
emptyValueComponent:
|
|
3188
|
+
emptyValueComponent: f,
|
|
3187
3189
|
readOnlyType: "text",
|
|
3188
|
-
readOnlyValue: $ !== void 0 ? $ == null ? void 0 : $.toString() :
|
|
3190
|
+
readOnlyValue: $ !== void 0 ? $ == null ? void 0 : $.toString() : b == null ? void 0 : b.toString(),
|
|
3189
3191
|
readOnlyNativeProps: e,
|
|
3190
3192
|
activeComponent: (
|
|
3191
3193
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -3194,10 +3196,10 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3194
3196
|
{
|
|
3195
3197
|
ref: o,
|
|
3196
3198
|
...D,
|
|
3197
|
-
classNames:
|
|
3199
|
+
classNames: L,
|
|
3198
3200
|
disabled: S,
|
|
3199
3201
|
value: $,
|
|
3200
|
-
defaultValue:
|
|
3202
|
+
defaultValue: b,
|
|
3201
3203
|
hideControls: O,
|
|
3202
3204
|
label: void 0,
|
|
3203
3205
|
description: void 0,
|
|
@@ -3206,7 +3208,7 @@ const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-modul
|
|
|
3206
3208
|
withAsterisk: void 0,
|
|
3207
3209
|
wrapperProps: {
|
|
3208
3210
|
"data-disabled": S ? "true" : void 0,
|
|
3209
|
-
"data-error":
|
|
3211
|
+
"data-error": _ ? "true" : void 0,
|
|
3210
3212
|
"data-with-left-section": W.leftSection ? "true" : void 0,
|
|
3211
3213
|
"data-with-right-section": W.rightSection || !O ? "true" : void 0
|
|
3212
3214
|
}
|
|
@@ -3244,7 +3246,7 @@ const nc = "Pagination-module__root___ITRjt", ac = "Pagination-module__dots___Yl
|
|
|
3244
3246
|
);
|
|
3245
3247
|
function Ho(a) {
|
|
3246
3248
|
var t, n, s, l, c, i, d;
|
|
3247
|
-
const o = (d = (i = (c = (l = (s = (n = (t =
|
|
3249
|
+
const o = (d = (i = (c = (l = (s = (n = (t = kr()["ui-kit"]) == null ? void 0 : t.components) == null ? void 0 : n.pagination) == null ? void 0 : s.properties) == null ? void 0 : l[a]) == null ? void 0 : c.$extensions) == null ? void 0 : i["recursica.component"]) == null ? void 0 : d["selected-variants"];
|
|
3248
3250
|
if (!o)
|
|
3249
3251
|
throw new Error(
|
|
3250
3252
|
`Pagination: manifest has no ui-kit.components.pagination.properties.${a} selected-variants`
|
|
@@ -3261,7 +3263,7 @@ function yt() {
|
|
|
3261
3263
|
throw new Error("Pagination parts must be rendered inside Pagination.Root");
|
|
3262
3264
|
return a;
|
|
3263
3265
|
}
|
|
3264
|
-
const ht =
|
|
3266
|
+
const ht = y(
|
|
3265
3267
|
function({
|
|
3266
3268
|
overStyled: e = !1,
|
|
3267
3269
|
total: o,
|
|
@@ -3274,8 +3276,8 @@ const ht = f(
|
|
|
3274
3276
|
getItemProps: d,
|
|
3275
3277
|
getControlProps: p,
|
|
3276
3278
|
dotsIcon: u,
|
|
3277
|
-
children:
|
|
3278
|
-
...
|
|
3279
|
+
children: v,
|
|
3280
|
+
..._
|
|
3279
3281
|
}, g) {
|
|
3280
3282
|
const h = Pr({
|
|
3281
3283
|
total: o,
|
|
@@ -3284,7 +3286,7 @@ const ht = f(
|
|
|
3284
3286
|
onChange: s,
|
|
3285
3287
|
siblings: l,
|
|
3286
3288
|
boundaries: c
|
|
3287
|
-
}), C = m(
|
|
3289
|
+
}), C = m(_, e), N = C.className;
|
|
3288
3290
|
return /* @__PURE__ */ r(
|
|
3289
3291
|
Hn.Provider,
|
|
3290
3292
|
{
|
|
@@ -3309,7 +3311,7 @@ const ht = f(
|
|
|
3309
3311
|
"aria-label": "Pagination",
|
|
3310
3312
|
...C,
|
|
3311
3313
|
className: N ? `${Io.root} ${N}` : Io.root,
|
|
3312
|
-
children:
|
|
3314
|
+
children: v
|
|
3313
3315
|
}
|
|
3314
3316
|
)
|
|
3315
3317
|
}
|
|
@@ -3317,10 +3319,10 @@ const ht = f(
|
|
|
3317
3319
|
}
|
|
3318
3320
|
);
|
|
3319
3321
|
ht.displayName = "Pagination.Root";
|
|
3320
|
-
const vt =
|
|
3322
|
+
const vt = y(function({ active: e = !1, disabled: o, ...t }, n) {
|
|
3321
3323
|
const s = yt(), l = Ho("active-pages"), c = Ho("inactive-pages"), i = e ? l : c;
|
|
3322
3324
|
return /* @__PURE__ */ r(
|
|
3323
|
-
|
|
3325
|
+
Ue,
|
|
3324
3326
|
{
|
|
3325
3327
|
ref: n,
|
|
3326
3328
|
variant: i.variant,
|
|
@@ -3332,7 +3334,7 @@ const vt = f(function({ active: e = !1, disabled: o, ...t }, n) {
|
|
|
3332
3334
|
);
|
|
3333
3335
|
});
|
|
3334
3336
|
vt.displayName = "Pagination.Control";
|
|
3335
|
-
const bt =
|
|
3337
|
+
const bt = y(
|
|
3336
3338
|
function({ icon: e, ...o }, t) {
|
|
3337
3339
|
const { size: n } = Ho("inactive-pages");
|
|
3338
3340
|
return /* @__PURE__ */ r("div", { ref: t, className: Io.dots, "data-size": n, ...o, children: e ?? "…" });
|
|
@@ -3341,7 +3343,7 @@ const bt = f(
|
|
|
3341
3343
|
bt.displayName = "Pagination.Dots";
|
|
3342
3344
|
function Nt() {
|
|
3343
3345
|
const a = yt();
|
|
3344
|
-
return /* @__PURE__ */ r(
|
|
3346
|
+
return /* @__PURE__ */ r(je, { children: a.range.map(
|
|
3345
3347
|
(e, o) => {
|
|
3346
3348
|
var t, n, s;
|
|
3347
3349
|
return e === "dots" ? /* @__PURE__ */ r(bt, { icon: a.dotsIcon }, o) : /* @__PURE__ */ r(
|
|
@@ -3371,18 +3373,18 @@ const pc = {
|
|
|
3371
3373
|
last: "Last"
|
|
3372
3374
|
};
|
|
3373
3375
|
function Zo(a, e, o, t) {
|
|
3374
|
-
const n =
|
|
3376
|
+
const n = y(
|
|
3375
3377
|
function({ withLabel: l, icon: c, disabled: i, ...d }, p) {
|
|
3376
3378
|
var P;
|
|
3377
|
-
const u = yt(),
|
|
3379
|
+
const u = yt(), v = Ho("navigation-controls"), _ = u.active === 1, g = u.active === u.total, h = i || u.disabled || (a === "first" || a === "previous") && _ || (a === "next" || a === "last") && g, C = c ?? /* @__PURE__ */ r(Vn, { type: e }), N = l ? o ? {
|
|
3378
3380
|
rightSection: /* @__PURE__ */ r("span", { className: Io.rightIcon, children: C })
|
|
3379
3381
|
} : { icon: C } : { icon: C };
|
|
3380
3382
|
return /* @__PURE__ */ r(
|
|
3381
|
-
|
|
3383
|
+
Ue,
|
|
3382
3384
|
{
|
|
3383
3385
|
ref: p,
|
|
3384
|
-
variant:
|
|
3385
|
-
size:
|
|
3386
|
+
variant: v.variant,
|
|
3387
|
+
size: v.size,
|
|
3386
3388
|
"aria-label": pc[a],
|
|
3387
3389
|
disabled: h,
|
|
3388
3390
|
onClick: u[a],
|
|
@@ -3416,9 +3418,9 @@ const Gn = Zo(
|
|
|
3416
3418
|
"last",
|
|
3417
3419
|
!0,
|
|
3418
3420
|
"Pagination.Last"
|
|
3419
|
-
), Yn =
|
|
3421
|
+
), Yn = y(
|
|
3420
3422
|
function({ withEdges: e, withControls: o = !0, withLabels: t, ...n }, s) {
|
|
3421
|
-
return /* @__PURE__ */
|
|
3423
|
+
return /* @__PURE__ */ I(ht, { ref: s, ...n, children: [
|
|
3422
3424
|
e && /* @__PURE__ */ r(Gn, { withLabel: t }),
|
|
3423
3425
|
o && /* @__PURE__ */ r(jn, { withLabel: t }),
|
|
3424
3426
|
/* @__PURE__ */ r(Nt, {}),
|
|
@@ -3438,7 +3440,7 @@ Ke.Previous = jn;
|
|
|
3438
3440
|
Ke.First = Gn;
|
|
3439
3441
|
Ke.Last = Kn;
|
|
3440
3442
|
Ke.Icon = Vn;
|
|
3441
|
-
const _c = "Panel-module__content___wdGo-", fc = "Panel-module__contentRight___4bsdU", yc = "Panel-module__contentLeft___bOgUu", hc = "Panel-module__inner___ruA2b", vc = "Panel-module__header___o7SiC", bc = "Panel-module__title___181OP", Nc = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", gc = "Panel-module__body___SEC3T", Cc = "Panel-module__footer___t6-hz",
|
|
3443
|
+
const _c = "Panel-module__content___wdGo-", fc = "Panel-module__contentRight___4bsdU", yc = "Panel-module__contentLeft___bOgUu", hc = "Panel-module__inner___ruA2b", vc = "Panel-module__header___o7SiC", bc = "Panel-module__title___181OP", Nc = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", gc = "Panel-module__body___SEC3T", Cc = "Panel-module__footer___t6-hz", Pc = "Panel-module__close___2WShp", he = {
|
|
3442
3444
|
content: _c,
|
|
3443
3445
|
contentRight: fc,
|
|
3444
3446
|
contentLeft: yc,
|
|
@@ -3447,54 +3449,68 @@ const _c = "Panel-module__content___wdGo-", fc = "Panel-module__contentRight___4
|
|
|
3447
3449
|
title: bc,
|
|
3448
3450
|
titleTruncate: Nc,
|
|
3449
3451
|
body: gc,
|
|
3450
|
-
footer: Cc
|
|
3452
|
+
footer: Cc,
|
|
3453
|
+
close: Pc
|
|
3451
3454
|
}, Zn = function({
|
|
3452
3455
|
overStyled: e = !1,
|
|
3453
3456
|
placement: o = "right",
|
|
3454
3457
|
keepMounted: t = !0,
|
|
3455
3458
|
wrapHeaderText: n = !0,
|
|
3456
|
-
|
|
3459
|
+
title: s,
|
|
3460
|
+
onClose: l,
|
|
3461
|
+
closeButtonAriaLabel: c = "Close",
|
|
3462
|
+
header: i,
|
|
3463
|
+
children: d,
|
|
3464
|
+
...p
|
|
3457
3465
|
}) {
|
|
3458
|
-
const
|
|
3466
|
+
const u = m(p, e), v = u, _ = E(
|
|
3459
3467
|
{
|
|
3460
|
-
content: `${
|
|
3461
|
-
header:
|
|
3462
|
-
title: n ?
|
|
3463
|
-
|
|
3464
|
-
|
|
3468
|
+
content: `${he.content} ${o === "right" ? he.contentRight : o === "left" ? he.contentLeft : o === "top" ? he.contentTop : he.contentBottom}`,
|
|
3469
|
+
header: he.header,
|
|
3470
|
+
title: n ? he.titleTruncate : he.title,
|
|
3471
|
+
close: he.close,
|
|
3472
|
+
body: he.body,
|
|
3473
|
+
inner: he.inner
|
|
3465
3474
|
},
|
|
3466
|
-
|
|
3475
|
+
v.classNames
|
|
3467
3476
|
);
|
|
3468
3477
|
return /* @__PURE__ */ r(
|
|
3469
|
-
|
|
3478
|
+
me.Root,
|
|
3470
3479
|
{
|
|
3471
|
-
...
|
|
3480
|
+
...u,
|
|
3481
|
+
onClose: l,
|
|
3472
3482
|
size: "var(--recursica_ui-kit_components_panel_properties_max-width)",
|
|
3473
3483
|
position: o,
|
|
3474
3484
|
keepMounted: t,
|
|
3475
|
-
withOverlay: !1,
|
|
3476
3485
|
trapFocus: !1,
|
|
3477
3486
|
lockScroll: !1,
|
|
3478
3487
|
returnFocus: !0,
|
|
3479
3488
|
closeOnEscape: !0,
|
|
3480
3489
|
closeOnClickOutside: !1,
|
|
3481
|
-
classNames:
|
|
3490
|
+
classNames: _,
|
|
3491
|
+
children: /* @__PURE__ */ I(me.Content, { children: [
|
|
3492
|
+
i ?? /* @__PURE__ */ I(me.Header, { children: [
|
|
3493
|
+
/* @__PURE__ */ r(me.Title, { children: s }),
|
|
3494
|
+
/* @__PURE__ */ r(me.CloseButton, { "aria-label": c })
|
|
3495
|
+
] }),
|
|
3496
|
+
/* @__PURE__ */ r(me.Body, { children: d })
|
|
3497
|
+
] })
|
|
3482
3498
|
}
|
|
3483
3499
|
);
|
|
3484
3500
|
};
|
|
3485
3501
|
Zn.displayName = "Panel";
|
|
3486
|
-
const Xn =
|
|
3502
|
+
const Xn = y(
|
|
3487
3503
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3488
|
-
const n = m(o, e), s = n.className, l = s ? `${
|
|
3504
|
+
const n = m(o, e), s = n.className, l = s ? `${he.footer} ${s}` : he.footer;
|
|
3489
3505
|
return /* @__PURE__ */ r("div", { ref: t, ...n, className: l });
|
|
3490
3506
|
}
|
|
3491
3507
|
);
|
|
3492
3508
|
Xn.displayName = "PanelFooter";
|
|
3493
|
-
const Qn =
|
|
3509
|
+
const Qn = y(
|
|
3494
3510
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3495
3511
|
const n = m(o, e);
|
|
3496
3512
|
return /* @__PURE__ */ r(
|
|
3497
|
-
|
|
3513
|
+
me.Root,
|
|
3498
3514
|
{
|
|
3499
3515
|
ref: t,
|
|
3500
3516
|
...n
|
|
@@ -3503,11 +3519,11 @@ const Qn = f(
|
|
|
3503
3519
|
}
|
|
3504
3520
|
);
|
|
3505
3521
|
Qn.displayName = "PanelRoot";
|
|
3506
|
-
const Jn =
|
|
3522
|
+
const Jn = y(
|
|
3507
3523
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3508
3524
|
const n = m(o, e);
|
|
3509
3525
|
return /* @__PURE__ */ r(
|
|
3510
|
-
|
|
3526
|
+
me.Overlay,
|
|
3511
3527
|
{
|
|
3512
3528
|
ref: t,
|
|
3513
3529
|
...n
|
|
@@ -3516,11 +3532,11 @@ const Jn = f(
|
|
|
3516
3532
|
}
|
|
3517
3533
|
);
|
|
3518
3534
|
Jn.displayName = "PanelOverlay";
|
|
3519
|
-
const ea =
|
|
3535
|
+
const ea = y(
|
|
3520
3536
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3521
3537
|
const n = m(o, e);
|
|
3522
3538
|
return /* @__PURE__ */ r(
|
|
3523
|
-
|
|
3539
|
+
me.Content,
|
|
3524
3540
|
{
|
|
3525
3541
|
ref: t,
|
|
3526
3542
|
...n
|
|
@@ -3529,11 +3545,11 @@ const ea = f(
|
|
|
3529
3545
|
}
|
|
3530
3546
|
);
|
|
3531
3547
|
ea.displayName = "PanelContent";
|
|
3532
|
-
const oa =
|
|
3548
|
+
const oa = y(
|
|
3533
3549
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3534
3550
|
const n = m(o, e);
|
|
3535
3551
|
return /* @__PURE__ */ r(
|
|
3536
|
-
|
|
3552
|
+
me.Header,
|
|
3537
3553
|
{
|
|
3538
3554
|
ref: t,
|
|
3539
3555
|
...n
|
|
@@ -3542,11 +3558,11 @@ const oa = f(
|
|
|
3542
3558
|
}
|
|
3543
3559
|
);
|
|
3544
3560
|
oa.displayName = "PanelHeader";
|
|
3545
|
-
const ta =
|
|
3561
|
+
const ta = y(
|
|
3546
3562
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3547
3563
|
const n = m(o, e);
|
|
3548
3564
|
return /* @__PURE__ */ r(
|
|
3549
|
-
|
|
3565
|
+
me.Title,
|
|
3550
3566
|
{
|
|
3551
3567
|
ref: t,
|
|
3552
3568
|
...n
|
|
@@ -3555,10 +3571,10 @@ const ta = f(
|
|
|
3555
3571
|
}
|
|
3556
3572
|
);
|
|
3557
3573
|
ta.displayName = "PanelTitle";
|
|
3558
|
-
const na =
|
|
3574
|
+
const na = y(function({ overStyled: e = !1, ...o }, t) {
|
|
3559
3575
|
const n = m(o, e);
|
|
3560
3576
|
return /* @__PURE__ */ r(
|
|
3561
|
-
|
|
3577
|
+
me.CloseButton,
|
|
3562
3578
|
{
|
|
3563
3579
|
ref: t,
|
|
3564
3580
|
...n
|
|
@@ -3566,11 +3582,11 @@ const na = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
3566
3582
|
);
|
|
3567
3583
|
});
|
|
3568
3584
|
na.displayName = "PanelCloseButton";
|
|
3569
|
-
const aa =
|
|
3585
|
+
const aa = y(
|
|
3570
3586
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3571
3587
|
const n = m(o, e);
|
|
3572
3588
|
return /* @__PURE__ */ r(
|
|
3573
|
-
|
|
3589
|
+
me.Body,
|
|
3574
3590
|
{
|
|
3575
3591
|
ref: t,
|
|
3576
3592
|
...n
|
|
@@ -3587,11 +3603,11 @@ Ye.Header = oa;
|
|
|
3587
3603
|
Ye.Title = ta;
|
|
3588
3604
|
Ye.CloseButton = na;
|
|
3589
3605
|
Ye.Body = aa;
|
|
3590
|
-
Ye.Stack =
|
|
3606
|
+
Ye.Stack = me.Stack;
|
|
3591
3607
|
Ye.Footer = Xn;
|
|
3592
|
-
const
|
|
3593
|
-
dropdown:
|
|
3594
|
-
arrow:
|
|
3608
|
+
const Tc = "Popover-module__dropdown___svhS6", wc = "Popover-module__arrow___5A-0e", kt = {
|
|
3609
|
+
dropdown: Tc,
|
|
3610
|
+
arrow: wc
|
|
3595
3611
|
}, ra = function({
|
|
3596
3612
|
overStyled: e = !1,
|
|
3597
3613
|
withBeak: o = !0,
|
|
@@ -3600,12 +3616,12 @@ const Pc = "Popover-module__dropdown___svhS6", Tc = "Popover-module__arrow___5A-
|
|
|
3600
3616
|
...n
|
|
3601
3617
|
}) {
|
|
3602
3618
|
const s = m(n, e), l = s, c = E(
|
|
3603
|
-
{ dropdown:
|
|
3619
|
+
{ dropdown: kt.dropdown, arrow: kt.arrow },
|
|
3604
3620
|
l.classNames
|
|
3605
|
-
), i =
|
|
3621
|
+
), i = Ve(
|
|
3606
3622
|
16,
|
|
3607
3623
|
l.arrowSize
|
|
3608
|
-
), d =
|
|
3624
|
+
), d = Ve(
|
|
3609
3625
|
o,
|
|
3610
3626
|
l.withArrow
|
|
3611
3627
|
);
|
|
@@ -3642,16 +3658,16 @@ la.displayName = "PopoverDropdown";
|
|
|
3642
3658
|
const ia = ra;
|
|
3643
3659
|
ia.Target = sa;
|
|
3644
3660
|
ia.Dropdown = la;
|
|
3645
|
-
const
|
|
3646
|
-
groupRoot:
|
|
3647
|
-
root:
|
|
3648
|
-
body:
|
|
3649
|
-
inner:
|
|
3650
|
-
radio:
|
|
3661
|
+
const Sc = "Radio-module__groupRoot___bfUii", $c = "Radio-module__root___kAjTD", xc = "Radio-module__body___q2Wpj", Oc = "Radio-module__inner___QaTBB", Rc = "Radio-module__radio___MfgN-", kc = "Radio-module__icon___DWznm", Ic = "Radio-module__labelWrapper___dB0Gi", Lc = "Radio-module__label___vAFIP", Le = {
|
|
3662
|
+
groupRoot: Sc,
|
|
3663
|
+
root: $c,
|
|
3664
|
+
body: xc,
|
|
3665
|
+
inner: Oc,
|
|
3666
|
+
radio: Rc,
|
|
3651
3667
|
icon: kc,
|
|
3652
|
-
labelWrapper:
|
|
3653
|
-
label:
|
|
3654
|
-
}, ca =
|
|
3668
|
+
labelWrapper: Ic,
|
|
3669
|
+
label: Lc
|
|
3670
|
+
}, ca = y(
|
|
3655
3671
|
function(e, o) {
|
|
3656
3672
|
const {
|
|
3657
3673
|
overStyled: t = !1,
|
|
@@ -3665,8 +3681,8 @@ const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD",
|
|
|
3665
3681
|
// Base Mantine Extracted Attributes
|
|
3666
3682
|
label: p,
|
|
3667
3683
|
description: u,
|
|
3668
|
-
assistiveText:
|
|
3669
|
-
assistiveWithIcon:
|
|
3684
|
+
assistiveText: v,
|
|
3685
|
+
assistiveWithIcon: _,
|
|
3670
3686
|
error: g,
|
|
3671
3687
|
required: h,
|
|
3672
3688
|
withAsterisk: C,
|
|
@@ -3675,9 +3691,9 @@ const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD",
|
|
|
3675
3691
|
style: S,
|
|
3676
3692
|
children: w,
|
|
3677
3693
|
readOnly: T,
|
|
3678
|
-
readOnlyComponent:
|
|
3694
|
+
readOnlyComponent: f,
|
|
3679
3695
|
emptyValueComponent: $,
|
|
3680
|
-
value:
|
|
3696
|
+
value: b,
|
|
3681
3697
|
defaultValue: O,
|
|
3682
3698
|
...M
|
|
3683
3699
|
} = e, D = [
|
|
@@ -3686,9 +3702,9 @@ const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD",
|
|
|
3686
3702
|
], W = V(
|
|
3687
3703
|
m(M, t),
|
|
3688
3704
|
D
|
|
3689
|
-
),
|
|
3705
|
+
), L = W;
|
|
3690
3706
|
return /* @__PURE__ */ r(
|
|
3691
|
-
|
|
3707
|
+
be,
|
|
3692
3708
|
{
|
|
3693
3709
|
className: P,
|
|
3694
3710
|
style: S,
|
|
@@ -3704,27 +3720,27 @@ const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD",
|
|
|
3704
3720
|
onLabelEditClick: d,
|
|
3705
3721
|
label: p,
|
|
3706
3722
|
description: u,
|
|
3707
|
-
assistiveText:
|
|
3708
|
-
assistiveWithIcon:
|
|
3723
|
+
assistiveText: v,
|
|
3724
|
+
assistiveWithIcon: _,
|
|
3709
3725
|
error: g,
|
|
3710
3726
|
required: h,
|
|
3711
3727
|
withAsterisk: C,
|
|
3712
3728
|
id: N,
|
|
3713
|
-
readOnly: T && !!
|
|
3714
|
-
readOnlyComponent:
|
|
3729
|
+
readOnly: T && !!f,
|
|
3730
|
+
readOnlyComponent: f,
|
|
3715
3731
|
emptyValueComponent: $,
|
|
3716
3732
|
readOnlyType: "text",
|
|
3717
|
-
readOnlyValue:
|
|
3733
|
+
readOnlyValue: b !== void 0 ? b : O,
|
|
3718
3734
|
readOnlyNativeProps: e,
|
|
3719
3735
|
activeComponent: /* @__PURE__ */ r(
|
|
3720
3736
|
Ht.Group,
|
|
3721
3737
|
{
|
|
3722
3738
|
ref: o,
|
|
3723
3739
|
...W,
|
|
3724
|
-
disabled: T ||
|
|
3725
|
-
value:
|
|
3740
|
+
disabled: T || L.disabled,
|
|
3741
|
+
value: b,
|
|
3726
3742
|
defaultValue: O,
|
|
3727
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
3743
|
+
children: /* @__PURE__ */ r("div", { className: Le.groupRoot, "data-layout": n, children: w })
|
|
3728
3744
|
}
|
|
3729
3745
|
)
|
|
3730
3746
|
}
|
|
@@ -3732,7 +3748,7 @@ const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD",
|
|
|
3732
3748
|
}
|
|
3733
3749
|
);
|
|
3734
3750
|
ca.displayName = "RadioGroup";
|
|
3735
|
-
const
|
|
3751
|
+
const Mc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
3736
3752
|
"svg",
|
|
3737
3753
|
{
|
|
3738
3754
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3742,7 +3758,7 @@ const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3742
3758
|
style: e,
|
|
3743
3759
|
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
3744
3760
|
}
|
|
3745
|
-
), da =
|
|
3761
|
+
), da = y(
|
|
3746
3762
|
function(e, o) {
|
|
3747
3763
|
const {
|
|
3748
3764
|
overStyled: t = !1,
|
|
@@ -3754,8 +3770,8 @@ const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3754
3770
|
labelSize: d,
|
|
3755
3771
|
controlMaxWidth: p,
|
|
3756
3772
|
controlMinWidth: u,
|
|
3757
|
-
...
|
|
3758
|
-
} = e,
|
|
3773
|
+
...v
|
|
3774
|
+
} = e, _ = [
|
|
3759
3775
|
"size",
|
|
3760
3776
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3761
3777
|
"color",
|
|
@@ -3767,22 +3783,22 @@ const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3767
3783
|
"iconColor"
|
|
3768
3784
|
// Icon color is token-driven via Radio.module.css, not a native Mantine override.
|
|
3769
3785
|
], g = V(
|
|
3770
|
-
m(
|
|
3771
|
-
|
|
3786
|
+
m(v, t),
|
|
3787
|
+
_
|
|
3772
3788
|
), h = g, C = E(
|
|
3773
3789
|
{
|
|
3774
|
-
root:
|
|
3775
|
-
body:
|
|
3776
|
-
inner:
|
|
3777
|
-
radio:
|
|
3778
|
-
icon:
|
|
3779
|
-
labelWrapper:
|
|
3780
|
-
label:
|
|
3790
|
+
root: Le.root,
|
|
3791
|
+
body: Le.body,
|
|
3792
|
+
inner: Le.inner,
|
|
3793
|
+
radio: Le.radio,
|
|
3794
|
+
icon: Le.icon,
|
|
3795
|
+
labelWrapper: Le.labelWrapper,
|
|
3796
|
+
label: Le.label
|
|
3781
3797
|
},
|
|
3782
3798
|
h.classNames
|
|
3783
|
-
), N = h.className, P = N ? `${
|
|
3799
|
+
), N = h.className, P = N ? `${Le.root} ${N}` : Le.root;
|
|
3784
3800
|
if (n && s) {
|
|
3785
|
-
const w = !!(h.checked ?? h.defaultChecked),
|
|
3801
|
+
const w = !!(h.checked ?? h.defaultChecked), f = /* @__PURE__ */ r(
|
|
3786
3802
|
s,
|
|
3787
3803
|
{
|
|
3788
3804
|
...e,
|
|
@@ -3797,16 +3813,16 @@ const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3797
3813
|
labelSize: d,
|
|
3798
3814
|
controlMaxWidth: p,
|
|
3799
3815
|
controlMinWidth: u,
|
|
3800
|
-
children:
|
|
3816
|
+
children: f
|
|
3801
3817
|
}
|
|
3802
|
-
) : /* @__PURE__ */ r(
|
|
3818
|
+
) : /* @__PURE__ */ r(je, { children: f });
|
|
3803
3819
|
}
|
|
3804
3820
|
const S = /* @__PURE__ */ r(
|
|
3805
3821
|
Ht,
|
|
3806
3822
|
{
|
|
3807
3823
|
ref: o,
|
|
3808
3824
|
...g,
|
|
3809
|
-
icon:
|
|
3825
|
+
icon: Ve(Mc, c),
|
|
3810
3826
|
className: P,
|
|
3811
3827
|
classNames: C,
|
|
3812
3828
|
disabled: n || l
|
|
@@ -3826,14 +3842,14 @@ const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3826
3842
|
);
|
|
3827
3843
|
da.displayName = "Radio";
|
|
3828
3844
|
da.Group = ca;
|
|
3829
|
-
const
|
|
3845
|
+
const Ac = ({ checked: a, label: e }) => /* @__PURE__ */ I(
|
|
3830
3846
|
st,
|
|
3831
3847
|
{
|
|
3832
3848
|
component: "span",
|
|
3833
3849
|
className: go.textField,
|
|
3834
3850
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
3835
3851
|
children: [
|
|
3836
|
-
e && /* @__PURE__ */
|
|
3852
|
+
e && /* @__PURE__ */ I("span", { style: { fontWeight: 500 }, children: [
|
|
3837
3853
|
e,
|
|
3838
3854
|
":"
|
|
3839
3855
|
] }),
|
|
@@ -3841,15 +3857,15 @@ const Mc = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
|
3841
3857
|
]
|
|
3842
3858
|
}
|
|
3843
3859
|
);
|
|
3844
|
-
|
|
3845
|
-
const
|
|
3860
|
+
Ac.displayName = "ReadOnlySwitchField";
|
|
3861
|
+
const Wc = ({ checked: a, label: e }) => /* @__PURE__ */ I(
|
|
3846
3862
|
st,
|
|
3847
3863
|
{
|
|
3848
3864
|
component: "span",
|
|
3849
3865
|
className: go.textField,
|
|
3850
3866
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
3851
3867
|
children: [
|
|
3852
|
-
e && /* @__PURE__ */
|
|
3868
|
+
e && /* @__PURE__ */ I("span", { style: { fontWeight: 500 }, children: [
|
|
3853
3869
|
e,
|
|
3854
3870
|
":"
|
|
3855
3871
|
] }),
|
|
@@ -3857,14 +3873,14 @@ const Ac = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
|
3857
3873
|
]
|
|
3858
3874
|
}
|
|
3859
3875
|
);
|
|
3860
|
-
|
|
3861
|
-
const
|
|
3862
|
-
root:
|
|
3863
|
-
label:
|
|
3864
|
-
control:
|
|
3865
|
-
indicator:
|
|
3876
|
+
Wc.displayName = "ReadOnlyBooleanField";
|
|
3877
|
+
const zc = "SegmentedControl-module__root___JFRhg", Dc = "SegmentedControl-module__label___mS17q", Ec = "SegmentedControl-module__control___znOdQ", Bc = "SegmentedControl-module__indicator___ZMcJy", vo = {
|
|
3878
|
+
root: zc,
|
|
3879
|
+
label: Dc,
|
|
3880
|
+
control: Ec,
|
|
3881
|
+
indicator: Bc
|
|
3866
3882
|
};
|
|
3867
|
-
function
|
|
3883
|
+
function Fc(a) {
|
|
3868
3884
|
const e = E(
|
|
3869
3885
|
{
|
|
3870
3886
|
root: vo.root,
|
|
@@ -3876,7 +3892,7 @@ function Bc(a) {
|
|
|
3876
3892
|
), o = a.className;
|
|
3877
3893
|
return { className: o ? `${vo.root} ${o}` : vo.root, classNames: e };
|
|
3878
3894
|
}
|
|
3879
|
-
const ua =
|
|
3895
|
+
const ua = y(
|
|
3880
3896
|
function({
|
|
3881
3897
|
overStyled: e = !1,
|
|
3882
3898
|
orientation: o = "horizontal",
|
|
@@ -3884,10 +3900,10 @@ const ua = f(
|
|
|
3884
3900
|
data: n = [],
|
|
3885
3901
|
...s
|
|
3886
3902
|
}, l) {
|
|
3887
|
-
const c = m(s, e), d =
|
|
3903
|
+
const c = m(s, e), d = Fc(c), p = n.map(
|
|
3888
3904
|
(u) => typeof u == "string" || !u.icon ? u : {
|
|
3889
3905
|
...u,
|
|
3890
|
-
label: /* @__PURE__ */
|
|
3906
|
+
label: /* @__PURE__ */ I(je, { children: [
|
|
3891
3907
|
u.icon,
|
|
3892
3908
|
u.label
|
|
3893
3909
|
] })
|
|
@@ -3909,29 +3925,29 @@ const ua = f(
|
|
|
3909
3925
|
}
|
|
3910
3926
|
);
|
|
3911
3927
|
ua.displayName = "SegmentedControl";
|
|
3912
|
-
const
|
|
3913
|
-
layoutOverride:
|
|
3914
|
-
sliderContainer:
|
|
3915
|
-
sliderTrackWrapper:
|
|
3916
|
-
iconWrapper:
|
|
3917
|
-
sliderRoot:
|
|
3918
|
-
sliderTrack:
|
|
3919
|
-
sliderBar:
|
|
3920
|
-
sliderThumb:
|
|
3921
|
-
sliderMarkWrapper:
|
|
3922
|
-
sliderMark:
|
|
3923
|
-
sliderMarkLabel:
|
|
3924
|
-
minMaxGuide:
|
|
3925
|
-
rightGuideContainer:
|
|
3926
|
-
currentValue:
|
|
3927
|
-
inputField:
|
|
3928
|
-
readOnlyValue:
|
|
3929
|
-
},
|
|
3928
|
+
const hp = ua, Uc = "Slider-module__layoutOverride___zYPun", Vc = "Slider-module__sliderContainer___y8I0J", Hc = "Slider-module__sliderTrackWrapper___UHpVh", Gc = "Slider-module__iconWrapper___uqHpC", jc = "Slider-module__sliderRoot___LI86H", qc = "Slider-module__sliderTrack___oqnlG", Kc = "Slider-module__sliderBar___TI4VY", Yc = "Slider-module__sliderThumb___OFn8p", Zc = "Slider-module__sliderMarkWrapper___Ufqhu", Xc = "Slider-module__sliderMark___1lM2B", Qc = "Slider-module__sliderMarkLabel___MMZrq", Jc = "Slider-module__minMaxGuide___TaGqz", ed = "Slider-module__rightGuideContainer___8dOT8", od = "Slider-module__currentValue___dGV2T", td = "Slider-module__inputField___6x578", nd = "Slider-module__readOnlyValue___-ZzMW", ee = {
|
|
3929
|
+
layoutOverride: Uc,
|
|
3930
|
+
sliderContainer: Vc,
|
|
3931
|
+
sliderTrackWrapper: Hc,
|
|
3932
|
+
iconWrapper: Gc,
|
|
3933
|
+
sliderRoot: jc,
|
|
3934
|
+
sliderTrack: qc,
|
|
3935
|
+
sliderBar: Kc,
|
|
3936
|
+
sliderThumb: Yc,
|
|
3937
|
+
sliderMarkWrapper: Zc,
|
|
3938
|
+
sliderMark: Xc,
|
|
3939
|
+
sliderMarkLabel: Qc,
|
|
3940
|
+
minMaxGuide: Jc,
|
|
3941
|
+
rightGuideContainer: ed,
|
|
3942
|
+
currentValue: od,
|
|
3943
|
+
inputField: td,
|
|
3944
|
+
readOnlyValue: nd
|
|
3945
|
+
}, ad = ({
|
|
3930
3946
|
value: a
|
|
3931
3947
|
}) => {
|
|
3932
3948
|
const e = Array.isArray(a) ? `${a[0]} – ${a[1]}` : a;
|
|
3933
3949
|
return /* @__PURE__ */ r("div", { className: ee.readOnlyValue, children: e });
|
|
3934
|
-
},
|
|
3950
|
+
}, rd = y(
|
|
3935
3951
|
function(e, o) {
|
|
3936
3952
|
const {
|
|
3937
3953
|
overStyled: t = !1,
|
|
@@ -3944,8 +3960,8 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
3944
3960
|
labelActionArea: d,
|
|
3945
3961
|
onLabelEditClick: p,
|
|
3946
3962
|
label: u,
|
|
3947
|
-
tooltipLabel:
|
|
3948
|
-
assistiveText:
|
|
3963
|
+
tooltipLabel: v,
|
|
3964
|
+
assistiveText: _,
|
|
3949
3965
|
assistiveWithIcon: g,
|
|
3950
3966
|
error: h,
|
|
3951
3967
|
required: C,
|
|
@@ -3954,14 +3970,14 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
3954
3970
|
className: S,
|
|
3955
3971
|
style: w,
|
|
3956
3972
|
disabled: T,
|
|
3957
|
-
readOnly:
|
|
3973
|
+
readOnly: f,
|
|
3958
3974
|
readOnlyComponent: $,
|
|
3959
|
-
emptyValueComponent:
|
|
3975
|
+
emptyValueComponent: b,
|
|
3960
3976
|
value: O,
|
|
3961
3977
|
defaultValue: M,
|
|
3962
3978
|
icon: D,
|
|
3963
3979
|
trailingIcon: W,
|
|
3964
|
-
showInput:
|
|
3980
|
+
showInput: L = !1,
|
|
3965
3981
|
showMinMaxLabels: Y = !0,
|
|
3966
3982
|
min: G = 0,
|
|
3967
3983
|
max: j = 100,
|
|
@@ -3971,46 +3987,46 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
3971
3987
|
onChange: J,
|
|
3972
3988
|
onChangeEnd: ue,
|
|
3973
3989
|
...A
|
|
3974
|
-
} = e, [ae, pe] = ie(() => O !== void 0 ? O : M !== void 0 ? M : G),
|
|
3975
|
-
() => Array.isArray(
|
|
3990
|
+
} = e, [ae, pe] = ie(() => O !== void 0 ? O : M !== void 0 ? M : G), R = O !== void 0 ? O : ae, se = Array.isArray(R), [Ne, re] = ie(
|
|
3991
|
+
() => Array.isArray(R) ? [R[0].toString(), R[1].toString()] : R.toString()
|
|
3976
3992
|
);
|
|
3977
|
-
|
|
3993
|
+
Ie(() => {
|
|
3978
3994
|
re(
|
|
3979
|
-
Array.isArray(
|
|
3995
|
+
Array.isArray(R) ? [R[0].toString(), R[1].toString()] : R.toString()
|
|
3980
3996
|
);
|
|
3981
|
-
}, [
|
|
3997
|
+
}, [R]);
|
|
3982
3998
|
const le = (B) => {
|
|
3983
3999
|
O === void 0 && pe(B), J == null || J(B);
|
|
3984
|
-
},
|
|
4000
|
+
}, ge = (B) => {
|
|
3985
4001
|
const z = B.target.value;
|
|
3986
4002
|
re(z);
|
|
3987
|
-
const
|
|
3988
|
-
if (!isNaN(
|
|
3989
|
-
const F = Math.max(G, Math.min(j,
|
|
4003
|
+
const k = parseFloat(z);
|
|
4004
|
+
if (!isNaN(k)) {
|
|
4005
|
+
const F = Math.max(G, Math.min(j, k));
|
|
3990
4006
|
le(F);
|
|
3991
4007
|
}
|
|
3992
|
-
},
|
|
3993
|
-
re(
|
|
4008
|
+
}, Se = () => {
|
|
4009
|
+
re(R.toString());
|
|
3994
4010
|
}, Ze = (B) => {
|
|
3995
|
-
const z =
|
|
3996
|
-
re([
|
|
3997
|
-
const F = parseFloat(
|
|
4011
|
+
const z = R, k = B.target.value;
|
|
4012
|
+
re([k, z[1].toString()]);
|
|
4013
|
+
const F = parseFloat(k);
|
|
3998
4014
|
if (!isNaN(F)) {
|
|
3999
4015
|
const Z = Math.max(G, Math.min(z[1], F));
|
|
4000
4016
|
le([Z, z[1]]);
|
|
4001
4017
|
}
|
|
4002
|
-
},
|
|
4003
|
-
const z =
|
|
4004
|
-
re([z[0].toString(),
|
|
4005
|
-
const F = parseFloat(
|
|
4018
|
+
}, $e = (B) => {
|
|
4019
|
+
const z = R, k = B.target.value;
|
|
4020
|
+
re([z[0].toString(), k]);
|
|
4021
|
+
const F = parseFloat(k);
|
|
4006
4022
|
if (!isNaN(F)) {
|
|
4007
4023
|
const Z = Math.max(z[0], Math.min(j, F));
|
|
4008
4024
|
le([z[0], Z]);
|
|
4009
4025
|
}
|
|
4010
4026
|
}, Xe = () => {
|
|
4011
|
-
const B =
|
|
4027
|
+
const B = R;
|
|
4012
4028
|
re([B[0].toString(), B[1].toString()]);
|
|
4013
|
-
},
|
|
4029
|
+
}, We = [
|
|
4014
4030
|
"size",
|
|
4015
4031
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
4016
4032
|
"variant",
|
|
@@ -4021,10 +4037,10 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4021
4037
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
4022
4038
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
4023
4039
|
"wrapperProps"
|
|
4024
|
-
],
|
|
4040
|
+
], ze = V(
|
|
4025
4041
|
m(A, t),
|
|
4026
|
-
|
|
4027
|
-
), uo =
|
|
4042
|
+
We
|
|
4043
|
+
), uo = ze, xe = E(
|
|
4028
4044
|
{
|
|
4029
4045
|
root: ee.sliderRoot,
|
|
4030
4046
|
track: ee.sliderTrack,
|
|
@@ -4035,9 +4051,9 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4035
4051
|
markLabel: ee.sliderMarkLabel
|
|
4036
4052
|
},
|
|
4037
4053
|
uo.classNames
|
|
4038
|
-
), Qe = S ? `${ee.layoutOverride} ${S}` : ee.layoutOverride,
|
|
4054
|
+
), Qe = S ? `${ee.layoutOverride} ${S}` : ee.layoutOverride, Oe = D ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: D }) : null, Je = W ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: W }) : null, U = Array.isArray(R) ? typeof v == "function" ? `${v(R[0])} – ${v(R[1])}` : `${R[0]} – ${R[1]}` : typeof v == "function" ? v(R) : R;
|
|
4039
4055
|
return /* @__PURE__ */ r(
|
|
4040
|
-
|
|
4056
|
+
be,
|
|
4041
4057
|
{
|
|
4042
4058
|
ref: o,
|
|
4043
4059
|
className: Qe,
|
|
@@ -4053,19 +4069,19 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4053
4069
|
labelActionArea: d,
|
|
4054
4070
|
onLabelEditClick: p,
|
|
4055
4071
|
label: u,
|
|
4056
|
-
assistiveText:
|
|
4072
|
+
assistiveText: _,
|
|
4057
4073
|
assistiveWithIcon: g,
|
|
4058
4074
|
error: h,
|
|
4059
4075
|
required: C,
|
|
4060
4076
|
withAsterisk: N,
|
|
4061
4077
|
id: P,
|
|
4062
|
-
readOnly:
|
|
4063
|
-
readOnlyComponent: $ ||
|
|
4064
|
-
emptyValueComponent:
|
|
4078
|
+
readOnly: f,
|
|
4079
|
+
readOnlyComponent: $ || ad,
|
|
4080
|
+
emptyValueComponent: b,
|
|
4065
4081
|
readOnlyType: "text",
|
|
4066
|
-
readOnlyValue:
|
|
4067
|
-
readOnlyNativeProps: { value:
|
|
4068
|
-
activeComponent: /* @__PURE__ */
|
|
4082
|
+
readOnlyValue: R,
|
|
4083
|
+
readOnlyNativeProps: { value: R },
|
|
4084
|
+
activeComponent: /* @__PURE__ */ I(
|
|
4069
4085
|
"div",
|
|
4070
4086
|
{
|
|
4071
4087
|
className: ee.sliderContainer,
|
|
@@ -4073,67 +4089,67 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4073
4089
|
"data-disabled": T ? "true" : void 0,
|
|
4074
4090
|
"data-error": h ? "true" : void 0,
|
|
4075
4091
|
children: [
|
|
4076
|
-
se &&
|
|
4092
|
+
se && L && /* @__PURE__ */ r(
|
|
4077
4093
|
"input",
|
|
4078
4094
|
{
|
|
4079
4095
|
type: "number",
|
|
4080
4096
|
className: ee.inputField,
|
|
4081
|
-
value:
|
|
4097
|
+
value: Ne[0],
|
|
4082
4098
|
onChange: Ze,
|
|
4083
4099
|
onBlur: Xe,
|
|
4084
4100
|
min: G,
|
|
4085
|
-
max:
|
|
4101
|
+
max: R[1],
|
|
4086
4102
|
step: K,
|
|
4087
4103
|
disabled: T,
|
|
4088
4104
|
"data-error": h ? "true" : void 0,
|
|
4089
4105
|
"aria-label": "Minimum value"
|
|
4090
4106
|
}
|
|
4091
4107
|
),
|
|
4092
|
-
|
|
4108
|
+
Oe,
|
|
4093
4109
|
Y && /* @__PURE__ */ r("span", { className: ee.minMaxGuide, children: X ?? G }),
|
|
4094
4110
|
/* @__PURE__ */ r("div", { className: ee.sliderTrackWrapper, children: se ? /* @__PURE__ */ r(
|
|
4095
4111
|
lr,
|
|
4096
4112
|
{
|
|
4097
|
-
...
|
|
4098
|
-
classNames:
|
|
4113
|
+
...ze,
|
|
4114
|
+
classNames: xe,
|
|
4099
4115
|
disabled: T,
|
|
4100
|
-
value:
|
|
4116
|
+
value: R,
|
|
4101
4117
|
onChange: le,
|
|
4102
4118
|
onChangeEnd: ue,
|
|
4103
4119
|
min: G,
|
|
4104
4120
|
max: j,
|
|
4105
4121
|
step: K,
|
|
4106
|
-
label:
|
|
4122
|
+
label: v
|
|
4107
4123
|
}
|
|
4108
4124
|
) : /* @__PURE__ */ r(
|
|
4109
4125
|
ir,
|
|
4110
4126
|
{
|
|
4111
|
-
...
|
|
4112
|
-
classNames:
|
|
4127
|
+
...ze,
|
|
4128
|
+
classNames: xe,
|
|
4113
4129
|
disabled: T,
|
|
4114
|
-
value:
|
|
4130
|
+
value: R,
|
|
4115
4131
|
onChange: le,
|
|
4116
4132
|
onChangeEnd: ue,
|
|
4117
4133
|
min: G,
|
|
4118
4134
|
max: j,
|
|
4119
4135
|
step: K,
|
|
4120
|
-
label:
|
|
4136
|
+
label: v
|
|
4121
4137
|
}
|
|
4122
4138
|
) }),
|
|
4123
|
-
/* @__PURE__ */
|
|
4124
|
-
!
|
|
4139
|
+
/* @__PURE__ */ I("div", { className: ee.rightGuideContainer, children: [
|
|
4140
|
+
!L && /* @__PURE__ */ r("span", { className: ee.currentValue, children: U }),
|
|
4125
4141
|
Y && /* @__PURE__ */ r("span", { className: ee.minMaxGuide, children: H ?? j })
|
|
4126
4142
|
] }),
|
|
4127
4143
|
Je,
|
|
4128
|
-
|
|
4144
|
+
L && (se ? /* @__PURE__ */ r(
|
|
4129
4145
|
"input",
|
|
4130
4146
|
{
|
|
4131
4147
|
type: "number",
|
|
4132
4148
|
className: ee.inputField,
|
|
4133
|
-
value:
|
|
4134
|
-
onChange:
|
|
4149
|
+
value: Ne[1],
|
|
4150
|
+
onChange: $e,
|
|
4135
4151
|
onBlur: Xe,
|
|
4136
|
-
min:
|
|
4152
|
+
min: R[0],
|
|
4137
4153
|
max: j,
|
|
4138
4154
|
step: K,
|
|
4139
4155
|
disabled: T,
|
|
@@ -4145,9 +4161,9 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4145
4161
|
{
|
|
4146
4162
|
type: "number",
|
|
4147
4163
|
className: ee.inputField,
|
|
4148
|
-
value:
|
|
4149
|
-
onChange:
|
|
4150
|
-
onBlur:
|
|
4164
|
+
value: Ne,
|
|
4165
|
+
onChange: ge,
|
|
4166
|
+
onBlur: Se,
|
|
4151
4167
|
min: G,
|
|
4152
4168
|
max: j,
|
|
4153
4169
|
step: K,
|
|
@@ -4162,10 +4178,10 @@ const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module
|
|
|
4162
4178
|
);
|
|
4163
4179
|
}
|
|
4164
4180
|
);
|
|
4165
|
-
|
|
4166
|
-
const
|
|
4167
|
-
root:
|
|
4168
|
-
}, pa =
|
|
4181
|
+
rd.displayName = "Slider";
|
|
4182
|
+
const sd = "Stack-module__root___NUN-x", Oo = {
|
|
4183
|
+
root: sd
|
|
4184
|
+
}, pa = y(function({ children: e, gap: o = "rec-default", ...t }, n) {
|
|
4169
4185
|
const s = {
|
|
4170
4186
|
root: Oo.root
|
|
4171
4187
|
}, l = t.classNames;
|
|
@@ -4186,23 +4202,23 @@ const rd = "Stack-module__root___NUN-x", Oo = {
|
|
|
4186
4202
|
);
|
|
4187
4203
|
});
|
|
4188
4204
|
pa.displayName = "Stack";
|
|
4189
|
-
const
|
|
4190
|
-
root:
|
|
4191
|
-
horizontal:
|
|
4192
|
-
steps:
|
|
4193
|
-
step:
|
|
4194
|
-
stepBody:
|
|
4195
|
-
stepLabel:
|
|
4196
|
-
stepDescription:
|
|
4197
|
-
separator:
|
|
4198
|
-
vertical:
|
|
4199
|
-
large:
|
|
4200
|
-
small:
|
|
4201
|
-
stepIcon:
|
|
4202
|
-
stepCompletedIcon:
|
|
4203
|
-
verticalSeparator:
|
|
4204
|
-
content:
|
|
4205
|
-
}, ma =
|
|
4205
|
+
const vp = we(pa), ld = "Stepper-module__root___jbSYO", id = "Stepper-module__horizontal___USHT1", cd = "Stepper-module__steps___4HPO6", dd = "Stepper-module__step___s2nqL", ud = "Stepper-module__stepBody___TBvys", pd = "Stepper-module__stepLabel___N6nuy", md = "Stepper-module__stepDescription___DnDAy", _d = "Stepper-module__separator___pU0No", fd = "Stepper-module__vertical___d4mOs", yd = "Stepper-module__large___J18-y", hd = "Stepper-module__small___Ub-zb", vd = "Stepper-module__stepIcon___YQHNq", bd = "Stepper-module__stepCompletedIcon___B9MeL", Nd = "Stepper-module__verticalSeparator___frWc1", gd = "Stepper-module__content___J-h8X", de = {
|
|
4206
|
+
root: ld,
|
|
4207
|
+
horizontal: id,
|
|
4208
|
+
steps: cd,
|
|
4209
|
+
step: dd,
|
|
4210
|
+
stepBody: ud,
|
|
4211
|
+
stepLabel: pd,
|
|
4212
|
+
stepDescription: md,
|
|
4213
|
+
separator: _d,
|
|
4214
|
+
vertical: fd,
|
|
4215
|
+
large: yd,
|
|
4216
|
+
small: hd,
|
|
4217
|
+
stepIcon: vd,
|
|
4218
|
+
stepCompletedIcon: bd,
|
|
4219
|
+
verticalSeparator: Nd,
|
|
4220
|
+
content: gd
|
|
4221
|
+
}, ma = y(
|
|
4206
4222
|
function(e, o) {
|
|
4207
4223
|
const {
|
|
4208
4224
|
overStyled: t = !1,
|
|
@@ -4240,7 +4256,7 @@ const hp = Te(pa), sd = "Stepper-module__root___jbSYO", ld = "Stepper-module__ho
|
|
|
4240
4256
|
}
|
|
4241
4257
|
);
|
|
4242
4258
|
}
|
|
4243
|
-
), _a =
|
|
4259
|
+
), _a = y(
|
|
4244
4260
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4245
4261
|
const n = m(o, e);
|
|
4246
4262
|
return /* @__PURE__ */ r(
|
|
@@ -4253,25 +4269,25 @@ const hp = Te(pa), sd = "Stepper-module__root___jbSYO", ld = "Stepper-module__ho
|
|
|
4253
4269
|
}
|
|
4254
4270
|
);
|
|
4255
4271
|
_a.displayName = "Stepper.Step";
|
|
4256
|
-
const
|
|
4272
|
+
const bp = Object.assign(ma, {
|
|
4257
4273
|
Step: _a,
|
|
4258
4274
|
// Stepper.Completed only accepts `children` — no styling props to strip,
|
|
4259
4275
|
// so re-exporting Mantine's implementation directly is not a gap.
|
|
4260
4276
|
Completed: ct.Completed
|
|
4261
4277
|
});
|
|
4262
4278
|
ma.displayName = "Stepper";
|
|
4263
|
-
const
|
|
4264
|
-
root:
|
|
4265
|
-
track:
|
|
4266
|
-
body:
|
|
4267
|
-
thumb:
|
|
4268
|
-
labelWrapper:
|
|
4269
|
-
label:
|
|
4270
|
-
thumbIconWrapper:
|
|
4271
|
-
checkIcon:
|
|
4272
|
-
closeIcon:
|
|
4279
|
+
const Cd = "Switch-module__root___Y5Ydi", Pd = "Switch-module__track___7ObdZ", Td = "Switch-module__body___Sw9Wr", wd = "Switch-module__thumb___-FTeK", Sd = "Switch-module__labelWrapper___YSOwx", $d = "Switch-module__label___LrH7V", xd = "Switch-module__thumbIconWrapper___sCY-1", Od = "Switch-module__checkIcon___ZBAQN", Rd = "Switch-module__closeIcon___bLLGw", kd = "Switch-module__groupRoot___-Uepi", ye = {
|
|
4280
|
+
root: Cd,
|
|
4281
|
+
track: Pd,
|
|
4282
|
+
body: Td,
|
|
4283
|
+
thumb: wd,
|
|
4284
|
+
labelWrapper: Sd,
|
|
4285
|
+
label: $d,
|
|
4286
|
+
thumbIconWrapper: xd,
|
|
4287
|
+
checkIcon: Od,
|
|
4288
|
+
closeIcon: Rd,
|
|
4273
4289
|
groupRoot: kd
|
|
4274
|
-
}, fa =
|
|
4290
|
+
}, fa = y(
|
|
4275
4291
|
function(e, o) {
|
|
4276
4292
|
const {
|
|
4277
4293
|
overStyled: t = !1,
|
|
@@ -4285,8 +4301,8 @@ const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", P
|
|
|
4285
4301
|
// Base Mantine Extracted Attributes
|
|
4286
4302
|
label: p,
|
|
4287
4303
|
description: u,
|
|
4288
|
-
assistiveText:
|
|
4289
|
-
assistiveWithIcon:
|
|
4304
|
+
assistiveText: v,
|
|
4305
|
+
assistiveWithIcon: _,
|
|
4290
4306
|
error: g,
|
|
4291
4307
|
required: h,
|
|
4292
4308
|
withAsterisk: C,
|
|
@@ -4295,9 +4311,9 @@ const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", P
|
|
|
4295
4311
|
style: S,
|
|
4296
4312
|
children: w,
|
|
4297
4313
|
readOnly: T,
|
|
4298
|
-
readOnlyComponent:
|
|
4314
|
+
readOnlyComponent: f,
|
|
4299
4315
|
emptyValueComponent: $,
|
|
4300
|
-
value:
|
|
4316
|
+
value: b,
|
|
4301
4317
|
defaultValue: O,
|
|
4302
4318
|
...M
|
|
4303
4319
|
} = e, D = [
|
|
@@ -4306,9 +4322,9 @@ const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", P
|
|
|
4306
4322
|
], W = V(
|
|
4307
4323
|
m(M, t),
|
|
4308
4324
|
D
|
|
4309
|
-
),
|
|
4325
|
+
), L = W;
|
|
4310
4326
|
return /* @__PURE__ */ r(
|
|
4311
|
-
|
|
4327
|
+
be,
|
|
4312
4328
|
{
|
|
4313
4329
|
className: P,
|
|
4314
4330
|
style: S,
|
|
@@ -4324,27 +4340,27 @@ const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", P
|
|
|
4324
4340
|
onLabelEditClick: d,
|
|
4325
4341
|
label: p,
|
|
4326
4342
|
description: u,
|
|
4327
|
-
assistiveText:
|
|
4328
|
-
assistiveWithIcon:
|
|
4343
|
+
assistiveText: v,
|
|
4344
|
+
assistiveWithIcon: _,
|
|
4329
4345
|
error: g,
|
|
4330
4346
|
required: h,
|
|
4331
4347
|
withAsterisk: C,
|
|
4332
4348
|
id: N,
|
|
4333
|
-
readOnly: T && !!
|
|
4334
|
-
readOnlyComponent:
|
|
4349
|
+
readOnly: T && !!f,
|
|
4350
|
+
readOnlyComponent: f,
|
|
4335
4351
|
emptyValueComponent: $,
|
|
4336
4352
|
readOnlyType: "text",
|
|
4337
|
-
readOnlyValue:
|
|
4353
|
+
readOnlyValue: b !== void 0 ? b : O,
|
|
4338
4354
|
readOnlyNativeProps: e,
|
|
4339
4355
|
activeComponent: /* @__PURE__ */ r(
|
|
4340
4356
|
Gt.Group,
|
|
4341
4357
|
{
|
|
4342
4358
|
ref: o,
|
|
4343
4359
|
...W,
|
|
4344
|
-
disabled: T ||
|
|
4345
|
-
value:
|
|
4360
|
+
disabled: T || L.disabled,
|
|
4361
|
+
value: b,
|
|
4346
4362
|
defaultValue: O,
|
|
4347
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
4363
|
+
children: /* @__PURE__ */ r("div", { className: ye.groupRoot, "data-layout": n, children: w })
|
|
4348
4364
|
}
|
|
4349
4365
|
)
|
|
4350
4366
|
}
|
|
@@ -4352,7 +4368,7 @@ const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", P
|
|
|
4352
4368
|
}
|
|
4353
4369
|
);
|
|
4354
4370
|
fa.displayName = "SwitchGroup";
|
|
4355
|
-
const ya =
|
|
4371
|
+
const ya = y(
|
|
4356
4372
|
function(e, o) {
|
|
4357
4373
|
const {
|
|
4358
4374
|
overStyled: t = !1,
|
|
@@ -4364,8 +4380,8 @@ const ya = f(
|
|
|
4364
4380
|
labelSize: d,
|
|
4365
4381
|
controlMaxWidth: p,
|
|
4366
4382
|
controlMinWidth: u,
|
|
4367
|
-
...
|
|
4368
|
-
} = e,
|
|
4383
|
+
...v
|
|
4384
|
+
} = e, _ = [
|
|
4369
4385
|
"size",
|
|
4370
4386
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4371
4387
|
"color",
|
|
@@ -4375,29 +4391,29 @@ const ya = f(
|
|
|
4375
4391
|
"variant"
|
|
4376
4392
|
// Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
4377
4393
|
], g = V(
|
|
4378
|
-
m(
|
|
4379
|
-
|
|
4394
|
+
m(v, t),
|
|
4395
|
+
_
|
|
4380
4396
|
), h = g, C = E(
|
|
4381
4397
|
{
|
|
4382
|
-
root:
|
|
4383
|
-
body:
|
|
4384
|
-
track:
|
|
4385
|
-
thumb:
|
|
4386
|
-
trackLabel:
|
|
4387
|
-
labelWrapper:
|
|
4388
|
-
label:
|
|
4398
|
+
root: ye.root,
|
|
4399
|
+
body: ye.body,
|
|
4400
|
+
track: ye.track,
|
|
4401
|
+
thumb: ye.thumb,
|
|
4402
|
+
trackLabel: ye.trackLabel,
|
|
4403
|
+
labelWrapper: ye.labelWrapper,
|
|
4404
|
+
label: ye.label
|
|
4389
4405
|
},
|
|
4390
4406
|
h.classNames
|
|
4391
4407
|
), N = Ir(
|
|
4392
4408
|
{},
|
|
4393
4409
|
h.styles
|
|
4394
|
-
), P = h.className, S = P ? `${
|
|
4410
|
+
), P = h.className, S = P ? `${ye.root} ${P}` : ye.root;
|
|
4395
4411
|
if (n && s) {
|
|
4396
|
-
const
|
|
4412
|
+
const f = !!(h.checked ?? h.defaultChecked), b = /* @__PURE__ */ r(
|
|
4397
4413
|
s,
|
|
4398
4414
|
{
|
|
4399
4415
|
...e,
|
|
4400
|
-
checked:
|
|
4416
|
+
checked: f,
|
|
4401
4417
|
label: h.label
|
|
4402
4418
|
}
|
|
4403
4419
|
);
|
|
@@ -4408,13 +4424,13 @@ const ya = f(
|
|
|
4408
4424
|
labelSize: d,
|
|
4409
4425
|
controlMaxWidth: p,
|
|
4410
4426
|
controlMinWidth: u,
|
|
4411
|
-
children:
|
|
4427
|
+
children: b
|
|
4412
4428
|
}
|
|
4413
|
-
) : /* @__PURE__ */ r(
|
|
4429
|
+
) : /* @__PURE__ */ r(je, { children: b });
|
|
4414
4430
|
}
|
|
4415
|
-
const w = /* @__PURE__ */
|
|
4416
|
-
/* @__PURE__ */ r(dr, { className:
|
|
4417
|
-
/* @__PURE__ */ r(ur, { className:
|
|
4431
|
+
const w = /* @__PURE__ */ I("div", { className: ye.thumbIconWrapper, children: [
|
|
4432
|
+
/* @__PURE__ */ r(dr, { className: ye.checkIcon }),
|
|
4433
|
+
/* @__PURE__ */ r(ur, { className: ye.closeIcon })
|
|
4418
4434
|
] }), T = /* @__PURE__ */ r(
|
|
4419
4435
|
Gt,
|
|
4420
4436
|
{
|
|
@@ -4425,7 +4441,7 @@ const ya = f(
|
|
|
4425
4441
|
styles: N,
|
|
4426
4442
|
disabled: n || l,
|
|
4427
4443
|
"data-disabled": n || l || void 0,
|
|
4428
|
-
thumbIcon:
|
|
4444
|
+
thumbIcon: Ve(
|
|
4429
4445
|
w,
|
|
4430
4446
|
c
|
|
4431
4447
|
)
|
|
@@ -4445,11 +4461,11 @@ const ya = f(
|
|
|
4445
4461
|
);
|
|
4446
4462
|
ya.displayName = "Switch";
|
|
4447
4463
|
ya.Group = fa;
|
|
4448
|
-
const
|
|
4449
|
-
root:
|
|
4450
|
-
sortIcon:
|
|
4464
|
+
const Id = "Table-module__root___aMWWS", Ld = "Table-module__sortIcon___V3-dH", nt = {
|
|
4465
|
+
root: Id,
|
|
4466
|
+
sortIcon: Ld
|
|
4451
4467
|
};
|
|
4452
|
-
function
|
|
4468
|
+
function Md(a) {
|
|
4453
4469
|
return /* @__PURE__ */ r(
|
|
4454
4470
|
"svg",
|
|
4455
4471
|
{
|
|
@@ -4465,7 +4481,7 @@ function Ld(a) {
|
|
|
4465
4481
|
}
|
|
4466
4482
|
);
|
|
4467
4483
|
}
|
|
4468
|
-
function
|
|
4484
|
+
function Ad(a) {
|
|
4469
4485
|
return /* @__PURE__ */ r(
|
|
4470
4486
|
"svg",
|
|
4471
4487
|
{
|
|
@@ -4481,7 +4497,7 @@ function Md(a) {
|
|
|
4481
4497
|
}
|
|
4482
4498
|
);
|
|
4483
4499
|
}
|
|
4484
|
-
const ha =
|
|
4500
|
+
const ha = y(function({ overStyled: e = !1, ...o }, t) {
|
|
4485
4501
|
const n = m(o, e), s = n.className, l = nt.root, c = s ? `${l} ${s}` : l;
|
|
4486
4502
|
return /* @__PURE__ */ r(
|
|
4487
4503
|
qe,
|
|
@@ -4493,7 +4509,7 @@ const ha = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
4493
4509
|
);
|
|
4494
4510
|
});
|
|
4495
4511
|
ha.displayName = "Table";
|
|
4496
|
-
const va =
|
|
4512
|
+
const va = y(
|
|
4497
4513
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4498
4514
|
const n = m(o, e);
|
|
4499
4515
|
return /* @__PURE__ */ r(
|
|
@@ -4506,7 +4522,7 @@ const va = f(
|
|
|
4506
4522
|
}
|
|
4507
4523
|
);
|
|
4508
4524
|
va.displayName = "TableThead";
|
|
4509
|
-
const ba =
|
|
4525
|
+
const ba = y(
|
|
4510
4526
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4511
4527
|
const n = m(o, e);
|
|
4512
4528
|
return /* @__PURE__ */ r(
|
|
@@ -4519,7 +4535,7 @@ const ba = f(
|
|
|
4519
4535
|
}
|
|
4520
4536
|
);
|
|
4521
4537
|
ba.displayName = "TableTbody";
|
|
4522
|
-
const Na =
|
|
4538
|
+
const Na = y(
|
|
4523
4539
|
function({ overStyled: e = !1, selected: o = !1, disabled: t = !1, ...n }, s) {
|
|
4524
4540
|
const l = m(n, e);
|
|
4525
4541
|
return /* @__PURE__ */ r(
|
|
@@ -4534,7 +4550,7 @@ const Na = f(
|
|
|
4534
4550
|
}
|
|
4535
4551
|
);
|
|
4536
4552
|
Na.displayName = "TableTr";
|
|
4537
|
-
const ga =
|
|
4553
|
+
const ga = y(
|
|
4538
4554
|
function({
|
|
4539
4555
|
overStyled: e = !1,
|
|
4540
4556
|
sorted: o = !1,
|
|
@@ -4544,7 +4560,7 @@ const ga = f(
|
|
|
4544
4560
|
...l
|
|
4545
4561
|
}, c) {
|
|
4546
4562
|
const i = m(l, e);
|
|
4547
|
-
return /* @__PURE__ */
|
|
4563
|
+
return /* @__PURE__ */ I(
|
|
4548
4564
|
qe.Th,
|
|
4549
4565
|
{
|
|
4550
4566
|
ref: c,
|
|
@@ -4555,15 +4571,15 @@ const ga = f(
|
|
|
4555
4571
|
"aria-sort": o === "asc" ? "ascending" : o === "desc" ? "descending" : void 0,
|
|
4556
4572
|
children: [
|
|
4557
4573
|
s,
|
|
4558
|
-
o === "asc" && /* @__PURE__ */ r(
|
|
4559
|
-
o === "desc" && /* @__PURE__ */ r(
|
|
4574
|
+
o === "asc" && /* @__PURE__ */ r(Md, { className: nt.sortIcon }),
|
|
4575
|
+
o === "desc" && /* @__PURE__ */ r(Ad, { className: nt.sortIcon })
|
|
4560
4576
|
]
|
|
4561
4577
|
}
|
|
4562
4578
|
);
|
|
4563
4579
|
}
|
|
4564
4580
|
);
|
|
4565
4581
|
ga.displayName = "TableTh";
|
|
4566
|
-
const Ca =
|
|
4582
|
+
const Ca = y(
|
|
4567
4583
|
function({ overStyled: e = !1, disabled: o = !1, variant: t = "default", ...n }, s) {
|
|
4568
4584
|
const l = m(n, e);
|
|
4569
4585
|
return /* @__PURE__ */ r(
|
|
@@ -4578,7 +4594,7 @@ const Ca = f(
|
|
|
4578
4594
|
}
|
|
4579
4595
|
);
|
|
4580
4596
|
Ca.displayName = "TableTd";
|
|
4581
|
-
const Pa =
|
|
4597
|
+
const Pa = y(
|
|
4582
4598
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4583
4599
|
const n = m(o, e);
|
|
4584
4600
|
return /* @__PURE__ */ r(
|
|
@@ -4591,7 +4607,7 @@ const Pa = f(
|
|
|
4591
4607
|
}
|
|
4592
4608
|
);
|
|
4593
4609
|
Pa.displayName = "TableTfoot";
|
|
4594
|
-
const Ta =
|
|
4610
|
+
const Ta = y(function({ overStyled: e = !1, ...o }, t) {
|
|
4595
4611
|
const n = m(o, e);
|
|
4596
4612
|
return /* @__PURE__ */ r(
|
|
4597
4613
|
qe.Caption,
|
|
@@ -4602,7 +4618,7 @@ const Ta = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
4602
4618
|
);
|
|
4603
4619
|
});
|
|
4604
4620
|
Ta.displayName = "TableCaption";
|
|
4605
|
-
const wa =
|
|
4621
|
+
const wa = y(function({ overStyled: e = !1, ...o }, t) {
|
|
4606
4622
|
const n = m(o, e);
|
|
4607
4623
|
return /* @__PURE__ */ r(
|
|
4608
4624
|
qe.ScrollContainer,
|
|
@@ -4622,13 +4638,13 @@ co.Td = Ca;
|
|
|
4622
4638
|
co.Tfoot = Pa;
|
|
4623
4639
|
co.Caption = Ta;
|
|
4624
4640
|
co.ScrollContainer = wa;
|
|
4625
|
-
const
|
|
4626
|
-
root:
|
|
4627
|
-
list:
|
|
4628
|
-
tab:
|
|
4629
|
-
tabSection:
|
|
4630
|
-
panel:
|
|
4631
|
-
}, Sa =
|
|
4641
|
+
const Wd = "Tabs-module__root___-VKVI", zd = "Tabs-module__list___qRVME", Dd = "Tabs-module__tab___IdDYc", Ed = "Tabs-module__tabSection___Es-nf", Bd = "Tabs-module__panel___08i9c", Ro = {
|
|
4642
|
+
root: Wd,
|
|
4643
|
+
list: zd,
|
|
4644
|
+
tab: Dd,
|
|
4645
|
+
tabSection: Ed,
|
|
4646
|
+
panel: Bd
|
|
4647
|
+
}, Sa = y(function(e, o) {
|
|
4632
4648
|
const {
|
|
4633
4649
|
variant: t = "default",
|
|
4634
4650
|
orientation: n = "horizontal",
|
|
@@ -4637,10 +4653,10 @@ const Ad = "Tabs-module__root___-VKVI", Wd = "Tabs-module__list___qRVME", zd = "
|
|
|
4637
4653
|
...c
|
|
4638
4654
|
} = e, i = m(c, s), d = i, p = E(
|
|
4639
4655
|
{
|
|
4640
|
-
list:
|
|
4641
|
-
tab:
|
|
4642
|
-
tabSection:
|
|
4643
|
-
panel:
|
|
4656
|
+
list: Ro.list,
|
|
4657
|
+
tab: Ro.tab,
|
|
4658
|
+
tabSection: Ro.tabSection,
|
|
4659
|
+
panel: Ro.panel
|
|
4644
4660
|
},
|
|
4645
4661
|
d.classNames
|
|
4646
4662
|
);
|
|
@@ -4651,7 +4667,7 @@ const Ad = "Tabs-module__root___-VKVI", Wd = "Tabs-module__list___qRVME", zd = "
|
|
|
4651
4667
|
...i,
|
|
4652
4668
|
variant: t,
|
|
4653
4669
|
orientation: n,
|
|
4654
|
-
className: `${
|
|
4670
|
+
className: `${Ro.root} ${l || ""}`,
|
|
4655
4671
|
"data-variant": t,
|
|
4656
4672
|
"data-orientation": n,
|
|
4657
4673
|
classNames: p
|
|
@@ -4659,7 +4675,7 @@ const Ad = "Tabs-module__root___-VKVI", Wd = "Tabs-module__list___qRVME", zd = "
|
|
|
4659
4675
|
);
|
|
4660
4676
|
});
|
|
4661
4677
|
Sa.displayName = "Tabs";
|
|
4662
|
-
const $a =
|
|
4678
|
+
const $a = y(
|
|
4663
4679
|
function(e, o) {
|
|
4664
4680
|
const { overStyled: t = !1, ...n } = e;
|
|
4665
4681
|
return /* @__PURE__ */ r(
|
|
@@ -4672,7 +4688,7 @@ const $a = f(
|
|
|
4672
4688
|
}
|
|
4673
4689
|
);
|
|
4674
4690
|
$a.displayName = "Tabs.List";
|
|
4675
|
-
const xa =
|
|
4691
|
+
const xa = y(
|
|
4676
4692
|
function(e, o) {
|
|
4677
4693
|
const { overStyled: t = !1, ...n } = e;
|
|
4678
4694
|
return /* @__PURE__ */ r(
|
|
@@ -4685,7 +4701,7 @@ const xa = f(
|
|
|
4685
4701
|
}
|
|
4686
4702
|
);
|
|
4687
4703
|
xa.displayName = "Tabs.Tab";
|
|
4688
|
-
const Oa =
|
|
4704
|
+
const Oa = y(
|
|
4689
4705
|
function(e, o) {
|
|
4690
4706
|
const { overStyled: t = !1, ...n } = e;
|
|
4691
4707
|
return /* @__PURE__ */ r(
|
|
@@ -4698,25 +4714,25 @@ const Oa = f(
|
|
|
4698
4714
|
}
|
|
4699
4715
|
);
|
|
4700
4716
|
Oa.displayName = "Tabs.Panel";
|
|
4701
|
-
const
|
|
4717
|
+
const Np = Object.assign(Sa, {
|
|
4702
4718
|
List: $a,
|
|
4703
4719
|
Tab: xa,
|
|
4704
4720
|
Panel: Oa
|
|
4705
4721
|
}), It = /* @__PURE__ */ new Set(), Lt = /* @__PURE__ */ new Set();
|
|
4706
|
-
function
|
|
4722
|
+
function Ra(a, e) {
|
|
4707
4723
|
return Array.from(a).some((o) => {
|
|
4708
4724
|
if (o instanceof CSSStyleRule)
|
|
4709
4725
|
return o.selectorText.split(",").some((n) => n.trim() === e);
|
|
4710
4726
|
const t = o.cssRules;
|
|
4711
|
-
return t ?
|
|
4727
|
+
return t ? Ra(t, e) : !1;
|
|
4712
4728
|
});
|
|
4713
4729
|
}
|
|
4714
|
-
function
|
|
4730
|
+
function Fd(a) {
|
|
4715
4731
|
const e = `.recursica_brand_typography_${a}`;
|
|
4716
4732
|
if (It.has(e)) return !0;
|
|
4717
4733
|
const o = Array.from(document.styleSheets).some((t) => {
|
|
4718
4734
|
try {
|
|
4719
|
-
return
|
|
4735
|
+
return Ra(t.cssRules, e);
|
|
4720
4736
|
} catch {
|
|
4721
4737
|
return !1;
|
|
4722
4738
|
}
|
|
@@ -4725,9 +4741,9 @@ function Bd(a) {
|
|
|
4725
4741
|
`Text: no "${e}" rule found. "${a}" is not defined under brand.typography in the exported Recursica CSS, so the text is hidden.`
|
|
4726
4742
|
)), o;
|
|
4727
4743
|
}
|
|
4728
|
-
const
|
|
4729
|
-
root:
|
|
4730
|
-
},
|
|
4744
|
+
const Ud = "Text-module__root___rsBo7", Vd = {
|
|
4745
|
+
root: Ud
|
|
4746
|
+
}, Hd = ["h1", "h2", "h3", "h4", "h5", "h6"], ka = y(function({
|
|
4731
4747
|
overStyled: e = !1,
|
|
4732
4748
|
variant: o = "body",
|
|
4733
4749
|
emphasis: t = "high",
|
|
@@ -4735,11 +4751,11 @@ const Fd = "Text-module__root___rsBo7", Ud = {
|
|
|
4735
4751
|
...s
|
|
4736
4752
|
}, l) {
|
|
4737
4753
|
const c = s.component;
|
|
4738
|
-
if (typeof c == "string" &&
|
|
4754
|
+
if (typeof c == "string" && Hd.includes(c))
|
|
4739
4755
|
throw new Error(
|
|
4740
4756
|
`Text cannot render <${c}>. Use <Heading> for semantic h1-h6.`
|
|
4741
4757
|
);
|
|
4742
|
-
const i = m(s, e), d = i.className, p = process.env.NODE_ENV !== "production" && typeof document < "u" && !
|
|
4758
|
+
const i = m(s, e), d = i.className, p = process.env.NODE_ENV !== "production" && typeof document < "u" && !Fd(o), v = [`recursica_brand_typography_${o}`, Vd.root, d].filter(Boolean).join(" ");
|
|
4743
4759
|
return /* @__PURE__ */ r(
|
|
4744
4760
|
pr,
|
|
4745
4761
|
{
|
|
@@ -4748,23 +4764,23 @@ const Fd = "Text-module__root___rsBo7", Ud = {
|
|
|
4748
4764
|
"data-color": n,
|
|
4749
4765
|
"data-emphasis": t,
|
|
4750
4766
|
"data-typography-missing": p || void 0,
|
|
4751
|
-
className:
|
|
4767
|
+
className: v
|
|
4752
4768
|
}
|
|
4753
4769
|
);
|
|
4754
4770
|
});
|
|
4755
|
-
|
|
4756
|
-
const
|
|
4757
|
-
layoutOverride:
|
|
4758
|
-
root:
|
|
4759
|
-
input:
|
|
4760
|
-
},
|
|
4771
|
+
ka.displayName = "Text";
|
|
4772
|
+
const gp = we(ka), Gd = "TextArea-module__layoutOverride___4MCdm", jd = "TextArea-module__root___3dyeu", qd = "TextArea-module__input___8l36v", zo = {
|
|
4773
|
+
layoutOverride: Gd,
|
|
4774
|
+
root: jd,
|
|
4775
|
+
input: qd
|
|
4776
|
+
}, Kd = [
|
|
4761
4777
|
"size",
|
|
4762
4778
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4763
4779
|
"variant",
|
|
4764
4780
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4765
4781
|
"radius"
|
|
4766
4782
|
// Recursica does not expose the library's native corner-radius system.
|
|
4767
|
-
],
|
|
4783
|
+
], Yd = y(
|
|
4768
4784
|
function(e, o) {
|
|
4769
4785
|
const {
|
|
4770
4786
|
overStyled: t = !1,
|
|
@@ -4777,8 +4793,8 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4777
4793
|
onLabelEditClick: d,
|
|
4778
4794
|
label: p,
|
|
4779
4795
|
assistiveText: u,
|
|
4780
|
-
assistiveWithIcon:
|
|
4781
|
-
error:
|
|
4796
|
+
assistiveWithIcon: v,
|
|
4797
|
+
error: _,
|
|
4782
4798
|
required: g,
|
|
4783
4799
|
withAsterisk: h,
|
|
4784
4800
|
id: C,
|
|
@@ -4787,13 +4803,13 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4787
4803
|
disabled: S,
|
|
4788
4804
|
readOnly: w,
|
|
4789
4805
|
readOnlyComponent: T,
|
|
4790
|
-
emptyValueComponent:
|
|
4806
|
+
emptyValueComponent: f,
|
|
4791
4807
|
value: $,
|
|
4792
|
-
defaultValue:
|
|
4808
|
+
defaultValue: b,
|
|
4793
4809
|
...O
|
|
4794
4810
|
} = e, M = V(
|
|
4795
4811
|
m(O, t),
|
|
4796
|
-
|
|
4812
|
+
Kd
|
|
4797
4813
|
), D = M, W = E(
|
|
4798
4814
|
{
|
|
4799
4815
|
wrapper: zo.root,
|
|
@@ -4801,11 +4817,11 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4801
4817
|
input: zo.input
|
|
4802
4818
|
},
|
|
4803
4819
|
D.classNames
|
|
4804
|
-
),
|
|
4820
|
+
), L = N ? `${zo.layoutOverride} ${N}` : zo.layoutOverride;
|
|
4805
4821
|
return /* @__PURE__ */ r(
|
|
4806
|
-
|
|
4822
|
+
be,
|
|
4807
4823
|
{
|
|
4808
|
-
className:
|
|
4824
|
+
className: L,
|
|
4809
4825
|
style: P,
|
|
4810
4826
|
controlMaxWidth: "var(--textarea-control-max-width)",
|
|
4811
4827
|
controlMinWidth: "var(--textarea-control-min-width)",
|
|
@@ -4818,16 +4834,16 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4818
4834
|
onLabelEditClick: d,
|
|
4819
4835
|
label: p,
|
|
4820
4836
|
assistiveText: u,
|
|
4821
|
-
assistiveWithIcon:
|
|
4822
|
-
error:
|
|
4837
|
+
assistiveWithIcon: v,
|
|
4838
|
+
error: _,
|
|
4823
4839
|
required: g,
|
|
4824
4840
|
withAsterisk: h,
|
|
4825
4841
|
id: C,
|
|
4826
4842
|
readOnly: w,
|
|
4827
4843
|
readOnlyComponent: T,
|
|
4828
|
-
emptyValueComponent:
|
|
4844
|
+
emptyValueComponent: f,
|
|
4829
4845
|
readOnlyType: "text",
|
|
4830
|
-
readOnlyValue: $ !== void 0 ? $ :
|
|
4846
|
+
readOnlyValue: $ !== void 0 ? $ : b,
|
|
4831
4847
|
readOnlyNativeProps: e,
|
|
4832
4848
|
activeComponent: (
|
|
4833
4849
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -4839,10 +4855,10 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4839
4855
|
classNames: W,
|
|
4840
4856
|
disabled: S,
|
|
4841
4857
|
value: $,
|
|
4842
|
-
defaultValue:
|
|
4858
|
+
defaultValue: b,
|
|
4843
4859
|
label: void 0,
|
|
4844
4860
|
description: void 0,
|
|
4845
|
-
error: !!
|
|
4861
|
+
error: !!_,
|
|
4846
4862
|
required: void 0,
|
|
4847
4863
|
withAsterisk: void 0
|
|
4848
4864
|
}
|
|
@@ -4852,20 +4868,20 @@ const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextAre
|
|
|
4852
4868
|
);
|
|
4853
4869
|
}
|
|
4854
4870
|
);
|
|
4855
|
-
|
|
4856
|
-
const
|
|
4857
|
-
layoutOverride:
|
|
4858
|
-
root:
|
|
4859
|
-
input:
|
|
4860
|
-
section:
|
|
4861
|
-
},
|
|
4871
|
+
Yd.displayName = "TextArea";
|
|
4872
|
+
const Zd = "TextField-module__layoutOverride___SNZqc", Xd = "TextField-module__root___2ZYkG", Qd = "TextField-module__input___RL-My", Jd = "TextField-module__section___bCIJ0", ko = {
|
|
4873
|
+
layoutOverride: Zd,
|
|
4874
|
+
root: Xd,
|
|
4875
|
+
input: Qd,
|
|
4876
|
+
section: Jd
|
|
4877
|
+
}, eu = [
|
|
4862
4878
|
"size",
|
|
4863
4879
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4864
4880
|
"variant",
|
|
4865
4881
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4866
4882
|
"radius"
|
|
4867
4883
|
// Recursica does not expose the library's native corner-radius system.
|
|
4868
|
-
], Ia =
|
|
4884
|
+
], Ia = y(
|
|
4869
4885
|
function(e, o) {
|
|
4870
4886
|
const {
|
|
4871
4887
|
overStyled: t = !1,
|
|
@@ -4878,8 +4894,8 @@ const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__r
|
|
|
4878
4894
|
onLabelEditClick: d,
|
|
4879
4895
|
label: p,
|
|
4880
4896
|
assistiveText: u,
|
|
4881
|
-
assistiveWithIcon:
|
|
4882
|
-
error:
|
|
4897
|
+
assistiveWithIcon: v,
|
|
4898
|
+
error: _,
|
|
4883
4899
|
required: g,
|
|
4884
4900
|
withAsterisk: h,
|
|
4885
4901
|
id: C,
|
|
@@ -4888,26 +4904,26 @@ const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__r
|
|
|
4888
4904
|
disabled: S,
|
|
4889
4905
|
readOnly: w,
|
|
4890
4906
|
readOnlyComponent: T,
|
|
4891
|
-
emptyValueComponent:
|
|
4907
|
+
emptyValueComponent: f,
|
|
4892
4908
|
value: $,
|
|
4893
|
-
defaultValue:
|
|
4909
|
+
defaultValue: b,
|
|
4894
4910
|
...O
|
|
4895
4911
|
} = e, M = V(
|
|
4896
4912
|
m(O, t),
|
|
4897
|
-
|
|
4913
|
+
eu
|
|
4898
4914
|
), D = M, W = E(
|
|
4899
4915
|
{
|
|
4900
|
-
wrapper:
|
|
4916
|
+
wrapper: ko.root,
|
|
4901
4917
|
// The nested Input internal relative wrapper bounding box
|
|
4902
|
-
input:
|
|
4903
|
-
section:
|
|
4918
|
+
input: ko.input,
|
|
4919
|
+
section: ko.section
|
|
4904
4920
|
},
|
|
4905
4921
|
D.classNames
|
|
4906
|
-
),
|
|
4922
|
+
), L = N ? `${ko.layoutOverride} ${N}` : ko.layoutOverride;
|
|
4907
4923
|
return /* @__PURE__ */ r(
|
|
4908
|
-
|
|
4924
|
+
be,
|
|
4909
4925
|
{
|
|
4910
|
-
className:
|
|
4926
|
+
className: L,
|
|
4911
4927
|
style: P,
|
|
4912
4928
|
controlMaxWidth: "var(--text-field-control-max-width)",
|
|
4913
4929
|
controlMinWidth: "var(--text-field-control-min-width)",
|
|
@@ -4920,16 +4936,16 @@ const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__r
|
|
|
4920
4936
|
onLabelEditClick: d,
|
|
4921
4937
|
label: p,
|
|
4922
4938
|
assistiveText: u,
|
|
4923
|
-
assistiveWithIcon:
|
|
4924
|
-
error:
|
|
4939
|
+
assistiveWithIcon: v,
|
|
4940
|
+
error: _,
|
|
4925
4941
|
required: g,
|
|
4926
4942
|
withAsterisk: h,
|
|
4927
4943
|
id: C,
|
|
4928
4944
|
readOnly: w,
|
|
4929
4945
|
readOnlyComponent: T,
|
|
4930
|
-
emptyValueComponent:
|
|
4946
|
+
emptyValueComponent: f,
|
|
4931
4947
|
readOnlyType: "text",
|
|
4932
|
-
readOnlyValue: $ !== void 0 ? $ :
|
|
4948
|
+
readOnlyValue: $ !== void 0 ? $ : b,
|
|
4933
4949
|
readOnlyNativeProps: e,
|
|
4934
4950
|
activeComponent: (
|
|
4935
4951
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
@@ -4941,10 +4957,10 @@ const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__r
|
|
|
4941
4957
|
classNames: W,
|
|
4942
4958
|
disabled: S,
|
|
4943
4959
|
value: $,
|
|
4944
|
-
defaultValue:
|
|
4960
|
+
defaultValue: b,
|
|
4945
4961
|
wrapperProps: {
|
|
4946
4962
|
"data-disabled": S ? "true" : void 0,
|
|
4947
|
-
"data-error":
|
|
4963
|
+
"data-error": _ ? "true" : void 0
|
|
4948
4964
|
}
|
|
4949
4965
|
}
|
|
4950
4966
|
)
|
|
@@ -4954,17 +4970,17 @@ const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__r
|
|
|
4954
4970
|
}
|
|
4955
4971
|
);
|
|
4956
4972
|
Ia.displayName = "TextField";
|
|
4957
|
-
const
|
|
4973
|
+
const ou = [
|
|
4958
4974
|
"size",
|
|
4959
4975
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4960
4976
|
"variant",
|
|
4961
4977
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4962
4978
|
"radius"
|
|
4963
4979
|
// Recursica does not expose the library's native corner-radius system.
|
|
4964
|
-
], La =
|
|
4980
|
+
], La = y(function(e, o) {
|
|
4965
4981
|
const { overStyled: t = !1, className: n, disabled: s, error: l, ...c } = e, i = V(
|
|
4966
4982
|
m(c, t),
|
|
4967
|
-
|
|
4983
|
+
ou
|
|
4968
4984
|
), d = i, p = E(
|
|
4969
4985
|
{
|
|
4970
4986
|
wrapper: n ? `${oe.root} ${n}` : oe.root,
|
|
@@ -4995,16 +5011,16 @@ const eu = [
|
|
|
4995
5011
|
);
|
|
4996
5012
|
});
|
|
4997
5013
|
La.displayName = "BareDropdown";
|
|
4998
|
-
const
|
|
4999
|
-
layoutOverride:
|
|
5000
|
-
root:
|
|
5001
|
-
timeWrapper:
|
|
5002
|
-
timeInput:
|
|
5003
|
-
fieldsGroup:
|
|
5004
|
-
section:
|
|
5005
|
-
timeField:
|
|
5006
|
-
amPmSelect:
|
|
5007
|
-
},
|
|
5014
|
+
const tu = "TimePicker-module__layoutOverride___zKo4Q", nu = "TimePicker-module__root___BcvRu", au = "TimePicker-module__timeWrapper___hJVre", ru = "TimePicker-module__timeInput___FQysn", su = "TimePicker-module__fieldsGroup___2yHhR", lu = "TimePicker-module__section___VkSWB", iu = "TimePicker-module__timeField___twRZd", cu = "TimePicker-module__amPmSelect___mSdvt", Ee = {
|
|
5015
|
+
layoutOverride: tu,
|
|
5016
|
+
root: nu,
|
|
5017
|
+
timeWrapper: au,
|
|
5018
|
+
timeInput: ru,
|
|
5019
|
+
fieldsGroup: su,
|
|
5020
|
+
section: lu,
|
|
5021
|
+
timeField: iu,
|
|
5022
|
+
amPmSelect: cu
|
|
5023
|
+
}, du = [
|
|
5008
5024
|
{ value: "AM", label: "AM" },
|
|
5009
5025
|
{ value: "PM", label: "PM" }
|
|
5010
5026
|
];
|
|
@@ -5013,17 +5029,17 @@ function Mt(a) {
|
|
|
5013
5029
|
const e = parseInt(a.slice(0, 2), 10);
|
|
5014
5030
|
return Number.isNaN(e) ? void 0 : e;
|
|
5015
5031
|
}
|
|
5016
|
-
function
|
|
5032
|
+
function uu(a, e) {
|
|
5017
5033
|
return `${String(e).padStart(2, "0")}${a.slice(2)}`;
|
|
5018
5034
|
}
|
|
5019
|
-
function
|
|
5035
|
+
function pu(a) {
|
|
5020
5036
|
if (!a) return;
|
|
5021
5037
|
const [e, o, t] = a.split(":"), n = parseInt(e, 10);
|
|
5022
5038
|
if (Number.isNaN(n) || o === void 0) return a;
|
|
5023
5039
|
const s = n >= 12, l = n % 12 === 0 ? 12 : n % 12, c = t !== void 0 ? `${o}:${t}` : o;
|
|
5024
5040
|
return `${l}:${c} ${s ? "PM" : "AM"}`;
|
|
5025
5041
|
}
|
|
5026
|
-
function
|
|
5042
|
+
function mu(a, e) {
|
|
5027
5043
|
var t;
|
|
5028
5044
|
const o = (t = Object.getOwnPropertyDescriptor(
|
|
5029
5045
|
window.HTMLSelectElement.prototype,
|
|
@@ -5031,14 +5047,14 @@ function pu(a, e) {
|
|
|
5031
5047
|
)) == null ? void 0 : t.set;
|
|
5032
5048
|
o == null || o.call(a, e), a.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
5033
5049
|
}
|
|
5034
|
-
const
|
|
5050
|
+
const _u = [
|
|
5035
5051
|
"size",
|
|
5036
5052
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
5037
5053
|
"variant",
|
|
5038
5054
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
5039
5055
|
"radius"
|
|
5040
5056
|
// Recursica does not expose the library's native corner-radius system.
|
|
5041
|
-
],
|
|
5057
|
+
], fu = y(
|
|
5042
5058
|
function(e, o) {
|
|
5043
5059
|
const {
|
|
5044
5060
|
overStyled: t = !1,
|
|
@@ -5051,8 +5067,8 @@ const mu = [
|
|
|
5051
5067
|
onLabelEditClick: d,
|
|
5052
5068
|
label: p,
|
|
5053
5069
|
assistiveText: u,
|
|
5054
|
-
assistiveWithIcon:
|
|
5055
|
-
error:
|
|
5070
|
+
assistiveWithIcon: v,
|
|
5071
|
+
error: _,
|
|
5056
5072
|
required: g,
|
|
5057
5073
|
withAsterisk: h,
|
|
5058
5074
|
id: C,
|
|
@@ -5061,40 +5077,40 @@ const mu = [
|
|
|
5061
5077
|
disabled: S,
|
|
5062
5078
|
readOnly: w,
|
|
5063
5079
|
readOnlyComponent: T,
|
|
5064
|
-
emptyValueComponent:
|
|
5080
|
+
emptyValueComponent: f,
|
|
5065
5081
|
value: $,
|
|
5066
|
-
defaultValue:
|
|
5082
|
+
defaultValue: b,
|
|
5067
5083
|
onChange: O,
|
|
5068
5084
|
withSeconds: M,
|
|
5069
5085
|
minTime: D,
|
|
5070
5086
|
maxTime: W,
|
|
5071
|
-
...
|
|
5087
|
+
...L
|
|
5072
5088
|
} = e, Y = V(
|
|
5073
|
-
m(
|
|
5074
|
-
|
|
5089
|
+
m(L, t),
|
|
5090
|
+
_u
|
|
5075
5091
|
), G = Y, [j, X] = ie(
|
|
5076
|
-
() => $ ??
|
|
5092
|
+
() => $ ?? b
|
|
5077
5093
|
);
|
|
5078
|
-
|
|
5094
|
+
Ie(() => {
|
|
5079
5095
|
$ !== void 0 && X($);
|
|
5080
5096
|
}, [$]);
|
|
5081
|
-
const H =
|
|
5082
|
-
|
|
5083
|
-
Mt($ ??
|
|
5097
|
+
const H = Fe(null);
|
|
5098
|
+
Ie(() => {
|
|
5099
|
+
Mt($ ?? b) === void 0 && H.current && mu(H.current, "AM");
|
|
5084
5100
|
}, []);
|
|
5085
|
-
const K = (
|
|
5086
|
-
X(
|
|
5087
|
-
}, J = Mt(j), ue = J !== void 0 && J >= 12, A = (
|
|
5088
|
-
K(
|
|
5089
|
-
}, ae = (
|
|
5090
|
-
if (J === void 0 || !j || !
|
|
5091
|
-
const se =
|
|
5101
|
+
const K = (R) => {
|
|
5102
|
+
X(R), O == null || O(R);
|
|
5103
|
+
}, J = Mt(j), ue = J !== void 0 && J >= 12, A = (R) => {
|
|
5104
|
+
K(R);
|
|
5105
|
+
}, ae = (R) => {
|
|
5106
|
+
if (J === void 0 || !j || !R) return;
|
|
5107
|
+
const se = R === "PM";
|
|
5092
5108
|
if (se === ue) return;
|
|
5093
|
-
const
|
|
5094
|
-
K(
|
|
5095
|
-
}, pe = N ? `${
|
|
5109
|
+
const Ne = se ? J + 12 : J - 12;
|
|
5110
|
+
K(uu(j, Ne));
|
|
5111
|
+
}, pe = N ? `${Ee.layoutOverride} ${N}` : Ee.layoutOverride;
|
|
5096
5112
|
return /* @__PURE__ */ r(
|
|
5097
|
-
|
|
5113
|
+
be,
|
|
5098
5114
|
{
|
|
5099
5115
|
className: pe,
|
|
5100
5116
|
style: P,
|
|
@@ -5109,17 +5125,17 @@ const mu = [
|
|
|
5109
5125
|
onLabelEditClick: d,
|
|
5110
5126
|
label: p,
|
|
5111
5127
|
assistiveText: u,
|
|
5112
|
-
assistiveWithIcon:
|
|
5113
|
-
error:
|
|
5128
|
+
assistiveWithIcon: v,
|
|
5129
|
+
error: _,
|
|
5114
5130
|
required: g,
|
|
5115
5131
|
withAsterisk: h,
|
|
5116
5132
|
id: C,
|
|
5117
5133
|
readOnly: w,
|
|
5118
5134
|
readOnlyComponent: T,
|
|
5119
|
-
emptyValueComponent:
|
|
5135
|
+
emptyValueComponent: f,
|
|
5120
5136
|
readOnlyType: "text",
|
|
5121
|
-
readOnlyValue:
|
|
5122
|
-
$ !== void 0 ? $ :
|
|
5137
|
+
readOnlyValue: pu(
|
|
5138
|
+
$ !== void 0 ? $ : b
|
|
5123
5139
|
),
|
|
5124
5140
|
readOnlyNativeProps: e,
|
|
5125
5141
|
activeComponent: (
|
|
@@ -5128,12 +5144,12 @@ const mu = [
|
|
|
5128
5144
|
choice (see TIMEPICKER_IMPLEMENTATION_NOTES.md). Mantine's own native AM/PM <select>
|
|
5129
5145
|
(bundled unconditionally with format="12h") is CSS-hidden; our own BareDropdown next to
|
|
5130
5146
|
it is the only AM/PM control the user interacts with. */
|
|
5131
|
-
/* @__PURE__ */
|
|
5147
|
+
/* @__PURE__ */ I(
|
|
5132
5148
|
"div",
|
|
5133
5149
|
{
|
|
5134
|
-
className:
|
|
5150
|
+
className: Ee.root,
|
|
5135
5151
|
"data-disabled": S ? "true" : void 0,
|
|
5136
|
-
"data-error":
|
|
5152
|
+
"data-error": _ ? "true" : void 0,
|
|
5137
5153
|
children: [
|
|
5138
5154
|
/* @__PURE__ */ r(
|
|
5139
5155
|
Cr,
|
|
@@ -5142,11 +5158,11 @@ const mu = [
|
|
|
5142
5158
|
...Y,
|
|
5143
5159
|
classNames: E(
|
|
5144
5160
|
{
|
|
5145
|
-
wrapper:
|
|
5146
|
-
input:
|
|
5147
|
-
section:
|
|
5148
|
-
fieldsGroup:
|
|
5149
|
-
field:
|
|
5161
|
+
wrapper: Ee.timeWrapper,
|
|
5162
|
+
input: Ee.timeInput,
|
|
5163
|
+
section: Ee.section,
|
|
5164
|
+
fieldsGroup: Ee.fieldsGroup,
|
|
5165
|
+
field: Ee.timeField
|
|
5150
5166
|
},
|
|
5151
5167
|
G.classNames
|
|
5152
5168
|
),
|
|
@@ -5165,13 +5181,13 @@ const mu = [
|
|
|
5165
5181
|
La,
|
|
5166
5182
|
{
|
|
5167
5183
|
overStyled: !0,
|
|
5168
|
-
className:
|
|
5184
|
+
className: Ee.amPmSelect,
|
|
5169
5185
|
styles: { wrapper: { width: "fit-content" } },
|
|
5170
|
-
data:
|
|
5186
|
+
data: du,
|
|
5171
5187
|
value: ue ? "PM" : "AM",
|
|
5172
5188
|
onChange: ae,
|
|
5173
5189
|
disabled: S,
|
|
5174
|
-
error: !!
|
|
5190
|
+
error: !!_,
|
|
5175
5191
|
"aria-label": "AM or PM"
|
|
5176
5192
|
}
|
|
5177
5193
|
)
|
|
@@ -5183,16 +5199,16 @@ const mu = [
|
|
|
5183
5199
|
);
|
|
5184
5200
|
}
|
|
5185
5201
|
);
|
|
5186
|
-
|
|
5187
|
-
const
|
|
5188
|
-
root:
|
|
5189
|
-
item:
|
|
5190
|
-
itemBody:
|
|
5191
|
-
itemBullet:
|
|
5192
|
-
itemTitle:
|
|
5193
|
-
itemContent:
|
|
5194
|
-
description:
|
|
5195
|
-
timestamp:
|
|
5202
|
+
fu.displayName = "TimePicker";
|
|
5203
|
+
const yu = "Timeline-module__root___LwRdZ", hu = "Timeline-module__item___T5xdQ", vu = "Timeline-module__itemBody___XAV-E", bu = "Timeline-module__itemBullet___rPXCy", Nu = "Timeline-module__itemTitle___GgRRW", gu = "Timeline-module__itemContent___vurs-", Cu = "Timeline-module__description___f9sxV", Pu = "Timeline-module__timestamp___owiRu", ao = {
|
|
5204
|
+
root: yu,
|
|
5205
|
+
item: hu,
|
|
5206
|
+
itemBody: vu,
|
|
5207
|
+
itemBullet: bu,
|
|
5208
|
+
itemTitle: Nu,
|
|
5209
|
+
itemContent: gu,
|
|
5210
|
+
description: Cu,
|
|
5211
|
+
timestamp: Pu
|
|
5196
5212
|
}, Ma = q.forwardRef(
|
|
5197
5213
|
function({
|
|
5198
5214
|
overStyled: e = !1,
|
|
@@ -5210,7 +5226,7 @@ const fu = "Timeline-module__root___LwRdZ", yu = "Timeline-module__item___T5xdQ"
|
|
|
5210
5226
|
itemTitle: ao.itemTitle
|
|
5211
5227
|
},
|
|
5212
5228
|
i.classNames
|
|
5213
|
-
), p = o ? /* @__PURE__ */
|
|
5229
|
+
), p = o ? /* @__PURE__ */ I(je, { children: [
|
|
5214
5230
|
n && /* @__PURE__ */ r("div", { className: ao.description, children: n }),
|
|
5215
5231
|
/* @__PURE__ */ r("div", { className: ao.timestamp, children: o })
|
|
5216
5232
|
] }) : n;
|
|
@@ -5244,17 +5260,17 @@ const Aa = q.forwardRef(
|
|
|
5244
5260
|
}
|
|
5245
5261
|
);
|
|
5246
5262
|
Aa.displayName = "Timeline";
|
|
5247
|
-
const
|
|
5248
|
-
|
|
5249
|
-
const
|
|
5250
|
-
root:
|
|
5251
|
-
icon:
|
|
5252
|
-
loader:
|
|
5253
|
-
title:
|
|
5254
|
-
description:
|
|
5255
|
-
closeButton:
|
|
5263
|
+
const Tu = Aa;
|
|
5264
|
+
Tu.Item = Ma;
|
|
5265
|
+
const wu = "Toast-module__root___MUvfI", Su = "Toast-module__icon___VwvE1", $u = "Toast-module__loader___8Gxd-", xu = "Toast-module__title___-H6R2", Ou = "Toast-module__description___-QwfC", Ru = "Toast-module__closeButton___vGr7g", ku = "Toast-module__body___VLkXA", yo = {
|
|
5266
|
+
root: wu,
|
|
5267
|
+
icon: Su,
|
|
5268
|
+
loader: $u,
|
|
5269
|
+
title: xu,
|
|
5270
|
+
description: Ou,
|
|
5271
|
+
closeButton: Ru,
|
|
5256
5272
|
body: ku
|
|
5257
|
-
},
|
|
5273
|
+
}, Iu = q.forwardRef(
|
|
5258
5274
|
function({
|
|
5259
5275
|
overStyled: e = !1,
|
|
5260
5276
|
variant: o = "default",
|
|
@@ -5297,10 +5313,10 @@ const Tu = "Toast-module__root___MUvfI", wu = "Toast-module__icon___VwvE1", Su =
|
|
|
5297
5313
|
);
|
|
5298
5314
|
}
|
|
5299
5315
|
);
|
|
5300
|
-
|
|
5301
|
-
const
|
|
5302
|
-
tooltip:
|
|
5303
|
-
arrow:
|
|
5316
|
+
Iu.displayName = "Toast";
|
|
5317
|
+
const Lu = "Tooltip-module__tooltip___UA7H9", Mu = "Tooltip-module__arrow___4zROk", At = {
|
|
5318
|
+
tooltip: Lu,
|
|
5319
|
+
arrow: Mu
|
|
5304
5320
|
}, Wa = function({
|
|
5305
5321
|
overStyled: e = !1,
|
|
5306
5322
|
withBeak: o = !0,
|
|
@@ -5332,7 +5348,7 @@ const Iu = "Tooltip-module__tooltip___UA7H9", Lu = "Tooltip-module__arrow___4zRO
|
|
|
5332
5348
|
);
|
|
5333
5349
|
};
|
|
5334
5350
|
Wa.displayName = "Tooltip";
|
|
5335
|
-
const za =
|
|
5351
|
+
const za = y(
|
|
5336
5352
|
function({ overStyled: e = !1, ...o }, t) {
|
|
5337
5353
|
const n = m(o, e);
|
|
5338
5354
|
return /* @__PURE__ */ r(
|
|
@@ -5348,23 +5364,23 @@ za.displayName = "TooltipFloating";
|
|
|
5348
5364
|
const Da = Wa;
|
|
5349
5365
|
Da.Floating = za;
|
|
5350
5366
|
Da.Group = dt.Group;
|
|
5351
|
-
const
|
|
5352
|
-
layoutOverride:
|
|
5353
|
-
root:
|
|
5354
|
-
panes:
|
|
5355
|
-
pane:
|
|
5356
|
-
paneHeader:
|
|
5357
|
-
paneSearch:
|
|
5358
|
-
paneList:
|
|
5359
|
-
emptyState:
|
|
5360
|
-
transferColumn:
|
|
5361
|
-
chevron:
|
|
5367
|
+
const Au = "TransferList-module__layoutOverride___nkb32", Wu = "TransferList-module__root___ikjI7", zu = "TransferList-module__panes___dtwkW", Du = "TransferList-module__pane___hy-kC", Eu = "TransferList-module__paneHeader___HZrKX", Bu = "TransferList-module__paneSearch___Xji-g", Fu = "TransferList-module__paneList___v0rcJ", Uu = "TransferList-module__emptyState___azPw-", Vu = "TransferList-module__transferColumn___3R2Ki", Hu = "TransferList-module__chevron___l-KdI", Te = {
|
|
5368
|
+
layoutOverride: Au,
|
|
5369
|
+
root: Wu,
|
|
5370
|
+
panes: zu,
|
|
5371
|
+
pane: Du,
|
|
5372
|
+
paneHeader: Eu,
|
|
5373
|
+
paneSearch: Bu,
|
|
5374
|
+
paneList: Fu,
|
|
5375
|
+
emptyState: Uu,
|
|
5376
|
+
transferColumn: Vu,
|
|
5377
|
+
chevron: Hu
|
|
5362
5378
|
};
|
|
5363
5379
|
function Wt({ direction: a }) {
|
|
5364
5380
|
return /* @__PURE__ */ r(
|
|
5365
5381
|
"svg",
|
|
5366
5382
|
{
|
|
5367
|
-
className:
|
|
5383
|
+
className: Te.chevron,
|
|
5368
5384
|
"data-direction": a,
|
|
5369
5385
|
viewBox: "0 0 16 16",
|
|
5370
5386
|
width: "1em",
|
|
@@ -5383,7 +5399,7 @@ function zt({ direction: a }) {
|
|
|
5383
5399
|
return /* @__PURE__ */ r(
|
|
5384
5400
|
"svg",
|
|
5385
5401
|
{
|
|
5386
|
-
className:
|
|
5402
|
+
className: Te.chevron,
|
|
5387
5403
|
"data-direction": a,
|
|
5388
5404
|
viewBox: "0 0 16 16",
|
|
5389
5405
|
width: "1em",
|
|
@@ -5398,14 +5414,14 @@ function zt({ direction: a }) {
|
|
|
5398
5414
|
}
|
|
5399
5415
|
);
|
|
5400
5416
|
}
|
|
5401
|
-
function
|
|
5417
|
+
function Gu(a) {
|
|
5402
5418
|
const e = {}, o = [];
|
|
5403
5419
|
return a.forEach((t) => {
|
|
5404
5420
|
var n;
|
|
5405
5421
|
t.group ? (e[n = t.group] ?? (e[n] = [])).push(t) : o.push(t);
|
|
5406
5422
|
}), { groups: e, ungrouped: o };
|
|
5407
5423
|
}
|
|
5408
|
-
const
|
|
5424
|
+
const ju = y(
|
|
5409
5425
|
function(e, o) {
|
|
5410
5426
|
const {
|
|
5411
5427
|
overStyled: t = !1,
|
|
@@ -5418,8 +5434,8 @@ const Gu = f(
|
|
|
5418
5434
|
labelActionArea: d,
|
|
5419
5435
|
onLabelEditClick: p,
|
|
5420
5436
|
label: u,
|
|
5421
|
-
assistiveText:
|
|
5422
|
-
description:
|
|
5437
|
+
assistiveText: v,
|
|
5438
|
+
description: _,
|
|
5423
5439
|
helperText: g,
|
|
5424
5440
|
assistiveWithIcon: h,
|
|
5425
5441
|
error: C,
|
|
@@ -5428,27 +5444,27 @@ const Gu = f(
|
|
|
5428
5444
|
readOnly: S,
|
|
5429
5445
|
readOnlyComponent: w,
|
|
5430
5446
|
emptyValueComponent: T,
|
|
5431
|
-
data:
|
|
5447
|
+
data: f,
|
|
5432
5448
|
defaultData: $,
|
|
5433
|
-
onChange:
|
|
5449
|
+
onChange: b,
|
|
5434
5450
|
sourceLabel: O = "Available",
|
|
5435
5451
|
targetLabel: M = "Selected",
|
|
5436
5452
|
searchable: D = !0,
|
|
5437
5453
|
searchPlaceholder: W = "Filter items...",
|
|
5438
|
-
disabled:
|
|
5454
|
+
disabled: L = !1,
|
|
5439
5455
|
className: Y,
|
|
5440
5456
|
style: G,
|
|
5441
5457
|
...j
|
|
5442
5458
|
} = e, X = m(j, t), H = Et(), K = P || `recursica-transfer-list-${H}`, [J, ue] = ie(
|
|
5443
|
-
() => $ ??
|
|
5444
|
-
), A =
|
|
5459
|
+
() => $ ?? f ?? [[], []]
|
|
5460
|
+
), A = f !== void 0 ? f : J, ae = mo(
|
|
5445
5461
|
(U) => {
|
|
5446
|
-
|
|
5462
|
+
f === void 0 && ue(U), b == null || b(U);
|
|
5447
5463
|
},
|
|
5448
|
-
[
|
|
5449
|
-
), [pe,
|
|
5464
|
+
[f, b]
|
|
5465
|
+
), [pe, R] = ie(""), [se, Ne] = ie(""), [re, le] = ie(
|
|
5450
5466
|
() => /* @__PURE__ */ new Set()
|
|
5451
|
-
), [
|
|
5467
|
+
), [ge, Se] = ie(
|
|
5452
5468
|
() => /* @__PURE__ */ new Set()
|
|
5453
5469
|
), Ze = wt(() => {
|
|
5454
5470
|
if (!pe) return A[0];
|
|
@@ -5456,7 +5472,7 @@ const Gu = f(
|
|
|
5456
5472
|
return A[0].filter(
|
|
5457
5473
|
(B) => B.label.toLowerCase().includes(U)
|
|
5458
5474
|
);
|
|
5459
|
-
}, [A, pe]),
|
|
5475
|
+
}, [A, pe]), $e = wt(() => {
|
|
5460
5476
|
if (!se) return A[1];
|
|
5461
5477
|
const U = se.toLowerCase();
|
|
5462
5478
|
return A[1].filter(
|
|
@@ -5470,47 +5486,47 @@ const Gu = f(
|
|
|
5470
5486
|
(z) => re.has(z.value)
|
|
5471
5487
|
);
|
|
5472
5488
|
le(/* @__PURE__ */ new Set()), ae([U, [...A[1], ...B]]);
|
|
5473
|
-
}, [A, re, ae]),
|
|
5474
|
-
if (
|
|
5489
|
+
}, [A, re, ae]), We = mo(() => {
|
|
5490
|
+
if (ge.size === 0) return;
|
|
5475
5491
|
const U = A[1].filter(
|
|
5476
|
-
(z) => !
|
|
5492
|
+
(z) => !ge.has(z.value)
|
|
5477
5493
|
), B = A[1].filter(
|
|
5478
|
-
(z) =>
|
|
5494
|
+
(z) => ge.has(z.value)
|
|
5479
5495
|
);
|
|
5480
|
-
|
|
5481
|
-
}, [A,
|
|
5496
|
+
Se(/* @__PURE__ */ new Set()), ae([[...A[0], ...B], U]);
|
|
5497
|
+
}, [A, ge, ae]), ze = mo(() => {
|
|
5482
5498
|
A[0].length !== 0 && (le(/* @__PURE__ */ new Set()), ae([[], [...A[1], ...A[0]]]));
|
|
5483
5499
|
}, [A, ae]), uo = mo(() => {
|
|
5484
|
-
A[1].length !== 0 && (
|
|
5485
|
-
}, [A, ae]),
|
|
5500
|
+
A[1].length !== 0 && (Se(/* @__PURE__ */ new Set()), ae([[...A[0], ...A[1]], []]));
|
|
5501
|
+
}, [A, ae]), xe = mo((U) => {
|
|
5486
5502
|
le((B) => {
|
|
5487
5503
|
const z = new Set(B);
|
|
5488
5504
|
return z.has(U) ? z.delete(U) : z.add(U), z;
|
|
5489
5505
|
});
|
|
5490
5506
|
}, []), Qe = mo((U) => {
|
|
5491
|
-
|
|
5507
|
+
Se((B) => {
|
|
5492
5508
|
const z = new Set(B);
|
|
5493
5509
|
return z.has(U) ? z.delete(U) : z.add(U), z;
|
|
5494
5510
|
});
|
|
5495
|
-
}, []),
|
|
5496
|
-
const { groups: po, ungrouped: x } =
|
|
5497
|
-
return /* @__PURE__ */
|
|
5498
|
-
/* @__PURE__ */
|
|
5511
|
+
}, []), Oe = (U, B, z, k, F, Z, _e, eo) => {
|
|
5512
|
+
const { groups: po, ungrouped: x } = Gu(z), te = Object.keys(po).sort(), ne = F.size > 0 ? `${F.size} / ${k.length}` : `${k.length}`;
|
|
5513
|
+
return /* @__PURE__ */ I("div", { className: Te.pane, "data-pane": U, children: [
|
|
5514
|
+
/* @__PURE__ */ I("div", { className: Te.paneHeader, children: [
|
|
5499
5515
|
/* @__PURE__ */ r("span", { children: B }),
|
|
5500
|
-
/* @__PURE__ */ r(
|
|
5516
|
+
/* @__PURE__ */ r(ks, { children: ne })
|
|
5501
5517
|
] }),
|
|
5502
|
-
D && /* @__PURE__ */ r("div", { className:
|
|
5518
|
+
D && /* @__PURE__ */ r("div", { className: Te.paneSearch, children: /* @__PURE__ */ r(
|
|
5503
5519
|
Ia,
|
|
5504
5520
|
{
|
|
5505
|
-
value:
|
|
5521
|
+
value: _e,
|
|
5506
5522
|
onChange: (Q) => eo(Q.currentTarget.value),
|
|
5507
5523
|
placeholder: W,
|
|
5508
|
-
disabled:
|
|
5524
|
+
disabled: L,
|
|
5509
5525
|
"aria-label": `Filter ${B.toLowerCase()}`
|
|
5510
5526
|
}
|
|
5511
5527
|
) }),
|
|
5512
|
-
/* @__PURE__ */
|
|
5513
|
-
z.length === 0 && /* @__PURE__ */ r("div", { className:
|
|
5528
|
+
/* @__PURE__ */ I("div", { className: Te.paneList, children: [
|
|
5529
|
+
z.length === 0 && /* @__PURE__ */ r("div", { className: Te.emptyState, children: "No items" }),
|
|
5514
5530
|
x.length > 0 && /* @__PURE__ */ r(Fo, { children: x.map((Q) => /* @__PURE__ */ r(
|
|
5515
5531
|
Uo,
|
|
5516
5532
|
{
|
|
@@ -5518,7 +5534,7 @@ const Gu = f(
|
|
|
5518
5534
|
label: Q.label,
|
|
5519
5535
|
checked: F.has(Q.value),
|
|
5520
5536
|
onChange: () => Z(Q.value),
|
|
5521
|
-
disabled:
|
|
5537
|
+
disabled: L
|
|
5522
5538
|
},
|
|
5523
5539
|
Q.value
|
|
5524
5540
|
)) }),
|
|
@@ -5527,25 +5543,25 @@ const Gu = f(
|
|
|
5527
5543
|
{
|
|
5528
5544
|
label: Q,
|
|
5529
5545
|
labelSize: "small",
|
|
5530
|
-
children: po[Q].map((
|
|
5546
|
+
children: po[Q].map((fe) => /* @__PURE__ */ r(
|
|
5531
5547
|
Uo,
|
|
5532
5548
|
{
|
|
5533
|
-
id: `${K}-${U}-${
|
|
5534
|
-
label:
|
|
5535
|
-
checked: F.has(
|
|
5536
|
-
onChange: () => Z(
|
|
5537
|
-
disabled:
|
|
5549
|
+
id: `${K}-${U}-${fe.value}`,
|
|
5550
|
+
label: fe.label,
|
|
5551
|
+
checked: F.has(fe.value),
|
|
5552
|
+
onChange: () => Z(fe.value),
|
|
5553
|
+
disabled: L
|
|
5538
5554
|
},
|
|
5539
|
-
|
|
5555
|
+
fe.value
|
|
5540
5556
|
))
|
|
5541
5557
|
},
|
|
5542
5558
|
Q
|
|
5543
5559
|
))
|
|
5544
5560
|
] })
|
|
5545
5561
|
] });
|
|
5546
|
-
}, Je = Y ? `${
|
|
5562
|
+
}, Je = Y ? `${Te.layoutOverride} ${Y}` : Te.layoutOverride;
|
|
5547
5563
|
return /* @__PURE__ */ r(
|
|
5548
|
-
|
|
5564
|
+
be,
|
|
5549
5565
|
{
|
|
5550
5566
|
ref: o,
|
|
5551
5567
|
formLayout: n,
|
|
@@ -5556,8 +5572,8 @@ const Gu = f(
|
|
|
5556
5572
|
labelActionArea: d,
|
|
5557
5573
|
onLabelEditClick: p,
|
|
5558
5574
|
label: u,
|
|
5559
|
-
assistiveText:
|
|
5560
|
-
description:
|
|
5575
|
+
assistiveText: v,
|
|
5576
|
+
description: _,
|
|
5561
5577
|
helperText: g,
|
|
5562
5578
|
assistiveWithIcon: h,
|
|
5563
5579
|
error: C,
|
|
@@ -5576,75 +5592,75 @@ const Gu = f(
|
|
|
5576
5592
|
"div",
|
|
5577
5593
|
{
|
|
5578
5594
|
...X,
|
|
5579
|
-
className:
|
|
5580
|
-
"data-disabled":
|
|
5595
|
+
className: Te.root,
|
|
5596
|
+
"data-disabled": L ? "true" : void 0,
|
|
5581
5597
|
"data-error": C ? "true" : void 0,
|
|
5582
|
-
children: /* @__PURE__ */
|
|
5583
|
-
|
|
5598
|
+
children: /* @__PURE__ */ I("div", { className: Te.panes, children: [
|
|
5599
|
+
Oe(
|
|
5584
5600
|
"source",
|
|
5585
5601
|
O,
|
|
5586
5602
|
Ze,
|
|
5587
5603
|
A[0],
|
|
5588
5604
|
re,
|
|
5589
|
-
|
|
5605
|
+
xe,
|
|
5590
5606
|
pe,
|
|
5591
|
-
|
|
5607
|
+
R
|
|
5592
5608
|
),
|
|
5593
|
-
/* @__PURE__ */
|
|
5609
|
+
/* @__PURE__ */ I("div", { className: Te.transferColumn, children: [
|
|
5594
5610
|
/* @__PURE__ */ r(
|
|
5595
|
-
|
|
5611
|
+
Ue,
|
|
5596
5612
|
{
|
|
5597
5613
|
variant: "outline",
|
|
5598
5614
|
size: "small",
|
|
5599
5615
|
icon: /* @__PURE__ */ r(zt, { direction: "right" }),
|
|
5600
5616
|
"aria-label": `Move all to ${M}`,
|
|
5601
|
-
disabled:
|
|
5602
|
-
onClick:
|
|
5617
|
+
disabled: L || A[0].length === 0,
|
|
5618
|
+
onClick: ze
|
|
5603
5619
|
}
|
|
5604
5620
|
),
|
|
5605
5621
|
/* @__PURE__ */ r(
|
|
5606
|
-
|
|
5622
|
+
Ue,
|
|
5607
5623
|
{
|
|
5608
5624
|
variant: "outline",
|
|
5609
5625
|
size: "small",
|
|
5610
5626
|
icon: /* @__PURE__ */ r(Wt, { direction: "right" }),
|
|
5611
5627
|
"aria-label": `Move selected to ${M}`,
|
|
5612
|
-
disabled:
|
|
5628
|
+
disabled: L || re.size === 0,
|
|
5613
5629
|
onClick: Xe
|
|
5614
5630
|
}
|
|
5615
5631
|
),
|
|
5616
5632
|
/* @__PURE__ */ r(
|
|
5617
|
-
|
|
5633
|
+
Ue,
|
|
5618
5634
|
{
|
|
5619
5635
|
variant: "outline",
|
|
5620
5636
|
size: "small",
|
|
5621
5637
|
icon: /* @__PURE__ */ r(Wt, { direction: "left" }),
|
|
5622
5638
|
"aria-label": `Move selected to ${O}`,
|
|
5623
|
-
disabled:
|
|
5624
|
-
onClick:
|
|
5639
|
+
disabled: L || ge.size === 0,
|
|
5640
|
+
onClick: We
|
|
5625
5641
|
}
|
|
5626
5642
|
),
|
|
5627
5643
|
/* @__PURE__ */ r(
|
|
5628
|
-
|
|
5644
|
+
Ue,
|
|
5629
5645
|
{
|
|
5630
5646
|
variant: "outline",
|
|
5631
5647
|
size: "small",
|
|
5632
5648
|
icon: /* @__PURE__ */ r(zt, { direction: "left" }),
|
|
5633
5649
|
"aria-label": `Move all to ${O}`,
|
|
5634
|
-
disabled:
|
|
5650
|
+
disabled: L || A[1].length === 0,
|
|
5635
5651
|
onClick: uo
|
|
5636
5652
|
}
|
|
5637
5653
|
)
|
|
5638
5654
|
] }),
|
|
5639
|
-
|
|
5655
|
+
Oe(
|
|
5640
5656
|
"target",
|
|
5641
5657
|
M,
|
|
5642
|
-
|
|
5658
|
+
$e,
|
|
5643
5659
|
A[1],
|
|
5644
|
-
|
|
5660
|
+
ge,
|
|
5645
5661
|
Qe,
|
|
5646
5662
|
se,
|
|
5647
|
-
|
|
5663
|
+
Ne
|
|
5648
5664
|
)
|
|
5649
5665
|
] })
|
|
5650
5666
|
}
|
|
@@ -5653,17 +5669,17 @@ const Gu = f(
|
|
|
5653
5669
|
);
|
|
5654
5670
|
}
|
|
5655
5671
|
);
|
|
5656
|
-
|
|
5657
|
-
const
|
|
5658
|
-
root:
|
|
5659
|
-
subtree:
|
|
5660
|
-
node:
|
|
5661
|
-
row:
|
|
5662
|
-
label:
|
|
5663
|
-
expandButton:
|
|
5664
|
-
expandGlyph:
|
|
5672
|
+
ju.displayName = "TransferList";
|
|
5673
|
+
const qu = "Tree-module__root___ANcH3", Ku = "Tree-module__subtree___KoLT8", Yu = "Tree-module__node___Hvnjg", Zu = "Tree-module__row___sq5ff", Xu = "Tree-module__label___zJDit", Qu = "Tree-module__expandButton___W0WTT", Ju = "Tree-module__expandGlyph___w8dDQ", so = {
|
|
5674
|
+
root: qu,
|
|
5675
|
+
subtree: Ku,
|
|
5676
|
+
node: Yu,
|
|
5677
|
+
row: Zu,
|
|
5678
|
+
label: Xu,
|
|
5679
|
+
expandButton: Qu,
|
|
5680
|
+
expandGlyph: Ju
|
|
5665
5681
|
};
|
|
5666
|
-
function
|
|
5682
|
+
function ep() {
|
|
5667
5683
|
return /* @__PURE__ */ r(
|
|
5668
5684
|
"svg",
|
|
5669
5685
|
{
|
|
@@ -5681,7 +5697,7 @@ function Ju() {
|
|
|
5681
5697
|
}
|
|
5682
5698
|
);
|
|
5683
5699
|
}
|
|
5684
|
-
function
|
|
5700
|
+
function op(a) {
|
|
5685
5701
|
return function({
|
|
5686
5702
|
node: o,
|
|
5687
5703
|
hasChildren: t,
|
|
@@ -5690,7 +5706,7 @@ function ep(a) {
|
|
|
5690
5706
|
tree: l,
|
|
5691
5707
|
elementProps: c
|
|
5692
5708
|
}) {
|
|
5693
|
-
return /* @__PURE__ */
|
|
5709
|
+
return /* @__PURE__ */ I(
|
|
5694
5710
|
"div",
|
|
5695
5711
|
{
|
|
5696
5712
|
...c,
|
|
@@ -5699,12 +5715,12 @@ function ep(a) {
|
|
|
5699
5715
|
"data-expanded": t && n ? !0 : void 0,
|
|
5700
5716
|
children: [
|
|
5701
5717
|
/* @__PURE__ */ r(
|
|
5702
|
-
|
|
5718
|
+
Ue,
|
|
5703
5719
|
{
|
|
5704
5720
|
overStyled: !0,
|
|
5705
5721
|
variant: "text",
|
|
5706
5722
|
size: "small",
|
|
5707
|
-
icon: /* @__PURE__ */ r(
|
|
5723
|
+
icon: /* @__PURE__ */ r(ep, {}),
|
|
5708
5724
|
"aria-label": "Toggle subtree",
|
|
5709
5725
|
"aria-hidden": "true",
|
|
5710
5726
|
tabIndex: -1,
|
|
@@ -5721,7 +5737,7 @@ function ep(a) {
|
|
|
5721
5737
|
);
|
|
5722
5738
|
};
|
|
5723
5739
|
}
|
|
5724
|
-
const
|
|
5740
|
+
const tp = y(function({
|
|
5725
5741
|
overStyled: e = !1,
|
|
5726
5742
|
data: o,
|
|
5727
5743
|
initialExpandedValues: t,
|
|
@@ -5733,29 +5749,29 @@ const op = f(function({
|
|
|
5733
5749
|
onSelectedChange: d,
|
|
5734
5750
|
...p
|
|
5735
5751
|
}, u) {
|
|
5736
|
-
const
|
|
5752
|
+
const v = m(p, e), _ = hr({
|
|
5737
5753
|
initialExpandedState: t ? vr(o, t) : void 0,
|
|
5738
5754
|
initialSelectedState: n,
|
|
5739
5755
|
multiple: s,
|
|
5740
5756
|
onNodeExpand: c,
|
|
5741
5757
|
onNodeCollapse: i
|
|
5742
5758
|
});
|
|
5743
|
-
|
|
5744
|
-
d == null || d(
|
|
5745
|
-
}, [
|
|
5759
|
+
Ie(() => {
|
|
5760
|
+
d == null || d(_.selectedState);
|
|
5761
|
+
}, [_.selectedState, d]);
|
|
5746
5762
|
const g = q.useRef(null);
|
|
5747
|
-
|
|
5763
|
+
Ie(() => {
|
|
5748
5764
|
const S = g.current;
|
|
5749
5765
|
if (!S) return;
|
|
5750
5766
|
const w = (T) => {
|
|
5751
5767
|
if (l || T.key !== "Enter" && T.key !== " ") return;
|
|
5752
|
-
const
|
|
5768
|
+
const f = T.target.closest(
|
|
5753
5769
|
'[role="treeitem"]'
|
|
5754
|
-
), $ =
|
|
5755
|
-
$ && (T.preventDefault(),
|
|
5770
|
+
), $ = f == null ? void 0 : f.dataset.value;
|
|
5771
|
+
$ && (T.preventDefault(), _.select($));
|
|
5756
5772
|
};
|
|
5757
5773
|
return S.addEventListener("keydown", w), () => S.removeEventListener("keydown", w);
|
|
5758
|
-
}, [
|
|
5774
|
+
}, [_.select, l]), Ie(() => {
|
|
5759
5775
|
const S = g.current;
|
|
5760
5776
|
if (!S || !l) return;
|
|
5761
5777
|
const w = (T) => {
|
|
@@ -5763,18 +5779,18 @@ const op = f(function({
|
|
|
5763
5779
|
};
|
|
5764
5780
|
return S.addEventListener("keydown", w, { capture: !0 }), () => S.removeEventListener("keydown", w, { capture: !0 });
|
|
5765
5781
|
}, [l]);
|
|
5766
|
-
const h = Tr(u, g), C =
|
|
5782
|
+
const h = Tr(u, g), C = v, N = C.className, P = N ? `${so.root} ${N}` : so.root;
|
|
5767
5783
|
return /* @__PURE__ */ r(
|
|
5768
5784
|
br,
|
|
5769
5785
|
{
|
|
5770
5786
|
ref: h,
|
|
5771
|
-
...
|
|
5787
|
+
...v,
|
|
5772
5788
|
data: o,
|
|
5773
|
-
tree:
|
|
5789
|
+
tree: _,
|
|
5774
5790
|
expandOnClick: !1,
|
|
5775
5791
|
selectOnClick: !l,
|
|
5776
5792
|
expandOnSpace: !1,
|
|
5777
|
-
renderNode:
|
|
5793
|
+
renderNode: op(l),
|
|
5778
5794
|
"data-disabled": l || void 0,
|
|
5779
5795
|
classNames: E(
|
|
5780
5796
|
{ root: P, node: so.node, subtree: so.subtree },
|
|
@@ -5783,7 +5799,7 @@ const op = f(function({
|
|
|
5783
5799
|
}
|
|
5784
5800
|
);
|
|
5785
5801
|
});
|
|
5786
|
-
|
|
5802
|
+
tp.displayName = "Tree";
|
|
5787
5803
|
function Dt(a, e) {
|
|
5788
5804
|
var t;
|
|
5789
5805
|
const o = (t = a[e]) == null ? void 0 : t.$value;
|
|
@@ -5795,7 +5811,7 @@ function Dt(a, e) {
|
|
|
5795
5811
|
return o;
|
|
5796
5812
|
}
|
|
5797
5813
|
}
|
|
5798
|
-
function
|
|
5814
|
+
function Cp(a) {
|
|
5799
5815
|
var n;
|
|
5800
5816
|
const e = ((n = a.brand) == null ? void 0 : n["layout-grids"]) ?? {}, o = [];
|
|
5801
5817
|
let t;
|
|
@@ -5826,11 +5842,11 @@ export {
|
|
|
5826
5842
|
pt as AccordionPanel,
|
|
5827
5843
|
ot as AssistiveElement,
|
|
5828
5844
|
Ts as AutoComplete,
|
|
5829
|
-
|
|
5830
|
-
|
|
5845
|
+
mp as Avatar,
|
|
5846
|
+
ks as Badge,
|
|
5831
5847
|
Ms as Breadcrumb,
|
|
5832
|
-
|
|
5833
|
-
|
|
5848
|
+
Ue as Button,
|
|
5849
|
+
_p as Card,
|
|
5834
5850
|
fn as CardContent,
|
|
5835
5851
|
_n as CardFooter,
|
|
5836
5852
|
mn as CardHeader,
|
|
@@ -5844,17 +5860,17 @@ export {
|
|
|
5844
5860
|
Eo as EmptyValueRenderer,
|
|
5845
5861
|
Xl as FileInput,
|
|
5846
5862
|
ri as FileUpload,
|
|
5847
|
-
|
|
5863
|
+
fp as Flex,
|
|
5848
5864
|
lo as FormControlLayout,
|
|
5849
5865
|
bi as Group,
|
|
5850
5866
|
Ci as Heading,
|
|
5851
5867
|
Tn as HoverCard,
|
|
5852
|
-
|
|
5868
|
+
He as IS_DEV,
|
|
5853
5869
|
tn as Label,
|
|
5854
5870
|
jt as Layer,
|
|
5855
5871
|
hi as LayoutGrid,
|
|
5856
5872
|
yi as LayoutGridCol,
|
|
5857
|
-
|
|
5873
|
+
yp as Link,
|
|
5858
5874
|
ln as Loader,
|
|
5859
5875
|
Co as Menu,
|
|
5860
5876
|
io as Modal,
|
|
@@ -5870,19 +5886,19 @@ export {
|
|
|
5870
5886
|
Qn as PanelRoot,
|
|
5871
5887
|
ta as PanelTitle,
|
|
5872
5888
|
ia as Popover,
|
|
5873
|
-
|
|
5889
|
+
up as RECURSICA_COMPONENTS,
|
|
5874
5890
|
da as Radio,
|
|
5875
5891
|
ca as RadioGroup,
|
|
5876
|
-
|
|
5892
|
+
Wc as ReadOnlyBooleanField,
|
|
5877
5893
|
nn as ReadOnlyField,
|
|
5878
|
-
|
|
5894
|
+
Ac as ReadOnlySwitchField,
|
|
5879
5895
|
Do as ReadOnlyTextField,
|
|
5880
5896
|
Yt as RecursicaManifestContext,
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5897
|
+
dp as RecursicaThemeProvider,
|
|
5898
|
+
hp as SegmentedControl,
|
|
5899
|
+
rd as Slider,
|
|
5900
|
+
vp as Stack,
|
|
5901
|
+
bp as Stepper,
|
|
5886
5902
|
ya as Switch,
|
|
5887
5903
|
fa as SwitchGroup,
|
|
5888
5904
|
co as Table,
|
|
@@ -5894,25 +5910,25 @@ export {
|
|
|
5894
5910
|
ga as TableTh,
|
|
5895
5911
|
va as TableThead,
|
|
5896
5912
|
Na as TableTr,
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5913
|
+
Np as Tabs,
|
|
5914
|
+
gp as Text,
|
|
5915
|
+
Yd as TextArea,
|
|
5900
5916
|
Ia as TextField,
|
|
5901
|
-
|
|
5902
|
-
|
|
5917
|
+
fu as TimePicker,
|
|
5918
|
+
Tu as Timeline,
|
|
5903
5919
|
Ma as TimelineItem,
|
|
5904
|
-
|
|
5920
|
+
Iu as Toast,
|
|
5905
5921
|
Da as Tooltip,
|
|
5906
5922
|
za as TooltipFloating,
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5923
|
+
ju as TransferList,
|
|
5924
|
+
tp as Tree,
|
|
5925
|
+
be as WithReadOnlyWrapper,
|
|
5926
|
+
Cp as breakpointsFromRecManifest,
|
|
5927
|
+
pp as copyToClipboard,
|
|
5912
5928
|
Zt as fileMatchesAccept,
|
|
5913
5929
|
qt as injectOverStyledStyles,
|
|
5914
|
-
|
|
5915
|
-
|
|
5930
|
+
cp as isGlobalOverStyledActive,
|
|
5931
|
+
Rr as markCurrentPageItem,
|
|
5916
5932
|
E as mergeClassNames,
|
|
5917
5933
|
Ir as mergeStyles,
|
|
5918
5934
|
Xt as normalizeComboboxData,
|
|
@@ -5920,8 +5936,8 @@ export {
|
|
|
5920
5936
|
Kt as registerOverStyledConsoleCommand,
|
|
5921
5937
|
xr as toggleGlobalOverStyled,
|
|
5922
5938
|
Or as useGlobalOverStyled,
|
|
5923
|
-
|
|
5924
|
-
|
|
5939
|
+
kr as useRecursicaManifest,
|
|
5940
|
+
Ve as withCallerOverride,
|
|
5925
5941
|
Ar as wrapComponent
|
|
5926
5942
|
};
|
|
5927
5943
|
//# sourceMappingURL=adapter-mantine-v8.js.map
|