@recursica/mantine-adapter 0.14.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 +12 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1439 -1251
- 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/dist/src/components/Panel/Panel.d.ts +10 -2
- 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/Card/Card.module.css +1 -0
- package/src/components/Card/Card.stories.tsx +48 -58
- 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/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +3 -3
- package/src/components/Panel/Panel.module.css +11 -0
- package/src/components/Panel/Panel.stories.tsx +12 -1
- package/src/components/Panel/Panel.tsx +12 -2
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,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
|
|
73
|
-
if (
|
|
74
|
-
return
|
|
75
|
-
const
|
|
76
|
-
for (const
|
|
77
|
-
|
|
78
|
-
for (const [
|
|
79
|
-
typeof
|
|
80
|
-
return
|
|
72
|
+
function f(n, e) {
|
|
73
|
+
if (e)
|
|
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
|
-
},
|
|
93
|
-
variant:
|
|
94
|
-
overStyled:
|
|
95
|
-
...
|
|
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
|
+
variant: e = "unstyled",
|
|
94
|
+
overStyled: r = !1,
|
|
95
|
+
...a
|
|
96
96
|
}) {
|
|
97
|
-
const
|
|
97
|
+
const o = f(a, r), t = {
|
|
98
98
|
root: Y.root,
|
|
99
99
|
item: Y.item,
|
|
100
100
|
control: Y.control,
|
|
@@ -102,83 +102,83 @@ const Qo = "Accordion-module__root___Dem6d", Xo = "Accordion-module__item___7ryV
|
|
|
102
102
|
chevron: Y.chevron,
|
|
103
103
|
panel: Y.panel,
|
|
104
104
|
content: Y.content
|
|
105
|
-
}, l =
|
|
105
|
+
}, l = o.classNames;
|
|
106
106
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
107
107
|
const d = l;
|
|
108
108
|
Object.keys(d).forEach((c) => {
|
|
109
|
-
|
|
109
|
+
t[c] ? t[c] = `${t[c]} ${d[c]}` : t[c] = d[c];
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
const i =
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
-
|
|
112
|
+
const i = o.className;
|
|
113
|
+
return /* @__PURE__ */ s(
|
|
114
|
+
xe,
|
|
115
115
|
{
|
|
116
|
-
variant:
|
|
116
|
+
variant: e,
|
|
117
117
|
className: i,
|
|
118
|
-
classNames:
|
|
119
|
-
...
|
|
118
|
+
classNames: t,
|
|
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
129
|
ref: i,
|
|
130
130
|
className: p,
|
|
131
131
|
...d,
|
|
132
|
-
children:
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
] }) :
|
|
132
|
+
children: e ? /* @__PURE__ */ M(Ne, { children: [
|
|
133
|
+
/* @__PURE__ */ s(ze, { leftIcon: r, children: e }),
|
|
134
|
+
/* @__PURE__ */ s(Re, { children: o })
|
|
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
|
-
ref:
|
|
145
|
+
ref: t,
|
|
146
146
|
className: i,
|
|
147
|
-
icon:
|
|
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
|
|
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:
|
|
160
|
-
className:
|
|
161
|
-
...
|
|
159
|
+
ref: a,
|
|
160
|
+
className: t,
|
|
161
|
+
...o
|
|
162
162
|
}
|
|
163
163
|
);
|
|
164
164
|
});
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
root:
|
|
172
|
-
iconWrapper:
|
|
173
|
-
textWrapper:
|
|
174
|
-
image:
|
|
175
|
-
placeholder:
|
|
176
|
-
},
|
|
177
|
-
size:
|
|
178
|
-
variant:
|
|
179
|
-
icon:
|
|
180
|
-
children:
|
|
181
|
-
src:
|
|
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
|
+
size: e = "default",
|
|
178
|
+
variant: r = "solid",
|
|
179
|
+
icon: a,
|
|
180
|
+
children: o,
|
|
181
|
+
src: t,
|
|
182
182
|
overStyled: l = !1,
|
|
183
183
|
...i
|
|
184
184
|
}, d) {
|
|
@@ -190,108 +190,108 @@ 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
|
-
|
|
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: c[
|
|
213
|
-
size: p[
|
|
214
|
-
src:
|
|
215
|
-
"data-variant":
|
|
216
|
-
"data-size":
|
|
212
|
+
variant: c[r],
|
|
213
|
+
size: p[e],
|
|
214
|
+
src: t,
|
|
215
|
+
"data-variant": r,
|
|
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
|
|
228
|
-
root:
|
|
229
|
-
section:
|
|
230
|
-
label:
|
|
231
|
-
}, i =
|
|
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
232
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
233
233
|
const p = i;
|
|
234
|
-
l.root = p.root ? `${
|
|
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 =
|
|
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
|
-
ref:
|
|
240
|
+
ref: o,
|
|
241
241
|
variant: "filled",
|
|
242
|
-
"data-variant":
|
|
243
|
-
...
|
|
242
|
+
"data-variant": e,
|
|
243
|
+
...t,
|
|
244
244
|
className: c,
|
|
245
245
|
classNames: l
|
|
246
246
|
}
|
|
247
247
|
);
|
|
248
248
|
});
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
root:
|
|
252
|
-
separator:
|
|
253
|
-
},
|
|
254
|
-
function({ overStyled:
|
|
255
|
-
const
|
|
256
|
-
{ separator:
|
|
257
|
-
|
|
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
|
+
e
|
|
258
258
|
), l = {
|
|
259
|
-
root:
|
|
260
|
-
separator:
|
|
261
|
-
}, i =
|
|
259
|
+
root: te.root,
|
|
260
|
+
separator: te.separator
|
|
261
|
+
}, i = t.classNames;
|
|
262
262
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
263
263
|
const p = i;
|
|
264
|
-
l.root = p.root ? `${
|
|
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 =
|
|
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
|
-
ref:
|
|
271
|
-
...
|
|
270
|
+
ref: o,
|
|
271
|
+
...t,
|
|
272
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
|
|
290
|
-
variant:
|
|
291
|
-
size:
|
|
292
|
-
icon:
|
|
293
|
-
children:
|
|
294
|
-
overStyled:
|
|
289
|
+
const Qe = N(function({
|
|
290
|
+
variant: e = "solid",
|
|
291
|
+
size: r = "default",
|
|
292
|
+
icon: a,
|
|
293
|
+
children: o,
|
|
294
|
+
overStyled: t = !1,
|
|
295
295
|
...l
|
|
296
296
|
}, i) {
|
|
297
297
|
const d = {
|
|
@@ -301,184 +301,184 @@ const He = v(function({
|
|
|
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
323
|
ref: i,
|
|
324
|
-
className:
|
|
325
|
-
classNames:
|
|
326
|
-
variant: d[
|
|
327
|
-
size: c[
|
|
328
|
-
leftSection:
|
|
329
|
-
"data-variant":
|
|
330
|
-
"data-size":
|
|
324
|
+
className: P,
|
|
325
|
+
classNames: $,
|
|
326
|
+
variant: d[e],
|
|
327
|
+
size: c[r],
|
|
328
|
+
leftSection: a != null ? /* @__PURE__ */ s("span", { className: q.iconWrapper, "aria-hidden": !0, children: a }) : void 0,
|
|
329
|
+
"data-variant": e,
|
|
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
|
|
348
|
-
root:
|
|
349
|
-
}, l =
|
|
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
|
+
}, l = o.classNames;
|
|
350
350
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
351
351
|
const d = l;
|
|
352
352
|
Object.keys(d).forEach((c) => {
|
|
353
|
-
|
|
353
|
+
t[c] ? t[c] = `${t[c]} ${d[c]}` : t[c] = d[c];
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
|
-
const i =
|
|
357
|
-
return /* @__PURE__ */
|
|
358
|
-
|
|
356
|
+
const i = o.className;
|
|
357
|
+
return /* @__PURE__ */ s(
|
|
358
|
+
We,
|
|
359
359
|
{
|
|
360
|
-
ref:
|
|
360
|
+
ref: a,
|
|
361
361
|
className: i,
|
|
362
|
-
classNames:
|
|
363
|
-
...
|
|
362
|
+
classNames: t,
|
|
363
|
+
...o
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
});
|
|
367
|
-
|
|
368
|
-
const
|
|
369
|
-
function({ overStyled:
|
|
370
|
-
const
|
|
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:
|
|
376
|
-
...
|
|
374
|
+
ref: a,
|
|
375
|
+
className: t ? `${K.section} ${t}` : K.section,
|
|
376
|
+
...o
|
|
377
377
|
}
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
);
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
function({ overStyled:
|
|
384
|
-
const
|
|
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:
|
|
390
|
-
...
|
|
388
|
+
ref: a,
|
|
389
|
+
className: t ? `${K.header} ${t}` : K.header,
|
|
390
|
+
...o
|
|
391
391
|
}
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
394
|
);
|
|
395
|
-
|
|
396
|
-
const
|
|
397
|
-
function({ overStyled:
|
|
398
|
-
const
|
|
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:
|
|
404
|
-
...
|
|
402
|
+
ref: a,
|
|
403
|
+
className: t ? `${K.footer} ${t}` : K.footer,
|
|
404
|
+
...o
|
|
405
405
|
}
|
|
406
406
|
);
|
|
407
407
|
}
|
|
408
408
|
);
|
|
409
|
-
|
|
410
|
-
const
|
|
411
|
-
function({ overStyled:
|
|
412
|
-
const
|
|
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:
|
|
418
|
-
...
|
|
416
|
+
ref: a,
|
|
417
|
+
className: t ? `${K.content} ${t}` : K.content,
|
|
418
|
+
...o
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
const
|
|
430
|
-
root:
|
|
431
|
-
labelText:
|
|
432
|
-
required:
|
|
433
|
-
optionalText:
|
|
434
|
-
actionAreaWrapper:
|
|
435
|
-
editIconWrapper:
|
|
436
|
-
},
|
|
437
|
-
labelSize:
|
|
438
|
-
labelAlignment:
|
|
439
|
-
required:
|
|
440
|
-
labelOptionalText:
|
|
441
|
-
labelWithEditIcon:
|
|
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
|
+
labelSize: e = "default",
|
|
438
|
+
labelAlignment: r,
|
|
439
|
+
required: a = !1,
|
|
440
|
+
labelOptionalText: o,
|
|
441
|
+
labelWithEditIcon: t,
|
|
442
442
|
labelActionArea: l,
|
|
443
443
|
onLabelEditClick: i,
|
|
444
444
|
children: d,
|
|
445
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
|
-
"data-size":
|
|
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":
|
|
477
|
+
className: V.editIconWrapper,
|
|
478
|
+
"data-replaces-asterisk": a ? "true" : void 0,
|
|
479
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 Ss = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
|
|
|
486
486
|
viewBox: "0 0 16 16",
|
|
487
487
|
fill: "none",
|
|
488
488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
-
children: /* @__PURE__ */
|
|
489
|
+
children: /* @__PURE__ */ 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,48 +503,48 @@ const Ss = 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
|
-
},
|
|
512
|
-
formLayout:
|
|
513
|
-
labelSize:
|
|
514
|
-
controlMaxWidth:
|
|
515
|
-
controlMinWidth:
|
|
516
|
-
leftSection:
|
|
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
|
+
formLayout: e = "stacked",
|
|
513
|
+
labelSize: r = "default",
|
|
514
|
+
controlMaxWidth: a,
|
|
515
|
+
controlMinWidth: o,
|
|
516
|
+
leftSection: t,
|
|
517
517
|
children: l,
|
|
518
518
|
className: i,
|
|
519
519
|
style: d,
|
|
520
520
|
...c
|
|
521
521
|
}, p) {
|
|
522
|
-
const m = i ? `${
|
|
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,
|
|
527
527
|
className: m,
|
|
528
|
-
"data-form-layout":
|
|
528
|
+
"data-form-layout": e,
|
|
529
529
|
style: {
|
|
530
530
|
...d,
|
|
531
|
-
...
|
|
532
|
-
...
|
|
531
|
+
...a ? { "--form-control-max-width": a } : {},
|
|
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,44 +571,44 @@ 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
|
-
),
|
|
580
|
-
assistiveVariant:
|
|
581
|
-
assistiveWithIcon:
|
|
582
|
-
children:
|
|
583
|
-
className:
|
|
584
|
-
overStyled:
|
|
579
|
+
), ke = N(function({
|
|
580
|
+
assistiveVariant: e = "help",
|
|
581
|
+
assistiveWithIcon: r = !0,
|
|
582
|
+
children: a,
|
|
583
|
+
className: o,
|
|
584
|
+
overStyled: t = !1,
|
|
585
585
|
...l
|
|
586
586
|
}, i) {
|
|
587
|
-
const c =
|
|
588
|
-
return /* @__PURE__ */
|
|
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
591
|
ref: i,
|
|
592
592
|
className: m,
|
|
593
|
-
"data-variant":
|
|
593
|
+
"data-variant": e,
|
|
594
594
|
style: c.style,
|
|
595
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
|
-
},
|
|
607
|
-
formLayout:
|
|
608
|
-
labelSize:
|
|
609
|
-
labelAlignment:
|
|
610
|
-
labelOptionalText:
|
|
611
|
-
labelWithEditIcon:
|
|
603
|
+
ke.displayName = "AssistiveElement";
|
|
604
|
+
const as = "FormControlWrapper-module__inputSection___HenXk", Ee = {
|
|
605
|
+
inputSection: as
|
|
606
|
+
}, Pe = N(function({
|
|
607
|
+
formLayout: e,
|
|
608
|
+
labelSize: r,
|
|
609
|
+
labelAlignment: a,
|
|
610
|
+
labelOptionalText: o,
|
|
611
|
+
labelWithEditIcon: t,
|
|
612
612
|
labelActionArea: l,
|
|
613
613
|
onLabelEditClick: i,
|
|
614
614
|
label: d,
|
|
@@ -618,204 +618,204 @@ const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
|
|
|
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:
|
|
642
|
-
labelOptionalText:
|
|
643
|
-
labelWithEditIcon:
|
|
640
|
+
id: T,
|
|
641
|
+
labelAlignment: a,
|
|
642
|
+
labelOptionalText: o,
|
|
643
|
+
labelWithEditIcon: t,
|
|
644
644
|
labelActionArea: l,
|
|
645
645
|
onLabelEditClick: i,
|
|
646
|
-
required: C ??
|
|
647
|
-
|
|
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:
|
|
656
|
-
formLayout:
|
|
657
|
-
labelSize:
|
|
654
|
+
ref: L,
|
|
655
|
+
className: D,
|
|
656
|
+
formLayout: e,
|
|
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 i =
|
|
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
696
|
className: i,
|
|
697
|
-
style:
|
|
698
|
-
...
|
|
699
|
-
...
|
|
700
|
-
children:
|
|
697
|
+
style: o,
|
|
698
|
+
...e ? {} : { "data-recursica-layer": String(n) },
|
|
699
|
+
...t,
|
|
700
|
+
children: r
|
|
701
701
|
}
|
|
702
702
|
);
|
|
703
703
|
});
|
|
704
|
-
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
const
|
|
709
|
-
function
|
|
710
|
-
children:
|
|
711
|
-
theme:
|
|
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
|
+
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
|
-
}, [
|
|
718
|
+
}, [e]), /* @__PURE__ */ s(Ne, { children: n });
|
|
719
719
|
}
|
|
720
|
-
const
|
|
721
|
-
textField:
|
|
722
|
-
},
|
|
723
|
-
value:
|
|
724
|
-
overStyled:
|
|
725
|
-
...
|
|
720
|
+
const is = "ReadOnlyField-module__textField___qKn25", we = {
|
|
721
|
+
textField: is
|
|
722
|
+
}, Ce = ({
|
|
723
|
+
value: n,
|
|
724
|
+
overStyled: e = !1,
|
|
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:
|
|
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:
|
|
738
|
+
Ce.displayName = "ReadOnlyTextField";
|
|
739
|
+
const ro = N(
|
|
740
|
+
function({ value: e, type: r = "text", emptyValueComponent: a, overStyled: o = !1, ...t }, l) {
|
|
741
741
|
let i = null;
|
|
742
|
-
const d =
|
|
743
|
-
switch (
|
|
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
|
-
i = /* @__PURE__ */
|
|
746
|
-
|
|
745
|
+
i = /* @__PURE__ */ s(
|
|
746
|
+
Ce,
|
|
747
747
|
{
|
|
748
|
-
value:
|
|
749
|
-
overStyled:
|
|
748
|
+
value: e === !0 ? "True" : e === !1 ? "False" : m,
|
|
749
|
+
overStyled: o
|
|
750
750
|
}
|
|
751
751
|
);
|
|
752
752
|
break;
|
|
753
753
|
case "switch":
|
|
754
|
-
i = /* @__PURE__ */
|
|
755
|
-
|
|
754
|
+
i = /* @__PURE__ */ s(
|
|
755
|
+
Ce,
|
|
756
756
|
{
|
|
757
|
-
value:
|
|
758
|
-
overStyled:
|
|
757
|
+
value: e === !0 ? "On" : e === !1 ? "Off" : m,
|
|
758
|
+
overStyled: o
|
|
759
759
|
}
|
|
760
760
|
);
|
|
761
761
|
break;
|
|
762
762
|
case "text":
|
|
763
763
|
default:
|
|
764
|
-
i = /* @__PURE__ */
|
|
765
|
-
|
|
764
|
+
i = /* @__PURE__ */ s(
|
|
765
|
+
Ce,
|
|
766
766
|
{
|
|
767
767
|
value: m,
|
|
768
|
-
overStyled:
|
|
768
|
+
overStyled: o
|
|
769
769
|
}
|
|
770
770
|
);
|
|
771
771
|
break;
|
|
772
772
|
}
|
|
773
|
-
return /* @__PURE__ */
|
|
774
|
-
|
|
773
|
+
return /* @__PURE__ */ s(
|
|
774
|
+
Pe,
|
|
775
775
|
{
|
|
776
776
|
ref: l,
|
|
777
|
-
overStyled:
|
|
777
|
+
overStyled: o,
|
|
778
778
|
...d,
|
|
779
779
|
children: i
|
|
780
780
|
}
|
|
781
781
|
);
|
|
782
782
|
}
|
|
783
783
|
);
|
|
784
|
-
|
|
785
|
-
const
|
|
786
|
-
readOnly:
|
|
787
|
-
readOnlyComponent:
|
|
788
|
-
readOnlyType:
|
|
789
|
-
readOnlyValue:
|
|
790
|
-
readOnlyNativeProps:
|
|
784
|
+
ro.displayName = "ReadOnlyField";
|
|
785
|
+
const re = N(function({
|
|
786
|
+
readOnly: e,
|
|
787
|
+
readOnlyComponent: r,
|
|
788
|
+
readOnlyType: a = "text",
|
|
789
|
+
readOnlyValue: o,
|
|
790
|
+
readOnlyNativeProps: t,
|
|
791
791
|
emptyValueComponent: l,
|
|
792
792
|
activeComponent: i,
|
|
793
793
|
overStyled: d,
|
|
794
794
|
onLabelEditClick: c,
|
|
795
795
|
...p
|
|
796
796
|
}, m) {
|
|
797
|
-
return
|
|
798
|
-
|
|
797
|
+
return e ? r ? /* @__PURE__ */ s(
|
|
798
|
+
Pe,
|
|
799
799
|
{
|
|
800
800
|
ref: m,
|
|
801
801
|
...p,
|
|
802
802
|
onLabelEditClick: c,
|
|
803
803
|
overStyled: d,
|
|
804
|
-
children: /* @__PURE__ */
|
|
804
|
+
children: /* @__PURE__ */ s(r, { ...t })
|
|
805
805
|
}
|
|
806
|
-
) : /* @__PURE__ */
|
|
807
|
-
|
|
806
|
+
) : /* @__PURE__ */ s(
|
|
807
|
+
ro,
|
|
808
808
|
{
|
|
809
809
|
ref: m,
|
|
810
|
-
type:
|
|
811
|
-
value:
|
|
810
|
+
type: a,
|
|
811
|
+
value: o,
|
|
812
812
|
emptyValueComponent: l,
|
|
813
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,
|
|
@@ -825,23 +825,23 @@ const oe = v(function({
|
|
|
825
825
|
}
|
|
826
826
|
);
|
|
827
827
|
});
|
|
828
|
-
|
|
829
|
-
const
|
|
830
|
-
groupRoot:
|
|
831
|
-
root:
|
|
832
|
-
body:
|
|
833
|
-
inner:
|
|
834
|
-
input:
|
|
835
|
-
icon:
|
|
836
|
-
labelWrapper:
|
|
837
|
-
label:
|
|
838
|
-
},
|
|
839
|
-
function(
|
|
828
|
+
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:
|
|
842
|
-
formLayout:
|
|
841
|
+
overStyled: a = !1,
|
|
842
|
+
formLayout: o = "stacked",
|
|
843
843
|
// Label Wrappers
|
|
844
|
-
labelSize:
|
|
844
|
+
labelSize: t,
|
|
845
845
|
labelAlignment: l,
|
|
846
846
|
labelOptionalText: i,
|
|
847
847
|
labelWithEditIcon: d,
|
|
@@ -852,30 +852,30 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___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
|
-
} =
|
|
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
|
-
formLayout:
|
|
878
|
-
labelSize:
|
|
877
|
+
formLayout: o,
|
|
878
|
+
labelSize: t,
|
|
879
879
|
labelAlignment: l,
|
|
880
880
|
labelOptionalText: i,
|
|
881
881
|
labelWithEditIcon: d,
|
|
@@ -885,25 +885,25 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___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 :
|
|
896
|
-
readOnlyNativeProps:
|
|
897
|
-
activeComponent: /* @__PURE__ */
|
|
898
|
-
|
|
895
|
+
readOnlyValue: x !== void 0 ? x : T,
|
|
896
|
+
readOnlyNativeProps: e,
|
|
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,90 +911,90 @@ const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___m
|
|
|
911
911
|
);
|
|
912
912
|
}
|
|
913
913
|
);
|
|
914
|
-
|
|
915
|
-
const
|
|
916
|
-
function(
|
|
914
|
+
no.displayName = "CheckboxGroup";
|
|
915
|
+
const lo = N(
|
|
916
|
+
function(e, r) {
|
|
917
917
|
const {
|
|
918
|
-
overStyled:
|
|
919
|
-
readOnly:
|
|
920
|
-
readOnlyComponent:
|
|
918
|
+
overStyled: a = !1,
|
|
919
|
+
readOnly: o,
|
|
920
|
+
readOnlyComponent: t,
|
|
921
921
|
disabled: l,
|
|
922
922
|
formLayout: i,
|
|
923
923
|
labelSize: d,
|
|
924
924
|
controlMaxWidth: c,
|
|
925
925
|
controlMinWidth: p,
|
|
926
926
|
...m
|
|
927
|
-
} =
|
|
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 ? `${
|
|
943
|
-
if (
|
|
944
|
-
const b = !!(u.checked ?? u.defaultChecked),
|
|
945
|
-
|
|
942
|
+
const C = u.className, h = C ? `${k.root} ${C}` : k.root;
|
|
943
|
+
if (o && t) {
|
|
944
|
+
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
945
|
+
t,
|
|
946
946
|
{
|
|
947
|
-
...
|
|
947
|
+
...e,
|
|
948
948
|
checked: b,
|
|
949
949
|
label: u.label
|
|
950
950
|
}
|
|
951
951
|
);
|
|
952
|
-
return i ? /* @__PURE__ */
|
|
953
|
-
|
|
952
|
+
return i ? /* @__PURE__ */ s(
|
|
953
|
+
ae,
|
|
954
954
|
{
|
|
955
955
|
formLayout: i,
|
|
956
956
|
labelSize: d,
|
|
957
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
|
-
disabled:
|
|
969
|
+
disabled: o || l,
|
|
970
970
|
...y
|
|
971
971
|
}
|
|
972
972
|
);
|
|
973
|
-
return i ? /* @__PURE__ */
|
|
974
|
-
|
|
973
|
+
return i ? /* @__PURE__ */ s(
|
|
974
|
+
ae,
|
|
975
975
|
{
|
|
976
976
|
formLayout: i,
|
|
977
977
|
labelSize: d,
|
|
978
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,115 +1006,115 @@ 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
|
|
1018
|
-
error:
|
|
1019
|
-
icon:
|
|
1020
|
-
onRemove:
|
|
1021
|
-
removeLabel:
|
|
1022
|
-
children:
|
|
1017
|
+
const ws = N(function({
|
|
1018
|
+
error: e = !1,
|
|
1019
|
+
icon: r,
|
|
1020
|
+
onRemove: a,
|
|
1021
|
+
removeLabel: o = "Remove",
|
|
1022
|
+
children: t,
|
|
1023
1023
|
overStyled: l = !1,
|
|
1024
1024
|
...i
|
|
1025
1025
|
}, d) {
|
|
1026
|
-
const c =
|
|
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
|
-
...(
|
|
1045
|
-
...!
|
|
1044
|
+
...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1045
|
+
...!t && (!!r || !!a) ? { "data-icon-only": "" } : {},
|
|
1046
1046
|
...c,
|
|
1047
|
-
children: /* @__PURE__ */
|
|
1048
|
-
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
|
|
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
|
-
"aria-label":
|
|
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:
|
|
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
|
-
}, c = typeof
|
|
1085
|
-
root:
|
|
1084
|
+
}, c = typeof r == "string" && d[r] ? d[r] : r, p = {
|
|
1085
|
+
root: me.root
|
|
1086
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 = i.className, u = 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
|
-
ref:
|
|
1095
|
+
ref: t,
|
|
1096
1096
|
size: c,
|
|
1097
1097
|
className: u,
|
|
1098
1098
|
classNames: p,
|
|
1099
1099
|
...l,
|
|
1100
|
-
children:
|
|
1100
|
+
children: e
|
|
1101
1101
|
}
|
|
1102
1102
|
);
|
|
1103
1103
|
}
|
|
1104
1104
|
);
|
|
1105
|
-
|
|
1106
|
-
const
|
|
1107
|
-
root:
|
|
1108
|
-
input:
|
|
1109
|
-
section:
|
|
1110
|
-
dropdown:
|
|
1111
|
-
option:
|
|
1112
|
-
},
|
|
1113
|
-
function(
|
|
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:
|
|
1116
|
-
formLayout:
|
|
1117
|
-
containerWidth:
|
|
1115
|
+
overStyled: a = !1,
|
|
1116
|
+
formLayout: o = "stacked",
|
|
1117
|
+
containerWidth: t,
|
|
1118
1118
|
// Label & Wrapper Maps
|
|
1119
1119
|
labelSize: l,
|
|
1120
1120
|
labelAlignment: i,
|
|
@@ -1125,46 +1125,46 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
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
|
-
} =
|
|
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
|
-
width:
|
|
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:
|
|
1167
|
-
formLayout:
|
|
1166
|
+
overStyled: a,
|
|
1167
|
+
formLayout: o,
|
|
1168
1168
|
labelSize: l,
|
|
1169
1169
|
labelAlignment: i,
|
|
1170
1170
|
labelOptionalText: d,
|
|
@@ -1174,36 +1174,36 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
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) :
|
|
1185
|
-
readOnlyNativeProps:
|
|
1184
|
+
readOnlyValue: x !== void 0 ? String(x) : T ? String(T) : void 0,
|
|
1185
|
+
readOnlyNativeProps: e,
|
|
1186
1186
|
activeComponent: (
|
|
1187
1187
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1188
|
-
/* @__PURE__ */
|
|
1189
|
-
|
|
1188
|
+
/* @__PURE__ */ 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,108 +1211,138 @@ const Ts = (a) => /* @__PURE__ */ t("div", { ...a, children: "DatePicker" }), dr
|
|
|
1211
1211
|
);
|
|
1212
1212
|
}
|
|
1213
1213
|
);
|
|
1214
|
-
|
|
1215
|
-
const
|
|
1216
|
-
root:
|
|
1217
|
-
},
|
|
1218
|
-
const l =
|
|
1219
|
-
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
1220
|
}, c = i.classNames;
|
|
1221
1221
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1222
1222
|
const y = c;
|
|
1223
|
-
d.root = y.root ? `${
|
|
1223
|
+
d.root = y.root ? `${ue.root} ${y.root}` : ue.root;
|
|
1224
1224
|
}
|
|
1225
|
-
const p = i.className, m = 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
|
-
ref:
|
|
1229
|
+
ref: t,
|
|
1230
1230
|
className: m,
|
|
1231
1231
|
classNames: d,
|
|
1232
1232
|
...l,
|
|
1233
|
-
children:
|
|
1233
|
+
children: e
|
|
1234
1234
|
}
|
|
1235
1235
|
);
|
|
1236
1236
|
});
|
|
1237
|
-
|
|
1238
|
-
const
|
|
1239
|
-
root:
|
|
1240
|
-
},
|
|
1241
|
-
const l =
|
|
1242
|
-
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
1243
|
}, c = i.classNames;
|
|
1244
1244
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1245
1245
|
const y = c;
|
|
1246
|
-
d.root = y.root ? `${
|
|
1246
|
+
d.root = y.root ? `${_e.root} ${y.root}` : _e.root;
|
|
1247
1247
|
}
|
|
1248
|
-
const p = i.className, m = 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
|
-
ref:
|
|
1252
|
+
ref: t,
|
|
1253
1253
|
className: m,
|
|
1254
1254
|
classNames: d,
|
|
1255
1255
|
...l,
|
|
1256
|
-
children:
|
|
1256
|
+
children: e
|
|
1257
1257
|
}
|
|
1258
1258
|
);
|
|
1259
1259
|
});
|
|
1260
|
-
|
|
1261
|
-
const
|
|
1262
|
-
dropdown:
|
|
1263
|
-
arrow:
|
|
1264
|
-
},
|
|
1265
|
-
overStyled:
|
|
1266
|
-
withBeak:
|
|
1267
|
-
...
|
|
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
|
+
overStyled: e = !1,
|
|
1266
|
+
withBeak: r = !0,
|
|
1267
|
+
...a
|
|
1268
1268
|
}) {
|
|
1269
|
-
const
|
|
1270
|
-
dropdown:
|
|
1271
|
-
arrow:
|
|
1272
|
-
}, l =
|
|
1269
|
+
const o = f(a, e), t = {
|
|
1270
|
+
dropdown: je.dropdown,
|
|
1271
|
+
arrow: je.arrow
|
|
1272
|
+
}, l = o.classNames;
|
|
1273
1273
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
1274
1274
|
const p = l;
|
|
1275
1275
|
Object.keys(p).forEach((m) => {
|
|
1276
|
-
|
|
1276
|
+
t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
|
|
1277
1277
|
});
|
|
1278
1278
|
}
|
|
1279
|
-
const i =
|
|
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
1284
|
arrowSize: i,
|
|
1285
|
-
withArrow:
|
|
1286
|
-
classNames:
|
|
1287
|
-
...
|
|
1285
|
+
withArrow: r ?? d,
|
|
1286
|
+
classNames: t,
|
|
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
|
|
1297
|
-
overStyled:
|
|
1298
|
-
...
|
|
1295
|
+
po.displayName = "HoverCardTarget";
|
|
1296
|
+
const mo = function({
|
|
1297
|
+
overStyled: e = !1,
|
|
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
|
-
className:
|
|
1305
|
-
...
|
|
1304
|
+
className: o,
|
|
1305
|
+
...a
|
|
1306
1306
|
}
|
|
1307
1307
|
);
|
|
1308
1308
|
};
|
|
1309
|
-
|
|
1310
|
-
const
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
const
|
|
1314
|
-
root:
|
|
1315
|
-
|
|
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) {
|
|
1316
1346
|
const i = {
|
|
1317
1347
|
sm: "small",
|
|
1318
1348
|
md: "default",
|
|
@@ -1320,20 +1350,20 @@ const Rs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Link" }), vr = "Lo
|
|
|
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
|
-
c.root = u.root ? `${
|
|
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
|
-
ref:
|
|
1335
|
-
type:
|
|
1336
|
-
"data-variant":
|
|
1364
|
+
ref: t,
|
|
1365
|
+
type: e,
|
|
1366
|
+
"data-variant": e,
|
|
1337
1367
|
"data-size": i,
|
|
1338
1368
|
...d,
|
|
1339
1369
|
className: y,
|
|
@@ -1341,164 +1371,164 @@ const Rs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Link" }), vr = "Lo
|
|
|
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
|
-
},
|
|
1363
|
-
if (
|
|
1364
|
-
const l =
|
|
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;
|
|
1393
|
+
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
1394
|
+
const l = t;
|
|
1365
1395
|
Object.keys(l).forEach((i) => {
|
|
1366
|
-
|
|
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
|
-
classNames:
|
|
1373
|
-
...
|
|
1402
|
+
classNames: o,
|
|
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:
|
|
1384
|
-
const
|
|
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:
|
|
1389
|
-
className:
|
|
1390
|
-
...
|
|
1418
|
+
ref: a,
|
|
1419
|
+
className: t,
|
|
1420
|
+
...o
|
|
1391
1421
|
}
|
|
1392
1422
|
);
|
|
1393
1423
|
}
|
|
1394
1424
|
);
|
|
1395
|
-
|
|
1396
|
-
const
|
|
1397
|
-
function({ overStyled:
|
|
1398
|
-
const
|
|
1399
|
-
|
|
1400
|
-
const l =
|
|
1401
|
-
return /* @__PURE__ */
|
|
1402
|
-
|
|
1425
|
+
ho.displayName = "MenuDropdown";
|
|
1426
|
+
const No = N(
|
|
1427
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1428
|
+
const o = f(r, e), t = o;
|
|
1429
|
+
e || delete t.color;
|
|
1430
|
+
const l = t.className;
|
|
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:
|
|
1414
|
-
const
|
|
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:
|
|
1419
|
-
className:
|
|
1420
|
-
...
|
|
1448
|
+
ref: a,
|
|
1449
|
+
className: t,
|
|
1450
|
+
...o
|
|
1421
1451
|
}
|
|
1422
1452
|
);
|
|
1423
1453
|
}
|
|
1424
1454
|
);
|
|
1425
|
-
|
|
1426
|
-
const
|
|
1427
|
-
const
|
|
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:
|
|
1432
|
-
className:
|
|
1433
|
-
...
|
|
1461
|
+
ref: a,
|
|
1462
|
+
className: t,
|
|
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:
|
|
1448
|
-
const
|
|
1449
|
-
|
|
1450
|
-
const l =
|
|
1451
|
-
return /* @__PURE__ */
|
|
1452
|
-
|
|
1475
|
+
Co.displayName = "MenuSubTarget";
|
|
1476
|
+
const Po = N(
|
|
1477
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1478
|
+
const o = f(r, e), t = o;
|
|
1479
|
+
e || delete t.color;
|
|
1480
|
+
const l = t.className;
|
|
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:
|
|
1466
|
-
const
|
|
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:
|
|
1471
|
-
className:
|
|
1472
|
-
...
|
|
1500
|
+
ref: a,
|
|
1501
|
+
className: t,
|
|
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(
|
|
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:
|
|
1499
|
-
formLayout:
|
|
1528
|
+
overStyled: a = !1,
|
|
1529
|
+
formLayout: o = "stacked",
|
|
1500
1530
|
// Label & Wrapper Maps
|
|
1501
|
-
labelSize:
|
|
1531
|
+
labelSize: t,
|
|
1502
1532
|
labelAlignment: l,
|
|
1503
1533
|
labelOptionalText: i,
|
|
1504
1534
|
labelWithEditIcon: d,
|
|
@@ -1508,38 +1538,38 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
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
|
-
} =
|
|
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:
|
|
1541
|
-
formLayout:
|
|
1542
|
-
labelSize:
|
|
1570
|
+
overStyled: a,
|
|
1571
|
+
formLayout: o,
|
|
1572
|
+
labelSize: t,
|
|
1543
1573
|
labelAlignment: l,
|
|
1544
1574
|
labelOptionalText: i,
|
|
1545
1575
|
labelWithEditIcon: d,
|
|
@@ -1549,25 +1579,25 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
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:
|
|
1559
|
-
readOnlyNativeProps:
|
|
1588
|
+
readOnlyValue: L !== void 0 ? L == null ? void 0 : L.toString() : x == null ? void 0 : x.toString(),
|
|
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 Ls = (a) => /* @__PURE__ */ t("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,78 +1617,236 @@ const Ls = (a) => /* @__PURE__ */ t("div", { ...a, children: "Modal" }), Or = "N
|
|
|
1587
1617
|
);
|
|
1588
1618
|
}
|
|
1589
1619
|
);
|
|
1590
|
-
|
|
1591
|
-
const
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
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({
|
|
1786
|
+
overStyled: e = !1,
|
|
1787
|
+
position: r = "right",
|
|
1788
|
+
keepMounted: a = !0,
|
|
1789
|
+
wrapHeaderText: o = !1,
|
|
1790
|
+
...t
|
|
1603
1791
|
}) {
|
|
1604
|
-
const
|
|
1792
|
+
const l = f(t, e), i = {
|
|
1605
1793
|
content: se.content,
|
|
1606
1794
|
header: se.header,
|
|
1607
|
-
title: se.title,
|
|
1795
|
+
title: o ? se.titleTruncate : se.title,
|
|
1608
1796
|
body: se.body,
|
|
1609
1797
|
inner: se.inner
|
|
1610
|
-
},
|
|
1611
|
-
if (
|
|
1612
|
-
const
|
|
1613
|
-
Object.keys(
|
|
1614
|
-
|
|
1798
|
+
}, d = l.classNames;
|
|
1799
|
+
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
1800
|
+
const c = d;
|
|
1801
|
+
Object.keys(c).forEach((p) => {
|
|
1802
|
+
i[p] ? i[p] = `${i[p]} ${c[p]}` : i[p] = c[p];
|
|
1615
1803
|
});
|
|
1616
1804
|
}
|
|
1617
|
-
return /* @__PURE__ */
|
|
1618
|
-
|
|
1805
|
+
return /* @__PURE__ */ s(
|
|
1806
|
+
J,
|
|
1619
1807
|
{
|
|
1620
|
-
position:
|
|
1621
|
-
keepMounted:
|
|
1622
|
-
closeOnClickOutside:
|
|
1623
|
-
...
|
|
1624
|
-
classNames:
|
|
1808
|
+
position: r,
|
|
1809
|
+
keepMounted: a,
|
|
1810
|
+
closeOnClickOutside: t.closeOnClickOutside ?? !!t.opened,
|
|
1811
|
+
...l,
|
|
1812
|
+
classNames: i
|
|
1625
1813
|
}
|
|
1626
1814
|
);
|
|
1627
1815
|
};
|
|
1628
|
-
|
|
1629
|
-
const
|
|
1630
|
-
function({ overStyled:
|
|
1631
|
-
const
|
|
1632
|
-
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 });
|
|
1633
1821
|
}
|
|
1634
1822
|
);
|
|
1635
|
-
|
|
1636
|
-
const
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
const
|
|
1647
|
-
groupRoot:
|
|
1648
|
-
root:
|
|
1649
|
-
body:
|
|
1650
|
-
inner:
|
|
1651
|
-
radio:
|
|
1652
|
-
icon:
|
|
1653
|
-
labelWrapper:
|
|
1654
|
-
label:
|
|
1655
|
-
},
|
|
1656
|
-
function(
|
|
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) {
|
|
1657
1845
|
const {
|
|
1658
|
-
overStyled:
|
|
1659
|
-
formLayout:
|
|
1846
|
+
overStyled: a = !1,
|
|
1847
|
+
formLayout: o = "stacked",
|
|
1660
1848
|
// Label Wrappers
|
|
1661
|
-
labelSize:
|
|
1849
|
+
labelSize: t,
|
|
1662
1850
|
labelAlignment: l,
|
|
1663
1851
|
labelOptionalText: i,
|
|
1664
1852
|
labelWithEditIcon: d,
|
|
@@ -1669,30 +1857,30 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1669
1857
|
assistiveText: y,
|
|
1670
1858
|
assistiveWithIcon: u,
|
|
1671
1859
|
error: _,
|
|
1672
|
-
required:
|
|
1860
|
+
required: $,
|
|
1673
1861
|
withAsterisk: C,
|
|
1674
1862
|
id: h,
|
|
1675
|
-
className:
|
|
1863
|
+
className: P,
|
|
1676
1864
|
style: b,
|
|
1677
|
-
children:
|
|
1678
|
-
readOnly:
|
|
1679
|
-
readOnlyComponent:
|
|
1680
|
-
emptyValueComponent:
|
|
1865
|
+
children: A,
|
|
1866
|
+
readOnly: v,
|
|
1867
|
+
readOnlyComponent: R,
|
|
1868
|
+
emptyValueComponent: L,
|
|
1681
1869
|
value: x,
|
|
1682
|
-
defaultValue:
|
|
1683
|
-
...
|
|
1684
|
-
} =
|
|
1685
|
-
return delete
|
|
1686
|
-
|
|
1870
|
+
defaultValue: T,
|
|
1871
|
+
...z
|
|
1872
|
+
} = e, S = f(z, a), w = S;
|
|
1873
|
+
return delete w.size, /* @__PURE__ */ s(
|
|
1874
|
+
re,
|
|
1687
1875
|
{
|
|
1688
|
-
className:
|
|
1876
|
+
className: P,
|
|
1689
1877
|
style: b,
|
|
1690
1878
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
1691
1879
|
controlMinWidth: void 0,
|
|
1692
|
-
overStyled:
|
|
1880
|
+
overStyled: a,
|
|
1693
1881
|
labelElement: "div",
|
|
1694
|
-
formLayout:
|
|
1695
|
-
labelSize:
|
|
1882
|
+
formLayout: o,
|
|
1883
|
+
labelSize: t,
|
|
1696
1884
|
labelAlignment: l,
|
|
1697
1885
|
labelOptionalText: i,
|
|
1698
1886
|
labelWithEditIcon: d,
|
|
@@ -1702,25 +1890,25 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1702
1890
|
assistiveText: y,
|
|
1703
1891
|
assistiveWithIcon: u,
|
|
1704
1892
|
error: _,
|
|
1705
|
-
required:
|
|
1893
|
+
required: $,
|
|
1706
1894
|
withAsterisk: C,
|
|
1707
1895
|
id: h,
|
|
1708
|
-
readOnly:
|
|
1709
|
-
readOnlyComponent:
|
|
1710
|
-
emptyValueComponent:
|
|
1896
|
+
readOnly: v && !!R,
|
|
1897
|
+
readOnlyComponent: R,
|
|
1898
|
+
emptyValueComponent: L,
|
|
1711
1899
|
readOnlyType: "text",
|
|
1712
|
-
readOnlyValue: x !== void 0 ? x :
|
|
1713
|
-
readOnlyNativeProps:
|
|
1714
|
-
activeComponent: /* @__PURE__ */
|
|
1715
|
-
|
|
1900
|
+
readOnlyValue: x !== void 0 ? x : T,
|
|
1901
|
+
readOnlyNativeProps: e,
|
|
1902
|
+
activeComponent: /* @__PURE__ */ s(
|
|
1903
|
+
qe.Group,
|
|
1716
1904
|
{
|
|
1717
|
-
ref:
|
|
1718
|
-
...
|
|
1719
|
-
disabled:
|
|
1905
|
+
ref: r,
|
|
1906
|
+
...S,
|
|
1907
|
+
disabled: v || w.disabled,
|
|
1720
1908
|
value: x,
|
|
1721
|
-
defaultValue:
|
|
1722
|
-
children: /* @__PURE__ */
|
|
1723
|
-
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
|
|
1724
1912
|
}) : g) })
|
|
1725
1913
|
}
|
|
1726
1914
|
)
|
|
@@ -1728,163 +1916,163 @@ const Fs = (a) => /* @__PURE__ */ t("div", { ...a, children: "Popover" }), Gr =
|
|
|
1728
1916
|
);
|
|
1729
1917
|
}
|
|
1730
1918
|
);
|
|
1731
|
-
|
|
1732
|
-
const
|
|
1919
|
+
Fo.displayName = "RadioGroup";
|
|
1920
|
+
const Sa = ({ className: n, style: e }) => /* @__PURE__ */ s(
|
|
1733
1921
|
"svg",
|
|
1734
1922
|
{
|
|
1735
1923
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1736
1924
|
viewBox: "0 0 16 16",
|
|
1737
1925
|
fill: "currentColor",
|
|
1738
|
-
className:
|
|
1739
|
-
style:
|
|
1740
|
-
children: /* @__PURE__ */
|
|
1926
|
+
className: n,
|
|
1927
|
+
style: e,
|
|
1928
|
+
children: /* @__PURE__ */ s("circle", { cx: "8", cy: "8", r: "5" })
|
|
1741
1929
|
}
|
|
1742
|
-
),
|
|
1743
|
-
function(
|
|
1930
|
+
), Eo = N(
|
|
1931
|
+
function(e, r) {
|
|
1744
1932
|
const {
|
|
1745
|
-
overStyled:
|
|
1746
|
-
readOnly:
|
|
1747
|
-
readOnlyComponent:
|
|
1933
|
+
overStyled: a = !1,
|
|
1934
|
+
readOnly: o,
|
|
1935
|
+
readOnlyComponent: t,
|
|
1748
1936
|
disabled: l,
|
|
1749
1937
|
formLayout: i,
|
|
1750
1938
|
labelSize: d,
|
|
1751
1939
|
controlMaxWidth: c,
|
|
1752
1940
|
controlMinWidth: p,
|
|
1753
1941
|
...m
|
|
1754
|
-
} =
|
|
1942
|
+
} = e, y = f(m, a), u = y;
|
|
1755
1943
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
1756
1944
|
const _ = {
|
|
1757
|
-
root:
|
|
1758
|
-
body:
|
|
1759
|
-
inner:
|
|
1760
|
-
radio:
|
|
1761
|
-
icon:
|
|
1762
|
-
labelWrapper:
|
|
1763
|
-
label:
|
|
1764
|
-
},
|
|
1765
|
-
if (
|
|
1766
|
-
const b =
|
|
1767
|
-
_.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;
|
|
1768
1956
|
}
|
|
1769
|
-
const C = u.className, h = C ? `${
|
|
1770
|
-
if (
|
|
1771
|
-
const b = !!(u.checked ?? u.defaultChecked),
|
|
1772
|
-
|
|
1957
|
+
const C = u.className, h = C ? `${I.root} ${C}` : I.root;
|
|
1958
|
+
if (o && t) {
|
|
1959
|
+
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
1960
|
+
t,
|
|
1773
1961
|
{
|
|
1774
|
-
...
|
|
1962
|
+
...e,
|
|
1775
1963
|
checked: b,
|
|
1776
1964
|
label: u.label
|
|
1777
1965
|
}
|
|
1778
1966
|
);
|
|
1779
|
-
return i ? /* @__PURE__ */
|
|
1780
|
-
|
|
1967
|
+
return i ? /* @__PURE__ */ s(
|
|
1968
|
+
ae,
|
|
1781
1969
|
{
|
|
1782
1970
|
formLayout: i,
|
|
1783
1971
|
labelSize: d,
|
|
1784
1972
|
controlMaxWidth: c,
|
|
1785
1973
|
controlMinWidth: p,
|
|
1786
|
-
children:
|
|
1974
|
+
children: v
|
|
1787
1975
|
}
|
|
1788
|
-
) : /* @__PURE__ */
|
|
1976
|
+
) : /* @__PURE__ */ s(Ne, { children: v });
|
|
1789
1977
|
}
|
|
1790
|
-
const
|
|
1791
|
-
|
|
1978
|
+
const P = /* @__PURE__ */ s(
|
|
1979
|
+
qe,
|
|
1792
1980
|
{
|
|
1793
|
-
ref:
|
|
1794
|
-
icon:
|
|
1981
|
+
ref: r,
|
|
1982
|
+
icon: Sa,
|
|
1795
1983
|
className: h,
|
|
1796
1984
|
classNames: _,
|
|
1797
|
-
disabled:
|
|
1985
|
+
disabled: o || l,
|
|
1798
1986
|
...y
|
|
1799
1987
|
}
|
|
1800
1988
|
);
|
|
1801
|
-
return i ? /* @__PURE__ */
|
|
1802
|
-
|
|
1989
|
+
return i ? /* @__PURE__ */ s(
|
|
1990
|
+
ae,
|
|
1803
1991
|
{
|
|
1804
1992
|
formLayout: i,
|
|
1805
1993
|
labelSize: d,
|
|
1806
1994
|
controlMaxWidth: c,
|
|
1807
1995
|
controlMinWidth: p,
|
|
1808
|
-
children:
|
|
1996
|
+
children: P
|
|
1809
1997
|
}
|
|
1810
|
-
) :
|
|
1998
|
+
) : P;
|
|
1811
1999
|
}
|
|
1812
2000
|
);
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
const
|
|
1816
|
-
|
|
2001
|
+
Eo.displayName = "Radio";
|
|
2002
|
+
Eo.Group = Fo;
|
|
2003
|
+
const ka = ({ checked: n, label: e }) => /* @__PURE__ */ M(
|
|
2004
|
+
Ie,
|
|
1817
2005
|
{
|
|
1818
2006
|
component: "span",
|
|
1819
|
-
className:
|
|
2007
|
+
className: we.textField,
|
|
1820
2008
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1821
2009
|
children: [
|
|
1822
|
-
|
|
1823
|
-
|
|
2010
|
+
e && /* @__PURE__ */ M("span", { style: { fontWeight: 500 }, children: [
|
|
2011
|
+
e,
|
|
1824
2012
|
":"
|
|
1825
2013
|
] }),
|
|
1826
|
-
/* @__PURE__ */
|
|
2014
|
+
/* @__PURE__ */ s("span", { children: n ? "On" : "Off" })
|
|
1827
2015
|
]
|
|
1828
2016
|
}
|
|
1829
2017
|
);
|
|
1830
|
-
|
|
1831
|
-
const
|
|
1832
|
-
|
|
2018
|
+
ka.displayName = "ReadOnlySwitchField";
|
|
2019
|
+
const Ia = ({ checked: n, label: e }) => /* @__PURE__ */ M(
|
|
2020
|
+
Ie,
|
|
1833
2021
|
{
|
|
1834
2022
|
component: "span",
|
|
1835
|
-
className:
|
|
2023
|
+
className: we.textField,
|
|
1836
2024
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1837
2025
|
children: [
|
|
1838
|
-
|
|
1839
|
-
|
|
2026
|
+
e && /* @__PURE__ */ M("span", { style: { fontWeight: 500 }, children: [
|
|
2027
|
+
e,
|
|
1840
2028
|
":"
|
|
1841
2029
|
] }),
|
|
1842
|
-
/* @__PURE__ */
|
|
2030
|
+
/* @__PURE__ */ s("span", { children: n ? "True" : "False" })
|
|
1843
2031
|
]
|
|
1844
2032
|
}
|
|
1845
2033
|
);
|
|
1846
|
-
|
|
1847
|
-
const
|
|
1848
|
-
root:
|
|
1849
|
-
},
|
|
1850
|
-
const l =
|
|
1851
|
-
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
|
|
1852
2040
|
}, c = i.classNames;
|
|
1853
2041
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1854
2042
|
const y = c;
|
|
1855
|
-
d.root = y.root ? `${
|
|
2043
|
+
d.root = y.root ? `${he.root} ${y.root}` : he.root;
|
|
1856
2044
|
}
|
|
1857
|
-
const p = i.className, m = p ? `${
|
|
1858
|
-
return /* @__PURE__ */
|
|
1859
|
-
|
|
2045
|
+
const p = i.className, m = p ? `${he.root} ${p}` : he.root;
|
|
2046
|
+
return /* @__PURE__ */ s(
|
|
2047
|
+
lt,
|
|
1860
2048
|
{
|
|
1861
|
-
ref:
|
|
2049
|
+
ref: t,
|
|
1862
2050
|
className: m,
|
|
1863
2051
|
classNames: d,
|
|
1864
2052
|
...l,
|
|
1865
|
-
children:
|
|
2053
|
+
children: e
|
|
1866
2054
|
}
|
|
1867
2055
|
);
|
|
1868
2056
|
});
|
|
1869
|
-
|
|
1870
|
-
const
|
|
1871
|
-
root:
|
|
1872
|
-
body:
|
|
1873
|
-
track:
|
|
1874
|
-
thumb:
|
|
1875
|
-
labelWrapper:
|
|
1876
|
-
label:
|
|
1877
|
-
thumbIconWrapper:
|
|
1878
|
-
checkIcon:
|
|
1879
|
-
closeIcon:
|
|
1880
|
-
groupRoot:
|
|
1881
|
-
},
|
|
1882
|
-
function(
|
|
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) {
|
|
1883
2071
|
const {
|
|
1884
|
-
overStyled:
|
|
1885
|
-
formLayout:
|
|
2072
|
+
overStyled: a = !1,
|
|
2073
|
+
formLayout: o = "stacked",
|
|
1886
2074
|
// Label Wrappers
|
|
1887
|
-
labelSize:
|
|
2075
|
+
labelSize: t,
|
|
1888
2076
|
labelAlignment: l,
|
|
1889
2077
|
labelOptionalText: i,
|
|
1890
2078
|
labelWithEditIcon: d,
|
|
@@ -1895,30 +2083,30 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1895
2083
|
assistiveText: y,
|
|
1896
2084
|
assistiveWithIcon: u,
|
|
1897
2085
|
error: _,
|
|
1898
|
-
required:
|
|
2086
|
+
required: $,
|
|
1899
2087
|
withAsterisk: C,
|
|
1900
2088
|
id: h,
|
|
1901
|
-
className:
|
|
2089
|
+
className: P,
|
|
1902
2090
|
style: b,
|
|
1903
|
-
children:
|
|
1904
|
-
readOnly:
|
|
1905
|
-
readOnlyComponent:
|
|
1906
|
-
emptyValueComponent:
|
|
2091
|
+
children: A,
|
|
2092
|
+
readOnly: v,
|
|
2093
|
+
readOnlyComponent: R,
|
|
2094
|
+
emptyValueComponent: L,
|
|
1907
2095
|
value: x,
|
|
1908
|
-
defaultValue:
|
|
1909
|
-
...
|
|
1910
|
-
} =
|
|
1911
|
-
return delete
|
|
1912
|
-
|
|
2096
|
+
defaultValue: T,
|
|
2097
|
+
...z
|
|
2098
|
+
} = e, S = f(z, a), w = S;
|
|
2099
|
+
return delete w.size, /* @__PURE__ */ s(
|
|
2100
|
+
re,
|
|
1913
2101
|
{
|
|
1914
|
-
className:
|
|
2102
|
+
className: P,
|
|
1915
2103
|
style: b,
|
|
1916
2104
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
|
|
1917
2105
|
controlMinWidth: void 0,
|
|
1918
|
-
overStyled:
|
|
2106
|
+
overStyled: a,
|
|
1919
2107
|
labelElement: "div",
|
|
1920
|
-
formLayout:
|
|
1921
|
-
labelSize:
|
|
2108
|
+
formLayout: o,
|
|
2109
|
+
labelSize: t,
|
|
1922
2110
|
labelAlignment: l,
|
|
1923
2111
|
labelOptionalText: i,
|
|
1924
2112
|
labelWithEditIcon: d,
|
|
@@ -1928,25 +2116,25 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1928
2116
|
assistiveText: y,
|
|
1929
2117
|
assistiveWithIcon: u,
|
|
1930
2118
|
error: _,
|
|
1931
|
-
required:
|
|
2119
|
+
required: $,
|
|
1932
2120
|
withAsterisk: C,
|
|
1933
2121
|
id: h,
|
|
1934
|
-
readOnly:
|
|
1935
|
-
readOnlyComponent:
|
|
1936
|
-
emptyValueComponent:
|
|
2122
|
+
readOnly: v && !!R,
|
|
2123
|
+
readOnlyComponent: R,
|
|
2124
|
+
emptyValueComponent: L,
|
|
1937
2125
|
readOnlyType: "text",
|
|
1938
|
-
readOnlyValue: x !== void 0 ? x :
|
|
1939
|
-
readOnlyNativeProps:
|
|
1940
|
-
activeComponent: /* @__PURE__ */
|
|
1941
|
-
|
|
2126
|
+
readOnlyValue: x !== void 0 ? x : T,
|
|
2127
|
+
readOnlyNativeProps: e,
|
|
2128
|
+
activeComponent: /* @__PURE__ */ s(
|
|
2129
|
+
He.Group,
|
|
1942
2130
|
{
|
|
1943
|
-
ref:
|
|
1944
|
-
...
|
|
1945
|
-
disabled:
|
|
2131
|
+
ref: r,
|
|
2132
|
+
...S,
|
|
2133
|
+
disabled: v || w.disabled,
|
|
1946
2134
|
value: x,
|
|
1947
|
-
defaultValue:
|
|
1948
|
-
children: /* @__PURE__ */
|
|
1949
|
-
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
|
|
1950
2138
|
}) : g) })
|
|
1951
2139
|
}
|
|
1952
2140
|
)
|
|
@@ -1954,13 +2142,13 @@ const Ds = (a) => /* @__PURE__ */ t("div", { ...a, children: "Stepper" }), rs =
|
|
|
1954
2142
|
);
|
|
1955
2143
|
}
|
|
1956
2144
|
);
|
|
1957
|
-
|
|
1958
|
-
const
|
|
1959
|
-
function(
|
|
2145
|
+
Bo.displayName = "SwitchGroup";
|
|
2146
|
+
const jo = N(
|
|
2147
|
+
function(e, r) {
|
|
1960
2148
|
const {
|
|
1961
|
-
overStyled:
|
|
1962
|
-
readOnly:
|
|
1963
|
-
readOnlyComponent:
|
|
2149
|
+
overStyled: a = !1,
|
|
2150
|
+
readOnly: o,
|
|
2151
|
+
readOnlyComponent: t,
|
|
1964
2152
|
disabled: l,
|
|
1965
2153
|
thumbIcon: i,
|
|
1966
2154
|
formLayout: d,
|
|
@@ -1968,92 +2156,92 @@ const go = v(
|
|
|
1968
2156
|
controlMaxWidth: p,
|
|
1969
2157
|
controlMinWidth: m,
|
|
1970
2158
|
...y
|
|
1971
|
-
} =
|
|
2159
|
+
} = e, u = f(y, a), _ = u;
|
|
1972
2160
|
delete _.size, delete _.color, delete _.radius, delete _.variant;
|
|
1973
|
-
const
|
|
1974
|
-
root:
|
|
1975
|
-
body:
|
|
1976
|
-
track:
|
|
1977
|
-
thumb:
|
|
1978
|
-
trackLabel:
|
|
1979
|
-
labelWrapper:
|
|
1980
|
-
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
|
|
1981
2169
|
}, C = _.classNames;
|
|
1982
2170
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
1983
|
-
const
|
|
1984
|
-
|
|
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;
|
|
1985
2173
|
}
|
|
1986
|
-
const h = _.className,
|
|
1987
|
-
if (
|
|
1988
|
-
const
|
|
1989
|
-
|
|
2174
|
+
const h = _.className, P = h ? `${W.root} ${h}` : W.root;
|
|
2175
|
+
if (o && t) {
|
|
2176
|
+
const v = !!(_.checked ?? _.defaultChecked), L = /* @__PURE__ */ s(
|
|
2177
|
+
t,
|
|
1990
2178
|
{
|
|
1991
|
-
...
|
|
1992
|
-
checked:
|
|
2179
|
+
...e,
|
|
2180
|
+
checked: v,
|
|
1993
2181
|
label: _.label
|
|
1994
2182
|
}
|
|
1995
2183
|
);
|
|
1996
|
-
return d ? /* @__PURE__ */
|
|
1997
|
-
|
|
2184
|
+
return d ? /* @__PURE__ */ s(
|
|
2185
|
+
ae,
|
|
1998
2186
|
{
|
|
1999
2187
|
formLayout: d,
|
|
2000
2188
|
labelSize: c,
|
|
2001
2189
|
controlMaxWidth: p,
|
|
2002
2190
|
controlMinWidth: m,
|
|
2003
|
-
children:
|
|
2191
|
+
children: L
|
|
2004
2192
|
}
|
|
2005
|
-
) : /* @__PURE__ */
|
|
2193
|
+
) : /* @__PURE__ */ s(Ne, { children: L });
|
|
2006
2194
|
}
|
|
2007
|
-
const b = /* @__PURE__ */
|
|
2008
|
-
/* @__PURE__ */
|
|
2009
|
-
/* @__PURE__ */
|
|
2010
|
-
] }),
|
|
2011
|
-
|
|
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,
|
|
2012
2200
|
{
|
|
2013
|
-
ref:
|
|
2014
|
-
className:
|
|
2015
|
-
classNames:
|
|
2016
|
-
disabled:
|
|
2201
|
+
ref: r,
|
|
2202
|
+
className: P,
|
|
2203
|
+
classNames: $,
|
|
2204
|
+
disabled: o || l,
|
|
2017
2205
|
thumbIcon: i ?? b,
|
|
2018
2206
|
...u
|
|
2019
2207
|
}
|
|
2020
2208
|
);
|
|
2021
|
-
return d ? /* @__PURE__ */
|
|
2022
|
-
|
|
2209
|
+
return d ? /* @__PURE__ */ s(
|
|
2210
|
+
ae,
|
|
2023
2211
|
{
|
|
2024
2212
|
formLayout: d,
|
|
2025
2213
|
labelSize: c,
|
|
2026
2214
|
controlMaxWidth: p,
|
|
2027
2215
|
controlMinWidth: m,
|
|
2028
|
-
children:
|
|
2216
|
+
children: A
|
|
2029
2217
|
}
|
|
2030
|
-
) :
|
|
2218
|
+
) : A;
|
|
2031
2219
|
}
|
|
2032
2220
|
);
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
const
|
|
2036
|
-
const
|
|
2037
|
-
return /* @__PURE__ */
|
|
2038
|
-
|
|
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,
|
|
2039
2227
|
{
|
|
2040
|
-
ref:
|
|
2228
|
+
ref: o,
|
|
2041
2229
|
className: d,
|
|
2042
|
-
...
|
|
2230
|
+
...t
|
|
2043
2231
|
}
|
|
2044
2232
|
);
|
|
2045
2233
|
});
|
|
2046
|
-
|
|
2047
|
-
const
|
|
2048
|
-
root:
|
|
2049
|
-
input:
|
|
2050
|
-
},
|
|
2051
|
-
function(
|
|
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) {
|
|
2052
2240
|
const {
|
|
2053
|
-
overStyled:
|
|
2054
|
-
formLayout:
|
|
2241
|
+
overStyled: a = !1,
|
|
2242
|
+
formLayout: o = "stacked",
|
|
2055
2243
|
// Label & Wrapper Maps
|
|
2056
|
-
labelSize:
|
|
2244
|
+
labelSize: t,
|
|
2057
2245
|
labelAlignment: l,
|
|
2058
2246
|
labelOptionalText: i,
|
|
2059
2247
|
labelWithEditIcon: d,
|
|
@@ -2063,38 +2251,38 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2063
2251
|
assistiveWithIcon: y,
|
|
2064
2252
|
error: u,
|
|
2065
2253
|
required: _,
|
|
2066
|
-
withAsterisk:
|
|
2254
|
+
withAsterisk: $,
|
|
2067
2255
|
id: C,
|
|
2068
2256
|
className: h,
|
|
2069
|
-
style:
|
|
2257
|
+
style: P,
|
|
2070
2258
|
disabled: b,
|
|
2071
|
-
readOnly:
|
|
2072
|
-
readOnlyComponent:
|
|
2073
|
-
emptyValueComponent:
|
|
2074
|
-
value:
|
|
2259
|
+
readOnly: A,
|
|
2260
|
+
readOnlyComponent: v,
|
|
2261
|
+
emptyValueComponent: R,
|
|
2262
|
+
value: L,
|
|
2075
2263
|
defaultValue: x,
|
|
2076
|
-
...
|
|
2077
|
-
} =
|
|
2078
|
-
delete
|
|
2079
|
-
const
|
|
2080
|
-
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,
|
|
2081
2269
|
// The nested Input internal relative wrapper bounding box
|
|
2082
|
-
input:
|
|
2083
|
-
}, g =
|
|
2270
|
+
input: de.input
|
|
2271
|
+
}, g = S.classNames;
|
|
2084
2272
|
if (g && typeof g == "object" && !Array.isArray(g)) {
|
|
2085
|
-
const
|
|
2086
|
-
|
|
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;
|
|
2087
2275
|
}
|
|
2088
|
-
return /* @__PURE__ */
|
|
2089
|
-
|
|
2276
|
+
return /* @__PURE__ */ s(
|
|
2277
|
+
re,
|
|
2090
2278
|
{
|
|
2091
2279
|
className: h,
|
|
2092
|
-
style:
|
|
2280
|
+
style: P,
|
|
2093
2281
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2094
2282
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2095
|
-
overStyled:
|
|
2096
|
-
formLayout:
|
|
2097
|
-
labelSize:
|
|
2283
|
+
overStyled: a,
|
|
2284
|
+
formLayout: o,
|
|
2285
|
+
labelSize: t,
|
|
2098
2286
|
labelAlignment: l,
|
|
2099
2287
|
labelOptionalText: i,
|
|
2100
2288
|
labelWithEditIcon: d,
|
|
@@ -2104,23 +2292,23 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2104
2292
|
assistiveWithIcon: y,
|
|
2105
2293
|
error: u,
|
|
2106
2294
|
required: _,
|
|
2107
|
-
withAsterisk:
|
|
2295
|
+
withAsterisk: $,
|
|
2108
2296
|
id: C,
|
|
2109
|
-
readOnly:
|
|
2110
|
-
readOnlyComponent:
|
|
2111
|
-
emptyValueComponent:
|
|
2297
|
+
readOnly: A,
|
|
2298
|
+
readOnlyComponent: v,
|
|
2299
|
+
emptyValueComponent: R,
|
|
2112
2300
|
readOnlyType: "text",
|
|
2113
|
-
readOnlyValue:
|
|
2114
|
-
readOnlyNativeProps:
|
|
2301
|
+
readOnlyValue: L !== void 0 ? L : x,
|
|
2302
|
+
readOnlyNativeProps: e,
|
|
2115
2303
|
activeComponent: (
|
|
2116
2304
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2117
|
-
/* @__PURE__ */
|
|
2118
|
-
|
|
2305
|
+
/* @__PURE__ */ s(
|
|
2306
|
+
pt,
|
|
2119
2307
|
{
|
|
2120
|
-
ref:
|
|
2121
|
-
classNames:
|
|
2308
|
+
ref: r,
|
|
2309
|
+
classNames: w,
|
|
2122
2310
|
disabled: b,
|
|
2123
|
-
value:
|
|
2311
|
+
value: L,
|
|
2124
2312
|
defaultValue: x,
|
|
2125
2313
|
label: void 0,
|
|
2126
2314
|
description: void 0,
|
|
@@ -2131,7 +2319,7 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2131
2319
|
"data-disabled": b ? "true" : void 0,
|
|
2132
2320
|
"data-error": u ? "true" : void 0
|
|
2133
2321
|
},
|
|
2134
|
-
...
|
|
2322
|
+
...z
|
|
2135
2323
|
}
|
|
2136
2324
|
)
|
|
2137
2325
|
)
|
|
@@ -2139,18 +2327,18 @@ const qs = ee(Po), us = "TextArea-module__root___3dyeu", _s = "TextArea-module__
|
|
|
2139
2327
|
);
|
|
2140
2328
|
}
|
|
2141
2329
|
);
|
|
2142
|
-
|
|
2143
|
-
const
|
|
2144
|
-
root:
|
|
2145
|
-
input:
|
|
2146
|
-
section:
|
|
2147
|
-
},
|
|
2148
|
-
function(
|
|
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) {
|
|
2149
2337
|
const {
|
|
2150
|
-
overStyled:
|
|
2151
|
-
formLayout:
|
|
2338
|
+
overStyled: a = !1,
|
|
2339
|
+
formLayout: o = "stacked",
|
|
2152
2340
|
// Label & Wrapper Maps
|
|
2153
|
-
labelSize:
|
|
2341
|
+
labelSize: t,
|
|
2154
2342
|
labelAlignment: l,
|
|
2155
2343
|
labelOptionalText: i,
|
|
2156
2344
|
labelWithEditIcon: d,
|
|
@@ -2160,39 +2348,39 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2160
2348
|
assistiveWithIcon: y,
|
|
2161
2349
|
error: u,
|
|
2162
2350
|
required: _,
|
|
2163
|
-
withAsterisk:
|
|
2351
|
+
withAsterisk: $,
|
|
2164
2352
|
id: C,
|
|
2165
2353
|
className: h,
|
|
2166
|
-
style:
|
|
2354
|
+
style: P,
|
|
2167
2355
|
disabled: b,
|
|
2168
|
-
readOnly:
|
|
2169
|
-
readOnlyComponent:
|
|
2170
|
-
emptyValueComponent:
|
|
2171
|
-
value:
|
|
2356
|
+
readOnly: A,
|
|
2357
|
+
readOnlyComponent: v,
|
|
2358
|
+
emptyValueComponent: R,
|
|
2359
|
+
value: L,
|
|
2172
2360
|
defaultValue: x,
|
|
2173
|
-
...
|
|
2174
|
-
} =
|
|
2175
|
-
delete
|
|
2176
|
-
const
|
|
2361
|
+
...T
|
|
2362
|
+
} = e, z = f(T, a), S = z;
|
|
2363
|
+
delete S.size, delete S.variant, delete S.radius;
|
|
2364
|
+
const w = {
|
|
2177
2365
|
wrapper: U.root,
|
|
2178
2366
|
// The nested Input internal relative wrapper bounding box
|
|
2179
2367
|
input: U.input,
|
|
2180
2368
|
section: U.section
|
|
2181
|
-
}, g =
|
|
2369
|
+
}, g = S.classNames;
|
|
2182
2370
|
if (g && typeof g == "object" && !Array.isArray(g)) {
|
|
2183
|
-
const
|
|
2184
|
-
|
|
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;
|
|
2185
2373
|
}
|
|
2186
|
-
return /* @__PURE__ */
|
|
2187
|
-
|
|
2374
|
+
return /* @__PURE__ */ s(
|
|
2375
|
+
re,
|
|
2188
2376
|
{
|
|
2189
2377
|
className: h,
|
|
2190
|
-
style:
|
|
2378
|
+
style: P,
|
|
2191
2379
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2192
2380
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2193
|
-
overStyled:
|
|
2194
|
-
formLayout:
|
|
2195
|
-
labelSize:
|
|
2381
|
+
overStyled: a,
|
|
2382
|
+
formLayout: o,
|
|
2383
|
+
labelSize: t,
|
|
2196
2384
|
labelAlignment: l,
|
|
2197
2385
|
labelOptionalText: i,
|
|
2198
2386
|
labelWithEditIcon: d,
|
|
@@ -2202,29 +2390,29 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2202
2390
|
assistiveWithIcon: y,
|
|
2203
2391
|
error: u,
|
|
2204
2392
|
required: _,
|
|
2205
|
-
withAsterisk:
|
|
2393
|
+
withAsterisk: $,
|
|
2206
2394
|
id: C,
|
|
2207
|
-
readOnly:
|
|
2208
|
-
readOnlyComponent:
|
|
2209
|
-
emptyValueComponent:
|
|
2395
|
+
readOnly: A,
|
|
2396
|
+
readOnlyComponent: v,
|
|
2397
|
+
emptyValueComponent: R,
|
|
2210
2398
|
readOnlyType: "text",
|
|
2211
|
-
readOnlyValue:
|
|
2212
|
-
readOnlyNativeProps:
|
|
2399
|
+
readOnlyValue: L !== void 0 ? L : x,
|
|
2400
|
+
readOnlyNativeProps: e,
|
|
2213
2401
|
activeComponent: (
|
|
2214
2402
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2215
|
-
/* @__PURE__ */
|
|
2216
|
-
|
|
2403
|
+
/* @__PURE__ */ s(
|
|
2404
|
+
Ve,
|
|
2217
2405
|
{
|
|
2218
|
-
ref:
|
|
2219
|
-
classNames:
|
|
2406
|
+
ref: r,
|
|
2407
|
+
classNames: w,
|
|
2220
2408
|
disabled: b,
|
|
2221
|
-
value:
|
|
2409
|
+
value: L,
|
|
2222
2410
|
defaultValue: x,
|
|
2223
2411
|
wrapperProps: {
|
|
2224
2412
|
"data-disabled": b ? "true" : void 0,
|
|
2225
2413
|
"data-error": u ? "true" : void 0
|
|
2226
2414
|
},
|
|
2227
|
-
...
|
|
2415
|
+
...z
|
|
2228
2416
|
}
|
|
2229
2417
|
)
|
|
2230
2418
|
)
|
|
@@ -2232,119 +2420,119 @@ const ys = "TextField-module__root___2ZYkG", hs = "TextField-module__input___RL-
|
|
|
2232
2420
|
);
|
|
2233
2421
|
}
|
|
2234
2422
|
);
|
|
2235
|
-
|
|
2236
|
-
const
|
|
2237
|
-
const
|
|
2238
|
-
return /* @__PURE__ */
|
|
2239
|
-
|
|
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,
|
|
2240
2428
|
{
|
|
2241
|
-
ref:
|
|
2242
|
-
order:
|
|
2429
|
+
ref: o,
|
|
2430
|
+
order: r,
|
|
2243
2431
|
className: d,
|
|
2244
|
-
...
|
|
2432
|
+
...t
|
|
2245
2433
|
}
|
|
2246
2434
|
);
|
|
2247
2435
|
});
|
|
2248
|
-
|
|
2249
|
-
const
|
|
2250
|
-
tooltip:
|
|
2251
|
-
arrow:
|
|
2252
|
-
},
|
|
2253
|
-
overStyled:
|
|
2254
|
-
withBeak:
|
|
2255
|
-
...
|
|
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({
|
|
2441
|
+
overStyled: e = !1,
|
|
2442
|
+
withBeak: r = !0,
|
|
2443
|
+
...a
|
|
2256
2444
|
}) {
|
|
2257
|
-
const
|
|
2258
|
-
tooltip:
|
|
2259
|
-
arrow:
|
|
2260
|
-
}, l =
|
|
2445
|
+
const o = f(a, e), t = {
|
|
2446
|
+
tooltip: De.tooltip,
|
|
2447
|
+
arrow: De.arrow
|
|
2448
|
+
}, l = o.classNames;
|
|
2261
2449
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2262
2450
|
const p = l;
|
|
2263
2451
|
Object.keys(p).forEach((m) => {
|
|
2264
|
-
|
|
2452
|
+
t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
|
|
2265
2453
|
});
|
|
2266
2454
|
}
|
|
2267
|
-
const i =
|
|
2268
|
-
return /* @__PURE__ */
|
|
2269
|
-
|
|
2455
|
+
const i = o.arrowSize ?? 16, d = o.withArrow;
|
|
2456
|
+
return /* @__PURE__ */ s(
|
|
2457
|
+
Oe,
|
|
2270
2458
|
{
|
|
2271
2459
|
position: "top",
|
|
2272
2460
|
multiline: !0,
|
|
2273
2461
|
arrowSize: i,
|
|
2274
|
-
withArrow:
|
|
2275
|
-
classNames:
|
|
2276
|
-
...
|
|
2462
|
+
withArrow: r ?? d,
|
|
2463
|
+
classNames: t,
|
|
2464
|
+
...o
|
|
2277
2465
|
}
|
|
2278
2466
|
);
|
|
2279
2467
|
};
|
|
2280
|
-
|
|
2281
|
-
const
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
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" });
|
|
2285
2473
|
export {
|
|
2286
|
-
|
|
2287
|
-
|
|
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
|
-
|
|
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
|
|
2349
2537
|
};
|
|
2350
2538
|
//# sourceMappingURL=mantine-adapter.js.map
|