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