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