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