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