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