@recursica/mantine-adapter 0.55.1 → 0.55.2
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 +16 -0
- package/dist/index.d.ts +21 -0
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +905 -873
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.stories.tsx +0 -24
- package/src/components/AssistiveElement/AssistiveElement.stories.tsx +3 -9
- package/src/components/Avatar/Avatar.stories.tsx +0 -15
- package/src/components/Breadcrumb/BREADCRUMB_IMPLEMENTATION_NOTES.md +33 -0
- package/src/components/Breadcrumb/Breadcrumb.module.css +20 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +55 -5
- package/src/components/Breadcrumb/Breadcrumb.tsx +17 -3
- package/src/components/Breadcrumb/markCurrentPageItem.test.ts +49 -0
- package/src/components/Button/Button.module.css +16 -0
- package/src/components/Button/Button.tsx +14 -1
- package/src/components/Button/IMPLEMENTATION_NOTES.md +31 -5
- package/src/components/DatePicker/DATEPICKER_IMPLEMENTATION_NOTES.md +2 -1
- package/src/components/DatePicker/DatePicker.tsx +22 -8
- package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +9 -0
- package/src/components/Grid/Grid.stories.tsx +24 -0
- package/src/components/Link/IMPLEMENTATION_NOTES.md +1 -1
- package/src/components/Link/Link.module.css +20 -0
- package/src/components/NumberInput/NUMBER_INPUT_IMPLEMENTATION_NOTES.md +6 -0
- package/src/components/NumberInput/NumberInput.module.css +11 -0
- package/src/components/Stepper/IMPLEMENTATION_NOTES.md +28 -0
- package/src/components/Stepper/Stepper.module.css +6 -6
- package/src/components/Tabs/IMPLEMENTATION_NOTES.md +27 -0
- package/src/components/Tabs/Tabs.module.css +30 -9
- package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +31 -0
- package/src/components/TimePicker/TimePicker.module.css +30 -3
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a, Fragment as No, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import K, { forwardRef as _, useState as ce, useEffect as Ie, useId as Bt, useRef as Ge, useCallback as fo, useMemo as kt } from "react";
|
|
3
|
-
import { Accordion as qo, Input as Ft, Box as
|
|
4
|
-
import { DatePickerInput as
|
|
5
|
-
import { useMergedRef as
|
|
6
|
-
const
|
|
7
|
-
root:
|
|
8
|
-
contents:
|
|
2
|
+
import K, { forwardRef as _, Children as Za, isValidElement as Xa, cloneElement as Qa, useState as ce, useEffect as Ie, useId as Bt, useRef as Ge, useCallback as fo, useMemo as kt } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Ft, Box as Ja, Autocomplete as er, Avatar as or, createPolymorphicComponent as Te, Badge as tr, Breadcrumbs as nr, Loader as ar, Button as rr, Card as Ko, Checkbox as Ut, Chip as sr, Container as lr, Select as Vt, Flex as ir, Grid as Gt, Group as cr, Title as dr, HoverCard as st, Anchor as ur, Menu as We, Modal as he, NumberInput as pr, Pagination as Ke, Drawer as Ye, Popover as lt, Radio as Ht, SegmentedControl as mr, RangeSlider as _r, Slider as fr, Stack as yr, Stepper as it, Switch as jt, CheckIcon as hr, CloseIcon as vr, Table as Ze, Tabs as Yo, Text as Nr, Textarea as br, TimelineItem as Cr, Timeline as gr, Notification as Pr, Tooltip as ct, useTree as Tr, getTreeExpandedState as $r, Tree as wr } from "@mantine/core";
|
|
4
|
+
import { DatePickerInput as Sr, getFormattedDate as xr, TimePicker as Or } from "@mantine/dates";
|
|
5
|
+
import { useMergedRef as kr } from "@mantine/hooks";
|
|
6
|
+
const Ir = "_root_1qhn7_3", Rr = "_contents_1qhn7_18", Co = {
|
|
7
|
+
root: Ir,
|
|
8
|
+
contents: Rr
|
|
9
9
|
}, qt = _(function({ layer: r, contentsOnly: e, children: t, className: o, style: n, ...s }, l) {
|
|
10
10
|
const i = e ? o ? `${Co.root} ${Co.contents} ${o}` : `${Co.root} ${Co.contents}` : o ? `${Co.root} ${o}` : Co.root;
|
|
11
11
|
return /* @__PURE__ */ a(
|
|
@@ -24,14 +24,14 @@ qt.displayName = "Layer";
|
|
|
24
24
|
const Vo = ({ emptyText: r = "N/A" }) => /* @__PURE__ */ a(K.Fragment, { children: r });
|
|
25
25
|
Vo.displayName = "EmptyValueRenderer";
|
|
26
26
|
Vo.check = (r) => r == null || r === "" || Array.isArray(r) && r.length === 0;
|
|
27
|
-
const
|
|
27
|
+
const Lr = { 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";
|
|
31
31
|
} catch {
|
|
32
32
|
}
|
|
33
33
|
try {
|
|
34
|
-
if (import.meta &&
|
|
34
|
+
if (import.meta && Lr)
|
|
35
35
|
return !0;
|
|
36
36
|
} catch {
|
|
37
37
|
}
|
|
@@ -41,37 +41,37 @@ const Or = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PL
|
|
|
41
41
|
}
|
|
42
42
|
return !1;
|
|
43
43
|
})(), at = /* @__PURE__ */ new Set();
|
|
44
|
-
let
|
|
45
|
-
function
|
|
46
|
-
if (!
|
|
44
|
+
let co = !1;
|
|
45
|
+
function Mr(r) {
|
|
46
|
+
if (!He)
|
|
47
47
|
return console.warn(
|
|
48
48
|
"[Recursica] overStyled highlight is disabled in production builds."
|
|
49
49
|
), !1;
|
|
50
|
-
if (
|
|
51
|
-
const e = document.documentElement, t =
|
|
50
|
+
if (co = r !== void 0 ? r : !co, typeof document < "u") {
|
|
51
|
+
const e = document.documentElement, t = co ? "0 0 0 2px cyan" : "none";
|
|
52
52
|
e.style.setProperty("--recursica-over-styled-shadow", t), console.log(
|
|
53
|
-
`[Recursica] Highlight outlines toggled: ${
|
|
53
|
+
`[Recursica] Highlight outlines toggled: ${co ? "ACTIVE (0 0 0 2px cyan)" : "INACTIVE"}`
|
|
54
54
|
);
|
|
55
55
|
} else
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
|
-
return at.forEach((e) => e()),
|
|
57
|
+
return at.forEach((e) => e()), co;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
59
|
+
function Fu() {
|
|
60
|
+
return He && co;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
const [r, e] = ce(
|
|
62
|
+
function Ar() {
|
|
63
|
+
const [r, e] = ce(co);
|
|
64
64
|
return Ie(() => {
|
|
65
|
-
if (!
|
|
65
|
+
if (!He) return;
|
|
66
66
|
Kt(), Yt();
|
|
67
|
-
const t = () => e(
|
|
67
|
+
const t = () => e(co);
|
|
68
68
|
return at.add(t), () => {
|
|
69
69
|
at.delete(t);
|
|
70
70
|
};
|
|
71
|
-
}, []),
|
|
71
|
+
}, []), He && r;
|
|
72
72
|
}
|
|
73
73
|
function Kt() {
|
|
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 Kt() {
|
|
|
93
93
|
`, document.head.appendChild(e));
|
|
94
94
|
}
|
|
95
95
|
function Yt() {
|
|
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."
|
|
@@ -102,14 +102,28 @@ function Yt() {
|
|
|
102
102
|
}
|
|
103
103
|
const r = (e) => {
|
|
104
104
|
try {
|
|
105
|
-
e.recursica = e.recursica || {}, e.recursica.toggleOverStyled = () => `[Recursica] Overstyled outline highlight is now: ${
|
|
105
|
+
e.recursica = e.recursica || {}, e.recursica.toggleOverStyled = () => `[Recursica] Overstyled outline highlight is now: ${Mr() ? "ON (cyan 2px box shadow)" : "OFF"}`;
|
|
106
106
|
} catch {
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
r(window), window.parent && window.parent !== window && r(window.parent);
|
|
110
110
|
}
|
|
111
|
+
function Wr(r) {
|
|
112
|
+
const e = Za.toArray(r), t = e.length - 1;
|
|
113
|
+
return e.map((o, n) => {
|
|
114
|
+
if (n !== t || !Xa(o))
|
|
115
|
+
return o;
|
|
116
|
+
const s = o.props, l = s.href !== void 0 || s.onClick !== void 0;
|
|
117
|
+
return He && l && console.warn(
|
|
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
|
+
), Qa(o, {
|
|
120
|
+
"aria-current": "page",
|
|
121
|
+
...l ? { href: void 0, onClick: void 0, tabIndex: -1 } : {}
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
}
|
|
111
125
|
const It = "data-recursica-theme";
|
|
112
|
-
function
|
|
126
|
+
function Uu({
|
|
113
127
|
children: r,
|
|
114
128
|
theme: e = "light",
|
|
115
129
|
initLayer0: t = !0
|
|
@@ -123,7 +137,7 @@ function zu({
|
|
|
123
137
|
Kt(), Yt();
|
|
124
138
|
}, []), t ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(No, { children: r });
|
|
125
139
|
}
|
|
126
|
-
const
|
|
140
|
+
const Vu = [
|
|
127
141
|
"Accordion",
|
|
128
142
|
"AssistiveElement",
|
|
129
143
|
"Autocomplete",
|
|
@@ -178,7 +192,7 @@ const Du = [
|
|
|
178
192
|
"TransferList",
|
|
179
193
|
"Tree",
|
|
180
194
|
"Typography"
|
|
181
|
-
],
|
|
195
|
+
], Gu = (r, e) => {
|
|
182
196
|
const t = document.activeElement;
|
|
183
197
|
return new Promise((o, n) => {
|
|
184
198
|
if (e && e.current) {
|
|
@@ -205,7 +219,7 @@ function B(r, e) {
|
|
|
205
219
|
}
|
|
206
220
|
return t;
|
|
207
221
|
}
|
|
208
|
-
function
|
|
222
|
+
function zr(r, e) {
|
|
209
223
|
if (!e) return r;
|
|
210
224
|
const t = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
211
225
|
for (const n of o) {
|
|
@@ -214,7 +228,7 @@ function Rr(r, e) {
|
|
|
214
228
|
}
|
|
215
229
|
return t;
|
|
216
230
|
}
|
|
217
|
-
function
|
|
231
|
+
function Xt(r) {
|
|
218
232
|
return r == null ? void 0 : r.map(
|
|
219
233
|
(e) => typeof e == "string" ? e : { ...e, label: e.label ?? e.value }
|
|
220
234
|
);
|
|
@@ -228,16 +242,16 @@ function G(r, e) {
|
|
|
228
242
|
function me(r, e) {
|
|
229
243
|
return e !== void 0 ? e : r;
|
|
230
244
|
}
|
|
231
|
-
const
|
|
232
|
-
function
|
|
233
|
-
return r ? r.prototype && r.prototype.isReactComponent || r.$$typeof ===
|
|
245
|
+
const Dr = Symbol.for("react.forward_ref"), Er = Symbol.for("react.memo");
|
|
246
|
+
function Qt(r) {
|
|
247
|
+
return r ? r.prototype && r.prototype.isReactComponent || r.$$typeof === Dr ? !0 : r.$$typeof === Er ? Qt(r.type) : !1 : !1;
|
|
234
248
|
}
|
|
235
249
|
function R(r) {
|
|
236
|
-
if (!
|
|
250
|
+
if (!He || typeof r != "function" && !(r && r.$$typeof))
|
|
237
251
|
return r;
|
|
238
|
-
const e =
|
|
239
|
-
const { overStyled: i } = s, c =
|
|
240
|
-
|
|
252
|
+
const e = Qt(r), t = r.displayName || r.name || "Component", o = K.forwardRef((s, l) => {
|
|
253
|
+
const { overStyled: i } = s, c = Ar();
|
|
254
|
+
He && l && !e && console.warn(
|
|
241
255
|
`[wrapComponent] "${t}" 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.`
|
|
242
256
|
);
|
|
243
257
|
const d = e ? { ...s, ref: l } : s, p = K.createElement(r, d);
|
|
@@ -253,7 +267,7 @@ function R(r) {
|
|
|
253
267
|
}
|
|
254
268
|
return o;
|
|
255
269
|
}
|
|
256
|
-
const
|
|
270
|
+
const Br = [
|
|
257
271
|
"className",
|
|
258
272
|
"classNames",
|
|
259
273
|
"style",
|
|
@@ -332,23 +346,23 @@ function u(r, e) {
|
|
|
332
346
|
if (e)
|
|
333
347
|
return r;
|
|
334
348
|
const t = { ...r };
|
|
335
|
-
for (const o of
|
|
349
|
+
for (const o of Br)
|
|
336
350
|
o in t && delete t[o];
|
|
337
351
|
for (const [o, n] of Object.entries(t))
|
|
338
352
|
typeof n == "string" && n.startsWith("rec-") && Jt.has(o) && n in Go && (t[o] = Go[n]);
|
|
339
353
|
return t;
|
|
340
354
|
}
|
|
341
|
-
const
|
|
342
|
-
root:
|
|
343
|
-
item:
|
|
344
|
-
noDivider:
|
|
345
|
-
control:
|
|
346
|
-
label:
|
|
347
|
-
icon:
|
|
348
|
-
chevron:
|
|
349
|
-
iconLeftWrapper:
|
|
350
|
-
panel:
|
|
351
|
-
content:
|
|
355
|
+
const Fr = "Accordion-module__root___Dem6d", Ur = "Accordion-module__item___7ryVk", Vr = "Accordion-module__noDivider___Ni2tT", Gr = "Accordion-module__control___b4wgX", Hr = "Accordion-module__label___Ss7uW", jr = "Accordion-module__icon___xfHxX", qr = "Accordion-module__chevron___i-HVZ", Kr = "Accordion-module__iconLeftWrapper___5oLen", Yr = "Accordion-module__panel___Wx50w", Zr = "Accordion-module__content___PEM9t", Le = {
|
|
356
|
+
root: Fr,
|
|
357
|
+
item: Ur,
|
|
358
|
+
noDivider: Vr,
|
|
359
|
+
control: Gr,
|
|
360
|
+
label: Hr,
|
|
361
|
+
icon: jr,
|
|
362
|
+
chevron: qr,
|
|
363
|
+
iconLeftWrapper: Kr,
|
|
364
|
+
panel: Yr,
|
|
365
|
+
content: Zr
|
|
352
366
|
}, Rt = {
|
|
353
367
|
default: "unstyled"
|
|
354
368
|
}, en = function({
|
|
@@ -399,20 +413,20 @@ const dt = _(function({
|
|
|
399
413
|
"data-disabled": s || void 0,
|
|
400
414
|
children: e ? /* @__PURE__ */ A(No, { children: [
|
|
401
415
|
/* @__PURE__ */ a(Zo, { leftIcon: t, disabled: s, children: e }),
|
|
402
|
-
/* @__PURE__ */ a(
|
|
416
|
+
/* @__PURE__ */ a(Xo, { children: n })
|
|
403
417
|
] }) : n
|
|
404
418
|
}
|
|
405
419
|
);
|
|
406
420
|
});
|
|
407
421
|
dt.displayName = "AccordionItem";
|
|
408
|
-
const
|
|
422
|
+
const Xr = [
|
|
409
423
|
"icon"
|
|
410
424
|
// Mantine's native icon slot is fully computed here from `leftIcon`; the `Omit<>` on
|
|
411
425
|
// AccordionControlWrapperProps only stops a well-typed caller, this is the runtime backstop.
|
|
412
426
|
], Zo = _(function({ leftIcon: e, children: t, overStyled: o = !1, ...n }, s) {
|
|
413
427
|
const l = G(
|
|
414
428
|
u(n, o),
|
|
415
|
-
|
|
429
|
+
Xr
|
|
416
430
|
), i = l.className;
|
|
417
431
|
return /* @__PURE__ */ a(
|
|
418
432
|
qo.Control,
|
|
@@ -426,7 +440,7 @@ const jr = [
|
|
|
426
440
|
);
|
|
427
441
|
});
|
|
428
442
|
Zo.displayName = "AccordionControl";
|
|
429
|
-
const
|
|
443
|
+
const Xo = _(function({ overStyled: e = !1, ...t }, o) {
|
|
430
444
|
const n = u(t, e), s = n.className;
|
|
431
445
|
return /* @__PURE__ */ a(
|
|
432
446
|
qo.Panel,
|
|
@@ -437,16 +451,16 @@ const Qo = _(function({ overStyled: e = !1, ...t }, o) {
|
|
|
437
451
|
}
|
|
438
452
|
);
|
|
439
453
|
});
|
|
440
|
-
|
|
441
|
-
const
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
const
|
|
446
|
-
root:
|
|
447
|
-
textWrapper:
|
|
448
|
-
iconWrapper:
|
|
449
|
-
},
|
|
454
|
+
Xo.displayName = "AccordionPanel";
|
|
455
|
+
const Qo = en;
|
|
456
|
+
Qo.Item = dt;
|
|
457
|
+
Qo.Control = Zo;
|
|
458
|
+
Qo.Panel = Xo;
|
|
459
|
+
const Qr = "AssistiveElement-module__root___WhQ43", Jr = "AssistiveElement-module__textWrapper___sfy5E", es = "AssistiveElement-module__iconWrapper___gObRF", tt = {
|
|
460
|
+
root: Qr,
|
|
461
|
+
textWrapper: Jr,
|
|
462
|
+
iconWrapper: es
|
|
463
|
+
}, os = () => /* @__PURE__ */ A(
|
|
450
464
|
"svg",
|
|
451
465
|
{
|
|
452
466
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -462,7 +476,7 @@ const qr = "AssistiveElement-module__root___WhQ43", Kr = "AssistiveElement-modul
|
|
|
462
476
|
/* @__PURE__ */ a("path", { d: "M12 8h.01" })
|
|
463
477
|
]
|
|
464
478
|
}
|
|
465
|
-
),
|
|
479
|
+
), ts = () => /* @__PURE__ */ A(
|
|
466
480
|
"svg",
|
|
467
481
|
{
|
|
468
482
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -487,7 +501,7 @@ const qr = "AssistiveElement-module__root___WhQ43", Kr = "AssistiveElement-modul
|
|
|
487
501
|
overStyled: l = !1,
|
|
488
502
|
...i
|
|
489
503
|
}, c) {
|
|
490
|
-
const p = u(i, l), m = tt.root, C = n ? `${m} ${n}` : m, y = e === "error" ?
|
|
504
|
+
const p = u(i, l), m = tt.root, C = n ? `${m} ${n}` : m, y = e === "error" ? ts : os;
|
|
491
505
|
return /* @__PURE__ */ A(
|
|
492
506
|
"div",
|
|
493
507
|
{
|
|
@@ -505,13 +519,13 @@ const qr = "AssistiveElement-module__root___WhQ43", Kr = "AssistiveElement-modul
|
|
|
505
519
|
);
|
|
506
520
|
});
|
|
507
521
|
Ho.displayName = "AssistiveElement";
|
|
508
|
-
const
|
|
509
|
-
root:
|
|
510
|
-
labelText:
|
|
511
|
-
required:
|
|
512
|
-
optionalText:
|
|
513
|
-
actionAreaWrapper:
|
|
514
|
-
editIconWrapper:
|
|
522
|
+
const ns = "Label-module__root___e6HXZ", as = "Label-module__labelText___rieFR", rs = "Label-module__required___Ggrzc", ss = "Label-module__optionalText___Y2yun", ls = "Label-module__actionAreaWrapper___ELoZK", is = "Label-module__editIconWrapper___NG2xW", ao = {
|
|
523
|
+
root: ns,
|
|
524
|
+
labelText: as,
|
|
525
|
+
required: rs,
|
|
526
|
+
optionalText: ss,
|
|
527
|
+
actionAreaWrapper: ls,
|
|
528
|
+
editIconWrapper: is
|
|
515
529
|
}, ut = _(function({
|
|
516
530
|
labelSize: e = "default",
|
|
517
531
|
labelAlignment: t,
|
|
@@ -535,11 +549,11 @@ const Xr = "Label-module__root___e6HXZ", Jr = "Label-module__labelText___rieFR",
|
|
|
535
549
|
N
|
|
536
550
|
), S = v, b = B(
|
|
537
551
|
{
|
|
538
|
-
label:
|
|
539
|
-
required:
|
|
552
|
+
label: ao.root,
|
|
553
|
+
required: ao.required
|
|
540
554
|
},
|
|
541
555
|
S.classNames
|
|
542
|
-
), T = S.className, $ = T ? `${
|
|
556
|
+
), T = S.className, $ = T ? `${ao.root} ${T}` : ao.root;
|
|
543
557
|
return /* @__PURE__ */ A(
|
|
544
558
|
Ft.Label,
|
|
545
559
|
{
|
|
@@ -551,13 +565,13 @@ const Xr = "Label-module__root___e6HXZ", Jr = "Label-module__labelText___rieFR",
|
|
|
551
565
|
"data-alignment": C,
|
|
552
566
|
required: o && !s,
|
|
553
567
|
children: [
|
|
554
|
-
/* @__PURE__ */ a("span", { className:
|
|
555
|
-
y && /* @__PURE__ */ a("span", { className:
|
|
556
|
-
l ? /* @__PURE__ */ a("span", { className:
|
|
568
|
+
/* @__PURE__ */ a("span", { className: ao.labelText, children: c }),
|
|
569
|
+
y && /* @__PURE__ */ a("span", { className: ao.optionalText, children: typeof y == "string" ? `(${y})` : y }),
|
|
570
|
+
l ? /* @__PURE__ */ a("span", { className: ao.actionAreaWrapper, children: l }) : s ? /* @__PURE__ */ a(
|
|
557
571
|
"button",
|
|
558
572
|
{
|
|
559
573
|
type: "button",
|
|
560
|
-
className:
|
|
574
|
+
className: ao.editIconWrapper,
|
|
561
575
|
"data-replaces-asterisk": o ? "true" : void 0,
|
|
562
576
|
onClick: i,
|
|
563
577
|
"aria-label": "Edit",
|
|
@@ -587,11 +601,11 @@ const Xr = "Label-module__root___e6HXZ", Jr = "Label-module__labelText___rieFR",
|
|
|
587
601
|
);
|
|
588
602
|
});
|
|
589
603
|
ut.displayName = "Label";
|
|
590
|
-
const
|
|
591
|
-
root:
|
|
592
|
-
leftSection:
|
|
593
|
-
rightSection:
|
|
594
|
-
},
|
|
604
|
+
const cs = "FormControlLayout-module__root___yNDhZ", ds = "FormControlLayout-module__leftSection___GBM1r", us = "FormControlLayout-module__rightSection___bcL4v", Do = {
|
|
605
|
+
root: cs,
|
|
606
|
+
leftSection: ds,
|
|
607
|
+
rightSection: us
|
|
608
|
+
}, je = _(function({
|
|
595
609
|
formLayout: e = "stacked",
|
|
596
610
|
labelSize: t = "default",
|
|
597
611
|
controlMaxWidth: o,
|
|
@@ -622,10 +636,10 @@ const as = "FormControlLayout-module__root___yNDhZ", rs = "FormControlLayout-mod
|
|
|
622
636
|
}
|
|
623
637
|
);
|
|
624
638
|
});
|
|
625
|
-
|
|
626
|
-
const
|
|
627
|
-
root:
|
|
628
|
-
inputSection:
|
|
639
|
+
je.displayName = "FormControlLayout";
|
|
640
|
+
const ps = "FormControlWrapper-module__root___c-UHo", ms = "FormControlWrapper-module__inputSection___HenXk", Lt = {
|
|
641
|
+
root: ps,
|
|
642
|
+
inputSection: ms
|
|
629
643
|
}, Po = _(function({
|
|
630
644
|
formLayout: e,
|
|
631
645
|
labelSize: t,
|
|
@@ -651,12 +665,12 @@ const ls = "FormControlWrapper-module__root___c-UHo", is = "FormControlWrapper-m
|
|
|
651
665
|
// Extracted safely preventing bleeding into HTML domains
|
|
652
666
|
...f
|
|
653
667
|
}, w) {
|
|
654
|
-
const h = Bt(), O = b || `recursica-fc-${h}`, M = `${O}-label`, E = p || d,
|
|
668
|
+
const h = Bt(), O = b || `recursica-fc-${h}`, M = `${O}-label`, E = p || d, z = E ? `${O}-assistive` : void 0, L = N ? `${O}-error` : void 0, j = u(f, P), q = $ || j.className, Q = Lt.root, H = q ? `${Q} ${q}` : Q, Y = K.isValidElement(T) ? K.cloneElement(
|
|
655
669
|
T,
|
|
656
670
|
{
|
|
657
671
|
...T.props.id ? {} : { id: O },
|
|
658
672
|
"aria-labelledby": M,
|
|
659
|
-
...E && !T.props["aria-describedby"] ? { "aria-describedby":
|
|
673
|
+
...E && !T.props["aria-describedby"] ? { "aria-describedby": z } : {},
|
|
660
674
|
...N && !T.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
661
675
|
}
|
|
662
676
|
) : T, ee = c ? /* @__PURE__ */ a(
|
|
@@ -675,7 +689,7 @@ const ls = "FormControlWrapper-module__root___c-UHo", is = "FormControlWrapper-m
|
|
|
675
689
|
}
|
|
676
690
|
) : void 0;
|
|
677
691
|
return /* @__PURE__ */ a(
|
|
678
|
-
|
|
692
|
+
je,
|
|
679
693
|
{
|
|
680
694
|
ref: w,
|
|
681
695
|
className: H,
|
|
@@ -699,7 +713,7 @@ const ls = "FormControlWrapper-module__root___c-UHo", is = "FormControlWrapper-m
|
|
|
699
713
|
!N && E && /* @__PURE__ */ a(
|
|
700
714
|
Ho,
|
|
701
715
|
{
|
|
702
|
-
id:
|
|
716
|
+
id: z,
|
|
703
717
|
assistiveVariant: "help",
|
|
704
718
|
assistiveWithIcon: m,
|
|
705
719
|
children: E
|
|
@@ -710,9 +724,9 @@ const ls = "FormControlWrapper-module__root___c-UHo", is = "FormControlWrapper-m
|
|
|
710
724
|
);
|
|
711
725
|
});
|
|
712
726
|
Po.displayName = "FormControlWrapper";
|
|
713
|
-
const
|
|
714
|
-
layoutOverride:
|
|
715
|
-
textField:
|
|
727
|
+
const _s = "ReadOnlyField-module__layoutOverride___9fSsG", fs = "ReadOnlyField-module__textField___qKn25", jo = {
|
|
728
|
+
layoutOverride: _s,
|
|
729
|
+
textField: fs
|
|
716
730
|
}, Uo = ({
|
|
717
731
|
value: r,
|
|
718
732
|
overStyled: e = !1,
|
|
@@ -720,7 +734,7 @@ const cs = "ReadOnlyField-module__layoutOverride___9fSsG", ds = "ReadOnlyField-m
|
|
|
720
734
|
}) => {
|
|
721
735
|
const o = u(t, e), n = o.className;
|
|
722
736
|
return /* @__PURE__ */ a(
|
|
723
|
-
|
|
737
|
+
Ja,
|
|
724
738
|
{
|
|
725
739
|
component: "p",
|
|
726
740
|
...o,
|
|
@@ -844,19 +858,19 @@ function on({ option: r }, e, t = !1) {
|
|
|
844
858
|
] })
|
|
845
859
|
] });
|
|
846
860
|
}
|
|
847
|
-
const
|
|
848
|
-
layoutOverride:
|
|
849
|
-
root:
|
|
850
|
-
input:
|
|
851
|
-
section:
|
|
852
|
-
dropdown:
|
|
853
|
-
option:
|
|
854
|
-
optionContent:
|
|
855
|
-
optionIcon:
|
|
856
|
-
optionText:
|
|
857
|
-
optionTextWrap:
|
|
858
|
-
optionSupportingText:
|
|
859
|
-
},
|
|
861
|
+
const ys = "AutoComplete-module__layoutOverride___-K9WL", hs = "AutoComplete-module__root___kANza", vs = "AutoComplete-module__input___g51MC", Ns = "AutoComplete-module__section___WAbf1", bs = "AutoComplete-module__dropdown___NqO3E", Cs = "AutoComplete-module__option___Y-Kja", gs = "AutoComplete-module__optionContent___UAkUA", Ps = "AutoComplete-module__optionIcon___tbbmW", Ts = "AutoComplete-module__optionText___aQwHF", $s = "AutoComplete-module__optionTextWrap___RFICS", ws = "AutoComplete-module__optionSupportingText___OoA1N", Ce = {
|
|
862
|
+
layoutOverride: ys,
|
|
863
|
+
root: hs,
|
|
864
|
+
input: vs,
|
|
865
|
+
section: Ns,
|
|
866
|
+
dropdown: bs,
|
|
867
|
+
option: Cs,
|
|
868
|
+
optionContent: gs,
|
|
869
|
+
optionIcon: Ps,
|
|
870
|
+
optionText: Ts,
|
|
871
|
+
optionTextWrap: $s,
|
|
872
|
+
optionSupportingText: ws
|
|
873
|
+
}, Ss = [
|
|
860
874
|
"size",
|
|
861
875
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
862
876
|
"variant",
|
|
@@ -892,11 +906,11 @@ const us = "AutoComplete-module__layoutOverride___-K9WL", ps = "AutoComplete-mod
|
|
|
892
906
|
data: O,
|
|
893
907
|
renderOption: M,
|
|
894
908
|
wrapItemText: E = !1,
|
|
895
|
-
...
|
|
909
|
+
...z
|
|
896
910
|
} = e, L = G(
|
|
897
|
-
u(
|
|
898
|
-
|
|
899
|
-
), Z = L, j =
|
|
911
|
+
u(z, o),
|
|
912
|
+
Ss
|
|
913
|
+
), Z = L, j = Xt(O), q = B(
|
|
900
914
|
{
|
|
901
915
|
wrapper: Ce.root,
|
|
902
916
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -906,7 +920,7 @@ const us = "AutoComplete-module__layoutOverride___-K9WL", ps = "AutoComplete-mod
|
|
|
906
920
|
option: Ce.option
|
|
907
921
|
},
|
|
908
922
|
Z.classNames
|
|
909
|
-
),
|
|
923
|
+
), Q = {
|
|
910
924
|
optionContent: Ce.optionContent,
|
|
911
925
|
optionIcon: Ce.optionIcon,
|
|
912
926
|
optionText: Ce.optionText,
|
|
@@ -943,7 +957,7 @@ const us = "AutoComplete-module__layoutOverride___-K9WL", ps = "AutoComplete-mod
|
|
|
943
957
|
activeComponent: (
|
|
944
958
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
945
959
|
/* @__PURE__ */ a(
|
|
946
|
-
|
|
960
|
+
er,
|
|
947
961
|
{
|
|
948
962
|
ref: t,
|
|
949
963
|
...L,
|
|
@@ -953,7 +967,7 @@ const us = "AutoComplete-module__layoutOverride___-K9WL", ps = "AutoComplete-mod
|
|
|
953
967
|
defaultValue: h,
|
|
954
968
|
error: !!y,
|
|
955
969
|
data: j,
|
|
956
|
-
renderOption: M ?? ((Y) => on(Y,
|
|
970
|
+
renderOption: M ?? ((Y) => on(Y, Q, E))
|
|
957
971
|
}
|
|
958
972
|
)
|
|
959
973
|
)
|
|
@@ -962,12 +976,12 @@ const us = "AutoComplete-module__layoutOverride___-K9WL", ps = "AutoComplete-mod
|
|
|
962
976
|
}
|
|
963
977
|
);
|
|
964
978
|
tn.displayName = "AutoComplete";
|
|
965
|
-
const
|
|
966
|
-
root:
|
|
967
|
-
iconWrapper:
|
|
968
|
-
textWrapper:
|
|
969
|
-
image:
|
|
970
|
-
placeholder:
|
|
979
|
+
const xs = "Avatar-module__root___fXu-J", Os = "Avatar-module__iconWrapper___ojly2", ks = "Avatar-module__textWrapper___zp-jD", Is = "Avatar-module__image___ieqGp", Rs = "Avatar-module__placeholder___IDW7-", To = {
|
|
980
|
+
root: xs,
|
|
981
|
+
iconWrapper: Os,
|
|
982
|
+
textWrapper: ks,
|
|
983
|
+
image: Is,
|
|
984
|
+
placeholder: Rs
|
|
971
985
|
}, nn = _(function({
|
|
972
986
|
size: e = "default",
|
|
973
987
|
variant: t = "solid",
|
|
@@ -1005,7 +1019,7 @@ const Ps = "Avatar-module__root___fXu-J", Ts = "Avatar-module__iconWrapper___ojl
|
|
|
1005
1019
|
y.classNames
|
|
1006
1020
|
), S = y.className;
|
|
1007
1021
|
return /* @__PURE__ */ a(
|
|
1008
|
-
|
|
1022
|
+
or,
|
|
1009
1023
|
{
|
|
1010
1024
|
ref: c,
|
|
1011
1025
|
...C,
|
|
@@ -1022,8 +1036,8 @@ const Ps = "Avatar-module__root___fXu-J", Ts = "Avatar-module__iconWrapper___ojl
|
|
|
1022
1036
|
);
|
|
1023
1037
|
});
|
|
1024
1038
|
nn.displayName = "Avatar";
|
|
1025
|
-
const
|
|
1026
|
-
root:
|
|
1039
|
+
const Ls = Te(nn), Ms = "Badge-module__root___5osNT", $o = {
|
|
1040
|
+
root: Ms
|
|
1027
1041
|
}, an = _(function({ variant: e = "primary-color", overStyled: t = !1, ...o }, n) {
|
|
1028
1042
|
const s = u(o, t), l = B(
|
|
1029
1043
|
{
|
|
@@ -1034,7 +1048,7 @@ const xs = Te(nn), Os = "Badge-module__root___5osNT", $o = {
|
|
|
1034
1048
|
s.classNames
|
|
1035
1049
|
), i = s.className, c = i ? `${$o.root} ${i}` : $o.root;
|
|
1036
1050
|
return /* @__PURE__ */ a(
|
|
1037
|
-
|
|
1051
|
+
tr,
|
|
1038
1052
|
{
|
|
1039
1053
|
ref: n,
|
|
1040
1054
|
...s,
|
|
@@ -1046,42 +1060,42 @@ const xs = Te(nn), Os = "Badge-module__root___5osNT", $o = {
|
|
|
1046
1060
|
);
|
|
1047
1061
|
});
|
|
1048
1062
|
an.displayName = "Badge";
|
|
1049
|
-
const rn = Te(an),
|
|
1050
|
-
root:
|
|
1051
|
-
separator:
|
|
1063
|
+
const rn = Te(an), As = "Breadcrumb-module__root___x-9ln", Ws = "Breadcrumb-module__separator___qrUX-", Eo = {
|
|
1064
|
+
root: As,
|
|
1065
|
+
separator: Ws
|
|
1052
1066
|
}, sn = _(
|
|
1053
|
-
function({ overStyled: e = !1, separator: t = ">",
|
|
1054
|
-
const
|
|
1055
|
-
{ separator: t,
|
|
1067
|
+
function({ overStyled: e = !1, separator: t = ">", children: o, ...n }, s) {
|
|
1068
|
+
const l = u(
|
|
1069
|
+
{ separator: t, children: Wr(o), ...n },
|
|
1056
1070
|
e
|
|
1057
|
-
),
|
|
1071
|
+
), i = B(
|
|
1058
1072
|
{
|
|
1059
1073
|
root: Eo.root,
|
|
1060
1074
|
separator: Eo.separator
|
|
1061
1075
|
},
|
|
1062
|
-
|
|
1063
|
-
),
|
|
1064
|
-
...
|
|
1076
|
+
l.classNames
|
|
1077
|
+
), c = l.attributes, d = {
|
|
1078
|
+
...c,
|
|
1065
1079
|
separator: {
|
|
1066
1080
|
"aria-hidden": !0,
|
|
1067
|
-
...
|
|
1081
|
+
...c == null ? void 0 : c.separator
|
|
1068
1082
|
}
|
|
1069
|
-
},
|
|
1083
|
+
}, p = l.className, m = p ? `${Eo.root} ${p}` : Eo.root;
|
|
1070
1084
|
return /* @__PURE__ */ a(
|
|
1071
|
-
|
|
1085
|
+
nr,
|
|
1072
1086
|
{
|
|
1073
|
-
ref:
|
|
1074
|
-
...
|
|
1075
|
-
className:
|
|
1076
|
-
classNames:
|
|
1077
|
-
attributes:
|
|
1087
|
+
ref: s,
|
|
1088
|
+
...l,
|
|
1089
|
+
className: m,
|
|
1090
|
+
classNames: i,
|
|
1091
|
+
attributes: d
|
|
1078
1092
|
}
|
|
1079
1093
|
);
|
|
1080
1094
|
}
|
|
1081
1095
|
);
|
|
1082
1096
|
sn.displayName = "Breadcrumb";
|
|
1083
|
-
const
|
|
1084
|
-
root:
|
|
1097
|
+
const zs = "Loader-module__root___6iYOP", nt = {
|
|
1098
|
+
root: zs
|
|
1085
1099
|
}, mt = _(function({
|
|
1086
1100
|
variant: e = "oval",
|
|
1087
1101
|
size: t = "default",
|
|
@@ -1101,7 +1115,7 @@ const Rs = "Loader-module__root___6iYOP", nt = {
|
|
|
1101
1115
|
p.classNames
|
|
1102
1116
|
), C = p.className, y = C ? `${nt.root} ${C}` : nt.root;
|
|
1103
1117
|
return /* @__PURE__ */ a(
|
|
1104
|
-
|
|
1118
|
+
ar,
|
|
1105
1119
|
{
|
|
1106
1120
|
ref: l,
|
|
1107
1121
|
...d,
|
|
@@ -1115,15 +1129,15 @@ const Rs = "Loader-module__root___6iYOP", nt = {
|
|
|
1115
1129
|
);
|
|
1116
1130
|
});
|
|
1117
1131
|
mt.displayName = "Loader";
|
|
1118
|
-
const
|
|
1119
|
-
root:
|
|
1120
|
-
loader:
|
|
1121
|
-
label:
|
|
1122
|
-
labelText:
|
|
1123
|
-
iconWrapper:
|
|
1124
|
-
section:
|
|
1132
|
+
const Ds = "Button-module__root___Q2R8-", Es = "Button-module__loader___X-9u-", Bs = "Button-module__label___UJ3Zt", Fs = "Button-module__labelText___rFV5p", Us = "Button-module__iconWrapper___uEKPa", Vs = "Button-module__section___f2mKr", ro = {
|
|
1133
|
+
root: Ds,
|
|
1134
|
+
loader: Es,
|
|
1135
|
+
label: Bs,
|
|
1136
|
+
labelText: Fs,
|
|
1137
|
+
iconWrapper: Us,
|
|
1138
|
+
section: Vs
|
|
1125
1139
|
};
|
|
1126
|
-
function
|
|
1140
|
+
function Gs(r) {
|
|
1127
1141
|
return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
|
|
1128
1142
|
}
|
|
1129
1143
|
const ln = _(function({
|
|
@@ -1150,29 +1164,37 @@ const ln = _(function({
|
|
|
1150
1164
|
], N = G(
|
|
1151
1165
|
u(d, s),
|
|
1152
1166
|
y
|
|
1153
|
-
), v = N, S = !!o || !!v.leftSection, b = !!v.rightSection, T =
|
|
1167
|
+
), v = N, S = !!o || !!v.leftSection, b = !!v.rightSection, T = Gs(n), $ = (S || b) && !T;
|
|
1154
1168
|
let P = "label";
|
|
1155
1169
|
$ ? P = "icon-only" : (S || b) && (P = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !v["aria-label"] && console.warn(
|
|
1156
1170
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1157
1171
|
);
|
|
1158
1172
|
const g = B(
|
|
1159
1173
|
{
|
|
1160
|
-
root:
|
|
1161
|
-
section:
|
|
1162
|
-
label:
|
|
1163
|
-
loader:
|
|
1174
|
+
root: ro.root,
|
|
1175
|
+
section: ro.section,
|
|
1176
|
+
label: ro.label,
|
|
1177
|
+
loader: ro.loader
|
|
1164
1178
|
},
|
|
1165
1179
|
v.classNames
|
|
1166
|
-
), f = v.className, w = f ? `${
|
|
1180
|
+
), f = v.className, w = f ? `${ro.root} ${f}` : ro.root, h = v.loaderProps, O = me(
|
|
1167
1181
|
t === "small" ? "small" : "default",
|
|
1168
1182
|
i
|
|
1169
1183
|
);
|
|
1170
1184
|
let M = h;
|
|
1171
1185
|
return c && (M = {
|
|
1172
|
-
children: /* @__PURE__ */ a(
|
|
1186
|
+
children: /* @__PURE__ */ a(
|
|
1187
|
+
mt,
|
|
1188
|
+
{
|
|
1189
|
+
variant: l,
|
|
1190
|
+
size: O,
|
|
1191
|
+
overStyled: !0,
|
|
1192
|
+
color: "var(--button-color)"
|
|
1193
|
+
}
|
|
1194
|
+
),
|
|
1173
1195
|
...h
|
|
1174
1196
|
}), /* @__PURE__ */ a(
|
|
1175
|
-
|
|
1197
|
+
rr,
|
|
1176
1198
|
{
|
|
1177
1199
|
ref: p,
|
|
1178
1200
|
...N,
|
|
@@ -1181,25 +1203,25 @@ const ln = _(function({
|
|
|
1181
1203
|
variant: m[e],
|
|
1182
1204
|
size: C[t],
|
|
1183
1205
|
loaderProps: M,
|
|
1184
|
-
leftSection: o != null ? /* @__PURE__ */ a("span", { className:
|
|
1206
|
+
leftSection: o != null ? /* @__PURE__ */ a("span", { className: ro.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1185
1207
|
"data-variant": e,
|
|
1186
1208
|
"data-size": t,
|
|
1187
1209
|
"data-content": P,
|
|
1188
1210
|
disabled: !!v.disabled || !!v.loading,
|
|
1189
|
-
children: /* @__PURE__ */ a("span", { className:
|
|
1211
|
+
children: /* @__PURE__ */ a("span", { className: ro.labelText, children: n })
|
|
1190
1212
|
}
|
|
1191
1213
|
);
|
|
1192
1214
|
});
|
|
1193
1215
|
ln.displayName = "Button";
|
|
1194
|
-
const
|
|
1216
|
+
const uo = Te(
|
|
1195
1217
|
ln
|
|
1196
|
-
),
|
|
1197
|
-
root:
|
|
1198
|
-
header:
|
|
1199
|
-
footer:
|
|
1200
|
-
section:
|
|
1201
|
-
content:
|
|
1202
|
-
},
|
|
1218
|
+
), Hs = "Card-module__root___c9KvZ", js = "Card-module__header___PTXf2", qs = "Card-module__footer___Mu-JC", Ks = "Card-module__section___BRT8H", Ys = "Card-module__content___oFIQa", qe = {
|
|
1219
|
+
root: Hs,
|
|
1220
|
+
header: js,
|
|
1221
|
+
footer: qs,
|
|
1222
|
+
section: Ks,
|
|
1223
|
+
content: Ys
|
|
1224
|
+
}, Zs = [
|
|
1203
1225
|
"radius",
|
|
1204
1226
|
// Border radius is token-driven (`--recursica_..._borders_border-radius`), not caller-set.
|
|
1205
1227
|
"withBorder",
|
|
@@ -1209,7 +1231,7 @@ const co = Te(
|
|
|
1209
1231
|
], cn = _(function({ overStyled: e = !1, ...t }, o) {
|
|
1210
1232
|
const n = G(
|
|
1211
1233
|
u(t, e),
|
|
1212
|
-
|
|
1234
|
+
Zs
|
|
1213
1235
|
);
|
|
1214
1236
|
[
|
|
1215
1237
|
"flex",
|
|
@@ -1224,7 +1246,7 @@ const co = Te(
|
|
|
1224
1246
|
});
|
|
1225
1247
|
const l = B(
|
|
1226
1248
|
{
|
|
1227
|
-
root:
|
|
1249
|
+
root: qe.root
|
|
1228
1250
|
},
|
|
1229
1251
|
n.classNames
|
|
1230
1252
|
), i = n.className;
|
|
@@ -1247,7 +1269,7 @@ const dn = _(
|
|
|
1247
1269
|
{
|
|
1248
1270
|
ref: o,
|
|
1249
1271
|
...n,
|
|
1250
|
-
className: s ? `${
|
|
1272
|
+
className: s ? `${qe.section} ${s}` : qe.section
|
|
1251
1273
|
}
|
|
1252
1274
|
);
|
|
1253
1275
|
}
|
|
@@ -1269,7 +1291,7 @@ const un = [
|
|
|
1269
1291
|
{
|
|
1270
1292
|
ref: o,
|
|
1271
1293
|
...n,
|
|
1272
|
-
className: s ? `${
|
|
1294
|
+
className: s ? `${qe.header} ${s}` : qe.header
|
|
1273
1295
|
}
|
|
1274
1296
|
);
|
|
1275
1297
|
}
|
|
@@ -1286,7 +1308,7 @@ const mn = _(
|
|
|
1286
1308
|
{
|
|
1287
1309
|
ref: o,
|
|
1288
1310
|
...n,
|
|
1289
|
-
className: s ? `${
|
|
1311
|
+
className: s ? `${qe.footer} ${s}` : qe.footer
|
|
1290
1312
|
}
|
|
1291
1313
|
);
|
|
1292
1314
|
}
|
|
@@ -1300,7 +1322,7 @@ const _n = _(
|
|
|
1300
1322
|
{
|
|
1301
1323
|
ref: o,
|
|
1302
1324
|
...n,
|
|
1303
|
-
className: s ? `${
|
|
1325
|
+
className: s ? `${qe.content} ${s}` : qe.content
|
|
1304
1326
|
}
|
|
1305
1327
|
);
|
|
1306
1328
|
}
|
|
@@ -1311,15 +1333,15 @@ Jo.Section = dn;
|
|
|
1311
1333
|
Jo.Header = pn;
|
|
1312
1334
|
Jo.Footer = mn;
|
|
1313
1335
|
Jo.Content = _n;
|
|
1314
|
-
const
|
|
1315
|
-
groupRoot:
|
|
1316
|
-
root:
|
|
1317
|
-
body:
|
|
1318
|
-
inner:
|
|
1319
|
-
input:
|
|
1320
|
-
icon:
|
|
1321
|
-
labelWrapper:
|
|
1322
|
-
label:
|
|
1336
|
+
const Xs = fn, Qs = "Checkbox-module__groupRoot___cBS0o", Js = "Checkbox-module__root___mY3qk", el = "Checkbox-module__body___5yC7q", ol = "Checkbox-module__inner___rTke4", tl = "Checkbox-module__input___2kt-h", nl = "Checkbox-module__icon___-O7i6", al = "Checkbox-module__labelWrapper___GpZkr", rl = "Checkbox-module__label___cwRtI", ke = {
|
|
1337
|
+
groupRoot: Qs,
|
|
1338
|
+
root: Js,
|
|
1339
|
+
body: el,
|
|
1340
|
+
inner: ol,
|
|
1341
|
+
input: tl,
|
|
1342
|
+
icon: nl,
|
|
1343
|
+
labelWrapper: al,
|
|
1344
|
+
label: rl
|
|
1323
1345
|
}, Ro = _(
|
|
1324
1346
|
function(e, t) {
|
|
1325
1347
|
const {
|
|
@@ -1352,10 +1374,10 @@ const js = fn, qs = "Checkbox-module__groupRoot___cBS0o", Ks = "Checkbox-module_
|
|
|
1352
1374
|
} = e, E = [
|
|
1353
1375
|
"size"
|
|
1354
1376
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1355
|
-
],
|
|
1377
|
+
], z = G(
|
|
1356
1378
|
u(M, o),
|
|
1357
1379
|
E
|
|
1358
|
-
), L =
|
|
1380
|
+
), L = z;
|
|
1359
1381
|
return /* @__PURE__ */ a(
|
|
1360
1382
|
ve,
|
|
1361
1383
|
{
|
|
@@ -1389,7 +1411,7 @@ const js = fn, qs = "Checkbox-module__groupRoot___cBS0o", Ks = "Checkbox-module_
|
|
|
1389
1411
|
Ut.Group,
|
|
1390
1412
|
{
|
|
1391
1413
|
ref: t,
|
|
1392
|
-
...
|
|
1414
|
+
...z,
|
|
1393
1415
|
disabled: g || L.disabled,
|
|
1394
1416
|
value: h,
|
|
1395
1417
|
defaultValue: O,
|
|
@@ -1399,7 +1421,7 @@ const js = fn, qs = "Checkbox-module__groupRoot___cBS0o", Ks = "Checkbox-module_
|
|
|
1399
1421
|
"div",
|
|
1400
1422
|
{
|
|
1401
1423
|
ref: t,
|
|
1402
|
-
...
|
|
1424
|
+
...z,
|
|
1403
1425
|
role: "group",
|
|
1404
1426
|
className: ke.groupRoot,
|
|
1405
1427
|
"data-layout": n,
|
|
@@ -1459,7 +1481,7 @@ const Lo = _(
|
|
|
1459
1481
|
}
|
|
1460
1482
|
);
|
|
1461
1483
|
return i ? /* @__PURE__ */ a(
|
|
1462
|
-
|
|
1484
|
+
je,
|
|
1463
1485
|
{
|
|
1464
1486
|
formLayout: i,
|
|
1465
1487
|
labelSize: c,
|
|
@@ -1480,7 +1502,7 @@ const Lo = _(
|
|
|
1480
1502
|
}
|
|
1481
1503
|
);
|
|
1482
1504
|
return i ? /* @__PURE__ */ a(
|
|
1483
|
-
|
|
1505
|
+
je,
|
|
1484
1506
|
{
|
|
1485
1507
|
formLayout: i,
|
|
1486
1508
|
labelSize: c,
|
|
@@ -1493,16 +1515,16 @@ const Lo = _(
|
|
|
1493
1515
|
);
|
|
1494
1516
|
Lo.displayName = "Checkbox";
|
|
1495
1517
|
Lo.Group = Ro;
|
|
1496
|
-
const
|
|
1497
|
-
root:
|
|
1498
|
-
label:
|
|
1499
|
-
mantineIconWrapper:
|
|
1500
|
-
innerWrapper:
|
|
1501
|
-
children:
|
|
1502
|
-
leadingIcon:
|
|
1503
|
-
deleteIcon:
|
|
1518
|
+
const sl = "Chip-module__root___f5pFk", ll = "Chip-module__label___Ov9pg", il = "Chip-module__mantineIconWrapper___KLSz6", cl = "Chip-module__innerWrapper___EnrTF", dl = "Chip-module__children___zbRAR", ul = "Chip-module__leadingIcon___JBtjQ", pl = "Chip-module__deleteIcon___zPPsH", Oe = {
|
|
1519
|
+
root: sl,
|
|
1520
|
+
label: ll,
|
|
1521
|
+
mantineIconWrapper: il,
|
|
1522
|
+
innerWrapper: cl,
|
|
1523
|
+
children: dl,
|
|
1524
|
+
leadingIcon: ul,
|
|
1525
|
+
deleteIcon: pl
|
|
1504
1526
|
};
|
|
1505
|
-
function
|
|
1527
|
+
function ml(r) {
|
|
1506
1528
|
return /* @__PURE__ */ A(
|
|
1507
1529
|
"svg",
|
|
1508
1530
|
{
|
|
@@ -1552,7 +1574,7 @@ const Mo = _(function({
|
|
|
1552
1574
|
...f ? { "data-interactive": "" } : {}
|
|
1553
1575
|
};
|
|
1554
1576
|
return /* @__PURE__ */ a(
|
|
1555
|
-
|
|
1577
|
+
sr,
|
|
1556
1578
|
{
|
|
1557
1579
|
ref: N,
|
|
1558
1580
|
...v,
|
|
@@ -1588,7 +1610,7 @@ const Mo = _(function({
|
|
|
1588
1610
|
));
|
|
1589
1611
|
},
|
|
1590
1612
|
tabIndex: s ?? 0,
|
|
1591
|
-
children: /* @__PURE__ */ a(
|
|
1613
|
+
children: /* @__PURE__ */ a(ml, {})
|
|
1592
1614
|
}
|
|
1593
1615
|
)
|
|
1594
1616
|
] })
|
|
@@ -1596,8 +1618,8 @@ const Mo = _(function({
|
|
|
1596
1618
|
);
|
|
1597
1619
|
});
|
|
1598
1620
|
Mo.displayName = "Chip";
|
|
1599
|
-
const
|
|
1600
|
-
root:
|
|
1621
|
+
const _l = "Container-module__root___UVssr", wo = {
|
|
1622
|
+
root: _l
|
|
1601
1623
|
}, yn = _(
|
|
1602
1624
|
function({ children: e, size: t, ...o }, n) {
|
|
1603
1625
|
const s = {
|
|
@@ -1616,7 +1638,7 @@ const cl = "Container-module__root___UVssr", wo = {
|
|
|
1616
1638
|
}
|
|
1617
1639
|
const d = o.className, p = d ? `${wo.root} ${d}` : wo.root;
|
|
1618
1640
|
return /* @__PURE__ */ a(
|
|
1619
|
-
|
|
1641
|
+
lr,
|
|
1620
1642
|
{
|
|
1621
1643
|
ref: n,
|
|
1622
1644
|
size: l,
|
|
@@ -1629,7 +1651,7 @@ const cl = "Container-module__root___UVssr", wo = {
|
|
|
1629
1651
|
}
|
|
1630
1652
|
);
|
|
1631
1653
|
yn.displayName = "Container";
|
|
1632
|
-
function
|
|
1654
|
+
function fl(r) {
|
|
1633
1655
|
return /* @__PURE__ */ A(
|
|
1634
1656
|
"svg",
|
|
1635
1657
|
{
|
|
@@ -1650,19 +1672,19 @@ function dl(r) {
|
|
|
1650
1672
|
}
|
|
1651
1673
|
);
|
|
1652
1674
|
}
|
|
1653
|
-
const
|
|
1654
|
-
layoutOverride:
|
|
1655
|
-
root:
|
|
1656
|
-
input:
|
|
1657
|
-
section:
|
|
1658
|
-
dropdown:
|
|
1659
|
-
calendarHeader:
|
|
1660
|
-
calendarHeaderControl:
|
|
1661
|
-
calendarHeaderLevel:
|
|
1662
|
-
calendarHeaderControlIcon:
|
|
1663
|
-
weekday:
|
|
1664
|
-
day:
|
|
1665
|
-
},
|
|
1675
|
+
const yl = "DatePicker-module__layoutOverride___X9yaM", hl = "DatePicker-module__root___6XvRT", vl = "DatePicker-module__input___pcSW8", Nl = "DatePicker-module__section___n3iWA", bl = "DatePicker-module__dropdown___wjt08", Cl = "DatePicker-module__calendarHeader___KHxno", gl = "DatePicker-module__calendarHeaderControl___q7UvJ", Pl = "DatePicker-module__calendarHeaderLevel___ebdJ2", Tl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", $l = "DatePicker-module__weekday___H5lIj", wl = "DatePicker-module__day___U03J2", ge = {
|
|
1676
|
+
layoutOverride: yl,
|
|
1677
|
+
root: hl,
|
|
1678
|
+
input: vl,
|
|
1679
|
+
section: Nl,
|
|
1680
|
+
dropdown: bl,
|
|
1681
|
+
calendarHeader: Cl,
|
|
1682
|
+
calendarHeaderControl: gl,
|
|
1683
|
+
calendarHeaderLevel: Pl,
|
|
1684
|
+
calendarHeaderControlIcon: Tl,
|
|
1685
|
+
weekday: $l,
|
|
1686
|
+
day: wl
|
|
1687
|
+
}, Sl = [
|
|
1666
1688
|
"size",
|
|
1667
1689
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
1668
1690
|
"variant",
|
|
@@ -1703,12 +1725,12 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1703
1725
|
// Default display format; consumers can still override.
|
|
1704
1726
|
placeholder: E = "MM / DD / YY",
|
|
1705
1727
|
// Default placeholder; consumers can still override.
|
|
1706
|
-
leftSection:
|
|
1728
|
+
leftSection: z,
|
|
1707
1729
|
// Default leading icon computed below; consumers can still override.
|
|
1708
1730
|
...L
|
|
1709
1731
|
} = e, Z = G(
|
|
1710
1732
|
u(L, o),
|
|
1711
|
-
|
|
1733
|
+
Sl
|
|
1712
1734
|
), j = Z, q = B(
|
|
1713
1735
|
{
|
|
1714
1736
|
wrapper: ge.root,
|
|
@@ -1723,7 +1745,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1723
1745
|
calendarHeaderControlIcon: ge.calendarHeaderControlIcon
|
|
1724
1746
|
},
|
|
1725
1747
|
j.classNames
|
|
1726
|
-
),
|
|
1748
|
+
), Q = j.popoverProps, H = Q && typeof Q == "object" && !Array.isArray(Q) ? Q : void 0, Y = H != null && H.classNames && typeof H.classNames == "object" && !Array.isArray(H.classNames) ? H.classNames : void 0;
|
|
1727
1749
|
delete j.popoverProps;
|
|
1728
1750
|
const ee = {
|
|
1729
1751
|
...H,
|
|
@@ -1757,12 +1779,21 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1757
1779
|
readOnlyComponent: g,
|
|
1758
1780
|
emptyValueComponent: f,
|
|
1759
1781
|
readOnlyType: "text",
|
|
1760
|
-
readOnlyValue:
|
|
1782
|
+
readOnlyValue: (() => {
|
|
1783
|
+
const W = w !== void 0 ? w : h;
|
|
1784
|
+
return W ? xr({
|
|
1785
|
+
type: "default",
|
|
1786
|
+
date: W,
|
|
1787
|
+
locale: "en",
|
|
1788
|
+
format: M,
|
|
1789
|
+
labelSeparator: ""
|
|
1790
|
+
}) : void 0;
|
|
1791
|
+
})(),
|
|
1761
1792
|
readOnlyNativeProps: e,
|
|
1762
1793
|
activeComponent: (
|
|
1763
1794
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1764
1795
|
/* @__PURE__ */ a(
|
|
1765
|
-
|
|
1796
|
+
Sr,
|
|
1766
1797
|
{
|
|
1767
1798
|
ref: t,
|
|
1768
1799
|
...Z,
|
|
@@ -1778,8 +1809,8 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1778
1809
|
valueFormat: M,
|
|
1779
1810
|
placeholder: E,
|
|
1780
1811
|
leftSection: me(
|
|
1781
|
-
/* @__PURE__ */ a(
|
|
1782
|
-
|
|
1812
|
+
/* @__PURE__ */ a(fl, {}),
|
|
1813
|
+
z
|
|
1783
1814
|
),
|
|
1784
1815
|
wrapperProps: {
|
|
1785
1816
|
"data-disabled": $ ? "true" : void 0,
|
|
@@ -1794,20 +1825,20 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1794
1825
|
}
|
|
1795
1826
|
);
|
|
1796
1827
|
hn.displayName = "DatePicker";
|
|
1797
|
-
const
|
|
1798
|
-
layoutOverride:
|
|
1799
|
-
root:
|
|
1800
|
-
input:
|
|
1801
|
-
section:
|
|
1802
|
-
clearButton:
|
|
1803
|
-
dropdown:
|
|
1804
|
-
option:
|
|
1805
|
-
optionContent:
|
|
1806
|
-
optionIcon:
|
|
1807
|
-
optionText:
|
|
1808
|
-
optionTextWrap:
|
|
1809
|
-
optionSupportingText:
|
|
1810
|
-
},
|
|
1828
|
+
const xl = "Dropdown-module__layoutOverride___FNcvP", Ol = "Dropdown-module__root___uVyL0", kl = "Dropdown-module__input___dK4dN", Il = "Dropdown-module__section___j3MRB", Rl = "Dropdown-module__clearButton___ODnIa", Ll = "Dropdown-module__dropdown___gG-Sw", Ml = "Dropdown-module__option___nAGU-", Al = "Dropdown-module__optionContent___QTwwg", Wl = "Dropdown-module__optionIcon___2L56h", zl = "Dropdown-module__optionText___cCDpI", Dl = "Dropdown-module__optionTextWrap___L4OPI", El = "Dropdown-module__optionSupportingText___2JIOV", te = {
|
|
1829
|
+
layoutOverride: xl,
|
|
1830
|
+
root: Ol,
|
|
1831
|
+
input: kl,
|
|
1832
|
+
section: Il,
|
|
1833
|
+
clearButton: Rl,
|
|
1834
|
+
dropdown: Ll,
|
|
1835
|
+
option: Ml,
|
|
1836
|
+
optionContent: Al,
|
|
1837
|
+
optionIcon: Wl,
|
|
1838
|
+
optionText: zl,
|
|
1839
|
+
optionTextWrap: Dl,
|
|
1840
|
+
optionSupportingText: El
|
|
1841
|
+
}, Bl = [
|
|
1811
1842
|
"size",
|
|
1812
1843
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
1813
1844
|
"variant",
|
|
@@ -1845,13 +1876,13 @@ const Pl = "Dropdown-module__layoutOverride___FNcvP", Tl = "Dropdown-module__roo
|
|
|
1845
1876
|
defaultValue: O,
|
|
1846
1877
|
data: M,
|
|
1847
1878
|
clearButtonProps: E,
|
|
1848
|
-
renderOption:
|
|
1879
|
+
renderOption: z,
|
|
1849
1880
|
wrapItemText: L = !1,
|
|
1850
1881
|
...Z
|
|
1851
1882
|
} = e, j = G(
|
|
1852
1883
|
u(Z, o),
|
|
1853
|
-
|
|
1854
|
-
), q = j,
|
|
1884
|
+
Bl
|
|
1885
|
+
), q = j, Q = Xt(M), H = E, Y = {
|
|
1855
1886
|
...H,
|
|
1856
1887
|
className: H != null && H.className ? `${te.clearButton} ${H.className}` : te.clearButton
|
|
1857
1888
|
}, ee = B(
|
|
@@ -1870,7 +1901,7 @@ const Pl = "Dropdown-module__layoutOverride___FNcvP", Tl = "Dropdown-module__roo
|
|
|
1870
1901
|
optionText: te.optionText,
|
|
1871
1902
|
optionTextWrap: te.optionTextWrap,
|
|
1872
1903
|
optionSupportingText: te.optionSupportingText
|
|
1873
|
-
},
|
|
1904
|
+
}, W = {
|
|
1874
1905
|
...$ || {},
|
|
1875
1906
|
width: s || "100%"
|
|
1876
1907
|
}, re = T ? `${te.layoutOverride} ${T}` : te.layoutOverride;
|
|
@@ -1878,7 +1909,7 @@ const Pl = "Dropdown-module__layoutOverride___FNcvP", Tl = "Dropdown-module__roo
|
|
|
1878
1909
|
ve,
|
|
1879
1910
|
{
|
|
1880
1911
|
className: re,
|
|
1881
|
-
style:
|
|
1912
|
+
style: W,
|
|
1882
1913
|
controlMaxWidth: "var(--dropdown-control-max-width)",
|
|
1883
1914
|
controlMinWidth: "var(--dropdown-control-min-width)",
|
|
1884
1915
|
overStyled: o,
|
|
@@ -1912,8 +1943,8 @@ const Pl = "Dropdown-module__layoutOverride___FNcvP", Tl = "Dropdown-module__roo
|
|
|
1912
1943
|
disabled: P,
|
|
1913
1944
|
value: h,
|
|
1914
1945
|
defaultValue: O,
|
|
1915
|
-
data:
|
|
1916
|
-
renderOption:
|
|
1946
|
+
data: Q || [],
|
|
1947
|
+
renderOption: z ?? ((pe) => on(pe, ue, L)),
|
|
1917
1948
|
clearButtonProps: Y,
|
|
1918
1949
|
label: void 0,
|
|
1919
1950
|
description: void 0,
|
|
@@ -1934,17 +1965,17 @@ const Pl = "Dropdown-module__layoutOverride___FNcvP", Tl = "Dropdown-module__roo
|
|
|
1934
1965
|
}
|
|
1935
1966
|
);
|
|
1936
1967
|
vn.displayName = "Dropdown";
|
|
1937
|
-
const
|
|
1938
|
-
layoutOverride:
|
|
1939
|
-
root:
|
|
1940
|
-
leadingIcon:
|
|
1941
|
-
content:
|
|
1942
|
-
value:
|
|
1943
|
-
chipRow:
|
|
1944
|
-
chipWrapper:
|
|
1945
|
-
trailingIcon:
|
|
1968
|
+
const Fl = "FileInput-module__layoutOverride___HIOY6", Ul = "FileInput-module__root___UvQj-", Vl = "FileInput-module__leadingIcon___z75c4", Gl = "FileInput-module__content___Udsvh", Hl = "FileInput-module__value___RX33R", jl = "FileInput-module__chipRow___My6TF", ql = "FileInput-module__chipWrapper___q2CDy", Kl = "FileInput-module__trailingIcon___odGPm", Fe = {
|
|
1969
|
+
layoutOverride: Fl,
|
|
1970
|
+
root: Ul,
|
|
1971
|
+
leadingIcon: Vl,
|
|
1972
|
+
content: Gl,
|
|
1973
|
+
value: Hl,
|
|
1974
|
+
chipRow: jl,
|
|
1975
|
+
chipWrapper: ql,
|
|
1976
|
+
trailingIcon: Kl
|
|
1946
1977
|
};
|
|
1947
|
-
function
|
|
1978
|
+
function Yl() {
|
|
1948
1979
|
return /* @__PURE__ */ A(
|
|
1949
1980
|
"svg",
|
|
1950
1981
|
{
|
|
@@ -1964,7 +1995,7 @@ function Gl() {
|
|
|
1964
1995
|
}
|
|
1965
1996
|
);
|
|
1966
1997
|
}
|
|
1967
|
-
function
|
|
1998
|
+
function Zl() {
|
|
1968
1999
|
return /* @__PURE__ */ A(
|
|
1969
2000
|
"svg",
|
|
1970
2001
|
{
|
|
@@ -2012,22 +2043,22 @@ const Nn = _(
|
|
|
2012
2043
|
accept: O,
|
|
2013
2044
|
multiple: M = !1,
|
|
2014
2045
|
maxSize: E,
|
|
2015
|
-
maxFiles:
|
|
2046
|
+
maxFiles: z,
|
|
2016
2047
|
onFilesRejected: L,
|
|
2017
2048
|
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2018
|
-
maxFilesMessage: j = M ? `Maximum of ${
|
|
2049
|
+
maxFilesMessage: j = M ? `Maximum of ${z} files allowed` : "Only one file is allowed",
|
|
2019
2050
|
icon: q,
|
|
2020
|
-
clearIcon:
|
|
2051
|
+
clearIcon: Q,
|
|
2021
2052
|
placeholder: H = "Select a file...",
|
|
2022
2053
|
browseLabel: Y = "Choose file",
|
|
2023
2054
|
removeFileLabel: ee = "Remove",
|
|
2024
2055
|
clearLabel: ue = "Clear",
|
|
2025
|
-
...
|
|
2026
|
-
} = e, pe = u(
|
|
2056
|
+
...W
|
|
2057
|
+
} = e, pe = u(W, o), k = !P && !g, le = !!f && f.length > 0, Ne = Ge(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Je = (x) => {
|
|
2027
2058
|
if (!k) return;
|
|
2028
2059
|
const ne = Array.from(x);
|
|
2029
2060
|
if (ne.length === 0) return;
|
|
2030
|
-
const ae = M ?
|
|
2061
|
+
const ae = M ? z : 1, J = M ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
|
|
2031
2062
|
let wt = !1, St = !1;
|
|
2032
2063
|
for (const ot of ne) {
|
|
2033
2064
|
const xt = !Zt(ot, O);
|
|
@@ -2036,40 +2067,40 @@ const Nn = _(
|
|
|
2036
2067
|
Ot && (St = !0), (xt || Ya || Ot ? zo : fe).push(ot);
|
|
2037
2068
|
}
|
|
2038
2069
|
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (L == null || L(zo));
|
|
2039
|
-
}, we = Ge(0), [
|
|
2070
|
+
}, we = Ge(0), [eo, Ee] = ce(!1), Be = (x) => {
|
|
2040
2071
|
x.preventDefault(), we.current += 1, Ee(!0);
|
|
2041
2072
|
}, mo = (x) => {
|
|
2042
2073
|
x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
|
|
2043
2074
|
}, Se = (x) => {
|
|
2044
2075
|
x.preventDefault();
|
|
2045
|
-
},
|
|
2046
|
-
x.preventDefault(), we.current = 0, Ee(!1),
|
|
2076
|
+
}, oo = (x) => {
|
|
2077
|
+
x.preventDefault(), we.current = 0, Ee(!1), Je(x.dataTransfer.files);
|
|
2047
2078
|
}, xe = () => {
|
|
2048
2079
|
var x;
|
|
2049
2080
|
k && ((x = Ne.current) == null || x.click());
|
|
2050
|
-
},
|
|
2081
|
+
}, to = (x) => {
|
|
2051
2082
|
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2052
2083
|
}, V = (x) => {
|
|
2053
|
-
x.target.files &&
|
|
2084
|
+
x.target.files && Je(x.target.files), x.target.value = "";
|
|
2054
2085
|
}, F = () => {
|
|
2055
2086
|
!k || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2056
|
-
}, [
|
|
2087
|
+
}, [D, I] = ce(0), U = Ge([]), X = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
2057
2088
|
Ie(() => {
|
|
2058
2089
|
var ne;
|
|
2059
2090
|
const x = (f == null ? void 0 : f.length) ?? 0;
|
|
2060
|
-
if (x > 0 && x <
|
|
2061
|
-
const ae = Math.min(
|
|
2091
|
+
if (x > 0 && x < X.current) {
|
|
2092
|
+
const ae = Math.min(D, x - 1);
|
|
2062
2093
|
I(ae), (ne = U.current[ae]) == null || ne.focus();
|
|
2063
2094
|
}
|
|
2064
|
-
|
|
2095
|
+
X.current = x;
|
|
2065
2096
|
}, [f]);
|
|
2066
2097
|
const _e = (x) => {
|
|
2067
2098
|
var J;
|
|
2068
2099
|
const ne = (f == null ? void 0 : f.length) ?? 0;
|
|
2069
2100
|
if (ne === 0) return;
|
|
2070
2101
|
let ae;
|
|
2071
|
-
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (
|
|
2072
|
-
},
|
|
2102
|
+
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (D + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (D - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), I(ae), (J = U.current[ae]) == null || J.focus());
|
|
2103
|
+
}, no = N ?? (se ? Z : be ? j : void 0), _o = T ? `${Fe.layoutOverride} ${T}` : Fe.layoutOverride;
|
|
2073
2104
|
return /* @__PURE__ */ a(
|
|
2074
2105
|
Po,
|
|
2075
2106
|
{
|
|
@@ -2086,7 +2117,7 @@ const Nn = _(
|
|
|
2086
2117
|
label: m,
|
|
2087
2118
|
assistiveText: C,
|
|
2088
2119
|
assistiveWithIcon: y,
|
|
2089
|
-
error:
|
|
2120
|
+
error: no,
|
|
2090
2121
|
required: v,
|
|
2091
2122
|
withAsterisk: S,
|
|
2092
2123
|
id: b,
|
|
@@ -2104,16 +2135,16 @@ const Nn = _(
|
|
|
2104
2135
|
tabIndex: k ? 0 : -1,
|
|
2105
2136
|
"data-disabled": P ? "true" : void 0,
|
|
2106
2137
|
"data-readonly": g ? "true" : void 0,
|
|
2107
|
-
"data-error":
|
|
2108
|
-
"data-dragging":
|
|
2138
|
+
"data-error": no ? "true" : void 0,
|
|
2139
|
+
"data-dragging": eo ? "true" : void 0,
|
|
2109
2140
|
onClick: k ? xe : void 0,
|
|
2110
|
-
onKeyDown: k ?
|
|
2141
|
+
onKeyDown: k ? to : void 0,
|
|
2111
2142
|
onDragEnter: k ? Be : void 0,
|
|
2112
2143
|
onDragLeave: k ? mo : void 0,
|
|
2113
2144
|
onDragOver: k ? Se : void 0,
|
|
2114
|
-
onDrop: k ?
|
|
2145
|
+
onDrop: k ? oo : void 0,
|
|
2115
2146
|
children: [
|
|
2116
|
-
/* @__PURE__ */ a("span", { className: Fe.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(
|
|
2147
|
+
/* @__PURE__ */ a("span", { className: Fe.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(Yl, {}) }),
|
|
2117
2148
|
/* @__PURE__ */ A("div", { className: Fe.content, children: [
|
|
2118
2149
|
!le && /* @__PURE__ */ a("span", { className: Fe.value, "data-placeholder": "true", children: H }),
|
|
2119
2150
|
le && /* @__PURE__ */ a(
|
|
@@ -2134,7 +2165,7 @@ const Nn = _(
|
|
|
2134
2165
|
checked: !1,
|
|
2135
2166
|
tabIndex: -1,
|
|
2136
2167
|
deleteLabel: g ? void 0 : ee,
|
|
2137
|
-
deleteTabIndex: !g && ne ===
|
|
2168
|
+
deleteTabIndex: !g && ne === D ? 0 : -1,
|
|
2138
2169
|
deleteIconRef: (J) => {
|
|
2139
2170
|
U.current[ne] = J;
|
|
2140
2171
|
},
|
|
@@ -2150,12 +2181,12 @@ const Nn = _(
|
|
|
2150
2181
|
)
|
|
2151
2182
|
] }),
|
|
2152
2183
|
le && !g && /* @__PURE__ */ a(
|
|
2153
|
-
|
|
2184
|
+
uo,
|
|
2154
2185
|
{
|
|
2155
2186
|
overStyled: !0,
|
|
2156
2187
|
variant: "text",
|
|
2157
2188
|
size: "small",
|
|
2158
|
-
icon:
|
|
2189
|
+
icon: Q ?? /* @__PURE__ */ a(Zl, {}),
|
|
2159
2190
|
"aria-label": ue,
|
|
2160
2191
|
className: Fe.trailingIcon,
|
|
2161
2192
|
disabled: P,
|
|
@@ -2187,15 +2218,15 @@ const Nn = _(
|
|
|
2187
2218
|
}
|
|
2188
2219
|
);
|
|
2189
2220
|
Nn.displayName = "FileInput";
|
|
2190
|
-
const
|
|
2191
|
-
layoutOverride:
|
|
2192
|
-
root:
|
|
2193
|
-
dropzone:
|
|
2194
|
-
uploadIcon:
|
|
2195
|
-
dropzoneText:
|
|
2196
|
-
fileList:
|
|
2221
|
+
const Xl = "FileUpload-module__layoutOverride___bPpi8", Ql = "FileUpload-module__root___Q-vcm", Jl = "FileUpload-module__dropzone___jqua0", ei = "FileUpload-module__uploadIcon___bb3Nc", oi = "FileUpload-module__dropzoneText___L7vS-", ti = "FileUpload-module__fileList___XIWLl", so = {
|
|
2222
|
+
layoutOverride: Xl,
|
|
2223
|
+
root: Ql,
|
|
2224
|
+
dropzone: Jl,
|
|
2225
|
+
uploadIcon: ei,
|
|
2226
|
+
dropzoneText: oi,
|
|
2227
|
+
fileList: ti
|
|
2197
2228
|
};
|
|
2198
|
-
function
|
|
2229
|
+
function ni() {
|
|
2199
2230
|
return /* @__PURE__ */ A(
|
|
2200
2231
|
"svg",
|
|
2201
2232
|
{
|
|
@@ -2244,33 +2275,33 @@ const bn = _(
|
|
|
2244
2275
|
accept: O,
|
|
2245
2276
|
multiple: M = !0,
|
|
2246
2277
|
maxSize: E,
|
|
2247
|
-
maxFiles:
|
|
2278
|
+
maxFiles: z,
|
|
2248
2279
|
onFilesRejected: L,
|
|
2249
2280
|
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2250
|
-
maxFilesMessage: j = `Maximum of ${
|
|
2281
|
+
maxFilesMessage: j = `Maximum of ${z} files allowed`,
|
|
2251
2282
|
icon: q,
|
|
2252
|
-
dropzoneLabel:
|
|
2283
|
+
dropzoneLabel: Q = "Drag and drop files here to upload",
|
|
2253
2284
|
browseButtonLabel: H = "Browse files",
|
|
2254
2285
|
removeFileLabel: Y = "Remove",
|
|
2255
2286
|
...ee
|
|
2256
|
-
} = e,
|
|
2287
|
+
} = e, W = u(ee, o), re = Ge(null), [pe, k] = ce(!1), [le, Ne] = ce(!1), se = (I) => {
|
|
2257
2288
|
if (P) return;
|
|
2258
2289
|
const U = Array.from(I);
|
|
2259
2290
|
if (U.length === 0) return;
|
|
2260
|
-
const
|
|
2291
|
+
const X = (f == null ? void 0 : f.length) ?? 0, _e = [], no = [];
|
|
2261
2292
|
let _o = !1, x = !1;
|
|
2262
2293
|
for (const ne of U) {
|
|
2263
2294
|
const ae = !Zt(ne, O);
|
|
2264
2295
|
ae && (_o = !0);
|
|
2265
|
-
const J = E !== void 0 && ne.size > E, fe =
|
|
2266
|
-
fe && (x = !0), (ae || J || fe ?
|
|
2296
|
+
const J = E !== void 0 && ne.size > E, fe = z !== void 0 && X + _e.length >= z;
|
|
2297
|
+
fe && (x = !0), (ae || J || fe ? no : _e).push(ne);
|
|
2267
2298
|
}
|
|
2268
|
-
k(_o), Ne(x), _e.length > 0 && (w == null || w(_e)),
|
|
2269
|
-
}, ie = Ge(0), [be, $e] = ce(!1),
|
|
2299
|
+
k(_o), Ne(x), _e.length > 0 && (w == null || w(_e)), no.length > 0 && (L == null || L(no));
|
|
2300
|
+
}, ie = Ge(0), [be, $e] = ce(!1), Je = (I) => {
|
|
2270
2301
|
I.preventDefault(), ie.current += 1, $e(!0);
|
|
2271
2302
|
}, we = (I) => {
|
|
2272
2303
|
I.preventDefault(), ie.current -= 1, ie.current <= 0 && (ie.current = 0, $e(!1));
|
|
2273
|
-
},
|
|
2304
|
+
}, eo = (I) => {
|
|
2274
2305
|
I.preventDefault();
|
|
2275
2306
|
}, Ee = (I) => {
|
|
2276
2307
|
I.preventDefault(), ie.current = 0, $e(!1), se(I.dataTransfer.files);
|
|
@@ -2279,28 +2310,28 @@ const bn = _(
|
|
|
2279
2310
|
P || (I = re.current) == null || I.click();
|
|
2280
2311
|
}, mo = (I) => {
|
|
2281
2312
|
I.target.files && se(I.target.files), I.target.value = "";
|
|
2282
|
-
}, [Se,
|
|
2313
|
+
}, [Se, oo] = ce(0), xe = Ge([]), to = Ge((f == null ? void 0 : f.length) ?? 0);
|
|
2283
2314
|
Ie(() => {
|
|
2284
2315
|
var U;
|
|
2285
2316
|
const I = (f == null ? void 0 : f.length) ?? 0;
|
|
2286
|
-
if (I > 0 && I <
|
|
2287
|
-
const
|
|
2288
|
-
|
|
2317
|
+
if (I > 0 && I < to.current) {
|
|
2318
|
+
const X = Math.min(Se, I - 1);
|
|
2319
|
+
oo(X), (U = xe.current[X]) == null || U.focus();
|
|
2289
2320
|
}
|
|
2290
|
-
|
|
2321
|
+
to.current = I;
|
|
2291
2322
|
}, [f]);
|
|
2292
2323
|
const V = (I) => {
|
|
2293
2324
|
var _e;
|
|
2294
2325
|
const U = (f == null ? void 0 : f.length) ?? 0;
|
|
2295
2326
|
if (U === 0) return;
|
|
2296
|
-
let
|
|
2297
|
-
I.key === "ArrowRight" || I.key === "ArrowDown" ?
|
|
2298
|
-
}, F = N ?? (pe ? Z : le ? j : void 0),
|
|
2327
|
+
let X;
|
|
2328
|
+
I.key === "ArrowRight" || I.key === "ArrowDown" ? X = (Se + 1) % U : (I.key === "ArrowLeft" || I.key === "ArrowUp") && (X = (Se - 1 + U) % U), X !== void 0 && (I.preventDefault(), oo(X), (_e = xe.current[X]) == null || _e.focus());
|
|
2329
|
+
}, F = N ?? (pe ? Z : le ? j : void 0), D = T ? `${so.layoutOverride} ${T}` : so.layoutOverride;
|
|
2299
2330
|
return /* @__PURE__ */ a(
|
|
2300
2331
|
Po,
|
|
2301
2332
|
{
|
|
2302
2333
|
overStyled: o,
|
|
2303
|
-
className:
|
|
2334
|
+
className: D,
|
|
2304
2335
|
style: $,
|
|
2305
2336
|
formLayout: n,
|
|
2306
2337
|
labelSize: s,
|
|
@@ -2320,25 +2351,25 @@ const bn = _(
|
|
|
2320
2351
|
"div",
|
|
2321
2352
|
{
|
|
2322
2353
|
ref: t,
|
|
2323
|
-
...
|
|
2324
|
-
className:
|
|
2354
|
+
...W,
|
|
2355
|
+
className: so.root,
|
|
2325
2356
|
"data-disabled": P ? "true" : void 0,
|
|
2326
2357
|
"data-error": F ? "true" : void 0,
|
|
2327
2358
|
children: [
|
|
2328
2359
|
!g && /* @__PURE__ */ A(
|
|
2329
2360
|
"div",
|
|
2330
2361
|
{
|
|
2331
|
-
className:
|
|
2362
|
+
className: so.dropzone,
|
|
2332
2363
|
"data-dragging": be ? "true" : void 0,
|
|
2333
|
-
onDragEnter: P ? void 0 :
|
|
2364
|
+
onDragEnter: P ? void 0 : Je,
|
|
2334
2365
|
onDragLeave: P ? void 0 : we,
|
|
2335
|
-
onDragOver: P ? void 0 :
|
|
2366
|
+
onDragOver: P ? void 0 : eo,
|
|
2336
2367
|
onDrop: P ? void 0 : Ee,
|
|
2337
2368
|
children: [
|
|
2338
|
-
/* @__PURE__ */ a("span", { className:
|
|
2339
|
-
/* @__PURE__ */ a("span", { className:
|
|
2369
|
+
/* @__PURE__ */ a("span", { className: so.uploadIcon, children: q ?? /* @__PURE__ */ a(ni, {}) }),
|
|
2370
|
+
/* @__PURE__ */ a("span", { className: so.dropzoneText, children: Q }),
|
|
2340
2371
|
/* @__PURE__ */ a(
|
|
2341
|
-
|
|
2372
|
+
uo,
|
|
2342
2373
|
{
|
|
2343
2374
|
variant: "outline",
|
|
2344
2375
|
disabled: P,
|
|
@@ -2361,16 +2392,16 @@ const bn = _(
|
|
|
2361
2392
|
]
|
|
2362
2393
|
}
|
|
2363
2394
|
),
|
|
2364
|
-
f && f.length > 0 && (g ? /* @__PURE__ */ a("div", { className:
|
|
2395
|
+
f && f.length > 0 && (g ? /* @__PURE__ */ a("div", { className: so.fileList, children: f.map((I) => {
|
|
2365
2396
|
const U = I.id ?? I.file.name;
|
|
2366
2397
|
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: I.file.name }, U);
|
|
2367
2398
|
}) }) : /* @__PURE__ */ a(
|
|
2368
2399
|
"div",
|
|
2369
2400
|
{
|
|
2370
|
-
className:
|
|
2401
|
+
className: so.fileList,
|
|
2371
2402
|
onKeyDown: V,
|
|
2372
2403
|
children: f.map((I, U) => {
|
|
2373
|
-
const
|
|
2404
|
+
const X = I.id ?? I.file.name;
|
|
2374
2405
|
return /* @__PURE__ */ a(
|
|
2375
2406
|
Mo,
|
|
2376
2407
|
{
|
|
@@ -2381,10 +2412,10 @@ const bn = _(
|
|
|
2381
2412
|
deleteIconRef: (_e) => {
|
|
2382
2413
|
xe.current[U] = _e;
|
|
2383
2414
|
},
|
|
2384
|
-
onDelete: P ? void 0 : () => h == null ? void 0 : h(
|
|
2415
|
+
onDelete: P ? void 0 : () => h == null ? void 0 : h(X),
|
|
2385
2416
|
children: I.file.name
|
|
2386
2417
|
},
|
|
2387
|
-
|
|
2418
|
+
X
|
|
2388
2419
|
);
|
|
2389
2420
|
})
|
|
2390
2421
|
}
|
|
@@ -2397,8 +2428,8 @@ const bn = _(
|
|
|
2397
2428
|
}
|
|
2398
2429
|
);
|
|
2399
2430
|
bn.displayName = "FileUpload";
|
|
2400
|
-
const
|
|
2401
|
-
root:
|
|
2431
|
+
const ai = "Flex-module__root___yYser", So = {
|
|
2432
|
+
root: ai
|
|
2402
2433
|
}, Cn = _(function({ children: e, gap: t = "rec-default", rowGap: o, columnGap: n, ...s }, l) {
|
|
2403
2434
|
const i = {
|
|
2404
2435
|
root: So.root
|
|
@@ -2409,7 +2440,7 @@ const Jl = "Flex-module__root___yYser", So = {
|
|
|
2409
2440
|
}
|
|
2410
2441
|
const d = s.className, p = d ? `${So.root} ${d}` : So.root;
|
|
2411
2442
|
return /* @__PURE__ */ a(
|
|
2412
|
-
|
|
2443
|
+
ir,
|
|
2413
2444
|
{
|
|
2414
2445
|
ref: l,
|
|
2415
2446
|
className: p,
|
|
@@ -2420,9 +2451,9 @@ const Jl = "Flex-module__root___yYser", So = {
|
|
|
2420
2451
|
);
|
|
2421
2452
|
});
|
|
2422
2453
|
Cn.displayName = "Flex";
|
|
2423
|
-
const
|
|
2424
|
-
root:
|
|
2425
|
-
col:
|
|
2454
|
+
const ri = Te(Cn), si = "Grid-module__root___s-qPY", li = "Grid-module__col___tbuNg", Me = {
|
|
2455
|
+
root: si,
|
|
2456
|
+
col: li
|
|
2426
2457
|
}, gn = _(function({ children: e, gutter: t = "rec-default", ...o }, n) {
|
|
2427
2458
|
const s = {
|
|
2428
2459
|
root: Me.root
|
|
@@ -2448,7 +2479,7 @@ const ei = Te(Cn), oi = "Grid-module__root___s-qPY", ti = "Grid-module__col___tb
|
|
|
2448
2479
|
);
|
|
2449
2480
|
});
|
|
2450
2481
|
gn.displayName = "Grid";
|
|
2451
|
-
const
|
|
2482
|
+
const ii = Te(gn), Pn = _(function({ children: e, ...t }, o) {
|
|
2452
2483
|
const n = {
|
|
2453
2484
|
col: Me.col
|
|
2454
2485
|
}, s = t.classNames;
|
|
@@ -2473,10 +2504,10 @@ const ni = Te(gn), Pn = _(function({ children: e, ...t }, o) {
|
|
|
2473
2504
|
Pn.displayName = "GridCol";
|
|
2474
2505
|
const Tn = Te(
|
|
2475
2506
|
Pn
|
|
2476
|
-
), $n =
|
|
2507
|
+
), $n = ii;
|
|
2477
2508
|
$n.Col = Tn;
|
|
2478
|
-
const
|
|
2479
|
-
root:
|
|
2509
|
+
const ci = "Group-module__root___ftO64", xo = {
|
|
2510
|
+
root: ci
|
|
2480
2511
|
}, wn = _(function({ children: e, gap: t = "rec-default", ...o }, n) {
|
|
2481
2512
|
const s = {
|
|
2482
2513
|
root: xo.root
|
|
@@ -2487,7 +2518,7 @@ const ai = "Group-module__root___ftO64", xo = {
|
|
|
2487
2518
|
}
|
|
2488
2519
|
const i = o.className, c = i ? `${xo.root} ${i}` : xo.root;
|
|
2489
2520
|
return /* @__PURE__ */ a(
|
|
2490
|
-
|
|
2521
|
+
cr,
|
|
2491
2522
|
{
|
|
2492
2523
|
ref: n,
|
|
2493
2524
|
className: c,
|
|
@@ -2498,8 +2529,8 @@ const ai = "Group-module__root___ftO64", xo = {
|
|
|
2498
2529
|
);
|
|
2499
2530
|
});
|
|
2500
2531
|
wn.displayName = "Group";
|
|
2501
|
-
const
|
|
2502
|
-
root:
|
|
2532
|
+
const di = "Heading-module__root___-To4U", ui = {
|
|
2533
|
+
root: di
|
|
2503
2534
|
}, Sn = _(
|
|
2504
2535
|
function({ overStyled: e = !1, order: t = 1, ...o }, n) {
|
|
2505
2536
|
const s = [
|
|
@@ -2508,9 +2539,9 @@ const ri = "Heading-module__root___-To4U", si = {
|
|
|
2508
2539
|
], l = G(
|
|
2509
2540
|
u(o, e),
|
|
2510
2541
|
s
|
|
2511
|
-
), i = l.className, d = [`recursica_brand_typography_h${t}`,
|
|
2542
|
+
), i = l.className, d = [`recursica_brand_typography_h${t}`, ui.root, i].filter(Boolean).join(" ");
|
|
2512
2543
|
return /* @__PURE__ */ a(
|
|
2513
|
-
|
|
2544
|
+
dr,
|
|
2514
2545
|
{
|
|
2515
2546
|
ref: n,
|
|
2516
2547
|
...l,
|
|
@@ -2521,9 +2552,9 @@ const ri = "Heading-module__root___-To4U", si = {
|
|
|
2521
2552
|
}
|
|
2522
2553
|
);
|
|
2523
2554
|
Sn.displayName = "Heading";
|
|
2524
|
-
const
|
|
2525
|
-
dropdown:
|
|
2526
|
-
arrow:
|
|
2555
|
+
const pi = "HoverCard-module__dropdown___FBPFW", mi = "HoverCard-module__arrow___S9AkE", Mt = {
|
|
2556
|
+
dropdown: pi,
|
|
2557
|
+
arrow: mi
|
|
2527
2558
|
}, xn = function({
|
|
2528
2559
|
overStyled: e = !1,
|
|
2529
2560
|
withBeak: t = !0,
|
|
@@ -2576,17 +2607,17 @@ kn.displayName = "HoverCardDropdown";
|
|
|
2576
2607
|
const _t = xn;
|
|
2577
2608
|
_t.Target = On;
|
|
2578
2609
|
_t.Dropdown = kn;
|
|
2579
|
-
const
|
|
2580
|
-
root:
|
|
2581
|
-
iconWrapper:
|
|
2582
|
-
labelText:
|
|
2610
|
+
const _i = "Link-module__root___I0VGE", fi = "Link-module__iconWrapper___W-LlF", yi = "Link-module__labelText___wSvUy", Oo = {
|
|
2611
|
+
root: _i,
|
|
2612
|
+
iconWrapper: fi,
|
|
2613
|
+
labelText: yi
|
|
2583
2614
|
}, In = _(function({ icon: e, children: t, overStyled: o = !1, ...n }, s) {
|
|
2584
2615
|
const l = u(n, o), i = l, c = B(
|
|
2585
2616
|
{ root: Oo.root },
|
|
2586
2617
|
i.classNames
|
|
2587
2618
|
), d = i.className, p = d ? `${Oo.root} ${d}` : Oo.root;
|
|
2588
2619
|
return /* @__PURE__ */ A(
|
|
2589
|
-
|
|
2620
|
+
ur,
|
|
2590
2621
|
{
|
|
2591
2622
|
ref: s,
|
|
2592
2623
|
...l,
|
|
@@ -2602,14 +2633,14 @@ const ci = "Link-module__root___I0VGE", di = "Link-module__iconWrapper___W-LlF",
|
|
|
2602
2633
|
);
|
|
2603
2634
|
});
|
|
2604
2635
|
In.displayName = "Link";
|
|
2605
|
-
const
|
|
2606
|
-
dropdown:
|
|
2607
|
-
item:
|
|
2608
|
-
itemLabel:
|
|
2609
|
-
itemSection:
|
|
2610
|
-
divider:
|
|
2611
|
-
label:
|
|
2612
|
-
chevron:
|
|
2636
|
+
const hi = Te(In), vi = "Menu-module__dropdown___j4xuA", Ni = "Menu-module__item___NMXha", bi = "Menu-module__itemLabel___zvcqC", Ci = "Menu-module__itemSection___pRIcn", gi = "Menu-module__divider___wPiNq", Pi = "Menu-module__label___4FBGa", Ti = "Menu-module__chevron___hEEiy", yo = {
|
|
2637
|
+
dropdown: vi,
|
|
2638
|
+
item: Ni,
|
|
2639
|
+
itemLabel: bi,
|
|
2640
|
+
itemSection: Ci,
|
|
2641
|
+
divider: gi,
|
|
2642
|
+
label: Pi,
|
|
2643
|
+
chevron: Ti
|
|
2613
2644
|
}, Rn = function({ overStyled: e = !1, ...t }) {
|
|
2614
2645
|
const n = u(t, e), { maxHeight: s, ...l } = n, i = B(
|
|
2615
2646
|
{
|
|
@@ -2687,7 +2718,7 @@ const An = _(
|
|
|
2687
2718
|
}
|
|
2688
2719
|
);
|
|
2689
2720
|
An.displayName = "MenuItem";
|
|
2690
|
-
const
|
|
2721
|
+
const $i = Te(An), Wn = _(
|
|
2691
2722
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2692
2723
|
const n = u(t, e), s = n.className;
|
|
2693
2724
|
return /* @__PURE__ */ a(
|
|
@@ -2741,7 +2772,7 @@ const Bn = _(
|
|
|
2741
2772
|
}
|
|
2742
2773
|
);
|
|
2743
2774
|
Bn.displayName = "MenuSubItem";
|
|
2744
|
-
const
|
|
2775
|
+
const wi = Te(
|
|
2745
2776
|
Bn
|
|
2746
2777
|
), Fn = _(
|
|
2747
2778
|
function({ overStyled: e = !1, ...t }, o) {
|
|
@@ -2759,25 +2790,25 @@ const Ci = Te(
|
|
|
2759
2790
|
Fn.displayName = "MenuSubDropdown";
|
|
2760
2791
|
const et = Dn;
|
|
2761
2792
|
et.Target = En;
|
|
2762
|
-
et.Item =
|
|
2793
|
+
et.Item = wi;
|
|
2763
2794
|
et.Dropdown = Fn;
|
|
2764
2795
|
const bo = Rn;
|
|
2765
2796
|
bo.Target = Ln;
|
|
2766
2797
|
bo.Dropdown = Mn;
|
|
2767
|
-
bo.Item =
|
|
2798
|
+
bo.Item = $i;
|
|
2768
2799
|
bo.Divider = Wn;
|
|
2769
2800
|
bo.Label = zn;
|
|
2770
2801
|
bo.Sub = et;
|
|
2771
|
-
const
|
|
2772
|
-
root:
|
|
2773
|
-
inner:
|
|
2774
|
-
content:
|
|
2775
|
-
header:
|
|
2776
|
-
title:
|
|
2777
|
-
bodyWrapper:
|
|
2778
|
-
scrollArea:
|
|
2779
|
-
footer:
|
|
2780
|
-
close:
|
|
2802
|
+
const Si = "Modal-module__root___ytPLl", xi = "Modal-module__inner___SSUJE", Oi = "Modal-module__content___dWO-B", ki = "Modal-module__header___ILG9i", Ii = "Modal-module__title___A5OeE", Ri = "Modal-module__bodyWrapper___5CCL-", Li = "Modal-module__scrollArea___KD-hm", Mi = "Modal-module__footer___rro2w", Ai = "Modal-module__close___-ER1C", Ve = {
|
|
2803
|
+
root: Si,
|
|
2804
|
+
inner: xi,
|
|
2805
|
+
content: Oi,
|
|
2806
|
+
header: ki,
|
|
2807
|
+
title: Ii,
|
|
2808
|
+
bodyWrapper: Ri,
|
|
2809
|
+
scrollArea: Li,
|
|
2810
|
+
footer: Mi,
|
|
2811
|
+
close: Ai
|
|
2781
2812
|
}, Un = K.forwardRef(function({
|
|
2782
2813
|
overStyled: e = !1,
|
|
2783
2814
|
children: t,
|
|
@@ -2885,7 +2916,7 @@ const yt = K.forwardRef(
|
|
|
2885
2916
|
}
|
|
2886
2917
|
);
|
|
2887
2918
|
yt.displayName = "Modal.Body";
|
|
2888
|
-
const
|
|
2919
|
+
const Wi = [
|
|
2889
2920
|
"size",
|
|
2890
2921
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2891
2922
|
"radius"
|
|
@@ -2894,7 +2925,7 @@ const Ii = [
|
|
|
2894
2925
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2895
2926
|
const n = G(
|
|
2896
2927
|
u(t, e),
|
|
2897
|
-
|
|
2928
|
+
Wi
|
|
2898
2929
|
);
|
|
2899
2930
|
return /* @__PURE__ */ a(
|
|
2900
2931
|
he.Root,
|
|
@@ -2919,13 +2950,13 @@ const Gn = K.forwardRef(
|
|
|
2919
2950
|
}
|
|
2920
2951
|
);
|
|
2921
2952
|
Gn.displayName = "Modal.Overlay";
|
|
2922
|
-
const
|
|
2953
|
+
const zi = [
|
|
2923
2954
|
"radius"
|
|
2924
2955
|
], Hn = K.forwardRef(
|
|
2925
2956
|
function({ overStyled: e = !1, ...t }, o) {
|
|
2926
2957
|
const n = G(
|
|
2927
2958
|
u(t, e),
|
|
2928
|
-
|
|
2959
|
+
zi
|
|
2929
2960
|
);
|
|
2930
2961
|
return /* @__PURE__ */ a(
|
|
2931
2962
|
he.Content,
|
|
@@ -2963,13 +2994,13 @@ const qn = K.forwardRef(
|
|
|
2963
2994
|
}
|
|
2964
2995
|
);
|
|
2965
2996
|
qn.displayName = "Modal.Title";
|
|
2966
|
-
const
|
|
2997
|
+
const Di = [
|
|
2967
2998
|
"size",
|
|
2968
2999
|
"radius"
|
|
2969
3000
|
], Kn = K.forwardRef(function({ overStyled: e = !1, ...t }, o) {
|
|
2970
3001
|
const n = G(
|
|
2971
3002
|
u(t, e),
|
|
2972
|
-
|
|
3003
|
+
Di
|
|
2973
3004
|
);
|
|
2974
3005
|
return /* @__PURE__ */ a(
|
|
2975
3006
|
he.CloseButton,
|
|
@@ -2980,23 +3011,23 @@ const Li = [
|
|
|
2980
3011
|
);
|
|
2981
3012
|
});
|
|
2982
3013
|
Kn.displayName = "Modal.CloseButton";
|
|
2983
|
-
const
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
const
|
|
2993
|
-
layoutOverride:
|
|
2994
|
-
root:
|
|
2995
|
-
input:
|
|
2996
|
-
section:
|
|
2997
|
-
controls:
|
|
2998
|
-
control:
|
|
2999
|
-
},
|
|
3014
|
+
const Xe = Un;
|
|
3015
|
+
Xe.Root = Vn;
|
|
3016
|
+
Xe.Overlay = Gn;
|
|
3017
|
+
Xe.Content = Hn;
|
|
3018
|
+
Xe.Header = jn;
|
|
3019
|
+
Xe.Title = qn;
|
|
3020
|
+
Xe.CloseButton = Kn;
|
|
3021
|
+
Xe.Body = yt;
|
|
3022
|
+
Xe.Footer = ft;
|
|
3023
|
+
const Ei = "NumberInput-module__layoutOverride___5-9T4", Bi = "NumberInput-module__root___C6rAn", Fi = "NumberInput-module__input___Ss8p7", Ui = "NumberInput-module__section___MijP0", Vi = "NumberInput-module__controls___8UfQ2", Gi = "NumberInput-module__control___Qre9-", ho = {
|
|
3024
|
+
layoutOverride: Ei,
|
|
3025
|
+
root: Bi,
|
|
3026
|
+
input: Fi,
|
|
3027
|
+
section: Ui,
|
|
3028
|
+
controls: Vi,
|
|
3029
|
+
control: Gi
|
|
3030
|
+
}, Hi = [
|
|
3000
3031
|
"size",
|
|
3001
3032
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
3002
3033
|
"variant",
|
|
@@ -3033,8 +3064,8 @@ const Mi = "NumberInput-module__layoutOverride___5-9T4", Ai = "NumberInput-modul
|
|
|
3033
3064
|
...M
|
|
3034
3065
|
} = e, E = G(
|
|
3035
3066
|
u(M, o),
|
|
3036
|
-
|
|
3037
|
-
),
|
|
3067
|
+
Hi
|
|
3068
|
+
), z = E, L = {
|
|
3038
3069
|
wrapper: ho.root,
|
|
3039
3070
|
// The nested Input internal relative wrapper bounding box
|
|
3040
3071
|
input: ho.input,
|
|
@@ -3072,7 +3103,7 @@ const Mi = "NumberInput-module__layoutOverride___5-9T4", Ai = "NumberInput-modul
|
|
|
3072
3103
|
activeComponent: (
|
|
3073
3104
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
3074
3105
|
/* @__PURE__ */ a(
|
|
3075
|
-
|
|
3106
|
+
pr,
|
|
3076
3107
|
{
|
|
3077
3108
|
ref: t,
|
|
3078
3109
|
...E,
|
|
@@ -3089,8 +3120,8 @@ const Mi = "NumberInput-module__layoutOverride___5-9T4", Ai = "NumberInput-modul
|
|
|
3089
3120
|
wrapperProps: {
|
|
3090
3121
|
"data-disabled": $ ? "true" : void 0,
|
|
3091
3122
|
"data-error": y ? "true" : void 0,
|
|
3092
|
-
"data-with-left-section":
|
|
3093
|
-
"data-with-right-section":
|
|
3123
|
+
"data-with-left-section": z.leftSection ? "true" : void 0,
|
|
3124
|
+
"data-with-right-section": z.rightSection || !O ? "true" : void 0
|
|
3094
3125
|
}
|
|
3095
3126
|
}
|
|
3096
3127
|
)
|
|
@@ -3100,17 +3131,17 @@ const Mi = "NumberInput-module__layoutOverride___5-9T4", Ai = "NumberInput-modul
|
|
|
3100
3131
|
}
|
|
3101
3132
|
);
|
|
3102
3133
|
Yn.displayName = "NumberInput";
|
|
3103
|
-
const
|
|
3104
|
-
root:
|
|
3105
|
-
control:
|
|
3106
|
-
dots:
|
|
3107
|
-
iconWithLabel:
|
|
3108
|
-
baseIcon:
|
|
3109
|
-
},
|
|
3110
|
-
next:
|
|
3111
|
-
prev:
|
|
3112
|
-
first:
|
|
3113
|
-
last:
|
|
3134
|
+
const ji = "Pagination-module__root___ITRjt", qi = "Pagination-module__control___40yNT", Ki = "Pagination-module__dots___Yl9da", Yi = "Pagination-module__iconWithLabel___pLM4O", Zi = "Pagination-module__baseIcon___Qw3bJ", Ae = {
|
|
3135
|
+
root: ji,
|
|
3136
|
+
control: qi,
|
|
3137
|
+
dots: Ki,
|
|
3138
|
+
iconWithLabel: Yi,
|
|
3139
|
+
baseIcon: Zi
|
|
3140
|
+
}, Xi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Qi = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Ji = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", ec = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", oc = {
|
|
3141
|
+
next: Xi,
|
|
3142
|
+
prev: Qi,
|
|
3143
|
+
first: Ji,
|
|
3144
|
+
last: ec
|
|
3114
3145
|
}, Wo = ({
|
|
3115
3146
|
type: r,
|
|
3116
3147
|
className: e,
|
|
@@ -3122,15 +3153,15 @@ const Fi = "Pagination-module__root___ITRjt", Ui = "Pagination-module__control__
|
|
|
3122
3153
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3123
3154
|
className: `${Ae.baseIcon} ${e || ""}`.trim(),
|
|
3124
3155
|
...t,
|
|
3125
|
-
children: /* @__PURE__ */ a("path", { d:
|
|
3156
|
+
children: /* @__PURE__ */ a("path", { d: oc[r], fill: "currentColor" })
|
|
3126
3157
|
}
|
|
3127
3158
|
), Zn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3128
3159
|
/* @__PURE__ */ a("span", { children: "Next" }),
|
|
3129
3160
|
/* @__PURE__ */ a(Wo, { type: "next", ...r })
|
|
3130
|
-
] }),
|
|
3161
|
+
] }), Xn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3131
3162
|
/* @__PURE__ */ a(Wo, { type: "prev", ...r }),
|
|
3132
3163
|
/* @__PURE__ */ a("span", { children: "Prev" })
|
|
3133
|
-
] }),
|
|
3164
|
+
] }), Qn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3134
3165
|
/* @__PURE__ */ a(Wo, { type: "first", ...r }),
|
|
3135
3166
|
/* @__PURE__ */ a("span", { children: "First" })
|
|
3136
3167
|
] }), Jn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
@@ -3154,7 +3185,7 @@ const oa = _(
|
|
|
3154
3185
|
n
|
|
3155
3186
|
);
|
|
3156
3187
|
return /* @__PURE__ */ a(
|
|
3157
|
-
|
|
3188
|
+
Ke.Root,
|
|
3158
3189
|
{
|
|
3159
3190
|
ref: o,
|
|
3160
3191
|
...n,
|
|
@@ -3168,7 +3199,7 @@ oa.displayName = "Pagination.Root";
|
|
|
3168
3199
|
const ta = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3169
3200
|
const l = u(n, e), i = t ? Zn : void 0;
|
|
3170
3201
|
return /* @__PURE__ */ a(
|
|
3171
|
-
|
|
3202
|
+
Ke.Next,
|
|
3172
3203
|
{
|
|
3173
3204
|
ref: s,
|
|
3174
3205
|
...l,
|
|
@@ -3179,9 +3210,9 @@ const ta = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
|
3179
3210
|
});
|
|
3180
3211
|
ta.displayName = "Pagination.Next";
|
|
3181
3212
|
const na = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3182
|
-
const l = u(n, e), i = t ?
|
|
3213
|
+
const l = u(n, e), i = t ? Xn : void 0;
|
|
3183
3214
|
return /* @__PURE__ */ a(
|
|
3184
|
-
|
|
3215
|
+
Ke.Previous,
|
|
3185
3216
|
{
|
|
3186
3217
|
ref: s,
|
|
3187
3218
|
...l,
|
|
@@ -3192,9 +3223,9 @@ const na = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
|
3192
3223
|
});
|
|
3193
3224
|
na.displayName = "Pagination.Previous";
|
|
3194
3225
|
const aa = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3195
|
-
const l = u(n, e), i = t ?
|
|
3226
|
+
const l = u(n, e), i = t ? Qn : void 0;
|
|
3196
3227
|
return /* @__PURE__ */ a(
|
|
3197
|
-
|
|
3228
|
+
Ke.First,
|
|
3198
3229
|
{
|
|
3199
3230
|
ref: s,
|
|
3200
3231
|
...l,
|
|
@@ -3207,7 +3238,7 @@ aa.displayName = "Pagination.First";
|
|
|
3207
3238
|
const ra = _(function({ overStyled: e = !1, withLabel: t, icon: o, ...n }, s) {
|
|
3208
3239
|
const l = u(n, e), i = t ? Jn : void 0;
|
|
3209
3240
|
return /* @__PURE__ */ a(
|
|
3210
|
-
|
|
3241
|
+
Ke.Last,
|
|
3211
3242
|
{
|
|
3212
3243
|
ref: s,
|
|
3213
3244
|
...l,
|
|
@@ -3226,13 +3257,13 @@ const sa = _(
|
|
|
3226
3257
|
return t ? { ...m, ...t(p) } : m;
|
|
3227
3258
|
};
|
|
3228
3259
|
return /* @__PURE__ */ a(
|
|
3229
|
-
|
|
3260
|
+
Ke,
|
|
3230
3261
|
{
|
|
3231
3262
|
ref: s,
|
|
3232
3263
|
...o ? {
|
|
3233
3264
|
nextIcon: Zn,
|
|
3234
|
-
previousIcon:
|
|
3235
|
-
firstIcon:
|
|
3265
|
+
previousIcon: Xn,
|
|
3266
|
+
firstIcon: Qn,
|
|
3236
3267
|
lastIcon: Jn
|
|
3237
3268
|
} : {},
|
|
3238
3269
|
...l,
|
|
@@ -3247,7 +3278,7 @@ sa.displayName = "Pagination";
|
|
|
3247
3278
|
const la = _(function({ overStyled: e = !1, ...t }, o) {
|
|
3248
3279
|
const n = u(t, e);
|
|
3249
3280
|
return /* @__PURE__ */ a(
|
|
3250
|
-
|
|
3281
|
+
Ke.Control,
|
|
3251
3282
|
{
|
|
3252
3283
|
ref: o,
|
|
3253
3284
|
...n
|
|
@@ -3259,7 +3290,7 @@ const ia = _(
|
|
|
3259
3290
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3260
3291
|
const n = u(t, e);
|
|
3261
3292
|
return /* @__PURE__ */ a(
|
|
3262
|
-
|
|
3293
|
+
Ke.Dots,
|
|
3263
3294
|
{
|
|
3264
3295
|
ref: o,
|
|
3265
3296
|
...n
|
|
@@ -3270,7 +3301,7 @@ const ia = _(
|
|
|
3270
3301
|
ia.displayName = "Pagination.Dots";
|
|
3271
3302
|
const ze = sa;
|
|
3272
3303
|
ze.Root = oa;
|
|
3273
|
-
ze.Items =
|
|
3304
|
+
ze.Items = Ke.Items;
|
|
3274
3305
|
ze.Control = la;
|
|
3275
3306
|
ze.Dots = ia;
|
|
3276
3307
|
ze.Next = ta;
|
|
@@ -3278,14 +3309,14 @@ ze.Previous = na;
|
|
|
3278
3309
|
ze.First = aa;
|
|
3279
3310
|
ze.Last = ra;
|
|
3280
3311
|
ze.Icon = Wo;
|
|
3281
|
-
const
|
|
3282
|
-
content:
|
|
3283
|
-
inner:
|
|
3284
|
-
header:
|
|
3285
|
-
title:
|
|
3286
|
-
titleTruncate:
|
|
3287
|
-
body:
|
|
3288
|
-
footer:
|
|
3312
|
+
const tc = "Panel-module__content___wdGo-", nc = "Panel-module__inner___ruA2b", ac = "Panel-module__header___o7SiC", rc = "Panel-module__title___181OP", sc = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", lc = "Panel-module__body___SEC3T", ic = "Panel-module__footer___t6-hz", io = {
|
|
3313
|
+
content: tc,
|
|
3314
|
+
inner: nc,
|
|
3315
|
+
header: ac,
|
|
3316
|
+
title: rc,
|
|
3317
|
+
titleTruncate: sc,
|
|
3318
|
+
body: lc,
|
|
3319
|
+
footer: ic
|
|
3289
3320
|
}, ca = function({
|
|
3290
3321
|
overStyled: e = !1,
|
|
3291
3322
|
placement: t = "right",
|
|
@@ -3295,16 +3326,16 @@ const Qi = "Panel-module__content___wdGo-", Xi = "Panel-module__inner___ruA2b",
|
|
|
3295
3326
|
}) {
|
|
3296
3327
|
const l = u(s, e), i = l, c = B(
|
|
3297
3328
|
{
|
|
3298
|
-
content:
|
|
3299
|
-
header:
|
|
3300
|
-
title: n ?
|
|
3301
|
-
body:
|
|
3302
|
-
inner:
|
|
3329
|
+
content: io.content,
|
|
3330
|
+
header: io.header,
|
|
3331
|
+
title: n ? io.titleTruncate : io.title,
|
|
3332
|
+
body: io.body,
|
|
3333
|
+
inner: io.inner
|
|
3303
3334
|
},
|
|
3304
3335
|
i.classNames
|
|
3305
3336
|
);
|
|
3306
3337
|
return /* @__PURE__ */ a(
|
|
3307
|
-
|
|
3338
|
+
Ye,
|
|
3308
3339
|
{
|
|
3309
3340
|
...l,
|
|
3310
3341
|
position: t,
|
|
@@ -3320,7 +3351,7 @@ const Qi = "Panel-module__content___wdGo-", Xi = "Panel-module__inner___ruA2b",
|
|
|
3320
3351
|
ca.displayName = "Panel";
|
|
3321
3352
|
const ht = _(
|
|
3322
3353
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3323
|
-
const n = u(t, e), s = n.className, l = s ? `${
|
|
3354
|
+
const n = u(t, e), s = n.className, l = s ? `${io.footer} ${s}` : io.footer;
|
|
3324
3355
|
return /* @__PURE__ */ a("div", { ref: o, ...n, className: l });
|
|
3325
3356
|
}
|
|
3326
3357
|
);
|
|
@@ -3329,7 +3360,7 @@ const da = _(
|
|
|
3329
3360
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3330
3361
|
const n = u(t, e);
|
|
3331
3362
|
return /* @__PURE__ */ a(
|
|
3332
|
-
|
|
3363
|
+
Ye.Root,
|
|
3333
3364
|
{
|
|
3334
3365
|
ref: o,
|
|
3335
3366
|
...n
|
|
@@ -3342,7 +3373,7 @@ const ua = _(
|
|
|
3342
3373
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3343
3374
|
const n = u(t, e);
|
|
3344
3375
|
return /* @__PURE__ */ a(
|
|
3345
|
-
|
|
3376
|
+
Ye.Overlay,
|
|
3346
3377
|
{
|
|
3347
3378
|
ref: o,
|
|
3348
3379
|
...n
|
|
@@ -3355,7 +3386,7 @@ const pa = _(
|
|
|
3355
3386
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3356
3387
|
const n = u(t, e);
|
|
3357
3388
|
return /* @__PURE__ */ a(
|
|
3358
|
-
|
|
3389
|
+
Ye.Content,
|
|
3359
3390
|
{
|
|
3360
3391
|
ref: o,
|
|
3361
3392
|
...n
|
|
@@ -3368,7 +3399,7 @@ const ma = _(
|
|
|
3368
3399
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3369
3400
|
const n = u(t, e);
|
|
3370
3401
|
return /* @__PURE__ */ a(
|
|
3371
|
-
|
|
3402
|
+
Ye.Header,
|
|
3372
3403
|
{
|
|
3373
3404
|
ref: o,
|
|
3374
3405
|
...n
|
|
@@ -3381,7 +3412,7 @@ const _a = _(
|
|
|
3381
3412
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3382
3413
|
const n = u(t, e);
|
|
3383
3414
|
return /* @__PURE__ */ a(
|
|
3384
|
-
|
|
3415
|
+
Ye.Title,
|
|
3385
3416
|
{
|
|
3386
3417
|
ref: o,
|
|
3387
3418
|
...n
|
|
@@ -3393,7 +3424,7 @@ _a.displayName = "PanelTitle";
|
|
|
3393
3424
|
const fa = _(function({ overStyled: e = !1, ...t }, o) {
|
|
3394
3425
|
const n = u(t, e);
|
|
3395
3426
|
return /* @__PURE__ */ a(
|
|
3396
|
-
|
|
3427
|
+
Ye.CloseButton,
|
|
3397
3428
|
{
|
|
3398
3429
|
ref: o,
|
|
3399
3430
|
...n
|
|
@@ -3405,7 +3436,7 @@ const ya = _(
|
|
|
3405
3436
|
function({ overStyled: e = !1, ...t }, o) {
|
|
3406
3437
|
const n = u(t, e);
|
|
3407
3438
|
return /* @__PURE__ */ a(
|
|
3408
|
-
|
|
3439
|
+
Ye.Body,
|
|
3409
3440
|
{
|
|
3410
3441
|
ref: o,
|
|
3411
3442
|
...n
|
|
@@ -3422,11 +3453,11 @@ De.Header = ma;
|
|
|
3422
3453
|
De.Title = _a;
|
|
3423
3454
|
De.CloseButton = fa;
|
|
3424
3455
|
De.Body = ya;
|
|
3425
|
-
De.Stack =
|
|
3456
|
+
De.Stack = Ye.Stack;
|
|
3426
3457
|
De.Footer = ht;
|
|
3427
|
-
const
|
|
3428
|
-
dropdown:
|
|
3429
|
-
arrow:
|
|
3458
|
+
const cc = "Popover-module__dropdown___svhS6", dc = "Popover-module__arrow___5A-0e", At = {
|
|
3459
|
+
dropdown: cc,
|
|
3460
|
+
arrow: dc
|
|
3430
3461
|
}, ha = function({
|
|
3431
3462
|
overStyled: e = !1,
|
|
3432
3463
|
withBeak: t = !0,
|
|
@@ -3477,15 +3508,15 @@ Na.displayName = "PopoverDropdown";
|
|
|
3477
3508
|
const vt = ha;
|
|
3478
3509
|
vt.Target = va;
|
|
3479
3510
|
vt.Dropdown = Na;
|
|
3480
|
-
const
|
|
3481
|
-
groupRoot:
|
|
3482
|
-
root:
|
|
3483
|
-
body:
|
|
3484
|
-
inner:
|
|
3485
|
-
radio:
|
|
3486
|
-
icon:
|
|
3487
|
-
labelWrapper:
|
|
3488
|
-
label:
|
|
3511
|
+
const uc = "Radio-module__groupRoot___bfUii", pc = "Radio-module__root___kAjTD", mc = "Radio-module__body___q2Wpj", _c = "Radio-module__inner___QaTBB", fc = "Radio-module__radio___MfgN-", yc = "Radio-module__icon___DWznm", hc = "Radio-module__labelWrapper___dB0Gi", vc = "Radio-module__label___vAFIP", Re = {
|
|
3512
|
+
groupRoot: uc,
|
|
3513
|
+
root: pc,
|
|
3514
|
+
body: mc,
|
|
3515
|
+
inner: _c,
|
|
3516
|
+
radio: fc,
|
|
3517
|
+
icon: yc,
|
|
3518
|
+
labelWrapper: hc,
|
|
3519
|
+
label: vc
|
|
3489
3520
|
}, Nt = _(
|
|
3490
3521
|
function(e, t) {
|
|
3491
3522
|
const {
|
|
@@ -3518,10 +3549,10 @@ const sc = "Radio-module__groupRoot___bfUii", lc = "Radio-module__root___kAjTD",
|
|
|
3518
3549
|
} = e, E = [
|
|
3519
3550
|
"size"
|
|
3520
3551
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3521
|
-
],
|
|
3552
|
+
], z = G(
|
|
3522
3553
|
u(M, o),
|
|
3523
3554
|
E
|
|
3524
|
-
), L =
|
|
3555
|
+
), L = z;
|
|
3525
3556
|
return /* @__PURE__ */ a(
|
|
3526
3557
|
ve,
|
|
3527
3558
|
{
|
|
@@ -3555,7 +3586,7 @@ const sc = "Radio-module__groupRoot___bfUii", lc = "Radio-module__root___kAjTD",
|
|
|
3555
3586
|
Ht.Group,
|
|
3556
3587
|
{
|
|
3557
3588
|
ref: t,
|
|
3558
|
-
...
|
|
3589
|
+
...z,
|
|
3559
3590
|
disabled: g || L.disabled,
|
|
3560
3591
|
value: h,
|
|
3561
3592
|
defaultValue: O,
|
|
@@ -3567,7 +3598,7 @@ const sc = "Radio-module__groupRoot___bfUii", lc = "Radio-module__root___kAjTD",
|
|
|
3567
3598
|
}
|
|
3568
3599
|
);
|
|
3569
3600
|
Nt.displayName = "RadioGroup";
|
|
3570
|
-
const
|
|
3601
|
+
const Nc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
3571
3602
|
"svg",
|
|
3572
3603
|
{
|
|
3573
3604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3626,7 +3657,7 @@ const _c = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3626
3657
|
}
|
|
3627
3658
|
);
|
|
3628
3659
|
return c ? /* @__PURE__ */ a(
|
|
3629
|
-
|
|
3660
|
+
je,
|
|
3630
3661
|
{
|
|
3631
3662
|
formLayout: c,
|
|
3632
3663
|
labelSize: d,
|
|
@@ -3641,14 +3672,14 @@ const _c = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3641
3672
|
{
|
|
3642
3673
|
ref: t,
|
|
3643
3674
|
...N,
|
|
3644
|
-
icon: me(
|
|
3675
|
+
icon: me(Nc, i),
|
|
3645
3676
|
className: T,
|
|
3646
3677
|
classNames: S,
|
|
3647
3678
|
disabled: n || l
|
|
3648
3679
|
}
|
|
3649
3680
|
);
|
|
3650
3681
|
return c ? /* @__PURE__ */ a(
|
|
3651
|
-
|
|
3682
|
+
je,
|
|
3652
3683
|
{
|
|
3653
3684
|
formLayout: c,
|
|
3654
3685
|
labelSize: d,
|
|
@@ -3661,13 +3692,13 @@ const _c = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3661
3692
|
);
|
|
3662
3693
|
bt.displayName = "Radio";
|
|
3663
3694
|
bt.Group = Nt;
|
|
3664
|
-
const
|
|
3665
|
-
root:
|
|
3666
|
-
label:
|
|
3667
|
-
control:
|
|
3668
|
-
indicator:
|
|
3695
|
+
const bc = "SegmentedControl-module__root___JFRhg", Cc = "SegmentedControl-module__label___mS17q", gc = "SegmentedControl-module__control___znOdQ", Pc = "SegmentedControl-module__indicator___ZMcJy", go = {
|
|
3696
|
+
root: bc,
|
|
3697
|
+
label: Cc,
|
|
3698
|
+
control: gc,
|
|
3699
|
+
indicator: Pc
|
|
3669
3700
|
};
|
|
3670
|
-
function
|
|
3701
|
+
function Tc(r) {
|
|
3671
3702
|
const e = B(
|
|
3672
3703
|
{
|
|
3673
3704
|
root: go.root,
|
|
@@ -3687,7 +3718,7 @@ const ba = _(
|
|
|
3687
3718
|
data: n = [],
|
|
3688
3719
|
...s
|
|
3689
3720
|
}, l) {
|
|
3690
|
-
const i = u(s, e), d =
|
|
3721
|
+
const i = u(s, e), d = Tc(i), p = n.map(
|
|
3691
3722
|
(m) => typeof m == "string" || !m.icon ? m : {
|
|
3692
3723
|
...m,
|
|
3693
3724
|
label: /* @__PURE__ */ A(No, { children: [
|
|
@@ -3697,7 +3728,7 @@ const ba = _(
|
|
|
3697
3728
|
}
|
|
3698
3729
|
);
|
|
3699
3730
|
return /* @__PURE__ */ a(
|
|
3700
|
-
|
|
3731
|
+
mr,
|
|
3701
3732
|
{
|
|
3702
3733
|
ref: l,
|
|
3703
3734
|
...i,
|
|
@@ -3712,24 +3743,24 @@ const ba = _(
|
|
|
3712
3743
|
}
|
|
3713
3744
|
);
|
|
3714
3745
|
ba.displayName = "SegmentedControl";
|
|
3715
|
-
const
|
|
3716
|
-
layoutOverride:
|
|
3717
|
-
sliderContainer:
|
|
3718
|
-
sliderTrackWrapper:
|
|
3719
|
-
iconWrapper:
|
|
3720
|
-
sliderRoot:
|
|
3721
|
-
sliderTrack:
|
|
3722
|
-
sliderBar:
|
|
3723
|
-
sliderThumb:
|
|
3724
|
-
sliderMarkWrapper:
|
|
3725
|
-
sliderMark:
|
|
3726
|
-
sliderMarkLabel:
|
|
3727
|
-
minMaxGuide:
|
|
3728
|
-
rightGuideContainer:
|
|
3729
|
-
currentValue:
|
|
3730
|
-
inputField:
|
|
3731
|
-
readOnlyValue:
|
|
3732
|
-
},
|
|
3746
|
+
const $c = ba, wc = "Slider-module__layoutOverride___zYPun", Sc = "Slider-module__sliderContainer___y8I0J", xc = "Slider-module__sliderTrackWrapper___UHpVh", Oc = "Slider-module__iconWrapper___uqHpC", kc = "Slider-module__sliderRoot___LI86H", Ic = "Slider-module__sliderTrack___oqnlG", Rc = "Slider-module__sliderBar___TI4VY", Lc = "Slider-module__sliderThumb___OFn8p", Mc = "Slider-module__sliderMarkWrapper___Ufqhu", Ac = "Slider-module__sliderMark___1lM2B", Wc = "Slider-module__sliderMarkLabel___MMZrq", zc = "Slider-module__minMaxGuide___TaGqz", Dc = "Slider-module__rightGuideContainer___8dOT8", Ec = "Slider-module__currentValue___dGV2T", Bc = "Slider-module__inputField___6x578", Fc = "Slider-module__readOnlyValue___-ZzMW", oe = {
|
|
3747
|
+
layoutOverride: wc,
|
|
3748
|
+
sliderContainer: Sc,
|
|
3749
|
+
sliderTrackWrapper: xc,
|
|
3750
|
+
iconWrapper: Oc,
|
|
3751
|
+
sliderRoot: kc,
|
|
3752
|
+
sliderTrack: Ic,
|
|
3753
|
+
sliderBar: Rc,
|
|
3754
|
+
sliderThumb: Lc,
|
|
3755
|
+
sliderMarkWrapper: Mc,
|
|
3756
|
+
sliderMark: Ac,
|
|
3757
|
+
sliderMarkLabel: Wc,
|
|
3758
|
+
minMaxGuide: zc,
|
|
3759
|
+
rightGuideContainer: Dc,
|
|
3760
|
+
currentValue: Ec,
|
|
3761
|
+
inputField: Bc,
|
|
3762
|
+
readOnlyValue: Fc
|
|
3763
|
+
}, Uc = ({
|
|
3733
3764
|
value: r
|
|
3734
3765
|
}) => {
|
|
3735
3766
|
const e = Array.isArray(r) ? `${r[0]} – ${r[1]}` : r;
|
|
@@ -3763,17 +3794,17 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3763
3794
|
value: O,
|
|
3764
3795
|
defaultValue: M,
|
|
3765
3796
|
icon: E,
|
|
3766
|
-
trailingIcon:
|
|
3797
|
+
trailingIcon: z,
|
|
3767
3798
|
showInput: L = !1,
|
|
3768
3799
|
showMinMaxLabels: Z = !0,
|
|
3769
3800
|
min: j = 0,
|
|
3770
3801
|
max: q = 100,
|
|
3771
|
-
minLabel:
|
|
3802
|
+
minLabel: Q,
|
|
3772
3803
|
maxLabel: H,
|
|
3773
3804
|
step: Y = 1,
|
|
3774
3805
|
onChange: ee,
|
|
3775
3806
|
onChangeEnd: ue,
|
|
3776
|
-
...
|
|
3807
|
+
...W
|
|
3777
3808
|
} = e, [re, pe] = ce(() => O !== void 0 ? O : M !== void 0 ? M : j), k = O !== void 0 ? O : re, le = Array.isArray(k), [Ne, se] = ce(
|
|
3778
3809
|
() => Array.isArray(k) ? [k[0].toString(), k[1].toString()] : k.toString()
|
|
3779
3810
|
);
|
|
@@ -3785,32 +3816,32 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3785
3816
|
const ie = (F) => {
|
|
3786
3817
|
O === void 0 && pe(F), ee == null || ee(F);
|
|
3787
3818
|
}, be = (F) => {
|
|
3788
|
-
const
|
|
3789
|
-
se(
|
|
3790
|
-
const I = parseFloat(
|
|
3819
|
+
const D = F.target.value;
|
|
3820
|
+
se(D);
|
|
3821
|
+
const I = parseFloat(D);
|
|
3791
3822
|
if (!isNaN(I)) {
|
|
3792
3823
|
const U = Math.max(j, Math.min(q, I));
|
|
3793
3824
|
ie(U);
|
|
3794
3825
|
}
|
|
3795
3826
|
}, $e = () => {
|
|
3796
3827
|
se(k.toString());
|
|
3797
|
-
},
|
|
3798
|
-
const
|
|
3799
|
-
se([I,
|
|
3828
|
+
}, Je = (F) => {
|
|
3829
|
+
const D = k, I = F.target.value;
|
|
3830
|
+
se([I, D[1].toString()]);
|
|
3800
3831
|
const U = parseFloat(I);
|
|
3801
3832
|
if (!isNaN(U)) {
|
|
3802
|
-
const
|
|
3803
|
-
ie([
|
|
3833
|
+
const X = Math.max(j, Math.min(D[1], U));
|
|
3834
|
+
ie([X, D[1]]);
|
|
3804
3835
|
}
|
|
3805
3836
|
}, we = (F) => {
|
|
3806
|
-
const
|
|
3807
|
-
se([
|
|
3837
|
+
const D = k, I = F.target.value;
|
|
3838
|
+
se([D[0].toString(), I]);
|
|
3808
3839
|
const U = parseFloat(I);
|
|
3809
3840
|
if (!isNaN(U)) {
|
|
3810
|
-
const
|
|
3811
|
-
ie([
|
|
3841
|
+
const X = Math.max(D[0], Math.min(q, U));
|
|
3842
|
+
ie([D[0], X]);
|
|
3812
3843
|
}
|
|
3813
|
-
},
|
|
3844
|
+
}, eo = () => {
|
|
3814
3845
|
const F = k;
|
|
3815
3846
|
se([F[0].toString(), F[1].toString()]);
|
|
3816
3847
|
}, Ee = [
|
|
@@ -3825,7 +3856,7 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3825
3856
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3826
3857
|
"wrapperProps"
|
|
3827
3858
|
], Be = G(
|
|
3828
|
-
u(
|
|
3859
|
+
u(W, o),
|
|
3829
3860
|
Ee
|
|
3830
3861
|
), mo = Be, Se = B(
|
|
3831
3862
|
{
|
|
@@ -3838,12 +3869,12 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3838
3869
|
markLabel: oe.sliderMarkLabel
|
|
3839
3870
|
},
|
|
3840
3871
|
mo.classNames
|
|
3841
|
-
),
|
|
3872
|
+
), oo = $ ? `${oe.layoutOverride} ${$}` : oe.layoutOverride, xe = E ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: E }) : null, to = z ? /* @__PURE__ */ a("span", { className: oe.iconWrapper, "aria-hidden": !0, children: z }) : null, V = Array.isArray(k) ? typeof C == "function" ? `${C(k[0])} – ${C(k[1])}` : `${k[0]} – ${k[1]}` : typeof C == "function" ? C(k) : k;
|
|
3842
3873
|
return /* @__PURE__ */ a(
|
|
3843
3874
|
ve,
|
|
3844
3875
|
{
|
|
3845
3876
|
ref: t,
|
|
3846
|
-
className:
|
|
3877
|
+
className: oo,
|
|
3847
3878
|
style: P,
|
|
3848
3879
|
controlMaxWidth: void 0,
|
|
3849
3880
|
controlMinWidth: void 0,
|
|
@@ -3863,7 +3894,7 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3863
3894
|
withAsterisk: b,
|
|
3864
3895
|
id: T,
|
|
3865
3896
|
readOnly: f,
|
|
3866
|
-
readOnlyComponent: w ||
|
|
3897
|
+
readOnlyComponent: w || Uc,
|
|
3867
3898
|
emptyValueComponent: h,
|
|
3868
3899
|
readOnlyType: "text",
|
|
3869
3900
|
readOnlyValue: k,
|
|
@@ -3882,8 +3913,8 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3882
3913
|
type: "number",
|
|
3883
3914
|
className: oe.inputField,
|
|
3884
3915
|
value: Ne[0],
|
|
3885
|
-
onChange:
|
|
3886
|
-
onBlur:
|
|
3916
|
+
onChange: Je,
|
|
3917
|
+
onBlur: eo,
|
|
3887
3918
|
min: j,
|
|
3888
3919
|
max: k[1],
|
|
3889
3920
|
step: Y,
|
|
@@ -3893,9 +3924,9 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3893
3924
|
}
|
|
3894
3925
|
),
|
|
3895
3926
|
xe,
|
|
3896
|
-
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children:
|
|
3927
|
+
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: Q ?? j }),
|
|
3897
3928
|
/* @__PURE__ */ a("div", { className: oe.sliderTrackWrapper, children: le ? /* @__PURE__ */ a(
|
|
3898
|
-
|
|
3929
|
+
_r,
|
|
3899
3930
|
{
|
|
3900
3931
|
...Be,
|
|
3901
3932
|
classNames: Se,
|
|
@@ -3909,7 +3940,7 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3909
3940
|
label: C
|
|
3910
3941
|
}
|
|
3911
3942
|
) : /* @__PURE__ */ a(
|
|
3912
|
-
|
|
3943
|
+
fr,
|
|
3913
3944
|
{
|
|
3914
3945
|
...Be,
|
|
3915
3946
|
classNames: Se,
|
|
@@ -3927,7 +3958,7 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3927
3958
|
!L && /* @__PURE__ */ a("span", { className: oe.currentValue, children: V }),
|
|
3928
3959
|
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: H ?? q })
|
|
3929
3960
|
] }),
|
|
3930
|
-
|
|
3961
|
+
to,
|
|
3931
3962
|
L && (le ? /* @__PURE__ */ a(
|
|
3932
3963
|
"input",
|
|
3933
3964
|
{
|
|
@@ -3935,7 +3966,7 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3935
3966
|
className: oe.inputField,
|
|
3936
3967
|
value: Ne[1],
|
|
3937
3968
|
onChange: we,
|
|
3938
|
-
onBlur:
|
|
3969
|
+
onBlur: eo,
|
|
3939
3970
|
min: k[0],
|
|
3940
3971
|
max: q,
|
|
3941
3972
|
step: Y,
|
|
@@ -3966,8 +3997,8 @@ const bc = ba, Cc = "Slider-module__layoutOverride___zYPun", gc = "Slider-module
|
|
|
3966
3997
|
}
|
|
3967
3998
|
);
|
|
3968
3999
|
Ca.displayName = "Slider";
|
|
3969
|
-
const
|
|
3970
|
-
root:
|
|
4000
|
+
const Vc = "Stack-module__root___NUN-x", ko = {
|
|
4001
|
+
root: Vc
|
|
3971
4002
|
}, ga = _(function({ children: e, gap: t = "rec-default", ...o }, n) {
|
|
3972
4003
|
const s = {
|
|
3973
4004
|
root: ko.root
|
|
@@ -3978,7 +4009,7 @@ const Dc = "Stack-module__root___NUN-x", ko = {
|
|
|
3978
4009
|
}
|
|
3979
4010
|
const i = o.className, c = i ? `${ko.root} ${i}` : ko.root;
|
|
3980
4011
|
return /* @__PURE__ */ a(
|
|
3981
|
-
|
|
4012
|
+
yr,
|
|
3982
4013
|
{
|
|
3983
4014
|
ref: n,
|
|
3984
4015
|
className: c,
|
|
@@ -3989,22 +4020,22 @@ const Dc = "Stack-module__root___NUN-x", ko = {
|
|
|
3989
4020
|
);
|
|
3990
4021
|
});
|
|
3991
4022
|
ga.displayName = "Stack";
|
|
3992
|
-
const
|
|
3993
|
-
root:
|
|
3994
|
-
horizontal:
|
|
3995
|
-
steps:
|
|
3996
|
-
step:
|
|
3997
|
-
stepBody:
|
|
3998
|
-
stepLabel:
|
|
3999
|
-
stepDescription:
|
|
4000
|
-
separator:
|
|
4001
|
-
vertical:
|
|
4002
|
-
large:
|
|
4003
|
-
small:
|
|
4004
|
-
stepIcon:
|
|
4005
|
-
stepCompletedIcon:
|
|
4006
|
-
verticalSeparator:
|
|
4007
|
-
content:
|
|
4023
|
+
const Gc = Te(ga), Hc = "Stepper-module__root___jbSYO", jc = "Stepper-module__horizontal___USHT1", qc = "Stepper-module__steps___4HPO6", Kc = "Stepper-module__step___s2nqL", Yc = "Stepper-module__stepBody___TBvys", Zc = "Stepper-module__stepLabel___N6nuy", Xc = "Stepper-module__stepDescription___DnDAy", Qc = "Stepper-module__separator___pU0No", Jc = "Stepper-module__vertical___d4mOs", ed = "Stepper-module__large___J18-y", od = "Stepper-module__small___Ub-zb", td = "Stepper-module__stepIcon___YQHNq", nd = "Stepper-module__stepCompletedIcon___B9MeL", ad = "Stepper-module__verticalSeparator___frWc1", rd = "Stepper-module__content___J-h8X", de = {
|
|
4024
|
+
root: Hc,
|
|
4025
|
+
horizontal: jc,
|
|
4026
|
+
steps: qc,
|
|
4027
|
+
step: Kc,
|
|
4028
|
+
stepBody: Yc,
|
|
4029
|
+
stepLabel: Zc,
|
|
4030
|
+
stepDescription: Xc,
|
|
4031
|
+
separator: Qc,
|
|
4032
|
+
vertical: Jc,
|
|
4033
|
+
large: ed,
|
|
4034
|
+
small: od,
|
|
4035
|
+
stepIcon: td,
|
|
4036
|
+
stepCompletedIcon: nd,
|
|
4037
|
+
verticalSeparator: ad,
|
|
4038
|
+
content: rd
|
|
4008
4039
|
}, Pa = _(
|
|
4009
4040
|
function(e, t) {
|
|
4010
4041
|
const {
|
|
@@ -4056,24 +4087,24 @@ const Ec = Te(ga), Bc = "Stepper-module__root___jbSYO", Fc = "Stepper-module__ho
|
|
|
4056
4087
|
}
|
|
4057
4088
|
);
|
|
4058
4089
|
Ta.displayName = "Stepper.Step";
|
|
4059
|
-
const
|
|
4090
|
+
const sd = Object.assign(Pa, {
|
|
4060
4091
|
Step: Ta,
|
|
4061
4092
|
// Stepper.Completed only accepts `children` — no styling props to strip,
|
|
4062
4093
|
// so re-exporting Mantine's implementation directly is not a gap.
|
|
4063
4094
|
Completed: it.Completed
|
|
4064
4095
|
});
|
|
4065
4096
|
Pa.displayName = "Stepper";
|
|
4066
|
-
const
|
|
4067
|
-
root:
|
|
4068
|
-
track:
|
|
4069
|
-
body:
|
|
4070
|
-
thumb:
|
|
4071
|
-
labelWrapper:
|
|
4072
|
-
label:
|
|
4073
|
-
thumbIconWrapper:
|
|
4074
|
-
checkIcon:
|
|
4075
|
-
closeIcon:
|
|
4076
|
-
groupRoot:
|
|
4097
|
+
const ld = "Switch-module__root___Y5Ydi", id = "Switch-module__track___7ObdZ", cd = "Switch-module__body___Sw9Wr", dd = "Switch-module__thumb___-FTeK", ud = "Switch-module__labelWrapper___YSOwx", pd = "Switch-module__label___LrH7V", md = "Switch-module__thumbIconWrapper___sCY-1", _d = "Switch-module__checkIcon___ZBAQN", fd = "Switch-module__closeIcon___bLLGw", yd = "Switch-module__groupRoot___-Uepi", ye = {
|
|
4098
|
+
root: ld,
|
|
4099
|
+
track: id,
|
|
4100
|
+
body: cd,
|
|
4101
|
+
thumb: dd,
|
|
4102
|
+
labelWrapper: ud,
|
|
4103
|
+
label: pd,
|
|
4104
|
+
thumbIconWrapper: md,
|
|
4105
|
+
checkIcon: _d,
|
|
4106
|
+
closeIcon: fd,
|
|
4107
|
+
groupRoot: yd
|
|
4077
4108
|
}, Ct = _(
|
|
4078
4109
|
function(e, t) {
|
|
4079
4110
|
const {
|
|
@@ -4106,10 +4137,10 @@ const td = "Switch-module__root___Y5Ydi", nd = "Switch-module__track___7ObdZ", a
|
|
|
4106
4137
|
} = e, E = [
|
|
4107
4138
|
"size"
|
|
4108
4139
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4109
|
-
],
|
|
4140
|
+
], z = G(
|
|
4110
4141
|
u(M, o),
|
|
4111
4142
|
E
|
|
4112
|
-
), L =
|
|
4143
|
+
), L = z;
|
|
4113
4144
|
return /* @__PURE__ */ a(
|
|
4114
4145
|
ve,
|
|
4115
4146
|
{
|
|
@@ -4143,7 +4174,7 @@ const td = "Switch-module__root___Y5Ydi", nd = "Switch-module__track___7ObdZ", a
|
|
|
4143
4174
|
jt.Group,
|
|
4144
4175
|
{
|
|
4145
4176
|
ref: t,
|
|
4146
|
-
...
|
|
4177
|
+
...z,
|
|
4147
4178
|
disabled: g || L.disabled,
|
|
4148
4179
|
value: h,
|
|
4149
4180
|
defaultValue: O,
|
|
@@ -4191,7 +4222,7 @@ const gt = _(
|
|
|
4191
4222
|
label: ye.label
|
|
4192
4223
|
},
|
|
4193
4224
|
v.classNames
|
|
4194
|
-
), b =
|
|
4225
|
+
), b = zr(
|
|
4195
4226
|
{},
|
|
4196
4227
|
v.styles
|
|
4197
4228
|
), T = v.className, $ = T ? `${ye.root} ${T}` : ye.root;
|
|
@@ -4205,7 +4236,7 @@ const gt = _(
|
|
|
4205
4236
|
}
|
|
4206
4237
|
);
|
|
4207
4238
|
return c ? /* @__PURE__ */ a(
|
|
4208
|
-
|
|
4239
|
+
je,
|
|
4209
4240
|
{
|
|
4210
4241
|
formLayout: c,
|
|
4211
4242
|
labelSize: d,
|
|
@@ -4216,8 +4247,8 @@ const gt = _(
|
|
|
4216
4247
|
) : /* @__PURE__ */ a(No, { children: h });
|
|
4217
4248
|
}
|
|
4218
4249
|
const P = /* @__PURE__ */ A("div", { className: ye.thumbIconWrapper, children: [
|
|
4219
|
-
/* @__PURE__ */ a(
|
|
4220
|
-
/* @__PURE__ */ a(
|
|
4250
|
+
/* @__PURE__ */ a(hr, { className: ye.checkIcon }),
|
|
4251
|
+
/* @__PURE__ */ a(vr, { className: ye.closeIcon })
|
|
4221
4252
|
] }), g = /* @__PURE__ */ a(
|
|
4222
4253
|
jt,
|
|
4223
4254
|
{
|
|
@@ -4235,7 +4266,7 @@ const gt = _(
|
|
|
4235
4266
|
}
|
|
4236
4267
|
);
|
|
4237
4268
|
return c ? /* @__PURE__ */ a(
|
|
4238
|
-
|
|
4269
|
+
je,
|
|
4239
4270
|
{
|
|
4240
4271
|
formLayout: c,
|
|
4241
4272
|
labelSize: d,
|
|
@@ -4248,11 +4279,11 @@ const gt = _(
|
|
|
4248
4279
|
);
|
|
4249
4280
|
gt.displayName = "Switch";
|
|
4250
4281
|
gt.Group = Ct;
|
|
4251
|
-
const
|
|
4252
|
-
root:
|
|
4253
|
-
sortIcon:
|
|
4282
|
+
const hd = "Table-module__root___aMWWS", vd = "Table-module__sortIcon___V3-dH", rt = {
|
|
4283
|
+
root: hd,
|
|
4284
|
+
sortIcon: vd
|
|
4254
4285
|
};
|
|
4255
|
-
function
|
|
4286
|
+
function Nd(r) {
|
|
4256
4287
|
return /* @__PURE__ */ a(
|
|
4257
4288
|
"svg",
|
|
4258
4289
|
{
|
|
@@ -4268,7 +4299,7 @@ function _d(r) {
|
|
|
4268
4299
|
}
|
|
4269
4300
|
);
|
|
4270
4301
|
}
|
|
4271
|
-
function
|
|
4302
|
+
function bd(r) {
|
|
4272
4303
|
return /* @__PURE__ */ a(
|
|
4273
4304
|
"svg",
|
|
4274
4305
|
{
|
|
@@ -4287,7 +4318,7 @@ function fd(r) {
|
|
|
4287
4318
|
const $a = _(function({ overStyled: e = !1, ...t }, o) {
|
|
4288
4319
|
const n = u(t, e), s = n.className, l = rt.root, i = s ? `${l} ${s}` : l;
|
|
4289
4320
|
return /* @__PURE__ */ a(
|
|
4290
|
-
|
|
4321
|
+
Ze,
|
|
4291
4322
|
{
|
|
4292
4323
|
ref: o,
|
|
4293
4324
|
...n,
|
|
@@ -4300,7 +4331,7 @@ const wa = _(
|
|
|
4300
4331
|
function({ overStyled: e = !1, ...t }, o) {
|
|
4301
4332
|
const n = u(t, e);
|
|
4302
4333
|
return /* @__PURE__ */ a(
|
|
4303
|
-
|
|
4334
|
+
Ze.Thead,
|
|
4304
4335
|
{
|
|
4305
4336
|
ref: o,
|
|
4306
4337
|
...n
|
|
@@ -4313,7 +4344,7 @@ const Sa = _(
|
|
|
4313
4344
|
function({ overStyled: e = !1, ...t }, o) {
|
|
4314
4345
|
const n = u(t, e);
|
|
4315
4346
|
return /* @__PURE__ */ a(
|
|
4316
|
-
|
|
4347
|
+
Ze.Tbody,
|
|
4317
4348
|
{
|
|
4318
4349
|
ref: o,
|
|
4319
4350
|
...n
|
|
@@ -4326,7 +4357,7 @@ const xa = _(
|
|
|
4326
4357
|
function({ overStyled: e = !1, selected: t = !1, disabled: o = !1, ...n }, s) {
|
|
4327
4358
|
const l = u(n, e);
|
|
4328
4359
|
return /* @__PURE__ */ a(
|
|
4329
|
-
|
|
4360
|
+
Ze.Tr,
|
|
4330
4361
|
{
|
|
4331
4362
|
ref: s,
|
|
4332
4363
|
...l,
|
|
@@ -4348,7 +4379,7 @@ const Oa = _(
|
|
|
4348
4379
|
}, i) {
|
|
4349
4380
|
const c = u(l, e);
|
|
4350
4381
|
return /* @__PURE__ */ A(
|
|
4351
|
-
|
|
4382
|
+
Ze.Th,
|
|
4352
4383
|
{
|
|
4353
4384
|
ref: i,
|
|
4354
4385
|
...c,
|
|
@@ -4358,8 +4389,8 @@ const Oa = _(
|
|
|
4358
4389
|
"aria-sort": t === "asc" ? "ascending" : t === "desc" ? "descending" : void 0,
|
|
4359
4390
|
children: [
|
|
4360
4391
|
s,
|
|
4361
|
-
t === "asc" && /* @__PURE__ */ a(
|
|
4362
|
-
t === "desc" && /* @__PURE__ */ a(
|
|
4392
|
+
t === "asc" && /* @__PURE__ */ a(Nd, { className: rt.sortIcon }),
|
|
4393
|
+
t === "desc" && /* @__PURE__ */ a(bd, { className: rt.sortIcon })
|
|
4363
4394
|
]
|
|
4364
4395
|
}
|
|
4365
4396
|
);
|
|
@@ -4370,7 +4401,7 @@ const ka = _(
|
|
|
4370
4401
|
function({ overStyled: e = !1, disabled: t = !1, variant: o = "default", ...n }, s) {
|
|
4371
4402
|
const l = u(n, e);
|
|
4372
4403
|
return /* @__PURE__ */ a(
|
|
4373
|
-
|
|
4404
|
+
Ze.Td,
|
|
4374
4405
|
{
|
|
4375
4406
|
ref: s,
|
|
4376
4407
|
...l,
|
|
@@ -4385,7 +4416,7 @@ const Ia = _(
|
|
|
4385
4416
|
function({ overStyled: e = !1, ...t }, o) {
|
|
4386
4417
|
const n = u(t, e);
|
|
4387
4418
|
return /* @__PURE__ */ a(
|
|
4388
|
-
|
|
4419
|
+
Ze.Tfoot,
|
|
4389
4420
|
{
|
|
4390
4421
|
ref: o,
|
|
4391
4422
|
...n
|
|
@@ -4397,7 +4428,7 @@ Ia.displayName = "TableTfoot";
|
|
|
4397
4428
|
const Ra = _(function({ overStyled: e = !1, ...t }, o) {
|
|
4398
4429
|
const n = u(t, e);
|
|
4399
4430
|
return /* @__PURE__ */ a(
|
|
4400
|
-
|
|
4431
|
+
Ze.Caption,
|
|
4401
4432
|
{
|
|
4402
4433
|
ref: o,
|
|
4403
4434
|
...n
|
|
@@ -4408,7 +4439,7 @@ Ra.displayName = "TableCaption";
|
|
|
4408
4439
|
const La = _(function({ overStyled: e = !1, ...t }, o) {
|
|
4409
4440
|
const n = u(t, e);
|
|
4410
4441
|
return /* @__PURE__ */ a(
|
|
4411
|
-
|
|
4442
|
+
Ze.ScrollContainer,
|
|
4412
4443
|
{
|
|
4413
4444
|
ref: o,
|
|
4414
4445
|
...n
|
|
@@ -4425,11 +4456,11 @@ Qe.Td = ka;
|
|
|
4425
4456
|
Qe.Tfoot = Ia;
|
|
4426
4457
|
Qe.Caption = Ra;
|
|
4427
4458
|
Qe.ScrollContainer = La;
|
|
4428
|
-
const
|
|
4429
|
-
root:
|
|
4430
|
-
list:
|
|
4431
|
-
tab:
|
|
4432
|
-
panel:
|
|
4459
|
+
const Cd = "Tabs-module__root___-VKVI", gd = "Tabs-module__list___qRVME", Pd = "Tabs-module__tab___IdDYc", Td = "Tabs-module__panel___08i9c", Bo = {
|
|
4460
|
+
root: Cd,
|
|
4461
|
+
list: gd,
|
|
4462
|
+
tab: Pd,
|
|
4463
|
+
panel: Td
|
|
4433
4464
|
}, Ma = _(function(e, t) {
|
|
4434
4465
|
const {
|
|
4435
4466
|
variant: o = "default",
|
|
@@ -4499,16 +4530,16 @@ const za = _(
|
|
|
4499
4530
|
}
|
|
4500
4531
|
);
|
|
4501
4532
|
za.displayName = "Tabs.Panel";
|
|
4502
|
-
const
|
|
4533
|
+
const $d = Object.assign(Ma, {
|
|
4503
4534
|
List: Aa,
|
|
4504
4535
|
Tab: Wa,
|
|
4505
4536
|
Panel: za
|
|
4506
|
-
}),
|
|
4507
|
-
root:
|
|
4537
|
+
}), wd = "Text-module__root___rsBo7", Sd = {
|
|
4538
|
+
root: wd
|
|
4508
4539
|
}, Da = _(function({ overStyled: e = !1, variant: t = "body", ...o }, n) {
|
|
4509
|
-
const s = u(o, e), l = s.className, c = [`recursica_brand_typography_${t}`,
|
|
4540
|
+
const s = u(o, e), l = s.className, c = [`recursica_brand_typography_${t}`, Sd.root, l].filter(Boolean).join(" ");
|
|
4510
4541
|
return /* @__PURE__ */ a(
|
|
4511
|
-
|
|
4542
|
+
Nr,
|
|
4512
4543
|
{
|
|
4513
4544
|
ref: n,
|
|
4514
4545
|
...s,
|
|
@@ -4517,11 +4548,11 @@ const bd = Object.assign(Ma, {
|
|
|
4517
4548
|
);
|
|
4518
4549
|
});
|
|
4519
4550
|
Da.displayName = "Text";
|
|
4520
|
-
const
|
|
4521
|
-
layoutOverride:
|
|
4522
|
-
root:
|
|
4523
|
-
input:
|
|
4524
|
-
},
|
|
4551
|
+
const xd = Te(Da), Od = "TextArea-module__layoutOverride___4MCdm", kd = "TextArea-module__root___3dyeu", Id = "TextArea-module__input___8l36v", Fo = {
|
|
4552
|
+
layoutOverride: Od,
|
|
4553
|
+
root: kd,
|
|
4554
|
+
input: Id
|
|
4555
|
+
}, Rd = [
|
|
4525
4556
|
"size",
|
|
4526
4557
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4527
4558
|
"variant",
|
|
@@ -4557,8 +4588,8 @@ const Pd = Te(Da), Td = "TextArea-module__layoutOverride___4MCdm", $d = "TextAre
|
|
|
4557
4588
|
...O
|
|
4558
4589
|
} = e, M = G(
|
|
4559
4590
|
u(O, o),
|
|
4560
|
-
|
|
4561
|
-
), E = M,
|
|
4591
|
+
Rd
|
|
4592
|
+
), E = M, z = B(
|
|
4562
4593
|
{
|
|
4563
4594
|
wrapper: Fo.root,
|
|
4564
4595
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -4596,11 +4627,11 @@ const Pd = Te(Da), Td = "TextArea-module__layoutOverride___4MCdm", $d = "TextAre
|
|
|
4596
4627
|
activeComponent: (
|
|
4597
4628
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4598
4629
|
/* @__PURE__ */ a(
|
|
4599
|
-
|
|
4630
|
+
br,
|
|
4600
4631
|
{
|
|
4601
4632
|
ref: t,
|
|
4602
4633
|
...M,
|
|
4603
|
-
classNames:
|
|
4634
|
+
classNames: z,
|
|
4604
4635
|
disabled: $,
|
|
4605
4636
|
value: w,
|
|
4606
4637
|
defaultValue: h,
|
|
@@ -4617,12 +4648,12 @@ const Pd = Te(Da), Td = "TextArea-module__layoutOverride___4MCdm", $d = "TextAre
|
|
|
4617
4648
|
}
|
|
4618
4649
|
);
|
|
4619
4650
|
Ea.displayName = "TextArea";
|
|
4620
|
-
const
|
|
4621
|
-
layoutOverride:
|
|
4622
|
-
root:
|
|
4623
|
-
input:
|
|
4624
|
-
section:
|
|
4625
|
-
},
|
|
4651
|
+
const Ld = "TextField-module__layoutOverride___SNZqc", Md = "TextField-module__root___2ZYkG", Ad = "TextField-module__input___RL-My", Wd = "TextField-module__section___bCIJ0", Io = {
|
|
4652
|
+
layoutOverride: Ld,
|
|
4653
|
+
root: Md,
|
|
4654
|
+
input: Ad,
|
|
4655
|
+
section: Wd
|
|
4656
|
+
}, zd = [
|
|
4626
4657
|
"size",
|
|
4627
4658
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4628
4659
|
"variant",
|
|
@@ -4658,8 +4689,8 @@ const xd = "TextField-module__layoutOverride___SNZqc", Od = "TextField-module__r
|
|
|
4658
4689
|
...O
|
|
4659
4690
|
} = e, M = G(
|
|
4660
4691
|
u(O, o),
|
|
4661
|
-
|
|
4662
|
-
), E = M,
|
|
4692
|
+
zd
|
|
4693
|
+
), E = M, z = B(
|
|
4663
4694
|
{
|
|
4664
4695
|
wrapper: Io.root,
|
|
4665
4696
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -4702,7 +4733,7 @@ const xd = "TextField-module__layoutOverride___SNZqc", Od = "TextField-module__r
|
|
|
4702
4733
|
{
|
|
4703
4734
|
ref: t,
|
|
4704
4735
|
...M,
|
|
4705
|
-
classNames:
|
|
4736
|
+
classNames: z,
|
|
4706
4737
|
disabled: $,
|
|
4707
4738
|
value: w,
|
|
4708
4739
|
defaultValue: h,
|
|
@@ -4718,7 +4749,7 @@ const xd = "TextField-module__layoutOverride___SNZqc", Od = "TextField-module__r
|
|
|
4718
4749
|
}
|
|
4719
4750
|
);
|
|
4720
4751
|
Pt.displayName = "TextField";
|
|
4721
|
-
const
|
|
4752
|
+
const Dd = [
|
|
4722
4753
|
"size",
|
|
4723
4754
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4724
4755
|
"variant",
|
|
@@ -4728,7 +4759,7 @@ const Ld = [
|
|
|
4728
4759
|
], Ba = _(function(e, t) {
|
|
4729
4760
|
const { overStyled: o = !1, className: n, disabled: s, error: l, ...i } = e, c = G(
|
|
4730
4761
|
u(i, o),
|
|
4731
|
-
|
|
4762
|
+
Dd
|
|
4732
4763
|
), d = c, p = B(
|
|
4733
4764
|
{
|
|
4734
4765
|
wrapper: n ? `${te.root} ${n}` : te.root,
|
|
@@ -4759,16 +4790,16 @@ const Ld = [
|
|
|
4759
4790
|
);
|
|
4760
4791
|
});
|
|
4761
4792
|
Ba.displayName = "BareDropdown";
|
|
4762
|
-
const
|
|
4763
|
-
layoutOverride:
|
|
4764
|
-
root:
|
|
4765
|
-
timeWrapper:
|
|
4766
|
-
timeInput:
|
|
4767
|
-
fieldsGroup:
|
|
4768
|
-
section:
|
|
4769
|
-
timeField:
|
|
4770
|
-
amPmSelect:
|
|
4771
|
-
},
|
|
4793
|
+
const Ed = "TimePicker-module__layoutOverride___zKo4Q", Bd = "TimePicker-module__root___BcvRu", Fd = "TimePicker-module__timeWrapper___hJVre", Ud = "TimePicker-module__timeInput___FQysn", Vd = "TimePicker-module__fieldsGroup___2yHhR", Gd = "TimePicker-module__section___VkSWB", Hd = "TimePicker-module__timeField___twRZd", jd = "TimePicker-module__amPmSelect___mSdvt", Ue = {
|
|
4794
|
+
layoutOverride: Ed,
|
|
4795
|
+
root: Bd,
|
|
4796
|
+
timeWrapper: Fd,
|
|
4797
|
+
timeInput: Ud,
|
|
4798
|
+
fieldsGroup: Vd,
|
|
4799
|
+
section: Gd,
|
|
4800
|
+
timeField: Hd,
|
|
4801
|
+
amPmSelect: jd
|
|
4802
|
+
}, qd = [
|
|
4772
4803
|
{ value: "AM", label: "AM" },
|
|
4773
4804
|
{ value: "PM", label: "PM" }
|
|
4774
4805
|
];
|
|
@@ -4777,17 +4808,17 @@ function Wt(r) {
|
|
|
4777
4808
|
const e = parseInt(r.slice(0, 2), 10);
|
|
4778
4809
|
return Number.isNaN(e) ? void 0 : e;
|
|
4779
4810
|
}
|
|
4780
|
-
function
|
|
4811
|
+
function Kd(r, e) {
|
|
4781
4812
|
return `${String(e).padStart(2, "0")}${r.slice(2)}`;
|
|
4782
4813
|
}
|
|
4783
|
-
function
|
|
4814
|
+
function Yd(r) {
|
|
4784
4815
|
if (!r) return;
|
|
4785
4816
|
const [e, t, o] = r.split(":"), n = parseInt(e, 10);
|
|
4786
4817
|
if (Number.isNaN(n) || t === void 0) return r;
|
|
4787
4818
|
const s = n >= 12, l = n % 12 === 0 ? 12 : n % 12, i = o !== void 0 ? `${t}:${o}` : t;
|
|
4788
4819
|
return `${l}:${i} ${s ? "PM" : "AM"}`;
|
|
4789
4820
|
}
|
|
4790
|
-
function
|
|
4821
|
+
function Zd(r, e) {
|
|
4791
4822
|
var o;
|
|
4792
4823
|
const t = (o = Object.getOwnPropertyDescriptor(
|
|
4793
4824
|
window.HTMLSelectElement.prototype,
|
|
@@ -4795,7 +4826,7 @@ function Hd(r, e) {
|
|
|
4795
4826
|
)) == null ? void 0 : o.set;
|
|
4796
4827
|
t == null || t.call(r, e), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
4797
4828
|
}
|
|
4798
|
-
const
|
|
4829
|
+
const Xd = [
|
|
4799
4830
|
"size",
|
|
4800
4831
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4801
4832
|
"variant",
|
|
@@ -4831,31 +4862,31 @@ const jd = [
|
|
|
4831
4862
|
onChange: O,
|
|
4832
4863
|
withSeconds: M,
|
|
4833
4864
|
minTime: E,
|
|
4834
|
-
maxTime:
|
|
4865
|
+
maxTime: z,
|
|
4835
4866
|
...L
|
|
4836
4867
|
} = e, Z = G(
|
|
4837
4868
|
u(L, o),
|
|
4838
|
-
|
|
4839
|
-
), j = Z, [q,
|
|
4869
|
+
Xd
|
|
4870
|
+
), j = Z, [q, Q] = ce(
|
|
4840
4871
|
() => w ?? h
|
|
4841
4872
|
);
|
|
4842
4873
|
Ie(() => {
|
|
4843
|
-
w !== void 0 &&
|
|
4874
|
+
w !== void 0 && Q(w);
|
|
4844
4875
|
}, [w]);
|
|
4845
4876
|
const H = Ge(null);
|
|
4846
4877
|
Ie(() => {
|
|
4847
|
-
Wt(w ?? h) === void 0 && H.current &&
|
|
4878
|
+
Wt(w ?? h) === void 0 && H.current && Zd(H.current, "AM");
|
|
4848
4879
|
}, []);
|
|
4849
4880
|
const Y = (k) => {
|
|
4850
|
-
|
|
4851
|
-
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12,
|
|
4881
|
+
Q(k), O == null || O(k);
|
|
4882
|
+
}, ee = Wt(q), ue = ee !== void 0 && ee >= 12, W = (k) => {
|
|
4852
4883
|
Y(k);
|
|
4853
4884
|
}, re = (k) => {
|
|
4854
4885
|
if (ee === void 0 || !q || !k) return;
|
|
4855
4886
|
const le = k === "PM";
|
|
4856
4887
|
if (le === ue) return;
|
|
4857
4888
|
const Ne = le ? ee + 12 : ee - 12;
|
|
4858
|
-
Y(
|
|
4889
|
+
Y(Kd(q, Ne));
|
|
4859
4890
|
}, pe = b ? `${Ue.layoutOverride} ${b}` : Ue.layoutOverride;
|
|
4860
4891
|
return /* @__PURE__ */ a(
|
|
4861
4892
|
ve,
|
|
@@ -4882,7 +4913,7 @@ const jd = [
|
|
|
4882
4913
|
readOnlyComponent: g,
|
|
4883
4914
|
emptyValueComponent: f,
|
|
4884
4915
|
readOnlyType: "text",
|
|
4885
|
-
readOnlyValue:
|
|
4916
|
+
readOnlyValue: Yd(
|
|
4886
4917
|
w !== void 0 ? w : h
|
|
4887
4918
|
),
|
|
4888
4919
|
readOnlyNativeProps: e,
|
|
@@ -4900,7 +4931,7 @@ const jd = [
|
|
|
4900
4931
|
"data-error": y ? "true" : void 0,
|
|
4901
4932
|
children: [
|
|
4902
4933
|
/* @__PURE__ */ a(
|
|
4903
|
-
|
|
4934
|
+
Or,
|
|
4904
4935
|
{
|
|
4905
4936
|
ref: t,
|
|
4906
4937
|
...Z,
|
|
@@ -4916,11 +4947,11 @@ const jd = [
|
|
|
4916
4947
|
),
|
|
4917
4948
|
disabled: $,
|
|
4918
4949
|
value: q,
|
|
4919
|
-
onChange:
|
|
4950
|
+
onChange: W,
|
|
4920
4951
|
format: "12h",
|
|
4921
4952
|
withSeconds: M,
|
|
4922
4953
|
min: E,
|
|
4923
|
-
max:
|
|
4954
|
+
max: z,
|
|
4924
4955
|
withDropdown: !1,
|
|
4925
4956
|
amPmRef: H
|
|
4926
4957
|
}
|
|
@@ -4931,7 +4962,7 @@ const jd = [
|
|
|
4931
4962
|
overStyled: !0,
|
|
4932
4963
|
className: Ue.amPmSelect,
|
|
4933
4964
|
styles: { wrapper: { width: "fit-content" } },
|
|
4934
|
-
data:
|
|
4965
|
+
data: qd,
|
|
4935
4966
|
value: ue ? "PM" : "AM",
|
|
4936
4967
|
onChange: re,
|
|
4937
4968
|
disabled: $,
|
|
@@ -4948,15 +4979,15 @@ const jd = [
|
|
|
4948
4979
|
}
|
|
4949
4980
|
);
|
|
4950
4981
|
Fa.displayName = "TimePicker";
|
|
4951
|
-
const
|
|
4952
|
-
root:
|
|
4953
|
-
item:
|
|
4954
|
-
itemBody:
|
|
4955
|
-
itemBullet:
|
|
4956
|
-
itemTitle:
|
|
4957
|
-
itemContent:
|
|
4958
|
-
description:
|
|
4959
|
-
timestamp:
|
|
4982
|
+
const Qd = "Timeline-module__root___LwRdZ", Jd = "Timeline-module__item___T5xdQ", eu = "Timeline-module__itemBody___XAV-E", ou = "Timeline-module__itemBullet___rPXCy", tu = "Timeline-module__itemTitle___GgRRW", nu = "Timeline-module__itemContent___vurs-", au = "Timeline-module__description___f9sxV", ru = "Timeline-module__timestamp___owiRu", lo = {
|
|
4983
|
+
root: Qd,
|
|
4984
|
+
item: Jd,
|
|
4985
|
+
itemBody: eu,
|
|
4986
|
+
itemBullet: ou,
|
|
4987
|
+
itemTitle: tu,
|
|
4988
|
+
itemContent: nu,
|
|
4989
|
+
description: au,
|
|
4990
|
+
timestamp: ru
|
|
4960
4991
|
}, Tt = K.forwardRef(
|
|
4961
4992
|
function({
|
|
4962
4993
|
overStyled: e = !1,
|
|
@@ -4967,19 +4998,19 @@ const qd = "Timeline-module__root___LwRdZ", Kd = "Timeline-module__item___T5xdQ"
|
|
|
4967
4998
|
}, l) {
|
|
4968
4999
|
const i = u(s, e), c = i, d = B(
|
|
4969
5000
|
{
|
|
4970
|
-
item:
|
|
4971
|
-
itemBody:
|
|
4972
|
-
itemContent:
|
|
4973
|
-
itemBullet:
|
|
4974
|
-
itemTitle:
|
|
5001
|
+
item: lo.item,
|
|
5002
|
+
itemBody: lo.itemBody,
|
|
5003
|
+
itemContent: lo.itemContent,
|
|
5004
|
+
itemBullet: lo.itemBullet,
|
|
5005
|
+
itemTitle: lo.itemTitle
|
|
4975
5006
|
},
|
|
4976
5007
|
c.classNames
|
|
4977
5008
|
), p = t ? /* @__PURE__ */ A(No, { children: [
|
|
4978
|
-
n && /* @__PURE__ */ a("div", { className:
|
|
4979
|
-
/* @__PURE__ */ a("div", { className:
|
|
5009
|
+
n && /* @__PURE__ */ a("div", { className: lo.description, children: n }),
|
|
5010
|
+
/* @__PURE__ */ a("div", { className: lo.timestamp, children: t })
|
|
4980
5011
|
] }) : n;
|
|
4981
5012
|
return /* @__PURE__ */ a(
|
|
4982
|
-
|
|
5013
|
+
Cr,
|
|
4983
5014
|
{
|
|
4984
5015
|
ref: l,
|
|
4985
5016
|
...i,
|
|
@@ -4994,11 +5025,11 @@ Tt.displayName = "TimelineItem";
|
|
|
4994
5025
|
const Ua = K.forwardRef(
|
|
4995
5026
|
function({ overStyled: e = !1, ...t }, o) {
|
|
4996
5027
|
const n = u(t, e), s = n, l = B(
|
|
4997
|
-
{ root:
|
|
5028
|
+
{ root: lo.root },
|
|
4998
5029
|
s.classNames
|
|
4999
5030
|
);
|
|
5000
5031
|
return /* @__PURE__ */ a(
|
|
5001
|
-
|
|
5032
|
+
gr,
|
|
5002
5033
|
{
|
|
5003
5034
|
ref: o,
|
|
5004
5035
|
...n,
|
|
@@ -5010,14 +5041,14 @@ const Ua = K.forwardRef(
|
|
|
5010
5041
|
Ua.displayName = "Timeline";
|
|
5011
5042
|
const Va = Ua;
|
|
5012
5043
|
Va.Item = Tt;
|
|
5013
|
-
const
|
|
5014
|
-
root:
|
|
5015
|
-
icon:
|
|
5016
|
-
loader:
|
|
5017
|
-
title:
|
|
5018
|
-
description:
|
|
5019
|
-
closeButton:
|
|
5020
|
-
body:
|
|
5044
|
+
const su = "Toast-module__root___MUvfI", lu = "Toast-module__icon___VwvE1", iu = "Toast-module__loader___8Gxd-", cu = "Toast-module__title___-H6R2", du = "Toast-module__description___-QwfC", uu = "Toast-module__closeButton___vGr7g", pu = "Toast-module__body___VLkXA", vo = {
|
|
5045
|
+
root: su,
|
|
5046
|
+
icon: lu,
|
|
5047
|
+
loader: iu,
|
|
5048
|
+
title: cu,
|
|
5049
|
+
description: du,
|
|
5050
|
+
closeButton: uu,
|
|
5051
|
+
body: pu
|
|
5021
5052
|
}, Ga = K.forwardRef(
|
|
5022
5053
|
function({
|
|
5023
5054
|
overStyled: e = !1,
|
|
@@ -5048,7 +5079,7 @@ const ou = "Toast-module__root___MUvfI", tu = "Toast-module__icon___VwvE1", nu =
|
|
|
5048
5079
|
i.classNames
|
|
5049
5080
|
);
|
|
5050
5081
|
return /* @__PURE__ */ a(
|
|
5051
|
-
|
|
5082
|
+
Pr,
|
|
5052
5083
|
{
|
|
5053
5084
|
ref: s,
|
|
5054
5085
|
...i,
|
|
@@ -5062,9 +5093,9 @@ const ou = "Toast-module__root___MUvfI", tu = "Toast-module__icon___VwvE1", nu =
|
|
|
5062
5093
|
}
|
|
5063
5094
|
);
|
|
5064
5095
|
Ga.displayName = "Toast";
|
|
5065
|
-
const
|
|
5066
|
-
tooltip:
|
|
5067
|
-
arrow:
|
|
5096
|
+
const mu = "Tooltip-module__tooltip___UA7H9", _u = "Tooltip-module__arrow___4zROk", zt = {
|
|
5097
|
+
tooltip: mu,
|
|
5098
|
+
arrow: _u
|
|
5068
5099
|
}, Ha = function({
|
|
5069
5100
|
overStyled: e = !1,
|
|
5070
5101
|
withBeak: t = !0,
|
|
@@ -5112,17 +5143,17 @@ ja.displayName = "TooltipFloating";
|
|
|
5112
5143
|
const $t = Ha;
|
|
5113
5144
|
$t.Floating = ja;
|
|
5114
5145
|
$t.Group = ct.Group;
|
|
5115
|
-
const
|
|
5116
|
-
layoutOverride:
|
|
5117
|
-
root:
|
|
5118
|
-
panes:
|
|
5119
|
-
pane:
|
|
5120
|
-
paneHeader:
|
|
5121
|
-
paneSearch:
|
|
5122
|
-
paneList:
|
|
5123
|
-
emptyState:
|
|
5124
|
-
transferColumn:
|
|
5125
|
-
chevron:
|
|
5146
|
+
const fu = "TransferList-module__layoutOverride___nkb32", yu = "TransferList-module__root___ikjI7", hu = "TransferList-module__panes___dtwkW", vu = "TransferList-module__pane___hy-kC", Nu = "TransferList-module__paneHeader___HZrKX", bu = "TransferList-module__paneSearch___Xji-g", Cu = "TransferList-module__paneList___v0rcJ", gu = "TransferList-module__emptyState___azPw-", Pu = "TransferList-module__transferColumn___3R2Ki", Tu = "TransferList-module__chevron___l-KdI", Pe = {
|
|
5147
|
+
layoutOverride: fu,
|
|
5148
|
+
root: yu,
|
|
5149
|
+
panes: hu,
|
|
5150
|
+
pane: vu,
|
|
5151
|
+
paneHeader: Nu,
|
|
5152
|
+
paneSearch: bu,
|
|
5153
|
+
paneList: Cu,
|
|
5154
|
+
emptyState: gu,
|
|
5155
|
+
transferColumn: Pu,
|
|
5156
|
+
chevron: Tu
|
|
5126
5157
|
};
|
|
5127
5158
|
function Dt({ direction: r }) {
|
|
5128
5159
|
return /* @__PURE__ */ a(
|
|
@@ -5162,7 +5193,7 @@ function Et({ direction: r }) {
|
|
|
5162
5193
|
}
|
|
5163
5194
|
);
|
|
5164
5195
|
}
|
|
5165
|
-
function
|
|
5196
|
+
function $u(r) {
|
|
5166
5197
|
const e = {}, t = [];
|
|
5167
5198
|
return r.forEach((o) => {
|
|
5168
5199
|
var n;
|
|
@@ -5198,14 +5229,14 @@ const qa = _(
|
|
|
5198
5229
|
sourceLabel: O = "Available",
|
|
5199
5230
|
targetLabel: M = "Selected",
|
|
5200
5231
|
searchable: E = !0,
|
|
5201
|
-
searchPlaceholder:
|
|
5232
|
+
searchPlaceholder: z = "Filter items...",
|
|
5202
5233
|
disabled: L = !1,
|
|
5203
5234
|
className: Z,
|
|
5204
5235
|
style: j,
|
|
5205
5236
|
...q
|
|
5206
|
-
} = e,
|
|
5237
|
+
} = e, Q = u(q, o), H = Bt(), Y = T || `recursica-transfer-list-${H}`, [ee, ue] = ce(
|
|
5207
5238
|
() => w ?? f ?? [[], []]
|
|
5208
|
-
),
|
|
5239
|
+
), W = f !== void 0 ? f : ee, re = fo(
|
|
5209
5240
|
(V) => {
|
|
5210
5241
|
f === void 0 && ue(V), h == null || h(V);
|
|
5211
5242
|
},
|
|
@@ -5214,50 +5245,50 @@ const qa = _(
|
|
|
5214
5245
|
() => /* @__PURE__ */ new Set()
|
|
5215
5246
|
), [be, $e] = ce(
|
|
5216
5247
|
() => /* @__PURE__ */ new Set()
|
|
5217
|
-
),
|
|
5218
|
-
if (!pe) return
|
|
5248
|
+
), Je = kt(() => {
|
|
5249
|
+
if (!pe) return W[0];
|
|
5219
5250
|
const V = pe.toLowerCase();
|
|
5220
|
-
return
|
|
5251
|
+
return W[0].filter(
|
|
5221
5252
|
(F) => F.label.toLowerCase().includes(V)
|
|
5222
5253
|
);
|
|
5223
|
-
}, [
|
|
5224
|
-
if (!le) return
|
|
5254
|
+
}, [W, pe]), we = kt(() => {
|
|
5255
|
+
if (!le) return W[1];
|
|
5225
5256
|
const V = le.toLowerCase();
|
|
5226
|
-
return
|
|
5257
|
+
return W[1].filter(
|
|
5227
5258
|
(F) => F.label.toLowerCase().includes(V)
|
|
5228
5259
|
);
|
|
5229
|
-
}, [
|
|
5260
|
+
}, [W, le]), eo = fo(() => {
|
|
5230
5261
|
if (se.size === 0) return;
|
|
5231
|
-
const V =
|
|
5232
|
-
(
|
|
5233
|
-
), F =
|
|
5234
|
-
(
|
|
5262
|
+
const V = W[0].filter(
|
|
5263
|
+
(D) => !se.has(D.value)
|
|
5264
|
+
), F = W[0].filter(
|
|
5265
|
+
(D) => se.has(D.value)
|
|
5235
5266
|
);
|
|
5236
|
-
ie(/* @__PURE__ */ new Set()), re([V, [...
|
|
5237
|
-
}, [
|
|
5267
|
+
ie(/* @__PURE__ */ new Set()), re([V, [...W[1], ...F]]);
|
|
5268
|
+
}, [W, se, re]), Ee = fo(() => {
|
|
5238
5269
|
if (be.size === 0) return;
|
|
5239
|
-
const V =
|
|
5240
|
-
(
|
|
5241
|
-
), F =
|
|
5242
|
-
(
|
|
5270
|
+
const V = W[1].filter(
|
|
5271
|
+
(D) => !be.has(D.value)
|
|
5272
|
+
), F = W[1].filter(
|
|
5273
|
+
(D) => be.has(D.value)
|
|
5243
5274
|
);
|
|
5244
|
-
$e(/* @__PURE__ */ new Set()), re([[...
|
|
5245
|
-
}, [
|
|
5246
|
-
|
|
5247
|
-
}, [
|
|
5248
|
-
|
|
5249
|
-
}, [
|
|
5275
|
+
$e(/* @__PURE__ */ new Set()), re([[...W[0], ...F], V]);
|
|
5276
|
+
}, [W, be, re]), Be = fo(() => {
|
|
5277
|
+
W[0].length !== 0 && (ie(/* @__PURE__ */ new Set()), re([[], [...W[1], ...W[0]]]));
|
|
5278
|
+
}, [W, re]), mo = fo(() => {
|
|
5279
|
+
W[1].length !== 0 && ($e(/* @__PURE__ */ new Set()), re([[...W[0], ...W[1]], []]));
|
|
5280
|
+
}, [W, re]), Se = fo((V) => {
|
|
5250
5281
|
ie((F) => {
|
|
5251
|
-
const
|
|
5252
|
-
return
|
|
5282
|
+
const D = new Set(F);
|
|
5283
|
+
return D.has(V) ? D.delete(V) : D.add(V), D;
|
|
5253
5284
|
});
|
|
5254
|
-
}, []),
|
|
5285
|
+
}, []), oo = fo((V) => {
|
|
5255
5286
|
$e((F) => {
|
|
5256
|
-
const
|
|
5257
|
-
return
|
|
5287
|
+
const D = new Set(F);
|
|
5288
|
+
return D.has(V) ? D.delete(V) : D.add(V), D;
|
|
5258
5289
|
});
|
|
5259
|
-
}, []), xe = (V, F,
|
|
5260
|
-
const { groups: _o, ungrouped: x } =
|
|
5290
|
+
}, []), xe = (V, F, D, I, U, X, _e, no) => {
|
|
5291
|
+
const { groups: _o, ungrouped: x } = $u(D), ne = Object.keys(_o).sort(), ae = U.size > 0 ? `${U.size} / ${I.length}` : `${I.length}`;
|
|
5261
5292
|
return /* @__PURE__ */ A("div", { className: Pe.pane, "data-pane": V, children: [
|
|
5262
5293
|
/* @__PURE__ */ A("div", { className: Pe.paneHeader, children: [
|
|
5263
5294
|
/* @__PURE__ */ a("span", { children: F }),
|
|
@@ -5267,21 +5298,21 @@ const qa = _(
|
|
|
5267
5298
|
Pt,
|
|
5268
5299
|
{
|
|
5269
5300
|
value: _e,
|
|
5270
|
-
onChange: (J) =>
|
|
5271
|
-
placeholder:
|
|
5301
|
+
onChange: (J) => no(J.currentTarget.value),
|
|
5302
|
+
placeholder: z,
|
|
5272
5303
|
disabled: L,
|
|
5273
5304
|
"aria-label": `Filter ${F.toLowerCase()}`
|
|
5274
5305
|
}
|
|
5275
5306
|
) }),
|
|
5276
5307
|
/* @__PURE__ */ A("div", { className: Pe.paneList, children: [
|
|
5277
|
-
|
|
5308
|
+
D.length === 0 && /* @__PURE__ */ a("div", { className: Pe.emptyState, children: "No items" }),
|
|
5278
5309
|
x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((J) => /* @__PURE__ */ a(
|
|
5279
5310
|
Lo,
|
|
5280
5311
|
{
|
|
5281
5312
|
id: `${Y}-${V}-${J.value}`,
|
|
5282
5313
|
label: J.label,
|
|
5283
5314
|
checked: U.has(J.value),
|
|
5284
|
-
onChange: () =>
|
|
5315
|
+
onChange: () => X(J.value),
|
|
5285
5316
|
disabled: L
|
|
5286
5317
|
},
|
|
5287
5318
|
J.value
|
|
@@ -5297,7 +5328,7 @@ const qa = _(
|
|
|
5297
5328
|
id: `${Y}-${V}-${fe.value}`,
|
|
5298
5329
|
label: fe.label,
|
|
5299
5330
|
checked: U.has(fe.value),
|
|
5300
|
-
onChange: () =>
|
|
5331
|
+
onChange: () => X(fe.value),
|
|
5301
5332
|
disabled: L
|
|
5302
5333
|
},
|
|
5303
5334
|
fe.value
|
|
@@ -5307,7 +5338,7 @@ const qa = _(
|
|
|
5307
5338
|
))
|
|
5308
5339
|
] })
|
|
5309
5340
|
] });
|
|
5310
|
-
},
|
|
5341
|
+
}, to = Z ? `${Pe.layoutOverride} ${Z}` : Pe.layoutOverride;
|
|
5311
5342
|
return /* @__PURE__ */ a(
|
|
5312
5343
|
ve,
|
|
5313
5344
|
{
|
|
@@ -5327,19 +5358,19 @@ const qa = _(
|
|
|
5327
5358
|
error: S,
|
|
5328
5359
|
required: b,
|
|
5329
5360
|
id: Y,
|
|
5330
|
-
className:
|
|
5361
|
+
className: to,
|
|
5331
5362
|
style: j,
|
|
5332
5363
|
overStyled: o,
|
|
5333
5364
|
readOnly: $,
|
|
5334
5365
|
readOnlyComponent: P,
|
|
5335
5366
|
emptyValueComponent: g,
|
|
5336
5367
|
readOnlyType: "text",
|
|
5337
|
-
readOnlyValue:
|
|
5368
|
+
readOnlyValue: W[1].map((V) => V.label),
|
|
5338
5369
|
readOnlyNativeProps: e,
|
|
5339
5370
|
activeComponent: /* @__PURE__ */ a(
|
|
5340
5371
|
"div",
|
|
5341
5372
|
{
|
|
5342
|
-
...
|
|
5373
|
+
...Q,
|
|
5343
5374
|
className: Pe.root,
|
|
5344
5375
|
"data-disabled": L ? "true" : void 0,
|
|
5345
5376
|
"data-error": S ? "true" : void 0,
|
|
@@ -5347,8 +5378,8 @@ const qa = _(
|
|
|
5347
5378
|
xe(
|
|
5348
5379
|
"source",
|
|
5349
5380
|
O,
|
|
5350
|
-
|
|
5351
|
-
|
|
5381
|
+
Je,
|
|
5382
|
+
W[0],
|
|
5352
5383
|
se,
|
|
5353
5384
|
Se,
|
|
5354
5385
|
pe,
|
|
@@ -5356,29 +5387,29 @@ const qa = _(
|
|
|
5356
5387
|
),
|
|
5357
5388
|
/* @__PURE__ */ A("div", { className: Pe.transferColumn, children: [
|
|
5358
5389
|
/* @__PURE__ */ a(
|
|
5359
|
-
|
|
5390
|
+
uo,
|
|
5360
5391
|
{
|
|
5361
5392
|
variant: "outline",
|
|
5362
5393
|
size: "small",
|
|
5363
5394
|
icon: /* @__PURE__ */ a(Et, { direction: "right" }),
|
|
5364
5395
|
"aria-label": `Move all to ${M}`,
|
|
5365
|
-
disabled: L ||
|
|
5396
|
+
disabled: L || W[0].length === 0,
|
|
5366
5397
|
onClick: Be
|
|
5367
5398
|
}
|
|
5368
5399
|
),
|
|
5369
5400
|
/* @__PURE__ */ a(
|
|
5370
|
-
|
|
5401
|
+
uo,
|
|
5371
5402
|
{
|
|
5372
5403
|
variant: "outline",
|
|
5373
5404
|
size: "small",
|
|
5374
5405
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5375
5406
|
"aria-label": `Move selected to ${M}`,
|
|
5376
5407
|
disabled: L || se.size === 0,
|
|
5377
|
-
onClick:
|
|
5408
|
+
onClick: eo
|
|
5378
5409
|
}
|
|
5379
5410
|
),
|
|
5380
5411
|
/* @__PURE__ */ a(
|
|
5381
|
-
|
|
5412
|
+
uo,
|
|
5382
5413
|
{
|
|
5383
5414
|
variant: "outline",
|
|
5384
5415
|
size: "small",
|
|
@@ -5389,13 +5420,13 @@ const qa = _(
|
|
|
5389
5420
|
}
|
|
5390
5421
|
),
|
|
5391
5422
|
/* @__PURE__ */ a(
|
|
5392
|
-
|
|
5423
|
+
uo,
|
|
5393
5424
|
{
|
|
5394
5425
|
variant: "outline",
|
|
5395
5426
|
size: "small",
|
|
5396
5427
|
icon: /* @__PURE__ */ a(Et, { direction: "left" }),
|
|
5397
5428
|
"aria-label": `Move all to ${O}`,
|
|
5398
|
-
disabled: L ||
|
|
5429
|
+
disabled: L || W[1].length === 0,
|
|
5399
5430
|
onClick: mo
|
|
5400
5431
|
}
|
|
5401
5432
|
)
|
|
@@ -5404,9 +5435,9 @@ const qa = _(
|
|
|
5404
5435
|
"target",
|
|
5405
5436
|
M,
|
|
5406
5437
|
we,
|
|
5407
|
-
|
|
5438
|
+
W[1],
|
|
5408
5439
|
be,
|
|
5409
|
-
|
|
5440
|
+
oo,
|
|
5410
5441
|
le,
|
|
5411
5442
|
Ne
|
|
5412
5443
|
)
|
|
@@ -5418,20 +5449,20 @@ const qa = _(
|
|
|
5418
5449
|
}
|
|
5419
5450
|
);
|
|
5420
5451
|
qa.displayName = "TransferList";
|
|
5421
|
-
const
|
|
5422
|
-
root:
|
|
5423
|
-
subtree:
|
|
5424
|
-
node:
|
|
5425
|
-
row:
|
|
5426
|
-
label:
|
|
5427
|
-
expandButton:
|
|
5428
|
-
expandGlyph:
|
|
5452
|
+
const wu = "Tree-module__root___ANcH3", Su = "Tree-module__subtree___KoLT8", xu = "Tree-module__node___Hvnjg", Ou = "Tree-module__row___sq5ff", ku = "Tree-module__label___zJDit", Iu = "Tree-module__expandButton___W0WTT", Ru = "Tree-module__expandGlyph___w8dDQ", po = {
|
|
5453
|
+
root: wu,
|
|
5454
|
+
subtree: Su,
|
|
5455
|
+
node: xu,
|
|
5456
|
+
row: Ou,
|
|
5457
|
+
label: ku,
|
|
5458
|
+
expandButton: Iu,
|
|
5459
|
+
expandGlyph: Ru
|
|
5429
5460
|
};
|
|
5430
|
-
function
|
|
5461
|
+
function Lu() {
|
|
5431
5462
|
return /* @__PURE__ */ a(
|
|
5432
5463
|
"svg",
|
|
5433
5464
|
{
|
|
5434
|
-
className:
|
|
5465
|
+
className: po.expandGlyph,
|
|
5435
5466
|
viewBox: "0 0 16 16",
|
|
5436
5467
|
width: "1em",
|
|
5437
5468
|
height: "1em",
|
|
@@ -5445,7 +5476,7 @@ function xu() {
|
|
|
5445
5476
|
}
|
|
5446
5477
|
);
|
|
5447
5478
|
}
|
|
5448
|
-
function
|
|
5479
|
+
function Mu(r) {
|
|
5449
5480
|
return function({
|
|
5450
5481
|
node: t,
|
|
5451
5482
|
hasChildren: o,
|
|
@@ -5458,28 +5489,28 @@ function Ou(r) {
|
|
|
5458
5489
|
"div",
|
|
5459
5490
|
{
|
|
5460
5491
|
...i,
|
|
5461
|
-
className:
|
|
5492
|
+
className: po.row,
|
|
5462
5493
|
"data-has-children": o || void 0,
|
|
5463
5494
|
"data-expanded": o && n ? !0 : void 0,
|
|
5464
5495
|
children: [
|
|
5465
5496
|
/* @__PURE__ */ a(
|
|
5466
|
-
|
|
5497
|
+
uo,
|
|
5467
5498
|
{
|
|
5468
5499
|
overStyled: !0,
|
|
5469
5500
|
variant: "text",
|
|
5470
5501
|
size: "small",
|
|
5471
|
-
icon: /* @__PURE__ */ a(
|
|
5502
|
+
icon: /* @__PURE__ */ a(Lu, {}),
|
|
5472
5503
|
"aria-label": "Toggle subtree",
|
|
5473
5504
|
"aria-hidden": "true",
|
|
5474
5505
|
tabIndex: -1,
|
|
5475
|
-
className:
|
|
5506
|
+
className: po.expandButton,
|
|
5476
5507
|
onMouseDown: (c) => c.preventDefault(),
|
|
5477
5508
|
onClick: (c) => {
|
|
5478
5509
|
c.stopPropagation(), !r && l.toggleExpanded(t.value);
|
|
5479
5510
|
}
|
|
5480
5511
|
}
|
|
5481
5512
|
),
|
|
5482
|
-
/* @__PURE__ */ a("span", { className:
|
|
5513
|
+
/* @__PURE__ */ a("span", { className: po.label, "data-selected": s || void 0, children: t.label })
|
|
5483
5514
|
]
|
|
5484
5515
|
}
|
|
5485
5516
|
);
|
|
@@ -5497,8 +5528,8 @@ const Ka = _(function({
|
|
|
5497
5528
|
onSelectedChange: d,
|
|
5498
5529
|
...p
|
|
5499
5530
|
}, m) {
|
|
5500
|
-
const C = u(p, e), y =
|
|
5501
|
-
initialExpandedState: o ?
|
|
5531
|
+
const C = u(p, e), y = Tr({
|
|
5532
|
+
initialExpandedState: o ? $r(t, o) : void 0,
|
|
5502
5533
|
initialSelectedState: n,
|
|
5503
5534
|
multiple: s,
|
|
5504
5535
|
onNodeExpand: i,
|
|
@@ -5527,9 +5558,9 @@ const Ka = _(function({
|
|
|
5527
5558
|
};
|
|
5528
5559
|
return $.addEventListener("keydown", P, { capture: !0 }), () => $.removeEventListener("keydown", P, { capture: !0 });
|
|
5529
5560
|
}, [l]);
|
|
5530
|
-
const v =
|
|
5561
|
+
const v = kr(m, N), S = C, b = S.className, T = b ? `${po.root} ${b}` : po.root;
|
|
5531
5562
|
return /* @__PURE__ */ a(
|
|
5532
|
-
|
|
5563
|
+
wr,
|
|
5533
5564
|
{
|
|
5534
5565
|
ref: v,
|
|
5535
5566
|
...C,
|
|
@@ -5538,189 +5569,190 @@ const Ka = _(function({
|
|
|
5538
5569
|
expandOnClick: !1,
|
|
5539
5570
|
selectOnClick: !l,
|
|
5540
5571
|
expandOnSpace: !1,
|
|
5541
|
-
renderNode:
|
|
5572
|
+
renderNode: Mu(l),
|
|
5542
5573
|
"data-disabled": l || void 0,
|
|
5543
5574
|
classNames: B(
|
|
5544
|
-
{ root: T, node:
|
|
5575
|
+
{ root: T, node: po.node, subtree: po.subtree },
|
|
5545
5576
|
S.classNames
|
|
5546
5577
|
)
|
|
5547
5578
|
}
|
|
5548
5579
|
);
|
|
5549
5580
|
});
|
|
5550
5581
|
Ka.displayName = "Tree";
|
|
5551
|
-
const
|
|
5552
|
-
Xo
|
|
5553
|
-
), Yu = R(
|
|
5554
|
-
dt
|
|
5555
|
-
), Zu = R(
|
|
5556
|
-
Zo
|
|
5557
|
-
), Qu = R(
|
|
5582
|
+
const Hu = ri, ju = $n, qu = Tn, Ku = wn, Yu = Gc, Zu = yn, Xu = hi, Qu = xd, Ju = R(
|
|
5558
5583
|
Qo
|
|
5559
|
-
), Xu = R(
|
|
5560
|
-
Ho
|
|
5561
|
-
), Ju = R(
|
|
5562
|
-
tn
|
|
5563
5584
|
), ep = R(
|
|
5564
|
-
|
|
5585
|
+
dt
|
|
5565
5586
|
), op = R(
|
|
5566
|
-
|
|
5587
|
+
Zo
|
|
5567
5588
|
), tp = R(
|
|
5568
|
-
|
|
5589
|
+
Xo
|
|
5569
5590
|
), np = R(
|
|
5570
|
-
|
|
5591
|
+
Ho
|
|
5571
5592
|
), ap = R(
|
|
5572
|
-
|
|
5593
|
+
tn
|
|
5573
5594
|
), rp = R(
|
|
5574
|
-
|
|
5595
|
+
Ls
|
|
5575
5596
|
), sp = R(
|
|
5576
|
-
|
|
5597
|
+
rn
|
|
5577
5598
|
), lp = R(
|
|
5578
|
-
|
|
5599
|
+
sn
|
|
5579
5600
|
), ip = R(
|
|
5580
|
-
|
|
5601
|
+
uo
|
|
5581
5602
|
), cp = R(
|
|
5582
|
-
|
|
5603
|
+
Xs
|
|
5583
5604
|
), dp = R(
|
|
5584
|
-
|
|
5605
|
+
Lo
|
|
5585
5606
|
), up = R(
|
|
5586
|
-
|
|
5607
|
+
Ro
|
|
5587
5608
|
), pp = R(
|
|
5588
|
-
|
|
5609
|
+
Mo
|
|
5589
5610
|
), mp = R(
|
|
5590
|
-
|
|
5611
|
+
hn
|
|
5591
5612
|
), _p = R(
|
|
5592
|
-
|
|
5613
|
+
vn
|
|
5593
5614
|
), fp = R(
|
|
5594
|
-
|
|
5615
|
+
Nn
|
|
5595
5616
|
), yp = R(
|
|
5596
|
-
|
|
5617
|
+
bn
|
|
5597
5618
|
), hp = R(
|
|
5598
|
-
|
|
5619
|
+
je
|
|
5599
5620
|
), vp = R(
|
|
5600
|
-
|
|
5621
|
+
Sn
|
|
5601
5622
|
), Np = R(
|
|
5602
|
-
|
|
5623
|
+
_t
|
|
5603
5624
|
), bp = R(
|
|
5604
|
-
|
|
5625
|
+
mt
|
|
5605
5626
|
), Cp = R(
|
|
5606
|
-
|
|
5627
|
+
ut
|
|
5607
5628
|
), gp = R(
|
|
5608
|
-
|
|
5629
|
+
bo
|
|
5609
5630
|
), Pp = R(
|
|
5610
|
-
|
|
5631
|
+
Xe
|
|
5611
5632
|
), Tp = R(
|
|
5612
|
-
|
|
5633
|
+
Yn
|
|
5613
5634
|
), $p = R(
|
|
5614
|
-
|
|
5635
|
+
ze
|
|
5615
5636
|
), wp = R(
|
|
5616
|
-
|
|
5637
|
+
De
|
|
5617
5638
|
), Sp = R(
|
|
5618
|
-
|
|
5639
|
+
ht
|
|
5619
5640
|
), xp = R(
|
|
5620
|
-
|
|
5641
|
+
vt
|
|
5621
5642
|
), Op = R(
|
|
5622
|
-
|
|
5643
|
+
bt
|
|
5623
5644
|
), kp = R(
|
|
5624
|
-
|
|
5645
|
+
Nt
|
|
5625
5646
|
), Ip = R(
|
|
5626
|
-
|
|
5647
|
+
pt
|
|
5627
5648
|
), Rp = R(
|
|
5628
|
-
|
|
5649
|
+
$c
|
|
5629
5650
|
), Lp = R(
|
|
5630
|
-
|
|
5651
|
+
Ca
|
|
5631
5652
|
), Mp = R(
|
|
5632
|
-
|
|
5653
|
+
sd
|
|
5633
5654
|
), Ap = R(
|
|
5634
|
-
|
|
5655
|
+
gt
|
|
5635
5656
|
), Wp = R(
|
|
5636
|
-
|
|
5657
|
+
Ct
|
|
5637
5658
|
), zp = R(
|
|
5638
|
-
|
|
5659
|
+
Qe
|
|
5639
5660
|
), Dp = R(
|
|
5640
|
-
|
|
5661
|
+
$d
|
|
5641
5662
|
), Ep = R(
|
|
5642
|
-
|
|
5663
|
+
Ea
|
|
5643
5664
|
), Bp = R(
|
|
5644
|
-
|
|
5665
|
+
Pt
|
|
5645
5666
|
), Fp = R(
|
|
5646
|
-
|
|
5667
|
+
Fa
|
|
5647
5668
|
), Up = R(
|
|
5669
|
+
Va
|
|
5670
|
+
), Vp = R(
|
|
5671
|
+
Tt
|
|
5672
|
+
), Gp = R(
|
|
5673
|
+
Ga
|
|
5674
|
+
), Hp = R(
|
|
5675
|
+
$t
|
|
5676
|
+
), jp = R(
|
|
5677
|
+
qa
|
|
5678
|
+
), qp = R(
|
|
5648
5679
|
Ka
|
|
5649
5680
|
);
|
|
5650
5681
|
export {
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5682
|
+
Ju as Accordion,
|
|
5683
|
+
op as AccordionControl,
|
|
5684
|
+
ep as AccordionItem,
|
|
5685
|
+
tp as AccordionPanel,
|
|
5686
|
+
np as AssistiveElement,
|
|
5687
|
+
ap as AutoComplete,
|
|
5688
|
+
rp as Avatar,
|
|
5689
|
+
sp as Badge,
|
|
5690
|
+
lp as Breadcrumb,
|
|
5691
|
+
ip as Button,
|
|
5692
|
+
cp as Card,
|
|
5693
|
+
dp as Checkbox,
|
|
5694
|
+
up as CheckboxGroup,
|
|
5695
|
+
pp as Chip,
|
|
5696
|
+
Zu as Container,
|
|
5697
|
+
mp as DatePicker,
|
|
5698
|
+
_p as Dropdown,
|
|
5668
5699
|
Vo as EmptyValueRenderer,
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5700
|
+
fp as FileInput,
|
|
5701
|
+
yp as FileUpload,
|
|
5702
|
+
Hu as Flex,
|
|
5703
|
+
hp as FormControlLayout,
|
|
5704
|
+
ju as Grid,
|
|
5705
|
+
qu as GridCol,
|
|
5706
|
+
Ku as Group,
|
|
5707
|
+
vp as Heading,
|
|
5708
|
+
Np as HoverCard,
|
|
5709
|
+
He as IS_DEV,
|
|
5710
|
+
Cp as Label,
|
|
5680
5711
|
qt as Layer,
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5712
|
+
Xu as Link,
|
|
5713
|
+
bp as Loader,
|
|
5714
|
+
gp as Menu,
|
|
5715
|
+
Pp as Modal,
|
|
5716
|
+
Tp as NumberInput,
|
|
5717
|
+
$p as Pagination,
|
|
5718
|
+
wp as Panel,
|
|
5719
|
+
Sp as PanelFooter,
|
|
5720
|
+
xp as Popover,
|
|
5721
|
+
Vu as RECURSICA_COMPONENTS,
|
|
5722
|
+
Op as Radio,
|
|
5723
|
+
kp as RadioGroup,
|
|
5724
|
+
Ip as ReadOnlyField,
|
|
5725
|
+
Uu as RecursicaThemeProvider,
|
|
5726
|
+
Rp as SegmentedControl,
|
|
5727
|
+
Lp as Slider,
|
|
5728
|
+
Yu as Stack,
|
|
5729
|
+
Mp as Stepper,
|
|
5730
|
+
Ap as Switch,
|
|
5731
|
+
Wp as SwitchGroup,
|
|
5732
|
+
zp as Table,
|
|
5733
|
+
Dp as Tabs,
|
|
5734
|
+
Qu as Text,
|
|
5735
|
+
Ep as TextArea,
|
|
5736
|
+
Bp as TextField,
|
|
5737
|
+
Fp as TimePicker,
|
|
5738
|
+
Up as Timeline,
|
|
5739
|
+
Vp as TimelineItem,
|
|
5740
|
+
Gp as Toast,
|
|
5741
|
+
Hp as Tooltip,
|
|
5742
|
+
jp as TransferList,
|
|
5743
|
+
qp as Tree,
|
|
5744
|
+
Gu as copyToClipboard,
|
|
5714
5745
|
Zt as fileMatchesAccept,
|
|
5715
5746
|
Kt as injectOverStyledStyles,
|
|
5716
|
-
|
|
5747
|
+
Fu as isGlobalOverStyledActive,
|
|
5748
|
+
Wr as markCurrentPageItem,
|
|
5717
5749
|
B as mergeClassNames,
|
|
5718
|
-
|
|
5719
|
-
|
|
5750
|
+
zr as mergeStyles,
|
|
5751
|
+
Xt as normalizeComboboxData,
|
|
5720
5752
|
G as omitUnsupportedProps,
|
|
5721
5753
|
Yt as registerOverStyledConsoleCommand,
|
|
5722
|
-
|
|
5723
|
-
|
|
5754
|
+
Mr as toggleGlobalOverStyled,
|
|
5755
|
+
Ar as useGlobalOverStyled,
|
|
5724
5756
|
me as withCallerOverride,
|
|
5725
5757
|
R as wrapComponent
|
|
5726
5758
|
};
|