@recursica/mantine-adapter 0.18.0 → 0.20.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 +1654 -1366
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Modal/Modal.d.ts +39 -2
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/Popover/Popover.d.ts +55 -0
- package/dist/src/components/Popover/index.d.ts +1 -0
- package/dist/src/components/Stack/Stack.d.ts +9 -1
- package/dist/src/components/Timeline/Timeline.d.ts +14 -2
- package/dist/src/components/Timeline/TimelineItem.d.ts +25 -0
- package/dist/src/components/Toast/Toast.d.ts +21 -2
- package/dist/src/components/Toast/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/utils/filterStylingProps.d.ts +2 -0
- package/package.json +1 -1
- package/src/Introduction.stories.tsx +77 -103
- package/src/OverStyling.tsx +216 -171
- package/src/components/Button/Button.module.css +21 -4
- package/src/components/Button/Button.stories.tsx +14 -0
- package/src/components/Flex/Flex.tsx +9 -4
- package/src/components/Group/Group.tsx +5 -3
- package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +15 -0
- package/src/components/Modal/Modal.module.css +127 -0
- package/src/components/Modal/Modal.stories.tsx +66 -4
- package/src/components/Modal/Modal.tsx +218 -3
- package/src/components/Modal/index.ts +1 -0
- package/src/components/Popover/IMPLEMENTATION_NOTES.md +77 -0
- package/src/components/Popover/Popover.module.css +84 -0
- package/src/components/Popover/Popover.stories.tsx +133 -0
- package/src/components/Popover/Popover.tsx +156 -0
- package/src/components/Popover/index.ts +1 -0
- package/src/components/Stack/Stack.tsx +9 -5
- package/src/components/Timeline/TIMELINE_IMPLEMENTATION_NOTES.md +13 -0
- package/src/components/Timeline/Timeline.module.css +361 -0
- package/src/components/Timeline/Timeline.stories.tsx +114 -3
- package/src/components/Timeline/Timeline.tsx +81 -4
- package/src/components/Timeline/TimelineItem.tsx +102 -0
- package/src/components/Toast/TOAST_IMPLEMENTATION_NOTES.md +39 -0
- package/src/components/Toast/Toast.module.css +109 -0
- package/src/components/Toast/Toast.stories.tsx +57 -7
- package/src/components/Toast/Toast.tsx +90 -4
- package/src/components/Toast/index.ts +1 -0
- package/src/components/index.ts +2 -1
- package/src/utils/filterStylingProps.ts +17 -1
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 r, jsxs as z, Fragment as Ne } from "react/jsx-runtime";
|
|
2
|
+
import L, { forwardRef as h, useId as gt, useEffect as Pt } from "react";
|
|
3
|
+
import { Accordion as Re, Avatar as wt, createPolymorphicComponent as Y, Badge as Tt, Breadcrumbs as xt, Button as St, Card as ke, Input as ao, Box as Ve, Checkbox as ro, Chip as At, Container as Wt, Select as Lt, Flex as It, Group as Ot, HoverCard as Ge, Anchor as zt, Loader as Rt, Menu as K, Modal as G, NumberInput as kt, Pagination as te, Drawer as se, Popover as qe, Radio as no, SegmentedControl as Mt, Stack as Bt, Stepper as je, Switch as lo, CheckIcon as Ft, CloseIcon as Et, Tabs as Me, Text as jt, Textarea as Dt, TimelineItem as Vt, Timeline as Gt, Title as qt, Notification as Ht, Tooltip as He } from "@mantine/core";
|
|
4
|
+
const Ut = [
|
|
5
5
|
"className",
|
|
6
6
|
"classNames",
|
|
7
7
|
"style",
|
|
@@ -45,7 +45,7 @@ const wt = [
|
|
|
45
45
|
"mih",
|
|
46
46
|
"mah"
|
|
47
47
|
// Dimensions
|
|
48
|
-
],
|
|
48
|
+
], io = /* @__PURE__ */ new Set([
|
|
49
49
|
"m",
|
|
50
50
|
"my",
|
|
51
51
|
"mx",
|
|
@@ -60,7 +60,7 @@ const wt = [
|
|
|
60
60
|
"left",
|
|
61
61
|
"bottom",
|
|
62
62
|
"right"
|
|
63
|
-
]),
|
|
63
|
+
]), Le = {
|
|
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,92 +69,98 @@ const wt = [
|
|
|
69
69
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
70
70
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function Ue(l) {
|
|
73
|
+
const e = { ...l };
|
|
74
|
+
for (const [a, s] of Object.entries(e))
|
|
75
|
+
typeof s == "string" && s.startsWith("rec-") && io.has(a) && s in Le && (e[a] = Le[s]);
|
|
76
|
+
return e;
|
|
77
|
+
}
|
|
78
|
+
function f(l, e) {
|
|
73
79
|
if (e)
|
|
74
|
-
return
|
|
75
|
-
const a = { ...
|
|
76
|
-
for (const s of
|
|
80
|
+
return l;
|
|
81
|
+
const a = { ...l };
|
|
82
|
+
for (const s of Ut)
|
|
77
83
|
s in a && delete a[s];
|
|
78
84
|
for (const [s, t] of Object.entries(a))
|
|
79
|
-
typeof t == "string" && t.startsWith("rec-") &&
|
|
85
|
+
typeof t == "string" && t.startsWith("rec-") && io.has(s) && t in Le && (a[s] = Le[t]);
|
|
80
86
|
return a;
|
|
81
87
|
}
|
|
82
|
-
const
|
|
83
|
-
root:
|
|
84
|
-
item:
|
|
85
|
-
noDivider:
|
|
86
|
-
control:
|
|
87
|
-
label:
|
|
88
|
-
chevron:
|
|
89
|
-
iconLeftWrapper:
|
|
90
|
-
panel:
|
|
91
|
-
content:
|
|
92
|
-
},
|
|
88
|
+
const Zt = "Accordion-module__root___Dem6d", Yt = "Accordion-module__item___7ryVk", Kt = "Accordion-module__noDivider___Ni2tT", Qt = "Accordion-module__control___b4wgX", Jt = "Accordion-module__label___Ss7uW", Xt = "Accordion-module__chevron___i-HVZ", es = "Accordion-module__iconLeftWrapper___5oLen", os = "Accordion-module__panel___Wx50w", ts = "Accordion-module__content___PEM9t", X = {
|
|
89
|
+
root: Zt,
|
|
90
|
+
item: Yt,
|
|
91
|
+
noDivider: Kt,
|
|
92
|
+
control: Qt,
|
|
93
|
+
label: Jt,
|
|
94
|
+
chevron: Xt,
|
|
95
|
+
iconLeftWrapper: es,
|
|
96
|
+
panel: os,
|
|
97
|
+
content: ts
|
|
98
|
+
}, co = function({
|
|
93
99
|
variant: e = "unstyled",
|
|
94
100
|
overStyled: a = !1,
|
|
95
101
|
...s
|
|
96
102
|
}) {
|
|
97
|
-
const t =
|
|
98
|
-
root:
|
|
99
|
-
item:
|
|
100
|
-
control:
|
|
101
|
-
label:
|
|
102
|
-
chevron:
|
|
103
|
-
panel:
|
|
104
|
-
content:
|
|
105
|
-
},
|
|
106
|
-
if (
|
|
107
|
-
const
|
|
108
|
-
Object.keys(
|
|
109
|
-
o[d] ? o[d] = `${o[d]} ${
|
|
103
|
+
const t = f(s, a), o = {
|
|
104
|
+
root: X.root,
|
|
105
|
+
item: X.item,
|
|
106
|
+
control: X.control,
|
|
107
|
+
label: X.label,
|
|
108
|
+
chevron: X.chevron,
|
|
109
|
+
panel: X.panel,
|
|
110
|
+
content: X.content
|
|
111
|
+
}, n = t.classNames;
|
|
112
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
113
|
+
const c = n;
|
|
114
|
+
Object.keys(c).forEach((d) => {
|
|
115
|
+
o[d] ? o[d] = `${o[d]} ${c[d]}` : o[d] = c[d];
|
|
110
116
|
});
|
|
111
117
|
}
|
|
112
|
-
const
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
-
|
|
118
|
+
const i = t.className;
|
|
119
|
+
return /* @__PURE__ */ r(
|
|
120
|
+
Re,
|
|
115
121
|
{
|
|
116
122
|
variant: e,
|
|
117
|
-
className:
|
|
123
|
+
className: i,
|
|
118
124
|
classNames: o,
|
|
119
125
|
...t
|
|
120
126
|
}
|
|
121
127
|
);
|
|
122
128
|
};
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
|
|
129
|
+
co.displayName = "Accordion";
|
|
130
|
+
const po = h(function({ title: e, leftIcon: a, divider: s = !0, children: t, overStyled: o = !1, ...n }, i) {
|
|
131
|
+
const c = f(n, o), d = c.className, p = [s ? void 0 : X.noDivider, d].filter(Boolean).join(" ") || void 0;
|
|
132
|
+
return /* @__PURE__ */ r(
|
|
133
|
+
Re.Item,
|
|
128
134
|
{
|
|
129
|
-
ref:
|
|
135
|
+
ref: i,
|
|
130
136
|
className: p,
|
|
131
|
-
...
|
|
132
|
-
children: e ? /* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
137
|
+
...c,
|
|
138
|
+
children: e ? /* @__PURE__ */ z(Ne, { children: [
|
|
139
|
+
/* @__PURE__ */ r(Ze, { leftIcon: a, children: e }),
|
|
140
|
+
/* @__PURE__ */ r(Ye, { children: t })
|
|
135
141
|
] }) : t
|
|
136
142
|
}
|
|
137
143
|
);
|
|
138
144
|
});
|
|
139
|
-
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
return /* @__PURE__ */
|
|
143
|
-
|
|
145
|
+
po.displayName = "AccordionItem";
|
|
146
|
+
const Ze = h(function({ leftIcon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
147
|
+
const n = f(t, s), i = n.className;
|
|
148
|
+
return /* @__PURE__ */ r(
|
|
149
|
+
Re.Control,
|
|
144
150
|
{
|
|
145
151
|
ref: o,
|
|
146
|
-
className:
|
|
147
|
-
icon: e ? /* @__PURE__ */
|
|
148
|
-
...
|
|
152
|
+
className: i,
|
|
153
|
+
icon: e ? /* @__PURE__ */ r("span", { className: X.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
154
|
+
...n,
|
|
149
155
|
children: a
|
|
150
156
|
}
|
|
151
157
|
);
|
|
152
158
|
});
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
const t =
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
-
|
|
159
|
+
Ze.displayName = "AccordionControl";
|
|
160
|
+
const Ye = h(function({ overStyled: e = !1, ...a }, s) {
|
|
161
|
+
const t = f(a, e), o = t.className;
|
|
162
|
+
return /* @__PURE__ */ r(
|
|
163
|
+
Re.Panel,
|
|
158
164
|
{
|
|
159
165
|
ref: s,
|
|
160
166
|
className: o,
|
|
@@ -162,26 +168,26 @@ const je = y(function({ overStyled: e = !1, ...a }, s) {
|
|
|
162
168
|
}
|
|
163
169
|
);
|
|
164
170
|
});
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
root:
|
|
172
|
-
iconWrapper:
|
|
173
|
-
textWrapper:
|
|
174
|
-
image:
|
|
175
|
-
placeholder:
|
|
176
|
-
},
|
|
171
|
+
Ye.displayName = "AccordionPanel";
|
|
172
|
+
const Ke = co;
|
|
173
|
+
Ke.Item = po;
|
|
174
|
+
Ke.Control = Ze;
|
|
175
|
+
Ke.Panel = Ye;
|
|
176
|
+
const ss = "Avatar-module__root___fXu-J", as = "Avatar-module__iconWrapper___ojly2", rs = "Avatar-module__textWrapper___zp-jD", ns = "Avatar-module__image___ieqGp", ls = "Avatar-module__placeholder___IDW7-", U = {
|
|
177
|
+
root: ss,
|
|
178
|
+
iconWrapper: as,
|
|
179
|
+
textWrapper: rs,
|
|
180
|
+
image: ns,
|
|
181
|
+
placeholder: ls
|
|
182
|
+
}, mo = h(function({
|
|
177
183
|
size: e = "default",
|
|
178
184
|
variant: a = "solid",
|
|
179
185
|
icon: s,
|
|
180
186
|
children: t,
|
|
181
187
|
src: o,
|
|
182
|
-
overStyled:
|
|
183
|
-
...
|
|
184
|
-
},
|
|
188
|
+
overStyled: n = !1,
|
|
189
|
+
...i
|
|
190
|
+
}, c) {
|
|
185
191
|
const d = {
|
|
186
192
|
solid: "filled",
|
|
187
193
|
outline: "outline",
|
|
@@ -190,23 +196,23 @@ const Rt = "Avatar-module__root___fXu-J", Mt = "Avatar-module__iconWrapper___ojl
|
|
|
190
196
|
default: "md",
|
|
191
197
|
small: "sm",
|
|
192
198
|
large: "lg"
|
|
193
|
-
}, m =
|
|
199
|
+
}, m = f(i, n), N = m;
|
|
194
200
|
let _ = "text";
|
|
195
201
|
o ? _ = "image" : s && (_ = "icon");
|
|
196
202
|
const u = {
|
|
197
|
-
root:
|
|
198
|
-
image:
|
|
199
|
-
placeholder:
|
|
200
|
-
},
|
|
201
|
-
if (
|
|
202
|
-
const
|
|
203
|
-
u.root =
|
|
203
|
+
root: U.root,
|
|
204
|
+
image: U.image,
|
|
205
|
+
placeholder: U.placeholder
|
|
206
|
+
}, b = N.classNames;
|
|
207
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
208
|
+
const $ = b;
|
|
209
|
+
u.root = $.root ? `${U.root} ${$.root}` : U.root, u.image = $.image ? `${U.image} ${$.image}` : U.image, u.placeholder = $.placeholder ? `${U.placeholder} ${$.placeholder}` : U.placeholder;
|
|
204
210
|
}
|
|
205
|
-
const C =
|
|
206
|
-
return /* @__PURE__ */
|
|
207
|
-
|
|
211
|
+
const C = N.className;
|
|
212
|
+
return /* @__PURE__ */ r(
|
|
213
|
+
wt,
|
|
208
214
|
{
|
|
209
|
-
ref:
|
|
215
|
+
ref: c,
|
|
210
216
|
className: C,
|
|
211
217
|
classNames: u,
|
|
212
218
|
variant: d[a],
|
|
@@ -216,269 +222,269 @@ const Rt = "Avatar-module__root___fXu-J", Mt = "Avatar-module__iconWrapper___ojl
|
|
|
216
222
|
"data-size": e,
|
|
217
223
|
"data-style": _,
|
|
218
224
|
...m,
|
|
219
|
-
children: s != null ? /* @__PURE__ */
|
|
225
|
+
children: s != null ? /* @__PURE__ */ r("span", { className: U.iconWrapper, "aria-hidden": !0, children: s }) : t != null ? /* @__PURE__ */ r("span", { className: U.textWrapper, children: t }) : void 0
|
|
220
226
|
}
|
|
221
227
|
);
|
|
222
228
|
});
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
root:
|
|
226
|
-
},
|
|
227
|
-
const o =
|
|
228
|
-
root:
|
|
229
|
-
section:
|
|
230
|
-
label:
|
|
231
|
-
},
|
|
232
|
-
if (
|
|
233
|
-
const p =
|
|
234
|
-
|
|
229
|
+
mo.displayName = "Avatar";
|
|
230
|
+
const Rn = Y(mo), is = "Badge-module__root___5osNT", Q = {
|
|
231
|
+
root: is
|
|
232
|
+
}, _o = h(function({ variant: e = "primary-color", overStyled: a = !1, ...s }, t) {
|
|
233
|
+
const o = f(s, a), n = {
|
|
234
|
+
root: Q.root,
|
|
235
|
+
section: Q.section,
|
|
236
|
+
label: Q.label
|
|
237
|
+
}, i = o.classNames;
|
|
238
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
239
|
+
const p = i;
|
|
240
|
+
n.root = p.root ? `${Q.root} ${p.root}` : Q.root, n.section = p.section ?? Q.section, n.label = p.label ?? Q.label;
|
|
235
241
|
}
|
|
236
|
-
const
|
|
237
|
-
return /* @__PURE__ */
|
|
238
|
-
|
|
242
|
+
const c = o.className, d = c ? `${Q.root} ${c}` : Q.root;
|
|
243
|
+
return /* @__PURE__ */ r(
|
|
244
|
+
Tt,
|
|
239
245
|
{
|
|
240
246
|
ref: t,
|
|
241
247
|
variant: "filled",
|
|
242
248
|
"data-variant": e,
|
|
243
249
|
...o,
|
|
244
250
|
className: d,
|
|
245
|
-
classNames:
|
|
251
|
+
classNames: n
|
|
246
252
|
}
|
|
247
253
|
);
|
|
248
254
|
});
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
root:
|
|
252
|
-
separator:
|
|
253
|
-
},
|
|
255
|
+
_o.displayName = "Badge";
|
|
256
|
+
const kn = Y(_o), cs = "Breadcrumb-module__root___x-9ln", ds = "Breadcrumb-module__separator___qrUX-", ne = {
|
|
257
|
+
root: cs,
|
|
258
|
+
separator: ds
|
|
259
|
+
}, ps = h(
|
|
254
260
|
function({ overStyled: e = !1, separator: a = ">", ...s }, t) {
|
|
255
|
-
const o =
|
|
261
|
+
const o = f(
|
|
256
262
|
{ separator: a, ...s },
|
|
257
263
|
e
|
|
258
|
-
),
|
|
259
|
-
root:
|
|
260
|
-
separator:
|
|
261
|
-
},
|
|
262
|
-
if (
|
|
263
|
-
const p =
|
|
264
|
-
|
|
264
|
+
), n = {
|
|
265
|
+
root: ne.root,
|
|
266
|
+
separator: ne.separator
|
|
267
|
+
}, i = o.classNames;
|
|
268
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
269
|
+
const p = i;
|
|
270
|
+
n.root = p.root ? `${ne.root} ${p.root}` : ne.root, n.separator = p.separator ? `${ne.separator} ${p.separator}` : ne.separator;
|
|
265
271
|
}
|
|
266
|
-
const
|
|
267
|
-
return /* @__PURE__ */
|
|
268
|
-
|
|
272
|
+
const c = o.className, d = c ? `${ne.root} ${c}` : ne.root;
|
|
273
|
+
return /* @__PURE__ */ r(
|
|
274
|
+
xt,
|
|
269
275
|
{
|
|
270
276
|
ref: t,
|
|
271
277
|
...o,
|
|
272
278
|
className: d,
|
|
273
|
-
classNames:
|
|
279
|
+
classNames: n
|
|
274
280
|
}
|
|
275
281
|
);
|
|
276
282
|
}
|
|
277
283
|
);
|
|
278
|
-
|
|
279
|
-
const
|
|
280
|
-
root:
|
|
281
|
-
label:
|
|
282
|
-
labelText:
|
|
283
|
-
iconWrapper:
|
|
284
|
-
section:
|
|
284
|
+
ps.displayName = "Breadcrumb";
|
|
285
|
+
const ms = "Button-module__root___Q2R8-", _s = "Button-module__label___UJ3Zt", us = "Button-module__labelText___rFV5p", bs = "Button-module__iconWrapper___uEKPa", ys = "Button-module__section___f2mKr", Z = {
|
|
286
|
+
root: ms,
|
|
287
|
+
label: _s,
|
|
288
|
+
labelText: us,
|
|
289
|
+
iconWrapper: bs,
|
|
290
|
+
section: ys
|
|
285
291
|
};
|
|
286
|
-
function
|
|
287
|
-
return
|
|
292
|
+
function fs(l) {
|
|
293
|
+
return l == null || l === "" ? !1 : typeof l == "string" ? l.trim() !== "" : !0;
|
|
288
294
|
}
|
|
289
|
-
const
|
|
295
|
+
const uo = h(function({
|
|
290
296
|
variant: e = "solid",
|
|
291
297
|
size: a = "default",
|
|
292
298
|
icon: s,
|
|
293
299
|
children: t,
|
|
294
300
|
overStyled: o = !1,
|
|
295
|
-
...
|
|
296
|
-
},
|
|
297
|
-
const
|
|
301
|
+
...n
|
|
302
|
+
}, i) {
|
|
303
|
+
const c = {
|
|
298
304
|
solid: "filled",
|
|
299
305
|
outline: "outline",
|
|
300
306
|
text: "subtle"
|
|
301
307
|
}, d = {
|
|
302
308
|
default: "md",
|
|
303
309
|
small: "sm"
|
|
304
|
-
}, p =
|
|
310
|
+
}, p = f(n, o), m = p;
|
|
305
311
|
delete m.fullWidth;
|
|
306
|
-
const
|
|
312
|
+
const N = !!s || !!m.leftSection, _ = !!m.rightSection, u = (N || _) && !fs(t);
|
|
307
313
|
typeof process < "u" && process.env.NODE_ENV !== "production" && u && !m["aria-label"] && console.warn(
|
|
308
314
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
309
315
|
);
|
|
310
|
-
const
|
|
316
|
+
const b = {
|
|
311
317
|
root: Z.root,
|
|
312
318
|
section: Z.section,
|
|
313
319
|
label: Z.label
|
|
314
320
|
}, C = m.classNames;
|
|
315
321
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
316
|
-
const
|
|
317
|
-
|
|
322
|
+
const y = C;
|
|
323
|
+
b.root = y.root ? `${Z.root} ${y.root}` : Z.root, b.section = y.section ?? Z.section, b.label = y.label ?? Z.label;
|
|
318
324
|
}
|
|
319
|
-
const
|
|
320
|
-
return /* @__PURE__ */
|
|
321
|
-
|
|
325
|
+
const $ = m.className, g = $ ? `${Z.root} ${$}` : Z.root;
|
|
326
|
+
return /* @__PURE__ */ r(
|
|
327
|
+
St,
|
|
322
328
|
{
|
|
323
|
-
ref:
|
|
329
|
+
ref: i,
|
|
324
330
|
className: g,
|
|
325
|
-
classNames:
|
|
326
|
-
variant:
|
|
331
|
+
classNames: b,
|
|
332
|
+
variant: c[e],
|
|
327
333
|
size: d[a],
|
|
328
|
-
leftSection: s != null ? /* @__PURE__ */
|
|
334
|
+
leftSection: s != null ? /* @__PURE__ */ r("span", { className: Z.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
329
335
|
"data-variant": e,
|
|
330
336
|
"data-size": a,
|
|
331
337
|
...u ? { "data-icon-only": "" } : {},
|
|
332
338
|
...p,
|
|
333
|
-
children: /* @__PURE__ */
|
|
339
|
+
children: /* @__PURE__ */ r("span", { className: Z.labelText, children: t })
|
|
334
340
|
}
|
|
335
341
|
);
|
|
336
342
|
});
|
|
337
|
-
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
),
|
|
341
|
-
root:
|
|
342
|
-
header:
|
|
343
|
-
footer:
|
|
344
|
-
section:
|
|
345
|
-
content:
|
|
346
|
-
},
|
|
347
|
-
const t =
|
|
348
|
-
root:
|
|
349
|
-
},
|
|
350
|
-
if (
|
|
351
|
-
const
|
|
352
|
-
Object.keys(
|
|
353
|
-
o[d] ? o[d] = `${o[d]} ${
|
|
343
|
+
uo.displayName = "Button";
|
|
344
|
+
const Mn = Y(
|
|
345
|
+
uo
|
|
346
|
+
), Ns = "Card-module__root___c9KvZ", hs = "Card-module__header___PTXf2 recursica_brand_typography_h3", $s = "Card-module__footer___Mu-JC", vs = "Card-module__section___BRT8H", Cs = "Card-module__content___oFIQa", oe = {
|
|
347
|
+
root: Ns,
|
|
348
|
+
header: hs,
|
|
349
|
+
footer: $s,
|
|
350
|
+
section: vs,
|
|
351
|
+
content: Cs
|
|
352
|
+
}, bo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
353
|
+
const t = f(a, e), o = {
|
|
354
|
+
root: oe.root
|
|
355
|
+
}, n = t.classNames;
|
|
356
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
357
|
+
const c = n;
|
|
358
|
+
Object.keys(c).forEach((d) => {
|
|
359
|
+
o[d] ? o[d] = `${o[d]} ${c[d]}` : o[d] = c[d];
|
|
354
360
|
});
|
|
355
361
|
}
|
|
356
|
-
const
|
|
357
|
-
return /* @__PURE__ */
|
|
358
|
-
|
|
362
|
+
const i = t.className;
|
|
363
|
+
return /* @__PURE__ */ r(
|
|
364
|
+
ke,
|
|
359
365
|
{
|
|
360
366
|
ref: s,
|
|
361
|
-
className:
|
|
367
|
+
className: i,
|
|
362
368
|
classNames: o,
|
|
363
369
|
...t
|
|
364
370
|
}
|
|
365
371
|
);
|
|
366
372
|
});
|
|
367
|
-
|
|
368
|
-
const
|
|
373
|
+
bo.displayName = "Card";
|
|
374
|
+
const yo = h(
|
|
369
375
|
function({ overStyled: e = !1, ...a }, s) {
|
|
370
|
-
const t =
|
|
371
|
-
return /* @__PURE__ */
|
|
372
|
-
|
|
376
|
+
const t = f(a, e), o = t.className;
|
|
377
|
+
return /* @__PURE__ */ r(
|
|
378
|
+
ke.Section,
|
|
373
379
|
{
|
|
374
380
|
ref: s,
|
|
375
|
-
className: o ? `${
|
|
381
|
+
className: o ? `${oe.section} ${o}` : oe.section,
|
|
376
382
|
...t
|
|
377
383
|
}
|
|
378
384
|
);
|
|
379
385
|
}
|
|
380
386
|
);
|
|
381
|
-
|
|
382
|
-
const
|
|
387
|
+
yo.displayName = "CardSection";
|
|
388
|
+
const fo = h(
|
|
383
389
|
function({ overStyled: e = !1, ...a }, s) {
|
|
384
|
-
const t =
|
|
385
|
-
return /* @__PURE__ */
|
|
386
|
-
|
|
390
|
+
const t = f(a, e), o = t.className;
|
|
391
|
+
return /* @__PURE__ */ r(
|
|
392
|
+
ke.Section,
|
|
387
393
|
{
|
|
388
394
|
ref: s,
|
|
389
|
-
className: o ? `${
|
|
395
|
+
className: o ? `${oe.header} ${o}` : oe.header,
|
|
390
396
|
...t
|
|
391
397
|
}
|
|
392
398
|
);
|
|
393
399
|
}
|
|
394
400
|
);
|
|
395
|
-
|
|
396
|
-
const
|
|
401
|
+
fo.displayName = "CardHeader";
|
|
402
|
+
const No = h(
|
|
397
403
|
function({ overStyled: e = !1, ...a }, s) {
|
|
398
|
-
const t =
|
|
399
|
-
return /* @__PURE__ */
|
|
400
|
-
|
|
404
|
+
const t = f(a, e), o = t.className;
|
|
405
|
+
return /* @__PURE__ */ r(
|
|
406
|
+
ke.Section,
|
|
401
407
|
{
|
|
402
408
|
ref: s,
|
|
403
|
-
className: o ? `${
|
|
409
|
+
className: o ? `${oe.footer} ${o}` : oe.footer,
|
|
404
410
|
...t
|
|
405
411
|
}
|
|
406
412
|
);
|
|
407
413
|
}
|
|
408
414
|
);
|
|
409
|
-
|
|
410
|
-
const
|
|
415
|
+
No.displayName = "CardFooter";
|
|
416
|
+
const ho = h(
|
|
411
417
|
function({ overStyled: e = !1, ...a }, s) {
|
|
412
|
-
const t =
|
|
413
|
-
return /* @__PURE__ */
|
|
418
|
+
const t = f(a, e), o = t.className;
|
|
419
|
+
return /* @__PURE__ */ r(
|
|
414
420
|
"div",
|
|
415
421
|
{
|
|
416
422
|
ref: s,
|
|
417
|
-
className: o ? `${
|
|
423
|
+
className: o ? `${oe.content} ${o}` : oe.content,
|
|
418
424
|
...t
|
|
419
425
|
}
|
|
420
426
|
);
|
|
421
427
|
}
|
|
422
428
|
);
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
const
|
|
430
|
-
root:
|
|
431
|
-
labelText:
|
|
432
|
-
required:
|
|
433
|
-
optionalText:
|
|
434
|
-
actionAreaWrapper:
|
|
435
|
-
editIconWrapper:
|
|
436
|
-
},
|
|
429
|
+
ho.displayName = "CardContent";
|
|
430
|
+
const $o = Y(bo), Be = $o;
|
|
431
|
+
Be.Section = yo;
|
|
432
|
+
Be.Header = fo;
|
|
433
|
+
Be.Footer = No;
|
|
434
|
+
Be.Content = ho;
|
|
435
|
+
const Bn = $o, gs = "Label-module__root___e6HXZ", Ps = "Label-module__labelText___rieFR", ws = "Label-module__required___Ggrzc", Ts = "Label-module__optionalText___Y2yun", xs = "Label-module__actionAreaWrapper___ELoZK", Ss = "Label-module__editIconWrapper___NG2xW", H = {
|
|
436
|
+
root: gs,
|
|
437
|
+
labelText: Ps,
|
|
438
|
+
required: ws,
|
|
439
|
+
optionalText: Ts,
|
|
440
|
+
actionAreaWrapper: xs,
|
|
441
|
+
editIconWrapper: Ss
|
|
442
|
+
}, vo = h(function({
|
|
437
443
|
labelSize: e = "default",
|
|
438
444
|
labelAlignment: a,
|
|
439
445
|
required: s = !1,
|
|
440
446
|
labelOptionalText: t,
|
|
441
447
|
labelWithEditIcon: o,
|
|
442
|
-
labelActionArea:
|
|
443
|
-
onLabelEditClick:
|
|
444
|
-
children:
|
|
448
|
+
labelActionArea: n,
|
|
449
|
+
onLabelEditClick: i,
|
|
450
|
+
children: c,
|
|
445
451
|
overStyled: d = !1,
|
|
446
452
|
...p
|
|
447
453
|
}, m) {
|
|
448
|
-
const
|
|
454
|
+
const N = a || "left";
|
|
449
455
|
let _;
|
|
450
456
|
s || (t === !0 ? _ = "optional" : t && (_ = t));
|
|
451
|
-
const u =
|
|
452
|
-
label:
|
|
453
|
-
required:
|
|
454
|
-
},
|
|
455
|
-
if (
|
|
456
|
-
const
|
|
457
|
-
C.label =
|
|
457
|
+
const u = f(p, d), b = u, C = {
|
|
458
|
+
label: H.root,
|
|
459
|
+
required: H.required
|
|
460
|
+
}, $ = b.classNames;
|
|
461
|
+
if ($ && typeof $ == "object" && !Array.isArray($)) {
|
|
462
|
+
const S = $;
|
|
463
|
+
C.label = S.label ? `${H.root} ${S.label}` : H.root, C.required = S.required ? `${H.required} ${S.required}` : H.required;
|
|
458
464
|
}
|
|
459
|
-
const g =
|
|
460
|
-
return /* @__PURE__ */
|
|
461
|
-
|
|
465
|
+
const g = b.className, y = g ? `${H.root} ${g}` : H.root;
|
|
466
|
+
return /* @__PURE__ */ z(
|
|
467
|
+
ao.Label,
|
|
462
468
|
{
|
|
463
469
|
ref: m,
|
|
464
|
-
className:
|
|
470
|
+
className: y,
|
|
465
471
|
classNames: C,
|
|
466
472
|
"data-size": e,
|
|
467
|
-
"data-alignment":
|
|
473
|
+
"data-alignment": N,
|
|
468
474
|
required: s && !o,
|
|
469
475
|
...u,
|
|
470
476
|
children: [
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
_ && /* @__PURE__ */
|
|
473
|
-
|
|
477
|
+
/* @__PURE__ */ r("span", { className: H.labelText, children: c }),
|
|
478
|
+
_ && /* @__PURE__ */ r("span", { className: H.optionalText, children: typeof _ == "string" ? `(${_})` : _ }),
|
|
479
|
+
n ? /* @__PURE__ */ r("span", { className: H.actionAreaWrapper, children: n }) : o ? /* @__PURE__ */ r(
|
|
474
480
|
"button",
|
|
475
481
|
{
|
|
476
482
|
type: "button",
|
|
477
|
-
className:
|
|
483
|
+
className: H.editIconWrapper,
|
|
478
484
|
"data-replaces-asterisk": s ? "true" : void 0,
|
|
479
|
-
onClick:
|
|
485
|
+
onClick: i,
|
|
480
486
|
"aria-label": "Edit",
|
|
481
|
-
children: /* @__PURE__ */
|
|
487
|
+
children: /* @__PURE__ */ r(
|
|
482
488
|
"svg",
|
|
483
489
|
{
|
|
484
490
|
width: "16",
|
|
@@ -486,7 +492,7 @@ const Gn = co, ts = "Label-module__root___e6HXZ", ss = "Label-module__labelText_
|
|
|
486
492
|
viewBox: "0 0 16 16",
|
|
487
493
|
fill: "none",
|
|
488
494
|
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
-
children: /* @__PURE__ */
|
|
495
|
+
children: /* @__PURE__ */ r(
|
|
490
496
|
"path",
|
|
491
497
|
{
|
|
492
498
|
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 +509,48 @@ const Gn = co, ts = "Label-module__root___e6HXZ", ss = "Label-module__labelText_
|
|
|
503
509
|
}
|
|
504
510
|
);
|
|
505
511
|
});
|
|
506
|
-
|
|
507
|
-
const
|
|
508
|
-
root:
|
|
509
|
-
leftSection:
|
|
510
|
-
rightSection:
|
|
511
|
-
},
|
|
512
|
+
vo.displayName = "Label";
|
|
513
|
+
const As = "FormControlLayout-module__root___yNDhZ", Ws = "FormControlLayout-module__leftSection___GBM1r", Ls = "FormControlLayout-module__rightSection___bcL4v", Se = {
|
|
514
|
+
root: As,
|
|
515
|
+
leftSection: Ws,
|
|
516
|
+
rightSection: Ls
|
|
517
|
+
}, ce = h(function({
|
|
512
518
|
formLayout: e = "stacked",
|
|
513
519
|
labelSize: a = "default",
|
|
514
520
|
controlMaxWidth: s,
|
|
515
521
|
controlMinWidth: t,
|
|
516
522
|
leftSection: o,
|
|
517
|
-
children:
|
|
518
|
-
className:
|
|
519
|
-
style:
|
|
523
|
+
children: n,
|
|
524
|
+
className: i,
|
|
525
|
+
style: c,
|
|
520
526
|
...d
|
|
521
527
|
}, p) {
|
|
522
|
-
const m =
|
|
523
|
-
return /* @__PURE__ */
|
|
528
|
+
const m = i ? `${Se.root} ${i}` : Se.root, _ = o != null || e === "side-by-side";
|
|
529
|
+
return /* @__PURE__ */ z(
|
|
524
530
|
"div",
|
|
525
531
|
{
|
|
526
532
|
ref: p,
|
|
527
533
|
className: m,
|
|
528
534
|
"data-form-layout": e,
|
|
529
535
|
style: {
|
|
530
|
-
...
|
|
536
|
+
...c,
|
|
531
537
|
...s ? { "--form-control-max-width": s } : {},
|
|
532
538
|
...t ? { "--form-control-min-width": t } : {}
|
|
533
539
|
},
|
|
534
540
|
...d,
|
|
535
541
|
children: [
|
|
536
|
-
_ && /* @__PURE__ */
|
|
537
|
-
/* @__PURE__ */
|
|
542
|
+
_ && /* @__PURE__ */ r("div", { className: Se.leftSection, "data-size": a, children: o }),
|
|
543
|
+
/* @__PURE__ */ r("div", { className: Se.rightSection, children: n })
|
|
538
544
|
]
|
|
539
545
|
}
|
|
540
546
|
);
|
|
541
547
|
});
|
|
542
|
-
|
|
543
|
-
const
|
|
544
|
-
root:
|
|
545
|
-
textWrapper:
|
|
546
|
-
iconWrapper:
|
|
547
|
-
},
|
|
548
|
+
ce.displayName = "FormControlLayout";
|
|
549
|
+
const Is = "AssistiveElement-module__root___WhQ43", Os = "AssistiveElement-module__textWrapper___sfy5E", zs = "AssistiveElement-module__iconWrapper___gObRF", Ee = {
|
|
550
|
+
root: Is,
|
|
551
|
+
textWrapper: Os,
|
|
552
|
+
iconWrapper: zs
|
|
553
|
+
}, Rs = () => /* @__PURE__ */ z(
|
|
548
554
|
"svg",
|
|
549
555
|
{
|
|
550
556
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -555,12 +561,12 @@ const ps = "AssistiveElement-module__root___WhQ43", ms = "AssistiveElement-modul
|
|
|
555
561
|
strokeLinecap: "round",
|
|
556
562
|
strokeLinejoin: "round",
|
|
557
563
|
children: [
|
|
558
|
-
/* @__PURE__ */
|
|
559
|
-
/* @__PURE__ */
|
|
560
|
-
/* @__PURE__ */
|
|
564
|
+
/* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
|
|
565
|
+
/* @__PURE__ */ r("path", { d: "M12 16v-4" }),
|
|
566
|
+
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
561
567
|
]
|
|
562
568
|
}
|
|
563
|
-
),
|
|
569
|
+
), ks = () => /* @__PURE__ */ z(
|
|
564
570
|
"svg",
|
|
565
571
|
{
|
|
566
572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -571,98 +577,98 @@ const ps = "AssistiveElement-module__root___WhQ43", ms = "AssistiveElement-modul
|
|
|
571
577
|
strokeLinecap: "round",
|
|
572
578
|
strokeLinejoin: "round",
|
|
573
579
|
children: [
|
|
574
|
-
/* @__PURE__ */
|
|
575
|
-
/* @__PURE__ */
|
|
576
|
-
/* @__PURE__ */
|
|
580
|
+
/* @__PURE__ */ r("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
|
|
581
|
+
/* @__PURE__ */ r("path", { d: "M12 9v4" }),
|
|
582
|
+
/* @__PURE__ */ r("path", { d: "M12 17h.01" })
|
|
577
583
|
]
|
|
578
584
|
}
|
|
579
|
-
),
|
|
585
|
+
), De = h(function({
|
|
580
586
|
assistiveVariant: e = "help",
|
|
581
587
|
assistiveWithIcon: a = !0,
|
|
582
588
|
children: s,
|
|
583
589
|
className: t,
|
|
584
590
|
overStyled: o = !1,
|
|
585
|
-
...
|
|
586
|
-
},
|
|
587
|
-
const d =
|
|
588
|
-
return /* @__PURE__ */
|
|
591
|
+
...n
|
|
592
|
+
}, i) {
|
|
593
|
+
const d = f(n, o), p = Ee.root, m = t ? `${p} ${t}` : p, N = e === "error" ? ks : Rs;
|
|
594
|
+
return /* @__PURE__ */ z(
|
|
589
595
|
"div",
|
|
590
596
|
{
|
|
591
|
-
ref:
|
|
597
|
+
ref: i,
|
|
592
598
|
className: m,
|
|
593
599
|
"data-variant": e,
|
|
594
600
|
style: d.style,
|
|
595
601
|
...d,
|
|
596
602
|
children: [
|
|
597
|
-
a && /* @__PURE__ */
|
|
598
|
-
/* @__PURE__ */
|
|
603
|
+
a && /* @__PURE__ */ r("span", { className: Ee.iconWrapper, children: /* @__PURE__ */ r(N, {}) }),
|
|
604
|
+
/* @__PURE__ */ r("span", { className: Ee.textWrapper, children: s })
|
|
599
605
|
]
|
|
600
606
|
}
|
|
601
607
|
);
|
|
602
608
|
});
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
inputSection:
|
|
606
|
-
},
|
|
609
|
+
De.displayName = "AssistiveElement";
|
|
610
|
+
const Ms = "FormControlWrapper-module__inputSection___HenXk", Xe = {
|
|
611
|
+
inputSection: Ms
|
|
612
|
+
}, Ie = h(function({
|
|
607
613
|
formLayout: e,
|
|
608
614
|
labelSize: a,
|
|
609
615
|
labelAlignment: s,
|
|
610
616
|
labelOptionalText: t,
|
|
611
617
|
labelWithEditIcon: o,
|
|
612
|
-
labelActionArea:
|
|
613
|
-
onLabelEditClick:
|
|
614
|
-
label:
|
|
618
|
+
labelActionArea: n,
|
|
619
|
+
onLabelEditClick: i,
|
|
620
|
+
label: c,
|
|
615
621
|
description: d,
|
|
616
622
|
assistiveText: p,
|
|
617
623
|
assistiveWithIcon: m = !0,
|
|
618
|
-
controlMaxWidth:
|
|
624
|
+
controlMaxWidth: N,
|
|
619
625
|
controlMinWidth: _,
|
|
620
626
|
error: u,
|
|
621
|
-
required:
|
|
627
|
+
required: b,
|
|
622
628
|
withAsterisk: C,
|
|
623
|
-
id:
|
|
629
|
+
id: $,
|
|
624
630
|
children: g,
|
|
625
|
-
className:
|
|
626
|
-
overStyled:
|
|
631
|
+
className: y,
|
|
632
|
+
overStyled: S = !1,
|
|
627
633
|
labelElement: v,
|
|
628
634
|
// Extracted safely preventing bleeding into HTML domains
|
|
629
|
-
...
|
|
630
|
-
},
|
|
631
|
-
const
|
|
635
|
+
...B
|
|
636
|
+
}, A) {
|
|
637
|
+
const T = gt(), R = $ || `recursica-fc-${T}`, M = p || d, W = M ? `${R}-assistive` : void 0, w = u ? `${R}-error` : void 0, k = f(B, S), me = y || k.className, xe = Xe.root, q = me ? `${xe} ${me}` : xe, vt = L.isValidElement(g) ? L.cloneElement(
|
|
632
638
|
g,
|
|
633
639
|
{
|
|
634
|
-
...
|
|
640
|
+
...M && !g.props["aria-describedby"] ? { "aria-describedby": W } : {},
|
|
635
641
|
...u && !g.props["aria-errormessage"] ? { "aria-errormessage": w } : {}
|
|
636
642
|
}
|
|
637
|
-
) : g,
|
|
638
|
-
|
|
643
|
+
) : g, Ct = c ? /* @__PURE__ */ r(
|
|
644
|
+
vo,
|
|
639
645
|
{
|
|
640
|
-
id:
|
|
646
|
+
id: R,
|
|
641
647
|
labelAlignment: s,
|
|
642
648
|
labelOptionalText: t,
|
|
643
649
|
labelWithEditIcon: o,
|
|
644
|
-
labelActionArea:
|
|
645
|
-
onLabelEditClick:
|
|
646
|
-
required: C ??
|
|
650
|
+
labelActionArea: n,
|
|
651
|
+
onLabelEditClick: i,
|
|
652
|
+
required: C ?? b,
|
|
647
653
|
...v === "div" ? { as: "div" } : {},
|
|
648
|
-
children:
|
|
654
|
+
children: c
|
|
649
655
|
}
|
|
650
656
|
) : void 0;
|
|
651
|
-
return /* @__PURE__ */
|
|
652
|
-
|
|
657
|
+
return /* @__PURE__ */ r(
|
|
658
|
+
ce,
|
|
653
659
|
{
|
|
654
|
-
ref:
|
|
655
|
-
className:
|
|
660
|
+
ref: A,
|
|
661
|
+
className: q,
|
|
656
662
|
formLayout: e,
|
|
657
663
|
labelSize: a,
|
|
658
|
-
controlMaxWidth:
|
|
664
|
+
controlMaxWidth: N,
|
|
659
665
|
controlMinWidth: _,
|
|
660
|
-
leftSection:
|
|
661
|
-
...
|
|
662
|
-
children: /* @__PURE__ */
|
|
663
|
-
|
|
664
|
-
u && /* @__PURE__ */
|
|
665
|
-
|
|
666
|
+
leftSection: Ct,
|
|
667
|
+
...k,
|
|
668
|
+
children: /* @__PURE__ */ z("div", { className: Xe.inputSection, children: [
|
|
669
|
+
vt,
|
|
670
|
+
u && /* @__PURE__ */ r(
|
|
671
|
+
De,
|
|
666
672
|
{
|
|
667
673
|
id: w,
|
|
668
674
|
assistiveVariant: "error",
|
|
@@ -670,80 +676,80 @@ const ys = "FormControlWrapper-module__inputSection___HenXk", Ge = {
|
|
|
670
676
|
children: u
|
|
671
677
|
}
|
|
672
678
|
),
|
|
673
|
-
!u &&
|
|
674
|
-
|
|
679
|
+
!u && M && /* @__PURE__ */ r(
|
|
680
|
+
De,
|
|
675
681
|
{
|
|
676
|
-
id:
|
|
682
|
+
id: W,
|
|
677
683
|
assistiveVariant: "help",
|
|
678
684
|
assistiveWithIcon: m,
|
|
679
|
-
children:
|
|
685
|
+
children: M
|
|
680
686
|
}
|
|
681
687
|
)
|
|
682
688
|
] })
|
|
683
689
|
}
|
|
684
690
|
);
|
|
685
691
|
});
|
|
686
|
-
|
|
687
|
-
const
|
|
688
|
-
root:
|
|
689
|
-
contents:
|
|
690
|
-
},
|
|
691
|
-
const
|
|
692
|
-
return /* @__PURE__ */
|
|
692
|
+
Ie.displayName = "FormControlWrapper";
|
|
693
|
+
const Bs = "_root_1qhn7_3", Fs = "_contents_1qhn7_18", ye = {
|
|
694
|
+
root: Bs,
|
|
695
|
+
contents: Fs
|
|
696
|
+
}, Es = h(function({ layer: l, contentsOnly: e, children: a, className: s, style: t, ...o }, n) {
|
|
697
|
+
const i = e ? s ? `${ye.root} ${ye.contents} ${s}` : `${ye.root} ${ye.contents}` : s ? `${ye.root} ${s}` : ye.root;
|
|
698
|
+
return /* @__PURE__ */ r(
|
|
693
699
|
"div",
|
|
694
700
|
{
|
|
695
|
-
ref:
|
|
696
|
-
className:
|
|
701
|
+
ref: n,
|
|
702
|
+
className: i,
|
|
697
703
|
style: t,
|
|
698
|
-
...e ? {} : { "data-recursica-layer": String(
|
|
704
|
+
...e ? {} : { "data-recursica-layer": String(l) },
|
|
699
705
|
...o,
|
|
700
706
|
children: a
|
|
701
707
|
}
|
|
702
708
|
);
|
|
703
709
|
});
|
|
704
|
-
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
const
|
|
709
|
-
function
|
|
710
|
-
children:
|
|
710
|
+
Es.displayName = "Layer";
|
|
711
|
+
const Oe = ({ emptyText: l = "N/A" }) => /* @__PURE__ */ r(L.Fragment, { children: l });
|
|
712
|
+
Oe.displayName = "EmptyValueRenderer";
|
|
713
|
+
Oe.check = (l) => l == null || l === "" || Array.isArray(l) && l.length === 0;
|
|
714
|
+
const eo = "data-recursica-theme";
|
|
715
|
+
function Fn({
|
|
716
|
+
children: l,
|
|
711
717
|
theme: e = "light"
|
|
712
718
|
}) {
|
|
713
|
-
return
|
|
719
|
+
return Pt(() => {
|
|
714
720
|
const a = document.documentElement;
|
|
715
|
-
return a.setAttribute(
|
|
716
|
-
a.removeAttribute(
|
|
721
|
+
return a.setAttribute(eo, e), () => {
|
|
722
|
+
a.removeAttribute(eo);
|
|
717
723
|
};
|
|
718
|
-
}, [e]), /* @__PURE__ */
|
|
724
|
+
}, [e]), /* @__PURE__ */ r(Ne, { children: l });
|
|
719
725
|
}
|
|
720
|
-
const
|
|
721
|
-
textField:
|
|
722
|
-
},
|
|
723
|
-
value:
|
|
726
|
+
const js = "ReadOnlyField-module__textField___qKn25", ze = {
|
|
727
|
+
textField: js
|
|
728
|
+
}, We = ({
|
|
729
|
+
value: l,
|
|
724
730
|
overStyled: e = !1,
|
|
725
731
|
...a
|
|
726
732
|
}) => {
|
|
727
|
-
const s =
|
|
728
|
-
return /* @__PURE__ */
|
|
729
|
-
|
|
733
|
+
const s = f(a, e), t = s.className;
|
|
734
|
+
return /* @__PURE__ */ r(
|
|
735
|
+
Ve,
|
|
730
736
|
{
|
|
731
737
|
component: "p",
|
|
732
|
-
className: t ? `${
|
|
738
|
+
className: t ? `${ze.textField} ${t}` : ze.textField,
|
|
733
739
|
...s,
|
|
734
|
-
children:
|
|
740
|
+
children: l != null ? L.isValidElement(l) ? l : Array.isArray(l) ? l.join(", ") : String(l) : ""
|
|
735
741
|
}
|
|
736
742
|
);
|
|
737
743
|
};
|
|
738
|
-
|
|
739
|
-
const
|
|
740
|
-
function({ value: e, type: a = "text", emptyValueComponent: s, overStyled: t = !1, ...o },
|
|
741
|
-
let
|
|
742
|
-
const
|
|
744
|
+
We.displayName = "ReadOnlyTextField";
|
|
745
|
+
const Co = h(
|
|
746
|
+
function({ value: e, type: a = "text", emptyValueComponent: s, overStyled: t = !1, ...o }, n) {
|
|
747
|
+
let i = null;
|
|
748
|
+
const c = f(o, t), d = s || Oe, m = (d.check ? d.check(e) : Oe.check(e)) ? /* @__PURE__ */ r(d, { value: e }) : e;
|
|
743
749
|
switch (a) {
|
|
744
750
|
case "boolean":
|
|
745
|
-
|
|
746
|
-
|
|
751
|
+
i = /* @__PURE__ */ r(
|
|
752
|
+
We,
|
|
747
753
|
{
|
|
748
754
|
value: e === !0 ? "True" : e === !1 ? "False" : m,
|
|
749
755
|
overStyled: t
|
|
@@ -751,8 +757,8 @@ const po = y(
|
|
|
751
757
|
);
|
|
752
758
|
break;
|
|
753
759
|
case "switch":
|
|
754
|
-
|
|
755
|
-
|
|
760
|
+
i = /* @__PURE__ */ r(
|
|
761
|
+
We,
|
|
756
762
|
{
|
|
757
763
|
value: e === !0 ? "On" : e === !1 ? "Off" : m,
|
|
758
764
|
overStyled: t
|
|
@@ -761,8 +767,8 @@ const po = y(
|
|
|
761
767
|
break;
|
|
762
768
|
case "text":
|
|
763
769
|
default:
|
|
764
|
-
|
|
765
|
-
|
|
770
|
+
i = /* @__PURE__ */ r(
|
|
771
|
+
We,
|
|
766
772
|
{
|
|
767
773
|
value: m,
|
|
768
774
|
overStyled: t
|
|
@@ -770,139 +776,139 @@ const po = y(
|
|
|
770
776
|
);
|
|
771
777
|
break;
|
|
772
778
|
}
|
|
773
|
-
return /* @__PURE__ */
|
|
774
|
-
|
|
779
|
+
return /* @__PURE__ */ r(
|
|
780
|
+
Ie,
|
|
775
781
|
{
|
|
776
|
-
ref:
|
|
782
|
+
ref: n,
|
|
777
783
|
overStyled: t,
|
|
778
|
-
...
|
|
779
|
-
children:
|
|
784
|
+
...c,
|
|
785
|
+
children: i
|
|
780
786
|
}
|
|
781
787
|
);
|
|
782
788
|
}
|
|
783
789
|
);
|
|
784
|
-
|
|
785
|
-
const
|
|
790
|
+
Co.displayName = "ReadOnlyField";
|
|
791
|
+
const de = h(function({
|
|
786
792
|
readOnly: e,
|
|
787
793
|
readOnlyComponent: a,
|
|
788
794
|
readOnlyType: s = "text",
|
|
789
795
|
readOnlyValue: t,
|
|
790
796
|
readOnlyNativeProps: o,
|
|
791
|
-
emptyValueComponent:
|
|
792
|
-
activeComponent:
|
|
793
|
-
overStyled:
|
|
797
|
+
emptyValueComponent: n,
|
|
798
|
+
activeComponent: i,
|
|
799
|
+
overStyled: c,
|
|
794
800
|
onLabelEditClick: d,
|
|
795
801
|
...p
|
|
796
802
|
}, m) {
|
|
797
|
-
return e ? a ? /* @__PURE__ */
|
|
798
|
-
|
|
803
|
+
return e ? a ? /* @__PURE__ */ r(
|
|
804
|
+
Ie,
|
|
799
805
|
{
|
|
800
806
|
ref: m,
|
|
801
807
|
...p,
|
|
802
808
|
onLabelEditClick: d,
|
|
803
|
-
overStyled:
|
|
804
|
-
children: /* @__PURE__ */
|
|
809
|
+
overStyled: c,
|
|
810
|
+
children: /* @__PURE__ */ r(a, { ...o })
|
|
805
811
|
}
|
|
806
|
-
) : /* @__PURE__ */
|
|
807
|
-
|
|
812
|
+
) : /* @__PURE__ */ r(
|
|
813
|
+
Co,
|
|
808
814
|
{
|
|
809
815
|
ref: m,
|
|
810
816
|
type: s,
|
|
811
817
|
value: t,
|
|
812
|
-
emptyValueComponent:
|
|
818
|
+
emptyValueComponent: n,
|
|
813
819
|
onLabelEditClick: d,
|
|
814
|
-
overStyled:
|
|
820
|
+
overStyled: c,
|
|
815
821
|
...p
|
|
816
822
|
}
|
|
817
|
-
) : /* @__PURE__ */
|
|
818
|
-
|
|
823
|
+
) : /* @__PURE__ */ r(
|
|
824
|
+
Ie,
|
|
819
825
|
{
|
|
820
826
|
ref: m,
|
|
821
827
|
...p,
|
|
822
828
|
onLabelEditClick: d,
|
|
823
|
-
overStyled:
|
|
824
|
-
children:
|
|
829
|
+
overStyled: c,
|
|
830
|
+
children: i
|
|
825
831
|
}
|
|
826
832
|
);
|
|
827
833
|
});
|
|
828
|
-
|
|
829
|
-
const
|
|
830
|
-
groupRoot:
|
|
831
|
-
root:
|
|
832
|
-
body:
|
|
833
|
-
inner:
|
|
834
|
-
input:
|
|
835
|
-
icon:
|
|
836
|
-
labelWrapper:
|
|
837
|
-
label:
|
|
838
|
-
},
|
|
834
|
+
de.displayName = "WithReadOnlyWrapper";
|
|
835
|
+
const Ds = "Checkbox-module__groupRoot___cBS0o", Vs = "Checkbox-module__root___mY3qk", Gs = "Checkbox-module__body___5yC7q", qs = "Checkbox-module__inner___rTke4", Hs = "Checkbox-module__input___2kt-h", Us = "Checkbox-module__icon___-O7i6", Zs = "Checkbox-module__labelWrapper___GpZkr", Ys = "Checkbox-module__label___cwRtI", I = {
|
|
836
|
+
groupRoot: Ds,
|
|
837
|
+
root: Vs,
|
|
838
|
+
body: Gs,
|
|
839
|
+
inner: qs,
|
|
840
|
+
input: Hs,
|
|
841
|
+
icon: Us,
|
|
842
|
+
labelWrapper: Zs,
|
|
843
|
+
label: Ys
|
|
844
|
+
}, go = h(
|
|
839
845
|
function(e, a) {
|
|
840
846
|
const {
|
|
841
847
|
overStyled: s = !1,
|
|
842
848
|
formLayout: t = "stacked",
|
|
843
849
|
// Label Wrappers
|
|
844
850
|
labelSize: o,
|
|
845
|
-
labelAlignment:
|
|
846
|
-
labelOptionalText:
|
|
847
|
-
labelWithEditIcon:
|
|
851
|
+
labelAlignment: n,
|
|
852
|
+
labelOptionalText: i,
|
|
853
|
+
labelWithEditIcon: c,
|
|
848
854
|
onLabelEditClick: d,
|
|
849
855
|
// Base Mantine Extracted Attributes
|
|
850
856
|
label: p,
|
|
851
857
|
description: m,
|
|
852
|
-
assistiveText:
|
|
858
|
+
assistiveText: N,
|
|
853
859
|
assistiveWithIcon: _,
|
|
854
860
|
error: u,
|
|
855
|
-
required:
|
|
861
|
+
required: b,
|
|
856
862
|
withAsterisk: C,
|
|
857
|
-
id:
|
|
863
|
+
id: $,
|
|
858
864
|
className: g,
|
|
859
|
-
style:
|
|
860
|
-
children:
|
|
865
|
+
style: y,
|
|
866
|
+
children: S,
|
|
861
867
|
readOnly: v,
|
|
862
|
-
readOnlyComponent:
|
|
863
|
-
emptyValueComponent:
|
|
864
|
-
value:
|
|
865
|
-
defaultValue:
|
|
866
|
-
...
|
|
867
|
-
} = e,
|
|
868
|
-
return delete w.size, /* @__PURE__ */
|
|
869
|
-
|
|
868
|
+
readOnlyComponent: B,
|
|
869
|
+
emptyValueComponent: A,
|
|
870
|
+
value: T,
|
|
871
|
+
defaultValue: R,
|
|
872
|
+
...M
|
|
873
|
+
} = e, W = f(M, s), w = W;
|
|
874
|
+
return delete w.size, /* @__PURE__ */ r(
|
|
875
|
+
de,
|
|
870
876
|
{
|
|
871
877
|
className: g,
|
|
872
|
-
style:
|
|
878
|
+
style: y,
|
|
873
879
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
874
880
|
controlMinWidth: void 0,
|
|
875
881
|
overStyled: s,
|
|
876
882
|
labelElement: "div",
|
|
877
883
|
formLayout: t,
|
|
878
884
|
labelSize: o,
|
|
879
|
-
labelAlignment:
|
|
880
|
-
labelOptionalText:
|
|
881
|
-
labelWithEditIcon:
|
|
885
|
+
labelAlignment: n,
|
|
886
|
+
labelOptionalText: i,
|
|
887
|
+
labelWithEditIcon: c,
|
|
882
888
|
onLabelEditClick: d,
|
|
883
889
|
label: p,
|
|
884
890
|
description: m,
|
|
885
|
-
assistiveText:
|
|
891
|
+
assistiveText: N,
|
|
886
892
|
assistiveWithIcon: _,
|
|
887
893
|
error: u,
|
|
888
|
-
required:
|
|
894
|
+
required: b,
|
|
889
895
|
withAsterisk: C,
|
|
890
|
-
id:
|
|
891
|
-
readOnly: v && !!
|
|
892
|
-
readOnlyComponent:
|
|
893
|
-
emptyValueComponent:
|
|
896
|
+
id: $,
|
|
897
|
+
readOnly: v && !!B,
|
|
898
|
+
readOnlyComponent: B,
|
|
899
|
+
emptyValueComponent: A,
|
|
894
900
|
readOnlyType: "text",
|
|
895
|
-
readOnlyValue:
|
|
901
|
+
readOnlyValue: T !== void 0 ? T : R,
|
|
896
902
|
readOnlyNativeProps: e,
|
|
897
|
-
activeComponent: /* @__PURE__ */
|
|
898
|
-
|
|
903
|
+
activeComponent: /* @__PURE__ */ r(
|
|
904
|
+
ro.Group,
|
|
899
905
|
{
|
|
900
906
|
ref: a,
|
|
901
|
-
...
|
|
907
|
+
...W,
|
|
902
908
|
disabled: v || w.disabled,
|
|
903
|
-
value:
|
|
904
|
-
defaultValue:
|
|
905
|
-
children: /* @__PURE__ */
|
|
909
|
+
value: T,
|
|
910
|
+
defaultValue: R,
|
|
911
|
+
children: /* @__PURE__ */ r("div", { className: I.groupRoot, "data-layout": t, children: L.Children.map(S, (P) => L.isValidElement(P) ? L.cloneElement(P, {
|
|
906
912
|
disabled: v || P.props.disabled
|
|
907
913
|
}) : P) })
|
|
908
914
|
}
|
|
@@ -911,70 +917,70 @@ const vs = "Checkbox-module__groupRoot___cBS0o", Cs = "Checkbox-module__root___m
|
|
|
911
917
|
);
|
|
912
918
|
}
|
|
913
919
|
);
|
|
914
|
-
|
|
915
|
-
const
|
|
920
|
+
go.displayName = "CheckboxGroup";
|
|
921
|
+
const Po = h(
|
|
916
922
|
function(e, a) {
|
|
917
923
|
const {
|
|
918
924
|
overStyled: s = !1,
|
|
919
925
|
readOnly: t,
|
|
920
926
|
readOnlyComponent: o,
|
|
921
|
-
disabled:
|
|
922
|
-
formLayout:
|
|
923
|
-
labelSize:
|
|
927
|
+
disabled: n,
|
|
928
|
+
formLayout: i,
|
|
929
|
+
labelSize: c,
|
|
924
930
|
controlMaxWidth: d,
|
|
925
931
|
controlMinWidth: p,
|
|
926
932
|
...m
|
|
927
|
-
} = e,
|
|
933
|
+
} = e, N = f(m, s), _ = N;
|
|
928
934
|
delete _.size, delete _.color, delete _.radius, delete _.variant, delete _.iconColor;
|
|
929
935
|
const u = {
|
|
930
|
-
root:
|
|
931
|
-
body:
|
|
932
|
-
inner:
|
|
933
|
-
input:
|
|
934
|
-
icon:
|
|
935
|
-
labelWrapper:
|
|
936
|
-
label:
|
|
937
|
-
},
|
|
938
|
-
if (
|
|
939
|
-
const
|
|
940
|
-
u.root =
|
|
936
|
+
root: I.root,
|
|
937
|
+
body: I.body,
|
|
938
|
+
inner: I.inner,
|
|
939
|
+
input: I.input,
|
|
940
|
+
icon: I.icon,
|
|
941
|
+
labelWrapper: I.labelWrapper,
|
|
942
|
+
label: I.label
|
|
943
|
+
}, b = _.classNames;
|
|
944
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
945
|
+
const y = b;
|
|
946
|
+
u.root = y.root ? `${I.root} ${y.root}` : I.root, u.body = y.body ? `${I.body} ${y.body}` : I.body, u.inner = y.inner ? `${I.inner} ${y.inner}` : I.inner, u.input = y.input ? `${I.input} ${y.input}` : I.input, u.icon = y.icon ? `${I.icon} ${y.icon}` : I.icon, u.labelWrapper = y.labelWrapper ? `${I.labelWrapper} ${y.labelWrapper}` : I.labelWrapper, u.label = y.label ? `${I.label} ${y.label}` : I.label;
|
|
941
947
|
}
|
|
942
|
-
const C = _.className,
|
|
948
|
+
const C = _.className, $ = C ? `${I.root} ${C}` : I.root;
|
|
943
949
|
if (t && o) {
|
|
944
|
-
const
|
|
950
|
+
const y = !!(_.checked ?? _.defaultChecked), v = /* @__PURE__ */ r(
|
|
945
951
|
o,
|
|
946
952
|
{
|
|
947
953
|
...e,
|
|
948
|
-
checked:
|
|
954
|
+
checked: y,
|
|
949
955
|
label: _.label
|
|
950
956
|
}
|
|
951
957
|
);
|
|
952
|
-
return
|
|
953
|
-
|
|
958
|
+
return i ? /* @__PURE__ */ r(
|
|
959
|
+
ce,
|
|
954
960
|
{
|
|
955
|
-
formLayout:
|
|
956
|
-
labelSize:
|
|
961
|
+
formLayout: i,
|
|
962
|
+
labelSize: c,
|
|
957
963
|
controlMaxWidth: d,
|
|
958
964
|
controlMinWidth: p,
|
|
959
965
|
children: v
|
|
960
966
|
}
|
|
961
|
-
) : /* @__PURE__ */
|
|
967
|
+
) : /* @__PURE__ */ r(Ne, { children: v });
|
|
962
968
|
}
|
|
963
|
-
const g = /* @__PURE__ */
|
|
964
|
-
|
|
969
|
+
const g = /* @__PURE__ */ r(
|
|
970
|
+
ro,
|
|
965
971
|
{
|
|
966
972
|
ref: a,
|
|
967
|
-
className:
|
|
973
|
+
className: $,
|
|
968
974
|
classNames: u,
|
|
969
|
-
disabled: t ||
|
|
970
|
-
|
|
975
|
+
disabled: t || n,
|
|
976
|
+
...N
|
|
971
977
|
}
|
|
972
978
|
);
|
|
973
|
-
return
|
|
974
|
-
|
|
979
|
+
return i ? /* @__PURE__ */ r(
|
|
980
|
+
ce,
|
|
975
981
|
{
|
|
976
|
-
formLayout:
|
|
977
|
-
labelSize:
|
|
982
|
+
formLayout: i,
|
|
983
|
+
labelSize: c,
|
|
978
984
|
controlMaxWidth: d,
|
|
979
985
|
controlMinWidth: p,
|
|
980
986
|
children: g
|
|
@@ -982,19 +988,19 @@ const _o = y(
|
|
|
982
988
|
) : g;
|
|
983
989
|
}
|
|
984
990
|
);
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
const
|
|
988
|
-
root:
|
|
989
|
-
label:
|
|
990
|
-
mantineIconWrapper:
|
|
991
|
-
innerWrapper:
|
|
992
|
-
children:
|
|
993
|
-
leadingIcon:
|
|
994
|
-
removeIcon:
|
|
991
|
+
Po.displayName = "Checkbox";
|
|
992
|
+
Po.Group = go;
|
|
993
|
+
const Ks = "Chip-module__root___f5pFk", Qs = "Chip-module__label___Ov9pg", Js = "Chip-module__mantineIconWrapper___KLSz6", Xs = "Chip-module__innerWrapper___EnrTF", ea = "Chip-module__children___zbRAR", oa = "Chip-module__leadingIcon___JBtjQ", ta = "Chip-module__removeIcon___pVju-", E = {
|
|
994
|
+
root: Ks,
|
|
995
|
+
label: Qs,
|
|
996
|
+
mantineIconWrapper: Js,
|
|
997
|
+
innerWrapper: Xs,
|
|
998
|
+
children: ea,
|
|
999
|
+
leadingIcon: oa,
|
|
1000
|
+
removeIcon: ta
|
|
995
1001
|
};
|
|
996
|
-
function
|
|
997
|
-
return /* @__PURE__ */
|
|
1002
|
+
function sa(l) {
|
|
1003
|
+
return /* @__PURE__ */ z(
|
|
998
1004
|
"svg",
|
|
999
1005
|
{
|
|
1000
1006
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1006,73 +1012,73 @@ function Rs(r) {
|
|
|
1006
1012
|
strokeWidth: "2",
|
|
1007
1013
|
strokeLinecap: "round",
|
|
1008
1014
|
strokeLinejoin: "round",
|
|
1009
|
-
...
|
|
1015
|
+
...l,
|
|
1010
1016
|
children: [
|
|
1011
|
-
/* @__PURE__ */
|
|
1012
|
-
/* @__PURE__ */
|
|
1017
|
+
/* @__PURE__ */ r("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1018
|
+
/* @__PURE__ */ r("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
1013
1019
|
]
|
|
1014
1020
|
}
|
|
1015
1021
|
);
|
|
1016
1022
|
}
|
|
1017
|
-
const
|
|
1023
|
+
const aa = h(function({
|
|
1018
1024
|
error: e = !1,
|
|
1019
1025
|
icon: a,
|
|
1020
1026
|
onRemove: s,
|
|
1021
1027
|
removeLabel: t = "Remove",
|
|
1022
1028
|
children: o,
|
|
1023
|
-
overStyled:
|
|
1024
|
-
...
|
|
1025
|
-
},
|
|
1026
|
-
const d =
|
|
1027
|
-
root:
|
|
1028
|
-
label:
|
|
1029
|
-
input:
|
|
1030
|
-
iconWrapper:
|
|
1031
|
-
checkIcon:
|
|
1032
|
-
},
|
|
1033
|
-
if (
|
|
1034
|
-
const
|
|
1035
|
-
m.root =
|
|
1029
|
+
overStyled: n = !1,
|
|
1030
|
+
...i
|
|
1031
|
+
}, c) {
|
|
1032
|
+
const d = f(i, n), p = d, m = {
|
|
1033
|
+
root: E.root,
|
|
1034
|
+
label: E.label,
|
|
1035
|
+
input: E.input,
|
|
1036
|
+
iconWrapper: E.mantineIconWrapper,
|
|
1037
|
+
checkIcon: E.checkIcon
|
|
1038
|
+
}, N = p.classNames;
|
|
1039
|
+
if (N && typeof N == "object" && !Array.isArray(N)) {
|
|
1040
|
+
const $ = N;
|
|
1041
|
+
m.root = $.root ? `${E.root} ${$.root}` : E.root, m.label = $.label ? `${E.label} ${$.label}` : E.label;
|
|
1036
1042
|
}
|
|
1037
|
-
const _ = p.className, u = _ ? `${
|
|
1038
|
-
return /* @__PURE__ */
|
|
1039
|
-
|
|
1043
|
+
const _ = p.className, u = _ ? `${E.root} ${_}` : E.root;
|
|
1044
|
+
return /* @__PURE__ */ r(
|
|
1045
|
+
At,
|
|
1040
1046
|
{
|
|
1041
|
-
ref:
|
|
1047
|
+
ref: c,
|
|
1042
1048
|
className: u,
|
|
1043
1049
|
classNames: m,
|
|
1044
1050
|
...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1045
1051
|
...!o && (!!a || !!s) ? { "data-icon-only": "" } : {},
|
|
1046
1052
|
...d,
|
|
1047
|
-
children: /* @__PURE__ */
|
|
1048
|
-
a && /* @__PURE__ */
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
s && /* @__PURE__ */
|
|
1053
|
+
children: /* @__PURE__ */ z("span", { className: E.innerWrapper, children: [
|
|
1054
|
+
a && /* @__PURE__ */ r("span", { className: E.leadingIcon, "aria-hidden": !0, children: a }),
|
|
1055
|
+
/* @__PURE__ */ r("span", { className: E.children, children: o }),
|
|
1056
|
+
s && /* @__PURE__ */ r(
|
|
1051
1057
|
"span",
|
|
1052
1058
|
{
|
|
1053
1059
|
role: "button",
|
|
1054
|
-
className:
|
|
1055
|
-
onClick: (
|
|
1056
|
-
|
|
1060
|
+
className: E.removeIcon,
|
|
1061
|
+
onClick: ($) => {
|
|
1062
|
+
$.preventDefault(), $.stopPropagation(), s($);
|
|
1057
1063
|
},
|
|
1058
1064
|
"aria-label": t,
|
|
1059
|
-
onKeyDown: (
|
|
1060
|
-
(
|
|
1061
|
-
|
|
1065
|
+
onKeyDown: ($) => {
|
|
1066
|
+
($.key === "Enter" || $.key === " ") && ($.preventDefault(), $.stopPropagation(), s(
|
|
1067
|
+
$
|
|
1062
1068
|
));
|
|
1063
1069
|
},
|
|
1064
1070
|
tabIndex: 0,
|
|
1065
|
-
children: /* @__PURE__ */
|
|
1071
|
+
children: /* @__PURE__ */ r(sa, {})
|
|
1066
1072
|
}
|
|
1067
1073
|
)
|
|
1068
1074
|
] })
|
|
1069
1075
|
}
|
|
1070
1076
|
);
|
|
1071
1077
|
});
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
root:
|
|
1075
|
-
},
|
|
1078
|
+
aa.displayName = "Chip";
|
|
1079
|
+
const ra = "Container-module__root___UVssr", $e = {
|
|
1080
|
+
root: ra
|
|
1081
|
+
}, na = h(
|
|
1076
1082
|
function({ children: e, size: a, ...s }, t) {
|
|
1077
1083
|
const o = {
|
|
1078
1084
|
"rec-sm": "sm",
|
|
@@ -1081,126 +1087,126 @@ const Fs = "Container-module__root___UVssr", ue = {
|
|
|
1081
1087
|
"rec-lg": "lg",
|
|
1082
1088
|
"rec-xl": "xl",
|
|
1083
1089
|
"rec-2xl": "xl"
|
|
1084
|
-
},
|
|
1085
|
-
root:
|
|
1086
|
-
},
|
|
1087
|
-
if (
|
|
1088
|
-
const m =
|
|
1089
|
-
|
|
1090
|
+
}, n = typeof a == "string" && o[a] ? o[a] : a, i = {
|
|
1091
|
+
root: $e.root
|
|
1092
|
+
}, c = s.classNames;
|
|
1093
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1094
|
+
const m = c;
|
|
1095
|
+
i.root = m.root ? `${$e.root} ${m.root}` : $e.root;
|
|
1090
1096
|
}
|
|
1091
|
-
const d = s.className, p = d ? `${
|
|
1092
|
-
return /* @__PURE__ */
|
|
1093
|
-
|
|
1097
|
+
const d = s.className, p = d ? `${$e.root} ${d}` : $e.root;
|
|
1098
|
+
return /* @__PURE__ */ r(
|
|
1099
|
+
Wt,
|
|
1094
1100
|
{
|
|
1095
1101
|
ref: t,
|
|
1096
|
-
size:
|
|
1102
|
+
size: n,
|
|
1097
1103
|
className: p,
|
|
1098
|
-
classNames:
|
|
1104
|
+
classNames: i,
|
|
1099
1105
|
...s,
|
|
1100
1106
|
children: e
|
|
1101
1107
|
}
|
|
1102
1108
|
);
|
|
1103
1109
|
}
|
|
1104
1110
|
);
|
|
1105
|
-
|
|
1106
|
-
const
|
|
1107
|
-
root:
|
|
1108
|
-
input:
|
|
1109
|
-
section:
|
|
1110
|
-
dropdown:
|
|
1111
|
-
option:
|
|
1112
|
-
},
|
|
1111
|
+
na.displayName = "Container";
|
|
1112
|
+
const En = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), la = "Dropdown-module__root___uVyL0", ia = "Dropdown-module__input___dK4dN", ca = "Dropdown-module__section___j3MRB", da = "Dropdown-module__dropdown___gG-Sw", pa = "Dropdown-module__option___nAGU-", j = {
|
|
1113
|
+
root: la,
|
|
1114
|
+
input: ia,
|
|
1115
|
+
section: ca,
|
|
1116
|
+
dropdown: da,
|
|
1117
|
+
option: pa
|
|
1118
|
+
}, ma = h(
|
|
1113
1119
|
function(e, a) {
|
|
1114
1120
|
const {
|
|
1115
1121
|
overStyled: s = !1,
|
|
1116
1122
|
formLayout: t = "stacked",
|
|
1117
1123
|
containerWidth: o,
|
|
1118
1124
|
// Label & Wrapper Maps
|
|
1119
|
-
labelSize:
|
|
1120
|
-
labelAlignment:
|
|
1121
|
-
labelOptionalText:
|
|
1125
|
+
labelSize: n,
|
|
1126
|
+
labelAlignment: i,
|
|
1127
|
+
labelOptionalText: c,
|
|
1122
1128
|
labelWithEditIcon: d,
|
|
1123
1129
|
onLabelEditClick: p,
|
|
1124
1130
|
label: m,
|
|
1125
|
-
assistiveText:
|
|
1131
|
+
assistiveText: N,
|
|
1126
1132
|
assistiveWithIcon: _,
|
|
1127
1133
|
error: u,
|
|
1128
|
-
required:
|
|
1134
|
+
required: b,
|
|
1129
1135
|
withAsterisk: C,
|
|
1130
|
-
id:
|
|
1136
|
+
id: $,
|
|
1131
1137
|
className: g,
|
|
1132
|
-
style:
|
|
1133
|
-
disabled:
|
|
1138
|
+
style: y,
|
|
1139
|
+
disabled: S,
|
|
1134
1140
|
readOnly: v,
|
|
1135
|
-
readOnlyComponent:
|
|
1136
|
-
emptyValueComponent:
|
|
1137
|
-
value:
|
|
1138
|
-
defaultValue:
|
|
1139
|
-
data:
|
|
1140
|
-
...
|
|
1141
|
-
} = e, w =
|
|
1141
|
+
readOnlyComponent: B,
|
|
1142
|
+
emptyValueComponent: A,
|
|
1143
|
+
value: T,
|
|
1144
|
+
defaultValue: R,
|
|
1145
|
+
data: M,
|
|
1146
|
+
...W
|
|
1147
|
+
} = e, w = f(W, s), P = w;
|
|
1142
1148
|
delete P.size, delete P.variant, delete P.radius;
|
|
1143
|
-
const
|
|
1144
|
-
wrapper:
|
|
1149
|
+
const k = {
|
|
1150
|
+
wrapper: j.root,
|
|
1145
1151
|
// The nested Input internal relative wrapper bounding box
|
|
1146
|
-
input:
|
|
1147
|
-
section:
|
|
1148
|
-
dropdown:
|
|
1149
|
-
option:
|
|
1150
|
-
},
|
|
1151
|
-
if (
|
|
1152
|
-
const
|
|
1153
|
-
|
|
1152
|
+
input: j.input,
|
|
1153
|
+
section: j.section,
|
|
1154
|
+
dropdown: j.dropdown,
|
|
1155
|
+
option: j.option
|
|
1156
|
+
}, me = P.classNames;
|
|
1157
|
+
if (me && typeof me == "object" && !Array.isArray(me)) {
|
|
1158
|
+
const q = me;
|
|
1159
|
+
k.wrapper = q.wrapper ? `${j.root} ${q.wrapper}` : j.root, k.input = q.input ? `${j.input} ${q.input}` : j.input, k.section = q.section ? `${j.section} ${q.section}` : j.section, k.dropdown = q.dropdown ? `${j.dropdown} ${q.dropdown}` : j.dropdown, k.option = q.option ? `${j.option} ${q.option}` : j.option;
|
|
1154
1160
|
}
|
|
1155
|
-
const
|
|
1156
|
-
...
|
|
1161
|
+
const xe = {
|
|
1162
|
+
...y || {},
|
|
1157
1163
|
width: o || "100%"
|
|
1158
1164
|
};
|
|
1159
|
-
return /* @__PURE__ */
|
|
1160
|
-
|
|
1165
|
+
return /* @__PURE__ */ r(
|
|
1166
|
+
de,
|
|
1161
1167
|
{
|
|
1162
1168
|
className: g,
|
|
1163
|
-
style:
|
|
1169
|
+
style: xe,
|
|
1164
1170
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1165
1171
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
1166
1172
|
overStyled: s,
|
|
1167
1173
|
formLayout: t,
|
|
1168
|
-
labelSize:
|
|
1169
|
-
labelAlignment:
|
|
1170
|
-
labelOptionalText:
|
|
1174
|
+
labelSize: n,
|
|
1175
|
+
labelAlignment: i,
|
|
1176
|
+
labelOptionalText: c,
|
|
1171
1177
|
labelWithEditIcon: d,
|
|
1172
1178
|
onLabelEditClick: p,
|
|
1173
1179
|
label: m,
|
|
1174
|
-
assistiveText:
|
|
1180
|
+
assistiveText: N,
|
|
1175
1181
|
assistiveWithIcon: _,
|
|
1176
1182
|
error: u,
|
|
1177
|
-
required:
|
|
1183
|
+
required: b,
|
|
1178
1184
|
withAsterisk: C,
|
|
1179
|
-
id:
|
|
1185
|
+
id: $,
|
|
1180
1186
|
readOnly: v,
|
|
1181
|
-
readOnlyComponent:
|
|
1182
|
-
emptyValueComponent:
|
|
1187
|
+
readOnlyComponent: B,
|
|
1188
|
+
emptyValueComponent: A,
|
|
1183
1189
|
readOnlyType: "text",
|
|
1184
|
-
readOnlyValue:
|
|
1190
|
+
readOnlyValue: T !== void 0 ? String(T) : R ? String(R) : void 0,
|
|
1185
1191
|
readOnlyNativeProps: e,
|
|
1186
1192
|
activeComponent: (
|
|
1187
1193
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1188
|
-
/* @__PURE__ */
|
|
1189
|
-
|
|
1194
|
+
/* @__PURE__ */ r(
|
|
1195
|
+
Lt,
|
|
1190
1196
|
{
|
|
1191
1197
|
ref: a,
|
|
1192
|
-
classNames:
|
|
1193
|
-
disabled:
|
|
1194
|
-
value:
|
|
1195
|
-
defaultValue:
|
|
1196
|
-
data:
|
|
1198
|
+
classNames: k,
|
|
1199
|
+
disabled: S,
|
|
1200
|
+
value: T,
|
|
1201
|
+
defaultValue: R,
|
|
1202
|
+
data: M || [],
|
|
1197
1203
|
label: void 0,
|
|
1198
1204
|
description: void 0,
|
|
1199
1205
|
error: void 0,
|
|
1200
1206
|
required: void 0,
|
|
1201
1207
|
withAsterisk: void 0,
|
|
1202
1208
|
wrapperProps: {
|
|
1203
|
-
"data-disabled":
|
|
1209
|
+
"data-disabled": S ? "true" : void 0,
|
|
1204
1210
|
"data-error": u ? "true" : void 0
|
|
1205
1211
|
},
|
|
1206
1212
|
...w
|
|
@@ -1211,211 +1217,209 @@ const Hn = (r) => /* @__PURE__ */ n("div", { ...r, children: "DatePicker" }), Es
|
|
|
1211
1217
|
);
|
|
1212
1218
|
}
|
|
1213
1219
|
);
|
|
1214
|
-
|
|
1215
|
-
const
|
|
1216
|
-
root:
|
|
1217
|
-
},
|
|
1218
|
-
const
|
|
1219
|
-
root:
|
|
1220
|
-
},
|
|
1221
|
-
if (
|
|
1222
|
-
const
|
|
1223
|
-
|
|
1220
|
+
ma.displayName = "Dropdown";
|
|
1221
|
+
const jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileInput" }), Dn = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileUpload" }), _a = "Flex-module__root___yYser", ve = {
|
|
1222
|
+
root: _a
|
|
1223
|
+
}, wo = h(function({ children: e, gap: a = "rec-default", rowGap: s, columnGap: t, ...o }, n) {
|
|
1224
|
+
const i = {
|
|
1225
|
+
root: ve.root
|
|
1226
|
+
}, c = o.classNames;
|
|
1227
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1228
|
+
const m = c;
|
|
1229
|
+
i.root = m.root ? `${ve.root} ${m.root}` : ve.root;
|
|
1224
1230
|
}
|
|
1225
|
-
const
|
|
1226
|
-
return /* @__PURE__ */
|
|
1227
|
-
|
|
1231
|
+
const d = o.className, p = d ? `${ve.root} ${d}` : ve.root;
|
|
1232
|
+
return /* @__PURE__ */ r(
|
|
1233
|
+
It,
|
|
1228
1234
|
{
|
|
1229
|
-
ref:
|
|
1230
|
-
className:
|
|
1231
|
-
classNames:
|
|
1232
|
-
gap: a,
|
|
1233
|
-
...s,
|
|
1235
|
+
ref: n,
|
|
1236
|
+
className: p,
|
|
1237
|
+
classNames: i,
|
|
1238
|
+
...Ue({ gap: a, rowGap: s, columnGap: t, ...o }),
|
|
1234
1239
|
children: e
|
|
1235
1240
|
}
|
|
1236
1241
|
);
|
|
1237
1242
|
});
|
|
1238
|
-
|
|
1239
|
-
const
|
|
1240
|
-
root:
|
|
1241
|
-
},
|
|
1243
|
+
wo.displayName = "Flex";
|
|
1244
|
+
const Vn = Y(wo), ua = "Group-module__root___ftO64", Ce = {
|
|
1245
|
+
root: ua
|
|
1246
|
+
}, ba = h(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
1242
1247
|
const o = {
|
|
1243
|
-
root:
|
|
1244
|
-
},
|
|
1245
|
-
if (
|
|
1246
|
-
const d =
|
|
1247
|
-
o.root = d.root ? `${
|
|
1248
|
+
root: Ce.root
|
|
1249
|
+
}, n = s.classNames;
|
|
1250
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1251
|
+
const d = n;
|
|
1252
|
+
o.root = d.root ? `${Ce.root} ${d.root}` : Ce.root;
|
|
1248
1253
|
}
|
|
1249
|
-
const
|
|
1250
|
-
return /* @__PURE__ */
|
|
1251
|
-
|
|
1254
|
+
const i = s.className, c = i ? `${Ce.root} ${i}` : Ce.root;
|
|
1255
|
+
return /* @__PURE__ */ r(
|
|
1256
|
+
Ot,
|
|
1252
1257
|
{
|
|
1253
1258
|
ref: t,
|
|
1254
|
-
className:
|
|
1259
|
+
className: c,
|
|
1255
1260
|
classNames: o,
|
|
1256
|
-
gap: a,
|
|
1257
|
-
...s,
|
|
1261
|
+
...Ue({ gap: a, ...s }),
|
|
1258
1262
|
children: e
|
|
1259
1263
|
}
|
|
1260
1264
|
);
|
|
1261
1265
|
});
|
|
1262
|
-
|
|
1263
|
-
const
|
|
1264
|
-
dropdown:
|
|
1265
|
-
arrow:
|
|
1266
|
-
},
|
|
1266
|
+
ba.displayName = "Group";
|
|
1267
|
+
const ya = "HoverCard-module__dropdown___FBPFW", fa = "HoverCard-module__arrow___S9AkE", oo = {
|
|
1268
|
+
dropdown: ya,
|
|
1269
|
+
arrow: fa
|
|
1270
|
+
}, To = function({
|
|
1267
1271
|
overStyled: e = !1,
|
|
1268
1272
|
withBeak: a = !0,
|
|
1269
1273
|
...s
|
|
1270
1274
|
}) {
|
|
1271
|
-
const t =
|
|
1272
|
-
dropdown:
|
|
1273
|
-
arrow:
|
|
1274
|
-
},
|
|
1275
|
-
if (
|
|
1276
|
-
const p =
|
|
1275
|
+
const t = f(s, e), o = {
|
|
1276
|
+
dropdown: oo.dropdown,
|
|
1277
|
+
arrow: oo.arrow
|
|
1278
|
+
}, n = t.classNames;
|
|
1279
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1280
|
+
const p = n;
|
|
1277
1281
|
Object.keys(p).forEach((m) => {
|
|
1278
1282
|
o[m] ? o[m] = `${o[m]} ${p[m]}` : o[m] = p[m];
|
|
1279
1283
|
});
|
|
1280
1284
|
}
|
|
1281
|
-
const
|
|
1282
|
-
return /* @__PURE__ */
|
|
1283
|
-
|
|
1285
|
+
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1286
|
+
return /* @__PURE__ */ r(
|
|
1287
|
+
Ge,
|
|
1284
1288
|
{
|
|
1285
1289
|
position: "top",
|
|
1286
|
-
arrowSize:
|
|
1287
|
-
withArrow: a ??
|
|
1290
|
+
arrowSize: i,
|
|
1291
|
+
withArrow: a ?? c,
|
|
1288
1292
|
classNames: o,
|
|
1289
1293
|
...t
|
|
1290
1294
|
}
|
|
1291
1295
|
);
|
|
1292
1296
|
};
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
return /* @__PURE__ */
|
|
1297
|
+
To.displayName = "HoverCard";
|
|
1298
|
+
const xo = function(e) {
|
|
1299
|
+
return /* @__PURE__ */ r(Ge.Target, { ...e });
|
|
1296
1300
|
};
|
|
1297
|
-
|
|
1298
|
-
const
|
|
1301
|
+
xo.displayName = "HoverCardTarget";
|
|
1302
|
+
const So = function({
|
|
1299
1303
|
overStyled: e = !1,
|
|
1300
1304
|
...a
|
|
1301
1305
|
}) {
|
|
1302
|
-
const s =
|
|
1303
|
-
return /* @__PURE__ */
|
|
1304
|
-
|
|
1306
|
+
const s = f(a, e), t = s.className;
|
|
1307
|
+
return /* @__PURE__ */ r(
|
|
1308
|
+
Ge.Dropdown,
|
|
1305
1309
|
{
|
|
1306
1310
|
className: t,
|
|
1307
1311
|
...s
|
|
1308
1312
|
}
|
|
1309
1313
|
);
|
|
1310
1314
|
};
|
|
1311
|
-
|
|
1312
|
-
const
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
const
|
|
1316
|
-
root:
|
|
1317
|
-
iconWrapper:
|
|
1318
|
-
labelText:
|
|
1319
|
-
},
|
|
1320
|
-
const
|
|
1321
|
-
root:
|
|
1322
|
-
}, d =
|
|
1315
|
+
So.displayName = "HoverCardDropdown";
|
|
1316
|
+
const Ao = To;
|
|
1317
|
+
Ao.Target = xo;
|
|
1318
|
+
Ao.Dropdown = So;
|
|
1319
|
+
const Na = "Link-module__root___I0VGE", ha = "Link-module__iconWrapper___W-LlF", $a = "Link-module__labelText___wSvUy", _e = {
|
|
1320
|
+
root: Na,
|
|
1321
|
+
iconWrapper: ha,
|
|
1322
|
+
labelText: $a
|
|
1323
|
+
}, Wo = h(function({ icon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
1324
|
+
const n = f(t, s), i = n, c = {
|
|
1325
|
+
root: _e.root
|
|
1326
|
+
}, d = i.classNames;
|
|
1323
1327
|
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
1324
|
-
const
|
|
1325
|
-
|
|
1328
|
+
const N = d;
|
|
1329
|
+
c.root = N.root ? `${_e.root} ${N.root}` : _e.root;
|
|
1326
1330
|
}
|
|
1327
|
-
const p =
|
|
1328
|
-
return /* @__PURE__ */
|
|
1329
|
-
|
|
1331
|
+
const p = i.className, m = p ? `${_e.root} ${p}` : _e.root;
|
|
1332
|
+
return /* @__PURE__ */ z(
|
|
1333
|
+
zt,
|
|
1330
1334
|
{
|
|
1331
1335
|
ref: o,
|
|
1332
1336
|
className: m,
|
|
1333
|
-
classNames:
|
|
1337
|
+
classNames: c,
|
|
1334
1338
|
underline: "never",
|
|
1335
1339
|
...e ? { "data-has-icon": "" } : {},
|
|
1336
|
-
...
|
|
1340
|
+
...n,
|
|
1337
1341
|
children: [
|
|
1338
|
-
e && /* @__PURE__ */
|
|
1339
|
-
/* @__PURE__ */
|
|
1342
|
+
e && /* @__PURE__ */ r("span", { className: _e.iconWrapper, "aria-hidden": !0, children: e }),
|
|
1343
|
+
/* @__PURE__ */ r("span", { className: _e.labelText, children: a })
|
|
1340
1344
|
]
|
|
1341
1345
|
}
|
|
1342
1346
|
);
|
|
1343
1347
|
});
|
|
1344
|
-
|
|
1345
|
-
const
|
|
1346
|
-
root:
|
|
1347
|
-
},
|
|
1348
|
-
const
|
|
1348
|
+
Wo.displayName = "Link";
|
|
1349
|
+
const Gn = Y(Wo), va = "Loader-module__root___6iYOP", ge = {
|
|
1350
|
+
root: va
|
|
1351
|
+
}, Ca = h(function({ variant: e = "oval", size: a = "default", overStyled: s = !1, ...t }, o) {
|
|
1352
|
+
const i = {
|
|
1349
1353
|
sm: "small",
|
|
1350
1354
|
md: "default",
|
|
1351
1355
|
lg: "large",
|
|
1352
1356
|
small: "small",
|
|
1353
1357
|
default: "default",
|
|
1354
1358
|
large: "large"
|
|
1355
|
-
}[a] || "default",
|
|
1356
|
-
root:
|
|
1357
|
-
}, p =
|
|
1359
|
+
}[a] || "default", c = f(t, s), d = {
|
|
1360
|
+
root: ge.root
|
|
1361
|
+
}, p = c.classNames;
|
|
1358
1362
|
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
1359
1363
|
const _ = p;
|
|
1360
|
-
d.root = _.root ? `${
|
|
1364
|
+
d.root = _.root ? `${ge.root} ${_.root}` : ge.root;
|
|
1361
1365
|
}
|
|
1362
|
-
const m =
|
|
1363
|
-
return /* @__PURE__ */
|
|
1364
|
-
|
|
1366
|
+
const m = c.className, N = m ? `${ge.root} ${m}` : ge.root;
|
|
1367
|
+
return /* @__PURE__ */ r(
|
|
1368
|
+
Rt,
|
|
1365
1369
|
{
|
|
1366
1370
|
ref: o,
|
|
1367
1371
|
type: e,
|
|
1368
1372
|
"data-variant": e,
|
|
1369
|
-
"data-size":
|
|
1370
|
-
...
|
|
1371
|
-
className:
|
|
1373
|
+
"data-size": i,
|
|
1374
|
+
...c,
|
|
1375
|
+
className: N,
|
|
1372
1376
|
classNames: d
|
|
1373
1377
|
}
|
|
1374
1378
|
);
|
|
1375
1379
|
});
|
|
1376
|
-
|
|
1377
|
-
const
|
|
1378
|
-
dropdown:
|
|
1379
|
-
item:
|
|
1380
|
-
itemLabel:
|
|
1381
|
-
itemSection:
|
|
1382
|
-
divider:
|
|
1383
|
-
label:
|
|
1384
|
-
chevron:
|
|
1385
|
-
},
|
|
1386
|
-
const s =
|
|
1387
|
-
dropdown:
|
|
1388
|
-
item:
|
|
1389
|
-
itemLabel:
|
|
1390
|
-
itemSection:
|
|
1391
|
-
divider:
|
|
1392
|
-
label:
|
|
1393
|
-
chevron:
|
|
1380
|
+
Ca.displayName = "Loader";
|
|
1381
|
+
const ga = "Menu-module__dropdown___j4xuA", Pa = "Menu-module__item___NMXha", wa = "Menu-module__itemLabel___zvcqC", Ta = "Menu-module__itemSection___pRIcn", xa = "Menu-module__divider___wPiNq", Sa = "Menu-module__label___4FBGa", Aa = "Menu-module__chevron___hEEiy", ue = {
|
|
1382
|
+
dropdown: ga,
|
|
1383
|
+
item: Pa,
|
|
1384
|
+
itemLabel: wa,
|
|
1385
|
+
itemSection: Ta,
|
|
1386
|
+
divider: xa,
|
|
1387
|
+
label: Sa,
|
|
1388
|
+
chevron: Aa
|
|
1389
|
+
}, Lo = function({ overStyled: e = !1, ...a }) {
|
|
1390
|
+
const s = f(a, e), t = {
|
|
1391
|
+
dropdown: ue.dropdown,
|
|
1392
|
+
item: ue.item,
|
|
1393
|
+
itemLabel: ue.itemLabel,
|
|
1394
|
+
itemSection: ue.itemSection,
|
|
1395
|
+
divider: ue.divider,
|
|
1396
|
+
label: ue.label,
|
|
1397
|
+
chevron: ue.chevron
|
|
1394
1398
|
}, o = s.classNames;
|
|
1395
1399
|
if (o && typeof o == "object" && !Array.isArray(o)) {
|
|
1396
|
-
const
|
|
1397
|
-
Object.keys(
|
|
1398
|
-
t[
|
|
1400
|
+
const n = o;
|
|
1401
|
+
Object.keys(n).forEach((i) => {
|
|
1402
|
+
t[i] ? t[i] = `${t[i]} ${n[i]}` : t[i] = n[i];
|
|
1399
1403
|
});
|
|
1400
1404
|
}
|
|
1401
|
-
return /* @__PURE__ */
|
|
1402
|
-
|
|
1405
|
+
return /* @__PURE__ */ r(
|
|
1406
|
+
K,
|
|
1403
1407
|
{
|
|
1404
1408
|
classNames: t,
|
|
1405
1409
|
...s
|
|
1406
1410
|
}
|
|
1407
1411
|
);
|
|
1408
1412
|
};
|
|
1409
|
-
|
|
1410
|
-
const
|
|
1411
|
-
return /* @__PURE__ */
|
|
1413
|
+
Lo.displayName = "Menu";
|
|
1414
|
+
const Io = function(e) {
|
|
1415
|
+
return /* @__PURE__ */ r(K.Target, { ...e });
|
|
1412
1416
|
};
|
|
1413
|
-
|
|
1414
|
-
const
|
|
1417
|
+
Io.displayName = "MenuTarget";
|
|
1418
|
+
const Oo = h(
|
|
1415
1419
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1416
|
-
const t =
|
|
1417
|
-
return /* @__PURE__ */
|
|
1418
|
-
|
|
1420
|
+
const t = f(a, e), o = t.className;
|
|
1421
|
+
return /* @__PURE__ */ r(
|
|
1422
|
+
K.Dropdown,
|
|
1419
1423
|
{
|
|
1420
1424
|
ref: s,
|
|
1421
1425
|
className: o,
|
|
@@ -1424,28 +1428,28 @@ const Co = y(
|
|
|
1424
1428
|
);
|
|
1425
1429
|
}
|
|
1426
1430
|
);
|
|
1427
|
-
|
|
1428
|
-
const
|
|
1431
|
+
Oo.displayName = "MenuDropdown";
|
|
1432
|
+
const zo = h(
|
|
1429
1433
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1430
|
-
const t =
|
|
1434
|
+
const t = f(a, e), o = t;
|
|
1431
1435
|
e || delete o.color;
|
|
1432
|
-
const
|
|
1433
|
-
return /* @__PURE__ */
|
|
1434
|
-
|
|
1436
|
+
const n = o.className;
|
|
1437
|
+
return /* @__PURE__ */ r(
|
|
1438
|
+
K.Item,
|
|
1435
1439
|
{
|
|
1436
1440
|
ref: s,
|
|
1437
|
-
className:
|
|
1441
|
+
className: n,
|
|
1438
1442
|
...t
|
|
1439
1443
|
}
|
|
1440
1444
|
);
|
|
1441
1445
|
}
|
|
1442
1446
|
);
|
|
1443
|
-
|
|
1444
|
-
const
|
|
1447
|
+
zo.displayName = "MenuItem";
|
|
1448
|
+
const Wa = Y(zo), Ro = h(
|
|
1445
1449
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1446
|
-
const t =
|
|
1447
|
-
return /* @__PURE__ */
|
|
1448
|
-
|
|
1450
|
+
const t = f(a, e), o = t.className;
|
|
1451
|
+
return /* @__PURE__ */ r(
|
|
1452
|
+
K.Divider,
|
|
1449
1453
|
{
|
|
1450
1454
|
ref: s,
|
|
1451
1455
|
className: o,
|
|
@@ -1454,11 +1458,11 @@ const ia = X(go), Po = y(
|
|
|
1454
1458
|
);
|
|
1455
1459
|
}
|
|
1456
1460
|
);
|
|
1457
|
-
|
|
1458
|
-
const
|
|
1459
|
-
const t =
|
|
1460
|
-
return /* @__PURE__ */
|
|
1461
|
-
|
|
1461
|
+
Ro.displayName = "MenuDivider";
|
|
1462
|
+
const ko = h(function({ overStyled: e = !1, ...a }, s) {
|
|
1463
|
+
const t = f(a, e), o = t.className;
|
|
1464
|
+
return /* @__PURE__ */ r(
|
|
1465
|
+
K.Label,
|
|
1462
1466
|
{
|
|
1463
1467
|
ref: s,
|
|
1464
1468
|
className: o,
|
|
@@ -1466,38 +1470,38 @@ const wo = y(function({ overStyled: e = !1, ...a }, s) {
|
|
|
1466
1470
|
}
|
|
1467
1471
|
);
|
|
1468
1472
|
});
|
|
1469
|
-
|
|
1470
|
-
const
|
|
1471
|
-
return /* @__PURE__ */
|
|
1473
|
+
ko.displayName = "MenuLabel";
|
|
1474
|
+
const Mo = function(e) {
|
|
1475
|
+
return /* @__PURE__ */ r(K.Sub, { ...e });
|
|
1472
1476
|
};
|
|
1473
|
-
|
|
1474
|
-
const
|
|
1475
|
-
return /* @__PURE__ */
|
|
1477
|
+
Mo.displayName = "MenuSub";
|
|
1478
|
+
const Bo = function(e) {
|
|
1479
|
+
return /* @__PURE__ */ r(K.Sub.Target, { ...e });
|
|
1476
1480
|
};
|
|
1477
|
-
|
|
1478
|
-
const
|
|
1481
|
+
Bo.displayName = "MenuSubTarget";
|
|
1482
|
+
const Fo = h(
|
|
1479
1483
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1480
|
-
const t =
|
|
1484
|
+
const t = f(a, e), o = t;
|
|
1481
1485
|
e || delete o.color;
|
|
1482
|
-
const
|
|
1483
|
-
return /* @__PURE__ */
|
|
1484
|
-
|
|
1486
|
+
const n = o.className;
|
|
1487
|
+
return /* @__PURE__ */ r(
|
|
1488
|
+
K.Sub.Item,
|
|
1485
1489
|
{
|
|
1486
1490
|
ref: s,
|
|
1487
|
-
className:
|
|
1491
|
+
className: n,
|
|
1488
1492
|
...t
|
|
1489
1493
|
}
|
|
1490
1494
|
);
|
|
1491
1495
|
}
|
|
1492
1496
|
);
|
|
1493
|
-
|
|
1494
|
-
const
|
|
1495
|
-
|
|
1496
|
-
),
|
|
1497
|
+
Fo.displayName = "MenuSubItem";
|
|
1498
|
+
const La = Y(
|
|
1499
|
+
Fo
|
|
1500
|
+
), Eo = h(
|
|
1497
1501
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1498
|
-
const t =
|
|
1499
|
-
return /* @__PURE__ */
|
|
1500
|
-
|
|
1502
|
+
const t = f(a, e), o = t.className;
|
|
1503
|
+
return /* @__PURE__ */ r(
|
|
1504
|
+
K.Sub.Dropdown,
|
|
1501
1505
|
{
|
|
1502
1506
|
ref: s,
|
|
1503
1507
|
className: o,
|
|
@@ -1506,112 +1510,228 @@ const da = X(
|
|
|
1506
1510
|
);
|
|
1507
1511
|
}
|
|
1508
1512
|
);
|
|
1509
|
-
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
const
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
const
|
|
1522
|
-
root:
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1513
|
+
Eo.displayName = "MenuSubDropdown";
|
|
1514
|
+
const Fe = Mo;
|
|
1515
|
+
Fe.Target = Bo;
|
|
1516
|
+
Fe.Item = La;
|
|
1517
|
+
Fe.Dropdown = Eo;
|
|
1518
|
+
const he = Lo;
|
|
1519
|
+
he.Target = Io;
|
|
1520
|
+
he.Dropdown = Oo;
|
|
1521
|
+
he.Item = Wa;
|
|
1522
|
+
he.Divider = Ro;
|
|
1523
|
+
he.Label = ko;
|
|
1524
|
+
he.Sub = Fe;
|
|
1525
|
+
const Ia = "Modal-module__root___ytPLl", Oa = "Modal-module__inner___SSUJE", za = "Modal-module__content___dWO-B", Ra = "Modal-module__header___ILG9i", ka = "Modal-module__title___A5OeE recursica_brand_typography_h2", Ma = "Modal-module__bodyWrapper___5CCL-", Ba = "Modal-module__scrollArea___KD-hm recursica_brand_typography_body", Fa = "Modal-module__footer___rro2w", Ea = "Modal-module__close___-ER1C", ee = {
|
|
1526
|
+
root: Ia,
|
|
1527
|
+
inner: Oa,
|
|
1528
|
+
content: za,
|
|
1529
|
+
header: Ra,
|
|
1530
|
+
title: ka,
|
|
1531
|
+
bodyWrapper: Ma,
|
|
1532
|
+
scrollArea: Ba,
|
|
1533
|
+
footer: Fa,
|
|
1534
|
+
close: Ea
|
|
1535
|
+
}, jo = L.forwardRef(function({
|
|
1536
|
+
overStyled: e = !1,
|
|
1537
|
+
children: a,
|
|
1538
|
+
title: s,
|
|
1539
|
+
withCloseButton: t = !0,
|
|
1540
|
+
overlayProps: o,
|
|
1541
|
+
withOverlay: n = !0,
|
|
1542
|
+
closeButtonProps: i,
|
|
1543
|
+
...c
|
|
1544
|
+
}, d) {
|
|
1545
|
+
const p = f(c, e), m = {
|
|
1546
|
+
root: ee.root,
|
|
1547
|
+
inner: ee.inner,
|
|
1548
|
+
content: ee.content,
|
|
1549
|
+
header: ee.header,
|
|
1550
|
+
title: ee.title,
|
|
1551
|
+
close: ee.close
|
|
1552
|
+
}, N = p.classNames;
|
|
1553
|
+
if (N && typeof N == "object" && !Array.isArray(N)) {
|
|
1554
|
+
const _ = N;
|
|
1555
|
+
Object.keys(_).forEach((u) => {
|
|
1556
|
+
m[u] ? m[u] = `${m[u]} ${_[u]}` : m[u] = _[u];
|
|
1557
|
+
});
|
|
1558
|
+
}
|
|
1559
|
+
return /* @__PURE__ */ z(
|
|
1560
|
+
G.Root,
|
|
1561
|
+
{
|
|
1562
|
+
ref: d,
|
|
1563
|
+
classNames: m,
|
|
1564
|
+
...p,
|
|
1565
|
+
children: [
|
|
1566
|
+
n && /* @__PURE__ */ r(G.Overlay, { ...o }),
|
|
1567
|
+
/* @__PURE__ */ z(G.Content, { children: [
|
|
1568
|
+
(s || t) && /* @__PURE__ */ z(G.Header, { children: [
|
|
1569
|
+
s && /* @__PURE__ */ r(G.Title, { children: s }),
|
|
1570
|
+
t && /* @__PURE__ */ r(G.CloseButton, { ...i })
|
|
1571
|
+
] }),
|
|
1572
|
+
/* @__PURE__ */ r(Je, { children: a })
|
|
1573
|
+
] })
|
|
1574
|
+
]
|
|
1575
|
+
}
|
|
1576
|
+
);
|
|
1577
|
+
});
|
|
1578
|
+
jo.displayName = "Modal";
|
|
1579
|
+
const Qe = L.forwardRef(function({ className: e, ...a }, s) {
|
|
1580
|
+
return /* @__PURE__ */ r(
|
|
1581
|
+
"div",
|
|
1582
|
+
{
|
|
1583
|
+
ref: s,
|
|
1584
|
+
className: `${ee.footer} ${e || ""}`,
|
|
1585
|
+
...a
|
|
1586
|
+
}
|
|
1587
|
+
);
|
|
1588
|
+
});
|
|
1589
|
+
Qe.displayName = "Modal.Footer";
|
|
1590
|
+
const Je = L.forwardRef(function({ className: e, onScroll: a, children: s, ...t }, o) {
|
|
1591
|
+
const n = L.useRef(null), [i, c] = L.useState(!1), [d, p] = L.useState(!1), m = L.useCallback(() => {
|
|
1592
|
+
if (n.current) {
|
|
1593
|
+
const { scrollTop: b, scrollHeight: C, clientHeight: $ } = n.current;
|
|
1594
|
+
c(b > 0), p(Math.ceil(b + $) < C);
|
|
1595
|
+
}
|
|
1596
|
+
}, []);
|
|
1597
|
+
L.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), [m, s]);
|
|
1598
|
+
const N = (b) => {
|
|
1599
|
+
m(), a == null || a(b);
|
|
1600
|
+
};
|
|
1601
|
+
let _ = null;
|
|
1602
|
+
const u = [];
|
|
1603
|
+
return L.Children.forEach(s, (b) => {
|
|
1604
|
+
var C;
|
|
1605
|
+
L.isValidElement(b) && (b.type === Qe || ((C = b.type) == null ? void 0 : C.displayName) === "Modal.Footer") ? _ = b : u.push(b);
|
|
1606
|
+
}), /* @__PURE__ */ z(
|
|
1607
|
+
G.Body,
|
|
1608
|
+
{
|
|
1609
|
+
...t,
|
|
1610
|
+
ref: (b) => {
|
|
1611
|
+
typeof o == "function" ? o(b) : o && (o.current = b);
|
|
1612
|
+
},
|
|
1613
|
+
className: `${ee.bodyWrapper} ${e || ""}`,
|
|
1614
|
+
children: [
|
|
1615
|
+
/* @__PURE__ */ r(
|
|
1616
|
+
"div",
|
|
1617
|
+
{
|
|
1618
|
+
ref: n,
|
|
1619
|
+
onScroll: N,
|
|
1620
|
+
"data-scrolled-top": i || void 0,
|
|
1621
|
+
"data-scrolled-bottom": d || void 0,
|
|
1622
|
+
className: ee.scrollArea,
|
|
1623
|
+
children: u
|
|
1624
|
+
}
|
|
1625
|
+
),
|
|
1626
|
+
_
|
|
1627
|
+
]
|
|
1628
|
+
}
|
|
1629
|
+
);
|
|
1630
|
+
});
|
|
1631
|
+
Je.displayName = "Modal.Body";
|
|
1632
|
+
const pe = jo;
|
|
1633
|
+
pe.Root = G.Root;
|
|
1634
|
+
pe.Overlay = G.Overlay;
|
|
1635
|
+
pe.Content = G.Content;
|
|
1636
|
+
pe.Header = G.Header;
|
|
1637
|
+
pe.Title = G.Title;
|
|
1638
|
+
pe.CloseButton = G.CloseButton;
|
|
1639
|
+
pe.Body = Je;
|
|
1640
|
+
pe.Footer = Qe;
|
|
1641
|
+
const ja = "NumberInput-module__root___C6rAn", Da = "NumberInput-module__input___Ss8p7", Va = "NumberInput-module__section___MijP0", Ga = "NumberInput-module__controls___8UfQ2", qa = "NumberInput-module__control___Qre9-", Pe = {
|
|
1642
|
+
root: ja,
|
|
1643
|
+
input: Da,
|
|
1644
|
+
section: Va,
|
|
1645
|
+
controls: Ga,
|
|
1646
|
+
control: qa
|
|
1647
|
+
}, Ha = h(
|
|
1528
1648
|
function(e, a) {
|
|
1529
1649
|
const {
|
|
1530
1650
|
overStyled: s = !1,
|
|
1531
1651
|
formLayout: t = "stacked",
|
|
1532
1652
|
// Label & Wrapper Maps
|
|
1533
1653
|
labelSize: o,
|
|
1534
|
-
labelAlignment:
|
|
1535
|
-
labelOptionalText:
|
|
1536
|
-
labelWithEditIcon:
|
|
1654
|
+
labelAlignment: n,
|
|
1655
|
+
labelOptionalText: i,
|
|
1656
|
+
labelWithEditIcon: c,
|
|
1537
1657
|
onLabelEditClick: d,
|
|
1538
1658
|
label: p,
|
|
1539
1659
|
assistiveText: m,
|
|
1540
|
-
assistiveWithIcon:
|
|
1660
|
+
assistiveWithIcon: N,
|
|
1541
1661
|
error: _,
|
|
1542
1662
|
required: u,
|
|
1543
|
-
withAsterisk:
|
|
1663
|
+
withAsterisk: b,
|
|
1544
1664
|
id: C,
|
|
1545
|
-
className:
|
|
1665
|
+
className: $,
|
|
1546
1666
|
style: g,
|
|
1547
|
-
disabled:
|
|
1548
|
-
readOnly:
|
|
1667
|
+
disabled: y,
|
|
1668
|
+
readOnly: S,
|
|
1549
1669
|
readOnlyComponent: v,
|
|
1550
|
-
emptyValueComponent:
|
|
1551
|
-
value:
|
|
1552
|
-
defaultValue:
|
|
1553
|
-
hideControls:
|
|
1554
|
-
...
|
|
1555
|
-
} = e,
|
|
1670
|
+
emptyValueComponent: B,
|
|
1671
|
+
value: A,
|
|
1672
|
+
defaultValue: T,
|
|
1673
|
+
hideControls: R = !1,
|
|
1674
|
+
...M
|
|
1675
|
+
} = e, W = f(M, s), w = W;
|
|
1556
1676
|
delete w.size, delete w.variant, delete w.radius;
|
|
1557
1677
|
const P = {
|
|
1558
|
-
wrapper:
|
|
1678
|
+
wrapper: Pe.root,
|
|
1559
1679
|
// The nested Input internal relative wrapper bounding box
|
|
1560
|
-
input:
|
|
1561
|
-
section:
|
|
1562
|
-
controls:
|
|
1563
|
-
control:
|
|
1680
|
+
input: Pe.input,
|
|
1681
|
+
section: Pe.section,
|
|
1682
|
+
controls: Pe.controls,
|
|
1683
|
+
control: Pe.control
|
|
1564
1684
|
};
|
|
1565
|
-
return /* @__PURE__ */
|
|
1566
|
-
|
|
1685
|
+
return /* @__PURE__ */ r(
|
|
1686
|
+
de,
|
|
1567
1687
|
{
|
|
1568
|
-
className:
|
|
1688
|
+
className: $,
|
|
1569
1689
|
style: g,
|
|
1570
1690
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
1571
1691
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
1572
1692
|
overStyled: s,
|
|
1573
1693
|
formLayout: t,
|
|
1574
1694
|
labelSize: o,
|
|
1575
|
-
labelAlignment:
|
|
1576
|
-
labelOptionalText:
|
|
1577
|
-
labelWithEditIcon:
|
|
1695
|
+
labelAlignment: n,
|
|
1696
|
+
labelOptionalText: i,
|
|
1697
|
+
labelWithEditIcon: c,
|
|
1578
1698
|
onLabelEditClick: d,
|
|
1579
1699
|
label: p,
|
|
1580
1700
|
assistiveText: m,
|
|
1581
|
-
assistiveWithIcon:
|
|
1701
|
+
assistiveWithIcon: N,
|
|
1582
1702
|
error: _,
|
|
1583
1703
|
required: u,
|
|
1584
|
-
withAsterisk:
|
|
1704
|
+
withAsterisk: b,
|
|
1585
1705
|
id: C,
|
|
1586
|
-
readOnly:
|
|
1706
|
+
readOnly: S,
|
|
1587
1707
|
readOnlyComponent: v,
|
|
1588
|
-
emptyValueComponent:
|
|
1708
|
+
emptyValueComponent: B,
|
|
1589
1709
|
readOnlyType: "text",
|
|
1590
|
-
readOnlyValue:
|
|
1710
|
+
readOnlyValue: A !== void 0 ? A == null ? void 0 : A.toString() : T == null ? void 0 : T.toString(),
|
|
1591
1711
|
readOnlyNativeProps: e,
|
|
1592
1712
|
activeComponent: (
|
|
1593
1713
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1594
|
-
/* @__PURE__ */
|
|
1595
|
-
|
|
1714
|
+
/* @__PURE__ */ r(
|
|
1715
|
+
kt,
|
|
1596
1716
|
{
|
|
1597
1717
|
ref: a,
|
|
1598
1718
|
classNames: P,
|
|
1599
|
-
disabled:
|
|
1600
|
-
value:
|
|
1601
|
-
defaultValue:
|
|
1602
|
-
hideControls:
|
|
1719
|
+
disabled: y,
|
|
1720
|
+
value: A,
|
|
1721
|
+
defaultValue: T,
|
|
1722
|
+
hideControls: R,
|
|
1603
1723
|
label: void 0,
|
|
1604
1724
|
description: void 0,
|
|
1605
1725
|
error: void 0,
|
|
1606
1726
|
required: void 0,
|
|
1607
1727
|
withAsterisk: void 0,
|
|
1608
1728
|
wrapperProps: {
|
|
1609
|
-
"data-disabled":
|
|
1729
|
+
"data-disabled": y ? "true" : void 0,
|
|
1610
1730
|
"data-error": _ ? "true" : void 0,
|
|
1611
1731
|
"data-with-left-section": w.leftSection ? "true" : void 0,
|
|
1612
|
-
"data-with-right-section": w.rightSection || !
|
|
1732
|
+
"data-with-right-section": w.rightSection || !R ? "true" : void 0
|
|
1613
1733
|
},
|
|
1614
|
-
...
|
|
1734
|
+
...W
|
|
1615
1735
|
}
|
|
1616
1736
|
)
|
|
1617
1737
|
)
|
|
@@ -1619,64 +1739,64 @@ const Qn = (r) => /* @__PURE__ */ n("div", { ...r, children: "Modal" }), pa = "N
|
|
|
1619
1739
|
);
|
|
1620
1740
|
}
|
|
1621
1741
|
);
|
|
1622
|
-
|
|
1623
|
-
const
|
|
1624
|
-
root:
|
|
1625
|
-
control:
|
|
1626
|
-
dots:
|
|
1627
|
-
iconWithLabel:
|
|
1628
|
-
baseIcon:
|
|
1629
|
-
},
|
|
1630
|
-
next:
|
|
1631
|
-
prev:
|
|
1632
|
-
first:
|
|
1633
|
-
last:
|
|
1634
|
-
},
|
|
1635
|
-
type:
|
|
1742
|
+
Ha.displayName = "NumberInput";
|
|
1743
|
+
const Ua = "Pagination-module__root___ITRjt", Za = "Pagination-module__control___40yNT", Ya = "Pagination-module__dots___Yl9da", Ka = "Pagination-module__iconWithLabel___pLM4O", Qa = "Pagination-module__baseIcon___Qw3bJ", F = {
|
|
1744
|
+
root: Ua,
|
|
1745
|
+
control: Za,
|
|
1746
|
+
dots: Ya,
|
|
1747
|
+
iconWithLabel: Ka,
|
|
1748
|
+
baseIcon: Qa
|
|
1749
|
+
}, Ja = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Xa = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", er = "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", or = "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", tr = {
|
|
1750
|
+
next: Ja,
|
|
1751
|
+
prev: Xa,
|
|
1752
|
+
first: er,
|
|
1753
|
+
last: or
|
|
1754
|
+
}, Te = ({
|
|
1755
|
+
type: l,
|
|
1636
1756
|
className: e,
|
|
1637
1757
|
...a
|
|
1638
|
-
}) => /* @__PURE__ */
|
|
1758
|
+
}) => /* @__PURE__ */ r(
|
|
1639
1759
|
"svg",
|
|
1640
1760
|
{
|
|
1641
1761
|
viewBox: "0 0 16 16",
|
|
1642
1762
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1643
1763
|
className: `${F.baseIcon} ${e || ""}`.trim(),
|
|
1644
1764
|
...a,
|
|
1645
|
-
children: /* @__PURE__ */
|
|
1765
|
+
children: /* @__PURE__ */ r("path", { d: tr[l], fill: "currentColor" })
|
|
1646
1766
|
}
|
|
1647
|
-
),
|
|
1648
|
-
/* @__PURE__ */
|
|
1649
|
-
/* @__PURE__ */
|
|
1650
|
-
] }),
|
|
1651
|
-
/* @__PURE__ */
|
|
1652
|
-
/* @__PURE__ */
|
|
1653
|
-
] }),
|
|
1654
|
-
/* @__PURE__ */
|
|
1655
|
-
/* @__PURE__ */
|
|
1656
|
-
] }),
|
|
1657
|
-
/* @__PURE__ */
|
|
1658
|
-
/* @__PURE__ */
|
|
1767
|
+
), Do = (l) => /* @__PURE__ */ z("div", { className: F.iconWithLabel, children: [
|
|
1768
|
+
/* @__PURE__ */ r("span", { children: "Next" }),
|
|
1769
|
+
/* @__PURE__ */ r(Te, { type: "next", ...l })
|
|
1770
|
+
] }), Vo = (l) => /* @__PURE__ */ z("div", { className: F.iconWithLabel, children: [
|
|
1771
|
+
/* @__PURE__ */ r(Te, { type: "prev", ...l }),
|
|
1772
|
+
/* @__PURE__ */ r("span", { children: "Prev" })
|
|
1773
|
+
] }), Go = (l) => /* @__PURE__ */ z("div", { className: F.iconWithLabel, children: [
|
|
1774
|
+
/* @__PURE__ */ r(Te, { type: "first", ...l }),
|
|
1775
|
+
/* @__PURE__ */ r("span", { children: "First" })
|
|
1776
|
+
] }), qo = (l) => /* @__PURE__ */ z("div", { className: F.iconWithLabel, children: [
|
|
1777
|
+
/* @__PURE__ */ r("span", { children: "Last" }),
|
|
1778
|
+
/* @__PURE__ */ r(Te, { type: "last", ...l })
|
|
1659
1779
|
] });
|
|
1660
|
-
function
|
|
1780
|
+
function Ho(l) {
|
|
1661
1781
|
const e = {
|
|
1662
1782
|
root: F.root,
|
|
1663
1783
|
control: F.control,
|
|
1664
1784
|
dots: F.dots
|
|
1665
|
-
}, a =
|
|
1785
|
+
}, a = l.classNames;
|
|
1666
1786
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
1667
1787
|
const o = a;
|
|
1668
1788
|
e.root = o.root ? `${F.root} ${o.root}` : F.root, e.control = o.control ? `${F.control} ${o.control}` : F.control, e.dots = o.dots ? `${F.dots} ${o.dots}` : F.dots;
|
|
1669
1789
|
}
|
|
1670
|
-
const s =
|
|
1790
|
+
const s = l.className;
|
|
1671
1791
|
return { className: s ? `${F.root} ${s}` : F.root, classNames: e };
|
|
1672
1792
|
}
|
|
1673
|
-
const
|
|
1793
|
+
const Uo = h(
|
|
1674
1794
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1675
|
-
const t =
|
|
1795
|
+
const t = f(a, e), o = Ho(
|
|
1676
1796
|
t
|
|
1677
1797
|
);
|
|
1678
|
-
return /* @__PURE__ */
|
|
1679
|
-
|
|
1798
|
+
return /* @__PURE__ */ r(
|
|
1799
|
+
te.Root,
|
|
1680
1800
|
{
|
|
1681
1801
|
ref: s,
|
|
1682
1802
|
className: o.className,
|
|
@@ -1686,11 +1806,11 @@ const zo = y(
|
|
|
1686
1806
|
);
|
|
1687
1807
|
}
|
|
1688
1808
|
);
|
|
1689
|
-
|
|
1690
|
-
const
|
|
1691
|
-
const o = a || (e ?
|
|
1692
|
-
return /* @__PURE__ */
|
|
1693
|
-
|
|
1809
|
+
Uo.displayName = "Pagination.Root";
|
|
1810
|
+
const Zo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1811
|
+
const o = a || (e ? Do : void 0);
|
|
1812
|
+
return /* @__PURE__ */ r(
|
|
1813
|
+
te.Next,
|
|
1694
1814
|
{
|
|
1695
1815
|
ref: t,
|
|
1696
1816
|
"data-variant": "text",
|
|
@@ -1699,11 +1819,11 @@ const Ro = y(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1699
1819
|
}
|
|
1700
1820
|
);
|
|
1701
1821
|
});
|
|
1702
|
-
|
|
1703
|
-
const
|
|
1704
|
-
const o = a || (e ?
|
|
1705
|
-
return /* @__PURE__ */
|
|
1706
|
-
|
|
1822
|
+
Zo.displayName = "Pagination.Next";
|
|
1823
|
+
const Yo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1824
|
+
const o = a || (e ? Vo : void 0);
|
|
1825
|
+
return /* @__PURE__ */ r(
|
|
1826
|
+
te.Previous,
|
|
1707
1827
|
{
|
|
1708
1828
|
ref: t,
|
|
1709
1829
|
"data-variant": "text",
|
|
@@ -1712,11 +1832,11 @@ const Mo = y(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1712
1832
|
}
|
|
1713
1833
|
);
|
|
1714
1834
|
});
|
|
1715
|
-
|
|
1716
|
-
const
|
|
1717
|
-
const o = a || (e ?
|
|
1718
|
-
return /* @__PURE__ */
|
|
1719
|
-
|
|
1835
|
+
Yo.displayName = "Pagination.Previous";
|
|
1836
|
+
const Ko = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1837
|
+
const o = a || (e ? Go : void 0);
|
|
1838
|
+
return /* @__PURE__ */ r(
|
|
1839
|
+
te.First,
|
|
1720
1840
|
{
|
|
1721
1841
|
ref: t,
|
|
1722
1842
|
"data-variant": "text",
|
|
@@ -1725,11 +1845,11 @@ const Fo = y(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1725
1845
|
}
|
|
1726
1846
|
);
|
|
1727
1847
|
});
|
|
1728
|
-
|
|
1729
|
-
const
|
|
1730
|
-
const o = a || (e ?
|
|
1731
|
-
return /* @__PURE__ */
|
|
1732
|
-
|
|
1848
|
+
Ko.displayName = "Pagination.First";
|
|
1849
|
+
const Qo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1850
|
+
const o = a || (e ? qo : void 0);
|
|
1851
|
+
return /* @__PURE__ */ r(
|
|
1852
|
+
te.Last,
|
|
1733
1853
|
{
|
|
1734
1854
|
ref: t,
|
|
1735
1855
|
"data-variant": "text",
|
|
@@ -1738,178 +1858,230 @@ const Bo = y(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1738
1858
|
}
|
|
1739
1859
|
);
|
|
1740
1860
|
});
|
|
1741
|
-
|
|
1742
|
-
const
|
|
1861
|
+
Qo.displayName = "Pagination.Last";
|
|
1862
|
+
const Jo = h(
|
|
1743
1863
|
function({ overStyled: e = !1, getControlProps: a, withLabels: s, ...t }, o) {
|
|
1744
|
-
const
|
|
1745
|
-
|
|
1746
|
-
),
|
|
1864
|
+
const n = f(t, e), i = Ho(
|
|
1865
|
+
n
|
|
1866
|
+
), c = (p) => {
|
|
1747
1867
|
const m = { "data-variant": "text" };
|
|
1748
1868
|
return a ? { ...m, ...a(p) } : m;
|
|
1749
1869
|
}, d = s ? {
|
|
1750
|
-
nextIcon:
|
|
1751
|
-
previousIcon:
|
|
1752
|
-
firstIcon:
|
|
1753
|
-
lastIcon:
|
|
1870
|
+
nextIcon: Do,
|
|
1871
|
+
previousIcon: Vo,
|
|
1872
|
+
firstIcon: Go,
|
|
1873
|
+
lastIcon: qo
|
|
1754
1874
|
} : {};
|
|
1755
|
-
return /* @__PURE__ */
|
|
1756
|
-
|
|
1875
|
+
return /* @__PURE__ */ r(
|
|
1876
|
+
te,
|
|
1757
1877
|
{
|
|
1758
1878
|
ref: o,
|
|
1759
|
-
className:
|
|
1760
|
-
classNames:
|
|
1761
|
-
getControlProps:
|
|
1879
|
+
className: i.className,
|
|
1880
|
+
classNames: i.classNames,
|
|
1881
|
+
getControlProps: c,
|
|
1762
1882
|
...d,
|
|
1763
|
-
...
|
|
1883
|
+
...n
|
|
1764
1884
|
}
|
|
1765
1885
|
);
|
|
1766
1886
|
}
|
|
1767
1887
|
);
|
|
1768
|
-
|
|
1769
|
-
const
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
const
|
|
1780
|
-
content:
|
|
1781
|
-
inner:
|
|
1782
|
-
header:
|
|
1783
|
-
title:
|
|
1784
|
-
titleTruncate:
|
|
1785
|
-
body:
|
|
1786
|
-
footer:
|
|
1787
|
-
},
|
|
1888
|
+
Jo.displayName = "Pagination";
|
|
1889
|
+
const ae = Jo;
|
|
1890
|
+
ae.Root = Uo;
|
|
1891
|
+
ae.Items = te.Items;
|
|
1892
|
+
ae.Control = te.Control;
|
|
1893
|
+
ae.Dots = te.Dots;
|
|
1894
|
+
ae.Next = Zo;
|
|
1895
|
+
ae.Previous = Yo;
|
|
1896
|
+
ae.First = Ko;
|
|
1897
|
+
ae.Last = Qo;
|
|
1898
|
+
ae.Icon = Te;
|
|
1899
|
+
const sr = "Panel-module__content___wdGo-", ar = "Panel-module__inner___ruA2b", rr = "Panel-module__header___o7SiC", nr = "Panel-module__title___181OP recursica_brand_typography_h3", lr = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP recursica_brand_typography_h3", ir = "Panel-module__body___SEC3T", cr = "Panel-module__footer___t6-hz", ie = {
|
|
1900
|
+
content: sr,
|
|
1901
|
+
inner: ar,
|
|
1902
|
+
header: rr,
|
|
1903
|
+
title: nr,
|
|
1904
|
+
titleTruncate: lr,
|
|
1905
|
+
body: ir,
|
|
1906
|
+
footer: cr
|
|
1907
|
+
}, Xo = function({
|
|
1788
1908
|
overStyled: e = !1,
|
|
1789
1909
|
position: a = "right",
|
|
1790
1910
|
keepMounted: s = !0,
|
|
1791
1911
|
wrapHeaderText: t = !1,
|
|
1792
1912
|
...o
|
|
1793
1913
|
}) {
|
|
1794
|
-
const
|
|
1795
|
-
content:
|
|
1796
|
-
header:
|
|
1797
|
-
title: t ?
|
|
1798
|
-
body:
|
|
1799
|
-
inner:
|
|
1800
|
-
},
|
|
1801
|
-
if (
|
|
1802
|
-
const d =
|
|
1914
|
+
const n = f(o, e), i = {
|
|
1915
|
+
content: ie.content,
|
|
1916
|
+
header: ie.header,
|
|
1917
|
+
title: t ? ie.titleTruncate : ie.title,
|
|
1918
|
+
body: ie.body,
|
|
1919
|
+
inner: ie.inner
|
|
1920
|
+
}, c = n.classNames;
|
|
1921
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1922
|
+
const d = c;
|
|
1803
1923
|
Object.keys(d).forEach((p) => {
|
|
1804
|
-
|
|
1924
|
+
i[p] ? i[p] = `${i[p]} ${d[p]}` : i[p] = d[p];
|
|
1805
1925
|
});
|
|
1806
1926
|
}
|
|
1807
|
-
return /* @__PURE__ */
|
|
1808
|
-
|
|
1927
|
+
return /* @__PURE__ */ r(
|
|
1928
|
+
se,
|
|
1809
1929
|
{
|
|
1810
1930
|
position: a,
|
|
1811
1931
|
keepMounted: s,
|
|
1812
1932
|
closeOnClickOutside: o.closeOnClickOutside ?? !!o.opened,
|
|
1813
|
-
...
|
|
1814
|
-
classNames:
|
|
1933
|
+
...n,
|
|
1934
|
+
classNames: i
|
|
1815
1935
|
}
|
|
1816
1936
|
);
|
|
1817
1937
|
};
|
|
1818
|
-
|
|
1819
|
-
const
|
|
1938
|
+
Xo.displayName = "Panel";
|
|
1939
|
+
const et = h(
|
|
1820
1940
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1821
|
-
const t =
|
|
1822
|
-
return /* @__PURE__ */
|
|
1941
|
+
const t = f(a, e), o = t.className, n = o ? `${ie.footer} ${o}` : ie.footer;
|
|
1942
|
+
return /* @__PURE__ */ r("div", { ref: s, className: n, ...t });
|
|
1823
1943
|
}
|
|
1824
1944
|
);
|
|
1825
|
-
|
|
1826
|
-
const
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
const
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1945
|
+
et.displayName = "PanelFooter";
|
|
1946
|
+
const re = Xo;
|
|
1947
|
+
re.Root = se.Root;
|
|
1948
|
+
re.Overlay = se.Overlay;
|
|
1949
|
+
re.Content = se.Content;
|
|
1950
|
+
re.Header = se.Header;
|
|
1951
|
+
re.Title = se.Title;
|
|
1952
|
+
re.CloseButton = se.CloseButton;
|
|
1953
|
+
re.Body = se.Body;
|
|
1954
|
+
re.Stack = se.Stack;
|
|
1955
|
+
re.Footer = et;
|
|
1956
|
+
const dr = "Popover-module__dropdown___svhS6", pr = "Popover-module__arrow___5A-0e", to = {
|
|
1957
|
+
dropdown: dr,
|
|
1958
|
+
arrow: pr
|
|
1959
|
+
}, ot = function({
|
|
1960
|
+
overStyled: e = !1,
|
|
1961
|
+
withBeak: a = !0,
|
|
1962
|
+
...s
|
|
1963
|
+
}) {
|
|
1964
|
+
const t = f(s, e), o = {
|
|
1965
|
+
dropdown: to.dropdown,
|
|
1966
|
+
arrow: to.arrow
|
|
1967
|
+
}, n = t.classNames;
|
|
1968
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1969
|
+
const p = n;
|
|
1970
|
+
Object.keys(p).forEach((m) => {
|
|
1971
|
+
o[m] ? o[m] = `${o[m]} ${p[m]}` : o[m] = p[m];
|
|
1972
|
+
});
|
|
1973
|
+
}
|
|
1974
|
+
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1975
|
+
return /* @__PURE__ */ r(
|
|
1976
|
+
qe,
|
|
1977
|
+
{
|
|
1978
|
+
position: "top",
|
|
1979
|
+
arrowSize: i,
|
|
1980
|
+
withArrow: a ?? c,
|
|
1981
|
+
classNames: o,
|
|
1982
|
+
...t
|
|
1983
|
+
}
|
|
1984
|
+
);
|
|
1985
|
+
};
|
|
1986
|
+
ot.displayName = "Popover";
|
|
1987
|
+
const tt = function(e) {
|
|
1988
|
+
return /* @__PURE__ */ r(qe.Target, { ...e });
|
|
1989
|
+
};
|
|
1990
|
+
tt.displayName = "PopoverTarget";
|
|
1991
|
+
const st = function({
|
|
1992
|
+
overStyled: e = !1,
|
|
1993
|
+
...a
|
|
1994
|
+
}) {
|
|
1995
|
+
const s = f(a, e), t = s.className;
|
|
1996
|
+
return /* @__PURE__ */ r(
|
|
1997
|
+
qe.Dropdown,
|
|
1998
|
+
{
|
|
1999
|
+
className: t,
|
|
2000
|
+
...s
|
|
2001
|
+
}
|
|
2002
|
+
);
|
|
2003
|
+
};
|
|
2004
|
+
st.displayName = "PopoverDropdown";
|
|
2005
|
+
const at = ot;
|
|
2006
|
+
at.Target = tt;
|
|
2007
|
+
at.Dropdown = st;
|
|
2008
|
+
const mr = "Radio-module__groupRoot___bfUii", _r = "Radio-module__root___kAjTD", ur = "Radio-module__body___q2Wpj", br = "Radio-module__inner___QaTBB", yr = "Radio-module__radio___MfgN-", fr = "Radio-module__icon___DWznm", Nr = "Radio-module__labelWrapper___dB0Gi", hr = "Radio-module__label___vAFIP", O = {
|
|
2009
|
+
groupRoot: mr,
|
|
2010
|
+
root: _r,
|
|
2011
|
+
body: ur,
|
|
2012
|
+
inner: br,
|
|
2013
|
+
radio: yr,
|
|
2014
|
+
icon: fr,
|
|
2015
|
+
labelWrapper: Nr,
|
|
2016
|
+
label: hr
|
|
2017
|
+
}, rt = h(
|
|
1846
2018
|
function(e, a) {
|
|
1847
2019
|
const {
|
|
1848
2020
|
overStyled: s = !1,
|
|
1849
2021
|
formLayout: t = "stacked",
|
|
1850
2022
|
// Label Wrappers
|
|
1851
2023
|
labelSize: o,
|
|
1852
|
-
labelAlignment:
|
|
1853
|
-
labelOptionalText:
|
|
1854
|
-
labelWithEditIcon:
|
|
2024
|
+
labelAlignment: n,
|
|
2025
|
+
labelOptionalText: i,
|
|
2026
|
+
labelWithEditIcon: c,
|
|
1855
2027
|
onLabelEditClick: d,
|
|
1856
2028
|
// Base Mantine Extracted Attributes
|
|
1857
2029
|
label: p,
|
|
1858
2030
|
description: m,
|
|
1859
|
-
assistiveText:
|
|
2031
|
+
assistiveText: N,
|
|
1860
2032
|
assistiveWithIcon: _,
|
|
1861
2033
|
error: u,
|
|
1862
|
-
required:
|
|
2034
|
+
required: b,
|
|
1863
2035
|
withAsterisk: C,
|
|
1864
|
-
id:
|
|
2036
|
+
id: $,
|
|
1865
2037
|
className: g,
|
|
1866
|
-
style:
|
|
1867
|
-
children:
|
|
2038
|
+
style: y,
|
|
2039
|
+
children: S,
|
|
1868
2040
|
readOnly: v,
|
|
1869
|
-
readOnlyComponent:
|
|
1870
|
-
emptyValueComponent:
|
|
1871
|
-
value:
|
|
1872
|
-
defaultValue:
|
|
1873
|
-
...
|
|
1874
|
-
} = e,
|
|
1875
|
-
return delete w.size, /* @__PURE__ */
|
|
1876
|
-
|
|
2041
|
+
readOnlyComponent: B,
|
|
2042
|
+
emptyValueComponent: A,
|
|
2043
|
+
value: T,
|
|
2044
|
+
defaultValue: R,
|
|
2045
|
+
...M
|
|
2046
|
+
} = e, W = f(M, s), w = W;
|
|
2047
|
+
return delete w.size, /* @__PURE__ */ r(
|
|
2048
|
+
de,
|
|
1877
2049
|
{
|
|
1878
2050
|
className: g,
|
|
1879
|
-
style:
|
|
2051
|
+
style: y,
|
|
1880
2052
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
1881
2053
|
controlMinWidth: void 0,
|
|
1882
2054
|
overStyled: s,
|
|
1883
2055
|
labelElement: "div",
|
|
1884
2056
|
formLayout: t,
|
|
1885
2057
|
labelSize: o,
|
|
1886
|
-
labelAlignment:
|
|
1887
|
-
labelOptionalText:
|
|
1888
|
-
labelWithEditIcon:
|
|
2058
|
+
labelAlignment: n,
|
|
2059
|
+
labelOptionalText: i,
|
|
2060
|
+
labelWithEditIcon: c,
|
|
1889
2061
|
onLabelEditClick: d,
|
|
1890
2062
|
label: p,
|
|
1891
2063
|
description: m,
|
|
1892
|
-
assistiveText:
|
|
2064
|
+
assistiveText: N,
|
|
1893
2065
|
assistiveWithIcon: _,
|
|
1894
2066
|
error: u,
|
|
1895
|
-
required:
|
|
2067
|
+
required: b,
|
|
1896
2068
|
withAsterisk: C,
|
|
1897
|
-
id:
|
|
1898
|
-
readOnly: v && !!
|
|
1899
|
-
readOnlyComponent:
|
|
1900
|
-
emptyValueComponent:
|
|
2069
|
+
id: $,
|
|
2070
|
+
readOnly: v && !!B,
|
|
2071
|
+
readOnlyComponent: B,
|
|
2072
|
+
emptyValueComponent: A,
|
|
1901
2073
|
readOnlyType: "text",
|
|
1902
|
-
readOnlyValue:
|
|
2074
|
+
readOnlyValue: T !== void 0 ? T : R,
|
|
1903
2075
|
readOnlyNativeProps: e,
|
|
1904
|
-
activeComponent: /* @__PURE__ */
|
|
1905
|
-
|
|
2076
|
+
activeComponent: /* @__PURE__ */ r(
|
|
2077
|
+
no.Group,
|
|
1906
2078
|
{
|
|
1907
2079
|
ref: a,
|
|
1908
|
-
...
|
|
2080
|
+
...W,
|
|
1909
2081
|
disabled: v || w.disabled,
|
|
1910
|
-
value:
|
|
1911
|
-
defaultValue:
|
|
1912
|
-
children: /* @__PURE__ */
|
|
2082
|
+
value: T,
|
|
2083
|
+
defaultValue: R,
|
|
2084
|
+
children: /* @__PURE__ */ r("div", { className: O.groupRoot, "data-layout": t, children: L.Children.map(S, (P) => L.isValidElement(P) ? L.cloneElement(P, {
|
|
1913
2085
|
disabled: v || P.props.disabled
|
|
1914
2086
|
}) : P) })
|
|
1915
2087
|
}
|
|
@@ -1918,81 +2090,81 @@ const Oa = "Radio-module__groupRoot___bfUii", za = "Radio-module__root___kAjTD",
|
|
|
1918
2090
|
);
|
|
1919
2091
|
}
|
|
1920
2092
|
);
|
|
1921
|
-
|
|
1922
|
-
const
|
|
2093
|
+
rt.displayName = "RadioGroup";
|
|
2094
|
+
const $r = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
1923
2095
|
"svg",
|
|
1924
2096
|
{
|
|
1925
2097
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1926
2098
|
viewBox: "0 0 16 16",
|
|
1927
2099
|
fill: "currentColor",
|
|
1928
|
-
className:
|
|
2100
|
+
className: l,
|
|
1929
2101
|
style: e,
|
|
1930
|
-
children: /* @__PURE__ */
|
|
2102
|
+
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
1931
2103
|
}
|
|
1932
|
-
),
|
|
2104
|
+
), nt = h(
|
|
1933
2105
|
function(e, a) {
|
|
1934
2106
|
const {
|
|
1935
2107
|
overStyled: s = !1,
|
|
1936
2108
|
readOnly: t,
|
|
1937
2109
|
readOnlyComponent: o,
|
|
1938
|
-
disabled:
|
|
1939
|
-
formLayout:
|
|
1940
|
-
labelSize:
|
|
2110
|
+
disabled: n,
|
|
2111
|
+
formLayout: i,
|
|
2112
|
+
labelSize: c,
|
|
1941
2113
|
controlMaxWidth: d,
|
|
1942
2114
|
controlMinWidth: p,
|
|
1943
2115
|
...m
|
|
1944
|
-
} = e,
|
|
2116
|
+
} = e, N = f(m, s), _ = N;
|
|
1945
2117
|
delete _.size, delete _.color, delete _.radius, delete _.variant, delete _.iconColor;
|
|
1946
2118
|
const u = {
|
|
1947
|
-
root:
|
|
1948
|
-
body:
|
|
1949
|
-
inner:
|
|
1950
|
-
radio:
|
|
1951
|
-
icon:
|
|
1952
|
-
labelWrapper:
|
|
1953
|
-
label:
|
|
1954
|
-
},
|
|
1955
|
-
if (
|
|
1956
|
-
const
|
|
1957
|
-
u.root =
|
|
2119
|
+
root: O.root,
|
|
2120
|
+
body: O.body,
|
|
2121
|
+
inner: O.inner,
|
|
2122
|
+
radio: O.radio,
|
|
2123
|
+
icon: O.icon,
|
|
2124
|
+
labelWrapper: O.labelWrapper,
|
|
2125
|
+
label: O.label
|
|
2126
|
+
}, b = _.classNames;
|
|
2127
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
2128
|
+
const y = b;
|
|
2129
|
+
u.root = y.root ? `${O.root} ${y.root}` : O.root, u.body = y.body ? `${O.body} ${y.body}` : O.body, u.inner = y.inner ? `${O.inner} ${y.inner}` : O.inner, u.radio = y.radio ? `${O.radio} ${y.radio}` : O.radio, u.icon = y.icon ? `${O.icon} ${y.icon}` : O.icon, u.labelWrapper = y.labelWrapper ? `${O.labelWrapper} ${y.labelWrapper}` : O.labelWrapper, u.label = y.label ? `${O.label} ${y.label}` : O.label;
|
|
1958
2130
|
}
|
|
1959
|
-
const C = _.className,
|
|
2131
|
+
const C = _.className, $ = C ? `${O.root} ${C}` : O.root;
|
|
1960
2132
|
if (t && o) {
|
|
1961
|
-
const
|
|
2133
|
+
const y = !!(_.checked ?? _.defaultChecked), v = /* @__PURE__ */ r(
|
|
1962
2134
|
o,
|
|
1963
2135
|
{
|
|
1964
2136
|
...e,
|
|
1965
|
-
checked:
|
|
2137
|
+
checked: y,
|
|
1966
2138
|
label: _.label
|
|
1967
2139
|
}
|
|
1968
2140
|
);
|
|
1969
|
-
return
|
|
1970
|
-
|
|
2141
|
+
return i ? /* @__PURE__ */ r(
|
|
2142
|
+
ce,
|
|
1971
2143
|
{
|
|
1972
|
-
formLayout:
|
|
1973
|
-
labelSize:
|
|
2144
|
+
formLayout: i,
|
|
2145
|
+
labelSize: c,
|
|
1974
2146
|
controlMaxWidth: d,
|
|
1975
2147
|
controlMinWidth: p,
|
|
1976
2148
|
children: v
|
|
1977
2149
|
}
|
|
1978
|
-
) : /* @__PURE__ */
|
|
2150
|
+
) : /* @__PURE__ */ r(Ne, { children: v });
|
|
1979
2151
|
}
|
|
1980
|
-
const g = /* @__PURE__ */
|
|
1981
|
-
|
|
2152
|
+
const g = /* @__PURE__ */ r(
|
|
2153
|
+
no,
|
|
1982
2154
|
{
|
|
1983
2155
|
ref: a,
|
|
1984
|
-
icon:
|
|
1985
|
-
className:
|
|
2156
|
+
icon: $r,
|
|
2157
|
+
className: $,
|
|
1986
2158
|
classNames: u,
|
|
1987
|
-
disabled: t ||
|
|
1988
|
-
|
|
2159
|
+
disabled: t || n,
|
|
2160
|
+
...N
|
|
1989
2161
|
}
|
|
1990
2162
|
);
|
|
1991
|
-
return
|
|
1992
|
-
|
|
2163
|
+
return i ? /* @__PURE__ */ r(
|
|
2164
|
+
ce,
|
|
1993
2165
|
{
|
|
1994
|
-
formLayout:
|
|
1995
|
-
labelSize:
|
|
2166
|
+
formLayout: i,
|
|
2167
|
+
labelSize: c,
|
|
1996
2168
|
controlMaxWidth: d,
|
|
1997
2169
|
controlMinWidth: p,
|
|
1998
2170
|
children: g
|
|
@@ -2000,239 +2172,238 @@ const Da = ({ className: r, style: e }) => /* @__PURE__ */ n(
|
|
|
2000
2172
|
) : g;
|
|
2001
2173
|
}
|
|
2002
2174
|
);
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
const
|
|
2006
|
-
|
|
2175
|
+
nt.displayName = "Radio";
|
|
2176
|
+
nt.Group = rt;
|
|
2177
|
+
const vr = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
2178
|
+
Ve,
|
|
2007
2179
|
{
|
|
2008
2180
|
component: "span",
|
|
2009
|
-
className:
|
|
2181
|
+
className: ze.textField,
|
|
2010
2182
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2011
2183
|
children: [
|
|
2012
|
-
e && /* @__PURE__ */
|
|
2184
|
+
e && /* @__PURE__ */ z("span", { style: { fontWeight: 500 }, children: [
|
|
2013
2185
|
e,
|
|
2014
2186
|
":"
|
|
2015
2187
|
] }),
|
|
2016
|
-
/* @__PURE__ */
|
|
2188
|
+
/* @__PURE__ */ r("span", { children: l ? "On" : "Off" })
|
|
2017
2189
|
]
|
|
2018
2190
|
}
|
|
2019
2191
|
);
|
|
2020
|
-
|
|
2021
|
-
const
|
|
2022
|
-
|
|
2192
|
+
vr.displayName = "ReadOnlySwitchField";
|
|
2193
|
+
const Cr = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
2194
|
+
Ve,
|
|
2023
2195
|
{
|
|
2024
2196
|
component: "span",
|
|
2025
|
-
className:
|
|
2197
|
+
className: ze.textField,
|
|
2026
2198
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2027
2199
|
children: [
|
|
2028
|
-
e && /* @__PURE__ */
|
|
2200
|
+
e && /* @__PURE__ */ z("span", { style: { fontWeight: 500 }, children: [
|
|
2029
2201
|
e,
|
|
2030
2202
|
":"
|
|
2031
2203
|
] }),
|
|
2032
|
-
/* @__PURE__ */
|
|
2204
|
+
/* @__PURE__ */ r("span", { children: l ? "True" : "False" })
|
|
2033
2205
|
]
|
|
2034
2206
|
}
|
|
2035
2207
|
);
|
|
2036
|
-
|
|
2037
|
-
const
|
|
2038
|
-
root:
|
|
2039
|
-
label:
|
|
2040
|
-
control:
|
|
2041
|
-
indicator:
|
|
2208
|
+
Cr.displayName = "ReadOnlyBooleanField";
|
|
2209
|
+
const gr = "SegmentedControl-module__root___JFRhg", Pr = "SegmentedControl-module__label___mS17q", wr = "SegmentedControl-module__control___znOdQ", Tr = "SegmentedControl-module__indicator___ZMcJy", V = {
|
|
2210
|
+
root: gr,
|
|
2211
|
+
label: Pr,
|
|
2212
|
+
control: wr,
|
|
2213
|
+
indicator: Tr
|
|
2042
2214
|
};
|
|
2043
|
-
function
|
|
2215
|
+
function xr(l) {
|
|
2044
2216
|
const e = {
|
|
2045
|
-
root:
|
|
2046
|
-
control:
|
|
2047
|
-
label:
|
|
2048
|
-
indicator:
|
|
2049
|
-
}, a =
|
|
2217
|
+
root: V.root,
|
|
2218
|
+
control: V.control,
|
|
2219
|
+
label: V.label,
|
|
2220
|
+
indicator: V.indicator
|
|
2221
|
+
}, a = l.classNames;
|
|
2050
2222
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
2051
2223
|
const o = a;
|
|
2052
|
-
e.root = o.root ? `${
|
|
2224
|
+
e.root = o.root ? `${V.root} ${o.root}` : V.root, e.control = o.control ? `${V.control} ${o.control}` : V.control, e.label = o.label ? `${V.label} ${o.label}` : V.label, e.indicator = o.indicator ? `${V.indicator} ${o.indicator}` : V.indicator;
|
|
2053
2225
|
}
|
|
2054
|
-
const s =
|
|
2055
|
-
return { className: s ? `${
|
|
2226
|
+
const s = l.className;
|
|
2227
|
+
return { className: s ? `${V.root} ${s}` : V.root, classNames: e };
|
|
2056
2228
|
}
|
|
2057
|
-
const
|
|
2229
|
+
const lt = h(
|
|
2058
2230
|
function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth: s, ...t }, o) {
|
|
2059
|
-
const
|
|
2060
|
-
|
|
2231
|
+
const n = f(t, e), i = xr(
|
|
2232
|
+
n
|
|
2061
2233
|
);
|
|
2062
|
-
return /* @__PURE__ */
|
|
2063
|
-
|
|
2234
|
+
return /* @__PURE__ */ r(
|
|
2235
|
+
Mt,
|
|
2064
2236
|
{
|
|
2065
2237
|
ref: o,
|
|
2066
|
-
className:
|
|
2067
|
-
classNames:
|
|
2238
|
+
className: i.className,
|
|
2239
|
+
classNames: i.classNames,
|
|
2068
2240
|
orientation: a,
|
|
2069
2241
|
fullWidth: s,
|
|
2070
2242
|
"data-orientation": a,
|
|
2071
|
-
...
|
|
2243
|
+
...n
|
|
2072
2244
|
}
|
|
2073
2245
|
);
|
|
2074
2246
|
}
|
|
2075
2247
|
);
|
|
2076
|
-
|
|
2077
|
-
const
|
|
2078
|
-
root:
|
|
2079
|
-
},
|
|
2248
|
+
lt.displayName = "SegmentedControl";
|
|
2249
|
+
const qn = lt, Hn = (l) => /* @__PURE__ */ r("div", { ...l, children: "Slider" }), Sr = "Stack-module__root___NUN-x", we = {
|
|
2250
|
+
root: Sr
|
|
2251
|
+
}, it = h(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
2080
2252
|
const o = {
|
|
2081
|
-
root:
|
|
2082
|
-
},
|
|
2083
|
-
if (
|
|
2084
|
-
const d =
|
|
2085
|
-
o.root = d.root ? `${
|
|
2253
|
+
root: we.root
|
|
2254
|
+
}, n = s.classNames;
|
|
2255
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2256
|
+
const d = n;
|
|
2257
|
+
o.root = d.root ? `${we.root} ${d.root}` : we.root;
|
|
2086
2258
|
}
|
|
2087
|
-
const
|
|
2088
|
-
return /* @__PURE__ */
|
|
2089
|
-
|
|
2259
|
+
const i = s.className, c = i ? `${we.root} ${i}` : we.root;
|
|
2260
|
+
return /* @__PURE__ */ r(
|
|
2261
|
+
Bt,
|
|
2090
2262
|
{
|
|
2091
2263
|
ref: t,
|
|
2092
|
-
className:
|
|
2264
|
+
className: c,
|
|
2093
2265
|
classNames: o,
|
|
2094
|
-
gap: a,
|
|
2095
|
-
...s,
|
|
2266
|
+
...Ue({ gap: a, ...s }),
|
|
2096
2267
|
children: e
|
|
2097
2268
|
}
|
|
2098
2269
|
);
|
|
2099
2270
|
});
|
|
2100
|
-
|
|
2101
|
-
const
|
|
2102
|
-
root:
|
|
2103
|
-
horizontal:
|
|
2104
|
-
steps:
|
|
2105
|
-
step:
|
|
2106
|
-
stepBody:
|
|
2107
|
-
stepLabel:
|
|
2108
|
-
stepDescription:
|
|
2109
|
-
separator:
|
|
2110
|
-
vertical:
|
|
2111
|
-
large:
|
|
2112
|
-
small:
|
|
2113
|
-
stepIcon:
|
|
2114
|
-
stepCompletedIcon:
|
|
2115
|
-
verticalSeparator:
|
|
2116
|
-
content:
|
|
2117
|
-
},
|
|
2271
|
+
it.displayName = "Stack";
|
|
2272
|
+
const Un = Y(it), Ar = "Stepper-module__root___jbSYO", Wr = "Stepper-module__horizontal___USHT1", Lr = "Stepper-module__steps___4HPO6", Ir = "Stepper-module__step___s2nqL", Or = "Stepper-module__stepBody___TBvys", zr = "Stepper-module__stepLabel___N6nuy", Rr = "Stepper-module__stepDescription___DnDAy", kr = "Stepper-module__separator___pU0No", Mr = "Stepper-module__vertical___d4mOs", Br = "Stepper-module__large___J18-y", Fr = "Stepper-module__small___Ub-zb", Er = "Stepper-module__stepIcon___YQHNq", jr = "Stepper-module__stepCompletedIcon___B9MeL", Dr = "Stepper-module__verticalSeparator___frWc1", Vr = "Stepper-module__content___J-h8X", D = {
|
|
2273
|
+
root: Ar,
|
|
2274
|
+
horizontal: Wr,
|
|
2275
|
+
steps: Lr,
|
|
2276
|
+
step: Ir,
|
|
2277
|
+
stepBody: Or,
|
|
2278
|
+
stepLabel: zr,
|
|
2279
|
+
stepDescription: Rr,
|
|
2280
|
+
separator: kr,
|
|
2281
|
+
vertical: Mr,
|
|
2282
|
+
large: Br,
|
|
2283
|
+
small: Fr,
|
|
2284
|
+
stepIcon: Er,
|
|
2285
|
+
stepCompletedIcon: jr,
|
|
2286
|
+
verticalSeparator: Dr,
|
|
2287
|
+
content: Vr
|
|
2288
|
+
}, ct = h(
|
|
2118
2289
|
function(e, a) {
|
|
2119
2290
|
const {
|
|
2120
2291
|
overStyled: s = !1,
|
|
2121
2292
|
size: t = "large",
|
|
2122
2293
|
orientation: o = "horizontal",
|
|
2123
|
-
className:
|
|
2124
|
-
style:
|
|
2125
|
-
...
|
|
2126
|
-
} = e, d =
|
|
2127
|
-
return /* @__PURE__ */
|
|
2128
|
-
|
|
2294
|
+
className: n,
|
|
2295
|
+
style: i,
|
|
2296
|
+
...c
|
|
2297
|
+
} = e, d = f(c, s);
|
|
2298
|
+
return /* @__PURE__ */ r(
|
|
2299
|
+
je,
|
|
2129
2300
|
{
|
|
2130
2301
|
ref: a,
|
|
2131
2302
|
orientation: o,
|
|
2132
|
-
className: `${
|
|
2133
|
-
style:
|
|
2303
|
+
className: `${D.root} ${o === "horizontal" ? D.horizontal : D.vertical} ${t === "large" ? D.large : D.small} ${n || ""}`,
|
|
2304
|
+
style: i,
|
|
2134
2305
|
"data-size": t,
|
|
2135
2306
|
"data-orientation": o,
|
|
2136
2307
|
classNames: {
|
|
2137
|
-
steps:
|
|
2138
|
-
step:
|
|
2139
|
-
stepIcon:
|
|
2140
|
-
stepCompletedIcon:
|
|
2141
|
-
stepBody:
|
|
2142
|
-
stepLabel:
|
|
2143
|
-
stepDescription:
|
|
2144
|
-
separator:
|
|
2145
|
-
verticalSeparator:
|
|
2146
|
-
content:
|
|
2308
|
+
steps: D.steps,
|
|
2309
|
+
step: D.step,
|
|
2310
|
+
stepIcon: D.stepIcon,
|
|
2311
|
+
stepCompletedIcon: D.stepCompletedIcon,
|
|
2312
|
+
stepBody: D.stepBody,
|
|
2313
|
+
stepLabel: D.stepLabel,
|
|
2314
|
+
stepDescription: D.stepDescription,
|
|
2315
|
+
separator: D.separator,
|
|
2316
|
+
verticalSeparator: D.verticalSeparator,
|
|
2317
|
+
content: D.content
|
|
2147
2318
|
},
|
|
2148
2319
|
...d
|
|
2149
2320
|
}
|
|
2150
2321
|
);
|
|
2151
2322
|
}
|
|
2152
|
-
),
|
|
2153
|
-
Step:
|
|
2154
|
-
Completed:
|
|
2323
|
+
), Zn = Object.assign(ct, {
|
|
2324
|
+
Step: je.Step,
|
|
2325
|
+
Completed: je.Completed
|
|
2155
2326
|
});
|
|
2156
|
-
|
|
2157
|
-
const
|
|
2158
|
-
root:
|
|
2159
|
-
body:
|
|
2160
|
-
track:
|
|
2161
|
-
thumb:
|
|
2162
|
-
labelWrapper:
|
|
2163
|
-
label:
|
|
2164
|
-
thumbIconWrapper:
|
|
2165
|
-
checkIcon:
|
|
2166
|
-
closeIcon:
|
|
2167
|
-
groupRoot:
|
|
2168
|
-
},
|
|
2327
|
+
ct.displayName = "Stepper";
|
|
2328
|
+
const Gr = "Switch-module__root___Y5Ydi", qr = "Switch-module__body___Sw9Wr", Hr = "Switch-module__track___7ObdZ", Ur = "Switch-module__thumb___-FTeK", Zr = "Switch-module__labelWrapper___YSOwx", Yr = "Switch-module__label___LrH7V", Kr = "Switch-module__thumbIconWrapper___sCY-1", Qr = "Switch-module__checkIcon___ZBAQN", Jr = "Switch-module__closeIcon___bLLGw", Xr = "Switch-module__groupRoot___-Uepi", x = {
|
|
2329
|
+
root: Gr,
|
|
2330
|
+
body: qr,
|
|
2331
|
+
track: Hr,
|
|
2332
|
+
thumb: Ur,
|
|
2333
|
+
labelWrapper: Zr,
|
|
2334
|
+
label: Yr,
|
|
2335
|
+
thumbIconWrapper: Kr,
|
|
2336
|
+
checkIcon: Qr,
|
|
2337
|
+
closeIcon: Jr,
|
|
2338
|
+
groupRoot: Xr
|
|
2339
|
+
}, dt = h(
|
|
2169
2340
|
function(e, a) {
|
|
2170
2341
|
const {
|
|
2171
2342
|
overStyled: s = !1,
|
|
2172
2343
|
formLayout: t = "stacked",
|
|
2173
2344
|
// Label Wrappers
|
|
2174
2345
|
labelSize: o,
|
|
2175
|
-
labelAlignment:
|
|
2176
|
-
labelOptionalText:
|
|
2177
|
-
labelWithEditIcon:
|
|
2346
|
+
labelAlignment: n,
|
|
2347
|
+
labelOptionalText: i,
|
|
2348
|
+
labelWithEditIcon: c,
|
|
2178
2349
|
onLabelEditClick: d,
|
|
2179
2350
|
// Base Mantine Extracted Attributes
|
|
2180
2351
|
label: p,
|
|
2181
2352
|
description: m,
|
|
2182
|
-
assistiveText:
|
|
2353
|
+
assistiveText: N,
|
|
2183
2354
|
assistiveWithIcon: _,
|
|
2184
2355
|
error: u,
|
|
2185
|
-
required:
|
|
2356
|
+
required: b,
|
|
2186
2357
|
withAsterisk: C,
|
|
2187
|
-
id:
|
|
2358
|
+
id: $,
|
|
2188
2359
|
className: g,
|
|
2189
|
-
style:
|
|
2190
|
-
children:
|
|
2360
|
+
style: y,
|
|
2361
|
+
children: S,
|
|
2191
2362
|
readOnly: v,
|
|
2192
|
-
readOnlyComponent:
|
|
2193
|
-
emptyValueComponent:
|
|
2194
|
-
value:
|
|
2195
|
-
defaultValue:
|
|
2196
|
-
...
|
|
2197
|
-
} = e,
|
|
2198
|
-
return delete w.size, /* @__PURE__ */
|
|
2199
|
-
|
|
2363
|
+
readOnlyComponent: B,
|
|
2364
|
+
emptyValueComponent: A,
|
|
2365
|
+
value: T,
|
|
2366
|
+
defaultValue: R,
|
|
2367
|
+
...M
|
|
2368
|
+
} = e, W = f(M, s), w = W;
|
|
2369
|
+
return delete w.size, /* @__PURE__ */ r(
|
|
2370
|
+
de,
|
|
2200
2371
|
{
|
|
2201
2372
|
className: g,
|
|
2202
|
-
style:
|
|
2373
|
+
style: y,
|
|
2203
2374
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
|
|
2204
2375
|
controlMinWidth: void 0,
|
|
2205
2376
|
overStyled: s,
|
|
2206
2377
|
labelElement: "div",
|
|
2207
2378
|
formLayout: t,
|
|
2208
2379
|
labelSize: o,
|
|
2209
|
-
labelAlignment:
|
|
2210
|
-
labelOptionalText:
|
|
2211
|
-
labelWithEditIcon:
|
|
2380
|
+
labelAlignment: n,
|
|
2381
|
+
labelOptionalText: i,
|
|
2382
|
+
labelWithEditIcon: c,
|
|
2212
2383
|
onLabelEditClick: d,
|
|
2213
2384
|
label: p,
|
|
2214
2385
|
description: m,
|
|
2215
|
-
assistiveText:
|
|
2386
|
+
assistiveText: N,
|
|
2216
2387
|
assistiveWithIcon: _,
|
|
2217
2388
|
error: u,
|
|
2218
|
-
required:
|
|
2389
|
+
required: b,
|
|
2219
2390
|
withAsterisk: C,
|
|
2220
|
-
id:
|
|
2221
|
-
readOnly: v && !!
|
|
2222
|
-
readOnlyComponent:
|
|
2223
|
-
emptyValueComponent:
|
|
2391
|
+
id: $,
|
|
2392
|
+
readOnly: v && !!B,
|
|
2393
|
+
readOnlyComponent: B,
|
|
2394
|
+
emptyValueComponent: A,
|
|
2224
2395
|
readOnlyType: "text",
|
|
2225
|
-
readOnlyValue:
|
|
2396
|
+
readOnlyValue: T !== void 0 ? T : R,
|
|
2226
2397
|
readOnlyNativeProps: e,
|
|
2227
|
-
activeComponent: /* @__PURE__ */
|
|
2228
|
-
|
|
2398
|
+
activeComponent: /* @__PURE__ */ r(
|
|
2399
|
+
lo.Group,
|
|
2229
2400
|
{
|
|
2230
2401
|
ref: a,
|
|
2231
|
-
...
|
|
2402
|
+
...W,
|
|
2232
2403
|
disabled: v || w.disabled,
|
|
2233
|
-
value:
|
|
2234
|
-
defaultValue:
|
|
2235
|
-
children: /* @__PURE__ */
|
|
2404
|
+
value: T,
|
|
2405
|
+
defaultValue: R,
|
|
2406
|
+
children: /* @__PURE__ */ r("div", { className: x.groupRoot, children: L.Children.map(S, (P) => L.isValidElement(P) ? L.cloneElement(P, {
|
|
2236
2407
|
disabled: v || P.props.disabled
|
|
2237
2408
|
}) : P) })
|
|
2238
2409
|
}
|
|
@@ -2241,38 +2412,38 @@ const un = "Switch-module__root___Y5Ydi", bn = "Switch-module__body___Sw9Wr", yn
|
|
|
2241
2412
|
);
|
|
2242
2413
|
}
|
|
2243
2414
|
);
|
|
2244
|
-
|
|
2245
|
-
const
|
|
2415
|
+
dt.displayName = "SwitchGroup";
|
|
2416
|
+
const pt = h(
|
|
2246
2417
|
function(e, a) {
|
|
2247
2418
|
const {
|
|
2248
2419
|
overStyled: s = !1,
|
|
2249
2420
|
readOnly: t,
|
|
2250
2421
|
readOnlyComponent: o,
|
|
2251
|
-
disabled:
|
|
2252
|
-
thumbIcon:
|
|
2253
|
-
formLayout:
|
|
2422
|
+
disabled: n,
|
|
2423
|
+
thumbIcon: i,
|
|
2424
|
+
formLayout: c,
|
|
2254
2425
|
labelSize: d,
|
|
2255
2426
|
controlMaxWidth: p,
|
|
2256
2427
|
controlMinWidth: m,
|
|
2257
|
-
|
|
2258
|
-
} = e, _ = N
|
|
2428
|
+
...N
|
|
2429
|
+
} = e, _ = f(N, s), u = _;
|
|
2259
2430
|
delete u.size, delete u.color, delete u.radius, delete u.variant;
|
|
2260
|
-
const
|
|
2261
|
-
root:
|
|
2262
|
-
body:
|
|
2263
|
-
track:
|
|
2264
|
-
thumb:
|
|
2265
|
-
trackLabel:
|
|
2266
|
-
labelWrapper:
|
|
2267
|
-
label:
|
|
2431
|
+
const b = {
|
|
2432
|
+
root: x.root,
|
|
2433
|
+
body: x.body,
|
|
2434
|
+
track: x.track,
|
|
2435
|
+
thumb: x.thumb,
|
|
2436
|
+
trackLabel: x.trackLabel,
|
|
2437
|
+
labelWrapper: x.labelWrapper,
|
|
2438
|
+
label: x.label
|
|
2268
2439
|
}, C = u.classNames;
|
|
2269
2440
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
2270
2441
|
const v = C;
|
|
2271
|
-
|
|
2442
|
+
b.root = v.root ? `${x.root} ${v.root}` : x.root, b.body = v.body ? `${x.body} ${v.body}` : x.body, b.track = v.track ? `${x.track} ${v.track}` : x.track, b.thumb = v.thumb ? `${x.thumb} ${v.thumb}` : x.thumb, b.trackLabel = v.trackLabel ? `${x.trackLabel} ${v.trackLabel}` : x.trackLabel, b.labelWrapper = v.labelWrapper ? `${x.labelWrapper} ${v.labelWrapper}` : x.labelWrapper, b.label = v.label ? `${x.label} ${v.label}` : x.label;
|
|
2272
2443
|
}
|
|
2273
|
-
const
|
|
2444
|
+
const $ = u.className, g = $ ? `${x.root} ${$}` : x.root;
|
|
2274
2445
|
if (t && o) {
|
|
2275
|
-
const v = !!(u.checked ?? u.defaultChecked),
|
|
2446
|
+
const v = !!(u.checked ?? u.defaultChecked), A = /* @__PURE__ */ r(
|
|
2276
2447
|
o,
|
|
2277
2448
|
{
|
|
2278
2449
|
...e,
|
|
@@ -2280,220 +2451,220 @@ const Uo = y(
|
|
|
2280
2451
|
label: u.label
|
|
2281
2452
|
}
|
|
2282
2453
|
);
|
|
2283
|
-
return
|
|
2284
|
-
|
|
2454
|
+
return c ? /* @__PURE__ */ r(
|
|
2455
|
+
ce,
|
|
2285
2456
|
{
|
|
2286
|
-
formLayout:
|
|
2457
|
+
formLayout: c,
|
|
2287
2458
|
labelSize: d,
|
|
2288
2459
|
controlMaxWidth: p,
|
|
2289
2460
|
controlMinWidth: m,
|
|
2290
|
-
children:
|
|
2461
|
+
children: A
|
|
2291
2462
|
}
|
|
2292
|
-
) : /* @__PURE__ */
|
|
2463
|
+
) : /* @__PURE__ */ r(Ne, { children: A });
|
|
2293
2464
|
}
|
|
2294
|
-
const
|
|
2295
|
-
/* @__PURE__ */
|
|
2296
|
-
/* @__PURE__ */
|
|
2297
|
-
] }),
|
|
2298
|
-
|
|
2465
|
+
const y = /* @__PURE__ */ z("div", { className: x.thumbIconWrapper, children: [
|
|
2466
|
+
/* @__PURE__ */ r(Ft, { className: x.checkIcon }),
|
|
2467
|
+
/* @__PURE__ */ r(Et, { className: x.closeIcon })
|
|
2468
|
+
] }), S = /* @__PURE__ */ r(
|
|
2469
|
+
lo,
|
|
2299
2470
|
{
|
|
2300
2471
|
ref: a,
|
|
2301
2472
|
className: g,
|
|
2302
|
-
classNames:
|
|
2303
|
-
disabled: t ||
|
|
2304
|
-
thumbIcon:
|
|
2473
|
+
classNames: b,
|
|
2474
|
+
disabled: t || n,
|
|
2475
|
+
thumbIcon: i ?? y,
|
|
2305
2476
|
..._
|
|
2306
2477
|
}
|
|
2307
2478
|
);
|
|
2308
|
-
return
|
|
2309
|
-
|
|
2479
|
+
return c ? /* @__PURE__ */ r(
|
|
2480
|
+
ce,
|
|
2310
2481
|
{
|
|
2311
|
-
formLayout:
|
|
2482
|
+
formLayout: c,
|
|
2312
2483
|
labelSize: d,
|
|
2313
2484
|
controlMaxWidth: p,
|
|
2314
2485
|
controlMinWidth: m,
|
|
2315
|
-
children:
|
|
2486
|
+
children: S
|
|
2316
2487
|
}
|
|
2317
|
-
) :
|
|
2488
|
+
) : S;
|
|
2318
2489
|
}
|
|
2319
2490
|
);
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
const
|
|
2323
|
-
root:
|
|
2324
|
-
list:
|
|
2325
|
-
tab:
|
|
2326
|
-
panel:
|
|
2327
|
-
},
|
|
2491
|
+
pt.displayName = "Switch";
|
|
2492
|
+
pt.Group = dt;
|
|
2493
|
+
const Yn = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), en = "Tabs-module__root___-VKVI", on = "Tabs-module__list___qRVME", tn = "Tabs-module__tab___IdDYc", sn = "Tabs-module__panel___08i9c", Ae = {
|
|
2494
|
+
root: en,
|
|
2495
|
+
list: on,
|
|
2496
|
+
tab: tn,
|
|
2497
|
+
panel: sn
|
|
2498
|
+
}, mt = h(function(e, a) {
|
|
2328
2499
|
const {
|
|
2329
2500
|
variant: s = "default",
|
|
2330
2501
|
orientation: t = "horizontal",
|
|
2331
2502
|
overStyled: o = !1,
|
|
2332
|
-
className:
|
|
2333
|
-
...
|
|
2334
|
-
} = e,
|
|
2335
|
-
return /* @__PURE__ */
|
|
2336
|
-
|
|
2503
|
+
className: n,
|
|
2504
|
+
...i
|
|
2505
|
+
} = e, c = f(i, o);
|
|
2506
|
+
return /* @__PURE__ */ r(
|
|
2507
|
+
Me,
|
|
2337
2508
|
{
|
|
2338
2509
|
ref: a,
|
|
2339
2510
|
variant: s,
|
|
2340
2511
|
orientation: t,
|
|
2341
|
-
className: `${
|
|
2512
|
+
className: `${Ae.root} ${n || ""}`,
|
|
2342
2513
|
"data-variant": s,
|
|
2343
2514
|
"data-orientation": t,
|
|
2344
2515
|
classNames: {
|
|
2345
|
-
list:
|
|
2346
|
-
tab:
|
|
2347
|
-
panel:
|
|
2516
|
+
list: Ae.list,
|
|
2517
|
+
tab: Ae.tab,
|
|
2518
|
+
panel: Ae.panel
|
|
2348
2519
|
},
|
|
2349
|
-
...
|
|
2520
|
+
...c
|
|
2350
2521
|
}
|
|
2351
2522
|
);
|
|
2352
2523
|
});
|
|
2353
|
-
|
|
2354
|
-
const
|
|
2524
|
+
mt.displayName = "Tabs";
|
|
2525
|
+
const _t = h(
|
|
2355
2526
|
function(e, a) {
|
|
2356
2527
|
const { overStyled: s = !1, ...t } = e;
|
|
2357
|
-
return /* @__PURE__ */
|
|
2358
|
-
|
|
2528
|
+
return /* @__PURE__ */ r(
|
|
2529
|
+
Me.List,
|
|
2359
2530
|
{
|
|
2360
2531
|
ref: a,
|
|
2361
|
-
...
|
|
2532
|
+
...f(t, s)
|
|
2362
2533
|
}
|
|
2363
2534
|
);
|
|
2364
2535
|
}
|
|
2365
2536
|
);
|
|
2366
|
-
|
|
2367
|
-
const
|
|
2537
|
+
_t.displayName = "Tabs.List";
|
|
2538
|
+
const ut = h(
|
|
2368
2539
|
function(e, a) {
|
|
2369
2540
|
const { overStyled: s = !1, ...t } = e;
|
|
2370
|
-
return /* @__PURE__ */
|
|
2371
|
-
|
|
2541
|
+
return /* @__PURE__ */ r(
|
|
2542
|
+
Me.Tab,
|
|
2372
2543
|
{
|
|
2373
2544
|
ref: a,
|
|
2374
|
-
...
|
|
2545
|
+
...f(t, s)
|
|
2375
2546
|
}
|
|
2376
2547
|
);
|
|
2377
2548
|
}
|
|
2378
2549
|
);
|
|
2379
|
-
|
|
2380
|
-
const
|
|
2550
|
+
ut.displayName = "Tabs.Tab";
|
|
2551
|
+
const bt = h(
|
|
2381
2552
|
function(e, a) {
|
|
2382
2553
|
const { overStyled: s = !1, ...t } = e;
|
|
2383
|
-
return /* @__PURE__ */
|
|
2384
|
-
|
|
2554
|
+
return /* @__PURE__ */ r(
|
|
2555
|
+
Me.Panel,
|
|
2385
2556
|
{
|
|
2386
2557
|
ref: a,
|
|
2387
|
-
...
|
|
2558
|
+
...f(t, s)
|
|
2388
2559
|
}
|
|
2389
2560
|
);
|
|
2390
2561
|
}
|
|
2391
2562
|
);
|
|
2392
|
-
|
|
2393
|
-
const
|
|
2394
|
-
List:
|
|
2395
|
-
Tab:
|
|
2396
|
-
Panel:
|
|
2397
|
-
}),
|
|
2398
|
-
const o =
|
|
2399
|
-
return /* @__PURE__ */
|
|
2400
|
-
|
|
2563
|
+
bt.displayName = "Tabs.Panel";
|
|
2564
|
+
const Kn = Object.assign(mt, {
|
|
2565
|
+
List: _t,
|
|
2566
|
+
Tab: ut,
|
|
2567
|
+
Panel: bt
|
|
2568
|
+
}), yt = h(function({ overStyled: e = !1, variant: a = "body", ...s }, t) {
|
|
2569
|
+
const o = f(s, e), n = o.className, i = `recursica_brand_typography_${a}`, c = n ? `${i} ${n}` : i;
|
|
2570
|
+
return /* @__PURE__ */ r(
|
|
2571
|
+
jt,
|
|
2401
2572
|
{
|
|
2402
2573
|
ref: t,
|
|
2403
|
-
className:
|
|
2574
|
+
className: c,
|
|
2404
2575
|
...o
|
|
2405
2576
|
}
|
|
2406
2577
|
);
|
|
2407
2578
|
});
|
|
2408
|
-
|
|
2409
|
-
const
|
|
2410
|
-
root:
|
|
2411
|
-
input:
|
|
2412
|
-
},
|
|
2579
|
+
yt.displayName = "Text";
|
|
2580
|
+
const Qn = Y(yt), an = "TextArea-module__root___3dyeu", rn = "TextArea-module__input___8l36v", fe = {
|
|
2581
|
+
root: an,
|
|
2582
|
+
input: rn
|
|
2583
|
+
}, nn = h(
|
|
2413
2584
|
function(e, a) {
|
|
2414
2585
|
const {
|
|
2415
2586
|
overStyled: s = !1,
|
|
2416
2587
|
formLayout: t = "stacked",
|
|
2417
2588
|
// Label & Wrapper Maps
|
|
2418
2589
|
labelSize: o,
|
|
2419
|
-
labelAlignment:
|
|
2420
|
-
labelOptionalText:
|
|
2421
|
-
labelWithEditIcon:
|
|
2590
|
+
labelAlignment: n,
|
|
2591
|
+
labelOptionalText: i,
|
|
2592
|
+
labelWithEditIcon: c,
|
|
2422
2593
|
onLabelEditClick: d,
|
|
2423
2594
|
label: p,
|
|
2424
2595
|
assistiveText: m,
|
|
2425
|
-
assistiveWithIcon:
|
|
2596
|
+
assistiveWithIcon: N,
|
|
2426
2597
|
error: _,
|
|
2427
2598
|
required: u,
|
|
2428
|
-
withAsterisk:
|
|
2599
|
+
withAsterisk: b,
|
|
2429
2600
|
id: C,
|
|
2430
|
-
className:
|
|
2601
|
+
className: $,
|
|
2431
2602
|
style: g,
|
|
2432
|
-
disabled:
|
|
2433
|
-
readOnly:
|
|
2603
|
+
disabled: y,
|
|
2604
|
+
readOnly: S,
|
|
2434
2605
|
readOnlyComponent: v,
|
|
2435
|
-
emptyValueComponent:
|
|
2436
|
-
value:
|
|
2437
|
-
defaultValue:
|
|
2438
|
-
...
|
|
2439
|
-
} = e,
|
|
2440
|
-
delete
|
|
2606
|
+
emptyValueComponent: B,
|
|
2607
|
+
value: A,
|
|
2608
|
+
defaultValue: T,
|
|
2609
|
+
...R
|
|
2610
|
+
} = e, M = f(R, s), W = M;
|
|
2611
|
+
delete W.size, delete W.variant, delete W.radius;
|
|
2441
2612
|
const w = {
|
|
2442
|
-
wrapper:
|
|
2613
|
+
wrapper: fe.root,
|
|
2443
2614
|
// The nested Input internal relative wrapper bounding box
|
|
2444
|
-
input:
|
|
2445
|
-
}, P =
|
|
2615
|
+
input: fe.input
|
|
2616
|
+
}, P = W.classNames;
|
|
2446
2617
|
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
2447
|
-
const
|
|
2448
|
-
w.wrapper =
|
|
2618
|
+
const k = P;
|
|
2619
|
+
w.wrapper = k.wrapper ? `${fe.root} ${k.wrapper}` : fe.root, w.input = k.input ? `${fe.input} ${k.input}` : fe.input;
|
|
2449
2620
|
}
|
|
2450
|
-
return /* @__PURE__ */
|
|
2451
|
-
|
|
2621
|
+
return /* @__PURE__ */ r(
|
|
2622
|
+
de,
|
|
2452
2623
|
{
|
|
2453
|
-
className:
|
|
2624
|
+
className: $,
|
|
2454
2625
|
style: g,
|
|
2455
2626
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2456
2627
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2457
2628
|
overStyled: s,
|
|
2458
2629
|
formLayout: t,
|
|
2459
2630
|
labelSize: o,
|
|
2460
|
-
labelAlignment:
|
|
2461
|
-
labelOptionalText:
|
|
2462
|
-
labelWithEditIcon:
|
|
2631
|
+
labelAlignment: n,
|
|
2632
|
+
labelOptionalText: i,
|
|
2633
|
+
labelWithEditIcon: c,
|
|
2463
2634
|
onLabelEditClick: d,
|
|
2464
2635
|
label: p,
|
|
2465
2636
|
assistiveText: m,
|
|
2466
|
-
assistiveWithIcon:
|
|
2637
|
+
assistiveWithIcon: N,
|
|
2467
2638
|
error: _,
|
|
2468
2639
|
required: u,
|
|
2469
|
-
withAsterisk:
|
|
2640
|
+
withAsterisk: b,
|
|
2470
2641
|
id: C,
|
|
2471
|
-
readOnly:
|
|
2642
|
+
readOnly: S,
|
|
2472
2643
|
readOnlyComponent: v,
|
|
2473
|
-
emptyValueComponent:
|
|
2644
|
+
emptyValueComponent: B,
|
|
2474
2645
|
readOnlyType: "text",
|
|
2475
|
-
readOnlyValue:
|
|
2646
|
+
readOnlyValue: A !== void 0 ? A : T,
|
|
2476
2647
|
readOnlyNativeProps: e,
|
|
2477
2648
|
activeComponent: (
|
|
2478
2649
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2479
|
-
/* @__PURE__ */
|
|
2480
|
-
|
|
2650
|
+
/* @__PURE__ */ r(
|
|
2651
|
+
Dt,
|
|
2481
2652
|
{
|
|
2482
2653
|
ref: a,
|
|
2483
2654
|
classNames: w,
|
|
2484
|
-
disabled:
|
|
2485
|
-
value:
|
|
2486
|
-
defaultValue:
|
|
2655
|
+
disabled: y,
|
|
2656
|
+
value: A,
|
|
2657
|
+
defaultValue: T,
|
|
2487
2658
|
label: void 0,
|
|
2488
2659
|
description: void 0,
|
|
2489
2660
|
error: void 0,
|
|
2490
2661
|
required: void 0,
|
|
2491
2662
|
withAsterisk: void 0,
|
|
2492
2663
|
wrapperProps: {
|
|
2493
|
-
"data-disabled":
|
|
2664
|
+
"data-disabled": y ? "true" : void 0,
|
|
2494
2665
|
"data-error": _ ? "true" : void 0
|
|
2495
2666
|
},
|
|
2496
|
-
...
|
|
2667
|
+
...M
|
|
2497
2668
|
}
|
|
2498
2669
|
)
|
|
2499
2670
|
)
|
|
@@ -2501,92 +2672,92 @@ const sr = X(Xo), An = "TextArea-module__root___3dyeu", Wn = "TextArea-module__i
|
|
|
2501
2672
|
);
|
|
2502
2673
|
}
|
|
2503
2674
|
);
|
|
2504
|
-
|
|
2505
|
-
const
|
|
2506
|
-
root:
|
|
2507
|
-
input:
|
|
2508
|
-
section:
|
|
2509
|
-
},
|
|
2675
|
+
nn.displayName = "TextArea";
|
|
2676
|
+
const ln = "TextField-module__root___2ZYkG", cn = "TextField-module__input___RL-My", dn = "TextField-module__section___bCIJ0", J = {
|
|
2677
|
+
root: ln,
|
|
2678
|
+
input: cn,
|
|
2679
|
+
section: dn
|
|
2680
|
+
}, pn = h(
|
|
2510
2681
|
function(e, a) {
|
|
2511
2682
|
const {
|
|
2512
2683
|
overStyled: s = !1,
|
|
2513
2684
|
formLayout: t = "stacked",
|
|
2514
2685
|
// Label & Wrapper Maps
|
|
2515
2686
|
labelSize: o,
|
|
2516
|
-
labelAlignment:
|
|
2517
|
-
labelOptionalText:
|
|
2518
|
-
labelWithEditIcon:
|
|
2687
|
+
labelAlignment: n,
|
|
2688
|
+
labelOptionalText: i,
|
|
2689
|
+
labelWithEditIcon: c,
|
|
2519
2690
|
onLabelEditClick: d,
|
|
2520
2691
|
label: p,
|
|
2521
2692
|
assistiveText: m,
|
|
2522
|
-
assistiveWithIcon:
|
|
2693
|
+
assistiveWithIcon: N,
|
|
2523
2694
|
error: _,
|
|
2524
2695
|
required: u,
|
|
2525
|
-
withAsterisk:
|
|
2696
|
+
withAsterisk: b,
|
|
2526
2697
|
id: C,
|
|
2527
|
-
className:
|
|
2698
|
+
className: $,
|
|
2528
2699
|
style: g,
|
|
2529
|
-
disabled:
|
|
2530
|
-
readOnly:
|
|
2700
|
+
disabled: y,
|
|
2701
|
+
readOnly: S,
|
|
2531
2702
|
readOnlyComponent: v,
|
|
2532
|
-
emptyValueComponent:
|
|
2533
|
-
value:
|
|
2534
|
-
defaultValue:
|
|
2535
|
-
...
|
|
2536
|
-
} = e,
|
|
2537
|
-
delete
|
|
2703
|
+
emptyValueComponent: B,
|
|
2704
|
+
value: A,
|
|
2705
|
+
defaultValue: T,
|
|
2706
|
+
...R
|
|
2707
|
+
} = e, M = f(R, s), W = M;
|
|
2708
|
+
delete W.size, delete W.variant, delete W.radius;
|
|
2538
2709
|
const w = {
|
|
2539
|
-
wrapper:
|
|
2710
|
+
wrapper: J.root,
|
|
2540
2711
|
// The nested Input internal relative wrapper bounding box
|
|
2541
|
-
input:
|
|
2542
|
-
section:
|
|
2543
|
-
}, P =
|
|
2712
|
+
input: J.input,
|
|
2713
|
+
section: J.section
|
|
2714
|
+
}, P = W.classNames;
|
|
2544
2715
|
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
2545
|
-
const
|
|
2546
|
-
w.wrapper =
|
|
2716
|
+
const k = P;
|
|
2717
|
+
w.wrapper = k.wrapper ? `${J.root} ${k.wrapper}` : J.root, w.input = k.input ? `${J.input} ${k.input}` : J.input, w.section = k.section ? `${J.section} ${k.section}` : J.section;
|
|
2547
2718
|
}
|
|
2548
|
-
return /* @__PURE__ */
|
|
2549
|
-
|
|
2719
|
+
return /* @__PURE__ */ r(
|
|
2720
|
+
de,
|
|
2550
2721
|
{
|
|
2551
|
-
className:
|
|
2722
|
+
className: $,
|
|
2552
2723
|
style: g,
|
|
2553
2724
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2554
2725
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2555
2726
|
overStyled: s,
|
|
2556
2727
|
formLayout: t,
|
|
2557
2728
|
labelSize: o,
|
|
2558
|
-
labelAlignment:
|
|
2559
|
-
labelOptionalText:
|
|
2560
|
-
labelWithEditIcon:
|
|
2729
|
+
labelAlignment: n,
|
|
2730
|
+
labelOptionalText: i,
|
|
2731
|
+
labelWithEditIcon: c,
|
|
2561
2732
|
onLabelEditClick: d,
|
|
2562
2733
|
label: p,
|
|
2563
2734
|
assistiveText: m,
|
|
2564
|
-
assistiveWithIcon:
|
|
2735
|
+
assistiveWithIcon: N,
|
|
2565
2736
|
error: _,
|
|
2566
2737
|
required: u,
|
|
2567
|
-
withAsterisk:
|
|
2738
|
+
withAsterisk: b,
|
|
2568
2739
|
id: C,
|
|
2569
|
-
readOnly:
|
|
2740
|
+
readOnly: S,
|
|
2570
2741
|
readOnlyComponent: v,
|
|
2571
|
-
emptyValueComponent:
|
|
2742
|
+
emptyValueComponent: B,
|
|
2572
2743
|
readOnlyType: "text",
|
|
2573
|
-
readOnlyValue:
|
|
2744
|
+
readOnlyValue: A !== void 0 ? A : T,
|
|
2574
2745
|
readOnlyNativeProps: e,
|
|
2575
2746
|
activeComponent: (
|
|
2576
2747
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2577
|
-
/* @__PURE__ */
|
|
2578
|
-
|
|
2748
|
+
/* @__PURE__ */ r(
|
|
2749
|
+
ao,
|
|
2579
2750
|
{
|
|
2580
2751
|
ref: a,
|
|
2581
2752
|
classNames: w,
|
|
2582
|
-
disabled:
|
|
2583
|
-
value:
|
|
2584
|
-
defaultValue:
|
|
2753
|
+
disabled: y,
|
|
2754
|
+
value: A,
|
|
2755
|
+
defaultValue: T,
|
|
2585
2756
|
wrapperProps: {
|
|
2586
|
-
"data-disabled":
|
|
2757
|
+
"data-disabled": y ? "true" : void 0,
|
|
2587
2758
|
"data-error": _ ? "true" : void 0
|
|
2588
2759
|
},
|
|
2589
|
-
...
|
|
2760
|
+
...M
|
|
2590
2761
|
}
|
|
2591
2762
|
)
|
|
2592
2763
|
)
|
|
@@ -2594,117 +2765,234 @@ const Tn = "TextField-module__root___2ZYkG", In = "TextField-module__input___RL-
|
|
|
2594
2765
|
);
|
|
2595
2766
|
}
|
|
2596
2767
|
);
|
|
2597
|
-
|
|
2598
|
-
const
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2768
|
+
pn.displayName = "TextField";
|
|
2769
|
+
const Jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), mn = "Timeline-module__root___LwRdZ", _n = "Timeline-module__item___T5xdQ", un = "Timeline-module__itemBody___XAV-E", bn = "Timeline-module__itemBullet___rPXCy", yn = "Timeline-module__itemTitle___GgRRW", fn = "Timeline-module__itemContent___vurs-", Nn = "Timeline-module__description___f9sxV", hn = "Timeline-module__timestamp___owiRu", le = {
|
|
2770
|
+
root: mn,
|
|
2771
|
+
item: _n,
|
|
2772
|
+
itemBody: un,
|
|
2773
|
+
itemBullet: bn,
|
|
2774
|
+
itemTitle: yn,
|
|
2775
|
+
itemContent: fn,
|
|
2776
|
+
description: Nn,
|
|
2777
|
+
timestamp: hn
|
|
2778
|
+
}, ft = L.forwardRef(
|
|
2779
|
+
function({
|
|
2780
|
+
overStyled: e = !1,
|
|
2781
|
+
timestamp: a,
|
|
2782
|
+
bulletVariant: s = "default",
|
|
2783
|
+
children: t,
|
|
2784
|
+
...o
|
|
2785
|
+
}, n) {
|
|
2786
|
+
const i = f(o, e), c = {
|
|
2787
|
+
item: le.item,
|
|
2788
|
+
itemBody: le.itemBody,
|
|
2789
|
+
itemContent: le.itemContent,
|
|
2790
|
+
itemBullet: le.itemBullet,
|
|
2791
|
+
itemTitle: le.itemTitle
|
|
2792
|
+
}, d = i.classNames;
|
|
2793
|
+
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
2794
|
+
const m = d;
|
|
2795
|
+
Object.keys(m).forEach((N) => {
|
|
2796
|
+
c[N] ? c[N] = `${c[N]} ${m[N]}` : c[N] = m[N];
|
|
2797
|
+
});
|
|
2798
|
+
}
|
|
2799
|
+
const p = a ? /* @__PURE__ */ z(Ne, { children: [
|
|
2800
|
+
t && /* @__PURE__ */ r("div", { className: le.description, children: t }),
|
|
2801
|
+
/* @__PURE__ */ r("div", { className: le.timestamp, children: a })
|
|
2802
|
+
] }) : t;
|
|
2803
|
+
return /* @__PURE__ */ r(
|
|
2804
|
+
Vt,
|
|
2805
|
+
{
|
|
2806
|
+
ref: n,
|
|
2807
|
+
classNames: c,
|
|
2808
|
+
"data-variant": s,
|
|
2809
|
+
...i,
|
|
2810
|
+
children: p
|
|
2811
|
+
}
|
|
2812
|
+
);
|
|
2813
|
+
}
|
|
2814
|
+
);
|
|
2815
|
+
ft.displayName = "TimelineItem";
|
|
2816
|
+
const Nt = L.forwardRef(
|
|
2817
|
+
function({ overStyled: e = !1, ...a }, s) {
|
|
2818
|
+
const t = f(a, e), o = {
|
|
2819
|
+
root: le.root
|
|
2820
|
+
}, n = t.classNames;
|
|
2821
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2822
|
+
const i = n;
|
|
2823
|
+
Object.keys(i).forEach((c) => {
|
|
2824
|
+
o[c] ? o[c] = `${o[c]} ${i[c]}` : o[c] = i[c];
|
|
2825
|
+
});
|
|
2826
|
+
}
|
|
2827
|
+
return /* @__PURE__ */ r(
|
|
2828
|
+
Gt,
|
|
2829
|
+
{
|
|
2830
|
+
ref: s,
|
|
2831
|
+
classNames: o,
|
|
2832
|
+
...t
|
|
2833
|
+
}
|
|
2834
|
+
);
|
|
2835
|
+
}
|
|
2836
|
+
);
|
|
2837
|
+
Nt.displayName = "Timeline";
|
|
2838
|
+
const $n = Nt;
|
|
2839
|
+
$n.Item = ft;
|
|
2840
|
+
const vn = h(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
|
|
2841
|
+
const o = f(s, e), n = o.className, i = `recursica_brand_typography_h${a}`, c = n ? `${i} ${n}` : i;
|
|
2842
|
+
return /* @__PURE__ */ r(
|
|
2843
|
+
qt,
|
|
2602
2844
|
{
|
|
2603
2845
|
ref: t,
|
|
2604
2846
|
order: a,
|
|
2605
|
-
className:
|
|
2847
|
+
className: c,
|
|
2606
2848
|
...o
|
|
2607
2849
|
}
|
|
2608
2850
|
);
|
|
2609
2851
|
});
|
|
2610
|
-
|
|
2611
|
-
const
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2852
|
+
vn.displayName = "Title";
|
|
2853
|
+
const Cn = "Toast-module__root___MUvfI", gn = "Toast-module__icon___VwvE1", Pn = "Toast-module__loader___8Gxd-", wn = "Toast-module__title___-H6R2", Tn = "Toast-module__description___-QwfC", xn = "Toast-module__closeButton___vGr7g", Sn = "Toast-module__body___VLkXA", be = {
|
|
2854
|
+
root: Cn,
|
|
2855
|
+
icon: gn,
|
|
2856
|
+
loader: Pn,
|
|
2857
|
+
title: wn,
|
|
2858
|
+
description: Tn,
|
|
2859
|
+
closeButton: xn,
|
|
2860
|
+
body: Sn
|
|
2861
|
+
}, An = L.forwardRef(
|
|
2862
|
+
function({
|
|
2863
|
+
overStyled: e = !1,
|
|
2864
|
+
variant: a = "default",
|
|
2865
|
+
withCloseButton: s = !0,
|
|
2866
|
+
...t
|
|
2867
|
+
}, o) {
|
|
2868
|
+
const n = f(t, e), i = {
|
|
2869
|
+
root: be.root,
|
|
2870
|
+
body: be.body,
|
|
2871
|
+
title: be.title,
|
|
2872
|
+
description: be.description,
|
|
2873
|
+
closeButton: be.closeButton,
|
|
2874
|
+
icon: be.icon,
|
|
2875
|
+
loader: be.loader
|
|
2876
|
+
}, c = n.classNames;
|
|
2877
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
2878
|
+
const d = c;
|
|
2879
|
+
Object.keys(d).forEach((p) => {
|
|
2880
|
+
i[p] ? i[p] = `${i[p]} ${d[p]}` : i[p] = d[p];
|
|
2881
|
+
});
|
|
2882
|
+
}
|
|
2883
|
+
return /* @__PURE__ */ r(
|
|
2884
|
+
Ht,
|
|
2885
|
+
{
|
|
2886
|
+
ref: o,
|
|
2887
|
+
withCloseButton: s,
|
|
2888
|
+
withBorder: !1,
|
|
2889
|
+
"data-variant": a,
|
|
2890
|
+
classNames: i,
|
|
2891
|
+
loading: !1,
|
|
2892
|
+
...n
|
|
2893
|
+
}
|
|
2894
|
+
);
|
|
2895
|
+
}
|
|
2896
|
+
);
|
|
2897
|
+
An.displayName = "Toast";
|
|
2898
|
+
const Wn = "Tooltip-module__tooltip___UA7H9", Ln = "Tooltip-module__arrow___4zROk", so = {
|
|
2899
|
+
tooltip: Wn,
|
|
2900
|
+
arrow: Ln
|
|
2901
|
+
}, ht = function({
|
|
2615
2902
|
overStyled: e = !1,
|
|
2616
2903
|
withBeak: a = !0,
|
|
2617
2904
|
...s
|
|
2618
2905
|
}) {
|
|
2619
|
-
const t =
|
|
2620
|
-
tooltip:
|
|
2621
|
-
arrow:
|
|
2622
|
-
},
|
|
2623
|
-
if (
|
|
2624
|
-
const p =
|
|
2906
|
+
const t = f(s, e), o = {
|
|
2907
|
+
tooltip: so.tooltip,
|
|
2908
|
+
arrow: so.arrow
|
|
2909
|
+
}, n = t.classNames;
|
|
2910
|
+
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2911
|
+
const p = n;
|
|
2625
2912
|
Object.keys(p).forEach((m) => {
|
|
2626
2913
|
o[m] ? o[m] = `${o[m]} ${p[m]}` : o[m] = p[m];
|
|
2627
2914
|
});
|
|
2628
2915
|
}
|
|
2629
|
-
const
|
|
2630
|
-
return /* @__PURE__ */
|
|
2631
|
-
|
|
2916
|
+
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
2917
|
+
return /* @__PURE__ */ r(
|
|
2918
|
+
He,
|
|
2632
2919
|
{
|
|
2633
2920
|
position: "top",
|
|
2634
2921
|
multiline: !0,
|
|
2635
|
-
arrowSize:
|
|
2636
|
-
withArrow: a ??
|
|
2922
|
+
arrowSize: i,
|
|
2923
|
+
withArrow: a ?? c,
|
|
2637
2924
|
classNames: o,
|
|
2638
2925
|
...t
|
|
2639
2926
|
}
|
|
2640
2927
|
);
|
|
2641
2928
|
};
|
|
2642
|
-
|
|
2643
|
-
const
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
const
|
|
2929
|
+
ht.displayName = "Tooltip";
|
|
2930
|
+
const $t = ht;
|
|
2931
|
+
$t.Floating = He.Floating;
|
|
2932
|
+
$t.Group = He.Group;
|
|
2933
|
+
const Xn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TransferList" });
|
|
2647
2934
|
export {
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2935
|
+
Ke as Accordion,
|
|
2936
|
+
Ze as AccordionControl,
|
|
2937
|
+
po as AccordionItem,
|
|
2938
|
+
Ye as AccordionPanel,
|
|
2939
|
+
Rn as Avatar,
|
|
2940
|
+
kn as Badge,
|
|
2941
|
+
ps as Breadcrumb,
|
|
2942
|
+
Mn as Button,
|
|
2943
|
+
Bn as Card,
|
|
2944
|
+
ho as CardContent,
|
|
2945
|
+
No as CardFooter,
|
|
2946
|
+
fo as CardHeader,
|
|
2947
|
+
yo as CardSection,
|
|
2948
|
+
Po as Checkbox,
|
|
2949
|
+
go as CheckboxGroup,
|
|
2950
|
+
aa as Chip,
|
|
2951
|
+
na as Container,
|
|
2952
|
+
En as DatePicker,
|
|
2953
|
+
ma as Dropdown,
|
|
2954
|
+
Oe as EmptyValueRenderer,
|
|
2955
|
+
jn as FileInput,
|
|
2956
|
+
Dn as FileUpload,
|
|
2957
|
+
Vn as Flex,
|
|
2958
|
+
ce as FormControlLayout,
|
|
2959
|
+
ba as Group,
|
|
2960
|
+
Ao as HoverCard,
|
|
2961
|
+
vo as Label,
|
|
2962
|
+
Es as Layer,
|
|
2963
|
+
Gn as Link,
|
|
2964
|
+
Ca as Loader,
|
|
2965
|
+
he as Menu,
|
|
2966
|
+
pe as Modal,
|
|
2967
|
+
Ha as NumberInput,
|
|
2968
|
+
ae as Pagination,
|
|
2969
|
+
re as Panel,
|
|
2970
|
+
et as PanelFooter,
|
|
2971
|
+
at as Popover,
|
|
2972
|
+
nt as Radio,
|
|
2973
|
+
rt as RadioGroup,
|
|
2974
|
+
Cr as ReadOnlyBooleanField,
|
|
2975
|
+
Co as ReadOnlyField,
|
|
2976
|
+
vr as ReadOnlySwitchField,
|
|
2977
|
+
We as ReadOnlyTextField,
|
|
2978
|
+
Fn as RecursicaThemeProvider,
|
|
2979
|
+
qn as SegmentedControl,
|
|
2980
|
+
Hn as Slider,
|
|
2981
|
+
Un as Stack,
|
|
2982
|
+
Zn as Stepper,
|
|
2983
|
+
pt as Switch,
|
|
2984
|
+
dt as SwitchGroup,
|
|
2985
|
+
Yn as Table,
|
|
2986
|
+
Kn as Tabs,
|
|
2987
|
+
Qn as Text,
|
|
2988
|
+
nn as TextArea,
|
|
2989
|
+
pn as TextField,
|
|
2990
|
+
Jn as TimePicker,
|
|
2991
|
+
$n as Timeline,
|
|
2992
|
+
vn as Title,
|
|
2993
|
+
An as Toast,
|
|
2994
|
+
$t as Tooltip,
|
|
2995
|
+
Xn as TransferList,
|
|
2996
|
+
de as WithReadOnlyWrapper
|
|
2709
2997
|
};
|
|
2710
2998
|
//# sourceMappingURL=mantine-adapter.js.map
|