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