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