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