@recursica/mantine-adapter 0.14.0 → 0.15.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 +6 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +678 -676
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Panel/Panel.d.ts +10 -2
- package/package.json +1 -1
- package/src/components/Card/Card.module.css +1 -0
- package/src/components/Card/Card.stories.tsx +48 -58
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +3 -3
- package/src/components/Panel/Panel.module.css +11 -0
- package/src/components/Panel/Panel.stories.tsx +12 -1
- package/src/components/Panel/Panel.tsx +12 -2
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as E, Fragment as _e } from "react/jsx-runtime";
|
|
2
2
|
import B, { forwardRef as v, useId as ko, useEffect as To } from "react";
|
|
3
|
-
import { Accordion as ve, Avatar as Oo, createPolymorphicComponent as
|
|
3
|
+
import { Accordion as ve, Avatar as Oo, createPolymorphicComponent as oe, Badge as Io, Breadcrumbs as zo, Button as Ro, Card as Ce, Input as Fe, Box as Ae, Checkbox as Ee, Chip as Lo, Container as Mo, Select as Fo, Flex as Eo, Group as Bo, HoverCard as We, Loader as jo, Menu as q, NumberInput as Do, Drawer as K, Radio as Be, Stack as Vo, Switch as je, CheckIcon as Go, CloseIcon as qo, Text as Ho, Textarea as Uo, Title as Yo, Tooltip as Se } from "@mantine/core";
|
|
4
4
|
const Zo = [
|
|
5
5
|
"className",
|
|
6
6
|
"classNames",
|
|
@@ -69,14 +69,14 @@ const Zo = [
|
|
|
69
69
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
70
70
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
71
71
|
};
|
|
72
|
-
function N(a,
|
|
73
|
-
if (
|
|
72
|
+
function N(a, e) {
|
|
73
|
+
if (e)
|
|
74
74
|
return a;
|
|
75
75
|
const n = { ...a };
|
|
76
76
|
for (const s of Zo)
|
|
77
77
|
s in n && delete n[s];
|
|
78
|
-
for (const [s,
|
|
79
|
-
typeof
|
|
78
|
+
for (const [s, o] of Object.entries(n))
|
|
79
|
+
typeof o == "string" && o.startsWith("rec-") && Ko.has(s) && o in Ie && (n[s] = Ie[o]);
|
|
80
80
|
return n;
|
|
81
81
|
}
|
|
82
82
|
const Qo = "Accordion-module__root___Dem6d", Xo = "Accordion-module__item___7ryVk", Jo = "Accordion-module__noDivider___Ni2tT", et = "Accordion-module__control___b4wgX", ot = "Accordion-module__label___Ss7uW", tt = "Accordion-module__chevron___i-HVZ", rt = "Accordion-module__iconLeftWrapper___5oLen", st = "Accordion-module__panel___Wx50w", at = "Accordion-module__content___PEM9t", Y = {
|
|
@@ -90,11 +90,11 @@ const Qo = "Accordion-module__root___Dem6d", Xo = "Accordion-module__item___7ryV
|
|
|
90
90
|
panel: st,
|
|
91
91
|
content: at
|
|
92
92
|
}, De = function({
|
|
93
|
-
variant:
|
|
93
|
+
variant: e = "unstyled",
|
|
94
94
|
overStyled: n = !1,
|
|
95
95
|
...s
|
|
96
96
|
}) {
|
|
97
|
-
const
|
|
97
|
+
const o = N(s, n), t = {
|
|
98
98
|
root: Y.root,
|
|
99
99
|
item: Y.item,
|
|
100
100
|
control: Y.control,
|
|
@@ -102,63 +102,63 @@ const Qo = "Accordion-module__root___Dem6d", Xo = "Accordion-module__item___7ryV
|
|
|
102
102
|
chevron: Y.chevron,
|
|
103
103
|
panel: Y.panel,
|
|
104
104
|
content: Y.content
|
|
105
|
-
}, l =
|
|
105
|
+
}, l = o.classNames;
|
|
106
106
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
107
107
|
const d = l;
|
|
108
|
-
Object.keys(d).forEach((
|
|
109
|
-
|
|
108
|
+
Object.keys(d).forEach((i) => {
|
|
109
|
+
t[i] ? t[i] = `${t[i]} ${d[i]}` : t[i] = d[i];
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
return /* @__PURE__ */
|
|
112
|
+
const c = o.className;
|
|
113
|
+
return /* @__PURE__ */ r(
|
|
114
114
|
ve,
|
|
115
115
|
{
|
|
116
|
-
variant:
|
|
117
|
-
className:
|
|
118
|
-
classNames:
|
|
119
|
-
...
|
|
116
|
+
variant: e,
|
|
117
|
+
className: c,
|
|
118
|
+
classNames: t,
|
|
119
|
+
...o
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
122
|
};
|
|
123
123
|
De.displayName = "Accordion";
|
|
124
|
-
const Ve = v(function({ title:
|
|
125
|
-
const d = N(l,
|
|
126
|
-
return /* @__PURE__ */
|
|
124
|
+
const Ve = v(function({ title: e, leftIcon: n, divider: s = !0, children: o, overStyled: t = !1, ...l }, c) {
|
|
125
|
+
const d = N(l, t), i = d.className, p = [s ? void 0 : Y.noDivider, i].filter(Boolean).join(" ") || void 0;
|
|
126
|
+
return /* @__PURE__ */ r(
|
|
127
127
|
ve.Item,
|
|
128
128
|
{
|
|
129
|
-
ref:
|
|
129
|
+
ref: c,
|
|
130
130
|
className: p,
|
|
131
131
|
...d,
|
|
132
|
-
children:
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
] }) :
|
|
132
|
+
children: e ? /* @__PURE__ */ E(_e, { children: [
|
|
133
|
+
/* @__PURE__ */ r(ke, { leftIcon: n, children: e }),
|
|
134
|
+
/* @__PURE__ */ r(Te, { children: o })
|
|
135
|
+
] }) : o
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
});
|
|
139
139
|
Ve.displayName = "AccordionItem";
|
|
140
|
-
const ke = v(function({ leftIcon:
|
|
141
|
-
const l = N(
|
|
142
|
-
return /* @__PURE__ */
|
|
140
|
+
const ke = v(function({ leftIcon: e, children: n, overStyled: s = !1, ...o }, t) {
|
|
141
|
+
const l = N(o, s), c = l.className;
|
|
142
|
+
return /* @__PURE__ */ r(
|
|
143
143
|
ve.Control,
|
|
144
144
|
{
|
|
145
|
-
ref:
|
|
146
|
-
className:
|
|
147
|
-
icon:
|
|
145
|
+
ref: t,
|
|
146
|
+
className: c,
|
|
147
|
+
icon: e ? /* @__PURE__ */ r("span", { className: Y.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
148
148
|
...l,
|
|
149
149
|
children: n
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
152
|
});
|
|
153
153
|
ke.displayName = "AccordionControl";
|
|
154
|
-
const Te = v(function({ overStyled:
|
|
155
|
-
const
|
|
156
|
-
return /* @__PURE__ */
|
|
154
|
+
const Te = v(function({ overStyled: e = !1, ...n }, s) {
|
|
155
|
+
const o = N(n, e), t = o.className;
|
|
156
|
+
return /* @__PURE__ */ r(
|
|
157
157
|
ve.Panel,
|
|
158
158
|
{
|
|
159
159
|
ref: s,
|
|
160
|
-
className:
|
|
161
|
-
...
|
|
160
|
+
className: t,
|
|
161
|
+
...o
|
|
162
162
|
}
|
|
163
163
|
);
|
|
164
164
|
});
|
|
@@ -167,22 +167,22 @@ const Oe = De;
|
|
|
167
167
|
Oe.Item = Ve;
|
|
168
168
|
Oe.Control = ke;
|
|
169
169
|
Oe.Panel = Te;
|
|
170
|
-
const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojly2",
|
|
170
|
+
const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojly2", ct = "Avatar-module__textWrapper___zp-jD", it = "Avatar-module__image___ieqGp", dt = "Avatar-module__placeholder___IDW7-", V = {
|
|
171
171
|
root: nt,
|
|
172
172
|
iconWrapper: lt,
|
|
173
|
-
textWrapper:
|
|
174
|
-
image:
|
|
173
|
+
textWrapper: ct,
|
|
174
|
+
image: it,
|
|
175
175
|
placeholder: dt
|
|
176
176
|
}, Ge = v(function({
|
|
177
|
-
size:
|
|
177
|
+
size: e = "default",
|
|
178
178
|
variant: n = "solid",
|
|
179
179
|
icon: s,
|
|
180
|
-
children:
|
|
181
|
-
src:
|
|
180
|
+
children: o,
|
|
181
|
+
src: t,
|
|
182
182
|
overStyled: l = !1,
|
|
183
|
-
...
|
|
183
|
+
...c
|
|
184
184
|
}, d) {
|
|
185
|
-
const
|
|
185
|
+
const i = {
|
|
186
186
|
solid: "filled",
|
|
187
187
|
outline: "outline",
|
|
188
188
|
ghost: "transparent"
|
|
@@ -190,9 +190,9 @@ const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojl
|
|
|
190
190
|
default: "md",
|
|
191
191
|
small: "sm",
|
|
192
192
|
large: "lg"
|
|
193
|
-
}, m = N(
|
|
193
|
+
}, m = N(c, l), y = m;
|
|
194
194
|
let u = "text";
|
|
195
|
-
|
|
195
|
+
t ? u = "image" : s && (u = "icon");
|
|
196
196
|
const _ = {
|
|
197
197
|
root: V.root,
|
|
198
198
|
image: V.image,
|
|
@@ -203,73 +203,73 @@ const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojl
|
|
|
203
203
|
_.root = h.root ? `${V.root} ${h.root}` : V.root, _.image = h.image ? `${V.image} ${h.image}` : V.image, _.placeholder = h.placeholder ? `${V.placeholder} ${h.placeholder}` : V.placeholder;
|
|
204
204
|
}
|
|
205
205
|
const C = y.className;
|
|
206
|
-
return /* @__PURE__ */
|
|
206
|
+
return /* @__PURE__ */ r(
|
|
207
207
|
Oo,
|
|
208
208
|
{
|
|
209
209
|
ref: d,
|
|
210
210
|
className: C,
|
|
211
211
|
classNames: _,
|
|
212
|
-
variant:
|
|
213
|
-
size: p[
|
|
214
|
-
src:
|
|
212
|
+
variant: i[n],
|
|
213
|
+
size: p[e],
|
|
214
|
+
src: t,
|
|
215
215
|
"data-variant": n,
|
|
216
|
-
"data-size":
|
|
216
|
+
"data-size": e,
|
|
217
217
|
"data-style": u,
|
|
218
218
|
...m,
|
|
219
|
-
children: s != null ? /* @__PURE__ */
|
|
219
|
+
children: s != null ? /* @__PURE__ */ r("span", { className: V.iconWrapper, "aria-hidden": !0, children: s }) : o != null ? /* @__PURE__ */ r("span", { className: V.textWrapper, children: o }) : void 0
|
|
220
220
|
}
|
|
221
221
|
);
|
|
222
222
|
});
|
|
223
223
|
Ge.displayName = "Avatar";
|
|
224
|
-
const
|
|
224
|
+
const As = oe(Ge), pt = "Badge-module__root___5osNT", H = {
|
|
225
225
|
root: pt
|
|
226
|
-
}, qe = v(function({ variant:
|
|
227
|
-
const
|
|
226
|
+
}, qe = v(function({ variant: e = "primary-color", overStyled: n = !1, ...s }, o) {
|
|
227
|
+
const t = N(s, n), l = {
|
|
228
228
|
root: H.root,
|
|
229
229
|
section: H.section,
|
|
230
230
|
label: H.label
|
|
231
|
-
},
|
|
232
|
-
if (
|
|
233
|
-
const p =
|
|
231
|
+
}, c = t.classNames;
|
|
232
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
233
|
+
const p = c;
|
|
234
234
|
l.root = p.root ? `${H.root} ${p.root}` : H.root, l.section = p.section ?? H.section, l.label = p.label ?? H.label;
|
|
235
235
|
}
|
|
236
|
-
const d =
|
|
237
|
-
return /* @__PURE__ */
|
|
236
|
+
const d = t.className, i = d ? `${H.root} ${d}` : H.root;
|
|
237
|
+
return /* @__PURE__ */ r(
|
|
238
238
|
Io,
|
|
239
239
|
{
|
|
240
|
-
ref:
|
|
240
|
+
ref: o,
|
|
241
241
|
variant: "filled",
|
|
242
|
-
"data-variant":
|
|
243
|
-
...
|
|
244
|
-
className:
|
|
242
|
+
"data-variant": e,
|
|
243
|
+
...t,
|
|
244
|
+
className: i,
|
|
245
245
|
classNames: l
|
|
246
246
|
}
|
|
247
247
|
);
|
|
248
248
|
});
|
|
249
249
|
qe.displayName = "Badge";
|
|
250
|
-
const
|
|
250
|
+
const Ws = oe(qe), mt = "Breadcrumb-module__root___x-9ln", ut = "Breadcrumb-module__separator___qrUX-", X = {
|
|
251
251
|
root: mt,
|
|
252
252
|
separator: ut
|
|
253
253
|
}, _t = v(
|
|
254
|
-
function({ overStyled:
|
|
255
|
-
const
|
|
254
|
+
function({ overStyled: e = !1, separator: n = ">", ...s }, o) {
|
|
255
|
+
const t = N(
|
|
256
256
|
{ separator: n, ...s },
|
|
257
|
-
|
|
257
|
+
e
|
|
258
258
|
), l = {
|
|
259
259
|
root: X.root,
|
|
260
260
|
separator: X.separator
|
|
261
|
-
},
|
|
262
|
-
if (
|
|
263
|
-
const p =
|
|
261
|
+
}, c = t.classNames;
|
|
262
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
263
|
+
const p = c;
|
|
264
264
|
l.root = p.root ? `${X.root} ${p.root}` : X.root, l.separator = p.separator ? `${X.separator} ${p.separator}` : X.separator;
|
|
265
265
|
}
|
|
266
|
-
const d =
|
|
267
|
-
return /* @__PURE__ */
|
|
266
|
+
const d = t.className, i = d ? `${X.root} ${d}` : X.root;
|
|
267
|
+
return /* @__PURE__ */ r(
|
|
268
268
|
zo,
|
|
269
269
|
{
|
|
270
|
-
ref:
|
|
271
|
-
...
|
|
272
|
-
className:
|
|
270
|
+
ref: o,
|
|
271
|
+
...t,
|
|
272
|
+
className: i,
|
|
273
273
|
classNames: l
|
|
274
274
|
}
|
|
275
275
|
);
|
|
@@ -287,23 +287,23 @@ function $t(a) {
|
|
|
287
287
|
return a == null || a === "" ? !1 : typeof a == "string" ? a.trim() !== "" : !0;
|
|
288
288
|
}
|
|
289
289
|
const He = v(function({
|
|
290
|
-
variant:
|
|
290
|
+
variant: e = "solid",
|
|
291
291
|
size: n = "default",
|
|
292
292
|
icon: s,
|
|
293
|
-
children:
|
|
294
|
-
overStyled:
|
|
293
|
+
children: o,
|
|
294
|
+
overStyled: t = !1,
|
|
295
295
|
...l
|
|
296
|
-
},
|
|
296
|
+
}, c) {
|
|
297
297
|
const d = {
|
|
298
298
|
solid: "filled",
|
|
299
299
|
outline: "outline",
|
|
300
300
|
text: "subtle"
|
|
301
|
-
},
|
|
301
|
+
}, i = {
|
|
302
302
|
default: "md",
|
|
303
303
|
small: "sm"
|
|
304
|
-
}, p = N(l,
|
|
304
|
+
}, p = N(l, t), m = p;
|
|
305
305
|
delete m.fullWidth;
|
|
306
|
-
const y = !!s || !!m.leftSection, u = !!m.rightSection, _ = (y || u) && !$t(
|
|
306
|
+
const y = !!s || !!m.leftSection, u = !!m.rightSection, _ = (y || u) && !$t(o);
|
|
307
307
|
typeof process < "u" && process.env.NODE_ENV !== "production" && _ && !m["aria-label"] && console.warn(
|
|
308
308
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
309
309
|
);
|
|
@@ -317,116 +317,116 @@ const He = v(function({
|
|
|
317
317
|
f.root = b.root ? `${G.root} ${b.root}` : G.root, f.section = b.section ?? G.section, f.label = b.label ?? G.label;
|
|
318
318
|
}
|
|
319
319
|
const h = m.className, w = h ? `${G.root} ${h}` : G.root;
|
|
320
|
-
return /* @__PURE__ */
|
|
320
|
+
return /* @__PURE__ */ r(
|
|
321
321
|
Ro,
|
|
322
322
|
{
|
|
323
|
-
ref:
|
|
323
|
+
ref: c,
|
|
324
324
|
className: w,
|
|
325
325
|
classNames: f,
|
|
326
|
-
variant: d[
|
|
327
|
-
size:
|
|
328
|
-
leftSection: s != null ? /* @__PURE__ */
|
|
329
|
-
"data-variant":
|
|
326
|
+
variant: d[e],
|
|
327
|
+
size: i[n],
|
|
328
|
+
leftSection: s != null ? /* @__PURE__ */ r("span", { className: G.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
329
|
+
"data-variant": e,
|
|
330
330
|
"data-size": n,
|
|
331
331
|
..._ ? { "data-icon-only": "" } : {},
|
|
332
332
|
...p,
|
|
333
|
-
children: /* @__PURE__ */
|
|
333
|
+
children: /* @__PURE__ */ r("span", { className: G.labelText, children: o })
|
|
334
334
|
}
|
|
335
335
|
);
|
|
336
336
|
});
|
|
337
337
|
He.displayName = "Button";
|
|
338
|
-
const
|
|
338
|
+
const Ss = oe(
|
|
339
339
|
He
|
|
340
|
-
), vt = "Card-module__root___c9KvZ", Ct = "Card-module__header___PTXf2", wt = "Card-module__footer___Mu-JC", gt = "Card-module__section___BRT8H", Pt = "Card-module__content___oFIQa", Z = {
|
|
340
|
+
), vt = "Card-module__root___c9KvZ", Ct = "Card-module__header___PTXf2 recursica_brand_typography_h3", wt = "Card-module__footer___Mu-JC", gt = "Card-module__section___BRT8H", Pt = "Card-module__content___oFIQa", Z = {
|
|
341
341
|
root: vt,
|
|
342
342
|
header: Ct,
|
|
343
343
|
footer: wt,
|
|
344
344
|
section: gt,
|
|
345
345
|
content: Pt
|
|
346
|
-
}, Ue = v(function({ overStyled:
|
|
347
|
-
const
|
|
346
|
+
}, Ue = v(function({ overStyled: e = !1, ...n }, s) {
|
|
347
|
+
const o = N(n, e), t = {
|
|
348
348
|
root: Z.root
|
|
349
|
-
}, l =
|
|
349
|
+
}, l = o.classNames;
|
|
350
350
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
351
351
|
const d = l;
|
|
352
|
-
Object.keys(d).forEach((
|
|
353
|
-
|
|
352
|
+
Object.keys(d).forEach((i) => {
|
|
353
|
+
t[i] ? t[i] = `${t[i]} ${d[i]}` : t[i] = d[i];
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
|
-
const
|
|
357
|
-
return /* @__PURE__ */
|
|
356
|
+
const c = o.className;
|
|
357
|
+
return /* @__PURE__ */ r(
|
|
358
358
|
Ce,
|
|
359
359
|
{
|
|
360
360
|
ref: s,
|
|
361
|
-
className:
|
|
362
|
-
classNames:
|
|
363
|
-
...
|
|
361
|
+
className: c,
|
|
362
|
+
classNames: t,
|
|
363
|
+
...o
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
});
|
|
367
367
|
Ue.displayName = "Card";
|
|
368
368
|
const Ye = v(
|
|
369
|
-
function({ overStyled:
|
|
370
|
-
const
|
|
371
|
-
return /* @__PURE__ */
|
|
369
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
370
|
+
const o = N(n, e), t = o.className;
|
|
371
|
+
return /* @__PURE__ */ r(
|
|
372
372
|
Ce.Section,
|
|
373
373
|
{
|
|
374
374
|
ref: s,
|
|
375
|
-
className:
|
|
376
|
-
...
|
|
375
|
+
className: t ? `${Z.section} ${t}` : Z.section,
|
|
376
|
+
...o
|
|
377
377
|
}
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
);
|
|
381
381
|
Ye.displayName = "CardSection";
|
|
382
382
|
const Ze = v(
|
|
383
|
-
function({ overStyled:
|
|
384
|
-
const
|
|
385
|
-
return /* @__PURE__ */
|
|
383
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
384
|
+
const o = N(n, e), t = o.className;
|
|
385
|
+
return /* @__PURE__ */ r(
|
|
386
386
|
Ce.Section,
|
|
387
387
|
{
|
|
388
388
|
ref: s,
|
|
389
|
-
className:
|
|
390
|
-
...
|
|
389
|
+
className: t ? `${Z.header} ${t}` : Z.header,
|
|
390
|
+
...o
|
|
391
391
|
}
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
394
|
);
|
|
395
395
|
Ze.displayName = "CardHeader";
|
|
396
396
|
const Ke = v(
|
|
397
|
-
function({ overStyled:
|
|
398
|
-
const
|
|
399
|
-
return /* @__PURE__ */
|
|
397
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
398
|
+
const o = N(n, e), t = o.className;
|
|
399
|
+
return /* @__PURE__ */ r(
|
|
400
400
|
Ce.Section,
|
|
401
401
|
{
|
|
402
402
|
ref: s,
|
|
403
|
-
className:
|
|
404
|
-
...
|
|
403
|
+
className: t ? `${Z.footer} ${t}` : Z.footer,
|
|
404
|
+
...o
|
|
405
405
|
}
|
|
406
406
|
);
|
|
407
407
|
}
|
|
408
408
|
);
|
|
409
409
|
Ke.displayName = "CardFooter";
|
|
410
410
|
const Qe = v(
|
|
411
|
-
function({ overStyled:
|
|
412
|
-
const
|
|
413
|
-
return /* @__PURE__ */
|
|
411
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
412
|
+
const o = N(n, e), t = o.className;
|
|
413
|
+
return /* @__PURE__ */ r(
|
|
414
414
|
"div",
|
|
415
415
|
{
|
|
416
416
|
ref: s,
|
|
417
|
-
className:
|
|
418
|
-
...
|
|
417
|
+
className: t ? `${Z.content} ${t}` : Z.content,
|
|
418
|
+
...o
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
Qe.displayName = "CardContent";
|
|
424
|
-
const Xe =
|
|
424
|
+
const Xe = oe(Ue), we = Xe;
|
|
425
425
|
we.Section = Ye;
|
|
426
426
|
we.Header = Ze;
|
|
427
427
|
we.Footer = Ke;
|
|
428
428
|
we.Content = Qe;
|
|
429
|
-
const
|
|
429
|
+
const ks = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText___rieFR", Wt = "Label-module__required___Ggrzc", St = "Label-module__optionalText___Y2yun", kt = "Label-module__actionAreaWrapper___ELoZK", Tt = "Label-module__editIconWrapper___NG2xW", D = {
|
|
430
430
|
root: xt,
|
|
431
431
|
labelText: At,
|
|
432
432
|
required: Wt,
|
|
@@ -434,21 +434,21 @@ const Ss = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
|
|
|
434
434
|
actionAreaWrapper: kt,
|
|
435
435
|
editIconWrapper: Tt
|
|
436
436
|
}, Je = v(function({
|
|
437
|
-
labelSize:
|
|
437
|
+
labelSize: e = "default",
|
|
438
438
|
labelAlignment: n,
|
|
439
439
|
required: s = !1,
|
|
440
|
-
labelOptionalText:
|
|
441
|
-
labelWithEditIcon:
|
|
440
|
+
labelOptionalText: o,
|
|
441
|
+
labelWithEditIcon: t,
|
|
442
442
|
labelActionArea: l,
|
|
443
|
-
onLabelEditClick:
|
|
443
|
+
onLabelEditClick: c,
|
|
444
444
|
children: d,
|
|
445
|
-
overStyled:
|
|
445
|
+
overStyled: i = !1,
|
|
446
446
|
...p
|
|
447
447
|
}, m) {
|
|
448
448
|
const y = n || "left";
|
|
449
449
|
let u;
|
|
450
|
-
s || (
|
|
451
|
-
const _ = N(p,
|
|
450
|
+
s || (o === !0 ? u = "optional" : o && (u = o));
|
|
451
|
+
const _ = N(p, i), f = _, C = {
|
|
452
452
|
label: D.root,
|
|
453
453
|
required: D.required
|
|
454
454
|
}, h = f.classNames;
|
|
@@ -463,22 +463,22 @@ const Ss = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
|
|
|
463
463
|
ref: m,
|
|
464
464
|
className: b,
|
|
465
465
|
classNames: C,
|
|
466
|
-
"data-size":
|
|
466
|
+
"data-size": e,
|
|
467
467
|
"data-alignment": y,
|
|
468
|
-
required: s && !
|
|
468
|
+
required: s && !t,
|
|
469
469
|
..._,
|
|
470
470
|
children: [
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
u && /* @__PURE__ */
|
|
473
|
-
l ? /* @__PURE__ */
|
|
471
|
+
/* @__PURE__ */ r("span", { className: D.labelText, children: d }),
|
|
472
|
+
u && /* @__PURE__ */ r("span", { className: D.optionalText, children: typeof u == "string" ? `(${u})` : u }),
|
|
473
|
+
l ? /* @__PURE__ */ r("span", { className: D.actionAreaWrapper, children: l }) : t ? /* @__PURE__ */ r(
|
|
474
474
|
"button",
|
|
475
475
|
{
|
|
476
476
|
type: "button",
|
|
477
477
|
className: D.editIconWrapper,
|
|
478
478
|
"data-replaces-asterisk": s ? "true" : void 0,
|
|
479
|
-
onClick:
|
|
479
|
+
onClick: c,
|
|
480
480
|
"aria-label": "Edit",
|
|
481
|
-
children: /* @__PURE__ */
|
|
481
|
+
children: /* @__PURE__ */ r(
|
|
482
482
|
"svg",
|
|
483
483
|
{
|
|
484
484
|
width: "16",
|
|
@@ -486,7 +486,7 @@ const Ss = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
|
|
|
486
486
|
viewBox: "0 0 16 16",
|
|
487
487
|
fill: "none",
|
|
488
488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
-
children: /* @__PURE__ */
|
|
489
|
+
children: /* @__PURE__ */ r(
|
|
490
490
|
"path",
|
|
491
491
|
{
|
|
492
492
|
d: "M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",
|
|
@@ -508,38 +508,38 @@ const Ot = "FormControlLayout-module__root___yNDhZ", It = "FormControlLayout-mod
|
|
|
508
508
|
root: Ot,
|
|
509
509
|
leftSection: It,
|
|
510
510
|
rightSection: zt
|
|
511
|
-
},
|
|
512
|
-
formLayout:
|
|
511
|
+
}, ee = v(function({
|
|
512
|
+
formLayout: e = "stacked",
|
|
513
513
|
labelSize: n = "default",
|
|
514
514
|
controlMaxWidth: s,
|
|
515
|
-
controlMinWidth:
|
|
516
|
-
leftSection:
|
|
515
|
+
controlMinWidth: o,
|
|
516
|
+
leftSection: t,
|
|
517
517
|
children: l,
|
|
518
|
-
className:
|
|
518
|
+
className: c,
|
|
519
519
|
style: d,
|
|
520
|
-
...
|
|
520
|
+
...i
|
|
521
521
|
}, p) {
|
|
522
|
-
const m =
|
|
522
|
+
const m = c ? `${ye.root} ${c}` : ye.root, u = t != null || e === "side-by-side";
|
|
523
523
|
return /* @__PURE__ */ E(
|
|
524
524
|
"div",
|
|
525
525
|
{
|
|
526
526
|
ref: p,
|
|
527
527
|
className: m,
|
|
528
|
-
"data-form-layout":
|
|
528
|
+
"data-form-layout": e,
|
|
529
529
|
style: {
|
|
530
530
|
...d,
|
|
531
531
|
...s ? { "--form-control-max-width": s } : {},
|
|
532
|
-
...
|
|
532
|
+
...o ? { "--form-control-min-width": o } : {}
|
|
533
533
|
},
|
|
534
|
-
...
|
|
534
|
+
...i,
|
|
535
535
|
children: [
|
|
536
|
-
u && /* @__PURE__ */
|
|
537
|
-
/* @__PURE__ */
|
|
536
|
+
u && /* @__PURE__ */ r("div", { className: ye.leftSection, "data-size": n, children: t }),
|
|
537
|
+
/* @__PURE__ */ r("div", { className: ye.rightSection, children: l })
|
|
538
538
|
]
|
|
539
539
|
}
|
|
540
540
|
);
|
|
541
541
|
});
|
|
542
|
-
|
|
542
|
+
ee.displayName = "FormControlLayout";
|
|
543
543
|
const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-module__textWrapper___sfy5E", Mt = "AssistiveElement-module__iconWrapper___gObRF", Pe = {
|
|
544
544
|
root: Rt,
|
|
545
545
|
textWrapper: Lt,
|
|
@@ -555,9 +555,9 @@ const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-modul
|
|
|
555
555
|
strokeLinecap: "round",
|
|
556
556
|
strokeLinejoin: "round",
|
|
557
557
|
children: [
|
|
558
|
-
/* @__PURE__ */
|
|
559
|
-
/* @__PURE__ */
|
|
560
|
-
/* @__PURE__ */
|
|
558
|
+
/* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
|
|
559
|
+
/* @__PURE__ */ r("path", { d: "M12 16v-4" }),
|
|
560
|
+
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
561
561
|
]
|
|
562
562
|
}
|
|
563
563
|
), Et = () => /* @__PURE__ */ E(
|
|
@@ -571,31 +571,31 @@ const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-modul
|
|
|
571
571
|
strokeLinecap: "round",
|
|
572
572
|
strokeLinejoin: "round",
|
|
573
573
|
children: [
|
|
574
|
-
/* @__PURE__ */
|
|
575
|
-
/* @__PURE__ */
|
|
576
|
-
/* @__PURE__ */
|
|
574
|
+
/* @__PURE__ */ r("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
|
|
575
|
+
/* @__PURE__ */ r("path", { d: "M12 9v4" }),
|
|
576
|
+
/* @__PURE__ */ r("path", { d: "M12 17h.01" })
|
|
577
577
|
]
|
|
578
578
|
}
|
|
579
579
|
), xe = v(function({
|
|
580
|
-
assistiveVariant:
|
|
580
|
+
assistiveVariant: e = "help",
|
|
581
581
|
assistiveWithIcon: n = !0,
|
|
582
582
|
children: s,
|
|
583
|
-
className:
|
|
584
|
-
overStyled:
|
|
583
|
+
className: o,
|
|
584
|
+
overStyled: t = !1,
|
|
585
585
|
...l
|
|
586
|
-
},
|
|
587
|
-
const
|
|
586
|
+
}, c) {
|
|
587
|
+
const i = N(l, t), p = Pe.root, m = o ? `${p} ${o}` : p, y = e === "error" ? Et : Ft;
|
|
588
588
|
return /* @__PURE__ */ E(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
591
|
-
ref:
|
|
591
|
+
ref: c,
|
|
592
592
|
className: m,
|
|
593
|
-
"data-variant":
|
|
594
|
-
style:
|
|
595
|
-
...
|
|
593
|
+
"data-variant": e,
|
|
594
|
+
style: i.style,
|
|
595
|
+
...i,
|
|
596
596
|
children: [
|
|
597
|
-
n && /* @__PURE__ */
|
|
598
|
-
/* @__PURE__ */
|
|
597
|
+
n && /* @__PURE__ */ r("span", { className: Pe.iconWrapper, children: /* @__PURE__ */ r(y, {}) }),
|
|
598
|
+
/* @__PURE__ */ r("span", { className: Pe.textWrapper, children: s })
|
|
599
599
|
]
|
|
600
600
|
}
|
|
601
601
|
);
|
|
@@ -604,15 +604,15 @@ xe.displayName = "AssistiveElement";
|
|
|
604
604
|
const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
|
|
605
605
|
inputSection: Bt
|
|
606
606
|
}, fe = v(function({
|
|
607
|
-
formLayout:
|
|
607
|
+
formLayout: e,
|
|
608
608
|
labelSize: n,
|
|
609
609
|
labelAlignment: s,
|
|
610
|
-
labelOptionalText:
|
|
611
|
-
labelWithEditIcon:
|
|
610
|
+
labelOptionalText: o,
|
|
611
|
+
labelWithEditIcon: t,
|
|
612
612
|
labelActionArea: l,
|
|
613
|
-
onLabelEditClick:
|
|
613
|
+
onLabelEditClick: c,
|
|
614
614
|
label: d,
|
|
615
|
-
description:
|
|
615
|
+
description: i,
|
|
616
616
|
assistiveText: p,
|
|
617
617
|
assistiveWithIcon: m = !0,
|
|
618
618
|
controlMaxWidth: y,
|
|
@@ -628,32 +628,32 @@ const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
|
|
|
628
628
|
// Extracted safely preventing bleeding into HTML domains
|
|
629
629
|
...L
|
|
630
630
|
}, S) {
|
|
631
|
-
const x = ko(), I = h || `recursica-fc-${x}`, R = p ||
|
|
631
|
+
const x = ko(), I = h || `recursica-fc-${x}`, R = p || i, k = R ? `${I}-assistive` : void 0, P = _ ? `${I}-error` : void 0, z = N(L, W), re = b || z.className, be = ze.root, j = re ? `${be} ${re}` : be, Wo = B.isValidElement(w) ? B.cloneElement(
|
|
632
632
|
w,
|
|
633
633
|
{
|
|
634
634
|
...R && !w.props["aria-describedby"] ? { "aria-describedby": k } : {},
|
|
635
635
|
..._ && !w.props["aria-errormessage"] ? { "aria-errormessage": P } : {}
|
|
636
636
|
}
|
|
637
|
-
) : w, So = d ? /* @__PURE__ */
|
|
637
|
+
) : w, So = d ? /* @__PURE__ */ r(
|
|
638
638
|
Je,
|
|
639
639
|
{
|
|
640
640
|
id: I,
|
|
641
641
|
labelAlignment: s,
|
|
642
|
-
labelOptionalText:
|
|
643
|
-
labelWithEditIcon:
|
|
642
|
+
labelOptionalText: o,
|
|
643
|
+
labelWithEditIcon: t,
|
|
644
644
|
labelActionArea: l,
|
|
645
|
-
onLabelEditClick:
|
|
645
|
+
onLabelEditClick: c,
|
|
646
646
|
required: C ?? f,
|
|
647
647
|
...$ === "div" ? { as: "div" } : {},
|
|
648
648
|
children: d
|
|
649
649
|
}
|
|
650
650
|
) : void 0;
|
|
651
|
-
return /* @__PURE__ */
|
|
652
|
-
|
|
651
|
+
return /* @__PURE__ */ r(
|
|
652
|
+
ee,
|
|
653
653
|
{
|
|
654
654
|
ref: S,
|
|
655
655
|
className: j,
|
|
656
|
-
formLayout:
|
|
656
|
+
formLayout: e,
|
|
657
657
|
labelSize: n,
|
|
658
658
|
controlMaxWidth: y,
|
|
659
659
|
controlMinWidth: u,
|
|
@@ -661,7 +661,7 @@ const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
|
|
|
661
661
|
...z,
|
|
662
662
|
children: /* @__PURE__ */ E("div", { className: ze.inputSection, children: [
|
|
663
663
|
Wo,
|
|
664
|
-
_ && /* @__PURE__ */
|
|
664
|
+
_ && /* @__PURE__ */ r(
|
|
665
665
|
xe,
|
|
666
666
|
{
|
|
667
667
|
id: P,
|
|
@@ -670,7 +670,7 @@ const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
|
|
|
670
670
|
children: _
|
|
671
671
|
}
|
|
672
672
|
),
|
|
673
|
-
!_ && R && /* @__PURE__ */
|
|
673
|
+
!_ && R && /* @__PURE__ */ r(
|
|
674
674
|
xe,
|
|
675
675
|
{
|
|
676
676
|
id: k,
|
|
@@ -687,49 +687,49 @@ fe.displayName = "FormControlWrapper";
|
|
|
687
687
|
const jt = "_root_1qhn7_3", Dt = "_contents_1qhn7_18", ae = {
|
|
688
688
|
root: jt,
|
|
689
689
|
contents: Dt
|
|
690
|
-
}, Vt = v(function({ layer: a, contentsOnly:
|
|
691
|
-
const
|
|
692
|
-
return /* @__PURE__ */
|
|
690
|
+
}, Vt = v(function({ layer: a, contentsOnly: e, children: n, className: s, style: o, ...t }, l) {
|
|
691
|
+
const c = e ? s ? `${ae.root} ${ae.contents} ${s}` : `${ae.root} ${ae.contents}` : s ? `${ae.root} ${s}` : ae.root;
|
|
692
|
+
return /* @__PURE__ */ r(
|
|
693
693
|
"div",
|
|
694
694
|
{
|
|
695
695
|
ref: l,
|
|
696
|
-
className:
|
|
697
|
-
style:
|
|
698
|
-
...
|
|
699
|
-
...
|
|
696
|
+
className: c,
|
|
697
|
+
style: o,
|
|
698
|
+
...e ? {} : { "data-recursica-layer": String(a) },
|
|
699
|
+
...t,
|
|
700
700
|
children: n
|
|
701
701
|
}
|
|
702
702
|
);
|
|
703
703
|
});
|
|
704
704
|
Vt.displayName = "Layer";
|
|
705
|
-
const Ne = ({ emptyText: a = "N/A" }) => /* @__PURE__ */
|
|
705
|
+
const Ne = ({ emptyText: a = "N/A" }) => /* @__PURE__ */ r(B.Fragment, { children: a });
|
|
706
706
|
Ne.displayName = "EmptyValueRenderer";
|
|
707
707
|
Ne.check = (a) => a == null || a === "" || Array.isArray(a) && a.length === 0;
|
|
708
708
|
const Re = "data-recursica-theme";
|
|
709
|
-
function
|
|
709
|
+
function Ts({
|
|
710
710
|
children: a,
|
|
711
|
-
theme:
|
|
711
|
+
theme: e = "light"
|
|
712
712
|
}) {
|
|
713
713
|
return To(() => {
|
|
714
714
|
const n = document.documentElement;
|
|
715
|
-
return n.setAttribute(Re,
|
|
715
|
+
return n.setAttribute(Re, e), () => {
|
|
716
716
|
n.removeAttribute(Re);
|
|
717
717
|
};
|
|
718
|
-
}, [
|
|
718
|
+
}, [e]), /* @__PURE__ */ r(_e, { children: a });
|
|
719
719
|
}
|
|
720
720
|
const Gt = "ReadOnlyField-module__textField___qKn25", $e = {
|
|
721
721
|
textField: Gt
|
|
722
722
|
}, he = ({
|
|
723
723
|
value: a,
|
|
724
|
-
overStyled:
|
|
724
|
+
overStyled: e = !1,
|
|
725
725
|
...n
|
|
726
726
|
}) => {
|
|
727
|
-
const s = N(n,
|
|
728
|
-
return /* @__PURE__ */
|
|
727
|
+
const s = N(n, e), o = s.className;
|
|
728
|
+
return /* @__PURE__ */ r(
|
|
729
729
|
Ae,
|
|
730
730
|
{
|
|
731
731
|
component: "p",
|
|
732
|
-
className:
|
|
732
|
+
className: o ? `${$e.textField} ${o}` : $e.textField,
|
|
733
733
|
...s,
|
|
734
734
|
children: a != null ? B.isValidElement(a) ? a : Array.isArray(a) ? a.join(", ") : String(a) : ""
|
|
735
735
|
}
|
|
@@ -737,95 +737,95 @@ const Gt = "ReadOnlyField-module__textField___qKn25", $e = {
|
|
|
737
737
|
};
|
|
738
738
|
he.displayName = "ReadOnlyTextField";
|
|
739
739
|
const eo = v(
|
|
740
|
-
function({ value:
|
|
741
|
-
let
|
|
742
|
-
const d = N(
|
|
740
|
+
function({ value: e, type: n = "text", emptyValueComponent: s, overStyled: o = !1, ...t }, l) {
|
|
741
|
+
let c = null;
|
|
742
|
+
const d = N(t, o), i = s || Ne, m = (i.check ? i.check(e) : Ne.check(e)) ? /* @__PURE__ */ r(i, { value: e }) : e;
|
|
743
743
|
switch (n) {
|
|
744
744
|
case "boolean":
|
|
745
|
-
|
|
745
|
+
c = /* @__PURE__ */ r(
|
|
746
746
|
he,
|
|
747
747
|
{
|
|
748
|
-
value:
|
|
749
|
-
overStyled:
|
|
748
|
+
value: e === !0 ? "True" : e === !1 ? "False" : m,
|
|
749
|
+
overStyled: o
|
|
750
750
|
}
|
|
751
751
|
);
|
|
752
752
|
break;
|
|
753
753
|
case "switch":
|
|
754
|
-
|
|
754
|
+
c = /* @__PURE__ */ r(
|
|
755
755
|
he,
|
|
756
756
|
{
|
|
757
|
-
value:
|
|
758
|
-
overStyled:
|
|
757
|
+
value: e === !0 ? "On" : e === !1 ? "Off" : m,
|
|
758
|
+
overStyled: o
|
|
759
759
|
}
|
|
760
760
|
);
|
|
761
761
|
break;
|
|
762
762
|
case "text":
|
|
763
763
|
default:
|
|
764
|
-
|
|
764
|
+
c = /* @__PURE__ */ r(
|
|
765
765
|
he,
|
|
766
766
|
{
|
|
767
767
|
value: m,
|
|
768
|
-
overStyled:
|
|
768
|
+
overStyled: o
|
|
769
769
|
}
|
|
770
770
|
);
|
|
771
771
|
break;
|
|
772
772
|
}
|
|
773
|
-
return /* @__PURE__ */
|
|
773
|
+
return /* @__PURE__ */ r(
|
|
774
774
|
fe,
|
|
775
775
|
{
|
|
776
776
|
ref: l,
|
|
777
|
-
overStyled:
|
|
777
|
+
overStyled: o,
|
|
778
778
|
...d,
|
|
779
|
-
children:
|
|
779
|
+
children: c
|
|
780
780
|
}
|
|
781
781
|
);
|
|
782
782
|
}
|
|
783
783
|
);
|
|
784
784
|
eo.displayName = "ReadOnlyField";
|
|
785
|
-
const
|
|
786
|
-
readOnly:
|
|
785
|
+
const te = v(function({
|
|
786
|
+
readOnly: e,
|
|
787
787
|
readOnlyComponent: n,
|
|
788
788
|
readOnlyType: s = "text",
|
|
789
|
-
readOnlyValue:
|
|
790
|
-
readOnlyNativeProps:
|
|
789
|
+
readOnlyValue: o,
|
|
790
|
+
readOnlyNativeProps: t,
|
|
791
791
|
emptyValueComponent: l,
|
|
792
|
-
activeComponent:
|
|
792
|
+
activeComponent: c,
|
|
793
793
|
overStyled: d,
|
|
794
|
-
onLabelEditClick:
|
|
794
|
+
onLabelEditClick: i,
|
|
795
795
|
...p
|
|
796
796
|
}, m) {
|
|
797
|
-
return
|
|
797
|
+
return e ? n ? /* @__PURE__ */ r(
|
|
798
798
|
fe,
|
|
799
799
|
{
|
|
800
800
|
ref: m,
|
|
801
801
|
...p,
|
|
802
|
-
onLabelEditClick:
|
|
802
|
+
onLabelEditClick: i,
|
|
803
803
|
overStyled: d,
|
|
804
|
-
children: /* @__PURE__ */
|
|
804
|
+
children: /* @__PURE__ */ r(n, { ...t })
|
|
805
805
|
}
|
|
806
|
-
) : /* @__PURE__ */
|
|
806
|
+
) : /* @__PURE__ */ r(
|
|
807
807
|
eo,
|
|
808
808
|
{
|
|
809
809
|
ref: m,
|
|
810
810
|
type: s,
|
|
811
|
-
value:
|
|
811
|
+
value: o,
|
|
812
812
|
emptyValueComponent: l,
|
|
813
|
-
onLabelEditClick:
|
|
813
|
+
onLabelEditClick: i,
|
|
814
814
|
overStyled: d,
|
|
815
815
|
...p
|
|
816
816
|
}
|
|
817
|
-
) : /* @__PURE__ */
|
|
817
|
+
) : /* @__PURE__ */ r(
|
|
818
818
|
fe,
|
|
819
819
|
{
|
|
820
820
|
ref: m,
|
|
821
821
|
...p,
|
|
822
|
-
onLabelEditClick:
|
|
822
|
+
onLabelEditClick: i,
|
|
823
823
|
overStyled: d,
|
|
824
|
-
children:
|
|
824
|
+
children: c
|
|
825
825
|
}
|
|
826
826
|
);
|
|
827
827
|
});
|
|
828
|
-
|
|
828
|
+
te.displayName = "WithReadOnlyWrapper";
|
|
829
829
|
const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___mY3qk", Ut = "Checkbox-module__body___5yC7q", Yt = "Checkbox-module__inner___rTke4", Zt = "Checkbox-module__input___2kt-h", Kt = "Checkbox-module__icon___-O7i6", Qt = "Checkbox-module__labelWrapper___GpZkr", Xt = "Checkbox-module__label___cwRtI", T = {
|
|
830
830
|
groupRoot: qt,
|
|
831
831
|
root: Ht,
|
|
@@ -836,16 +836,16 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
836
836
|
labelWrapper: Qt,
|
|
837
837
|
label: Xt
|
|
838
838
|
}, oo = v(
|
|
839
|
-
function(
|
|
839
|
+
function(e, n) {
|
|
840
840
|
const {
|
|
841
841
|
overStyled: s = !1,
|
|
842
|
-
formLayout:
|
|
842
|
+
formLayout: o = "stacked",
|
|
843
843
|
// Label Wrappers
|
|
844
|
-
labelSize:
|
|
844
|
+
labelSize: t,
|
|
845
845
|
labelAlignment: l,
|
|
846
|
-
labelOptionalText:
|
|
846
|
+
labelOptionalText: c,
|
|
847
847
|
labelWithEditIcon: d,
|
|
848
|
-
onLabelEditClick:
|
|
848
|
+
onLabelEditClick: i,
|
|
849
849
|
// Base Mantine Extracted Attributes
|
|
850
850
|
label: p,
|
|
851
851
|
description: m,
|
|
@@ -864,9 +864,9 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
864
864
|
value: x,
|
|
865
865
|
defaultValue: I,
|
|
866
866
|
...R
|
|
867
|
-
} =
|
|
868
|
-
return delete P.size, /* @__PURE__ */
|
|
869
|
-
|
|
867
|
+
} = e, k = N(R, s), P = k;
|
|
868
|
+
return delete P.size, /* @__PURE__ */ r(
|
|
869
|
+
te,
|
|
870
870
|
{
|
|
871
871
|
className: w,
|
|
872
872
|
style: b,
|
|
@@ -874,12 +874,12 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
874
874
|
controlMinWidth: void 0,
|
|
875
875
|
overStyled: s,
|
|
876
876
|
labelElement: "div",
|
|
877
|
-
formLayout:
|
|
878
|
-
labelSize:
|
|
877
|
+
formLayout: o,
|
|
878
|
+
labelSize: t,
|
|
879
879
|
labelAlignment: l,
|
|
880
|
-
labelOptionalText:
|
|
880
|
+
labelOptionalText: c,
|
|
881
881
|
labelWithEditIcon: d,
|
|
882
|
-
onLabelEditClick:
|
|
882
|
+
onLabelEditClick: i,
|
|
883
883
|
label: p,
|
|
884
884
|
description: m,
|
|
885
885
|
assistiveText: y,
|
|
@@ -893,8 +893,8 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
893
893
|
emptyValueComponent: S,
|
|
894
894
|
readOnlyType: "text",
|
|
895
895
|
readOnlyValue: x !== void 0 ? x : I,
|
|
896
|
-
readOnlyNativeProps:
|
|
897
|
-
activeComponent: /* @__PURE__ */
|
|
896
|
+
readOnlyNativeProps: e,
|
|
897
|
+
activeComponent: /* @__PURE__ */ r(
|
|
898
898
|
Ee.Group,
|
|
899
899
|
{
|
|
900
900
|
ref: n,
|
|
@@ -902,7 +902,7 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
902
902
|
disabled: $ || P.disabled,
|
|
903
903
|
value: x,
|
|
904
904
|
defaultValue: I,
|
|
905
|
-
children: /* @__PURE__ */
|
|
905
|
+
children: /* @__PURE__ */ r("div", { className: T.groupRoot, "data-layout": o, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
|
|
906
906
|
disabled: $ || g.props.disabled
|
|
907
907
|
}) : g) })
|
|
908
908
|
}
|
|
@@ -913,18 +913,18 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
913
913
|
);
|
|
914
914
|
oo.displayName = "CheckboxGroup";
|
|
915
915
|
const to = v(
|
|
916
|
-
function(
|
|
916
|
+
function(e, n) {
|
|
917
917
|
const {
|
|
918
918
|
overStyled: s = !1,
|
|
919
|
-
readOnly:
|
|
920
|
-
readOnlyComponent:
|
|
919
|
+
readOnly: o,
|
|
920
|
+
readOnlyComponent: t,
|
|
921
921
|
disabled: l,
|
|
922
|
-
formLayout:
|
|
922
|
+
formLayout: c,
|
|
923
923
|
labelSize: d,
|
|
924
|
-
controlMaxWidth:
|
|
924
|
+
controlMaxWidth: i,
|
|
925
925
|
controlMinWidth: p,
|
|
926
926
|
...m
|
|
927
|
-
} =
|
|
927
|
+
} = e, y = N(m, s), u = y;
|
|
928
928
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
929
929
|
const _ = {
|
|
930
930
|
root: T.root,
|
|
@@ -940,42 +940,42 @@ const to = v(
|
|
|
940
940
|
_.root = b.root ? `${T.root} ${b.root}` : T.root, _.body = b.body ? `${T.body} ${b.body}` : T.body, _.inner = b.inner ? `${T.inner} ${b.inner}` : T.inner, _.input = b.input ? `${T.input} ${b.input}` : T.input, _.icon = b.icon ? `${T.icon} ${b.icon}` : T.icon, _.labelWrapper = b.labelWrapper ? `${T.labelWrapper} ${b.labelWrapper}` : T.labelWrapper, _.label = b.label ? `${T.label} ${b.label}` : T.label;
|
|
941
941
|
}
|
|
942
942
|
const C = u.className, h = C ? `${T.root} ${C}` : T.root;
|
|
943
|
-
if (
|
|
944
|
-
const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */
|
|
945
|
-
|
|
943
|
+
if (o && t) {
|
|
944
|
+
const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */ r(
|
|
945
|
+
t,
|
|
946
946
|
{
|
|
947
|
-
...
|
|
947
|
+
...e,
|
|
948
948
|
checked: b,
|
|
949
949
|
label: u.label
|
|
950
950
|
}
|
|
951
951
|
);
|
|
952
|
-
return
|
|
953
|
-
|
|
952
|
+
return c ? /* @__PURE__ */ r(
|
|
953
|
+
ee,
|
|
954
954
|
{
|
|
955
|
-
formLayout:
|
|
955
|
+
formLayout: c,
|
|
956
956
|
labelSize: d,
|
|
957
|
-
controlMaxWidth:
|
|
957
|
+
controlMaxWidth: i,
|
|
958
958
|
controlMinWidth: p,
|
|
959
959
|
children: $
|
|
960
960
|
}
|
|
961
|
-
) : /* @__PURE__ */
|
|
961
|
+
) : /* @__PURE__ */ r(_e, { children: $ });
|
|
962
962
|
}
|
|
963
|
-
const w = /* @__PURE__ */
|
|
963
|
+
const w = /* @__PURE__ */ r(
|
|
964
964
|
Ee,
|
|
965
965
|
{
|
|
966
966
|
ref: n,
|
|
967
967
|
className: h,
|
|
968
968
|
classNames: _,
|
|
969
|
-
disabled:
|
|
969
|
+
disabled: o || l,
|
|
970
970
|
...y
|
|
971
971
|
}
|
|
972
972
|
);
|
|
973
|
-
return
|
|
974
|
-
|
|
973
|
+
return c ? /* @__PURE__ */ r(
|
|
974
|
+
ee,
|
|
975
975
|
{
|
|
976
|
-
formLayout:
|
|
976
|
+
formLayout: c,
|
|
977
977
|
labelSize: d,
|
|
978
|
-
controlMaxWidth:
|
|
978
|
+
controlMaxWidth: i,
|
|
979
979
|
controlMinWidth: p,
|
|
980
980
|
children: w
|
|
981
981
|
}
|
|
@@ -1008,22 +1008,22 @@ function nr(a) {
|
|
|
1008
1008
|
strokeLinejoin: "round",
|
|
1009
1009
|
...a,
|
|
1010
1010
|
children: [
|
|
1011
|
-
/* @__PURE__ */
|
|
1012
|
-
/* @__PURE__ */
|
|
1011
|
+
/* @__PURE__ */ r("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1012
|
+
/* @__PURE__ */ r("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
1013
1013
|
]
|
|
1014
1014
|
}
|
|
1015
1015
|
);
|
|
1016
1016
|
}
|
|
1017
1017
|
const lr = v(function({
|
|
1018
|
-
error:
|
|
1018
|
+
error: e = !1,
|
|
1019
1019
|
icon: n,
|
|
1020
1020
|
onRemove: s,
|
|
1021
|
-
removeLabel:
|
|
1022
|
-
children:
|
|
1021
|
+
removeLabel: o = "Remove",
|
|
1022
|
+
children: t,
|
|
1023
1023
|
overStyled: l = !1,
|
|
1024
|
-
...
|
|
1024
|
+
...c
|
|
1025
1025
|
}, d) {
|
|
1026
|
-
const
|
|
1026
|
+
const i = N(c, l), p = i, m = {
|
|
1027
1027
|
root: M.root,
|
|
1028
1028
|
label: M.label,
|
|
1029
1029
|
input: M.input,
|
|
@@ -1035,19 +1035,19 @@ const lr = v(function({
|
|
|
1035
1035
|
m.root = h.root ? `${M.root} ${h.root}` : M.root, m.label = h.label ? `${M.label} ${h.label}` : M.label;
|
|
1036
1036
|
}
|
|
1037
1037
|
const u = p.className, _ = u ? `${M.root} ${u}` : M.root;
|
|
1038
|
-
return /* @__PURE__ */
|
|
1038
|
+
return /* @__PURE__ */ r(
|
|
1039
1039
|
Lo,
|
|
1040
1040
|
{
|
|
1041
1041
|
ref: d,
|
|
1042
1042
|
className: _,
|
|
1043
1043
|
classNames: m,
|
|
1044
|
-
...(
|
|
1045
|
-
...!
|
|
1046
|
-
...
|
|
1044
|
+
...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1045
|
+
...!t && (!!n || !!s) ? { "data-icon-only": "" } : {},
|
|
1046
|
+
...i,
|
|
1047
1047
|
children: /* @__PURE__ */ E("span", { className: M.innerWrapper, children: [
|
|
1048
|
-
n && /* @__PURE__ */
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
s && /* @__PURE__ */
|
|
1048
|
+
n && /* @__PURE__ */ r("span", { className: M.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1049
|
+
/* @__PURE__ */ r("span", { className: M.children, children: t }),
|
|
1050
|
+
s && /* @__PURE__ */ r(
|
|
1051
1051
|
"span",
|
|
1052
1052
|
{
|
|
1053
1053
|
role: "button",
|
|
@@ -1055,14 +1055,14 @@ const lr = v(function({
|
|
|
1055
1055
|
onClick: (h) => {
|
|
1056
1056
|
h.preventDefault(), h.stopPropagation(), s(h);
|
|
1057
1057
|
},
|
|
1058
|
-
"aria-label":
|
|
1058
|
+
"aria-label": o,
|
|
1059
1059
|
onKeyDown: (h) => {
|
|
1060
1060
|
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), s(
|
|
1061
1061
|
h
|
|
1062
1062
|
));
|
|
1063
1063
|
},
|
|
1064
1064
|
tabIndex: 0,
|
|
1065
|
-
children: /* @__PURE__ */
|
|
1065
|
+
children: /* @__PURE__ */ r(nr, {})
|
|
1066
1066
|
}
|
|
1067
1067
|
)
|
|
1068
1068
|
] })
|
|
@@ -1070,56 +1070,56 @@ const lr = v(function({
|
|
|
1070
1070
|
);
|
|
1071
1071
|
});
|
|
1072
1072
|
lr.displayName = "Chip";
|
|
1073
|
-
const
|
|
1074
|
-
root:
|
|
1075
|
-
},
|
|
1076
|
-
function({ children:
|
|
1077
|
-
const l = N(
|
|
1073
|
+
const cr = "Container-module__root___UVssr", ce = {
|
|
1074
|
+
root: cr
|
|
1075
|
+
}, ir = v(
|
|
1076
|
+
function({ children: e, size: n, overStyled: s = !1, ...o }, t) {
|
|
1077
|
+
const l = N(o, s), c = l, d = {
|
|
1078
1078
|
"rec-sm": "sm",
|
|
1079
1079
|
"rec-default": "md",
|
|
1080
1080
|
"rec-md": "md",
|
|
1081
1081
|
"rec-lg": "lg",
|
|
1082
1082
|
"rec-xl": "xl",
|
|
1083
1083
|
"rec-2xl": "xl"
|
|
1084
|
-
},
|
|
1085
|
-
root:
|
|
1086
|
-
}, m =
|
|
1084
|
+
}, i = typeof n == "string" && d[n] ? d[n] : n, p = {
|
|
1085
|
+
root: ce.root
|
|
1086
|
+
}, m = c.classNames;
|
|
1087
1087
|
if (m && typeof m == "object" && !Array.isArray(m)) {
|
|
1088
1088
|
const _ = m;
|
|
1089
|
-
p.root = _.root ? `${
|
|
1089
|
+
p.root = _.root ? `${ce.root} ${_.root}` : ce.root;
|
|
1090
1090
|
}
|
|
1091
|
-
const y =
|
|
1092
|
-
return /* @__PURE__ */
|
|
1091
|
+
const y = c.className, u = y ? `${ce.root} ${y}` : ce.root;
|
|
1092
|
+
return /* @__PURE__ */ r(
|
|
1093
1093
|
Mo,
|
|
1094
1094
|
{
|
|
1095
|
-
ref:
|
|
1096
|
-
size:
|
|
1095
|
+
ref: t,
|
|
1096
|
+
size: i,
|
|
1097
1097
|
className: u,
|
|
1098
1098
|
classNames: p,
|
|
1099
1099
|
...l,
|
|
1100
|
-
children:
|
|
1100
|
+
children: e
|
|
1101
1101
|
}
|
|
1102
1102
|
);
|
|
1103
1103
|
}
|
|
1104
1104
|
);
|
|
1105
|
-
|
|
1106
|
-
const
|
|
1105
|
+
ir.displayName = "Container";
|
|
1106
|
+
const Os = (a) => /* @__PURE__ */ r("div", { ...a, children: "DatePicker" }), dr = "Dropdown-module__root___uVyL0", pr = "Dropdown-module__input___dK4dN", mr = "Dropdown-module__section___j3MRB", ur = "Dropdown-module__dropdown___gG-Sw", _r = "Dropdown-module__option___nAGU-", F = {
|
|
1107
1107
|
root: dr,
|
|
1108
1108
|
input: pr,
|
|
1109
1109
|
section: mr,
|
|
1110
1110
|
dropdown: ur,
|
|
1111
1111
|
option: _r
|
|
1112
1112
|
}, br = v(
|
|
1113
|
-
function(
|
|
1113
|
+
function(e, n) {
|
|
1114
1114
|
const {
|
|
1115
1115
|
overStyled: s = !1,
|
|
1116
|
-
formLayout:
|
|
1117
|
-
containerWidth:
|
|
1116
|
+
formLayout: o = "stacked",
|
|
1117
|
+
containerWidth: t,
|
|
1118
1118
|
// Label & Wrapper Maps
|
|
1119
1119
|
labelSize: l,
|
|
1120
|
-
labelAlignment:
|
|
1120
|
+
labelAlignment: c,
|
|
1121
1121
|
labelOptionalText: d,
|
|
1122
|
-
labelWithEditIcon:
|
|
1122
|
+
labelWithEditIcon: i,
|
|
1123
1123
|
onLabelEditClick: p,
|
|
1124
1124
|
label: m,
|
|
1125
1125
|
assistiveText: y,
|
|
@@ -1138,7 +1138,7 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
1138
1138
|
defaultValue: I,
|
|
1139
1139
|
data: R,
|
|
1140
1140
|
...k
|
|
1141
|
-
} =
|
|
1141
|
+
} = e, P = N(k, s), g = P;
|
|
1142
1142
|
delete g.size, delete g.variant, delete g.radius;
|
|
1143
1143
|
const z = {
|
|
1144
1144
|
wrapper: F.root,
|
|
@@ -1147,28 +1147,28 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
1147
1147
|
section: F.section,
|
|
1148
1148
|
dropdown: F.dropdown,
|
|
1149
1149
|
option: F.option
|
|
1150
|
-
},
|
|
1151
|
-
if (
|
|
1152
|
-
const j =
|
|
1150
|
+
}, re = g.classNames;
|
|
1151
|
+
if (re && typeof re == "object" && !Array.isArray(re)) {
|
|
1152
|
+
const j = re;
|
|
1153
1153
|
z.wrapper = j.wrapper ? `${F.root} ${j.wrapper}` : F.root, z.input = j.input ? `${F.input} ${j.input}` : F.input, z.section = j.section ? `${F.section} ${j.section}` : F.section, z.dropdown = j.dropdown ? `${F.dropdown} ${j.dropdown}` : F.dropdown, z.option = j.option ? `${F.option} ${j.option}` : F.option;
|
|
1154
1154
|
}
|
|
1155
1155
|
const be = {
|
|
1156
1156
|
...b || {},
|
|
1157
|
-
width:
|
|
1157
|
+
width: t || "100%"
|
|
1158
1158
|
};
|
|
1159
|
-
return /* @__PURE__ */
|
|
1160
|
-
|
|
1159
|
+
return /* @__PURE__ */ r(
|
|
1160
|
+
te,
|
|
1161
1161
|
{
|
|
1162
1162
|
className: w,
|
|
1163
1163
|
style: be,
|
|
1164
1164
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1165
1165
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
1166
1166
|
overStyled: s,
|
|
1167
|
-
formLayout:
|
|
1167
|
+
formLayout: o,
|
|
1168
1168
|
labelSize: l,
|
|
1169
|
-
labelAlignment:
|
|
1169
|
+
labelAlignment: c,
|
|
1170
1170
|
labelOptionalText: d,
|
|
1171
|
-
labelWithEditIcon:
|
|
1171
|
+
labelWithEditIcon: i,
|
|
1172
1172
|
onLabelEditClick: p,
|
|
1173
1173
|
label: m,
|
|
1174
1174
|
assistiveText: y,
|
|
@@ -1182,10 +1182,10 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
1182
1182
|
emptyValueComponent: S,
|
|
1183
1183
|
readOnlyType: "text",
|
|
1184
1184
|
readOnlyValue: x !== void 0 ? String(x) : I ? String(I) : void 0,
|
|
1185
|
-
readOnlyNativeProps:
|
|
1185
|
+
readOnlyNativeProps: e,
|
|
1186
1186
|
activeComponent: (
|
|
1187
1187
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1188
|
-
/* @__PURE__ */
|
|
1188
|
+
/* @__PURE__ */ r(
|
|
1189
1189
|
Fo,
|
|
1190
1190
|
{
|
|
1191
1191
|
ref: n,
|
|
@@ -1212,48 +1212,48 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
1212
1212
|
}
|
|
1213
1213
|
);
|
|
1214
1214
|
br.displayName = "Dropdown";
|
|
1215
|
-
const
|
|
1215
|
+
const Is = (a) => /* @__PURE__ */ r("div", { ...a, children: "FileInput" }), zs = (a) => /* @__PURE__ */ r("div", { ...a, children: "FileUpload" }), yr = "Flex-module__root___yYser", ie = {
|
|
1216
1216
|
root: yr
|
|
1217
|
-
}, ro = v(function({ children:
|
|
1218
|
-
const l = N({ ...
|
|
1219
|
-
root:
|
|
1220
|
-
},
|
|
1221
|
-
if (
|
|
1222
|
-
const y =
|
|
1223
|
-
d.root = y.root ? `${
|
|
1217
|
+
}, ro = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
|
|
1218
|
+
const l = N({ ...o, gap: s }, n), c = l, d = {
|
|
1219
|
+
root: ie.root
|
|
1220
|
+
}, i = c.classNames;
|
|
1221
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1222
|
+
const y = i;
|
|
1223
|
+
d.root = y.root ? `${ie.root} ${y.root}` : ie.root;
|
|
1224
1224
|
}
|
|
1225
|
-
const p =
|
|
1226
|
-
return /* @__PURE__ */
|
|
1225
|
+
const p = c.className, m = p ? `${ie.root} ${p}` : ie.root;
|
|
1226
|
+
return /* @__PURE__ */ r(
|
|
1227
1227
|
Eo,
|
|
1228
1228
|
{
|
|
1229
|
-
ref:
|
|
1229
|
+
ref: t,
|
|
1230
1230
|
className: m,
|
|
1231
1231
|
classNames: d,
|
|
1232
1232
|
...l,
|
|
1233
|
-
children:
|
|
1233
|
+
children: e
|
|
1234
1234
|
}
|
|
1235
1235
|
);
|
|
1236
1236
|
});
|
|
1237
1237
|
ro.displayName = "Flex";
|
|
1238
|
-
const
|
|
1238
|
+
const Rs = oe(ro), hr = "Group-module__root___ftO64", de = {
|
|
1239
1239
|
root: hr
|
|
1240
|
-
}, fr = v(function({ children:
|
|
1241
|
-
const l = N({ ...
|
|
1240
|
+
}, fr = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
|
|
1241
|
+
const l = N({ ...o, gap: s }, n), c = l, d = {
|
|
1242
1242
|
root: de.root
|
|
1243
|
-
},
|
|
1244
|
-
if (
|
|
1245
|
-
const y =
|
|
1243
|
+
}, i = c.classNames;
|
|
1244
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1245
|
+
const y = i;
|
|
1246
1246
|
d.root = y.root ? `${de.root} ${y.root}` : de.root;
|
|
1247
1247
|
}
|
|
1248
|
-
const p =
|
|
1249
|
-
return /* @__PURE__ */
|
|
1248
|
+
const p = c.className, m = p ? `${de.root} ${p}` : de.root;
|
|
1249
|
+
return /* @__PURE__ */ r(
|
|
1250
1250
|
Bo,
|
|
1251
1251
|
{
|
|
1252
|
-
ref:
|
|
1252
|
+
ref: t,
|
|
1253
1253
|
className: m,
|
|
1254
1254
|
classNames: d,
|
|
1255
1255
|
...l,
|
|
1256
|
-
children:
|
|
1256
|
+
children: e
|
|
1257
1257
|
}
|
|
1258
1258
|
);
|
|
1259
1259
|
});
|
|
@@ -1262,46 +1262,46 @@ const Nr = "HoverCard-module__dropdown___FBPFW", $r = "HoverCard-module__arrow__
|
|
|
1262
1262
|
dropdown: Nr,
|
|
1263
1263
|
arrow: $r
|
|
1264
1264
|
}, so = function({
|
|
1265
|
-
overStyled:
|
|
1265
|
+
overStyled: e = !1,
|
|
1266
1266
|
withBeak: n = !0,
|
|
1267
1267
|
...s
|
|
1268
1268
|
}) {
|
|
1269
|
-
const
|
|
1269
|
+
const o = N(s, e), t = {
|
|
1270
1270
|
dropdown: Le.dropdown,
|
|
1271
1271
|
arrow: Le.arrow
|
|
1272
|
-
}, l =
|
|
1272
|
+
}, l = o.classNames;
|
|
1273
1273
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
1274
1274
|
const p = l;
|
|
1275
1275
|
Object.keys(p).forEach((m) => {
|
|
1276
|
-
|
|
1276
|
+
t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
|
|
1277
1277
|
});
|
|
1278
1278
|
}
|
|
1279
|
-
const
|
|
1280
|
-
return /* @__PURE__ */
|
|
1279
|
+
const c = o.arrowSize ?? 16, d = o.withArrow;
|
|
1280
|
+
return /* @__PURE__ */ r(
|
|
1281
1281
|
We,
|
|
1282
1282
|
{
|
|
1283
1283
|
position: "top",
|
|
1284
|
-
arrowSize:
|
|
1284
|
+
arrowSize: c,
|
|
1285
1285
|
withArrow: n ?? d,
|
|
1286
|
-
classNames:
|
|
1287
|
-
...
|
|
1286
|
+
classNames: t,
|
|
1287
|
+
...o
|
|
1288
1288
|
}
|
|
1289
1289
|
);
|
|
1290
1290
|
};
|
|
1291
1291
|
so.displayName = "HoverCard";
|
|
1292
|
-
const ao = function(
|
|
1293
|
-
return /* @__PURE__ */
|
|
1292
|
+
const ao = function(e) {
|
|
1293
|
+
return /* @__PURE__ */ r(We.Target, { ...e });
|
|
1294
1294
|
};
|
|
1295
1295
|
ao.displayName = "HoverCardTarget";
|
|
1296
1296
|
const no = function({
|
|
1297
|
-
overStyled:
|
|
1297
|
+
overStyled: e = !1,
|
|
1298
1298
|
...n
|
|
1299
1299
|
}) {
|
|
1300
|
-
const s = N(n,
|
|
1301
|
-
return /* @__PURE__ */
|
|
1300
|
+
const s = N(n, e), o = s.className;
|
|
1301
|
+
return /* @__PURE__ */ r(
|
|
1302
1302
|
We.Dropdown,
|
|
1303
1303
|
{
|
|
1304
|
-
className:
|
|
1304
|
+
className: o,
|
|
1305
1305
|
...s
|
|
1306
1306
|
}
|
|
1307
1307
|
);
|
|
@@ -1310,39 +1310,39 @@ no.displayName = "HoverCardDropdown";
|
|
|
1310
1310
|
const lo = so;
|
|
1311
1311
|
lo.Target = ao;
|
|
1312
1312
|
lo.Dropdown = no;
|
|
1313
|
-
const
|
|
1313
|
+
const Ls = (a) => /* @__PURE__ */ r("div", { ...a, children: "Link" }), vr = "Loader-module__root___6iYOP", pe = {
|
|
1314
1314
|
root: vr
|
|
1315
|
-
}, Cr = v(function({ variant:
|
|
1316
|
-
const
|
|
1315
|
+
}, Cr = v(function({ variant: e = "oval", size: n = "default", overStyled: s = !1, ...o }, t) {
|
|
1316
|
+
const c = {
|
|
1317
1317
|
sm: "small",
|
|
1318
1318
|
md: "default",
|
|
1319
1319
|
lg: "large",
|
|
1320
1320
|
small: "small",
|
|
1321
1321
|
default: "default",
|
|
1322
1322
|
large: "large"
|
|
1323
|
-
}[n] || "default", d = N(
|
|
1323
|
+
}[n] || "default", d = N(o, s), i = {
|
|
1324
1324
|
root: pe.root
|
|
1325
1325
|
}, p = d.classNames;
|
|
1326
1326
|
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
1327
1327
|
const u = p;
|
|
1328
|
-
|
|
1328
|
+
i.root = u.root ? `${pe.root} ${u.root}` : pe.root;
|
|
1329
1329
|
}
|
|
1330
1330
|
const m = d.className, y = m ? `${pe.root} ${m}` : pe.root;
|
|
1331
|
-
return /* @__PURE__ */
|
|
1331
|
+
return /* @__PURE__ */ r(
|
|
1332
1332
|
jo,
|
|
1333
1333
|
{
|
|
1334
|
-
ref:
|
|
1335
|
-
type:
|
|
1336
|
-
"data-variant":
|
|
1337
|
-
"data-size":
|
|
1334
|
+
ref: t,
|
|
1335
|
+
type: e,
|
|
1336
|
+
"data-variant": e,
|
|
1337
|
+
"data-size": c,
|
|
1338
1338
|
...d,
|
|
1339
1339
|
className: y,
|
|
1340
|
-
classNames:
|
|
1340
|
+
classNames: i
|
|
1341
1341
|
}
|
|
1342
1342
|
);
|
|
1343
1343
|
});
|
|
1344
1344
|
Cr.displayName = "Loader";
|
|
1345
|
-
const wr = "Menu-module__dropdown___j4xuA", gr = "Menu-module__item___NMXha", Pr = "Menu-module__itemLabel___zvcqC", xr = "Menu-module__itemSection___pRIcn", Ar = "Menu-module__divider___wPiNq", Wr = "Menu-module__label___4FBGa", Sr = "Menu-module__chevron___hEEiy",
|
|
1345
|
+
const wr = "Menu-module__dropdown___j4xuA", gr = "Menu-module__item___NMXha", Pr = "Menu-module__itemLabel___zvcqC", xr = "Menu-module__itemSection___pRIcn", Ar = "Menu-module__divider___wPiNq", Wr = "Menu-module__label___4FBGa", Sr = "Menu-module__chevron___hEEiy", se = {
|
|
1346
1346
|
dropdown: wr,
|
|
1347
1347
|
item: gr,
|
|
1348
1348
|
itemLabel: Pr,
|
|
@@ -1350,126 +1350,126 @@ const wr = "Menu-module__dropdown___j4xuA", gr = "Menu-module__item___NMXha", Pr
|
|
|
1350
1350
|
divider: Ar,
|
|
1351
1351
|
label: Wr,
|
|
1352
1352
|
chevron: Sr
|
|
1353
|
-
},
|
|
1354
|
-
const s = N(n,
|
|
1355
|
-
dropdown:
|
|
1356
|
-
item:
|
|
1357
|
-
itemLabel:
|
|
1358
|
-
itemSection:
|
|
1359
|
-
divider:
|
|
1360
|
-
label:
|
|
1361
|
-
chevron:
|
|
1362
|
-
},
|
|
1363
|
-
if (
|
|
1364
|
-
const l =
|
|
1365
|
-
Object.keys(l).forEach((
|
|
1366
|
-
|
|
1353
|
+
}, co = function({ overStyled: e = !1, ...n }) {
|
|
1354
|
+
const s = N(n, e), o = {
|
|
1355
|
+
dropdown: se.dropdown,
|
|
1356
|
+
item: se.item,
|
|
1357
|
+
itemLabel: se.itemLabel,
|
|
1358
|
+
itemSection: se.itemSection,
|
|
1359
|
+
divider: se.divider,
|
|
1360
|
+
label: se.label,
|
|
1361
|
+
chevron: se.chevron
|
|
1362
|
+
}, t = s.classNames;
|
|
1363
|
+
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
1364
|
+
const l = t;
|
|
1365
|
+
Object.keys(l).forEach((c) => {
|
|
1366
|
+
o[c] ? o[c] = `${o[c]} ${l[c]}` : o[c] = l[c];
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
|
-
return /* @__PURE__ */
|
|
1369
|
+
return /* @__PURE__ */ r(
|
|
1370
1370
|
q,
|
|
1371
1371
|
{
|
|
1372
|
-
classNames:
|
|
1372
|
+
classNames: o,
|
|
1373
1373
|
...s
|
|
1374
1374
|
}
|
|
1375
1375
|
);
|
|
1376
1376
|
};
|
|
1377
|
-
|
|
1378
|
-
const
|
|
1379
|
-
return /* @__PURE__ */
|
|
1377
|
+
co.displayName = "Menu";
|
|
1378
|
+
const io = function(e) {
|
|
1379
|
+
return /* @__PURE__ */ r(q.Target, { ...e });
|
|
1380
1380
|
};
|
|
1381
|
-
|
|
1381
|
+
io.displayName = "MenuTarget";
|
|
1382
1382
|
const po = v(
|
|
1383
|
-
function({ overStyled:
|
|
1384
|
-
const
|
|
1385
|
-
return /* @__PURE__ */
|
|
1383
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1384
|
+
const o = N(n, e), t = o.className;
|
|
1385
|
+
return /* @__PURE__ */ r(
|
|
1386
1386
|
q.Dropdown,
|
|
1387
1387
|
{
|
|
1388
1388
|
ref: s,
|
|
1389
|
-
className:
|
|
1390
|
-
...
|
|
1389
|
+
className: t,
|
|
1390
|
+
...o
|
|
1391
1391
|
}
|
|
1392
1392
|
);
|
|
1393
1393
|
}
|
|
1394
1394
|
);
|
|
1395
1395
|
po.displayName = "MenuDropdown";
|
|
1396
1396
|
const mo = v(
|
|
1397
|
-
function({ overStyled:
|
|
1398
|
-
const
|
|
1399
|
-
|
|
1400
|
-
const l =
|
|
1401
|
-
return /* @__PURE__ */
|
|
1397
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1398
|
+
const o = N(n, e), t = o;
|
|
1399
|
+
e || delete t.color;
|
|
1400
|
+
const l = t.className;
|
|
1401
|
+
return /* @__PURE__ */ r(
|
|
1402
1402
|
q.Item,
|
|
1403
1403
|
{
|
|
1404
1404
|
ref: s,
|
|
1405
1405
|
className: l,
|
|
1406
|
-
...
|
|
1406
|
+
...o
|
|
1407
1407
|
}
|
|
1408
1408
|
);
|
|
1409
1409
|
}
|
|
1410
1410
|
);
|
|
1411
1411
|
mo.displayName = "MenuItem";
|
|
1412
|
-
const kr =
|
|
1413
|
-
function({ overStyled:
|
|
1414
|
-
const
|
|
1415
|
-
return /* @__PURE__ */
|
|
1412
|
+
const kr = oe(mo), uo = v(
|
|
1413
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1414
|
+
const o = N(n, e), t = o.className;
|
|
1415
|
+
return /* @__PURE__ */ r(
|
|
1416
1416
|
q.Divider,
|
|
1417
1417
|
{
|
|
1418
1418
|
ref: s,
|
|
1419
|
-
className:
|
|
1420
|
-
...
|
|
1419
|
+
className: t,
|
|
1420
|
+
...o
|
|
1421
1421
|
}
|
|
1422
1422
|
);
|
|
1423
1423
|
}
|
|
1424
1424
|
);
|
|
1425
1425
|
uo.displayName = "MenuDivider";
|
|
1426
|
-
const _o = v(function({ overStyled:
|
|
1427
|
-
const
|
|
1428
|
-
return /* @__PURE__ */
|
|
1426
|
+
const _o = v(function({ overStyled: e = !1, ...n }, s) {
|
|
1427
|
+
const o = N(n, e), t = o.className;
|
|
1428
|
+
return /* @__PURE__ */ r(
|
|
1429
1429
|
q.Label,
|
|
1430
1430
|
{
|
|
1431
1431
|
ref: s,
|
|
1432
|
-
className:
|
|
1433
|
-
...
|
|
1432
|
+
className: t,
|
|
1433
|
+
...o
|
|
1434
1434
|
}
|
|
1435
1435
|
);
|
|
1436
1436
|
});
|
|
1437
1437
|
_o.displayName = "MenuLabel";
|
|
1438
|
-
const bo = function(
|
|
1439
|
-
return /* @__PURE__ */
|
|
1438
|
+
const bo = function(e) {
|
|
1439
|
+
return /* @__PURE__ */ r(q.Sub, { ...e });
|
|
1440
1440
|
};
|
|
1441
1441
|
bo.displayName = "MenuSub";
|
|
1442
|
-
const yo = function(
|
|
1443
|
-
return /* @__PURE__ */
|
|
1442
|
+
const yo = function(e) {
|
|
1443
|
+
return /* @__PURE__ */ r(q.Sub.Target, { ...e });
|
|
1444
1444
|
};
|
|
1445
1445
|
yo.displayName = "MenuSubTarget";
|
|
1446
1446
|
const ho = v(
|
|
1447
|
-
function({ overStyled:
|
|
1448
|
-
const
|
|
1449
|
-
|
|
1450
|
-
const l =
|
|
1451
|
-
return /* @__PURE__ */
|
|
1447
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1448
|
+
const o = N(n, e), t = o;
|
|
1449
|
+
e || delete t.color;
|
|
1450
|
+
const l = t.className;
|
|
1451
|
+
return /* @__PURE__ */ r(
|
|
1452
1452
|
q.Sub.Item,
|
|
1453
1453
|
{
|
|
1454
1454
|
ref: s,
|
|
1455
1455
|
className: l,
|
|
1456
|
-
...
|
|
1456
|
+
...o
|
|
1457
1457
|
}
|
|
1458
1458
|
);
|
|
1459
1459
|
}
|
|
1460
1460
|
);
|
|
1461
1461
|
ho.displayName = "MenuSubItem";
|
|
1462
|
-
const Tr =
|
|
1462
|
+
const Tr = oe(
|
|
1463
1463
|
ho
|
|
1464
1464
|
), fo = v(
|
|
1465
|
-
function({ overStyled:
|
|
1466
|
-
const
|
|
1467
|
-
return /* @__PURE__ */
|
|
1465
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1466
|
+
const o = N(n, e), t = o.className;
|
|
1467
|
+
return /* @__PURE__ */ r(
|
|
1468
1468
|
q.Sub.Dropdown,
|
|
1469
1469
|
{
|
|
1470
1470
|
ref: s,
|
|
1471
|
-
className:
|
|
1472
|
-
...
|
|
1471
|
+
className: t,
|
|
1472
|
+
...o
|
|
1473
1473
|
}
|
|
1474
1474
|
);
|
|
1475
1475
|
}
|
|
@@ -1479,30 +1479,30 @@ const ge = bo;
|
|
|
1479
1479
|
ge.Target = yo;
|
|
1480
1480
|
ge.Item = Tr;
|
|
1481
1481
|
ge.Dropdown = fo;
|
|
1482
|
-
const le =
|
|
1483
|
-
le.Target =
|
|
1482
|
+
const le = co;
|
|
1483
|
+
le.Target = io;
|
|
1484
1484
|
le.Dropdown = po;
|
|
1485
1485
|
le.Item = kr;
|
|
1486
1486
|
le.Divider = uo;
|
|
1487
1487
|
le.Label = _o;
|
|
1488
1488
|
le.Sub = ge;
|
|
1489
|
-
const
|
|
1489
|
+
const Ms = (a) => /* @__PURE__ */ r("div", { ...a, children: "Modal" }), Or = "NumberInput-module__root___C6rAn", Ir = "NumberInput-module__input___Ss8p7", zr = "NumberInput-module__section___MijP0", Rr = "NumberInput-module__controls___8UfQ2", Lr = "NumberInput-module__control___Qre9-", me = {
|
|
1490
1490
|
root: Or,
|
|
1491
1491
|
input: Ir,
|
|
1492
1492
|
section: zr,
|
|
1493
1493
|
controls: Rr,
|
|
1494
1494
|
control: Lr
|
|
1495
1495
|
}, Mr = v(
|
|
1496
|
-
function(
|
|
1496
|
+
function(e, n) {
|
|
1497
1497
|
const {
|
|
1498
1498
|
overStyled: s = !1,
|
|
1499
|
-
formLayout:
|
|
1499
|
+
formLayout: o = "stacked",
|
|
1500
1500
|
// Label & Wrapper Maps
|
|
1501
|
-
labelSize:
|
|
1501
|
+
labelSize: t,
|
|
1502
1502
|
labelAlignment: l,
|
|
1503
|
-
labelOptionalText:
|
|
1503
|
+
labelOptionalText: c,
|
|
1504
1504
|
labelWithEditIcon: d,
|
|
1505
|
-
onLabelEditClick:
|
|
1505
|
+
onLabelEditClick: i,
|
|
1506
1506
|
label: p,
|
|
1507
1507
|
assistiveText: m,
|
|
1508
1508
|
assistiveWithIcon: y,
|
|
@@ -1520,7 +1520,7 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
1520
1520
|
defaultValue: x,
|
|
1521
1521
|
hideControls: I = !1,
|
|
1522
1522
|
...R
|
|
1523
|
-
} =
|
|
1523
|
+
} = e, k = N(R, s), P = k;
|
|
1524
1524
|
delete P.size, delete P.variant, delete P.radius;
|
|
1525
1525
|
const g = {
|
|
1526
1526
|
wrapper: me.root,
|
|
@@ -1530,20 +1530,20 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
1530
1530
|
controls: me.controls,
|
|
1531
1531
|
control: me.control
|
|
1532
1532
|
};
|
|
1533
|
-
return /* @__PURE__ */
|
|
1534
|
-
|
|
1533
|
+
return /* @__PURE__ */ r(
|
|
1534
|
+
te,
|
|
1535
1535
|
{
|
|
1536
1536
|
className: h,
|
|
1537
1537
|
style: w,
|
|
1538
1538
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
1539
1539
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
1540
1540
|
overStyled: s,
|
|
1541
|
-
formLayout:
|
|
1542
|
-
labelSize:
|
|
1541
|
+
formLayout: o,
|
|
1542
|
+
labelSize: t,
|
|
1543
1543
|
labelAlignment: l,
|
|
1544
|
-
labelOptionalText:
|
|
1544
|
+
labelOptionalText: c,
|
|
1545
1545
|
labelWithEditIcon: d,
|
|
1546
|
-
onLabelEditClick:
|
|
1546
|
+
onLabelEditClick: i,
|
|
1547
1547
|
label: p,
|
|
1548
1548
|
assistiveText: m,
|
|
1549
1549
|
assistiveWithIcon: y,
|
|
@@ -1556,10 +1556,10 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
1556
1556
|
emptyValueComponent: L,
|
|
1557
1557
|
readOnlyType: "text",
|
|
1558
1558
|
readOnlyValue: S !== void 0 ? S == null ? void 0 : S.toString() : x == null ? void 0 : x.toString(),
|
|
1559
|
-
readOnlyNativeProps:
|
|
1559
|
+
readOnlyNativeProps: e,
|
|
1560
1560
|
activeComponent: (
|
|
1561
1561
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1562
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ r(
|
|
1563
1563
|
Do,
|
|
1564
1564
|
{
|
|
1565
1565
|
ref: n,
|
|
@@ -1588,48 +1588,50 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
1588
1588
|
}
|
|
1589
1589
|
);
|
|
1590
1590
|
Mr.displayName = "NumberInput";
|
|
1591
|
-
const
|
|
1591
|
+
const Fs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Pagination" }), Fr = "Panel-module__content___wdGo-", Er = "Panel-module__inner___ruA2b", Br = "Panel-module__header___o7SiC", jr = "Panel-module__title___181OP recursica_brand_typography_h3", Dr = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP recursica_brand_typography_h3", Vr = "Panel-module__body___SEC3T", Gr = "Panel-module__footer___t6-hz", J = {
|
|
1592
1592
|
content: Fr,
|
|
1593
1593
|
inner: Er,
|
|
1594
1594
|
header: Br,
|
|
1595
1595
|
title: jr,
|
|
1596
|
-
|
|
1597
|
-
|
|
1596
|
+
titleTruncate: Dr,
|
|
1597
|
+
body: Vr,
|
|
1598
|
+
footer: Gr
|
|
1598
1599
|
}, No = function({
|
|
1599
|
-
overStyled:
|
|
1600
|
+
overStyled: e = !1,
|
|
1600
1601
|
position: n = "right",
|
|
1601
1602
|
keepMounted: s = !0,
|
|
1602
|
-
|
|
1603
|
+
wrapHeaderText: o = !1,
|
|
1604
|
+
...t
|
|
1603
1605
|
}) {
|
|
1604
|
-
const
|
|
1605
|
-
content:
|
|
1606
|
-
header:
|
|
1607
|
-
title:
|
|
1608
|
-
body:
|
|
1609
|
-
inner:
|
|
1610
|
-
},
|
|
1611
|
-
if (
|
|
1612
|
-
const
|
|
1613
|
-
Object.keys(
|
|
1614
|
-
|
|
1606
|
+
const l = N(t, e), c = {
|
|
1607
|
+
content: J.content,
|
|
1608
|
+
header: J.header,
|
|
1609
|
+
title: o ? J.titleTruncate : J.title,
|
|
1610
|
+
body: J.body,
|
|
1611
|
+
inner: J.inner
|
|
1612
|
+
}, d = l.classNames;
|
|
1613
|
+
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
1614
|
+
const i = d;
|
|
1615
|
+
Object.keys(i).forEach((p) => {
|
|
1616
|
+
c[p] ? c[p] = `${c[p]} ${i[p]}` : c[p] = i[p];
|
|
1615
1617
|
});
|
|
1616
1618
|
}
|
|
1617
|
-
return /* @__PURE__ */
|
|
1619
|
+
return /* @__PURE__ */ r(
|
|
1618
1620
|
K,
|
|
1619
1621
|
{
|
|
1620
1622
|
position: n,
|
|
1621
1623
|
keepMounted: s,
|
|
1622
|
-
closeOnClickOutside:
|
|
1623
|
-
...
|
|
1624
|
-
classNames:
|
|
1624
|
+
closeOnClickOutside: t.closeOnClickOutside ?? !!t.opened,
|
|
1625
|
+
...l,
|
|
1626
|
+
classNames: c
|
|
1625
1627
|
}
|
|
1626
1628
|
);
|
|
1627
1629
|
};
|
|
1628
1630
|
No.displayName = "Panel";
|
|
1629
1631
|
const $o = v(
|
|
1630
|
-
function({ overStyled:
|
|
1631
|
-
const
|
|
1632
|
-
return /* @__PURE__ */
|
|
1632
|
+
function({ overStyled: e = !1, ...n }, s) {
|
|
1633
|
+
const o = N(n, e), t = o.className, l = t ? `${J.footer} ${t}` : J.footer;
|
|
1634
|
+
return /* @__PURE__ */ r("div", { ref: s, className: l, ...o });
|
|
1633
1635
|
}
|
|
1634
1636
|
);
|
|
1635
1637
|
$o.displayName = "PanelFooter";
|
|
@@ -1643,26 +1645,26 @@ Q.CloseButton = K.CloseButton;
|
|
|
1643
1645
|
Q.Body = K.Body;
|
|
1644
1646
|
Q.Stack = K.Stack;
|
|
1645
1647
|
Q.Footer = $o;
|
|
1646
|
-
const
|
|
1647
|
-
groupRoot:
|
|
1648
|
-
root:
|
|
1649
|
-
body:
|
|
1650
|
-
inner:
|
|
1651
|
-
radio:
|
|
1652
|
-
icon:
|
|
1653
|
-
labelWrapper:
|
|
1654
|
-
label:
|
|
1648
|
+
const Es = (a) => /* @__PURE__ */ r("div", { ...a, children: "Popover" }), qr = "Radio-module__groupRoot___bfUii", Hr = "Radio-module__root___kAjTD", Ur = "Radio-module__body___q2Wpj", Yr = "Radio-module__inner___QaTBB", Zr = "Radio-module__radio___MfgN-", Kr = "Radio-module__icon___DWznm", Qr = "Radio-module__labelWrapper___dB0Gi", Xr = "Radio-module__label___vAFIP", O = {
|
|
1649
|
+
groupRoot: qr,
|
|
1650
|
+
root: Hr,
|
|
1651
|
+
body: Ur,
|
|
1652
|
+
inner: Yr,
|
|
1653
|
+
radio: Zr,
|
|
1654
|
+
icon: Kr,
|
|
1655
|
+
labelWrapper: Qr,
|
|
1656
|
+
label: Xr
|
|
1655
1657
|
}, vo = v(
|
|
1656
|
-
function(
|
|
1658
|
+
function(e, n) {
|
|
1657
1659
|
const {
|
|
1658
1660
|
overStyled: s = !1,
|
|
1659
|
-
formLayout:
|
|
1661
|
+
formLayout: o = "stacked",
|
|
1660
1662
|
// Label Wrappers
|
|
1661
|
-
labelSize:
|
|
1663
|
+
labelSize: t,
|
|
1662
1664
|
labelAlignment: l,
|
|
1663
|
-
labelOptionalText:
|
|
1665
|
+
labelOptionalText: c,
|
|
1664
1666
|
labelWithEditIcon: d,
|
|
1665
|
-
onLabelEditClick:
|
|
1667
|
+
onLabelEditClick: i,
|
|
1666
1668
|
// Base Mantine Extracted Attributes
|
|
1667
1669
|
label: p,
|
|
1668
1670
|
description: m,
|
|
@@ -1681,9 +1683,9 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1681
1683
|
value: x,
|
|
1682
1684
|
defaultValue: I,
|
|
1683
1685
|
...R
|
|
1684
|
-
} =
|
|
1685
|
-
return delete P.size, /* @__PURE__ */
|
|
1686
|
-
|
|
1686
|
+
} = e, k = N(R, s), P = k;
|
|
1687
|
+
return delete P.size, /* @__PURE__ */ r(
|
|
1688
|
+
te,
|
|
1687
1689
|
{
|
|
1688
1690
|
className: w,
|
|
1689
1691
|
style: b,
|
|
@@ -1691,12 +1693,12 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1691
1693
|
controlMinWidth: void 0,
|
|
1692
1694
|
overStyled: s,
|
|
1693
1695
|
labelElement: "div",
|
|
1694
|
-
formLayout:
|
|
1695
|
-
labelSize:
|
|
1696
|
+
formLayout: o,
|
|
1697
|
+
labelSize: t,
|
|
1696
1698
|
labelAlignment: l,
|
|
1697
|
-
labelOptionalText:
|
|
1699
|
+
labelOptionalText: c,
|
|
1698
1700
|
labelWithEditIcon: d,
|
|
1699
|
-
onLabelEditClick:
|
|
1701
|
+
onLabelEditClick: i,
|
|
1700
1702
|
label: p,
|
|
1701
1703
|
description: m,
|
|
1702
1704
|
assistiveText: y,
|
|
@@ -1710,8 +1712,8 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1710
1712
|
emptyValueComponent: S,
|
|
1711
1713
|
readOnlyType: "text",
|
|
1712
1714
|
readOnlyValue: x !== void 0 ? x : I,
|
|
1713
|
-
readOnlyNativeProps:
|
|
1714
|
-
activeComponent: /* @__PURE__ */
|
|
1715
|
+
readOnlyNativeProps: e,
|
|
1716
|
+
activeComponent: /* @__PURE__ */ r(
|
|
1715
1717
|
Be.Group,
|
|
1716
1718
|
{
|
|
1717
1719
|
ref: n,
|
|
@@ -1719,7 +1721,7 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1719
1721
|
disabled: $ || P.disabled,
|
|
1720
1722
|
value: x,
|
|
1721
1723
|
defaultValue: I,
|
|
1722
|
-
children: /* @__PURE__ */
|
|
1724
|
+
children: /* @__PURE__ */ r("div", { className: O.groupRoot, "data-layout": o, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
|
|
1723
1725
|
disabled: $ || g.props.disabled
|
|
1724
1726
|
}) : g) })
|
|
1725
1727
|
}
|
|
@@ -1729,29 +1731,29 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1729
1731
|
}
|
|
1730
1732
|
);
|
|
1731
1733
|
vo.displayName = "RadioGroup";
|
|
1732
|
-
const
|
|
1734
|
+
const Jr = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
1733
1735
|
"svg",
|
|
1734
1736
|
{
|
|
1735
1737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1736
1738
|
viewBox: "0 0 16 16",
|
|
1737
1739
|
fill: "currentColor",
|
|
1738
1740
|
className: a,
|
|
1739
|
-
style:
|
|
1740
|
-
children: /* @__PURE__ */
|
|
1741
|
+
style: e,
|
|
1742
|
+
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
1741
1743
|
}
|
|
1742
1744
|
), Co = v(
|
|
1743
|
-
function(
|
|
1745
|
+
function(e, n) {
|
|
1744
1746
|
const {
|
|
1745
1747
|
overStyled: s = !1,
|
|
1746
|
-
readOnly:
|
|
1747
|
-
readOnlyComponent:
|
|
1748
|
+
readOnly: o,
|
|
1749
|
+
readOnlyComponent: t,
|
|
1748
1750
|
disabled: l,
|
|
1749
|
-
formLayout:
|
|
1751
|
+
formLayout: c,
|
|
1750
1752
|
labelSize: d,
|
|
1751
|
-
controlMaxWidth:
|
|
1753
|
+
controlMaxWidth: i,
|
|
1752
1754
|
controlMinWidth: p,
|
|
1753
1755
|
...m
|
|
1754
|
-
} =
|
|
1756
|
+
} = e, y = N(m, s), u = y;
|
|
1755
1757
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
1756
1758
|
const _ = {
|
|
1757
1759
|
root: O.root,
|
|
@@ -1767,43 +1769,43 @@ const Xr = ({ className: a, style: o }) => /* @__PURE__ */ t(
|
|
|
1767
1769
|
_.root = b.root ? `${O.root} ${b.root}` : O.root, _.body = b.body ? `${O.body} ${b.body}` : O.body, _.inner = b.inner ? `${O.inner} ${b.inner}` : O.inner, _.radio = b.radio ? `${O.radio} ${b.radio}` : O.radio, _.icon = b.icon ? `${O.icon} ${b.icon}` : O.icon, _.labelWrapper = b.labelWrapper ? `${O.labelWrapper} ${b.labelWrapper}` : O.labelWrapper, _.label = b.label ? `${O.label} ${b.label}` : O.label;
|
|
1768
1770
|
}
|
|
1769
1771
|
const C = u.className, h = C ? `${O.root} ${C}` : O.root;
|
|
1770
|
-
if (
|
|
1771
|
-
const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */
|
|
1772
|
-
|
|
1772
|
+
if (o && t) {
|
|
1773
|
+
const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */ r(
|
|
1774
|
+
t,
|
|
1773
1775
|
{
|
|
1774
|
-
...
|
|
1776
|
+
...e,
|
|
1775
1777
|
checked: b,
|
|
1776
1778
|
label: u.label
|
|
1777
1779
|
}
|
|
1778
1780
|
);
|
|
1779
|
-
return
|
|
1780
|
-
|
|
1781
|
+
return c ? /* @__PURE__ */ r(
|
|
1782
|
+
ee,
|
|
1781
1783
|
{
|
|
1782
|
-
formLayout:
|
|
1784
|
+
formLayout: c,
|
|
1783
1785
|
labelSize: d,
|
|
1784
|
-
controlMaxWidth:
|
|
1786
|
+
controlMaxWidth: i,
|
|
1785
1787
|
controlMinWidth: p,
|
|
1786
1788
|
children: $
|
|
1787
1789
|
}
|
|
1788
|
-
) : /* @__PURE__ */
|
|
1790
|
+
) : /* @__PURE__ */ r(_e, { children: $ });
|
|
1789
1791
|
}
|
|
1790
|
-
const w = /* @__PURE__ */
|
|
1792
|
+
const w = /* @__PURE__ */ r(
|
|
1791
1793
|
Be,
|
|
1792
1794
|
{
|
|
1793
1795
|
ref: n,
|
|
1794
|
-
icon:
|
|
1796
|
+
icon: Jr,
|
|
1795
1797
|
className: h,
|
|
1796
1798
|
classNames: _,
|
|
1797
|
-
disabled:
|
|
1799
|
+
disabled: o || l,
|
|
1798
1800
|
...y
|
|
1799
1801
|
}
|
|
1800
1802
|
);
|
|
1801
|
-
return
|
|
1802
|
-
|
|
1803
|
+
return c ? /* @__PURE__ */ r(
|
|
1804
|
+
ee,
|
|
1803
1805
|
{
|
|
1804
|
-
formLayout:
|
|
1806
|
+
formLayout: c,
|
|
1805
1807
|
labelSize: d,
|
|
1806
|
-
controlMaxWidth:
|
|
1808
|
+
controlMaxWidth: i,
|
|
1807
1809
|
controlMinWidth: p,
|
|
1808
1810
|
children: w
|
|
1809
1811
|
}
|
|
@@ -1812,83 +1814,83 @@ const Xr = ({ className: a, style: o }) => /* @__PURE__ */ t(
|
|
|
1812
1814
|
);
|
|
1813
1815
|
Co.displayName = "Radio";
|
|
1814
1816
|
Co.Group = vo;
|
|
1815
|
-
const
|
|
1817
|
+
const es = ({ checked: a, label: e }) => /* @__PURE__ */ E(
|
|
1816
1818
|
Ae,
|
|
1817
1819
|
{
|
|
1818
1820
|
component: "span",
|
|
1819
1821
|
className: $e.textField,
|
|
1820
1822
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1821
1823
|
children: [
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
+
e && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
|
|
1825
|
+
e,
|
|
1824
1826
|
":"
|
|
1825
1827
|
] }),
|
|
1826
|
-
/* @__PURE__ */
|
|
1828
|
+
/* @__PURE__ */ r("span", { children: a ? "On" : "Off" })
|
|
1827
1829
|
]
|
|
1828
1830
|
}
|
|
1829
1831
|
);
|
|
1830
|
-
|
|
1831
|
-
const
|
|
1832
|
+
es.displayName = "ReadOnlySwitchField";
|
|
1833
|
+
const os = ({ checked: a, label: e }) => /* @__PURE__ */ E(
|
|
1832
1834
|
Ae,
|
|
1833
1835
|
{
|
|
1834
1836
|
component: "span",
|
|
1835
1837
|
className: $e.textField,
|
|
1836
1838
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1837
1839
|
children: [
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
+
e && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
|
|
1841
|
+
e,
|
|
1840
1842
|
":"
|
|
1841
1843
|
] }),
|
|
1842
|
-
/* @__PURE__ */
|
|
1844
|
+
/* @__PURE__ */ r("span", { children: a ? "True" : "False" })
|
|
1843
1845
|
]
|
|
1844
1846
|
}
|
|
1845
1847
|
);
|
|
1846
|
-
|
|
1847
|
-
const
|
|
1848
|
-
root:
|
|
1849
|
-
},
|
|
1850
|
-
const l = N({ ...
|
|
1848
|
+
os.displayName = "ReadOnlyBooleanField";
|
|
1849
|
+
const Bs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Search" }), js = (a) => /* @__PURE__ */ r("div", { ...a, children: "SegmentedControl" }), Ds = (a) => /* @__PURE__ */ r("div", { ...a, children: "Slider" }), ts = "Stack-module__root___NUN-x", ue = {
|
|
1850
|
+
root: ts
|
|
1851
|
+
}, rs = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
|
|
1852
|
+
const l = N({ ...o, gap: s }, n), c = l, d = {
|
|
1851
1853
|
root: ue.root
|
|
1852
|
-
},
|
|
1853
|
-
if (
|
|
1854
|
-
const y =
|
|
1854
|
+
}, i = c.classNames;
|
|
1855
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1856
|
+
const y = i;
|
|
1855
1857
|
d.root = y.root ? `${ue.root} ${y.root}` : ue.root;
|
|
1856
1858
|
}
|
|
1857
|
-
const p =
|
|
1858
|
-
return /* @__PURE__ */
|
|
1859
|
+
const p = c.className, m = p ? `${ue.root} ${p}` : ue.root;
|
|
1860
|
+
return /* @__PURE__ */ r(
|
|
1859
1861
|
Vo,
|
|
1860
1862
|
{
|
|
1861
|
-
ref:
|
|
1863
|
+
ref: t,
|
|
1862
1864
|
className: m,
|
|
1863
1865
|
classNames: d,
|
|
1864
1866
|
...l,
|
|
1865
|
-
children:
|
|
1867
|
+
children: e
|
|
1866
1868
|
}
|
|
1867
1869
|
);
|
|
1868
1870
|
});
|
|
1869
|
-
|
|
1870
|
-
const
|
|
1871
|
-
root:
|
|
1872
|
-
body:
|
|
1873
|
-
track:
|
|
1874
|
-
thumb:
|
|
1875
|
-
labelWrapper:
|
|
1871
|
+
rs.displayName = "Stack";
|
|
1872
|
+
const Vs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Stepper" }), ss = "Switch-module__root___Y5Ydi", as = "Switch-module__body___Sw9Wr", ns = "Switch-module__track___7ObdZ", ls = "Switch-module__thumb___-FTeK", cs = "Switch-module__labelWrapper___YSOwx", is = "Switch-module__label___LrH7V", ds = "Switch-module__thumbIconWrapper___sCY-1", ps = "Switch-module__checkIcon___ZBAQN", ms = "Switch-module__closeIcon___bLLGw", us = "Switch-module__groupRoot___-Uepi", A = {
|
|
1873
|
+
root: ss,
|
|
1874
|
+
body: as,
|
|
1875
|
+
track: ns,
|
|
1876
|
+
thumb: ls,
|
|
1877
|
+
labelWrapper: cs,
|
|
1876
1878
|
label: is,
|
|
1877
|
-
thumbIconWrapper:
|
|
1878
|
-
checkIcon:
|
|
1879
|
-
closeIcon:
|
|
1880
|
-
groupRoot:
|
|
1879
|
+
thumbIconWrapper: ds,
|
|
1880
|
+
checkIcon: ps,
|
|
1881
|
+
closeIcon: ms,
|
|
1882
|
+
groupRoot: us
|
|
1881
1883
|
}, wo = v(
|
|
1882
|
-
function(
|
|
1884
|
+
function(e, n) {
|
|
1883
1885
|
const {
|
|
1884
1886
|
overStyled: s = !1,
|
|
1885
|
-
formLayout:
|
|
1887
|
+
formLayout: o = "stacked",
|
|
1886
1888
|
// Label Wrappers
|
|
1887
|
-
labelSize:
|
|
1889
|
+
labelSize: t,
|
|
1888
1890
|
labelAlignment: l,
|
|
1889
|
-
labelOptionalText:
|
|
1891
|
+
labelOptionalText: c,
|
|
1890
1892
|
labelWithEditIcon: d,
|
|
1891
|
-
onLabelEditClick:
|
|
1893
|
+
onLabelEditClick: i,
|
|
1892
1894
|
// Base Mantine Extracted Attributes
|
|
1893
1895
|
label: p,
|
|
1894
1896
|
description: m,
|
|
@@ -1907,9 +1909,9 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1907
1909
|
value: x,
|
|
1908
1910
|
defaultValue: I,
|
|
1909
1911
|
...R
|
|
1910
|
-
} =
|
|
1911
|
-
return delete P.size, /* @__PURE__ */
|
|
1912
|
-
|
|
1912
|
+
} = e, k = N(R, s), P = k;
|
|
1913
|
+
return delete P.size, /* @__PURE__ */ r(
|
|
1914
|
+
te,
|
|
1913
1915
|
{
|
|
1914
1916
|
className: w,
|
|
1915
1917
|
style: b,
|
|
@@ -1917,12 +1919,12 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1917
1919
|
controlMinWidth: void 0,
|
|
1918
1920
|
overStyled: s,
|
|
1919
1921
|
labelElement: "div",
|
|
1920
|
-
formLayout:
|
|
1921
|
-
labelSize:
|
|
1922
|
+
formLayout: o,
|
|
1923
|
+
labelSize: t,
|
|
1922
1924
|
labelAlignment: l,
|
|
1923
|
-
labelOptionalText:
|
|
1925
|
+
labelOptionalText: c,
|
|
1924
1926
|
labelWithEditIcon: d,
|
|
1925
|
-
onLabelEditClick:
|
|
1927
|
+
onLabelEditClick: i,
|
|
1926
1928
|
label: p,
|
|
1927
1929
|
description: m,
|
|
1928
1930
|
assistiveText: y,
|
|
@@ -1936,8 +1938,8 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1936
1938
|
emptyValueComponent: S,
|
|
1937
1939
|
readOnlyType: "text",
|
|
1938
1940
|
readOnlyValue: x !== void 0 ? x : I,
|
|
1939
|
-
readOnlyNativeProps:
|
|
1940
|
-
activeComponent: /* @__PURE__ */
|
|
1941
|
+
readOnlyNativeProps: e,
|
|
1942
|
+
activeComponent: /* @__PURE__ */ r(
|
|
1941
1943
|
je.Group,
|
|
1942
1944
|
{
|
|
1943
1945
|
ref: n,
|
|
@@ -1945,7 +1947,7 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1945
1947
|
disabled: $ || P.disabled,
|
|
1946
1948
|
value: x,
|
|
1947
1949
|
defaultValue: I,
|
|
1948
|
-
children: /* @__PURE__ */
|
|
1950
|
+
children: /* @__PURE__ */ r("div", { className: A.groupRoot, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
|
|
1949
1951
|
disabled: $ || g.props.disabled
|
|
1950
1952
|
}) : g) })
|
|
1951
1953
|
}
|
|
@@ -1956,19 +1958,19 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1956
1958
|
);
|
|
1957
1959
|
wo.displayName = "SwitchGroup";
|
|
1958
1960
|
const go = v(
|
|
1959
|
-
function(
|
|
1961
|
+
function(e, n) {
|
|
1960
1962
|
const {
|
|
1961
1963
|
overStyled: s = !1,
|
|
1962
|
-
readOnly:
|
|
1963
|
-
readOnlyComponent:
|
|
1964
|
+
readOnly: o,
|
|
1965
|
+
readOnlyComponent: t,
|
|
1964
1966
|
disabled: l,
|
|
1965
|
-
thumbIcon:
|
|
1967
|
+
thumbIcon: c,
|
|
1966
1968
|
formLayout: d,
|
|
1967
|
-
labelSize:
|
|
1969
|
+
labelSize: i,
|
|
1968
1970
|
controlMaxWidth: p,
|
|
1969
1971
|
controlMinWidth: m,
|
|
1970
1972
|
...y
|
|
1971
|
-
} =
|
|
1973
|
+
} = e, u = N(y, s), _ = u;
|
|
1972
1974
|
delete _.size, delete _.color, delete _.radius, delete _.variant;
|
|
1973
1975
|
const f = {
|
|
1974
1976
|
root: A.root,
|
|
@@ -1984,45 +1986,45 @@ const go = v(
|
|
|
1984
1986
|
f.root = $.root ? `${A.root} ${$.root}` : A.root, f.body = $.body ? `${A.body} ${$.body}` : A.body, f.track = $.track ? `${A.track} ${$.track}` : A.track, f.thumb = $.thumb ? `${A.thumb} ${$.thumb}` : A.thumb, f.trackLabel = $.trackLabel ? `${A.trackLabel} ${$.trackLabel}` : A.trackLabel, f.labelWrapper = $.labelWrapper ? `${A.labelWrapper} ${$.labelWrapper}` : A.labelWrapper, f.label = $.label ? `${A.label} ${$.label}` : A.label;
|
|
1985
1987
|
}
|
|
1986
1988
|
const h = _.className, w = h ? `${A.root} ${h}` : A.root;
|
|
1987
|
-
if (
|
|
1988
|
-
const $ = !!(_.checked ?? _.defaultChecked), S = /* @__PURE__ */
|
|
1989
|
-
|
|
1989
|
+
if (o && t) {
|
|
1990
|
+
const $ = !!(_.checked ?? _.defaultChecked), S = /* @__PURE__ */ r(
|
|
1991
|
+
t,
|
|
1990
1992
|
{
|
|
1991
|
-
...
|
|
1993
|
+
...e,
|
|
1992
1994
|
checked: $,
|
|
1993
1995
|
label: _.label
|
|
1994
1996
|
}
|
|
1995
1997
|
);
|
|
1996
|
-
return d ? /* @__PURE__ */
|
|
1997
|
-
|
|
1998
|
+
return d ? /* @__PURE__ */ r(
|
|
1999
|
+
ee,
|
|
1998
2000
|
{
|
|
1999
2001
|
formLayout: d,
|
|
2000
|
-
labelSize:
|
|
2002
|
+
labelSize: i,
|
|
2001
2003
|
controlMaxWidth: p,
|
|
2002
2004
|
controlMinWidth: m,
|
|
2003
2005
|
children: S
|
|
2004
2006
|
}
|
|
2005
|
-
) : /* @__PURE__ */
|
|
2007
|
+
) : /* @__PURE__ */ r(_e, { children: S });
|
|
2006
2008
|
}
|
|
2007
2009
|
const b = /* @__PURE__ */ E("div", { className: A.thumbIconWrapper, children: [
|
|
2008
|
-
/* @__PURE__ */
|
|
2009
|
-
/* @__PURE__ */
|
|
2010
|
-
] }), W = /* @__PURE__ */
|
|
2010
|
+
/* @__PURE__ */ r(Go, { className: A.checkIcon }),
|
|
2011
|
+
/* @__PURE__ */ r(qo, { className: A.closeIcon })
|
|
2012
|
+
] }), W = /* @__PURE__ */ r(
|
|
2011
2013
|
je,
|
|
2012
2014
|
{
|
|
2013
2015
|
ref: n,
|
|
2014
2016
|
className: w,
|
|
2015
2017
|
classNames: f,
|
|
2016
|
-
disabled:
|
|
2017
|
-
thumbIcon:
|
|
2018
|
+
disabled: o || l,
|
|
2019
|
+
thumbIcon: c ?? b,
|
|
2018
2020
|
...u
|
|
2019
2021
|
}
|
|
2020
2022
|
);
|
|
2021
|
-
return d ? /* @__PURE__ */
|
|
2022
|
-
|
|
2023
|
+
return d ? /* @__PURE__ */ r(
|
|
2024
|
+
ee,
|
|
2023
2025
|
{
|
|
2024
2026
|
formLayout: d,
|
|
2025
|
-
labelSize:
|
|
2027
|
+
labelSize: i,
|
|
2026
2028
|
controlMaxWidth: p,
|
|
2027
2029
|
controlMinWidth: m,
|
|
2028
2030
|
children: W
|
|
@@ -2032,32 +2034,32 @@ const go = v(
|
|
|
2032
2034
|
);
|
|
2033
2035
|
go.displayName = "Switch";
|
|
2034
2036
|
go.Group = wo;
|
|
2035
|
-
const
|
|
2036
|
-
const
|
|
2037
|
-
return /* @__PURE__ */
|
|
2037
|
+
const Gs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Table" }), qs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Tabs" }), Po = v(function({ overStyled: e = !1, variant: n = "body", ...s }, o) {
|
|
2038
|
+
const t = N(s, e), l = t.className, c = `recursica_brand_typography_${n}`, d = l ? `${c} ${l}` : c;
|
|
2039
|
+
return /* @__PURE__ */ r(
|
|
2038
2040
|
Ho,
|
|
2039
2041
|
{
|
|
2040
|
-
ref:
|
|
2042
|
+
ref: o,
|
|
2041
2043
|
className: d,
|
|
2042
|
-
...
|
|
2044
|
+
...t
|
|
2043
2045
|
}
|
|
2044
2046
|
);
|
|
2045
2047
|
});
|
|
2046
2048
|
Po.displayName = "Text";
|
|
2047
|
-
const
|
|
2048
|
-
root:
|
|
2049
|
-
input:
|
|
2050
|
-
},
|
|
2051
|
-
function(
|
|
2049
|
+
const Hs = oe(Po), _s = "TextArea-module__root___3dyeu", bs = "TextArea-module__input___8l36v", ne = {
|
|
2050
|
+
root: _s,
|
|
2051
|
+
input: bs
|
|
2052
|
+
}, ys = v(
|
|
2053
|
+
function(e, n) {
|
|
2052
2054
|
const {
|
|
2053
2055
|
overStyled: s = !1,
|
|
2054
|
-
formLayout:
|
|
2056
|
+
formLayout: o = "stacked",
|
|
2055
2057
|
// Label & Wrapper Maps
|
|
2056
|
-
labelSize:
|
|
2058
|
+
labelSize: t,
|
|
2057
2059
|
labelAlignment: l,
|
|
2058
|
-
labelOptionalText:
|
|
2060
|
+
labelOptionalText: c,
|
|
2059
2061
|
labelWithEditIcon: d,
|
|
2060
|
-
onLabelEditClick:
|
|
2062
|
+
onLabelEditClick: i,
|
|
2061
2063
|
label: p,
|
|
2062
2064
|
assistiveText: m,
|
|
2063
2065
|
assistiveWithIcon: y,
|
|
@@ -2074,7 +2076,7 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2074
2076
|
value: S,
|
|
2075
2077
|
defaultValue: x,
|
|
2076
2078
|
...I
|
|
2077
|
-
} =
|
|
2079
|
+
} = e, R = N(I, s), k = R;
|
|
2078
2080
|
delete k.size, delete k.variant, delete k.radius;
|
|
2079
2081
|
const P = {
|
|
2080
2082
|
wrapper: ne.root,
|
|
@@ -2085,20 +2087,20 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2085
2087
|
const z = g;
|
|
2086
2088
|
P.wrapper = z.wrapper ? `${ne.root} ${z.wrapper}` : ne.root, P.input = z.input ? `${ne.input} ${z.input}` : ne.input;
|
|
2087
2089
|
}
|
|
2088
|
-
return /* @__PURE__ */
|
|
2089
|
-
|
|
2090
|
+
return /* @__PURE__ */ r(
|
|
2091
|
+
te,
|
|
2090
2092
|
{
|
|
2091
2093
|
className: h,
|
|
2092
2094
|
style: w,
|
|
2093
2095
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2094
2096
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2095
2097
|
overStyled: s,
|
|
2096
|
-
formLayout:
|
|
2097
|
-
labelSize:
|
|
2098
|
+
formLayout: o,
|
|
2099
|
+
labelSize: t,
|
|
2098
2100
|
labelAlignment: l,
|
|
2099
|
-
labelOptionalText:
|
|
2101
|
+
labelOptionalText: c,
|
|
2100
2102
|
labelWithEditIcon: d,
|
|
2101
|
-
onLabelEditClick:
|
|
2103
|
+
onLabelEditClick: i,
|
|
2102
2104
|
label: p,
|
|
2103
2105
|
assistiveText: m,
|
|
2104
2106
|
assistiveWithIcon: y,
|
|
@@ -2111,10 +2113,10 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2111
2113
|
emptyValueComponent: L,
|
|
2112
2114
|
readOnlyType: "text",
|
|
2113
2115
|
readOnlyValue: S !== void 0 ? S : x,
|
|
2114
|
-
readOnlyNativeProps:
|
|
2116
|
+
readOnlyNativeProps: e,
|
|
2115
2117
|
activeComponent: (
|
|
2116
2118
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2117
|
-
/* @__PURE__ */
|
|
2119
|
+
/* @__PURE__ */ r(
|
|
2118
2120
|
Uo,
|
|
2119
2121
|
{
|
|
2120
2122
|
ref: n,
|
|
@@ -2139,22 +2141,22 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2139
2141
|
);
|
|
2140
2142
|
}
|
|
2141
2143
|
);
|
|
2142
|
-
|
|
2143
|
-
const
|
|
2144
|
-
root:
|
|
2145
|
-
input:
|
|
2146
|
-
section:
|
|
2147
|
-
},
|
|
2148
|
-
function(
|
|
2144
|
+
ys.displayName = "TextArea";
|
|
2145
|
+
const hs = "TextField-module__root___2ZYkG", fs = "TextField-module__input___RL-My", Ns = "TextField-module__section___bCIJ0", U = {
|
|
2146
|
+
root: hs,
|
|
2147
|
+
input: fs,
|
|
2148
|
+
section: Ns
|
|
2149
|
+
}, $s = v(
|
|
2150
|
+
function(e, n) {
|
|
2149
2151
|
const {
|
|
2150
2152
|
overStyled: s = !1,
|
|
2151
|
-
formLayout:
|
|
2153
|
+
formLayout: o = "stacked",
|
|
2152
2154
|
// Label & Wrapper Maps
|
|
2153
|
-
labelSize:
|
|
2155
|
+
labelSize: t,
|
|
2154
2156
|
labelAlignment: l,
|
|
2155
|
-
labelOptionalText:
|
|
2157
|
+
labelOptionalText: c,
|
|
2156
2158
|
labelWithEditIcon: d,
|
|
2157
|
-
onLabelEditClick:
|
|
2159
|
+
onLabelEditClick: i,
|
|
2158
2160
|
label: p,
|
|
2159
2161
|
assistiveText: m,
|
|
2160
2162
|
assistiveWithIcon: y,
|
|
@@ -2171,7 +2173,7 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2171
2173
|
value: S,
|
|
2172
2174
|
defaultValue: x,
|
|
2173
2175
|
...I
|
|
2174
|
-
} =
|
|
2176
|
+
} = e, R = N(I, s), k = R;
|
|
2175
2177
|
delete k.size, delete k.variant, delete k.radius;
|
|
2176
2178
|
const P = {
|
|
2177
2179
|
wrapper: U.root,
|
|
@@ -2183,20 +2185,20 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2183
2185
|
const z = g;
|
|
2184
2186
|
P.wrapper = z.wrapper ? `${U.root} ${z.wrapper}` : U.root, P.input = z.input ? `${U.input} ${z.input}` : U.input, P.section = z.section ? `${U.section} ${z.section}` : U.section;
|
|
2185
2187
|
}
|
|
2186
|
-
return /* @__PURE__ */
|
|
2187
|
-
|
|
2188
|
+
return /* @__PURE__ */ r(
|
|
2189
|
+
te,
|
|
2188
2190
|
{
|
|
2189
2191
|
className: h,
|
|
2190
2192
|
style: w,
|
|
2191
2193
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2192
2194
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2193
2195
|
overStyled: s,
|
|
2194
|
-
formLayout:
|
|
2195
|
-
labelSize:
|
|
2196
|
+
formLayout: o,
|
|
2197
|
+
labelSize: t,
|
|
2196
2198
|
labelAlignment: l,
|
|
2197
|
-
labelOptionalText:
|
|
2199
|
+
labelOptionalText: c,
|
|
2198
2200
|
labelWithEditIcon: d,
|
|
2199
|
-
onLabelEditClick:
|
|
2201
|
+
onLabelEditClick: i,
|
|
2200
2202
|
label: p,
|
|
2201
2203
|
assistiveText: m,
|
|
2202
2204
|
assistiveWithIcon: y,
|
|
@@ -2209,10 +2211,10 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2209
2211
|
emptyValueComponent: L,
|
|
2210
2212
|
readOnlyType: "text",
|
|
2211
2213
|
readOnlyValue: S !== void 0 ? S : x,
|
|
2212
|
-
readOnlyNativeProps:
|
|
2214
|
+
readOnlyNativeProps: e,
|
|
2213
2215
|
activeComponent: (
|
|
2214
2216
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2215
|
-
/* @__PURE__ */
|
|
2217
|
+
/* @__PURE__ */ r(
|
|
2216
2218
|
Fe,
|
|
2217
2219
|
{
|
|
2218
2220
|
ref: n,
|
|
@@ -2232,48 +2234,48 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2232
2234
|
);
|
|
2233
2235
|
}
|
|
2234
2236
|
);
|
|
2235
|
-
|
|
2236
|
-
const
|
|
2237
|
-
const
|
|
2238
|
-
return /* @__PURE__ */
|
|
2237
|
+
$s.displayName = "TextField";
|
|
2238
|
+
const Us = (a) => /* @__PURE__ */ r("div", { ...a, children: "TimePicker" }), Ys = (a) => /* @__PURE__ */ r("div", { ...a, children: "Timeline" }), vs = v(function({ overStyled: e = !1, order: n = 1, ...s }, o) {
|
|
2239
|
+
const t = N(s, e), l = t.className, c = `recursica_brand_typography_h${n}`, d = l ? `${c} ${l}` : c;
|
|
2240
|
+
return /* @__PURE__ */ r(
|
|
2239
2241
|
Yo,
|
|
2240
2242
|
{
|
|
2241
|
-
ref:
|
|
2243
|
+
ref: o,
|
|
2242
2244
|
order: n,
|
|
2243
2245
|
className: d,
|
|
2244
|
-
...
|
|
2246
|
+
...t
|
|
2245
2247
|
}
|
|
2246
2248
|
);
|
|
2247
2249
|
});
|
|
2248
|
-
|
|
2249
|
-
const
|
|
2250
|
-
tooltip:
|
|
2251
|
-
arrow:
|
|
2250
|
+
vs.displayName = "Title";
|
|
2251
|
+
const Zs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Toast" }), Cs = "Tooltip-module__tooltip___UA7H9", ws = "Tooltip-module__arrow___4zROk", Me = {
|
|
2252
|
+
tooltip: Cs,
|
|
2253
|
+
arrow: ws
|
|
2252
2254
|
}, xo = function({
|
|
2253
|
-
overStyled:
|
|
2255
|
+
overStyled: e = !1,
|
|
2254
2256
|
withBeak: n = !0,
|
|
2255
2257
|
...s
|
|
2256
2258
|
}) {
|
|
2257
|
-
const
|
|
2259
|
+
const o = N(s, e), t = {
|
|
2258
2260
|
tooltip: Me.tooltip,
|
|
2259
2261
|
arrow: Me.arrow
|
|
2260
|
-
}, l =
|
|
2262
|
+
}, l = o.classNames;
|
|
2261
2263
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2262
2264
|
const p = l;
|
|
2263
2265
|
Object.keys(p).forEach((m) => {
|
|
2264
|
-
|
|
2266
|
+
t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
|
|
2265
2267
|
});
|
|
2266
2268
|
}
|
|
2267
|
-
const
|
|
2268
|
-
return /* @__PURE__ */
|
|
2269
|
+
const c = o.arrowSize ?? 16, d = o.withArrow;
|
|
2270
|
+
return /* @__PURE__ */ r(
|
|
2269
2271
|
Se,
|
|
2270
2272
|
{
|
|
2271
2273
|
position: "top",
|
|
2272
2274
|
multiline: !0,
|
|
2273
|
-
arrowSize:
|
|
2275
|
+
arrowSize: c,
|
|
2274
2276
|
withArrow: n ?? d,
|
|
2275
|
-
classNames:
|
|
2276
|
-
...
|
|
2277
|
+
classNames: t,
|
|
2278
|
+
...o
|
|
2277
2279
|
}
|
|
2278
2280
|
);
|
|
2279
2281
|
};
|
|
@@ -2281,17 +2283,17 @@ xo.displayName = "Tooltip";
|
|
|
2281
2283
|
const Ao = xo;
|
|
2282
2284
|
Ao.Floating = Se.Floating;
|
|
2283
2285
|
Ao.Group = Se.Group;
|
|
2284
|
-
const
|
|
2286
|
+
const Ks = (a) => /* @__PURE__ */ r("div", { ...a, children: "TransferList" });
|
|
2285
2287
|
export {
|
|
2286
2288
|
Oe as Accordion,
|
|
2287
2289
|
ke as AccordionControl,
|
|
2288
2290
|
Ve as AccordionItem,
|
|
2289
2291
|
Te as AccordionPanel,
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
+
As as Avatar,
|
|
2293
|
+
Ws as Badge,
|
|
2292
2294
|
_t as Breadcrumb,
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
+
Ss as Button,
|
|
2296
|
+
ks as Card,
|
|
2295
2297
|
Qe as CardContent,
|
|
2296
2298
|
Ke as CardFooter,
|
|
2297
2299
|
Ze as CardHeader,
|
|
@@ -2299,52 +2301,52 @@ export {
|
|
|
2299
2301
|
to as Checkbox,
|
|
2300
2302
|
oo as CheckboxGroup,
|
|
2301
2303
|
lr as Chip,
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
+
ir as Container,
|
|
2305
|
+
Os as DatePicker,
|
|
2304
2306
|
br as Dropdown,
|
|
2305
2307
|
Ne as EmptyValueRenderer,
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2308
|
+
Is as FileInput,
|
|
2309
|
+
zs as FileUpload,
|
|
2310
|
+
Rs as Flex,
|
|
2311
|
+
ee as FormControlLayout,
|
|
2310
2312
|
fr as Group,
|
|
2311
2313
|
lo as HoverCard,
|
|
2312
2314
|
Je as Label,
|
|
2313
2315
|
Vt as Layer,
|
|
2314
|
-
|
|
2316
|
+
Ls as Link,
|
|
2315
2317
|
Cr as Loader,
|
|
2316
2318
|
le as Menu,
|
|
2317
|
-
|
|
2319
|
+
Ms as Modal,
|
|
2318
2320
|
Mr as NumberInput,
|
|
2319
|
-
|
|
2321
|
+
Fs as Pagination,
|
|
2320
2322
|
Q as Panel,
|
|
2321
2323
|
$o as PanelFooter,
|
|
2322
|
-
|
|
2324
|
+
Es as Popover,
|
|
2323
2325
|
Co as Radio,
|
|
2324
2326
|
vo as RadioGroup,
|
|
2325
|
-
|
|
2327
|
+
os as ReadOnlyBooleanField,
|
|
2326
2328
|
eo as ReadOnlyField,
|
|
2327
|
-
|
|
2329
|
+
es as ReadOnlySwitchField,
|
|
2328
2330
|
he as ReadOnlyTextField,
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2331
|
+
Ts as RecursicaThemeProvider,
|
|
2332
|
+
Bs as Search,
|
|
2333
|
+
js as SegmentedControl,
|
|
2334
|
+
Ds as Slider,
|
|
2335
|
+
rs as Stack,
|
|
2336
|
+
Vs as Stepper,
|
|
2335
2337
|
go as Switch,
|
|
2336
2338
|
wo as SwitchGroup,
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2339
|
+
Gs as Table,
|
|
2340
|
+
qs as Tabs,
|
|
2341
|
+
Hs as Text,
|
|
2342
|
+
ys as TextArea,
|
|
2343
|
+
$s as TextField,
|
|
2344
|
+
Us as TimePicker,
|
|
2345
|
+
Ys as Timeline,
|
|
2346
|
+
vs as Title,
|
|
2347
|
+
Zs as Toast,
|
|
2346
2348
|
Ao as Tooltip,
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
+
Ks as TransferList,
|
|
2350
|
+
te as WithReadOnlyWrapper
|
|
2349
2351
|
};
|
|
2350
2352
|
//# sourceMappingURL=mantine-adapter.js.map
|