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