@recursica/mantine-adapter 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1570 -1455
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/AutoComplete/AutoComplete.d.ts +9 -0
- package/dist/src/components/Avatar/Avatar.d.ts +1 -1
- package/dist/src/components/Badge/Badge.d.ts +1 -1
- package/dist/src/components/Button/Button.d.ts +1 -1
- package/dist/src/components/Card/Card.d.ts +1 -1
- package/dist/src/components/Flex/Flex.d.ts +1 -1
- package/dist/src/components/Link/Link.d.ts +1 -1
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +6 -1
- package/dist/src/components/Text/Text.d.ts +1 -1
- package/dist/src/components/Toast/Toast.d.ts +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/package.json +5 -2
- package/src/GlobalExemptions.modules.css +13 -0
- package/src/components/AutoComplete/AUTOCOMPLETE_IMPLEMENTATION_NOTES.md +21 -0
- package/src/components/AutoComplete/AutoComplete.module.css +311 -0
- package/src/components/AutoComplete/AutoComplete.stories.tsx +187 -0
- package/src/components/AutoComplete/AutoComplete.tsx +154 -0
- package/src/components/Avatar/Avatar.module.css +40 -36
- package/src/components/Badge/Badge.module.css +4 -1
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +3 -10
- package/src/components/Button/Button.module.css +215 -56
- package/src/components/Button/Button.stories.tsx +27 -0
- package/src/components/Button/Button.tsx +10 -3
- package/src/components/Card/Card.module.css +58 -1
- package/src/components/Card/Card.stories.tsx +4 -2
- package/src/components/Checkbox/Checkbox.module.css +74 -46
- package/src/components/Checkbox/Checkbox.stories.tsx +3 -0
- package/src/components/Checkbox/CheckboxGroup.tsx +1 -9
- package/src/components/Chip/Chip.module.css +19 -1
- package/src/components/DatePicker/DatePicker.module.css +45 -0
- package/src/components/Dropdown/Dropdown.module.css +42 -15
- package/src/components/Dropdown/Dropdown.stories.tsx +3 -0
- package/src/components/Dropdown/Dropdown.tsx +5 -1
- package/src/components/FileInput/FileInput.module.css +50 -0
- package/src/components/FileUpload/FileUpload.module.css +43 -0
- package/src/components/FormControlLayout/FormControlLayout.module.css +12 -2
- package/src/components/FormControlWrapper/FormControlWrapper.module.css +66 -0
- package/src/components/HoverCard/HoverCard.module.css +12 -5
- package/src/components/Label/Label.module.css +11 -3
- package/src/components/Link/Link.module.css +8 -0
- package/src/components/Menu/Menu.module.css +73 -30
- package/src/components/Modal/Modal.module.css +92 -47
- package/src/components/NumberInput/NumberInput.module.css +46 -15
- package/src/components/NumberInput/NumberInput.tsx +5 -1
- package/src/components/Pagination/Pagination.module.css +123 -41
- package/src/components/Panel/Panel.module.css +55 -3
- package/src/components/Popover/Popover.module.css +6 -4
- package/src/components/Radio/Radio.module.css +72 -59
- package/src/components/Radio/Radio.stories.tsx +3 -0
- package/src/components/Radio/RadioGroup.tsx +1 -8
- package/src/components/ReadOnlyField/ReadOnlyField.module.css +14 -0
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +16 -1
- package/src/components/SegmentedControl/SegmentedControl.module.css +106 -41
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +1 -4
- package/src/components/SegmentedControl/SegmentedControl.tsx +18 -4
- package/src/components/Slider/Slider.module.css +89 -0
- package/src/components/Stepper/Stepper.module.css +53 -2
- package/src/components/Switch/Switch.module.css +62 -23
- package/src/components/Switch/Switch.stories.tsx +3 -0
- package/src/components/Switch/Switch.tsx +1 -0
- package/src/components/Switch/SwitchGroup.tsx +3 -10
- package/src/components/Tabs/Tabs.module.css +33 -12
- package/src/components/TextArea/TextArea.module.css +58 -120
- package/src/components/TextArea/TextArea.stories.tsx +3 -0
- package/src/components/TextArea/TextArea.tsx +7 -3
- package/src/components/TextField/TextField.module.css +46 -15
- package/src/components/TextField/TextField.tsx +5 -1
- package/src/components/TimePicker/TimePicker.module.css +44 -0
- package/src/components/Timeline/Timeline.module.css +6 -0
- package/src/components/Toast/Toast.module.css +56 -1
- package/src/components/Toast/Toast.tsx +1 -1
- package/src/components/Tooltip/Tooltip.module.css +9 -0
- package/src/components/TransferList/TransferList.module.css +41 -0
- package/src/components/index.ts +1 -0
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as r, jsxs as R, Fragment as
|
|
2
|
-
import
|
|
3
|
-
import { Accordion as Re,
|
|
4
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as R, Fragment as ve } from "react/jsx-runtime";
|
|
2
|
+
import j, { forwardRef as $, useId as gt, useEffect as Tt } from "react";
|
|
3
|
+
import { Accordion as Re, Input as no, Box as qe, Autocomplete as xt, Avatar as At, createPolymorphicComponent as X, Badge as St, Breadcrumbs as Wt, Loader as Lt, Button as Ot, Card as Me, Checkbox as lo, Chip as It, Container as zt, Select as kt, Flex as Rt, Group as Mt, HoverCard as He, Anchor as Bt, Menu as J, Modal as H, NumberInput as Ft, Pagination as ae, Drawer as re, Popover as Ue, Radio as io, SegmentedControl as Et, Stack as jt, Stepper as Ve, Switch as co, CheckIcon as Dt, CloseIcon as Vt, Tabs as Be, Text as Gt, Textarea as qt, TimelineItem as Ht, Timeline as Ut, Title as Zt, Notification as Yt, Tooltip as Ze } from "@mantine/core";
|
|
4
|
+
const Kt = [
|
|
5
5
|
"className",
|
|
6
6
|
"classNames",
|
|
7
7
|
"style",
|
|
@@ -45,7 +45,7 @@ const Zt = [
|
|
|
45
45
|
"mih",
|
|
46
46
|
"mah"
|
|
47
47
|
// Dimensions
|
|
48
|
-
],
|
|
48
|
+
], po = /* @__PURE__ */ new Set([
|
|
49
49
|
"m",
|
|
50
50
|
"my",
|
|
51
51
|
"mx",
|
|
@@ -60,7 +60,7 @@ const Zt = [
|
|
|
60
60
|
"left",
|
|
61
61
|
"bottom",
|
|
62
62
|
"right"
|
|
63
|
-
]),
|
|
63
|
+
]), Ie = {
|
|
64
64
|
"rec-none": "var(--recursica_brand_dimensions_general_none)",
|
|
65
65
|
"rec-sm": "var(--recursica_brand_dimensions_general_sm)",
|
|
66
66
|
"rec-default": "var(--recursica_brand_dimensions_general_default)",
|
|
@@ -69,45 +69,45 @@ const Zt = [
|
|
|
69
69
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
70
70
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function Ye(l) {
|
|
73
73
|
const e = { ...l };
|
|
74
74
|
for (const [a, s] of Object.entries(e))
|
|
75
|
-
typeof s == "string" && s.startsWith("rec-") &&
|
|
75
|
+
typeof s == "string" && s.startsWith("rec-") && po.has(a) && s in Ie && (e[a] = Ie[s]);
|
|
76
76
|
return e;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function N(l, e) {
|
|
79
79
|
if (e)
|
|
80
80
|
return l;
|
|
81
81
|
const a = { ...l };
|
|
82
|
-
for (const s of
|
|
82
|
+
for (const s of Kt)
|
|
83
83
|
s in a && delete a[s];
|
|
84
84
|
for (const [s, t] of Object.entries(a))
|
|
85
|
-
typeof t == "string" && t.startsWith("rec-") &&
|
|
85
|
+
typeof t == "string" && t.startsWith("rec-") && po.has(s) && t in Ie && (a[s] = Ie[t]);
|
|
86
86
|
return a;
|
|
87
87
|
}
|
|
88
|
-
const
|
|
89
|
-
root:
|
|
90
|
-
item:
|
|
91
|
-
noDivider:
|
|
92
|
-
control:
|
|
93
|
-
label:
|
|
94
|
-
chevron:
|
|
95
|
-
iconLeftWrapper:
|
|
96
|
-
panel:
|
|
97
|
-
content:
|
|
98
|
-
},
|
|
88
|
+
const Qt = "Accordion-module__root___Dem6d", Xt = "Accordion-module__item___7ryVk", Jt = "Accordion-module__noDivider___Ni2tT", es = "Accordion-module__control___b4wgX", os = "Accordion-module__label___Ss7uW", ts = "Accordion-module__chevron___i-HVZ", ss = "Accordion-module__iconLeftWrapper___5oLen", as = "Accordion-module__panel___Wx50w", rs = "Accordion-module__content___PEM9t", oe = {
|
|
89
|
+
root: Qt,
|
|
90
|
+
item: Xt,
|
|
91
|
+
noDivider: Jt,
|
|
92
|
+
control: es,
|
|
93
|
+
label: os,
|
|
94
|
+
chevron: ts,
|
|
95
|
+
iconLeftWrapper: ss,
|
|
96
|
+
panel: as,
|
|
97
|
+
content: rs
|
|
98
|
+
}, _o = function({
|
|
99
99
|
variant: e = "unstyled",
|
|
100
100
|
overStyled: a = !1,
|
|
101
101
|
...s
|
|
102
102
|
}) {
|
|
103
|
-
const t =
|
|
104
|
-
root:
|
|
105
|
-
item:
|
|
106
|
-
control:
|
|
107
|
-
label:
|
|
108
|
-
chevron:
|
|
109
|
-
panel:
|
|
110
|
-
content:
|
|
103
|
+
const t = N(s, a), o = {
|
|
104
|
+
root: oe.root,
|
|
105
|
+
item: oe.item,
|
|
106
|
+
control: oe.control,
|
|
107
|
+
label: oe.label,
|
|
108
|
+
chevron: oe.chevron,
|
|
109
|
+
panel: oe.panel,
|
|
110
|
+
content: oe.content
|
|
111
111
|
}, n = t.classNames;
|
|
112
112
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
113
113
|
const c = n;
|
|
@@ -126,39 +126,39 @@ const Yt = "Accordion-module__root___Dem6d", Kt = "Accordion-module__item___7ryV
|
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
128
|
};
|
|
129
|
-
|
|
130
|
-
const
|
|
131
|
-
const c =
|
|
129
|
+
_o.displayName = "Accordion";
|
|
130
|
+
const mo = $(function({ title: e, leftIcon: a, divider: s = !0, children: t, overStyled: o = !1, ...n }, i) {
|
|
131
|
+
const c = N(n, o), d = c.className, p = [s ? void 0 : oe.noDivider, d].filter(Boolean).join(" ") || void 0;
|
|
132
132
|
return /* @__PURE__ */ r(
|
|
133
133
|
Re.Item,
|
|
134
134
|
{
|
|
135
135
|
ref: i,
|
|
136
136
|
className: p,
|
|
137
137
|
...c,
|
|
138
|
-
children: e ? /* @__PURE__ */ R(
|
|
139
|
-
/* @__PURE__ */ r(
|
|
140
|
-
/* @__PURE__ */ r(
|
|
138
|
+
children: e ? /* @__PURE__ */ R(ve, { children: [
|
|
139
|
+
/* @__PURE__ */ r(Ke, { leftIcon: a, children: e }),
|
|
140
|
+
/* @__PURE__ */ r(Qe, { children: t })
|
|
141
141
|
] }) : t
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
144
|
});
|
|
145
|
-
|
|
146
|
-
const
|
|
147
|
-
const n =
|
|
145
|
+
mo.displayName = "AccordionItem";
|
|
146
|
+
const Ke = $(function({ leftIcon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
147
|
+
const n = N(t, s), i = n.className;
|
|
148
148
|
return /* @__PURE__ */ r(
|
|
149
149
|
Re.Control,
|
|
150
150
|
{
|
|
151
151
|
ref: o,
|
|
152
152
|
className: i,
|
|
153
|
-
icon: e ? /* @__PURE__ */ r("span", { className:
|
|
153
|
+
icon: e ? /* @__PURE__ */ r("span", { className: oe.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
154
154
|
...n,
|
|
155
155
|
children: a
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
158
|
});
|
|
159
|
-
|
|
160
|
-
const
|
|
161
|
-
const t =
|
|
159
|
+
Ke.displayName = "AccordionControl";
|
|
160
|
+
const Qe = $(function({ overStyled: e = !1, ...a }, s) {
|
|
161
|
+
const t = N(a, e), o = t.className;
|
|
162
162
|
return /* @__PURE__ */ r(
|
|
163
163
|
Re.Panel,
|
|
164
164
|
{
|
|
@@ -168,321 +168,19 @@ const Ye = h(function({ overStyled: e = !1, ...a }, s) {
|
|
|
168
168
|
}
|
|
169
169
|
);
|
|
170
170
|
});
|
|
171
|
-
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
const
|
|
177
|
-
root:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
variant: a = "solid",
|
|
185
|
-
icon: s,
|
|
186
|
-
children: t,
|
|
187
|
-
src: o,
|
|
188
|
-
overStyled: n = !1,
|
|
189
|
-
...i
|
|
190
|
-
}, c) {
|
|
191
|
-
const d = {
|
|
192
|
-
solid: "filled",
|
|
193
|
-
outline: "outline",
|
|
194
|
-
ghost: "transparent"
|
|
195
|
-
}, p = {
|
|
196
|
-
default: "md",
|
|
197
|
-
small: "sm",
|
|
198
|
-
large: "lg"
|
|
199
|
-
}, m = f(i, n), N = m;
|
|
200
|
-
let u = "text";
|
|
201
|
-
o ? u = "image" : s && (u = "icon");
|
|
202
|
-
const _ = {
|
|
203
|
-
root: Z.root,
|
|
204
|
-
image: Z.image,
|
|
205
|
-
placeholder: Z.placeholder
|
|
206
|
-
}, y = N.classNames;
|
|
207
|
-
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
208
|
-
const $ = y;
|
|
209
|
-
_.root = $.root ? `${Z.root} ${$.root}` : Z.root, _.image = $.image ? `${Z.image} ${$.image}` : Z.image, _.placeholder = $.placeholder ? `${Z.placeholder} ${$.placeholder}` : Z.placeholder;
|
|
210
|
-
}
|
|
211
|
-
const C = N.className;
|
|
212
|
-
return /* @__PURE__ */ r(
|
|
213
|
-
Tt,
|
|
214
|
-
{
|
|
215
|
-
ref: c,
|
|
216
|
-
className: C,
|
|
217
|
-
classNames: _,
|
|
218
|
-
variant: d[a],
|
|
219
|
-
size: p[e],
|
|
220
|
-
src: o,
|
|
221
|
-
"data-variant": a,
|
|
222
|
-
"data-size": e,
|
|
223
|
-
"data-style": u,
|
|
224
|
-
...m,
|
|
225
|
-
children: s != null ? /* @__PURE__ */ r("span", { className: Z.iconWrapper, "aria-hidden": !0, children: s }) : t != null ? /* @__PURE__ */ r("span", { className: Z.textWrapper, children: t }) : void 0
|
|
226
|
-
}
|
|
227
|
-
);
|
|
228
|
-
});
|
|
229
|
-
mo.displayName = "Avatar";
|
|
230
|
-
const kn = Y(mo), cs = "Badge-module__root___5osNT", Q = {
|
|
231
|
-
root: cs
|
|
232
|
-
}, _o = h(function({ variant: e = "primary-color", overStyled: a = !1, ...s }, t) {
|
|
233
|
-
const o = f(s, a), n = {
|
|
234
|
-
root: Q.root,
|
|
235
|
-
section: Q.section,
|
|
236
|
-
label: Q.label
|
|
237
|
-
}, i = o.classNames;
|
|
238
|
-
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
239
|
-
const p = i;
|
|
240
|
-
n.root = p.root ? `${Q.root} ${p.root}` : Q.root, n.section = p.section ?? Q.section, n.label = p.label ?? Q.label;
|
|
241
|
-
}
|
|
242
|
-
const c = o.className, d = c ? `${Q.root} ${c}` : Q.root;
|
|
243
|
-
return /* @__PURE__ */ r(
|
|
244
|
-
xt,
|
|
245
|
-
{
|
|
246
|
-
ref: t,
|
|
247
|
-
variant: "filled",
|
|
248
|
-
"data-variant": e,
|
|
249
|
-
...o,
|
|
250
|
-
className: d,
|
|
251
|
-
classNames: n
|
|
252
|
-
}
|
|
253
|
-
);
|
|
254
|
-
});
|
|
255
|
-
_o.displayName = "Badge";
|
|
256
|
-
const Mn = Y(_o), ds = "Breadcrumb-module__root___x-9ln", ps = "Breadcrumb-module__separator___qrUX-", ne = {
|
|
257
|
-
root: ds,
|
|
258
|
-
separator: ps
|
|
259
|
-
}, ms = h(
|
|
260
|
-
function({ overStyled: e = !1, separator: a = ">", ...s }, t) {
|
|
261
|
-
const o = f(
|
|
262
|
-
{ separator: a, ...s },
|
|
263
|
-
e
|
|
264
|
-
), n = {
|
|
265
|
-
root: ne.root,
|
|
266
|
-
separator: ne.separator
|
|
267
|
-
}, i = o.classNames;
|
|
268
|
-
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
269
|
-
const p = i;
|
|
270
|
-
n.root = p.root ? `${ne.root} ${p.root}` : ne.root, n.separator = p.separator ? `${ne.separator} ${p.separator}` : ne.separator;
|
|
271
|
-
}
|
|
272
|
-
const c = o.className, d = c ? `${ne.root} ${c}` : ne.root;
|
|
273
|
-
return /* @__PURE__ */ r(
|
|
274
|
-
St,
|
|
275
|
-
{
|
|
276
|
-
ref: t,
|
|
277
|
-
...o,
|
|
278
|
-
className: d,
|
|
279
|
-
classNames: n
|
|
280
|
-
}
|
|
281
|
-
);
|
|
282
|
-
}
|
|
283
|
-
);
|
|
284
|
-
ms.displayName = "Breadcrumb";
|
|
285
|
-
const _s = "Loader-module__root___6iYOP", $e = {
|
|
286
|
-
root: _s
|
|
287
|
-
}, uo = h(function({ variant: e = "oval", size: a = "default", overStyled: s = !1, ...t }, o) {
|
|
288
|
-
const i = {
|
|
289
|
-
sm: "small",
|
|
290
|
-
md: "default",
|
|
291
|
-
lg: "large",
|
|
292
|
-
small: "small",
|
|
293
|
-
default: "default",
|
|
294
|
-
large: "large"
|
|
295
|
-
}[a] || "default", c = f(t, s), d = {
|
|
296
|
-
root: $e.root
|
|
297
|
-
}, p = c.classNames;
|
|
298
|
-
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
299
|
-
const u = p;
|
|
300
|
-
d.root = u.root ? `${$e.root} ${u.root}` : $e.root;
|
|
301
|
-
}
|
|
302
|
-
const m = c.className, N = m ? `${$e.root} ${m}` : $e.root;
|
|
303
|
-
return /* @__PURE__ */ r(
|
|
304
|
-
At,
|
|
305
|
-
{
|
|
306
|
-
ref: o,
|
|
307
|
-
type: e,
|
|
308
|
-
"data-variant": e,
|
|
309
|
-
"data-size": i,
|
|
310
|
-
...c,
|
|
311
|
-
className: N,
|
|
312
|
-
classNames: d
|
|
313
|
-
}
|
|
314
|
-
);
|
|
315
|
-
});
|
|
316
|
-
uo.displayName = "Loader";
|
|
317
|
-
const us = "Button-module__root___Q2R8-", bs = "Button-module__loader___X-9u-", ys = "Button-module__label___UJ3Zt", fs = "Button-module__labelText___rFV5p", Ns = "Button-module__iconWrapper___uEKPa", hs = "Button-module__section___f2mKr", H = {
|
|
318
|
-
root: us,
|
|
319
|
-
loader: bs,
|
|
320
|
-
label: ys,
|
|
321
|
-
labelText: fs,
|
|
322
|
-
iconWrapper: Ns,
|
|
323
|
-
section: hs
|
|
324
|
-
};
|
|
325
|
-
function $s(l) {
|
|
326
|
-
return l == null || l === "" ? !1 : typeof l == "string" ? l.trim() !== "" : !0;
|
|
327
|
-
}
|
|
328
|
-
const bo = h(function({
|
|
329
|
-
variant: e = "solid",
|
|
330
|
-
size: a = "default",
|
|
331
|
-
icon: s,
|
|
332
|
-
children: t,
|
|
333
|
-
overStyled: o = !1,
|
|
334
|
-
loaderVariant: n = "oval",
|
|
335
|
-
loaderSize: i,
|
|
336
|
-
useRecursicaLoader: c = !0,
|
|
337
|
-
...d
|
|
338
|
-
}, p) {
|
|
339
|
-
const m = {
|
|
340
|
-
solid: "filled",
|
|
341
|
-
outline: "outline",
|
|
342
|
-
text: "subtle"
|
|
343
|
-
}, N = {
|
|
344
|
-
default: "md",
|
|
345
|
-
small: "sm"
|
|
346
|
-
}, u = f(d, o), _ = u;
|
|
347
|
-
delete _.fullWidth;
|
|
348
|
-
const y = !!s || !!_.leftSection, C = !!_.rightSection, $ = (y || C) && !$s(t);
|
|
349
|
-
typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !_["aria-label"] && console.warn(
|
|
350
|
-
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
351
|
-
);
|
|
352
|
-
const P = {
|
|
353
|
-
root: H.root,
|
|
354
|
-
section: H.section,
|
|
355
|
-
label: H.label,
|
|
356
|
-
loader: H.loader
|
|
357
|
-
}, b = _.classNames;
|
|
358
|
-
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
359
|
-
const A = b;
|
|
360
|
-
P.root = A.root ? `${H.root} ${A.root}` : H.root, P.section = A.section ?? H.section, P.label = A.label ?? H.label;
|
|
361
|
-
}
|
|
362
|
-
const T = _.className, v = T ? `${H.root} ${T}` : H.root, k = _.loaderProps, S = i ?? (a === "small" ? "small" : "default");
|
|
363
|
-
let w = k;
|
|
364
|
-
return c && (w = {
|
|
365
|
-
children: /* @__PURE__ */ r(uo, { variant: n, size: S }),
|
|
366
|
-
...k
|
|
367
|
-
}), /* @__PURE__ */ r(
|
|
368
|
-
Wt,
|
|
369
|
-
{
|
|
370
|
-
ref: p,
|
|
371
|
-
className: v,
|
|
372
|
-
classNames: P,
|
|
373
|
-
variant: m[e],
|
|
374
|
-
size: N[a],
|
|
375
|
-
loaderProps: w,
|
|
376
|
-
leftSection: s != null ? /* @__PURE__ */ r("span", { className: H.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
377
|
-
"data-variant": e,
|
|
378
|
-
"data-size": a,
|
|
379
|
-
...$ ? { "data-icon-only": "" } : {},
|
|
380
|
-
...u,
|
|
381
|
-
disabled: !!_.disabled || !!_.loading,
|
|
382
|
-
children: /* @__PURE__ */ r("span", { className: H.labelText, children: t })
|
|
383
|
-
}
|
|
384
|
-
);
|
|
385
|
-
});
|
|
386
|
-
bo.displayName = "Button";
|
|
387
|
-
const Bn = Y(
|
|
388
|
-
bo
|
|
389
|
-
), vs = "Card-module__root___c9KvZ", Cs = "Card-module__header___PTXf2 recursica_brand_typography_h3", Ps = "Card-module__footer___Mu-JC", gs = "Card-module__section___BRT8H", ws = "Card-module__content___oFIQa", oe = {
|
|
390
|
-
root: vs,
|
|
391
|
-
header: Cs,
|
|
392
|
-
footer: Ps,
|
|
393
|
-
section: gs,
|
|
394
|
-
content: ws
|
|
395
|
-
}, yo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
396
|
-
const t = f(a, e), o = {
|
|
397
|
-
root: oe.root
|
|
398
|
-
}, n = t.classNames;
|
|
399
|
-
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
400
|
-
const c = n;
|
|
401
|
-
Object.keys(c).forEach((d) => {
|
|
402
|
-
o[d] ? o[d] = `${o[d]} ${c[d]}` : o[d] = c[d];
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
const i = t.className;
|
|
406
|
-
return /* @__PURE__ */ r(
|
|
407
|
-
ke,
|
|
408
|
-
{
|
|
409
|
-
ref: s,
|
|
410
|
-
className: i,
|
|
411
|
-
classNames: o,
|
|
412
|
-
...t
|
|
413
|
-
}
|
|
414
|
-
);
|
|
415
|
-
});
|
|
416
|
-
yo.displayName = "Card";
|
|
417
|
-
const fo = h(
|
|
418
|
-
function({ overStyled: e = !1, ...a }, s) {
|
|
419
|
-
const t = f(a, e), o = t.className;
|
|
420
|
-
return /* @__PURE__ */ r(
|
|
421
|
-
ke.Section,
|
|
422
|
-
{
|
|
423
|
-
ref: s,
|
|
424
|
-
className: o ? `${oe.section} ${o}` : oe.section,
|
|
425
|
-
...t
|
|
426
|
-
}
|
|
427
|
-
);
|
|
428
|
-
}
|
|
429
|
-
);
|
|
430
|
-
fo.displayName = "CardSection";
|
|
431
|
-
const No = h(
|
|
432
|
-
function({ overStyled: e = !1, ...a }, s) {
|
|
433
|
-
const t = f(a, e), o = t.className;
|
|
434
|
-
return /* @__PURE__ */ r(
|
|
435
|
-
ke.Section,
|
|
436
|
-
{
|
|
437
|
-
ref: s,
|
|
438
|
-
className: o ? `${oe.header} ${o}` : oe.header,
|
|
439
|
-
...t
|
|
440
|
-
}
|
|
441
|
-
);
|
|
442
|
-
}
|
|
443
|
-
);
|
|
444
|
-
No.displayName = "CardHeader";
|
|
445
|
-
const ho = h(
|
|
446
|
-
function({ overStyled: e = !1, ...a }, s) {
|
|
447
|
-
const t = f(a, e), o = t.className;
|
|
448
|
-
return /* @__PURE__ */ r(
|
|
449
|
-
ke.Section,
|
|
450
|
-
{
|
|
451
|
-
ref: s,
|
|
452
|
-
className: o ? `${oe.footer} ${o}` : oe.footer,
|
|
453
|
-
...t
|
|
454
|
-
}
|
|
455
|
-
);
|
|
456
|
-
}
|
|
457
|
-
);
|
|
458
|
-
ho.displayName = "CardFooter";
|
|
459
|
-
const $o = h(
|
|
460
|
-
function({ overStyled: e = !1, ...a }, s) {
|
|
461
|
-
const t = f(a, e), o = t.className;
|
|
462
|
-
return /* @__PURE__ */ r(
|
|
463
|
-
"div",
|
|
464
|
-
{
|
|
465
|
-
ref: s,
|
|
466
|
-
className: o ? `${oe.content} ${o}` : oe.content,
|
|
467
|
-
...t
|
|
468
|
-
}
|
|
469
|
-
);
|
|
470
|
-
}
|
|
471
|
-
);
|
|
472
|
-
$o.displayName = "CardContent";
|
|
473
|
-
const vo = Y(yo), Be = vo;
|
|
474
|
-
Be.Section = fo;
|
|
475
|
-
Be.Header = No;
|
|
476
|
-
Be.Footer = ho;
|
|
477
|
-
Be.Content = $o;
|
|
478
|
-
const Fn = vo, Ts = "Label-module__root___e6HXZ", xs = "Label-module__labelText___rieFR", Ss = "Label-module__required___Ggrzc", As = "Label-module__optionalText___Y2yun", Ws = "Label-module__actionAreaWrapper___ELoZK", Ls = "Label-module__editIconWrapper___NG2xW", U = {
|
|
479
|
-
root: Ts,
|
|
480
|
-
labelText: xs,
|
|
481
|
-
required: Ss,
|
|
482
|
-
optionalText: As,
|
|
483
|
-
actionAreaWrapper: Ws,
|
|
484
|
-
editIconWrapper: Ls
|
|
485
|
-
}, Co = h(function({
|
|
171
|
+
Qe.displayName = "AccordionPanel";
|
|
172
|
+
const Xe = _o;
|
|
173
|
+
Xe.Item = mo;
|
|
174
|
+
Xe.Control = Ke;
|
|
175
|
+
Xe.Panel = Qe;
|
|
176
|
+
const ns = "Label-module__root___e6HXZ", ls = "Label-module__labelText___rieFR", is = "Label-module__required___Ggrzc", cs = "Label-module__optionalText___Y2yun", ds = "Label-module__actionAreaWrapper___ELoZK", ps = "Label-module__editIconWrapper___NG2xW", Z = {
|
|
177
|
+
root: ns,
|
|
178
|
+
labelText: ls,
|
|
179
|
+
required: is,
|
|
180
|
+
optionalText: cs,
|
|
181
|
+
actionAreaWrapper: ds,
|
|
182
|
+
editIconWrapper: ps
|
|
183
|
+
}, uo = $(function({
|
|
486
184
|
labelSize: e = "default",
|
|
487
185
|
labelAlignment: a,
|
|
488
186
|
required: s = !1,
|
|
@@ -493,37 +191,37 @@ const Fn = vo, Ts = "Label-module__root___e6HXZ", xs = "Label-module__labelText_
|
|
|
493
191
|
children: c,
|
|
494
192
|
overStyled: d = !1,
|
|
495
193
|
...p
|
|
496
|
-
},
|
|
497
|
-
const
|
|
194
|
+
}, _) {
|
|
195
|
+
const f = a || "left";
|
|
498
196
|
let u;
|
|
499
197
|
s || (t === !0 ? u = "optional" : t && (u = t));
|
|
500
|
-
const
|
|
501
|
-
label:
|
|
502
|
-
required:
|
|
503
|
-
},
|
|
504
|
-
if (
|
|
505
|
-
const
|
|
506
|
-
C.label =
|
|
198
|
+
const m = N(p, d), y = m, C = {
|
|
199
|
+
label: Z.root,
|
|
200
|
+
required: Z.required
|
|
201
|
+
}, h = y.classNames;
|
|
202
|
+
if (h && typeof h == "object" && !Array.isArray(h)) {
|
|
203
|
+
const x = h;
|
|
204
|
+
C.label = x.label ? `${Z.root} ${x.label}` : Z.root, C.required = x.required ? `${Z.required} ${x.required}` : Z.required;
|
|
507
205
|
}
|
|
508
|
-
const
|
|
206
|
+
const w = y.className, b = w ? `${Z.root} ${w}` : Z.root;
|
|
509
207
|
return /* @__PURE__ */ R(
|
|
510
|
-
|
|
208
|
+
no.Label,
|
|
511
209
|
{
|
|
512
|
-
ref:
|
|
210
|
+
ref: _,
|
|
513
211
|
className: b,
|
|
514
212
|
classNames: C,
|
|
515
213
|
"data-size": e,
|
|
516
|
-
"data-alignment":
|
|
214
|
+
"data-alignment": f,
|
|
517
215
|
required: s && !o,
|
|
518
|
-
...
|
|
216
|
+
...m,
|
|
519
217
|
children: [
|
|
520
|
-
/* @__PURE__ */ r("span", { className:
|
|
521
|
-
u && /* @__PURE__ */ r("span", { className:
|
|
522
|
-
n ? /* @__PURE__ */ r("span", { className:
|
|
218
|
+
/* @__PURE__ */ r("span", { className: Z.labelText, children: c }),
|
|
219
|
+
u && /* @__PURE__ */ r("span", { className: Z.optionalText, children: typeof u == "string" ? `(${u})` : u }),
|
|
220
|
+
n ? /* @__PURE__ */ r("span", { className: Z.actionAreaWrapper, children: n }) : o ? /* @__PURE__ */ r(
|
|
523
221
|
"button",
|
|
524
222
|
{
|
|
525
223
|
type: "button",
|
|
526
|
-
className:
|
|
224
|
+
className: Z.editIconWrapper,
|
|
527
225
|
"data-replaces-asterisk": s ? "true" : void 0,
|
|
528
226
|
onClick: i,
|
|
529
227
|
"aria-label": "Edit",
|
|
@@ -552,12 +250,12 @@ const Fn = vo, Ts = "Label-module__root___e6HXZ", xs = "Label-module__labelText_
|
|
|
552
250
|
}
|
|
553
251
|
);
|
|
554
252
|
});
|
|
555
|
-
|
|
556
|
-
const
|
|
557
|
-
root:
|
|
558
|
-
leftSection:
|
|
559
|
-
rightSection:
|
|
560
|
-
},
|
|
253
|
+
uo.displayName = "Label";
|
|
254
|
+
const _s = "FormControlLayout-module__root___yNDhZ", ms = "FormControlLayout-module__leftSection___GBM1r", us = "FormControlLayout-module__rightSection___bcL4v", We = {
|
|
255
|
+
root: _s,
|
|
256
|
+
leftSection: ms,
|
|
257
|
+
rightSection: us
|
|
258
|
+
}, me = $(function({
|
|
561
259
|
formLayout: e = "stacked",
|
|
562
260
|
labelSize: a = "default",
|
|
563
261
|
controlMaxWidth: s,
|
|
@@ -568,12 +266,12 @@ const Is = "FormControlLayout-module__root___yNDhZ", Os = "FormControlLayout-mod
|
|
|
568
266
|
style: c,
|
|
569
267
|
...d
|
|
570
268
|
}, p) {
|
|
571
|
-
const
|
|
269
|
+
const _ = i ? `${We.root} ${i}` : We.root, u = o != null || e === "side-by-side";
|
|
572
270
|
return /* @__PURE__ */ R(
|
|
573
271
|
"div",
|
|
574
272
|
{
|
|
575
273
|
ref: p,
|
|
576
|
-
className:
|
|
274
|
+
className: _,
|
|
577
275
|
"data-form-layout": e,
|
|
578
276
|
style: {
|
|
579
277
|
...c,
|
|
@@ -582,18 +280,18 @@ const Is = "FormControlLayout-module__root___yNDhZ", Os = "FormControlLayout-mod
|
|
|
582
280
|
},
|
|
583
281
|
...d,
|
|
584
282
|
children: [
|
|
585
|
-
u && /* @__PURE__ */ r("div", { className:
|
|
586
|
-
/* @__PURE__ */ r("div", { className:
|
|
283
|
+
u && /* @__PURE__ */ r("div", { className: We.leftSection, "data-size": a, children: o }),
|
|
284
|
+
/* @__PURE__ */ r("div", { className: We.rightSection, children: n })
|
|
587
285
|
]
|
|
588
286
|
}
|
|
589
287
|
);
|
|
590
288
|
});
|
|
591
|
-
|
|
592
|
-
const
|
|
593
|
-
root:
|
|
594
|
-
textWrapper:
|
|
595
|
-
iconWrapper:
|
|
596
|
-
},
|
|
289
|
+
me.displayName = "FormControlLayout";
|
|
290
|
+
const bs = "AssistiveElement-module__root___WhQ43", ys = "AssistiveElement-module__textWrapper___sfy5E", fs = "AssistiveElement-module__iconWrapper___gObRF", De = {
|
|
291
|
+
root: bs,
|
|
292
|
+
textWrapper: ys,
|
|
293
|
+
iconWrapper: fs
|
|
294
|
+
}, Ns = () => /* @__PURE__ */ R(
|
|
597
295
|
"svg",
|
|
598
296
|
{
|
|
599
297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -609,7 +307,7 @@ const Rs = "AssistiveElement-module__root___WhQ43", ks = "AssistiveElement-modul
|
|
|
609
307
|
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
610
308
|
]
|
|
611
309
|
}
|
|
612
|
-
),
|
|
310
|
+
), hs = () => /* @__PURE__ */ R(
|
|
613
311
|
"svg",
|
|
614
312
|
{
|
|
615
313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -625,7 +323,7 @@ const Rs = "AssistiveElement-module__root___WhQ43", ks = "AssistiveElement-modul
|
|
|
625
323
|
/* @__PURE__ */ r("path", { d: "M12 17h.01" })
|
|
626
324
|
]
|
|
627
325
|
}
|
|
628
|
-
),
|
|
326
|
+
), Ge = $(function({
|
|
629
327
|
assistiveVariant: e = "help",
|
|
630
328
|
assistiveWithIcon: a = !0,
|
|
631
329
|
children: s,
|
|
@@ -633,26 +331,27 @@ const Rs = "AssistiveElement-module__root___WhQ43", ks = "AssistiveElement-modul
|
|
|
633
331
|
overStyled: o = !1,
|
|
634
332
|
...n
|
|
635
333
|
}, i) {
|
|
636
|
-
const d =
|
|
334
|
+
const d = N(n, o), p = De.root, _ = t ? `${p} ${t}` : p, f = e === "error" ? hs : Ns;
|
|
637
335
|
return /* @__PURE__ */ R(
|
|
638
336
|
"div",
|
|
639
337
|
{
|
|
640
338
|
ref: i,
|
|
641
|
-
className:
|
|
339
|
+
className: _,
|
|
642
340
|
"data-variant": e,
|
|
643
341
|
style: d.style,
|
|
644
342
|
...d,
|
|
645
343
|
children: [
|
|
646
|
-
a && /* @__PURE__ */ r("span", { className:
|
|
647
|
-
/* @__PURE__ */ r("span", { className:
|
|
344
|
+
a && /* @__PURE__ */ r("span", { className: De.iconWrapper, children: /* @__PURE__ */ r(f, {}) }),
|
|
345
|
+
/* @__PURE__ */ r("span", { className: De.textWrapper, children: s })
|
|
648
346
|
]
|
|
649
347
|
}
|
|
650
348
|
);
|
|
651
349
|
});
|
|
652
|
-
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
350
|
+
Ge.displayName = "AssistiveElement";
|
|
351
|
+
const $s = "FormControlWrapper-module__root___c-UHo", vs = "FormControlWrapper-module__inputSection___HenXk", oo = {
|
|
352
|
+
root: $s,
|
|
353
|
+
inputSection: vs
|
|
354
|
+
}, ze = $(function({
|
|
656
355
|
formLayout: e,
|
|
657
356
|
labelSize: a,
|
|
658
357
|
labelAlignment: s,
|
|
@@ -663,30 +362,30 @@ const Es = "FormControlWrapper-module__inputSection___HenXk", Je = {
|
|
|
663
362
|
label: c,
|
|
664
363
|
description: d,
|
|
665
364
|
assistiveText: p,
|
|
666
|
-
assistiveWithIcon:
|
|
667
|
-
controlMaxWidth:
|
|
365
|
+
assistiveWithIcon: _ = !0,
|
|
366
|
+
controlMaxWidth: f,
|
|
668
367
|
controlMinWidth: u,
|
|
669
|
-
error:
|
|
368
|
+
error: m,
|
|
670
369
|
required: y,
|
|
671
370
|
withAsterisk: C,
|
|
672
|
-
id:
|
|
673
|
-
children:
|
|
371
|
+
id: h,
|
|
372
|
+
children: w,
|
|
674
373
|
className: b,
|
|
675
|
-
overStyled:
|
|
374
|
+
overStyled: x = !1,
|
|
676
375
|
labelElement: v,
|
|
677
376
|
// Extracted safely preventing bleeding into HTML domains
|
|
678
|
-
...
|
|
679
|
-
},
|
|
680
|
-
const
|
|
681
|
-
|
|
377
|
+
...I
|
|
378
|
+
}, A) {
|
|
379
|
+
const T = gt(), W = h || `recursica-fc-${T}`, O = p || d, P = O ? `${W}-assistive` : void 0, g = m ? `${W}-error` : void 0, B = N(I, x), S = b || B.className, Se = oo.root, je = S ? `${Se} ${S}` : Se, U = j.isValidElement(w) ? j.cloneElement(
|
|
380
|
+
w,
|
|
682
381
|
{
|
|
683
|
-
...
|
|
684
|
-
...
|
|
382
|
+
...O && !w.props["aria-describedby"] ? { "aria-describedby": P } : {},
|
|
383
|
+
...m && !w.props["aria-errormessage"] ? { "aria-errormessage": g } : {}
|
|
685
384
|
}
|
|
686
|
-
) :
|
|
687
|
-
|
|
385
|
+
) : w, Pt = c ? /* @__PURE__ */ r(
|
|
386
|
+
uo,
|
|
688
387
|
{
|
|
689
|
-
id:
|
|
388
|
+
id: W,
|
|
690
389
|
labelAlignment: s,
|
|
691
390
|
labelOptionalText: t,
|
|
692
391
|
labelWithEditIcon: o,
|
|
@@ -698,46 +397,46 @@ const Es = "FormControlWrapper-module__inputSection___HenXk", Je = {
|
|
|
698
397
|
}
|
|
699
398
|
) : void 0;
|
|
700
399
|
return /* @__PURE__ */ r(
|
|
701
|
-
|
|
400
|
+
me,
|
|
702
401
|
{
|
|
703
|
-
ref:
|
|
704
|
-
className:
|
|
402
|
+
ref: A,
|
|
403
|
+
className: je,
|
|
705
404
|
formLayout: e,
|
|
706
405
|
labelSize: a,
|
|
707
|
-
controlMaxWidth:
|
|
406
|
+
controlMaxWidth: f,
|
|
708
407
|
controlMinWidth: u,
|
|
709
408
|
leftSection: Pt,
|
|
710
|
-
...
|
|
711
|
-
children: /* @__PURE__ */ R("div", { className:
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
409
|
+
...B,
|
|
410
|
+
children: /* @__PURE__ */ R("div", { className: oo.inputSection, children: [
|
|
411
|
+
U,
|
|
412
|
+
m && /* @__PURE__ */ r(
|
|
413
|
+
Ge,
|
|
715
414
|
{
|
|
716
|
-
id:
|
|
415
|
+
id: g,
|
|
717
416
|
assistiveVariant: "error",
|
|
718
|
-
assistiveWithIcon:
|
|
719
|
-
children:
|
|
417
|
+
assistiveWithIcon: _,
|
|
418
|
+
children: m
|
|
720
419
|
}
|
|
721
420
|
),
|
|
722
|
-
!
|
|
723
|
-
|
|
421
|
+
!m && O && /* @__PURE__ */ r(
|
|
422
|
+
Ge,
|
|
724
423
|
{
|
|
725
|
-
id:
|
|
424
|
+
id: P,
|
|
726
425
|
assistiveVariant: "help",
|
|
727
|
-
assistiveWithIcon:
|
|
728
|
-
children:
|
|
426
|
+
assistiveWithIcon: _,
|
|
427
|
+
children: O
|
|
729
428
|
}
|
|
730
429
|
)
|
|
731
430
|
] })
|
|
732
431
|
}
|
|
733
432
|
);
|
|
734
433
|
});
|
|
735
|
-
|
|
736
|
-
const
|
|
737
|
-
root:
|
|
738
|
-
contents:
|
|
739
|
-
},
|
|
740
|
-
const i = e ? s ? `${
|
|
434
|
+
ze.displayName = "FormControlWrapper";
|
|
435
|
+
const Cs = "_root_1qhn7_3", ws = "_contents_1qhn7_18", he = {
|
|
436
|
+
root: Cs,
|
|
437
|
+
contents: ws
|
|
438
|
+
}, Ps = $(function({ layer: l, contentsOnly: e, children: a, className: s, style: t, ...o }, n) {
|
|
439
|
+
const i = e ? s ? `${he.root} ${he.contents} ${s}` : `${he.root} ${he.contents}` : s ? `${he.root} ${s}` : he.root;
|
|
741
440
|
return /* @__PURE__ */ r(
|
|
742
441
|
"div",
|
|
743
442
|
{
|
|
@@ -750,88 +449,100 @@ const js = "_root_1qhn7_3", Ds = "_contents_1qhn7_18", ye = {
|
|
|
750
449
|
}
|
|
751
450
|
);
|
|
752
451
|
});
|
|
753
|
-
|
|
754
|
-
const
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
function
|
|
452
|
+
Ps.displayName = "Layer";
|
|
453
|
+
const ke = ({ emptyText: l = "N/A" }) => /* @__PURE__ */ r(j.Fragment, { children: l });
|
|
454
|
+
ke.displayName = "EmptyValueRenderer";
|
|
455
|
+
ke.check = (l) => l == null || l === "" || Array.isArray(l) && l.length === 0;
|
|
456
|
+
const to = "data-recursica-theme";
|
|
457
|
+
function Qn({
|
|
759
458
|
children: l,
|
|
760
459
|
theme: e = "light"
|
|
761
460
|
}) {
|
|
762
|
-
return
|
|
461
|
+
return Tt(() => {
|
|
763
462
|
const a = document.documentElement;
|
|
764
|
-
return a.setAttribute(
|
|
765
|
-
a.removeAttribute(
|
|
463
|
+
return a.setAttribute(to, e), () => {
|
|
464
|
+
a.removeAttribute(to);
|
|
766
465
|
};
|
|
767
|
-
}, [e]), /* @__PURE__ */ r(
|
|
466
|
+
}, [e]), /* @__PURE__ */ r(ve, { children: l });
|
|
768
467
|
}
|
|
769
|
-
const
|
|
770
|
-
|
|
771
|
-
|
|
468
|
+
const gs = "ReadOnlyField-module__layoutOverride___9fSsG", Ts = "ReadOnlyField-module__textField___qKn25", $e = {
|
|
469
|
+
layoutOverride: gs,
|
|
470
|
+
textField: Ts
|
|
471
|
+
}, Oe = ({
|
|
772
472
|
value: l,
|
|
773
473
|
overStyled: e = !1,
|
|
774
474
|
...a
|
|
775
475
|
}) => {
|
|
776
|
-
const s =
|
|
476
|
+
const s = N(a, e), t = s.className;
|
|
777
477
|
return /* @__PURE__ */ r(
|
|
778
|
-
|
|
478
|
+
qe,
|
|
779
479
|
{
|
|
780
480
|
component: "p",
|
|
781
|
-
className: t ? `${
|
|
481
|
+
className: t ? `${$e.textField} ${t}` : $e.textField,
|
|
782
482
|
...s,
|
|
783
|
-
children: l != null ?
|
|
483
|
+
children: l != null ? j.isValidElement(l) ? l : Array.isArray(l) ? l.join(", ") : String(l) : ""
|
|
784
484
|
}
|
|
785
485
|
);
|
|
786
486
|
};
|
|
787
|
-
|
|
788
|
-
const
|
|
789
|
-
function({
|
|
790
|
-
|
|
791
|
-
|
|
487
|
+
Oe.displayName = "ReadOnlyTextField";
|
|
488
|
+
const bo = $(
|
|
489
|
+
function({
|
|
490
|
+
value: e,
|
|
491
|
+
type: a = "text",
|
|
492
|
+
emptyValueComponent: s,
|
|
493
|
+
overStyled: t = !1,
|
|
494
|
+
className: o,
|
|
495
|
+
style: n,
|
|
496
|
+
...i
|
|
497
|
+
}, c) {
|
|
498
|
+
let d = null;
|
|
499
|
+
const p = N(i, t), _ = s || ke, u = (_.check ? _.check(e) : ke.check(e)) ? /* @__PURE__ */ r(_, { value: e }) : e;
|
|
792
500
|
switch (a) {
|
|
793
501
|
case "boolean":
|
|
794
|
-
|
|
795
|
-
|
|
502
|
+
d = /* @__PURE__ */ r(
|
|
503
|
+
Oe,
|
|
796
504
|
{
|
|
797
|
-
value: e === !0 ? "True" : e === !1 ? "False" :
|
|
505
|
+
value: e === !0 ? "True" : e === !1 ? "False" : u,
|
|
798
506
|
overStyled: t
|
|
799
507
|
}
|
|
800
508
|
);
|
|
801
509
|
break;
|
|
802
510
|
case "switch":
|
|
803
|
-
|
|
804
|
-
|
|
511
|
+
d = /* @__PURE__ */ r(
|
|
512
|
+
Oe,
|
|
805
513
|
{
|
|
806
|
-
value: e === !0 ? "On" : e === !1 ? "Off" :
|
|
514
|
+
value: e === !0 ? "On" : e === !1 ? "Off" : u,
|
|
807
515
|
overStyled: t
|
|
808
516
|
}
|
|
809
517
|
);
|
|
810
518
|
break;
|
|
811
519
|
case "text":
|
|
812
520
|
default:
|
|
813
|
-
|
|
814
|
-
|
|
521
|
+
d = /* @__PURE__ */ r(
|
|
522
|
+
Oe,
|
|
815
523
|
{
|
|
816
|
-
value:
|
|
524
|
+
value: u,
|
|
817
525
|
overStyled: t
|
|
818
526
|
}
|
|
819
527
|
);
|
|
820
528
|
break;
|
|
821
529
|
}
|
|
530
|
+
const m = o ? `${$e.layoutOverride} ${o}` : $e.layoutOverride;
|
|
822
531
|
return /* @__PURE__ */ r(
|
|
823
|
-
|
|
532
|
+
ze,
|
|
824
533
|
{
|
|
825
|
-
ref:
|
|
534
|
+
ref: c,
|
|
826
535
|
overStyled: t,
|
|
827
|
-
|
|
828
|
-
|
|
536
|
+
className: m,
|
|
537
|
+
style: n,
|
|
538
|
+
...p,
|
|
539
|
+
children: d
|
|
829
540
|
}
|
|
830
541
|
);
|
|
831
542
|
}
|
|
832
543
|
);
|
|
833
|
-
|
|
834
|
-
const
|
|
544
|
+
bo.displayName = "ReadOnlyField";
|
|
545
|
+
const ne = $(function({
|
|
835
546
|
readOnly: e,
|
|
836
547
|
readOnlyComponent: a,
|
|
837
548
|
readOnlyType: s = "text",
|
|
@@ -842,20 +553,20 @@ const de = h(function({
|
|
|
842
553
|
overStyled: c,
|
|
843
554
|
onLabelEditClick: d,
|
|
844
555
|
...p
|
|
845
|
-
},
|
|
556
|
+
}, _) {
|
|
846
557
|
return e ? a ? /* @__PURE__ */ r(
|
|
847
|
-
|
|
558
|
+
ze,
|
|
848
559
|
{
|
|
849
|
-
ref:
|
|
560
|
+
ref: _,
|
|
850
561
|
...p,
|
|
851
562
|
onLabelEditClick: d,
|
|
852
563
|
overStyled: c,
|
|
853
564
|
children: /* @__PURE__ */ r(a, { ...o })
|
|
854
565
|
}
|
|
855
566
|
) : /* @__PURE__ */ r(
|
|
856
|
-
|
|
567
|
+
bo,
|
|
857
568
|
{
|
|
858
|
-
ref:
|
|
569
|
+
ref: _,
|
|
859
570
|
type: s,
|
|
860
571
|
value: t,
|
|
861
572
|
emptyValueComponent: n,
|
|
@@ -864,9 +575,9 @@ const de = h(function({
|
|
|
864
575
|
...p
|
|
865
576
|
}
|
|
866
577
|
) : /* @__PURE__ */ r(
|
|
867
|
-
|
|
578
|
+
ze,
|
|
868
579
|
{
|
|
869
|
-
ref:
|
|
580
|
+
ref: _,
|
|
870
581
|
...p,
|
|
871
582
|
onLabelEditClick: d,
|
|
872
583
|
overStyled: c,
|
|
@@ -874,17 +585,419 @@ const de = h(function({
|
|
|
874
585
|
}
|
|
875
586
|
);
|
|
876
587
|
});
|
|
877
|
-
|
|
878
|
-
const
|
|
879
|
-
|
|
880
|
-
root:
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
588
|
+
ne.displayName = "WithReadOnlyWrapper";
|
|
589
|
+
const xs = "AutoComplete-module__layoutOverride___-K9WL", As = "AutoComplete-module__root___kANza", Ss = "AutoComplete-module__input___g51MC", Ws = "AutoComplete-module__section___WAbf1", Ls = "AutoComplete-module__dropdown___NqO3E", Os = "AutoComplete-module__option___Y-Kja", F = {
|
|
590
|
+
layoutOverride: xs,
|
|
591
|
+
root: As,
|
|
592
|
+
input: Ss,
|
|
593
|
+
section: Ws,
|
|
594
|
+
dropdown: Ls,
|
|
595
|
+
option: Os
|
|
596
|
+
}, Is = $(
|
|
597
|
+
function(e, a) {
|
|
598
|
+
const {
|
|
599
|
+
overStyled: s = !1,
|
|
600
|
+
formLayout: t = "stacked",
|
|
601
|
+
// Label & Wrapper Maps
|
|
602
|
+
labelSize: o,
|
|
603
|
+
labelAlignment: n,
|
|
604
|
+
labelOptionalText: i,
|
|
605
|
+
labelWithEditIcon: c,
|
|
606
|
+
onLabelEditClick: d,
|
|
607
|
+
label: p,
|
|
608
|
+
assistiveText: _,
|
|
609
|
+
assistiveWithIcon: f,
|
|
610
|
+
error: u,
|
|
611
|
+
required: m,
|
|
612
|
+
withAsterisk: y,
|
|
613
|
+
id: C,
|
|
614
|
+
className: h,
|
|
615
|
+
style: w,
|
|
616
|
+
disabled: b,
|
|
617
|
+
readOnly: x,
|
|
618
|
+
readOnlyComponent: v,
|
|
619
|
+
emptyValueComponent: I,
|
|
620
|
+
value: A,
|
|
621
|
+
defaultValue: T,
|
|
622
|
+
...W
|
|
623
|
+
} = e, O = N(W, s), P = O;
|
|
624
|
+
delete P.size, delete P.variant, delete P.radius;
|
|
625
|
+
const g = {
|
|
626
|
+
wrapper: F.root,
|
|
627
|
+
// The nested Input internal relative wrapper bounding box
|
|
628
|
+
input: F.input,
|
|
629
|
+
section: F.section,
|
|
630
|
+
dropdown: F.dropdown,
|
|
631
|
+
option: F.option
|
|
632
|
+
}, M = P.classNames;
|
|
633
|
+
if (M && typeof M == "object" && !Array.isArray(M)) {
|
|
634
|
+
const S = M;
|
|
635
|
+
g.wrapper = S.wrapper ? `${F.root} ${S.wrapper}` : F.root, g.input = S.input ? `${F.input} ${S.input}` : F.input, g.section = S.section ? `${F.section} ${S.section}` : F.section, g.dropdown = S.dropdown ? `${F.dropdown} ${S.dropdown}` : F.dropdown, g.option = S.option ? `${F.option} ${S.option}` : F.option;
|
|
636
|
+
}
|
|
637
|
+
const B = h ? `${F.layoutOverride} ${h}` : F.layoutOverride;
|
|
638
|
+
return /* @__PURE__ */ r(
|
|
639
|
+
ne,
|
|
640
|
+
{
|
|
641
|
+
className: B,
|
|
642
|
+
style: w,
|
|
643
|
+
controlMaxWidth: "var(--recursica_ui-kit_components_autocomplete_properties_max-width)",
|
|
644
|
+
controlMinWidth: "var(--recursica_ui-kit_components_autocomplete_properties_min-width)",
|
|
645
|
+
overStyled: s,
|
|
646
|
+
formLayout: t,
|
|
647
|
+
labelSize: o,
|
|
648
|
+
labelAlignment: n,
|
|
649
|
+
labelOptionalText: i,
|
|
650
|
+
labelWithEditIcon: c,
|
|
651
|
+
onLabelEditClick: d,
|
|
652
|
+
label: p,
|
|
653
|
+
assistiveText: _,
|
|
654
|
+
assistiveWithIcon: f,
|
|
655
|
+
error: u,
|
|
656
|
+
required: m,
|
|
657
|
+
withAsterisk: y,
|
|
658
|
+
id: C,
|
|
659
|
+
readOnly: x,
|
|
660
|
+
readOnlyComponent: v,
|
|
661
|
+
emptyValueComponent: I,
|
|
662
|
+
readOnlyType: "text",
|
|
663
|
+
readOnlyValue: A !== void 0 ? A : T,
|
|
664
|
+
readOnlyNativeProps: e,
|
|
665
|
+
activeComponent: (
|
|
666
|
+
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
667
|
+
/* @__PURE__ */ r(
|
|
668
|
+
xt,
|
|
669
|
+
{
|
|
670
|
+
ref: a,
|
|
671
|
+
classNames: g,
|
|
672
|
+
disabled: b,
|
|
673
|
+
value: A,
|
|
674
|
+
defaultValue: T,
|
|
675
|
+
wrapperProps: {
|
|
676
|
+
"data-disabled": b ? "true" : void 0,
|
|
677
|
+
"data-error": u ? "true" : void 0
|
|
678
|
+
},
|
|
679
|
+
...O
|
|
680
|
+
}
|
|
681
|
+
)
|
|
682
|
+
)
|
|
683
|
+
}
|
|
684
|
+
);
|
|
685
|
+
}
|
|
686
|
+
);
|
|
687
|
+
Is.displayName = "AutoComplete";
|
|
688
|
+
const zs = "Avatar-module__root___fXu-J", ks = "Avatar-module__iconWrapper___ojly2", Rs = "Avatar-module__textWrapper___zp-jD", Ms = "Avatar-module__image___ieqGp", Bs = "Avatar-module__placeholder___IDW7-", K = {
|
|
689
|
+
root: zs,
|
|
690
|
+
iconWrapper: ks,
|
|
691
|
+
textWrapper: Rs,
|
|
692
|
+
image: Ms,
|
|
693
|
+
placeholder: Bs
|
|
694
|
+
}, yo = $(function({
|
|
695
|
+
size: e = "default",
|
|
696
|
+
variant: a = "solid",
|
|
697
|
+
icon: s,
|
|
698
|
+
children: t,
|
|
699
|
+
src: o,
|
|
700
|
+
overStyled: n = !1,
|
|
701
|
+
...i
|
|
702
|
+
}, c) {
|
|
703
|
+
const d = {
|
|
704
|
+
solid: "filled",
|
|
705
|
+
outline: "outline",
|
|
706
|
+
ghost: "transparent"
|
|
707
|
+
}, p = {
|
|
708
|
+
default: "md",
|
|
709
|
+
small: "sm",
|
|
710
|
+
large: "lg"
|
|
711
|
+
}, _ = N(i, n), f = _;
|
|
712
|
+
let u = "text";
|
|
713
|
+
o ? u = "image" : s && (u = "icon");
|
|
714
|
+
const m = {
|
|
715
|
+
root: K.root,
|
|
716
|
+
image: K.image,
|
|
717
|
+
placeholder: K.placeholder
|
|
718
|
+
}, y = f.classNames;
|
|
719
|
+
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
720
|
+
const h = y;
|
|
721
|
+
m.root = h.root ? `${K.root} ${h.root}` : K.root, m.image = h.image ? `${K.image} ${h.image}` : K.image, m.placeholder = h.placeholder ? `${K.placeholder} ${h.placeholder}` : K.placeholder;
|
|
722
|
+
}
|
|
723
|
+
const C = f.className;
|
|
724
|
+
return /* @__PURE__ */ r(
|
|
725
|
+
At,
|
|
726
|
+
{
|
|
727
|
+
ref: c,
|
|
728
|
+
className: C,
|
|
729
|
+
classNames: m,
|
|
730
|
+
variant: d[a],
|
|
731
|
+
size: p[e],
|
|
732
|
+
src: o,
|
|
733
|
+
"data-variant": a,
|
|
734
|
+
"data-size": e,
|
|
735
|
+
"data-style": u,
|
|
736
|
+
..._,
|
|
737
|
+
children: s != null ? /* @__PURE__ */ r("span", { className: K.iconWrapper, "aria-hidden": !0, children: s }) : t != null ? /* @__PURE__ */ r("span", { className: K.textWrapper, children: t }) : void 0
|
|
738
|
+
}
|
|
739
|
+
);
|
|
740
|
+
});
|
|
741
|
+
yo.displayName = "Avatar";
|
|
742
|
+
const Xn = X(yo), Fs = "Badge-module__root___5osNT", ee = {
|
|
743
|
+
root: Fs
|
|
744
|
+
}, fo = $(function({ variant: e = "primary-color", overStyled: a = !1, ...s }, t) {
|
|
745
|
+
const o = N(s, a), n = {
|
|
746
|
+
root: ee.root,
|
|
747
|
+
section: ee.section,
|
|
748
|
+
label: ee.label
|
|
749
|
+
}, i = o.classNames;
|
|
750
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
751
|
+
const p = i;
|
|
752
|
+
n.root = p.root ? `${ee.root} ${p.root}` : ee.root, n.section = p.section ?? ee.section, n.label = p.label ?? ee.label;
|
|
753
|
+
}
|
|
754
|
+
const c = o.className, d = c ? `${ee.root} ${c}` : ee.root;
|
|
755
|
+
return /* @__PURE__ */ r(
|
|
756
|
+
St,
|
|
757
|
+
{
|
|
758
|
+
ref: t,
|
|
759
|
+
variant: "filled",
|
|
760
|
+
"data-variant": e,
|
|
761
|
+
...o,
|
|
762
|
+
className: d,
|
|
763
|
+
classNames: n
|
|
764
|
+
}
|
|
765
|
+
);
|
|
766
|
+
});
|
|
767
|
+
fo.displayName = "Badge";
|
|
768
|
+
const Jn = X(fo), Es = "Breadcrumb-module__root___x-9ln", js = "Breadcrumb-module__separator___qrUX-", ce = {
|
|
769
|
+
root: Es,
|
|
770
|
+
separator: js
|
|
771
|
+
}, Ds = $(
|
|
772
|
+
function({ overStyled: e = !1, separator: a = ">", ...s }, t) {
|
|
773
|
+
const o = N(
|
|
774
|
+
{ separator: a, ...s },
|
|
775
|
+
e
|
|
776
|
+
), n = {
|
|
777
|
+
root: ce.root,
|
|
778
|
+
separator: ce.separator
|
|
779
|
+
}, i = o.classNames;
|
|
780
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
781
|
+
const p = i;
|
|
782
|
+
n.root = p.root ? `${ce.root} ${p.root}` : ce.root, n.separator = p.separator ? `${ce.separator} ${p.separator}` : ce.separator;
|
|
783
|
+
}
|
|
784
|
+
const c = o.className, d = c ? `${ce.root} ${c}` : ce.root;
|
|
785
|
+
return /* @__PURE__ */ r(
|
|
786
|
+
Wt,
|
|
787
|
+
{
|
|
788
|
+
ref: t,
|
|
789
|
+
...o,
|
|
790
|
+
className: d,
|
|
791
|
+
classNames: n
|
|
792
|
+
}
|
|
793
|
+
);
|
|
794
|
+
}
|
|
795
|
+
);
|
|
796
|
+
Ds.displayName = "Breadcrumb";
|
|
797
|
+
const Vs = "Loader-module__root___6iYOP", we = {
|
|
798
|
+
root: Vs
|
|
799
|
+
}, No = $(function({ variant: e = "oval", size: a = "default", overStyled: s = !1, ...t }, o) {
|
|
800
|
+
const i = {
|
|
801
|
+
sm: "small",
|
|
802
|
+
md: "default",
|
|
803
|
+
lg: "large",
|
|
804
|
+
small: "small",
|
|
805
|
+
default: "default",
|
|
806
|
+
large: "large"
|
|
807
|
+
}[a] || "default", c = N(t, s), d = {
|
|
808
|
+
root: we.root
|
|
809
|
+
}, p = c.classNames;
|
|
810
|
+
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
811
|
+
const u = p;
|
|
812
|
+
d.root = u.root ? `${we.root} ${u.root}` : we.root;
|
|
813
|
+
}
|
|
814
|
+
const _ = c.className, f = _ ? `${we.root} ${_}` : we.root;
|
|
815
|
+
return /* @__PURE__ */ r(
|
|
816
|
+
Lt,
|
|
817
|
+
{
|
|
818
|
+
ref: o,
|
|
819
|
+
type: e,
|
|
820
|
+
"data-variant": e,
|
|
821
|
+
"data-size": i,
|
|
822
|
+
...c,
|
|
823
|
+
className: f,
|
|
824
|
+
classNames: d
|
|
825
|
+
}
|
|
826
|
+
);
|
|
827
|
+
});
|
|
828
|
+
No.displayName = "Loader";
|
|
829
|
+
const Gs = "Button-module__root___Q2R8-", qs = "Button-module__loader___X-9u-", Hs = "Button-module__label___UJ3Zt", Us = "Button-module__labelText___rFV5p", Zs = "Button-module__iconWrapper___uEKPa", Ys = "Button-module__section___f2mKr", Y = {
|
|
830
|
+
root: Gs,
|
|
831
|
+
loader: qs,
|
|
832
|
+
label: Hs,
|
|
833
|
+
labelText: Us,
|
|
834
|
+
iconWrapper: Zs,
|
|
835
|
+
section: Ys
|
|
836
|
+
};
|
|
837
|
+
function Ks(l) {
|
|
838
|
+
return l == null || l === "" ? !1 : typeof l == "string" ? l.trim() !== "" : !0;
|
|
839
|
+
}
|
|
840
|
+
const ho = $(function({
|
|
841
|
+
variant: e = "solid",
|
|
842
|
+
size: a = "default",
|
|
843
|
+
icon: s,
|
|
844
|
+
children: t,
|
|
845
|
+
overStyled: o = !1,
|
|
846
|
+
loaderVariant: n = "oval",
|
|
847
|
+
loaderSize: i,
|
|
848
|
+
useRecursicaLoader: c = !0,
|
|
849
|
+
...d
|
|
850
|
+
}, p) {
|
|
851
|
+
const _ = {
|
|
852
|
+
solid: "filled",
|
|
853
|
+
outline: "outline",
|
|
854
|
+
text: "subtle"
|
|
855
|
+
}, f = {
|
|
856
|
+
default: "md",
|
|
857
|
+
small: "sm"
|
|
858
|
+
}, u = N(d, o), m = u;
|
|
859
|
+
delete m.fullWidth;
|
|
860
|
+
const y = !!s || !!m.leftSection, C = !!m.rightSection, h = Ks(t), w = (y || C) && !h;
|
|
861
|
+
let b = "label";
|
|
862
|
+
w ? b = "icon-only" : (y || C) && (b = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && w && !m["aria-label"] && console.warn(
|
|
863
|
+
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
864
|
+
);
|
|
865
|
+
const x = {
|
|
866
|
+
root: Y.root,
|
|
867
|
+
section: Y.section,
|
|
868
|
+
label: Y.label,
|
|
869
|
+
loader: Y.loader
|
|
870
|
+
}, v = m.classNames;
|
|
871
|
+
if (v && typeof v == "object" && !Array.isArray(v)) {
|
|
872
|
+
const P = v;
|
|
873
|
+
x.root = P.root ? `${Y.root} ${P.root}` : Y.root, x.section = P.section ?? Y.section, x.label = P.label ?? Y.label;
|
|
874
|
+
}
|
|
875
|
+
const I = m.className, A = I ? `${Y.root} ${I}` : Y.root, T = m.loaderProps, W = i ?? (a === "small" ? "small" : "default");
|
|
876
|
+
let O = T;
|
|
877
|
+
return c && (O = {
|
|
878
|
+
children: /* @__PURE__ */ r(No, { variant: n, size: W }),
|
|
879
|
+
...T
|
|
880
|
+
}), /* @__PURE__ */ r(
|
|
881
|
+
Ot,
|
|
882
|
+
{
|
|
883
|
+
ref: p,
|
|
884
|
+
className: A,
|
|
885
|
+
classNames: x,
|
|
886
|
+
variant: _[e],
|
|
887
|
+
size: f[a],
|
|
888
|
+
loaderProps: O,
|
|
889
|
+
leftSection: s != null ? /* @__PURE__ */ r("span", { className: Y.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
890
|
+
"data-variant": e,
|
|
891
|
+
"data-size": a,
|
|
892
|
+
"data-content": b,
|
|
893
|
+
...u,
|
|
894
|
+
disabled: !!m.disabled || !!m.loading,
|
|
895
|
+
children: /* @__PURE__ */ r("span", { className: Y.labelText, children: t })
|
|
896
|
+
}
|
|
897
|
+
);
|
|
898
|
+
});
|
|
899
|
+
ho.displayName = "Button";
|
|
900
|
+
const el = X(
|
|
901
|
+
ho
|
|
902
|
+
), Qs = "Card-module__root___c9KvZ", Xs = "Card-module__header___PTXf2", Js = "Card-module__footer___Mu-JC", ea = "Card-module__section___BRT8H", oa = "Card-module__content___oFIQa", se = {
|
|
903
|
+
root: Qs,
|
|
904
|
+
header: Xs,
|
|
905
|
+
footer: Js,
|
|
906
|
+
section: ea,
|
|
907
|
+
content: oa
|
|
908
|
+
}, $o = $(function({ overStyled: e = !1, ...a }, s) {
|
|
909
|
+
const t = N(a, e), o = {
|
|
910
|
+
root: se.root
|
|
911
|
+
}, n = t.classNames;
|
|
912
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
913
|
+
const c = n;
|
|
914
|
+
Object.keys(c).forEach((d) => {
|
|
915
|
+
o[d] ? o[d] = `${o[d]} ${c[d]}` : o[d] = c[d];
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
const i = t.className;
|
|
919
|
+
return /* @__PURE__ */ r(
|
|
920
|
+
Me,
|
|
921
|
+
{
|
|
922
|
+
ref: s,
|
|
923
|
+
className: i,
|
|
924
|
+
classNames: o,
|
|
925
|
+
...t
|
|
926
|
+
}
|
|
927
|
+
);
|
|
928
|
+
});
|
|
929
|
+
$o.displayName = "Card";
|
|
930
|
+
const vo = $(
|
|
931
|
+
function({ overStyled: e = !1, ...a }, s) {
|
|
932
|
+
const t = N(a, e), o = t.className;
|
|
933
|
+
return /* @__PURE__ */ r(
|
|
934
|
+
Me.Section,
|
|
935
|
+
{
|
|
936
|
+
ref: s,
|
|
937
|
+
className: o ? `${se.section} ${o}` : se.section,
|
|
938
|
+
...t
|
|
939
|
+
}
|
|
940
|
+
);
|
|
941
|
+
}
|
|
942
|
+
);
|
|
943
|
+
vo.displayName = "CardSection";
|
|
944
|
+
const Co = $(
|
|
945
|
+
function({ overStyled: e = !1, ...a }, s) {
|
|
946
|
+
const t = N(a, e), o = t.className;
|
|
947
|
+
return /* @__PURE__ */ r(
|
|
948
|
+
Me.Section,
|
|
949
|
+
{
|
|
950
|
+
ref: s,
|
|
951
|
+
className: o ? `${se.header} ${o}` : se.header,
|
|
952
|
+
...t
|
|
953
|
+
}
|
|
954
|
+
);
|
|
955
|
+
}
|
|
956
|
+
);
|
|
957
|
+
Co.displayName = "CardHeader";
|
|
958
|
+
const wo = $(
|
|
959
|
+
function({ overStyled: e = !1, ...a }, s) {
|
|
960
|
+
const t = N(a, e), o = t.className;
|
|
961
|
+
return /* @__PURE__ */ r(
|
|
962
|
+
Me.Section,
|
|
963
|
+
{
|
|
964
|
+
ref: s,
|
|
965
|
+
className: o ? `${se.footer} ${o}` : se.footer,
|
|
966
|
+
...t
|
|
967
|
+
}
|
|
968
|
+
);
|
|
969
|
+
}
|
|
970
|
+
);
|
|
971
|
+
wo.displayName = "CardFooter";
|
|
972
|
+
const Po = $(
|
|
973
|
+
function({ overStyled: e = !1, ...a }, s) {
|
|
974
|
+
const t = N(a, e), o = t.className;
|
|
975
|
+
return /* @__PURE__ */ r(
|
|
976
|
+
"div",
|
|
977
|
+
{
|
|
978
|
+
ref: s,
|
|
979
|
+
className: o ? `${se.content} ${o}` : se.content,
|
|
980
|
+
...t
|
|
981
|
+
}
|
|
982
|
+
);
|
|
983
|
+
}
|
|
984
|
+
);
|
|
985
|
+
Po.displayName = "CardContent";
|
|
986
|
+
const go = X($o), Fe = go;
|
|
987
|
+
Fe.Section = vo;
|
|
988
|
+
Fe.Header = Co;
|
|
989
|
+
Fe.Footer = wo;
|
|
990
|
+
Fe.Content = Po;
|
|
991
|
+
const ol = go, ta = "Checkbox-module__groupRoot___cBS0o", sa = "Checkbox-module__root___mY3qk", aa = "Checkbox-module__body___5yC7q", ra = "Checkbox-module__inner___rTke4", na = "Checkbox-module__input___2kt-h", la = "Checkbox-module__icon___-O7i6", ia = "Checkbox-module__labelWrapper___GpZkr", ca = "Checkbox-module__label___cwRtI", z = {
|
|
992
|
+
groupRoot: ta,
|
|
993
|
+
root: sa,
|
|
994
|
+
body: aa,
|
|
995
|
+
inner: ra,
|
|
996
|
+
input: na,
|
|
997
|
+
icon: la,
|
|
998
|
+
labelWrapper: ia,
|
|
999
|
+
label: ca
|
|
1000
|
+
}, To = $(
|
|
888
1001
|
function(e, a) {
|
|
889
1002
|
const {
|
|
890
1003
|
overStyled: s = !1,
|
|
@@ -897,27 +1010,27 @@ const qs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___m
|
|
|
897
1010
|
onLabelEditClick: d,
|
|
898
1011
|
// Base Mantine Extracted Attributes
|
|
899
1012
|
label: p,
|
|
900
|
-
description:
|
|
901
|
-
assistiveText:
|
|
1013
|
+
description: _,
|
|
1014
|
+
assistiveText: f,
|
|
902
1015
|
assistiveWithIcon: u,
|
|
903
|
-
error:
|
|
1016
|
+
error: m,
|
|
904
1017
|
required: y,
|
|
905
1018
|
withAsterisk: C,
|
|
906
|
-
id:
|
|
907
|
-
className:
|
|
1019
|
+
id: h,
|
|
1020
|
+
className: w,
|
|
908
1021
|
style: b,
|
|
909
|
-
children:
|
|
1022
|
+
children: x,
|
|
910
1023
|
readOnly: v,
|
|
911
|
-
readOnlyComponent:
|
|
912
|
-
emptyValueComponent:
|
|
913
|
-
value:
|
|
914
|
-
defaultValue:
|
|
915
|
-
...
|
|
916
|
-
} = e,
|
|
917
|
-
return delete
|
|
918
|
-
|
|
1024
|
+
readOnlyComponent: I,
|
|
1025
|
+
emptyValueComponent: A,
|
|
1026
|
+
value: T,
|
|
1027
|
+
defaultValue: W,
|
|
1028
|
+
...O
|
|
1029
|
+
} = e, P = N(O, s), g = P;
|
|
1030
|
+
return delete g.size, /* @__PURE__ */ r(
|
|
1031
|
+
ne,
|
|
919
1032
|
{
|
|
920
|
-
className:
|
|
1033
|
+
className: w,
|
|
921
1034
|
style: b,
|
|
922
1035
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
923
1036
|
controlMinWidth: void 0,
|
|
@@ -930,38 +1043,36 @@ const qs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___m
|
|
|
930
1043
|
labelWithEditIcon: c,
|
|
931
1044
|
onLabelEditClick: d,
|
|
932
1045
|
label: p,
|
|
933
|
-
description:
|
|
934
|
-
assistiveText:
|
|
1046
|
+
description: _,
|
|
1047
|
+
assistiveText: f,
|
|
935
1048
|
assistiveWithIcon: u,
|
|
936
|
-
error:
|
|
1049
|
+
error: m,
|
|
937
1050
|
required: y,
|
|
938
1051
|
withAsterisk: C,
|
|
939
|
-
id:
|
|
940
|
-
readOnly: v && !!
|
|
941
|
-
readOnlyComponent:
|
|
942
|
-
emptyValueComponent:
|
|
1052
|
+
id: h,
|
|
1053
|
+
readOnly: v && !!I,
|
|
1054
|
+
readOnlyComponent: I,
|
|
1055
|
+
emptyValueComponent: A,
|
|
943
1056
|
readOnlyType: "text",
|
|
944
|
-
readOnlyValue:
|
|
1057
|
+
readOnlyValue: T !== void 0 ? T : W,
|
|
945
1058
|
readOnlyNativeProps: e,
|
|
946
1059
|
activeComponent: /* @__PURE__ */ r(
|
|
947
|
-
|
|
1060
|
+
lo.Group,
|
|
948
1061
|
{
|
|
949
1062
|
ref: a,
|
|
950
|
-
...
|
|
951
|
-
disabled: v ||
|
|
952
|
-
value:
|
|
953
|
-
defaultValue:
|
|
954
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
955
|
-
disabled: v || g.props.disabled
|
|
956
|
-
}) : g) })
|
|
1063
|
+
...P,
|
|
1064
|
+
disabled: v || g.disabled,
|
|
1065
|
+
value: T,
|
|
1066
|
+
defaultValue: W,
|
|
1067
|
+
children: /* @__PURE__ */ r("div", { className: z.groupRoot, "data-layout": t, children: x })
|
|
957
1068
|
}
|
|
958
1069
|
)
|
|
959
1070
|
}
|
|
960
1071
|
);
|
|
961
1072
|
}
|
|
962
1073
|
);
|
|
963
|
-
|
|
964
|
-
const
|
|
1074
|
+
To.displayName = "CheckboxGroup";
|
|
1075
|
+
const xo = $(
|
|
965
1076
|
function(e, a) {
|
|
966
1077
|
const {
|
|
967
1078
|
overStyled: s = !1,
|
|
@@ -972,23 +1083,23 @@ const wo = h(
|
|
|
972
1083
|
labelSize: c,
|
|
973
1084
|
controlMaxWidth: d,
|
|
974
1085
|
controlMinWidth: p,
|
|
975
|
-
...
|
|
976
|
-
} = e,
|
|
1086
|
+
..._
|
|
1087
|
+
} = e, f = N(_, s), u = f;
|
|
977
1088
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
978
|
-
const
|
|
979
|
-
root:
|
|
980
|
-
body:
|
|
981
|
-
inner:
|
|
982
|
-
input:
|
|
983
|
-
icon:
|
|
984
|
-
labelWrapper:
|
|
985
|
-
label:
|
|
1089
|
+
const m = {
|
|
1090
|
+
root: z.root,
|
|
1091
|
+
body: z.body,
|
|
1092
|
+
inner: z.inner,
|
|
1093
|
+
input: z.input,
|
|
1094
|
+
icon: z.icon,
|
|
1095
|
+
labelWrapper: z.labelWrapper,
|
|
1096
|
+
label: z.label
|
|
986
1097
|
}, y = u.classNames;
|
|
987
1098
|
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
988
1099
|
const b = y;
|
|
989
|
-
|
|
1100
|
+
m.root = b.root ? `${z.root} ${b.root}` : z.root, m.body = b.body ? `${z.body} ${b.body}` : z.body, m.inner = b.inner ? `${z.inner} ${b.inner}` : z.inner, m.input = b.input ? `${z.input} ${b.input}` : z.input, m.icon = b.icon ? `${z.icon} ${b.icon}` : z.icon, m.labelWrapper = b.labelWrapper ? `${z.labelWrapper} ${b.labelWrapper}` : z.labelWrapper, m.label = b.label ? `${z.label} ${b.label}` : z.label;
|
|
990
1101
|
}
|
|
991
|
-
const C = u.className,
|
|
1102
|
+
const C = u.className, h = C ? `${z.root} ${C}` : z.root;
|
|
992
1103
|
if (t && o) {
|
|
993
1104
|
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ r(
|
|
994
1105
|
o,
|
|
@@ -999,7 +1110,7 @@ const wo = h(
|
|
|
999
1110
|
}
|
|
1000
1111
|
);
|
|
1001
1112
|
return i ? /* @__PURE__ */ r(
|
|
1002
|
-
|
|
1113
|
+
me,
|
|
1003
1114
|
{
|
|
1004
1115
|
formLayout: i,
|
|
1005
1116
|
labelSize: c,
|
|
@@ -1007,42 +1118,42 @@ const wo = h(
|
|
|
1007
1118
|
controlMinWidth: p,
|
|
1008
1119
|
children: v
|
|
1009
1120
|
}
|
|
1010
|
-
) : /* @__PURE__ */ r(
|
|
1121
|
+
) : /* @__PURE__ */ r(ve, { children: v });
|
|
1011
1122
|
}
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1123
|
+
const w = /* @__PURE__ */ r(
|
|
1124
|
+
lo,
|
|
1014
1125
|
{
|
|
1015
1126
|
ref: a,
|
|
1016
|
-
className:
|
|
1017
|
-
classNames:
|
|
1127
|
+
className: h,
|
|
1128
|
+
classNames: m,
|
|
1018
1129
|
disabled: t || n,
|
|
1019
|
-
...
|
|
1130
|
+
...f
|
|
1020
1131
|
}
|
|
1021
1132
|
);
|
|
1022
1133
|
return i ? /* @__PURE__ */ r(
|
|
1023
|
-
|
|
1134
|
+
me,
|
|
1024
1135
|
{
|
|
1025
1136
|
formLayout: i,
|
|
1026
1137
|
labelSize: c,
|
|
1027
1138
|
controlMaxWidth: d,
|
|
1028
1139
|
controlMinWidth: p,
|
|
1029
|
-
children:
|
|
1140
|
+
children: w
|
|
1030
1141
|
}
|
|
1031
|
-
) :
|
|
1142
|
+
) : w;
|
|
1032
1143
|
}
|
|
1033
1144
|
);
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
const
|
|
1037
|
-
root:
|
|
1038
|
-
label:
|
|
1039
|
-
mantineIconWrapper:
|
|
1040
|
-
innerWrapper:
|
|
1041
|
-
children:
|
|
1042
|
-
leadingIcon:
|
|
1043
|
-
removeIcon:
|
|
1145
|
+
xo.displayName = "Checkbox";
|
|
1146
|
+
xo.Group = To;
|
|
1147
|
+
const da = "Chip-module__root___f5pFk", pa = "Chip-module__label___Ov9pg", _a = "Chip-module__mantineIconWrapper___KLSz6", ma = "Chip-module__innerWrapper___EnrTF", ua = "Chip-module__children___zbRAR", ba = "Chip-module__leadingIcon___JBtjQ", ya = "Chip-module__removeIcon___pVju-", V = {
|
|
1148
|
+
root: da,
|
|
1149
|
+
label: pa,
|
|
1150
|
+
mantineIconWrapper: _a,
|
|
1151
|
+
innerWrapper: ma,
|
|
1152
|
+
children: ua,
|
|
1153
|
+
leadingIcon: ba,
|
|
1154
|
+
removeIcon: ya
|
|
1044
1155
|
};
|
|
1045
|
-
function
|
|
1156
|
+
function fa(l) {
|
|
1046
1157
|
return /* @__PURE__ */ R(
|
|
1047
1158
|
"svg",
|
|
1048
1159
|
{
|
|
@@ -1063,7 +1174,7 @@ function na(l) {
|
|
|
1063
1174
|
}
|
|
1064
1175
|
);
|
|
1065
1176
|
}
|
|
1066
|
-
const
|
|
1177
|
+
const Na = $(function({
|
|
1067
1178
|
error: e = !1,
|
|
1068
1179
|
icon: a,
|
|
1069
1180
|
onRemove: s,
|
|
@@ -1072,56 +1183,56 @@ const la = h(function({
|
|
|
1072
1183
|
overStyled: n = !1,
|
|
1073
1184
|
...i
|
|
1074
1185
|
}, c) {
|
|
1075
|
-
const d =
|
|
1076
|
-
root:
|
|
1077
|
-
label:
|
|
1078
|
-
input:
|
|
1079
|
-
iconWrapper:
|
|
1080
|
-
checkIcon:
|
|
1081
|
-
},
|
|
1082
|
-
if (
|
|
1083
|
-
const
|
|
1084
|
-
|
|
1186
|
+
const d = N(i, n), p = d, _ = {
|
|
1187
|
+
root: V.root,
|
|
1188
|
+
label: V.label,
|
|
1189
|
+
input: V.input,
|
|
1190
|
+
iconWrapper: V.mantineIconWrapper,
|
|
1191
|
+
checkIcon: V.checkIcon
|
|
1192
|
+
}, f = p.classNames;
|
|
1193
|
+
if (f && typeof f == "object" && !Array.isArray(f)) {
|
|
1194
|
+
const h = f;
|
|
1195
|
+
_.root = h.root ? `${V.root} ${h.root}` : V.root, _.label = h.label ? `${V.label} ${h.label}` : V.label;
|
|
1085
1196
|
}
|
|
1086
|
-
const u = p.className,
|
|
1197
|
+
const u = p.className, m = u ? `${V.root} ${u}` : V.root;
|
|
1087
1198
|
return /* @__PURE__ */ r(
|
|
1088
|
-
|
|
1199
|
+
It,
|
|
1089
1200
|
{
|
|
1090
1201
|
ref: c,
|
|
1091
|
-
className:
|
|
1092
|
-
classNames:
|
|
1202
|
+
className: m,
|
|
1203
|
+
classNames: _,
|
|
1093
1204
|
...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1094
1205
|
...!o && (!!a || !!s) ? { "data-icon-only": "" } : {},
|
|
1095
1206
|
...d,
|
|
1096
|
-
children: /* @__PURE__ */ R("span", { className:
|
|
1097
|
-
a && /* @__PURE__ */ r("span", { className:
|
|
1098
|
-
/* @__PURE__ */ r("span", { className:
|
|
1207
|
+
children: /* @__PURE__ */ R("span", { className: V.innerWrapper, children: [
|
|
1208
|
+
a && /* @__PURE__ */ r("span", { className: V.leadingIcon, "aria-hidden": !0, children: a }),
|
|
1209
|
+
/* @__PURE__ */ r("span", { className: V.children, children: o }),
|
|
1099
1210
|
s && /* @__PURE__ */ r(
|
|
1100
1211
|
"span",
|
|
1101
1212
|
{
|
|
1102
1213
|
role: "button",
|
|
1103
|
-
className:
|
|
1104
|
-
onClick: (
|
|
1105
|
-
|
|
1214
|
+
className: V.removeIcon,
|
|
1215
|
+
onClick: (h) => {
|
|
1216
|
+
h.preventDefault(), h.stopPropagation(), s(h);
|
|
1106
1217
|
},
|
|
1107
1218
|
"aria-label": t,
|
|
1108
|
-
onKeyDown: (
|
|
1109
|
-
(
|
|
1110
|
-
|
|
1219
|
+
onKeyDown: (h) => {
|
|
1220
|
+
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), s(
|
|
1221
|
+
h
|
|
1111
1222
|
));
|
|
1112
1223
|
},
|
|
1113
1224
|
tabIndex: 0,
|
|
1114
|
-
children: /* @__PURE__ */ r(
|
|
1225
|
+
children: /* @__PURE__ */ r(fa, {})
|
|
1115
1226
|
}
|
|
1116
1227
|
)
|
|
1117
1228
|
] })
|
|
1118
1229
|
}
|
|
1119
1230
|
);
|
|
1120
1231
|
});
|
|
1121
|
-
|
|
1122
|
-
const
|
|
1123
|
-
root:
|
|
1124
|
-
},
|
|
1232
|
+
Na.displayName = "Chip";
|
|
1233
|
+
const ha = "Container-module__root___UVssr", Pe = {
|
|
1234
|
+
root: ha
|
|
1235
|
+
}, $a = $(
|
|
1125
1236
|
function({ children: e, size: a, ...s }, t) {
|
|
1126
1237
|
const o = {
|
|
1127
1238
|
"rec-sm": "sm",
|
|
@@ -1131,15 +1242,15 @@ const ia = "Container-module__root___UVssr", ve = {
|
|
|
1131
1242
|
"rec-xl": "xl",
|
|
1132
1243
|
"rec-2xl": "xl"
|
|
1133
1244
|
}, n = typeof a == "string" && o[a] ? o[a] : a, i = {
|
|
1134
|
-
root:
|
|
1245
|
+
root: Pe.root
|
|
1135
1246
|
}, c = s.classNames;
|
|
1136
1247
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1137
|
-
const
|
|
1138
|
-
i.root =
|
|
1248
|
+
const _ = c;
|
|
1249
|
+
i.root = _.root ? `${Pe.root} ${_.root}` : Pe.root;
|
|
1139
1250
|
}
|
|
1140
|
-
const d = s.className, p = d ? `${
|
|
1251
|
+
const d = s.className, p = d ? `${Pe.root} ${d}` : Pe.root;
|
|
1141
1252
|
return /* @__PURE__ */ r(
|
|
1142
|
-
|
|
1253
|
+
zt,
|
|
1143
1254
|
{
|
|
1144
1255
|
ref: t,
|
|
1145
1256
|
size: n,
|
|
@@ -1151,14 +1262,15 @@ const ia = "Container-module__root___UVssr", ve = {
|
|
|
1151
1262
|
);
|
|
1152
1263
|
}
|
|
1153
1264
|
);
|
|
1154
|
-
|
|
1155
|
-
const
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1265
|
+
$a.displayName = "Container";
|
|
1266
|
+
const tl = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), va = "Dropdown-module__layoutOverride___FNcvP", Ca = "Dropdown-module__root___uVyL0", wa = "Dropdown-module__input___dK4dN", Pa = "Dropdown-module__section___j3MRB", ga = "Dropdown-module__dropdown___gG-Sw", Ta = "Dropdown-module__option___nAGU-", E = {
|
|
1267
|
+
layoutOverride: va,
|
|
1268
|
+
root: Ca,
|
|
1269
|
+
input: wa,
|
|
1270
|
+
section: Pa,
|
|
1271
|
+
dropdown: ga,
|
|
1272
|
+
option: Ta
|
|
1273
|
+
}, xa = $(
|
|
1162
1274
|
function(e, a) {
|
|
1163
1275
|
const {
|
|
1164
1276
|
overStyled: s = !1,
|
|
@@ -1170,46 +1282,46 @@ const jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), da
|
|
|
1170
1282
|
labelOptionalText: c,
|
|
1171
1283
|
labelWithEditIcon: d,
|
|
1172
1284
|
onLabelEditClick: p,
|
|
1173
|
-
label:
|
|
1174
|
-
assistiveText:
|
|
1285
|
+
label: _,
|
|
1286
|
+
assistiveText: f,
|
|
1175
1287
|
assistiveWithIcon: u,
|
|
1176
|
-
error:
|
|
1288
|
+
error: m,
|
|
1177
1289
|
required: y,
|
|
1178
1290
|
withAsterisk: C,
|
|
1179
|
-
id:
|
|
1180
|
-
className:
|
|
1291
|
+
id: h,
|
|
1292
|
+
className: w,
|
|
1181
1293
|
style: b,
|
|
1182
|
-
disabled:
|
|
1294
|
+
disabled: x,
|
|
1183
1295
|
readOnly: v,
|
|
1184
|
-
readOnlyComponent:
|
|
1185
|
-
emptyValueComponent:
|
|
1186
|
-
value:
|
|
1187
|
-
defaultValue:
|
|
1188
|
-
data:
|
|
1189
|
-
...
|
|
1190
|
-
} = e,
|
|
1191
|
-
delete
|
|
1192
|
-
const
|
|
1193
|
-
wrapper:
|
|
1296
|
+
readOnlyComponent: I,
|
|
1297
|
+
emptyValueComponent: A,
|
|
1298
|
+
value: T,
|
|
1299
|
+
defaultValue: W,
|
|
1300
|
+
data: O,
|
|
1301
|
+
...P
|
|
1302
|
+
} = e, g = N(P, s), M = g;
|
|
1303
|
+
delete M.size, delete M.variant, delete M.radius;
|
|
1304
|
+
const B = {
|
|
1305
|
+
wrapper: E.root,
|
|
1194
1306
|
// The nested Input internal relative wrapper bounding box
|
|
1195
|
-
input:
|
|
1196
|
-
section:
|
|
1197
|
-
dropdown:
|
|
1198
|
-
option:
|
|
1199
|
-
},
|
|
1200
|
-
if (
|
|
1201
|
-
const
|
|
1202
|
-
|
|
1307
|
+
input: E.input,
|
|
1308
|
+
section: E.section,
|
|
1309
|
+
dropdown: E.dropdown,
|
|
1310
|
+
option: E.option
|
|
1311
|
+
}, S = M.classNames;
|
|
1312
|
+
if (S && typeof S == "object" && !Array.isArray(S)) {
|
|
1313
|
+
const U = S;
|
|
1314
|
+
B.wrapper = U.wrapper ? `${E.root} ${U.wrapper}` : E.root, B.input = U.input ? `${E.input} ${U.input}` : E.input, B.section = U.section ? `${E.section} ${U.section}` : E.section, B.dropdown = U.dropdown ? `${E.dropdown} ${U.dropdown}` : E.dropdown, B.option = U.option ? `${E.option} ${U.option}` : E.option;
|
|
1203
1315
|
}
|
|
1204
|
-
const
|
|
1316
|
+
const Se = {
|
|
1205
1317
|
...b || {},
|
|
1206
1318
|
width: o || "100%"
|
|
1207
|
-
};
|
|
1319
|
+
}, je = w ? `${E.layoutOverride} ${w}` : E.layoutOverride;
|
|
1208
1320
|
return /* @__PURE__ */ r(
|
|
1209
|
-
|
|
1321
|
+
ne,
|
|
1210
1322
|
{
|
|
1211
|
-
className:
|
|
1212
|
-
style:
|
|
1323
|
+
className: je,
|
|
1324
|
+
style: Se,
|
|
1213
1325
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1214
1326
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
1215
1327
|
overStyled: s,
|
|
@@ -1219,40 +1331,40 @@ const jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), da
|
|
|
1219
1331
|
labelOptionalText: c,
|
|
1220
1332
|
labelWithEditIcon: d,
|
|
1221
1333
|
onLabelEditClick: p,
|
|
1222
|
-
label:
|
|
1223
|
-
assistiveText:
|
|
1334
|
+
label: _,
|
|
1335
|
+
assistiveText: f,
|
|
1224
1336
|
assistiveWithIcon: u,
|
|
1225
|
-
error:
|
|
1337
|
+
error: m,
|
|
1226
1338
|
required: y,
|
|
1227
1339
|
withAsterisk: C,
|
|
1228
|
-
id:
|
|
1340
|
+
id: h,
|
|
1229
1341
|
readOnly: v,
|
|
1230
|
-
readOnlyComponent:
|
|
1231
|
-
emptyValueComponent:
|
|
1342
|
+
readOnlyComponent: I,
|
|
1343
|
+
emptyValueComponent: A,
|
|
1232
1344
|
readOnlyType: "text",
|
|
1233
|
-
readOnlyValue:
|
|
1345
|
+
readOnlyValue: T !== void 0 ? String(T) : W ? String(W) : void 0,
|
|
1234
1346
|
readOnlyNativeProps: e,
|
|
1235
1347
|
activeComponent: (
|
|
1236
1348
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1237
1349
|
/* @__PURE__ */ r(
|
|
1238
|
-
|
|
1350
|
+
kt,
|
|
1239
1351
|
{
|
|
1240
1352
|
ref: a,
|
|
1241
|
-
classNames:
|
|
1242
|
-
disabled:
|
|
1243
|
-
value:
|
|
1244
|
-
defaultValue:
|
|
1245
|
-
data:
|
|
1353
|
+
classNames: B,
|
|
1354
|
+
disabled: x,
|
|
1355
|
+
value: T,
|
|
1356
|
+
defaultValue: W,
|
|
1357
|
+
data: O || [],
|
|
1246
1358
|
label: void 0,
|
|
1247
1359
|
description: void 0,
|
|
1248
1360
|
error: void 0,
|
|
1249
1361
|
required: void 0,
|
|
1250
1362
|
withAsterisk: void 0,
|
|
1251
1363
|
wrapperProps: {
|
|
1252
|
-
"data-disabled":
|
|
1253
|
-
"data-error":
|
|
1364
|
+
"data-disabled": x ? "true" : void 0,
|
|
1365
|
+
"data-error": m ? "true" : void 0
|
|
1254
1366
|
},
|
|
1255
|
-
...
|
|
1367
|
+
...g
|
|
1256
1368
|
}
|
|
1257
1369
|
)
|
|
1258
1370
|
)
|
|
@@ -1260,74 +1372,74 @@ const jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), da
|
|
|
1260
1372
|
);
|
|
1261
1373
|
}
|
|
1262
1374
|
);
|
|
1263
|
-
|
|
1264
|
-
const
|
|
1265
|
-
root:
|
|
1266
|
-
},
|
|
1375
|
+
xa.displayName = "Dropdown";
|
|
1376
|
+
const sl = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileInput" }), al = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileUpload" }), Aa = "Flex-module__root___yYser", ge = {
|
|
1377
|
+
root: Aa
|
|
1378
|
+
}, Ao = $(function({ children: e, gap: a = "rec-default", rowGap: s, columnGap: t, ...o }, n) {
|
|
1267
1379
|
const i = {
|
|
1268
|
-
root:
|
|
1380
|
+
root: ge.root
|
|
1269
1381
|
}, c = o.classNames;
|
|
1270
1382
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1271
|
-
const
|
|
1272
|
-
i.root =
|
|
1383
|
+
const _ = c;
|
|
1384
|
+
i.root = _.root ? `${ge.root} ${_.root}` : ge.root;
|
|
1273
1385
|
}
|
|
1274
|
-
const d = o.className, p = d ? `${
|
|
1386
|
+
const d = o.className, p = d ? `${ge.root} ${d}` : ge.root;
|
|
1275
1387
|
return /* @__PURE__ */ r(
|
|
1276
|
-
|
|
1388
|
+
Rt,
|
|
1277
1389
|
{
|
|
1278
1390
|
ref: n,
|
|
1279
1391
|
className: p,
|
|
1280
1392
|
classNames: i,
|
|
1281
|
-
...
|
|
1393
|
+
...Ye({ gap: a, rowGap: s, columnGap: t, ...o }),
|
|
1282
1394
|
children: e
|
|
1283
1395
|
}
|
|
1284
1396
|
);
|
|
1285
1397
|
});
|
|
1286
|
-
|
|
1287
|
-
const
|
|
1288
|
-
root:
|
|
1289
|
-
},
|
|
1398
|
+
Ao.displayName = "Flex";
|
|
1399
|
+
const rl = X(Ao), Sa = "Group-module__root___ftO64", Te = {
|
|
1400
|
+
root: Sa
|
|
1401
|
+
}, Wa = $(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
1290
1402
|
const o = {
|
|
1291
|
-
root:
|
|
1403
|
+
root: Te.root
|
|
1292
1404
|
}, n = s.classNames;
|
|
1293
1405
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1294
1406
|
const d = n;
|
|
1295
|
-
o.root = d.root ? `${
|
|
1407
|
+
o.root = d.root ? `${Te.root} ${d.root}` : Te.root;
|
|
1296
1408
|
}
|
|
1297
|
-
const i = s.className, c = i ? `${
|
|
1409
|
+
const i = s.className, c = i ? `${Te.root} ${i}` : Te.root;
|
|
1298
1410
|
return /* @__PURE__ */ r(
|
|
1299
|
-
|
|
1411
|
+
Mt,
|
|
1300
1412
|
{
|
|
1301
1413
|
ref: t,
|
|
1302
1414
|
className: c,
|
|
1303
1415
|
classNames: o,
|
|
1304
|
-
...
|
|
1416
|
+
...Ye({ gap: a, ...s }),
|
|
1305
1417
|
children: e
|
|
1306
1418
|
}
|
|
1307
1419
|
);
|
|
1308
1420
|
});
|
|
1309
|
-
|
|
1310
|
-
const
|
|
1311
|
-
dropdown:
|
|
1312
|
-
arrow:
|
|
1313
|
-
},
|
|
1421
|
+
Wa.displayName = "Group";
|
|
1422
|
+
const La = "HoverCard-module__dropdown___FBPFW", Oa = "HoverCard-module__arrow___S9AkE", so = {
|
|
1423
|
+
dropdown: La,
|
|
1424
|
+
arrow: Oa
|
|
1425
|
+
}, So = function({
|
|
1314
1426
|
overStyled: e = !1,
|
|
1315
1427
|
withBeak: a = !0,
|
|
1316
1428
|
...s
|
|
1317
1429
|
}) {
|
|
1318
|
-
const t =
|
|
1319
|
-
dropdown:
|
|
1320
|
-
arrow:
|
|
1430
|
+
const t = N(s, e), o = {
|
|
1431
|
+
dropdown: so.dropdown,
|
|
1432
|
+
arrow: so.arrow
|
|
1321
1433
|
}, n = t.classNames;
|
|
1322
1434
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1323
1435
|
const p = n;
|
|
1324
|
-
Object.keys(p).forEach((
|
|
1325
|
-
o[
|
|
1436
|
+
Object.keys(p).forEach((_) => {
|
|
1437
|
+
o[_] ? o[_] = `${o[_]} ${p[_]}` : o[_] = p[_];
|
|
1326
1438
|
});
|
|
1327
1439
|
}
|
|
1328
1440
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1329
1441
|
return /* @__PURE__ */ r(
|
|
1330
|
-
|
|
1442
|
+
He,
|
|
1331
1443
|
{
|
|
1332
1444
|
position: "top",
|
|
1333
1445
|
arrowSize: i,
|
|
@@ -1337,75 +1449,75 @@ const ha = "HoverCard-module__dropdown___FBPFW", $a = "HoverCard-module__arrow__
|
|
|
1337
1449
|
}
|
|
1338
1450
|
);
|
|
1339
1451
|
};
|
|
1340
|
-
|
|
1341
|
-
const
|
|
1342
|
-
return /* @__PURE__ */ r(
|
|
1452
|
+
So.displayName = "HoverCard";
|
|
1453
|
+
const Wo = function(e) {
|
|
1454
|
+
return /* @__PURE__ */ r(He.Target, { ...e });
|
|
1343
1455
|
};
|
|
1344
|
-
|
|
1345
|
-
const
|
|
1456
|
+
Wo.displayName = "HoverCardTarget";
|
|
1457
|
+
const Lo = function({
|
|
1346
1458
|
overStyled: e = !1,
|
|
1347
1459
|
...a
|
|
1348
1460
|
}) {
|
|
1349
|
-
const s =
|
|
1461
|
+
const s = N(a, e), t = s.className;
|
|
1350
1462
|
return /* @__PURE__ */ r(
|
|
1351
|
-
|
|
1463
|
+
He.Dropdown,
|
|
1352
1464
|
{
|
|
1353
1465
|
className: t,
|
|
1354
1466
|
...s
|
|
1355
1467
|
}
|
|
1356
1468
|
);
|
|
1357
1469
|
};
|
|
1358
|
-
|
|
1359
|
-
const
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
const
|
|
1363
|
-
root:
|
|
1364
|
-
iconWrapper:
|
|
1365
|
-
labelText:
|
|
1366
|
-
},
|
|
1367
|
-
const n =
|
|
1368
|
-
root:
|
|
1470
|
+
Lo.displayName = "HoverCardDropdown";
|
|
1471
|
+
const Oo = So;
|
|
1472
|
+
Oo.Target = Wo;
|
|
1473
|
+
Oo.Dropdown = Lo;
|
|
1474
|
+
const Ia = "Link-module__root___I0VGE", za = "Link-module__iconWrapper___W-LlF", ka = "Link-module__labelText___wSvUy", be = {
|
|
1475
|
+
root: Ia,
|
|
1476
|
+
iconWrapper: za,
|
|
1477
|
+
labelText: ka
|
|
1478
|
+
}, Io = $(function({ icon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
1479
|
+
const n = N(t, s), i = n, c = {
|
|
1480
|
+
root: be.root
|
|
1369
1481
|
}, d = i.classNames;
|
|
1370
1482
|
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
1371
|
-
const
|
|
1372
|
-
c.root =
|
|
1483
|
+
const f = d;
|
|
1484
|
+
c.root = f.root ? `${be.root} ${f.root}` : be.root;
|
|
1373
1485
|
}
|
|
1374
|
-
const p = i.className,
|
|
1486
|
+
const p = i.className, _ = p ? `${be.root} ${p}` : be.root;
|
|
1375
1487
|
return /* @__PURE__ */ R(
|
|
1376
|
-
|
|
1488
|
+
Bt,
|
|
1377
1489
|
{
|
|
1378
1490
|
ref: o,
|
|
1379
|
-
className:
|
|
1491
|
+
className: _,
|
|
1380
1492
|
classNames: c,
|
|
1381
1493
|
underline: "never",
|
|
1382
1494
|
...e ? { "data-has-icon": "" } : {},
|
|
1383
1495
|
...n,
|
|
1384
1496
|
children: [
|
|
1385
|
-
e && /* @__PURE__ */ r("span", { className:
|
|
1386
|
-
/* @__PURE__ */ r("span", { className:
|
|
1497
|
+
e && /* @__PURE__ */ r("span", { className: be.iconWrapper, "aria-hidden": !0, children: e }),
|
|
1498
|
+
/* @__PURE__ */ r("span", { className: be.labelText, children: a })
|
|
1387
1499
|
]
|
|
1388
1500
|
}
|
|
1389
1501
|
);
|
|
1390
1502
|
});
|
|
1391
|
-
|
|
1392
|
-
const
|
|
1393
|
-
dropdown:
|
|
1394
|
-
item:
|
|
1395
|
-
itemLabel:
|
|
1396
|
-
itemSection:
|
|
1397
|
-
divider:
|
|
1398
|
-
label:
|
|
1399
|
-
chevron:
|
|
1400
|
-
},
|
|
1401
|
-
const s =
|
|
1402
|
-
dropdown:
|
|
1403
|
-
item:
|
|
1404
|
-
itemLabel:
|
|
1405
|
-
itemSection:
|
|
1406
|
-
divider:
|
|
1407
|
-
label:
|
|
1408
|
-
chevron:
|
|
1503
|
+
Io.displayName = "Link";
|
|
1504
|
+
const nl = X(Io), Ra = "Menu-module__dropdown___j4xuA", Ma = "Menu-module__item___NMXha", Ba = "Menu-module__itemLabel___zvcqC", Fa = "Menu-module__itemSection___pRIcn", Ea = "Menu-module__divider___wPiNq", ja = "Menu-module__label___4FBGa", Da = "Menu-module__chevron___hEEiy", ye = {
|
|
1505
|
+
dropdown: Ra,
|
|
1506
|
+
item: Ma,
|
|
1507
|
+
itemLabel: Ba,
|
|
1508
|
+
itemSection: Fa,
|
|
1509
|
+
divider: Ea,
|
|
1510
|
+
label: ja,
|
|
1511
|
+
chevron: Da
|
|
1512
|
+
}, zo = function({ overStyled: e = !1, ...a }) {
|
|
1513
|
+
const s = N(a, e), t = {
|
|
1514
|
+
dropdown: ye.dropdown,
|
|
1515
|
+
item: ye.item,
|
|
1516
|
+
itemLabel: ye.itemLabel,
|
|
1517
|
+
itemSection: ye.itemSection,
|
|
1518
|
+
divider: ye.divider,
|
|
1519
|
+
label: ye.label,
|
|
1520
|
+
chevron: ye.chevron
|
|
1409
1521
|
}, o = s.classNames;
|
|
1410
1522
|
if (o && typeof o == "object" && !Array.isArray(o)) {
|
|
1411
1523
|
const n = o;
|
|
@@ -1414,23 +1526,23 @@ const qn = Y(Lo), ga = "Menu-module__dropdown___j4xuA", wa = "Menu-module__item_
|
|
|
1414
1526
|
});
|
|
1415
1527
|
}
|
|
1416
1528
|
return /* @__PURE__ */ r(
|
|
1417
|
-
|
|
1529
|
+
J,
|
|
1418
1530
|
{
|
|
1419
1531
|
classNames: t,
|
|
1420
1532
|
...s
|
|
1421
1533
|
}
|
|
1422
1534
|
);
|
|
1423
1535
|
};
|
|
1424
|
-
|
|
1425
|
-
const
|
|
1426
|
-
return /* @__PURE__ */ r(
|
|
1536
|
+
zo.displayName = "Menu";
|
|
1537
|
+
const ko = function(e) {
|
|
1538
|
+
return /* @__PURE__ */ r(J.Target, { ...e });
|
|
1427
1539
|
};
|
|
1428
|
-
|
|
1429
|
-
const
|
|
1540
|
+
ko.displayName = "MenuTarget";
|
|
1541
|
+
const Ro = $(
|
|
1430
1542
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1431
|
-
const t =
|
|
1543
|
+
const t = N(a, e), o = t.className;
|
|
1432
1544
|
return /* @__PURE__ */ r(
|
|
1433
|
-
|
|
1545
|
+
J.Dropdown,
|
|
1434
1546
|
{
|
|
1435
1547
|
ref: s,
|
|
1436
1548
|
className: o,
|
|
@@ -1439,14 +1551,14 @@ const zo = h(
|
|
|
1439
1551
|
);
|
|
1440
1552
|
}
|
|
1441
1553
|
);
|
|
1442
|
-
|
|
1443
|
-
const
|
|
1554
|
+
Ro.displayName = "MenuDropdown";
|
|
1555
|
+
const Mo = $(
|
|
1444
1556
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1445
|
-
const t =
|
|
1557
|
+
const t = N(a, e), o = t;
|
|
1446
1558
|
e || delete o.color;
|
|
1447
1559
|
const n = o.className;
|
|
1448
1560
|
return /* @__PURE__ */ r(
|
|
1449
|
-
|
|
1561
|
+
J.Item,
|
|
1450
1562
|
{
|
|
1451
1563
|
ref: s,
|
|
1452
1564
|
className: n,
|
|
@@ -1455,12 +1567,12 @@ const Ro = h(
|
|
|
1455
1567
|
);
|
|
1456
1568
|
}
|
|
1457
1569
|
);
|
|
1458
|
-
|
|
1459
|
-
const
|
|
1570
|
+
Mo.displayName = "MenuItem";
|
|
1571
|
+
const Va = X(Mo), Bo = $(
|
|
1460
1572
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1461
|
-
const t =
|
|
1573
|
+
const t = N(a, e), o = t.className;
|
|
1462
1574
|
return /* @__PURE__ */ r(
|
|
1463
|
-
|
|
1575
|
+
J.Divider,
|
|
1464
1576
|
{
|
|
1465
1577
|
ref: s,
|
|
1466
1578
|
className: o,
|
|
@@ -1469,11 +1581,11 @@ const La = Y(Ro), ko = h(
|
|
|
1469
1581
|
);
|
|
1470
1582
|
}
|
|
1471
1583
|
);
|
|
1472
|
-
|
|
1473
|
-
const
|
|
1474
|
-
const t =
|
|
1584
|
+
Bo.displayName = "MenuDivider";
|
|
1585
|
+
const Fo = $(function({ overStyled: e = !1, ...a }, s) {
|
|
1586
|
+
const t = N(a, e), o = t.className;
|
|
1475
1587
|
return /* @__PURE__ */ r(
|
|
1476
|
-
|
|
1588
|
+
J.Label,
|
|
1477
1589
|
{
|
|
1478
1590
|
ref: s,
|
|
1479
1591
|
className: o,
|
|
@@ -1481,22 +1593,22 @@ const Mo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
|
1481
1593
|
}
|
|
1482
1594
|
);
|
|
1483
1595
|
});
|
|
1484
|
-
|
|
1485
|
-
const
|
|
1486
|
-
return /* @__PURE__ */ r(
|
|
1596
|
+
Fo.displayName = "MenuLabel";
|
|
1597
|
+
const Eo = function(e) {
|
|
1598
|
+
return /* @__PURE__ */ r(J.Sub, { ...e });
|
|
1487
1599
|
};
|
|
1488
|
-
|
|
1489
|
-
const
|
|
1490
|
-
return /* @__PURE__ */ r(
|
|
1600
|
+
Eo.displayName = "MenuSub";
|
|
1601
|
+
const jo = function(e) {
|
|
1602
|
+
return /* @__PURE__ */ r(J.Sub.Target, { ...e });
|
|
1491
1603
|
};
|
|
1492
|
-
|
|
1493
|
-
const
|
|
1604
|
+
jo.displayName = "MenuSubTarget";
|
|
1605
|
+
const Do = $(
|
|
1494
1606
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1495
|
-
const t =
|
|
1607
|
+
const t = N(a, e), o = t;
|
|
1496
1608
|
e || delete o.color;
|
|
1497
1609
|
const n = o.className;
|
|
1498
1610
|
return /* @__PURE__ */ r(
|
|
1499
|
-
|
|
1611
|
+
J.Sub.Item,
|
|
1500
1612
|
{
|
|
1501
1613
|
ref: s,
|
|
1502
1614
|
className: n,
|
|
@@ -1505,14 +1617,14 @@ const Eo = h(
|
|
|
1505
1617
|
);
|
|
1506
1618
|
}
|
|
1507
1619
|
);
|
|
1508
|
-
|
|
1509
|
-
const
|
|
1510
|
-
|
|
1511
|
-
),
|
|
1620
|
+
Do.displayName = "MenuSubItem";
|
|
1621
|
+
const Ga = X(
|
|
1622
|
+
Do
|
|
1623
|
+
), Vo = $(
|
|
1512
1624
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1513
|
-
const t =
|
|
1625
|
+
const t = N(a, e), o = t.className;
|
|
1514
1626
|
return /* @__PURE__ */ r(
|
|
1515
|
-
|
|
1627
|
+
J.Sub.Dropdown,
|
|
1516
1628
|
{
|
|
1517
1629
|
ref: s,
|
|
1518
1630
|
className: o,
|
|
@@ -1521,29 +1633,29 @@ const Ia = Y(
|
|
|
1521
1633
|
);
|
|
1522
1634
|
}
|
|
1523
1635
|
);
|
|
1524
|
-
|
|
1525
|
-
const
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
const
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
const
|
|
1537
|
-
root:
|
|
1538
|
-
inner:
|
|
1539
|
-
content:
|
|
1540
|
-
header:
|
|
1541
|
-
title:
|
|
1542
|
-
bodyWrapper:
|
|
1543
|
-
scrollArea:
|
|
1544
|
-
footer:
|
|
1545
|
-
close:
|
|
1546
|
-
},
|
|
1636
|
+
Vo.displayName = "MenuSubDropdown";
|
|
1637
|
+
const Ee = Eo;
|
|
1638
|
+
Ee.Target = jo;
|
|
1639
|
+
Ee.Item = Ga;
|
|
1640
|
+
Ee.Dropdown = Vo;
|
|
1641
|
+
const Ce = zo;
|
|
1642
|
+
Ce.Target = ko;
|
|
1643
|
+
Ce.Dropdown = Ro;
|
|
1644
|
+
Ce.Item = Va;
|
|
1645
|
+
Ce.Divider = Bo;
|
|
1646
|
+
Ce.Label = Fo;
|
|
1647
|
+
Ce.Sub = Ee;
|
|
1648
|
+
const qa = "Modal-module__root___ytPLl", Ha = "Modal-module__inner___SSUJE", Ua = "Modal-module__content___dWO-B", Za = "Modal-module__header___ILG9i", Ya = "Modal-module__title___A5OeE", Ka = "Modal-module__bodyWrapper___5CCL-", Qa = "Modal-module__scrollArea___KD-hm", Xa = "Modal-module__footer___rro2w", Ja = "Modal-module__close___-ER1C", te = {
|
|
1649
|
+
root: qa,
|
|
1650
|
+
inner: Ha,
|
|
1651
|
+
content: Ua,
|
|
1652
|
+
header: Za,
|
|
1653
|
+
title: Ya,
|
|
1654
|
+
bodyWrapper: Ka,
|
|
1655
|
+
scrollArea: Qa,
|
|
1656
|
+
footer: Xa,
|
|
1657
|
+
close: Ja
|
|
1658
|
+
}, Go = j.forwardRef(function({
|
|
1547
1659
|
overStyled: e = !1,
|
|
1548
1660
|
children: a,
|
|
1549
1661
|
title: s,
|
|
@@ -1553,85 +1665,85 @@ const Oa = "Modal-module__root___ytPLl", za = "Modal-module__inner___SSUJE", Ra
|
|
|
1553
1665
|
closeButtonProps: i,
|
|
1554
1666
|
...c
|
|
1555
1667
|
}, d) {
|
|
1556
|
-
const p =
|
|
1557
|
-
root:
|
|
1558
|
-
inner:
|
|
1559
|
-
content:
|
|
1560
|
-
header:
|
|
1561
|
-
title:
|
|
1562
|
-
close:
|
|
1563
|
-
},
|
|
1564
|
-
if (
|
|
1565
|
-
const u =
|
|
1566
|
-
Object.keys(u).forEach((
|
|
1567
|
-
m
|
|
1668
|
+
const p = N(c, e), _ = {
|
|
1669
|
+
root: te.root,
|
|
1670
|
+
inner: te.inner,
|
|
1671
|
+
content: te.content,
|
|
1672
|
+
header: te.header,
|
|
1673
|
+
title: te.title,
|
|
1674
|
+
close: te.close
|
|
1675
|
+
}, f = p.classNames;
|
|
1676
|
+
if (f && typeof f == "object" && !Array.isArray(f)) {
|
|
1677
|
+
const u = f;
|
|
1678
|
+
Object.keys(u).forEach((m) => {
|
|
1679
|
+
_[m] ? _[m] = `${_[m]} ${u[m]}` : _[m] = u[m];
|
|
1568
1680
|
});
|
|
1569
1681
|
}
|
|
1570
1682
|
return /* @__PURE__ */ R(
|
|
1571
|
-
|
|
1683
|
+
H.Root,
|
|
1572
1684
|
{
|
|
1573
1685
|
ref: d,
|
|
1574
|
-
classNames:
|
|
1686
|
+
classNames: _,
|
|
1575
1687
|
...p,
|
|
1576
1688
|
children: [
|
|
1577
|
-
n && /* @__PURE__ */ r(
|
|
1578
|
-
/* @__PURE__ */ R(
|
|
1579
|
-
(s || t) && /* @__PURE__ */ R(
|
|
1580
|
-
s && /* @__PURE__ */ r(
|
|
1581
|
-
t && /* @__PURE__ */ r(
|
|
1689
|
+
n && /* @__PURE__ */ r(H.Overlay, { ...o }),
|
|
1690
|
+
/* @__PURE__ */ R(H.Content, { children: [
|
|
1691
|
+
(s || t) && /* @__PURE__ */ R(H.Header, { children: [
|
|
1692
|
+
s && /* @__PURE__ */ r(H.Title, { children: s }),
|
|
1693
|
+
t && /* @__PURE__ */ r(H.CloseButton, { ...i })
|
|
1582
1694
|
] }),
|
|
1583
|
-
/* @__PURE__ */ r(
|
|
1695
|
+
/* @__PURE__ */ r(eo, { children: a })
|
|
1584
1696
|
] })
|
|
1585
1697
|
]
|
|
1586
1698
|
}
|
|
1587
1699
|
);
|
|
1588
1700
|
});
|
|
1589
|
-
|
|
1590
|
-
const
|
|
1701
|
+
Go.displayName = "Modal";
|
|
1702
|
+
const Je = j.forwardRef(function({ className: e, ...a }, s) {
|
|
1591
1703
|
return /* @__PURE__ */ r(
|
|
1592
1704
|
"div",
|
|
1593
1705
|
{
|
|
1594
1706
|
ref: s,
|
|
1595
|
-
className: `${
|
|
1707
|
+
className: `${te.footer} ${e || ""}`,
|
|
1596
1708
|
...a
|
|
1597
1709
|
}
|
|
1598
1710
|
);
|
|
1599
1711
|
});
|
|
1600
|
-
|
|
1601
|
-
const
|
|
1602
|
-
const n =
|
|
1712
|
+
Je.displayName = "Modal.Footer";
|
|
1713
|
+
const eo = j.forwardRef(function({ className: e, onScroll: a, children: s, ...t }, o) {
|
|
1714
|
+
const n = j.useRef(null), [i, c] = j.useState(!1), [d, p] = j.useState(!1), _ = j.useCallback(() => {
|
|
1603
1715
|
if (n.current) {
|
|
1604
|
-
const { scrollTop: y, scrollHeight: C, clientHeight:
|
|
1605
|
-
c(y > 0), p(Math.ceil(y +
|
|
1716
|
+
const { scrollTop: y, scrollHeight: C, clientHeight: h } = n.current;
|
|
1717
|
+
c(y > 0), p(Math.ceil(y + h) < C);
|
|
1606
1718
|
}
|
|
1607
1719
|
}, []);
|
|
1608
|
-
|
|
1609
|
-
const
|
|
1610
|
-
|
|
1720
|
+
j.useEffect(() => (_(), window.addEventListener("resize", _), () => window.removeEventListener("resize", _)), [_, s]);
|
|
1721
|
+
const f = (y) => {
|
|
1722
|
+
_(), a == null || a(y);
|
|
1611
1723
|
};
|
|
1612
1724
|
let u = null;
|
|
1613
|
-
const
|
|
1614
|
-
return
|
|
1725
|
+
const m = [];
|
|
1726
|
+
return j.Children.forEach(s, (y) => {
|
|
1615
1727
|
var C;
|
|
1616
|
-
|
|
1728
|
+
j.isValidElement(y) && (y.type === Je || ((C = y.type) == null ? void 0 : C.displayName) === "Modal.Footer") ? u = y : m.push(y);
|
|
1617
1729
|
}), /* @__PURE__ */ R(
|
|
1618
|
-
|
|
1730
|
+
H.Body,
|
|
1619
1731
|
{
|
|
1620
1732
|
...t,
|
|
1621
1733
|
ref: (y) => {
|
|
1622
1734
|
typeof o == "function" ? o(y) : o && (o.current = y);
|
|
1623
1735
|
},
|
|
1624
|
-
className: `${
|
|
1736
|
+
className: `${te.bodyWrapper} ${e || ""}`,
|
|
1625
1737
|
children: [
|
|
1626
1738
|
/* @__PURE__ */ r(
|
|
1627
1739
|
"div",
|
|
1628
1740
|
{
|
|
1629
1741
|
ref: n,
|
|
1630
|
-
onScroll:
|
|
1742
|
+
onScroll: f,
|
|
1631
1743
|
"data-scrolled-top": i || void 0,
|
|
1632
1744
|
"data-scrolled-bottom": d || void 0,
|
|
1633
|
-
className:
|
|
1634
|
-
children:
|
|
1745
|
+
className: te.scrollArea,
|
|
1746
|
+
children: m
|
|
1635
1747
|
}
|
|
1636
1748
|
),
|
|
1637
1749
|
u
|
|
@@ -1639,23 +1751,24 @@ const Xe = I.forwardRef(function({ className: e, onScroll: a, children: s, ...t
|
|
|
1639
1751
|
}
|
|
1640
1752
|
);
|
|
1641
1753
|
});
|
|
1642
|
-
|
|
1643
|
-
const
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
const
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1754
|
+
eo.displayName = "Modal.Body";
|
|
1755
|
+
const ue = Go;
|
|
1756
|
+
ue.Root = H.Root;
|
|
1757
|
+
ue.Overlay = H.Overlay;
|
|
1758
|
+
ue.Content = H.Content;
|
|
1759
|
+
ue.Header = H.Header;
|
|
1760
|
+
ue.Title = H.Title;
|
|
1761
|
+
ue.CloseButton = H.CloseButton;
|
|
1762
|
+
ue.Body = eo;
|
|
1763
|
+
ue.Footer = Je;
|
|
1764
|
+
const er = "NumberInput-module__layoutOverride___5-9T4", or = "NumberInput-module__root___C6rAn", tr = "NumberInput-module__input___Ss8p7", sr = "NumberInput-module__section___MijP0", ar = "NumberInput-module__controls___8UfQ2", rr = "NumberInput-module__control___Qre9-", fe = {
|
|
1765
|
+
layoutOverride: er,
|
|
1766
|
+
root: or,
|
|
1767
|
+
input: tr,
|
|
1768
|
+
section: sr,
|
|
1769
|
+
controls: ar,
|
|
1770
|
+
control: rr
|
|
1771
|
+
}, nr = $(
|
|
1659
1772
|
function(e, a) {
|
|
1660
1773
|
const {
|
|
1661
1774
|
overStyled: s = !1,
|
|
@@ -1667,37 +1780,37 @@ const Da = "NumberInput-module__root___C6rAn", Va = "NumberInput-module__input__
|
|
|
1667
1780
|
labelWithEditIcon: c,
|
|
1668
1781
|
onLabelEditClick: d,
|
|
1669
1782
|
label: p,
|
|
1670
|
-
assistiveText:
|
|
1671
|
-
assistiveWithIcon:
|
|
1783
|
+
assistiveText: _,
|
|
1784
|
+
assistiveWithIcon: f,
|
|
1672
1785
|
error: u,
|
|
1673
|
-
required:
|
|
1786
|
+
required: m,
|
|
1674
1787
|
withAsterisk: y,
|
|
1675
1788
|
id: C,
|
|
1676
|
-
className:
|
|
1677
|
-
style:
|
|
1789
|
+
className: h,
|
|
1790
|
+
style: w,
|
|
1678
1791
|
disabled: b,
|
|
1679
|
-
readOnly:
|
|
1792
|
+
readOnly: x,
|
|
1680
1793
|
readOnlyComponent: v,
|
|
1681
|
-
emptyValueComponent:
|
|
1682
|
-
value:
|
|
1683
|
-
defaultValue:
|
|
1684
|
-
hideControls:
|
|
1685
|
-
...
|
|
1686
|
-
} = e,
|
|
1687
|
-
delete
|
|
1688
|
-
const
|
|
1689
|
-
wrapper:
|
|
1794
|
+
emptyValueComponent: I,
|
|
1795
|
+
value: A,
|
|
1796
|
+
defaultValue: T,
|
|
1797
|
+
hideControls: W = !1,
|
|
1798
|
+
...O
|
|
1799
|
+
} = e, P = N(O, s), g = P;
|
|
1800
|
+
delete g.size, delete g.variant, delete g.radius;
|
|
1801
|
+
const M = {
|
|
1802
|
+
wrapper: fe.root,
|
|
1690
1803
|
// The nested Input internal relative wrapper bounding box
|
|
1691
|
-
input:
|
|
1692
|
-
section:
|
|
1693
|
-
controls:
|
|
1694
|
-
control:
|
|
1695
|
-
};
|
|
1804
|
+
input: fe.input,
|
|
1805
|
+
section: fe.section,
|
|
1806
|
+
controls: fe.controls,
|
|
1807
|
+
control: fe.control
|
|
1808
|
+
}, B = h ? `${fe.layoutOverride} ${h}` : fe.layoutOverride;
|
|
1696
1809
|
return /* @__PURE__ */ r(
|
|
1697
|
-
|
|
1810
|
+
ne,
|
|
1698
1811
|
{
|
|
1699
|
-
className:
|
|
1700
|
-
style:
|
|
1812
|
+
className: B,
|
|
1813
|
+
style: w,
|
|
1701
1814
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
1702
1815
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
1703
1816
|
overStyled: s,
|
|
@@ -1708,29 +1821,29 @@ const Da = "NumberInput-module__root___C6rAn", Va = "NumberInput-module__input__
|
|
|
1708
1821
|
labelWithEditIcon: c,
|
|
1709
1822
|
onLabelEditClick: d,
|
|
1710
1823
|
label: p,
|
|
1711
|
-
assistiveText:
|
|
1712
|
-
assistiveWithIcon:
|
|
1824
|
+
assistiveText: _,
|
|
1825
|
+
assistiveWithIcon: f,
|
|
1713
1826
|
error: u,
|
|
1714
|
-
required:
|
|
1827
|
+
required: m,
|
|
1715
1828
|
withAsterisk: y,
|
|
1716
1829
|
id: C,
|
|
1717
|
-
readOnly:
|
|
1830
|
+
readOnly: x,
|
|
1718
1831
|
readOnlyComponent: v,
|
|
1719
|
-
emptyValueComponent:
|
|
1832
|
+
emptyValueComponent: I,
|
|
1720
1833
|
readOnlyType: "text",
|
|
1721
|
-
readOnlyValue:
|
|
1834
|
+
readOnlyValue: A !== void 0 ? A == null ? void 0 : A.toString() : T == null ? void 0 : T.toString(),
|
|
1722
1835
|
readOnlyNativeProps: e,
|
|
1723
1836
|
activeComponent: (
|
|
1724
1837
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1725
1838
|
/* @__PURE__ */ r(
|
|
1726
|
-
|
|
1839
|
+
Ft,
|
|
1727
1840
|
{
|
|
1728
1841
|
ref: a,
|
|
1729
|
-
classNames:
|
|
1842
|
+
classNames: M,
|
|
1730
1843
|
disabled: b,
|
|
1731
|
-
value:
|
|
1732
|
-
defaultValue:
|
|
1733
|
-
hideControls:
|
|
1844
|
+
value: A,
|
|
1845
|
+
defaultValue: T,
|
|
1846
|
+
hideControls: W,
|
|
1734
1847
|
label: void 0,
|
|
1735
1848
|
description: void 0,
|
|
1736
1849
|
error: void 0,
|
|
@@ -1739,10 +1852,10 @@ const Da = "NumberInput-module__root___C6rAn", Va = "NumberInput-module__input__
|
|
|
1739
1852
|
wrapperProps: {
|
|
1740
1853
|
"data-disabled": b ? "true" : void 0,
|
|
1741
1854
|
"data-error": u ? "true" : void 0,
|
|
1742
|
-
"data-with-left-section":
|
|
1743
|
-
"data-with-right-section":
|
|
1855
|
+
"data-with-left-section": g.leftSection ? "true" : void 0,
|
|
1856
|
+
"data-with-right-section": g.rightSection || !W ? "true" : void 0
|
|
1744
1857
|
},
|
|
1745
|
-
...
|
|
1858
|
+
...P
|
|
1746
1859
|
}
|
|
1747
1860
|
)
|
|
1748
1861
|
)
|
|
@@ -1750,19 +1863,19 @@ const Da = "NumberInput-module__root___C6rAn", Va = "NumberInput-module__input__
|
|
|
1750
1863
|
);
|
|
1751
1864
|
}
|
|
1752
1865
|
);
|
|
1753
|
-
|
|
1754
|
-
const
|
|
1755
|
-
root:
|
|
1756
|
-
control:
|
|
1757
|
-
dots:
|
|
1758
|
-
iconWithLabel:
|
|
1759
|
-
baseIcon:
|
|
1760
|
-
},
|
|
1761
|
-
next:
|
|
1762
|
-
prev:
|
|
1763
|
-
first:
|
|
1764
|
-
last:
|
|
1765
|
-
},
|
|
1866
|
+
nr.displayName = "NumberInput";
|
|
1867
|
+
const lr = "Pagination-module__root___ITRjt", ir = "Pagination-module__control___40yNT", cr = "Pagination-module__dots___Yl9da", dr = "Pagination-module__iconWithLabel___pLM4O", pr = "Pagination-module__baseIcon___Qw3bJ", D = {
|
|
1868
|
+
root: lr,
|
|
1869
|
+
control: ir,
|
|
1870
|
+
dots: cr,
|
|
1871
|
+
iconWithLabel: dr,
|
|
1872
|
+
baseIcon: pr
|
|
1873
|
+
}, _r = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", mr = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", ur = "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", br = "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", yr = {
|
|
1874
|
+
next: _r,
|
|
1875
|
+
prev: mr,
|
|
1876
|
+
first: ur,
|
|
1877
|
+
last: br
|
|
1878
|
+
}, Ae = ({
|
|
1766
1879
|
type: l,
|
|
1767
1880
|
className: e,
|
|
1768
1881
|
...a
|
|
@@ -1771,43 +1884,43 @@ const Za = "Pagination-module__root___ITRjt", Ya = "Pagination-module__control__
|
|
|
1771
1884
|
{
|
|
1772
1885
|
viewBox: "0 0 16 16",
|
|
1773
1886
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1774
|
-
className: `${
|
|
1887
|
+
className: `${D.baseIcon} ${e || ""}`.trim(),
|
|
1775
1888
|
...a,
|
|
1776
|
-
children: /* @__PURE__ */ r("path", { d:
|
|
1889
|
+
children: /* @__PURE__ */ r("path", { d: yr[l], fill: "currentColor" })
|
|
1777
1890
|
}
|
|
1778
|
-
),
|
|
1891
|
+
), qo = (l) => /* @__PURE__ */ R("div", { className: D.iconWithLabel, children: [
|
|
1779
1892
|
/* @__PURE__ */ r("span", { children: "Next" }),
|
|
1780
|
-
/* @__PURE__ */ r(
|
|
1781
|
-
] }),
|
|
1782
|
-
/* @__PURE__ */ r(
|
|
1893
|
+
/* @__PURE__ */ r(Ae, { type: "next", ...l })
|
|
1894
|
+
] }), Ho = (l) => /* @__PURE__ */ R("div", { className: D.iconWithLabel, children: [
|
|
1895
|
+
/* @__PURE__ */ r(Ae, { type: "prev", ...l }),
|
|
1783
1896
|
/* @__PURE__ */ r("span", { children: "Prev" })
|
|
1784
|
-
] }),
|
|
1785
|
-
/* @__PURE__ */ r(
|
|
1897
|
+
] }), Uo = (l) => /* @__PURE__ */ R("div", { className: D.iconWithLabel, children: [
|
|
1898
|
+
/* @__PURE__ */ r(Ae, { type: "first", ...l }),
|
|
1786
1899
|
/* @__PURE__ */ r("span", { children: "First" })
|
|
1787
|
-
] }),
|
|
1900
|
+
] }), Zo = (l) => /* @__PURE__ */ R("div", { className: D.iconWithLabel, children: [
|
|
1788
1901
|
/* @__PURE__ */ r("span", { children: "Last" }),
|
|
1789
|
-
/* @__PURE__ */ r(
|
|
1902
|
+
/* @__PURE__ */ r(Ae, { type: "last", ...l })
|
|
1790
1903
|
] });
|
|
1791
|
-
function
|
|
1904
|
+
function Yo(l) {
|
|
1792
1905
|
const e = {
|
|
1793
|
-
root:
|
|
1794
|
-
control:
|
|
1795
|
-
dots:
|
|
1906
|
+
root: D.root,
|
|
1907
|
+
control: D.control,
|
|
1908
|
+
dots: D.dots
|
|
1796
1909
|
}, a = l.classNames;
|
|
1797
1910
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
1798
1911
|
const o = a;
|
|
1799
|
-
e.root = o.root ? `${
|
|
1912
|
+
e.root = o.root ? `${D.root} ${o.root}` : D.root, e.control = o.control ? `${D.control} ${o.control}` : D.control, e.dots = o.dots ? `${D.dots} ${o.dots}` : D.dots;
|
|
1800
1913
|
}
|
|
1801
1914
|
const s = l.className;
|
|
1802
|
-
return { className: s ? `${
|
|
1915
|
+
return { className: s ? `${D.root} ${s}` : D.root, classNames: e };
|
|
1803
1916
|
}
|
|
1804
|
-
const
|
|
1917
|
+
const Ko = $(
|
|
1805
1918
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1806
|
-
const t =
|
|
1919
|
+
const t = N(a, e), o = Yo(
|
|
1807
1920
|
t
|
|
1808
1921
|
);
|
|
1809
1922
|
return /* @__PURE__ */ r(
|
|
1810
|
-
|
|
1923
|
+
ae.Root,
|
|
1811
1924
|
{
|
|
1812
1925
|
ref: s,
|
|
1813
1926
|
className: o.className,
|
|
@@ -1817,11 +1930,11 @@ const Zo = h(
|
|
|
1817
1930
|
);
|
|
1818
1931
|
}
|
|
1819
1932
|
);
|
|
1820
|
-
|
|
1821
|
-
const
|
|
1822
|
-
const o = a || (e ?
|
|
1933
|
+
Ko.displayName = "Pagination.Root";
|
|
1934
|
+
const Qo = $(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1935
|
+
const o = a || (e ? qo : void 0);
|
|
1823
1936
|
return /* @__PURE__ */ r(
|
|
1824
|
-
|
|
1937
|
+
ae.Next,
|
|
1825
1938
|
{
|
|
1826
1939
|
ref: t,
|
|
1827
1940
|
"data-variant": "text",
|
|
@@ -1830,11 +1943,11 @@ const Yo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1830
1943
|
}
|
|
1831
1944
|
);
|
|
1832
1945
|
});
|
|
1833
|
-
|
|
1834
|
-
const
|
|
1835
|
-
const o = a || (e ?
|
|
1946
|
+
Qo.displayName = "Pagination.Next";
|
|
1947
|
+
const Xo = $(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1948
|
+
const o = a || (e ? Ho : void 0);
|
|
1836
1949
|
return /* @__PURE__ */ r(
|
|
1837
|
-
|
|
1950
|
+
ae.Previous,
|
|
1838
1951
|
{
|
|
1839
1952
|
ref: t,
|
|
1840
1953
|
"data-variant": "text",
|
|
@@ -1843,11 +1956,11 @@ const Ko = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1843
1956
|
}
|
|
1844
1957
|
);
|
|
1845
1958
|
});
|
|
1846
|
-
|
|
1847
|
-
const
|
|
1848
|
-
const o = a || (e ?
|
|
1959
|
+
Xo.displayName = "Pagination.Previous";
|
|
1960
|
+
const Jo = $(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1961
|
+
const o = a || (e ? Uo : void 0);
|
|
1849
1962
|
return /* @__PURE__ */ r(
|
|
1850
|
-
|
|
1963
|
+
ae.First,
|
|
1851
1964
|
{
|
|
1852
1965
|
ref: t,
|
|
1853
1966
|
"data-variant": "text",
|
|
@@ -1856,11 +1969,11 @@ const Qo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1856
1969
|
}
|
|
1857
1970
|
);
|
|
1858
1971
|
});
|
|
1859
|
-
|
|
1860
|
-
const
|
|
1861
|
-
const o = a || (e ?
|
|
1972
|
+
Jo.displayName = "Pagination.First";
|
|
1973
|
+
const et = $(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1974
|
+
const o = a || (e ? Zo : void 0);
|
|
1862
1975
|
return /* @__PURE__ */ r(
|
|
1863
|
-
|
|
1976
|
+
ae.Last,
|
|
1864
1977
|
{
|
|
1865
1978
|
ref: t,
|
|
1866
1979
|
"data-variant": "text",
|
|
@@ -1869,22 +1982,22 @@ const Xo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1869
1982
|
}
|
|
1870
1983
|
);
|
|
1871
1984
|
});
|
|
1872
|
-
|
|
1873
|
-
const
|
|
1985
|
+
et.displayName = "Pagination.Last";
|
|
1986
|
+
const ot = $(
|
|
1874
1987
|
function({ overStyled: e = !1, getControlProps: a, withLabels: s, ...t }, o) {
|
|
1875
|
-
const n =
|
|
1988
|
+
const n = N(t, e), i = Yo(
|
|
1876
1989
|
n
|
|
1877
1990
|
), c = (p) => {
|
|
1878
|
-
const
|
|
1879
|
-
return a ? { ...
|
|
1991
|
+
const _ = { "data-variant": "text" };
|
|
1992
|
+
return a ? { ..._, ...a(p) } : _;
|
|
1880
1993
|
}, d = s ? {
|
|
1881
|
-
nextIcon:
|
|
1882
|
-
previousIcon:
|
|
1883
|
-
firstIcon:
|
|
1884
|
-
lastIcon:
|
|
1994
|
+
nextIcon: qo,
|
|
1995
|
+
previousIcon: Ho,
|
|
1996
|
+
firstIcon: Uo,
|
|
1997
|
+
lastIcon: Zo
|
|
1885
1998
|
} : {};
|
|
1886
1999
|
return /* @__PURE__ */ r(
|
|
1887
|
-
|
|
2000
|
+
ae,
|
|
1888
2001
|
{
|
|
1889
2002
|
ref: o,
|
|
1890
2003
|
className: i.className,
|
|
@@ -1896,38 +2009,38 @@ const Jo = h(
|
|
|
1896
2009
|
);
|
|
1897
2010
|
}
|
|
1898
2011
|
);
|
|
1899
|
-
|
|
1900
|
-
const
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
const
|
|
1911
|
-
content:
|
|
1912
|
-
inner:
|
|
1913
|
-
header:
|
|
1914
|
-
title:
|
|
1915
|
-
titleTruncate:
|
|
1916
|
-
body:
|
|
1917
|
-
footer:
|
|
1918
|
-
},
|
|
2012
|
+
ot.displayName = "Pagination";
|
|
2013
|
+
const le = ot;
|
|
2014
|
+
le.Root = Ko;
|
|
2015
|
+
le.Items = ae.Items;
|
|
2016
|
+
le.Control = ae.Control;
|
|
2017
|
+
le.Dots = ae.Dots;
|
|
2018
|
+
le.Next = Qo;
|
|
2019
|
+
le.Previous = Xo;
|
|
2020
|
+
le.First = Jo;
|
|
2021
|
+
le.Last = et;
|
|
2022
|
+
le.Icon = Ae;
|
|
2023
|
+
const fr = "Panel-module__content___wdGo-", Nr = "Panel-module__inner___ruA2b", hr = "Panel-module__header___o7SiC", $r = "Panel-module__title___181OP", vr = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", Cr = "Panel-module__body___SEC3T", wr = "Panel-module__footer___t6-hz", _e = {
|
|
2024
|
+
content: fr,
|
|
2025
|
+
inner: Nr,
|
|
2026
|
+
header: hr,
|
|
2027
|
+
title: $r,
|
|
2028
|
+
titleTruncate: vr,
|
|
2029
|
+
body: Cr,
|
|
2030
|
+
footer: wr
|
|
2031
|
+
}, tt = function({
|
|
1919
2032
|
overStyled: e = !1,
|
|
1920
2033
|
position: a = "right",
|
|
1921
2034
|
keepMounted: s = !0,
|
|
1922
2035
|
wrapHeaderText: t = !1,
|
|
1923
2036
|
...o
|
|
1924
2037
|
}) {
|
|
1925
|
-
const n =
|
|
1926
|
-
content:
|
|
1927
|
-
header:
|
|
1928
|
-
title: t ?
|
|
1929
|
-
body:
|
|
1930
|
-
inner:
|
|
2038
|
+
const n = N(o, e), i = {
|
|
2039
|
+
content: _e.content,
|
|
2040
|
+
header: _e.header,
|
|
2041
|
+
title: t ? _e.titleTruncate : _e.title,
|
|
2042
|
+
body: _e.body,
|
|
2043
|
+
inner: _e.inner
|
|
1931
2044
|
}, c = n.classNames;
|
|
1932
2045
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1933
2046
|
const d = c;
|
|
@@ -1936,7 +2049,7 @@ const ar = "Panel-module__content___wdGo-", rr = "Panel-module__inner___ruA2b",
|
|
|
1936
2049
|
});
|
|
1937
2050
|
}
|
|
1938
2051
|
return /* @__PURE__ */ r(
|
|
1939
|
-
|
|
2052
|
+
re,
|
|
1940
2053
|
{
|
|
1941
2054
|
position: a,
|
|
1942
2055
|
keepMounted: s,
|
|
@@ -1946,45 +2059,45 @@ const ar = "Panel-module__content___wdGo-", rr = "Panel-module__inner___ruA2b",
|
|
|
1946
2059
|
}
|
|
1947
2060
|
);
|
|
1948
2061
|
};
|
|
1949
|
-
|
|
1950
|
-
const
|
|
2062
|
+
tt.displayName = "Panel";
|
|
2063
|
+
const st = $(
|
|
1951
2064
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1952
|
-
const t =
|
|
2065
|
+
const t = N(a, e), o = t.className, n = o ? `${_e.footer} ${o}` : _e.footer;
|
|
1953
2066
|
return /* @__PURE__ */ r("div", { ref: s, className: n, ...t });
|
|
1954
2067
|
}
|
|
1955
2068
|
);
|
|
1956
|
-
|
|
1957
|
-
const
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
const
|
|
1968
|
-
dropdown:
|
|
1969
|
-
arrow:
|
|
1970
|
-
},
|
|
2069
|
+
st.displayName = "PanelFooter";
|
|
2070
|
+
const ie = tt;
|
|
2071
|
+
ie.Root = re.Root;
|
|
2072
|
+
ie.Overlay = re.Overlay;
|
|
2073
|
+
ie.Content = re.Content;
|
|
2074
|
+
ie.Header = re.Header;
|
|
2075
|
+
ie.Title = re.Title;
|
|
2076
|
+
ie.CloseButton = re.CloseButton;
|
|
2077
|
+
ie.Body = re.Body;
|
|
2078
|
+
ie.Stack = re.Stack;
|
|
2079
|
+
ie.Footer = st;
|
|
2080
|
+
const Pr = "Popover-module__dropdown___svhS6", gr = "Popover-module__arrow___5A-0e", ao = {
|
|
2081
|
+
dropdown: Pr,
|
|
2082
|
+
arrow: gr
|
|
2083
|
+
}, at = function({
|
|
1971
2084
|
overStyled: e = !1,
|
|
1972
2085
|
withBeak: a = !0,
|
|
1973
2086
|
...s
|
|
1974
2087
|
}) {
|
|
1975
|
-
const t =
|
|
1976
|
-
dropdown:
|
|
1977
|
-
arrow:
|
|
2088
|
+
const t = N(s, e), o = {
|
|
2089
|
+
dropdown: ao.dropdown,
|
|
2090
|
+
arrow: ao.arrow
|
|
1978
2091
|
}, n = t.classNames;
|
|
1979
2092
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1980
2093
|
const p = n;
|
|
1981
|
-
Object.keys(p).forEach((
|
|
1982
|
-
o[
|
|
2094
|
+
Object.keys(p).forEach((_) => {
|
|
2095
|
+
o[_] ? o[_] = `${o[_]} ${p[_]}` : o[_] = p[_];
|
|
1983
2096
|
});
|
|
1984
2097
|
}
|
|
1985
2098
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1986
2099
|
return /* @__PURE__ */ r(
|
|
1987
|
-
|
|
2100
|
+
Ue,
|
|
1988
2101
|
{
|
|
1989
2102
|
position: "top",
|
|
1990
2103
|
arrowSize: i,
|
|
@@ -1994,38 +2107,38 @@ const pr = "Popover-module__dropdown___svhS6", mr = "Popover-module__arrow___5A-
|
|
|
1994
2107
|
}
|
|
1995
2108
|
);
|
|
1996
2109
|
};
|
|
1997
|
-
|
|
1998
|
-
const
|
|
1999
|
-
return /* @__PURE__ */ r(
|
|
2110
|
+
at.displayName = "Popover";
|
|
2111
|
+
const rt = function(e) {
|
|
2112
|
+
return /* @__PURE__ */ r(Ue.Target, { ...e });
|
|
2000
2113
|
};
|
|
2001
|
-
|
|
2002
|
-
const
|
|
2114
|
+
rt.displayName = "PopoverTarget";
|
|
2115
|
+
const nt = function({
|
|
2003
2116
|
overStyled: e = !1,
|
|
2004
2117
|
...a
|
|
2005
2118
|
}) {
|
|
2006
|
-
const s =
|
|
2119
|
+
const s = N(a, e), t = s.className;
|
|
2007
2120
|
return /* @__PURE__ */ r(
|
|
2008
|
-
|
|
2121
|
+
Ue.Dropdown,
|
|
2009
2122
|
{
|
|
2010
2123
|
className: t,
|
|
2011
2124
|
...s
|
|
2012
2125
|
}
|
|
2013
2126
|
);
|
|
2014
2127
|
};
|
|
2015
|
-
|
|
2016
|
-
const
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
const
|
|
2020
|
-
groupRoot:
|
|
2021
|
-
root:
|
|
2022
|
-
body:
|
|
2023
|
-
inner:
|
|
2024
|
-
radio:
|
|
2025
|
-
icon:
|
|
2026
|
-
labelWrapper:
|
|
2027
|
-
label:
|
|
2028
|
-
},
|
|
2128
|
+
nt.displayName = "PopoverDropdown";
|
|
2129
|
+
const lt = at;
|
|
2130
|
+
lt.Target = rt;
|
|
2131
|
+
lt.Dropdown = nt;
|
|
2132
|
+
const Tr = "Radio-module__groupRoot___bfUii", xr = "Radio-module__root___kAjTD", Ar = "Radio-module__body___q2Wpj", Sr = "Radio-module__inner___QaTBB", Wr = "Radio-module__radio___MfgN-", Lr = "Radio-module__icon___DWznm", Or = "Radio-module__labelWrapper___dB0Gi", Ir = "Radio-module__label___vAFIP", k = {
|
|
2133
|
+
groupRoot: Tr,
|
|
2134
|
+
root: xr,
|
|
2135
|
+
body: Ar,
|
|
2136
|
+
inner: Sr,
|
|
2137
|
+
radio: Wr,
|
|
2138
|
+
icon: Lr,
|
|
2139
|
+
labelWrapper: Or,
|
|
2140
|
+
label: Ir
|
|
2141
|
+
}, it = $(
|
|
2029
2142
|
function(e, a) {
|
|
2030
2143
|
const {
|
|
2031
2144
|
overStyled: s = !1,
|
|
@@ -2038,27 +2151,27 @@ const _r = "Radio-module__groupRoot___bfUii", ur = "Radio-module__root___kAjTD",
|
|
|
2038
2151
|
onLabelEditClick: d,
|
|
2039
2152
|
// Base Mantine Extracted Attributes
|
|
2040
2153
|
label: p,
|
|
2041
|
-
description:
|
|
2042
|
-
assistiveText:
|
|
2154
|
+
description: _,
|
|
2155
|
+
assistiveText: f,
|
|
2043
2156
|
assistiveWithIcon: u,
|
|
2044
|
-
error:
|
|
2157
|
+
error: m,
|
|
2045
2158
|
required: y,
|
|
2046
2159
|
withAsterisk: C,
|
|
2047
|
-
id:
|
|
2048
|
-
className:
|
|
2160
|
+
id: h,
|
|
2161
|
+
className: w,
|
|
2049
2162
|
style: b,
|
|
2050
|
-
children:
|
|
2163
|
+
children: x,
|
|
2051
2164
|
readOnly: v,
|
|
2052
|
-
readOnlyComponent:
|
|
2053
|
-
emptyValueComponent:
|
|
2054
|
-
value:
|
|
2055
|
-
defaultValue:
|
|
2056
|
-
...
|
|
2057
|
-
} = e,
|
|
2058
|
-
return delete
|
|
2059
|
-
|
|
2165
|
+
readOnlyComponent: I,
|
|
2166
|
+
emptyValueComponent: A,
|
|
2167
|
+
value: T,
|
|
2168
|
+
defaultValue: W,
|
|
2169
|
+
...O
|
|
2170
|
+
} = e, P = N(O, s), g = P;
|
|
2171
|
+
return delete g.size, /* @__PURE__ */ r(
|
|
2172
|
+
ne,
|
|
2060
2173
|
{
|
|
2061
|
-
className:
|
|
2174
|
+
className: w,
|
|
2062
2175
|
style: b,
|
|
2063
2176
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
2064
2177
|
controlMinWidth: void 0,
|
|
@@ -2071,38 +2184,36 @@ const _r = "Radio-module__groupRoot___bfUii", ur = "Radio-module__root___kAjTD",
|
|
|
2071
2184
|
labelWithEditIcon: c,
|
|
2072
2185
|
onLabelEditClick: d,
|
|
2073
2186
|
label: p,
|
|
2074
|
-
description:
|
|
2075
|
-
assistiveText:
|
|
2187
|
+
description: _,
|
|
2188
|
+
assistiveText: f,
|
|
2076
2189
|
assistiveWithIcon: u,
|
|
2077
|
-
error:
|
|
2190
|
+
error: m,
|
|
2078
2191
|
required: y,
|
|
2079
2192
|
withAsterisk: C,
|
|
2080
|
-
id:
|
|
2081
|
-
readOnly: v && !!
|
|
2082
|
-
readOnlyComponent:
|
|
2083
|
-
emptyValueComponent:
|
|
2193
|
+
id: h,
|
|
2194
|
+
readOnly: v && !!I,
|
|
2195
|
+
readOnlyComponent: I,
|
|
2196
|
+
emptyValueComponent: A,
|
|
2084
2197
|
readOnlyType: "text",
|
|
2085
|
-
readOnlyValue:
|
|
2198
|
+
readOnlyValue: T !== void 0 ? T : W,
|
|
2086
2199
|
readOnlyNativeProps: e,
|
|
2087
2200
|
activeComponent: /* @__PURE__ */ r(
|
|
2088
|
-
|
|
2201
|
+
io.Group,
|
|
2089
2202
|
{
|
|
2090
2203
|
ref: a,
|
|
2091
|
-
...
|
|
2092
|
-
disabled: v ||
|
|
2093
|
-
value:
|
|
2094
|
-
defaultValue:
|
|
2095
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
2096
|
-
disabled: v || g.props.disabled
|
|
2097
|
-
}) : g) })
|
|
2204
|
+
...P,
|
|
2205
|
+
disabled: v || g.disabled,
|
|
2206
|
+
value: T,
|
|
2207
|
+
defaultValue: W,
|
|
2208
|
+
children: /* @__PURE__ */ r("div", { className: k.groupRoot, "data-layout": t, children: x })
|
|
2098
2209
|
}
|
|
2099
2210
|
)
|
|
2100
2211
|
}
|
|
2101
2212
|
);
|
|
2102
2213
|
}
|
|
2103
2214
|
);
|
|
2104
|
-
|
|
2105
|
-
const
|
|
2215
|
+
it.displayName = "RadioGroup";
|
|
2216
|
+
const zr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
2106
2217
|
"svg",
|
|
2107
2218
|
{
|
|
2108
2219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2112,7 +2223,7 @@ const vr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2112
2223
|
style: e,
|
|
2113
2224
|
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
2114
2225
|
}
|
|
2115
|
-
),
|
|
2226
|
+
), ct = $(
|
|
2116
2227
|
function(e, a) {
|
|
2117
2228
|
const {
|
|
2118
2229
|
overStyled: s = !1,
|
|
@@ -2123,23 +2234,23 @@ const vr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2123
2234
|
labelSize: c,
|
|
2124
2235
|
controlMaxWidth: d,
|
|
2125
2236
|
controlMinWidth: p,
|
|
2126
|
-
...
|
|
2127
|
-
} = e,
|
|
2237
|
+
..._
|
|
2238
|
+
} = e, f = N(_, s), u = f;
|
|
2128
2239
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
2129
|
-
const
|
|
2130
|
-
root:
|
|
2131
|
-
body:
|
|
2132
|
-
inner:
|
|
2133
|
-
radio:
|
|
2134
|
-
icon:
|
|
2135
|
-
labelWrapper:
|
|
2136
|
-
label:
|
|
2240
|
+
const m = {
|
|
2241
|
+
root: k.root,
|
|
2242
|
+
body: k.body,
|
|
2243
|
+
inner: k.inner,
|
|
2244
|
+
radio: k.radio,
|
|
2245
|
+
icon: k.icon,
|
|
2246
|
+
labelWrapper: k.labelWrapper,
|
|
2247
|
+
label: k.label
|
|
2137
2248
|
}, y = u.classNames;
|
|
2138
2249
|
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
2139
2250
|
const b = y;
|
|
2140
|
-
|
|
2251
|
+
m.root = b.root ? `${k.root} ${b.root}` : k.root, m.body = b.body ? `${k.body} ${b.body}` : k.body, m.inner = b.inner ? `${k.inner} ${b.inner}` : k.inner, m.radio = b.radio ? `${k.radio} ${b.radio}` : k.radio, m.icon = b.icon ? `${k.icon} ${b.icon}` : k.icon, m.labelWrapper = b.labelWrapper ? `${k.labelWrapper} ${b.labelWrapper}` : k.labelWrapper, m.label = b.label ? `${k.label} ${b.label}` : k.label;
|
|
2141
2252
|
}
|
|
2142
|
-
const C = u.className,
|
|
2253
|
+
const C = u.className, h = C ? `${k.root} ${C}` : k.root;
|
|
2143
2254
|
if (t && o) {
|
|
2144
2255
|
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ r(
|
|
2145
2256
|
o,
|
|
@@ -2150,7 +2261,7 @@ const vr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2150
2261
|
}
|
|
2151
2262
|
);
|
|
2152
2263
|
return i ? /* @__PURE__ */ r(
|
|
2153
|
-
|
|
2264
|
+
me,
|
|
2154
2265
|
{
|
|
2155
2266
|
formLayout: i,
|
|
2156
2267
|
labelSize: c,
|
|
@@ -2158,38 +2269,38 @@ const vr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2158
2269
|
controlMinWidth: p,
|
|
2159
2270
|
children: v
|
|
2160
2271
|
}
|
|
2161
|
-
) : /* @__PURE__ */ r(
|
|
2272
|
+
) : /* @__PURE__ */ r(ve, { children: v });
|
|
2162
2273
|
}
|
|
2163
|
-
const
|
|
2164
|
-
|
|
2274
|
+
const w = /* @__PURE__ */ r(
|
|
2275
|
+
io,
|
|
2165
2276
|
{
|
|
2166
2277
|
ref: a,
|
|
2167
|
-
icon:
|
|
2168
|
-
className:
|
|
2169
|
-
classNames:
|
|
2278
|
+
icon: zr,
|
|
2279
|
+
className: h,
|
|
2280
|
+
classNames: m,
|
|
2170
2281
|
disabled: t || n,
|
|
2171
|
-
...
|
|
2282
|
+
...f
|
|
2172
2283
|
}
|
|
2173
2284
|
);
|
|
2174
2285
|
return i ? /* @__PURE__ */ r(
|
|
2175
|
-
|
|
2286
|
+
me,
|
|
2176
2287
|
{
|
|
2177
2288
|
formLayout: i,
|
|
2178
2289
|
labelSize: c,
|
|
2179
2290
|
controlMaxWidth: d,
|
|
2180
2291
|
controlMinWidth: p,
|
|
2181
|
-
children:
|
|
2292
|
+
children: w
|
|
2182
2293
|
}
|
|
2183
|
-
) :
|
|
2294
|
+
) : w;
|
|
2184
2295
|
}
|
|
2185
2296
|
);
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
const
|
|
2189
|
-
|
|
2297
|
+
ct.displayName = "Radio";
|
|
2298
|
+
ct.Group = it;
|
|
2299
|
+
const kr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
2300
|
+
qe,
|
|
2190
2301
|
{
|
|
2191
2302
|
component: "span",
|
|
2192
|
-
className:
|
|
2303
|
+
className: $e.textField,
|
|
2193
2304
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2194
2305
|
children: [
|
|
2195
2306
|
e && /* @__PURE__ */ R("span", { style: { fontWeight: 500 }, children: [
|
|
@@ -2200,12 +2311,12 @@ const Cr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
|
2200
2311
|
]
|
|
2201
2312
|
}
|
|
2202
2313
|
);
|
|
2203
|
-
|
|
2204
|
-
const
|
|
2205
|
-
|
|
2314
|
+
kr.displayName = "ReadOnlySwitchField";
|
|
2315
|
+
const Rr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
2316
|
+
qe,
|
|
2206
2317
|
{
|
|
2207
2318
|
component: "span",
|
|
2208
|
-
className:
|
|
2319
|
+
className: $e.textField,
|
|
2209
2320
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2210
2321
|
children: [
|
|
2211
2322
|
e && /* @__PURE__ */ R("span", { style: { fontWeight: 500 }, children: [
|
|
@@ -2216,38 +2327,38 @@ const Pr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
|
2216
2327
|
]
|
|
2217
2328
|
}
|
|
2218
2329
|
);
|
|
2219
|
-
|
|
2220
|
-
const
|
|
2221
|
-
root:
|
|
2222
|
-
label:
|
|
2223
|
-
control:
|
|
2224
|
-
indicator:
|
|
2330
|
+
Rr.displayName = "ReadOnlyBooleanField";
|
|
2331
|
+
const Mr = "SegmentedControl-module__root___JFRhg", Br = "SegmentedControl-module__label___mS17q", Fr = "SegmentedControl-module__control___znOdQ", Er = "SegmentedControl-module__indicator___ZMcJy", q = {
|
|
2332
|
+
root: Mr,
|
|
2333
|
+
label: Br,
|
|
2334
|
+
control: Fr,
|
|
2335
|
+
indicator: Er
|
|
2225
2336
|
};
|
|
2226
|
-
function
|
|
2337
|
+
function jr(l) {
|
|
2227
2338
|
const e = {
|
|
2228
|
-
root:
|
|
2229
|
-
control:
|
|
2230
|
-
label:
|
|
2231
|
-
indicator:
|
|
2339
|
+
root: q.root,
|
|
2340
|
+
control: q.control,
|
|
2341
|
+
label: q.label,
|
|
2342
|
+
indicator: q.indicator
|
|
2232
2343
|
}, a = l.classNames;
|
|
2233
2344
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
2234
2345
|
const o = a;
|
|
2235
|
-
e.root = o.root ? `${
|
|
2346
|
+
e.root = o.root ? `${q.root} ${o.root}` : q.root, e.control = o.control ? `${q.control} ${o.control}` : q.control, e.label = o.label ? `${q.label} ${o.label}` : q.label, e.indicator = o.indicator ? `${q.indicator} ${o.indicator}` : q.indicator;
|
|
2236
2347
|
}
|
|
2237
2348
|
const s = l.className;
|
|
2238
|
-
return { className: s ? `${
|
|
2349
|
+
return { className: s ? `${q.root} ${s}` : q.root, classNames: e };
|
|
2239
2350
|
}
|
|
2240
|
-
const
|
|
2351
|
+
const dt = $(
|
|
2241
2352
|
function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth: s, ...t }, o) {
|
|
2242
|
-
const n =
|
|
2243
|
-
|
|
2244
|
-
);
|
|
2353
|
+
const n = N(t, e), i = n;
|
|
2354
|
+
delete i.disabled;
|
|
2355
|
+
const c = jr(i);
|
|
2245
2356
|
return /* @__PURE__ */ r(
|
|
2246
|
-
|
|
2357
|
+
Et,
|
|
2247
2358
|
{
|
|
2248
2359
|
ref: o,
|
|
2249
|
-
className:
|
|
2250
|
-
classNames:
|
|
2360
|
+
className: c.className,
|
|
2361
|
+
classNames: c.classNames,
|
|
2251
2362
|
orientation: a,
|
|
2252
2363
|
fullWidth: s,
|
|
2253
2364
|
"data-orientation": a,
|
|
@@ -2256,47 +2367,47 @@ const it = h(
|
|
|
2256
2367
|
);
|
|
2257
2368
|
}
|
|
2258
2369
|
);
|
|
2259
|
-
|
|
2260
|
-
const
|
|
2261
|
-
root:
|
|
2262
|
-
},
|
|
2370
|
+
dt.displayName = "SegmentedControl";
|
|
2371
|
+
const ll = dt, il = (l) => /* @__PURE__ */ r("div", { ...l, children: "Slider" }), Dr = "Stack-module__root___NUN-x", xe = {
|
|
2372
|
+
root: Dr
|
|
2373
|
+
}, pt = $(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
2263
2374
|
const o = {
|
|
2264
|
-
root:
|
|
2375
|
+
root: xe.root
|
|
2265
2376
|
}, n = s.classNames;
|
|
2266
2377
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2267
2378
|
const d = n;
|
|
2268
|
-
o.root = d.root ? `${
|
|
2379
|
+
o.root = d.root ? `${xe.root} ${d.root}` : xe.root;
|
|
2269
2380
|
}
|
|
2270
|
-
const i = s.className, c = i ? `${
|
|
2381
|
+
const i = s.className, c = i ? `${xe.root} ${i}` : xe.root;
|
|
2271
2382
|
return /* @__PURE__ */ r(
|
|
2272
|
-
|
|
2383
|
+
jt,
|
|
2273
2384
|
{
|
|
2274
2385
|
ref: t,
|
|
2275
2386
|
className: c,
|
|
2276
2387
|
classNames: o,
|
|
2277
|
-
...
|
|
2388
|
+
...Ye({ gap: a, ...s }),
|
|
2278
2389
|
children: e
|
|
2279
2390
|
}
|
|
2280
2391
|
);
|
|
2281
2392
|
});
|
|
2282
|
-
|
|
2283
|
-
const
|
|
2284
|
-
root:
|
|
2285
|
-
horizontal:
|
|
2286
|
-
steps:
|
|
2287
|
-
step:
|
|
2288
|
-
stepBody:
|
|
2289
|
-
stepLabel:
|
|
2290
|
-
stepDescription:
|
|
2291
|
-
separator:
|
|
2292
|
-
vertical:
|
|
2293
|
-
large:
|
|
2294
|
-
small:
|
|
2295
|
-
stepIcon:
|
|
2296
|
-
stepCompletedIcon:
|
|
2297
|
-
verticalSeparator:
|
|
2298
|
-
content:
|
|
2299
|
-
},
|
|
2393
|
+
pt.displayName = "Stack";
|
|
2394
|
+
const cl = X(pt), Vr = "Stepper-module__root___jbSYO", Gr = "Stepper-module__horizontal___USHT1", qr = "Stepper-module__steps___4HPO6", Hr = "Stepper-module__step___s2nqL", Ur = "Stepper-module__stepBody___TBvys", Zr = "Stepper-module__stepLabel___N6nuy", Yr = "Stepper-module__stepDescription___DnDAy", Kr = "Stepper-module__separator___pU0No", Qr = "Stepper-module__vertical___d4mOs", Xr = "Stepper-module__large___J18-y", Jr = "Stepper-module__small___Ub-zb", en = "Stepper-module__stepIcon___YQHNq", on = "Stepper-module__stepCompletedIcon___B9MeL", tn = "Stepper-module__verticalSeparator___frWc1", sn = "Stepper-module__content___J-h8X", G = {
|
|
2395
|
+
root: Vr,
|
|
2396
|
+
horizontal: Gr,
|
|
2397
|
+
steps: qr,
|
|
2398
|
+
step: Hr,
|
|
2399
|
+
stepBody: Ur,
|
|
2400
|
+
stepLabel: Zr,
|
|
2401
|
+
stepDescription: Yr,
|
|
2402
|
+
separator: Kr,
|
|
2403
|
+
vertical: Qr,
|
|
2404
|
+
large: Xr,
|
|
2405
|
+
small: Jr,
|
|
2406
|
+
stepIcon: en,
|
|
2407
|
+
stepCompletedIcon: on,
|
|
2408
|
+
verticalSeparator: tn,
|
|
2409
|
+
content: sn
|
|
2410
|
+
}, _t = $(
|
|
2300
2411
|
function(e, a) {
|
|
2301
2412
|
const {
|
|
2302
2413
|
overStyled: s = !1,
|
|
@@ -2305,49 +2416,49 @@ const Zn = Y(ct), Wr = "Stepper-module__root___jbSYO", Lr = "Stepper-module__hor
|
|
|
2305
2416
|
className: n,
|
|
2306
2417
|
style: i,
|
|
2307
2418
|
...c
|
|
2308
|
-
} = e, d =
|
|
2419
|
+
} = e, d = N(c, s);
|
|
2309
2420
|
return /* @__PURE__ */ r(
|
|
2310
|
-
|
|
2421
|
+
Ve,
|
|
2311
2422
|
{
|
|
2312
2423
|
ref: a,
|
|
2313
2424
|
orientation: o,
|
|
2314
|
-
className: `${
|
|
2425
|
+
className: `${G.root} ${o === "horizontal" ? G.horizontal : G.vertical} ${t === "large" ? G.large : G.small} ${n || ""}`,
|
|
2315
2426
|
style: i,
|
|
2316
2427
|
"data-size": t,
|
|
2317
2428
|
"data-orientation": o,
|
|
2318
2429
|
classNames: {
|
|
2319
|
-
steps:
|
|
2320
|
-
step:
|
|
2321
|
-
stepIcon:
|
|
2322
|
-
stepCompletedIcon:
|
|
2323
|
-
stepBody:
|
|
2324
|
-
stepLabel:
|
|
2325
|
-
stepDescription:
|
|
2326
|
-
separator:
|
|
2327
|
-
verticalSeparator:
|
|
2328
|
-
content:
|
|
2430
|
+
steps: G.steps,
|
|
2431
|
+
step: G.step,
|
|
2432
|
+
stepIcon: G.stepIcon,
|
|
2433
|
+
stepCompletedIcon: G.stepCompletedIcon,
|
|
2434
|
+
stepBody: G.stepBody,
|
|
2435
|
+
stepLabel: G.stepLabel,
|
|
2436
|
+
stepDescription: G.stepDescription,
|
|
2437
|
+
separator: G.separator,
|
|
2438
|
+
verticalSeparator: G.verticalSeparator,
|
|
2439
|
+
content: G.content
|
|
2329
2440
|
},
|
|
2330
2441
|
...d
|
|
2331
2442
|
}
|
|
2332
2443
|
);
|
|
2333
2444
|
}
|
|
2334
|
-
),
|
|
2335
|
-
Step:
|
|
2336
|
-
Completed:
|
|
2445
|
+
), dl = Object.assign(_t, {
|
|
2446
|
+
Step: Ve.Step,
|
|
2447
|
+
Completed: Ve.Completed
|
|
2337
2448
|
});
|
|
2338
|
-
|
|
2339
|
-
const
|
|
2340
|
-
root:
|
|
2341
|
-
body:
|
|
2342
|
-
track:
|
|
2343
|
-
thumb:
|
|
2344
|
-
labelWrapper:
|
|
2345
|
-
label:
|
|
2346
|
-
thumbIconWrapper:
|
|
2347
|
-
checkIcon:
|
|
2348
|
-
closeIcon:
|
|
2349
|
-
groupRoot:
|
|
2350
|
-
},
|
|
2449
|
+
_t.displayName = "Stepper";
|
|
2450
|
+
const an = "Switch-module__root___Y5Ydi", rn = "Switch-module__body___Sw9Wr", nn = "Switch-module__track___7ObdZ", ln = "Switch-module__thumb___-FTeK", cn = "Switch-module__labelWrapper___YSOwx", dn = "Switch-module__label___LrH7V", pn = "Switch-module__thumbIconWrapper___sCY-1", _n = "Switch-module__checkIcon___ZBAQN", mn = "Switch-module__closeIcon___bLLGw", un = "Switch-module__groupRoot___-Uepi", L = {
|
|
2451
|
+
root: an,
|
|
2452
|
+
body: rn,
|
|
2453
|
+
track: nn,
|
|
2454
|
+
thumb: ln,
|
|
2455
|
+
labelWrapper: cn,
|
|
2456
|
+
label: dn,
|
|
2457
|
+
thumbIconWrapper: pn,
|
|
2458
|
+
checkIcon: _n,
|
|
2459
|
+
closeIcon: mn,
|
|
2460
|
+
groupRoot: un
|
|
2461
|
+
}, mt = $(
|
|
2351
2462
|
function(e, a) {
|
|
2352
2463
|
const {
|
|
2353
2464
|
overStyled: s = !1,
|
|
@@ -2360,29 +2471,29 @@ const qr = "Switch-module__root___Y5Ydi", Hr = "Switch-module__body___Sw9Wr", Ur
|
|
|
2360
2471
|
onLabelEditClick: d,
|
|
2361
2472
|
// Base Mantine Extracted Attributes
|
|
2362
2473
|
label: p,
|
|
2363
|
-
description:
|
|
2364
|
-
assistiveText:
|
|
2474
|
+
description: _,
|
|
2475
|
+
assistiveText: f,
|
|
2365
2476
|
assistiveWithIcon: u,
|
|
2366
|
-
error:
|
|
2477
|
+
error: m,
|
|
2367
2478
|
required: y,
|
|
2368
2479
|
withAsterisk: C,
|
|
2369
|
-
id:
|
|
2370
|
-
className:
|
|
2480
|
+
id: h,
|
|
2481
|
+
className: w,
|
|
2371
2482
|
style: b,
|
|
2372
|
-
children:
|
|
2483
|
+
children: x,
|
|
2373
2484
|
readOnly: v,
|
|
2374
|
-
readOnlyComponent:
|
|
2375
|
-
emptyValueComponent:
|
|
2376
|
-
value:
|
|
2377
|
-
defaultValue:
|
|
2378
|
-
...
|
|
2379
|
-
} = e,
|
|
2380
|
-
return delete
|
|
2381
|
-
|
|
2485
|
+
readOnlyComponent: I,
|
|
2486
|
+
emptyValueComponent: A,
|
|
2487
|
+
value: T,
|
|
2488
|
+
defaultValue: W,
|
|
2489
|
+
...O
|
|
2490
|
+
} = e, P = N(O, s), g = P;
|
|
2491
|
+
return delete g.size, /* @__PURE__ */ r(
|
|
2492
|
+
ne,
|
|
2382
2493
|
{
|
|
2383
|
-
className:
|
|
2494
|
+
className: w,
|
|
2384
2495
|
style: b,
|
|
2385
|
-
controlMaxWidth: "var(--recursica_ui-
|
|
2496
|
+
controlMaxWidth: "var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",
|
|
2386
2497
|
controlMinWidth: void 0,
|
|
2387
2498
|
overStyled: s,
|
|
2388
2499
|
labelElement: "div",
|
|
@@ -2393,38 +2504,36 @@ const qr = "Switch-module__root___Y5Ydi", Hr = "Switch-module__body___Sw9Wr", Ur
|
|
|
2393
2504
|
labelWithEditIcon: c,
|
|
2394
2505
|
onLabelEditClick: d,
|
|
2395
2506
|
label: p,
|
|
2396
|
-
description:
|
|
2397
|
-
assistiveText:
|
|
2507
|
+
description: _,
|
|
2508
|
+
assistiveText: f,
|
|
2398
2509
|
assistiveWithIcon: u,
|
|
2399
|
-
error:
|
|
2510
|
+
error: m,
|
|
2400
2511
|
required: y,
|
|
2401
2512
|
withAsterisk: C,
|
|
2402
|
-
id:
|
|
2403
|
-
readOnly: v && !!
|
|
2404
|
-
readOnlyComponent:
|
|
2405
|
-
emptyValueComponent:
|
|
2513
|
+
id: h,
|
|
2514
|
+
readOnly: v && !!I,
|
|
2515
|
+
readOnlyComponent: I,
|
|
2516
|
+
emptyValueComponent: A,
|
|
2406
2517
|
readOnlyType: "text",
|
|
2407
|
-
readOnlyValue:
|
|
2518
|
+
readOnlyValue: T !== void 0 ? T : W,
|
|
2408
2519
|
readOnlyNativeProps: e,
|
|
2409
2520
|
activeComponent: /* @__PURE__ */ r(
|
|
2410
|
-
|
|
2521
|
+
co.Group,
|
|
2411
2522
|
{
|
|
2412
2523
|
ref: a,
|
|
2413
|
-
...
|
|
2414
|
-
disabled: v ||
|
|
2415
|
-
value:
|
|
2416
|
-
defaultValue:
|
|
2417
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
2418
|
-
disabled: v || g.props.disabled
|
|
2419
|
-
}) : g) })
|
|
2524
|
+
...P,
|
|
2525
|
+
disabled: v || g.disabled,
|
|
2526
|
+
value: T,
|
|
2527
|
+
defaultValue: W,
|
|
2528
|
+
children: /* @__PURE__ */ r("div", { className: L.groupRoot, "data-layout": t, children: x })
|
|
2420
2529
|
}
|
|
2421
2530
|
)
|
|
2422
2531
|
}
|
|
2423
2532
|
);
|
|
2424
2533
|
}
|
|
2425
2534
|
);
|
|
2426
|
-
|
|
2427
|
-
const
|
|
2535
|
+
mt.displayName = "SwitchGroup";
|
|
2536
|
+
const ut = $(
|
|
2428
2537
|
function(e, a) {
|
|
2429
2538
|
const {
|
|
2430
2539
|
overStyled: s = !1,
|
|
@@ -2435,151 +2544,152 @@ const mt = h(
|
|
|
2435
2544
|
formLayout: c,
|
|
2436
2545
|
labelSize: d,
|
|
2437
2546
|
controlMaxWidth: p,
|
|
2438
|
-
controlMinWidth:
|
|
2439
|
-
...
|
|
2440
|
-
} = e, u = f
|
|
2441
|
-
delete
|
|
2547
|
+
controlMinWidth: _,
|
|
2548
|
+
...f
|
|
2549
|
+
} = e, u = N(f, s), m = u;
|
|
2550
|
+
delete m.size, delete m.color, delete m.radius, delete m.variant;
|
|
2442
2551
|
const y = {
|
|
2443
|
-
root:
|
|
2444
|
-
body:
|
|
2445
|
-
track:
|
|
2446
|
-
thumb:
|
|
2447
|
-
trackLabel:
|
|
2448
|
-
labelWrapper:
|
|
2449
|
-
label:
|
|
2450
|
-
}, C =
|
|
2552
|
+
root: L.root,
|
|
2553
|
+
body: L.body,
|
|
2554
|
+
track: L.track,
|
|
2555
|
+
thumb: L.thumb,
|
|
2556
|
+
trackLabel: L.trackLabel,
|
|
2557
|
+
labelWrapper: L.labelWrapper,
|
|
2558
|
+
label: L.label
|
|
2559
|
+
}, C = m.classNames;
|
|
2451
2560
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
2452
2561
|
const v = C;
|
|
2453
|
-
y.root = v.root ? `${
|
|
2562
|
+
y.root = v.root ? `${L.root} ${v.root}` : L.root, y.body = v.body ? `${L.body} ${v.body}` : L.body, y.track = v.track ? `${L.track} ${v.track}` : L.track, y.thumb = v.thumb ? `${L.thumb} ${v.thumb}` : L.thumb, y.trackLabel = v.trackLabel ? `${L.trackLabel} ${v.trackLabel}` : L.trackLabel, y.labelWrapper = v.labelWrapper ? `${L.labelWrapper} ${v.labelWrapper}` : L.labelWrapper, y.label = v.label ? `${L.label} ${v.label}` : L.label;
|
|
2454
2563
|
}
|
|
2455
|
-
const
|
|
2564
|
+
const h = m.className, w = h ? `${L.root} ${h}` : L.root;
|
|
2456
2565
|
if (t && o) {
|
|
2457
|
-
const v = !!(
|
|
2566
|
+
const v = !!(m.checked ?? m.defaultChecked), A = /* @__PURE__ */ r(
|
|
2458
2567
|
o,
|
|
2459
2568
|
{
|
|
2460
2569
|
...e,
|
|
2461
2570
|
checked: v,
|
|
2462
|
-
label:
|
|
2571
|
+
label: m.label
|
|
2463
2572
|
}
|
|
2464
2573
|
);
|
|
2465
2574
|
return c ? /* @__PURE__ */ r(
|
|
2466
|
-
|
|
2575
|
+
me,
|
|
2467
2576
|
{
|
|
2468
2577
|
formLayout: c,
|
|
2469
2578
|
labelSize: d,
|
|
2470
2579
|
controlMaxWidth: p,
|
|
2471
|
-
controlMinWidth:
|
|
2472
|
-
children:
|
|
2580
|
+
controlMinWidth: _,
|
|
2581
|
+
children: A
|
|
2473
2582
|
}
|
|
2474
|
-
) : /* @__PURE__ */ r(
|
|
2583
|
+
) : /* @__PURE__ */ r(ve, { children: A });
|
|
2475
2584
|
}
|
|
2476
|
-
const b = /* @__PURE__ */ R("div", { className:
|
|
2477
|
-
/* @__PURE__ */ r(
|
|
2478
|
-
/* @__PURE__ */ r(
|
|
2479
|
-
] }),
|
|
2480
|
-
|
|
2585
|
+
const b = /* @__PURE__ */ R("div", { className: L.thumbIconWrapper, children: [
|
|
2586
|
+
/* @__PURE__ */ r(Dt, { className: L.checkIcon }),
|
|
2587
|
+
/* @__PURE__ */ r(Vt, { className: L.closeIcon })
|
|
2588
|
+
] }), x = /* @__PURE__ */ r(
|
|
2589
|
+
co,
|
|
2481
2590
|
{
|
|
2482
2591
|
ref: a,
|
|
2483
|
-
className:
|
|
2592
|
+
className: w,
|
|
2484
2593
|
classNames: y,
|
|
2485
2594
|
disabled: t || n,
|
|
2595
|
+
"data-disabled": t || n || void 0,
|
|
2486
2596
|
thumbIcon: i ?? b,
|
|
2487
2597
|
...u
|
|
2488
2598
|
}
|
|
2489
2599
|
);
|
|
2490
2600
|
return c ? /* @__PURE__ */ r(
|
|
2491
|
-
|
|
2601
|
+
me,
|
|
2492
2602
|
{
|
|
2493
2603
|
formLayout: c,
|
|
2494
2604
|
labelSize: d,
|
|
2495
2605
|
controlMaxWidth: p,
|
|
2496
|
-
controlMinWidth:
|
|
2497
|
-
children:
|
|
2606
|
+
controlMinWidth: _,
|
|
2607
|
+
children: x
|
|
2498
2608
|
}
|
|
2499
|
-
) :
|
|
2609
|
+
) : x;
|
|
2500
2610
|
}
|
|
2501
2611
|
);
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
const
|
|
2505
|
-
root:
|
|
2506
|
-
list:
|
|
2507
|
-
tab:
|
|
2508
|
-
panel:
|
|
2509
|
-
},
|
|
2612
|
+
ut.displayName = "Switch";
|
|
2613
|
+
ut.Group = mt;
|
|
2614
|
+
const pl = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), bn = "Tabs-module__root___-VKVI", yn = "Tabs-module__list___qRVME", fn = "Tabs-module__tab___IdDYc", Nn = "Tabs-module__panel___08i9c", Le = {
|
|
2615
|
+
root: bn,
|
|
2616
|
+
list: yn,
|
|
2617
|
+
tab: fn,
|
|
2618
|
+
panel: Nn
|
|
2619
|
+
}, bt = $(function(e, a) {
|
|
2510
2620
|
const {
|
|
2511
2621
|
variant: s = "default",
|
|
2512
2622
|
orientation: t = "horizontal",
|
|
2513
2623
|
overStyled: o = !1,
|
|
2514
2624
|
className: n,
|
|
2515
2625
|
...i
|
|
2516
|
-
} = e, c =
|
|
2626
|
+
} = e, c = N(i, o);
|
|
2517
2627
|
return /* @__PURE__ */ r(
|
|
2518
|
-
|
|
2628
|
+
Be,
|
|
2519
2629
|
{
|
|
2520
2630
|
ref: a,
|
|
2521
2631
|
variant: s,
|
|
2522
2632
|
orientation: t,
|
|
2523
|
-
className: `${
|
|
2633
|
+
className: `${Le.root} ${n || ""}`,
|
|
2524
2634
|
"data-variant": s,
|
|
2525
2635
|
"data-orientation": t,
|
|
2526
2636
|
classNames: {
|
|
2527
|
-
list:
|
|
2528
|
-
tab:
|
|
2529
|
-
panel:
|
|
2637
|
+
list: Le.list,
|
|
2638
|
+
tab: Le.tab,
|
|
2639
|
+
panel: Le.panel
|
|
2530
2640
|
},
|
|
2531
2641
|
...c
|
|
2532
2642
|
}
|
|
2533
2643
|
);
|
|
2534
2644
|
});
|
|
2535
|
-
|
|
2536
|
-
const
|
|
2645
|
+
bt.displayName = "Tabs";
|
|
2646
|
+
const yt = $(
|
|
2537
2647
|
function(e, a) {
|
|
2538
2648
|
const { overStyled: s = !1, ...t } = e;
|
|
2539
2649
|
return /* @__PURE__ */ r(
|
|
2540
|
-
|
|
2650
|
+
Be.List,
|
|
2541
2651
|
{
|
|
2542
2652
|
ref: a,
|
|
2543
|
-
...
|
|
2653
|
+
...N(t, s)
|
|
2544
2654
|
}
|
|
2545
2655
|
);
|
|
2546
2656
|
}
|
|
2547
2657
|
);
|
|
2548
|
-
|
|
2549
|
-
const
|
|
2658
|
+
yt.displayName = "Tabs.List";
|
|
2659
|
+
const ft = $(
|
|
2550
2660
|
function(e, a) {
|
|
2551
2661
|
const { overStyled: s = !1, ...t } = e;
|
|
2552
2662
|
return /* @__PURE__ */ r(
|
|
2553
|
-
|
|
2663
|
+
Be.Tab,
|
|
2554
2664
|
{
|
|
2555
2665
|
ref: a,
|
|
2556
|
-
...
|
|
2666
|
+
...N(t, s)
|
|
2557
2667
|
}
|
|
2558
2668
|
);
|
|
2559
2669
|
}
|
|
2560
2670
|
);
|
|
2561
|
-
|
|
2562
|
-
const
|
|
2671
|
+
ft.displayName = "Tabs.Tab";
|
|
2672
|
+
const Nt = $(
|
|
2563
2673
|
function(e, a) {
|
|
2564
2674
|
const { overStyled: s = !1, ...t } = e;
|
|
2565
2675
|
return /* @__PURE__ */ r(
|
|
2566
|
-
|
|
2676
|
+
Be.Panel,
|
|
2567
2677
|
{
|
|
2568
2678
|
ref: a,
|
|
2569
|
-
...
|
|
2679
|
+
...N(t, s)
|
|
2570
2680
|
}
|
|
2571
2681
|
);
|
|
2572
2682
|
}
|
|
2573
2683
|
);
|
|
2574
|
-
|
|
2575
|
-
const
|
|
2576
|
-
List:
|
|
2577
|
-
Tab:
|
|
2578
|
-
Panel:
|
|
2579
|
-
}),
|
|
2580
|
-
const o =
|
|
2684
|
+
Nt.displayName = "Tabs.Panel";
|
|
2685
|
+
const _l = Object.assign(bt, {
|
|
2686
|
+
List: yt,
|
|
2687
|
+
Tab: ft,
|
|
2688
|
+
Panel: Nt
|
|
2689
|
+
}), ht = $(function({ overStyled: e = !1, variant: a = "body", ...s }, t) {
|
|
2690
|
+
const o = N(s, e), n = o.className, i = `recursica_brand_typography_${a}`, c = n ? `${i} ${n}` : i;
|
|
2581
2691
|
return /* @__PURE__ */ r(
|
|
2582
|
-
|
|
2692
|
+
Gt,
|
|
2583
2693
|
{
|
|
2584
2694
|
ref: t,
|
|
2585
2695
|
className: c,
|
|
@@ -2587,11 +2697,12 @@ const Qn = Object.assign(_t, {
|
|
|
2587
2697
|
}
|
|
2588
2698
|
);
|
|
2589
2699
|
});
|
|
2590
|
-
|
|
2591
|
-
const
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2700
|
+
ht.displayName = "Text";
|
|
2701
|
+
const ml = X(ht), hn = "TextArea-module__layoutOverride___4MCdm", $n = "TextArea-module__root___3dyeu", vn = "TextArea-module__input___8l36v", de = {
|
|
2702
|
+
layoutOverride: hn,
|
|
2703
|
+
root: $n,
|
|
2704
|
+
input: vn
|
|
2705
|
+
}, Cn = $(
|
|
2595
2706
|
function(e, a) {
|
|
2596
2707
|
const {
|
|
2597
2708
|
overStyled: s = !1,
|
|
@@ -2603,39 +2714,40 @@ const Xn = Y(ft), rn = "TextArea-module__root___3dyeu", nn = "TextArea-module__i
|
|
|
2603
2714
|
labelWithEditIcon: c,
|
|
2604
2715
|
onLabelEditClick: d,
|
|
2605
2716
|
label: p,
|
|
2606
|
-
assistiveText:
|
|
2607
|
-
assistiveWithIcon:
|
|
2717
|
+
assistiveText: _,
|
|
2718
|
+
assistiveWithIcon: f,
|
|
2608
2719
|
error: u,
|
|
2609
|
-
required:
|
|
2720
|
+
required: m,
|
|
2610
2721
|
withAsterisk: y,
|
|
2611
2722
|
id: C,
|
|
2612
|
-
className:
|
|
2613
|
-
style:
|
|
2723
|
+
className: h,
|
|
2724
|
+
style: w,
|
|
2614
2725
|
disabled: b,
|
|
2615
|
-
readOnly:
|
|
2726
|
+
readOnly: x,
|
|
2616
2727
|
readOnlyComponent: v,
|
|
2617
|
-
emptyValueComponent:
|
|
2618
|
-
value:
|
|
2619
|
-
defaultValue:
|
|
2620
|
-
...
|
|
2621
|
-
} = e,
|
|
2622
|
-
delete
|
|
2623
|
-
const
|
|
2624
|
-
wrapper:
|
|
2728
|
+
emptyValueComponent: I,
|
|
2729
|
+
value: A,
|
|
2730
|
+
defaultValue: T,
|
|
2731
|
+
...W
|
|
2732
|
+
} = e, O = N(W, s), P = O;
|
|
2733
|
+
delete P.size, delete P.variant, delete P.radius;
|
|
2734
|
+
const g = {
|
|
2735
|
+
wrapper: de.root,
|
|
2625
2736
|
// The nested Input internal relative wrapper bounding box
|
|
2626
|
-
input:
|
|
2627
|
-
},
|
|
2628
|
-
if (
|
|
2629
|
-
const
|
|
2630
|
-
|
|
2737
|
+
input: de.input
|
|
2738
|
+
}, M = P.classNames;
|
|
2739
|
+
if (M && typeof M == "object" && !Array.isArray(M)) {
|
|
2740
|
+
const S = M;
|
|
2741
|
+
g.wrapper = S.wrapper ? `${de.root} ${S.wrapper}` : de.root, g.input = S.input ? `${de.input} ${S.input}` : de.input;
|
|
2631
2742
|
}
|
|
2743
|
+
const B = h ? `${de.layoutOverride} ${h}` : de.layoutOverride;
|
|
2632
2744
|
return /* @__PURE__ */ r(
|
|
2633
|
-
|
|
2745
|
+
ne,
|
|
2634
2746
|
{
|
|
2635
|
-
className:
|
|
2636
|
-
style:
|
|
2637
|
-
controlMaxWidth: "var(--recursica_ui-
|
|
2638
|
-
controlMinWidth: "var(--recursica_ui-
|
|
2747
|
+
className: B,
|
|
2748
|
+
style: w,
|
|
2749
|
+
controlMaxWidth: "var(--recursica_ui-kit_components_textarea_properties_max-width)",
|
|
2750
|
+
controlMinWidth: "var(--recursica_ui-kit_components_textarea_properties_min-width)",
|
|
2639
2751
|
overStyled: s,
|
|
2640
2752
|
formLayout: t,
|
|
2641
2753
|
labelSize: o,
|
|
@@ -2644,28 +2756,28 @@ const Xn = Y(ft), rn = "TextArea-module__root___3dyeu", nn = "TextArea-module__i
|
|
|
2644
2756
|
labelWithEditIcon: c,
|
|
2645
2757
|
onLabelEditClick: d,
|
|
2646
2758
|
label: p,
|
|
2647
|
-
assistiveText:
|
|
2648
|
-
assistiveWithIcon:
|
|
2759
|
+
assistiveText: _,
|
|
2760
|
+
assistiveWithIcon: f,
|
|
2649
2761
|
error: u,
|
|
2650
|
-
required:
|
|
2762
|
+
required: m,
|
|
2651
2763
|
withAsterisk: y,
|
|
2652
2764
|
id: C,
|
|
2653
|
-
readOnly:
|
|
2765
|
+
readOnly: x,
|
|
2654
2766
|
readOnlyComponent: v,
|
|
2655
|
-
emptyValueComponent:
|
|
2767
|
+
emptyValueComponent: I,
|
|
2656
2768
|
readOnlyType: "text",
|
|
2657
|
-
readOnlyValue:
|
|
2769
|
+
readOnlyValue: A !== void 0 ? A : T,
|
|
2658
2770
|
readOnlyNativeProps: e,
|
|
2659
2771
|
activeComponent: (
|
|
2660
2772
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2661
2773
|
/* @__PURE__ */ r(
|
|
2662
|
-
|
|
2774
|
+
qt,
|
|
2663
2775
|
{
|
|
2664
2776
|
ref: a,
|
|
2665
|
-
classNames:
|
|
2777
|
+
classNames: g,
|
|
2666
2778
|
disabled: b,
|
|
2667
|
-
value:
|
|
2668
|
-
defaultValue:
|
|
2779
|
+
value: A,
|
|
2780
|
+
defaultValue: T,
|
|
2669
2781
|
label: void 0,
|
|
2670
2782
|
description: void 0,
|
|
2671
2783
|
error: void 0,
|
|
@@ -2675,7 +2787,7 @@ const Xn = Y(ft), rn = "TextArea-module__root___3dyeu", nn = "TextArea-module__i
|
|
|
2675
2787
|
"data-disabled": b ? "true" : void 0,
|
|
2676
2788
|
"data-error": u ? "true" : void 0
|
|
2677
2789
|
},
|
|
2678
|
-
...
|
|
2790
|
+
...O
|
|
2679
2791
|
}
|
|
2680
2792
|
)
|
|
2681
2793
|
)
|
|
@@ -2683,12 +2795,13 @@ const Xn = Y(ft), rn = "TextArea-module__root___3dyeu", nn = "TextArea-module__i
|
|
|
2683
2795
|
);
|
|
2684
2796
|
}
|
|
2685
2797
|
);
|
|
2686
|
-
|
|
2687
|
-
const
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2798
|
+
Cn.displayName = "TextArea";
|
|
2799
|
+
const wn = "TextField-module__layoutOverride___SNZqc", Pn = "TextField-module__root___2ZYkG", gn = "TextField-module__input___RL-My", Tn = "TextField-module__section___bCIJ0", Q = {
|
|
2800
|
+
layoutOverride: wn,
|
|
2801
|
+
root: Pn,
|
|
2802
|
+
input: gn,
|
|
2803
|
+
section: Tn
|
|
2804
|
+
}, xn = $(
|
|
2692
2805
|
function(e, a) {
|
|
2693
2806
|
const {
|
|
2694
2807
|
overStyled: s = !1,
|
|
@@ -2700,38 +2813,39 @@ const cn = "TextField-module__root___2ZYkG", dn = "TextField-module__input___RL-
|
|
|
2700
2813
|
labelWithEditIcon: c,
|
|
2701
2814
|
onLabelEditClick: d,
|
|
2702
2815
|
label: p,
|
|
2703
|
-
assistiveText:
|
|
2704
|
-
assistiveWithIcon:
|
|
2816
|
+
assistiveText: _,
|
|
2817
|
+
assistiveWithIcon: f,
|
|
2705
2818
|
error: u,
|
|
2706
|
-
required:
|
|
2819
|
+
required: m,
|
|
2707
2820
|
withAsterisk: y,
|
|
2708
2821
|
id: C,
|
|
2709
|
-
className:
|
|
2710
|
-
style:
|
|
2822
|
+
className: h,
|
|
2823
|
+
style: w,
|
|
2711
2824
|
disabled: b,
|
|
2712
|
-
readOnly:
|
|
2825
|
+
readOnly: x,
|
|
2713
2826
|
readOnlyComponent: v,
|
|
2714
|
-
emptyValueComponent:
|
|
2715
|
-
value:
|
|
2716
|
-
defaultValue:
|
|
2717
|
-
...
|
|
2718
|
-
} = e,
|
|
2719
|
-
delete
|
|
2720
|
-
const
|
|
2721
|
-
wrapper:
|
|
2827
|
+
emptyValueComponent: I,
|
|
2828
|
+
value: A,
|
|
2829
|
+
defaultValue: T,
|
|
2830
|
+
...W
|
|
2831
|
+
} = e, O = N(W, s), P = O;
|
|
2832
|
+
delete P.size, delete P.variant, delete P.radius;
|
|
2833
|
+
const g = {
|
|
2834
|
+
wrapper: Q.root,
|
|
2722
2835
|
// The nested Input internal relative wrapper bounding box
|
|
2723
|
-
input:
|
|
2724
|
-
section:
|
|
2725
|
-
},
|
|
2726
|
-
if (
|
|
2727
|
-
const
|
|
2728
|
-
|
|
2836
|
+
input: Q.input,
|
|
2837
|
+
section: Q.section
|
|
2838
|
+
}, M = P.classNames;
|
|
2839
|
+
if (M && typeof M == "object" && !Array.isArray(M)) {
|
|
2840
|
+
const S = M;
|
|
2841
|
+
g.wrapper = S.wrapper ? `${Q.root} ${S.wrapper}` : Q.root, g.input = S.input ? `${Q.input} ${S.input}` : Q.input, g.section = S.section ? `${Q.section} ${S.section}` : Q.section;
|
|
2729
2842
|
}
|
|
2843
|
+
const B = h ? `${Q.layoutOverride} ${h}` : Q.layoutOverride;
|
|
2730
2844
|
return /* @__PURE__ */ r(
|
|
2731
|
-
|
|
2845
|
+
ne,
|
|
2732
2846
|
{
|
|
2733
|
-
className:
|
|
2734
|
-
style:
|
|
2847
|
+
className: B,
|
|
2848
|
+
style: w,
|
|
2735
2849
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2736
2850
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2737
2851
|
overStyled: s,
|
|
@@ -2742,33 +2856,33 @@ const cn = "TextField-module__root___2ZYkG", dn = "TextField-module__input___RL-
|
|
|
2742
2856
|
labelWithEditIcon: c,
|
|
2743
2857
|
onLabelEditClick: d,
|
|
2744
2858
|
label: p,
|
|
2745
|
-
assistiveText:
|
|
2746
|
-
assistiveWithIcon:
|
|
2859
|
+
assistiveText: _,
|
|
2860
|
+
assistiveWithIcon: f,
|
|
2747
2861
|
error: u,
|
|
2748
|
-
required:
|
|
2862
|
+
required: m,
|
|
2749
2863
|
withAsterisk: y,
|
|
2750
2864
|
id: C,
|
|
2751
|
-
readOnly:
|
|
2865
|
+
readOnly: x,
|
|
2752
2866
|
readOnlyComponent: v,
|
|
2753
|
-
emptyValueComponent:
|
|
2867
|
+
emptyValueComponent: I,
|
|
2754
2868
|
readOnlyType: "text",
|
|
2755
|
-
readOnlyValue:
|
|
2869
|
+
readOnlyValue: A !== void 0 ? A : T,
|
|
2756
2870
|
readOnlyNativeProps: e,
|
|
2757
2871
|
activeComponent: (
|
|
2758
2872
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2759
2873
|
/* @__PURE__ */ r(
|
|
2760
|
-
|
|
2874
|
+
no,
|
|
2761
2875
|
{
|
|
2762
2876
|
ref: a,
|
|
2763
|
-
classNames:
|
|
2877
|
+
classNames: g,
|
|
2764
2878
|
disabled: b,
|
|
2765
|
-
value:
|
|
2766
|
-
defaultValue:
|
|
2879
|
+
value: A,
|
|
2880
|
+
defaultValue: T,
|
|
2767
2881
|
wrapperProps: {
|
|
2768
2882
|
"data-disabled": b ? "true" : void 0,
|
|
2769
2883
|
"data-error": u ? "true" : void 0
|
|
2770
2884
|
},
|
|
2771
|
-
...
|
|
2885
|
+
...O
|
|
2772
2886
|
}
|
|
2773
2887
|
)
|
|
2774
2888
|
)
|
|
@@ -2776,17 +2890,17 @@ const cn = "TextField-module__root___2ZYkG", dn = "TextField-module__input___RL-
|
|
|
2776
2890
|
);
|
|
2777
2891
|
}
|
|
2778
2892
|
);
|
|
2779
|
-
|
|
2780
|
-
const
|
|
2781
|
-
root:
|
|
2782
|
-
item:
|
|
2783
|
-
itemBody:
|
|
2784
|
-
itemBullet:
|
|
2785
|
-
itemTitle:
|
|
2786
|
-
itemContent:
|
|
2787
|
-
description:
|
|
2788
|
-
timestamp:
|
|
2789
|
-
},
|
|
2893
|
+
xn.displayName = "TextField";
|
|
2894
|
+
const ul = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), An = "Timeline-module__root___LwRdZ", Sn = "Timeline-module__item___T5xdQ", Wn = "Timeline-module__itemBody___XAV-E", Ln = "Timeline-module__itemBullet___rPXCy", On = "Timeline-module__itemTitle___GgRRW", In = "Timeline-module__itemContent___vurs-", zn = "Timeline-module__description___f9sxV", kn = "Timeline-module__timestamp___owiRu", pe = {
|
|
2895
|
+
root: An,
|
|
2896
|
+
item: Sn,
|
|
2897
|
+
itemBody: Wn,
|
|
2898
|
+
itemBullet: Ln,
|
|
2899
|
+
itemTitle: On,
|
|
2900
|
+
itemContent: In,
|
|
2901
|
+
description: zn,
|
|
2902
|
+
timestamp: kn
|
|
2903
|
+
}, $t = j.forwardRef(
|
|
2790
2904
|
function({
|
|
2791
2905
|
overStyled: e = !1,
|
|
2792
2906
|
timestamp: a,
|
|
@@ -2794,25 +2908,25 @@ const Jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), _n
|
|
|
2794
2908
|
children: t,
|
|
2795
2909
|
...o
|
|
2796
2910
|
}, n) {
|
|
2797
|
-
const i =
|
|
2798
|
-
item:
|
|
2799
|
-
itemBody:
|
|
2800
|
-
itemContent:
|
|
2801
|
-
itemBullet:
|
|
2802
|
-
itemTitle:
|
|
2911
|
+
const i = N(o, e), c = {
|
|
2912
|
+
item: pe.item,
|
|
2913
|
+
itemBody: pe.itemBody,
|
|
2914
|
+
itemContent: pe.itemContent,
|
|
2915
|
+
itemBullet: pe.itemBullet,
|
|
2916
|
+
itemTitle: pe.itemTitle
|
|
2803
2917
|
}, d = i.classNames;
|
|
2804
2918
|
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
2805
|
-
const
|
|
2806
|
-
Object.keys(
|
|
2807
|
-
c[
|
|
2919
|
+
const _ = d;
|
|
2920
|
+
Object.keys(_).forEach((f) => {
|
|
2921
|
+
c[f] ? c[f] = `${c[f]} ${_[f]}` : c[f] = _[f];
|
|
2808
2922
|
});
|
|
2809
2923
|
}
|
|
2810
|
-
const p = a ? /* @__PURE__ */ R(
|
|
2811
|
-
t && /* @__PURE__ */ r("div", { className:
|
|
2812
|
-
/* @__PURE__ */ r("div", { className:
|
|
2924
|
+
const p = a ? /* @__PURE__ */ R(ve, { children: [
|
|
2925
|
+
t && /* @__PURE__ */ r("div", { className: pe.description, children: t }),
|
|
2926
|
+
/* @__PURE__ */ r("div", { className: pe.timestamp, children: a })
|
|
2813
2927
|
] }) : t;
|
|
2814
2928
|
return /* @__PURE__ */ r(
|
|
2815
|
-
|
|
2929
|
+
Ht,
|
|
2816
2930
|
{
|
|
2817
2931
|
ref: n,
|
|
2818
2932
|
classNames: c,
|
|
@@ -2823,11 +2937,11 @@ const Jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), _n
|
|
|
2823
2937
|
);
|
|
2824
2938
|
}
|
|
2825
2939
|
);
|
|
2826
|
-
|
|
2827
|
-
const
|
|
2940
|
+
$t.displayName = "TimelineItem";
|
|
2941
|
+
const vt = j.forwardRef(
|
|
2828
2942
|
function({ overStyled: e = !1, ...a }, s) {
|
|
2829
|
-
const t =
|
|
2830
|
-
root:
|
|
2943
|
+
const t = N(a, e), o = {
|
|
2944
|
+
root: pe.root
|
|
2831
2945
|
}, n = t.classNames;
|
|
2832
2946
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2833
2947
|
const i = n;
|
|
@@ -2836,7 +2950,7 @@ const ht = I.forwardRef(
|
|
|
2836
2950
|
});
|
|
2837
2951
|
}
|
|
2838
2952
|
return /* @__PURE__ */ r(
|
|
2839
|
-
|
|
2953
|
+
Ut,
|
|
2840
2954
|
{
|
|
2841
2955
|
ref: s,
|
|
2842
2956
|
classNames: o,
|
|
@@ -2845,13 +2959,13 @@ const ht = I.forwardRef(
|
|
|
2845
2959
|
);
|
|
2846
2960
|
}
|
|
2847
2961
|
);
|
|
2848
|
-
|
|
2849
|
-
const
|
|
2850
|
-
|
|
2851
|
-
const
|
|
2852
|
-
const o =
|
|
2962
|
+
vt.displayName = "Timeline";
|
|
2963
|
+
const Rn = vt;
|
|
2964
|
+
Rn.Item = $t;
|
|
2965
|
+
const Mn = $(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
|
|
2966
|
+
const o = N(s, e), n = o.className, i = `recursica_brand_typography_h${a}`, c = n ? `${i} ${n}` : i;
|
|
2853
2967
|
return /* @__PURE__ */ r(
|
|
2854
|
-
|
|
2968
|
+
Zt,
|
|
2855
2969
|
{
|
|
2856
2970
|
ref: t,
|
|
2857
2971
|
order: a,
|
|
@@ -2860,30 +2974,30 @@ const Cn = h(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
|
|
|
2860
2974
|
}
|
|
2861
2975
|
);
|
|
2862
2976
|
});
|
|
2863
|
-
|
|
2864
|
-
const
|
|
2865
|
-
root:
|
|
2866
|
-
icon:
|
|
2867
|
-
loader:
|
|
2868
|
-
title:
|
|
2869
|
-
description:
|
|
2870
|
-
closeButton:
|
|
2871
|
-
body:
|
|
2872
|
-
},
|
|
2977
|
+
Mn.displayName = "Title";
|
|
2978
|
+
const Bn = "Toast-module__root___MUvfI", Fn = "Toast-module__icon___VwvE1", En = "Toast-module__loader___8Gxd-", jn = "Toast-module__title___-H6R2", Dn = "Toast-module__description___-QwfC", Vn = "Toast-module__closeButton___vGr7g", Gn = "Toast-module__body___VLkXA", Ne = {
|
|
2979
|
+
root: Bn,
|
|
2980
|
+
icon: Fn,
|
|
2981
|
+
loader: En,
|
|
2982
|
+
title: jn,
|
|
2983
|
+
description: Dn,
|
|
2984
|
+
closeButton: Vn,
|
|
2985
|
+
body: Gn
|
|
2986
|
+
}, qn = j.forwardRef(
|
|
2873
2987
|
function({
|
|
2874
2988
|
overStyled: e = !1,
|
|
2875
2989
|
variant: a = "default",
|
|
2876
2990
|
withCloseButton: s = !0,
|
|
2877
2991
|
...t
|
|
2878
2992
|
}, o) {
|
|
2879
|
-
const n =
|
|
2880
|
-
root:
|
|
2881
|
-
body:
|
|
2882
|
-
title:
|
|
2883
|
-
description:
|
|
2884
|
-
closeButton:
|
|
2885
|
-
icon:
|
|
2886
|
-
loader:
|
|
2993
|
+
const n = N(t, e), i = {
|
|
2994
|
+
root: Ne.root,
|
|
2995
|
+
body: Ne.body,
|
|
2996
|
+
title: Ne.title,
|
|
2997
|
+
description: Ne.description,
|
|
2998
|
+
closeButton: Ne.closeButton,
|
|
2999
|
+
icon: Ne.icon,
|
|
3000
|
+
loader: Ne.loader
|
|
2887
3001
|
}, c = n.classNames;
|
|
2888
3002
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
2889
3003
|
const d = c;
|
|
@@ -2892,7 +3006,7 @@ const Pn = "Toast-module__root___MUvfI", gn = "Toast-module__icon___VwvE1", wn =
|
|
|
2892
3006
|
});
|
|
2893
3007
|
}
|
|
2894
3008
|
return /* @__PURE__ */ r(
|
|
2895
|
-
|
|
3009
|
+
Yt,
|
|
2896
3010
|
{
|
|
2897
3011
|
ref: o,
|
|
2898
3012
|
withCloseButton: s,
|
|
@@ -2905,28 +3019,28 @@ const Pn = "Toast-module__root___MUvfI", gn = "Toast-module__icon___VwvE1", wn =
|
|
|
2905
3019
|
);
|
|
2906
3020
|
}
|
|
2907
3021
|
);
|
|
2908
|
-
|
|
2909
|
-
const
|
|
2910
|
-
tooltip:
|
|
2911
|
-
arrow:
|
|
2912
|
-
},
|
|
3022
|
+
qn.displayName = "Toast";
|
|
3023
|
+
const Hn = "Tooltip-module__tooltip___UA7H9", Un = "Tooltip-module__arrow___4zROk", ro = {
|
|
3024
|
+
tooltip: Hn,
|
|
3025
|
+
arrow: Un
|
|
3026
|
+
}, Ct = function({
|
|
2913
3027
|
overStyled: e = !1,
|
|
2914
3028
|
withBeak: a = !0,
|
|
2915
3029
|
...s
|
|
2916
3030
|
}) {
|
|
2917
|
-
const t =
|
|
2918
|
-
tooltip:
|
|
2919
|
-
arrow:
|
|
3031
|
+
const t = N(s, e), o = {
|
|
3032
|
+
tooltip: ro.tooltip,
|
|
3033
|
+
arrow: ro.arrow
|
|
2920
3034
|
}, n = t.classNames;
|
|
2921
3035
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2922
3036
|
const p = n;
|
|
2923
|
-
Object.keys(p).forEach((
|
|
2924
|
-
o[
|
|
3037
|
+
Object.keys(p).forEach((_) => {
|
|
3038
|
+
o[_] ? o[_] = `${o[_]} ${p[_]}` : o[_] = p[_];
|
|
2925
3039
|
});
|
|
2926
3040
|
}
|
|
2927
3041
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
2928
3042
|
return /* @__PURE__ */ r(
|
|
2929
|
-
|
|
3043
|
+
Ze,
|
|
2930
3044
|
{
|
|
2931
3045
|
position: "top",
|
|
2932
3046
|
multiline: !0,
|
|
@@ -2937,73 +3051,74 @@ const Ln = "Tooltip-module__tooltip___UA7H9", In = "Tooltip-module__arrow___4zRO
|
|
|
2937
3051
|
}
|
|
2938
3052
|
);
|
|
2939
3053
|
};
|
|
2940
|
-
|
|
2941
|
-
const
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
const
|
|
3054
|
+
Ct.displayName = "Tooltip";
|
|
3055
|
+
const wt = Ct;
|
|
3056
|
+
wt.Floating = Ze.Floating;
|
|
3057
|
+
wt.Group = Ze.Group;
|
|
3058
|
+
const bl = (l) => /* @__PURE__ */ r("div", { ...l, children: "TransferList" });
|
|
2945
3059
|
export {
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
lt as
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3060
|
+
Xe as Accordion,
|
|
3061
|
+
Ke as AccordionControl,
|
|
3062
|
+
mo as AccordionItem,
|
|
3063
|
+
Qe as AccordionPanel,
|
|
3064
|
+
Is as AutoComplete,
|
|
3065
|
+
Xn as Avatar,
|
|
3066
|
+
Jn as Badge,
|
|
3067
|
+
Ds as Breadcrumb,
|
|
3068
|
+
el as Button,
|
|
3069
|
+
ol as Card,
|
|
3070
|
+
Po as CardContent,
|
|
3071
|
+
wo as CardFooter,
|
|
3072
|
+
Co as CardHeader,
|
|
3073
|
+
vo as CardSection,
|
|
3074
|
+
xo as Checkbox,
|
|
3075
|
+
To as CheckboxGroup,
|
|
3076
|
+
Na as Chip,
|
|
3077
|
+
$a as Container,
|
|
3078
|
+
tl as DatePicker,
|
|
3079
|
+
xa as Dropdown,
|
|
3080
|
+
ke as EmptyValueRenderer,
|
|
3081
|
+
sl as FileInput,
|
|
3082
|
+
al as FileUpload,
|
|
3083
|
+
rl as Flex,
|
|
3084
|
+
me as FormControlLayout,
|
|
3085
|
+
Wa as Group,
|
|
3086
|
+
Oo as HoverCard,
|
|
3087
|
+
uo as Label,
|
|
3088
|
+
Ps as Layer,
|
|
3089
|
+
nl as Link,
|
|
3090
|
+
No as Loader,
|
|
3091
|
+
Ce as Menu,
|
|
3092
|
+
ue as Modal,
|
|
3093
|
+
nr as NumberInput,
|
|
3094
|
+
le as Pagination,
|
|
3095
|
+
ie as Panel,
|
|
3096
|
+
st as PanelFooter,
|
|
3097
|
+
lt as Popover,
|
|
3098
|
+
ct as Radio,
|
|
3099
|
+
it as RadioGroup,
|
|
3100
|
+
Rr as ReadOnlyBooleanField,
|
|
3101
|
+
bo as ReadOnlyField,
|
|
3102
|
+
kr as ReadOnlySwitchField,
|
|
3103
|
+
Oe as ReadOnlyTextField,
|
|
3104
|
+
Qn as RecursicaThemeProvider,
|
|
3105
|
+
ll as SegmentedControl,
|
|
3106
|
+
il as Slider,
|
|
3107
|
+
cl as Stack,
|
|
3108
|
+
dl as Stepper,
|
|
3109
|
+
ut as Switch,
|
|
3110
|
+
mt as SwitchGroup,
|
|
3111
|
+
pl as Table,
|
|
3112
|
+
_l as Tabs,
|
|
3113
|
+
ml as Text,
|
|
3114
|
+
Cn as TextArea,
|
|
3115
|
+
xn as TextField,
|
|
3116
|
+
ul as TimePicker,
|
|
3117
|
+
Rn as Timeline,
|
|
3118
|
+
Mn as Title,
|
|
3119
|
+
qn as Toast,
|
|
3120
|
+
wt as Tooltip,
|
|
3121
|
+
bl as TransferList,
|
|
3122
|
+
ne as WithReadOnlyWrapper
|
|
3008
3123
|
};
|
|
3009
3124
|
//# sourceMappingURL=mantine-adapter.js.map
|